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 |
|---|---|---|---|---|---|---|---|---|
[
14,
85,
98,
66
] | 66 | [
"14+85=99",
"99-98=1",
"66*1=66"
] | Current State: 66:[14, 85, 98, 66], Operations: []
Exploring Operation: 14+85=99, Resulting Numbers: [98, 66, 99]
Generated Node #2: [98, 66, 99] from Operation: 14+85=99
Current State: 66:[98, 66, 99], Operations: ['14+85=99']
Exploring Operation: 99-98=1, Resulting Numbers: [66, 1]
Generated Node #3: [66, 1] from Operation: 99-98=1
Current State: 66:[66, 1], Operations: ['14+85=99', '99-98=1']
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[14, 85, 98, 66], Operations: []
Exploring Operation: 98-66=32, Resulting Numbers: [14, 85, 32]
Generated Node #0,0: 66:[14, 85, 32] Operation: 98-66=32
Exploring Operation: 98-85=13, Resulting Numbers: [14, 66, 13]
Generated Node #0,1: 66:[14, 66, 13] Operation: 98-85=13
Exploring Operation: 98/14=7, Resulting Numbers: [85, 66, 7]
Generated Node #0,2: 66:[85, 66, 7] Operation: 98/14=7
Exploring Operation: 85-14=71, Resulting Numbers: [98, 66, 71]
Generated Node #0,3: 66:[98, 66, 71] Operation: 85-14=71
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[14, 66, 13], Operations: ['98-85=13']
Exploring Operation: 14+66=80, Resulting Numbers: [13, 80]
Generated Node #0,1,0: 66:[13, 80] Operation: 14+66=80
Exploring Operation: 66-14=52, Resulting Numbers: [13, 52]
Generated Node #0,1,1: 66:[13, 52] Operation: 66-14=52
Exploring Operation: 14-13=1, Resulting Numbers: [66, 1]
Generated Node #0,1,2: 66:[66, 1] Operation: 14-13=1
Exploring Operation: 14+13=27, Resulting Numbers: [66, 27]
Generated Node #0,1,3: 66:[66, 27] Operation: 14+13=27
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 66:[66, 1], Operations: ['98-85=13', '14-13=1']
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[14, 85, 98, 66], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [14, 66, 13]
Generated Node #0,1: 66:[14, 66, 13] Operation: 98-85=13
Moving to Node #0,1
Current State: 66:[14, 66, 13], Operations: ['98-85=13']
Exploring Operation: 14-13=1, Resulting Numbers: [66, 1]
Generated Node #0,1,2: 66:[66, 1] Operation: 14-13=1
Moving to Node #0,1,2
Current State: 66:[66, 1], Operations: ['98-85=13', '14-13=1']
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
66,
10,
8,
79
] | 93 | [
"79-66=13",
"10*8=80",
"13+80=93"
] | Current State: 93:[66, 10, 8, 79], Operations: []
Exploring Operation: 79-66=13, Resulting Numbers: [10, 8, 13]
Generated Node #2: [10, 8, 13] from Operation: 79-66=13
Current State: 93:[10, 8, 13], Operations: ['79-66=13']
Exploring Operation: 10*8=80, Resulting Numbers: [13, 80]
Generated Node #3: [13, 80] from Operation: 10*8=80
Current State: 93:[13, 80], Operations: ['79-66=13', '10*8=80']
Exploring Operation: 13+80=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[66, 10, 8, 79], Operations: []
Exploring Operation: 10+79=89, Resulting Numbers: [66, 8, 89]
Generated Node #0,0: 93:[66, 8, 89] Operation: 10+79=89
Exploring Operation: 79-66=13, Resulting Numbers: [10, 8, 13]
Generated Node #0,1: 93:[10, 8, 13] Operation: 79-66=13
Exploring Operation: 66+10=76, Resulting Numbers: [8, 79, 76]
Generated Node #0,2: 93:[8, 79, 76] Operation: 66+10=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[10, 8, 13], Operations: ['79-66=13']
Exploring Operation: 10-8=2, Resulting Numbers: [13, 2]
Generated Node #0,1,0: 93:[13, 2] Operation: 10-8=2
Exploring Operation: 13-10=3, Resulting Numbers: [8, 3]
Generated Node #0,1,1: 93:[8, 3] Operation: 13-10=3
Exploring Operation: 13-8=5, Resulting Numbers: [10, 5]
Generated Node #0,1,2: 93:[10, 5] Operation: 13-8=5
Moving to Node #0,1,1
Current State: 93:[8, 3], Operations: ['79-66=13', '13-10=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[10, 5], Operations: ['79-66=13', '13-8=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[13, 2], Operations: ['79-66=13', '10-8=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,93 unequal: No Solution
No 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: 93:[66, 8, 89], Operations: ['10+79=89']
Exploring Operation: 89-66=23, Resulting Numbers: [8, 23]
Generated Node #0,0,0: 93:[8, 23] Operation: 89-66=23
Exploring Operation: 66-8=58, Resulting Numbers: [89, 58]
Generated Node #0,0,1: 93:[89, 58] Operation: 66-8=58
Exploring Operation: 66+8=74, Resulting Numbers: [89, 74]
Generated Node #0,0,2: 93:[89, 74] Operation: 66+8=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[8, 23], Operations: ['10+79=89', '89-66=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,93 unequal: No Solution
No 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: 93:[89, 74], Operations: ['10+79=89', '66+8=74']
Exploring Operation: 89-74=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 89*74=6586, Resulting Numbers: [6586]
6586,93 unequal: No Solution
Exploring Operation: 89+74=163, Resulting Numbers: [163]
163,93 unequal: No Solution
No 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: 93:[89, 58], Operations: ['10+79=89', '66-8=58']
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 89+58=147, Resulting Numbers: [147]
147,93 unequal: No Solution
Exploring Operation: 89*58=5162, Resulting Numbers: [5162]
5162,93 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: 93:[8, 79, 76], Operations: ['66+10=76']
Exploring Operation: 8+79=87, Resulting Numbers: [76, 87]
Generated Node #0,2,0: 93:[76, 87] Operation: 8+79=87
Exploring Operation: 8+76=84, Resulting Numbers: [79, 84]
Generated Node #0,2,1: 93:[79, 84] Operation: 8+76=84
Exploring Operation: 79-76=3, Resulting Numbers: [8, 3]
Generated Node #0,2,2: 93:[8, 3] Operation: 79-76=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 93:[8, 3], Operations: ['66+10=76', '79-76=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,93 unequal: No Solution
No 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: 93:[76, 87], Operations: ['66+10=76', '8+79=87']
Exploring Operation: 76*87=6612, Resulting Numbers: [6612]
6612,93 unequal: No Solution
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 76+87=163, Resulting Numbers: [163]
163,93 unequal: No Solution
No 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: 93:[79, 84], Operations: ['66+10=76', '8+76=84']
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 79+84=163, Resulting Numbers: [163]
163,93 unequal: No Solution
Exploring Operation: 79*84=6636, Resulting Numbers: [6636]
6636,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
85,
14,
28,
92
] | 30 | [
"92-85=7",
"14/7=2",
"28+2=30"
] | Current State: 30:[85, 14, 28, 92], Operations: []
Exploring Operation: 92-85=7, Resulting Numbers: [14, 28, 7]
Generated Node #2: [14, 28, 7] from Operation: 92-85=7
Current State: 30:[14, 28, 7], Operations: ['92-85=7']
Exploring Operation: 14/7=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 14/7=2
Current State: 30:[28, 2], Operations: ['92-85=7', '14/7=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[85, 14, 28, 92], Operations: []
Exploring Operation: 92-85=7, Resulting Numbers: [14, 28, 7]
Generated Node #0,0: 30:[14, 28, 7] Operation: 92-85=7
Exploring Operation: 85-28=57, Resulting Numbers: [14, 92, 57]
Generated Node #0,1: 30:[14, 92, 57] Operation: 85-28=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[14, 28, 7], Operations: ['92-85=7']
Exploring Operation: 28/14=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 30:[7, 2] Operation: 28/14=2
Exploring Operation: 28-14=14, Resulting Numbers: [7, 14]
Generated Node #0,0,1: 30:[7, 14] Operation: 28-14=14
Moving to Node #0,0,0
Current State: 30:[7, 2], Operations: ['92-85=7', '28/14=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[7, 14], Operations: ['92-85=7', '28-14=14']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[14, 92, 57], Operations: ['85-28=57']
Exploring Operation: 92-57=35, Resulting Numbers: [14, 35]
Generated Node #0,1,0: 30:[14, 35] Operation: 92-57=35
Exploring Operation: 92-14=78, Resulting Numbers: [57, 78]
Generated Node #0,1,1: 30:[57, 78] Operation: 92-14=78
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[14, 35], Operations: ['85-28=57', '92-57=35']
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[57, 78], Operations: ['85-28=57', '92-14=78']
Exploring Operation: 57+78=135, Resulting Numbers: [135]
135,30 unequal: No Solution
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,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_2 | mult_heuristic |
[
99,
39,
63,
43
] | 46 | [
"99-39=60",
"63+43=106",
"106-60=46"
] | Current State: 46:[99, 39, 63, 43], Operations: []
Exploring Operation: 99-39=60, Resulting Numbers: [63, 43, 60]
Generated Node #2: [63, 43, 60] from Operation: 99-39=60
Current State: 46:[63, 43, 60], Operations: ['99-39=60']
Exploring Operation: 63+43=106, Resulting Numbers: [60, 106]
Generated Node #3: [60, 106] from Operation: 63+43=106
Current State: 46:[60, 106], Operations: ['99-39=60', '63+43=106']
Exploring Operation: 106-60=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[99, 39, 63, 43], Operations: []
Exploring Operation: 99-39=60, Resulting Numbers: [63, 43, 60]
Generated Node #0,0: 46:[63, 43, 60] Operation: 99-39=60
Exploring Operation: 99-63=36, Resulting Numbers: [39, 43, 36]
Generated Node #0,1: 46:[39, 43, 36] Operation: 99-63=36
Moving to Node #0,1
Current State: 46:[39, 43, 36], Operations: ['99-63=36']
Exploring Operation: 43-39=4, Resulting Numbers: [36, 4]
Generated Node #0,1,0: 46:[36, 4] Operation: 43-39=4
Exploring Operation: 39-36=3, Resulting Numbers: [43, 3]
Generated Node #0,1,1: 46:[43, 3] Operation: 39-36=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[43, 3], Operations: ['99-63=36', '39-36=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[99, 39, 63, 43], Operations: []
Exploring Operation: 99-63=36, Resulting Numbers: [39, 43, 36]
Generated Node #0,1: 46:[39, 43, 36] Operation: 99-63=36
Moving to Node #0,1
Current State: 46:[39, 43, 36], Operations: ['99-63=36']
Exploring Operation: 39-36=3, Resulting Numbers: [43, 3]
Generated Node #0,1,1: 46:[43, 3] Operation: 39-36=3
Moving to Node #0,1,1
Current State: 46:[43, 3], Operations: ['99-63=36', '39-36=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
59,
71,
25,
65
] | 28 | [
"71-59=12",
"65-25=40",
"40-12=28"
] | Current State: 28:[59, 71, 25, 65], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [25, 65, 12]
Generated Node #2: [25, 65, 12] from Operation: 71-59=12
Current State: 28:[25, 65, 12], Operations: ['71-59=12']
Exploring Operation: 65-25=40, Resulting Numbers: [12, 40]
Generated Node #3: [12, 40] from Operation: 65-25=40
Current State: 28:[12, 40], Operations: ['71-59=12', '65-25=40']
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[59, 71, 25, 65], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [59, 25, 6]
Generated Node #0,0: 28:[59, 25, 6] Operation: 71-65=6
Exploring Operation: 71-59=12, Resulting Numbers: [25, 65, 12]
Generated Node #0,1: 28:[25, 65, 12] Operation: 71-59=12
Moving to Node #0,0
Current State: 28:[59, 25, 6], Operations: ['71-65=6']
Exploring Operation: 59-6=53, Resulting Numbers: [25, 53]
Generated Node #0,0,0: 28:[25, 53] Operation: 59-6=53
Exploring Operation: 59-25=34, Resulting Numbers: [6, 34]
Generated Node #0,0,1: 28:[6, 34] Operation: 59-25=34
Moving to Node #0,1
Current State: 28:[25, 65, 12], Operations: ['71-59=12']
Exploring Operation: 65-12=53, Resulting Numbers: [25, 53]
Generated Node #0,1,0: 28:[25, 53] Operation: 65-12=53
Exploring Operation: 65-25=40, Resulting Numbers: [12, 40]
Generated Node #0,1,1: 28:[12, 40] Operation: 65-25=40
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[12, 40], Operations: ['71-59=12', '65-25=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[59, 71, 25, 65], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [25, 65, 12]
Generated Node #0,1: 28:[25, 65, 12] Operation: 71-59=12
Moving to Node #0,1
Current State: 28:[25, 65, 12], Operations: ['71-59=12']
Exploring Operation: 65-25=40, Resulting Numbers: [12, 40]
Generated Node #0,1,1: 28:[12, 40] Operation: 65-25=40
Moving to Node #0,1,1
Current State: 28:[12, 40], Operations: ['71-59=12', '65-25=40']
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
11,
7,
12,
1
] | 29 | [
"11+7=18",
"12-1=11",
"18+11=29"
] | Current State: 29:[11, 7, 12, 1], Operations: []
Exploring Operation: 11+7=18, Resulting Numbers: [12, 1, 18]
Generated Node #2: [12, 1, 18] from Operation: 11+7=18
Current State: 29:[12, 1, 18], Operations: ['11+7=18']
Exploring Operation: 12-1=11, Resulting Numbers: [18, 11]
Generated Node #3: [18, 11] from Operation: 12-1=11
Current State: 29:[18, 11], Operations: ['11+7=18', '12-1=11']
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[11, 7, 12, 1], Operations: []
Exploring Operation: 11+7=18, Resulting Numbers: [12, 1, 18]
Generated Node #0,0: 29:[12, 1, 18] Operation: 11+7=18
Exploring Operation: 11+12=23, Resulting Numbers: [7, 1, 23]
Generated Node #0,1: 29:[7, 1, 23] Operation: 11+12=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[12, 1, 18], Operations: ['11+7=18']
Exploring Operation: 12+1=13, Resulting Numbers: [18, 13]
Generated Node #0,0,0: 29:[18, 13] Operation: 12+1=13
Exploring Operation: 1+18=19, Resulting Numbers: [12, 19]
Generated Node #0,0,1: 29:[12, 19] Operation: 1+18=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[18, 13], Operations: ['11+7=18', '12+1=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[12, 19], Operations: ['11+7=18', '1+18=19']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,29 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: 29:[7, 1, 23], Operations: ['11+12=23']
Exploring Operation: 1+23=24, Resulting Numbers: [7, 24]
Generated Node #0,1,0: 29:[7, 24] Operation: 1+23=24
Exploring Operation: 7+1=8, Resulting Numbers: [23, 8]
Generated Node #0,1,1: 29:[23, 8] Operation: 7+1=8
Moving to Node #0,1,0
Current State: 29:[7, 24], Operations: ['11+12=23', '1+23=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[23, 8], Operations: ['11+12=23', '7+1=8']
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,29 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 |
[
11,
90,
2,
35
] | 68 | [
"11+90=101",
"35-2=33",
"101-33=68"
] | Current State: 68:[11, 90, 2, 35], Operations: []
Exploring Operation: 11+90=101, Resulting Numbers: [2, 35, 101]
Generated Node #2: [2, 35, 101] from Operation: 11+90=101
Current State: 68:[2, 35, 101], Operations: ['11+90=101']
Exploring Operation: 35-2=33, Resulting Numbers: [101, 33]
Generated Node #3: [101, 33] from Operation: 35-2=33
Current State: 68:[101, 33], Operations: ['11+90=101', '35-2=33']
Exploring Operation: 101-33=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[11, 90, 2, 35], Operations: []
Exploring Operation: 90-2=88, Resulting Numbers: [11, 35, 88]
Generated Node #0,0: 68:[11, 35, 88] Operation: 90-2=88
Exploring Operation: 90-35=55, Resulting Numbers: [11, 2, 55]
Generated Node #0,1: 68:[11, 2, 55] Operation: 90-35=55
Exploring Operation: 90-11=79, Resulting Numbers: [2, 35, 79]
Generated Node #0,2: 68:[2, 35, 79] Operation: 90-11=79
Exploring Operation: 90/2=45, Resulting Numbers: [11, 35, 45]
Generated Node #0,3: 68:[11, 35, 45] Operation: 90/2=45
Exploring Operation: 11+2=13, Resulting Numbers: [90, 35, 13]
Generated Node #0,4: 68:[90, 35, 13] Operation: 11+2=13
Moving to Node #0,2
Current State: 68:[2, 35, 79], Operations: ['90-11=79']
Exploring Operation: 2+35=37, Resulting Numbers: [79, 37]
Generated Node #0,2,0: 68:[79, 37] Operation: 2+35=37
Exploring Operation: 79-35=44, Resulting Numbers: [2, 44]
Generated Node #0,2,1: 68:[2, 44] Operation: 79-35=44
Exploring Operation: 2*35=70, Resulting Numbers: [79, 70]
Generated Node #0,2,2: 68:[79, 70] Operation: 2*35=70
Exploring Operation: 79-2=77, Resulting Numbers: [35, 77]
Generated Node #0,2,3: 68:[35, 77] Operation: 79-2=77
Exploring Operation: 35-2=33, Resulting Numbers: [79, 33]
Generated Node #0,2,4: 68:[79, 33] Operation: 35-2=33
Moving to Node #0,3
Current State: 68:[11, 35, 45], Operations: ['90/2=45']
Exploring Operation: 11+45=56, Resulting Numbers: [35, 56]
Generated Node #0,3,0: 68:[35, 56] Operation: 11+45=56
Exploring Operation: 35+45=80, Resulting Numbers: [11, 80]
Generated Node #0,3,1: 68:[11, 80] Operation: 35+45=80
Exploring Operation: 45-11=34, Resulting Numbers: [35, 34]
Generated Node #0,3,2: 68:[35, 34] Operation: 45-11=34
Exploring Operation: 45-35=10, Resulting Numbers: [11, 10]
Generated Node #0,3,3: 68:[11, 10] Operation: 45-35=10
Exploring Operation: 35-11=24, Resulting Numbers: [45, 24]
Generated Node #0,3,4: 68:[45, 24] Operation: 35-11=24
Moving to Node #0,1
Current State: 68:[11, 2, 55], Operations: ['90-35=55']
Exploring Operation: 11+2=13, Resulting Numbers: [55, 13]
Generated Node #0,1,0: 68:[55, 13] Operation: 11+2=13
Exploring Operation: 55-11=44, Resulting Numbers: [2, 44]
Generated Node #0,1,1: 68:[2, 44] Operation: 55-11=44
Exploring Operation: 11+55=66, Resulting Numbers: [2, 66]
Generated Node #0,1,2: 68:[2, 66] Operation: 11+55=66
Exploring Operation: 2+55=57, Resulting Numbers: [11, 57]
Generated Node #0,1,3: 68:[11, 57] Operation: 2+55=57
Exploring Operation: 55/11=5, Resulting Numbers: [2, 5]
Generated Node #0,1,4: 68:[2, 5] Operation: 55/11=5
Moving to Node #0,0
Current State: 68:[11, 35, 88], Operations: ['90-2=88']
Exploring Operation: 88-11=77, Resulting Numbers: [35, 77]
Generated Node #0,0,0: 68:[35, 77] Operation: 88-11=77
Exploring Operation: 88-35=53, Resulting Numbers: [11, 53]
Generated Node #0,0,1: 68:[11, 53] Operation: 88-35=53
Exploring Operation: 88/11=8, Resulting Numbers: [35, 8]
Generated Node #0,0,2: 68:[35, 8] Operation: 88/11=8
Exploring Operation: 11+35=46, Resulting Numbers: [88, 46]
Generated Node #0,0,3: 68:[88, 46] Operation: 11+35=46
Exploring Operation: 35-11=24, Resulting Numbers: [88, 24]
Generated Node #0,0,4: 68:[88, 24] Operation: 35-11=24
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[35, 8], Operations: ['90-2=88', '88/11=8']
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,68 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,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:[35, 77], Operations: ['90-2=88', '88-11=77']
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 35*77=2695, Resulting Numbers: [2695]
2695,68 unequal: No Solution
Exploring Operation: 35+77=112, Resulting Numbers: [112]
112,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,1
Current State: 68:[11, 53], Operations: ['90-2=88', '88-35=53']
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 11*53=583, Resulting Numbers: [583]
583,68 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,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,4
Current State: 68:[88, 24], Operations: ['90-2=88', '35-11=24']
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 88+24=112, Resulting Numbers: [112]
112,68 unequal: No Solution
Exploring Operation: 88*24=2112, Resulting Numbers: [2112]
2112,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,3
Current State: 68:[88, 46], Operations: ['90-2=88', '11+35=46']
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,68 unequal: No Solution
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,68 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,68 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: 68:[90, 35, 13], Operations: ['11+2=13']
Exploring Operation: 35-13=22, Resulting Numbers: [90, 22]
Generated Node #0,4,0: 68:[90, 22] Operation: 35-13=22
Exploring Operation: 90-35=55, Resulting Numbers: [13, 55]
Generated Node #0,4,1: 68:[13, 55] Operation: 90-35=55
Exploring Operation: 90+13=103, Resulting Numbers: [35, 103]
Generated Node #0,4,2: 68:[35, 103] Operation: 90+13=103
Exploring Operation: 35+13=48, Resulting Numbers: [90, 48]
Generated Node #0,4,3: 68:[90, 48] Operation: 35+13=48
Exploring Operation: 90-13=77, Resulting Numbers: [35, 77]
Generated Node #0,4,4: 68:[35, 77] Operation: 90-13=77
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 68:[35, 77], Operations: ['11+2=13', '90-13=77']
Exploring Operation: 35*77=2695, Resulting Numbers: [2695]
2695,68 unequal: No Solution
Exploring Operation: 35+77=112, Resulting Numbers: [112]
112,68 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 68:[13, 55], Operations: ['11+2=13', '90-35=55']
Exploring Operation: 13*55=715, Resulting Numbers: [715]
715,68 unequal: No Solution
Exploring Operation: 13+55=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[11, 90, 2, 35], Operations: []
Exploring Operation: 11+2=13, Resulting Numbers: [90, 35, 13]
Generated Node #0,4: 68:[90, 35, 13] Operation: 11+2=13
Moving to Node #0,4
Current State: 68:[90, 35, 13], Operations: ['11+2=13']
Exploring Operation: 90-35=55, Resulting Numbers: [13, 55]
Generated Node #0,4,1: 68:[13, 55] Operation: 90-35=55
Moving to Node #0,4,1
Current State: 68:[13, 55], Operations: ['11+2=13', '90-35=55']
Exploring Operation: 13+55=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.953125 | hs_5 | sum_heuristic |
[
9,
57,
20,
24
] | 99 | [
"9*20=180",
"57+24=81",
"180-81=99"
] | Current State: 99:[9, 57, 20, 24], Operations: []
Exploring Operation: 9*20=180, Resulting Numbers: [57, 24, 180]
Generated Node #2: [57, 24, 180] from Operation: 9*20=180
Current State: 99:[57, 24, 180], Operations: ['9*20=180']
Exploring Operation: 57+24=81, Resulting Numbers: [180, 81]
Generated Node #3: [180, 81] from Operation: 57+24=81
Current State: 99:[180, 81], Operations: ['9*20=180', '57+24=81']
Exploring Operation: 180-81=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[9, 57, 20, 24], Operations: []
Exploring Operation: 57-24=33, Resulting Numbers: [9, 20, 33]
Generated Node #0,0: 99:[9, 20, 33] Operation: 57-24=33
Exploring Operation: 24-20=4, Resulting Numbers: [9, 57, 4]
Generated Node #0,1: 99:[9, 57, 4] Operation: 24-20=4
Exploring Operation: 57+20=77, Resulting Numbers: [9, 24, 77]
Generated Node #0,2: 99:[9, 24, 77] Operation: 57+20=77
Exploring Operation: 57+24=81, Resulting Numbers: [9, 20, 81]
Generated Node #0,3: 99:[9, 20, 81] Operation: 57+24=81
Exploring Operation: 57-20=37, Resulting Numbers: [9, 24, 37]
Generated Node #0,4: 99:[9, 24, 37] Operation: 57-20=37
Moving to Node #0,0
Current State: 99:[9, 20, 33], Operations: ['57-24=33']
Exploring Operation: 9+20=29, Resulting Numbers: [33, 29]
Generated Node #0,0,0: 99:[33, 29] Operation: 9+20=29
Exploring Operation: 33-20=13, Resulting Numbers: [9, 13]
Generated Node #0,0,1: 99:[9, 13] Operation: 33-20=13
Exploring Operation: 33-9=24, Resulting Numbers: [20, 24]
Generated Node #0,0,2: 99:[20, 24] Operation: 33-9=24
Exploring Operation: 9+33=42, Resulting Numbers: [20, 42]
Generated Node #0,0,3: 99:[20, 42] Operation: 9+33=42
Exploring Operation: 20-9=11, Resulting Numbers: [33, 11]
Generated Node #0,0,4: 99:[33, 11] Operation: 20-9=11
Moving to Node #0,4
Current State: 99:[9, 24, 37], Operations: ['57-20=37']
Exploring Operation: 9+37=46, Resulting Numbers: [24, 46]
Generated Node #0,4,0: 99:[24, 46] Operation: 9+37=46
Exploring Operation: 37-9=28, Resulting Numbers: [24, 28]
Generated Node #0,4,1: 99:[24, 28] Operation: 37-9=28
Exploring Operation: 24-9=15, Resulting Numbers: [37, 15]
Generated Node #0,4,2: 99:[37, 15] Operation: 24-9=15
Exploring Operation: 9+24=33, Resulting Numbers: [37, 33]
Generated Node #0,4,3: 99:[37, 33] Operation: 9+24=33
Exploring Operation: 37-24=13, Resulting Numbers: [9, 13]
Generated Node #0,4,4: 99:[9, 13] Operation: 37-24=13
Moving to Node #0,1
Current State: 99:[9, 57, 4], Operations: ['24-20=4']
Exploring Operation: 9-4=5, Resulting Numbers: [57, 5]
Generated Node #0,1,0: 99:[57, 5] Operation: 9-4=5
Exploring Operation: 9+4=13, Resulting Numbers: [57, 13]
Generated Node #0,1,1: 99:[57, 13] Operation: 9+4=13
Exploring Operation: 9*4=36, Resulting Numbers: [57, 36]
Generated Node #0,1,2: 99:[57, 36] Operation: 9*4=36
Exploring Operation: 57-9=48, Resulting Numbers: [4, 48]
Generated Node #0,1,3: 99:[4, 48] Operation: 57-9=48
Exploring Operation: 57-4=53, Resulting Numbers: [9, 53]
Generated Node #0,1,4: 99:[9, 53] Operation: 57-4=53
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 99:[4, 48], Operations: ['24-20=4', '57-9=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Exploring Operation: 4*48=192, Resulting Numbers: [192]
192,99 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 99:[9, 53], Operations: ['24-20=4', '57-4=53']
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,99 unequal: No Solution
No 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: 99:[57, 5], Operations: ['24-20=4', '9-4=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,99 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,99 unequal: No Solution
No 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: 99:[57, 13], Operations: ['24-20=4', '9+4=13']
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,99 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,99 unequal: No Solution
No 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: 99:[57, 36], Operations: ['24-20=4', '9*4=36']
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,99 unequal: No Solution
Exploring Operation: 57*36=2052, Resulting Numbers: [2052]
2052,99 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: 99:[9, 20, 81], Operations: ['57+24=81']
Exploring Operation: 9+81=90, Resulting Numbers: [20, 90]
Generated Node #0,3,0: 99:[20, 90] Operation: 9+81=90
Exploring Operation: 81/9=9, Resulting Numbers: [20, 9]
Generated Node #0,3,1: 99:[20, 9] Operation: 81/9=9
Exploring Operation: 20-9=11, Resulting Numbers: [81, 11]
Generated Node #0,3,2: 99:[81, 11] Operation: 20-9=11
Exploring Operation: 9+20=29, Resulting Numbers: [81, 29]
Generated Node #0,3,3: 99:[81, 29] Operation: 9+20=29
Exploring Operation: 20+81=101, Resulting Numbers: [9, 101]
Generated Node #0,3,4: 99:[9, 101] Operation: 20+81=101
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 99:[9, 101], Operations: ['57+24=81', '20+81=101']
Exploring Operation: 9*101=909, Resulting Numbers: [909]
909,99 unequal: No Solution
Exploring Operation: 9+101=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 101-9=92, Resulting Numbers: [92]
92,99 unequal: No Solution
No 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: 99:[20, 9], Operations: ['57+24=81', '81/9=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,99 unequal: No Solution
No 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: 99:[20, 90], Operations: ['57+24=81', '9+81=90']
Exploring Operation: 20*90=1800, Resulting Numbers: [1800]
1800,99 unequal: No Solution
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 20+90=110, Resulting Numbers: [110]
110,99 unequal: No Solution
No 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: 99:[81, 11], Operations: ['57+24=81', '20-9=11']
Exploring Operation: 81*11=891, Resulting Numbers: [891]
891,99 unequal: No Solution
Exploring Operation: 81+11=92, Resulting Numbers: [92]
92,99 unequal: No Solution
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,99 unequal: No Solution
No 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: 99:[81, 29], Operations: ['57+24=81', '9+20=29']
Exploring Operation: 81*29=2349, Resulting Numbers: [2349]
2349,99 unequal: No Solution
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Exploring Operation: 81+29=110, Resulting Numbers: [110]
110,99 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: 99:[9, 24, 77], Operations: ['57+20=77']
Exploring Operation: 9+24=33, Resulting Numbers: [77, 33]
Generated Node #0,2,0: 99:[77, 33] Operation: 9+24=33
Exploring Operation: 24+77=101, Resulting Numbers: [9, 101]
Generated Node #0,2,1: 99:[9, 101] Operation: 24+77=101
Exploring Operation: 24-9=15, Resulting Numbers: [77, 15]
Generated Node #0,2,2: 99:[77, 15] Operation: 24-9=15
Exploring Operation: 9+77=86, Resulting Numbers: [24, 86]
Generated Node #0,2,3: 99:[24, 86] Operation: 9+77=86
Exploring Operation: 77-24=53, Resulting Numbers: [9, 53]
Generated Node #0,2,4: 99:[9, 53] Operation: 77-24=53
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 99:[9, 101], Operations: ['57+20=77', '24+77=101']
Exploring Operation: 9*101=909, Resulting Numbers: [909]
909,99 unequal: No Solution
Exploring Operation: 9+101=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 101-9=92, Resulting Numbers: [92]
92,99 unequal: No Solution
No 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: 99:[9, 53], Operations: ['57+20=77', '77-24=53']
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,99 unequal: No Solution
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,99 unequal: No Solution
No 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: 99:[77, 33], Operations: ['57+20=77', '9+24=33']
Exploring Operation: 77+33=110, Resulting Numbers: [110]
110,99 unequal: No Solution
Exploring Operation: 77*33=2541, Resulting Numbers: [2541]
2541,99 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,99 unequal: No Solution
No 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: 99:[24, 86], Operations: ['57+20=77', '9+77=86']
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 24*86=2064, Resulting Numbers: [2064]
2064,99 unequal: No Solution
Exploring Operation: 24+86=110, Resulting Numbers: [110]
110,99 unequal: No Solution
No 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: 99:[77, 15], Operations: ['57+20=77', '24-9=15']
Exploring Operation: 77*15=1155, Resulting Numbers: [1155]
1155,99 unequal: No Solution
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,99 unequal: No Solution
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 99:[33, 11], Operations: ['57-24=33', '20-9=11']
Exploring Operation: 33*11=363, Resulting Numbers: [363]
363,99 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Moving to Node #0,4,4
Current State: 99:[9, 13], Operations: ['57-20=37', '37-24=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[9, 13], Operations: ['57-24=33', '33-20=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Moving to Node #0,4,3
Current State: 99:[37, 33], Operations: ['57-20=37', '9+24=33']
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[33, 29], Operations: ['57-24=33', '9+20=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,99 unequal: No Solution
Moving to Node #0,4,2
Current State: 99:[37, 15], Operations: ['57-20=37', '24-9=15']
Exploring Operation: 37*15=555, Resulting Numbers: [555]
555,99 unequal: No Solution
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Moving to Node #0,4,1
Current State: 99:[24, 28], Operations: ['57-20=37', '37-9=28']
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,99 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[20, 24], Operations: ['57-24=33', '33-9=24']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[20, 42], Operations: ['57-24=33', '9+33=42']
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 20*42=840, Resulting Numbers: [840]
840,99 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Moving to Node #0,4,0
Current State: 99:[24, 46], Operations: ['57-20=37', '9+37=46']
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,99 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,99 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
85,
2,
47,
41
] | 82 | [
"85*2=170",
"47+41=88",
"170-88=82"
] | Current State: 82:[85, 2, 47, 41], Operations: []
Exploring Operation: 85*2=170, Resulting Numbers: [47, 41, 170]
Generated Node #2: [47, 41, 170] from Operation: 85*2=170
Current State: 82:[47, 41, 170], Operations: ['85*2=170']
Exploring Operation: 47+41=88, Resulting Numbers: [170, 88]
Generated Node #3: [170, 88] from Operation: 47+41=88
Current State: 82:[170, 88], Operations: ['85*2=170', '47+41=88']
Exploring Operation: 170-88=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[85, 2, 47, 41], Operations: []
Exploring Operation: 85-2=83, Resulting Numbers: [47, 41, 83]
Generated Node #0,0: 82:[47, 41, 83] Operation: 85-2=83
Exploring Operation: 85-47=38, Resulting Numbers: [2, 41, 38]
Generated Node #0,1: 82:[2, 41, 38] Operation: 85-47=38
Exploring Operation: 47-41=6, Resulting Numbers: [85, 2, 6]
Generated Node #0,2: 82:[85, 2, 6] Operation: 47-41=6
Exploring Operation: 47-2=45, Resulting Numbers: [85, 41, 45]
Generated Node #0,3: 82:[85, 41, 45] Operation: 47-2=45
Exploring Operation: 85-41=44, Resulting Numbers: [2, 47, 44]
Generated Node #0,4: 82:[2, 47, 44] Operation: 85-41=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[2, 41, 38], Operations: ['85-47=38']
Exploring Operation: 2*41=82, Resulting Numbers: [38, 82]
Generated Node #0,1,0: 82:[38, 82] Operation: 2*41=82
Exploring Operation: 2+41=43, Resulting Numbers: [38, 43]
Generated Node #0,1,1: 82:[38, 43] Operation: 2+41=43
Exploring Operation: 41-38=3, Resulting Numbers: [2, 3]
Generated Node #0,1,2: 82:[2, 3] Operation: 41-38=3
Exploring Operation: 41+38=79, Resulting Numbers: [2, 79]
Generated Node #0,1,3: 82:[2, 79] Operation: 41+38=79
Exploring Operation: 2+38=40, Resulting Numbers: [41, 40]
Generated Node #0,1,4: 82:[41, 40] Operation: 2+38=40
Moving to Node #0,1,2
Current State: 82:[2, 3], Operations: ['85-47=38', '41-38=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Moving to Node #0,1,4
Current State: 82:[41, 40], Operations: ['85-47=38', '2+38=40']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,82 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[38, 82], Operations: ['85-47=38', '2*41=82']
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 38*82=3116, Resulting Numbers: [3116]
3116,82 unequal: No Solution
Exploring Operation: 38+82=120, Resulting Numbers: [120]
120,82 unequal: No Solution
Moving to Node #0,1,3
Current State: 82:[2, 79], Operations: ['85-47=38', '41+38=79']
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,82 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[38, 43], Operations: ['85-47=38', '2+41=43']
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 38*43=1634, Resulting Numbers: [1634]
1634,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[47, 41, 83], Operations: ['85-2=83']
Exploring Operation: 47-41=6, Resulting Numbers: [83, 6]
Generated Node #0,0,0: 82:[83, 6] Operation: 47-41=6
Exploring Operation: 83-47=36, Resulting Numbers: [41, 36]
Generated Node #0,0,1: 82:[41, 36] Operation: 83-47=36
Exploring Operation: 47+41=88, Resulting Numbers: [83, 88]
Generated Node #0,0,2: 82:[83, 88] Operation: 47+41=88
Exploring Operation: 83-41=42, Resulting Numbers: [47, 42]
Generated Node #0,0,3: 82:[47, 42] Operation: 83-41=42
Exploring Operation: 47+83=130, Resulting Numbers: [41, 130]
Generated Node #0,0,4: 82:[41, 130] Operation: 47+83=130
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[83, 6], Operations: ['85-2=83', '47-41=6']
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,82 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[41, 36], Operations: ['85-2=83', '83-47=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,82 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[83, 88], Operations: ['85-2=83', '47+41=88']
Exploring Operation: 83+88=171, Resulting Numbers: [171]
171,82 unequal: No Solution
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 83*88=7304, Resulting Numbers: [7304]
7304,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[47, 42], Operations: ['85-2=83', '83-41=42']
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,82 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 82:[41, 130], Operations: ['85-2=83', '47+83=130']
Exploring Operation: 41*130=5330, Resulting Numbers: [5330]
5330,82 unequal: No Solution
Exploring Operation: 41+130=171, Resulting Numbers: [171]
171,82 unequal: No Solution
Exploring Operation: 130-41=89, Resulting Numbers: [89]
89,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[85, 2, 6], Operations: ['47-41=6']
Exploring Operation: 85-2=83, Resulting Numbers: [6, 83]
Generated Node #0,2,0: 82:[6, 83] Operation: 85-2=83
Exploring Operation: 6/2=3, Resulting Numbers: [85, 3]
Generated Node #0,2,1: 82:[85, 3] Operation: 6/2=3
Exploring Operation: 85+2=87, Resulting Numbers: [6, 87]
Generated Node #0,2,2: 82:[6, 87] Operation: 85+2=87
Exploring Operation: 6-2=4, Resulting Numbers: [85, 4]
Generated Node #0,2,3: 82:[85, 4] Operation: 6-2=4
Exploring Operation: 85-6=79, Resulting Numbers: [2, 79]
Generated Node #0,2,4: 82:[2, 79] Operation: 85-6=79
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 82:[2, 79], Operations: ['47-41=6', '85-6=79']
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[85, 3], Operations: ['47-41=6', '6/2=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[85, 2, 47, 41], Operations: []
Exploring Operation: 47-41=6, Resulting Numbers: [85, 2, 6]
Generated Node #0,2: 82:[85, 2, 6] Operation: 47-41=6
Moving to Node #0,2
Current State: 82:[85, 2, 6], Operations: ['47-41=6']
Exploring Operation: 6/2=3, Resulting Numbers: [85, 3]
Generated Node #0,2,1: 82:[85, 3] Operation: 6/2=3
Moving to Node #0,2,1
Current State: 82:[85, 3], Operations: ['47-41=6', '6/2=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | mult_heuristic |
[
12,
18,
78,
46
] | 26 | [
"18-12=6",
"78-46=32",
"32-6=26"
] | Current State: 26:[12, 18, 78, 46], Operations: []
Exploring Operation: 18-12=6, Resulting Numbers: [78, 46, 6]
Generated Node #2: [78, 46, 6] from Operation: 18-12=6
Current State: 26:[78, 46, 6], Operations: ['18-12=6']
Exploring Operation: 78-46=32, Resulting Numbers: [6, 32]
Generated Node #3: [6, 32] from Operation: 78-46=32
Current State: 26:[6, 32], Operations: ['18-12=6', '78-46=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[12, 18, 78, 46], Operations: []
Exploring Operation: 78-18=60, Resulting Numbers: [12, 46, 60]
Generated Node #0,0: 26:[12, 46, 60] Operation: 78-18=60
Exploring Operation: 46-18=28, Resulting Numbers: [12, 78, 28]
Generated Node #0,1: 26:[12, 78, 28] Operation: 46-18=28
Exploring Operation: 78-12=66, Resulting Numbers: [18, 46, 66]
Generated Node #0,2: 26:[18, 46, 66] Operation: 78-12=66
Exploring Operation: 78-46=32, Resulting Numbers: [12, 18, 32]
Generated Node #0,3: 26:[12, 18, 32] Operation: 78-46=32
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[12, 18, 32], Operations: ['78-46=32']
Exploring Operation: 12+18=30, Resulting Numbers: [32, 30]
Generated Node #0,3,0: 26:[32, 30] Operation: 12+18=30
Exploring Operation: 18-12=6, Resulting Numbers: [32, 6]
Generated Node #0,3,1: 26:[32, 6] Operation: 18-12=6
Exploring Operation: 32-18=14, Resulting Numbers: [12, 14]
Generated Node #0,3,2: 26:[12, 14] Operation: 32-18=14
Exploring Operation: 32-12=20, Resulting Numbers: [18, 20]
Generated Node #0,3,3: 26:[18, 20] Operation: 32-12=20
Moving to Node #0,3,2
Current State: 26:[12, 14], Operations: ['78-46=32', '32-18=14']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[12, 18, 78, 46], Operations: []
Exploring Operation: 78-46=32, Resulting Numbers: [12, 18, 32]
Generated Node #0,3: 26:[12, 18, 32] Operation: 78-46=32
Moving to Node #0,3
Current State: 26:[12, 18, 32], Operations: ['78-46=32']
Exploring Operation: 32-18=14, Resulting Numbers: [12, 14]
Generated Node #0,3,2: 26:[12, 14] Operation: 32-18=14
Moving to Node #0,3,2
Current State: 26:[12, 14], Operations: ['78-46=32', '32-18=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
47,
36,
39,
86
] | 35 | [
"47+39=86",
"86/86=1",
"36-1=35"
] | Current State: 35:[47, 36, 39, 86], Operations: []
Exploring Operation: 47+39=86, Resulting Numbers: [36, 86, 86]
Generated Node #2: [36, 86, 86] from Operation: 47+39=86
Current State: 35:[36, 86, 86], Operations: ['47+39=86']
Exploring Operation: 86/86=1, Resulting Numbers: [36, 1]
Generated Node #3: [36, 1] from Operation: 86/86=1
Current State: 35:[36, 1], Operations: ['47+39=86', '86/86=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[47, 36, 39, 86], Operations: []
Exploring Operation: 47-39=8, Resulting Numbers: [36, 86, 8]
Generated Node #0,0: 35:[36, 86, 8] Operation: 47-39=8
Exploring Operation: 86-39=47, Resulting Numbers: [47, 36, 47]
Generated Node #0,1: 35:[47, 36, 47] Operation: 86-39=47
Exploring Operation: 86-36=50, Resulting Numbers: [47, 39, 50]
Generated Node #0,2: 35:[47, 39, 50] Operation: 86-36=50
Exploring Operation: 86-47=39, Resulting Numbers: [36, 39, 39]
Generated Node #0,3: 35:[36, 39, 39] Operation: 86-47=39
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[36, 39, 39], Operations: ['86-47=39']
Exploring Operation: 39-36=3, Resulting Numbers: [39, 3]
Generated Node #0,3,0: 35:[39, 3] Operation: 39-36=3
Exploring Operation: 39-39=0, Resulting Numbers: [36, 0]
Generated Node #0,3,1: 35:[36, 0] Operation: 39-39=0
Exploring Operation: 39/39=1, Resulting Numbers: [36, 1]
Generated Node #0,3,2: 35:[36, 1] Operation: 39/39=1
Exploring Operation: 39-36=3, Resulting Numbers: [39, 3]
Generated Node #0,3,3: 35:[39, 3] Operation: 39-36=3
Moving to Node #0,3,2
Current State: 35:[36, 1], Operations: ['86-47=39', '39/39=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[47, 36, 39, 86], Operations: []
Exploring Operation: 86-47=39, Resulting Numbers: [36, 39, 39]
Generated Node #0,3: 35:[36, 39, 39] Operation: 86-47=39
Moving to Node #0,3
Current State: 35:[36, 39, 39], Operations: ['86-47=39']
Exploring Operation: 39/39=1, Resulting Numbers: [36, 1]
Generated Node #0,3,2: 35:[36, 1] Operation: 39/39=1
Moving to Node #0,3,2
Current State: 35:[36, 1], Operations: ['86-47=39', '39/39=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
7,
7,
1,
62
] | 62 | [
"7-7=0",
"1*62=62",
"0+62=62"
] | Current State: 62:[7, 7, 1, 62], Operations: []
Exploring Operation: 7-7=0, Resulting Numbers: [1, 62, 0]
Generated Node #2: [1, 62, 0] from Operation: 7-7=0
Current State: 62:[1, 62, 0], Operations: ['7-7=0']
Exploring Operation: 1*62=62, Resulting Numbers: [0, 62]
Generated Node #3: [0, 62] from Operation: 1*62=62
Current State: 62:[0, 62], Operations: ['7-7=0', '1*62=62']
Exploring Operation: 0+62=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[7, 7, 1, 62], Operations: []
Exploring Operation: 7-7=0, Resulting Numbers: [1, 62, 0]
Generated Node #0,0: 62:[1, 62, 0] Operation: 7-7=0
Exploring Operation: 7/7=1, Resulting Numbers: [1, 62, 1]
Generated Node #0,1: 62:[1, 62, 1] Operation: 7/7=1
Exploring Operation: 7-1=6, Resulting Numbers: [7, 62, 6]
Generated Node #0,2: 62:[7, 62, 6] Operation: 7-1=6
Moving to Node #0,1
Current State: 62:[1, 62, 1], Operations: ['7/7=1']
Exploring Operation: 62/1=62, Resulting Numbers: [1, 62]
Generated Node #0,1,0: 62:[1, 62] Operation: 62/1=62
Exploring Operation: 1+1=2, Resulting Numbers: [62, 2]
Generated Node #0,1,1: 62:[62, 2] Operation: 1+1=2
Exploring Operation: 1*62=62, Resulting Numbers: [1, 62]
Generated Node #0,1,2: 62:[1, 62] Operation: 1*62=62
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[62, 2], Operations: ['7/7=1', '1+1=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[1, 62], Operations: ['7/7=1', '62/1=62']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[7, 7, 1, 62], Operations: []
Exploring Operation: 7/7=1, Resulting Numbers: [1, 62, 1]
Generated Node #0,1: 62:[1, 62, 1] Operation: 7/7=1
Moving to Node #0,1
Current State: 62:[1, 62, 1], Operations: ['7/7=1']
Exploring Operation: 62/1=62, Resulting Numbers: [1, 62]
Generated Node #0,1,0: 62:[1, 62] Operation: 62/1=62
Moving to Node #0,1,0
Current State: 62:[1, 62], Operations: ['7/7=1', '62/1=62']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
7,
78,
31,
86
] | 25 | [
"86-78=8",
"7*8=56",
"56-31=25"
] | Current State: 25:[7, 78, 31, 86], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [7, 31, 8]
Generated Node #2: [7, 31, 8] from Operation: 86-78=8
Current State: 25:[7, 31, 8], Operations: ['86-78=8']
Exploring Operation: 7*8=56, Resulting Numbers: [31, 56]
Generated Node #3: [31, 56] from Operation: 7*8=56
Current State: 25:[31, 56], Operations: ['86-78=8', '7*8=56']
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[7, 78, 31, 86], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [7, 31, 8]
Generated Node #0,0: 25:[7, 31, 8] Operation: 86-78=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[7, 31, 8], Operations: ['86-78=8']
Exploring Operation: 31-7=24, Resulting Numbers: [8, 24]
Generated Node #0,0,0: 25:[8, 24] Operation: 31-7=24
Moving to Node #0,0,0
Current State: 25:[8, 24], Operations: ['86-78=8', '31-7=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,25 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 |
[
1,
66,
6,
17
] | 90 | [
"1+66=67",
"6+17=23",
"67+23=90"
] | Current State: 90:[1, 66, 6, 17], Operations: []
Exploring Operation: 1+66=67, Resulting Numbers: [6, 17, 67]
Generated Node #2: [6, 17, 67] from Operation: 1+66=67
Current State: 90:[6, 17, 67], Operations: ['1+66=67']
Exploring Operation: 6+17=23, Resulting Numbers: [67, 23]
Generated Node #3: [67, 23] from Operation: 6+17=23
Current State: 90:[67, 23], Operations: ['1+66=67', '6+17=23']
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[1, 66, 6, 17], Operations: []
Exploring Operation: 66-17=49, Resulting Numbers: [1, 6, 49]
Generated Node #0,0: 90:[1, 6, 49] Operation: 66-17=49
Exploring Operation: 66+17=83, Resulting Numbers: [1, 6, 83]
Generated Node #0,1: 90:[1, 6, 83] Operation: 66+17=83
Exploring Operation: 66-6=60, Resulting Numbers: [1, 17, 60]
Generated Node #0,2: 90:[1, 17, 60] Operation: 66-6=60
Exploring Operation: 66/6=11, Resulting Numbers: [1, 17, 11]
Generated Node #0,3: 90:[1, 17, 11] Operation: 66/6=11
Moving to Node #0,3
Current State: 90:[1, 17, 11], Operations: ['66/6=11']
Exploring Operation: 11-1=10, Resulting Numbers: [17, 10]
Generated Node #0,3,0: 90:[17, 10] Operation: 11-1=10
Exploring Operation: 1+17=18, Resulting Numbers: [11, 18]
Generated Node #0,3,1: 90:[11, 18] Operation: 1+17=18
Exploring Operation: 17-11=6, Resulting Numbers: [1, 6]
Generated Node #0,3,2: 90:[1, 6] Operation: 17-11=6
Exploring Operation: 1*17=17, Resulting Numbers: [11, 17]
Generated Node #0,3,3: 90:[11, 17] Operation: 1*17=17
Moving to Node #0,0
Current State: 90:[1, 6, 49], Operations: ['66-17=49']
Exploring Operation: 6-1=5, Resulting Numbers: [49, 5]
Generated Node #0,0,0: 90:[49, 5] Operation: 6-1=5
Exploring Operation: 49-6=43, Resulting Numbers: [1, 43]
Generated Node #0,0,1: 90:[1, 43] Operation: 49-6=43
Exploring Operation: 49-1=48, Resulting Numbers: [6, 48]
Generated Node #0,0,2: 90:[6, 48] Operation: 49-1=48
Exploring Operation: 1*6=6, Resulting Numbers: [49, 6]
Generated Node #0,0,3: 90:[49, 6] Operation: 1*6=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[1, 43], Operations: ['66-17=49', '49-6=43']
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,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,2
Current State: 90:[6, 48], Operations: ['66-17=49', '49-1=48']
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,90 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,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,0
Current State: 90:[49, 5], Operations: ['66-17=49', '6-1=5']
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,90 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,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,3
Current State: 90:[49, 6], Operations: ['66-17=49', '1*6=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 90:[1, 6, 83], Operations: ['66+17=83']
Exploring Operation: 1+83=84, Resulting Numbers: [6, 84]
Generated Node #0,1,0: 90:[6, 84] Operation: 1+83=84
Exploring Operation: 6+83=89, Resulting Numbers: [1, 89]
Generated Node #0,1,1: 90:[1, 89] Operation: 6+83=89
Exploring Operation: 6-1=5, Resulting Numbers: [83, 5]
Generated Node #0,1,2: 90:[83, 5] Operation: 6-1=5
Exploring Operation: 1*6=6, Resulting Numbers: [83, 6]
Generated Node #0,1,3: 90:[83, 6] Operation: 1*6=6
Moving to Node #0,2
Current State: 90:[1, 17, 60], Operations: ['66-6=60']
Exploring Operation: 60-1=59, Resulting Numbers: [17, 59]
Generated Node #0,2,0: 90:[17, 59] Operation: 60-1=59
Exploring Operation: 17+60=77, Resulting Numbers: [1, 77]
Generated Node #0,2,1: 90:[1, 77] Operation: 17+60=77
Exploring Operation: 1+17=18, Resulting Numbers: [60, 18]
Generated Node #0,2,2: 90:[60, 18] Operation: 1+17=18
Exploring Operation: 60-17=43, Resulting Numbers: [1, 43]
Generated Node #0,2,3: 90:[1, 43] Operation: 60-17=43
Moving to Node #0,3,0
Current State: 90:[17, 10], Operations: ['66/6=11', '11-1=10']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,90 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[1, 6], Operations: ['66/6=11', '17-11=6']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[11, 18], Operations: ['66/6=11', '1+17=18']
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,90 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[1, 89], Operations: ['66+17=83', '6+83=89']
Exploring Operation: 1+89=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[1, 66, 6, 17], Operations: []
Exploring Operation: 66+17=83, Resulting Numbers: [1, 6, 83]
Generated Node #0,1: 90:[1, 6, 83] Operation: 66+17=83
Moving to Node #0,1
Current State: 90:[1, 6, 83], Operations: ['66+17=83']
Exploring Operation: 6+83=89, Resulting Numbers: [1, 89]
Generated Node #0,1,1: 90:[1, 89] Operation: 6+83=89
Moving to Node #0,1,1
Current State: 90:[1, 89], Operations: ['66+17=83', '6+83=89']
Exploring Operation: 1+89=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.957465 | hs_4 | mult_heuristic |
[
50,
4,
78,
90
] | 22 | [
"78-50=28",
"4*28=112",
"112-90=22"
] | Current State: 22:[50, 4, 78, 90], Operations: []
Exploring Operation: 78-50=28, Resulting Numbers: [4, 90, 28]
Generated Node #2: [4, 90, 28] from Operation: 78-50=28
Current State: 22:[4, 90, 28], Operations: ['78-50=28']
Exploring Operation: 4*28=112, Resulting Numbers: [90, 112]
Generated Node #3: [90, 112] from Operation: 4*28=112
Current State: 22:[90, 112], Operations: ['78-50=28', '4*28=112']
Exploring Operation: 112-90=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[50, 4, 78, 90], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [50, 4, 12]
Generated Node #0,0: 22:[50, 4, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[50, 4, 12], Operations: ['90-78=12']
Exploring Operation: 50-12=38, Resulting Numbers: [4, 38]
Generated Node #0,0,0: 22:[4, 38] Operation: 50-12=38
Moving to Node #0,0,0
Current State: 22:[4, 38], Operations: ['90-78=12', '50-12=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
39,
45,
78,
32
] | 26 | [
"39+45=84",
"78+32=110",
"110-84=26"
] | Current State: 26:[39, 45, 78, 32], Operations: []
Exploring Operation: 39+45=84, Resulting Numbers: [78, 32, 84]
Generated Node #2: [78, 32, 84] from Operation: 39+45=84
Current State: 26:[78, 32, 84], Operations: ['39+45=84']
Exploring Operation: 78+32=110, Resulting Numbers: [84, 110]
Generated Node #3: [84, 110] from Operation: 78+32=110
Current State: 26:[84, 110], Operations: ['39+45=84', '78+32=110']
Exploring Operation: 110-84=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[39, 45, 78, 32], Operations: []
Exploring Operation: 78/39=2, Resulting Numbers: [45, 32, 2]
Generated Node #0,0: 26:[45, 32, 2] Operation: 78/39=2
Exploring Operation: 78-45=33, Resulting Numbers: [39, 32, 33]
Generated Node #0,1: 26:[39, 32, 33] Operation: 78-45=33
Moving to Node #0,0
Current State: 26:[45, 32, 2], Operations: ['78/39=2']
Exploring Operation: 32/2=16, Resulting Numbers: [45, 16]
Generated Node #0,0,0: 26:[45, 16] Operation: 32/2=16
Exploring Operation: 45-32=13, Resulting Numbers: [2, 13]
Generated Node #0,0,1: 26:[2, 13] Operation: 45-32=13
Moving to Node #0,1
Current State: 26:[39, 32, 33], Operations: ['78-45=33']
Exploring Operation: 39-32=7, Resulting Numbers: [33, 7]
Generated Node #0,1,0: 26:[33, 7] Operation: 39-32=7
Exploring Operation: 39-33=6, Resulting Numbers: [32, 6]
Generated Node #0,1,1: 26:[32, 6] Operation: 39-33=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[32, 6], Operations: ['78-45=33', '39-33=6']
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[39, 45, 78, 32], Operations: []
Exploring Operation: 78-45=33, Resulting Numbers: [39, 32, 33]
Generated Node #0,1: 26:[39, 32, 33] Operation: 78-45=33
Moving to Node #0,1
Current State: 26:[39, 32, 33], Operations: ['78-45=33']
Exploring Operation: 39-33=6, Resulting Numbers: [32, 6]
Generated Node #0,1,1: 26:[32, 6] Operation: 39-33=6
Moving to Node #0,1,1
Current State: 26:[32, 6], Operations: ['78-45=33', '39-33=6']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
82,
58,
36,
37
] | 67 | [
"82+58=140",
"36+37=73",
"140-73=67"
] | Current State: 67:[82, 58, 36, 37], Operations: []
Exploring Operation: 82+58=140, Resulting Numbers: [36, 37, 140]
Generated Node #2: [36, 37, 140] from Operation: 82+58=140
Current State: 67:[36, 37, 140], Operations: ['82+58=140']
Exploring Operation: 36+37=73, Resulting Numbers: [140, 73]
Generated Node #3: [140, 73] from Operation: 36+37=73
Current State: 67:[140, 73], Operations: ['82+58=140', '36+37=73']
Exploring Operation: 140-73=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[82, 58, 36, 37], Operations: []
Exploring Operation: 36+37=73, Resulting Numbers: [82, 58, 73]
Generated Node #0,0: 67:[82, 58, 73] Operation: 36+37=73
Moving to Node #0,0
Current State: 67:[82, 58, 73], Operations: ['36+37=73']
Exploring Operation: 82-58=24, Resulting Numbers: [73, 24]
Generated Node #0,0,0: 67:[73, 24] Operation: 82-58=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[73, 24], Operations: ['36+37=73', '82-58=24']
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,67 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 |
[
4,
63,
75,
4
] | 63 | [
"4-4=0",
"75*0=0",
"63+0=63"
] | Current State: 63:[4, 63, 75, 4], Operations: []
Exploring Operation: 4-4=0, Resulting Numbers: [63, 75, 0]
Generated Node #2: [63, 75, 0] from Operation: 4-4=0
Current State: 63:[63, 75, 0], Operations: ['4-4=0']
Exploring Operation: 75*0=0, Resulting Numbers: [63, 0]
Generated Node #3: [63, 0] from Operation: 75*0=0
Current State: 63:[63, 0], Operations: ['4-4=0', '75*0=0']
Exploring Operation: 63+0=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[4, 63, 75, 4], Operations: []
Exploring Operation: 4+4=8, Resulting Numbers: [63, 75, 8]
Generated Node #0,0: 63:[63, 75, 8] Operation: 4+4=8
Exploring Operation: 75-4=71, Resulting Numbers: [4, 63, 71]
Generated Node #0,1: 63:[4, 63, 71] Operation: 75-4=71
Exploring Operation: 75-63=12, Resulting Numbers: [4, 4, 12]
Generated Node #0,2: 63:[4, 4, 12] Operation: 75-63=12
Exploring Operation: 75-4=71, Resulting Numbers: [63, 4, 71]
Generated Node #0,3: 63:[63, 4, 71] Operation: 75-4=71
Moving to Node #0,2
Current State: 63:[4, 4, 12], Operations: ['75-63=12']
Exploring Operation: 12-4=8, Resulting Numbers: [4, 8]
Generated Node #0,2,0: 63:[4, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [4, 3]
Generated Node #0,2,1: 63:[4, 3] Operation: 12/4=3
Exploring Operation: 12/4=3, Resulting Numbers: [4, 3]
Generated Node #0,2,2: 63:[4, 3] Operation: 12/4=3
Exploring Operation: 12-4=8, Resulting Numbers: [4, 8]
Generated Node #0,2,3: 63:[4, 8] Operation: 12-4=8
Moving to Node #0,3
Current State: 63:[63, 4, 71], Operations: ['75-4=71']
Exploring Operation: 71-4=67, Resulting Numbers: [63, 67]
Generated Node #0,3,0: 63:[63, 67] Operation: 71-4=67
Exploring Operation: 63-4=59, Resulting Numbers: [71, 59]
Generated Node #0,3,1: 63:[71, 59] Operation: 63-4=59
Exploring Operation: 71-63=8, Resulting Numbers: [4, 8]
Generated Node #0,3,2: 63:[4, 8] Operation: 71-63=8
Exploring Operation: 63+4=67, Resulting Numbers: [71, 67]
Generated Node #0,3,3: 63:[71, 67] Operation: 63+4=67
Moving to Node #0,1
Current State: 63:[4, 63, 71], Operations: ['75-4=71']
Exploring Operation: 71-63=8, Resulting Numbers: [4, 8]
Generated Node #0,1,0: 63:[4, 8] Operation: 71-63=8
Exploring Operation: 71-4=67, Resulting Numbers: [63, 67]
Generated Node #0,1,1: 63:[63, 67] Operation: 71-4=67
Exploring Operation: 63-4=59, Resulting Numbers: [71, 59]
Generated Node #0,1,2: 63:[71, 59] Operation: 63-4=59
Exploring Operation: 4+63=67, Resulting Numbers: [71, 67]
Generated Node #0,1,3: 63:[71, 67] Operation: 4+63=67
Moving to Node #0,0
Current State: 63:[63, 75, 8], Operations: ['4+4=8']
Exploring Operation: 75-63=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 63:[8, 12] Operation: 75-63=12
Exploring Operation: 63-8=55, Resulting Numbers: [75, 55]
Generated Node #0,0,1: 63:[75, 55] Operation: 63-8=55
Exploring Operation: 63+8=71, Resulting Numbers: [75, 71]
Generated Node #0,0,2: 63:[75, 71] Operation: 63+8=71
Exploring Operation: 75-8=67, Resulting Numbers: [63, 67]
Generated Node #0,0,3: 63:[63, 67] Operation: 75-8=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[8, 12], Operations: ['4+4=8', '75-63=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,63 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,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,3
Current State: 63:[63, 67], Operations: ['4+4=8', '75-8=67']
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 63+67=130, Resulting Numbers: [130]
130,63 unequal: No Solution
Exploring Operation: 63*67=4221, Resulting Numbers: [4221]
4221,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:[75, 55], Operations: ['4+4=8', '63-8=55']
Exploring Operation: 75*55=4125, Resulting Numbers: [4125]
4125,63 unequal: No Solution
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 75+55=130, Resulting Numbers: [130]
130,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:[75, 71], Operations: ['4+4=8', '63+8=71']
Exploring Operation: 75-71=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 75*71=5325, Resulting Numbers: [5325]
5325,63 unequal: No Solution
Exploring Operation: 75+71=146, Resulting Numbers: [146]
146,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 63:[4, 3], Operations: ['75-63=12', '12/4=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[4, 3], Operations: ['75-63=12', '12/4=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[4, 8], Operations: ['75-63=12', '12-4=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[4, 8], Operations: ['75-4=71', '71-63=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,63 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[4, 8], Operations: ['75-63=12', '12-4=8']
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,63 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[4, 8], Operations: ['75-4=71', '71-63=8']
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,63 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[63, 67], Operations: ['75-4=71', '71-4=67']
Exploring Operation: 63+67=130, Resulting Numbers: [130]
130,63 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 63*67=4221, Resulting Numbers: [4221]
4221,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[63, 67], Operations: ['75-4=71', '71-4=67']
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 63+67=130, Resulting Numbers: [130]
130,63 unequal: No Solution
Exploring Operation: 63*67=4221, Resulting Numbers: [4221]
4221,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[71, 59], Operations: ['75-4=71', '63-4=59']
Exploring Operation: 71*59=4189, Resulting Numbers: [4189]
4189,63 unequal: No Solution
Exploring Operation: 71+59=130, Resulting Numbers: [130]
130,63 unequal: No Solution
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Moving to Node #0,3,1
Current State: 63:[71, 59], Operations: ['75-4=71', '63-4=59']
Exploring Operation: 71+59=130, Resulting Numbers: [130]
130,63 unequal: No Solution
Exploring Operation: 71*59=4189, Resulting Numbers: [4189]
4189,63 unequal: No Solution
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[71, 67], Operations: ['75-4=71', '4+63=67']
Exploring Operation: 71*67=4757, Resulting Numbers: [4757]
4757,63 unequal: No Solution
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 71+67=138, Resulting Numbers: [138]
138,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[71, 67], Operations: ['75-4=71', '63+4=67']
Exploring Operation: 71*67=4757, Resulting Numbers: [4757]
4757,63 unequal: No Solution
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 71+67=138, Resulting Numbers: [138]
138,63 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
87,
86,
2,
53
] | 27 | [
"87-86=1",
"53+1=54",
"54/2=27"
] | Current State: 27:[87, 86, 2, 53], Operations: []
Exploring Operation: 87-86=1, Resulting Numbers: [2, 53, 1]
Generated Node #2: [2, 53, 1] from Operation: 87-86=1
Current State: 27:[2, 53, 1], Operations: ['87-86=1']
Exploring Operation: 53+1=54, Resulting Numbers: [2, 54]
Generated Node #3: [2, 54] from Operation: 53+1=54
Current State: 27:[2, 54], Operations: ['87-86=1', '53+1=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[87, 86, 2, 53], Operations: []
Exploring Operation: 87-2=85, Resulting Numbers: [86, 53, 85]
Generated Node #0,0: 27:[86, 53, 85] Operation: 87-2=85
Exploring Operation: 87-53=34, Resulting Numbers: [86, 2, 34]
Generated Node #0,1: 27:[86, 2, 34] Operation: 87-53=34
Exploring Operation: 87-86=1, Resulting Numbers: [2, 53, 1]
Generated Node #0,2: 27:[2, 53, 1] Operation: 87-86=1
Exploring Operation: 86-53=33, Resulting Numbers: [87, 2, 33]
Generated Node #0,3: 27:[87, 2, 33] Operation: 86-53=33
Exploring Operation: 86/2=43, Resulting Numbers: [87, 53, 43]
Generated Node #0,4: 27:[87, 53, 43] Operation: 86/2=43
Moving to Node #0,2
Current State: 27:[2, 53, 1], Operations: ['87-86=1']
Exploring Operation: 53-1=52, Resulting Numbers: [2, 52]
Generated Node #0,2,0: 27:[2, 52] Operation: 53-1=52
Exploring Operation: 53-2=51, Resulting Numbers: [1, 51]
Generated Node #0,2,1: 27:[1, 51] Operation: 53-2=51
Exploring Operation: 2*1=2, Resulting Numbers: [53, 2]
Generated Node #0,2,2: 27:[53, 2] Operation: 2*1=2
Exploring Operation: 2+1=3, Resulting Numbers: [53, 3]
Generated Node #0,2,3: 27:[53, 3] Operation: 2+1=3
Exploring Operation: 2/1=2, Resulting Numbers: [53, 2]
Generated Node #0,2,4: 27:[53, 2] Operation: 2/1=2
Moving to Node #0,3
Current State: 27:[87, 2, 33], Operations: ['86-53=33']
Exploring Operation: 87-33=54, Resulting Numbers: [2, 54]
Generated Node #0,3,0: 27:[2, 54] Operation: 87-33=54
Exploring Operation: 87+2=89, Resulting Numbers: [33, 89]
Generated Node #0,3,1: 27:[33, 89] Operation: 87+2=89
Exploring Operation: 33-2=31, Resulting Numbers: [87, 31]
Generated Node #0,3,2: 27:[87, 31] Operation: 33-2=31
Exploring Operation: 2+33=35, Resulting Numbers: [87, 35]
Generated Node #0,3,3: 27:[87, 35] Operation: 2+33=35
Exploring Operation: 87-2=85, Resulting Numbers: [33, 85]
Generated Node #0,3,4: 27:[33, 85] Operation: 87-2=85
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 27:[2, 54], Operations: ['86-53=33', '87-33=54']
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[87, 86, 2, 53], Operations: []
Exploring Operation: 86-53=33, Resulting Numbers: [87, 2, 33]
Generated Node #0,3: 27:[87, 2, 33] Operation: 86-53=33
Moving to Node #0,3
Current State: 27:[87, 2, 33], Operations: ['86-53=33']
Exploring Operation: 87-33=54, Resulting Numbers: [2, 54]
Generated Node #0,3,0: 27:[2, 54] Operation: 87-33=54
Moving to Node #0,3,0
Current State: 27:[2, 54], Operations: ['86-53=33', '87-33=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
24,
6,
14,
40
] | 26 | [
"6+14=20",
"40/20=2",
"24+2=26"
] | Current State: 26:[24, 6, 14, 40], Operations: []
Exploring Operation: 6+14=20, Resulting Numbers: [24, 40, 20]
Generated Node #2: [24, 40, 20] from Operation: 6+14=20
Current State: 26:[24, 40, 20], Operations: ['6+14=20']
Exploring Operation: 40/20=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 40/20=2
Current State: 26:[24, 2], Operations: ['6+14=20', '40/20=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[24, 6, 14, 40], Operations: []
Exploring Operation: 40-14=26, Resulting Numbers: [24, 6, 26]
Generated Node #0,0: 26:[24, 6, 26] Operation: 40-14=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[24, 6, 26], Operations: ['40-14=26']
Exploring Operation: 24/6=4, Resulting Numbers: [26, 4]
Generated Node #0,0,0: 26:[26, 4] Operation: 24/6=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[26, 4], Operations: ['40-14=26', '24/6=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
80,
52,
27,
28
] | 56 | [
"80+28=108",
"108/27=4",
"52+4=56"
] | Current State: 56:[80, 52, 27, 28], Operations: []
Exploring Operation: 80+28=108, Resulting Numbers: [52, 27, 108]
Generated Node #2: [52, 27, 108] from Operation: 80+28=108
Current State: 56:[52, 27, 108], Operations: ['80+28=108']
Exploring Operation: 108/27=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 108/27=4
Current State: 56:[52, 4], Operations: ['80+28=108', '108/27=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[80, 52, 27, 28], Operations: []
Exploring Operation: 80-52=28, Resulting Numbers: [27, 28, 28]
Generated Node #0,0: 56:[27, 28, 28] Operation: 80-52=28
Moving to Node #0,0
Current State: 56:[27, 28, 28], Operations: ['80-52=28']
Exploring Operation: 27+28=55, Resulting Numbers: [28, 55]
Generated Node #0,0,0: 56:[28, 55] Operation: 27+28=55
Moving to Node #0,0,0
Current State: 56:[28, 55], Operations: ['80-52=28', '27+28=55']
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,56 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
53,
70,
74
] | 92 | [
"96*53=5088",
"70*74=5180",
"5180-5088=92"
] | Current State: 92:[96, 53, 70, 74], Operations: []
Exploring Operation: 96*53=5088, Resulting Numbers: [70, 74, 5088]
Generated Node #2: [70, 74, 5088] from Operation: 96*53=5088
Current State: 92:[70, 74, 5088], Operations: ['96*53=5088']
Exploring Operation: 70*74=5180, Resulting Numbers: [5088, 5180]
Generated Node #3: [5088, 5180] from Operation: 70*74=5180
Current State: 92:[5088, 5180], Operations: ['96*53=5088', '70*74=5180']
Exploring Operation: 5180-5088=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[96, 53, 70, 74], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [96, 53, 4]
Generated Node #0,0: 92:[96, 53, 4] Operation: 74-70=4
Exploring Operation: 96-70=26, Resulting Numbers: [53, 74, 26]
Generated Node #0,1: 92:[53, 74, 26] Operation: 96-70=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[96, 53, 4], Operations: ['74-70=4']
Exploring Operation: 96-53=43, Resulting Numbers: [4, 43]
Generated Node #0,0,0: 92:[4, 43] Operation: 96-53=43
Exploring Operation: 96-4=92, Resulting Numbers: [53, 92]
Generated Node #0,0,1: 92:[53, 92] Operation: 96-4=92
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[4, 43], Operations: ['74-70=4', '96-53=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,92 unequal: No Solution
No 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: 92:[53, 92], Operations: ['74-70=4', '96-4=92']
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 53+92=145, Resulting Numbers: [145]
145,92 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: 92:[53, 74, 26], Operations: ['96-70=26']
Exploring Operation: 74-53=21, Resulting Numbers: [26, 21]
Generated Node #0,1,0: 92:[26, 21] Operation: 74-53=21
Exploring Operation: 74-26=48, Resulting Numbers: [53, 48]
Generated Node #0,1,1: 92:[53, 48] Operation: 74-26=48
Moving to Node #0,1,0
Current State: 92:[26, 21], Operations: ['96-70=26', '74-53=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[53, 48], Operations: ['96-70=26', '74-26=48']
Exploring Operation: 53+48=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
67,
15,
12,
85
] | 36 | [
"67+15=82",
"85-82=3",
"12*3=36"
] | Current State: 36:[67, 15, 12, 85], Operations: []
Exploring Operation: 67+15=82, Resulting Numbers: [12, 85, 82]
Generated Node #2: [12, 85, 82] from Operation: 67+15=82
Current State: 36:[12, 85, 82], Operations: ['67+15=82']
Exploring Operation: 85-82=3, Resulting Numbers: [12, 3]
Generated Node #3: [12, 3] from Operation: 85-82=3
Current State: 36:[12, 3], Operations: ['67+15=82', '85-82=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[67, 15, 12, 85], Operations: []
Exploring Operation: 85-67=18, Resulting Numbers: [15, 12, 18]
Generated Node #0,0: 36:[15, 12, 18] Operation: 85-67=18
Moving to Node #0,0
Current State: 36:[15, 12, 18], Operations: ['85-67=18']
Exploring Operation: 15-12=3, Resulting Numbers: [18, 3]
Generated Node #0,0,0: 36:[18, 3] Operation: 15-12=3
Moving to Node #0,0,0
Current State: 36:[18, 3], Operations: ['85-67=18', '15-12=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
29,
4,
94,
83
] | 44 | [
"29+4=33",
"94-83=11",
"33+11=44"
] | Current State: 44:[29, 4, 94, 83], Operations: []
Exploring Operation: 29+4=33, Resulting Numbers: [94, 83, 33]
Generated Node #2: [94, 83, 33] from Operation: 29+4=33
Current State: 44:[94, 83, 33], Operations: ['29+4=33']
Exploring Operation: 94-83=11, Resulting Numbers: [33, 11]
Generated Node #3: [33, 11] from Operation: 94-83=11
Current State: 44:[33, 11], Operations: ['29+4=33', '94-83=11']
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[29, 4, 94, 83], Operations: []
Exploring Operation: 94-29=65, Resulting Numbers: [4, 83, 65]
Generated Node #0,0: 44:[4, 83, 65] Operation: 94-29=65
Exploring Operation: 94-83=11, Resulting Numbers: [29, 4, 11]
Generated Node #0,1: 44:[29, 4, 11] Operation: 94-83=11
Exploring Operation: 83-29=54, Resulting Numbers: [4, 94, 54]
Generated Node #0,2: 44:[4, 94, 54] Operation: 83-29=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[29, 4, 11], Operations: ['94-83=11']
Exploring Operation: 29+11=40, Resulting Numbers: [4, 40]
Generated Node #0,1,0: 44:[4, 40] Operation: 29+11=40
Exploring Operation: 29-4=25, Resulting Numbers: [11, 25]
Generated Node #0,1,1: 44:[11, 25] Operation: 29-4=25
Exploring Operation: 29-11=18, Resulting Numbers: [4, 18]
Generated Node #0,1,2: 44:[4, 18] Operation: 29-11=18
Moving to Node #0,1,1
Current State: 44:[11, 25], Operations: ['94-83=11', '29-4=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,44 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[4, 40], Operations: ['94-83=11', '29+11=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[29, 4, 94, 83], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [29, 4, 11]
Generated Node #0,1: 44:[29, 4, 11] Operation: 94-83=11
Moving to Node #0,1
Current State: 44:[29, 4, 11], Operations: ['94-83=11']
Exploring Operation: 29+11=40, Resulting Numbers: [4, 40]
Generated Node #0,1,0: 44:[4, 40] Operation: 29+11=40
Moving to Node #0,1,0
Current State: 44:[4, 40], Operations: ['94-83=11', '29+11=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
2,
37,
92,
1
] | 74 | [
"37-1=36",
"36/2=18",
"92-18=74"
] | Current State: 74:[2, 37, 92, 1], Operations: []
Exploring Operation: 37-1=36, Resulting Numbers: [2, 92, 36]
Generated Node #2: [2, 92, 36] from Operation: 37-1=36
Current State: 74:[2, 92, 36], Operations: ['37-1=36']
Exploring Operation: 36/2=18, Resulting Numbers: [92, 18]
Generated Node #3: [92, 18] from Operation: 36/2=18
Current State: 74:[92, 18], Operations: ['37-1=36', '36/2=18']
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[2, 37, 92, 1], Operations: []
Exploring Operation: 92-2=90, Resulting Numbers: [37, 1, 90]
Generated Node #0,0: 74:[37, 1, 90] Operation: 92-2=90
Exploring Operation: 92/2=46, Resulting Numbers: [37, 1, 46]
Generated Node #0,1: 74:[37, 1, 46] Operation: 92/2=46
Exploring Operation: 2*1=2, Resulting Numbers: [37, 92, 2]
Generated Node #0,2: 74:[37, 92, 2] Operation: 2*1=2
Exploring Operation: 92-1=91, Resulting Numbers: [2, 37, 91]
Generated Node #0,3: 74:[2, 37, 91] Operation: 92-1=91
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[37, 1, 46], Operations: ['92/2=46']
Exploring Operation: 37/1=37, Resulting Numbers: [46, 37]
Generated Node #0,1,0: 74:[46, 37] Operation: 37/1=37
Exploring Operation: 46-37=9, Resulting Numbers: [1, 9]
Generated Node #0,1,1: 74:[1, 9] Operation: 46-37=9
Exploring Operation: 37*1=37, Resulting Numbers: [46, 37]
Generated Node #0,1,2: 74:[46, 37] Operation: 37*1=37
Exploring Operation: 46-1=45, Resulting Numbers: [37, 45]
Generated Node #0,1,3: 74:[37, 45] Operation: 46-1=45
Moving to Node #0,1,1
Current State: 74:[1, 9], Operations: ['92/2=46', '46-37=9']
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[37, 45], Operations: ['92/2=46', '46-1=45']
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,74 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[46, 37], Operations: ['92/2=46', '37*1=37']
Exploring Operation: 46+37=83, Resulting Numbers: [83]
83,74 unequal: No Solution
Exploring Operation: 46*37=1702, Resulting Numbers: [1702]
1702,74 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[46, 37], Operations: ['92/2=46', '37/1=37']
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 46+37=83, Resulting Numbers: [83]
83,74 unequal: No Solution
Exploring Operation: 46*37=1702, Resulting Numbers: [1702]
1702,74 unequal: No Solution
No 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: 74:[37, 1, 90], Operations: ['92-2=90']
Exploring Operation: 1*90=90, Resulting Numbers: [37, 90]
Generated Node #0,0,0: 74:[37, 90] Operation: 1*90=90
Exploring Operation: 37/1=37, Resulting Numbers: [90, 37]
Generated Node #0,0,1: 74:[90, 37] Operation: 37/1=37
Exploring Operation: 90-1=89, Resulting Numbers: [37, 89]
Generated Node #0,0,2: 74:[37, 89] Operation: 90-1=89
Exploring Operation: 37*1=37, Resulting Numbers: [90, 37]
Generated Node #0,0,3: 74:[90, 37] Operation: 37*1=37
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[37, 89], Operations: ['92-2=90', '90-1=89']
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 37+89=126, Resulting Numbers: [126]
126,74 unequal: No Solution
Exploring Operation: 37*89=3293, Resulting Numbers: [3293]
3293,74 unequal: No Solution
No 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: 74:[37, 90], Operations: ['92-2=90', '1*90=90']
Exploring Operation: 37*90=3330, Resulting Numbers: [3330]
3330,74 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Exploring Operation: 37+90=127, Resulting Numbers: [127]
127,74 unequal: No Solution
No 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: 74:[90, 37], Operations: ['92-2=90', '37/1=37']
Exploring Operation: 90+37=127, Resulting Numbers: [127]
127,74 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Exploring Operation: 90*37=3330, Resulting Numbers: [3330]
3330,74 unequal: No Solution
No 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: 74:[90, 37], Operations: ['92-2=90', '37*1=37']
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Exploring Operation: 90*37=3330, Resulting Numbers: [3330]
3330,74 unequal: No Solution
Exploring Operation: 90+37=127, Resulting Numbers: [127]
127,74 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: 74:[2, 37, 91], Operations: ['92-1=91']
Exploring Operation: 2*37=74, Resulting Numbers: [91, 74]
Generated Node #0,3,0: 74:[91, 74] Operation: 2*37=74
Exploring Operation: 91-2=89, Resulting Numbers: [37, 89]
Generated Node #0,3,1: 74:[37, 89] Operation: 91-2=89
Exploring Operation: 91-37=54, Resulting Numbers: [2, 54]
Generated Node #0,3,2: 74:[2, 54] Operation: 91-37=54
Exploring Operation: 2+37=39, Resulting Numbers: [91, 39]
Generated Node #0,3,3: 74:[91, 39] Operation: 2+37=39
Moving to Node #0,3,1
Current State: 74:[37, 89], Operations: ['92-1=91', '91-2=89']
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 37*89=3293, Resulting Numbers: [3293]
3293,74 unequal: No Solution
Exploring Operation: 37+89=126, Resulting Numbers: [126]
126,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[2, 54], Operations: ['92-1=91', '91-37=54']
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[91, 74], Operations: ['92-1=91', '2*37=74']
Exploring Operation: 91*74=6734, Resulting Numbers: [6734]
6734,74 unequal: No Solution
Exploring Operation: 91-74=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 91+74=165, Resulting Numbers: [165]
165,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[91, 39], Operations: ['92-1=91', '2+37=39']
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 91*39=3549, Resulting Numbers: [3549]
3549,74 unequal: No Solution
Exploring Operation: 91+39=130, Resulting Numbers: [130]
130,74 unequal: No Solution
No 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: 74:[37, 92, 2], Operations: ['2*1=2']
Exploring Operation: 92-2=90, Resulting Numbers: [37, 90]
Generated Node #0,2,0: 74:[37, 90] Operation: 92-2=90
Exploring Operation: 92/2=46, Resulting Numbers: [37, 46]
Generated Node #0,2,1: 74:[37, 46] Operation: 92/2=46
Exploring Operation: 37*2=74, Resulting Numbers: [92, 74]
Generated Node #0,2,2: 74:[92, 74] Operation: 37*2=74
Exploring Operation: 92-37=55, Resulting Numbers: [2, 55]
Generated Node #0,2,3: 74:[2, 55] Operation: 92-37=55
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 74:[37, 46], Operations: ['2*1=2', '92/2=46']
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,74 unequal: No Solution
Exploring Operation: 37*46=1702, Resulting Numbers: [1702]
1702,74 unequal: No Solution
No 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: 74:[37, 90], Operations: ['2*1=2', '92-2=90']
Exploring Operation: 37+90=127, Resulting Numbers: [127]
127,74 unequal: No Solution
Exploring Operation: 37*90=3330, Resulting Numbers: [3330]
3330,74 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,74 unequal: No Solution
No 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: 74:[92, 74], Operations: ['2*1=2', '37*2=74']
Exploring Operation: 92+74=166, Resulting Numbers: [166]
166,74 unequal: No Solution
Exploring Operation: 92-74=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 92*74=6808, Resulting Numbers: [6808]
6808,74 unequal: No Solution
No 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: 74:[2, 55], Operations: ['2*1=2', '92-37=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,74 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 |
[
98,
36,
98,
24
] | 49 | [
"98*36=3528",
"3528/24=147",
"147-98=49"
] | Current State: 49:[98, 36, 98, 24], Operations: []
Exploring Operation: 98*36=3528, Resulting Numbers: [24, 3528]
Generated Node #2: [24, 3528] from Operation: 98*36=3528
Current State: 49:[24, 3528], Operations: ['98*36=3528']
Exploring Operation: 3528/24=147, Resulting Numbers: [147]
147,49 equal: Goal Reached
Exploring Operation: 147-98=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[98, 36, 98, 24], Operations: []
Exploring Operation: 98/98=1, Resulting Numbers: [36, 24, 1]
Generated Node #0,0: 49:[36, 24, 1] Operation: 98/98=1
Exploring Operation: 98-36=62, Resulting Numbers: [98, 24, 62]
Generated Node #0,1: 49:[98, 24, 62] Operation: 98-36=62
Exploring Operation: 98-36=62, Resulting Numbers: [98, 24, 62]
Generated Node #0,2: 49:[98, 24, 62] Operation: 98-36=62
Exploring Operation: 98-24=74, Resulting Numbers: [36, 98, 74]
Generated Node #0,3: 49:[36, 98, 74] Operation: 98-24=74
Exploring Operation: 98-98=0, Resulting Numbers: [36, 24, 0]
Generated Node #0,4: 49:[36, 24, 0] Operation: 98-98=0
Moving to Node #0,0
Current State: 49:[36, 24, 1], Operations: ['98/98=1']
Exploring Operation: 36+24=60, Resulting Numbers: [1, 60]
Generated Node #0,0,0: 49:[1, 60] Operation: 36+24=60
Exploring Operation: 36+1=37, Resulting Numbers: [24, 37]
Generated Node #0,0,1: 49:[24, 37] Operation: 36+1=37
Exploring Operation: 36-24=12, Resulting Numbers: [1, 12]
Generated Node #0,0,2: 49:[1, 12] Operation: 36-24=12
Exploring Operation: 36*1=36, Resulting Numbers: [24, 36]
Generated Node #0,0,3: 49:[24, 36] Operation: 36*1=36
Exploring Operation: 24-1=23, Resulting Numbers: [36, 23]
Generated Node #0,0,4: 49:[36, 23] Operation: 24-1=23
Moving to Node #0,4
Current State: 49:[36, 24, 0], Operations: ['98-98=0']
Exploring Operation: 36+24=60, Resulting Numbers: [0, 60]
Generated Node #0,4,0: 49:[0, 60] Operation: 36+24=60
Exploring Operation: 36+0=36, Resulting Numbers: [24, 36]
Generated Node #0,4,1: 49:[24, 36] Operation: 36+0=36
Exploring Operation: 24*0=0, Resulting Numbers: [36, 0]
Generated Node #0,4,2: 49:[36, 0] Operation: 24*0=0
Exploring Operation: 36*0=0, Resulting Numbers: [24, 0]
Generated Node #0,4,3: 49:[24, 0] Operation: 36*0=0
Exploring Operation: 36-24=12, Resulting Numbers: [0, 12]
Generated Node #0,4,4: 49:[0, 12] Operation: 36-24=12
Moving to Node #0,1
Current State: 49:[98, 24, 62], Operations: ['98-36=62']
Exploring Operation: 62-24=38, Resulting Numbers: [98, 38]
Generated Node #0,1,0: 49:[98, 38] Operation: 62-24=38
Exploring Operation: 98+24=122, Resulting Numbers: [62, 122]
Generated Node #0,1,1: 49:[62, 122] Operation: 98+24=122
Exploring Operation: 24+62=86, Resulting Numbers: [98, 86]
Generated Node #0,1,2: 49:[98, 86] Operation: 24+62=86
Exploring Operation: 98-62=36, Resulting Numbers: [24, 36]
Generated Node #0,1,3: 49:[24, 36] Operation: 98-62=36
Exploring Operation: 98-24=74, Resulting Numbers: [62, 74]
Generated Node #0,1,4: 49:[62, 74] Operation: 98-24=74
Moving to Node #0,2
Current State: 49:[98, 24, 62], Operations: ['98-36=62']
Exploring Operation: 98-24=74, Resulting Numbers: [62, 74]
Generated Node #0,2,0: 49:[62, 74] Operation: 98-24=74
Exploring Operation: 98+24=122, Resulting Numbers: [62, 122]
Generated Node #0,2,1: 49:[62, 122] Operation: 98+24=122
Exploring Operation: 24+62=86, Resulting Numbers: [98, 86]
Generated Node #0,2,2: 49:[98, 86] Operation: 24+62=86
Exploring Operation: 98-62=36, Resulting Numbers: [24, 36]
Generated Node #0,2,3: 49:[24, 36] Operation: 98-62=36
Exploring Operation: 62-24=38, Resulting Numbers: [98, 38]
Generated Node #0,2,4: 49:[98, 38] Operation: 62-24=38
Moving to Node #0,3
Current State: 49:[36, 98, 74], Operations: ['98-24=74']
Exploring Operation: 98-74=24, Resulting Numbers: [36, 24]
Generated Node #0,3,0: 49:[36, 24] Operation: 98-74=24
Exploring Operation: 74-36=38, Resulting Numbers: [98, 38]
Generated Node #0,3,1: 49:[98, 38] Operation: 74-36=38
Exploring Operation: 98-36=62, Resulting Numbers: [74, 62]
Generated Node #0,3,2: 49:[74, 62] Operation: 98-36=62
Exploring Operation: 36+74=110, Resulting Numbers: [98, 110]
Generated Node #0,3,3: 49:[98, 110] Operation: 36+74=110
Exploring Operation: 36+98=134, Resulting Numbers: [74, 134]
Generated Node #0,3,4: 49:[74, 134] Operation: 36+98=134
Moving to Node #0,0,2
Current State: 49:[1, 12], Operations: ['98/98=1', '36-24=12']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Moving to Node #0,4,4
Current State: 49:[0, 12], Operations: ['98-98=0', '36-24=12']
Exploring Operation: 0*12=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 0+12=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[1, 60], Operations: ['98/98=1', '36+24=60']
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 1+60=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Moving to Node #0,4,0
Current State: 49:[0, 60], Operations: ['98-98=0', '36+24=60']
Exploring Operation: 60-0=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 0+60=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 0*60=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Moving to Node #0,4,2
Current State: 49:[36, 0], Operations: ['98-98=0', '24*0=0']
Exploring Operation: 36*0=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 36-0=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 36+0=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Moving to Node #0,4,3
Current State: 49:[24, 0], Operations: ['98-98=0', '36*0=0']
Exploring Operation: 24-0=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 24*0=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 24+0=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[24, 37], Operations: ['98/98=1', '36+1=37']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 24*37=888, Resulting Numbers: [888]
888,49 unequal: No Solution
Moving to Node #0,0,4
Current State: 49:[36, 23], Operations: ['98/98=1', '24-1=23']
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,49 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[24, 36], Operations: ['98/98=1', '36*1=36']
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[24, 36], Operations: ['98-36=62', '98-62=36']
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,49 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Moving to Node #0,4,1
Current State: 49:[24, 36], Operations: ['98-98=0', '36+0=36']
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[24, 36], Operations: ['98-36=62', '98-62=36']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,49 unequal: No Solution
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[36, 24], Operations: ['98-24=74', '98-74=24']
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,49 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[62, 74], Operations: ['98-36=62', '98-24=74']
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,49 unequal: No Solution
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,49 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[62, 74], Operations: ['98-36=62', '98-24=74']
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,49 unequal: No Solution
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,49 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[74, 62], Operations: ['98-24=74', '98-36=62']
Exploring Operation: 74+62=136, Resulting Numbers: [136]
136,49 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 74*62=4588, Resulting Numbers: [4588]
4588,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[98, 38], Operations: ['98-36=62', '62-24=38']
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,49 unequal: No Solution
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,49 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[98, 38], Operations: ['98-24=74', '74-36=38']
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,49 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,49 unequal: No Solution
Moving to Node #0,2,4
Current State: 49:[98, 38], Operations: ['98-36=62', '62-24=38']
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,49 unequal: No Solution
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,49 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[98, 86], Operations: ['98-36=62', '24+62=86']
Exploring Operation: 98+86=184, Resulting Numbers: [184]
184,49 unequal: No Solution
Exploring Operation: 98-86=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 98*86=8428, Resulting Numbers: [8428]
8428,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[62, 122], Operations: ['98-36=62', '98+24=122']
Exploring Operation: 62*122=7564, Resulting Numbers: [7564]
7564,49 unequal: No Solution
Exploring Operation: 62+122=184, Resulting Numbers: [184]
184,49 unequal: No Solution
Exploring Operation: 122-62=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[62, 122], Operations: ['98-36=62', '98+24=122']
Exploring Operation: 62*122=7564, Resulting Numbers: [7564]
7564,49 unequal: No Solution
Exploring Operation: 122-62=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 62+122=184, Resulting Numbers: [184]
184,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[98, 86], Operations: ['98-36=62', '24+62=86']
Exploring Operation: 98+86=184, Resulting Numbers: [184]
184,49 unequal: No Solution
Exploring Operation: 98-86=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 98*86=8428, Resulting Numbers: [8428]
8428,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[74, 134], Operations: ['98-24=74', '36+98=134']
Exploring Operation: 74+134=208, Resulting Numbers: [208]
208,49 unequal: No Solution
Exploring Operation: 74*134=9916, Resulting Numbers: [9916]
9916,49 unequal: No Solution
Exploring Operation: 134-74=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[98, 110], Operations: ['98-24=74', '36+74=110']
Exploring Operation: 98+110=208, Resulting Numbers: [208]
208,49 unequal: No Solution
Exploring Operation: 110-98=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 98*110=10780, Resulting Numbers: [10780]
10780,49 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
95,
92,
26,
61
] | 38 | [
"95-92=3",
"61-26=35",
"3+35=38"
] | Current State: 38:[95, 92, 26, 61], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [26, 61, 3]
Generated Node #2: [26, 61, 3] from Operation: 95-92=3
Current State: 38:[26, 61, 3], Operations: ['95-92=3']
Exploring Operation: 61-26=35, Resulting Numbers: [3, 35]
Generated Node #3: [3, 35] from Operation: 61-26=35
Current State: 38:[3, 35], Operations: ['95-92=3', '61-26=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[95, 92, 26, 61], Operations: []
Exploring Operation: 92-26=66, Resulting Numbers: [95, 61, 66]
Generated Node #0,0: 38:[95, 61, 66] Operation: 92-26=66
Exploring Operation: 95-92=3, Resulting Numbers: [26, 61, 3]
Generated Node #0,1: 38:[26, 61, 3] Operation: 95-92=3
Exploring Operation: 95-26=69, Resulting Numbers: [92, 61, 69]
Generated Node #0,2: 38:[92, 61, 69] Operation: 95-26=69
Exploring Operation: 92-61=31, Resulting Numbers: [95, 26, 31]
Generated Node #0,3: 38:[95, 26, 31] Operation: 92-61=31
Exploring Operation: 95-61=34, Resulting Numbers: [92, 26, 34]
Generated Node #0,4: 38:[92, 26, 34] Operation: 95-61=34
Moving to Node #0,1
Current State: 38:[26, 61, 3], Operations: ['95-92=3']
Exploring Operation: 61-3=58, Resulting Numbers: [26, 58]
Generated Node #0,1,0: 38:[26, 58] Operation: 61-3=58
Exploring Operation: 26+3=29, Resulting Numbers: [61, 29]
Generated Node #0,1,1: 38:[61, 29] Operation: 26+3=29
Exploring Operation: 26-3=23, Resulting Numbers: [61, 23]
Generated Node #0,1,2: 38:[61, 23] Operation: 26-3=23
Exploring Operation: 61-26=35, Resulting Numbers: [3, 35]
Generated Node #0,1,3: 38:[3, 35] Operation: 61-26=35
Exploring Operation: 61+3=64, Resulting Numbers: [26, 64]
Generated Node #0,1,4: 38:[26, 64] Operation: 61+3=64
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[3, 35], Operations: ['95-92=3', '61-26=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,38 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[95, 92, 26, 61], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [26, 61, 3]
Generated Node #0,1: 38:[26, 61, 3] Operation: 95-92=3
Moving to Node #0,1
Current State: 38:[26, 61, 3], Operations: ['95-92=3']
Exploring Operation: 61-26=35, Resulting Numbers: [3, 35]
Generated Node #0,1,3: 38:[3, 35] Operation: 61-26=35
Moving to Node #0,1,3
Current State: 38:[3, 35], Operations: ['95-92=3', '61-26=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
9,
77,
3,
6
] | 84 | [
"9+77=86",
"6/3=2",
"86-2=84"
] | Current State: 84:[9, 77, 3, 6], Operations: []
Exploring Operation: 9+77=86, Resulting Numbers: [3, 6, 86]
Generated Node #2: [3, 6, 86] from Operation: 9+77=86
Current State: 84:[3, 6, 86], Operations: ['9+77=86']
Exploring Operation: 6/3=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 6/3=2
Current State: 84:[86, 2], Operations: ['9+77=86', '6/3=2']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[9, 77, 3, 6], Operations: []
Exploring Operation: 77+6=83, Resulting Numbers: [9, 3, 83]
Generated Node #0,0: 84:[9, 3, 83] Operation: 77+6=83
Exploring Operation: 9+77=86, Resulting Numbers: [3, 6, 86]
Generated Node #0,1: 84:[3, 6, 86] Operation: 9+77=86
Moving to Node #0,1
Current State: 84:[3, 6, 86], Operations: ['9+77=86']
Exploring Operation: 86-3=83, Resulting Numbers: [6, 83]
Generated Node #0,1,0: 84:[6, 83] Operation: 86-3=83
Exploring Operation: 6-3=3, Resulting Numbers: [86, 3]
Generated Node #0,1,1: 84:[86, 3] Operation: 6-3=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[6, 83], Operations: ['9+77=86', '86-3=83']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[86, 3], Operations: ['9+77=86', '6-3=3']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 86+3=89, Resulting Numbers: [89]
89,84 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: 84:[9, 3, 83], Operations: ['77+6=83']
Exploring Operation: 9+3=12, Resulting Numbers: [83, 12]
Generated Node #0,0,0: 84:[83, 12] Operation: 9+3=12
Exploring Operation: 9-3=6, Resulting Numbers: [83, 6]
Generated Node #0,0,1: 84:[83, 6] Operation: 9-3=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[83, 12], Operations: ['77+6=83', '9+3=12']
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,84 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[83, 6], Operations: ['77+6=83', '9-3=6']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,84 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 |
[
13,
79,
54,
88
] | 19 | [
"88-79=9",
"54/9=6",
"13+6=19"
] | Current State: 19:[13, 79, 54, 88], Operations: []
Exploring Operation: 88-79=9, Resulting Numbers: [13, 54, 9]
Generated Node #2: [13, 54, 9] from Operation: 88-79=9
Current State: 19:[13, 54, 9], Operations: ['88-79=9']
Exploring Operation: 54/9=6, Resulting Numbers: [13, 6]
Generated Node #3: [13, 6] from Operation: 54/9=6
Current State: 19:[13, 6], Operations: ['88-79=9', '54/9=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[13, 79, 54, 88], Operations: []
Exploring Operation: 88-79=9, Resulting Numbers: [13, 54, 9]
Generated Node #0,0: 19:[13, 54, 9] Operation: 88-79=9
Exploring Operation: 79-54=25, Resulting Numbers: [13, 88, 25]
Generated Node #0,1: 19:[13, 88, 25] Operation: 79-54=25
Moving to Node #0,0
Current State: 19:[13, 54, 9], Operations: ['88-79=9']
Exploring Operation: 54-13=41, Resulting Numbers: [9, 41]
Generated Node #0,0,0: 19:[9, 41] Operation: 54-13=41
Exploring Operation: 54/9=6, Resulting Numbers: [13, 6]
Generated Node #0,0,1: 19:[13, 6] Operation: 54/9=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[13, 6], Operations: ['88-79=9', '54/9=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[13, 79, 54, 88], Operations: []
Exploring Operation: 88-79=9, Resulting Numbers: [13, 54, 9]
Generated Node #0,0: 19:[13, 54, 9] Operation: 88-79=9
Moving to Node #0,0
Current State: 19:[13, 54, 9], Operations: ['88-79=9']
Exploring Operation: 54/9=6, Resulting Numbers: [13, 6]
Generated Node #0,0,1: 19:[13, 6] Operation: 54/9=6
Moving to Node #0,0,1
Current State: 19:[13, 6], Operations: ['88-79=9', '54/9=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
88,
40,
32,
1
] | 95 | [
"88+40=128",
"32+1=33",
"128-33=95"
] | Current State: 95:[88, 40, 32, 1], Operations: []
Exploring Operation: 88+40=128, Resulting Numbers: [32, 1, 128]
Generated Node #2: [32, 1, 128] from Operation: 88+40=128
Current State: 95:[32, 1, 128], Operations: ['88+40=128']
Exploring Operation: 32+1=33, Resulting Numbers: [128, 33]
Generated Node #3: [128, 33] from Operation: 32+1=33
Current State: 95:[128, 33], Operations: ['88+40=128', '32+1=33']
Exploring Operation: 128-33=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[88, 40, 32, 1], Operations: []
Exploring Operation: 88+1=89, Resulting Numbers: [40, 32, 89]
Generated Node #0,0: 95:[40, 32, 89] Operation: 88+1=89
Exploring Operation: 40-32=8, Resulting Numbers: [88, 1, 8]
Generated Node #0,1: 95:[88, 1, 8] Operation: 40-32=8
Exploring Operation: 40+32=72, Resulting Numbers: [88, 1, 72]
Generated Node #0,2: 95:[88, 1, 72] Operation: 40+32=72
Exploring Operation: 32-1=31, Resulting Numbers: [88, 40, 31]
Generated Node #0,3: 95:[88, 40, 31] Operation: 32-1=31
Exploring Operation: 40-1=39, Resulting Numbers: [88, 32, 39]
Generated Node #0,4: 95:[88, 32, 39] Operation: 40-1=39
Moving to Node #0,1
Current State: 95:[88, 1, 8], Operations: ['40-32=8']
Exploring Operation: 88+8=96, Resulting Numbers: [1, 96]
Generated Node #0,1,0: 95:[1, 96] Operation: 88+8=96
Exploring Operation: 88/1=88, Resulting Numbers: [8, 88]
Generated Node #0,1,1: 95:[8, 88] Operation: 88/1=88
Exploring Operation: 8-1=7, Resulting Numbers: [88, 7]
Generated Node #0,1,2: 95:[88, 7] Operation: 8-1=7
Exploring Operation: 88+1=89, Resulting Numbers: [8, 89]
Generated Node #0,1,3: 95:[8, 89] Operation: 88+1=89
Exploring Operation: 88*1=88, Resulting Numbers: [8, 88]
Generated Node #0,1,4: 95:[8, 88] Operation: 88*1=88
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[1, 96], Operations: ['40-32=8', '88+8=96']
Exploring Operation: 1+96=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 1*96=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[88, 40, 32, 1], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [88, 1, 8]
Generated Node #0,1: 95:[88, 1, 8] Operation: 40-32=8
Moving to Node #0,1
Current State: 95:[88, 1, 8], Operations: ['40-32=8']
Exploring Operation: 88+8=96, Resulting Numbers: [1, 96]
Generated Node #0,1,0: 95:[1, 96] Operation: 88+8=96
Moving to Node #0,1,0
Current State: 95:[1, 96], Operations: ['40-32=8', '88+8=96']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
41,
22,
28,
17
] | 82 | [
"41*22=902",
"28-17=11",
"902/11=82"
] | Current State: 82:[41, 22, 28, 17], Operations: []
Exploring Operation: 41*22=902, Resulting Numbers: [28, 17, 902]
Generated Node #2: [28, 17, 902] from Operation: 41*22=902
Current State: 82:[28, 17, 902], Operations: ['41*22=902']
Exploring Operation: 28-17=11, Resulting Numbers: [902, 11]
Generated Node #3: [902, 11] from Operation: 28-17=11
Current State: 82:[902, 11], Operations: ['41*22=902', '28-17=11']
Exploring Operation: 902/11=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[41, 22, 28, 17], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [41, 17, 6]
Generated Node #0,0: 82:[41, 17, 6] Operation: 28-22=6
Exploring Operation: 22+28=50, Resulting Numbers: [41, 17, 50]
Generated Node #0,1: 82:[41, 17, 50] Operation: 22+28=50
Exploring Operation: 28+17=45, Resulting Numbers: [41, 22, 45]
Generated Node #0,2: 82:[41, 22, 45] Operation: 28+17=45
Exploring Operation: 22-17=5, Resulting Numbers: [41, 28, 5]
Generated Node #0,3: 82:[41, 28, 5] Operation: 22-17=5
Exploring Operation: 22+17=39, Resulting Numbers: [41, 28, 39]
Generated Node #0,4: 82:[41, 28, 39] Operation: 22+17=39
Start Sub Search at level 1: Moving to Node #0,4
Current State: 82:[41, 28, 39], Operations: ['22+17=39']
Exploring Operation: 41+28=69, Resulting Numbers: [39, 69]
Generated Node #0,4,0: 82:[39, 69] Operation: 41+28=69
Exploring Operation: 41-39=2, Resulting Numbers: [28, 2]
Generated Node #0,4,1: 82:[28, 2] Operation: 41-39=2
Exploring Operation: 41-28=13, Resulting Numbers: [39, 13]
Generated Node #0,4,2: 82:[39, 13] Operation: 41-28=13
Exploring Operation: 41+39=80, Resulting Numbers: [28, 80]
Generated Node #0,4,3: 82:[28, 80] Operation: 41+39=80
Exploring Operation: 39-28=11, Resulting Numbers: [41, 11]
Generated Node #0,4,4: 82:[41, 11] Operation: 39-28=11
Moving to Node #0,4,4
Current State: 82:[41, 11], Operations: ['22+17=39', '39-28=11']
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,82 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,82 unequal: No Solution
Moving to Node #0,4,2
Current State: 82:[39, 13], Operations: ['22+17=39', '41-28=13']
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,82 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,82 unequal: No Solution
Moving to Node #0,4,1
Current State: 82:[28, 2], Operations: ['22+17=39', '41-39=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,82 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Moving to Node #0,4,0
Current State: 82:[39, 69], Operations: ['22+17=39', '41+28=69']
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,82 unequal: No Solution
Moving to Node #0,4,3
Current State: 82:[28, 80], Operations: ['22+17=39', '41+39=80']
Exploring Operation: 28*80=2240, Resulting Numbers: [2240]
2240,82 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,82 unequal: No Solution
Exploring Operation: 28+80=108, Resulting Numbers: [108]
108,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[41, 28, 5], Operations: ['22-17=5']
Exploring Operation: 41-5=36, Resulting Numbers: [28, 36]
Generated Node #0,3,0: 82:[28, 36] Operation: 41-5=36
Exploring Operation: 28+5=33, Resulting Numbers: [41, 33]
Generated Node #0,3,1: 82:[41, 33] Operation: 28+5=33
Exploring Operation: 41-28=13, Resulting Numbers: [5, 13]
Generated Node #0,3,2: 82:[5, 13] Operation: 41-28=13
Exploring Operation: 41+28=69, Resulting Numbers: [5, 69]
Generated Node #0,3,3: 82:[5, 69] Operation: 41+28=69
Exploring Operation: 41+5=46, Resulting Numbers: [28, 46]
Generated Node #0,3,4: 82:[28, 46] Operation: 41+5=46
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 82:[41, 33], Operations: ['22-17=5', '28+5=33']
Exploring Operation: 41*33=1353, Resulting Numbers: [1353]
1353,82 unequal: No Solution
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,82 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,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,3,2
Current State: 82:[5, 13], Operations: ['22-17=5', '41-28=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,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,3,3
Current State: 82:[5, 69], Operations: ['22-17=5', '41+28=69']
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,82 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,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,3,0
Current State: 82:[28, 36], Operations: ['22-17=5', '41-5=36']
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 28*36=1008, Resulting Numbers: [1008]
1008,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,3,4
Current State: 82:[28, 46], Operations: ['22-17=5', '41+5=46']
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,82 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[41, 17, 6], Operations: ['28-22=6']
Exploring Operation: 41-17=24, Resulting Numbers: [6, 24]
Generated Node #0,0,0: 82:[6, 24] Operation: 41-17=24
Exploring Operation: 17*6=102, Resulting Numbers: [41, 102]
Generated Node #0,0,1: 82:[41, 102] Operation: 17*6=102
Exploring Operation: 41+17=58, Resulting Numbers: [6, 58]
Generated Node #0,0,2: 82:[6, 58] Operation: 41+17=58
Exploring Operation: 17-6=11, Resulting Numbers: [41, 11]
Generated Node #0,0,3: 82:[41, 11] Operation: 17-6=11
Exploring Operation: 17+6=23, Resulting Numbers: [41, 23]
Generated Node #0,0,4: 82:[41, 23] Operation: 17+6=23
Moving to Node #0,0,3
Current State: 82:[41, 11], Operations: ['28-22=6', '17-6=11']
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,82 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,82 unequal: No Solution
Moving to Node #0,0,4
Current State: 82:[41, 23], Operations: ['28-22=6', '17+6=23']
Exploring Operation: 41+23=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 41*23=943, Resulting Numbers: [943]
943,82 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[41, 102], Operations: ['28-22=6', '17*6=102']
Exploring Operation: 102-41=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 41*102=4182, Resulting Numbers: [4182]
4182,82 unequal: No Solution
Exploring Operation: 41+102=143, Resulting Numbers: [143]
143,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[6, 24], Operations: ['28-22=6', '41-17=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,82 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[6, 58], Operations: ['28-22=6', '41+17=58']
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,82 unequal: No Solution
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[41, 22, 45], Operations: ['28+17=45']
Exploring Operation: 45-41=4, Resulting Numbers: [22, 4]
Generated Node #0,2,0: 82:[22, 4] Operation: 45-41=4
Exploring Operation: 41+22=63, Resulting Numbers: [45, 63]
Generated Node #0,2,1: 82:[45, 63] Operation: 41+22=63
Exploring Operation: 45-22=23, Resulting Numbers: [41, 23]
Generated Node #0,2,2: 82:[41, 23] Operation: 45-22=23
Exploring Operation: 41-22=19, Resulting Numbers: [45, 19]
Generated Node #0,2,3: 82:[45, 19] Operation: 41-22=19
Exploring Operation: 22+45=67, Resulting Numbers: [41, 67]
Generated Node #0,2,4: 82:[41, 67] Operation: 22+45=67
Moving to Node #0,2,4
Current State: 82:[41, 67], Operations: ['28+17=45', '22+45=67']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,82 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[41, 23], Operations: ['28+17=45', '45-22=23']
Exploring Operation: 41+23=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 41*23=943, Resulting Numbers: [943]
943,82 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[22, 4], Operations: ['28+17=45', '45-41=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[45, 19], Operations: ['28+17=45', '41-22=19']
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[45, 63], Operations: ['28+17=45', '41+22=63']
Exploring Operation: 45*63=2835, Resulting Numbers: [2835]
2835,82 unequal: No Solution
Exploring Operation: 45+63=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[41, 17, 50], Operations: ['22+28=50']
Exploring Operation: 50-17=33, Resulting Numbers: [41, 33]
Generated Node #0,1,0: 82:[41, 33] Operation: 50-17=33
Exploring Operation: 41+50=91, Resulting Numbers: [17, 91]
Generated Node #0,1,1: 82:[17, 91] Operation: 41+50=91
Exploring Operation: 41+17=58, Resulting Numbers: [50, 58]
Generated Node #0,1,2: 82:[50, 58] Operation: 41+17=58
Exploring Operation: 50-41=9, Resulting Numbers: [17, 9]
Generated Node #0,1,3: 82:[17, 9] Operation: 50-41=9
Exploring Operation: 17+50=67, Resulting Numbers: [41, 67]
Generated Node #0,1,4: 82:[41, 67] Operation: 17+50=67
Moving to Node #0,1,0
Current State: 82:[41, 33], Operations: ['22+28=50', '50-17=33']
Exploring Operation: 41*33=1353, Resulting Numbers: [1353]
1353,82 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,82 unequal: No Solution
Moving to Node #0,1,4
Current State: 82:[41, 67], Operations: ['22+28=50', '17+50=67']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,82 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Moving to Node #0,1,3
Current State: 82:[17, 9], Operations: ['22+28=50', '50-41=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[17, 91], Operations: ['22+28=50', '41+50=91']
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,82 unequal: No Solution
Exploring Operation: 17+91=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Exploring Operation: 17*91=1547, Resulting Numbers: [1547]
1547,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[50, 58], Operations: ['22+28=50', '41+17=58']
Exploring Operation: 50+58=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Exploring Operation: 50*58=2900, Resulting Numbers: [2900]
2900,82 unequal: No Solution
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
80,
61,
33,
84
] | 32 | [
"80-61=19",
"84-33=51",
"51-19=32"
] | Current State: 32:[80, 61, 33, 84], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [33, 84, 19]
Generated Node #2: [33, 84, 19] from Operation: 80-61=19
Current State: 32:[33, 84, 19], Operations: ['80-61=19']
Exploring Operation: 84-33=51, Resulting Numbers: [19, 51]
Generated Node #3: [19, 51] from Operation: 84-33=51
Current State: 32:[19, 51], Operations: ['80-61=19', '84-33=51']
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[80, 61, 33, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [61, 33, 4]
Generated Node #0,0: 32:[61, 33, 4] Operation: 84-80=4
Exploring Operation: 80-33=47, Resulting Numbers: [61, 84, 47]
Generated Node #0,1: 32:[61, 84, 47] Operation: 80-33=47
Exploring Operation: 84-61=23, Resulting Numbers: [80, 33, 23]
Generated Node #0,2: 32:[80, 33, 23] Operation: 84-61=23
Exploring Operation: 80-61=19, Resulting Numbers: [33, 84, 19]
Generated Node #0,3: 32:[33, 84, 19] Operation: 80-61=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[61, 33, 4], Operations: ['84-80=4']
Exploring Operation: 61-33=28, Resulting Numbers: [4, 28]
Generated Node #0,0,0: 32:[4, 28] Operation: 61-33=28
Exploring Operation: 33-4=29, Resulting Numbers: [61, 29]
Generated Node #0,0,1: 32:[61, 29] Operation: 33-4=29
Exploring Operation: 61-4=57, Resulting Numbers: [33, 57]
Generated Node #0,0,2: 32:[33, 57] Operation: 61-4=57
Exploring Operation: 61+4=65, Resulting Numbers: [33, 65]
Generated Node #0,0,3: 32:[33, 65] Operation: 61+4=65
Moving to Node #0,0,0
Current State: 32:[4, 28], Operations: ['84-80=4', '61-33=28']
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[80, 61, 33, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [61, 33, 4]
Generated Node #0,0: 32:[61, 33, 4] Operation: 84-80=4
Moving to Node #0,0
Current State: 32:[61, 33, 4], Operations: ['84-80=4']
Exploring Operation: 61-33=28, Resulting Numbers: [4, 28]
Generated Node #0,0,0: 32:[4, 28] Operation: 61-33=28
Moving to Node #0,0,0
Current State: 32:[4, 28], Operations: ['84-80=4', '61-33=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
64,
44,
22,
86
] | 33 | [
"64*44=2816",
"22+2816=2838",
"2838/86=33"
] | Current State: 33:[64, 44, 22, 86], Operations: []
Exploring Operation: 64*44=2816, Resulting Numbers: [22, 86, 2816]
Generated Node #2: [22, 86, 2816] from Operation: 64*44=2816
Current State: 33:[22, 86, 2816], Operations: ['64*44=2816']
Exploring Operation: 22+2816=2838, Resulting Numbers: [86, 2838]
Generated Node #3: [86, 2838] from Operation: 22+2816=2838
Current State: 33:[86, 2838], Operations: ['64*44=2816', '22+2816=2838']
Exploring Operation: 2838/86=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[64, 44, 22, 86], Operations: []
Exploring Operation: 86-44=42, Resulting Numbers: [64, 22, 42]
Generated Node #0,0: 33:[64, 22, 42] Operation: 86-44=42
Exploring Operation: 64-22=42, Resulting Numbers: [44, 86, 42]
Generated Node #0,1: 33:[44, 86, 42] Operation: 64-22=42
Exploring Operation: 64-44=20, Resulting Numbers: [22, 86, 20]
Generated Node #0,2: 33:[22, 86, 20] Operation: 64-44=20
Exploring Operation: 86-64=22, Resulting Numbers: [44, 22, 22]
Generated Node #0,3: 33:[44, 22, 22] Operation: 86-64=22
Moving to Node #0,3
Current State: 33:[44, 22, 22], Operations: ['86-64=22']
Exploring Operation: 44/22=2, Resulting Numbers: [22, 2]
Generated Node #0,3,0: 33:[22, 2] Operation: 44/22=2
Exploring Operation: 22/22=1, Resulting Numbers: [44, 1]
Generated Node #0,3,1: 33:[44, 1] Operation: 22/22=1
Exploring Operation: 22-22=0, Resulting Numbers: [44, 0]
Generated Node #0,3,2: 33:[44, 0] Operation: 22-22=0
Exploring Operation: 44/22=2, Resulting Numbers: [22, 2]
Generated Node #0,3,3: 33:[22, 2] Operation: 44/22=2
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 33:[22, 2], Operations: ['86-64=22', '44/22=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,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,3,3
Current State: 33:[22, 2], Operations: ['86-64=22', '44/22=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,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,3,1
Current State: 33:[44, 1], Operations: ['86-64=22', '22/22=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,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,3,2
Current State: 33:[44, 0], Operations: ['86-64=22', '22-22=0']
Exploring Operation: 44-0=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 44*0=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 44+0=44, Resulting Numbers: [44]
44,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 33:[64, 22, 42], Operations: ['86-44=42']
Exploring Operation: 64-42=22, Resulting Numbers: [22, 22]
Generated Node #0,0,0: 33:[22, 22] Operation: 64-42=22
Exploring Operation: 42-22=20, Resulting Numbers: [64, 20]
Generated Node #0,0,1: 33:[64, 20] Operation: 42-22=20
Exploring Operation: 64-22=42, Resulting Numbers: [42, 42]
Generated Node #0,0,2: 33:[42, 42] Operation: 64-22=42
Exploring Operation: 64+22=86, Resulting Numbers: [42, 86]
Generated Node #0,0,3: 33:[42, 86] Operation: 64+22=86
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[42, 42], Operations: ['86-44=42', '64-22=42']
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 42-42=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 42*42=1764, Resulting Numbers: [1764]
1764,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,0
Current State: 33:[22, 22], Operations: ['86-44=42', '64-42=22']
Exploring Operation: 22*22=484, Resulting Numbers: [484]
484,33 unequal: No Solution
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,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:[64, 20], Operations: ['86-44=42', '42-22=20']
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,33 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,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,3
Current State: 33:[42, 86], Operations: ['86-44=42', '64+22=86']
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 42*86=3612, Resulting Numbers: [3612]
3612,33 unequal: No Solution
Exploring Operation: 42+86=128, Resulting Numbers: [128]
128,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:[22, 86, 20], Operations: ['64-44=20']
Exploring Operation: 86-20=66, Resulting Numbers: [22, 66]
Generated Node #0,2,0: 33:[22, 66] Operation: 86-20=66
Exploring Operation: 22+20=42, Resulting Numbers: [86, 42]
Generated Node #0,2,1: 33:[86, 42] Operation: 22+20=42
Exploring Operation: 22-20=2, Resulting Numbers: [86, 2]
Generated Node #0,2,2: 33:[86, 2] Operation: 22-20=2
Exploring Operation: 86-22=64, Resulting Numbers: [20, 64]
Generated Node #0,2,3: 33:[20, 64] Operation: 86-22=64
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 33:[20, 64], Operations: ['64-44=20', '86-22=64']
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 20*64=1280, Resulting Numbers: [1280]
1280,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,0
Current State: 33:[22, 66], Operations: ['64-44=20', '86-20=66']
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 22+66=88, Resulting Numbers: [88]
88,33 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 22*66=1452, Resulting Numbers: [1452]
1452,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:[86, 2], Operations: ['64-44=20', '22-20=2']
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,33 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,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:[86, 42], Operations: ['64-44=20', '22+20=42']
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 86*42=3612, Resulting Numbers: [3612]
3612,33 unequal: No Solution
Exploring Operation: 86+42=128, Resulting Numbers: [128]
128,33 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: 33:[44, 86, 42], Operations: ['64-22=42']
Exploring Operation: 44+86=130, Resulting Numbers: [42, 130]
Generated Node #0,1,0: 33:[42, 130] Operation: 44+86=130
Exploring Operation: 44-42=2, Resulting Numbers: [86, 2]
Generated Node #0,1,1: 33:[86, 2] Operation: 44-42=2
Exploring Operation: 86-44=42, Resulting Numbers: [42, 42]
Generated Node #0,1,2: 33:[42, 42] Operation: 86-44=42
Exploring Operation: 86-42=44, Resulting Numbers: [44, 44]
Generated Node #0,1,3: 33:[44, 44] Operation: 86-42=44
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 33:[42, 42], Operations: ['64-22=42', '86-44=42']
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 42*42=1764, Resulting Numbers: [1764]
1764,33 unequal: No Solution
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 42-42=0, Resulting Numbers: [0]
0,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 33:[44, 44], Operations: ['64-22=42', '86-42=44']
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,33 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,33 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[86, 2], Operations: ['64-22=42', '44-42=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,33 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[42, 130], Operations: ['64-22=42', '44+86=130']
Exploring Operation: 42+130=172, Resulting Numbers: [172]
172,33 unequal: No Solution
Exploring Operation: 130-42=88, Resulting Numbers: [88]
88,33 unequal: No Solution
Exploring Operation: 42*130=5460, Resulting Numbers: [5460]
5460,33 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 |
[
28,
17,
1,
68
] | 79 | [
"28-17=11",
"1*68=68",
"11+68=79"
] | Current State: 79:[28, 17, 1, 68], Operations: []
Exploring Operation: 28-17=11, Resulting Numbers: [1, 68, 11]
Generated Node #2: [1, 68, 11] from Operation: 28-17=11
Current State: 79:[1, 68, 11], Operations: ['28-17=11']
Exploring Operation: 1*68=68, Resulting Numbers: [11, 68]
Generated Node #3: [11, 68] from Operation: 1*68=68
Current State: 79:[11, 68], Operations: ['28-17=11', '1*68=68']
Exploring Operation: 11+68=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[28, 17, 1, 68], Operations: []
Exploring Operation: 28+1=29, Resulting Numbers: [17, 68, 29]
Generated Node #0,0: 79:[17, 68, 29] Operation: 28+1=29
Exploring Operation: 28+17=45, Resulting Numbers: [1, 68, 45]
Generated Node #0,1: 79:[1, 68, 45] Operation: 28+17=45
Moving to Node #0,0
Current State: 79:[17, 68, 29], Operations: ['28+1=29']
Exploring Operation: 17+29=46, Resulting Numbers: [68, 46]
Generated Node #0,0,0: 79:[68, 46] Operation: 17+29=46
Exploring Operation: 17+68=85, Resulting Numbers: [29, 85]
Generated Node #0,0,1: 79:[29, 85] Operation: 17+68=85
Moving to Node #0,1
Current State: 79:[1, 68, 45], Operations: ['28+17=45']
Exploring Operation: 1+45=46, Resulting Numbers: [68, 46]
Generated Node #0,1,0: 79:[68, 46] Operation: 1+45=46
Exploring Operation: 1+68=69, Resulting Numbers: [45, 69]
Generated Node #0,1,1: 79:[45, 69] Operation: 1+68=69
Moving to Node #0,0,0
Current State: 79:[68, 46], Operations: ['28+1=29', '17+29=46']
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[68, 46], Operations: ['28+17=45', '1+45=46']
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[45, 69], Operations: ['28+17=45', '1+68=69']
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Exploring Operation: 45+69=114, Resulting Numbers: [114]
114,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[29, 85], Operations: ['28+1=29', '17+68=85']
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 29+85=114, Resulting Numbers: [114]
114,79 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
22,
35,
13,
54
] | 28 | [
"35-22=13",
"54-13=41",
"41-13=28"
] | Current State: 28:[22, 35, 13, 54], Operations: []
Exploring Operation: 35-22=13, Resulting Numbers: [13, 54, 13]
Generated Node #2: [13, 54, 13] from Operation: 35-22=13
Current State: 28:[13, 54, 13], Operations: ['35-22=13']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,28 equal: Goal Reached
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[22, 35, 13, 54], Operations: []
Exploring Operation: 54-13=41, Resulting Numbers: [22, 35, 41]
Generated Node #0,0: 28:[22, 35, 41] Operation: 54-13=41
Exploring Operation: 54-22=32, Resulting Numbers: [35, 13, 32]
Generated Node #0,1: 28:[35, 13, 32] Operation: 54-22=32
Exploring Operation: 54-35=19, Resulting Numbers: [22, 13, 19]
Generated Node #0,2: 28:[22, 13, 19] Operation: 54-35=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[35, 13, 32], Operations: ['54-22=32']
Exploring Operation: 35-13=22, Resulting Numbers: [32, 22]
Generated Node #0,1,0: 28:[32, 22] Operation: 35-13=22
Exploring Operation: 32-13=19, Resulting Numbers: [35, 19]
Generated Node #0,1,1: 28:[35, 19] Operation: 32-13=19
Exploring Operation: 35-32=3, Resulting Numbers: [13, 3]
Generated Node #0,1,2: 28:[13, 3] Operation: 35-32=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 28:[13, 3], Operations: ['54-22=32', '35-32=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[32, 22], Operations: ['54-22=32', '35-13=22']
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[35, 19], Operations: ['54-22=32', '32-13=19']
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,28 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,28 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: 28:[22, 13, 19], Operations: ['54-35=19']
Exploring Operation: 22-13=9, Resulting Numbers: [19, 9]
Generated Node #0,2,0: 28:[19, 9] Operation: 22-13=9
Exploring Operation: 22-19=3, Resulting Numbers: [13, 3]
Generated Node #0,2,1: 28:[13, 3] Operation: 22-19=3
Exploring Operation: 19-13=6, Resulting Numbers: [22, 6]
Generated Node #0,2,2: 28:[22, 6] Operation: 19-13=6
Moving to Node #0,2,1
Current State: 28:[13, 3], Operations: ['54-35=19', '22-19=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[19, 9], Operations: ['54-35=19', '22-13=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,28 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[22, 35, 13, 54], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [22, 13, 19]
Generated Node #0,2: 28:[22, 13, 19] Operation: 54-35=19
Moving to Node #0,2
Current State: 28:[22, 13, 19], Operations: ['54-35=19']
Exploring Operation: 22-13=9, Resulting Numbers: [19, 9]
Generated Node #0,2,0: 28:[19, 9] Operation: 22-13=9
Moving to Node #0,2,0
Current State: 28:[19, 9], Operations: ['54-35=19', '22-13=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
48,
2,
96,
60
] | 72 | [
"96-48=48",
"2*60=120",
"120-48=72"
] | Current State: 72:[48, 2, 96, 60], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [2, 60, 48]
Generated Node #2: [2, 60, 48] from Operation: 96-48=48
Current State: 72:[2, 60, 48], Operations: ['96-48=48']
Exploring Operation: 2*60=120, Resulting Numbers: [48, 120]
Generated Node #3: [48, 120] from Operation: 2*60=120
Current State: 72:[48, 120], Operations: ['96-48=48', '2*60=120']
Exploring Operation: 120-48=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[48, 2, 96, 60], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [2, 60, 2]
Generated Node #0,0: 72:[2, 60, 2] Operation: 96/48=2
Exploring Operation: 96-48=48, Resulting Numbers: [2, 60, 48]
Generated Node #0,1: 72:[2, 60, 48] Operation: 96-48=48
Exploring Operation: 96-60=36, Resulting Numbers: [48, 2, 36]
Generated Node #0,2: 72:[48, 2, 36] Operation: 96-60=36
Moving to Node #0,0
Current State: 72:[2, 60, 2], Operations: ['96/48=2']
Exploring Operation: 60/2=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 72:[2, 30] Operation: 60/2=30
Exploring Operation: 2+60=62, Resulting Numbers: [2, 62]
Generated Node #0,0,1: 72:[2, 62] Operation: 2+60=62
Exploring Operation: 60/2=30, Resulting Numbers: [2, 30]
Generated Node #0,0,2: 72:[2, 30] Operation: 60/2=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[2, 30], Operations: ['96/48=2', '60/2=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[2, 30], Operations: ['96/48=2', '60/2=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[2, 62], Operations: ['96/48=2', '2+60=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,72 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: 72:[48, 2, 36], Operations: ['96-60=36']
Exploring Operation: 48-2=46, Resulting Numbers: [36, 46]
Generated Node #0,2,0: 72:[36, 46] Operation: 48-2=46
Exploring Operation: 48/2=24, Resulting Numbers: [36, 24]
Generated Node #0,2,1: 72:[36, 24] Operation: 48/2=24
Exploring Operation: 48-36=12, Resulting Numbers: [2, 12]
Generated Node #0,2,2: 72:[2, 12] Operation: 48-36=12
Moving to Node #0,1
Current State: 72:[2, 60, 48], Operations: ['96-48=48']
Exploring Operation: 60/2=30, Resulting Numbers: [48, 30]
Generated Node #0,1,0: 72:[48, 30] Operation: 60/2=30
Exploring Operation: 60-48=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 72:[2, 12] Operation: 60-48=12
Exploring Operation: 48/2=24, Resulting Numbers: [60, 24]
Generated Node #0,1,2: 72:[60, 24] Operation: 48/2=24
Moving to Node #0,2,1
Current State: 72:[36, 24], Operations: ['96-60=36', '48/2=24']
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,72 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[2, 12], Operations: ['96-60=36', '48-36=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[2, 12], Operations: ['96-48=48', '60-48=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[36, 46], Operations: ['96-60=36', '48-2=46']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 36+46=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 36*46=1656, Resulting Numbers: [1656]
1656,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[60, 24], Operations: ['96-48=48', '48/2=24']
Exploring Operation: 60+24=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 60*24=1440, Resulting Numbers: [1440]
1440,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[48, 30], Operations: ['96-48=48', '60/2=30']
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,72 unequal: No Solution
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,72 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
6,
97,
31,
15
] | 75 | [
"97-6=91",
"31-15=16",
"91-16=75"
] | Current State: 75:[6, 97, 31, 15], Operations: []
Exploring Operation: 97-6=91, Resulting Numbers: [31, 15, 91]
Generated Node #2: [31, 15, 91] from Operation: 97-6=91
Current State: 75:[31, 15, 91], Operations: ['97-6=91']
Exploring Operation: 31-15=16, Resulting Numbers: [91, 16]
Generated Node #3: [91, 16] from Operation: 31-15=16
Current State: 75:[91, 16], Operations: ['97-6=91', '31-15=16']
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[6, 97, 31, 15], Operations: []
Exploring Operation: 97-15=82, Resulting Numbers: [6, 31, 82]
Generated Node #0,0: 75:[6, 31, 82] Operation: 97-15=82
Exploring Operation: 97-31=66, Resulting Numbers: [6, 15, 66]
Generated Node #0,1: 75:[6, 15, 66] Operation: 97-31=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[6, 15, 66], Operations: ['97-31=66']
Exploring Operation: 6+66=72, Resulting Numbers: [15, 72]
Generated Node #0,1,0: 75:[15, 72] Operation: 6+66=72
Exploring Operation: 66/6=11, Resulting Numbers: [15, 11]
Generated Node #0,1,1: 75:[15, 11] Operation: 66/6=11
Moving to Node #0,1,0
Current State: 75:[15, 72], Operations: ['97-31=66', '6+66=72']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[15, 11], Operations: ['97-31=66', '66/6=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[6, 31, 82], Operations: ['97-15=82']
Exploring Operation: 31-6=25, Resulting Numbers: [82, 25]
Generated Node #0,0,0: 75:[82, 25] Operation: 31-6=25
Exploring Operation: 82-6=76, Resulting Numbers: [31, 76]
Generated Node #0,0,1: 75:[31, 76] Operation: 82-6=76
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[82, 25], Operations: ['97-15=82', '31-6=25']
Exploring Operation: 82+25=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,75 unequal: No Solution
No 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: 75:[31, 76], Operations: ['97-15=82', '82-6=76']
Exploring Operation: 31+76=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,75 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 |
[
88,
83,
82,
28
] | 59 | [
"88-83=5",
"82-28=54",
"5+54=59"
] | Current State: 59:[88, 83, 82, 28], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [82, 28, 5]
Generated Node #2: [82, 28, 5] from Operation: 88-83=5
Current State: 59:[82, 28, 5], Operations: ['88-83=5']
Exploring Operation: 82-28=54, Resulting Numbers: [5, 54]
Generated Node #3: [5, 54] from Operation: 82-28=54
Current State: 59:[5, 54], Operations: ['88-83=5', '82-28=54']
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[88, 83, 82, 28], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [88, 83, 54]
Generated Node #0,0: 59:[88, 83, 54] Operation: 82-28=54
Exploring Operation: 88-28=60, Resulting Numbers: [83, 82, 60]
Generated Node #0,1: 59:[83, 82, 60] Operation: 88-28=60
Exploring Operation: 83-28=55, Resulting Numbers: [88, 82, 55]
Generated Node #0,2: 59:[88, 82, 55] Operation: 83-28=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[83, 82, 60], Operations: ['88-28=60']
Exploring Operation: 83-82=1, Resulting Numbers: [60, 1]
Generated Node #0,1,0: 59:[60, 1] Operation: 83-82=1
Exploring Operation: 83-60=23, Resulting Numbers: [82, 23]
Generated Node #0,1,1: 59:[82, 23] Operation: 83-60=23
Exploring Operation: 82-60=22, Resulting Numbers: [83, 22]
Generated Node #0,1,2: 59:[83, 22] Operation: 82-60=22
Moving to Node #0,1,0
Current State: 59:[60, 1], Operations: ['88-28=60', '83-82=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[88, 83, 82, 28], Operations: []
Exploring Operation: 88-28=60, Resulting Numbers: [83, 82, 60]
Generated Node #0,1: 59:[83, 82, 60] Operation: 88-28=60
Moving to Node #0,1
Current State: 59:[83, 82, 60], Operations: ['88-28=60']
Exploring Operation: 83-82=1, Resulting Numbers: [60, 1]
Generated Node #0,1,0: 59:[60, 1] Operation: 83-82=1
Moving to Node #0,1,0
Current State: 59:[60, 1], Operations: ['88-28=60', '83-82=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
19,
47,
75,
61
] | 59 | [
"19+75=94",
"94/47=2",
"61-2=59"
] | Current State: 59:[19, 47, 75, 61], Operations: []
Exploring Operation: 19+75=94, Resulting Numbers: [47, 61, 94]
Generated Node #2: [47, 61, 94] from Operation: 19+75=94
Current State: 59:[47, 61, 94], Operations: ['19+75=94']
Exploring Operation: 94/47=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 94/47=2
Current State: 59:[61, 2], Operations: ['19+75=94', '94/47=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[19, 47, 75, 61], Operations: []
Exploring Operation: 19+47=66, Resulting Numbers: [75, 61, 66]
Generated Node #0,0: 59:[75, 61, 66] Operation: 19+47=66
Exploring Operation: 61-19=42, Resulting Numbers: [47, 75, 42]
Generated Node #0,1: 59:[47, 75, 42] Operation: 61-19=42
Exploring Operation: 75-19=56, Resulting Numbers: [47, 61, 56]
Generated Node #0,2: 59:[47, 61, 56] Operation: 75-19=56
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[47, 61, 56], Operations: ['75-19=56']
Exploring Operation: 47+61=108, Resulting Numbers: [56, 108]
Generated Node #0,2,0: 59:[56, 108] Operation: 47+61=108
Exploring Operation: 47+56=103, Resulting Numbers: [61, 103]
Generated Node #0,2,1: 59:[61, 103] Operation: 47+56=103
Exploring Operation: 61-47=14, Resulting Numbers: [56, 14]
Generated Node #0,2,2: 59:[56, 14] Operation: 61-47=14
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[61, 103], Operations: ['75-19=56', '47+56=103']
Exploring Operation: 61+103=164, Resulting Numbers: [164]
164,59 unequal: No Solution
Exploring Operation: 103-61=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 61*103=6283, Resulting Numbers: [6283]
6283,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,2,2
Current State: 59:[56, 14], Operations: ['75-19=56', '61-47=14']
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,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,2,0
Current State: 59:[56, 108], Operations: ['75-19=56', '47+61=108']
Exploring Operation: 56+108=164, Resulting Numbers: [164]
164,59 unequal: No Solution
Exploring Operation: 108-56=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 56*108=6048, Resulting Numbers: [6048]
6048,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:[75, 61, 66], Operations: ['19+47=66']
Exploring Operation: 75-61=14, Resulting Numbers: [66, 14]
Generated Node #0,0,0: 59:[66, 14] Operation: 75-61=14
Exploring Operation: 66-61=5, Resulting Numbers: [75, 5]
Generated Node #0,0,1: 59:[75, 5] Operation: 66-61=5
Exploring Operation: 75-66=9, Resulting Numbers: [61, 9]
Generated Node #0,0,2: 59:[61, 9] Operation: 75-66=9
Moving to Node #0,0,0
Current State: 59:[66, 14], Operations: ['19+47=66', '75-61=14']
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,59 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[61, 9], Operations: ['19+47=66', '75-66=9']
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 61*9=549, Resulting Numbers: [549]
549,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[75, 5], Operations: ['19+47=66', '66-61=5']
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[47, 75, 42], Operations: ['61-19=42']
Exploring Operation: 75-42=33, Resulting Numbers: [47, 33]
Generated Node #0,1,0: 59:[47, 33] Operation: 75-42=33
Exploring Operation: 47+42=89, Resulting Numbers: [75, 89]
Generated Node #0,1,1: 59:[75, 89] Operation: 47+42=89
Exploring Operation: 75-47=28, Resulting Numbers: [42, 28]
Generated Node #0,1,2: 59:[42, 28] Operation: 75-47=28
Moving to Node #0,1,0
Current State: 59:[47, 33], Operations: ['61-19=42', '75-42=33']
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,59 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[75, 89], Operations: ['61-19=42', '47+42=89']
Exploring Operation: 75*89=6675, Resulting Numbers: [6675]
6675,59 unequal: No Solution
Exploring Operation: 89-75=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 75+89=164, Resulting Numbers: [164]
164,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[42, 28], Operations: ['61-19=42', '75-47=28']
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,59 unequal: No Solution
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,59 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 |
[
78,
1,
37,
42
] | 72 | [
"78-1=77",
"42-37=5",
"77-5=72"
] | Current State: 72:[78, 1, 37, 42], Operations: []
Exploring Operation: 78-1=77, Resulting Numbers: [37, 42, 77]
Generated Node #2: [37, 42, 77] from Operation: 78-1=77
Current State: 72:[37, 42, 77], Operations: ['78-1=77']
Exploring Operation: 42-37=5, Resulting Numbers: [77, 5]
Generated Node #3: [77, 5] from Operation: 42-37=5
Current State: 72:[77, 5], Operations: ['78-1=77', '42-37=5']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[78, 1, 37, 42], Operations: []
Exploring Operation: 78-1=77, Resulting Numbers: [37, 42, 77]
Generated Node #0,0: 72:[37, 42, 77] Operation: 78-1=77
Exploring Operation: 42-37=5, Resulting Numbers: [78, 1, 5]
Generated Node #0,1: 72:[78, 1, 5] Operation: 42-37=5
Exploring Operation: 78-42=36, Resulting Numbers: [1, 37, 36]
Generated Node #0,2: 72:[1, 37, 36] Operation: 78-42=36
Moving to Node #0,2
Current State: 72:[1, 37, 36], Operations: ['78-42=36']
Exploring Operation: 1*37=37, Resulting Numbers: [36, 37]
Generated Node #0,2,0: 72:[36, 37] Operation: 1*37=37
Exploring Operation: 37/1=37, Resulting Numbers: [36, 37]
Generated Node #0,2,1: 72:[36, 37] Operation: 37/1=37
Exploring Operation: 37-1=36, Resulting Numbers: [36, 36]
Generated Node #0,2,2: 72:[36, 36] Operation: 37-1=36
Moving to Node #0,1
Current State: 72:[78, 1, 5], Operations: ['42-37=5']
Exploring Operation: 78-5=73, Resulting Numbers: [1, 73]
Generated Node #0,1,0: 72:[1, 73] Operation: 78-5=73
Exploring Operation: 78-1=77, Resulting Numbers: [5, 77]
Generated Node #0,1,1: 72:[5, 77] Operation: 78-1=77
Exploring Operation: 1+5=6, Resulting Numbers: [78, 6]
Generated Node #0,1,2: 72:[78, 6] Operation: 1+5=6
Moving to Node #0,0
Current State: 72:[37, 42, 77], Operations: ['78-1=77']
Exploring Operation: 42-37=5, Resulting Numbers: [77, 5]
Generated Node #0,0,0: 72:[77, 5] Operation: 42-37=5
Exploring Operation: 77-37=40, Resulting Numbers: [42, 40]
Generated Node #0,0,1: 72:[42, 40] Operation: 77-37=40
Exploring Operation: 77-42=35, Resulting Numbers: [37, 35]
Generated Node #0,0,2: 72:[37, 35] Operation: 77-42=35
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[37, 35], Operations: ['78-1=77', '77-42=35']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,72 unequal: No Solution
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[78, 1, 37, 42], Operations: []
Exploring Operation: 78-1=77, Resulting Numbers: [37, 42, 77]
Generated Node #0,0: 72:[37, 42, 77] Operation: 78-1=77
Moving to Node #0,0
Current State: 72:[37, 42, 77], Operations: ['78-1=77']
Exploring Operation: 77-42=35, Resulting Numbers: [37, 35]
Generated Node #0,0,2: 72:[37, 35] Operation: 77-42=35
Moving to Node #0,0,2
Current State: 72:[37, 35], Operations: ['78-1=77', '77-42=35']
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
43,
25,
26,
73
] | 65 | [
"43-25=18",
"73-26=47",
"18+47=65"
] | Current State: 65:[43, 25, 26, 73], Operations: []
Exploring Operation: 43-25=18, Resulting Numbers: [26, 73, 18]
Generated Node #2: [26, 73, 18] from Operation: 43-25=18
Current State: 65:[26, 73, 18], Operations: ['43-25=18']
Exploring Operation: 73-26=47, Resulting Numbers: [18, 47]
Generated Node #3: [18, 47] from Operation: 73-26=47
Current State: 65:[18, 47], Operations: ['43-25=18', '73-26=47']
Exploring Operation: 18+47=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[43, 25, 26, 73], Operations: []
Exploring Operation: 43+25=68, Resulting Numbers: [26, 73, 68]
Generated Node #0,0: 65:[26, 73, 68] Operation: 43+25=68
Exploring Operation: 43+26=69, Resulting Numbers: [25, 73, 69]
Generated Node #0,1: 65:[25, 73, 69] Operation: 43+26=69
Exploring Operation: 43-26=17, Resulting Numbers: [25, 73, 17]
Generated Node #0,2: 65:[25, 73, 17] Operation: 43-26=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[26, 73, 68], Operations: ['43+25=68']
Exploring Operation: 73-26=47, Resulting Numbers: [68, 47]
Generated Node #0,0,0: 65:[68, 47] Operation: 73-26=47
Exploring Operation: 73-68=5, Resulting Numbers: [26, 5]
Generated Node #0,0,1: 65:[26, 5] Operation: 73-68=5
Exploring Operation: 68-26=42, Resulting Numbers: [73, 42]
Generated Node #0,0,2: 65:[73, 42] Operation: 68-26=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[26, 5], Operations: ['43+25=68', '73-68=5']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,65 unequal: No Solution
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,65 unequal: No Solution
No 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: 65:[68, 47], Operations: ['43+25=68', '73-26=47']
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,65 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,65 unequal: No Solution
No 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: 65:[73, 42], Operations: ['43+25=68', '68-26=42']
Exploring Operation: 73*42=3066, Resulting Numbers: [3066]
3066,65 unequal: No Solution
Exploring Operation: 73-42=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 73+42=115, Resulting Numbers: [115]
115,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[25, 73, 69], Operations: ['43+26=69']
Exploring Operation: 73-69=4, Resulting Numbers: [25, 4]
Generated Node #0,1,0: 65:[25, 4] Operation: 73-69=4
Exploring Operation: 69-25=44, Resulting Numbers: [73, 44]
Generated Node #0,1,1: 65:[73, 44] Operation: 69-25=44
Exploring Operation: 73-25=48, Resulting Numbers: [69, 48]
Generated Node #0,1,2: 65:[69, 48] Operation: 73-25=48
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[25, 4], Operations: ['43+26=69', '73-69=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,65 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,65 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,65 unequal: No Solution
No 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: 65:[69, 48], Operations: ['43+26=69', '73-25=48']
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 69+48=117, Resulting Numbers: [117]
117,65 unequal: No Solution
Exploring Operation: 69*48=3312, Resulting Numbers: [3312]
3312,65 unequal: No Solution
No 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: 65:[73, 44], Operations: ['43+26=69', '69-25=44']
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,65 unequal: No Solution
Exploring Operation: 73+44=117, Resulting Numbers: [117]
117,65 unequal: No Solution
Exploring Operation: 73*44=3212, Resulting Numbers: [3212]
3212,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[25, 73, 17], Operations: ['43-26=17']
Exploring Operation: 73-17=56, Resulting Numbers: [25, 56]
Generated Node #0,2,0: 65:[25, 56] Operation: 73-17=56
Exploring Operation: 73-25=48, Resulting Numbers: [17, 48]
Generated Node #0,2,1: 65:[17, 48] Operation: 73-25=48
Exploring Operation: 25-17=8, Resulting Numbers: [73, 8]
Generated Node #0,2,2: 65:[73, 8] Operation: 25-17=8
Moving to Node #0,2,2
Current State: 65:[73, 8], Operations: ['43-26=17', '25-17=8']
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,65 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[43, 25, 26, 73], Operations: []
Exploring Operation: 43-26=17, Resulting Numbers: [25, 73, 17]
Generated Node #0,2: 65:[25, 73, 17] Operation: 43-26=17
Moving to Node #0,2
Current State: 65:[25, 73, 17], Operations: ['43-26=17']
Exploring Operation: 25-17=8, Resulting Numbers: [73, 8]
Generated Node #0,2,2: 65:[73, 8] Operation: 25-17=8
Moving to Node #0,2,2
Current State: 65:[73, 8], Operations: ['43-26=17', '25-17=8']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | sum_heuristic |
[
98,
25,
40,
6
] | 65 | [
"98+6=104",
"25*104=2600",
"2600/40=65"
] | Current State: 65:[98, 25, 40, 6], Operations: []
Exploring Operation: 98+6=104, Resulting Numbers: [25, 40, 104]
Generated Node #2: [25, 40, 104] from Operation: 98+6=104
Current State: 65:[25, 40, 104], Operations: ['98+6=104']
Exploring Operation: 25*104=2600, Resulting Numbers: [40, 2600]
Generated Node #3: [40, 2600] from Operation: 25*104=2600
Current State: 65:[40, 2600], Operations: ['98+6=104', '25*104=2600']
Exploring Operation: 2600/40=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[98, 25, 40, 6], Operations: []
Exploring Operation: 98-40=58, Resulting Numbers: [25, 6, 58]
Generated Node #0,0: 65:[25, 6, 58] Operation: 98-40=58
Exploring Operation: 98-25=73, Resulting Numbers: [40, 6, 73]
Generated Node #0,1: 65:[40, 6, 73] Operation: 98-25=73
Moving to Node #0,0
Current State: 65:[25, 6, 58], Operations: ['98-40=58']
Exploring Operation: 25-6=19, Resulting Numbers: [58, 19]
Generated Node #0,0,0: 65:[58, 19] Operation: 25-6=19
Exploring Operation: 6+58=64, Resulting Numbers: [25, 64]
Generated Node #0,0,1: 65:[25, 64] Operation: 6+58=64
Moving to Node #0,1
Current State: 65:[40, 6, 73], Operations: ['98-25=73']
Exploring Operation: 73-40=33, Resulting Numbers: [6, 33]
Generated Node #0,1,0: 65:[6, 33] Operation: 73-40=33
Exploring Operation: 40+6=46, Resulting Numbers: [73, 46]
Generated Node #0,1,1: 65:[73, 46] Operation: 40+6=46
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[6, 33], Operations: ['98-25=73', '73-40=33']
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[73, 46], Operations: ['98-25=73', '40+6=46']
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 73+46=119, Resulting Numbers: [119]
119,65 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: 65:[58, 19], Operations: ['98-40=58', '25-6=19']
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[25, 64], Operations: ['98-40=58', '6+58=64']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,65 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
61,
42,
36,
54
] | 51 | [
"61*36=2196",
"2196-54=2142",
"2142/42=51"
] | Current State: 51:[61, 42, 36, 54], Operations: []
Exploring Operation: 61*36=2196, Resulting Numbers: [42, 54, 2196]
Generated Node #2: [42, 54, 2196] from Operation: 61*36=2196
Current State: 51:[42, 54, 2196], Operations: ['61*36=2196']
Exploring Operation: 2196-54=2142, Resulting Numbers: [42, 2142]
Generated Node #3: [42, 2142] from Operation: 2196-54=2142
Current State: 51:[42, 2142], Operations: ['61*36=2196', '2196-54=2142']
Exploring Operation: 2142/42=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[61, 42, 36, 54], Operations: []
Exploring Operation: 61-42=19, Resulting Numbers: [36, 54, 19]
Generated Node #0,0: 51:[36, 54, 19] Operation: 61-42=19
Exploring Operation: 61-36=25, Resulting Numbers: [42, 54, 25]
Generated Node #0,1: 51:[42, 54, 25] Operation: 61-36=25
Exploring Operation: 42-36=6, Resulting Numbers: [61, 54, 6]
Generated Node #0,2: 51:[61, 54, 6] Operation: 42-36=6
Moving to Node #0,2
Current State: 51:[61, 54, 6], Operations: ['42-36=6']
Exploring Operation: 54-6=48, Resulting Numbers: [61, 48]
Generated Node #0,2,0: 51:[61, 48] Operation: 54-6=48
Exploring Operation: 61-6=55, Resulting Numbers: [54, 55]
Generated Node #0,2,1: 51:[54, 55] Operation: 61-6=55
Exploring Operation: 61-54=7, Resulting Numbers: [6, 7]
Generated Node #0,2,2: 51:[6, 7] Operation: 61-54=7
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[54, 55], Operations: ['42-36=6', '61-6=55']
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 54+55=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 54*55=2970, Resulting Numbers: [2970]
2970,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[6, 7], Operations: ['42-36=6', '61-54=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[61, 48], Operations: ['42-36=6', '54-6=48']
Exploring Operation: 61+48=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 61*48=2928, Resulting Numbers: [2928]
2928,51 unequal: No Solution
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,51 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: 51:[36, 54, 19], Operations: ['61-42=19']
Exploring Operation: 36+19=55, Resulting Numbers: [54, 55]
Generated Node #0,0,0: 51:[54, 55] Operation: 36+19=55
Exploring Operation: 54-36=18, Resulting Numbers: [19, 18]
Generated Node #0,0,1: 51:[19, 18] Operation: 54-36=18
Exploring Operation: 36-19=17, Resulting Numbers: [54, 17]
Generated Node #0,0,2: 51:[54, 17] Operation: 36-19=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[19, 18], Operations: ['61-42=19', '54-36=18']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,51 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[54, 17], Operations: ['61-42=19', '36-19=17']
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[54, 55], Operations: ['61-42=19', '36+19=55']
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 54+55=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 54*55=2970, Resulting Numbers: [2970]
2970,51 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: 51:[42, 54, 25], Operations: ['61-36=25']
Exploring Operation: 54-42=12, Resulting Numbers: [25, 12]
Generated Node #0,1,0: 51:[25, 12] Operation: 54-42=12
Exploring Operation: 42+25=67, Resulting Numbers: [54, 67]
Generated Node #0,1,1: 51:[54, 67] Operation: 42+25=67
Exploring Operation: 42-25=17, Resulting Numbers: [54, 17]
Generated Node #0,1,2: 51:[54, 17] Operation: 42-25=17
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[54, 17], Operations: ['61-36=25', '42-25=17']
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[25, 12], Operations: ['61-36=25', '54-42=12']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,51 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[54, 67], Operations: ['61-36=25', '42+25=67']
Exploring Operation: 67-54=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 54*67=3618, Resulting Numbers: [3618]
3618,51 unequal: No Solution
Exploring Operation: 54+67=121, Resulting Numbers: [121]
121,51 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 |
[
75,
5,
14,
60
] | 18 | [
"75/5=15",
"60/15=4",
"14+4=18"
] | Current State: 18:[75, 5, 14, 60], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [14, 60, 15]
Generated Node #2: [14, 60, 15] from Operation: 75/5=15
Current State: 18:[14, 60, 15], Operations: ['75/5=15']
Exploring Operation: 60/15=4, Resulting Numbers: [14, 4]
Generated Node #3: [14, 4] from Operation: 60/15=4
Current State: 18:[14, 4], Operations: ['75/5=15', '60/15=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[75, 5, 14, 60], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [5, 14, 15]
Generated Node #0,0: 18:[5, 14, 15] Operation: 75-60=15
Moving to Node #0,0
Current State: 18:[5, 14, 15], Operations: ['75-60=15']
Exploring Operation: 15-14=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 18:[5, 1] Operation: 15-14=1
Moving to Node #0,0,0
Current State: 18:[5, 1], Operations: ['75-60=15', '15-14=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,18 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
86,
84,
98,
90
] | 10 | [
"86-84=2",
"98-90=8",
"2+8=10"
] | Current State: 10:[86, 84, 98, 90], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [98, 90, 2]
Generated Node #2: [98, 90, 2] from Operation: 86-84=2
Current State: 10:[98, 90, 2], Operations: ['86-84=2']
Exploring Operation: 98-90=8, Resulting Numbers: [2, 8]
Generated Node #3: [2, 8] from Operation: 98-90=8
Current State: 10:[2, 8], Operations: ['86-84=2', '98-90=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[86, 84, 98, 90], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [84, 90, 12]
Generated Node #0,0: 10:[84, 90, 12] Operation: 98-86=12
Exploring Operation: 98-84=14, Resulting Numbers: [86, 90, 14]
Generated Node #0,1: 10:[86, 90, 14] Operation: 98-84=14
Exploring Operation: 98-90=8, Resulting Numbers: [86, 84, 8]
Generated Node #0,2: 10:[86, 84, 8] Operation: 98-90=8
Exploring Operation: 90-86=4, Resulting Numbers: [84, 98, 4]
Generated Node #0,3: 10:[84, 98, 4] Operation: 90-86=4
Exploring Operation: 90-84=6, Resulting Numbers: [86, 98, 6]
Generated Node #0,4: 10:[86, 98, 6] Operation: 90-84=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[86, 84, 8], Operations: ['98-90=8']
Exploring Operation: 86-84=2, Resulting Numbers: [8, 2]
Generated Node #0,2,0: 10:[8, 2] Operation: 86-84=2
Exploring Operation: 86-8=78, Resulting Numbers: [84, 78]
Generated Node #0,2,1: 10:[84, 78] Operation: 86-8=78
Exploring Operation: 86+8=94, Resulting Numbers: [84, 94]
Generated Node #0,2,2: 10:[84, 94] Operation: 86+8=94
Exploring Operation: 84+8=92, Resulting Numbers: [86, 92]
Generated Node #0,2,3: 10:[86, 92] Operation: 84+8=92
Exploring Operation: 84-8=76, Resulting Numbers: [86, 76]
Generated Node #0,2,4: 10:[86, 76] Operation: 84-8=76
Moving to Node #0,2,0
Current State: 10:[8, 2], Operations: ['98-90=8', '86-84=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[86, 84, 98, 90], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [86, 84, 8]
Generated Node #0,2: 10:[86, 84, 8] Operation: 98-90=8
Moving to Node #0,2
Current State: 10:[86, 84, 8], Operations: ['98-90=8']
Exploring Operation: 86-84=2, Resulting Numbers: [8, 2]
Generated Node #0,2,0: 10:[8, 2] Operation: 86-84=2
Moving to Node #0,2,0
Current State: 10:[8, 2], Operations: ['98-90=8', '86-84=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
40,
11,
4,
14
] | 96 | [
"40*11=440",
"440/4=110",
"110-14=96"
] | Current State: 96:[40, 11, 4, 14], Operations: []
Exploring Operation: 40*11=440, Resulting Numbers: [4, 14, 440]
Generated Node #2: [4, 14, 440] from Operation: 40*11=440
Current State: 96:[4, 14, 440], Operations: ['40*11=440']
Exploring Operation: 440/4=110, Resulting Numbers: [14, 110]
Generated Node #3: [14, 110] from Operation: 440/4=110
Current State: 96:[14, 110], Operations: ['40*11=440', '440/4=110']
Exploring Operation: 110-14=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[40, 11, 4, 14], Operations: []
Exploring Operation: 40-11=29, Resulting Numbers: [4, 14, 29]
Generated Node #0,0: 96:[4, 14, 29] Operation: 40-11=29
Exploring Operation: 40-14=26, Resulting Numbers: [11, 4, 26]
Generated Node #0,1: 96:[11, 4, 26] Operation: 40-14=26
Exploring Operation: 40+11=51, Resulting Numbers: [4, 14, 51]
Generated Node #0,2: 96:[4, 14, 51] Operation: 40+11=51
Moving to Node #0,1
Current State: 96:[11, 4, 26], Operations: ['40-14=26']
Exploring Operation: 26-11=15, Resulting Numbers: [4, 15]
Generated Node #0,1,0: 96:[4, 15] Operation: 26-11=15
Exploring Operation: 11-4=7, Resulting Numbers: [26, 7]
Generated Node #0,1,1: 96:[26, 7] Operation: 11-4=7
Exploring Operation: 11+4=15, Resulting Numbers: [26, 15]
Generated Node #0,1,2: 96:[26, 15] Operation: 11+4=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[4, 15], Operations: ['40-14=26', '26-11=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[26, 7], Operations: ['40-14=26', '11-4=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[26, 15], Operations: ['40-14=26', '11+4=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,96 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: 96:[4, 14, 29], Operations: ['40-11=29']
Exploring Operation: 29-14=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 96:[4, 15] Operation: 29-14=15
Exploring Operation: 29-4=25, Resulting Numbers: [14, 25]
Generated Node #0,0,1: 96:[14, 25] Operation: 29-4=25
Exploring Operation: 4+29=33, Resulting Numbers: [14, 33]
Generated Node #0,0,2: 96:[14, 33] Operation: 4+29=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[4, 15], Operations: ['40-11=29', '29-14=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[14, 25], Operations: ['40-11=29', '29-4=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,96 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[14, 33], Operations: ['40-11=29', '4+29=33']
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,96 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,96 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: 96:[4, 14, 51], Operations: ['40+11=51']
Exploring Operation: 14-4=10, Resulting Numbers: [51, 10]
Generated Node #0,2,0: 96:[51, 10] Operation: 14-4=10
Exploring Operation: 51-4=47, Resulting Numbers: [14, 47]
Generated Node #0,2,1: 96:[14, 47] Operation: 51-4=47
Exploring Operation: 4+14=18, Resulting Numbers: [51, 18]
Generated Node #0,2,2: 96:[51, 18] Operation: 4+14=18
Moving to Node #0,2,1
Current State: 96:[14, 47], Operations: ['40+11=51', '51-4=47']
Exploring Operation: 14*47=658, Resulting Numbers: [658]
658,96 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 14+47=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[51, 10], Operations: ['40+11=51', '14-4=10']
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,96 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[51, 18], Operations: ['40+11=51', '4+14=18']
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,96 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,96 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
23,
21,
92,
66
] | 28 | [
"23-21=2",
"92-66=26",
"2+26=28"
] | Current State: 28:[23, 21, 92, 66], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [92, 66, 2]
Generated Node #2: [92, 66, 2] from Operation: 23-21=2
Current State: 28:[92, 66, 2], Operations: ['23-21=2']
Exploring Operation: 92-66=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 92-66=26
Current State: 28:[2, 26], Operations: ['23-21=2', '92-66=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[23, 21, 92, 66], Operations: []
Exploring Operation: 92-23=69, Resulting Numbers: [21, 66, 69]
Generated Node #0,0: 28:[21, 66, 69] Operation: 92-23=69
Exploring Operation: 92/23=4, Resulting Numbers: [21, 66, 4]
Generated Node #0,1: 28:[21, 66, 4] Operation: 92/23=4
Exploring Operation: 92-66=26, Resulting Numbers: [23, 21, 26]
Generated Node #0,2: 28:[23, 21, 26] Operation: 92-66=26
Moving to Node #0,2
Current State: 28:[23, 21, 26], Operations: ['92-66=26']
Exploring Operation: 26-21=5, Resulting Numbers: [23, 5]
Generated Node #0,2,0: 28:[23, 5] Operation: 26-21=5
Exploring Operation: 23-21=2, Resulting Numbers: [26, 2]
Generated Node #0,2,1: 28:[26, 2] Operation: 23-21=2
Exploring Operation: 26-23=3, Resulting Numbers: [21, 3]
Generated Node #0,2,2: 28:[21, 3] Operation: 26-23=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[26, 2], Operations: ['92-66=26', '23-21=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[23, 21, 92, 66], Operations: []
Exploring Operation: 92-66=26, Resulting Numbers: [23, 21, 26]
Generated Node #0,2: 28:[23, 21, 26] Operation: 92-66=26
Moving to Node #0,2
Current State: 28:[23, 21, 26], Operations: ['92-66=26']
Exploring Operation: 23-21=2, Resulting Numbers: [26, 2]
Generated Node #0,2,1: 28:[26, 2] Operation: 23-21=2
Moving to Node #0,2,1
Current State: 28:[26, 2], Operations: ['92-66=26', '23-21=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
22,
87,
55,
11
] | 94 | [
"22+55=77",
"77/11=7",
"87+7=94"
] | Current State: 94:[22, 87, 55, 11], Operations: []
Exploring Operation: 22+55=77, Resulting Numbers: [87, 11, 77]
Generated Node #2: [87, 11, 77] from Operation: 22+55=77
Current State: 94:[87, 11, 77], Operations: ['22+55=77']
Exploring Operation: 77/11=7, Resulting Numbers: [87, 7]
Generated Node #3: [87, 7] from Operation: 77/11=7
Current State: 94:[87, 7], Operations: ['22+55=77', '77/11=7']
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[22, 87, 55, 11], Operations: []
Exploring Operation: 22+11=33, Resulting Numbers: [87, 55, 33]
Generated Node #0,0: 94:[87, 55, 33] Operation: 22+11=33
Exploring Operation: 22/11=2, Resulting Numbers: [87, 55, 2]
Generated Node #0,1: 94:[87, 55, 2] Operation: 22/11=2
Exploring Operation: 22-11=11, Resulting Numbers: [87, 55, 11]
Generated Node #0,2: 94:[87, 55, 11] Operation: 22-11=11
Exploring Operation: 55-22=33, Resulting Numbers: [87, 11, 33]
Generated Node #0,3: 94:[87, 11, 33] Operation: 55-22=33
Moving to Node #0,1
Current State: 94:[87, 55, 2], Operations: ['22/11=2']
Exploring Operation: 87-55=32, Resulting Numbers: [2, 32]
Generated Node #0,1,0: 94:[2, 32] Operation: 87-55=32
Exploring Operation: 87-2=85, Resulting Numbers: [55, 85]
Generated Node #0,1,1: 94:[55, 85] Operation: 87-2=85
Exploring Operation: 87+2=89, Resulting Numbers: [55, 89]
Generated Node #0,1,2: 94:[55, 89] Operation: 87+2=89
Exploring Operation: 55-2=53, Resulting Numbers: [87, 53]
Generated Node #0,1,3: 94:[87, 53] Operation: 55-2=53
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[55, 89], Operations: ['22/11=2', '87+2=89']
Exploring Operation: 55+89=144, Resulting Numbers: [144]
144,94 unequal: No Solution
Exploring Operation: 55*89=4895, Resulting Numbers: [4895]
4895,94 unequal: No Solution
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 94:[87, 53], Operations: ['22/11=2', '55-2=53']
Exploring Operation: 87*53=4611, Resulting Numbers: [4611]
4611,94 unequal: No Solution
Exploring Operation: 87-53=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 87+53=140, Resulting Numbers: [140]
140,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[2, 32], Operations: ['22/11=2', '87-55=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,94 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[55, 85], Operations: ['22/11=2', '87-2=85']
Exploring Operation: 55*85=4675, Resulting Numbers: [4675]
4675,94 unequal: No Solution
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 55+85=140, Resulting Numbers: [140]
140,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 94:[87, 55, 11], Operations: ['22-11=11']
Exploring Operation: 87+11=98, Resulting Numbers: [55, 98]
Generated Node #0,2,0: 94:[55, 98] Operation: 87+11=98
Exploring Operation: 55/11=5, Resulting Numbers: [87, 5]
Generated Node #0,2,1: 94:[87, 5] Operation: 55/11=5
Exploring Operation: 87-55=32, Resulting Numbers: [11, 32]
Generated Node #0,2,2: 94:[11, 32] Operation: 87-55=32
Exploring Operation: 55-11=44, Resulting Numbers: [87, 44]
Generated Node #0,2,3: 94:[87, 44] Operation: 55-11=44
Moving to Node #0,0
Current State: 94:[87, 55, 33], Operations: ['22+11=33']
Exploring Operation: 55-33=22, Resulting Numbers: [87, 22]
Generated Node #0,0,0: 94:[87, 22] Operation: 55-33=22
Exploring Operation: 87-55=32, Resulting Numbers: [33, 32]
Generated Node #0,0,1: 94:[33, 32] Operation: 87-55=32
Exploring Operation: 55+33=88, Resulting Numbers: [87, 88]
Generated Node #0,0,2: 94:[87, 88] Operation: 55+33=88
Exploring Operation: 87-33=54, Resulting Numbers: [55, 54]
Generated Node #0,0,3: 94:[55, 54] Operation: 87-33=54
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[87, 88], Operations: ['22+11=33', '55+33=88']
Exploring Operation: 88-87=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 87*88=7656, Resulting Numbers: [7656]
7656,94 unequal: No Solution
Exploring Operation: 87+88=175, Resulting Numbers: [175]
175,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[55, 54], Operations: ['22+11=33', '87-33=54']
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,94 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[87, 22], Operations: ['22+11=33', '55-33=22']
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,94 unequal: No Solution
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[33, 32], Operations: ['22+11=33', '87-55=32']
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,94 unequal: No Solution
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,94 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: 94:[87, 11, 33], Operations: ['55-22=33']
Exploring Operation: 87+11=98, Resulting Numbers: [33, 98]
Generated Node #0,3,0: 94:[33, 98] Operation: 87+11=98
Exploring Operation: 11+33=44, Resulting Numbers: [87, 44]
Generated Node #0,3,1: 94:[87, 44] Operation: 11+33=44
Exploring Operation: 87-33=54, Resulting Numbers: [11, 54]
Generated Node #0,3,2: 94:[11, 54] Operation: 87-33=54
Exploring Operation: 33/11=3, Resulting Numbers: [87, 3]
Generated Node #0,3,3: 94:[87, 3] Operation: 33/11=3
Moving to Node #0,3,3
Current State: 94:[87, 3], Operations: ['55-22=33', '33/11=3']
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,94 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 87*3=261, Resulting Numbers: [261]
261,94 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[87, 44], Operations: ['55-22=33', '11+33=44']
Exploring Operation: 87+44=131, Resulting Numbers: [131]
131,94 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 87*44=3828, Resulting Numbers: [3828]
3828,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[87, 5], Operations: ['22-11=11', '55/11=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,94 unequal: No Solution
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,94 unequal: No Solution
Exploring Operation: 87*5=435, Resulting Numbers: [435]
435,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[87, 44], Operations: ['22-11=11', '55-11=44']
Exploring Operation: 87+44=131, Resulting Numbers: [131]
131,94 unequal: No Solution
Exploring Operation: 87*44=3828, Resulting Numbers: [3828]
3828,94 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[55, 98], Operations: ['22-11=11', '87+11=98']
Exploring Operation: 55+98=153, Resulting Numbers: [153]
153,94 unequal: No Solution
Exploring Operation: 98-55=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 55*98=5390, Resulting Numbers: [5390]
5390,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[11, 54], Operations: ['55-22=33', '87-33=54']
Exploring Operation: 11*54=594, Resulting Numbers: [594]
594,94 unequal: No Solution
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 11+54=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[33, 98], Operations: ['55-22=33', '87+11=98']
Exploring Operation: 33+98=131, Resulting Numbers: [131]
131,94 unequal: No Solution
Exploring Operation: 33*98=3234, Resulting Numbers: [3234]
3234,94 unequal: No Solution
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[11, 32], Operations: ['22-11=11', '87-55=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,94 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,94 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
84,
73,
70,
38
] | 49 | [
"84+73=157",
"70+38=108",
"157-108=49"
] | Current State: 49:[84, 73, 70, 38], Operations: []
Exploring Operation: 84+73=157, Resulting Numbers: [70, 38, 157]
Generated Node #2: [70, 38, 157] from Operation: 84+73=157
Current State: 49:[70, 38, 157], Operations: ['84+73=157']
Exploring Operation: 70+38=108, Resulting Numbers: [157, 108]
Generated Node #3: [157, 108] from Operation: 70+38=108
Current State: 49:[157, 108], Operations: ['84+73=157', '70+38=108']
Exploring Operation: 157-108=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[84, 73, 70, 38], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [70, 38, 11]
Generated Node #0,0: 49:[70, 38, 11] Operation: 84-73=11
Moving to Node #0,0
Current State: 49:[70, 38, 11], Operations: ['84-73=11']
Exploring Operation: 70-38=32, Resulting Numbers: [11, 32]
Generated Node #0,0,0: 49:[11, 32] Operation: 70-38=32
Moving to Node #0,0,0
Current State: 49:[11, 32], Operations: ['84-73=11', '70-38=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,49 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
60,
99,
15,
77
] | 55 | [
"60*77=4620",
"99-15=84",
"4620/84=55"
] | Current State: 55:[60, 99, 15, 77], Operations: []
Exploring Operation: 60*77=4620, Resulting Numbers: [99, 15, 4620]
Generated Node #2: [99, 15, 4620] from Operation: 60*77=4620
Current State: 55:[99, 15, 4620], Operations: ['60*77=4620']
Exploring Operation: 99-15=84, Resulting Numbers: [4620, 84]
Generated Node #3: [4620, 84] from Operation: 99-15=84
Current State: 55:[4620, 84], Operations: ['60*77=4620', '99-15=84']
Exploring Operation: 4620/84=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[60, 99, 15, 77], Operations: []
Exploring Operation: 99-60=39, Resulting Numbers: [15, 77, 39]
Generated Node #0,0: 55:[15, 77, 39] Operation: 99-60=39
Exploring Operation: 99-77=22, Resulting Numbers: [60, 15, 22]
Generated Node #0,1: 55:[60, 15, 22] Operation: 99-77=22
Exploring Operation: 77-60=17, Resulting Numbers: [99, 15, 17]
Generated Node #0,2: 55:[99, 15, 17] Operation: 77-60=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[60, 15, 22], Operations: ['99-77=22']
Exploring Operation: 60/15=4, Resulting Numbers: [22, 4]
Generated Node #0,1,0: 55:[22, 4] Operation: 60/15=4
Exploring Operation: 60-15=45, Resulting Numbers: [22, 45]
Generated Node #0,1,1: 55:[22, 45] Operation: 60-15=45
Exploring Operation: 22-15=7, Resulting Numbers: [60, 7]
Generated Node #0,1,2: 55:[60, 7] Operation: 22-15=7
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 55:[60, 7], Operations: ['99-77=22', '22-15=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,55 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,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,1,0
Current State: 55:[22, 4], Operations: ['99-77=22', '60/15=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,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,1,1
Current State: 55:[22, 45], Operations: ['99-77=22', '60-15=45']
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,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:[15, 77, 39], Operations: ['99-60=39']
Exploring Operation: 77-15=62, Resulting Numbers: [39, 62]
Generated Node #0,0,0: 55:[39, 62] Operation: 77-15=62
Exploring Operation: 77-39=38, Resulting Numbers: [15, 38]
Generated Node #0,0,1: 55:[15, 38] Operation: 77-39=38
Exploring Operation: 15+39=54, Resulting Numbers: [77, 54]
Generated Node #0,0,2: 55:[77, 54] Operation: 15+39=54
Moving to Node #0,0,1
Current State: 55:[15, 38], Operations: ['99-60=39', '77-39=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[39, 62], Operations: ['99-60=39', '77-15=62']
Exploring Operation: 39*62=2418, Resulting Numbers: [2418]
2418,55 unequal: No Solution
Exploring Operation: 39+62=101, Resulting Numbers: [101]
101,55 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[77, 54], Operations: ['99-60=39', '15+39=54']
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 77+54=131, Resulting Numbers: [131]
131,55 unequal: No Solution
Exploring Operation: 77*54=4158, Resulting Numbers: [4158]
4158,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
Current State: 55:[99, 15, 17], Operations: ['77-60=17']
Exploring Operation: 99-15=84, Resulting Numbers: [17, 84]
Generated Node #0,2,0: 55:[17, 84] Operation: 99-15=84
Exploring Operation: 17-15=2, Resulting Numbers: [99, 2]
Generated Node #0,2,1: 55:[99, 2] Operation: 17-15=2
Exploring Operation: 99-17=82, Resulting Numbers: [15, 82]
Generated Node #0,2,2: 55:[15, 82] Operation: 99-17=82
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 55:[15, 82], Operations: ['77-60=17', '99-17=82']
Exploring Operation: 15+82=97, Resulting Numbers: [97]
97,55 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 15*82=1230, Resulting Numbers: [1230]
1230,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,2,0
Current State: 55:[17, 84], Operations: ['77-60=17', '99-15=84']
Exploring Operation: 17+84=101, Resulting Numbers: [101]
101,55 unequal: No Solution
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 17*84=1428, Resulting Numbers: [1428]
1428,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,2,1
Current State: 55:[99, 2], Operations: ['77-60=17', '17-15=2']
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,55 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,55 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
58,
42,
65,
51
] | 30 | [
"58-42=16",
"65-51=14",
"16+14=30"
] | Current State: 30:[58, 42, 65, 51], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [65, 51, 16]
Generated Node #2: [65, 51, 16] from Operation: 58-42=16
Current State: 30:[65, 51, 16], Operations: ['58-42=16']
Exploring Operation: 65-51=14, Resulting Numbers: [16, 14]
Generated Node #3: [16, 14] from Operation: 65-51=14
Current State: 30:[16, 14], Operations: ['58-42=16', '65-51=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[58, 42, 65, 51], Operations: []
Exploring Operation: 65-51=14, Resulting Numbers: [58, 42, 14]
Generated Node #0,0: 30:[58, 42, 14] Operation: 65-51=14
Exploring Operation: 65-58=7, Resulting Numbers: [42, 51, 7]
Generated Node #0,1: 30:[42, 51, 7] Operation: 65-58=7
Exploring Operation: 65-42=23, Resulting Numbers: [58, 51, 23]
Generated Node #0,2: 30:[58, 51, 23] Operation: 65-42=23
Exploring Operation: 58-51=7, Resulting Numbers: [42, 65, 7]
Generated Node #0,3: 30:[42, 65, 7] Operation: 58-51=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[42, 51, 7], Operations: ['65-58=7']
Exploring Operation: 42/7=6, Resulting Numbers: [51, 6]
Generated Node #0,1,0: 30:[51, 6] Operation: 42/7=6
Exploring Operation: 42-7=35, Resulting Numbers: [51, 35]
Generated Node #0,1,1: 30:[51, 35] Operation: 42-7=35
Exploring Operation: 51-7=44, Resulting Numbers: [42, 44]
Generated Node #0,1,2: 30:[42, 44] Operation: 51-7=44
Exploring Operation: 51-42=9, Resulting Numbers: [7, 9]
Generated Node #0,1,3: 30:[7, 9] Operation: 51-42=9
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 30:[7, 9], Operations: ['65-58=7', '51-42=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,30 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[51, 6], Operations: ['65-58=7', '42/7=6']
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,30 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[51, 35], Operations: ['65-58=7', '42-7=35']
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,30 unequal: No Solution
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,30 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 30:[42, 44], Operations: ['65-58=7', '51-7=44']
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,30 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[58, 42, 14], Operations: ['65-51=14']
Exploring Operation: 42/14=3, Resulting Numbers: [58, 3]
Generated Node #0,0,0: 30:[58, 3] Operation: 42/14=3
Exploring Operation: 58-14=44, Resulting Numbers: [42, 44]
Generated Node #0,0,1: 30:[42, 44] Operation: 58-14=44
Exploring Operation: 42-14=28, Resulting Numbers: [58, 28]
Generated Node #0,0,2: 30:[58, 28] Operation: 42-14=28
Exploring Operation: 58-42=16, Resulting Numbers: [14, 16]
Generated Node #0,0,3: 30:[14, 16] Operation: 58-42=16
Moving to Node #0,0,3
Current State: 30:[14, 16], Operations: ['65-51=14', '58-42=16']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[58, 42, 65, 51], Operations: []
Exploring Operation: 65-51=14, Resulting Numbers: [58, 42, 14]
Generated Node #0,0: 30:[58, 42, 14] Operation: 65-51=14
Moving to Node #0,0
Current State: 30:[58, 42, 14], Operations: ['65-51=14']
Exploring Operation: 58-42=16, Resulting Numbers: [14, 16]
Generated Node #0,0,3: 30:[14, 16] Operation: 58-42=16
Moving to Node #0,0,3
Current State: 30:[14, 16], Operations: ['65-51=14', '58-42=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
91,
27,
9,
2
] | 47 | [
"27/9=3",
"91+3=94",
"94/2=47"
] | Current State: 47:[91, 27, 9, 2], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [91, 2, 3]
Generated Node #2: [91, 2, 3] from Operation: 27/9=3
Current State: 47:[91, 2, 3], Operations: ['27/9=3']
Exploring Operation: 91+3=94, Resulting Numbers: [2, 94]
Generated Node #3: [2, 94] from Operation: 91+3=94
Current State: 47:[2, 94], Operations: ['27/9=3', '91+3=94']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[91, 27, 9, 2], Operations: []
Exploring Operation: 27*2=54, Resulting Numbers: [91, 9, 54]
Generated Node #0,0: 47:[91, 9, 54] Operation: 27*2=54
Exploring Operation: 9*2=18, Resulting Numbers: [91, 27, 18]
Generated Node #0,1: 47:[91, 27, 18] Operation: 9*2=18
Exploring Operation: 91-27=64, Resulting Numbers: [9, 2, 64]
Generated Node #0,2: 47:[9, 2, 64] Operation: 91-27=64
Moving to Node #0,0
Current State: 47:[91, 9, 54], Operations: ['27*2=54']
Exploring Operation: 91-54=37, Resulting Numbers: [9, 37]
Generated Node #0,0,0: 47:[9, 37] Operation: 91-54=37
Exploring Operation: 91-9=82, Resulting Numbers: [54, 82]
Generated Node #0,0,1: 47:[54, 82] Operation: 91-9=82
Exploring Operation: 54-9=45, Resulting Numbers: [91, 45]
Generated Node #0,0,2: 47:[91, 45] Operation: 54-9=45
Moving to Node #0,1
Current State: 47:[91, 27, 18], Operations: ['9*2=18']
Exploring Operation: 27+18=45, Resulting Numbers: [91, 45]
Generated Node #0,1,0: 47:[91, 45] Operation: 27+18=45
Exploring Operation: 91-18=73, Resulting Numbers: [27, 73]
Generated Node #0,1,1: 47:[27, 73] Operation: 91-18=73
Exploring Operation: 91-27=64, Resulting Numbers: [18, 64]
Generated Node #0,1,2: 47:[18, 64] Operation: 91-27=64
Moving to Node #0,2
Current State: 47:[9, 2, 64], Operations: ['91-27=64']
Exploring Operation: 64-9=55, Resulting Numbers: [2, 55]
Generated Node #0,2,0: 47:[2, 55] Operation: 64-9=55
Exploring Operation: 9*2=18, Resulting Numbers: [64, 18]
Generated Node #0,2,1: 47:[64, 18] Operation: 9*2=18
Exploring Operation: 9+2=11, Resulting Numbers: [64, 11]
Generated Node #0,2,2: 47:[64, 11] Operation: 9+2=11
Moving to Node #0,0,1
Current State: 47:[54, 82], Operations: ['27*2=54', '91-9=82']
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 54*82=4428, Resulting Numbers: [4428]
4428,47 unequal: No Solution
Exploring Operation: 54+82=136, Resulting Numbers: [136]
136,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[18, 64], Operations: ['9*2=18', '91-27=64']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 18*64=1152, Resulting Numbers: [1152]
1152,47 unequal: No Solution
Exploring Operation: 18+64=82, Resulting Numbers: [82]
82,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[64, 18], Operations: ['91-27=64', '9*2=18']
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,47 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[91, 45], Operations: ['27*2=54', '54-9=45']
Exploring Operation: 91*45=4095, Resulting Numbers: [4095]
4095,47 unequal: No Solution
Exploring Operation: 91+45=136, Resulting Numbers: [136]
136,47 unequal: No Solution
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[27, 73], Operations: ['9*2=18', '91-18=73']
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 27+73=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 27*73=1971, Resulting Numbers: [1971]
1971,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[91, 45], Operations: ['9*2=18', '27+18=45']
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 91+45=136, Resulting Numbers: [136]
136,47 unequal: No Solution
Exploring Operation: 91*45=4095, Resulting Numbers: [4095]
4095,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[9, 37], Operations: ['27*2=54', '91-54=37']
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,47 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[2, 55], Operations: ['91-27=64', '64-9=55']
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,47 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[64, 11], Operations: ['91-27=64', '9+2=11']
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,47 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,47 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
56,
62,
20,
34
] | 48 | [
"62-56=6",
"20+34=54",
"54-6=48"
] | Current State: 48:[56, 62, 20, 34], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [20, 34, 6]
Generated Node #2: [20, 34, 6] from Operation: 62-56=6
Current State: 48:[20, 34, 6], Operations: ['62-56=6']
Exploring Operation: 20+34=54, Resulting Numbers: [6, 54]
Generated Node #3: [6, 54] from Operation: 20+34=54
Current State: 48:[6, 54], Operations: ['62-56=6', '20+34=54']
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[56, 62, 20, 34], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [20, 34, 6]
Generated Node #0,0: 48:[20, 34, 6] Operation: 62-56=6
Moving to Node #0,0
Current State: 48:[20, 34, 6], Operations: ['62-56=6']
Exploring Operation: 34-20=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 48:[6, 14] Operation: 34-20=14
Moving to Node #0,0,0
Current State: 48:[6, 14], Operations: ['62-56=6', '34-20=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,48 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
54,
70,
58
] | 10 | [
"70+58=128",
"128/2=64",
"64-54=10"
] | Current State: 10:[2, 54, 70, 58], Operations: []
Exploring Operation: 70+58=128, Resulting Numbers: [2, 54, 128]
Generated Node #2: [2, 54, 128] from Operation: 70+58=128
Current State: 10:[2, 54, 128], Operations: ['70+58=128']
Exploring Operation: 128/2=64, Resulting Numbers: [54, 64]
Generated Node #3: [54, 64] from Operation: 128/2=64
Current State: 10:[54, 64], Operations: ['70+58=128', '128/2=64']
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[2, 54, 70, 58], Operations: []
Exploring Operation: 70-58=12, Resulting Numbers: [2, 54, 12]
Generated Node #0,0: 10:[2, 54, 12] Operation: 70-58=12
Exploring Operation: 70-54=16, Resulting Numbers: [2, 58, 16]
Generated Node #0,1: 10:[2, 58, 16] Operation: 70-54=16
Exploring Operation: 58/2=29, Resulting Numbers: [54, 70, 29]
Generated Node #0,2: 10:[54, 70, 29] Operation: 58/2=29
Exploring Operation: 58-54=4, Resulting Numbers: [2, 70, 4]
Generated Node #0,3: 10:[2, 70, 4] Operation: 58-54=4
Exploring Operation: 70/2=35, Resulting Numbers: [54, 58, 35]
Generated Node #0,4: 10:[54, 58, 35] Operation: 70/2=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[2, 54, 12], Operations: ['70-58=12']
Exploring Operation: 12-2=10, Resulting Numbers: [54, 10]
Generated Node #0,0,0: 10:[54, 10] Operation: 12-2=10
Exploring Operation: 54-2=52, Resulting Numbers: [12, 52]
Generated Node #0,0,1: 10:[12, 52] Operation: 54-2=52
Exploring Operation: 54/2=27, Resulting Numbers: [12, 27]
Generated Node #0,0,2: 10:[12, 27] Operation: 54/2=27
Exploring Operation: 12/2=6, Resulting Numbers: [54, 6]
Generated Node #0,0,3: 10:[54, 6] Operation: 12/2=6
Exploring Operation: 54-12=42, Resulting Numbers: [2, 42]
Generated Node #0,0,4: 10:[2, 42] Operation: 54-12=42
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[12, 27], Operations: ['70-58=12', '54/2=27']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,10 unequal: No Solution
No 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: 10:[2, 42], Operations: ['70-58=12', '54-12=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,10 unequal: No Solution
No 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: 10:[54, 10], Operations: ['70-58=12', '12-2=10']
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,10 unequal: No Solution
No 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: 10:[12, 52], Operations: ['70-58=12', '54-2=52']
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 12*52=624, Resulting Numbers: [624]
624,10 unequal: No Solution
Exploring Operation: 12+52=64, Resulting Numbers: [64]
64,10 unequal: No Solution
No 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: 10:[54, 6], Operations: ['70-58=12', '12/2=6']
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,10 unequal: No Solution
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,10 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[2, 58, 16], Operations: ['70-54=16']
Exploring Operation: 16-2=14, Resulting Numbers: [58, 14]
Generated Node #0,1,0: 10:[58, 14] Operation: 16-2=14
Exploring Operation: 58-16=42, Resulting Numbers: [2, 42]
Generated Node #0,1,1: 10:[2, 42] Operation: 58-16=42
Exploring Operation: 58/2=29, Resulting Numbers: [16, 29]
Generated Node #0,1,2: 10:[16, 29] Operation: 58/2=29
Exploring Operation: 58-2=56, Resulting Numbers: [16, 56]
Generated Node #0,1,3: 10:[16, 56] Operation: 58-2=56
Exploring Operation: 16/2=8, Resulting Numbers: [58, 8]
Generated Node #0,1,4: 10:[58, 8] Operation: 16/2=8
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[16, 29], Operations: ['70-54=16', '58/2=29']
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,10 unequal: No Solution
No 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: 10:[2, 42], Operations: ['70-54=16', '58-16=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,10 unequal: No Solution
No 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: 10:[58, 8], Operations: ['70-54=16', '16/2=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,10 unequal: No Solution
No 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: 10:[58, 14], Operations: ['70-54=16', '16-2=14']
Exploring Operation: 58*14=812, Resulting Numbers: [812]
812,10 unequal: No Solution
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,10 unequal: No Solution
No 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: 10:[16, 56], Operations: ['70-54=16', '58-2=56']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,10 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[2, 70, 4], Operations: ['58-54=4']
Exploring Operation: 70-4=66, Resulting Numbers: [2, 66]
Generated Node #0,3,0: 10:[2, 66] Operation: 70-4=66
Exploring Operation: 70/2=35, Resulting Numbers: [4, 35]
Generated Node #0,3,1: 10:[4, 35] Operation: 70/2=35
Exploring Operation: 4/2=2, Resulting Numbers: [70, 2]
Generated Node #0,3,2: 10:[70, 2] Operation: 4/2=2
Exploring Operation: 70-2=68, Resulting Numbers: [4, 68]
Generated Node #0,3,3: 10:[4, 68] Operation: 70-2=68
Exploring Operation: 4-2=2, Resulting Numbers: [70, 2]
Generated Node #0,3,4: 10:[70, 2] Operation: 4-2=2
Moving to Node #0,3,1
Current State: 10:[4, 35], Operations: ['58-54=4', '70/2=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,10 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[2, 66], Operations: ['58-54=4', '70-4=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Exploring Operation: 2*66=132, Resulting Numbers: [132]
132,10 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[4, 68], Operations: ['58-54=4', '70-2=68']
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 4+68=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Exploring Operation: 4*68=272, Resulting Numbers: [272]
272,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[70, 2], Operations: ['58-54=4', '4/2=2']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,10 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Moving to Node #0,3,4
Current State: 10:[70, 2], Operations: ['58-54=4', '4-2=2']
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,10 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,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,4
Current State: 10:[54, 58, 35], Operations: ['70/2=35']
Exploring Operation: 58-35=23, Resulting Numbers: [54, 23]
Generated Node #0,4,0: 10:[54, 23] Operation: 58-35=23
Exploring Operation: 54+35=89, Resulting Numbers: [58, 89]
Generated Node #0,4,1: 10:[58, 89] Operation: 54+35=89
Exploring Operation: 54+58=112, Resulting Numbers: [35, 112]
Generated Node #0,4,2: 10:[35, 112] Operation: 54+58=112
Exploring Operation: 58-54=4, Resulting Numbers: [35, 4]
Generated Node #0,4,3: 10:[35, 4] Operation: 58-54=4
Exploring Operation: 54-35=19, Resulting Numbers: [58, 19]
Generated Node #0,4,4: 10:[58, 19] Operation: 54-35=19
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 10:[35, 4], Operations: ['70/2=35', '58-54=4']
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,10 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,10 unequal: No Solution
No 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: 10:[54, 23], Operations: ['70/2=35', '58-35=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,10 unequal: No Solution
No 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: 10:[58, 19], Operations: ['70/2=35', '54-35=19']
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 58*19=1102, Resulting Numbers: [1102]
1102,10 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,10 unequal: No Solution
No 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: 10:[58, 89], Operations: ['70/2=35', '54+35=89']
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 58*89=5162, Resulting Numbers: [5162]
5162,10 unequal: No Solution
Exploring Operation: 58+89=147, Resulting Numbers: [147]
147,10 unequal: No Solution
No 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: 10:[35, 112], Operations: ['70/2=35', '54+58=112']
Exploring Operation: 35+112=147, Resulting Numbers: [147]
147,10 unequal: No Solution
Exploring Operation: 112-35=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 35*112=3920, Resulting Numbers: [3920]
3920,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[54, 70, 29], Operations: ['58/2=29']
Exploring Operation: 70-29=41, Resulting Numbers: [54, 41]
Generated Node #0,2,0: 10:[54, 41] Operation: 70-29=41
Exploring Operation: 70-54=16, Resulting Numbers: [29, 16]
Generated Node #0,2,1: 10:[29, 16] Operation: 70-54=16
Exploring Operation: 54-29=25, Resulting Numbers: [70, 25]
Generated Node #0,2,2: 10:[70, 25] Operation: 54-29=25
Exploring Operation: 54+29=83, Resulting Numbers: [70, 83]
Generated Node #0,2,3: 10:[70, 83] Operation: 54+29=83
Exploring Operation: 54+70=124, Resulting Numbers: [29, 124]
Generated Node #0,2,4: 10:[29, 124] Operation: 54+70=124
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[29, 16], Operations: ['58/2=29', '70-54=16']
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,10 unequal: No Solution
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,10 unequal: No Solution
No 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: 10:[54, 41], Operations: ['58/2=29', '70-29=41']
Exploring Operation: 54*41=2214, Resulting Numbers: [2214]
2214,10 unequal: No Solution
Exploring Operation: 54+41=95, Resulting Numbers: [95]
95,10 unequal: No Solution
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,10 unequal: No Solution
No 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: 10:[70, 25], Operations: ['58/2=29', '54-29=25']
Exploring Operation: 70*25=1750, Resulting Numbers: [1750]
1750,10 unequal: No Solution
Exploring Operation: 70+25=95, Resulting Numbers: [95]
95,10 unequal: No Solution
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,10 unequal: No Solution
No 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: 10:[70, 83], Operations: ['58/2=29', '54+29=83']
Exploring Operation: 70+83=153, Resulting Numbers: [153]
153,10 unequal: No Solution
Exploring Operation: 70*83=5810, Resulting Numbers: [5810]
5810,10 unequal: No Solution
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,10 unequal: No Solution
No 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: 10:[29, 124], Operations: ['58/2=29', '54+70=124']
Exploring Operation: 29+124=153, Resulting Numbers: [153]
153,10 unequal: No Solution
Exploring Operation: 29*124=3596, Resulting Numbers: [3596]
3596,10 unequal: No Solution
Exploring Operation: 124-29=95, Resulting Numbers: [95]
95,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
28,
21,
42,
7
] | 23 | [
"42-28=14",
"14/7=2",
"21+2=23"
] | Current State: 23:[28, 21, 42, 7], Operations: []
Exploring Operation: 42-28=14, Resulting Numbers: [21, 7, 14]
Generated Node #2: [21, 7, 14] from Operation: 42-28=14
Current State: 23:[21, 7, 14], Operations: ['42-28=14']
Exploring Operation: 14/7=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 14/7=2
Current State: 23:[21, 2], Operations: ['42-28=14', '14/7=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[28, 21, 42, 7], Operations: []
Exploring Operation: 42-7=35, Resulting Numbers: [28, 21, 35]
Generated Node #0,0: 23:[28, 21, 35] Operation: 42-7=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[28, 21, 35], Operations: ['42-7=35']
Exploring Operation: 35-21=14, Resulting Numbers: [28, 14]
Generated Node #0,0,0: 23:[28, 14] Operation: 35-21=14
Moving to Node #0,0,0
Current State: 23:[28, 14], Operations: ['42-7=35', '35-21=14']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,23 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 |
[
21,
19,
24,
27
] | 12 | [
"27-24=3",
"21/3=7",
"19-7=12"
] | Current State: 12:[21, 19, 24, 27], Operations: []
Exploring Operation: 27-24=3, Resulting Numbers: [21, 19, 3]
Generated Node #2: [21, 19, 3] from Operation: 27-24=3
Current State: 12:[21, 19, 3], Operations: ['27-24=3']
Exploring Operation: 21/3=7, Resulting Numbers: [19, 7]
Generated Node #3: [19, 7] from Operation: 21/3=7
Current State: 12:[19, 7], Operations: ['27-24=3', '21/3=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[21, 19, 24, 27], Operations: []
Exploring Operation: 27-21=6, Resulting Numbers: [19, 24, 6]
Generated Node #0,0: 12:[19, 24, 6] Operation: 27-21=6
Exploring Operation: 27-19=8, Resulting Numbers: [21, 24, 8]
Generated Node #0,1: 12:[21, 24, 8] Operation: 27-19=8
Exploring Operation: 24-21=3, Resulting Numbers: [19, 27, 3]
Generated Node #0,2: 12:[19, 27, 3] Operation: 24-21=3
Exploring Operation: 24-19=5, Resulting Numbers: [21, 27, 5]
Generated Node #0,3: 12:[21, 27, 5] Operation: 24-19=5
Exploring Operation: 27-24=3, Resulting Numbers: [21, 19, 3]
Generated Node #0,4: 12:[21, 19, 3] Operation: 27-24=3
Moving to Node #0,4
Current State: 12:[21, 19, 3], Operations: ['27-24=3']
Exploring Operation: 21-3=18, Resulting Numbers: [19, 18]
Generated Node #0,4,0: 12:[19, 18] Operation: 21-3=18
Exploring Operation: 21-19=2, Resulting Numbers: [3, 2]
Generated Node #0,4,1: 12:[3, 2] Operation: 21-19=2
Exploring Operation: 21/3=7, Resulting Numbers: [19, 7]
Generated Node #0,4,2: 12:[19, 7] Operation: 21/3=7
Exploring Operation: 19-3=16, Resulting Numbers: [21, 16]
Generated Node #0,4,3: 12:[21, 16] Operation: 19-3=16
Exploring Operation: 21+3=24, Resulting Numbers: [19, 24]
Generated Node #0,4,4: 12:[19, 24] Operation: 21+3=24
Moving to Node #0,0
Current State: 12:[19, 24, 6], Operations: ['27-21=6']
Exploring Operation: 19-6=13, Resulting Numbers: [24, 13]
Generated Node #0,0,0: 12:[24, 13] Operation: 19-6=13
Exploring Operation: 24-6=18, Resulting Numbers: [19, 18]
Generated Node #0,0,1: 12:[19, 18] Operation: 24-6=18
Exploring Operation: 24-19=5, Resulting Numbers: [6, 5]
Generated Node #0,0,2: 12:[6, 5] Operation: 24-19=5
Exploring Operation: 19+6=25, Resulting Numbers: [24, 25]
Generated Node #0,0,3: 12:[24, 25] Operation: 19+6=25
Exploring Operation: 24/6=4, Resulting Numbers: [19, 4]
Generated Node #0,0,4: 12:[19, 4] Operation: 24/6=4
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[6, 5], Operations: ['27-21=6', '24-19=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 12:[19, 4], Operations: ['27-21=6', '24/6=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,12 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[24, 13], Operations: ['27-21=6', '19-6=13']
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,12 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[19, 18], Operations: ['27-21=6', '24-6=18']
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,12 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[24, 25], Operations: ['27-21=6', '19+6=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,12 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,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:[19, 27, 3], Operations: ['24-21=3']
Exploring Operation: 19+3=22, Resulting Numbers: [27, 22]
Generated Node #0,2,0: 12:[27, 22] Operation: 19+3=22
Exploring Operation: 27/3=9, Resulting Numbers: [19, 9]
Generated Node #0,2,1: 12:[19, 9] Operation: 27/3=9
Exploring Operation: 27-3=24, Resulting Numbers: [19, 24]
Generated Node #0,2,2: 12:[19, 24] Operation: 27-3=24
Exploring Operation: 27-19=8, Resulting Numbers: [3, 8]
Generated Node #0,2,3: 12:[3, 8] Operation: 27-19=8
Exploring Operation: 19-3=16, Resulting Numbers: [27, 16]
Generated Node #0,2,4: 12:[27, 16] Operation: 19-3=16
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[3, 8], Operations: ['24-21=3', '27-19=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,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:[19, 9], Operations: ['24-21=3', '27/3=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,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:[19, 24], Operations: ['24-21=3', '27-3=24']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,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:[27, 16], Operations: ['24-21=3', '19-3=16']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,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, 22], Operations: ['24-21=3', '19+3=22']
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,12 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,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:[21, 24, 8], Operations: ['27-19=8']
Exploring Operation: 24/8=3, Resulting Numbers: [21, 3]
Generated Node #0,1,0: 12:[21, 3] Operation: 24/8=3
Exploring Operation: 21+8=29, Resulting Numbers: [24, 29]
Generated Node #0,1,1: 12:[24, 29] Operation: 21+8=29
Exploring Operation: 21-8=13, Resulting Numbers: [24, 13]
Generated Node #0,1,2: 12:[24, 13] Operation: 21-8=13
Exploring Operation: 24-21=3, Resulting Numbers: [8, 3]
Generated Node #0,1,3: 12:[8, 3] Operation: 24-21=3
Exploring Operation: 24-8=16, Resulting Numbers: [21, 16]
Generated Node #0,1,4: 12:[21, 16] Operation: 24-8=16
Moving to Node #0,3
Current State: 12:[21, 27, 5], Operations: ['24-19=5']
Exploring Operation: 21-5=16, Resulting Numbers: [27, 16]
Generated Node #0,3,0: 12:[27, 16] Operation: 21-5=16
Exploring Operation: 27-21=6, Resulting Numbers: [5, 6]
Generated Node #0,3,1: 12:[5, 6] Operation: 27-21=6
Exploring Operation: 27-5=22, Resulting Numbers: [21, 22]
Generated Node #0,3,2: 12:[21, 22] Operation: 27-5=22
Exploring Operation: 21+5=26, Resulting Numbers: [27, 26]
Generated Node #0,3,3: 12:[27, 26] Operation: 21+5=26
Exploring Operation: 27+5=32, Resulting Numbers: [21, 32]
Generated Node #0,3,4: 12:[21, 32] Operation: 27+5=32
Moving to Node #0,4,1
Current State: 12:[3, 2], Operations: ['27-24=3', '21-19=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[5, 6], Operations: ['24-19=5', '27-21=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[8, 3], Operations: ['27-19=8', '24-21=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Moving to Node #0,4,2
Current State: 12:[19, 7], Operations: ['27-24=3', '21/3=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[21, 19, 24, 27], Operations: []
Exploring Operation: 27-24=3, Resulting Numbers: [21, 19, 3]
Generated Node #0,4: 12:[21, 19, 3] Operation: 27-24=3
Moving to Node #0,4
Current State: 12:[21, 19, 3], Operations: ['27-24=3']
Exploring Operation: 21/3=7, Resulting Numbers: [19, 7]
Generated Node #0,4,2: 12:[19, 7] Operation: 21/3=7
Moving to Node #0,4,2
Current State: 12:[19, 7], Operations: ['27-24=3', '21/3=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.935764 | hs_5 | mult_heuristic |
[
61,
71,
20,
76
] | 74 | [
"71-61=10",
"20/10=2",
"76-2=74"
] | Current State: 74:[61, 71, 20, 76], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [20, 76, 10]
Generated Node #2: [20, 76, 10] from Operation: 71-61=10
Current State: 74:[20, 76, 10], Operations: ['71-61=10']
Exploring Operation: 20/10=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 20/10=2
Current State: 74:[76, 2], Operations: ['71-61=10', '20/10=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[61, 71, 20, 76], Operations: []
Exploring Operation: 71-20=51, Resulting Numbers: [61, 76, 51]
Generated Node #0,0: 74:[61, 76, 51] Operation: 71-20=51
Exploring Operation: 61+20=81, Resulting Numbers: [71, 76, 81]
Generated Node #0,1: 74:[71, 76, 81] Operation: 61+20=81
Exploring Operation: 61-20=41, Resulting Numbers: [71, 76, 41]
Generated Node #0,2: 74:[71, 76, 41] Operation: 61-20=41
Exploring Operation: 71-61=10, Resulting Numbers: [20, 76, 10]
Generated Node #0,3: 74:[20, 76, 10] Operation: 71-61=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[71, 76, 41], Operations: ['61-20=41']
Exploring Operation: 71-41=30, Resulting Numbers: [76, 30]
Generated Node #0,2,0: 74:[76, 30] Operation: 71-41=30
Exploring Operation: 71+41=112, Resulting Numbers: [76, 112]
Generated Node #0,2,1: 74:[76, 112] Operation: 71+41=112
Exploring Operation: 76-71=5, Resulting Numbers: [41, 5]
Generated Node #0,2,2: 74:[41, 5] Operation: 76-71=5
Exploring Operation: 76-41=35, Resulting Numbers: [71, 35]
Generated Node #0,2,3: 74:[71, 35] Operation: 76-41=35
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 74:[71, 35], Operations: ['61-20=41', '76-41=35']
Exploring Operation: 71*35=2485, Resulting Numbers: [2485]
2485,74 unequal: No Solution
Exploring Operation: 71+35=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,74 unequal: No Solution
No 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: 74:[41, 5], Operations: ['61-20=41', '76-71=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,74 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,74 unequal: No Solution
No 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: 74:[76, 30], Operations: ['61-20=41', '71-41=30']
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,74 unequal: No Solution
No 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: 74:[76, 112], Operations: ['61-20=41', '71+41=112']
Exploring Operation: 76+112=188, Resulting Numbers: [188]
188,74 unequal: No Solution
Exploring Operation: 112-76=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 76*112=8512, Resulting Numbers: [8512]
8512,74 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: 74:[71, 76, 81], Operations: ['61+20=81']
Exploring Operation: 76-71=5, Resulting Numbers: [81, 5]
Generated Node #0,1,0: 74:[81, 5] Operation: 76-71=5
Exploring Operation: 81-71=10, Resulting Numbers: [76, 10]
Generated Node #0,1,1: 74:[76, 10] Operation: 81-71=10
Exploring Operation: 71+76=147, Resulting Numbers: [81, 147]
Generated Node #0,1,2: 74:[81, 147] Operation: 71+76=147
Exploring Operation: 81-76=5, Resulting Numbers: [71, 5]
Generated Node #0,1,3: 74:[71, 5] Operation: 81-76=5
Moving to Node #0,1,3
Current State: 74:[71, 5], Operations: ['61+20=81', '81-76=5']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 71*5=355, Resulting Numbers: [355]
355,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[76, 10], Operations: ['61+20=81', '81-71=10']
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[81, 5], Operations: ['61+20=81', '76-71=5']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[81, 147], Operations: ['61+20=81', '71+76=147']
Exploring Operation: 81*147=11907, Resulting Numbers: [11907]
11907,74 unequal: No Solution
Exploring Operation: 147-81=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 81+147=228, Resulting Numbers: [228]
228,74 unequal: No Solution
No 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: 74:[20, 76, 10], Operations: ['71-61=10']
Exploring Operation: 20/10=2, Resulting Numbers: [76, 2]
Generated Node #0,3,0: 74:[76, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [76, 10]
Generated Node #0,3,1: 74:[76, 10] Operation: 20-10=10
Exploring Operation: 20+10=30, Resulting Numbers: [76, 30]
Generated Node #0,3,2: 74:[76, 30] Operation: 20+10=30
Exploring Operation: 76-10=66, Resulting Numbers: [20, 66]
Generated Node #0,3,3: 74:[20, 66] Operation: 76-10=66
Moving to Node #0,3,0
Current State: 74:[76, 2], Operations: ['71-61=10', '20/10=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,74 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,74 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[61, 71, 20, 76], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [20, 76, 10]
Generated Node #0,3: 74:[20, 76, 10] Operation: 71-61=10
Moving to Node #0,3
Current State: 74:[20, 76, 10], Operations: ['71-61=10']
Exploring Operation: 20/10=2, Resulting Numbers: [76, 2]
Generated Node #0,3,0: 74:[76, 2] Operation: 20/10=2
Moving to Node #0,3,0
Current State: 74:[76, 2], Operations: ['71-61=10', '20/10=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_4 | mult_heuristic |
[
36,
62,
23,
6
] | 55 | [
"62-36=26",
"23+6=29",
"26+29=55"
] | Current State: 55:[36, 62, 23, 6], Operations: []
Exploring Operation: 62-36=26, Resulting Numbers: [23, 6, 26]
Generated Node #2: [23, 6, 26] from Operation: 62-36=26
Current State: 55:[23, 6, 26], Operations: ['62-36=26']
Exploring Operation: 23+6=29, Resulting Numbers: [26, 29]
Generated Node #3: [26, 29] from Operation: 23+6=29
Current State: 55:[26, 29], Operations: ['62-36=26', '23+6=29']
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[36, 62, 23, 6], Operations: []
Exploring Operation: 36+23=59, Resulting Numbers: [62, 6, 59]
Generated Node #0,0: 55:[62, 6, 59] Operation: 36+23=59
Exploring Operation: 62-36=26, Resulting Numbers: [23, 6, 26]
Generated Node #0,1: 55:[23, 6, 26] Operation: 62-36=26
Exploring Operation: 36/6=6, Resulting Numbers: [62, 23, 6]
Generated Node #0,2: 55:[62, 23, 6] Operation: 36/6=6
Exploring Operation: 36+6=42, Resulting Numbers: [62, 23, 42]
Generated Node #0,3: 55:[62, 23, 42] Operation: 36+6=42
Exploring Operation: 36-23=13, Resulting Numbers: [62, 6, 13]
Generated Node #0,4: 55:[62, 6, 13] Operation: 36-23=13
Moving to Node #0,4
Current State: 55:[62, 6, 13], Operations: ['36-23=13']
Exploring Operation: 62-13=49, Resulting Numbers: [6, 49]
Generated Node #0,4,0: 55:[6, 49] Operation: 62-13=49
Exploring Operation: 62+6=68, Resulting Numbers: [13, 68]
Generated Node #0,4,1: 55:[13, 68] Operation: 62+6=68
Exploring Operation: 13-6=7, Resulting Numbers: [62, 7]
Generated Node #0,4,2: 55:[62, 7] Operation: 13-6=7
Exploring Operation: 62-6=56, Resulting Numbers: [13, 56]
Generated Node #0,4,3: 55:[13, 56] Operation: 62-6=56
Exploring Operation: 6+13=19, Resulting Numbers: [62, 19]
Generated Node #0,4,4: 55:[62, 19] Operation: 6+13=19
Moving to Node #0,0
Current State: 55:[62, 6, 59], Operations: ['36+23=59']
Exploring Operation: 59-6=53, Resulting Numbers: [62, 53]
Generated Node #0,0,0: 55:[62, 53] Operation: 59-6=53
Exploring Operation: 62+6=68, Resulting Numbers: [59, 68]
Generated Node #0,0,1: 55:[59, 68] Operation: 62+6=68
Exploring Operation: 6+59=65, Resulting Numbers: [62, 65]
Generated Node #0,0,2: 55:[62, 65] Operation: 6+59=65
Exploring Operation: 62-6=56, Resulting Numbers: [59, 56]
Generated Node #0,0,3: 55:[59, 56] Operation: 62-6=56
Exploring Operation: 62-59=3, Resulting Numbers: [6, 3]
Generated Node #0,0,4: 55:[6, 3] Operation: 62-59=3
Moving to Node #0,2
Current State: 55:[62, 23, 6], Operations: ['36/6=6']
Exploring Operation: 62-23=39, Resulting Numbers: [6, 39]
Generated Node #0,2,0: 55:[6, 39] Operation: 62-23=39
Exploring Operation: 62-6=56, Resulting Numbers: [23, 56]
Generated Node #0,2,1: 55:[23, 56] Operation: 62-6=56
Exploring Operation: 62+6=68, Resulting Numbers: [23, 68]
Generated Node #0,2,2: 55:[23, 68] Operation: 62+6=68
Exploring Operation: 23-6=17, Resulting Numbers: [62, 17]
Generated Node #0,2,3: 55:[62, 17] Operation: 23-6=17
Exploring Operation: 23+6=29, Resulting Numbers: [62, 29]
Generated Node #0,2,4: 55:[62, 29] Operation: 23+6=29
Moving to Node #0,1
Current State: 55:[23, 6, 26], Operations: ['62-36=26']
Exploring Operation: 23+6=29, Resulting Numbers: [26, 29]
Generated Node #0,1,0: 55:[26, 29] Operation: 23+6=29
Exploring Operation: 23-6=17, Resulting Numbers: [26, 17]
Generated Node #0,1,1: 55:[26, 17] Operation: 23-6=17
Exploring Operation: 26-23=3, Resulting Numbers: [6, 3]
Generated Node #0,1,2: 55:[6, 3] Operation: 26-23=3
Exploring Operation: 26-6=20, Resulting Numbers: [23, 20]
Generated Node #0,1,3: 55:[23, 20] Operation: 26-6=20
Exploring Operation: 23+26=49, Resulting Numbers: [6, 49]
Generated Node #0,1,4: 55:[6, 49] Operation: 23+26=49
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[6, 3], Operations: ['62-36=26', '26-23=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,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,4
Current State: 55:[6, 49], Operations: ['62-36=26', '23+26=49']
Exploring Operation: 6*49=294, Resulting Numbers: [294]
294,55 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,55 unequal: No Solution
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[36, 62, 23, 6], Operations: []
Exploring Operation: 62-36=26, Resulting Numbers: [23, 6, 26]
Generated Node #0,1: 55:[23, 6, 26] Operation: 62-36=26
Moving to Node #0,1
Current State: 55:[23, 6, 26], Operations: ['62-36=26']
Exploring Operation: 23+26=49, Resulting Numbers: [6, 49]
Generated Node #0,1,4: 55:[6, 49] Operation: 23+26=49
Moving to Node #0,1,4
Current State: 55:[6, 49], Operations: ['62-36=26', '23+26=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
86,
26,
41,
28
] | 90 | [
"86-41=45",
"28-26=2",
"45*2=90"
] | Current State: 90:[86, 26, 41, 28], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [26, 28, 45]
Generated Node #2: [26, 28, 45] from Operation: 86-41=45
Current State: 90:[26, 28, 45], Operations: ['86-41=45']
Exploring Operation: 28-26=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 28-26=2
Current State: 90:[45, 2], Operations: ['86-41=45', '28-26=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[86, 26, 41, 28], Operations: []
Exploring Operation: 41-26=15, Resulting Numbers: [86, 28, 15]
Generated Node #0,0: 90:[86, 28, 15] Operation: 41-26=15
Exploring Operation: 26+28=54, Resulting Numbers: [86, 41, 54]
Generated Node #0,1: 90:[86, 41, 54] Operation: 26+28=54
Exploring Operation: 41-28=13, Resulting Numbers: [86, 26, 13]
Generated Node #0,2: 90:[86, 26, 13] Operation: 41-28=13
Exploring Operation: 86-41=45, Resulting Numbers: [26, 28, 45]
Generated Node #0,3: 90:[26, 28, 45] Operation: 86-41=45
Exploring Operation: 28-26=2, Resulting Numbers: [86, 41, 2]
Generated Node #0,4: 90:[86, 41, 2] Operation: 28-26=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[86, 28, 15], Operations: ['41-26=15']
Exploring Operation: 86+15=101, Resulting Numbers: [28, 101]
Generated Node #0,0,0: 90:[28, 101] Operation: 86+15=101
Exploring Operation: 86-28=58, Resulting Numbers: [15, 58]
Generated Node #0,0,1: 90:[15, 58] Operation: 86-28=58
Exploring Operation: 86-15=71, Resulting Numbers: [28, 71]
Generated Node #0,0,2: 90:[28, 71] Operation: 86-15=71
Exploring Operation: 28+15=43, Resulting Numbers: [86, 43]
Generated Node #0,0,3: 90:[86, 43] Operation: 28+15=43
Exploring Operation: 28-15=13, Resulting Numbers: [86, 13]
Generated Node #0,0,4: 90:[86, 13] Operation: 28-15=13
Moving to Node #0,0,3
Current State: 90:[86, 43], Operations: ['41-26=15', '28+15=43']
Exploring Operation: 86+43=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 86*43=3698, Resulting Numbers: [3698]
3698,90 unequal: No Solution
Moving to Node #0,0,4
Current State: 90:[86, 13], Operations: ['41-26=15', '28-15=13']
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 86+13=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Exploring Operation: 86*13=1118, Resulting Numbers: [1118]
1118,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[28, 101], Operations: ['41-26=15', '86+15=101']
Exploring Operation: 28*101=2828, Resulting Numbers: [2828]
2828,90 unequal: No Solution
Exploring Operation: 101-28=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 28+101=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[15, 58], Operations: ['41-26=15', '86-28=58']
Exploring Operation: 15*58=870, Resulting Numbers: [870]
870,90 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 15+58=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[28, 71], Operations: ['41-26=15', '86-15=71']
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 28*71=1988, Resulting Numbers: [1988]
1988,90 unequal: No Solution
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,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,3
Current State: 90:[26, 28, 45], Operations: ['86-41=45']
Exploring Operation: 26+45=71, Resulting Numbers: [28, 71]
Generated Node #0,3,0: 90:[28, 71] Operation: 26+45=71
Exploring Operation: 45-26=19, Resulting Numbers: [28, 19]
Generated Node #0,3,1: 90:[28, 19] Operation: 45-26=19
Exploring Operation: 28-26=2, Resulting Numbers: [45, 2]
Generated Node #0,3,2: 90:[45, 2] Operation: 28-26=2
Exploring Operation: 45-28=17, Resulting Numbers: [26, 17]
Generated Node #0,3,3: 90:[26, 17] Operation: 45-28=17
Exploring Operation: 26+28=54, Resulting Numbers: [45, 54]
Generated Node #0,3,4: 90:[45, 54] Operation: 26+28=54
Moving to Node #0,3,2
Current State: 90:[45, 2], Operations: ['86-41=45', '28-26=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[86, 26, 41, 28], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [26, 28, 45]
Generated Node #0,3: 90:[26, 28, 45] Operation: 86-41=45
Moving to Node #0,3
Current State: 90:[26, 28, 45], Operations: ['86-41=45']
Exploring Operation: 28-26=2, Resulting Numbers: [45, 2]
Generated Node #0,3,2: 90:[45, 2] Operation: 28-26=2
Moving to Node #0,3,2
Current State: 90:[45, 2], Operations: ['86-41=45', '28-26=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
69,
9,
87,
58
] | 89 | [
"69-9=60",
"87-58=29",
"60+29=89"
] | Current State: 89:[69, 9, 87, 58], Operations: []
Exploring Operation: 69-9=60, Resulting Numbers: [87, 58, 60]
Generated Node #2: [87, 58, 60] from Operation: 69-9=60
Current State: 89:[87, 58, 60], Operations: ['69-9=60']
Exploring Operation: 87-58=29, Resulting Numbers: [60, 29]
Generated Node #3: [60, 29] from Operation: 87-58=29
Current State: 89:[60, 29], Operations: ['69-9=60', '87-58=29']
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[69, 9, 87, 58], Operations: []
Exploring Operation: 69+9=78, Resulting Numbers: [87, 58, 78]
Generated Node #0,0: 89:[87, 58, 78] Operation: 69+9=78
Exploring Operation: 87-9=78, Resulting Numbers: [69, 58, 78]
Generated Node #0,1: 89:[69, 58, 78] Operation: 87-9=78
Exploring Operation: 9+58=67, Resulting Numbers: [69, 87, 67]
Generated Node #0,2: 89:[69, 87, 67] Operation: 9+58=67
Exploring Operation: 69-9=60, Resulting Numbers: [87, 58, 60]
Generated Node #0,3: 89:[87, 58, 60] Operation: 69-9=60
Exploring Operation: 9+87=96, Resulting Numbers: [69, 58, 96]
Generated Node #0,4: 89:[69, 58, 96] Operation: 9+87=96
Moving to Node #0,0
Current State: 89:[87, 58, 78], Operations: ['69+9=78']
Exploring Operation: 87+58=145, Resulting Numbers: [78, 145]
Generated Node #0,0,0: 89:[78, 145] Operation: 87+58=145
Exploring Operation: 58+78=136, Resulting Numbers: [87, 136]
Generated Node #0,0,1: 89:[87, 136] Operation: 58+78=136
Exploring Operation: 87+78=165, Resulting Numbers: [58, 165]
Generated Node #0,0,2: 89:[58, 165] Operation: 87+78=165
Exploring Operation: 78-58=20, Resulting Numbers: [87, 20]
Generated Node #0,0,3: 89:[87, 20] Operation: 78-58=20
Exploring Operation: 87-58=29, Resulting Numbers: [78, 29]
Generated Node #0,0,4: 89:[78, 29] Operation: 87-58=29
Moving to Node #0,2
Current State: 89:[69, 87, 67], Operations: ['9+58=67']
Exploring Operation: 69-67=2, Resulting Numbers: [87, 2]
Generated Node #0,2,0: 89:[87, 2] Operation: 69-67=2
Exploring Operation: 87-67=20, Resulting Numbers: [69, 20]
Generated Node #0,2,1: 89:[69, 20] Operation: 87-67=20
Exploring Operation: 69+87=156, Resulting Numbers: [67, 156]
Generated Node #0,2,2: 89:[67, 156] Operation: 69+87=156
Exploring Operation: 69+67=136, Resulting Numbers: [87, 136]
Generated Node #0,2,3: 89:[87, 136] Operation: 69+67=136
Exploring Operation: 87+67=154, Resulting Numbers: [69, 154]
Generated Node #0,2,4: 89:[69, 154] Operation: 87+67=154
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[87, 136], Operations: ['9+58=67', '69+67=136']
Exploring Operation: 87*136=11832, Resulting Numbers: [11832]
11832,89 unequal: No Solution
Exploring Operation: 136-87=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 87+136=223, Resulting Numbers: [223]
223,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 89:[69, 154], Operations: ['9+58=67', '87+67=154']
Exploring Operation: 69+154=223, Resulting Numbers: [223]
223,89 unequal: No Solution
Exploring Operation: 154-69=85, Resulting Numbers: [85]
85,89 unequal: No Solution
Exploring Operation: 69*154=10626, Resulting Numbers: [10626]
10626,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[87, 2], Operations: ['9+58=67', '69-67=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,89 unequal: No Solution
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[69, 9, 87, 58], Operations: []
Exploring Operation: 9+58=67, Resulting Numbers: [69, 87, 67]
Generated Node #0,2: 89:[69, 87, 67] Operation: 9+58=67
Moving to Node #0,2
Current State: 89:[69, 87, 67], Operations: ['9+58=67']
Exploring Operation: 69-67=2, Resulting Numbers: [87, 2]
Generated Node #0,2,0: 89:[87, 2] Operation: 69-67=2
Moving to Node #0,2,0
Current State: 89:[87, 2], Operations: ['9+58=67', '69-67=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | sum_heuristic |
[
4,
92,
34,
20
] | 42 | [
"4+92=96",
"34+20=54",
"96-54=42"
] | Current State: 42:[4, 92, 34, 20], Operations: []
Exploring Operation: 4+92=96, Resulting Numbers: [34, 20, 96]
Generated Node #2: [34, 20, 96] from Operation: 4+92=96
Current State: 42:[34, 20, 96], Operations: ['4+92=96']
Exploring Operation: 34+20=54, Resulting Numbers: [96, 54]
Generated Node #3: [96, 54] from Operation: 34+20=54
Current State: 42:[96, 54], Operations: ['4+92=96', '34+20=54']
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[4, 92, 34, 20], Operations: []
Exploring Operation: 92-20=72, Resulting Numbers: [4, 34, 72]
Generated Node #0,0: 42:[4, 34, 72] Operation: 92-20=72
Exploring Operation: 34-20=14, Resulting Numbers: [4, 92, 14]
Generated Node #0,1: 42:[4, 92, 14] Operation: 34-20=14
Exploring Operation: 92/4=23, Resulting Numbers: [34, 20, 23]
Generated Node #0,2: 42:[34, 20, 23] Operation: 92/4=23
Exploring Operation: 92-34=58, Resulting Numbers: [4, 20, 58]
Generated Node #0,3: 42:[4, 20, 58] Operation: 92-34=58
Moving to Node #0,2
Current State: 42:[34, 20, 23], Operations: ['92/4=23']
Exploring Operation: 34-20=14, Resulting Numbers: [23, 14]
Generated Node #0,2,0: 42:[23, 14] Operation: 34-20=14
Exploring Operation: 20+23=43, Resulting Numbers: [34, 43]
Generated Node #0,2,1: 42:[34, 43] Operation: 20+23=43
Exploring Operation: 34-23=11, Resulting Numbers: [20, 11]
Generated Node #0,2,2: 42:[20, 11] Operation: 34-23=11
Exploring Operation: 23-20=3, Resulting Numbers: [34, 3]
Generated Node #0,2,3: 42:[34, 3] Operation: 23-20=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[23, 14], Operations: ['92/4=23', '34-20=14']
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,42 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,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:[20, 11], Operations: ['92/4=23', '34-23=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,42 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,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,3
Current State: 42:[34, 3], Operations: ['92/4=23', '23-20=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,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,1
Current State: 42:[34, 43], Operations: ['92/4=23', '20+23=43']
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,42 unequal: No Solution
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,42 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,42 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: 42:[4, 20, 58], Operations: ['92-34=58']
Exploring Operation: 58-4=54, Resulting Numbers: [20, 54]
Generated Node #0,3,0: 42:[20, 54] Operation: 58-4=54
Exploring Operation: 20/4=5, Resulting Numbers: [58, 5]
Generated Node #0,3,1: 42:[58, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [58, 16]
Generated Node #0,3,2: 42:[58, 16] Operation: 20-4=16
Exploring Operation: 58-20=38, Resulting Numbers: [4, 38]
Generated Node #0,3,3: 42:[4, 38] Operation: 58-20=38
Moving to Node #0,0
Current State: 42:[4, 34, 72], Operations: ['92-20=72']
Exploring Operation: 72-4=68, Resulting Numbers: [34, 68]
Generated Node #0,0,0: 42:[34, 68] Operation: 72-4=68
Exploring Operation: 72-34=38, Resulting Numbers: [4, 38]
Generated Node #0,0,1: 42:[4, 38] Operation: 72-34=38
Exploring Operation: 72/4=18, Resulting Numbers: [34, 18]
Generated Node #0,0,2: 42:[34, 18] Operation: 72/4=18
Exploring Operation: 4+34=38, Resulting Numbers: [72, 38]
Generated Node #0,0,3: 42:[72, 38] Operation: 4+34=38
Moving to Node #0,1
Current State: 42:[4, 92, 14], Operations: ['34-20=14']
Exploring Operation: 92/4=23, Resulting Numbers: [14, 23]
Generated Node #0,1,0: 42:[14, 23] Operation: 92/4=23
Exploring Operation: 4+14=18, Resulting Numbers: [92, 18]
Generated Node #0,1,1: 42:[92, 18] Operation: 4+14=18
Exploring Operation: 92-14=78, Resulting Numbers: [4, 78]
Generated Node #0,1,2: 42:[4, 78] Operation: 92-14=78
Exploring Operation: 92-4=88, Resulting Numbers: [14, 88]
Generated Node #0,1,3: 42:[14, 88] Operation: 92-4=88
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[14, 23], Operations: ['34-20=14', '92/4=23']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,42 unequal: No Solution
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,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:[4, 78], Operations: ['34-20=14', '92-14=78']
Exploring Operation: 4*78=312, Resulting Numbers: [312]
312,42 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,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,3
Current State: 42:[14, 88], Operations: ['34-20=14', '92-4=88']
Exploring Operation: 14*88=1232, Resulting Numbers: [1232]
1232,42 unequal: No Solution
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 14+88=102, Resulting Numbers: [102]
102,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,1
Current State: 42:[92, 18], Operations: ['34-20=14', '4+14=18']
Exploring Operation: 92+18=110, Resulting Numbers: [110]
110,42 unequal: No Solution
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 92*18=1656, Resulting Numbers: [1656]
1656,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 42:[4, 38], Operations: ['92-34=58', '58-20=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[4, 92, 34, 20], Operations: []
Exploring Operation: 92-34=58, Resulting Numbers: [4, 20, 58]
Generated Node #0,3: 42:[4, 20, 58] Operation: 92-34=58
Moving to Node #0,3
Current State: 42:[4, 20, 58], Operations: ['92-34=58']
Exploring Operation: 58-20=38, Resulting Numbers: [4, 38]
Generated Node #0,3,3: 42:[4, 38] Operation: 58-20=38
Moving to Node #0,3,3
Current State: 42:[4, 38], Operations: ['92-34=58', '58-20=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.956597 | hs_4 | sum_heuristic |
[
24,
6,
2,
63
] | 61 | [
"24/6=4",
"2+63=65",
"65-4=61"
] | Current State: 61:[24, 6, 2, 63], Operations: []
Exploring Operation: 24/6=4, Resulting Numbers: [2, 63, 4]
Generated Node #2: [2, 63, 4] from Operation: 24/6=4
Current State: 61:[2, 63, 4], Operations: ['24/6=4']
Exploring Operation: 2+63=65, Resulting Numbers: [4, 65]
Generated Node #3: [4, 65] from Operation: 2+63=65
Current State: 61:[4, 65], Operations: ['24/6=4', '2+63=65']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[24, 6, 2, 63], Operations: []
Exploring Operation: 6*2=12, Resulting Numbers: [24, 63, 12]
Generated Node #0,0: 61:[24, 63, 12] Operation: 6*2=12
Exploring Operation: 24*2=48, Resulting Numbers: [6, 63, 48]
Generated Node #0,1: 61:[6, 63, 48] Operation: 24*2=48
Exploring Operation: 24+2=26, Resulting Numbers: [6, 63, 26]
Generated Node #0,2: 61:[6, 63, 26] Operation: 24+2=26
Exploring Operation: 24+6=30, Resulting Numbers: [2, 63, 30]
Generated Node #0,3: 61:[2, 63, 30] Operation: 24+6=30
Exploring Operation: 6+2=8, Resulting Numbers: [24, 63, 8]
Generated Node #0,4: 61:[24, 63, 8] Operation: 6+2=8
Moving to Node #0,1
Current State: 61:[6, 63, 48], Operations: ['24*2=48']
Exploring Operation: 6+63=69, Resulting Numbers: [48, 69]
Generated Node #0,1,0: 61:[48, 69] Operation: 6+63=69
Exploring Operation: 63-6=57, Resulting Numbers: [48, 57]
Generated Node #0,1,1: 61:[48, 57] Operation: 63-6=57
Exploring Operation: 48/6=8, Resulting Numbers: [63, 8]
Generated Node #0,1,2: 61:[63, 8] Operation: 48/6=8
Exploring Operation: 6+48=54, Resulting Numbers: [63, 54]
Generated Node #0,1,3: 61:[63, 54] Operation: 6+48=54
Exploring Operation: 48-6=42, Resulting Numbers: [63, 42]
Generated Node #0,1,4: 61:[63, 42] Operation: 48-6=42
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[63, 54], Operations: ['24*2=48', '6+48=54']
Exploring Operation: 63*54=3402, Resulting Numbers: [3402]
3402,61 unequal: No Solution
Exploring Operation: 63+54=117, Resulting Numbers: [117]
117,61 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[48, 57], Operations: ['24*2=48', '63-6=57']
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,61 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,61 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[48, 69], Operations: ['24*2=48', '6+63=69']
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 48*69=3312, Resulting Numbers: [3312]
3312,61 unequal: No Solution
Exploring Operation: 48+69=117, Resulting Numbers: [117]
117,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 61:[63, 42], Operations: ['24*2=48', '48-6=42']
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 63*42=2646, Resulting Numbers: [2646]
2646,61 unequal: No Solution
Exploring Operation: 63+42=105, Resulting Numbers: [105]
105,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[63, 8], Operations: ['24*2=48', '48/6=8']
Exploring Operation: 63+8=71, Resulting Numbers: [71]
71,61 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 63*8=504, Resulting Numbers: [504]
504,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 61:[24, 63, 12], Operations: ['6*2=12']
Exploring Operation: 24-12=12, Resulting Numbers: [63, 12]
Generated Node #0,0,0: 61:[63, 12] Operation: 24-12=12
Exploring Operation: 24+12=36, Resulting Numbers: [63, 36]
Generated Node #0,0,1: 61:[63, 36] Operation: 24+12=36
Exploring Operation: 63-12=51, Resulting Numbers: [24, 51]
Generated Node #0,0,2: 61:[24, 51] Operation: 63-12=51
Exploring Operation: 24/12=2, Resulting Numbers: [63, 2]
Generated Node #0,0,3: 61:[63, 2] Operation: 24/12=2
Exploring Operation: 63+12=75, Resulting Numbers: [24, 75]
Generated Node #0,0,4: 61:[24, 75] Operation: 63+12=75
Moving to Node #0,2
Current State: 61:[6, 63, 26], Operations: ['24+2=26']
Exploring Operation: 26-6=20, Resulting Numbers: [63, 20]
Generated Node #0,2,0: 61:[63, 20] Operation: 26-6=20
Exploring Operation: 6+63=69, Resulting Numbers: [26, 69]
Generated Node #0,2,1: 61:[26, 69] Operation: 6+63=69
Exploring Operation: 6+26=32, Resulting Numbers: [63, 32]
Generated Node #0,2,2: 61:[63, 32] Operation: 6+26=32
Exploring Operation: 63-26=37, Resulting Numbers: [6, 37]
Generated Node #0,2,3: 61:[6, 37] Operation: 63-26=37
Exploring Operation: 63-6=57, Resulting Numbers: [26, 57]
Generated Node #0,2,4: 61:[26, 57] Operation: 63-6=57
Moving to Node #0,3
Current State: 61:[2, 63, 30], Operations: ['24+6=30']
Exploring Operation: 2+30=32, Resulting Numbers: [63, 32]
Generated Node #0,3,0: 61:[63, 32] Operation: 2+30=32
Exploring Operation: 30-2=28, Resulting Numbers: [63, 28]
Generated Node #0,3,1: 61:[63, 28] Operation: 30-2=28
Exploring Operation: 2*30=60, Resulting Numbers: [63, 60]
Generated Node #0,3,2: 61:[63, 60] Operation: 2*30=60
Exploring Operation: 2+63=65, Resulting Numbers: [30, 65]
Generated Node #0,3,3: 61:[30, 65] Operation: 2+63=65
Exploring Operation: 63-2=61, Resulting Numbers: [30, 61]
Generated Node #0,3,4: 61:[30, 61] Operation: 63-2=61
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 61:[63, 60], Operations: ['24+6=30', '2*30=60']
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 63*60=3780, Resulting Numbers: [3780]
3780,61 unequal: No Solution
Exploring Operation: 63+60=123, Resulting Numbers: [123]
123,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[63, 32], Operations: ['24+6=30', '2+30=32']
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,61 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,61 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 61:[30, 61], Operations: ['24+6=30', '63-2=61']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 30*61=1830, Resulting Numbers: [1830]
1830,61 unequal: No Solution
Exploring Operation: 30+61=91, Resulting Numbers: [91]
91,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[63, 28], Operations: ['24+6=30', '30-2=28']
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,61 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[30, 65], Operations: ['24+6=30', '2+63=65']
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 30+65=95, Resulting Numbers: [95]
95,61 unequal: No Solution
Exploring Operation: 30*65=1950, Resulting Numbers: [1950]
1950,61 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: 61:[24, 63, 8], Operations: ['6+2=8']
Exploring Operation: 24+8=32, Resulting Numbers: [63, 32]
Generated Node #0,4,0: 61:[63, 32] Operation: 24+8=32
Exploring Operation: 63+8=71, Resulting Numbers: [24, 71]
Generated Node #0,4,1: 61:[24, 71] Operation: 63+8=71
Exploring Operation: 24/8=3, Resulting Numbers: [63, 3]
Generated Node #0,4,2: 61:[63, 3] Operation: 24/8=3
Exploring Operation: 63-8=55, Resulting Numbers: [24, 55]
Generated Node #0,4,3: 61:[24, 55] Operation: 63-8=55
Exploring Operation: 24-8=16, Resulting Numbers: [63, 16]
Generated Node #0,4,4: 61:[63, 16] Operation: 24-8=16
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 61:[63, 32], Operations: ['6+2=8', '24+8=32']
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,61 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,61 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 61:[24, 55], Operations: ['6+2=8', '63-8=55']
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,61 unequal: No Solution
Exploring Operation: 24*55=1320, Resulting Numbers: [1320]
1320,61 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 61:[24, 71], Operations: ['6+2=8', '63+8=71']
Exploring Operation: 24+71=95, Resulting Numbers: [95]
95,61 unequal: No Solution
Exploring Operation: 24*71=1704, Resulting Numbers: [1704]
1704,61 unequal: No Solution
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 61:[63, 16], Operations: ['6+2=8', '24-8=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,61 unequal: No Solution
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 61:[63, 3], Operations: ['6+2=8', '24/8=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,61 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,61 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: 61:[63, 36], Operations: ['6*2=12', '24+12=36']
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,61 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,61 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[63, 32], Operations: ['24+2=26', '6+26=32']
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,61 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,61 unequal: No Solution
Moving to Node #0,2,4
Current State: 61:[26, 57], Operations: ['24+2=26', '63-6=57']
Exploring Operation: 26*57=1482, Resulting Numbers: [1482]
1482,61 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[63, 20], Operations: ['24+2=26', '26-6=20']
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,61 unequal: No Solution
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,61 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[26, 69], Operations: ['24+2=26', '6+63=69']
Exploring Operation: 26+69=95, Resulting Numbers: [95]
95,61 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,61 unequal: No Solution
Exploring Operation: 26*69=1794, Resulting Numbers: [1794]
1794,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[24, 51], Operations: ['6*2=12', '63-12=51']
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 24*51=1224, Resulting Numbers: [1224]
1224,61 unequal: No Solution
Exploring Operation: 24+51=75, Resulting Numbers: [75]
75,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[63, 12], Operations: ['6*2=12', '24-12=12']
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,61 unequal: No Solution
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,61 unequal: No Solution
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[24, 75], Operations: ['6*2=12', '63+12=75']
Exploring Operation: 24*75=1800, Resulting Numbers: [1800]
1800,61 unequal: No Solution
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,61 unequal: No Solution
Exploring Operation: 24+75=99, Resulting Numbers: [99]
99,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[63, 2], Operations: ['6*2=12', '24/12=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[24, 6, 2, 63], Operations: []
Exploring Operation: 6*2=12, Resulting Numbers: [24, 63, 12]
Generated Node #0,0: 61:[24, 63, 12] Operation: 6*2=12
Moving to Node #0,0
Current State: 61:[24, 63, 12], Operations: ['6*2=12']
Exploring Operation: 24/12=2, Resulting Numbers: [63, 2]
Generated Node #0,0,3: 61:[63, 2] Operation: 24/12=2
Moving to Node #0,0,3
Current State: 61:[63, 2], Operations: ['6*2=12', '24/12=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 0.908854 | hs_5 | mult_heuristic |
[
17,
30,
21,
12
] | 14 | [
"17+30=47",
"21+12=33",
"47-33=14"
] | Current State: 14:[17, 30, 21, 12], Operations: []
Exploring Operation: 17+30=47, Resulting Numbers: [21, 12, 47]
Generated Node #2: [21, 12, 47] from Operation: 17+30=47
Current State: 14:[21, 12, 47], Operations: ['17+30=47']
Exploring Operation: 21+12=33, Resulting Numbers: [47, 33]
Generated Node #3: [47, 33] from Operation: 21+12=33
Current State: 14:[47, 33], Operations: ['17+30=47', '21+12=33']
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[17, 30, 21, 12], Operations: []
Exploring Operation: 30-12=18, Resulting Numbers: [17, 21, 18]
Generated Node #0,0: 14:[17, 21, 18] Operation: 30-12=18
Exploring Operation: 21-17=4, Resulting Numbers: [30, 12, 4]
Generated Node #0,1: 14:[30, 12, 4] Operation: 21-17=4
Exploring Operation: 30-17=13, Resulting Numbers: [21, 12, 13]
Generated Node #0,2: 14:[21, 12, 13] Operation: 30-17=13
Exploring Operation: 30-21=9, Resulting Numbers: [17, 12, 9]
Generated Node #0,3: 14:[17, 12, 9] Operation: 30-21=9
Exploring Operation: 21-12=9, Resulting Numbers: [17, 30, 9]
Generated Node #0,4: 14:[17, 30, 9] Operation: 21-12=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[17, 12, 9], Operations: ['30-21=9']
Exploring Operation: 17-12=5, Resulting Numbers: [9, 5]
Generated Node #0,3,0: 14:[9, 5] Operation: 17-12=5
Exploring Operation: 17-9=8, Resulting Numbers: [12, 8]
Generated Node #0,3,1: 14:[12, 8] Operation: 17-9=8
Exploring Operation: 12-9=3, Resulting Numbers: [17, 3]
Generated Node #0,3,2: 14:[17, 3] Operation: 12-9=3
Exploring Operation: 12+9=21, Resulting Numbers: [17, 21]
Generated Node #0,3,3: 14:[17, 21] Operation: 12+9=21
Exploring Operation: 17+9=26, Resulting Numbers: [12, 26]
Generated Node #0,3,4: 14:[12, 26] Operation: 17+9=26
Moving to Node #0,3,1
Current State: 14:[12, 8], Operations: ['30-21=9', '17-9=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,14 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[17, 3], Operations: ['30-21=9', '12-9=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[17, 30, 21, 12], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [17, 12, 9]
Generated Node #0,3: 14:[17, 12, 9] Operation: 30-21=9
Moving to Node #0,3
Current State: 14:[17, 12, 9], Operations: ['30-21=9']
Exploring Operation: 12-9=3, Resulting Numbers: [17, 3]
Generated Node #0,3,2: 14:[17, 3] Operation: 12-9=3
Moving to Node #0,3,2
Current State: 14:[17, 3], Operations: ['30-21=9', '12-9=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
32,
78,
32,
80
] | 52 | [
"32*78=2496",
"80-32=48",
"2496/48=52"
] | Current State: 52:[32, 78, 32, 80], Operations: []
Exploring Operation: 32*78=2496, Resulting Numbers: [80, 2496]
Generated Node #2: [80, 2496] from Operation: 32*78=2496
Current State: 52:[80, 2496], Operations: ['32*78=2496']
Exploring Operation: 80-32=48, Resulting Numbers: [2496, 48]
Generated Node #3: [2496, 48] from Operation: 80-32=48
Current State: 52:[2496, 48], Operations: ['32*78=2496', '80-32=48']
Exploring Operation: 2496/48=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[32, 78, 32, 80], Operations: []
Exploring Operation: 80-32=48, Resulting Numbers: [78, 32, 48]
Generated Node #0,0: 52:[78, 32, 48] Operation: 80-32=48
Exploring Operation: 78-32=46, Resulting Numbers: [32, 80, 46]
Generated Node #0,1: 52:[32, 80, 46] Operation: 78-32=46
Exploring Operation: 80-78=2, Resulting Numbers: [32, 32, 2]
Generated Node #0,2: 52:[32, 32, 2] Operation: 80-78=2
Exploring Operation: 80-32=48, Resulting Numbers: [32, 78, 48]
Generated Node #0,3: 52:[32, 78, 48] Operation: 80-32=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[32, 32, 2], Operations: ['80-78=2']
Exploring Operation: 32/2=16, Resulting Numbers: [32, 16]
Generated Node #0,2,0: 52:[32, 16] Operation: 32/2=16
Exploring Operation: 32-32=0, Resulting Numbers: [2, 0]
Generated Node #0,2,1: 52:[2, 0] Operation: 32-32=0
Exploring Operation: 32/32=1, Resulting Numbers: [2, 1]
Generated Node #0,2,2: 52:[2, 1] Operation: 32/32=1
Exploring Operation: 32/2=16, Resulting Numbers: [32, 16]
Generated Node #0,2,3: 52:[32, 16] Operation: 32/2=16
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 52:[2, 1], Operations: ['80-78=2', '32/32=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[2, 0], Operations: ['80-78=2', '32-32=0']
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[32, 16], Operations: ['80-78=2', '32/2=16']
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,52 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 52:[32, 16], Operations: ['80-78=2', '32/2=16']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,52 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,52 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: 52:[78, 32, 48], Operations: ['80-32=48']
Exploring Operation: 48-32=16, Resulting Numbers: [78, 16]
Generated Node #0,0,0: 52:[78, 16] Operation: 48-32=16
Exploring Operation: 78-32=46, Resulting Numbers: [48, 46]
Generated Node #0,0,1: 52:[48, 46] Operation: 78-32=46
Exploring Operation: 32+48=80, Resulting Numbers: [78, 80]
Generated Node #0,0,2: 52:[78, 80] Operation: 32+48=80
Exploring Operation: 78-48=30, Resulting Numbers: [32, 30]
Generated Node #0,0,3: 52:[32, 30] Operation: 78-48=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[48, 46], Operations: ['80-32=48', '78-32=46']
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,52 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 52:[32, 30], Operations: ['80-32=48', '78-48=30']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,52 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[78, 16], Operations: ['80-32=48', '48-32=16']
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 52:[78, 80], Operations: ['80-32=48', '32+48=80']
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 78+80=158, Resulting Numbers: [158]
158,52 unequal: No Solution
Exploring Operation: 78*80=6240, Resulting Numbers: [6240]
6240,52 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: 52:[32, 78, 48], Operations: ['80-32=48']
Exploring Operation: 48-32=16, Resulting Numbers: [78, 16]
Generated Node #0,3,0: 52:[78, 16] Operation: 48-32=16
Exploring Operation: 78-48=30, Resulting Numbers: [32, 30]
Generated Node #0,3,1: 52:[32, 30] Operation: 78-48=30
Exploring Operation: 32+48=80, Resulting Numbers: [78, 80]
Generated Node #0,3,2: 52:[78, 80] Operation: 32+48=80
Exploring Operation: 78-32=46, Resulting Numbers: [48, 46]
Generated Node #0,3,3: 52:[48, 46] Operation: 78-32=46
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 52:[32, 30], Operations: ['80-32=48', '78-48=30']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,52 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 52:[48, 46], Operations: ['80-32=48', '78-32=46']
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 52:[78, 16], Operations: ['80-32=48', '48-32=16']
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 52:[78, 80], Operations: ['80-32=48', '32+48=80']
Exploring Operation: 78+80=158, Resulting Numbers: [158]
158,52 unequal: No Solution
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 78*80=6240, Resulting Numbers: [6240]
6240,52 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: 52:[32, 80, 46], Operations: ['78-32=46']
Exploring Operation: 80-32=48, Resulting Numbers: [46, 48]
Generated Node #0,1,0: 52:[46, 48] Operation: 80-32=48
Exploring Operation: 32+46=78, Resulting Numbers: [80, 78]
Generated Node #0,1,1: 52:[80, 78] Operation: 32+46=78
Exploring Operation: 80-46=34, Resulting Numbers: [32, 34]
Generated Node #0,1,2: 52:[32, 34] Operation: 80-46=34
Exploring Operation: 46-32=14, Resulting Numbers: [80, 14]
Generated Node #0,1,3: 52:[80, 14] Operation: 46-32=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[46, 48], Operations: ['78-32=46', '80-32=48']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 46*48=2208, Resulting Numbers: [2208]
2208,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 52:[32, 34], Operations: ['78-32=46', '80-46=34']
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,52 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 52:[80, 14], Operations: ['78-32=46', '46-32=14']
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,52 unequal: No Solution
Exploring Operation: 80*14=1120, Resulting Numbers: [1120]
1120,52 unequal: No Solution
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[80, 78], Operations: ['78-32=46', '32+46=78']
Exploring Operation: 80*78=6240, Resulting Numbers: [6240]
6240,52 unequal: No Solution
Exploring Operation: 80+78=158, Resulting Numbers: [158]
158,52 unequal: No Solution
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
65,
75,
5,
34
] | 68 | [
"75-65=10",
"10/5=2",
"34*2=68"
] | Current State: 68:[65, 75, 5, 34], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [5, 34, 10]
Generated Node #2: [5, 34, 10] from Operation: 75-65=10
Current State: 68:[5, 34, 10], Operations: ['75-65=10']
Exploring Operation: 10/5=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 10/5=2
Current State: 68:[34, 2], Operations: ['75-65=10', '10/5=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[65, 75, 5, 34], Operations: []
Exploring Operation: 75-5=70, Resulting Numbers: [65, 34, 70]
Generated Node #0,0: 68:[65, 34, 70] Operation: 75-5=70
Exploring Operation: 75-65=10, Resulting Numbers: [5, 34, 10]
Generated Node #0,1: 68:[5, 34, 10] Operation: 75-65=10
Exploring Operation: 75/5=15, Resulting Numbers: [65, 34, 15]
Generated Node #0,2: 68:[65, 34, 15] Operation: 75/5=15
Moving to Node #0,0
Current State: 68:[65, 34, 70], Operations: ['75-5=70']
Exploring Operation: 70-65=5, Resulting Numbers: [34, 5]
Generated Node #0,0,0: 68:[34, 5] Operation: 70-65=5
Exploring Operation: 65-34=31, Resulting Numbers: [70, 31]
Generated Node #0,0,1: 68:[70, 31] Operation: 65-34=31
Exploring Operation: 70-34=36, Resulting Numbers: [65, 36]
Generated Node #0,0,2: 68:[65, 36] Operation: 70-34=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[34, 5], Operations: ['75-5=70', '70-65=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,68 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,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,1
Current State: 68:[70, 31], Operations: ['75-5=70', '65-34=31']
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,68 unequal: No Solution
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,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,2
Current State: 68:[65, 36], Operations: ['75-5=70', '70-34=36']
Exploring Operation: 65*36=2340, Resulting Numbers: [2340]
2340,68 unequal: No Solution
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Exploring Operation: 65+36=101, Resulting Numbers: [101]
101,68 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: 68:[65, 34, 15], Operations: ['75/5=15']
Exploring Operation: 34-15=19, Resulting Numbers: [65, 19]
Generated Node #0,2,0: 68:[65, 19] Operation: 34-15=19
Exploring Operation: 65-34=31, Resulting Numbers: [15, 31]
Generated Node #0,2,1: 68:[15, 31] Operation: 65-34=31
Exploring Operation: 65+15=80, Resulting Numbers: [34, 80]
Generated Node #0,2,2: 68:[34, 80] Operation: 65+15=80
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[65, 19], Operations: ['75/5=15', '34-15=19']
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,68 unequal: No Solution
Exploring Operation: 65*19=1235, Resulting Numbers: [1235]
1235,68 unequal: No Solution
Exploring Operation: 65+19=84, Resulting Numbers: [84]
84,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,2,1
Current State: 68:[15, 31], Operations: ['75/5=15', '65-34=31']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,68 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,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,2,2
Current State: 68:[34, 80], Operations: ['75/5=15', '65+15=80']
Exploring Operation: 34*80=2720, Resulting Numbers: [2720]
2720,68 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,68 unequal: No Solution
Exploring Operation: 34+80=114, Resulting Numbers: [114]
114,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:[5, 34, 10], Operations: ['75-65=10']
Exploring Operation: 5+10=15, Resulting Numbers: [34, 15]
Generated Node #0,1,0: 68:[34, 15] Operation: 5+10=15
Exploring Operation: 10-5=5, Resulting Numbers: [34, 5]
Generated Node #0,1,1: 68:[34, 5] Operation: 10-5=5
Exploring Operation: 10/5=2, Resulting Numbers: [34, 2]
Generated Node #0,1,2: 68:[34, 2] Operation: 10/5=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[34, 2], Operations: ['75-65=10', '10/5=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[65, 75, 5, 34], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [5, 34, 10]
Generated Node #0,1: 68:[5, 34, 10] Operation: 75-65=10
Moving to Node #0,1
Current State: 68:[5, 34, 10], Operations: ['75-65=10']
Exploring Operation: 10/5=2, Resulting Numbers: [34, 2]
Generated Node #0,1,2: 68:[34, 2] Operation: 10/5=2
Moving to Node #0,1,2
Current State: 68:[34, 2], Operations: ['75-65=10', '10/5=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
14,
55,
68,
64
] | 73 | [
"14+55=69",
"68-64=4",
"69+4=73"
] | Current State: 73:[14, 55, 68, 64], Operations: []
Exploring Operation: 14+55=69, Resulting Numbers: [68, 64, 69]
Generated Node #2: [68, 64, 69] from Operation: 14+55=69
Current State: 73:[68, 64, 69], Operations: ['14+55=69']
Exploring Operation: 68-64=4, Resulting Numbers: [69, 4]
Generated Node #3: [69, 4] from Operation: 68-64=4
Current State: 73:[69, 4], Operations: ['14+55=69', '68-64=4']
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[14, 55, 68, 64], Operations: []
Exploring Operation: 14+55=69, Resulting Numbers: [68, 64, 69]
Generated Node #0,0: 73:[68, 64, 69] Operation: 14+55=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[68, 64, 69], Operations: ['14+55=69']
Exploring Operation: 68+64=132, Resulting Numbers: [69, 132]
Generated Node #0,0,0: 73:[69, 132] Operation: 68+64=132
Moving to Node #0,0,0
Current State: 73:[69, 132], Operations: ['14+55=69', '68+64=132']
Exploring Operation: 132-69=63, Resulting Numbers: [63]
63,73 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 |
[
39,
29,
37,
73
] | 100 | [
"39-29=10",
"37+73=110",
"110-10=100"
] | Current State: 100:[39, 29, 37, 73], Operations: []
Exploring Operation: 39-29=10, Resulting Numbers: [37, 73, 10]
Generated Node #2: [37, 73, 10] from Operation: 39-29=10
Current State: 100:[37, 73, 10], Operations: ['39-29=10']
Exploring Operation: 37+73=110, Resulting Numbers: [10, 110]
Generated Node #3: [10, 110] from Operation: 37+73=110
Current State: 100:[10, 110], Operations: ['39-29=10', '37+73=110']
Exploring Operation: 110-10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[39, 29, 37, 73], Operations: []
Exploring Operation: 73-39=34, Resulting Numbers: [29, 37, 34]
Generated Node #0,0: 100:[29, 37, 34] Operation: 73-39=34
Exploring Operation: 29+73=102, Resulting Numbers: [39, 37, 102]
Generated Node #0,1: 100:[39, 37, 102] Operation: 29+73=102
Exploring Operation: 37+73=110, Resulting Numbers: [39, 29, 110]
Generated Node #0,2: 100:[39, 29, 110] Operation: 37+73=110
Exploring Operation: 73-37=36, Resulting Numbers: [39, 29, 36]
Generated Node #0,3: 100:[39, 29, 36] Operation: 73-37=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[29, 37, 34], Operations: ['73-39=34']
Exploring Operation: 37-29=8, Resulting Numbers: [34, 8]
Generated Node #0,0,0: 100:[34, 8] Operation: 37-29=8
Exploring Operation: 34-29=5, Resulting Numbers: [37, 5]
Generated Node #0,0,1: 100:[37, 5] Operation: 34-29=5
Exploring Operation: 37-34=3, Resulting Numbers: [29, 3]
Generated Node #0,0,2: 100:[29, 3] Operation: 37-34=3
Exploring Operation: 29+37=66, Resulting Numbers: [34, 66]
Generated Node #0,0,3: 100:[34, 66] Operation: 29+37=66
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[29, 3], Operations: ['73-39=34', '37-34=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,100 unequal: No Solution
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[34, 8], Operations: ['73-39=34', '37-29=8']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,100 unequal: No Solution
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[37, 5], Operations: ['73-39=34', '34-29=5']
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,100 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 100:[34, 66], Operations: ['73-39=34', '29+37=66']
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,100 unequal: No Solution
Exploring Operation: 34*66=2244, Resulting Numbers: [2244]
2244,100 unequal: No Solution
Exploring Operation: 34+66=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[39, 29, 37, 73], Operations: []
Exploring Operation: 73-39=34, Resulting Numbers: [29, 37, 34]
Generated Node #0,0: 100:[29, 37, 34] Operation: 73-39=34
Moving to Node #0,0
Current State: 100:[29, 37, 34], Operations: ['73-39=34']
Exploring Operation: 29+37=66, Resulting Numbers: [34, 66]
Generated Node #0,0,3: 100:[34, 66] Operation: 29+37=66
Moving to Node #0,0,3
Current State: 100:[34, 66], Operations: ['73-39=34', '29+37=66']
Exploring Operation: 34+66=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
60,
94,
41,
12
] | 58 | [
"60/12=5",
"94-41=53",
"5+53=58"
] | Current State: 58:[60, 94, 41, 12], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [94, 41, 5]
Generated Node #2: [94, 41, 5] from Operation: 60/12=5
Current State: 58:[94, 41, 5], Operations: ['60/12=5']
Exploring Operation: 94-41=53, Resulting Numbers: [5, 53]
Generated Node #3: [5, 53] from Operation: 94-41=53
Current State: 58:[5, 53], Operations: ['60/12=5', '94-41=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[60, 94, 41, 12], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [41, 12, 34]
Generated Node #0,0: 58:[41, 12, 34] Operation: 94-60=34
Exploring Operation: 41-12=29, Resulting Numbers: [60, 94, 29]
Generated Node #0,1: 58:[60, 94, 29] Operation: 41-12=29
Exploring Operation: 94-41=53, Resulting Numbers: [60, 12, 53]
Generated Node #0,2: 58:[60, 12, 53] Operation: 94-41=53
Exploring Operation: 94-12=82, Resulting Numbers: [60, 41, 82]
Generated Node #0,3: 58:[60, 41, 82] Operation: 94-12=82
Moving to Node #0,2
Current State: 58:[60, 12, 53], Operations: ['94-41=53']
Exploring Operation: 60/12=5, Resulting Numbers: [53, 5]
Generated Node #0,2,0: 58:[53, 5] Operation: 60/12=5
Exploring Operation: 12+53=65, Resulting Numbers: [60, 65]
Generated Node #0,2,1: 58:[60, 65] Operation: 12+53=65
Exploring Operation: 60-12=48, Resulting Numbers: [53, 48]
Generated Node #0,2,2: 58:[53, 48] Operation: 60-12=48
Exploring Operation: 53-12=41, Resulting Numbers: [60, 41]
Generated Node #0,2,3: 58:[60, 41] Operation: 53-12=41
Moving to Node #0,0
Current State: 58:[41, 12, 34], Operations: ['94-60=34']
Exploring Operation: 34-12=22, Resulting Numbers: [41, 22]
Generated Node #0,0,0: 58:[41, 22] Operation: 34-12=22
Exploring Operation: 41-34=7, Resulting Numbers: [12, 7]
Generated Node #0,0,1: 58:[12, 7] Operation: 41-34=7
Exploring Operation: 41-12=29, Resulting Numbers: [34, 29]
Generated Node #0,0,2: 58:[34, 29] Operation: 41-12=29
Exploring Operation: 41+12=53, Resulting Numbers: [34, 53]
Generated Node #0,0,3: 58:[34, 53] Operation: 41+12=53
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[34, 29], Operations: ['94-60=34', '41-12=29']
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,58 unequal: No Solution
No 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: 58:[34, 53], Operations: ['94-60=34', '41+12=53']
Exploring Operation: 34+53=87, Resulting Numbers: [87]
87,58 unequal: No Solution
Exploring Operation: 34*53=1802, Resulting Numbers: [1802]
1802,58 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,58 unequal: No Solution
No 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: 58:[12, 7], Operations: ['94-60=34', '41-34=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,58 unequal: No Solution
No 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: 58:[41, 22], Operations: ['94-60=34', '34-12=22']
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,58 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,58 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: 58:[60, 41, 82], Operations: ['94-12=82']
Exploring Operation: 82-41=41, Resulting Numbers: [60, 41]
Generated Node #0,3,0: 58:[60, 41] Operation: 82-41=41
Exploring Operation: 82/41=2, Resulting Numbers: [60, 2]
Generated Node #0,3,1: 58:[60, 2] Operation: 82/41=2
Exploring Operation: 60-41=19, Resulting Numbers: [82, 19]
Generated Node #0,3,2: 58:[82, 19] Operation: 60-41=19
Exploring Operation: 82-60=22, Resulting Numbers: [41, 22]
Generated Node #0,3,3: 58:[41, 22] Operation: 82-60=22
Moving to Node #0,1
Current State: 58:[60, 94, 29], Operations: ['41-12=29']
Exploring Operation: 60+29=89, Resulting Numbers: [94, 89]
Generated Node #0,1,0: 58:[94, 89] Operation: 60+29=89
Exploring Operation: 94-29=65, Resulting Numbers: [60, 65]
Generated Node #0,1,1: 58:[60, 65] Operation: 94-29=65
Exploring Operation: 94-60=34, Resulting Numbers: [29, 34]
Generated Node #0,1,2: 58:[29, 34] Operation: 94-60=34
Exploring Operation: 60-29=31, Resulting Numbers: [94, 31]
Generated Node #0,1,3: 58:[94, 31] Operation: 60-29=31
Moving to Node #0,3,1
Current State: 58:[60, 2], Operations: ['94-12=82', '82/41=2']
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,58 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[60, 94, 41, 12], Operations: []
Exploring Operation: 94-12=82, Resulting Numbers: [60, 41, 82]
Generated Node #0,3: 58:[60, 41, 82] Operation: 94-12=82
Moving to Node #0,3
Current State: 58:[60, 41, 82], Operations: ['94-12=82']
Exploring Operation: 82/41=2, Resulting Numbers: [60, 2]
Generated Node #0,3,1: 58:[60, 2] Operation: 82/41=2
Moving to Node #0,3,1
Current State: 58:[60, 2], Operations: ['94-12=82', '82/41=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
11,
31,
57,
33
] | 91 | [
"33/11=3",
"31+57=88",
"3+88=91"
] | Current State: 91:[11, 31, 57, 33], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [31, 57, 3]
Generated Node #2: [31, 57, 3] from Operation: 33/11=3
Current State: 91:[31, 57, 3], Operations: ['33/11=3']
Exploring Operation: 31+57=88, Resulting Numbers: [3, 88]
Generated Node #3: [3, 88] from Operation: 31+57=88
Current State: 91:[3, 88], Operations: ['33/11=3', '31+57=88']
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[11, 31, 57, 33], Operations: []
Exploring Operation: 31+57=88, Resulting Numbers: [11, 33, 88]
Generated Node #0,0: 91:[11, 33, 88] Operation: 31+57=88
Exploring Operation: 57-33=24, Resulting Numbers: [11, 31, 24]
Generated Node #0,1: 91:[11, 31, 24] Operation: 57-33=24
Exploring Operation: 57+33=90, Resulting Numbers: [11, 31, 90]
Generated Node #0,2: 91:[11, 31, 90] Operation: 57+33=90
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[11, 31, 90], Operations: ['57+33=90']
Exploring Operation: 31-11=20, Resulting Numbers: [90, 20]
Generated Node #0,2,0: 91:[90, 20] Operation: 31-11=20
Exploring Operation: 11+31=42, Resulting Numbers: [90, 42]
Generated Node #0,2,1: 91:[90, 42] Operation: 11+31=42
Exploring Operation: 11+90=101, Resulting Numbers: [31, 101]
Generated Node #0,2,2: 91:[31, 101] Operation: 11+90=101
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[90, 20], Operations: ['57+33=90', '31-11=20']
Exploring Operation: 90*20=1800, Resulting Numbers: [1800]
1800,91 unequal: No Solution
Exploring Operation: 90+20=110, Resulting Numbers: [110]
110,91 unequal: No Solution
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[31, 101], Operations: ['57+33=90', '11+90=101']
Exploring Operation: 31*101=3131, Resulting Numbers: [3131]
3131,91 unequal: No Solution
Exploring Operation: 101-31=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 31+101=132, Resulting Numbers: [132]
132,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[90, 42], Operations: ['57+33=90', '11+31=42']
Exploring Operation: 90+42=132, Resulting Numbers: [132]
132,91 unequal: No Solution
Exploring Operation: 90*42=3780, Resulting Numbers: [3780]
3780,91 unequal: No Solution
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,91 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: 91:[11, 33, 88], Operations: ['31+57=88']
Exploring Operation: 88/11=8, Resulting Numbers: [33, 8]
Generated Node #0,0,0: 91:[33, 8] Operation: 88/11=8
Exploring Operation: 33/11=3, Resulting Numbers: [88, 3]
Generated Node #0,0,1: 91:[88, 3] Operation: 33/11=3
Exploring Operation: 33-11=22, Resulting Numbers: [88, 22]
Generated Node #0,0,2: 91:[88, 22] Operation: 33-11=22
Moving to Node #0,0,1
Current State: 91:[88, 3], Operations: ['31+57=88', '33/11=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,91 unequal: No Solution
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[11, 31, 57, 33], Operations: []
Exploring Operation: 31+57=88, Resulting Numbers: [11, 33, 88]
Generated Node #0,0: 91:[11, 33, 88] Operation: 31+57=88
Moving to Node #0,0
Current State: 91:[11, 33, 88], Operations: ['31+57=88']
Exploring Operation: 33/11=3, Resulting Numbers: [88, 3]
Generated Node #0,0,1: 91:[88, 3] Operation: 33/11=3
Moving to Node #0,0,1
Current State: 91:[88, 3], Operations: ['31+57=88', '33/11=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
67,
91,
22,
97
] | 65 | [
"97-91=6",
"22*6=132",
"132-67=65"
] | Current State: 65:[67, 91, 22, 97], Operations: []
Exploring Operation: 97-91=6, Resulting Numbers: [67, 22, 6]
Generated Node #2: [67, 22, 6] from Operation: 97-91=6
Current State: 65:[67, 22, 6], Operations: ['97-91=6']
Exploring Operation: 22*6=132, Resulting Numbers: [67, 132]
Generated Node #3: [67, 132] from Operation: 22*6=132
Current State: 65:[67, 132], Operations: ['97-91=6', '22*6=132']
Exploring Operation: 132-67=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[67, 91, 22, 97], Operations: []
Exploring Operation: 91-22=69, Resulting Numbers: [67, 97, 69]
Generated Node #0,0: 65:[67, 97, 69] Operation: 91-22=69
Exploring Operation: 97-91=6, Resulting Numbers: [67, 22, 6]
Generated Node #0,1: 65:[67, 22, 6] Operation: 97-91=6
Moving to Node #0,1
Current State: 65:[67, 22, 6], Operations: ['97-91=6']
Exploring Operation: 22-6=16, Resulting Numbers: [67, 16]
Generated Node #0,1,0: 65:[67, 16] Operation: 22-6=16
Exploring Operation: 67-6=61, Resulting Numbers: [22, 61]
Generated Node #0,1,1: 65:[22, 61] Operation: 67-6=61
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[67, 16], Operations: ['97-91=6', '22-6=16']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[22, 61], Operations: ['97-91=6', '67-6=61']
Exploring Operation: 22+61=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,65 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: 65:[67, 97, 69], Operations: ['91-22=69']
Exploring Operation: 97-69=28, Resulting Numbers: [67, 28]
Generated Node #0,0,0: 65:[67, 28] Operation: 97-69=28
Exploring Operation: 97-67=30, Resulting Numbers: [69, 30]
Generated Node #0,0,1: 65:[69, 30] Operation: 97-67=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[67, 28], Operations: ['91-22=69', '97-69=28']
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[69, 30], Operations: ['91-22=69', '97-67=30']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 69+30=99, Resulting Numbers: [99]
99,65 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 |
[
49,
17,
32,
34
] | 34 | [
"49-17=32",
"32+34=66",
"66-32=34"
] | Current State: 34:[49, 17, 32, 34], Operations: []
Exploring Operation: 49-17=32, Resulting Numbers: [32, 34, 32]
Generated Node #2: [32, 34, 32] from Operation: 49-17=32
Current State: 34:[32, 34, 32], Operations: ['49-17=32']
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,34 equal: Goal Reached
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[49, 17, 32, 34], Operations: []
Exploring Operation: 49-34=15, Resulting Numbers: [17, 32, 15]
Generated Node #0,0: 34:[17, 32, 15] Operation: 49-34=15
Exploring Operation: 49-17=32, Resulting Numbers: [32, 34, 32]
Generated Node #0,1: 34:[32, 34, 32] Operation: 49-17=32
Exploring Operation: 49-32=17, Resulting Numbers: [17, 34, 17]
Generated Node #0,2: 34:[17, 34, 17] Operation: 49-32=17
Moving to Node #0,2
Current State: 34:[17, 34, 17], Operations: ['49-32=17']
Exploring Operation: 34/17=2, Resulting Numbers: [17, 2]
Generated Node #0,2,0: 34:[17, 2] Operation: 34/17=2
Exploring Operation: 17+17=34, Resulting Numbers: [34, 34]
Generated Node #0,2,1: 34:[34, 34] Operation: 17+17=34
Exploring Operation: 34-17=17, Resulting Numbers: [17, 17]
Generated Node #0,2,2: 34:[17, 17] Operation: 34-17=17
Moving to Node #0,0
Current State: 34:[17, 32, 15], Operations: ['49-34=15']
Exploring Operation: 32-15=17, Resulting Numbers: [17, 17]
Generated Node #0,0,0: 34:[17, 17] Operation: 32-15=17
Exploring Operation: 32-17=15, Resulting Numbers: [15, 15]
Generated Node #0,0,1: 34:[15, 15] Operation: 32-17=15
Exploring Operation: 17-15=2, Resulting Numbers: [32, 2]
Generated Node #0,0,2: 34:[32, 2] Operation: 17-15=2
Moving to Node #0,1
Current State: 34:[32, 34, 32], Operations: ['49-17=32']
Exploring Operation: 34-32=2, Resulting Numbers: [32, 2]
Generated Node #0,1,0: 34:[32, 2] Operation: 34-32=2
Exploring Operation: 32/32=1, Resulting Numbers: [34, 1]
Generated Node #0,1,1: 34:[34, 1] Operation: 32/32=1
Exploring Operation: 32-32=0, Resulting Numbers: [34, 0]
Generated Node #0,1,2: 34:[34, 0] Operation: 32-32=0
Moving to Node #0,2,0
Current State: 34:[17, 2], Operations: ['49-32=17', '34/17=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[49, 17, 32, 34], Operations: []
Exploring Operation: 49-32=17, Resulting Numbers: [17, 34, 17]
Generated Node #0,2: 34:[17, 34, 17] Operation: 49-32=17
Moving to Node #0,2
Current State: 34:[17, 34, 17], Operations: ['49-32=17']
Exploring Operation: 34/17=2, Resulting Numbers: [17, 2]
Generated Node #0,2,0: 34:[17, 2] Operation: 34/17=2
Moving to Node #0,2,0
Current State: 34:[17, 2], Operations: ['49-32=17', '34/17=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
12,
58,
44,
82
] | 62 | [
"44*82=3608",
"3608-12=3596",
"3596/58=62"
] | Current State: 62:[12, 58, 44, 82], Operations: []
Exploring Operation: 44*82=3608, Resulting Numbers: [12, 58, 3608]
Generated Node #2: [12, 58, 3608] from Operation: 44*82=3608
Current State: 62:[12, 58, 3608], Operations: ['44*82=3608']
Exploring Operation: 3608-12=3596, Resulting Numbers: [58, 3596]
Generated Node #3: [58, 3596] from Operation: 3608-12=3596
Current State: 62:[58, 3596], Operations: ['44*82=3608', '3608-12=3596']
Exploring Operation: 3596/58=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[12, 58, 44, 82], Operations: []
Exploring Operation: 82-44=38, Resulting Numbers: [12, 58, 38]
Generated Node #0,0: 62:[12, 58, 38] Operation: 82-44=38
Moving to Node #0,0
Current State: 62:[12, 58, 38], Operations: ['82-44=38']
Exploring Operation: 38-12=26, Resulting Numbers: [58, 26]
Generated Node #0,0,0: 62:[58, 26] Operation: 38-12=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[58, 26], Operations: ['82-44=38', '38-12=26']
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
8,
69,
69
] | 38 | [
"22*8=176",
"69+69=138",
"176-138=38"
] | Current State: 38:[22, 8, 69, 69], Operations: []
Exploring Operation: 22*8=176, Resulting Numbers: [69, 69, 176]
Generated Node #2: [69, 69, 176] from Operation: 22*8=176
Current State: 38:[69, 69, 176], Operations: ['22*8=176']
Exploring Operation: 69+69=138, Resulting Numbers: [176, 138]
Generated Node #3: [176, 138] from Operation: 69+69=138
Current State: 38:[176, 138], Operations: ['22*8=176', '69+69=138']
Exploring Operation: 176-138=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[22, 8, 69, 69], Operations: []
Exploring Operation: 69-69=0, Resulting Numbers: [22, 8, 0]
Generated Node #0,0: 38:[22, 8, 0] Operation: 69-69=0
Exploring Operation: 69/69=1, Resulting Numbers: [22, 8, 1]
Generated Node #0,1: 38:[22, 8, 1] Operation: 69/69=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[22, 8, 1], Operations: ['69/69=1']
Exploring Operation: 22-1=21, Resulting Numbers: [8, 21]
Generated Node #0,1,0: 38:[8, 21] Operation: 22-1=21
Exploring Operation: 22-8=14, Resulting Numbers: [1, 14]
Generated Node #0,1,1: 38:[1, 14] Operation: 22-8=14
Moving to Node #0,1,1
Current State: 38:[1, 14], Operations: ['69/69=1', '22-8=14']
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[8, 21], Operations: ['69/69=1', '22-1=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[22, 8, 0], Operations: ['69-69=0']
Exploring Operation: 22-8=14, Resulting Numbers: [0, 14]
Generated Node #0,0,0: 38:[0, 14] Operation: 22-8=14
Exploring Operation: 8*0=0, Resulting Numbers: [22, 0]
Generated Node #0,0,1: 38:[22, 0] Operation: 8*0=0
Moving to Node #0,0,1
Current State: 38:[22, 0], Operations: ['69-69=0', '8*0=0']
Exploring Operation: 22*0=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 22+0=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[0, 14], Operations: ['69-69=0', '22-8=14']
Exploring Operation: 0+14=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 0*14=0, Resulting Numbers: [0]
0,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
63,
3,
1,
49
] | 41 | [
"63-49=14",
"3*14=42",
"42-1=41"
] | Current State: 41:[63, 3, 1, 49], Operations: []
Exploring Operation: 63-49=14, Resulting Numbers: [3, 1, 14]
Generated Node #2: [3, 1, 14] from Operation: 63-49=14
Current State: 41:[3, 1, 14], Operations: ['63-49=14']
Exploring Operation: 3*14=42, Resulting Numbers: [1, 42]
Generated Node #3: [1, 42] from Operation: 3*14=42
Current State: 41:[1, 42], Operations: ['63-49=14', '3*14=42']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[63, 3, 1, 49], Operations: []
Exploring Operation: 63-1=62, Resulting Numbers: [3, 49, 62]
Generated Node #0,0: 41:[3, 49, 62] Operation: 63-1=62
Exploring Operation: 63-3=60, Resulting Numbers: [1, 49, 60]
Generated Node #0,1: 41:[1, 49, 60] Operation: 63-3=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[3, 49, 62], Operations: ['63-1=62']
Exploring Operation: 49-3=46, Resulting Numbers: [62, 46]
Generated Node #0,0,0: 41:[62, 46] Operation: 49-3=46
Exploring Operation: 62-3=59, Resulting Numbers: [49, 59]
Generated Node #0,0,1: 41:[49, 59] Operation: 62-3=59
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[62, 46], Operations: ['63-1=62', '49-3=46']
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 62+46=108, Resulting Numbers: [108]
108,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[49, 59], Operations: ['63-1=62', '62-3=59']
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,41 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[1, 49, 60], Operations: ['63-3=60']
Exploring Operation: 49-1=48, Resulting Numbers: [60, 48]
Generated Node #0,1,0: 41:[60, 48] Operation: 49-1=48
Exploring Operation: 60-1=59, Resulting Numbers: [49, 59]
Generated Node #0,1,1: 41:[49, 59] Operation: 60-1=59
Moving to Node #0,1,0
Current State: 41:[60, 48], Operations: ['63-3=60', '49-1=48']
Exploring Operation: 60+48=108, Resulting Numbers: [108]
108,41 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[49, 59], Operations: ['63-3=60', '60-1=59']
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,41 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,41 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 |
[
6,
76,
41,
75
] | 36 | [
"76-6=70",
"75-41=34",
"70-34=36"
] | Current State: 36:[6, 76, 41, 75], Operations: []
Exploring Operation: 76-6=70, Resulting Numbers: [41, 75, 70]
Generated Node #2: [41, 75, 70] from Operation: 76-6=70
Current State: 36:[41, 75, 70], Operations: ['76-6=70']
Exploring Operation: 75-41=34, Resulting Numbers: [70, 34]
Generated Node #3: [70, 34] from Operation: 75-41=34
Current State: 36:[70, 34], Operations: ['76-6=70', '75-41=34']
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[6, 76, 41, 75], Operations: []
Exploring Operation: 75-41=34, Resulting Numbers: [6, 76, 34]
Generated Node #0,0: 36:[6, 76, 34] Operation: 75-41=34
Exploring Operation: 76-6=70, Resulting Numbers: [41, 75, 70]
Generated Node #0,1: 36:[41, 75, 70] Operation: 76-6=70
Exploring Operation: 76-41=35, Resulting Numbers: [6, 75, 35]
Generated Node #0,2: 36:[6, 75, 35] Operation: 76-41=35
Exploring Operation: 75-6=69, Resulting Numbers: [76, 41, 69]
Generated Node #0,3: 36:[76, 41, 69] Operation: 75-6=69
Exploring Operation: 76-75=1, Resulting Numbers: [6, 41, 1]
Generated Node #0,4: 36:[6, 41, 1] Operation: 76-75=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 36:[6, 41, 1], Operations: ['76-75=1']
Exploring Operation: 41-1=40, Resulting Numbers: [6, 40]
Generated Node #0,4,0: 36:[6, 40] Operation: 41-1=40
Exploring Operation: 6/1=6, Resulting Numbers: [41, 6]
Generated Node #0,4,1: 36:[41, 6] Operation: 6/1=6
Exploring Operation: 41-6=35, Resulting Numbers: [1, 35]
Generated Node #0,4,2: 36:[1, 35] Operation: 41-6=35
Exploring Operation: 41*1=41, Resulting Numbers: [6, 41]
Generated Node #0,4,3: 36:[6, 41] Operation: 41*1=41
Exploring Operation: 6*1=6, Resulting Numbers: [41, 6]
Generated Node #0,4,4: 36:[41, 6] Operation: 6*1=6
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 36:[1, 35], Operations: ['76-75=1', '41-6=35']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[6, 76, 41, 75], Operations: []
Exploring Operation: 76-75=1, Resulting Numbers: [6, 41, 1]
Generated Node #0,4: 36:[6, 41, 1] Operation: 76-75=1
Moving to Node #0,4
Current State: 36:[6, 41, 1], Operations: ['76-75=1']
Exploring Operation: 41-6=35, Resulting Numbers: [1, 35]
Generated Node #0,4,2: 36:[1, 35] Operation: 41-6=35
Moving to Node #0,4,2
Current State: 36:[1, 35], Operations: ['76-75=1', '41-6=35']
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
11,
61,
5,
34
] | 11 | [
"61-11=50",
"5+34=39",
"50-39=11"
] | Current State: 11:[11, 61, 5, 34], Operations: []
Exploring Operation: 61-11=50, Resulting Numbers: [5, 34, 50]
Generated Node #2: [5, 34, 50] from Operation: 61-11=50
Current State: 11:[5, 34, 50], Operations: ['61-11=50']
Exploring Operation: 5+34=39, Resulting Numbers: [50, 39]
Generated Node #3: [50, 39] from Operation: 5+34=39
Current State: 11:[50, 39], Operations: ['61-11=50', '5+34=39']
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[11, 61, 5, 34], Operations: []
Exploring Operation: 61-34=27, Resulting Numbers: [11, 5, 27]
Generated Node #0,0: 11:[11, 5, 27] Operation: 61-34=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[11, 5, 27], Operations: ['61-34=27']
Exploring Operation: 27-11=16, Resulting Numbers: [5, 16]
Generated Node #0,0,0: 11:[5, 16] Operation: 27-11=16
Moving to Node #0,0,0
Current State: 11:[5, 16], Operations: ['61-34=27', '27-11=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[11, 61, 5, 34], Operations: []
Exploring Operation: 61-34=27, Resulting Numbers: [11, 5, 27]
Generated Node #0,0: 11:[11, 5, 27] Operation: 61-34=27
Moving to Node #0,0
Current State: 11:[11, 5, 27], Operations: ['61-34=27']
Exploring Operation: 27-11=16, Resulting Numbers: [5, 16]
Generated Node #0,0,0: 11:[5, 16] Operation: 27-11=16
Moving to Node #0,0,0
Current State: 11:[5, 16], Operations: ['61-34=27', '27-11=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
8,
3,
16,
81
] | 13 | [
"8-3=5",
"81-16=65",
"65/5=13"
] | Current State: 13:[8, 3, 16, 81], Operations: []
Exploring Operation: 8-3=5, Resulting Numbers: [16, 81, 5]
Generated Node #2: [16, 81, 5] from Operation: 8-3=5
Current State: 13:[16, 81, 5], Operations: ['8-3=5']
Exploring Operation: 81-16=65, Resulting Numbers: [5, 65]
Generated Node #3: [5, 65] from Operation: 81-16=65
Current State: 13:[5, 65], Operations: ['8-3=5', '81-16=65']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[8, 3, 16, 81], Operations: []
Exploring Operation: 81-16=65, Resulting Numbers: [8, 3, 65]
Generated Node #0,0: 13:[8, 3, 65] Operation: 81-16=65
Exploring Operation: 81/3=27, Resulting Numbers: [8, 16, 27]
Generated Node #0,1: 13:[8, 16, 27] Operation: 81/3=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[8, 16, 27], Operations: ['81/3=27']
Exploring Operation: 27-8=19, Resulting Numbers: [16, 19]
Generated Node #0,1,0: 13:[16, 19] Operation: 27-8=19
Exploring Operation: 27-16=11, Resulting Numbers: [8, 11]
Generated Node #0,1,1: 13:[8, 11] Operation: 27-16=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[8, 11], Operations: ['81/3=27', '27-16=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[16, 19], Operations: ['81/3=27', '27-8=19']
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[8, 3, 65], Operations: ['81-16=65']
Exploring Operation: 65-8=57, Resulting Numbers: [3, 57]
Generated Node #0,0,0: 13:[3, 57] Operation: 65-8=57
Exploring Operation: 8+3=11, Resulting Numbers: [65, 11]
Generated Node #0,0,1: 13:[65, 11] Operation: 8+3=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[3, 57], Operations: ['81-16=65', '65-8=57']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[65, 11], Operations: ['81-16=65', '8+3=11']
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,13 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
48,
27,
28,
14
] | 98 | [
"48-27=21",
"28-21=7",
"14*7=98"
] | Current State: 98:[48, 27, 28, 14], Operations: []
Exploring Operation: 48-27=21, Resulting Numbers: [28, 14, 21]
Generated Node #2: [28, 14, 21] from Operation: 48-27=21
Current State: 98:[28, 14, 21], Operations: ['48-27=21']
Exploring Operation: 28-21=7, Resulting Numbers: [14, 7]
Generated Node #3: [14, 7] from Operation: 28-21=7
Current State: 98:[14, 7], Operations: ['48-27=21', '28-21=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[48, 27, 28, 14], Operations: []
Exploring Operation: 28-14=14, Resulting Numbers: [48, 27, 14]
Generated Node #0,0: 98:[48, 27, 14] Operation: 28-14=14
Exploring Operation: 27+28=55, Resulting Numbers: [48, 14, 55]
Generated Node #0,1: 98:[48, 14, 55] Operation: 27+28=55
Exploring Operation: 28-27=1, Resulting Numbers: [48, 14, 1]
Generated Node #0,2: 98:[48, 14, 1] Operation: 28-27=1
Exploring Operation: 28/14=2, Resulting Numbers: [48, 27, 2]
Generated Node #0,3: 98:[48, 27, 2] Operation: 28/14=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[48, 14, 1], Operations: ['28-27=1']
Exploring Operation: 14*1=14, Resulting Numbers: [48, 14]
Generated Node #0,2,0: 98:[48, 14] Operation: 14*1=14
Exploring Operation: 48/1=48, Resulting Numbers: [14, 48]
Generated Node #0,2,1: 98:[14, 48] Operation: 48/1=48
Exploring Operation: 48*1=48, Resulting Numbers: [14, 48]
Generated Node #0,2,2: 98:[14, 48] Operation: 48*1=48
Exploring Operation: 48+1=49, Resulting Numbers: [14, 49]
Generated Node #0,2,3: 98:[14, 49] Operation: 48+1=49
Moving to Node #0,2,3
Current State: 98:[14, 49], Operations: ['28-27=1', '48+1=49']
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[14, 48], Operations: ['28-27=1', '48/1=48']
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,98 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[48, 14], Operations: ['28-27=1', '14*1=14']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[14, 48], Operations: ['28-27=1', '48*1=48']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[48, 14, 55], Operations: ['27+28=55']
Exploring Operation: 48+55=103, Resulting Numbers: [14, 103]
Generated Node #0,1,0: 98:[14, 103] Operation: 48+55=103
Exploring Operation: 55-14=41, Resulting Numbers: [48, 41]
Generated Node #0,1,1: 98:[48, 41] Operation: 55-14=41
Exploring Operation: 55-48=7, Resulting Numbers: [14, 7]
Generated Node #0,1,2: 98:[14, 7] Operation: 55-48=7
Exploring Operation: 48+14=62, Resulting Numbers: [55, 62]
Generated Node #0,1,3: 98:[55, 62] Operation: 48+14=62
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[14, 7], Operations: ['27+28=55', '55-48=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[48, 27, 28, 14], Operations: []
Exploring Operation: 27+28=55, Resulting Numbers: [48, 14, 55]
Generated Node #0,1: 98:[48, 14, 55] Operation: 27+28=55
Moving to Node #0,1
Current State: 98:[48, 14, 55], Operations: ['27+28=55']
Exploring Operation: 55-48=7, Resulting Numbers: [14, 7]
Generated Node #0,1,2: 98:[14, 7] Operation: 55-48=7
Moving to Node #0,1,2
Current State: 98:[14, 7], Operations: ['27+28=55', '55-48=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
65,
83,
64,
70
] | 14 | [
"65+83=148",
"64+70=134",
"148-134=14"
] | Current State: 14:[65, 83, 64, 70], Operations: []
Exploring Operation: 65+83=148, Resulting Numbers: [64, 70, 148]
Generated Node #2: [64, 70, 148] from Operation: 65+83=148
Current State: 14:[64, 70, 148], Operations: ['65+83=148']
Exploring Operation: 64+70=134, Resulting Numbers: [148, 134]
Generated Node #3: [148, 134] from Operation: 64+70=134
Current State: 14:[148, 134], Operations: ['65+83=148', '64+70=134']
Exploring Operation: 148-134=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[65, 83, 64, 70], Operations: []
Exploring Operation: 83-64=19, Resulting Numbers: [65, 70, 19]
Generated Node #0,0: 14:[65, 70, 19] Operation: 83-64=19
Exploring Operation: 83-65=18, Resulting Numbers: [64, 70, 18]
Generated Node #0,1: 14:[64, 70, 18] Operation: 83-65=18
Exploring Operation: 83-70=13, Resulting Numbers: [65, 64, 13]
Generated Node #0,2: 14:[65, 64, 13] Operation: 83-70=13
Exploring Operation: 70-65=5, Resulting Numbers: [83, 64, 5]
Generated Node #0,3: 14:[83, 64, 5] Operation: 70-65=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[65, 64, 13], Operations: ['83-70=13']
Exploring Operation: 64-13=51, Resulting Numbers: [65, 51]
Generated Node #0,2,0: 14:[65, 51] Operation: 64-13=51
Exploring Operation: 65-13=52, Resulting Numbers: [64, 52]
Generated Node #0,2,1: 14:[64, 52] Operation: 65-13=52
Exploring Operation: 65/13=5, Resulting Numbers: [64, 5]
Generated Node #0,2,2: 14:[64, 5] Operation: 65/13=5
Exploring Operation: 65-64=1, Resulting Numbers: [13, 1]
Generated Node #0,2,3: 14:[13, 1] Operation: 65-64=1
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 14:[13, 1], Operations: ['83-70=13', '65-64=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[65, 83, 64, 70], Operations: []
Exploring Operation: 83-70=13, Resulting Numbers: [65, 64, 13]
Generated Node #0,2: 14:[65, 64, 13] Operation: 83-70=13
Moving to Node #0,2
Current State: 14:[65, 64, 13], Operations: ['83-70=13']
Exploring Operation: 65-64=1, Resulting Numbers: [13, 1]
Generated Node #0,2,3: 14:[13, 1] Operation: 65-64=1
Moving to Node #0,2,3
Current State: 14:[13, 1], Operations: ['83-70=13', '65-64=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
21,
84,
12,
3
] | 14 | [
"21-12=9",
"9-3=6",
"84/6=14"
] | Current State: 14:[21, 84, 12, 3], Operations: []
Exploring Operation: 21-12=9, Resulting Numbers: [84, 3, 9]
Generated Node #2: [84, 3, 9] from Operation: 21-12=9
Current State: 14:[84, 3, 9], Operations: ['21-12=9']
Exploring Operation: 9-3=6, Resulting Numbers: [84, 6]
Generated Node #3: [84, 6] from Operation: 9-3=6
Current State: 14:[84, 6], Operations: ['21-12=9', '9-3=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[21, 84, 12, 3], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [21, 3, 7]
Generated Node #0,0: 14:[21, 3, 7] Operation: 84/12=7
Exploring Operation: 84-21=63, Resulting Numbers: [12, 3, 63]
Generated Node #0,1: 14:[12, 3, 63] Operation: 84-21=63
Exploring Operation: 84-12=72, Resulting Numbers: [21, 3, 72]
Generated Node #0,2: 14:[21, 3, 72] Operation: 84-12=72
Exploring Operation: 84/3=28, Resulting Numbers: [21, 12, 28]
Generated Node #0,3: 14:[21, 12, 28] Operation: 84/3=28
Exploring Operation: 84/21=4, Resulting Numbers: [12, 3, 4]
Generated Node #0,4: 14:[12, 3, 4] Operation: 84/21=4
Start Sub Search at level 1: Moving to Node #0,4
Current State: 14:[12, 3, 4], Operations: ['84/21=4']
Exploring Operation: 12+3=15, Resulting Numbers: [4, 15]
Generated Node #0,4,0: 14:[4, 15] Operation: 12+3=15
Exploring Operation: 12/4=3, Resulting Numbers: [3, 3]
Generated Node #0,4,1: 14:[3, 3] Operation: 12/4=3
Exploring Operation: 12+4=16, Resulting Numbers: [3, 16]
Generated Node #0,4,2: 14:[3, 16] Operation: 12+4=16
Exploring Operation: 12-4=8, Resulting Numbers: [3, 8]
Generated Node #0,4,3: 14:[3, 8] Operation: 12-4=8
Exploring Operation: 3+4=7, Resulting Numbers: [12, 7]
Generated Node #0,4,4: 14:[12, 7] Operation: 3+4=7
Moving to Node #0,4,1
Current State: 14:[3, 3], Operations: ['84/21=4', '12/4=3']
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Moving to Node #0,4,4
Current State: 14:[12, 7], Operations: ['84/21=4', '3+4=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,14 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Moving to Node #0,4,3
Current State: 14:[3, 8], Operations: ['84/21=4', '12-4=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Moving to Node #0,4,0
Current State: 14:[4, 15], Operations: ['84/21=4', '12+3=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Moving to Node #0,4,2
Current State: 14:[3, 16], Operations: ['84/21=4', '12+4=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,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,0
Current State: 14:[21, 3, 7], Operations: ['84/12=7']
Exploring Operation: 21-7=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 14:[3, 14] Operation: 21-7=14
Exploring Operation: 21/3=7, Resulting Numbers: [7, 7]
Generated Node #0,0,1: 14:[7, 7] Operation: 21/3=7
Exploring Operation: 7-3=4, Resulting Numbers: [21, 4]
Generated Node #0,0,2: 14:[21, 4] Operation: 7-3=4
Exploring Operation: 21-3=18, Resulting Numbers: [7, 18]
Generated Node #0,0,3: 14:[7, 18] Operation: 21-3=18
Exploring Operation: 21/7=3, Resulting Numbers: [3, 3]
Generated Node #0,0,4: 14:[3, 3] Operation: 21/7=3
Moving to Node #0,0,1
Current State: 14:[7, 7], Operations: ['84/12=7', '21/3=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[21, 84, 12, 3], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [21, 3, 7]
Generated Node #0,0: 14:[21, 3, 7] Operation: 84/12=7
Moving to Node #0,0
Current State: 14:[21, 3, 7], Operations: ['84/12=7']
Exploring Operation: 21/3=7, Resulting Numbers: [7, 7]
Generated Node #0,0,1: 14:[7, 7] Operation: 21/3=7
Moving to Node #0,0,1
Current State: 14:[7, 7], Operations: ['84/12=7', '21/3=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
14,
16,
93,
17
] | 38 | [
"16-14=2",
"93-17=76",
"76/2=38"
] | Current State: 38:[14, 16, 93, 17], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [93, 17, 2]
Generated Node #2: [93, 17, 2] from Operation: 16-14=2
Current State: 38:[93, 17, 2], Operations: ['16-14=2']
Exploring Operation: 93-17=76, Resulting Numbers: [2, 76]
Generated Node #3: [2, 76] from Operation: 93-17=76
Current State: 38:[2, 76], Operations: ['16-14=2', '93-17=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[14, 16, 93, 17], Operations: []
Exploring Operation: 93-17=76, Resulting Numbers: [14, 16, 76]
Generated Node #0,0: 38:[14, 16, 76] Operation: 93-17=76
Exploring Operation: 93-14=79, Resulting Numbers: [16, 17, 79]
Generated Node #0,1: 38:[16, 17, 79] Operation: 93-14=79
Exploring Operation: 93-16=77, Resulting Numbers: [14, 17, 77]
Generated Node #0,2: 38:[14, 17, 77] Operation: 93-16=77
Moving to Node #0,0
Current State: 38:[14, 16, 76], Operations: ['93-17=76']
Exploring Operation: 76-16=60, Resulting Numbers: [14, 60]
Generated Node #0,0,0: 38:[14, 60] Operation: 76-16=60
Exploring Operation: 16-14=2, Resulting Numbers: [76, 2]
Generated Node #0,0,1: 38:[76, 2] Operation: 16-14=2
Exploring Operation: 76-14=62, Resulting Numbers: [16, 62]
Generated Node #0,0,2: 38:[16, 62] Operation: 76-14=62
Moving to Node #0,1
Current State: 38:[16, 17, 79], Operations: ['93-14=79']
Exploring Operation: 17-16=1, Resulting Numbers: [79, 1]
Generated Node #0,1,0: 38:[79, 1] Operation: 17-16=1
Exploring Operation: 79-17=62, Resulting Numbers: [16, 62]
Generated Node #0,1,1: 38:[16, 62] Operation: 79-17=62
Exploring Operation: 79-16=63, Resulting Numbers: [17, 63]
Generated Node #0,1,2: 38:[17, 63] Operation: 79-16=63
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[16, 62], Operations: ['93-14=79', '79-17=62']
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,38 unequal: No Solution
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[17, 63], Operations: ['93-14=79', '79-16=63']
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 17*63=1071, Resulting Numbers: [1071]
1071,38 unequal: No Solution
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[79, 1], Operations: ['93-14=79', '17-16=1']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,38 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,38 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: 38:[14, 17, 77], Operations: ['93-16=77']
Exploring Operation: 17-14=3, Resulting Numbers: [77, 3]
Generated Node #0,2,0: 38:[77, 3] Operation: 17-14=3
Exploring Operation: 77-14=63, Resulting Numbers: [17, 63]
Generated Node #0,2,1: 38:[17, 63] Operation: 77-14=63
Exploring Operation: 77-17=60, Resulting Numbers: [14, 60]
Generated Node #0,2,2: 38:[14, 60] Operation: 77-17=60
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[17, 63], Operations: ['93-16=77', '77-14=63']
Exploring Operation: 17*63=1071, Resulting Numbers: [1071]
1071,38 unequal: No Solution
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[14, 60], Operations: ['93-16=77', '77-17=60']
Exploring Operation: 14+60=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 14*60=840, Resulting Numbers: [840]
840,38 unequal: No Solution
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[77, 3], Operations: ['93-16=77', '17-14=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,38 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,38 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: 38:[14, 60], Operations: ['93-17=76', '76-16=60']
Exploring Operation: 14*60=840, Resulting Numbers: [840]
840,38 unequal: No Solution
Exploring Operation: 14+60=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[16, 62], Operations: ['93-17=76', '76-14=62']
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,38 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[76, 2], Operations: ['93-17=76', '16-14=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[14, 16, 93, 17], Operations: []
Exploring Operation: 93-17=76, Resulting Numbers: [14, 16, 76]
Generated Node #0,0: 38:[14, 16, 76] Operation: 93-17=76
Moving to Node #0,0
Current State: 38:[14, 16, 76], Operations: ['93-17=76']
Exploring Operation: 16-14=2, Resulting Numbers: [76, 2]
Generated Node #0,0,1: 38:[76, 2] Operation: 16-14=2
Moving to Node #0,0,1
Current State: 38:[76, 2], Operations: ['93-17=76', '16-14=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.96441 | hs_3 | sum_heuristic |
[
55,
24,
26,
20
] | 45 | [
"26-24=2",
"20/2=10",
"55-10=45"
] | Current State: 45:[55, 24, 26, 20], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [55, 20, 2]
Generated Node #2: [55, 20, 2] from Operation: 26-24=2
Current State: 45:[55, 20, 2], Operations: ['26-24=2']
Exploring Operation: 20/2=10, Resulting Numbers: [55, 10]
Generated Node #3: [55, 10] from Operation: 20/2=10
Current State: 45:[55, 10], Operations: ['26-24=2', '20/2=10']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[55, 24, 26, 20], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [55, 20, 2]
Generated Node #0,0: 45:[55, 20, 2] Operation: 26-24=2
Exploring Operation: 24+26=50, Resulting Numbers: [55, 20, 50]
Generated Node #0,1: 45:[55, 20, 50] Operation: 24+26=50
Exploring Operation: 26+20=46, Resulting Numbers: [55, 24, 46]
Generated Node #0,2: 45:[55, 24, 46] Operation: 26+20=46
Moving to Node #0,0
Current State: 45:[55, 20, 2], Operations: ['26-24=2']
Exploring Operation: 55-20=35, Resulting Numbers: [2, 35]
Generated Node #0,0,0: 45:[2, 35] Operation: 55-20=35
Exploring Operation: 55-2=53, Resulting Numbers: [20, 53]
Generated Node #0,0,1: 45:[20, 53] Operation: 55-2=53
Exploring Operation: 20/2=10, Resulting Numbers: [55, 10]
Generated Node #0,0,2: 45:[55, 10] Operation: 20/2=10
Moving to Node #0,1
Current State: 45:[55, 20, 50], Operations: ['24+26=50']
Exploring Operation: 55-20=35, Resulting Numbers: [50, 35]
Generated Node #0,1,0: 45:[50, 35] Operation: 55-20=35
Exploring Operation: 55-50=5, Resulting Numbers: [20, 5]
Generated Node #0,1,1: 45:[20, 5] Operation: 55-50=5
Exploring Operation: 50-20=30, Resulting Numbers: [55, 30]
Generated Node #0,1,2: 45:[55, 30] Operation: 50-20=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[20, 5], Operations: ['24+26=50', '55-50=5']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[50, 35], Operations: ['24+26=50', '55-20=35']
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,45 unequal: No Solution
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,45 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[55, 30], Operations: ['24+26=50', '50-20=30']
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 55*30=1650, Resulting Numbers: [1650]
1650,45 unequal: No Solution
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 45:[55, 24, 46], Operations: ['26+20=46']
Exploring Operation: 55-24=31, Resulting Numbers: [46, 31]
Generated Node #0,2,0: 45:[46, 31] Operation: 55-24=31
Exploring Operation: 46-24=22, Resulting Numbers: [55, 22]
Generated Node #0,2,1: 45:[55, 22] Operation: 46-24=22
Exploring Operation: 55-46=9, Resulting Numbers: [24, 9]
Generated Node #0,2,2: 45:[24, 9] Operation: 55-46=9
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 45:[24, 9], Operations: ['26+20=46', '55-46=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,45 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[46, 31], Operations: ['26+20=46', '55-24=31']
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 46*31=1426, Resulting Numbers: [1426]
1426,45 unequal: No Solution
Exploring Operation: 46+31=77, Resulting Numbers: [77]
77,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 45:[55, 22], Operations: ['26+20=46', '46-24=22']
Exploring Operation: 55*22=1210, Resulting Numbers: [1210]
1210,45 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Exploring Operation: 55+22=77, Resulting Numbers: [77]
77,45 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: 45:[2, 35], Operations: ['26-24=2', '55-20=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,45 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[55, 10], Operations: ['26-24=2', '20/2=10']
Exploring Operation: 55*10=550, Resulting Numbers: [550]
550,45 unequal: No Solution
Exploring Operation: 55+10=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[55, 24, 26, 20], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [55, 20, 2]
Generated Node #0,0: 45:[55, 20, 2] Operation: 26-24=2
Moving to Node #0,0
Current State: 45:[55, 20, 2], Operations: ['26-24=2']
Exploring Operation: 20/2=10, Resulting Numbers: [55, 10]
Generated Node #0,0,2: 45:[55, 10] Operation: 20/2=10
Moving to Node #0,0,2
Current State: 45:[55, 10], Operations: ['26-24=2', '20/2=10']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.965278 | hs_3 | mult_heuristic |
[
20,
57,
19,
1
] | 10 | [
"57/19=3",
"3-1=2",
"20/2=10"
] | Current State: 10:[20, 57, 19, 1], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [20, 1, 3]
Generated Node #2: [20, 1, 3] from Operation: 57/19=3
Current State: 10:[20, 1, 3], Operations: ['57/19=3']
Exploring Operation: 3-1=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 3-1=2
Current State: 10:[20, 2], Operations: ['57/19=3', '3-1=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[20, 57, 19, 1], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [20, 1, 3]
Generated Node #0,0: 10:[20, 1, 3] Operation: 57/19=3
Moving to Node #0,0
Current State: 10:[20, 1, 3], Operations: ['57/19=3']
Exploring Operation: 20-3=17, Resulting Numbers: [1, 17]
Generated Node #0,0,0: 10:[1, 17] Operation: 20-3=17
Moving to Node #0,0,0
Current State: 10:[1, 17], Operations: ['57/19=3', '20-3=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,10 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
96,
99,
43,
64
] | 65 | [
"99-96=3",
"43*3=129",
"129-64=65"
] | Current State: 65:[96, 99, 43, 64], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [43, 64, 3]
Generated Node #2: [43, 64, 3] from Operation: 99-96=3
Current State: 65:[43, 64, 3], Operations: ['99-96=3']
Exploring Operation: 43*3=129, Resulting Numbers: [64, 129]
Generated Node #3: [64, 129] from Operation: 43*3=129
Current State: 65:[64, 129], Operations: ['99-96=3', '43*3=129']
Exploring Operation: 129-64=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[96, 99, 43, 64], Operations: []
Exploring Operation: 96-43=53, Resulting Numbers: [99, 64, 53]
Generated Node #0,0: 65:[99, 64, 53] Operation: 96-43=53
Exploring Operation: 64-43=21, Resulting Numbers: [96, 99, 21]
Generated Node #0,1: 65:[96, 99, 21] Operation: 64-43=21
Exploring Operation: 99-43=56, Resulting Numbers: [96, 64, 56]
Generated Node #0,2: 65:[96, 64, 56] Operation: 99-43=56
Exploring Operation: 99-96=3, Resulting Numbers: [43, 64, 3]
Generated Node #0,3: 65:[43, 64, 3] Operation: 99-96=3
Exploring Operation: 96-64=32, Resulting Numbers: [99, 43, 32]
Generated Node #0,4: 65:[99, 43, 32] Operation: 96-64=32
Moving to Node #0,3
Current State: 65:[43, 64, 3], Operations: ['99-96=3']
Exploring Operation: 64+3=67, Resulting Numbers: [43, 67]
Generated Node #0,3,0: 65:[43, 67] Operation: 64+3=67
Exploring Operation: 43+3=46, Resulting Numbers: [64, 46]
Generated Node #0,3,1: 65:[64, 46] Operation: 43+3=46
Exploring Operation: 64-43=21, Resulting Numbers: [3, 21]
Generated Node #0,3,2: 65:[3, 21] Operation: 64-43=21
Exploring Operation: 64-3=61, Resulting Numbers: [43, 61]
Generated Node #0,3,3: 65:[43, 61] Operation: 64-3=61
Exploring Operation: 43-3=40, Resulting Numbers: [64, 40]
Generated Node #0,3,4: 65:[64, 40] Operation: 43-3=40
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[3, 21], Operations: ['99-96=3', '64-43=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[64, 46], Operations: ['99-96=3', '43+3=46']
Exploring Operation: 64*46=2944, Resulting Numbers: [2944]
2944,65 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[43, 67], Operations: ['99-96=3', '64+3=67']
Exploring Operation: 43*67=2881, Resulting Numbers: [2881]
2881,65 unequal: No Solution
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 43+67=110, Resulting Numbers: [110]
110,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[43, 61], Operations: ['99-96=3', '64-3=61']
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,65 unequal: No Solution
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,65 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 65:[64, 40], Operations: ['99-96=3', '43-3=40']
Exploring Operation: 64+40=104, Resulting Numbers: [104]
104,65 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 64*40=2560, Resulting Numbers: [2560]
2560,65 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: 65:[96, 64, 56], Operations: ['99-43=56']
Exploring Operation: 96+56=152, Resulting Numbers: [64, 152]
Generated Node #0,2,0: 65:[64, 152] Operation: 96+56=152
Exploring Operation: 96-56=40, Resulting Numbers: [64, 40]
Generated Node #0,2,1: 65:[64, 40] Operation: 96-56=40
Exploring Operation: 64-56=8, Resulting Numbers: [96, 8]
Generated Node #0,2,2: 65:[96, 8] Operation: 64-56=8
Exploring Operation: 64+56=120, Resulting Numbers: [96, 120]
Generated Node #0,2,3: 65:[96, 120] Operation: 64+56=120
Exploring Operation: 96-64=32, Resulting Numbers: [56, 32]
Generated Node #0,2,4: 65:[56, 32] Operation: 96-64=32
Moving to Node #0,0
Current State: 65:[99, 64, 53], Operations: ['96-43=53']
Exploring Operation: 99+53=152, Resulting Numbers: [64, 152]
Generated Node #0,0,0: 65:[64, 152] Operation: 99+53=152
Exploring Operation: 99-64=35, Resulting Numbers: [53, 35]
Generated Node #0,0,1: 65:[53, 35] Operation: 99-64=35
Exploring Operation: 99-53=46, Resulting Numbers: [64, 46]
Generated Node #0,0,2: 65:[64, 46] Operation: 99-53=46
Exploring Operation: 64+53=117, Resulting Numbers: [99, 117]
Generated Node #0,0,3: 65:[99, 117] Operation: 64+53=117
Exploring Operation: 64-53=11, Resulting Numbers: [99, 11]
Generated Node #0,0,4: 65:[99, 11] Operation: 64-53=11
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[64, 46], Operations: ['96-43=53', '99-53=46']
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 64*46=2944, Resulting Numbers: [2944]
2944,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[53, 35], Operations: ['96-43=53', '99-64=35']
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,65 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 65:[99, 11], Operations: ['96-43=53', '64-53=11']
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 99+11=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 99*11=1089, Resulting Numbers: [1089]
1089,65 unequal: No Solution
Exploring Operation: 99/11=9, Resulting Numbers: [9]
9,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[99, 117], Operations: ['96-43=53', '64+53=117']
Exploring Operation: 117-99=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 99*117=11583, Resulting Numbers: [11583]
11583,65 unequal: No Solution
Exploring Operation: 99+117=216, Resulting Numbers: [216]
216,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[64, 152], Operations: ['96-43=53', '99+53=152']
Exploring Operation: 64+152=216, Resulting Numbers: [216]
216,65 unequal: No Solution
Exploring Operation: 64*152=9728, Resulting Numbers: [9728]
9728,65 unequal: No Solution
Exploring Operation: 152-64=88, Resulting Numbers: [88]
88,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 65:[96, 99, 21], Operations: ['64-43=21']
Exploring Operation: 96+21=117, Resulting Numbers: [99, 117]
Generated Node #0,1,0: 65:[99, 117] Operation: 96+21=117
Exploring Operation: 99-96=3, Resulting Numbers: [21, 3]
Generated Node #0,1,1: 65:[21, 3] Operation: 99-96=3
Exploring Operation: 96-21=75, Resulting Numbers: [99, 75]
Generated Node #0,1,2: 65:[99, 75] Operation: 96-21=75
Exploring Operation: 99+21=120, Resulting Numbers: [96, 120]
Generated Node #0,1,3: 65:[96, 120] Operation: 99+21=120
Exploring Operation: 99-21=78, Resulting Numbers: [96, 78]
Generated Node #0,1,4: 65:[96, 78] Operation: 99-21=78
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[21, 3], Operations: ['64-43=21', '99-96=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[99, 75], Operations: ['64-43=21', '96-21=75']
Exploring Operation: 99-75=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 99*75=7425, Resulting Numbers: [7425]
7425,65 unequal: No Solution
Exploring Operation: 99+75=174, Resulting Numbers: [174]
174,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 65:[96, 78], Operations: ['64-43=21', '99-21=78']
Exploring Operation: 96*78=7488, Resulting Numbers: [7488]
7488,65 unequal: No Solution
Exploring Operation: 96+78=174, Resulting Numbers: [174]
174,65 unequal: No Solution
Exploring Operation: 96-78=18, Resulting Numbers: [18]
18,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[99, 117], Operations: ['64-43=21', '96+21=117']
Exploring Operation: 99*117=11583, Resulting Numbers: [11583]
11583,65 unequal: No Solution
Exploring Operation: 117-99=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 99+117=216, Resulting Numbers: [216]
216,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 65:[96, 120], Operations: ['64-43=21', '99+21=120']
Exploring Operation: 96*120=11520, Resulting Numbers: [11520]
11520,65 unequal: No Solution
Exploring Operation: 96+120=216, Resulting Numbers: [216]
216,65 unequal: No Solution
Exploring Operation: 120-96=24, Resulting Numbers: [24]
24,65 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: 65:[99, 43, 32], Operations: ['96-64=32']
Exploring Operation: 43-32=11, Resulting Numbers: [99, 11]
Generated Node #0,4,0: 65:[99, 11] Operation: 43-32=11
Exploring Operation: 43+32=75, Resulting Numbers: [99, 75]
Generated Node #0,4,1: 65:[99, 75] Operation: 43+32=75
Exploring Operation: 99-43=56, Resulting Numbers: [32, 56]
Generated Node #0,4,2: 65:[32, 56] Operation: 99-43=56
Exploring Operation: 99-32=67, Resulting Numbers: [43, 67]
Generated Node #0,4,3: 65:[43, 67] Operation: 99-32=67
Exploring Operation: 99+32=131, Resulting Numbers: [43, 131]
Generated Node #0,4,4: 65:[43, 131] Operation: 99+32=131
Moving to Node #0,4,3
Current State: 65:[43, 67], Operations: ['96-64=32', '99-32=67']
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 43+67=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 43*67=2881, Resulting Numbers: [2881]
2881,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[64, 40], Operations: ['99-43=56', '96-56=40']
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 64*40=2560, Resulting Numbers: [2560]
2560,65 unequal: No Solution
Exploring Operation: 64+40=104, Resulting Numbers: [104]
104,65 unequal: No Solution
Moving to Node #0,4,2
Current State: 65:[32, 56], Operations: ['96-64=32', '99-43=56']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 32*56=1792, Resulting Numbers: [1792]
1792,65 unequal: No Solution
Moving to Node #0,2,4
Current State: 65:[56, 32], Operations: ['99-43=56', '96-64=32']
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,65 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[96, 8], Operations: ['99-43=56', '64-56=8']
Exploring Operation: 96*8=768, Resulting Numbers: [768]
768,65 unequal: No Solution
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 96+8=104, Resulting Numbers: [104]
104,65 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Moving to Node #0,4,0
Current State: 65:[99, 11], Operations: ['96-64=32', '43-32=11']
Exploring Operation: 99*11=1089, Resulting Numbers: [1089]
1089,65 unequal: No Solution
Exploring Operation: 99/11=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 99+11=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Moving to Node #0,4,1
Current State: 65:[99, 75], Operations: ['96-64=32', '43+32=75']
Exploring Operation: 99*75=7425, Resulting Numbers: [7425]
7425,65 unequal: No Solution
Exploring Operation: 99-75=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 99+75=174, Resulting Numbers: [174]
174,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[96, 120], Operations: ['99-43=56', '64+56=120']
Exploring Operation: 120-96=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 96*120=11520, Resulting Numbers: [11520]
11520,65 unequal: No Solution
Exploring Operation: 96+120=216, Resulting Numbers: [216]
216,65 unequal: No Solution
Moving to Node #0,4,4
Current State: 65:[43, 131], Operations: ['96-64=32', '99+32=131']
Exploring Operation: 131-43=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 43+131=174, Resulting Numbers: [174]
174,65 unequal: No Solution
Exploring Operation: 43*131=5633, Resulting Numbers: [5633]
5633,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[64, 152], Operations: ['99-43=56', '96+56=152']
Exploring Operation: 64+152=216, Resulting Numbers: [216]
216,65 unequal: No Solution
Exploring Operation: 152-64=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 64*152=9728, Resulting Numbers: [9728]
9728,65 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
98,
65,
54,
72
] | 93 | [
"98-65=33",
"54+72=126",
"126-33=93"
] | Current State: 93:[98, 65, 54, 72], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [54, 72, 33]
Generated Node #2: [54, 72, 33] from Operation: 98-65=33
Current State: 93:[54, 72, 33], Operations: ['98-65=33']
Exploring Operation: 54+72=126, Resulting Numbers: [33, 126]
Generated Node #3: [33, 126] from Operation: 54+72=126
Current State: 93:[33, 126], Operations: ['98-65=33', '54+72=126']
Exploring Operation: 126-33=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[98, 65, 54, 72], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [54, 72, 33]
Generated Node #0,0: 93:[54, 72, 33] Operation: 98-65=33
Exploring Operation: 72-65=7, Resulting Numbers: [98, 54, 7]
Generated Node #0,1: 93:[98, 54, 7] Operation: 72-65=7
Exploring Operation: 65+54=119, Resulting Numbers: [98, 72, 119]
Generated Node #0,2: 93:[98, 72, 119] Operation: 65+54=119
Exploring Operation: 72-54=18, Resulting Numbers: [98, 65, 18]
Generated Node #0,3: 93:[98, 65, 18] Operation: 72-54=18
Exploring Operation: 65-54=11, Resulting Numbers: [98, 72, 11]
Generated Node #0,4: 93:[98, 72, 11] Operation: 65-54=11
Moving to Node #0,1
Current State: 93:[98, 54, 7], Operations: ['72-65=7']
Exploring Operation: 98-7=91, Resulting Numbers: [54, 91]
Generated Node #0,1,0: 93:[54, 91] Operation: 98-7=91
Exploring Operation: 98-54=44, Resulting Numbers: [7, 44]
Generated Node #0,1,1: 93:[7, 44] Operation: 98-54=44
Exploring Operation: 98+7=105, Resulting Numbers: [54, 105]
Generated Node #0,1,2: 93:[54, 105] Operation: 98+7=105
Exploring Operation: 54-7=47, Resulting Numbers: [98, 47]
Generated Node #0,1,3: 93:[98, 47] Operation: 54-7=47
Exploring Operation: 98/7=14, Resulting Numbers: [54, 14]
Generated Node #0,1,4: 93:[54, 14] Operation: 98/7=14
Moving to Node #0,4
Current State: 93:[98, 72, 11], Operations: ['65-54=11']
Exploring Operation: 98-11=87, Resulting Numbers: [72, 87]
Generated Node #0,4,0: 93:[72, 87] Operation: 98-11=87
Exploring Operation: 98+11=109, Resulting Numbers: [72, 109]
Generated Node #0,4,1: 93:[72, 109] Operation: 98+11=109
Exploring Operation: 72-11=61, Resulting Numbers: [98, 61]
Generated Node #0,4,2: 93:[98, 61] Operation: 72-11=61
Exploring Operation: 72+11=83, Resulting Numbers: [98, 83]
Generated Node #0,4,3: 93:[98, 83] Operation: 72+11=83
Exploring Operation: 98-72=26, Resulting Numbers: [11, 26]
Generated Node #0,4,4: 93:[11, 26] Operation: 98-72=26
Moving to Node #0,0
Current State: 93:[54, 72, 33], Operations: ['98-65=33']
Exploring Operation: 54+33=87, Resulting Numbers: [72, 87]
Generated Node #0,0,0: 93:[72, 87] Operation: 54+33=87
Exploring Operation: 54-33=21, Resulting Numbers: [72, 21]
Generated Node #0,0,1: 93:[72, 21] Operation: 54-33=21
Exploring Operation: 72-33=39, Resulting Numbers: [54, 39]
Generated Node #0,0,2: 93:[54, 39] Operation: 72-33=39
Exploring Operation: 72-54=18, Resulting Numbers: [33, 18]
Generated Node #0,0,3: 93:[33, 18] Operation: 72-54=18
Exploring Operation: 54+72=126, Resulting Numbers: [33, 126]
Generated Node #0,0,4: 93:[33, 126] Operation: 54+72=126
Moving to Node #0,3
Current State: 93:[98, 65, 18], Operations: ['72-54=18']
Exploring Operation: 98-65=33, Resulting Numbers: [18, 33]
Generated Node #0,3,0: 93:[18, 33] Operation: 98-65=33
Exploring Operation: 98-18=80, Resulting Numbers: [65, 80]
Generated Node #0,3,1: 93:[65, 80] Operation: 98-18=80
Exploring Operation: 98+18=116, Resulting Numbers: [65, 116]
Generated Node #0,3,2: 93:[65, 116] Operation: 98+18=116
Exploring Operation: 65+18=83, Resulting Numbers: [98, 83]
Generated Node #0,3,3: 93:[98, 83] Operation: 65+18=83
Exploring Operation: 65-18=47, Resulting Numbers: [98, 47]
Generated Node #0,3,4: 93:[98, 47] Operation: 65-18=47
Moving to Node #0,2
Current State: 93:[98, 72, 119], Operations: ['65+54=119']
Exploring Operation: 98-72=26, Resulting Numbers: [119, 26]
Generated Node #0,2,0: 93:[119, 26] Operation: 98-72=26
Exploring Operation: 119-72=47, Resulting Numbers: [98, 47]
Generated Node #0,2,1: 93:[98, 47] Operation: 119-72=47
Exploring Operation: 98+72=170, Resulting Numbers: [119, 170]
Generated Node #0,2,2: 93:[119, 170] Operation: 98+72=170
Exploring Operation: 72+119=191, Resulting Numbers: [98, 191]
Generated Node #0,2,3: 93:[98, 191] Operation: 72+119=191
Exploring Operation: 119-98=21, Resulting Numbers: [72, 21]
Generated Node #0,2,4: 93:[72, 21] Operation: 119-98=21
Moving to Node #0,4,4
Current State: 93:[11, 26], Operations: ['65-54=11', '98-72=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,93 unequal: No Solution
Moving to Node #0,4,3
Current State: 93:[98, 83], Operations: ['65-54=11', '72+11=83']
Exploring Operation: 98+83=181, Resulting Numbers: [181]
181,93 unequal: No Solution
Exploring Operation: 98-83=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 98*83=8134, Resulting Numbers: [8134]
8134,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[33, 18], Operations: ['98-65=33', '72-54=18']
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 33*18=594, Resulting Numbers: [594]
594,93 unequal: No Solution
Moving to Node #0,3,0
Current State: 93:[18, 33], Operations: ['72-54=18', '98-65=33']
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,93 unequal: No Solution
Moving to Node #0,3,3
Current State: 93:[98, 83], Operations: ['72-54=18', '65+18=83']
Exploring Operation: 98-83=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 98*83=8134, Resulting Numbers: [8134]
8134,93 unequal: No Solution
Exploring Operation: 98+83=181, Resulting Numbers: [181]
181,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[7, 44], Operations: ['72-65=7', '98-54=44']
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,93 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[98, 47], Operations: ['72-65=7', '54-7=47']
Exploring Operation: 98-47=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 98+47=145, Resulting Numbers: [145]
145,93 unequal: No Solution
Exploring Operation: 98*47=4606, Resulting Numbers: [4606]
4606,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[98, 47], Operations: ['65+54=119', '119-72=47']
Exploring Operation: 98+47=145, Resulting Numbers: [145]
145,93 unequal: No Solution
Exploring Operation: 98-47=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 98*47=4606, Resulting Numbers: [4606]
4606,93 unequal: No Solution
Moving to Node #0,3,4
Current State: 93:[98, 47], Operations: ['72-54=18', '65-18=47']
Exploring Operation: 98+47=145, Resulting Numbers: [145]
145,93 unequal: No Solution
Exploring Operation: 98-47=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 98*47=4606, Resulting Numbers: [4606]
4606,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[54, 91], Operations: ['72-65=7', '98-7=91']
Exploring Operation: 54*91=4914, Resulting Numbers: [4914]
4914,93 unequal: No Solution
Exploring Operation: 54+91=145, Resulting Numbers: [145]
145,93 unequal: No Solution
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[72, 87], Operations: ['98-65=33', '54+33=87']
Exploring Operation: 72+87=159, Resulting Numbers: [159]
159,93 unequal: No Solution
Exploring Operation: 72*87=6264, Resulting Numbers: [6264]
6264,93 unequal: No Solution
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Moving to Node #0,4,0
Current State: 93:[72, 87], Operations: ['65-54=11', '98-11=87']
Exploring Operation: 72*87=6264, Resulting Numbers: [6264]
6264,93 unequal: No Solution
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 72+87=159, Resulting Numbers: [159]
159,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[54, 39], Operations: ['98-65=33', '72-33=39']
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 54+39=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[98, 65, 54, 72], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [54, 72, 33]
Generated Node #0,0: 93:[54, 72, 33] Operation: 98-65=33
Moving to Node #0,0
Current State: 93:[54, 72, 33], Operations: ['98-65=33']
Exploring Operation: 72-33=39, Resulting Numbers: [54, 39]
Generated Node #0,0,2: 93:[54, 39] Operation: 72-33=39
Moving to Node #0,0,2
Current State: 93:[54, 39], Operations: ['98-65=33', '72-33=39']
Exploring Operation: 54+39=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.9375 | hs_5 | mult_heuristic |
[
59,
42,
6,
29
] | 66 | [
"59+42=101",
"6+29=35",
"101-35=66"
] | Current State: 66:[59, 42, 6, 29], Operations: []
Exploring Operation: 59+42=101, Resulting Numbers: [6, 29, 101]
Generated Node #2: [6, 29, 101] from Operation: 59+42=101
Current State: 66:[6, 29, 101], Operations: ['59+42=101']
Exploring Operation: 6+29=35, Resulting Numbers: [101, 35]
Generated Node #3: [101, 35] from Operation: 6+29=35
Current State: 66:[101, 35], Operations: ['59+42=101', '6+29=35']
Exploring Operation: 101-35=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[59, 42, 6, 29], Operations: []
Exploring Operation: 42-29=13, Resulting Numbers: [59, 6, 13]
Generated Node #0,0: 66:[59, 6, 13] Operation: 42-29=13
Exploring Operation: 59-29=30, Resulting Numbers: [42, 6, 30]
Generated Node #0,1: 66:[42, 6, 30] Operation: 59-29=30
Exploring Operation: 59-42=17, Resulting Numbers: [6, 29, 17]
Generated Node #0,2: 66:[6, 29, 17] Operation: 59-42=17
Moving to Node #0,0
Current State: 66:[59, 6, 13], Operations: ['42-29=13']
Exploring Operation: 59+13=72, Resulting Numbers: [6, 72]
Generated Node #0,0,0: 66:[6, 72] Operation: 59+13=72
Exploring Operation: 59+6=65, Resulting Numbers: [13, 65]
Generated Node #0,0,1: 66:[13, 65] Operation: 59+6=65
Exploring Operation: 13-6=7, Resulting Numbers: [59, 7]
Generated Node #0,0,2: 66:[59, 7] Operation: 13-6=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[13, 65], Operations: ['42-29=13', '59+6=65']
Exploring Operation: 13+65=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[6, 72], Operations: ['42-29=13', '59+13=72']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[59, 42, 6, 29], Operations: []
Exploring Operation: 42-29=13, Resulting Numbers: [59, 6, 13]
Generated Node #0,0: 66:[59, 6, 13] Operation: 42-29=13
Moving to Node #0,0
Current State: 66:[59, 6, 13], Operations: ['42-29=13']
Exploring Operation: 59+13=72, Resulting Numbers: [6, 72]
Generated Node #0,0,0: 66:[6, 72] Operation: 59+13=72
Moving to Node #0,0,0
Current State: 66:[6, 72], Operations: ['42-29=13', '59+13=72']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
35,
47,
2,
23
] | 76 | [
"35+23=58",
"58/2=29",
"47+29=76"
] | Current State: 76:[35, 47, 2, 23], Operations: []
Exploring Operation: 35+23=58, Resulting Numbers: [47, 2, 58]
Generated Node #2: [47, 2, 58] from Operation: 35+23=58
Current State: 76:[47, 2, 58], Operations: ['35+23=58']
Exploring Operation: 58/2=29, Resulting Numbers: [47, 29]
Generated Node #3: [47, 29] from Operation: 58/2=29
Current State: 76:[47, 29], Operations: ['35+23=58', '58/2=29']
Exploring Operation: 47+29=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[35, 47, 2, 23], Operations: []
Exploring Operation: 47+23=70, Resulting Numbers: [35, 2, 70]
Generated Node #0,0: 76:[35, 2, 70] Operation: 47+23=70
Exploring Operation: 47-23=24, Resulting Numbers: [35, 2, 24]
Generated Node #0,1: 76:[35, 2, 24] Operation: 47-23=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[35, 2, 24], Operations: ['47-23=24']
Exploring Operation: 24-2=22, Resulting Numbers: [35, 22]
Generated Node #0,1,0: 76:[35, 22] Operation: 24-2=22
Exploring Operation: 35+2=37, Resulting Numbers: [24, 37]
Generated Node #0,1,1: 76:[24, 37] Operation: 35+2=37
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[35, 22], Operations: ['47-23=24', '24-2=22']
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[24, 37], Operations: ['47-23=24', '35+2=37']
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[35, 2, 70], Operations: ['47+23=70']
Exploring Operation: 70-35=35, Resulting Numbers: [2, 35]
Generated Node #0,0,0: 76:[2, 35] Operation: 70-35=35
Exploring Operation: 70/35=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 76:[2, 2] Operation: 70/35=2
Moving to Node #0,0,1
Current State: 76:[2, 2], Operations: ['47+23=70', '70/35=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[2, 35], Operations: ['47+23=70', '70-35=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
85,
91,
49,
42
] | 72 | [
"49-42=7",
"91/7=13",
"85-13=72"
] | Current State: 72:[85, 91, 49, 42], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [85, 91, 7]
Generated Node #2: [85, 91, 7] from Operation: 49-42=7
Current State: 72:[85, 91, 7], Operations: ['49-42=7']
Exploring Operation: 91/7=13, Resulting Numbers: [85, 13]
Generated Node #3: [85, 13] from Operation: 91/7=13
Current State: 72:[85, 13], Operations: ['49-42=7', '91/7=13']
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[85, 91, 49, 42], Operations: []
Exploring Operation: 85-42=43, Resulting Numbers: [91, 49, 43]
Generated Node #0,0: 72:[91, 49, 43] Operation: 85-42=43
Exploring Operation: 49-42=7, Resulting Numbers: [85, 91, 7]
Generated Node #0,1: 72:[85, 91, 7] Operation: 49-42=7
Exploring Operation: 85-49=36, Resulting Numbers: [91, 42, 36]
Generated Node #0,2: 72:[91, 42, 36] Operation: 85-49=36
Exploring Operation: 91-85=6, Resulting Numbers: [49, 42, 6]
Generated Node #0,3: 72:[49, 42, 6] Operation: 91-85=6
Exploring Operation: 91-49=42, Resulting Numbers: [85, 42, 42]
Generated Node #0,4: 72:[85, 42, 42] Operation: 91-49=42
Start Sub Search at level 1: Moving to Node #0,3
Current State: 72:[49, 42, 6], Operations: ['91-85=6']
Exploring Operation: 49-6=43, Resulting Numbers: [42, 43]
Generated Node #0,3,0: 72:[42, 43] Operation: 49-6=43
Exploring Operation: 49+42=91, Resulting Numbers: [6, 91]
Generated Node #0,3,1: 72:[6, 91] Operation: 49+42=91
Exploring Operation: 42/6=7, Resulting Numbers: [49, 7]
Generated Node #0,3,2: 72:[49, 7] Operation: 42/6=7
Exploring Operation: 49-42=7, Resulting Numbers: [6, 7]
Generated Node #0,3,3: 72:[6, 7] Operation: 49-42=7
Exploring Operation: 42-6=36, Resulting Numbers: [49, 36]
Generated Node #0,3,4: 72:[49, 36] Operation: 42-6=36
Moving to Node #0,3,3
Current State: 72:[6, 7], Operations: ['91-85=6', '49-42=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Moving to Node #0,3,4
Current State: 72:[49, 36], Operations: ['91-85=6', '42-6=36']
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 49*36=1764, Resulting Numbers: [1764]
1764,72 unequal: No Solution
Exploring Operation: 49+36=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[42, 43], Operations: ['91-85=6', '49-6=43']
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 42*43=1806, Resulting Numbers: [1806]
1806,72 unequal: No Solution
Exploring Operation: 42+43=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[49, 7], Operations: ['91-85=6', '42/6=7']
Exploring Operation: 49*7=343, Resulting Numbers: [343]
343,72 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[6, 91], Operations: ['91-85=6', '49+42=91']
Exploring Operation: 6*91=546, Resulting Numbers: [546]
546,72 unequal: No Solution
Exploring Operation: 6+91=97, Resulting Numbers: [97]
97,72 unequal: No Solution
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[91, 42, 36], Operations: ['85-49=36']
Exploring Operation: 91+42=133, Resulting Numbers: [36, 133]
Generated Node #0,2,0: 72:[36, 133] Operation: 91+42=133
Exploring Operation: 42-36=6, Resulting Numbers: [91, 6]
Generated Node #0,2,1: 72:[91, 6] Operation: 42-36=6
Exploring Operation: 91-36=55, Resulting Numbers: [42, 55]
Generated Node #0,2,2: 72:[42, 55] Operation: 91-36=55
Exploring Operation: 42+36=78, Resulting Numbers: [91, 78]
Generated Node #0,2,3: 72:[91, 78] Operation: 42+36=78
Exploring Operation: 91-42=49, Resulting Numbers: [36, 49]
Generated Node #0,2,4: 72:[36, 49] Operation: 91-42=49
Moving to Node #0,2,4
Current State: 72:[36, 49], Operations: ['85-49=36', '91-42=49']
Exploring Operation: 36*49=1764, Resulting Numbers: [1764]
1764,72 unequal: No Solution
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 36+49=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[91, 6], Operations: ['85-49=36', '42-36=6']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,72 unequal: No Solution
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[42, 55], Operations: ['85-49=36', '91-36=55']
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 42+55=97, Resulting Numbers: [97]
97,72 unequal: No Solution
Exploring Operation: 42*55=2310, Resulting Numbers: [2310]
2310,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[91, 78], Operations: ['85-49=36', '42+36=78']
Exploring Operation: 91*78=7098, Resulting Numbers: [7098]
7098,72 unequal: No Solution
Exploring Operation: 91+78=169, Resulting Numbers: [169]
169,72 unequal: No Solution
Exploring Operation: 91-78=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[36, 133], Operations: ['85-49=36', '91+42=133']
Exploring Operation: 36*133=4788, Resulting Numbers: [4788]
4788,72 unequal: No Solution
Exploring Operation: 36+133=169, Resulting Numbers: [169]
169,72 unequal: No Solution
Exploring Operation: 133-36=97, Resulting Numbers: [97]
97,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 72:[85, 42, 42], Operations: ['91-49=42']
Exploring Operation: 42+42=84, Resulting Numbers: [85, 84]
Generated Node #0,4,0: 72:[85, 84] Operation: 42+42=84
Exploring Operation: 85-42=43, Resulting Numbers: [42, 43]
Generated Node #0,4,1: 72:[42, 43] Operation: 85-42=43
Exploring Operation: 42/42=1, Resulting Numbers: [85, 1]
Generated Node #0,4,2: 72:[85, 1] Operation: 42/42=1
Exploring Operation: 42-42=0, Resulting Numbers: [85, 0]
Generated Node #0,4,3: 72:[85, 0] Operation: 42-42=0
Exploring Operation: 85-42=43, Resulting Numbers: [42, 43]
Generated Node #0,4,4: 72:[42, 43] Operation: 85-42=43
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 72:[42, 43], Operations: ['91-49=42', '85-42=43']
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 42*43=1806, Resulting Numbers: [1806]
1806,72 unequal: No Solution
Exploring Operation: 42+43=85, Resulting Numbers: [85]
85,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 72:[42, 43], Operations: ['91-49=42', '85-42=43']
Exploring Operation: 42*43=1806, Resulting Numbers: [1806]
1806,72 unequal: No Solution
Exploring Operation: 42+43=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 72:[85, 1], Operations: ['91-49=42', '42/42=1']
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,72 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 72:[85, 0], Operations: ['91-49=42', '42-42=0']
Exploring Operation: 85-0=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 85*0=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 85+0=85, Resulting Numbers: [85]
85,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 72:[85, 84], Operations: ['91-49=42', '42+42=84']
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 85+84=169, Resulting Numbers: [169]
169,72 unequal: No Solution
Exploring Operation: 85*84=7140, Resulting Numbers: [7140]
7140,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[85, 91, 7], Operations: ['49-42=7']
Exploring Operation: 91-85=6, Resulting Numbers: [7, 6]
Generated Node #0,1,0: 72:[7, 6] Operation: 91-85=6
Exploring Operation: 91/7=13, Resulting Numbers: [85, 13]
Generated Node #0,1,1: 72:[85, 13] Operation: 91/7=13
Exploring Operation: 91-7=84, Resulting Numbers: [85, 84]
Generated Node #0,1,2: 72:[85, 84] Operation: 91-7=84
Exploring Operation: 85+7=92, Resulting Numbers: [91, 92]
Generated Node #0,1,3: 72:[91, 92] Operation: 85+7=92
Exploring Operation: 85-7=78, Resulting Numbers: [91, 78]
Generated Node #0,1,4: 72:[91, 78] Operation: 85-7=78
Moving to Node #0,1,0
Current State: 72:[7, 6], Operations: ['49-42=7', '91-85=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[85, 13], Operations: ['49-42=7', '91/7=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,72 unequal: No Solution
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,72 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[85, 91, 49, 42], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [85, 91, 7]
Generated Node #0,1: 72:[85, 91, 7] Operation: 49-42=7
Moving to Node #0,1
Current State: 72:[85, 91, 7], Operations: ['49-42=7']
Exploring Operation: 91/7=13, Resulting Numbers: [85, 13]
Generated Node #0,1,1: 72:[85, 13] Operation: 91/7=13
Moving to Node #0,1,1
Current State: 72:[85, 13], Operations: ['49-42=7', '91/7=13']
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.928819 | hs_5 | sum_heuristic |
[
18,
96,
97,
65
] | 54 | [
"18*96=1728",
"97-65=32",
"1728/32=54"
] | Current State: 54:[18, 96, 97, 65], Operations: []
Exploring Operation: 18*96=1728, Resulting Numbers: [97, 65, 1728]
Generated Node #2: [97, 65, 1728] from Operation: 18*96=1728
Current State: 54:[97, 65, 1728], Operations: ['18*96=1728']
Exploring Operation: 97-65=32, Resulting Numbers: [1728, 32]
Generated Node #3: [1728, 32] from Operation: 97-65=32
Current State: 54:[1728, 32], Operations: ['18*96=1728', '97-65=32']
Exploring Operation: 1728/32=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[18, 96, 97, 65], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [18, 65, 1]
Generated Node #0,0: 54:[18, 65, 1] Operation: 97-96=1
Exploring Operation: 96-65=31, Resulting Numbers: [18, 97, 31]
Generated Node #0,1: 54:[18, 97, 31] Operation: 96-65=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[18, 65, 1], Operations: ['97-96=1']
Exploring Operation: 65-18=47, Resulting Numbers: [1, 47]
Generated Node #0,0,0: 54:[1, 47] Operation: 65-18=47
Exploring Operation: 65-1=64, Resulting Numbers: [18, 64]
Generated Node #0,0,1: 54:[18, 64] Operation: 65-1=64
Moving to Node #0,0,0
Current State: 54:[1, 47], Operations: ['97-96=1', '65-18=47']
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[18, 64], Operations: ['97-96=1', '65-1=64']
Exploring Operation: 18+64=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[18, 97, 31], Operations: ['96-65=31']
Exploring Operation: 97-31=66, Resulting Numbers: [18, 66]
Generated Node #0,1,0: 54:[18, 66] Operation: 97-31=66
Exploring Operation: 97-18=79, Resulting Numbers: [31, 79]
Generated Node #0,1,1: 54:[31, 79] Operation: 97-18=79
Moving to Node #0,1,0
Current State: 54:[18, 66], Operations: ['96-65=31', '97-31=66']
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[31, 79], Operations: ['96-65=31', '97-18=79']
Exploring Operation: 31+79=110, Resulting Numbers: [110]
110,54 unequal: No Solution
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
69,
65,
8
] | 24 | [
"69-65=4",
"8-4=4",
"6*4=24"
] | Current State: 24:[6, 69, 65, 8], Operations: []
Exploring Operation: 69-65=4, Resulting Numbers: [6, 8, 4]
Generated Node #2: [6, 8, 4] from Operation: 69-65=4
Current State: 24:[6, 8, 4], Operations: ['69-65=4']
Exploring Operation: 8-4=4, Resulting Numbers: [6, 4]
Generated Node #3: [6, 4] from Operation: 8-4=4
Current State: 24:[6, 4], Operations: ['69-65=4', '8-4=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[6, 69, 65, 8], Operations: []
Exploring Operation: 65-8=57, Resulting Numbers: [6, 69, 57]
Generated Node #0,0: 24:[6, 69, 57] Operation: 65-8=57
Exploring Operation: 69-65=4, Resulting Numbers: [6, 8, 4]
Generated Node #0,1: 24:[6, 8, 4] Operation: 69-65=4
Exploring Operation: 69-8=61, Resulting Numbers: [6, 65, 61]
Generated Node #0,2: 24:[6, 65, 61] Operation: 69-8=61
Moving to Node #0,1
Current State: 24:[6, 8, 4], Operations: ['69-65=4']
Exploring Operation: 6-4=2, Resulting Numbers: [8, 2]
Generated Node #0,1,0: 24:[8, 2] Operation: 6-4=2
Exploring Operation: 6*4=24, Resulting Numbers: [8, 24]
Generated Node #0,1,1: 24:[8, 24] Operation: 6*4=24
Exploring Operation: 8-6=2, Resulting Numbers: [4, 2]
Generated Node #0,1,2: 24:[4, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[8, 2], Operations: ['69-65=4', '6-4=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,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:[8, 24], Operations: ['69-65=4', '6*4=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,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:[4, 2], Operations: ['69-65=4', '8-6=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,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:[6, 69, 57], Operations: ['65-8=57']
Exploring Operation: 57-6=51, Resulting Numbers: [69, 51]
Generated Node #0,0,0: 24:[69, 51] Operation: 57-6=51
Exploring Operation: 69-6=63, Resulting Numbers: [57, 63]
Generated Node #0,0,1: 24:[57, 63] Operation: 69-6=63
Exploring Operation: 69-57=12, Resulting Numbers: [6, 12]
Generated Node #0,0,2: 24:[6, 12] Operation: 69-57=12
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[6, 12], Operations: ['65-8=57', '69-57=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[69, 51], Operations: ['65-8=57', '57-6=51']
Exploring Operation: 69+51=120, Resulting Numbers: [120]
120,24 unequal: No Solution
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 69*51=3519, Resulting Numbers: [3519]
3519,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[57, 63], Operations: ['65-8=57', '69-6=63']
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 57*63=3591, Resulting Numbers: [3591]
3591,24 unequal: No Solution
Exploring Operation: 57+63=120, Resulting Numbers: [120]
120,24 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: 24:[6, 65, 61], Operations: ['69-8=61']
Exploring Operation: 65-61=4, Resulting Numbers: [6, 4]
Generated Node #0,2,0: 24:[6, 4] Operation: 65-61=4
Exploring Operation: 65-6=59, Resulting Numbers: [61, 59]
Generated Node #0,2,1: 24:[61, 59] Operation: 65-6=59
Exploring Operation: 61-6=55, Resulting Numbers: [65, 55]
Generated Node #0,2,2: 24:[65, 55] Operation: 61-6=55
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[6, 4], Operations: ['69-8=61', '65-61=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[6, 69, 65, 8], Operations: []
Exploring Operation: 69-8=61, Resulting Numbers: [6, 65, 61]
Generated Node #0,2: 24:[6, 65, 61] Operation: 69-8=61
Moving to Node #0,2
Current State: 24:[6, 65, 61], Operations: ['69-8=61']
Exploring Operation: 65-61=4, Resulting Numbers: [6, 4]
Generated Node #0,2,0: 24:[6, 4] Operation: 65-61=4
Moving to Node #0,2,0
Current State: 24:[6, 4], Operations: ['69-8=61', '65-61=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
18,
92,
34,
64
] | 12 | [
"18+92=110",
"34+64=98",
"110-98=12"
] | Current State: 12:[18, 92, 34, 64], Operations: []
Exploring Operation: 18+92=110, Resulting Numbers: [34, 64, 110]
Generated Node #2: [34, 64, 110] from Operation: 18+92=110
Current State: 12:[34, 64, 110], Operations: ['18+92=110']
Exploring Operation: 34+64=98, Resulting Numbers: [110, 98]
Generated Node #3: [110, 98] from Operation: 34+64=98
Current State: 12:[110, 98], Operations: ['18+92=110', '34+64=98']
Exploring Operation: 110-98=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[18, 92, 34, 64], Operations: []
Exploring Operation: 92-64=28, Resulting Numbers: [18, 34, 28]
Generated Node #0,0: 12:[18, 34, 28] Operation: 92-64=28
Moving to Node #0,0
Current State: 12:[18, 34, 28], Operations: ['92-64=28']
Exploring Operation: 34-28=6, Resulting Numbers: [18, 6]
Generated Node #0,0,0: 12:[18, 6] Operation: 34-28=6
Moving to Node #0,0,0
Current State: 12:[18, 6], Operations: ['92-64=28', '34-28=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[18, 92, 34, 64], Operations: []
Exploring Operation: 92-64=28, Resulting Numbers: [18, 34, 28]
Generated Node #0,0: 12:[18, 34, 28] Operation: 92-64=28
Moving to Node #0,0
Current State: 12:[18, 34, 28], Operations: ['92-64=28']
Exploring Operation: 34-28=6, Resulting Numbers: [18, 6]
Generated Node #0,0,0: 12:[18, 6] Operation: 34-28=6
Moving to Node #0,0,0
Current State: 12:[18, 6], Operations: ['92-64=28', '34-28=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
10,
30,
68,
6
] | 53 | [
"68-10=58",
"30/6=5",
"58-5=53"
] | Current State: 53:[10, 30, 68, 6], Operations: []
Exploring Operation: 68-10=58, Resulting Numbers: [30, 6, 58]
Generated Node #2: [30, 6, 58] from Operation: 68-10=58
Current State: 53:[30, 6, 58], Operations: ['68-10=58']
Exploring Operation: 30/6=5, Resulting Numbers: [58, 5]
Generated Node #3: [58, 5] from Operation: 30/6=5
Current State: 53:[58, 5], Operations: ['68-10=58', '30/6=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[10, 30, 68, 6], Operations: []
Exploring Operation: 10+30=40, Resulting Numbers: [68, 6, 40]
Generated Node #0,0: 53:[68, 6, 40] Operation: 10+30=40
Exploring Operation: 10*6=60, Resulting Numbers: [30, 68, 60]
Generated Node #0,1: 53:[30, 68, 60] Operation: 10*6=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[30, 68, 60], Operations: ['10*6=60']
Exploring Operation: 68-30=38, Resulting Numbers: [60, 38]
Generated Node #0,1,0: 53:[60, 38] Operation: 68-30=38
Exploring Operation: 60-30=30, Resulting Numbers: [68, 30]
Generated Node #0,1,1: 53:[68, 30] Operation: 60-30=30
Moving to Node #0,1,0
Current State: 53:[60, 38], Operations: ['10*6=60', '68-30=38']
Exploring Operation: 60+38=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[68, 30], Operations: ['10*6=60', '60-30=30']
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 68+30=98, Resulting Numbers: [98]
98,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[68, 6, 40], Operations: ['10+30=40']
Exploring Operation: 68-6=62, Resulting Numbers: [40, 62]
Generated Node #0,0,0: 53:[40, 62] Operation: 68-6=62
Exploring Operation: 6+40=46, Resulting Numbers: [68, 46]
Generated Node #0,0,1: 53:[68, 46] Operation: 6+40=46
Moving to Node #0,0,0
Current State: 53:[40, 62], Operations: ['10+30=40', '68-6=62']
Exploring Operation: 40+62=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[68, 46], Operations: ['10+30=40', '6+40=46']
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,53 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 |
[
2,
99,
13,
10
] | 19 | [
"13-2=11",
"99/11=9",
"10+9=19"
] | Current State: 19:[2, 99, 13, 10], Operations: []
Exploring Operation: 13-2=11, Resulting Numbers: [99, 10, 11]
Generated Node #2: [99, 10, 11] from Operation: 13-2=11
Current State: 19:[99, 10, 11], Operations: ['13-2=11']
Exploring Operation: 99/11=9, Resulting Numbers: [10, 9]
Generated Node #3: [10, 9] from Operation: 99/11=9
Current State: 19:[10, 9], Operations: ['13-2=11', '99/11=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[2, 99, 13, 10], Operations: []
Exploring Operation: 2*10=20, Resulting Numbers: [99, 13, 20]
Generated Node #0,0: 19:[99, 13, 20] Operation: 2*10=20
Moving to Node #0,0
Current State: 19:[99, 13, 20], Operations: ['2*10=20']
Exploring Operation: 99-20=79, Resulting Numbers: [13, 79]
Generated Node #0,0,0: 19:[13, 79] Operation: 99-20=79
Moving to Node #0,0,0
Current State: 19:[13, 79], Operations: ['2*10=20', '99-20=79']
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,19 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
99,
90,
81,
93
] | 84 | [
"99-90=9",
"81/9=9",
"93-9=84"
] | Current State: 84:[99, 90, 81, 93], Operations: []
Exploring Operation: 99-90=9, Resulting Numbers: [81, 93, 9]
Generated Node #2: [81, 93, 9] from Operation: 99-90=9
Current State: 84:[81, 93, 9], Operations: ['99-90=9']
Exploring Operation: 81/9=9, Resulting Numbers: [93, 9]
Generated Node #3: [93, 9] from Operation: 81/9=9
Current State: 84:[93, 9], Operations: ['99-90=9', '81/9=9']
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[99, 90, 81, 93], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [90, 81, 6]
Generated Node #0,0: 84:[90, 81, 6] Operation: 99-93=6
Moving to Node #0,0
Current State: 84:[90, 81, 6], Operations: ['99-93=6']
Exploring Operation: 90-81=9, Resulting Numbers: [6, 9]
Generated Node #0,0,0: 84:[6, 9] Operation: 90-81=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[6, 9], Operations: ['99-93=6', '90-81=9']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
27,
95,
92
] | 87 | [
"56-27=29",
"95-92=3",
"29*3=87"
] | Current State: 87:[56, 27, 95, 92], Operations: []
Exploring Operation: 56-27=29, Resulting Numbers: [95, 92, 29]
Generated Node #2: [95, 92, 29] from Operation: 56-27=29
Current State: 87:[95, 92, 29], Operations: ['56-27=29']
Exploring Operation: 95-92=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 95-92=3
Current State: 87:[29, 3], Operations: ['56-27=29', '95-92=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[56, 27, 95, 92], Operations: []
Exploring Operation: 56-27=29, Resulting Numbers: [95, 92, 29]
Generated Node #0,0: 87:[95, 92, 29] Operation: 56-27=29
Exploring Operation: 95-56=39, Resulting Numbers: [27, 92, 39]
Generated Node #0,1: 87:[27, 92, 39] Operation: 95-56=39
Exploring Operation: 56+27=83, Resulting Numbers: [95, 92, 83]
Generated Node #0,2: 87:[95, 92, 83] Operation: 56+27=83
Moving to Node #0,0
Current State: 87:[95, 92, 29], Operations: ['56-27=29']
Exploring Operation: 92-29=63, Resulting Numbers: [95, 63]
Generated Node #0,0,0: 87:[95, 63] Operation: 92-29=63
Exploring Operation: 95-92=3, Resulting Numbers: [29, 3]
Generated Node #0,0,1: 87:[29, 3] Operation: 95-92=3
Exploring Operation: 95-29=66, Resulting Numbers: [92, 66]
Generated Node #0,0,2: 87:[92, 66] Operation: 95-29=66
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[29, 3], Operations: ['56-27=29', '95-92=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[56, 27, 95, 92], Operations: []
Exploring Operation: 56-27=29, Resulting Numbers: [95, 92, 29]
Generated Node #0,0: 87:[95, 92, 29] Operation: 56-27=29
Moving to Node #0,0
Current State: 87:[95, 92, 29], Operations: ['56-27=29']
Exploring Operation: 95-92=3, Resulting Numbers: [29, 3]
Generated Node #0,0,1: 87:[29, 3] Operation: 95-92=3
Moving to Node #0,0,1
Current State: 87:[29, 3], Operations: ['56-27=29', '95-92=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
39,
76,
50,
37
] | 13 | [
"39-37=2",
"76-50=26",
"26/2=13"
] | Current State: 13:[39, 76, 50, 37], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [76, 50, 2]
Generated Node #2: [76, 50, 2] from Operation: 39-37=2
Current State: 13:[76, 50, 2], Operations: ['39-37=2']
Exploring Operation: 76-50=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 76-50=26
Current State: 13:[2, 26], Operations: ['39-37=2', '76-50=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[39, 76, 50, 37], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [76, 37, 11]
Generated Node #0,0: 13:[76, 37, 11] Operation: 50-39=11
Exploring Operation: 76-37=39, Resulting Numbers: [39, 50, 39]
Generated Node #0,1: 13:[39, 50, 39] Operation: 76-37=39
Exploring Operation: 76-50=26, Resulting Numbers: [39, 37, 26]
Generated Node #0,2: 13:[39, 37, 26] Operation: 76-50=26
Exploring Operation: 76-39=37, Resulting Numbers: [50, 37, 37]
Generated Node #0,3: 13:[50, 37, 37] Operation: 76-39=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[39, 37, 26], Operations: ['76-50=26']
Exploring Operation: 39-37=2, Resulting Numbers: [26, 2]
Generated Node #0,2,0: 13:[26, 2] Operation: 39-37=2
Exploring Operation: 39-26=13, Resulting Numbers: [37, 13]
Generated Node #0,2,1: 13:[37, 13] Operation: 39-26=13
Exploring Operation: 37-26=11, Resulting Numbers: [39, 11]
Generated Node #0,2,2: 13:[39, 11] Operation: 37-26=11
Exploring Operation: 39+37=76, Resulting Numbers: [26, 76]
Generated Node #0,2,3: 13:[26, 76] Operation: 39+37=76
Moving to Node #0,2,0
Current State: 13:[26, 2], Operations: ['76-50=26', '39-37=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[39, 76, 50, 37], Operations: []
Exploring Operation: 76-50=26, Resulting Numbers: [39, 37, 26]
Generated Node #0,2: 13:[39, 37, 26] Operation: 76-50=26
Moving to Node #0,2
Current State: 13:[39, 37, 26], Operations: ['76-50=26']
Exploring Operation: 39-37=2, Resulting Numbers: [26, 2]
Generated Node #0,2,0: 13:[26, 2] Operation: 39-37=2
Moving to Node #0,2,0
Current State: 13:[26, 2], Operations: ['76-50=26', '39-37=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
90,
66,
4,
64
] | 70 | [
"90-66=24",
"24/4=6",
"64+6=70"
] | Current State: 70:[90, 66, 4, 64], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [4, 64, 24]
Generated Node #2: [4, 64, 24] from Operation: 90-66=24
Current State: 70:[4, 64, 24], Operations: ['90-66=24']
Exploring Operation: 24/4=6, Resulting Numbers: [64, 6]
Generated Node #3: [64, 6] from Operation: 24/4=6
Current State: 70:[64, 6], Operations: ['90-66=24', '24/4=6']
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[90, 66, 4, 64], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [4, 64, 24]
Generated Node #0,0: 70:[4, 64, 24] Operation: 90-66=24
Exploring Operation: 90-64=26, Resulting Numbers: [66, 4, 26]
Generated Node #0,1: 70:[66, 4, 26] Operation: 90-64=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[66, 4, 26], Operations: ['90-64=26']
Exploring Operation: 66-26=40, Resulting Numbers: [4, 40]
Generated Node #0,1,0: 70:[4, 40] Operation: 66-26=40
Exploring Operation: 66+4=70, Resulting Numbers: [26, 70]
Generated Node #0,1,1: 70:[26, 70] Operation: 66+4=70
Moving to Node #0,1,0
Current State: 70:[4, 40], Operations: ['90-64=26', '66-26=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[26, 70], Operations: ['90-64=26', '66+4=70']
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,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
Current State: 70:[4, 64, 24], Operations: ['90-66=24']
Exploring Operation: 64-24=40, Resulting Numbers: [4, 40]
Generated Node #0,0,0: 70:[4, 40] Operation: 64-24=40
Exploring Operation: 24/4=6, Resulting Numbers: [64, 6]
Generated Node #0,0,1: 70:[64, 6] Operation: 24/4=6
Moving to Node #0,0,0
Current State: 70:[4, 40], Operations: ['90-66=24', '64-24=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[64, 6], Operations: ['90-66=24', '24/4=6']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,70 unequal: No Solution
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[90, 66, 4, 64], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [4, 64, 24]
Generated Node #0,0: 70:[4, 64, 24] Operation: 90-66=24
Moving to Node #0,0
Current State: 70:[4, 64, 24], Operations: ['90-66=24']
Exploring Operation: 24/4=6, Resulting Numbers: [64, 6]
Generated Node #0,0,1: 70:[64, 6] Operation: 24/4=6
Moving to Node #0,0,1
Current State: 70:[64, 6], Operations: ['90-66=24', '24/4=6']
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
62,
25,
68,
42
] | 66 | [
"42-25=17",
"68/17=4",
"62+4=66"
] | Current State: 66:[62, 25, 68, 42], Operations: []
Exploring Operation: 42-25=17, Resulting Numbers: [62, 68, 17]
Generated Node #2: [62, 68, 17] from Operation: 42-25=17
Current State: 66:[62, 68, 17], Operations: ['42-25=17']
Exploring Operation: 68/17=4, Resulting Numbers: [62, 4]
Generated Node #3: [62, 4] from Operation: 68/17=4
Current State: 66:[62, 4], Operations: ['42-25=17', '68/17=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[62, 25, 68, 42], Operations: []
Exploring Operation: 62-42=20, Resulting Numbers: [25, 68, 20]
Generated Node #0,0: 66:[25, 68, 20] Operation: 62-42=20
Exploring Operation: 25+42=67, Resulting Numbers: [62, 68, 67]
Generated Node #0,1: 66:[62, 68, 67] Operation: 25+42=67
Moving to Node #0,0
Current State: 66:[25, 68, 20], Operations: ['62-42=20']
Exploring Operation: 25-20=5, Resulting Numbers: [68, 5]
Generated Node #0,0,0: 66:[68, 5] Operation: 25-20=5
Exploring Operation: 68-25=43, Resulting Numbers: [20, 43]
Generated Node #0,0,1: 66:[20, 43] Operation: 68-25=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[68, 5], Operations: ['62-42=20', '25-20=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,66 unequal: No Solution
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[20, 43], Operations: ['62-42=20', '68-25=43']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,66 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: 66:[62, 68, 67], Operations: ['25+42=67']
Exploring Operation: 67-62=5, Resulting Numbers: [68, 5]
Generated Node #0,1,0: 66:[68, 5] Operation: 67-62=5
Exploring Operation: 68-62=6, Resulting Numbers: [67, 6]
Generated Node #0,1,1: 66:[67, 6] Operation: 68-62=6
Moving to Node #0,1,1
Current State: 66:[67, 6], Operations: ['25+42=67', '68-62=6']
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[68, 5], Operations: ['25+42=67', '67-62=5']
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,66 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
29,
55,
95
] | 54 | [
"55+95=150",
"150/6=25",
"29+25=54"
] | Current State: 54:[6, 29, 55, 95], Operations: []
Exploring Operation: 55+95=150, Resulting Numbers: [6, 29, 150]
Generated Node #2: [6, 29, 150] from Operation: 55+95=150
Current State: 54:[6, 29, 150], Operations: ['55+95=150']
Exploring Operation: 150/6=25, Resulting Numbers: [29, 25]
Generated Node #3: [29, 25] from Operation: 150/6=25
Current State: 54:[29, 25], Operations: ['55+95=150', '150/6=25']
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[6, 29, 55, 95], Operations: []
Exploring Operation: 55-29=26, Resulting Numbers: [6, 95, 26]
Generated Node #0,0: 54:[6, 95, 26] Operation: 55-29=26
Exploring Operation: 95-29=66, Resulting Numbers: [6, 55, 66]
Generated Node #0,1: 54:[6, 55, 66] Operation: 95-29=66
Exploring Operation: 95-6=89, Resulting Numbers: [29, 55, 89]
Generated Node #0,2: 54:[29, 55, 89] Operation: 95-6=89
Exploring Operation: 95-55=40, Resulting Numbers: [6, 29, 40]
Generated Node #0,3: 54:[6, 29, 40] Operation: 95-55=40
Moving to Node #0,1
Current State: 54:[6, 55, 66], Operations: ['95-29=66']
Exploring Operation: 66-55=11, Resulting Numbers: [6, 11]
Generated Node #0,1,0: 54:[6, 11] Operation: 66-55=11
Exploring Operation: 66/6=11, Resulting Numbers: [55, 11]
Generated Node #0,1,1: 54:[55, 11] Operation: 66/6=11
Exploring Operation: 55-6=49, Resulting Numbers: [66, 49]
Generated Node #0,1,2: 54:[66, 49] Operation: 55-6=49
Exploring Operation: 66-6=60, Resulting Numbers: [55, 60]
Generated Node #0,1,3: 54:[55, 60] Operation: 66-6=60
Moving to Node #0,3
Current State: 54:[6, 29, 40], Operations: ['95-55=40']
Exploring Operation: 40-29=11, Resulting Numbers: [6, 11]
Generated Node #0,3,0: 54:[6, 11] Operation: 40-29=11
Exploring Operation: 6+40=46, Resulting Numbers: [29, 46]
Generated Node #0,3,1: 54:[29, 46] Operation: 6+40=46
Exploring Operation: 29+40=69, Resulting Numbers: [6, 69]
Generated Node #0,3,2: 54:[6, 69] Operation: 29+40=69
Exploring Operation: 40-6=34, Resulting Numbers: [29, 34]
Generated Node #0,3,3: 54:[29, 34] Operation: 40-6=34
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 54:[6, 11], Operations: ['95-55=40', '40-29=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,54 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[29, 34], Operations: ['95-55=40', '40-6=34']
Exploring Operation: 29*34=986, Resulting Numbers: [986]
986,54 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 54:[29, 46], Operations: ['95-55=40', '6+40=46']
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 29+46=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 29*46=1334, Resulting Numbers: [1334]
1334,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 54:[6, 69], Operations: ['95-55=40', '29+40=69']
Exploring Operation: 6+69=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 6*69=414, Resulting Numbers: [414]
414,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 54:[29, 55, 89], Operations: ['95-6=89']
Exploring Operation: 89-29=60, Resulting Numbers: [55, 60]
Generated Node #0,2,0: 54:[55, 60] Operation: 89-29=60
Exploring Operation: 55-29=26, Resulting Numbers: [89, 26]
Generated Node #0,2,1: 54:[89, 26] Operation: 55-29=26
Exploring Operation: 29+55=84, Resulting Numbers: [89, 84]
Generated Node #0,2,2: 54:[89, 84] Operation: 29+55=84
Exploring Operation: 89-55=34, Resulting Numbers: [29, 34]
Generated Node #0,2,3: 54:[29, 34] Operation: 89-55=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[55, 60], Operations: ['95-6=89', '89-29=60']
Exploring Operation: 55+60=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 55*60=3300, Resulting Numbers: [3300]
3300,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 54:[29, 34], Operations: ['95-6=89', '89-55=34']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 29*34=986, Resulting Numbers: [986]
986,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[89, 26], Operations: ['95-6=89', '55-29=26']
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 89+26=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 89*26=2314, Resulting Numbers: [2314]
2314,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[89, 84], Operations: ['95-6=89', '29+55=84']
Exploring Operation: 89+84=173, Resulting Numbers: [173]
173,54 unequal: No Solution
Exploring Operation: 89-84=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 89*84=7476, Resulting Numbers: [7476]
7476,54 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: 54:[6, 95, 26], Operations: ['55-29=26']
Exploring Operation: 26-6=20, Resulting Numbers: [95, 20]
Generated Node #0,0,0: 54:[95, 20] Operation: 26-6=20
Exploring Operation: 95-6=89, Resulting Numbers: [26, 89]
Generated Node #0,0,1: 54:[26, 89] Operation: 95-6=89
Exploring Operation: 6+26=32, Resulting Numbers: [95, 32]
Generated Node #0,0,2: 54:[95, 32] Operation: 6+26=32
Exploring Operation: 95-26=69, Resulting Numbers: [6, 69]
Generated Node #0,0,3: 54:[6, 69] Operation: 95-26=69
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 54:[6, 69], Operations: ['55-29=26', '95-26=69']
Exploring Operation: 6*69=414, Resulting Numbers: [414]
414,54 unequal: No Solution
Exploring Operation: 6+69=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[26, 89], Operations: ['55-29=26', '95-6=89']
Exploring Operation: 26+89=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 26*89=2314, Resulting Numbers: [2314]
2314,54 unequal: No Solution
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[95, 20], Operations: ['55-29=26', '26-6=20']
Exploring Operation: 95+20=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 95*20=1900, Resulting Numbers: [1900]
1900,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[95, 32], Operations: ['55-29=26', '6+26=32']
Exploring Operation: 95+32=127, Resulting Numbers: [127]
127,54 unequal: No Solution
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 95*32=3040, Resulting Numbers: [3040]
3040,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 54:[6, 11], Operations: ['95-29=66', '66-55=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[55, 11], Operations: ['95-29=66', '66/6=11']
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,54 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[55, 60], Operations: ['95-29=66', '66-6=60']
Exploring Operation: 55*60=3300, Resulting Numbers: [3300]
3300,54 unequal: No Solution
Exploring Operation: 55+60=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[66, 49], Operations: ['95-29=66', '55-6=49']
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 66*49=3234, Resulting Numbers: [3234]
3234,54 unequal: No Solution
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,54 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
83,
21,
64,
13
] | 97 | [
"21*64=1344",
"1344-83=1261",
"1261/13=97"
] | Current State: 97:[83, 21, 64, 13], Operations: []
Exploring Operation: 21*64=1344, Resulting Numbers: [83, 13, 1344]
Generated Node #2: [83, 13, 1344] from Operation: 21*64=1344
Current State: 97:[83, 13, 1344], Operations: ['21*64=1344']
Exploring Operation: 1344-83=1261, Resulting Numbers: [13, 1261]
Generated Node #3: [13, 1261] from Operation: 1344-83=1261
Current State: 97:[13, 1261], Operations: ['21*64=1344', '1344-83=1261']
Exploring Operation: 1261/13=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[83, 21, 64, 13], Operations: []
Exploring Operation: 83+13=96, Resulting Numbers: [21, 64, 96]
Generated Node #0,0: 97:[21, 64, 96] Operation: 83+13=96
Exploring Operation: 21+64=85, Resulting Numbers: [83, 13, 85]
Generated Node #0,1: 97:[83, 13, 85] Operation: 21+64=85
Exploring Operation: 21+13=34, Resulting Numbers: [83, 64, 34]
Generated Node #0,2: 97:[83, 64, 34] Operation: 21+13=34
Exploring Operation: 64+13=77, Resulting Numbers: [83, 21, 77]
Generated Node #0,3: 97:[83, 21, 77] Operation: 64+13=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[21, 64, 96], Operations: ['83+13=96']
Exploring Operation: 64-21=43, Resulting Numbers: [96, 43]
Generated Node #0,0,0: 97:[96, 43] Operation: 64-21=43
Exploring Operation: 21+64=85, Resulting Numbers: [96, 85]
Generated Node #0,0,1: 97:[96, 85] Operation: 21+64=85
Exploring Operation: 96-21=75, Resulting Numbers: [64, 75]
Generated Node #0,0,2: 97:[64, 75] Operation: 96-21=75
Exploring Operation: 21+96=117, Resulting Numbers: [64, 117]
Generated Node #0,0,3: 97:[64, 117] Operation: 21+96=117
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[96, 85], Operations: ['83+13=96', '21+64=85']
Exploring Operation: 96-85=11, Resulting Numbers: [11]
11,97 unequal: No Solution
Exploring Operation: 96*85=8160, Resulting Numbers: [8160]
8160,97 unequal: No Solution
Exploring Operation: 96+85=181, Resulting Numbers: [181]
181,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 97:[64, 117], Operations: ['83+13=96', '21+96=117']
Exploring Operation: 117-64=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 64+117=181, Resulting Numbers: [181]
181,97 unequal: No Solution
Exploring Operation: 64*117=7488, Resulting Numbers: [7488]
7488,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[96, 43], Operations: ['83+13=96', '64-21=43']
Exploring Operation: 96+43=139, Resulting Numbers: [139]
139,97 unequal: No Solution
Exploring Operation: 96-43=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 96*43=4128, Resulting Numbers: [4128]
4128,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[64, 75], Operations: ['83+13=96', '96-21=75']
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,97 unequal: No Solution
Exploring Operation: 64*75=4800, Resulting Numbers: [4800]
4800,97 unequal: No Solution
Exploring Operation: 64+75=139, Resulting Numbers: [139]
139,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[83, 13, 85], Operations: ['21+64=85']
Exploring Operation: 13+85=98, Resulting Numbers: [83, 98]
Generated Node #0,1,0: 97:[83, 98] Operation: 13+85=98
Exploring Operation: 85-13=72, Resulting Numbers: [83, 72]
Generated Node #0,1,1: 97:[83, 72] Operation: 85-13=72
Exploring Operation: 83-13=70, Resulting Numbers: [85, 70]
Generated Node #0,1,2: 97:[85, 70] Operation: 83-13=70
Exploring Operation: 83+13=96, Resulting Numbers: [85, 96]
Generated Node #0,1,3: 97:[85, 96] Operation: 83+13=96
Moving to Node #0,1,3
Current State: 97:[85, 96], Operations: ['21+64=85', '83+13=96']
Exploring Operation: 96-85=11, Resulting Numbers: [11]
11,97 unequal: No Solution
Exploring Operation: 85*96=8160, Resulting Numbers: [8160]
8160,97 unequal: No Solution
Exploring Operation: 85+96=181, Resulting Numbers: [181]
181,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[83, 98], Operations: ['21+64=85', '13+85=98']
Exploring Operation: 83*98=8134, Resulting Numbers: [8134]
8134,97 unequal: No Solution
Exploring Operation: 83+98=181, Resulting Numbers: [181]
181,97 unequal: No Solution
Exploring Operation: 98-83=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[85, 70], Operations: ['21+64=85', '83-13=70']
Exploring Operation: 85-70=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 85*70=5950, Resulting Numbers: [5950]
5950,97 unequal: No Solution
Exploring Operation: 85+70=155, Resulting Numbers: [155]
155,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[83, 72], Operations: ['21+64=85', '85-13=72']
Exploring Operation: 83*72=5976, Resulting Numbers: [5976]
5976,97 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,97 unequal: No Solution
Exploring Operation: 83+72=155, Resulting Numbers: [155]
155,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[83, 64, 34], Operations: ['21+13=34']
Exploring Operation: 64-34=30, Resulting Numbers: [83, 30]
Generated Node #0,2,0: 97:[83, 30] Operation: 64-34=30
Exploring Operation: 83+34=117, Resulting Numbers: [64, 117]
Generated Node #0,2,1: 97:[64, 117] Operation: 83+34=117
Exploring Operation: 64+34=98, Resulting Numbers: [83, 98]
Generated Node #0,2,2: 97:[83, 98] Operation: 64+34=98
Exploring Operation: 83-34=49, Resulting Numbers: [64, 49]
Generated Node #0,2,3: 97:[64, 49] Operation: 83-34=49
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[83, 98], Operations: ['21+13=34', '64+34=98']
Exploring Operation: 98-83=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 83+98=181, Resulting Numbers: [181]
181,97 unequal: No Solution
Exploring Operation: 83*98=8134, Resulting Numbers: [8134]
8134,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[64, 117], Operations: ['21+13=34', '83+34=117']
Exploring Operation: 64+117=181, Resulting Numbers: [181]
181,97 unequal: No Solution
Exploring Operation: 117-64=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 64*117=7488, Resulting Numbers: [7488]
7488,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[83, 30], Operations: ['21+13=34', '64-34=30']
Exploring Operation: 83*30=2490, Resulting Numbers: [2490]
2490,97 unequal: No Solution
Exploring Operation: 83+30=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 97:[64, 49], Operations: ['21+13=34', '83-34=49']
Exploring Operation: 64+49=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 64*49=3136, Resulting Numbers: [3136]
3136,97 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[83, 21, 77], Operations: ['64+13=77']
Exploring Operation: 77-21=56, Resulting Numbers: [83, 56]
Generated Node #0,3,0: 97:[83, 56] Operation: 77-21=56
Exploring Operation: 83-21=62, Resulting Numbers: [77, 62]
Generated Node #0,3,1: 97:[77, 62] Operation: 83-21=62
Exploring Operation: 83+21=104, Resulting Numbers: [77, 104]
Generated Node #0,3,2: 97:[77, 104] Operation: 83+21=104
Exploring Operation: 21+77=98, Resulting Numbers: [83, 98]
Generated Node #0,3,3: 97:[83, 98] Operation: 21+77=98
Moving to Node #0,3,3
Current State: 97:[83, 98], Operations: ['64+13=77', '21+77=98']
Exploring Operation: 83+98=181, Resulting Numbers: [181]
181,97 unequal: No Solution
Exploring Operation: 98-83=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 83*98=8134, Resulting Numbers: [8134]
8134,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[77, 104], Operations: ['64+13=77', '83+21=104']
Exploring Operation: 77+104=181, Resulting Numbers: [181]
181,97 unequal: No Solution
Exploring Operation: 77*104=8008, Resulting Numbers: [8008]
8008,97 unequal: No Solution
Exploring Operation: 104-77=27, Resulting Numbers: [27]
27,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[77, 62], Operations: ['64+13=77', '83-21=62']
Exploring Operation: 77+62=139, Resulting Numbers: [139]
139,97 unequal: No Solution
Exploring Operation: 77*62=4774, Resulting Numbers: [4774]
4774,97 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[83, 56], Operations: ['64+13=77', '77-21=56']
Exploring Operation: 83+56=139, Resulting Numbers: [139]
139,97 unequal: No Solution
Exploring Operation: 83*56=4648, Resulting Numbers: [4648]
4648,97 unequal: No Solution
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,97 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.