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 |
|---|---|---|---|---|---|---|---|---|
[
72,
3,
90,
23
] | 91 | [
"72/3=24",
"90-23=67",
"24+67=91"
] | Current State: 91:[72, 3, 90, 23], Operations: []
Exploring Operation: 72/3=24, Resulting Numbers: [90, 23, 24]
Generated Node #2: [90, 23, 24] from Operation: 72/3=24
Current State: 91:[90, 23, 24], Operations: ['72/3=24']
Exploring Operation: 90-23=67, Resulting Numbers: [24, 67]
Generated Node #3: [24, 67] from Operation: 90-23=67
Current State: 91:[24, 67], Operations: ['72/3=24', '90-23=67']
Exploring Operation: 24+67=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[72, 3, 90, 23], Operations: []
Exploring Operation: 72+23=95, Resulting Numbers: [3, 90, 95]
Generated Node #0,0: 91:[3, 90, 95] Operation: 72+23=95
Exploring Operation: 72+3=75, Resulting Numbers: [90, 23, 75]
Generated Node #0,1: 91:[90, 23, 75] Operation: 72+3=75
Exploring Operation: 72/3=24, Resulting Numbers: [90, 23, 24]
Generated Node #0,2: 91:[90, 23, 24] Operation: 72/3=24
Exploring Operation: 90-72=18, Resulting Numbers: [3, 23, 18]
Generated Node #0,3: 91:[3, 23, 18] Operation: 90-72=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[3, 90, 95], Operations: ['72+23=95']
Exploring Operation: 95-90=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 91:[3, 5] Operation: 95-90=5
Exploring Operation: 95-3=92, Resulting Numbers: [90, 92]
Generated Node #0,0,1: 91:[90, 92] Operation: 95-3=92
Exploring Operation: 90-3=87, Resulting Numbers: [95, 87]
Generated Node #0,0,2: 91:[95, 87] Operation: 90-3=87
Exploring Operation: 3+90=93, Resulting Numbers: [95, 93]
Generated Node #0,0,3: 91:[95, 93] Operation: 3+90=93
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[90, 92], Operations: ['72+23=95', '95-3=92']
Exploring Operation: 90*92=8280, Resulting Numbers: [8280]
8280,91 unequal: No Solution
Exploring Operation: 90+92=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[3, 5], Operations: ['72+23=95', '95-90=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[95, 93], Operations: ['72+23=95', '3+90=93']
Exploring Operation: 95*93=8835, Resulting Numbers: [8835]
8835,91 unequal: No Solution
Exploring Operation: 95-93=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 95+93=188, Resulting Numbers: [188]
188,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[95, 87], Operations: ['72+23=95', '90-3=87']
Exploring Operation: 95*87=8265, Resulting Numbers: [8265]
8265,91 unequal: No Solution
Exploring Operation: 95+87=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,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,3
Current State: 91:[3, 23, 18], Operations: ['90-72=18']
Exploring Operation: 23-18=5, Resulting Numbers: [3, 5]
Generated Node #0,3,0: 91:[3, 5] Operation: 23-18=5
Exploring Operation: 18/3=6, Resulting Numbers: [23, 6]
Generated Node #0,3,1: 91:[23, 6] Operation: 18/3=6
Exploring Operation: 23-3=20, Resulting Numbers: [18, 20]
Generated Node #0,3,2: 91:[18, 20] Operation: 23-3=20
Exploring Operation: 18-3=15, Resulting Numbers: [23, 15]
Generated Node #0,3,3: 91:[23, 15] Operation: 18-3=15
Moving to Node #0,3,0
Current State: 91:[3, 5], Operations: ['90-72=18', '23-18=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[23, 6], Operations: ['90-72=18', '18/3=6']
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,91 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[23, 15], Operations: ['90-72=18', '18-3=15']
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[18, 20], Operations: ['90-72=18', '23-3=20']
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,91 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[90, 23, 24], Operations: ['72/3=24']
Exploring Operation: 90+24=114, Resulting Numbers: [23, 114]
Generated Node #0,2,0: 91:[23, 114] Operation: 90+24=114
Exploring Operation: 24-23=1, Resulting Numbers: [90, 1]
Generated Node #0,2,1: 91:[90, 1] Operation: 24-23=1
Exploring Operation: 90-23=67, Resulting Numbers: [24, 67]
Generated Node #0,2,2: 91:[24, 67] Operation: 90-23=67
Exploring Operation: 90+23=113, Resulting Numbers: [24, 113]
Generated Node #0,2,3: 91:[24, 113] Operation: 90+23=113
Moving to Node #0,2,1
Current State: 91:[90, 1], Operations: ['72/3=24', '24-23=1']
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[72, 3, 90, 23], Operations: []
Exploring Operation: 72/3=24, Resulting Numbers: [90, 23, 24]
Generated Node #0,2: 91:[90, 23, 24] Operation: 72/3=24
Moving to Node #0,2
Current State: 91:[90, 23, 24], Operations: ['72/3=24']
Exploring Operation: 24-23=1, Resulting Numbers: [90, 1]
Generated Node #0,2,1: 91:[90, 1] Operation: 24-23=1
Moving to Node #0,2,1
Current State: 91:[90, 1], Operations: ['72/3=24', '24-23=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_4 | sum_heuristic |
[
7,
98,
65,
35
] | 44 | [
"98/7=14",
"65-35=30",
"14+30=44"
] | Current State: 44:[7, 98, 65, 35], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [65, 35, 14]
Generated Node #2: [65, 35, 14] from Operation: 98/7=14
Current State: 44:[65, 35, 14], Operations: ['98/7=14']
Exploring Operation: 65-35=30, Resulting Numbers: [14, 30]
Generated Node #3: [14, 30] from Operation: 65-35=30
Current State: 44:[14, 30], Operations: ['98/7=14', '65-35=30']
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[7, 98, 65, 35], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [7, 35, 33]
Generated Node #0,0: 44:[7, 35, 33] Operation: 98-65=33
Exploring Operation: 98/7=14, Resulting Numbers: [65, 35, 14]
Generated Node #0,1: 44:[65, 35, 14] Operation: 98/7=14
Exploring Operation: 98-35=63, Resulting Numbers: [7, 65, 63]
Generated Node #0,2: 44:[7, 65, 63] Operation: 98-35=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[7, 35, 33], Operations: ['98-65=33']
Exploring Operation: 7+35=42, Resulting Numbers: [33, 42]
Generated Node #0,0,0: 44:[33, 42] Operation: 7+35=42
Exploring Operation: 35/7=5, Resulting Numbers: [33, 5]
Generated Node #0,0,1: 44:[33, 5] Operation: 35/7=5
Exploring Operation: 35-33=2, Resulting Numbers: [7, 2]
Generated Node #0,0,2: 44:[7, 2] Operation: 35-33=2
Moving to Node #0,0,2
Current State: 44:[7, 2], Operations: ['98-65=33', '35-33=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[33, 5], Operations: ['98-65=33', '35/7=5']
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,44 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[33, 42], Operations: ['98-65=33', '7+35=42']
Exploring Operation: 33*42=1386, Resulting Numbers: [1386]
1386,44 unequal: No Solution
Exploring Operation: 33+42=75, Resulting Numbers: [75]
75,44 unequal: No Solution
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[65, 35, 14], Operations: ['98/7=14']
Exploring Operation: 35-14=21, Resulting Numbers: [65, 21]
Generated Node #0,1,0: 44:[65, 21] Operation: 35-14=21
Exploring Operation: 65-35=30, Resulting Numbers: [14, 30]
Generated Node #0,1,1: 44:[14, 30] Operation: 65-35=30
Exploring Operation: 65-14=51, Resulting Numbers: [35, 51]
Generated Node #0,1,2: 44:[35, 51] Operation: 65-14=51
Moving to Node #0,1,1
Current State: 44:[14, 30], Operations: ['98/7=14', '65-35=30']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[7, 98, 65, 35], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [65, 35, 14]
Generated Node #0,1: 44:[65, 35, 14] Operation: 98/7=14
Moving to Node #0,1
Current State: 44:[65, 35, 14], Operations: ['98/7=14']
Exploring Operation: 65-35=30, Resulting Numbers: [14, 30]
Generated Node #0,1,1: 44:[14, 30] Operation: 65-35=30
Moving to Node #0,1,1
Current State: 44:[14, 30], Operations: ['98/7=14', '65-35=30']
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
73,
24,
54,
57
] | 52 | [
"73-24=49",
"57-54=3",
"49+3=52"
] | Current State: 52:[73, 24, 54, 57], Operations: []
Exploring Operation: 73-24=49, Resulting Numbers: [54, 57, 49]
Generated Node #2: [54, 57, 49] from Operation: 73-24=49
Current State: 52:[54, 57, 49], Operations: ['73-24=49']
Exploring Operation: 57-54=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 57-54=3
Current State: 52:[49, 3], Operations: ['73-24=49', '57-54=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[73, 24, 54, 57], Operations: []
Exploring Operation: 54-24=30, Resulting Numbers: [73, 57, 30]
Generated Node #0,0: 52:[73, 57, 30] Operation: 54-24=30
Exploring Operation: 73-54=19, Resulting Numbers: [24, 57, 19]
Generated Node #0,1: 52:[24, 57, 19] Operation: 73-54=19
Exploring Operation: 57-54=3, Resulting Numbers: [73, 24, 3]
Generated Node #0,2: 52:[73, 24, 3] Operation: 57-54=3
Exploring Operation: 73-24=49, Resulting Numbers: [54, 57, 49]
Generated Node #0,3: 52:[54, 57, 49] Operation: 73-24=49
Exploring Operation: 73-57=16, Resulting Numbers: [24, 54, 16]
Generated Node #0,4: 52:[24, 54, 16] Operation: 73-57=16
Moving to Node #0,4
Current State: 52:[24, 54, 16], Operations: ['73-57=16']
Exploring Operation: 24-16=8, Resulting Numbers: [54, 8]
Generated Node #0,4,0: 52:[54, 8] Operation: 24-16=8
Exploring Operation: 54-16=38, Resulting Numbers: [24, 38]
Generated Node #0,4,1: 52:[24, 38] Operation: 54-16=38
Exploring Operation: 54+16=70, Resulting Numbers: [24, 70]
Generated Node #0,4,2: 52:[24, 70] Operation: 54+16=70
Exploring Operation: 54-24=30, Resulting Numbers: [16, 30]
Generated Node #0,4,3: 52:[16, 30] Operation: 54-24=30
Exploring Operation: 24+16=40, Resulting Numbers: [54, 40]
Generated Node #0,4,4: 52:[54, 40] Operation: 24+16=40
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 52:[54, 8], Operations: ['73-57=16', '24-16=8']
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 52:[16, 30], Operations: ['73-57=16', '54-24=30']
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 52:[24, 38], Operations: ['73-57=16', '54-16=38']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 24*38=912, Resulting Numbers: [912]
912,52 unequal: No Solution
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 52:[54, 40], Operations: ['73-57=16', '24+16=40']
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 54*40=2160, Resulting Numbers: [2160]
2160,52 unequal: No Solution
Exploring Operation: 54+40=94, Resulting Numbers: [94]
94,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 52:[24, 70], Operations: ['73-57=16', '54+16=70']
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,52 unequal: No Solution
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,52 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: 52:[54, 57, 49], Operations: ['73-24=49']
Exploring Operation: 57-54=3, Resulting Numbers: [49, 3]
Generated Node #0,3,0: 52:[49, 3] Operation: 57-54=3
Exploring Operation: 54-49=5, Resulting Numbers: [57, 5]
Generated Node #0,3,1: 52:[57, 5] Operation: 54-49=5
Exploring Operation: 57+49=106, Resulting Numbers: [54, 106]
Generated Node #0,3,2: 52:[54, 106] Operation: 57+49=106
Exploring Operation: 57-49=8, Resulting Numbers: [54, 8]
Generated Node #0,3,3: 52:[54, 8] Operation: 57-49=8
Exploring Operation: 54+49=103, Resulting Numbers: [57, 103]
Generated Node #0,3,4: 52:[57, 103] Operation: 54+49=103
Moving to Node #0,1
Current State: 52:[24, 57, 19], Operations: ['73-54=19']
Exploring Operation: 57-19=38, Resulting Numbers: [24, 38]
Generated Node #0,1,0: 52:[24, 38] Operation: 57-19=38
Exploring Operation: 24-19=5, Resulting Numbers: [57, 5]
Generated Node #0,1,1: 52:[57, 5] Operation: 24-19=5
Exploring Operation: 24+19=43, Resulting Numbers: [57, 43]
Generated Node #0,1,2: 52:[57, 43] Operation: 24+19=43
Exploring Operation: 57/19=3, Resulting Numbers: [24, 3]
Generated Node #0,1,3: 52:[24, 3] Operation: 57/19=3
Exploring Operation: 57-24=33, Resulting Numbers: [19, 33]
Generated Node #0,1,4: 52:[19, 33] Operation: 57-24=33
Moving to Node #0,2
Current State: 52:[73, 24, 3], Operations: ['57-54=3']
Exploring Operation: 24+3=27, Resulting Numbers: [73, 27]
Generated Node #0,2,0: 52:[73, 27] Operation: 24+3=27
Exploring Operation: 73-3=70, Resulting Numbers: [24, 70]
Generated Node #0,2,1: 52:[24, 70] Operation: 73-3=70
Exploring Operation: 73+3=76, Resulting Numbers: [24, 76]
Generated Node #0,2,2: 52:[24, 76] Operation: 73+3=76
Exploring Operation: 24/3=8, Resulting Numbers: [73, 8]
Generated Node #0,2,3: 52:[73, 8] Operation: 24/3=8
Exploring Operation: 73-24=49, Resulting Numbers: [3, 49]
Generated Node #0,2,4: 52:[3, 49] Operation: 73-24=49
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 52:[3, 49], Operations: ['57-54=3', '73-24=49']
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,52 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[73, 24, 54, 57], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [73, 24, 3]
Generated Node #0,2: 52:[73, 24, 3] Operation: 57-54=3
Moving to Node #0,2
Current State: 52:[73, 24, 3], Operations: ['57-54=3']
Exploring Operation: 73-24=49, Resulting Numbers: [3, 49]
Generated Node #0,2,4: 52:[3, 49] Operation: 73-24=49
Moving to Node #0,2,4
Current State: 52:[3, 49], Operations: ['57-54=3', '73-24=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | mult_heuristic |
[
24,
53,
19,
55
] | 67 | [
"55-53=2",
"24*2=48",
"19+48=67"
] | Current State: 67:[24, 53, 19, 55], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [24, 19, 2]
Generated Node #2: [24, 19, 2] from Operation: 55-53=2
Current State: 67:[24, 19, 2], Operations: ['55-53=2']
Exploring Operation: 24*2=48, Resulting Numbers: [19, 48]
Generated Node #3: [19, 48] from Operation: 24*2=48
Current State: 67:[19, 48], Operations: ['55-53=2', '24*2=48']
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[24, 53, 19, 55], Operations: []
Exploring Operation: 24+19=43, Resulting Numbers: [53, 55, 43]
Generated Node #0,0: 67:[53, 55, 43] Operation: 24+19=43
Moving to Node #0,0
Current State: 67:[53, 55, 43], Operations: ['24+19=43']
Exploring Operation: 53+43=96, Resulting Numbers: [55, 96]
Generated Node #0,0,0: 67:[55, 96] Operation: 53+43=96
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[55, 96], Operations: ['24+19=43', '53+43=96']
Exploring Operation: 96-55=41, Resulting Numbers: [41]
41,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 |
[
32,
76,
93,
36
] | 31 | [
"32+76=108",
"93*36=3348",
"3348/108=31"
] | Current State: 31:[32, 76, 93, 36], Operations: []
Exploring Operation: 32+76=108, Resulting Numbers: [93, 36, 108]
Generated Node #2: [93, 36, 108] from Operation: 32+76=108
Current State: 31:[93, 36, 108], Operations: ['32+76=108']
Exploring Operation: 93*36=3348, Resulting Numbers: [108, 3348]
Generated Node #3: [108, 3348] from Operation: 93*36=3348
Current State: 31:[108, 3348], Operations: ['32+76=108', '93*36=3348']
Exploring Operation: 3348/108=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[32, 76, 93, 36], Operations: []
Exploring Operation: 93-76=17, Resulting Numbers: [32, 36, 17]
Generated Node #0,0: 31:[32, 36, 17] Operation: 93-76=17
Exploring Operation: 93-36=57, Resulting Numbers: [32, 76, 57]
Generated Node #0,1: 31:[32, 76, 57] Operation: 93-36=57
Exploring Operation: 76-36=40, Resulting Numbers: [32, 93, 40]
Generated Node #0,2: 31:[32, 93, 40] Operation: 76-36=40
Moving to Node #0,0
Current State: 31:[32, 36, 17], Operations: ['93-76=17']
Exploring Operation: 32+17=49, Resulting Numbers: [36, 49]
Generated Node #0,0,0: 31:[36, 49] Operation: 32+17=49
Exploring Operation: 32-17=15, Resulting Numbers: [36, 15]
Generated Node #0,0,1: 31:[36, 15] Operation: 32-17=15
Exploring Operation: 36-17=19, Resulting Numbers: [32, 19]
Generated Node #0,0,2: 31:[32, 19] Operation: 36-17=19
Moving to Node #0,1
Current State: 31:[32, 76, 57], Operations: ['93-36=57']
Exploring Operation: 57-32=25, Resulting Numbers: [76, 25]
Generated Node #0,1,0: 31:[76, 25] Operation: 57-32=25
Exploring Operation: 76-57=19, Resulting Numbers: [32, 19]
Generated Node #0,1,1: 31:[32, 19] Operation: 76-57=19
Exploring Operation: 76-32=44, Resulting Numbers: [57, 44]
Generated Node #0,1,2: 31:[57, 44] Operation: 76-32=44
Moving to Node #0,2
Current State: 31:[32, 93, 40], Operations: ['76-36=40']
Exploring Operation: 40-32=8, Resulting Numbers: [93, 8]
Generated Node #0,2,0: 31:[93, 8] Operation: 40-32=8
Exploring Operation: 93-40=53, Resulting Numbers: [32, 53]
Generated Node #0,2,1: 31:[32, 53] Operation: 93-40=53
Exploring Operation: 93-32=61, Resulting Numbers: [40, 61]
Generated Node #0,2,2: 31:[40, 61] Operation: 93-32=61
Moving to Node #0,0,2
Current State: 31:[32, 19], Operations: ['93-76=17', '36-17=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[32, 19], Operations: ['93-36=57', '76-57=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,31 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[36, 15], Operations: ['93-76=17', '32-17=15']
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,31 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[36, 49], Operations: ['93-76=17', '32+17=49']
Exploring Operation: 36+49=85, Resulting Numbers: [85]
85,31 unequal: No Solution
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Exploring Operation: 36*49=1764, Resulting Numbers: [1764]
1764,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[32, 53], Operations: ['76-36=40', '93-40=53']
Exploring Operation: 32+53=85, Resulting Numbers: [85]
85,31 unequal: No Solution
Exploring Operation: 53-32=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 32*53=1696, Resulting Numbers: [1696]
1696,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[57, 44], Operations: ['93-36=57', '76-32=44']
Exploring Operation: 57*44=2508, Resulting Numbers: [2508]
2508,31 unequal: No Solution
Exploring Operation: 57+44=101, Resulting Numbers: [101]
101,31 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[40, 61], Operations: ['76-36=40', '93-32=61']
Exploring Operation: 40+61=101, Resulting Numbers: [101]
101,31 unequal: No Solution
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 40*61=2440, Resulting Numbers: [2440]
2440,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[76, 25], Operations: ['93-36=57', '57-32=25']
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,31 unequal: No Solution
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,31 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[93, 8], Operations: ['76-36=40', '40-32=8']
Exploring Operation: 93+8=101, Resulting Numbers: [101]
101,31 unequal: No Solution
Exploring Operation: 93*8=744, Resulting Numbers: [744]
744,31 unequal: No Solution
Exploring Operation: 93-8=85, Resulting Numbers: [85]
85,31 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
78,
61,
25,
86
] | 28 | [
"78+61=139",
"25+86=111",
"139-111=28"
] | Current State: 28:[78, 61, 25, 86], Operations: []
Exploring Operation: 78+61=139, Resulting Numbers: [25, 86, 139]
Generated Node #2: [25, 86, 139] from Operation: 78+61=139
Current State: 28:[25, 86, 139], Operations: ['78+61=139']
Exploring Operation: 25+86=111, Resulting Numbers: [139, 111]
Generated Node #3: [139, 111] from Operation: 25+86=111
Current State: 28:[139, 111], Operations: ['78+61=139', '25+86=111']
Exploring Operation: 139-111=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[78, 61, 25, 86], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [61, 25, 8]
Generated Node #0,0: 28:[61, 25, 8] Operation: 86-78=8
Exploring Operation: 86-61=25, Resulting Numbers: [78, 25, 25]
Generated Node #0,1: 28:[78, 25, 25] Operation: 86-61=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[61, 25, 8], Operations: ['86-78=8']
Exploring Operation: 61-25=36, Resulting Numbers: [8, 36]
Generated Node #0,0,0: 28:[8, 36] Operation: 61-25=36
Exploring Operation: 61-8=53, Resulting Numbers: [25, 53]
Generated Node #0,0,1: 28:[25, 53] Operation: 61-8=53
Moving to Node #0,0,0
Current State: 28:[8, 36], Operations: ['86-78=8', '61-25=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[78, 61, 25, 86], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [61, 25, 8]
Generated Node #0,0: 28:[61, 25, 8] Operation: 86-78=8
Moving to Node #0,0
Current State: 28:[61, 25, 8], Operations: ['86-78=8']
Exploring Operation: 61-25=36, Resulting Numbers: [8, 36]
Generated Node #0,0,0: 28:[8, 36] Operation: 61-25=36
Moving to Node #0,0,0
Current State: 28:[8, 36], Operations: ['86-78=8', '61-25=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
81,
90,
60,
10
] | 79 | [
"90-81=9",
"60+10=70",
"9+70=79"
] | Current State: 79:[81, 90, 60, 10], Operations: []
Exploring Operation: 90-81=9, Resulting Numbers: [60, 10, 9]
Generated Node #2: [60, 10, 9] from Operation: 90-81=9
Current State: 79:[60, 10, 9], Operations: ['90-81=9']
Exploring Operation: 60+10=70, Resulting Numbers: [9, 70]
Generated Node #3: [9, 70] from Operation: 60+10=70
Current State: 79:[9, 70], Operations: ['90-81=9', '60+10=70']
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[81, 90, 60, 10], Operations: []
Exploring Operation: 90+10=100, Resulting Numbers: [81, 60, 100]
Generated Node #0,0: 79:[81, 60, 100] Operation: 90+10=100
Exploring Operation: 90-10=80, Resulting Numbers: [81, 60, 80]
Generated Node #0,1: 79:[81, 60, 80] Operation: 90-10=80
Exploring Operation: 81-10=71, Resulting Numbers: [90, 60, 71]
Generated Node #0,2: 79:[90, 60, 71] Operation: 81-10=71
Exploring Operation: 60+10=70, Resulting Numbers: [81, 90, 70]
Generated Node #0,3: 79:[81, 90, 70] Operation: 60+10=70
Exploring Operation: 81+10=91, Resulting Numbers: [90, 60, 91]
Generated Node #0,4: 79:[90, 60, 91] Operation: 81+10=91
Moving to Node #0,1
Current State: 79:[81, 60, 80], Operations: ['90-10=80']
Exploring Operation: 81-80=1, Resulting Numbers: [60, 1]
Generated Node #0,1,0: 79:[60, 1] Operation: 81-80=1
Exploring Operation: 80-60=20, Resulting Numbers: [81, 20]
Generated Node #0,1,1: 79:[81, 20] Operation: 80-60=20
Exploring Operation: 81-60=21, Resulting Numbers: [80, 21]
Generated Node #0,1,2: 79:[80, 21] Operation: 81-60=21
Exploring Operation: 81+60=141, Resulting Numbers: [80, 141]
Generated Node #0,1,3: 79:[80, 141] Operation: 81+60=141
Exploring Operation: 60+80=140, Resulting Numbers: [81, 140]
Generated Node #0,1,4: 79:[81, 140] Operation: 60+80=140
Moving to Node #0,3
Current State: 79:[81, 90, 70], Operations: ['60+10=70']
Exploring Operation: 81+70=151, Resulting Numbers: [90, 151]
Generated Node #0,3,0: 79:[90, 151] Operation: 81+70=151
Exploring Operation: 90-70=20, Resulting Numbers: [81, 20]
Generated Node #0,3,1: 79:[81, 20] Operation: 90-70=20
Exploring Operation: 81-70=11, Resulting Numbers: [90, 11]
Generated Node #0,3,2: 79:[90, 11] Operation: 81-70=11
Exploring Operation: 90-81=9, Resulting Numbers: [70, 9]
Generated Node #0,3,3: 79:[70, 9] Operation: 90-81=9
Exploring Operation: 90+70=160, Resulting Numbers: [81, 160]
Generated Node #0,3,4: 79:[81, 160] Operation: 90+70=160
Moving to Node #0,2
Current State: 79:[90, 60, 71], Operations: ['81-10=71']
Exploring Operation: 90-60=30, Resulting Numbers: [71, 30]
Generated Node #0,2,0: 79:[71, 30] Operation: 90-60=30
Exploring Operation: 60+71=131, Resulting Numbers: [90, 131]
Generated Node #0,2,1: 79:[90, 131] Operation: 60+71=131
Exploring Operation: 71-60=11, Resulting Numbers: [90, 11]
Generated Node #0,2,2: 79:[90, 11] Operation: 71-60=11
Exploring Operation: 90-71=19, Resulting Numbers: [60, 19]
Generated Node #0,2,3: 79:[60, 19] Operation: 90-71=19
Exploring Operation: 90+60=150, Resulting Numbers: [71, 150]
Generated Node #0,2,4: 79:[71, 150] Operation: 90+60=150
Moving to Node #0,0
Current State: 79:[81, 60, 100], Operations: ['90+10=100']
Exploring Operation: 60+100=160, Resulting Numbers: [81, 160]
Generated Node #0,0,0: 79:[81, 160] Operation: 60+100=160
Exploring Operation: 100-81=19, Resulting Numbers: [60, 19]
Generated Node #0,0,1: 79:[60, 19] Operation: 100-81=19
Exploring Operation: 100-60=40, Resulting Numbers: [81, 40]
Generated Node #0,0,2: 79:[81, 40] Operation: 100-60=40
Exploring Operation: 81+60=141, Resulting Numbers: [100, 141]
Generated Node #0,0,3: 79:[100, 141] Operation: 81+60=141
Exploring Operation: 81-60=21, Resulting Numbers: [100, 21]
Generated Node #0,0,4: 79:[100, 21] Operation: 81-60=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[81, 40], Operations: ['90+10=100', '100-60=40']
Exploring Operation: 81+40=121, Resulting Numbers: [121]
121,79 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,79 unequal: No Solution
Exploring Operation: 81*40=3240, Resulting Numbers: [3240]
3240,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[60, 19], Operations: ['90+10=100', '100-81=19']
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[81, 90, 60, 10], Operations: []
Exploring Operation: 90+10=100, Resulting Numbers: [81, 60, 100]
Generated Node #0,0: 79:[81, 60, 100] Operation: 90+10=100
Moving to Node #0,0
Current State: 79:[81, 60, 100], Operations: ['90+10=100']
Exploring Operation: 100-81=19, Resulting Numbers: [60, 19]
Generated Node #0,0,1: 79:[60, 19] Operation: 100-81=19
Moving to Node #0,0,1
Current State: 79:[60, 19], Operations: ['90+10=100', '100-81=19']
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_5 | sum_heuristic |
[
6,
15,
5,
95
] | 36 | [
"95-5=90",
"6*90=540",
"540/15=36"
] | Current State: 36:[6, 15, 5, 95], Operations: []
Exploring Operation: 95-5=90, Resulting Numbers: [6, 15, 90]
Generated Node #2: [6, 15, 90] from Operation: 95-5=90
Current State: 36:[6, 15, 90], Operations: ['95-5=90']
Exploring Operation: 6*90=540, Resulting Numbers: [15, 540]
Generated Node #3: [15, 540] from Operation: 6*90=540
Current State: 36:[15, 540], Operations: ['95-5=90', '6*90=540']
Exploring Operation: 540/15=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[6, 15, 5, 95], Operations: []
Exploring Operation: 95-15=80, Resulting Numbers: [6, 5, 80]
Generated Node #0,0: 36:[6, 5, 80] Operation: 95-15=80
Exploring Operation: 95/5=19, Resulting Numbers: [6, 15, 19]
Generated Node #0,1: 36:[6, 15, 19] Operation: 95/5=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[6, 15, 19], Operations: ['95/5=19']
Exploring Operation: 19-15=4, Resulting Numbers: [6, 4]
Generated Node #0,1,0: 36:[6, 4] Operation: 19-15=4
Exploring Operation: 15-6=9, Resulting Numbers: [19, 9]
Generated Node #0,1,1: 36:[19, 9] Operation: 15-6=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[6, 4], Operations: ['95/5=19', '19-15=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[19, 9], Operations: ['95/5=19', '15-6=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[6, 5, 80], Operations: ['95-15=80']
Exploring Operation: 80/5=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 36:[6, 16] Operation: 80/5=16
Exploring Operation: 80-6=74, Resulting Numbers: [5, 74]
Generated Node #0,0,1: 36:[5, 74] Operation: 80-6=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[6, 16], Operations: ['95-15=80', '80/5=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[5, 74], Operations: ['95-15=80', '80-6=74']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
4,
62,
93,
8
] | 19 | [
"4+62=66",
"93-8=85",
"85-66=19"
] | Current State: 19:[4, 62, 93, 8], Operations: []
Exploring Operation: 4+62=66, Resulting Numbers: [93, 8, 66]
Generated Node #2: [93, 8, 66] from Operation: 4+62=66
Current State: 19:[93, 8, 66], Operations: ['4+62=66']
Exploring Operation: 93-8=85, Resulting Numbers: [66, 85]
Generated Node #3: [66, 85] from Operation: 93-8=85
Current State: 19:[66, 85], Operations: ['4+62=66', '93-8=85']
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[4, 62, 93, 8], Operations: []
Exploring Operation: 93-4=89, Resulting Numbers: [62, 8, 89]
Generated Node #0,0: 19:[62, 8, 89] Operation: 93-4=89
Exploring Operation: 93-62=31, Resulting Numbers: [4, 8, 31]
Generated Node #0,1: 19:[4, 8, 31] Operation: 93-62=31
Exploring Operation: 62-4=58, Resulting Numbers: [93, 8, 58]
Generated Node #0,2: 19:[93, 8, 58] Operation: 62-4=58
Exploring Operation: 4+8=12, Resulting Numbers: [62, 93, 12]
Generated Node #0,3: 19:[62, 93, 12] Operation: 4+8=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[4, 8, 31], Operations: ['93-62=31']
Exploring Operation: 4*8=32, Resulting Numbers: [31, 32]
Generated Node #0,1,0: 19:[31, 32] Operation: 4*8=32
Exploring Operation: 31-4=27, Resulting Numbers: [8, 27]
Generated Node #0,1,1: 19:[8, 27] Operation: 31-4=27
Exploring Operation: 31-8=23, Resulting Numbers: [4, 23]
Generated Node #0,1,2: 19:[4, 23] Operation: 31-8=23
Exploring Operation: 4+8=12, Resulting Numbers: [31, 12]
Generated Node #0,1,3: 19:[31, 12] Operation: 4+8=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[8, 27], Operations: ['93-62=31', '31-4=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,19 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[4, 62, 93, 8], Operations: []
Exploring Operation: 93-62=31, Resulting Numbers: [4, 8, 31]
Generated Node #0,1: 19:[4, 8, 31] Operation: 93-62=31
Moving to Node #0,1
Current State: 19:[4, 8, 31], Operations: ['93-62=31']
Exploring Operation: 31-4=27, Resulting Numbers: [8, 27]
Generated Node #0,1,1: 19:[8, 27] Operation: 31-4=27
Moving to Node #0,1,1
Current State: 19:[8, 27], Operations: ['93-62=31', '31-4=27']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
57,
40,
64,
8
] | 25 | [
"57+40=97",
"64+8=72",
"97-72=25"
] | Current State: 25:[57, 40, 64, 8], Operations: []
Exploring Operation: 57+40=97, Resulting Numbers: [64, 8, 97]
Generated Node #2: [64, 8, 97] from Operation: 57+40=97
Current State: 25:[64, 8, 97], Operations: ['57+40=97']
Exploring Operation: 64+8=72, Resulting Numbers: [97, 72]
Generated Node #3: [97, 72] from Operation: 64+8=72
Current State: 25:[97, 72], Operations: ['57+40=97', '64+8=72']
Exploring Operation: 97-72=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[57, 40, 64, 8], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [57, 8, 24]
Generated Node #0,0: 25:[57, 8, 24] Operation: 64-40=24
Exploring Operation: 64-57=7, Resulting Numbers: [40, 8, 7]
Generated Node #0,1: 25:[40, 8, 7] Operation: 64-57=7
Moving to Node #0,1
Current State: 25:[40, 8, 7], Operations: ['64-57=7']
Exploring Operation: 40-8=32, Resulting Numbers: [7, 32]
Generated Node #0,1,0: 25:[7, 32] Operation: 40-8=32
Exploring Operation: 40/8=5, Resulting Numbers: [7, 5]
Generated Node #0,1,1: 25:[7, 5] Operation: 40/8=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[7, 5], Operations: ['64-57=7', '40/8=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[7, 32], Operations: ['64-57=7', '40-8=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[57, 40, 64, 8], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [40, 8, 7]
Generated Node #0,1: 25:[40, 8, 7] Operation: 64-57=7
Moving to Node #0,1
Current State: 25:[40, 8, 7], Operations: ['64-57=7']
Exploring Operation: 40-8=32, Resulting Numbers: [7, 32]
Generated Node #0,1,0: 25:[7, 32] Operation: 40-8=32
Moving to Node #0,1,0
Current State: 25:[7, 32], Operations: ['64-57=7', '40-8=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
54,
80,
45,
42
] | 87 | [
"80*45=3600",
"54+3600=3654",
"3654/42=87"
] | Current State: 87:[54, 80, 45, 42], Operations: []
Exploring Operation: 80*45=3600, Resulting Numbers: [54, 42, 3600]
Generated Node #2: [54, 42, 3600] from Operation: 80*45=3600
Current State: 87:[54, 42, 3600], Operations: ['80*45=3600']
Exploring Operation: 54+3600=3654, Resulting Numbers: [42, 3654]
Generated Node #3: [42, 3654] from Operation: 54+3600=3654
Current State: 87:[42, 3654], Operations: ['80*45=3600', '54+3600=3654']
Exploring Operation: 3654/42=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[54, 80, 45, 42], Operations: []
Exploring Operation: 54-45=9, Resulting Numbers: [80, 42, 9]
Generated Node #0,0: 87:[80, 42, 9] Operation: 54-45=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[80, 42, 9], Operations: ['54-45=9']
Exploring Operation: 42-9=33, Resulting Numbers: [80, 33]
Generated Node #0,0,0: 87:[80, 33] Operation: 42-9=33
Moving to Node #0,0,0
Current State: 87:[80, 33], Operations: ['54-45=9', '42-9=33']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
23,
28,
3
] | 92 | [
"23-15=8",
"28*3=84",
"8+84=92"
] | Current State: 92:[15, 23, 28, 3], Operations: []
Exploring Operation: 23-15=8, Resulting Numbers: [28, 3, 8]
Generated Node #2: [28, 3, 8] from Operation: 23-15=8
Current State: 92:[28, 3, 8], Operations: ['23-15=8']
Exploring Operation: 28*3=84, Resulting Numbers: [8, 84]
Generated Node #3: [8, 84] from Operation: 28*3=84
Current State: 92:[8, 84], Operations: ['23-15=8', '28*3=84']
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[15, 23, 28, 3], Operations: []
Exploring Operation: 15*3=45, Resulting Numbers: [23, 28, 45]
Generated Node #0,0: 92:[23, 28, 45] Operation: 15*3=45
Exploring Operation: 15+28=43, Resulting Numbers: [23, 3, 43]
Generated Node #0,1: 92:[23, 3, 43] Operation: 15+28=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[23, 3, 43], Operations: ['15+28=43']
Exploring Operation: 43-23=20, Resulting Numbers: [3, 20]
Generated Node #0,1,0: 92:[3, 20] Operation: 43-23=20
Exploring Operation: 3+43=46, Resulting Numbers: [23, 46]
Generated Node #0,1,1: 92:[23, 46] Operation: 3+43=46
Moving to Node #0,1,1
Current State: 92:[23, 46], Operations: ['15+28=43', '3+43=46']
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[3, 20], Operations: ['15+28=43', '43-23=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[23, 28, 45], Operations: ['15*3=45']
Exploring Operation: 23+28=51, Resulting Numbers: [45, 51]
Generated Node #0,0,0: 92:[45, 51] Operation: 23+28=51
Exploring Operation: 28-23=5, Resulting Numbers: [45, 5]
Generated Node #0,0,1: 92:[45, 5] Operation: 28-23=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[45, 5], Operations: ['15*3=45', '28-23=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,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,0
Current State: 92:[45, 51], Operations: ['15*3=45', '23+28=51']
Exploring Operation: 45+51=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
38,
75,
16,
14
] | 50 | [
"38-14=24",
"75*16=1200",
"1200/24=50"
] | Current State: 50:[38, 75, 16, 14], Operations: []
Exploring Operation: 38-14=24, Resulting Numbers: [75, 16, 24]
Generated Node #2: [75, 16, 24] from Operation: 38-14=24
Current State: 50:[75, 16, 24], Operations: ['38-14=24']
Exploring Operation: 75*16=1200, Resulting Numbers: [24, 1200]
Generated Node #3: [24, 1200] from Operation: 75*16=1200
Current State: 50:[24, 1200], Operations: ['38-14=24', '75*16=1200']
Exploring Operation: 1200/24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[38, 75, 16, 14], Operations: []
Exploring Operation: 38-14=24, Resulting Numbers: [75, 16, 24]
Generated Node #0,0: 50:[75, 16, 24] Operation: 38-14=24
Exploring Operation: 75-38=37, Resulting Numbers: [16, 14, 37]
Generated Node #0,1: 50:[16, 14, 37] Operation: 75-38=37
Exploring Operation: 75-14=61, Resulting Numbers: [38, 16, 61]
Generated Node #0,2: 50:[38, 16, 61] Operation: 75-14=61
Exploring Operation: 38-16=22, Resulting Numbers: [75, 14, 22]
Generated Node #0,3: 50:[75, 14, 22] Operation: 38-16=22
Exploring Operation: 75-16=59, Resulting Numbers: [38, 14, 59]
Generated Node #0,4: 50:[38, 14, 59] Operation: 75-16=59
Moving to Node #0,1
Current State: 50:[16, 14, 37], Operations: ['75-38=37']
Exploring Operation: 14+37=51, Resulting Numbers: [16, 51]
Generated Node #0,1,0: 50:[16, 51] Operation: 14+37=51
Exploring Operation: 37-16=21, Resulting Numbers: [14, 21]
Generated Node #0,1,1: 50:[14, 21] Operation: 37-16=21
Exploring Operation: 37-14=23, Resulting Numbers: [16, 23]
Generated Node #0,1,2: 50:[16, 23] Operation: 37-14=23
Exploring Operation: 16-14=2, Resulting Numbers: [37, 2]
Generated Node #0,1,3: 50:[37, 2] Operation: 16-14=2
Exploring Operation: 16+37=53, Resulting Numbers: [14, 53]
Generated Node #0,1,4: 50:[14, 53] Operation: 16+37=53
Moving to Node #0,4
Current State: 50:[38, 14, 59], Operations: ['75-16=59']
Exploring Operation: 59-14=45, Resulting Numbers: [38, 45]
Generated Node #0,4,0: 50:[38, 45] Operation: 59-14=45
Exploring Operation: 38-14=24, Resulting Numbers: [59, 24]
Generated Node #0,4,1: 50:[59, 24] Operation: 38-14=24
Exploring Operation: 14+59=73, Resulting Numbers: [38, 73]
Generated Node #0,4,2: 50:[38, 73] Operation: 14+59=73
Exploring Operation: 59-38=21, Resulting Numbers: [14, 21]
Generated Node #0,4,3: 50:[14, 21] Operation: 59-38=21
Exploring Operation: 38+14=52, Resulting Numbers: [59, 52]
Generated Node #0,4,4: 50:[59, 52] Operation: 38+14=52
Moving to Node #0,2
Current State: 50:[38, 16, 61], Operations: ['75-14=61']
Exploring Operation: 38+16=54, Resulting Numbers: [61, 54]
Generated Node #0,2,0: 50:[61, 54] Operation: 38+16=54
Exploring Operation: 16+61=77, Resulting Numbers: [38, 77]
Generated Node #0,2,1: 50:[38, 77] Operation: 16+61=77
Exploring Operation: 61-16=45, Resulting Numbers: [38, 45]
Generated Node #0,2,2: 50:[38, 45] Operation: 61-16=45
Exploring Operation: 61-38=23, Resulting Numbers: [16, 23]
Generated Node #0,2,3: 50:[16, 23] Operation: 61-38=23
Exploring Operation: 38-16=22, Resulting Numbers: [61, 22]
Generated Node #0,2,4: 50:[61, 22] Operation: 38-16=22
Moving to Node #0,0
Current State: 50:[75, 16, 24], Operations: ['38-14=24']
Exploring Operation: 75-16=59, Resulting Numbers: [24, 59]
Generated Node #0,0,0: 50:[24, 59] Operation: 75-16=59
Exploring Operation: 75-24=51, Resulting Numbers: [16, 51]
Generated Node #0,0,1: 50:[16, 51] Operation: 75-24=51
Exploring Operation: 24-16=8, Resulting Numbers: [75, 8]
Generated Node #0,0,2: 50:[75, 8] Operation: 24-16=8
Exploring Operation: 16+24=40, Resulting Numbers: [75, 40]
Generated Node #0,0,3: 50:[75, 40] Operation: 16+24=40
Exploring Operation: 75+16=91, Resulting Numbers: [24, 91]
Generated Node #0,0,4: 50:[24, 91] Operation: 75+16=91
Moving to Node #0,3
Current State: 50:[75, 14, 22], Operations: ['38-16=22']
Exploring Operation: 75-14=61, Resulting Numbers: [22, 61]
Generated Node #0,3,0: 50:[22, 61] Operation: 75-14=61
Exploring Operation: 75+14=89, Resulting Numbers: [22, 89]
Generated Node #0,3,1: 50:[22, 89] Operation: 75+14=89
Exploring Operation: 14+22=36, Resulting Numbers: [75, 36]
Generated Node #0,3,2: 50:[75, 36] Operation: 14+22=36
Exploring Operation: 75-22=53, Resulting Numbers: [14, 53]
Generated Node #0,3,3: 50:[14, 53] Operation: 75-22=53
Exploring Operation: 22-14=8, Resulting Numbers: [75, 8]
Generated Node #0,3,4: 50:[75, 8] Operation: 22-14=8
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 50:[14, 53], Operations: ['38-16=22', '75-22=53']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 50:[22, 61], Operations: ['38-16=22', '75-14=61']
Exploring Operation: 22*61=1342, Resulting Numbers: [1342]
1342,50 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 22+61=83, Resulting Numbers: [83]
83,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 50:[75, 8], Operations: ['38-16=22', '22-14=8']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 75*8=600, Resulting Numbers: [600]
600,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[75, 36], Operations: ['38-16=22', '14+22=36']
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 75*36=2700, Resulting Numbers: [2700]
2700,50 unequal: No Solution
Exploring Operation: 75+36=111, Resulting Numbers: [111]
111,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 50:[22, 89], Operations: ['38-16=22', '75+14=89']
Exploring Operation: 22+89=111, Resulting Numbers: [111]
111,50 unequal: No Solution
Exploring Operation: 22*89=1958, Resulting Numbers: [1958]
1958,50 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,50 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: 50:[16, 51], Operations: ['75-38=37', '14+37=51']
Exploring Operation: 16+51=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 16*51=816, Resulting Numbers: [816]
816,50 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Moving to Node #0,1,4
Current State: 50:[14, 53], Operations: ['75-38=37', '16+37=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[16, 51], Operations: ['38-14=24', '75-24=51']
Exploring Operation: 16+51=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 16*51=816, Resulting Numbers: [816]
816,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[14, 21], Operations: ['75-38=37', '37-16=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,50 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Moving to Node #0,4,3
Current State: 50:[14, 21], Operations: ['75-16=59', '59-38=21']
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[16, 23], Operations: ['75-14=61', '61-38=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,50 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[16, 23], Operations: ['75-38=37', '37-14=23']
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,50 unequal: No Solution
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Moving to Node #0,4,1
Current State: 50:[59, 24], Operations: ['75-16=59', '38-14=24']
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 59*24=1416, Resulting Numbers: [1416]
1416,50 unequal: No Solution
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[24, 59], Operations: ['38-14=24', '75-16=59']
Exploring Operation: 24+59=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 24*59=1416, Resulting Numbers: [1416]
1416,50 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Moving to Node #0,4,4
Current State: 50:[59, 52], Operations: ['75-16=59', '38+14=52']
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 59+52=111, Resulting Numbers: [111]
111,50 unequal: No Solution
Exploring Operation: 59*52=3068, Resulting Numbers: [3068]
3068,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[37, 2], Operations: ['75-38=37', '16-14=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Moving to Node #0,2,4
Current State: 50:[61, 22], Operations: ['75-14=61', '38-16=22']
Exploring Operation: 61+22=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 61*22=1342, Resulting Numbers: [1342]
1342,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[61, 54], Operations: ['75-14=61', '38+16=54']
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,50 unequal: No Solution
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[38, 45], Operations: ['75-14=61', '61-16=45']
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,50 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Moving to Node #0,4,0
Current State: 50:[38, 45], Operations: ['75-16=59', '59-14=45']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[75, 8], Operations: ['38-14=24', '24-16=8']
Exploring Operation: 75*8=600, Resulting Numbers: [600]
600,50 unequal: No Solution
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Moving to Node #0,4,2
Current State: 50:[38, 73], Operations: ['75-16=59', '14+59=73']
Exploring Operation: 73-38=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 38+73=111, Resulting Numbers: [111]
111,50 unequal: No Solution
Exploring Operation: 38*73=2774, Resulting Numbers: [2774]
2774,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[75, 40], Operations: ['38-14=24', '16+24=40']
Exploring Operation: 75*40=3000, Resulting Numbers: [3000]
3000,50 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 75+40=115, Resulting Numbers: [115]
115,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[38, 77], Operations: ['75-14=61', '16+61=77']
Exploring Operation: 38*77=2926, Resulting Numbers: [2926]
2926,50 unequal: No Solution
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 38+77=115, Resulting Numbers: [115]
115,50 unequal: No Solution
Moving to Node #0,0,4
Current State: 50:[24, 91], Operations: ['38-14=24', '75+16=91']
Exploring Operation: 24*91=2184, Resulting Numbers: [2184]
2184,50 unequal: No Solution
Exploring Operation: 24+91=115, Resulting Numbers: [115]
115,50 unequal: No Solution
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,50 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
35,
4,
66,
16
] | 33 | [
"66-35=31",
"4*16=64",
"64-31=33"
] | Current State: 33:[35, 4, 66, 16], Operations: []
Exploring Operation: 66-35=31, Resulting Numbers: [4, 16, 31]
Generated Node #2: [4, 16, 31] from Operation: 66-35=31
Current State: 33:[4, 16, 31], Operations: ['66-35=31']
Exploring Operation: 4*16=64, Resulting Numbers: [31, 64]
Generated Node #3: [31, 64] from Operation: 4*16=64
Current State: 33:[31, 64], Operations: ['66-35=31', '4*16=64']
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[35, 4, 66, 16], Operations: []
Exploring Operation: 66-35=31, Resulting Numbers: [4, 16, 31]
Generated Node #0,0: 33:[4, 16, 31] Operation: 66-35=31
Moving to Node #0,0
Current State: 33:[4, 16, 31], Operations: ['66-35=31']
Exploring Operation: 16-4=12, Resulting Numbers: [31, 12]
Generated Node #0,0,0: 33:[31, 12] Operation: 16-4=12
Moving to Node #0,0,0
Current State: 33:[31, 12], Operations: ['66-35=31', '16-4=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,33 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
71,
16,
52,
63
] | 54 | [
"71-63=8",
"16/8=2",
"52+2=54"
] | Current State: 54:[71, 16, 52, 63], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [16, 52, 8]
Generated Node #2: [16, 52, 8] from Operation: 71-63=8
Current State: 54:[16, 52, 8], Operations: ['71-63=8']
Exploring Operation: 16/8=2, Resulting Numbers: [52, 2]
Generated Node #3: [52, 2] from Operation: 16/8=2
Current State: 54:[52, 2], Operations: ['71-63=8', '16/8=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[71, 16, 52, 63], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [16, 52, 8]
Generated Node #0,0: 54:[16, 52, 8] Operation: 71-63=8
Exploring Operation: 71-52=19, Resulting Numbers: [16, 63, 19]
Generated Node #0,1: 54:[16, 63, 19] Operation: 71-52=19
Exploring Operation: 71-16=55, Resulting Numbers: [52, 63, 55]
Generated Node #0,2: 54:[52, 63, 55] Operation: 71-16=55
Moving to Node #0,0
Current State: 54:[16, 52, 8], Operations: ['71-63=8']
Exploring Operation: 16-8=8, Resulting Numbers: [52, 8]
Generated Node #0,0,0: 54:[52, 8] Operation: 16-8=8
Exploring Operation: 16+8=24, Resulting Numbers: [52, 24]
Generated Node #0,0,1: 54:[52, 24] Operation: 16+8=24
Exploring Operation: 16/8=2, Resulting Numbers: [52, 2]
Generated Node #0,0,2: 54:[52, 2] Operation: 16/8=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[52, 2], Operations: ['71-63=8', '16/8=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,54 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[71, 16, 52, 63], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [16, 52, 8]
Generated Node #0,0: 54:[16, 52, 8] Operation: 71-63=8
Moving to Node #0,0
Current State: 54:[16, 52, 8], Operations: ['71-63=8']
Exploring Operation: 16/8=2, Resulting Numbers: [52, 2]
Generated Node #0,0,2: 54:[52, 2] Operation: 16/8=2
Moving to Node #0,0,2
Current State: 54:[52, 2], Operations: ['71-63=8', '16/8=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
75,
22,
25,
2
] | 30 | [
"75-22=53",
"25-2=23",
"53-23=30"
] | Current State: 30:[75, 22, 25, 2], Operations: []
Exploring Operation: 75-22=53, Resulting Numbers: [25, 2, 53]
Generated Node #2: [25, 2, 53] from Operation: 75-22=53
Current State: 30:[25, 2, 53], Operations: ['75-22=53']
Exploring Operation: 25-2=23, Resulting Numbers: [53, 23]
Generated Node #3: [53, 23] from Operation: 25-2=23
Current State: 30:[53, 23], Operations: ['75-22=53', '25-2=23']
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[75, 22, 25, 2], Operations: []
Exploring Operation: 75-25=50, Resulting Numbers: [22, 2, 50]
Generated Node #0,0: 30:[22, 2, 50] Operation: 75-25=50
Exploring Operation: 75/25=3, Resulting Numbers: [22, 2, 3]
Generated Node #0,1: 30:[22, 2, 3] Operation: 75/25=3
Exploring Operation: 75-22=53, Resulting Numbers: [25, 2, 53]
Generated Node #0,2: 30:[25, 2, 53] Operation: 75-22=53
Exploring Operation: 25-22=3, Resulting Numbers: [75, 2, 3]
Generated Node #0,3: 30:[75, 2, 3] Operation: 25-22=3
Moving to Node #0,1
Current State: 30:[22, 2, 3], Operations: ['75/25=3']
Exploring Operation: 22+3=25, Resulting Numbers: [2, 25]
Generated Node #0,1,0: 30:[2, 25] Operation: 22+3=25
Exploring Operation: 22-3=19, Resulting Numbers: [2, 19]
Generated Node #0,1,1: 30:[2, 19] Operation: 22-3=19
Exploring Operation: 22/2=11, Resulting Numbers: [3, 11]
Generated Node #0,1,2: 30:[3, 11] Operation: 22/2=11
Exploring Operation: 22-2=20, Resulting Numbers: [3, 20]
Generated Node #0,1,3: 30:[3, 20] Operation: 22-2=20
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[3, 11], Operations: ['75/25=3', '22/2=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,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,1
Current State: 30:[2, 19], Operations: ['75/25=3', '22-3=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,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,0
Current State: 30:[2, 25], Operations: ['75/25=3', '22+3=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,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,3
Current State: 30:[3, 20], Operations: ['75/25=3', '22-2=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,30 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: 30:[22, 2, 50], Operations: ['75-25=50']
Exploring Operation: 22-2=20, Resulting Numbers: [50, 20]
Generated Node #0,0,0: 30:[50, 20] Operation: 22-2=20
Exploring Operation: 22/2=11, Resulting Numbers: [50, 11]
Generated Node #0,0,1: 30:[50, 11] Operation: 22/2=11
Exploring Operation: 50/2=25, Resulting Numbers: [22, 25]
Generated Node #0,0,2: 30:[22, 25] Operation: 50/2=25
Exploring Operation: 50-22=28, Resulting Numbers: [2, 28]
Generated Node #0,0,3: 30:[2, 28] Operation: 50-22=28
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 30:[2, 28], Operations: ['75-25=50', '50-22=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[75, 22, 25, 2], Operations: []
Exploring Operation: 75-25=50, Resulting Numbers: [22, 2, 50]
Generated Node #0,0: 30:[22, 2, 50] Operation: 75-25=50
Moving to Node #0,0
Current State: 30:[22, 2, 50], Operations: ['75-25=50']
Exploring Operation: 50-22=28, Resulting Numbers: [2, 28]
Generated Node #0,0,3: 30:[2, 28] Operation: 50-22=28
Moving to Node #0,0,3
Current State: 30:[2, 28], Operations: ['75-25=50', '50-22=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
6,
22,
22,
70
] | 63 | [
"70-6=64",
"22/22=1",
"64-1=63"
] | Current State: 63:[6, 22, 22, 70], Operations: []
Exploring Operation: 70-6=64, Resulting Numbers: [22, 22, 64]
Generated Node #2: [22, 22, 64] from Operation: 70-6=64
Current State: 63:[22, 22, 64], Operations: ['70-6=64']
Exploring Operation: 22/22=1, Resulting Numbers: [64, 1]
Generated Node #3: [64, 1] from Operation: 22/22=1
Current State: 63:[64, 1], Operations: ['70-6=64', '22/22=1']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[6, 22, 22, 70], Operations: []
Exploring Operation: 70-6=64, Resulting Numbers: [22, 22, 64]
Generated Node #0,0: 63:[22, 22, 64] Operation: 70-6=64
Exploring Operation: 22/22=1, Resulting Numbers: [6, 70, 1]
Generated Node #0,1: 63:[6, 70, 1] Operation: 22/22=1
Moving to Node #0,0
Current State: 63:[22, 22, 64], Operations: ['70-6=64']
Exploring Operation: 22/22=1, Resulting Numbers: [64, 1]
Generated Node #0,0,0: 63:[64, 1] Operation: 22/22=1
Exploring Operation: 22-22=0, Resulting Numbers: [64, 0]
Generated Node #0,0,1: 63:[64, 0] Operation: 22-22=0
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[64, 1], Operations: ['70-6=64', '22/22=1']
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[6, 22, 22, 70], Operations: []
Exploring Operation: 70-6=64, Resulting Numbers: [22, 22, 64]
Generated Node #0,0: 63:[22, 22, 64] Operation: 70-6=64
Moving to Node #0,0
Current State: 63:[22, 22, 64], Operations: ['70-6=64']
Exploring Operation: 22/22=1, Resulting Numbers: [64, 1]
Generated Node #0,0,0: 63:[64, 1] Operation: 22/22=1
Moving to Node #0,0,0
Current State: 63:[64, 1], Operations: ['70-6=64', '22/22=1']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
22,
37,
28,
2
] | 12 | [
"22+28=50",
"50/2=25",
"37-25=12"
] | Current State: 12:[22, 37, 28, 2], Operations: []
Exploring Operation: 22+28=50, Resulting Numbers: [37, 2, 50]
Generated Node #2: [37, 2, 50] from Operation: 22+28=50
Current State: 12:[37, 2, 50], Operations: ['22+28=50']
Exploring Operation: 50/2=25, Resulting Numbers: [37, 25]
Generated Node #3: [37, 25] from Operation: 50/2=25
Current State: 12:[37, 25], Operations: ['22+28=50', '50/2=25']
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[22, 37, 28, 2], Operations: []
Exploring Operation: 37-22=15, Resulting Numbers: [28, 2, 15]
Generated Node #0,0: 12:[28, 2, 15] Operation: 37-22=15
Exploring Operation: 28-22=6, Resulting Numbers: [37, 2, 6]
Generated Node #0,1: 12:[37, 2, 6] Operation: 28-22=6
Exploring Operation: 37-28=9, Resulting Numbers: [22, 2, 9]
Generated Node #0,2: 12:[22, 2, 9] Operation: 37-28=9
Exploring Operation: 28/2=14, Resulting Numbers: [22, 37, 14]
Generated Node #0,3: 12:[22, 37, 14] Operation: 28/2=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[22, 2, 9], Operations: ['37-28=9']
Exploring Operation: 22-9=13, Resulting Numbers: [2, 13]
Generated Node #0,2,0: 12:[2, 13] Operation: 22-9=13
Exploring Operation: 2+9=11, Resulting Numbers: [22, 11]
Generated Node #0,2,1: 12:[22, 11] Operation: 2+9=11
Exploring Operation: 22-2=20, Resulting Numbers: [9, 20]
Generated Node #0,2,2: 12:[9, 20] Operation: 22-2=20
Exploring Operation: 22/2=11, Resulting Numbers: [9, 11]
Generated Node #0,2,3: 12:[9, 11] Operation: 22/2=11
Moving to Node #0,2,0
Current State: 12:[2, 13], Operations: ['37-28=9', '22-9=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[9, 11], Operations: ['37-28=9', '22/2=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,12 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[9, 20], Operations: ['37-28=9', '22-2=20']
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,12 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[22, 11], Operations: ['37-28=9', '2+9=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,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
Current State: 12:[28, 2, 15], Operations: ['37-22=15']
Exploring Operation: 28-15=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 12:[2, 13] Operation: 28-15=13
Exploring Operation: 15-2=13, Resulting Numbers: [28, 13]
Generated Node #0,0,1: 12:[28, 13] Operation: 15-2=13
Exploring Operation: 28-2=26, Resulting Numbers: [15, 26]
Generated Node #0,0,2: 12:[15, 26] Operation: 28-2=26
Exploring Operation: 28/2=14, Resulting Numbers: [15, 14]
Generated Node #0,0,3: 12:[15, 14] Operation: 28/2=14
Moving to Node #0,0,0
Current State: 12:[2, 13], Operations: ['37-22=15', '28-15=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[15, 14], Operations: ['37-22=15', '28/2=14']
Exploring Operation: 15*14=210, Resulting Numbers: [210]
210,12 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[15, 26], Operations: ['37-22=15', '28-2=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[28, 13], Operations: ['37-22=15', '15-2=13']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[37, 2, 6], Operations: ['28-22=6']
Exploring Operation: 2*6=12, Resulting Numbers: [37, 12]
Generated Node #0,1,0: 12:[37, 12] Operation: 2*6=12
Exploring Operation: 6-2=4, Resulting Numbers: [37, 4]
Generated Node #0,1,1: 12:[37, 4] Operation: 6-2=4
Exploring Operation: 37-6=31, Resulting Numbers: [2, 31]
Generated Node #0,1,2: 12:[2, 31] Operation: 37-6=31
Exploring Operation: 37-2=35, Resulting Numbers: [6, 35]
Generated Node #0,1,3: 12:[6, 35] Operation: 37-2=35
Moving to Node #0,1,2
Current State: 12:[2, 31], Operations: ['28-22=6', '37-6=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[6, 35], Operations: ['28-22=6', '37-2=35']
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,12 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[37, 4], Operations: ['28-22=6', '6-2=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[37, 12], Operations: ['28-22=6', '2*6=12']
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,12 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[22, 37, 14], Operations: ['28/2=14']
Exploring Operation: 22-14=8, Resulting Numbers: [37, 8]
Generated Node #0,3,0: 12:[37, 8] Operation: 22-14=8
Exploring Operation: 37-14=23, Resulting Numbers: [22, 23]
Generated Node #0,3,1: 12:[22, 23] Operation: 37-14=23
Exploring Operation: 22+37=59, Resulting Numbers: [14, 59]
Generated Node #0,3,2: 12:[14, 59] Operation: 22+37=59
Exploring Operation: 37-22=15, Resulting Numbers: [14, 15]
Generated Node #0,3,3: 12:[14, 15] Operation: 37-22=15
Moving to Node #0,3,3
Current State: 12:[14, 15], Operations: ['28/2=14', '37-22=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[22, 23], Operations: ['28/2=14', '37-14=23']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,12 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[37, 8], Operations: ['28/2=14', '22-14=8']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,12 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[14, 59], Operations: ['28/2=14', '22+37=59']
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 14+59=73, Resulting Numbers: [73]
73,12 unequal: No Solution
Exploring Operation: 14*59=826, Resulting Numbers: [826]
826,12 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 |
[
98,
43,
54,
97
] | 12 | [
"98-43=55",
"97-54=43",
"55-43=12"
] | Current State: 12:[98, 43, 54, 97], Operations: []
Exploring Operation: 98-43=55, Resulting Numbers: [54, 97, 55]
Generated Node #2: [54, 97, 55] from Operation: 98-43=55
Current State: 12:[54, 97, 55], Operations: ['98-43=55']
Exploring Operation: 97-54=43, Resulting Numbers: [55, 43]
Generated Node #3: [55, 43] from Operation: 97-54=43
Current State: 12:[55, 43], Operations: ['98-43=55', '97-54=43']
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[98, 43, 54, 97], Operations: []
Exploring Operation: 97-54=43, Resulting Numbers: [98, 43, 43]
Generated Node #0,0: 12:[98, 43, 43] Operation: 97-54=43
Exploring Operation: 98-97=1, Resulting Numbers: [43, 54, 1]
Generated Node #0,1: 12:[43, 54, 1] Operation: 98-97=1
Exploring Operation: 98-54=44, Resulting Numbers: [43, 97, 44]
Generated Node #0,2: 12:[43, 97, 44] Operation: 98-54=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[43, 54, 1], Operations: ['98-97=1']
Exploring Operation: 43-1=42, Resulting Numbers: [54, 42]
Generated Node #0,1,0: 12:[54, 42] Operation: 43-1=42
Exploring Operation: 54-1=53, Resulting Numbers: [43, 53]
Generated Node #0,1,1: 12:[43, 53] Operation: 54-1=53
Exploring Operation: 54-43=11, Resulting Numbers: [1, 11]
Generated Node #0,1,2: 12:[1, 11] Operation: 54-43=11
Moving to Node #0,1,2
Current State: 12:[1, 11], Operations: ['98-97=1', '54-43=11']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[98, 43, 54, 97], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [43, 54, 1]
Generated Node #0,1: 12:[43, 54, 1] Operation: 98-97=1
Moving to Node #0,1
Current State: 12:[43, 54, 1], Operations: ['98-97=1']
Exploring Operation: 54-43=11, Resulting Numbers: [1, 11]
Generated Node #0,1,2: 12:[1, 11] Operation: 54-43=11
Moving to Node #0,1,2
Current State: 12:[1, 11], Operations: ['98-97=1', '54-43=11']
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
91,
52,
41,
25
] | 55 | [
"91-52=39",
"41-25=16",
"39+16=55"
] | Current State: 55:[91, 52, 41, 25], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [41, 25, 39]
Generated Node #2: [41, 25, 39] from Operation: 91-52=39
Current State: 55:[41, 25, 39], Operations: ['91-52=39']
Exploring Operation: 41-25=16, Resulting Numbers: [39, 16]
Generated Node #3: [39, 16] from Operation: 41-25=16
Current State: 55:[39, 16], Operations: ['91-52=39', '41-25=16']
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[91, 52, 41, 25], Operations: []
Exploring Operation: 91-41=50, Resulting Numbers: [52, 25, 50]
Generated Node #0,0: 55:[52, 25, 50] Operation: 91-41=50
Exploring Operation: 91-25=66, Resulting Numbers: [52, 41, 66]
Generated Node #0,1: 55:[52, 41, 66] Operation: 91-25=66
Moving to Node #0,0
Current State: 55:[52, 25, 50], Operations: ['91-41=50']
Exploring Operation: 50/25=2, Resulting Numbers: [52, 2]
Generated Node #0,0,0: 55:[52, 2] Operation: 50/25=2
Exploring Operation: 52-50=2, Resulting Numbers: [25, 2]
Generated Node #0,0,1: 55:[25, 2] Operation: 52-50=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[52, 2], Operations: ['91-41=50', '50/25=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[25, 2], Operations: ['91-41=50', '52-50=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 55:[52, 41, 66], Operations: ['91-25=66']
Exploring Operation: 66-52=14, Resulting Numbers: [41, 14]
Generated Node #0,1,0: 55:[41, 14] Operation: 66-52=14
Exploring Operation: 52-41=11, Resulting Numbers: [66, 11]
Generated Node #0,1,1: 55:[66, 11] Operation: 52-41=11
Moving to Node #0,1,1
Current State: 55:[66, 11], Operations: ['91-25=66', '52-41=11']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[91, 52, 41, 25], Operations: []
Exploring Operation: 91-25=66, Resulting Numbers: [52, 41, 66]
Generated Node #0,1: 55:[52, 41, 66] Operation: 91-25=66
Moving to Node #0,1
Current State: 55:[52, 41, 66], Operations: ['91-25=66']
Exploring Operation: 52-41=11, Resulting Numbers: [66, 11]
Generated Node #0,1,1: 55:[66, 11] Operation: 52-41=11
Moving to Node #0,1,1
Current State: 55:[66, 11], Operations: ['91-25=66', '52-41=11']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
81,
8,
50,
63
] | 24 | [
"81+8=89",
"50+63=113",
"113-89=24"
] | Current State: 24:[81, 8, 50, 63], Operations: []
Exploring Operation: 81+8=89, Resulting Numbers: [50, 63, 89]
Generated Node #2: [50, 63, 89] from Operation: 81+8=89
Current State: 24:[50, 63, 89], Operations: ['81+8=89']
Exploring Operation: 50+63=113, Resulting Numbers: [89, 113]
Generated Node #3: [89, 113] from Operation: 50+63=113
Current State: 24:[89, 113], Operations: ['81+8=89', '50+63=113']
Exploring Operation: 113-89=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[81, 8, 50, 63], Operations: []
Exploring Operation: 81-63=18, Resulting Numbers: [8, 50, 18]
Generated Node #0,0: 24:[8, 50, 18] Operation: 81-63=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[8, 50, 18], Operations: ['81-63=18']
Exploring Operation: 50-18=32, Resulting Numbers: [8, 32]
Generated Node #0,0,0: 24:[8, 32] Operation: 50-18=32
Moving to Node #0,0,0
Current State: 24:[8, 32], Operations: ['81-63=18', '50-18=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[81, 8, 50, 63], Operations: []
Exploring Operation: 81-63=18, Resulting Numbers: [8, 50, 18]
Generated Node #0,0: 24:[8, 50, 18] Operation: 81-63=18
Moving to Node #0,0
Current State: 24:[8, 50, 18], Operations: ['81-63=18']
Exploring Operation: 50-18=32, Resulting Numbers: [8, 32]
Generated Node #0,0,0: 24:[8, 32] Operation: 50-18=32
Moving to Node #0,0,0
Current State: 24:[8, 32], Operations: ['81-63=18', '50-18=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
81,
84,
24,
42
] | 21 | [
"84-81=3",
"42-24=18",
"3+18=21"
] | Current State: 21:[81, 84, 24, 42], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [24, 42, 3]
Generated Node #2: [24, 42, 3] from Operation: 84-81=3
Current State: 21:[24, 42, 3], Operations: ['84-81=3']
Exploring Operation: 42-24=18, Resulting Numbers: [3, 18]
Generated Node #3: [3, 18] from Operation: 42-24=18
Current State: 21:[3, 18], Operations: ['84-81=3', '42-24=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[81, 84, 24, 42], Operations: []
Exploring Operation: 81-42=39, Resulting Numbers: [84, 24, 39]
Generated Node #0,0: 21:[84, 24, 39] Operation: 81-42=39
Exploring Operation: 84/42=2, Resulting Numbers: [81, 24, 2]
Generated Node #0,1: 21:[81, 24, 2] Operation: 84/42=2
Exploring Operation: 84-81=3, Resulting Numbers: [24, 42, 3]
Generated Node #0,2: 21:[24, 42, 3] Operation: 84-81=3
Moving to Node #0,2
Current State: 21:[24, 42, 3], Operations: ['84-81=3']
Exploring Operation: 42-24=18, Resulting Numbers: [3, 18]
Generated Node #0,2,0: 21:[3, 18] Operation: 42-24=18
Exploring Operation: 42/3=14, Resulting Numbers: [24, 14]
Generated Node #0,2,1: 21:[24, 14] Operation: 42/3=14
Exploring Operation: 24-3=21, Resulting Numbers: [42, 21]
Generated Node #0,2,2: 21:[42, 21] Operation: 24-3=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[3, 18], Operations: ['84-81=3', '42-24=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[81, 84, 24, 42], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [24, 42, 3]
Generated Node #0,2: 21:[24, 42, 3] Operation: 84-81=3
Moving to Node #0,2
Current State: 21:[24, 42, 3], Operations: ['84-81=3']
Exploring Operation: 42-24=18, Resulting Numbers: [3, 18]
Generated Node #0,2,0: 21:[3, 18] Operation: 42-24=18
Moving to Node #0,2,0
Current State: 21:[3, 18], Operations: ['84-81=3', '42-24=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
82,
80,
93,
74
] | 14 | [
"93-82=11",
"80+74=154",
"154/11=14"
] | Current State: 14:[82, 80, 93, 74], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [80, 74, 11]
Generated Node #2: [80, 74, 11] from Operation: 93-82=11
Current State: 14:[80, 74, 11], Operations: ['93-82=11']
Exploring Operation: 80+74=154, Resulting Numbers: [11, 154]
Generated Node #3: [11, 154] from Operation: 80+74=154
Current State: 14:[11, 154], Operations: ['93-82=11', '80+74=154']
Exploring Operation: 154/11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[82, 80, 93, 74], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [82, 80, 19]
Generated Node #0,0: 14:[82, 80, 19] Operation: 93-74=19
Exploring Operation: 93-82=11, Resulting Numbers: [80, 74, 11]
Generated Node #0,1: 14:[80, 74, 11] Operation: 93-82=11
Exploring Operation: 82-80=2, Resulting Numbers: [93, 74, 2]
Generated Node #0,2: 14:[93, 74, 2] Operation: 82-80=2
Exploring Operation: 93-80=13, Resulting Numbers: [82, 74, 13]
Generated Node #0,3: 14:[82, 74, 13] Operation: 93-80=13
Moving to Node #0,1
Current State: 14:[80, 74, 11], Operations: ['93-82=11']
Exploring Operation: 74-11=63, Resulting Numbers: [80, 63]
Generated Node #0,1,0: 14:[80, 63] Operation: 74-11=63
Exploring Operation: 80-74=6, Resulting Numbers: [11, 6]
Generated Node #0,1,1: 14:[11, 6] Operation: 80-74=6
Exploring Operation: 80+11=91, Resulting Numbers: [74, 91]
Generated Node #0,1,2: 14:[74, 91] Operation: 80+11=91
Exploring Operation: 80-11=69, Resulting Numbers: [74, 69]
Generated Node #0,1,3: 14:[74, 69] Operation: 80-11=69
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[11, 6], Operations: ['93-82=11', '80-74=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[80, 63], Operations: ['93-82=11', '74-11=63']
Exploring Operation: 80+63=143, Resulting Numbers: [143]
143,14 unequal: No Solution
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,14 unequal: No Solution
Exploring Operation: 80*63=5040, Resulting Numbers: [5040]
5040,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[74, 69], Operations: ['93-82=11', '80-11=69']
Exploring Operation: 74+69=143, Resulting Numbers: [143]
143,14 unequal: No Solution
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 74*69=5106, Resulting Numbers: [5106]
5106,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[74, 91], Operations: ['93-82=11', '80+11=91']
Exploring Operation: 91-74=17, Resulting Numbers: [17]
17,14 unequal: No Solution
Exploring Operation: 74*91=6734, Resulting Numbers: [6734]
6734,14 unequal: No Solution
Exploring Operation: 74+91=165, Resulting Numbers: [165]
165,14 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: 14:[82, 74, 13], Operations: ['93-80=13']
Exploring Operation: 82-13=69, Resulting Numbers: [74, 69]
Generated Node #0,3,0: 14:[74, 69] Operation: 82-13=69
Exploring Operation: 82+13=95, Resulting Numbers: [74, 95]
Generated Node #0,3,1: 14:[74, 95] Operation: 82+13=95
Exploring Operation: 82-74=8, Resulting Numbers: [13, 8]
Generated Node #0,3,2: 14:[13, 8] Operation: 82-74=8
Exploring Operation: 74-13=61, Resulting Numbers: [82, 61]
Generated Node #0,3,3: 14:[82, 61] Operation: 74-13=61
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 14:[13, 8], Operations: ['93-80=13', '82-74=8']
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,14 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,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,3,0
Current State: 14:[74, 69], Operations: ['93-80=13', '82-13=69']
Exploring Operation: 74+69=143, Resulting Numbers: [143]
143,14 unequal: No Solution
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 74*69=5106, Resulting Numbers: [5106]
5106,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,3,3
Current State: 14:[82, 61], Operations: ['93-80=13', '74-13=61']
Exploring Operation: 82+61=143, Resulting Numbers: [143]
143,14 unequal: No Solution
Exploring Operation: 82*61=5002, Resulting Numbers: [5002]
5002,14 unequal: No Solution
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,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,3,1
Current State: 14:[74, 95], Operations: ['93-80=13', '82+13=95']
Exploring Operation: 74+95=169, Resulting Numbers: [169]
169,14 unequal: No Solution
Exploring Operation: 95-74=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 74*95=7030, Resulting Numbers: [7030]
7030,14 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: 14:[93, 74, 2], Operations: ['82-80=2']
Exploring Operation: 74-2=72, Resulting Numbers: [93, 72]
Generated Node #0,2,0: 14:[93, 72] Operation: 74-2=72
Exploring Operation: 93-2=91, Resulting Numbers: [74, 91]
Generated Node #0,2,1: 14:[74, 91] Operation: 93-2=91
Exploring Operation: 93-74=19, Resulting Numbers: [2, 19]
Generated Node #0,2,2: 14:[2, 19] Operation: 93-74=19
Exploring Operation: 74/2=37, Resulting Numbers: [93, 37]
Generated Node #0,2,3: 14:[93, 37] Operation: 74/2=37
Moving to Node #0,0
Current State: 14:[82, 80, 19], Operations: ['93-74=19']
Exploring Operation: 82+80=162, Resulting Numbers: [19, 162]
Generated Node #0,0,0: 14:[19, 162] Operation: 82+80=162
Exploring Operation: 82-80=2, Resulting Numbers: [19, 2]
Generated Node #0,0,1: 14:[19, 2] Operation: 82-80=2
Exploring Operation: 80-19=61, Resulting Numbers: [82, 61]
Generated Node #0,0,2: 14:[82, 61] Operation: 80-19=61
Exploring Operation: 82-19=63, Resulting Numbers: [80, 63]
Generated Node #0,0,3: 14:[80, 63] Operation: 82-19=63
Moving to Node #0,2,2
Current State: 14:[2, 19], Operations: ['82-80=2', '93-74=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,14 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[19, 2], Operations: ['93-74=19', '82-80=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,14 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[93, 37], Operations: ['82-80=2', '74/2=37']
Exploring Operation: 93+37=130, Resulting Numbers: [130]
130,14 unequal: No Solution
Exploring Operation: 93*37=3441, Resulting Numbers: [3441]
3441,14 unequal: No Solution
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[82, 61], Operations: ['93-74=19', '80-19=61']
Exploring Operation: 82+61=143, Resulting Numbers: [143]
143,14 unequal: No Solution
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 82*61=5002, Resulting Numbers: [5002]
5002,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[80, 63], Operations: ['93-74=19', '82-19=63']
Exploring Operation: 80*63=5040, Resulting Numbers: [5040]
5040,14 unequal: No Solution
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,14 unequal: No Solution
Exploring Operation: 80+63=143, Resulting Numbers: [143]
143,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[93, 72], Operations: ['82-80=2', '74-2=72']
Exploring Operation: 93-72=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 93*72=6696, Resulting Numbers: [6696]
6696,14 unequal: No Solution
Exploring Operation: 93+72=165, Resulting Numbers: [165]
165,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[74, 91], Operations: ['82-80=2', '93-2=91']
Exploring Operation: 74+91=165, Resulting Numbers: [165]
165,14 unequal: No Solution
Exploring Operation: 74*91=6734, Resulting Numbers: [6734]
6734,14 unequal: No Solution
Exploring Operation: 91-74=17, Resulting Numbers: [17]
17,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[19, 162], Operations: ['93-74=19', '82+80=162']
Exploring Operation: 19*162=3078, Resulting Numbers: [3078]
3078,14 unequal: No Solution
Exploring Operation: 19+162=181, Resulting Numbers: [181]
181,14 unequal: No Solution
Exploring Operation: 162-19=143, Resulting Numbers: [143]
143,14 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
18,
17,
68,
97
] | 30 | [
"18-17=1",
"97-68=29",
"1+29=30"
] | Current State: 30:[18, 17, 68, 97], Operations: []
Exploring Operation: 18-17=1, Resulting Numbers: [68, 97, 1]
Generated Node #2: [68, 97, 1] from Operation: 18-17=1
Current State: 30:[68, 97, 1], Operations: ['18-17=1']
Exploring Operation: 97-68=29, Resulting Numbers: [1, 29]
Generated Node #3: [1, 29] from Operation: 97-68=29
Current State: 30:[1, 29], Operations: ['18-17=1', '97-68=29']
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[18, 17, 68, 97], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [18, 97, 4]
Generated Node #0,0: 30:[18, 97, 4] Operation: 68/17=4
Exploring Operation: 97-68=29, Resulting Numbers: [18, 17, 29]
Generated Node #0,1: 30:[18, 17, 29] Operation: 97-68=29
Moving to Node #0,1
Current State: 30:[18, 17, 29], Operations: ['97-68=29']
Exploring Operation: 18-17=1, Resulting Numbers: [29, 1]
Generated Node #0,1,0: 30:[29, 1] Operation: 18-17=1
Exploring Operation: 29-18=11, Resulting Numbers: [17, 11]
Generated Node #0,1,1: 30:[17, 11] Operation: 29-18=11
Moving to Node #0,0
Current State: 30:[18, 97, 4], Operations: ['68/17=4']
Exploring Operation: 97-4=93, Resulting Numbers: [18, 93]
Generated Node #0,0,0: 30:[18, 93] Operation: 97-4=93
Exploring Operation: 97-18=79, Resulting Numbers: [4, 79]
Generated Node #0,0,1: 30:[4, 79] Operation: 97-18=79
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[4, 79], Operations: ['68/17=4', '97-18=79']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[18, 93], Operations: ['68/17=4', '97-4=93']
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 18+93=111, Resulting Numbers: [111]
111,30 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: 30:[29, 1], Operations: ['97-68=29', '18-17=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[18, 17, 68, 97], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [18, 17, 29]
Generated Node #0,1: 30:[18, 17, 29] Operation: 97-68=29
Moving to Node #0,1
Current State: 30:[18, 17, 29], Operations: ['97-68=29']
Exploring Operation: 18-17=1, Resulting Numbers: [29, 1]
Generated Node #0,1,0: 30:[29, 1] Operation: 18-17=1
Moving to Node #0,1,0
Current State: 30:[29, 1], Operations: ['97-68=29', '18-17=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
31,
17,
40,
42
] | 35 | [
"31+17=48",
"40*42=1680",
"1680/48=35"
] | Current State: 35:[31, 17, 40, 42], Operations: []
Exploring Operation: 31+17=48, Resulting Numbers: [40, 42, 48]
Generated Node #2: [40, 42, 48] from Operation: 31+17=48
Current State: 35:[40, 42, 48], Operations: ['31+17=48']
Exploring Operation: 40*42=1680, Resulting Numbers: [48, 1680]
Generated Node #3: [48, 1680] from Operation: 40*42=1680
Current State: 35:[48, 1680], Operations: ['31+17=48', '40*42=1680']
Exploring Operation: 1680/48=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[31, 17, 40, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [31, 17, 2]
Generated Node #0,0: 35:[31, 17, 2] Operation: 42-40=2
Exploring Operation: 31-17=14, Resulting Numbers: [40, 42, 14]
Generated Node #0,1: 35:[40, 42, 14] Operation: 31-17=14
Moving to Node #0,0
Current State: 35:[31, 17, 2], Operations: ['42-40=2']
Exploring Operation: 17*2=34, Resulting Numbers: [31, 34]
Generated Node #0,0,0: 35:[31, 34] Operation: 17*2=34
Exploring Operation: 31-17=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 35:[2, 14] Operation: 31-17=14
Moving to Node #0,1
Current State: 35:[40, 42, 14], Operations: ['31-17=14']
Exploring Operation: 42/14=3, Resulting Numbers: [40, 3]
Generated Node #0,1,0: 35:[40, 3] Operation: 42/14=3
Exploring Operation: 42-40=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 35:[14, 2] Operation: 42-40=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[40, 3], Operations: ['31-17=14', '42/14=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[14, 2], Operations: ['31-17=14', '42-40=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 35:[31, 34], Operations: ['42-40=2', '17*2=34']
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 31+34=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[2, 14], Operations: ['42-40=2', '31-17=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
56,
20,
30,
12
] | 23 | [
"20-12=8",
"56/8=7",
"30-7=23"
] | Current State: 23:[56, 20, 30, 12], Operations: []
Exploring Operation: 20-12=8, Resulting Numbers: [56, 30, 8]
Generated Node #2: [56, 30, 8] from Operation: 20-12=8
Current State: 23:[56, 30, 8], Operations: ['20-12=8']
Exploring Operation: 56/8=7, Resulting Numbers: [30, 7]
Generated Node #3: [30, 7] from Operation: 56/8=7
Current State: 23:[30, 7], Operations: ['20-12=8', '56/8=7']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[56, 20, 30, 12], Operations: []
Exploring Operation: 56-30=26, Resulting Numbers: [20, 12, 26]
Generated Node #0,0: 23:[20, 12, 26] Operation: 56-30=26
Moving to Node #0,0
Current State: 23:[20, 12, 26], Operations: ['56-30=26']
Exploring Operation: 20+12=32, Resulting Numbers: [26, 32]
Generated Node #0,0,0: 23:[26, 32] Operation: 20+12=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[26, 32], Operations: ['56-30=26', '20+12=32']
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,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 |
[
88,
90,
44,
26
] | 48 | [
"90-88=2",
"44/2=22",
"26+22=48"
] | Current State: 48:[88, 90, 44, 26], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [44, 26, 2]
Generated Node #2: [44, 26, 2] from Operation: 90-88=2
Current State: 48:[44, 26, 2], Operations: ['90-88=2']
Exploring Operation: 44/2=22, Resulting Numbers: [26, 22]
Generated Node #3: [26, 22] from Operation: 44/2=22
Current State: 48:[26, 22], Operations: ['90-88=2', '44/2=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[88, 90, 44, 26], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [90, 26, 2]
Generated Node #0,0: 48:[90, 26, 2] Operation: 88/44=2
Exploring Operation: 90-88=2, Resulting Numbers: [44, 26, 2]
Generated Node #0,1: 48:[44, 26, 2] Operation: 90-88=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[44, 26, 2], Operations: ['90-88=2']
Exploring Operation: 44+2=46, Resulting Numbers: [26, 46]
Generated Node #0,1,0: 48:[26, 46] Operation: 44+2=46
Exploring Operation: 44-26=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 48:[2, 18] Operation: 44-26=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 48:[2, 18], Operations: ['90-88=2', '44-26=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[26, 46], Operations: ['90-88=2', '44+2=46']
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[90, 26, 2], Operations: ['88/44=2']
Exploring Operation: 90-26=64, Resulting Numbers: [2, 64]
Generated Node #0,0,0: 48:[2, 64] Operation: 90-26=64
Exploring Operation: 90/2=45, Resulting Numbers: [26, 45]
Generated Node #0,0,1: 48:[26, 45] Operation: 90/2=45
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[26, 45], Operations: ['88/44=2', '90/2=45']
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[2, 64], Operations: ['88/44=2', '90-26=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
96,
57,
18
] | 71 | [
"96+18=114",
"114/57=2",
"69+2=71"
] | Current State: 71:[69, 96, 57, 18], Operations: []
Exploring Operation: 96+18=114, Resulting Numbers: [69, 57, 114]
Generated Node #2: [69, 57, 114] from Operation: 96+18=114
Current State: 71:[69, 57, 114], Operations: ['96+18=114']
Exploring Operation: 114/57=2, Resulting Numbers: [69, 2]
Generated Node #3: [69, 2] from Operation: 114/57=2
Current State: 71:[69, 2], Operations: ['96+18=114', '114/57=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[69, 96, 57, 18], Operations: []
Exploring Operation: 57+18=75, Resulting Numbers: [69, 96, 75]
Generated Node #0,0: 71:[69, 96, 75] Operation: 57+18=75
Exploring Operation: 69+18=87, Resulting Numbers: [96, 57, 87]
Generated Node #0,1: 71:[96, 57, 87] Operation: 69+18=87
Exploring Operation: 96-18=78, Resulting Numbers: [69, 57, 78]
Generated Node #0,2: 71:[69, 57, 78] Operation: 96-18=78
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[69, 57, 78], Operations: ['96-18=78']
Exploring Operation: 78-57=21, Resulting Numbers: [69, 21]
Generated Node #0,2,0: 71:[69, 21] Operation: 78-57=21
Exploring Operation: 69-57=12, Resulting Numbers: [78, 12]
Generated Node #0,2,1: 71:[78, 12] Operation: 69-57=12
Exploring Operation: 69+57=126, Resulting Numbers: [78, 126]
Generated Node #0,2,2: 71:[78, 126] Operation: 69+57=126
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[69, 21], Operations: ['96-18=78', '78-57=21']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,71 unequal: No Solution
No 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: 71:[78, 126], Operations: ['96-18=78', '69+57=126']
Exploring Operation: 126-78=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Exploring Operation: 78*126=9828, Resulting Numbers: [9828]
9828,71 unequal: No Solution
Exploring Operation: 78+126=204, Resulting Numbers: [204]
204,71 unequal: No Solution
No 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: 71:[78, 12], Operations: ['96-18=78', '69-57=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,71 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,71 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: 71:[69, 96, 75], Operations: ['57+18=75']
Exploring Operation: 75-69=6, Resulting Numbers: [96, 6]
Generated Node #0,0,0: 71:[96, 6] Operation: 75-69=6
Exploring Operation: 96-75=21, Resulting Numbers: [69, 21]
Generated Node #0,0,1: 71:[69, 21] Operation: 96-75=21
Exploring Operation: 96-69=27, Resulting Numbers: [75, 27]
Generated Node #0,0,2: 71:[75, 27] Operation: 96-69=27
Moving to Node #0,0,2
Current State: 71:[75, 27], Operations: ['57+18=75', '96-69=27']
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Exploring Operation: 75*27=2025, Resulting Numbers: [2025]
2025,71 unequal: No Solution
Exploring Operation: 75+27=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[69, 21], Operations: ['57+18=75', '96-75=21']
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,71 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[96, 6], Operations: ['57+18=75', '75-69=6']
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[96, 57, 87], Operations: ['69+18=87']
Exploring Operation: 87-57=30, Resulting Numbers: [96, 30]
Generated Node #0,1,0: 71:[96, 30] Operation: 87-57=30
Exploring Operation: 96-87=9, Resulting Numbers: [57, 9]
Generated Node #0,1,1: 71:[57, 9] Operation: 96-87=9
Exploring Operation: 96-57=39, Resulting Numbers: [87, 39]
Generated Node #0,1,2: 71:[87, 39] Operation: 96-57=39
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[87, 39], Operations: ['69+18=87', '96-57=39']
Exploring Operation: 87*39=3393, Resulting Numbers: [3393]
3393,71 unequal: No Solution
Exploring Operation: 87+39=126, Resulting Numbers: [126]
126,71 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,71 unequal: No Solution
No 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: 71:[96, 30], Operations: ['69+18=87', '87-57=30']
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Exploring Operation: 96+30=126, Resulting Numbers: [126]
126,71 unequal: No Solution
Exploring Operation: 96*30=2880, Resulting Numbers: [2880]
2880,71 unequal: No Solution
No 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: 71:[57, 9], Operations: ['69+18=87', '96-87=9']
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Exploring Operation: 57*9=513, Resulting Numbers: [513]
513,71 unequal: No Solution
Exploring Operation: 57+9=66, Resulting Numbers: [66]
66,71 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 |
[
98,
95,
63,
11
] | 32 | [
"98-95=3",
"63/3=21",
"11+21=32"
] | Current State: 32:[98, 95, 63, 11], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [63, 11, 3]
Generated Node #2: [63, 11, 3] from Operation: 98-95=3
Current State: 32:[63, 11, 3], Operations: ['98-95=3']
Exploring Operation: 63/3=21, Resulting Numbers: [11, 21]
Generated Node #3: [11, 21] from Operation: 63/3=21
Current State: 32:[11, 21], Operations: ['98-95=3', '63/3=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[98, 95, 63, 11], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [95, 11, 35]
Generated Node #0,0: 32:[95, 11, 35] Operation: 98-63=35
Exploring Operation: 98-95=3, Resulting Numbers: [63, 11, 3]
Generated Node #0,1: 32:[63, 11, 3] Operation: 98-95=3
Exploring Operation: 95-63=32, Resulting Numbers: [98, 11, 32]
Generated Node #0,2: 32:[98, 11, 32] Operation: 95-63=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[63, 11, 3], Operations: ['98-95=3']
Exploring Operation: 63-11=52, Resulting Numbers: [3, 52]
Generated Node #0,1,0: 32:[3, 52] Operation: 63-11=52
Exploring Operation: 63/3=21, Resulting Numbers: [11, 21]
Generated Node #0,1,1: 32:[11, 21] Operation: 63/3=21
Exploring Operation: 63-3=60, Resulting Numbers: [11, 60]
Generated Node #0,1,2: 32:[11, 60] Operation: 63-3=60
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 32:[11, 21], Operations: ['98-95=3', '63/3=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[98, 95, 63, 11], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [63, 11, 3]
Generated Node #0,1: 32:[63, 11, 3] Operation: 98-95=3
Moving to Node #0,1
Current State: 32:[63, 11, 3], Operations: ['98-95=3']
Exploring Operation: 63/3=21, Resulting Numbers: [11, 21]
Generated Node #0,1,1: 32:[11, 21] Operation: 63/3=21
Moving to Node #0,1,1
Current State: 32:[11, 21], Operations: ['98-95=3', '63/3=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
75,
90,
60,
72
] | 48 | [
"75+60=135",
"90*72=6480",
"6480/135=48"
] | Current State: 48:[75, 90, 60, 72], Operations: []
Exploring Operation: 75+60=135, Resulting Numbers: [90, 72, 135]
Generated Node #2: [90, 72, 135] from Operation: 75+60=135
Current State: 48:[90, 72, 135], Operations: ['75+60=135']
Exploring Operation: 90*72=6480, Resulting Numbers: [135, 6480]
Generated Node #3: [135, 6480] from Operation: 90*72=6480
Current State: 48:[135, 6480], Operations: ['75+60=135', '90*72=6480']
Exploring Operation: 6480/135=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[75, 90, 60, 72], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [60, 72, 15]
Generated Node #0,0: 48:[60, 72, 15] Operation: 90-75=15
Exploring Operation: 90-60=30, Resulting Numbers: [75, 72, 30]
Generated Node #0,1: 48:[75, 72, 30] Operation: 90-60=30
Exploring Operation: 75-72=3, Resulting Numbers: [90, 60, 3]
Generated Node #0,2: 48:[90, 60, 3] Operation: 75-72=3
Exploring Operation: 90-72=18, Resulting Numbers: [75, 60, 18]
Generated Node #0,3: 48:[75, 60, 18] Operation: 90-72=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[60, 72, 15], Operations: ['90-75=15']
Exploring Operation: 72-60=12, Resulting Numbers: [15, 12]
Generated Node #0,0,0: 48:[15, 12] Operation: 72-60=12
Exploring Operation: 72-15=57, Resulting Numbers: [60, 57]
Generated Node #0,0,1: 48:[60, 57] Operation: 72-15=57
Exploring Operation: 60-15=45, Resulting Numbers: [72, 45]
Generated Node #0,0,2: 48:[72, 45] Operation: 60-15=45
Exploring Operation: 60/15=4, Resulting Numbers: [72, 4]
Generated Node #0,0,3: 48:[72, 4] Operation: 60/15=4
Moving to Node #0,0,0
Current State: 48:[15, 12], Operations: ['90-75=15', '72-60=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,48 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[60, 57], Operations: ['90-75=15', '72-15=57']
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,48 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,48 unequal: No Solution
Moving to Node #0,0,3
Current State: 48:[72, 4], Operations: ['90-75=15', '60/15=4']
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,48 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[72, 45], Operations: ['90-75=15', '60-15=45']
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 72+45=117, Resulting Numbers: [117]
117,48 unequal: No Solution
Exploring Operation: 72*45=3240, Resulting Numbers: [3240]
3240,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 48:[75, 60, 18], Operations: ['90-72=18']
Exploring Operation: 75-18=57, Resulting Numbers: [60, 57]
Generated Node #0,3,0: 48:[60, 57] Operation: 75-18=57
Exploring Operation: 60-18=42, Resulting Numbers: [75, 42]
Generated Node #0,3,1: 48:[75, 42] Operation: 60-18=42
Exploring Operation: 75-60=15, Resulting Numbers: [18, 15]
Generated Node #0,3,2: 48:[18, 15] Operation: 75-60=15
Exploring Operation: 75+18=93, Resulting Numbers: [60, 93]
Generated Node #0,3,3: 48:[60, 93] Operation: 75+18=93
Moving to Node #0,3,2
Current State: 48:[18, 15], Operations: ['90-72=18', '75-60=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,48 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Moving to Node #0,3,0
Current State: 48:[60, 57], Operations: ['90-72=18', '75-18=57']
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,48 unequal: No Solution
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,48 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Moving to Node #0,3,1
Current State: 48:[75, 42], Operations: ['90-72=18', '60-18=42']
Exploring Operation: 75*42=3150, Resulting Numbers: [3150]
3150,48 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 75+42=117, Resulting Numbers: [117]
117,48 unequal: No Solution
Moving to Node #0,3,3
Current State: 48:[60, 93], Operations: ['90-72=18', '75+18=93']
Exploring Operation: 60*93=5580, Resulting Numbers: [5580]
5580,48 unequal: No Solution
Exploring Operation: 60+93=153, Resulting Numbers: [153]
153,48 unequal: No Solution
Exploring Operation: 93-60=33, Resulting Numbers: [33]
33,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[90, 60, 3], Operations: ['75-72=3']
Exploring Operation: 90-3=87, Resulting Numbers: [60, 87]
Generated Node #0,2,0: 48:[60, 87] Operation: 90-3=87
Exploring Operation: 90/3=30, Resulting Numbers: [60, 30]
Generated Node #0,2,1: 48:[60, 30] Operation: 90/3=30
Exploring Operation: 90-60=30, Resulting Numbers: [3, 30]
Generated Node #0,2,2: 48:[3, 30] Operation: 90-60=30
Exploring Operation: 60/3=20, Resulting Numbers: [90, 20]
Generated Node #0,2,3: 48:[90, 20] Operation: 60/3=20
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 48:[3, 30], Operations: ['75-72=3', '90-60=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 48:[60, 30], Operations: ['75-72=3', '90/3=30']
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,48 unequal: No Solution
Exploring Operation: 60*30=1800, Resulting Numbers: [1800]
1800,48 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 48:[90, 20], Operations: ['75-72=3', '60/3=20']
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 90+20=110, Resulting Numbers: [110]
110,48 unequal: No Solution
Exploring Operation: 90*20=1800, Resulting Numbers: [1800]
1800,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[60, 87], Operations: ['75-72=3', '90-3=87']
Exploring Operation: 60*87=5220, Resulting Numbers: [5220]
5220,48 unequal: No Solution
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 60+87=147, Resulting Numbers: [147]
147,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[75, 72, 30], Operations: ['90-60=30']
Exploring Operation: 72-30=42, Resulting Numbers: [75, 42]
Generated Node #0,1,0: 48:[75, 42] Operation: 72-30=42
Exploring Operation: 75+30=105, Resulting Numbers: [72, 105]
Generated Node #0,1,1: 48:[72, 105] Operation: 75+30=105
Exploring Operation: 75-72=3, Resulting Numbers: [30, 3]
Generated Node #0,1,2: 48:[30, 3] Operation: 75-72=3
Exploring Operation: 75-30=45, Resulting Numbers: [72, 45]
Generated Node #0,1,3: 48:[72, 45] Operation: 75-30=45
Moving to Node #0,1,2
Current State: 48:[30, 3], Operations: ['90-60=30', '75-72=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,48 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Moving to Node #0,1,3
Current State: 48:[72, 45], Operations: ['90-60=30', '75-30=45']
Exploring Operation: 72*45=3240, Resulting Numbers: [3240]
3240,48 unequal: No Solution
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 72+45=117, Resulting Numbers: [117]
117,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[75, 42], Operations: ['90-60=30', '72-30=42']
Exploring Operation: 75+42=117, Resulting Numbers: [117]
117,48 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 75*42=3150, Resulting Numbers: [3150]
3150,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[72, 105], Operations: ['90-60=30', '75+30=105']
Exploring Operation: 105-72=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 72*105=7560, Resulting Numbers: [7560]
7560,48 unequal: No Solution
Exploring Operation: 72+105=177, Resulting Numbers: [177]
177,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
38,
1,
28,
47
] | 20 | [
"38+1=39",
"47-28=19",
"39-19=20"
] | Current State: 20:[38, 1, 28, 47], Operations: []
Exploring Operation: 38+1=39, Resulting Numbers: [28, 47, 39]
Generated Node #2: [28, 47, 39] from Operation: 38+1=39
Current State: 20:[28, 47, 39], Operations: ['38+1=39']
Exploring Operation: 47-28=19, Resulting Numbers: [39, 19]
Generated Node #3: [39, 19] from Operation: 47-28=19
Current State: 20:[39, 19], Operations: ['38+1=39', '47-28=19']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[38, 1, 28, 47], Operations: []
Exploring Operation: 47-38=9, Resulting Numbers: [1, 28, 9]
Generated Node #0,0: 20:[1, 28, 9] Operation: 47-38=9
Moving to Node #0,0
Current State: 20:[1, 28, 9], Operations: ['47-38=9']
Exploring Operation: 28-9=19, Resulting Numbers: [1, 19]
Generated Node #0,0,0: 20:[1, 19] Operation: 28-9=19
Moving to Node #0,0,0
Current State: 20:[1, 19], Operations: ['47-38=9', '28-9=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[38, 1, 28, 47], Operations: []
Exploring Operation: 47-38=9, Resulting Numbers: [1, 28, 9]
Generated Node #0,0: 20:[1, 28, 9] Operation: 47-38=9
Moving to Node #0,0
Current State: 20:[1, 28, 9], Operations: ['47-38=9']
Exploring Operation: 28-9=19, Resulting Numbers: [1, 19]
Generated Node #0,0,0: 20:[1, 19] Operation: 28-9=19
Moving to Node #0,0,0
Current State: 20:[1, 19], Operations: ['47-38=9', '28-9=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
62,
51,
24,
37
] | 50 | [
"62-51=11",
"24+37=61",
"61-11=50"
] | Current State: 50:[62, 51, 24, 37], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [24, 37, 11]
Generated Node #2: [24, 37, 11] from Operation: 62-51=11
Current State: 50:[24, 37, 11], Operations: ['62-51=11']
Exploring Operation: 24+37=61, Resulting Numbers: [11, 61]
Generated Node #3: [11, 61] from Operation: 24+37=61
Current State: 50:[11, 61], Operations: ['62-51=11', '24+37=61']
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[62, 51, 24, 37], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [24, 37, 11]
Generated Node #0,0: 50:[24, 37, 11] Operation: 62-51=11
Exploring Operation: 62-37=25, Resulting Numbers: [51, 24, 25]
Generated Node #0,1: 50:[51, 24, 25] Operation: 62-37=25
Exploring Operation: 37-24=13, Resulting Numbers: [62, 51, 13]
Generated Node #0,2: 50:[62, 51, 13] Operation: 37-24=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[51, 24, 25], Operations: ['62-37=25']
Exploring Operation: 24+25=49, Resulting Numbers: [51, 49]
Generated Node #0,1,0: 50:[51, 49] Operation: 24+25=49
Exploring Operation: 51-25=26, Resulting Numbers: [24, 26]
Generated Node #0,1,1: 50:[24, 26] Operation: 51-25=26
Exploring Operation: 51-24=27, Resulting Numbers: [25, 27]
Generated Node #0,1,2: 50:[25, 27] Operation: 51-24=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[51, 49], Operations: ['62-37=25', '24+25=49']
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,50 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,50 unequal: No Solution
No 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: 50:[24, 26], Operations: ['62-37=25', '51-25=26']
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[62, 51, 24, 37], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [51, 24, 25]
Generated Node #0,1: 50:[51, 24, 25] Operation: 62-37=25
Moving to Node #0,1
Current State: 50:[51, 24, 25], Operations: ['62-37=25']
Exploring Operation: 51-25=26, Resulting Numbers: [24, 26]
Generated Node #0,1,1: 50:[24, 26] Operation: 51-25=26
Moving to Node #0,1,1
Current State: 50:[24, 26], Operations: ['62-37=25', '51-25=26']
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
78,
63,
4,
75
] | 81 | [
"75-63=12",
"12/4=3",
"78+3=81"
] | Current State: 81:[78, 63, 4, 75], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [78, 4, 12]
Generated Node #2: [78, 4, 12] from Operation: 75-63=12
Current State: 81:[78, 4, 12], Operations: ['75-63=12']
Exploring Operation: 12/4=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 12/4=3
Current State: 81:[78, 3], Operations: ['75-63=12', '12/4=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[78, 63, 4, 75], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [4, 75, 15]
Generated Node #0,0: 81:[4, 75, 15] Operation: 78-63=15
Exploring Operation: 63+4=67, Resulting Numbers: [78, 75, 67]
Generated Node #0,1: 81:[78, 75, 67] Operation: 63+4=67
Exploring Operation: 78-75=3, Resulting Numbers: [63, 4, 3]
Generated Node #0,2: 81:[63, 4, 3] Operation: 78-75=3
Exploring Operation: 75-63=12, Resulting Numbers: [78, 4, 12]
Generated Node #0,3: 81:[78, 4, 12] Operation: 75-63=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[78, 4, 12], Operations: ['75-63=12']
Exploring Operation: 78+4=82, Resulting Numbers: [12, 82]
Generated Node #0,3,0: 81:[12, 82] Operation: 78+4=82
Exploring Operation: 12/4=3, Resulting Numbers: [78, 3]
Generated Node #0,3,1: 81:[78, 3] Operation: 12/4=3
Exploring Operation: 78-4=74, Resulting Numbers: [12, 74]
Generated Node #0,3,2: 81:[12, 74] Operation: 78-4=74
Exploring Operation: 12-4=8, Resulting Numbers: [78, 8]
Generated Node #0,3,3: 81:[78, 8] Operation: 12-4=8
Moving to Node #0,3,1
Current State: 81:[78, 3], Operations: ['75-63=12', '12/4=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,81 unequal: No Solution
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,81 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[78, 63, 4, 75], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [78, 4, 12]
Generated Node #0,3: 81:[78, 4, 12] Operation: 75-63=12
Moving to Node #0,3
Current State: 81:[78, 4, 12], Operations: ['75-63=12']
Exploring Operation: 12/4=3, Resulting Numbers: [78, 3]
Generated Node #0,3,1: 81:[78, 3] Operation: 12/4=3
Moving to Node #0,3,1
Current State: 81:[78, 3], Operations: ['75-63=12', '12/4=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
29,
58,
19,
2
] | 97 | [
"29*2=58",
"58-19=39",
"58+39=97"
] | Current State: 97:[29, 58, 19, 2], Operations: []
Exploring Operation: 29*2=58, Resulting Numbers: [58, 19, 58]
Generated Node #2: [58, 19, 58] from Operation: 29*2=58
Current State: 97:[58, 19, 58], Operations: ['29*2=58']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,97 equal: Goal Reached
Exploring Operation: 58+39=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[29, 58, 19, 2], Operations: []
Exploring Operation: 58*2=116, Resulting Numbers: [29, 19, 116]
Generated Node #0,0: 97:[29, 19, 116] Operation: 58*2=116
Exploring Operation: 29*2=58, Resulting Numbers: [58, 19, 58]
Generated Node #0,1: 97:[58, 19, 58] Operation: 29*2=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[58, 19, 58], Operations: ['29*2=58']
Exploring Operation: 19+58=77, Resulting Numbers: [58, 77]
Generated Node #0,1,0: 97:[58, 77] Operation: 19+58=77
Exploring Operation: 58+19=77, Resulting Numbers: [58, 77]
Generated Node #0,1,1: 97:[58, 77] Operation: 58+19=77
Moving to Node #0,1,0
Current State: 97:[58, 77], Operations: ['29*2=58', '19+58=77']
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 58+77=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[58, 77], Operations: ['29*2=58', '58+19=77']
Exploring Operation: 58+77=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,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,0
Current State: 97:[29, 19, 116], Operations: ['58*2=116']
Exploring Operation: 29+19=48, Resulting Numbers: [116, 48]
Generated Node #0,0,0: 97:[116, 48] Operation: 29+19=48
Exploring Operation: 116-19=97, Resulting Numbers: [29, 97]
Generated Node #0,0,1: 97:[29, 97] Operation: 116-19=97
Moving to Node #0,0,0
Current State: 97:[116, 48], Operations: ['58*2=116', '29+19=48']
Exploring Operation: 116+48=164, Resulting Numbers: [164]
164,97 unequal: No Solution
Exploring Operation: 116-48=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[29, 97], Operations: ['58*2=116', '116-19=97']
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Exploring Operation: 29+97=126, Resulting Numbers: [126]
126,97 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 |
[
57,
75,
30,
24
] | 78 | [
"57+75=132",
"30+24=54",
"132-54=78"
] | Current State: 78:[57, 75, 30, 24], Operations: []
Exploring Operation: 57+75=132, Resulting Numbers: [30, 24, 132]
Generated Node #2: [30, 24, 132] from Operation: 57+75=132
Current State: 78:[30, 24, 132], Operations: ['57+75=132']
Exploring Operation: 30+24=54, Resulting Numbers: [132, 54]
Generated Node #3: [132, 54] from Operation: 30+24=54
Current State: 78:[132, 54], Operations: ['57+75=132', '30+24=54']
Exploring Operation: 132-54=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[57, 75, 30, 24], Operations: []
Exploring Operation: 57+24=81, Resulting Numbers: [75, 30, 81]
Generated Node #0,0: 78:[75, 30, 81] Operation: 57+24=81
Exploring Operation: 75-57=18, Resulting Numbers: [30, 24, 18]
Generated Node #0,1: 78:[30, 24, 18] Operation: 75-57=18
Exploring Operation: 57-30=27, Resulting Numbers: [75, 24, 27]
Generated Node #0,2: 78:[75, 24, 27] Operation: 57-30=27
Moving to Node #0,2
Current State: 78:[75, 24, 27], Operations: ['57-30=27']
Exploring Operation: 27-24=3, Resulting Numbers: [75, 3]
Generated Node #0,2,0: 78:[75, 3] Operation: 27-24=3
Exploring Operation: 75-27=48, Resulting Numbers: [24, 48]
Generated Node #0,2,1: 78:[24, 48] Operation: 75-27=48
Exploring Operation: 75-24=51, Resulting Numbers: [27, 51]
Generated Node #0,2,2: 78:[27, 51] Operation: 75-24=51
Moving to Node #0,0
Current State: 78:[75, 30, 81], Operations: ['57+24=81']
Exploring Operation: 75-30=45, Resulting Numbers: [81, 45]
Generated Node #0,0,0: 78:[81, 45] Operation: 75-30=45
Exploring Operation: 81-30=51, Resulting Numbers: [75, 51]
Generated Node #0,0,1: 78:[75, 51] Operation: 81-30=51
Exploring Operation: 81-75=6, Resulting Numbers: [30, 6]
Generated Node #0,0,2: 78:[30, 6] Operation: 81-75=6
Moving to Node #0,1
Current State: 78:[30, 24, 18], Operations: ['75-57=18']
Exploring Operation: 30-18=12, Resulting Numbers: [24, 12]
Generated Node #0,1,0: 78:[24, 12] Operation: 30-18=12
Exploring Operation: 30-24=6, Resulting Numbers: [18, 6]
Generated Node #0,1,1: 78:[18, 6] Operation: 30-24=6
Exploring Operation: 24-18=6, Resulting Numbers: [30, 6]
Generated Node #0,1,2: 78:[30, 6] Operation: 24-18=6
Moving to Node #0,2,0
Current State: 78:[75, 3], Operations: ['57-30=27', '27-24=3']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,78 unequal: No Solution
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[57, 75, 30, 24], Operations: []
Exploring Operation: 57-30=27, Resulting Numbers: [75, 24, 27]
Generated Node #0,2: 78:[75, 24, 27] Operation: 57-30=27
Moving to Node #0,2
Current State: 78:[75, 24, 27], Operations: ['57-30=27']
Exploring Operation: 27-24=3, Resulting Numbers: [75, 3]
Generated Node #0,2,0: 78:[75, 3] Operation: 27-24=3
Moving to Node #0,2,0
Current State: 78:[75, 3], Operations: ['57-30=27', '27-24=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.983507 | hs_3 | sum_heuristic |
[
91,
72,
79,
65
] | 52 | [
"79-72=7",
"91/7=13",
"65-13=52"
] | Current State: 52:[91, 72, 79, 65], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [91, 65, 7]
Generated Node #2: [91, 65, 7] from Operation: 79-72=7
Current State: 52:[91, 65, 7], Operations: ['79-72=7']
Exploring Operation: 91/7=13, Resulting Numbers: [65, 13]
Generated Node #3: [65, 13] from Operation: 91/7=13
Current State: 52:[65, 13], Operations: ['79-72=7', '91/7=13']
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[91, 72, 79, 65], Operations: []
Exploring Operation: 91-79=12, Resulting Numbers: [72, 65, 12]
Generated Node #0,0: 52:[72, 65, 12] Operation: 91-79=12
Exploring Operation: 91-72=19, Resulting Numbers: [79, 65, 19]
Generated Node #0,1: 52:[79, 65, 19] Operation: 91-72=19
Moving to Node #0,0
Current State: 52:[72, 65, 12], Operations: ['91-79=12']
Exploring Operation: 72-65=7, Resulting Numbers: [12, 7]
Generated Node #0,0,0: 52:[12, 7] Operation: 72-65=7
Exploring Operation: 72/12=6, Resulting Numbers: [65, 6]
Generated Node #0,0,1: 52:[65, 6] Operation: 72/12=6
Moving to Node #0,1
Current State: 52:[79, 65, 19], Operations: ['91-72=19']
Exploring Operation: 79-65=14, Resulting Numbers: [19, 14]
Generated Node #0,1,0: 52:[19, 14] Operation: 79-65=14
Exploring Operation: 79-19=60, Resulting Numbers: [65, 60]
Generated Node #0,1,1: 52:[65, 60] Operation: 79-19=60
Moving to Node #0,0,0
Current State: 52:[12, 7], Operations: ['91-79=12', '72-65=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[19, 14], Operations: ['91-72=19', '79-65=14']
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[65, 6], Operations: ['91-79=12', '72/12=6']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[65, 60], Operations: ['91-72=19', '79-19=60']
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,52 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
66,
65,
16,
94
] | 79 | [
"66-65=1",
"94-16=78",
"1+78=79"
] | Current State: 79:[66, 65, 16, 94], Operations: []
Exploring Operation: 66-65=1, Resulting Numbers: [16, 94, 1]
Generated Node #2: [16, 94, 1] from Operation: 66-65=1
Current State: 79:[16, 94, 1], Operations: ['66-65=1']
Exploring Operation: 94-16=78, Resulting Numbers: [1, 78]
Generated Node #3: [1, 78] from Operation: 94-16=78
Current State: 79:[1, 78], Operations: ['66-65=1', '94-16=78']
Exploring Operation: 1+78=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[66, 65, 16, 94], Operations: []
Exploring Operation: 65-16=49, Resulting Numbers: [66, 94, 49]
Generated Node #0,0: 79:[66, 94, 49] Operation: 65-16=49
Exploring Operation: 66+16=82, Resulting Numbers: [65, 94, 82]
Generated Node #0,1: 79:[65, 94, 82] Operation: 66+16=82
Exploring Operation: 94-16=78, Resulting Numbers: [66, 65, 78]
Generated Node #0,2: 79:[66, 65, 78] Operation: 94-16=78
Exploring Operation: 66-16=50, Resulting Numbers: [65, 94, 50]
Generated Node #0,3: 79:[65, 94, 50] Operation: 66-16=50
Exploring Operation: 65+16=81, Resulting Numbers: [66, 94, 81]
Generated Node #0,4: 79:[66, 94, 81] Operation: 65+16=81
Moving to Node #0,2
Current State: 79:[66, 65, 78], Operations: ['94-16=78']
Exploring Operation: 65+78=143, Resulting Numbers: [66, 143]
Generated Node #0,2,0: 79:[66, 143] Operation: 65+78=143
Exploring Operation: 66+78=144, Resulting Numbers: [65, 144]
Generated Node #0,2,1: 79:[65, 144] Operation: 66+78=144
Exploring Operation: 66-65=1, Resulting Numbers: [78, 1]
Generated Node #0,2,2: 79:[78, 1] Operation: 66-65=1
Exploring Operation: 78-65=13, Resulting Numbers: [66, 13]
Generated Node #0,2,3: 79:[66, 13] Operation: 78-65=13
Exploring Operation: 66+65=131, Resulting Numbers: [78, 131]
Generated Node #0,2,4: 79:[78, 131] Operation: 66+65=131
Moving to Node #0,4
Current State: 79:[66, 94, 81], Operations: ['65+16=81']
Exploring Operation: 94-66=28, Resulting Numbers: [81, 28]
Generated Node #0,4,0: 79:[81, 28] Operation: 94-66=28
Exploring Operation: 66+81=147, Resulting Numbers: [94, 147]
Generated Node #0,4,1: 79:[94, 147] Operation: 66+81=147
Exploring Operation: 66+94=160, Resulting Numbers: [81, 160]
Generated Node #0,4,2: 79:[81, 160] Operation: 66+94=160
Exploring Operation: 81-66=15, Resulting Numbers: [94, 15]
Generated Node #0,4,3: 79:[94, 15] Operation: 81-66=15
Exploring Operation: 94-81=13, Resulting Numbers: [66, 13]
Generated Node #0,4,4: 79:[66, 13] Operation: 94-81=13
Moving to Node #0,1
Current State: 79:[65, 94, 82], Operations: ['66+16=82']
Exploring Operation: 65+94=159, Resulting Numbers: [82, 159]
Generated Node #0,1,0: 79:[82, 159] Operation: 65+94=159
Exploring Operation: 94-65=29, Resulting Numbers: [82, 29]
Generated Node #0,1,1: 79:[82, 29] Operation: 94-65=29
Exploring Operation: 82-65=17, Resulting Numbers: [94, 17]
Generated Node #0,1,2: 79:[94, 17] Operation: 82-65=17
Exploring Operation: 94-82=12, Resulting Numbers: [65, 12]
Generated Node #0,1,3: 79:[65, 12] Operation: 94-82=12
Exploring Operation: 65+82=147, Resulting Numbers: [94, 147]
Generated Node #0,1,4: 79:[94, 147] Operation: 65+82=147
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[82, 29], Operations: ['66+16=82', '94-65=29']
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,79 unequal: No Solution
Exploring Operation: 82*29=2378, Resulting Numbers: [2378]
2378,79 unequal: No Solution
Exploring Operation: 82+29=111, Resulting Numbers: [111]
111,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[94, 17], Operations: ['66+16=82', '82-65=17']
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,79 unequal: No Solution
Exploring Operation: 94+17=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 94*17=1598, Resulting Numbers: [1598]
1598,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 79:[65, 12], Operations: ['66+16=82', '94-82=12']
Exploring Operation: 65+12=77, Resulting Numbers: [77]
77,79 unequal: No Solution
Exploring Operation: 65*12=780, Resulting Numbers: [780]
780,79 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[82, 159], Operations: ['66+16=82', '65+94=159']
Exploring Operation: 159-82=77, Resulting Numbers: [77]
77,79 unequal: No Solution
Exploring Operation: 82+159=241, Resulting Numbers: [241]
241,79 unequal: No Solution
Exploring Operation: 82*159=13038, Resulting Numbers: [13038]
13038,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 79:[94, 147], Operations: ['66+16=82', '65+82=147']
Exploring Operation: 94*147=13818, Resulting Numbers: [13818]
13818,79 unequal: No Solution
Exploring Operation: 94+147=241, Resulting Numbers: [241]
241,79 unequal: No Solution
Exploring Operation: 147-94=53, Resulting Numbers: [53]
53,79 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: 79:[66, 94, 49], Operations: ['65-16=49']
Exploring Operation: 66-49=17, Resulting Numbers: [94, 17]
Generated Node #0,0,0: 79:[94, 17] Operation: 66-49=17
Exploring Operation: 94-66=28, Resulting Numbers: [49, 28]
Generated Node #0,0,1: 79:[49, 28] Operation: 94-66=28
Exploring Operation: 94-49=45, Resulting Numbers: [66, 45]
Generated Node #0,0,2: 79:[66, 45] Operation: 94-49=45
Exploring Operation: 94+49=143, Resulting Numbers: [66, 143]
Generated Node #0,0,3: 79:[66, 143] Operation: 94+49=143
Exploring Operation: 66+49=115, Resulting Numbers: [94, 115]
Generated Node #0,0,4: 79:[94, 115] Operation: 66+49=115
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[66, 45], Operations: ['65-16=49', '94-49=45']
Exploring Operation: 66*45=2970, Resulting Numbers: [2970]
2970,79 unequal: No Solution
Exploring Operation: 66+45=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 79:[94, 115], Operations: ['65-16=49', '66+49=115']
Exploring Operation: 94*115=10810, Resulting Numbers: [10810]
10810,79 unequal: No Solution
Exploring Operation: 94+115=209, Resulting Numbers: [209]
209,79 unequal: No Solution
Exploring Operation: 115-94=21, Resulting Numbers: [21]
21,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[94, 17], Operations: ['65-16=49', '66-49=17']
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,79 unequal: No Solution
Exploring Operation: 94*17=1598, Resulting Numbers: [1598]
1598,79 unequal: No Solution
Exploring Operation: 94+17=111, Resulting Numbers: [111]
111,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[66, 143], Operations: ['65-16=49', '94+49=143']
Exploring Operation: 143-66=77, Resulting Numbers: [77]
77,79 unequal: No Solution
Exploring Operation: 66*143=9438, Resulting Numbers: [9438]
9438,79 unequal: No Solution
Exploring Operation: 66+143=209, Resulting Numbers: [209]
209,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[49, 28], Operations: ['65-16=49', '94-66=28']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,79 unequal: No Solution
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,79 unequal: No Solution
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,79 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: 79:[65, 94, 50], Operations: ['66-16=50']
Exploring Operation: 65-50=15, Resulting Numbers: [94, 15]
Generated Node #0,3,0: 79:[94, 15] Operation: 65-50=15
Exploring Operation: 94+50=144, Resulting Numbers: [65, 144]
Generated Node #0,3,1: 79:[65, 144] Operation: 94+50=144
Exploring Operation: 65+50=115, Resulting Numbers: [94, 115]
Generated Node #0,3,2: 79:[94, 115] Operation: 65+50=115
Exploring Operation: 94-50=44, Resulting Numbers: [65, 44]
Generated Node #0,3,3: 79:[65, 44] Operation: 94-50=44
Exploring Operation: 94-65=29, Resulting Numbers: [50, 29]
Generated Node #0,3,4: 79:[50, 29] Operation: 94-65=29
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[65, 44], Operations: ['66-16=50', '94-50=44']
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,79 unequal: No Solution
Exploring Operation: 65*44=2860, Resulting Numbers: [2860]
2860,79 unequal: No Solution
Exploring Operation: 65+44=109, Resulting Numbers: [109]
109,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 79:[94, 115], Operations: ['66-16=50', '65+50=115']
Exploring Operation: 94+115=209, Resulting Numbers: [209]
209,79 unequal: No Solution
Exploring Operation: 94*115=10810, Resulting Numbers: [10810]
10810,79 unequal: No Solution
Exploring Operation: 115-94=21, Resulting Numbers: [21]
21,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[94, 15], Operations: ['66-16=50', '65-50=15']
Exploring Operation: 94*15=1410, Resulting Numbers: [1410]
1410,79 unequal: No Solution
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[66, 65, 16, 94], Operations: []
Exploring Operation: 66-16=50, Resulting Numbers: [65, 94, 50]
Generated Node #0,3: 79:[65, 94, 50] Operation: 66-16=50
Moving to Node #0,3
Current State: 79:[65, 94, 50], Operations: ['66-16=50']
Exploring Operation: 65-50=15, Resulting Numbers: [94, 15]
Generated Node #0,3,0: 79:[94, 15] Operation: 65-50=15
Moving to Node #0,3,0
Current State: 79:[94, 15], Operations: ['66-16=50', '65-50=15']
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.9375 | hs_5 | sum_heuristic |
[
3,
83,
40,
55
] | 44 | [
"83-55=28",
"3*28=84",
"84-40=44"
] | Current State: 44:[3, 83, 40, 55], Operations: []
Exploring Operation: 83-55=28, Resulting Numbers: [3, 40, 28]
Generated Node #2: [3, 40, 28] from Operation: 83-55=28
Current State: 44:[3, 40, 28], Operations: ['83-55=28']
Exploring Operation: 3*28=84, Resulting Numbers: [40, 84]
Generated Node #3: [40, 84] from Operation: 3*28=84
Current State: 44:[40, 84], Operations: ['83-55=28', '3*28=84']
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[3, 83, 40, 55], Operations: []
Exploring Operation: 83-55=28, Resulting Numbers: [3, 40, 28]
Generated Node #0,0: 44:[3, 40, 28] Operation: 83-55=28
Exploring Operation: 83-40=43, Resulting Numbers: [3, 55, 43]
Generated Node #0,1: 44:[3, 55, 43] Operation: 83-40=43
Moving to Node #0,0
Current State: 44:[3, 40, 28], Operations: ['83-55=28']
Exploring Operation: 40-28=12, Resulting Numbers: [3, 12]
Generated Node #0,0,0: 44:[3, 12] Operation: 40-28=12
Exploring Operation: 3+40=43, Resulting Numbers: [28, 43]
Generated Node #0,0,1: 44:[28, 43] Operation: 3+40=43
Moving to Node #0,1
Current State: 44:[3, 55, 43], Operations: ['83-40=43']
Exploring Operation: 55-3=52, Resulting Numbers: [43, 52]
Generated Node #0,1,0: 44:[43, 52] Operation: 55-3=52
Exploring Operation: 55-43=12, Resulting Numbers: [3, 12]
Generated Node #0,1,1: 44:[3, 12] Operation: 55-43=12
Moving to Node #0,0,0
Current State: 44:[3, 12], Operations: ['83-55=28', '40-28=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[3, 12], Operations: ['83-40=43', '55-43=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[28, 43], Operations: ['83-55=28', '3+40=43']
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,44 unequal: No Solution
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[43, 52], Operations: ['83-40=43', '55-3=52']
Exploring Operation: 43+52=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,44 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
43,
95,
71,
38
] | 92 | [
"43+71=114",
"114/38=3",
"95-3=92"
] | Current State: 92:[43, 95, 71, 38], Operations: []
Exploring Operation: 43+71=114, Resulting Numbers: [95, 38, 114]
Generated Node #2: [95, 38, 114] from Operation: 43+71=114
Current State: 92:[95, 38, 114], Operations: ['43+71=114']
Exploring Operation: 114/38=3, Resulting Numbers: [95, 3]
Generated Node #3: [95, 3] from Operation: 114/38=3
Current State: 92:[95, 3], Operations: ['43+71=114', '114/38=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[43, 95, 71, 38], Operations: []
Exploring Operation: 43-38=5, Resulting Numbers: [95, 71, 5]
Generated Node #0,0: 92:[95, 71, 5] Operation: 43-38=5
Exploring Operation: 71-38=33, Resulting Numbers: [43, 95, 33]
Generated Node #0,1: 92:[43, 95, 33] Operation: 71-38=33
Exploring Operation: 71-43=28, Resulting Numbers: [95, 38, 28]
Generated Node #0,2: 92:[95, 38, 28] Operation: 71-43=28
Exploring Operation: 71+38=109, Resulting Numbers: [43, 95, 109]
Generated Node #0,3: 92:[43, 95, 109] Operation: 71+38=109
Exploring Operation: 95-71=24, Resulting Numbers: [43, 38, 24]
Generated Node #0,4: 92:[43, 38, 24] Operation: 95-71=24
Moving to Node #0,4
Current State: 92:[43, 38, 24], Operations: ['95-71=24']
Exploring Operation: 43-24=19, Resulting Numbers: [38, 19]
Generated Node #0,4,0: 92:[38, 19] Operation: 43-24=19
Exploring Operation: 38-24=14, Resulting Numbers: [43, 14]
Generated Node #0,4,1: 92:[43, 14] Operation: 38-24=14
Exploring Operation: 43+38=81, Resulting Numbers: [24, 81]
Generated Node #0,4,2: 92:[24, 81] Operation: 43+38=81
Exploring Operation: 38+24=62, Resulting Numbers: [43, 62]
Generated Node #0,4,3: 92:[43, 62] Operation: 38+24=62
Exploring Operation: 43-38=5, Resulting Numbers: [24, 5]
Generated Node #0,4,4: 92:[24, 5] Operation: 43-38=5
Moving to Node #0,2
Current State: 92:[95, 38, 28], Operations: ['71-43=28']
Exploring Operation: 38+28=66, Resulting Numbers: [95, 66]
Generated Node #0,2,0: 92:[95, 66] Operation: 38+28=66
Exploring Operation: 95-38=57, Resulting Numbers: [28, 57]
Generated Node #0,2,1: 92:[28, 57] Operation: 95-38=57
Exploring Operation: 95+28=123, Resulting Numbers: [38, 123]
Generated Node #0,2,2: 92:[38, 123] Operation: 95+28=123
Exploring Operation: 95-28=67, Resulting Numbers: [38, 67]
Generated Node #0,2,3: 92:[38, 67] Operation: 95-28=67
Exploring Operation: 38-28=10, Resulting Numbers: [95, 10]
Generated Node #0,2,4: 92:[95, 10] Operation: 38-28=10
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 92:[95, 10], Operations: ['71-43=28', '38-28=10']
Exploring Operation: 95*10=950, Resulting Numbers: [950]
950,92 unequal: No Solution
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,92 unequal: No Solution
Exploring Operation: 95+10=105, Resulting Numbers: [105]
105,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[28, 57], Operations: ['71-43=28', '95-38=57']
Exploring Operation: 28*57=1596, Resulting Numbers: [1596]
1596,92 unequal: No Solution
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,92 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[95, 66], Operations: ['71-43=28', '38+28=66']
Exploring Operation: 95+66=161, Resulting Numbers: [161]
161,92 unequal: No Solution
Exploring Operation: 95*66=6270, Resulting Numbers: [6270]
6270,92 unequal: No Solution
Exploring Operation: 95-66=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[38, 67], Operations: ['71-43=28', '95-28=67']
Exploring Operation: 38*67=2546, Resulting Numbers: [2546]
2546,92 unequal: No Solution
Exploring Operation: 38+67=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[38, 123], Operations: ['71-43=28', '95+28=123']
Exploring Operation: 38+123=161, Resulting Numbers: [161]
161,92 unequal: No Solution
Exploring Operation: 38*123=4674, Resulting Numbers: [4674]
4674,92 unequal: No Solution
Exploring Operation: 123-38=85, Resulting Numbers: [85]
85,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 92:[43, 95, 33], Operations: ['71-38=33']
Exploring Operation: 95-33=62, Resulting Numbers: [43, 62]
Generated Node #0,1,0: 92:[43, 62] Operation: 95-33=62
Exploring Operation: 95-43=52, Resulting Numbers: [33, 52]
Generated Node #0,1,1: 92:[33, 52] Operation: 95-43=52
Exploring Operation: 43+33=76, Resulting Numbers: [95, 76]
Generated Node #0,1,2: 92:[95, 76] Operation: 43+33=76
Exploring Operation: 95+33=128, Resulting Numbers: [43, 128]
Generated Node #0,1,3: 92:[43, 128] Operation: 95+33=128
Exploring Operation: 43-33=10, Resulting Numbers: [95, 10]
Generated Node #0,1,4: 92:[95, 10] Operation: 43-33=10
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 92:[95, 10], Operations: ['71-38=33', '43-33=10']
Exploring Operation: 95+10=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 95*10=950, Resulting Numbers: [950]
950,92 unequal: No Solution
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[33, 52], Operations: ['71-38=33', '95-43=52']
Exploring Operation: 33*52=1716, Resulting Numbers: [1716]
1716,92 unequal: No Solution
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 33+52=85, Resulting Numbers: [85]
85,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[43, 62], Operations: ['71-38=33', '95-33=62']
Exploring Operation: 43+62=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 43*62=2666, Resulting Numbers: [2666]
2666,92 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[95, 76], Operations: ['71-38=33', '43+33=76']
Exploring Operation: 95*76=7220, Resulting Numbers: [7220]
7220,92 unequal: No Solution
Exploring Operation: 95-76=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 95+76=171, Resulting Numbers: [171]
171,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 92:[43, 128], Operations: ['71-38=33', '95+33=128']
Exploring Operation: 43*128=5504, Resulting Numbers: [5504]
5504,92 unequal: No Solution
Exploring Operation: 128-43=85, Resulting Numbers: [85]
85,92 unequal: No Solution
Exploring Operation: 43+128=171, Resulting Numbers: [171]
171,92 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: 92:[43, 95, 109], Operations: ['71+38=109']
Exploring Operation: 109-43=66, Resulting Numbers: [95, 66]
Generated Node #0,3,0: 92:[95, 66] Operation: 109-43=66
Exploring Operation: 43+95=138, Resulting Numbers: [109, 138]
Generated Node #0,3,1: 92:[109, 138] Operation: 43+95=138
Exploring Operation: 95-43=52, Resulting Numbers: [109, 52]
Generated Node #0,3,2: 92:[109, 52] Operation: 95-43=52
Exploring Operation: 43+109=152, Resulting Numbers: [95, 152]
Generated Node #0,3,3: 92:[95, 152] Operation: 43+109=152
Exploring Operation: 109-95=14, Resulting Numbers: [43, 14]
Generated Node #0,3,4: 92:[43, 14] Operation: 109-95=14
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 92:[43, 14], Operations: ['71+38=109', '109-95=14']
Exploring Operation: 43*14=602, Resulting Numbers: [602]
602,92 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[95, 66], Operations: ['71+38=109', '109-43=66']
Exploring Operation: 95*66=6270, Resulting Numbers: [6270]
6270,92 unequal: No Solution
Exploring Operation: 95+66=161, Resulting Numbers: [161]
161,92 unequal: No Solution
Exploring Operation: 95-66=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[109, 52], Operations: ['71+38=109', '95-43=52']
Exploring Operation: 109*52=5668, Resulting Numbers: [5668]
5668,92 unequal: No Solution
Exploring Operation: 109-52=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 109+52=161, Resulting Numbers: [161]
161,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[109, 138], Operations: ['71+38=109', '43+95=138']
Exploring Operation: 109+138=247, Resulting Numbers: [247]
247,92 unequal: No Solution
Exploring Operation: 109*138=15042, Resulting Numbers: [15042]
15042,92 unequal: No Solution
Exploring Operation: 138-109=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[95, 152], Operations: ['71+38=109', '43+109=152']
Exploring Operation: 152-95=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 95*152=14440, Resulting Numbers: [14440]
14440,92 unequal: No Solution
Exploring Operation: 95+152=247, Resulting Numbers: [247]
247,92 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: 92:[95, 71, 5], Operations: ['43-38=5']
Exploring Operation: 95-5=90, Resulting Numbers: [71, 90]
Generated Node #0,0,0: 92:[71, 90] Operation: 95-5=90
Exploring Operation: 71-5=66, Resulting Numbers: [95, 66]
Generated Node #0,0,1: 92:[95, 66] Operation: 71-5=66
Exploring Operation: 95/5=19, Resulting Numbers: [71, 19]
Generated Node #0,0,2: 92:[71, 19] Operation: 95/5=19
Exploring Operation: 95-71=24, Resulting Numbers: [5, 24]
Generated Node #0,0,3: 92:[5, 24] Operation: 95-71=24
Exploring Operation: 71+5=76, Resulting Numbers: [95, 76]
Generated Node #0,0,4: 92:[95, 76] Operation: 71+5=76
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 92:[5, 24], Operations: ['43-38=5', '95-71=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 92:[95, 76], Operations: ['43-38=5', '71+5=76']
Exploring Operation: 95-76=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 95+76=171, Resulting Numbers: [171]
171,92 unequal: No Solution
Exploring Operation: 95*76=7220, Resulting Numbers: [7220]
7220,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[71, 90], Operations: ['43-38=5', '95-5=90']
Exploring Operation: 71+90=161, Resulting Numbers: [161]
161,92 unequal: No Solution
Exploring Operation: 90-71=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 71*90=6390, Resulting Numbers: [6390]
6390,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[95, 66], Operations: ['43-38=5', '71-5=66']
Exploring Operation: 95*66=6270, Resulting Numbers: [6270]
6270,92 unequal: No Solution
Exploring Operation: 95-66=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 95+66=161, Resulting Numbers: [161]
161,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[71, 19], Operations: ['43-38=5', '95/5=19']
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,92 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 92:[24, 5], Operations: ['95-71=24', '43-38=5']
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Moving to Node #0,4,1
Current State: 92:[43, 14], Operations: ['95-71=24', '38-24=14']
Exploring Operation: 43*14=602, Resulting Numbers: [602]
602,92 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Moving to Node #0,4,0
Current State: 92:[38, 19], Operations: ['95-71=24', '43-24=19']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,92 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Moving to Node #0,4,2
Current State: 92:[24, 81], Operations: ['95-71=24', '43+38=81']
Exploring Operation: 24+81=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 24*81=1944, Resulting Numbers: [1944]
1944,92 unequal: No Solution
Moving to Node #0,4,3
Current State: 92:[43, 62], Operations: ['95-71=24', '38+24=62']
Exploring Operation: 43+62=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 43*62=2666, Resulting Numbers: [2666]
2666,92 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
57,
26,
40
] | 35 | [
"2*26=52",
"57-40=17",
"52-17=35"
] | Current State: 35:[2, 57, 26, 40], Operations: []
Exploring Operation: 2*26=52, Resulting Numbers: [57, 40, 52]
Generated Node #2: [57, 40, 52] from Operation: 2*26=52
Current State: 35:[57, 40, 52], Operations: ['2*26=52']
Exploring Operation: 57-40=17, Resulting Numbers: [52, 17]
Generated Node #3: [52, 17] from Operation: 57-40=17
Current State: 35:[52, 17], Operations: ['2*26=52', '57-40=17']
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[2, 57, 26, 40], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [2, 26, 17]
Generated Node #0,0: 35:[2, 26, 17] Operation: 57-40=17
Exploring Operation: 40-26=14, Resulting Numbers: [2, 57, 14]
Generated Node #0,1: 35:[2, 57, 14] Operation: 40-26=14
Exploring Operation: 57-26=31, Resulting Numbers: [2, 40, 31]
Generated Node #0,2: 35:[2, 40, 31] Operation: 57-26=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[2, 40, 31], Operations: ['57-26=31']
Exploring Operation: 40-2=38, Resulting Numbers: [31, 38]
Generated Node #0,2,0: 35:[31, 38] Operation: 40-2=38
Exploring Operation: 2+31=33, Resulting Numbers: [40, 33]
Generated Node #0,2,1: 35:[40, 33] Operation: 2+31=33
Exploring Operation: 40-31=9, Resulting Numbers: [2, 9]
Generated Node #0,2,2: 35:[2, 9] Operation: 40-31=9
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[2, 9], Operations: ['57-26=31', '40-31=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[31, 38], Operations: ['57-26=31', '40-2=38']
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,35 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[40, 33], Operations: ['57-26=31', '2+31=33']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,35 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[2, 26, 17], Operations: ['57-40=17']
Exploring Operation: 26-17=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 35:[2, 9] Operation: 26-17=9
Exploring Operation: 2*17=34, Resulting Numbers: [26, 34]
Generated Node #0,0,1: 35:[26, 34] Operation: 2*17=34
Exploring Operation: 26+17=43, Resulting Numbers: [2, 43]
Generated Node #0,0,2: 35:[2, 43] Operation: 26+17=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[2, 9], Operations: ['57-40=17', '26-17=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[26, 34], Operations: ['57-40=17', '2*17=34']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[2, 43], Operations: ['57-40=17', '26+17=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[2, 57, 14], Operations: ['40-26=14']
Exploring Operation: 57-14=43, Resulting Numbers: [2, 43]
Generated Node #0,1,0: 35:[2, 43] Operation: 57-14=43
Exploring Operation: 14/2=7, Resulting Numbers: [57, 7]
Generated Node #0,1,1: 35:[57, 7] Operation: 14/2=7
Exploring Operation: 57-2=55, Resulting Numbers: [14, 55]
Generated Node #0,1,2: 35:[14, 55] Operation: 57-2=55
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[2, 43], Operations: ['40-26=14', '57-14=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[57, 7], Operations: ['40-26=14', '14/2=7']
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 57*7=399, Resulting Numbers: [399]
399,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[14, 55], Operations: ['40-26=14', '57-2=55']
Exploring Operation: 14*55=770, Resulting Numbers: [770]
770,35 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
38,
98,
12,
45
] | 93 | [
"98-38=60",
"45-12=33",
"60+33=93"
] | Current State: 93:[38, 98, 12, 45], Operations: []
Exploring Operation: 98-38=60, Resulting Numbers: [12, 45, 60]
Generated Node #2: [12, 45, 60] from Operation: 98-38=60
Current State: 93:[12, 45, 60], Operations: ['98-38=60']
Exploring Operation: 45-12=33, Resulting Numbers: [60, 33]
Generated Node #3: [60, 33] from Operation: 45-12=33
Current State: 93:[60, 33], Operations: ['98-38=60', '45-12=33']
Exploring Operation: 60+33=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[38, 98, 12, 45], Operations: []
Exploring Operation: 45-38=7, Resulting Numbers: [98, 12, 7]
Generated Node #0,0: 93:[98, 12, 7] Operation: 45-38=7
Exploring Operation: 38-12=26, Resulting Numbers: [98, 45, 26]
Generated Node #0,1: 93:[98, 45, 26] Operation: 38-12=26
Exploring Operation: 45-12=33, Resulting Numbers: [38, 98, 33]
Generated Node #0,2: 93:[38, 98, 33] Operation: 45-12=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[38, 98, 33], Operations: ['45-12=33']
Exploring Operation: 98-38=60, Resulting Numbers: [33, 60]
Generated Node #0,2,0: 93:[33, 60] Operation: 98-38=60
Exploring Operation: 38+33=71, Resulting Numbers: [98, 71]
Generated Node #0,2,1: 93:[98, 71] Operation: 38+33=71
Exploring Operation: 38-33=5, Resulting Numbers: [98, 5]
Generated Node #0,2,2: 93:[98, 5] Operation: 38-33=5
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 93:[98, 5], Operations: ['45-12=33', '38-33=5']
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,93 unequal: No Solution
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[38, 98, 12, 45], Operations: []
Exploring Operation: 45-12=33, Resulting Numbers: [38, 98, 33]
Generated Node #0,2: 93:[38, 98, 33] Operation: 45-12=33
Moving to Node #0,2
Current State: 93:[38, 98, 33], Operations: ['45-12=33']
Exploring Operation: 38-33=5, Resulting Numbers: [98, 5]
Generated Node #0,2,2: 93:[98, 5] Operation: 38-33=5
Moving to Node #0,2,2
Current State: 93:[98, 5], Operations: ['45-12=33', '38-33=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
28,
16,
32,
26
] | 40 | [
"28*16=448",
"448/32=14",
"26+14=40"
] | Current State: 40:[28, 16, 32, 26], Operations: []
Exploring Operation: 28*16=448, Resulting Numbers: [32, 26, 448]
Generated Node #2: [32, 26, 448] from Operation: 28*16=448
Current State: 40:[32, 26, 448], Operations: ['28*16=448']
Exploring Operation: 448/32=14, Resulting Numbers: [26, 14]
Generated Node #3: [26, 14] from Operation: 448/32=14
Current State: 40:[26, 14], Operations: ['28*16=448', '448/32=14']
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[28, 16, 32, 26], Operations: []
Exploring Operation: 32-28=4, Resulting Numbers: [16, 26, 4]
Generated Node #0,0: 40:[16, 26, 4] Operation: 32-28=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[16, 26, 4], Operations: ['32-28=4']
Exploring Operation: 26-16=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 40:[4, 10] Operation: 26-16=10
Moving to Node #0,0,0
Current State: 40:[4, 10], Operations: ['32-28=4', '26-16=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[28, 16, 32, 26], Operations: []
Exploring Operation: 32-28=4, Resulting Numbers: [16, 26, 4]
Generated Node #0,0: 40:[16, 26, 4] Operation: 32-28=4
Moving to Node #0,0
Current State: 40:[16, 26, 4], Operations: ['32-28=4']
Exploring Operation: 26-16=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 40:[4, 10] Operation: 26-16=10
Moving to Node #0,0,0
Current State: 40:[4, 10], Operations: ['32-28=4', '26-16=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
51,
34,
60,
80
] | 30 | [
"80-60=20",
"51*20=1020",
"1020/34=30"
] | Current State: 30:[51, 34, 60, 80], Operations: []
Exploring Operation: 80-60=20, Resulting Numbers: [51, 34, 20]
Generated Node #2: [51, 34, 20] from Operation: 80-60=20
Current State: 30:[51, 34, 20], Operations: ['80-60=20']
Exploring Operation: 51*20=1020, Resulting Numbers: [34, 1020]
Generated Node #3: [34, 1020] from Operation: 51*20=1020
Current State: 30:[34, 1020], Operations: ['80-60=20', '51*20=1020']
Exploring Operation: 1020/34=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[51, 34, 60, 80], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [34, 60, 29]
Generated Node #0,0: 30:[34, 60, 29] Operation: 80-51=29
Exploring Operation: 60-51=9, Resulting Numbers: [34, 80, 9]
Generated Node #0,1: 30:[34, 80, 9] Operation: 60-51=9
Exploring Operation: 80-34=46, Resulting Numbers: [51, 60, 46]
Generated Node #0,2: 30:[51, 60, 46] Operation: 80-34=46
Exploring Operation: 80-60=20, Resulting Numbers: [51, 34, 20]
Generated Node #0,3: 30:[51, 34, 20] Operation: 80-60=20
Moving to Node #0,3
Current State: 30:[51, 34, 20], Operations: ['80-60=20']
Exploring Operation: 51+20=71, Resulting Numbers: [34, 71]
Generated Node #0,3,0: 30:[34, 71] Operation: 51+20=71
Exploring Operation: 34-20=14, Resulting Numbers: [51, 14]
Generated Node #0,3,1: 30:[51, 14] Operation: 34-20=14
Exploring Operation: 51-20=31, Resulting Numbers: [34, 31]
Generated Node #0,3,2: 30:[34, 31] Operation: 51-20=31
Exploring Operation: 51-34=17, Resulting Numbers: [20, 17]
Generated Node #0,3,3: 30:[20, 17] Operation: 51-34=17
Moving to Node #0,0
Current State: 30:[34, 60, 29], Operations: ['80-51=29']
Exploring Operation: 34+29=63, Resulting Numbers: [60, 63]
Generated Node #0,0,0: 30:[60, 63] Operation: 34+29=63
Exploring Operation: 34-29=5, Resulting Numbers: [60, 5]
Generated Node #0,0,1: 30:[60, 5] Operation: 34-29=5
Exploring Operation: 60-29=31, Resulting Numbers: [34, 31]
Generated Node #0,0,2: 30:[34, 31] Operation: 60-29=31
Exploring Operation: 60-34=26, Resulting Numbers: [29, 26]
Generated Node #0,0,3: 30:[29, 26] Operation: 60-34=26
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[34, 31], Operations: ['80-51=29', '60-29=31']
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 30:[29, 26], Operations: ['80-51=29', '60-34=26']
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,30 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[60, 5], Operations: ['80-51=29', '34-29=5']
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 60*5=300, Resulting Numbers: [300]
300,30 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[60, 63], Operations: ['80-51=29', '34+29=63']
Exploring Operation: 60+63=123, Resulting Numbers: [123]
123,30 unequal: No Solution
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 60*63=3780, Resulting Numbers: [3780]
3780,30 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: 30:[34, 80, 9], Operations: ['60-51=9']
Exploring Operation: 80-9=71, Resulting Numbers: [34, 71]
Generated Node #0,1,0: 30:[34, 71] Operation: 80-9=71
Exploring Operation: 34+9=43, Resulting Numbers: [80, 43]
Generated Node #0,1,1: 30:[80, 43] Operation: 34+9=43
Exploring Operation: 34-9=25, Resulting Numbers: [80, 25]
Generated Node #0,1,2: 30:[80, 25] Operation: 34-9=25
Exploring Operation: 80-34=46, Resulting Numbers: [9, 46]
Generated Node #0,1,3: 30:[9, 46] Operation: 80-34=46
Moving to Node #0,2
Current State: 30:[51, 60, 46], Operations: ['80-34=46']
Exploring Operation: 60-46=14, Resulting Numbers: [51, 14]
Generated Node #0,2,0: 30:[51, 14] Operation: 60-46=14
Exploring Operation: 60-51=9, Resulting Numbers: [46, 9]
Generated Node #0,2,1: 30:[46, 9] Operation: 60-51=9
Exploring Operation: 51-46=5, Resulting Numbers: [60, 5]
Generated Node #0,2,2: 30:[60, 5] Operation: 51-46=5
Exploring Operation: 51+60=111, Resulting Numbers: [46, 111]
Generated Node #0,2,3: 30:[46, 111] Operation: 51+60=111
Moving to Node #0,3,2
Current State: 30:[34, 31], Operations: ['80-60=20', '51-20=31']
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,30 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[20, 17], Operations: ['80-60=20', '51-34=17']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,30 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[9, 46], Operations: ['60-51=9', '80-34=46']
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,30 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[46, 9], Operations: ['80-34=46', '60-51=9']
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,30 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[51, 14], Operations: ['80-60=20', '34-20=14']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 51*14=714, Resulting Numbers: [714]
714,30 unequal: No Solution
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[51, 14], Operations: ['80-34=46', '60-46=14']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 51*14=714, Resulting Numbers: [714]
714,30 unequal: No Solution
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[60, 5], Operations: ['80-34=46', '51-46=5']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 60*5=300, Resulting Numbers: [300]
300,30 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[34, 71], Operations: ['60-51=9', '80-9=71']
Exploring Operation: 34+71=105, Resulting Numbers: [105]
105,30 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 34*71=2414, Resulting Numbers: [2414]
2414,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[34, 71], Operations: ['80-60=20', '51+20=71']
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 34*71=2414, Resulting Numbers: [2414]
2414,30 unequal: No Solution
Exploring Operation: 34+71=105, Resulting Numbers: [105]
105,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[80, 25], Operations: ['60-51=9', '34-9=25']
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,30 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[80, 43], Operations: ['60-51=9', '34+9=43']
Exploring Operation: 80+43=123, Resulting Numbers: [123]
123,30 unequal: No Solution
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,30 unequal: No Solution
Exploring Operation: 80*43=3440, Resulting Numbers: [3440]
3440,30 unequal: No Solution
Moving to Node #0,2,3
Current State: 30:[46, 111], Operations: ['80-34=46', '51+60=111']
Exploring Operation: 46+111=157, Resulting Numbers: [157]
157,30 unequal: No Solution
Exploring Operation: 111-46=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 46*111=5106, Resulting Numbers: [5106]
5106,30 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
17,
51,
29,
63
] | 89 | [
"51/17=3",
"29+63=92",
"92-3=89"
] | Current State: 89:[17, 51, 29, 63], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [29, 63, 3]
Generated Node #2: [29, 63, 3] from Operation: 51/17=3
Current State: 89:[29, 63, 3], Operations: ['51/17=3']
Exploring Operation: 29+63=92, Resulting Numbers: [3, 92]
Generated Node #3: [3, 92] from Operation: 29+63=92
Current State: 89:[3, 92], Operations: ['51/17=3', '29+63=92']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[17, 51, 29, 63], Operations: []
Exploring Operation: 17+63=80, Resulting Numbers: [51, 29, 80]
Generated Node #0,0: 89:[51, 29, 80] Operation: 17+63=80
Exploring Operation: 51+29=80, Resulting Numbers: [17, 63, 80]
Generated Node #0,1: 89:[17, 63, 80] Operation: 51+29=80
Exploring Operation: 17+51=68, Resulting Numbers: [29, 63, 68]
Generated Node #0,2: 89:[29, 63, 68] Operation: 17+51=68
Exploring Operation: 17+29=46, Resulting Numbers: [51, 63, 46]
Generated Node #0,3: 89:[51, 63, 46] Operation: 17+29=46
Moving to Node #0,0
Current State: 89:[51, 29, 80], Operations: ['17+63=80']
Exploring Operation: 80-29=51, Resulting Numbers: [51, 51]
Generated Node #0,0,0: 89:[51, 51] Operation: 80-29=51
Exploring Operation: 51-29=22, Resulting Numbers: [80, 22]
Generated Node #0,0,1: 89:[80, 22] Operation: 51-29=22
Exploring Operation: 51+29=80, Resulting Numbers: [80, 80]
Generated Node #0,0,2: 89:[80, 80] Operation: 51+29=80
Exploring Operation: 29+80=109, Resulting Numbers: [51, 109]
Generated Node #0,0,3: 89:[51, 109] Operation: 29+80=109
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[80, 80], Operations: ['17+63=80', '51+29=80']
Exploring Operation: 80+80=160, Resulting Numbers: [160]
160,89 unequal: No Solution
Exploring Operation: 80-80=0, Resulting Numbers: [0]
0,89 unequal: No Solution
Exploring Operation: 80*80=6400, Resulting Numbers: [6400]
6400,89 unequal: No Solution
Exploring Operation: 80/80=1, Resulting Numbers: [1]
1,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[51, 109], Operations: ['17+63=80', '29+80=109']
Exploring Operation: 51+109=160, Resulting Numbers: [160]
160,89 unequal: No Solution
Exploring Operation: 109-51=58, Resulting Numbers: [58]
58,89 unequal: No Solution
Exploring Operation: 51*109=5559, Resulting Numbers: [5559]
5559,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[51, 51], Operations: ['17+63=80', '80-29=51']
Exploring Operation: 51*51=2601, Resulting Numbers: [2601]
2601,89 unequal: No Solution
Exploring Operation: 51-51=0, Resulting Numbers: [0]
0,89 unequal: No Solution
Exploring Operation: 51+51=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 51/51=1, Resulting Numbers: [1]
1,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[80, 22], Operations: ['17+63=80', '51-29=22']
Exploring Operation: 80+22=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 80*22=1760, Resulting Numbers: [1760]
1760,89 unequal: No Solution
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,89 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: 89:[29, 63, 68], Operations: ['17+51=68']
Exploring Operation: 63-29=34, Resulting Numbers: [68, 34]
Generated Node #0,2,0: 89:[68, 34] Operation: 63-29=34
Exploring Operation: 29+63=92, Resulting Numbers: [68, 92]
Generated Node #0,2,1: 89:[68, 92] Operation: 29+63=92
Exploring Operation: 68-29=39, Resulting Numbers: [63, 39]
Generated Node #0,2,2: 89:[63, 39] Operation: 68-29=39
Exploring Operation: 29+68=97, Resulting Numbers: [63, 97]
Generated Node #0,2,3: 89:[63, 97] Operation: 29+68=97
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[68, 92], Operations: ['17+51=68', '29+63=92']
Exploring Operation: 68*92=6256, Resulting Numbers: [6256]
6256,89 unequal: No Solution
Exploring Operation: 68+92=160, Resulting Numbers: [160]
160,89 unequal: No Solution
Exploring Operation: 92-68=24, Resulting Numbers: [24]
24,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,3
Current State: 89:[63, 97], Operations: ['17+51=68', '29+68=97']
Exploring Operation: 63+97=160, Resulting Numbers: [160]
160,89 unequal: No Solution
Exploring Operation: 63*97=6111, Resulting Numbers: [6111]
6111,89 unequal: No Solution
Exploring Operation: 97-63=34, Resulting Numbers: [34]
34,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:[68, 34], Operations: ['17+51=68', '63-29=34']
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 68*34=2312, Resulting Numbers: [2312]
2312,89 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 68+34=102, Resulting Numbers: [102]
102,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,2
Current State: 89:[63, 39], Operations: ['17+51=68', '68-29=39']
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Exploring Operation: 63*39=2457, Resulting Numbers: [2457]
2457,89 unequal: No Solution
Exploring Operation: 63+39=102, Resulting Numbers: [102]
102,89 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: 89:[17, 63, 80], Operations: ['51+29=80']
Exploring Operation: 17+63=80, Resulting Numbers: [80, 80]
Generated Node #0,1,0: 89:[80, 80] Operation: 17+63=80
Exploring Operation: 63-17=46, Resulting Numbers: [80, 46]
Generated Node #0,1,1: 89:[80, 46] Operation: 63-17=46
Exploring Operation: 80-17=63, Resulting Numbers: [63, 63]
Generated Node #0,1,2: 89:[63, 63] Operation: 80-17=63
Exploring Operation: 17+80=97, Resulting Numbers: [63, 97]
Generated Node #0,1,3: 89:[63, 97] Operation: 17+80=97
Moving to Node #0,3
Current State: 89:[51, 63, 46], Operations: ['17+29=46']
Exploring Operation: 63+46=109, Resulting Numbers: [51, 109]
Generated Node #0,3,0: 89:[51, 109] Operation: 63+46=109
Exploring Operation: 51-46=5, Resulting Numbers: [63, 5]
Generated Node #0,3,1: 89:[63, 5] Operation: 51-46=5
Exploring Operation: 51+46=97, Resulting Numbers: [63, 97]
Generated Node #0,3,2: 89:[63, 97] Operation: 51+46=97
Exploring Operation: 51+63=114, Resulting Numbers: [46, 114]
Generated Node #0,3,3: 89:[46, 114] Operation: 51+63=114
Moving to Node #0,1,0
Current State: 89:[80, 80], Operations: ['51+29=80', '17+63=80']
Exploring Operation: 80*80=6400, Resulting Numbers: [6400]
6400,89 unequal: No Solution
Exploring Operation: 80+80=160, Resulting Numbers: [160]
160,89 unequal: No Solution
Exploring Operation: 80-80=0, Resulting Numbers: [0]
0,89 unequal: No Solution
Exploring Operation: 80/80=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[63, 97], Operations: ['51+29=80', '17+80=97']
Exploring Operation: 63*97=6111, Resulting Numbers: [6111]
6111,89 unequal: No Solution
Exploring Operation: 63+97=160, Resulting Numbers: [160]
160,89 unequal: No Solution
Exploring Operation: 97-63=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[63, 97], Operations: ['17+29=46', '51+46=97']
Exploring Operation: 63+97=160, Resulting Numbers: [160]
160,89 unequal: No Solution
Exploring Operation: 97-63=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 63*97=6111, Resulting Numbers: [6111]
6111,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[80, 46], Operations: ['51+29=80', '63-17=46']
Exploring Operation: 80*46=3680, Resulting Numbers: [3680]
3680,89 unequal: No Solution
Exploring Operation: 80+46=126, Resulting Numbers: [126]
126,89 unequal: No Solution
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[63, 63], Operations: ['51+29=80', '80-17=63']
Exploring Operation: 63+63=126, Resulting Numbers: [126]
126,89 unequal: No Solution
Exploring Operation: 63-63=0, Resulting Numbers: [0]
0,89 unequal: No Solution
Exploring Operation: 63*63=3969, Resulting Numbers: [3969]
3969,89 unequal: No Solution
Exploring Operation: 63/63=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[51, 109], Operations: ['17+29=46', '63+46=109']
Exploring Operation: 109-51=58, Resulting Numbers: [58]
58,89 unequal: No Solution
Exploring Operation: 51+109=160, Resulting Numbers: [160]
160,89 unequal: No Solution
Exploring Operation: 51*109=5559, Resulting Numbers: [5559]
5559,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[46, 114], Operations: ['17+29=46', '51+63=114']
Exploring Operation: 46+114=160, Resulting Numbers: [160]
160,89 unequal: No Solution
Exploring Operation: 46*114=5244, Resulting Numbers: [5244]
5244,89 unequal: No Solution
Exploring Operation: 114-46=68, Resulting Numbers: [68]
68,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[63, 5], Operations: ['17+29=46', '51-46=5']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,89 unequal: No Solution
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,89 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,89 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
49,
42,
25,
83
] | 92 | [
"49-42=7",
"25*7=175",
"175-83=92"
] | Current State: 92:[49, 42, 25, 83], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [25, 83, 7]
Generated Node #2: [25, 83, 7] from Operation: 49-42=7
Current State: 92:[25, 83, 7], Operations: ['49-42=7']
Exploring Operation: 25*7=175, Resulting Numbers: [83, 175]
Generated Node #3: [83, 175] from Operation: 25*7=175
Current State: 92:[83, 175], Operations: ['49-42=7', '25*7=175']
Exploring Operation: 175-83=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[49, 42, 25, 83], Operations: []
Exploring Operation: 83-42=41, Resulting Numbers: [49, 25, 41]
Generated Node #0,0: 92:[49, 25, 41] Operation: 83-42=41
Moving to Node #0,0
Current State: 92:[49, 25, 41], Operations: ['83-42=41']
Exploring Operation: 49+41=90, Resulting Numbers: [25, 90]
Generated Node #0,0,0: 92:[25, 90] Operation: 49+41=90
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[25, 90], Operations: ['83-42=41', '49+41=90']
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
49,
3,
76,
98
] | 68 | [
"49-3=46",
"98-76=22",
"46+22=68"
] | Current State: 68:[49, 3, 76, 98], Operations: []
Exploring Operation: 49-3=46, Resulting Numbers: [76, 98, 46]
Generated Node #2: [76, 98, 46] from Operation: 49-3=46
Current State: 68:[76, 98, 46], Operations: ['49-3=46']
Exploring Operation: 98-76=22, Resulting Numbers: [46, 22]
Generated Node #3: [46, 22] from Operation: 98-76=22
Current State: 68:[46, 22], Operations: ['49-3=46', '98-76=22']
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[49, 3, 76, 98], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [3, 76, 2]
Generated Node #0,0: 68:[3, 76, 2] Operation: 98/49=2
Exploring Operation: 98-76=22, Resulting Numbers: [49, 3, 22]
Generated Node #0,1: 68:[49, 3, 22] Operation: 98-76=22
Exploring Operation: 49-3=46, Resulting Numbers: [76, 98, 46]
Generated Node #0,2: 68:[76, 98, 46] Operation: 49-3=46
Exploring Operation: 98-49=49, Resulting Numbers: [3, 76, 49]
Generated Node #0,3: 68:[3, 76, 49] Operation: 98-49=49
Exploring Operation: 76-49=27, Resulting Numbers: [3, 98, 27]
Generated Node #0,4: 68:[3, 98, 27] Operation: 76-49=27
Moving to Node #0,0
Current State: 68:[3, 76, 2], Operations: ['98/49=2']
Exploring Operation: 76-2=74, Resulting Numbers: [3, 74]
Generated Node #0,0,0: 68:[3, 74] Operation: 76-2=74
Exploring Operation: 76/2=38, Resulting Numbers: [3, 38]
Generated Node #0,0,1: 68:[3, 38] Operation: 76/2=38
Exploring Operation: 3+2=5, Resulting Numbers: [76, 5]
Generated Node #0,0,2: 68:[76, 5] Operation: 3+2=5
Exploring Operation: 3-2=1, Resulting Numbers: [76, 1]
Generated Node #0,0,3: 68:[76, 1] Operation: 3-2=1
Exploring Operation: 76-3=73, Resulting Numbers: [2, 73]
Generated Node #0,0,4: 68:[2, 73] Operation: 76-3=73
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[3, 38], Operations: ['98/49=2', '76/2=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,68 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,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:[2, 73], Operations: ['98/49=2', '76-3=73']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,68 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,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:[3, 74], Operations: ['98/49=2', '76-2=74']
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,68 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,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:[76, 5], Operations: ['98/49=2', '3+2=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,68 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,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:[76, 1], Operations: ['98/49=2', '3-2=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,68 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,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:[49, 3, 22], Operations: ['98-76=22']
Exploring Operation: 22-3=19, Resulting Numbers: [49, 19]
Generated Node #0,1,0: 68:[49, 19] Operation: 22-3=19
Exploring Operation: 49-22=27, Resulting Numbers: [3, 27]
Generated Node #0,1,1: 68:[3, 27] Operation: 49-22=27
Exploring Operation: 49+22=71, Resulting Numbers: [3, 71]
Generated Node #0,1,2: 68:[3, 71] Operation: 49+22=71
Exploring Operation: 3*22=66, Resulting Numbers: [49, 66]
Generated Node #0,1,3: 68:[49, 66] Operation: 3*22=66
Exploring Operation: 49-3=46, Resulting Numbers: [22, 46]
Generated Node #0,1,4: 68:[22, 46] Operation: 49-3=46
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[3, 71], Operations: ['98-76=22', '49+22=71']
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,68 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[49, 3, 76, 98], Operations: []
Exploring Operation: 98-76=22, Resulting Numbers: [49, 3, 22]
Generated Node #0,1: 68:[49, 3, 22] Operation: 98-76=22
Moving to Node #0,1
Current State: 68:[49, 3, 22], Operations: ['98-76=22']
Exploring Operation: 49+22=71, Resulting Numbers: [3, 71]
Generated Node #0,1,2: 68:[3, 71] Operation: 49+22=71
Moving to Node #0,1,2
Current State: 68:[3, 71], Operations: ['98-76=22', '49+22=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
56,
13,
11,
23
] | 33 | [
"56+13=69",
"11*69=759",
"759/23=33"
] | Current State: 33:[56, 13, 11, 23], Operations: []
Exploring Operation: 56+13=69, Resulting Numbers: [11, 23, 69]
Generated Node #2: [11, 23, 69] from Operation: 56+13=69
Current State: 33:[11, 23, 69], Operations: ['56+13=69']
Exploring Operation: 11*69=759, Resulting Numbers: [23, 759]
Generated Node #3: [23, 759] from Operation: 11*69=759
Current State: 33:[23, 759], Operations: ['56+13=69', '11*69=759']
Exploring Operation: 759/23=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[56, 13, 11, 23], Operations: []
Exploring Operation: 56-11=45, Resulting Numbers: [13, 23, 45]
Generated Node #0,0: 33:[13, 23, 45] Operation: 56-11=45
Exploring Operation: 56-23=33, Resulting Numbers: [13, 11, 33]
Generated Node #0,1: 33:[13, 11, 33] Operation: 56-23=33
Exploring Operation: 56-13=43, Resulting Numbers: [11, 23, 43]
Generated Node #0,2: 33:[11, 23, 43] Operation: 56-13=43
Moving to Node #0,1
Current State: 33:[13, 11, 33], Operations: ['56-23=33']
Exploring Operation: 13+11=24, Resulting Numbers: [33, 24]
Generated Node #0,1,0: 33:[33, 24] Operation: 13+11=24
Exploring Operation: 13-11=2, Resulting Numbers: [33, 2]
Generated Node #0,1,1: 33:[33, 2] Operation: 13-11=2
Exploring Operation: 33/11=3, Resulting Numbers: [13, 3]
Generated Node #0,1,2: 33:[13, 3] Operation: 33/11=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[33, 2], Operations: ['56-23=33', '13-11=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,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,2
Current State: 33:[13, 3], Operations: ['56-23=33', '33/11=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,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:[33, 24], Operations: ['56-23=33', '13+11=24']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,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:[11, 23, 43], Operations: ['56-13=43']
Exploring Operation: 43-23=20, Resulting Numbers: [11, 20]
Generated Node #0,2,0: 33:[11, 20] Operation: 43-23=20
Exploring Operation: 11+23=34, Resulting Numbers: [43, 34]
Generated Node #0,2,1: 33:[43, 34] Operation: 11+23=34
Exploring Operation: 23-11=12, Resulting Numbers: [43, 12]
Generated Node #0,2,2: 33:[43, 12] Operation: 23-11=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 33:[11, 20], Operations: ['56-13=43', '43-23=20']
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,33 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,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:[43, 34], Operations: ['56-13=43', '11+23=34']
Exploring Operation: 43+34=77, Resulting Numbers: [77]
77,33 unequal: No Solution
Exploring Operation: 43*34=1462, Resulting Numbers: [1462]
1462,33 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,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:[43, 12], Operations: ['56-13=43', '23-11=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,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:[13, 23, 45], Operations: ['56-11=45']
Exploring Operation: 23-13=10, Resulting Numbers: [45, 10]
Generated Node #0,0,0: 33:[45, 10] Operation: 23-13=10
Exploring Operation: 45-13=32, Resulting Numbers: [23, 32]
Generated Node #0,0,1: 33:[23, 32] Operation: 45-13=32
Exploring Operation: 45-23=22, Resulting Numbers: [13, 22]
Generated Node #0,0,2: 33:[13, 22] Operation: 45-23=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[23, 32], Operations: ['56-11=45', '45-13=32']
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,33 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,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:[45, 10], Operations: ['56-11=45', '23-13=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 45*10=450, Resulting Numbers: [450]
450,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[13, 22], Operations: ['56-11=45', '45-23=22']
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,33 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,33 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 |
[
4,
10,
70,
38
] | 25 | [
"10*38=380",
"380/4=95",
"95-70=25"
] | Current State: 25:[4, 10, 70, 38], Operations: []
Exploring Operation: 10*38=380, Resulting Numbers: [4, 70, 380]
Generated Node #2: [4, 70, 380] from Operation: 10*38=380
Current State: 25:[4, 70, 380], Operations: ['10*38=380']
Exploring Operation: 380/4=95, Resulting Numbers: [70, 95]
Generated Node #3: [70, 95] from Operation: 380/4=95
Current State: 25:[70, 95], Operations: ['10*38=380', '380/4=95']
Exploring Operation: 95-70=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[4, 10, 70, 38], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [4, 38, 7]
Generated Node #0,0: 25:[4, 38, 7] Operation: 70/10=7
Exploring Operation: 70-38=32, Resulting Numbers: [4, 10, 32]
Generated Node #0,1: 25:[4, 10, 32] Operation: 70-38=32
Moving to Node #0,1
Current State: 25:[4, 10, 32], Operations: ['70-38=32']
Exploring Operation: 32-10=22, Resulting Numbers: [4, 22]
Generated Node #0,1,0: 25:[4, 22] Operation: 32-10=22
Exploring Operation: 10-4=6, Resulting Numbers: [32, 6]
Generated Node #0,1,1: 25:[32, 6] Operation: 10-4=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[4, 22], Operations: ['70-38=32', '32-10=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[32, 6], Operations: ['70-38=32', '10-4=6']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 25:[4, 38, 7], Operations: ['70/10=7']
Exploring Operation: 38-7=31, Resulting Numbers: [4, 31]
Generated Node #0,0,0: 25:[4, 31] Operation: 38-7=31
Exploring Operation: 38-4=34, Resulting Numbers: [7, 34]
Generated Node #0,0,1: 25:[7, 34] Operation: 38-4=34
Moving to Node #0,0,0
Current State: 25:[4, 31], Operations: ['70/10=7', '38-7=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[7, 34], Operations: ['70/10=7', '38-4=34']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,25 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
84,
15,
96
] | 63 | [
"5*15=75",
"96-84=12",
"75-12=63"
] | Current State: 63:[5, 84, 15, 96], Operations: []
Exploring Operation: 5*15=75, Resulting Numbers: [84, 96, 75]
Generated Node #2: [84, 96, 75] from Operation: 5*15=75
Current State: 63:[84, 96, 75], Operations: ['5*15=75']
Exploring Operation: 96-84=12, Resulting Numbers: [75, 12]
Generated Node #3: [75, 12] from Operation: 96-84=12
Current State: 63:[75, 12], Operations: ['5*15=75', '96-84=12']
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[5, 84, 15, 96], Operations: []
Exploring Operation: 96-15=81, Resulting Numbers: [5, 84, 81]
Generated Node #0,0: 63:[5, 84, 81] Operation: 96-15=81
Exploring Operation: 84-15=69, Resulting Numbers: [5, 96, 69]
Generated Node #0,1: 63:[5, 96, 69] Operation: 84-15=69
Exploring Operation: 96-84=12, Resulting Numbers: [5, 15, 12]
Generated Node #0,2: 63:[5, 15, 12] Operation: 96-84=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[5, 15, 12], Operations: ['96-84=12']
Exploring Operation: 15/5=3, Resulting Numbers: [12, 3]
Generated Node #0,2,0: 63:[12, 3] Operation: 15/5=3
Exploring Operation: 15-12=3, Resulting Numbers: [5, 3]
Generated Node #0,2,1: 63:[5, 3] Operation: 15-12=3
Exploring Operation: 5+15=20, Resulting Numbers: [12, 20]
Generated Node #0,2,2: 63:[12, 20] Operation: 5+15=20
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 63:[5, 3], Operations: ['96-84=12', '15-12=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No 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: 63:[12, 3], Operations: ['96-84=12', '15/5=3']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,63 unequal: No Solution
No 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: 63:[12, 20], Operations: ['96-84=12', '5+15=20']
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,63 unequal: No Solution
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,63 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,63 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: 63:[5, 84, 81], Operations: ['96-15=81']
Exploring Operation: 81-5=76, Resulting Numbers: [84, 76]
Generated Node #0,0,0: 63:[84, 76] Operation: 81-5=76
Exploring Operation: 84-5=79, Resulting Numbers: [81, 79]
Generated Node #0,0,1: 63:[81, 79] Operation: 84-5=79
Exploring Operation: 84-81=3, Resulting Numbers: [5, 3]
Generated Node #0,0,2: 63:[5, 3] Operation: 84-81=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[5, 3], Operations: ['96-15=81', '84-81=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,63 unequal: No Solution
No 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: 63:[84, 76], Operations: ['96-15=81', '81-5=76']
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 84*76=6384, Resulting Numbers: [6384]
6384,63 unequal: No Solution
Exploring Operation: 84+76=160, Resulting Numbers: [160]
160,63 unequal: No Solution
No 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: 63:[81, 79], Operations: ['96-15=81', '84-5=79']
Exploring Operation: 81-79=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 81+79=160, Resulting Numbers: [160]
160,63 unequal: No Solution
Exploring Operation: 81*79=6399, Resulting Numbers: [6399]
6399,63 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: 63:[5, 96, 69], Operations: ['84-15=69']
Exploring Operation: 96-5=91, Resulting Numbers: [69, 91]
Generated Node #0,1,0: 63:[69, 91] Operation: 96-5=91
Exploring Operation: 69-5=64, Resulting Numbers: [96, 64]
Generated Node #0,1,1: 63:[96, 64] Operation: 69-5=64
Exploring Operation: 96-69=27, Resulting Numbers: [5, 27]
Generated Node #0,1,2: 63:[5, 27] Operation: 96-69=27
Moving to Node #0,1,2
Current State: 63:[5, 27], Operations: ['84-15=69', '96-69=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,63 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[69, 91], Operations: ['84-15=69', '96-5=91']
Exploring Operation: 69+91=160, Resulting Numbers: [160]
160,63 unequal: No Solution
Exploring Operation: 91-69=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 69*91=6279, Resulting Numbers: [6279]
6279,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[96, 64], Operations: ['84-15=69', '69-5=64']
Exploring Operation: 96-64=32, Resulting Numbers: [32]
32,63 unequal: No Solution
Exploring Operation: 96*64=6144, Resulting Numbers: [6144]
6144,63 unequal: No Solution
Exploring Operation: 96+64=160, Resulting Numbers: [160]
160,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
87,
3,
73,
77
] | 86 | [
"87+3=90",
"77-73=4",
"90-4=86"
] | Current State: 86:[87, 3, 73, 77], Operations: []
Exploring Operation: 87+3=90, Resulting Numbers: [73, 77, 90]
Generated Node #2: [73, 77, 90] from Operation: 87+3=90
Current State: 86:[73, 77, 90], Operations: ['87+3=90']
Exploring Operation: 77-73=4, Resulting Numbers: [90, 4]
Generated Node #3: [90, 4] from Operation: 77-73=4
Current State: 86:[90, 4], Operations: ['87+3=90', '77-73=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[87, 3, 73, 77], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [87, 3, 4]
Generated Node #0,0: 86:[87, 3, 4] Operation: 77-73=4
Exploring Operation: 3+73=76, Resulting Numbers: [87, 77, 76]
Generated Node #0,1: 86:[87, 77, 76] Operation: 3+73=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[87, 3, 4], Operations: ['77-73=4']
Exploring Operation: 87-3=84, Resulting Numbers: [4, 84]
Generated Node #0,0,0: 86:[4, 84] Operation: 87-3=84
Exploring Operation: 4-3=1, Resulting Numbers: [87, 1]
Generated Node #0,0,1: 86:[87, 1] Operation: 4-3=1
Moving to Node #0,0,1
Current State: 86:[87, 1], Operations: ['77-73=4', '4-3=1']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[87, 3, 73, 77], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [87, 3, 4]
Generated Node #0,0: 86:[87, 3, 4] Operation: 77-73=4
Moving to Node #0,0
Current State: 86:[87, 3, 4], Operations: ['77-73=4']
Exploring Operation: 4-3=1, Resulting Numbers: [87, 1]
Generated Node #0,0,1: 86:[87, 1] Operation: 4-3=1
Moving to Node #0,0,1
Current State: 86:[87, 1], Operations: ['77-73=4', '4-3=1']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
4,
39,
5,
75
] | 99 | [
"4*75=300",
"300/5=60",
"39+60=99"
] | Current State: 99:[4, 39, 5, 75], Operations: []
Exploring Operation: 4*75=300, Resulting Numbers: [39, 5, 300]
Generated Node #2: [39, 5, 300] from Operation: 4*75=300
Current State: 99:[39, 5, 300], Operations: ['4*75=300']
Exploring Operation: 300/5=60, Resulting Numbers: [39, 60]
Generated Node #3: [39, 60] from Operation: 300/5=60
Current State: 99:[39, 60], Operations: ['4*75=300', '300/5=60']
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[4, 39, 5, 75], Operations: []
Exploring Operation: 75-39=36, Resulting Numbers: [4, 5, 36]
Generated Node #0,0: 99:[4, 5, 36] Operation: 75-39=36
Exploring Operation: 39+75=114, Resulting Numbers: [4, 5, 114]
Generated Node #0,1: 99:[4, 5, 114] Operation: 39+75=114
Exploring Operation: 75/5=15, Resulting Numbers: [4, 39, 15]
Generated Node #0,2: 99:[4, 39, 15] Operation: 75/5=15
Moving to Node #0,0
Current State: 99:[4, 5, 36], Operations: ['75-39=36']
Exploring Operation: 36/4=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 99:[5, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [5, 32]
Generated Node #0,0,1: 99:[5, 32] Operation: 36-4=32
Exploring Operation: 4+5=9, Resulting Numbers: [36, 9]
Generated Node #0,0,2: 99:[36, 9] Operation: 4+5=9
Moving to Node #0,2
Current State: 99:[4, 39, 15], Operations: ['75/5=15']
Exploring Operation: 39-15=24, Resulting Numbers: [4, 24]
Generated Node #0,2,0: 99:[4, 24] Operation: 39-15=24
Exploring Operation: 39-4=35, Resulting Numbers: [15, 35]
Generated Node #0,2,1: 99:[15, 35] Operation: 39-4=35
Exploring Operation: 15-4=11, Resulting Numbers: [39, 11]
Generated Node #0,2,2: 99:[39, 11] Operation: 15-4=11
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 99:[15, 35], Operations: ['75/5=15', '39-4=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,99 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,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:[39, 11], Operations: ['75/5=15', '15-4=11']
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,99 unequal: No Solution
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,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:[4, 24], Operations: ['75/5=15', '39-15=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,99 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,99 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: 99:[4, 5, 114], Operations: ['39+75=114']
Exploring Operation: 114-5=109, Resulting Numbers: [4, 109]
Generated Node #0,1,0: 99:[4, 109] Operation: 114-5=109
Exploring Operation: 4+5=9, Resulting Numbers: [114, 9]
Generated Node #0,1,1: 99:[114, 9] Operation: 4+5=9
Exploring Operation: 114-4=110, Resulting Numbers: [5, 110]
Generated Node #0,1,2: 99:[5, 110] Operation: 114-4=110
Moving to Node #0,0,0
Current State: 99:[5, 9], Operations: ['75-39=36', '36/4=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,99 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[36, 9], Operations: ['75-39=36', '4+5=9']
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,99 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[5, 32], Operations: ['75-39=36', '36-4=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,99 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[4, 109], Operations: ['39+75=114', '114-5=109']
Exploring Operation: 109-4=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 4*109=436, Resulting Numbers: [436]
436,99 unequal: No Solution
Exploring Operation: 4+109=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[5, 110], Operations: ['39+75=114', '114-4=110']
Exploring Operation: 110-5=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 5+110=115, Resulting Numbers: [115]
115,99 unequal: No Solution
Exploring Operation: 110/5=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[114, 9], Operations: ['39+75=114', '4+5=9']
Exploring Operation: 114-9=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 114+9=123, Resulting Numbers: [123]
123,99 unequal: No Solution
Exploring Operation: 114*9=1026, Resulting Numbers: [1026]
1026,99 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
77,
65,
30,
97
] | 75 | [
"77+65=142",
"97-30=67",
"142-67=75"
] | Current State: 75:[77, 65, 30, 97], Operations: []
Exploring Operation: 77+65=142, Resulting Numbers: [30, 97, 142]
Generated Node #2: [30, 97, 142] from Operation: 77+65=142
Current State: 75:[30, 97, 142], Operations: ['77+65=142']
Exploring Operation: 97-30=67, Resulting Numbers: [142, 67]
Generated Node #3: [142, 67] from Operation: 97-30=67
Current State: 75:[142, 67], Operations: ['77+65=142', '97-30=67']
Exploring Operation: 142-67=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[77, 65, 30, 97], Operations: []
Exploring Operation: 97-65=32, Resulting Numbers: [77, 30, 32]
Generated Node #0,0: 75:[77, 30, 32] Operation: 97-65=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[77, 30, 32], Operations: ['97-65=32']
Exploring Operation: 32-30=2, Resulting Numbers: [77, 2]
Generated Node #0,0,0: 75:[77, 2] Operation: 32-30=2
Moving to Node #0,0,0
Current State: 75:[77, 2], Operations: ['97-65=32', '32-30=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[77, 65, 30, 97], Operations: []
Exploring Operation: 97-65=32, Resulting Numbers: [77, 30, 32]
Generated Node #0,0: 75:[77, 30, 32] Operation: 97-65=32
Moving to Node #0,0
Current State: 75:[77, 30, 32], Operations: ['97-65=32']
Exploring Operation: 32-30=2, Resulting Numbers: [77, 2]
Generated Node #0,0,0: 75:[77, 2] Operation: 32-30=2
Moving to Node #0,0,0
Current State: 75:[77, 2], Operations: ['97-65=32', '32-30=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
58,
12,
93,
23
] | 91 | [
"58-12=46",
"46/23=2",
"93-2=91"
] | Current State: 91:[58, 12, 93, 23], Operations: []
Exploring Operation: 58-12=46, Resulting Numbers: [93, 23, 46]
Generated Node #2: [93, 23, 46] from Operation: 58-12=46
Current State: 91:[93, 23, 46], Operations: ['58-12=46']
Exploring Operation: 46/23=2, Resulting Numbers: [93, 2]
Generated Node #3: [93, 2] from Operation: 46/23=2
Current State: 91:[93, 2], Operations: ['58-12=46', '46/23=2']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[58, 12, 93, 23], Operations: []
Exploring Operation: 93-58=35, Resulting Numbers: [12, 23, 35]
Generated Node #0,0: 91:[12, 23, 35] Operation: 93-58=35
Exploring Operation: 58+12=70, Resulting Numbers: [93, 23, 70]
Generated Node #0,1: 91:[93, 23, 70] Operation: 58+12=70
Exploring Operation: 58+23=81, Resulting Numbers: [12, 93, 81]
Generated Node #0,2: 91:[12, 93, 81] Operation: 58+23=81
Exploring Operation: 58-23=35, Resulting Numbers: [12, 93, 35]
Generated Node #0,3: 91:[12, 93, 35] Operation: 58-23=35
Exploring Operation: 23-12=11, Resulting Numbers: [58, 93, 11]
Generated Node #0,4: 91:[58, 93, 11] Operation: 23-12=11
Moving to Node #0,2
Current State: 91:[12, 93, 81], Operations: ['58+23=81']
Exploring Operation: 12+81=93, Resulting Numbers: [93, 93]
Generated Node #0,2,0: 91:[93, 93] Operation: 12+81=93
Exploring Operation: 12+93=105, Resulting Numbers: [81, 105]
Generated Node #0,2,1: 91:[81, 105] Operation: 12+93=105
Exploring Operation: 93-12=81, Resulting Numbers: [81, 81]
Generated Node #0,2,2: 91:[81, 81] Operation: 93-12=81
Exploring Operation: 93-81=12, Resulting Numbers: [12, 12]
Generated Node #0,2,3: 91:[12, 12] Operation: 93-81=12
Exploring Operation: 81-12=69, Resulting Numbers: [93, 69]
Generated Node #0,2,4: 91:[93, 69] Operation: 81-12=69
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[12, 12], Operations: ['58+23=81', '93-81=12']
Exploring Operation: 12*12=144, Resulting Numbers: [144]
144,91 unequal: No Solution
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[93, 93], Operations: ['58+23=81', '12+81=93']
Exploring Operation: 93/93=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 93*93=8649, Resulting Numbers: [8649]
8649,91 unequal: No Solution
Exploring Operation: 93+93=186, Resulting Numbers: [186]
186,91 unequal: No Solution
Exploring Operation: 93-93=0, Resulting Numbers: [0]
0,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[81, 81], Operations: ['58+23=81', '93-12=81']
Exploring Operation: 81*81=6561, Resulting Numbers: [6561]
6561,91 unequal: No Solution
Exploring Operation: 81+81=162, Resulting Numbers: [162]
162,91 unequal: No Solution
Exploring Operation: 81/81=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 81-81=0, Resulting Numbers: [0]
0,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[81, 105], Operations: ['58+23=81', '12+93=105']
Exploring Operation: 105-81=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 81*105=8505, Resulting Numbers: [8505]
8505,91 unequal: No Solution
Exploring Operation: 81+105=186, Resulting Numbers: [186]
186,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[93, 69], Operations: ['58+23=81', '81-12=69']
Exploring Operation: 93*69=6417, Resulting Numbers: [6417]
6417,91 unequal: No Solution
Exploring Operation: 93+69=162, Resulting Numbers: [162]
162,91 unequal: No Solution
Exploring Operation: 93-69=24, Resulting Numbers: [24]
24,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 91:[12, 93, 35], Operations: ['58-23=35']
Exploring Operation: 93-35=58, Resulting Numbers: [12, 58]
Generated Node #0,3,0: 91:[12, 58] Operation: 93-35=58
Exploring Operation: 35-12=23, Resulting Numbers: [93, 23]
Generated Node #0,3,1: 91:[93, 23] Operation: 35-12=23
Exploring Operation: 12+35=47, Resulting Numbers: [93, 47]
Generated Node #0,3,2: 91:[93, 47] Operation: 12+35=47
Exploring Operation: 93-12=81, Resulting Numbers: [35, 81]
Generated Node #0,3,3: 91:[35, 81] Operation: 93-12=81
Exploring Operation: 12+93=105, Resulting Numbers: [35, 105]
Generated Node #0,3,4: 91:[35, 105] Operation: 12+93=105
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[93, 23], Operations: ['58-23=35', '35-12=23']
Exploring Operation: 93*23=2139, Resulting Numbers: [2139]
2139,91 unequal: No Solution
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 93+23=116, Resulting Numbers: [116]
116,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[35, 81], Operations: ['58-23=35', '93-12=81']
Exploring Operation: 35+81=116, Resulting Numbers: [116]
116,91 unequal: No Solution
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 35*81=2835, Resulting Numbers: [2835]
2835,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[12, 58], Operations: ['58-23=35', '93-35=58']
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,91 unequal: No Solution
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[93, 47], Operations: ['58-23=35', '12+35=47']
Exploring Operation: 93*47=4371, Resulting Numbers: [4371]
4371,91 unequal: No Solution
Exploring Operation: 93+47=140, Resulting Numbers: [140]
140,91 unequal: No Solution
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 91:[35, 105], Operations: ['58-23=35', '12+93=105']
Exploring Operation: 105/35=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 105-35=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 35+105=140, Resulting Numbers: [140]
140,91 unequal: No Solution
Exploring Operation: 35*105=3675, Resulting Numbers: [3675]
3675,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 91:[12, 23, 35], Operations: ['93-58=35']
Exploring Operation: 23-12=11, Resulting Numbers: [35, 11]
Generated Node #0,0,0: 91:[35, 11] Operation: 23-12=11
Exploring Operation: 12+23=35, Resulting Numbers: [35, 35]
Generated Node #0,0,1: 91:[35, 35] Operation: 12+23=35
Exploring Operation: 35-23=12, Resulting Numbers: [12, 12]
Generated Node #0,0,2: 91:[12, 12] Operation: 35-23=12
Exploring Operation: 35-12=23, Resulting Numbers: [23, 23]
Generated Node #0,0,3: 91:[23, 23] Operation: 35-12=23
Exploring Operation: 23+35=58, Resulting Numbers: [12, 58]
Generated Node #0,0,4: 91:[12, 58] Operation: 23+35=58
Moving to Node #0,1
Current State: 91:[93, 23, 70], Operations: ['58+12=70']
Exploring Operation: 70-23=47, Resulting Numbers: [93, 47]
Generated Node #0,1,0: 91:[93, 47] Operation: 70-23=47
Exploring Operation: 93-70=23, Resulting Numbers: [23, 23]
Generated Node #0,1,1: 91:[23, 23] Operation: 93-70=23
Exploring Operation: 93+23=116, Resulting Numbers: [70, 116]
Generated Node #0,1,2: 91:[70, 116] Operation: 93+23=116
Exploring Operation: 23+70=93, Resulting Numbers: [93, 93]
Generated Node #0,1,3: 91:[93, 93] Operation: 23+70=93
Exploring Operation: 93-23=70, Resulting Numbers: [70, 70]
Generated Node #0,1,4: 91:[70, 70] Operation: 93-23=70
Moving to Node #0,4
Current State: 91:[58, 93, 11], Operations: ['23-12=11']
Exploring Operation: 93+11=104, Resulting Numbers: [58, 104]
Generated Node #0,4,0: 91:[58, 104] Operation: 93+11=104
Exploring Operation: 58-11=47, Resulting Numbers: [93, 47]
Generated Node #0,4,1: 91:[93, 47] Operation: 58-11=47
Exploring Operation: 93-11=82, Resulting Numbers: [58, 82]
Generated Node #0,4,2: 91:[58, 82] Operation: 93-11=82
Exploring Operation: 93-58=35, Resulting Numbers: [11, 35]
Generated Node #0,4,3: 91:[11, 35] Operation: 93-58=35
Exploring Operation: 58+11=69, Resulting Numbers: [93, 69]
Generated Node #0,4,4: 91:[93, 69] Operation: 58+11=69
Moving to Node #0,0,2
Current State: 91:[12, 12], Operations: ['93-58=35', '35-23=12']
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 12*12=144, Resulting Numbers: [144]
144,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[93, 93], Operations: ['58+12=70', '23+70=93']
Exploring Operation: 93*93=8649, Resulting Numbers: [8649]
8649,91 unequal: No Solution
Exploring Operation: 93/93=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 93-93=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 93+93=186, Resulting Numbers: [186]
186,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[23, 23], Operations: ['58+12=70', '93-70=23']
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 23*23=529, Resulting Numbers: [529]
529,91 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[23, 23], Operations: ['93-58=35', '35-12=23']
Exploring Operation: 23*23=529, Resulting Numbers: [529]
529,91 unequal: No Solution
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[35, 11], Operations: ['93-58=35', '23-12=11']
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,91 unequal: No Solution
Moving to Node #0,4,4
Current State: 91:[93, 69], Operations: ['23-12=11', '58+11=69']
Exploring Operation: 93+69=162, Resulting Numbers: [162]
162,91 unequal: No Solution
Exploring Operation: 93-69=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 93*69=6417, Resulting Numbers: [6417]
6417,91 unequal: No Solution
Moving to Node #0,4,3
Current State: 91:[11, 35], Operations: ['23-12=11', '93-58=35']
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,91 unequal: No Solution
Moving to Node #0,0,4
Current State: 91:[12, 58], Operations: ['93-58=35', '23+35=58']
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,91 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Moving to Node #0,4,1
Current State: 91:[93, 47], Operations: ['23-12=11', '58-11=47']
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 93*47=4371, Resulting Numbers: [4371]
4371,91 unequal: No Solution
Exploring Operation: 93+47=140, Resulting Numbers: [140]
140,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[93, 47], Operations: ['58+12=70', '70-23=47']
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 93+47=140, Resulting Numbers: [140]
140,91 unequal: No Solution
Exploring Operation: 93*47=4371, Resulting Numbers: [4371]
4371,91 unequal: No Solution
Moving to Node #0,4,2
Current State: 91:[58, 82], Operations: ['23-12=11', '93-11=82']
Exploring Operation: 58*82=4756, Resulting Numbers: [4756]
4756,91 unequal: No Solution
Exploring Operation: 58+82=140, Resulting Numbers: [140]
140,91 unequal: No Solution
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[70, 70], Operations: ['58+12=70', '93-23=70']
Exploring Operation: 70/70=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 70-70=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 70+70=140, Resulting Numbers: [140]
140,91 unequal: No Solution
Exploring Operation: 70*70=4900, Resulting Numbers: [4900]
4900,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[35, 35], Operations: ['93-58=35', '12+23=35']
Exploring Operation: 35*35=1225, Resulting Numbers: [1225]
1225,91 unequal: No Solution
Exploring Operation: 35-35=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 35/35=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 35+35=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[70, 116], Operations: ['58+12=70', '93+23=116']
Exploring Operation: 116-70=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 70+116=186, Resulting Numbers: [186]
186,91 unequal: No Solution
Exploring Operation: 70*116=8120, Resulting Numbers: [8120]
8120,91 unequal: No Solution
Moving to Node #0,4,0
Current State: 91:[58, 104], Operations: ['23-12=11', '93+11=104']
Exploring Operation: 58+104=162, Resulting Numbers: [162]
162,91 unequal: No Solution
Exploring Operation: 104-58=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 58*104=6032, Resulting Numbers: [6032]
6032,91 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
16,
27,
93,
52
] | 84 | [
"16+27=43",
"93-52=41",
"43+41=84"
] | Current State: 84:[16, 27, 93, 52], Operations: []
Exploring Operation: 16+27=43, Resulting Numbers: [93, 52, 43]
Generated Node #2: [93, 52, 43] from Operation: 16+27=43
Current State: 84:[93, 52, 43], Operations: ['16+27=43']
Exploring Operation: 93-52=41, Resulting Numbers: [43, 41]
Generated Node #3: [43, 41] from Operation: 93-52=41
Current State: 84:[43, 41], Operations: ['16+27=43', '93-52=41']
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[16, 27, 93, 52], Operations: []
Exploring Operation: 93-52=41, Resulting Numbers: [16, 27, 41]
Generated Node #0,0: 84:[16, 27, 41] Operation: 93-52=41
Exploring Operation: 52-27=25, Resulting Numbers: [16, 93, 25]
Generated Node #0,1: 84:[16, 93, 25] Operation: 52-27=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[16, 27, 41], Operations: ['93-52=41']
Exploring Operation: 27-16=11, Resulting Numbers: [41, 11]
Generated Node #0,0,0: 84:[41, 11] Operation: 27-16=11
Exploring Operation: 16+27=43, Resulting Numbers: [41, 43]
Generated Node #0,0,1: 84:[41, 43] Operation: 16+27=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[41, 11], Operations: ['93-52=41', '27-16=11']
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[41, 43], Operations: ['93-52=41', '16+27=43']
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[16, 27, 93, 52], Operations: []
Exploring Operation: 93-52=41, Resulting Numbers: [16, 27, 41]
Generated Node #0,0: 84:[16, 27, 41] Operation: 93-52=41
Moving to Node #0,0
Current State: 84:[16, 27, 41], Operations: ['93-52=41']
Exploring Operation: 16+27=43, Resulting Numbers: [41, 43]
Generated Node #0,0,1: 84:[41, 43] Operation: 16+27=43
Moving to Node #0,0,1
Current State: 84:[41, 43], Operations: ['93-52=41', '16+27=43']
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
66,
44,
12,
14
] | 22 | [
"44*12=528",
"528/66=8",
"14+8=22"
] | Current State: 22:[66, 44, 12, 14], Operations: []
Exploring Operation: 44*12=528, Resulting Numbers: [66, 14, 528]
Generated Node #2: [66, 14, 528] from Operation: 44*12=528
Current State: 22:[66, 14, 528], Operations: ['44*12=528']
Exploring Operation: 528/66=8, Resulting Numbers: [14, 8]
Generated Node #3: [14, 8] from Operation: 528/66=8
Current State: 22:[14, 8], Operations: ['44*12=528', '528/66=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[66, 44, 12, 14], Operations: []
Exploring Operation: 66-14=52, Resulting Numbers: [44, 12, 52]
Generated Node #0,0: 22:[44, 12, 52] Operation: 66-14=52
Exploring Operation: 66-44=22, Resulting Numbers: [12, 14, 22]
Generated Node #0,1: 22:[12, 14, 22] Operation: 66-44=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[12, 14, 22], Operations: ['66-44=22']
Exploring Operation: 12+14=26, Resulting Numbers: [22, 26]
Generated Node #0,1,0: 22:[22, 26] Operation: 12+14=26
Exploring Operation: 14-12=2, Resulting Numbers: [22, 2]
Generated Node #0,1,1: 22:[22, 2] Operation: 14-12=2
Moving to Node #0,1,1
Current State: 22:[22, 2], Operations: ['66-44=22', '14-12=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[22, 26], Operations: ['66-44=22', '12+14=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,22 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[44, 12, 52], Operations: ['66-14=52']
Exploring Operation: 52-44=8, Resulting Numbers: [12, 8]
Generated Node #0,0,0: 22:[12, 8] Operation: 52-44=8
Exploring Operation: 44-12=32, Resulting Numbers: [52, 32]
Generated Node #0,0,1: 22:[52, 32] Operation: 44-12=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[12, 8], Operations: ['66-14=52', '52-44=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No 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: 22:[52, 32], Operations: ['66-14=52', '44-12=32']
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,22 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 |
[
84,
15,
15,
21
] | 62 | [
"84-21=63",
"15/15=1",
"63-1=62"
] | Current State: 62:[84, 15, 15, 21], Operations: []
Exploring Operation: 84-21=63, Resulting Numbers: [15, 15, 63]
Generated Node #2: [15, 15, 63] from Operation: 84-21=63
Current State: 62:[15, 15, 63], Operations: ['84-21=63']
Exploring Operation: 15/15=1, Resulting Numbers: [63, 1]
Generated Node #3: [63, 1] from Operation: 15/15=1
Current State: 62:[63, 1], Operations: ['84-21=63', '15/15=1']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[84, 15, 15, 21], Operations: []
Exploring Operation: 84-21=63, Resulting Numbers: [15, 15, 63]
Generated Node #0,0: 62:[15, 15, 63] Operation: 84-21=63
Exploring Operation: 84/21=4, Resulting Numbers: [15, 15, 4]
Generated Node #0,1: 62:[15, 15, 4] Operation: 84/21=4
Exploring Operation: 15+15=30, Resulting Numbers: [84, 21, 30]
Generated Node #0,2: 62:[84, 21, 30] Operation: 15+15=30
Exploring Operation: 84-15=69, Resulting Numbers: [15, 21, 69]
Generated Node #0,3: 62:[15, 21, 69] Operation: 84-15=69
Exploring Operation: 84-15=69, Resulting Numbers: [15, 21, 69]
Generated Node #0,4: 62:[15, 21, 69] Operation: 84-15=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[15, 15, 63], Operations: ['84-21=63']
Exploring Operation: 63-15=48, Resulting Numbers: [15, 48]
Generated Node #0,0,0: 62:[15, 48] Operation: 63-15=48
Exploring Operation: 15/15=1, Resulting Numbers: [63, 1]
Generated Node #0,0,1: 62:[63, 1] Operation: 15/15=1
Exploring Operation: 15+15=30, Resulting Numbers: [63, 30]
Generated Node #0,0,2: 62:[63, 30] Operation: 15+15=30
Exploring Operation: 15-15=0, Resulting Numbers: [63, 0]
Generated Node #0,0,3: 62:[63, 0] Operation: 15-15=0
Exploring Operation: 63-15=48, Resulting Numbers: [15, 48]
Generated Node #0,0,4: 62:[15, 48] Operation: 63-15=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[63, 1], Operations: ['84-21=63', '15/15=1']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[84, 15, 15, 21], Operations: []
Exploring Operation: 84-21=63, Resulting Numbers: [15, 15, 63]
Generated Node #0,0: 62:[15, 15, 63] Operation: 84-21=63
Moving to Node #0,0
Current State: 62:[15, 15, 63], Operations: ['84-21=63']
Exploring Operation: 15/15=1, Resulting Numbers: [63, 1]
Generated Node #0,0,1: 62:[63, 1] Operation: 15/15=1
Moving to Node #0,0,1
Current State: 62:[63, 1], Operations: ['84-21=63', '15/15=1']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
23,
80,
20,
8
] | 92 | [
"80/20=4",
"8-4=4",
"23*4=92"
] | Current State: 92:[23, 80, 20, 8], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [23, 8, 4]
Generated Node #2: [23, 8, 4] from Operation: 80/20=4
Current State: 92:[23, 8, 4], Operations: ['80/20=4']
Exploring Operation: 8-4=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 8-4=4
Current State: 92:[23, 4], Operations: ['80/20=4', '8-4=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[23, 80, 20, 8], Operations: []
Exploring Operation: 80+8=88, Resulting Numbers: [23, 20, 88]
Generated Node #0,0: 92:[23, 20, 88] Operation: 80+8=88
Exploring Operation: 80/20=4, Resulting Numbers: [23, 8, 4]
Generated Node #0,1: 92:[23, 8, 4] Operation: 80/20=4
Exploring Operation: 80/8=10, Resulting Numbers: [23, 20, 10]
Generated Node #0,2: 92:[23, 20, 10] Operation: 80/8=10
Moving to Node #0,1
Current State: 92:[23, 8, 4], Operations: ['80/20=4']
Exploring Operation: 8/4=2, Resulting Numbers: [23, 2]
Generated Node #0,1,0: 92:[23, 2] Operation: 8/4=2
Exploring Operation: 23*4=92, Resulting Numbers: [8, 92]
Generated Node #0,1,1: 92:[8, 92] Operation: 23*4=92
Exploring Operation: 8-4=4, Resulting Numbers: [23, 4]
Generated Node #0,1,2: 92:[23, 4] Operation: 8-4=4
Moving to Node #0,0
Current State: 92:[23, 20, 88], Operations: ['80+8=88']
Exploring Operation: 20+88=108, Resulting Numbers: [23, 108]
Generated Node #0,0,0: 92:[23, 108] Operation: 20+88=108
Exploring Operation: 23-20=3, Resulting Numbers: [88, 3]
Generated Node #0,0,1: 92:[88, 3] Operation: 23-20=3
Exploring Operation: 23+20=43, Resulting Numbers: [88, 43]
Generated Node #0,0,2: 92:[88, 43] Operation: 23+20=43
Moving to Node #0,2
Current State: 92:[23, 20, 10], Operations: ['80/8=10']
Exploring Operation: 20/10=2, Resulting Numbers: [23, 2]
Generated Node #0,2,0: 92:[23, 2] Operation: 20/10=2
Exploring Operation: 23-20=3, Resulting Numbers: [10, 3]
Generated Node #0,2,1: 92:[10, 3] Operation: 23-20=3
Exploring Operation: 20-10=10, Resulting Numbers: [23, 10]
Generated Node #0,2,2: 92:[23, 10] Operation: 20-10=10
Moving to Node #0,1,0
Current State: 92:[23, 2], Operations: ['80/20=4', '8/4=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,92 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[23, 2], Operations: ['80/8=10', '20/10=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[23, 4], Operations: ['80/20=4', '8-4=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[23, 80, 20, 8], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [23, 8, 4]
Generated Node #0,1: 92:[23, 8, 4] Operation: 80/20=4
Moving to Node #0,1
Current State: 92:[23, 8, 4], Operations: ['80/20=4']
Exploring Operation: 8-4=4, Resulting Numbers: [23, 4]
Generated Node #0,1,2: 92:[23, 4] Operation: 8-4=4
Moving to Node #0,1,2
Current State: 92:[23, 4], Operations: ['80/20=4', '8-4=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.979167 | hs_3 | sum_heuristic |
[
35,
78,
36,
14
] | 38 | [
"78-36=42",
"42/14=3",
"35+3=38"
] | Current State: 38:[35, 78, 36, 14], Operations: []
Exploring Operation: 78-36=42, Resulting Numbers: [35, 14, 42]
Generated Node #2: [35, 14, 42] from Operation: 78-36=42
Current State: 38:[35, 14, 42], Operations: ['78-36=42']
Exploring Operation: 42/14=3, Resulting Numbers: [35, 3]
Generated Node #3: [35, 3] from Operation: 42/14=3
Current State: 38:[35, 3], Operations: ['78-36=42', '42/14=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[35, 78, 36, 14], Operations: []
Exploring Operation: 36-35=1, Resulting Numbers: [78, 14, 1]
Generated Node #0,0: 38:[78, 14, 1] Operation: 36-35=1
Exploring Operation: 78-35=43, Resulting Numbers: [36, 14, 43]
Generated Node #0,1: 38:[36, 14, 43] Operation: 78-35=43
Exploring Operation: 35-14=21, Resulting Numbers: [78, 36, 21]
Generated Node #0,2: 38:[78, 36, 21] Operation: 35-14=21
Exploring Operation: 78-14=64, Resulting Numbers: [35, 36, 64]
Generated Node #0,3: 38:[35, 36, 64] Operation: 78-14=64
Exploring Operation: 78-36=42, Resulting Numbers: [35, 14, 42]
Generated Node #0,4: 38:[35, 14, 42] Operation: 78-36=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[36, 14, 43], Operations: ['78-35=43']
Exploring Operation: 36-14=22, Resulting Numbers: [43, 22]
Generated Node #0,1,0: 38:[43, 22] Operation: 36-14=22
Exploring Operation: 43-36=7, Resulting Numbers: [14, 7]
Generated Node #0,1,1: 38:[14, 7] Operation: 43-36=7
Exploring Operation: 43-14=29, Resulting Numbers: [36, 29]
Generated Node #0,1,2: 38:[36, 29] Operation: 43-14=29
Exploring Operation: 36+14=50, Resulting Numbers: [43, 50]
Generated Node #0,1,3: 38:[43, 50] Operation: 36+14=50
Exploring Operation: 14+43=57, Resulting Numbers: [36, 57]
Generated Node #0,1,4: 38:[36, 57] Operation: 14+43=57
Moving to Node #0,1,0
Current State: 38:[43, 22], Operations: ['78-35=43', '36-14=22']
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,38 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,38 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[14, 7], Operations: ['78-35=43', '43-36=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,38 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[36, 29], Operations: ['78-35=43', '43-14=29']
Exploring Operation: 36*29=1044, Resulting Numbers: [1044]
1044,38 unequal: No Solution
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,38 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[43, 50], Operations: ['78-35=43', '36+14=50']
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,38 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,38 unequal: No Solution
Moving to Node #0,1,4
Current State: 38:[36, 57], Operations: ['78-35=43', '14+43=57']
Exploring Operation: 36*57=2052, Resulting Numbers: [2052]
2052,38 unequal: No Solution
Exploring Operation: 36+57=93, Resulting Numbers: [93]
93,38 unequal: No Solution
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,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,4
Current State: 38:[35, 14, 42], Operations: ['78-36=42']
Exploring Operation: 42/14=3, Resulting Numbers: [35, 3]
Generated Node #0,4,0: 38:[35, 3] Operation: 42/14=3
Exploring Operation: 42-35=7, Resulting Numbers: [14, 7]
Generated Node #0,4,1: 38:[14, 7] Operation: 42-35=7
Exploring Operation: 35-14=21, Resulting Numbers: [42, 21]
Generated Node #0,4,2: 38:[42, 21] Operation: 35-14=21
Exploring Operation: 35+14=49, Resulting Numbers: [42, 49]
Generated Node #0,4,3: 38:[42, 49] Operation: 35+14=49
Exploring Operation: 42-14=28, Resulting Numbers: [35, 28]
Generated Node #0,4,4: 38:[35, 28] Operation: 42-14=28
Moving to Node #0,4,0
Current State: 38:[35, 3], Operations: ['78-36=42', '42/14=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[35, 78, 36, 14], Operations: []
Exploring Operation: 78-36=42, Resulting Numbers: [35, 14, 42]
Generated Node #0,4: 38:[35, 14, 42] Operation: 78-36=42
Moving to Node #0,4
Current State: 38:[35, 14, 42], Operations: ['78-36=42']
Exploring Operation: 42/14=3, Resulting Numbers: [35, 3]
Generated Node #0,4,0: 38:[35, 3] Operation: 42/14=3
Moving to Node #0,4,0
Current State: 38:[35, 3], Operations: ['78-36=42', '42/14=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
64,
84,
82,
22
] | 40 | [
"84-64=20",
"82-22=60",
"60-20=40"
] | Current State: 40:[64, 84, 82, 22], Operations: []
Exploring Operation: 84-64=20, Resulting Numbers: [82, 22, 20]
Generated Node #2: [82, 22, 20] from Operation: 84-64=20
Current State: 40:[82, 22, 20], Operations: ['84-64=20']
Exploring Operation: 82-22=60, Resulting Numbers: [20, 60]
Generated Node #3: [20, 60] from Operation: 82-22=60
Current State: 40:[20, 60], Operations: ['84-64=20', '82-22=60']
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[64, 84, 82, 22], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [64, 22, 2]
Generated Node #0,0: 40:[64, 22, 2] Operation: 84-82=2
Exploring Operation: 84-64=20, Resulting Numbers: [82, 22, 20]
Generated Node #0,1: 40:[82, 22, 20] Operation: 84-64=20
Exploring Operation: 82-64=18, Resulting Numbers: [84, 22, 18]
Generated Node #0,2: 40:[84, 22, 18] Operation: 82-64=18
Exploring Operation: 64-22=42, Resulting Numbers: [84, 82, 42]
Generated Node #0,3: 40:[84, 82, 42] Operation: 64-22=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[64, 22, 2], Operations: ['84-82=2']
Exploring Operation: 22-2=20, Resulting Numbers: [64, 20]
Generated Node #0,0,0: 40:[64, 20] Operation: 22-2=20
Exploring Operation: 64/2=32, Resulting Numbers: [22, 32]
Generated Node #0,0,1: 40:[22, 32] Operation: 64/2=32
Exploring Operation: 64-2=62, Resulting Numbers: [22, 62]
Generated Node #0,0,2: 40:[22, 62] Operation: 64-2=62
Exploring Operation: 64-22=42, Resulting Numbers: [2, 42]
Generated Node #0,0,3: 40:[2, 42] Operation: 64-22=42
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 40:[2, 42], Operations: ['84-82=2', '64-22=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,40 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[64, 84, 82, 22], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [64, 22, 2]
Generated Node #0,0: 40:[64, 22, 2] Operation: 84-82=2
Moving to Node #0,0
Current State: 40:[64, 22, 2], Operations: ['84-82=2']
Exploring Operation: 64-22=42, Resulting Numbers: [2, 42]
Generated Node #0,0,3: 40:[2, 42] Operation: 64-22=42
Moving to Node #0,0,3
Current State: 40:[2, 42], Operations: ['84-82=2', '64-22=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
2,
88,
87,
16
] | 34 | [
"88-87=1",
"16+1=17",
"2*17=34"
] | Current State: 34:[2, 88, 87, 16], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [2, 16, 1]
Generated Node #2: [2, 16, 1] from Operation: 88-87=1
Current State: 34:[2, 16, 1], Operations: ['88-87=1']
Exploring Operation: 16+1=17, Resulting Numbers: [2, 17]
Generated Node #3: [2, 17] from Operation: 16+1=17
Current State: 34:[2, 17], Operations: ['88-87=1', '16+1=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[2, 88, 87, 16], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [2, 16, 1]
Generated Node #0,0: 34:[2, 16, 1] Operation: 88-87=1
Moving to Node #0,0
Current State: 34:[2, 16, 1], Operations: ['88-87=1']
Exploring Operation: 16+1=17, Resulting Numbers: [2, 17]
Generated Node #0,0,0: 34:[2, 17] Operation: 16+1=17
Moving to Node #0,0,0
Current State: 34:[2, 17], Operations: ['88-87=1', '16+1=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[2, 88, 87, 16], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [2, 16, 1]
Generated Node #0,0: 34:[2, 16, 1] Operation: 88-87=1
Moving to Node #0,0
Current State: 34:[2, 16, 1], Operations: ['88-87=1']
Exploring Operation: 16+1=17, Resulting Numbers: [2, 17]
Generated Node #0,0,0: 34:[2, 17] Operation: 16+1=17
Moving to Node #0,0,0
Current State: 34:[2, 17], Operations: ['88-87=1', '16+1=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
70,
31,
52,
36
] | 49 | [
"70-31=39",
"52+36=88",
"88-39=49"
] | Current State: 49:[70, 31, 52, 36], Operations: []
Exploring Operation: 70-31=39, Resulting Numbers: [52, 36, 39]
Generated Node #2: [52, 36, 39] from Operation: 70-31=39
Current State: 49:[52, 36, 39], Operations: ['70-31=39']
Exploring Operation: 52+36=88, Resulting Numbers: [39, 88]
Generated Node #3: [39, 88] from Operation: 52+36=88
Current State: 49:[39, 88], Operations: ['70-31=39', '52+36=88']
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[70, 31, 52, 36], Operations: []
Exploring Operation: 70-31=39, Resulting Numbers: [52, 36, 39]
Generated Node #0,0: 49:[52, 36, 39] Operation: 70-31=39
Exploring Operation: 36-31=5, Resulting Numbers: [70, 52, 5]
Generated Node #0,1: 49:[70, 52, 5] Operation: 36-31=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[52, 36, 39], Operations: ['70-31=39']
Exploring Operation: 52-36=16, Resulting Numbers: [39, 16]
Generated Node #0,0,0: 49:[39, 16] Operation: 52-36=16
Exploring Operation: 39-36=3, Resulting Numbers: [52, 3]
Generated Node #0,0,1: 49:[52, 3] Operation: 39-36=3
Moving to Node #0,0,1
Current State: 49:[52, 3], Operations: ['70-31=39', '39-36=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[70, 31, 52, 36], Operations: []
Exploring Operation: 70-31=39, Resulting Numbers: [52, 36, 39]
Generated Node #0,0: 49:[52, 36, 39] Operation: 70-31=39
Moving to Node #0,0
Current State: 49:[52, 36, 39], Operations: ['70-31=39']
Exploring Operation: 39-36=3, Resulting Numbers: [52, 3]
Generated Node #0,0,1: 49:[52, 3] Operation: 39-36=3
Moving to Node #0,0,1
Current State: 49:[52, 3], Operations: ['70-31=39', '39-36=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
18,
22,
84,
50
] | 80 | [
"22+50=72",
"72/18=4",
"84-4=80"
] | Current State: 80:[18, 22, 84, 50], Operations: []
Exploring Operation: 22+50=72, Resulting Numbers: [18, 84, 72]
Generated Node #2: [18, 84, 72] from Operation: 22+50=72
Current State: 80:[18, 84, 72], Operations: ['22+50=72']
Exploring Operation: 72/18=4, Resulting Numbers: [84, 4]
Generated Node #3: [84, 4] from Operation: 72/18=4
Current State: 80:[84, 4], Operations: ['22+50=72', '72/18=4']
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[18, 22, 84, 50], Operations: []
Exploring Operation: 18+22=40, Resulting Numbers: [84, 50, 40]
Generated Node #0,0: 80:[84, 50, 40] Operation: 18+22=40
Exploring Operation: 84-50=34, Resulting Numbers: [18, 22, 34]
Generated Node #0,1: 80:[18, 22, 34] Operation: 84-50=34
Exploring Operation: 22-18=4, Resulting Numbers: [84, 50, 4]
Generated Node #0,2: 80:[84, 50, 4] Operation: 22-18=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[18, 22, 34], Operations: ['84-50=34']
Exploring Operation: 18+22=40, Resulting Numbers: [34, 40]
Generated Node #0,1,0: 80:[34, 40] Operation: 18+22=40
Exploring Operation: 34-22=12, Resulting Numbers: [18, 12]
Generated Node #0,1,1: 80:[18, 12] Operation: 34-22=12
Exploring Operation: 34-18=16, Resulting Numbers: [22, 16]
Generated Node #0,1,2: 80:[22, 16] Operation: 34-18=16
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[22, 16], Operations: ['84-50=34', '34-18=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[18, 12], Operations: ['84-50=34', '34-22=12']
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,80 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[34, 40], Operations: ['84-50=34', '18+22=40']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[84, 50, 40], Operations: ['18+22=40']
Exploring Operation: 84-40=44, Resulting Numbers: [50, 44]
Generated Node #0,0,0: 80:[50, 44] Operation: 84-40=44
Exploring Operation: 84-50=34, Resulting Numbers: [40, 34]
Generated Node #0,0,1: 80:[40, 34] Operation: 84-50=34
Exploring Operation: 50-40=10, Resulting Numbers: [84, 10]
Generated Node #0,0,2: 80:[84, 10] Operation: 50-40=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[84, 10], Operations: ['18+22=40', '50-40=10']
Exploring Operation: 84*10=840, Resulting Numbers: [840]
840,80 unequal: No Solution
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[40, 34], Operations: ['18+22=40', '84-50=34']
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[50, 44], Operations: ['18+22=40', '84-40=44']
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 50*44=2200, Resulting Numbers: [2200]
2200,80 unequal: No Solution
Exploring Operation: 50+44=94, Resulting Numbers: [94]
94,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[84, 50, 4], Operations: ['22-18=4']
Exploring Operation: 84-4=80, Resulting Numbers: [50, 80]
Generated Node #0,2,0: 80:[50, 80] Operation: 84-4=80
Exploring Operation: 84-50=34, Resulting Numbers: [4, 34]
Generated Node #0,2,1: 80:[4, 34] Operation: 84-50=34
Exploring Operation: 50-4=46, Resulting Numbers: [84, 46]
Generated Node #0,2,2: 80:[84, 46] Operation: 50-4=46
Moving to Node #0,2,1
Current State: 80:[4, 34], Operations: ['22-18=4', '84-50=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,80 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[50, 80], Operations: ['22-18=4', '84-4=80']
Exploring Operation: 50*80=4000, Resulting Numbers: [4000]
4000,80 unequal: No Solution
Exploring Operation: 50+80=130, Resulting Numbers: [130]
130,80 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[84, 46], Operations: ['22-18=4', '50-4=46']
Exploring Operation: 84+46=130, Resulting Numbers: [130]
130,80 unequal: No Solution
Exploring Operation: 84*46=3864, Resulting Numbers: [3864]
3864,80 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
79,
72,
83,
92
] | 16 | [
"79-72=7",
"92-83=9",
"7+9=16"
] | Current State: 16:[79, 72, 83, 92], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [83, 92, 7]
Generated Node #2: [83, 92, 7] from Operation: 79-72=7
Current State: 16:[83, 92, 7], Operations: ['79-72=7']
Exploring Operation: 92-83=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 92-83=9
Current State: 16:[7, 9], Operations: ['79-72=7', '92-83=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[79, 72, 83, 92], Operations: []
Exploring Operation: 83-72=11, Resulting Numbers: [79, 92, 11]
Generated Node #0,0: 16:[79, 92, 11] Operation: 83-72=11
Exploring Operation: 83-79=4, Resulting Numbers: [72, 92, 4]
Generated Node #0,1: 16:[72, 92, 4] Operation: 83-79=4
Exploring Operation: 92-79=13, Resulting Numbers: [72, 83, 13]
Generated Node #0,2: 16:[72, 83, 13] Operation: 92-79=13
Exploring Operation: 92-72=20, Resulting Numbers: [79, 83, 20]
Generated Node #0,3: 16:[79, 83, 20] Operation: 92-72=20
Exploring Operation: 92-83=9, Resulting Numbers: [79, 72, 9]
Generated Node #0,4: 16:[79, 72, 9] Operation: 92-83=9
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[79, 72, 9], Operations: ['92-83=9']
Exploring Operation: 79-72=7, Resulting Numbers: [9, 7]
Generated Node #0,4,0: 16:[9, 7] Operation: 79-72=7
Exploring Operation: 79-9=70, Resulting Numbers: [72, 70]
Generated Node #0,4,1: 16:[72, 70] Operation: 79-9=70
Exploring Operation: 79+9=88, Resulting Numbers: [72, 88]
Generated Node #0,4,2: 16:[72, 88] Operation: 79+9=88
Exploring Operation: 72-9=63, Resulting Numbers: [79, 63]
Generated Node #0,4,3: 16:[79, 63] Operation: 72-9=63
Exploring Operation: 72/9=8, Resulting Numbers: [79, 8]
Generated Node #0,4,4: 16:[79, 8] Operation: 72/9=8
Moving to Node #0,4,0
Current State: 16:[9, 7], Operations: ['92-83=9', '79-72=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[79, 72, 83, 92], Operations: []
Exploring Operation: 92-83=9, Resulting Numbers: [79, 72, 9]
Generated Node #0,4: 16:[79, 72, 9] Operation: 92-83=9
Moving to Node #0,4
Current State: 16:[79, 72, 9], Operations: ['92-83=9']
Exploring Operation: 79-72=7, Resulting Numbers: [9, 7]
Generated Node #0,4,0: 16:[9, 7] Operation: 79-72=7
Moving to Node #0,4,0
Current State: 16:[9, 7], Operations: ['92-83=9', '79-72=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
64,
10,
38,
73
] | 38 | [
"64+10=74",
"74-73=1",
"38*1=38"
] | Current State: 38:[64, 10, 38, 73], Operations: []
Exploring Operation: 64+10=74, Resulting Numbers: [38, 73, 74]
Generated Node #2: [38, 73, 74] from Operation: 64+10=74
Current State: 38:[38, 73, 74], Operations: ['64+10=74']
Exploring Operation: 74-73=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 74-73=1
Current State: 38:[38, 1], Operations: ['64+10=74', '74-73=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[64, 10, 38, 73], Operations: []
Exploring Operation: 73-38=35, Resulting Numbers: [64, 10, 35]
Generated Node #0,0: 38:[64, 10, 35] Operation: 73-38=35
Exploring Operation: 73-64=9, Resulting Numbers: [10, 38, 9]
Generated Node #0,1: 38:[10, 38, 9] Operation: 73-64=9
Moving to Node #0,1
Current State: 38:[10, 38, 9], Operations: ['73-64=9']
Exploring Operation: 10-9=1, Resulting Numbers: [38, 1]
Generated Node #0,1,0: 38:[38, 1] Operation: 10-9=1
Exploring Operation: 10+9=19, Resulting Numbers: [38, 19]
Generated Node #0,1,1: 38:[38, 19] Operation: 10+9=19
Moving to Node #0,0
Current State: 38:[64, 10, 35], Operations: ['73-38=35']
Exploring Operation: 64-10=54, Resulting Numbers: [35, 54]
Generated Node #0,0,0: 38:[35, 54] Operation: 64-10=54
Exploring Operation: 64-35=29, Resulting Numbers: [10, 29]
Generated Node #0,0,1: 38:[10, 29] Operation: 64-35=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[10, 29], Operations: ['73-38=35', '64-35=29']
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,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,0
Current State: 38:[35, 54], Operations: ['73-38=35', '64-10=54']
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,38 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 38:[38, 19], Operations: ['73-64=9', '10+9=19']
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[38, 1], Operations: ['73-64=9', '10-9=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[64, 10, 38, 73], Operations: []
Exploring Operation: 73-64=9, Resulting Numbers: [10, 38, 9]
Generated Node #0,1: 38:[10, 38, 9] Operation: 73-64=9
Moving to Node #0,1
Current State: 38:[10, 38, 9], Operations: ['73-64=9']
Exploring Operation: 10-9=1, Resulting Numbers: [38, 1]
Generated Node #0,1,0: 38:[38, 1] Operation: 10-9=1
Moving to Node #0,1,0
Current State: 38:[38, 1], Operations: ['73-64=9', '10-9=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
16,
29,
4,
7
] | 79 | [
"16*7=112",
"29+4=33",
"112-33=79"
] | Current State: 79:[16, 29, 4, 7], Operations: []
Exploring Operation: 16*7=112, Resulting Numbers: [29, 4, 112]
Generated Node #2: [29, 4, 112] from Operation: 16*7=112
Current State: 79:[29, 4, 112], Operations: ['16*7=112']
Exploring Operation: 29+4=33, Resulting Numbers: [112, 33]
Generated Node #3: [112, 33] from Operation: 29+4=33
Current State: 79:[112, 33], Operations: ['16*7=112', '29+4=33']
Exploring Operation: 112-33=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[16, 29, 4, 7], Operations: []
Exploring Operation: 16*4=64, Resulting Numbers: [29, 7, 64]
Generated Node #0,0: 79:[29, 7, 64] Operation: 16*4=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[29, 7, 64], Operations: ['16*4=64']
Exploring Operation: 29+7=36, Resulting Numbers: [64, 36]
Generated Node #0,0,0: 79:[64, 36] Operation: 29+7=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[64, 36], Operations: ['16*4=64', '29+7=36']
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
85,
91,
18
] | 15 | [
"72+18=90",
"91-85=6",
"90/6=15"
] | Current State: 15:[72, 85, 91, 18], Operations: []
Exploring Operation: 72+18=90, Resulting Numbers: [85, 91, 90]
Generated Node #2: [85, 91, 90] from Operation: 72+18=90
Current State: 15:[85, 91, 90], Operations: ['72+18=90']
Exploring Operation: 91-85=6, Resulting Numbers: [90, 6]
Generated Node #3: [90, 6] from Operation: 91-85=6
Current State: 15:[90, 6], Operations: ['72+18=90', '91-85=6']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[72, 85, 91, 18], Operations: []
Exploring Operation: 85-72=13, Resulting Numbers: [91, 18, 13]
Generated Node #0,0: 15:[91, 18, 13] Operation: 85-72=13
Exploring Operation: 72/18=4, Resulting Numbers: [85, 91, 4]
Generated Node #0,1: 15:[85, 91, 4] Operation: 72/18=4
Exploring Operation: 91-72=19, Resulting Numbers: [85, 18, 19]
Generated Node #0,2: 15:[85, 18, 19] Operation: 91-72=19
Exploring Operation: 91-85=6, Resulting Numbers: [72, 18, 6]
Generated Node #0,3: 15:[72, 18, 6] Operation: 91-85=6
Moving to Node #0,3
Current State: 15:[72, 18, 6], Operations: ['91-85=6']
Exploring Operation: 72/18=4, Resulting Numbers: [6, 4]
Generated Node #0,3,0: 15:[6, 4] Operation: 72/18=4
Exploring Operation: 72/6=12, Resulting Numbers: [18, 12]
Generated Node #0,3,1: 15:[18, 12] Operation: 72/6=12
Exploring Operation: 72-18=54, Resulting Numbers: [6, 54]
Generated Node #0,3,2: 15:[6, 54] Operation: 72-18=54
Exploring Operation: 72-6=66, Resulting Numbers: [18, 66]
Generated Node #0,3,3: 15:[18, 66] Operation: 72-6=66
Moving to Node #0,2
Current State: 15:[85, 18, 19], Operations: ['91-72=19']
Exploring Operation: 85+18=103, Resulting Numbers: [19, 103]
Generated Node #0,2,0: 15:[19, 103] Operation: 85+18=103
Exploring Operation: 85-18=67, Resulting Numbers: [19, 67]
Generated Node #0,2,1: 15:[19, 67] Operation: 85-18=67
Exploring Operation: 85-19=66, Resulting Numbers: [18, 66]
Generated Node #0,2,2: 15:[18, 66] Operation: 85-19=66
Exploring Operation: 19-18=1, Resulting Numbers: [85, 1]
Generated Node #0,2,3: 15:[85, 1] Operation: 19-18=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[18, 66], Operations: ['91-72=19', '85-19=66']
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,15 unequal: No Solution
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[19, 67], Operations: ['91-72=19', '85-18=67']
Exploring Operation: 19*67=1273, Resulting Numbers: [1273]
1273,15 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 15:[85, 1], Operations: ['91-72=19', '19-18=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,15 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,15 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,15 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[19, 103], Operations: ['91-72=19', '85+18=103']
Exploring Operation: 103-19=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 19*103=1957, Resulting Numbers: [1957]
1957,15 unequal: No Solution
Exploring Operation: 19+103=122, Resulting Numbers: [122]
122,15 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: 15:[91, 18, 13], Operations: ['85-72=13']
Exploring Operation: 18-13=5, Resulting Numbers: [91, 5]
Generated Node #0,0,0: 15:[91, 5] Operation: 18-13=5
Exploring Operation: 91-18=73, Resulting Numbers: [13, 73]
Generated Node #0,0,1: 15:[13, 73] Operation: 91-18=73
Exploring Operation: 91-13=78, Resulting Numbers: [18, 78]
Generated Node #0,0,2: 15:[18, 78] Operation: 91-13=78
Exploring Operation: 91/13=7, Resulting Numbers: [18, 7]
Generated Node #0,0,3: 15:[18, 7] Operation: 91/13=7
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 15:[18, 7], Operations: ['85-72=13', '91/13=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,15 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[13, 73], Operations: ['85-72=13', '91-18=73']
Exploring Operation: 13*73=949, Resulting Numbers: [949]
949,15 unequal: No Solution
Exploring Operation: 13+73=86, Resulting Numbers: [86]
86,15 unequal: No Solution
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[18, 78], Operations: ['85-72=13', '91-13=78']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 18*78=1404, Resulting Numbers: [1404]
1404,15 unequal: No Solution
Exploring Operation: 18+78=96, Resulting Numbers: [96]
96,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[91, 5], Operations: ['85-72=13', '18-13=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,15 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,15 unequal: No Solution
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 15:[85, 91, 4], Operations: ['72/18=4']
Exploring Operation: 85+4=89, Resulting Numbers: [91, 89]
Generated Node #0,1,0: 15:[91, 89] Operation: 85+4=89
Exploring Operation: 85-4=81, Resulting Numbers: [91, 81]
Generated Node #0,1,1: 15:[91, 81] Operation: 85-4=81
Exploring Operation: 91-4=87, Resulting Numbers: [85, 87]
Generated Node #0,1,2: 15:[85, 87] Operation: 91-4=87
Exploring Operation: 91-85=6, Resulting Numbers: [4, 6]
Generated Node #0,1,3: 15:[4, 6] Operation: 91-85=6
Moving to Node #0,3,0
Current State: 15:[6, 4], Operations: ['91-85=6', '72/18=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[4, 6], Operations: ['72/18=4', '91-85=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[18, 12], Operations: ['91-85=6', '72/6=12']
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,15 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[6, 54], Operations: ['91-85=6', '72-18=54']
Exploring Operation: 6*54=324, Resulting Numbers: [324]
324,15 unequal: No Solution
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[18, 66], Operations: ['91-85=6', '72-6=66']
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,15 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[91, 81], Operations: ['72/18=4', '85-4=81']
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 91*81=7371, Resulting Numbers: [7371]
7371,15 unequal: No Solution
Exploring Operation: 91+81=172, Resulting Numbers: [172]
172,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[85, 87], Operations: ['72/18=4', '91-4=87']
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 85*87=7395, Resulting Numbers: [7395]
7395,15 unequal: No Solution
Exploring Operation: 85+87=172, Resulting Numbers: [172]
172,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[91, 89], Operations: ['72/18=4', '85+4=89']
Exploring Operation: 91*89=8099, Resulting Numbers: [8099]
8099,15 unequal: No Solution
Exploring Operation: 91+89=180, Resulting Numbers: [180]
180,15 unequal: No Solution
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
70,
1,
98,
40
] | 12 | [
"70*1=70",
"98-40=58",
"70-58=12"
] | Current State: 12:[70, 1, 98, 40], Operations: []
Exploring Operation: 70*1=70, Resulting Numbers: [98, 40, 70]
Generated Node #2: [98, 40, 70] from Operation: 70*1=70
Current State: 12:[98, 40, 70], Operations: ['70*1=70']
Exploring Operation: 98-40=58, Resulting Numbers: [70, 58]
Generated Node #3: [70, 58] from Operation: 98-40=58
Current State: 12:[70, 58], Operations: ['70*1=70', '98-40=58']
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[70, 1, 98, 40], Operations: []
Exploring Operation: 70-40=30, Resulting Numbers: [1, 98, 30]
Generated Node #0,0: 12:[1, 98, 30] Operation: 70-40=30
Exploring Operation: 98-70=28, Resulting Numbers: [1, 40, 28]
Generated Node #0,1: 12:[1, 40, 28] Operation: 98-70=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[1, 40, 28], Operations: ['98-70=28']
Exploring Operation: 40-28=12, Resulting Numbers: [1, 12]
Generated Node #0,1,0: 12:[1, 12] Operation: 40-28=12
Exploring Operation: 40-1=39, Resulting Numbers: [28, 39]
Generated Node #0,1,1: 12:[28, 39] Operation: 40-1=39
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[1, 12], Operations: ['98-70=28', '40-28=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[70, 1, 98, 40], Operations: []
Exploring Operation: 98-70=28, Resulting Numbers: [1, 40, 28]
Generated Node #0,1: 12:[1, 40, 28] Operation: 98-70=28
Moving to Node #0,1
Current State: 12:[1, 40, 28], Operations: ['98-70=28']
Exploring Operation: 40-28=12, Resulting Numbers: [1, 12]
Generated Node #0,1,0: 12:[1, 12] Operation: 40-28=12
Moving to Node #0,1,0
Current State: 12:[1, 12], Operations: ['98-70=28', '40-28=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
39,
6,
60,
86
] | 37 | [
"86-39=47",
"60/6=10",
"47-10=37"
] | Current State: 37:[39, 6, 60, 86], Operations: []
Exploring Operation: 86-39=47, Resulting Numbers: [6, 60, 47]
Generated Node #2: [6, 60, 47] from Operation: 86-39=47
Current State: 37:[6, 60, 47], Operations: ['86-39=47']
Exploring Operation: 60/6=10, Resulting Numbers: [47, 10]
Generated Node #3: [47, 10] from Operation: 60/6=10
Current State: 37:[47, 10], Operations: ['86-39=47', '60/6=10']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[39, 6, 60, 86], Operations: []
Exploring Operation: 86-39=47, Resulting Numbers: [6, 60, 47]
Generated Node #0,0: 37:[6, 60, 47] Operation: 86-39=47
Exploring Operation: 86-60=26, Resulting Numbers: [39, 6, 26]
Generated Node #0,1: 37:[39, 6, 26] Operation: 86-60=26
Moving to Node #0,1
Current State: 37:[39, 6, 26], Operations: ['86-60=26']
Exploring Operation: 6+26=32, Resulting Numbers: [39, 32]
Generated Node #0,1,0: 37:[39, 32] Operation: 6+26=32
Exploring Operation: 39-6=33, Resulting Numbers: [26, 33]
Generated Node #0,1,1: 37:[26, 33] Operation: 39-6=33
Moving to Node #0,0
Current State: 37:[6, 60, 47], Operations: ['86-39=47']
Exploring Operation: 47-6=41, Resulting Numbers: [60, 41]
Generated Node #0,0,0: 37:[60, 41] Operation: 47-6=41
Exploring Operation: 60-6=54, Resulting Numbers: [47, 54]
Generated Node #0,0,1: 37:[47, 54] Operation: 60-6=54
Moving to Node #0,1,0
Current State: 37:[39, 32], Operations: ['86-60=26', '6+26=32']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[26, 33], Operations: ['86-60=26', '39-6=33']
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[47, 54], Operations: ['86-39=47', '60-6=54']
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,37 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[60, 41], Operations: ['86-39=47', '47-6=41']
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,37 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,37 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
19,
64,
47,
34
] | 21 | [
"64-47=17",
"34/17=2",
"19+2=21"
] | Current State: 21:[19, 64, 47, 34], Operations: []
Exploring Operation: 64-47=17, Resulting Numbers: [19, 34, 17]
Generated Node #2: [19, 34, 17] from Operation: 64-47=17
Current State: 21:[19, 34, 17], Operations: ['64-47=17']
Exploring Operation: 34/17=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 34/17=2
Current State: 21:[19, 2], Operations: ['64-47=17', '34/17=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[19, 64, 47, 34], Operations: []
Exploring Operation: 64-47=17, Resulting Numbers: [19, 34, 17]
Generated Node #0,0: 21:[19, 34, 17] Operation: 64-47=17
Exploring Operation: 47-34=13, Resulting Numbers: [19, 64, 13]
Generated Node #0,1: 21:[19, 64, 13] Operation: 47-34=13
Exploring Operation: 47-19=28, Resulting Numbers: [64, 34, 28]
Generated Node #0,2: 21:[64, 34, 28] Operation: 47-19=28
Exploring Operation: 64-34=30, Resulting Numbers: [19, 47, 30]
Generated Node #0,3: 21:[19, 47, 30] Operation: 64-34=30
Exploring Operation: 64-19=45, Resulting Numbers: [47, 34, 45]
Generated Node #0,4: 21:[47, 34, 45] Operation: 64-19=45
Moving to Node #0,0
Current State: 21:[19, 34, 17], Operations: ['64-47=17']
Exploring Operation: 34-19=15, Resulting Numbers: [17, 15]
Generated Node #0,0,0: 21:[17, 15] Operation: 34-19=15
Exploring Operation: 34-17=17, Resulting Numbers: [19, 17]
Generated Node #0,0,1: 21:[19, 17] Operation: 34-17=17
Exploring Operation: 19-17=2, Resulting Numbers: [34, 2]
Generated Node #0,0,2: 21:[34, 2] Operation: 19-17=2
Exploring Operation: 19+17=36, Resulting Numbers: [34, 36]
Generated Node #0,0,3: 21:[34, 36] Operation: 19+17=36
Exploring Operation: 34/17=2, Resulting Numbers: [19, 2]
Generated Node #0,0,4: 21:[19, 2] Operation: 34/17=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 21:[19, 2], Operations: ['64-47=17', '34/17=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[19, 64, 47, 34], Operations: []
Exploring Operation: 64-47=17, Resulting Numbers: [19, 34, 17]
Generated Node #0,0: 21:[19, 34, 17] Operation: 64-47=17
Moving to Node #0,0
Current State: 21:[19, 34, 17], Operations: ['64-47=17']
Exploring Operation: 34/17=2, Resulting Numbers: [19, 2]
Generated Node #0,0,4: 21:[19, 2] Operation: 34/17=2
Moving to Node #0,0,4
Current State: 21:[19, 2], Operations: ['64-47=17', '34/17=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
19,
60,
46,
17
] | 53 | [
"19-17=2",
"60+46=106",
"106/2=53"
] | Current State: 53:[19, 60, 46, 17], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [60, 46, 2]
Generated Node #2: [60, 46, 2] from Operation: 19-17=2
Current State: 53:[60, 46, 2], Operations: ['19-17=2']
Exploring Operation: 60+46=106, Resulting Numbers: [2, 106]
Generated Node #3: [2, 106] from Operation: 60+46=106
Current State: 53:[2, 106], Operations: ['19-17=2', '60+46=106']
Exploring Operation: 106/2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[19, 60, 46, 17], Operations: []
Exploring Operation: 19+17=36, Resulting Numbers: [60, 46, 36]
Generated Node #0,0: 53:[60, 46, 36] Operation: 19+17=36
Exploring Operation: 60-17=43, Resulting Numbers: [19, 46, 43]
Generated Node #0,1: 53:[19, 46, 43] Operation: 60-17=43
Moving to Node #0,0
Current State: 53:[60, 46, 36], Operations: ['19+17=36']
Exploring Operation: 46+36=82, Resulting Numbers: [60, 82]
Generated Node #0,0,0: 53:[60, 82] Operation: 46+36=82
Exploring Operation: 60-36=24, Resulting Numbers: [46, 24]
Generated Node #0,0,1: 53:[46, 24] Operation: 60-36=24
Moving to Node #0,1
Current State: 53:[19, 46, 43], Operations: ['60-17=43']
Exploring Operation: 19+46=65, Resulting Numbers: [43, 65]
Generated Node #0,1,0: 53:[43, 65] Operation: 19+46=65
Exploring Operation: 19+43=62, Resulting Numbers: [46, 62]
Generated Node #0,1,1: 53:[46, 62] Operation: 19+43=62
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[46, 62], Operations: ['60-17=43', '19+43=62']
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 46+62=108, Resulting Numbers: [108]
108,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[43, 65], Operations: ['60-17=43', '19+46=65']
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 43+65=108, Resulting Numbers: [108]
108,53 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: 53:[60, 82], Operations: ['19+17=36', '46+36=82']
Exploring Operation: 60+82=142, Resulting Numbers: [142]
142,53 unequal: No Solution
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[46, 24], Operations: ['19+17=36', '60-36=24']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,53 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
68,
57,
93,
13
] | 69 | [
"68-57=11",
"93-13=80",
"80-11=69"
] | Current State: 69:[68, 57, 93, 13], Operations: []
Exploring Operation: 68-57=11, Resulting Numbers: [93, 13, 11]
Generated Node #2: [93, 13, 11] from Operation: 68-57=11
Current State: 69:[93, 13, 11], Operations: ['68-57=11']
Exploring Operation: 93-13=80, Resulting Numbers: [11, 80]
Generated Node #3: [11, 80] from Operation: 93-13=80
Current State: 69:[11, 80], Operations: ['68-57=11', '93-13=80']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[68, 57, 93, 13], Operations: []
Exploring Operation: 93-13=80, Resulting Numbers: [68, 57, 80]
Generated Node #0,0: 69:[68, 57, 80] Operation: 93-13=80
Exploring Operation: 93-68=25, Resulting Numbers: [57, 13, 25]
Generated Node #0,1: 69:[57, 13, 25] Operation: 93-68=25
Exploring Operation: 93-57=36, Resulting Numbers: [68, 13, 36]
Generated Node #0,2: 69:[68, 13, 36] Operation: 93-57=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[68, 57, 80], Operations: ['93-13=80']
Exploring Operation: 80-57=23, Resulting Numbers: [68, 23]
Generated Node #0,0,0: 69:[68, 23] Operation: 80-57=23
Exploring Operation: 80-68=12, Resulting Numbers: [57, 12]
Generated Node #0,0,1: 69:[57, 12] Operation: 80-68=12
Exploring Operation: 68-57=11, Resulting Numbers: [80, 11]
Generated Node #0,0,2: 69:[80, 11] Operation: 68-57=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[68, 23], Operations: ['93-13=80', '80-57=23']
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 68*23=1564, Resulting Numbers: [1564]
1564,69 unequal: No Solution
Exploring Operation: 68+23=91, Resulting Numbers: [91]
91,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[80, 11], Operations: ['93-13=80', '68-57=11']
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,69 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[68, 57, 93, 13], Operations: []
Exploring Operation: 93-13=80, Resulting Numbers: [68, 57, 80]
Generated Node #0,0: 69:[68, 57, 80] Operation: 93-13=80
Moving to Node #0,0
Current State: 69:[68, 57, 80], Operations: ['93-13=80']
Exploring Operation: 68-57=11, Resulting Numbers: [80, 11]
Generated Node #0,0,2: 69:[80, 11] Operation: 68-57=11
Moving to Node #0,0,2
Current State: 69:[80, 11], Operations: ['93-13=80', '68-57=11']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
1,
12,
73,
86
] | 24 | [
"12-1=11",
"86-73=13",
"11+13=24"
] | Current State: 24:[1, 12, 73, 86], Operations: []
Exploring Operation: 12-1=11, Resulting Numbers: [73, 86, 11]
Generated Node #2: [73, 86, 11] from Operation: 12-1=11
Current State: 24:[73, 86, 11], Operations: ['12-1=11']
Exploring Operation: 86-73=13, Resulting Numbers: [11, 13]
Generated Node #3: [11, 13] from Operation: 86-73=13
Current State: 24:[11, 13], Operations: ['12-1=11', '86-73=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[1, 12, 73, 86], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [1, 12, 13]
Generated Node #0,0: 24:[1, 12, 13] Operation: 86-73=13
Exploring Operation: 73-12=61, Resulting Numbers: [1, 86, 61]
Generated Node #0,1: 24:[1, 86, 61] Operation: 73-12=61
Moving to Node #0,0
Current State: 24:[1, 12, 13], Operations: ['86-73=13']
Exploring Operation: 1*12=12, Resulting Numbers: [13, 12]
Generated Node #0,0,0: 24:[13, 12] Operation: 1*12=12
Exploring Operation: 13-1=12, Resulting Numbers: [12, 12]
Generated Node #0,0,1: 24:[12, 12] Operation: 13-1=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[12, 12], Operations: ['86-73=13', '13-1=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[1, 12, 73, 86], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [1, 12, 13]
Generated Node #0,0: 24:[1, 12, 13] Operation: 86-73=13
Moving to Node #0,0
Current State: 24:[1, 12, 13], Operations: ['86-73=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12, 12]
Generated Node #0,0,1: 24:[12, 12] Operation: 13-1=12
Moving to Node #0,0,1
Current State: 24:[12, 12], Operations: ['86-73=13', '13-1=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
7,
57,
12,
2
] | 47 | [
"12-7=5",
"2*5=10",
"57-10=47"
] | Current State: 47:[7, 57, 12, 2], Operations: []
Exploring Operation: 12-7=5, Resulting Numbers: [57, 2, 5]
Generated Node #2: [57, 2, 5] from Operation: 12-7=5
Current State: 47:[57, 2, 5], Operations: ['12-7=5']
Exploring Operation: 2*5=10, Resulting Numbers: [57, 10]
Generated Node #3: [57, 10] from Operation: 2*5=10
Current State: 47:[57, 10], Operations: ['12-7=5', '2*5=10']
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[7, 57, 12, 2], Operations: []
Exploring Operation: 57-7=50, Resulting Numbers: [12, 2, 50]
Generated Node #0,0: 47:[12, 2, 50] Operation: 57-7=50
Exploring Operation: 7*2=14, Resulting Numbers: [57, 12, 14]
Generated Node #0,1: 47:[57, 12, 14] Operation: 7*2=14
Exploring Operation: 12*2=24, Resulting Numbers: [7, 57, 24]
Generated Node #0,2: 47:[7, 57, 24] Operation: 12*2=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[7, 57, 24], Operations: ['12*2=24']
Exploring Operation: 7+57=64, Resulting Numbers: [24, 64]
Generated Node #0,2,0: 47:[24, 64] Operation: 7+57=64
Exploring Operation: 57-7=50, Resulting Numbers: [24, 50]
Generated Node #0,2,1: 47:[24, 50] Operation: 57-7=50
Exploring Operation: 7+24=31, Resulting Numbers: [57, 31]
Generated Node #0,2,2: 47:[57, 31] Operation: 7+24=31
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[24, 50], Operations: ['12*2=24', '57-7=50']
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[57, 31], Operations: ['12*2=24', '7+24=31']
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,47 unequal: No Solution
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,47 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[24, 64], Operations: ['12*2=24', '7+57=64']
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,47 unequal: No Solution
Exploring Operation: 24*64=1536, Resulting Numbers: [1536]
1536,47 unequal: No Solution
Exploring Operation: 24+64=88, Resulting Numbers: [88]
88,47 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: 47:[57, 12, 14], Operations: ['7*2=14']
Exploring Operation: 57-14=43, Resulting Numbers: [12, 43]
Generated Node #0,1,0: 47:[12, 43] Operation: 57-14=43
Exploring Operation: 57-12=45, Resulting Numbers: [14, 45]
Generated Node #0,1,1: 47:[14, 45] Operation: 57-12=45
Exploring Operation: 12+14=26, Resulting Numbers: [57, 26]
Generated Node #0,1,2: 47:[57, 26] Operation: 12+14=26
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[57, 26], Operations: ['7*2=14', '12+14=26']
Exploring Operation: 57*26=1482, Resulting Numbers: [1482]
1482,47 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[14, 45], Operations: ['7*2=14', '57-12=45']
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,47 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,47 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[12, 43], Operations: ['7*2=14', '57-14=43']
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,47 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,47 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: 47:[12, 2, 50], Operations: ['57-7=50']
Exploring Operation: 50-2=48, Resulting Numbers: [12, 48]
Generated Node #0,0,0: 47:[12, 48] Operation: 50-2=48
Exploring Operation: 12+2=14, Resulting Numbers: [50, 14]
Generated Node #0,0,1: 47:[50, 14] Operation: 12+2=14
Exploring Operation: 12*2=24, Resulting Numbers: [50, 24]
Generated Node #0,0,2: 47:[50, 24] Operation: 12*2=24
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[50, 24], Operations: ['57-7=50', '12*2=24']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[12, 48], Operations: ['57-7=50', '50-2=48']
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[50, 14], Operations: ['57-7=50', '12+2=14']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 50*14=700, Resulting Numbers: [700]
700,47 unequal: No Solution
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,47 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 |
[
4,
25,
41,
24
] | 43 | [
"41-24=17",
"4*17=68",
"68-25=43"
] | Current State: 43:[4, 25, 41, 24], Operations: []
Exploring Operation: 41-24=17, Resulting Numbers: [4, 25, 17]
Generated Node #2: [4, 25, 17] from Operation: 41-24=17
Current State: 43:[4, 25, 17], Operations: ['41-24=17']
Exploring Operation: 4*17=68, Resulting Numbers: [25, 68]
Generated Node #3: [25, 68] from Operation: 4*17=68
Current State: 43:[25, 68], Operations: ['41-24=17', '4*17=68']
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[4, 25, 41, 24], Operations: []
Exploring Operation: 25-4=21, Resulting Numbers: [41, 24, 21]
Generated Node #0,0: 43:[41, 24, 21] Operation: 25-4=21
Exploring Operation: 41-4=37, Resulting Numbers: [25, 24, 37]
Generated Node #0,1: 43:[25, 24, 37] Operation: 41-4=37
Exploring Operation: 4+24=28, Resulting Numbers: [25, 41, 28]
Generated Node #0,2: 43:[25, 41, 28] Operation: 4+24=28
Exploring Operation: 4+41=45, Resulting Numbers: [25, 24, 45]
Generated Node #0,3: 43:[25, 24, 45] Operation: 4+41=45
Exploring Operation: 4+25=29, Resulting Numbers: [41, 24, 29]
Generated Node #0,4: 43:[41, 24, 29] Operation: 4+25=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[25, 41, 28], Operations: ['4+24=28']
Exploring Operation: 25+41=66, Resulting Numbers: [28, 66]
Generated Node #0,2,0: 43:[28, 66] Operation: 25+41=66
Exploring Operation: 25+28=53, Resulting Numbers: [41, 53]
Generated Node #0,2,1: 43:[41, 53] Operation: 25+28=53
Exploring Operation: 41+28=69, Resulting Numbers: [25, 69]
Generated Node #0,2,2: 43:[25, 69] Operation: 41+28=69
Exploring Operation: 41-25=16, Resulting Numbers: [28, 16]
Generated Node #0,2,3: 43:[28, 16] Operation: 41-25=16
Exploring Operation: 28-25=3, Resulting Numbers: [41, 3]
Generated Node #0,2,4: 43:[41, 3] Operation: 28-25=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[41, 53], Operations: ['4+24=28', '25+28=53']
Exploring Operation: 41+53=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 41*53=2173, Resulting Numbers: [2173]
2173,43 unequal: No Solution
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[28, 66], Operations: ['4+24=28', '25+41=66']
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,43 unequal: No Solution
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 43:[28, 16], Operations: ['4+24=28', '41-25=16']
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,43 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 43:[41, 3], Operations: ['4+24=28', '28-25=3']
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,43 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[25, 69], Operations: ['4+24=28', '41+28=69']
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,43 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 43:[41, 24, 29], Operations: ['4+25=29']
Exploring Operation: 41+24=65, Resulting Numbers: [29, 65]
Generated Node #0,4,0: 43:[29, 65] Operation: 41+24=65
Exploring Operation: 29-24=5, Resulting Numbers: [41, 5]
Generated Node #0,4,1: 43:[41, 5] Operation: 29-24=5
Exploring Operation: 41-24=17, Resulting Numbers: [29, 17]
Generated Node #0,4,2: 43:[29, 17] Operation: 41-24=17
Exploring Operation: 24+29=53, Resulting Numbers: [41, 53]
Generated Node #0,4,3: 43:[41, 53] Operation: 24+29=53
Exploring Operation: 41+29=70, Resulting Numbers: [24, 70]
Generated Node #0,4,4: 43:[24, 70] Operation: 41+29=70
Moving to Node #0,4,3
Current State: 43:[41, 53], Operations: ['4+25=29', '24+29=53']
Exploring Operation: 41*53=2173, Resulting Numbers: [2173]
2173,43 unequal: No Solution
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 41+53=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Moving to Node #0,4,0
Current State: 43:[29, 65], Operations: ['4+25=29', '41+24=65']
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,43 unequal: No Solution
Moving to Node #0,4,1
Current State: 43:[41, 5], Operations: ['4+25=29', '29-24=5']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,43 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Moving to Node #0,4,2
Current State: 43:[29, 17], Operations: ['4+25=29', '41-24=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,43 unequal: No Solution
Moving to Node #0,4,4
Current State: 43:[24, 70], Operations: ['4+25=29', '41+29=70']
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,43 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[25, 24, 45], Operations: ['4+41=45']
Exploring Operation: 25+24=49, Resulting Numbers: [45, 49]
Generated Node #0,3,0: 43:[45, 49] Operation: 25+24=49
Exploring Operation: 25-24=1, Resulting Numbers: [45, 1]
Generated Node #0,3,1: 43:[45, 1] Operation: 25-24=1
Exploring Operation: 45-25=20, Resulting Numbers: [24, 20]
Generated Node #0,3,2: 43:[24, 20] Operation: 45-25=20
Exploring Operation: 24+45=69, Resulting Numbers: [25, 69]
Generated Node #0,3,3: 43:[25, 69] Operation: 24+45=69
Exploring Operation: 45-24=21, Resulting Numbers: [25, 21]
Generated Node #0,3,4: 43:[25, 21] Operation: 45-24=21
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[45, 49], Operations: ['4+41=45', '25+24=49']
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 45*49=2205, Resulting Numbers: [2205]
2205,43 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 43:[25, 21], Operations: ['4+41=45', '45-24=21']
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,43 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 43:[24, 20], Operations: ['4+41=45', '45-25=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,43 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[45, 1], Operations: ['4+41=45', '25-24=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,43 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,43 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 43:[25, 69], Operations: ['4+41=45', '24+45=69']
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,43 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[41, 24, 21], Operations: ['25-4=21']
Exploring Operation: 41+21=62, Resulting Numbers: [24, 62]
Generated Node #0,0,0: 43:[24, 62] Operation: 41+21=62
Exploring Operation: 41+24=65, Resulting Numbers: [21, 65]
Generated Node #0,0,1: 43:[21, 65] Operation: 41+24=65
Exploring Operation: 24-21=3, Resulting Numbers: [41, 3]
Generated Node #0,0,2: 43:[41, 3] Operation: 24-21=3
Exploring Operation: 41-21=20, Resulting Numbers: [24, 20]
Generated Node #0,0,3: 43:[24, 20] Operation: 41-21=20
Exploring Operation: 24+21=45, Resulting Numbers: [41, 45]
Generated Node #0,0,4: 43:[41, 45] Operation: 24+21=45
Moving to Node #0,0,4
Current State: 43:[41, 45], Operations: ['25-4=21', '24+21=45']
Exploring Operation: 41*45=1845, Resulting Numbers: [1845]
1845,43 unequal: No Solution
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[24, 62], Operations: ['25-4=21', '41+21=62']
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 24*62=1488, Resulting Numbers: [1488]
1488,43 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[41, 3], Operations: ['25-4=21', '24-21=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,43 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[24, 20], Operations: ['25-4=21', '41-21=20']
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,43 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[21, 65], Operations: ['25-4=21', '41+24=65']
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,43 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[25, 24, 37], Operations: ['41-4=37']
Exploring Operation: 25+37=62, Resulting Numbers: [24, 62]
Generated Node #0,1,0: 43:[24, 62] Operation: 25+37=62
Exploring Operation: 25-24=1, Resulting Numbers: [37, 1]
Generated Node #0,1,1: 43:[37, 1] Operation: 25-24=1
Exploring Operation: 25+24=49, Resulting Numbers: [37, 49]
Generated Node #0,1,2: 43:[37, 49] Operation: 25+24=49
Exploring Operation: 37-24=13, Resulting Numbers: [25, 13]
Generated Node #0,1,3: 43:[25, 13] Operation: 37-24=13
Exploring Operation: 24+37=61, Resulting Numbers: [25, 61]
Generated Node #0,1,4: 43:[25, 61] Operation: 24+37=61
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[37, 49], Operations: ['41-4=37', '25+24=49']
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,43 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 43:[25, 61], Operations: ['41-4=37', '24+37=61']
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 25+61=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 25*61=1525, Resulting Numbers: [1525]
1525,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[24, 62], Operations: ['41-4=37', '25+37=62']
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,43 unequal: No Solution
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 24*62=1488, Resulting Numbers: [1488]
1488,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[37, 1], Operations: ['41-4=37', '25-24=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 43:[25, 13], Operations: ['41-4=37', '37-24=13']
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,43 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
83,
90,
2,
43
] | 38 | [
"90-83=7",
"2+43=45",
"45-7=38"
] | Current State: 38:[83, 90, 2, 43], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [2, 43, 7]
Generated Node #2: [2, 43, 7] from Operation: 90-83=7
Current State: 38:[2, 43, 7], Operations: ['90-83=7']
Exploring Operation: 2+43=45, Resulting Numbers: [7, 45]
Generated Node #3: [7, 45] from Operation: 2+43=45
Current State: 38:[7, 45], Operations: ['90-83=7', '2+43=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[83, 90, 2, 43], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [2, 43, 7]
Generated Node #0,0: 38:[2, 43, 7] Operation: 90-83=7
Exploring Operation: 83-43=40, Resulting Numbers: [90, 2, 40]
Generated Node #0,1: 38:[90, 2, 40] Operation: 83-43=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[2, 43, 7], Operations: ['90-83=7']
Exploring Operation: 43-2=41, Resulting Numbers: [7, 41]
Generated Node #0,0,0: 38:[7, 41] Operation: 43-2=41
Exploring Operation: 43-7=36, Resulting Numbers: [2, 36]
Generated Node #0,0,1: 38:[2, 36] Operation: 43-7=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[2, 36], Operations: ['90-83=7', '43-7=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[83, 90, 2, 43], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [2, 43, 7]
Generated Node #0,0: 38:[2, 43, 7] Operation: 90-83=7
Moving to Node #0,0
Current State: 38:[2, 43, 7], Operations: ['90-83=7']
Exploring Operation: 43-7=36, Resulting Numbers: [2, 36]
Generated Node #0,0,1: 38:[2, 36] Operation: 43-7=36
Moving to Node #0,0,1
Current State: 38:[2, 36], Operations: ['90-83=7', '43-7=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
83,
75,
97,
68
] | 98 | [
"97-83=14",
"75-68=7",
"14*7=98"
] | Current State: 98:[83, 75, 97, 68], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [75, 68, 14]
Generated Node #2: [75, 68, 14] from Operation: 97-83=14
Current State: 98:[75, 68, 14], Operations: ['97-83=14']
Exploring Operation: 75-68=7, Resulting Numbers: [14, 7]
Generated Node #3: [14, 7] from Operation: 75-68=7
Current State: 98:[14, 7], Operations: ['97-83=14', '75-68=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[83, 75, 97, 68], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [97, 68, 8]
Generated Node #0,0: 98:[97, 68, 8] Operation: 83-75=8
Exploring Operation: 75-68=7, Resulting Numbers: [83, 97, 7]
Generated Node #0,1: 98:[83, 97, 7] Operation: 75-68=7
Exploring Operation: 83-68=15, Resulting Numbers: [75, 97, 15]
Generated Node #0,2: 98:[75, 97, 15] Operation: 83-68=15
Moving to Node #0,1
Current State: 98:[83, 97, 7], Operations: ['75-68=7']
Exploring Operation: 97-83=14, Resulting Numbers: [7, 14]
Generated Node #0,1,0: 98:[7, 14] Operation: 97-83=14
Exploring Operation: 83+7=90, Resulting Numbers: [97, 90]
Generated Node #0,1,1: 98:[97, 90] Operation: 83+7=90
Exploring Operation: 97+7=104, Resulting Numbers: [83, 104]
Generated Node #0,1,2: 98:[83, 104] Operation: 97+7=104
Moving to Node #0,0
Current State: 98:[97, 68, 8], Operations: ['83-75=8']
Exploring Operation: 68+8=76, Resulting Numbers: [97, 76]
Generated Node #0,0,0: 98:[97, 76] Operation: 68+8=76
Exploring Operation: 97-68=29, Resulting Numbers: [8, 29]
Generated Node #0,0,1: 98:[8, 29] Operation: 97-68=29
Exploring Operation: 68-8=60, Resulting Numbers: [97, 60]
Generated Node #0,0,2: 98:[97, 60] Operation: 68-8=60
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 98:[97, 60], Operations: ['83-75=8', '68-8=60']
Exploring Operation: 97-60=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 97+60=157, Resulting Numbers: [157]
157,98 unequal: No Solution
Exploring Operation: 97*60=5820, Resulting Numbers: [5820]
5820,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[8, 29], Operations: ['83-75=8', '97-68=29']
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,98 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[97, 76], Operations: ['83-75=8', '68+8=76']
Exploring Operation: 97+76=173, Resulting Numbers: [173]
173,98 unequal: No Solution
Exploring Operation: 97*76=7372, Resulting Numbers: [7372]
7372,98 unequal: No Solution
Exploring Operation: 97-76=21, Resulting Numbers: [21]
21,98 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: 98:[75, 97, 15], Operations: ['83-68=15']
Exploring Operation: 75/15=5, Resulting Numbers: [97, 5]
Generated Node #0,2,0: 98:[97, 5] Operation: 75/15=5
Exploring Operation: 75+15=90, Resulting Numbers: [97, 90]
Generated Node #0,2,1: 98:[97, 90] Operation: 75+15=90
Exploring Operation: 97-75=22, Resulting Numbers: [15, 22]
Generated Node #0,2,2: 98:[15, 22] Operation: 97-75=22
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[97, 5], Operations: ['83-68=15', '75/15=5']
Exploring Operation: 97*5=485, Resulting Numbers: [485]
485,98 unequal: No Solution
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,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,2,1
Current State: 98:[97, 90], Operations: ['83-68=15', '75+15=90']
Exploring Operation: 97*90=8730, Resulting Numbers: [8730]
8730,98 unequal: No Solution
Exploring Operation: 97-90=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 97+90=187, Resulting Numbers: [187]
187,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,2,2
Current State: 98:[15, 22], Operations: ['83-68=15', '97-75=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,98 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,98 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: 98:[7, 14], Operations: ['75-68=7', '97-83=14']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[83, 75, 97, 68], Operations: []
Exploring Operation: 75-68=7, Resulting Numbers: [83, 97, 7]
Generated Node #0,1: 98:[83, 97, 7] Operation: 75-68=7
Moving to Node #0,1
Current State: 98:[83, 97, 7], Operations: ['75-68=7']
Exploring Operation: 97-83=14, Resulting Numbers: [7, 14]
Generated Node #0,1,0: 98:[7, 14] Operation: 97-83=14
Moving to Node #0,1,0
Current State: 98:[7, 14], Operations: ['75-68=7', '97-83=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.967882 | hs_3 | mult_heuristic |
[
39,
10,
40,
28
] | 15 | [
"39-28=11",
"40/10=4",
"11+4=15"
] | Current State: 15:[39, 10, 40, 28], Operations: []
Exploring Operation: 39-28=11, Resulting Numbers: [10, 40, 11]
Generated Node #2: [10, 40, 11] from Operation: 39-28=11
Current State: 15:[10, 40, 11], Operations: ['39-28=11']
Exploring Operation: 40/10=4, Resulting Numbers: [11, 4]
Generated Node #3: [11, 4] from Operation: 40/10=4
Current State: 15:[11, 4], Operations: ['39-28=11', '40/10=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[39, 10, 40, 28], Operations: []
Exploring Operation: 40-39=1, Resulting Numbers: [10, 28, 1]
Generated Node #0,0: 15:[10, 28, 1] Operation: 40-39=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[10, 28, 1], Operations: ['40-39=1']
Exploring Operation: 28-10=18, Resulting Numbers: [1, 18]
Generated Node #0,0,0: 15:[1, 18] Operation: 28-10=18
Moving to Node #0,0,0
Current State: 15:[1, 18], Operations: ['40-39=1', '28-10=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,15 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 |
[
2,
19,
85,
87
] | 20 | [
"2+85=87",
"87/87=1",
"19+1=20"
] | Current State: 20:[2, 19, 85, 87], Operations: []
Exploring Operation: 2+85=87, Resulting Numbers: [19, 87, 87]
Generated Node #2: [19, 87, 87] from Operation: 2+85=87
Current State: 20:[19, 87, 87], Operations: ['2+85=87']
Exploring Operation: 87/87=1, Resulting Numbers: [19, 1]
Generated Node #3: [19, 1] from Operation: 87/87=1
Current State: 20:[19, 1], Operations: ['2+85=87', '87/87=1']
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[2, 19, 85, 87], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [2, 19, 2]
Generated Node #0,0: 20:[2, 19, 2] Operation: 87-85=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[2, 19, 2], Operations: ['87-85=2']
Exploring Operation: 2+19=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 20:[2, 21] Operation: 2+19=21
Moving to Node #0,0,0
Current State: 20:[2, 21], Operations: ['87-85=2', '2+19=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
19,
4,
72,
25
] | 25 | [
"72/4=18",
"19-18=1",
"25*1=25"
] | Current State: 25:[19, 4, 72, 25], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [19, 25, 18]
Generated Node #2: [19, 25, 18] from Operation: 72/4=18
Current State: 25:[19, 25, 18], Operations: ['72/4=18']
Exploring Operation: 19-18=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 19-18=1
Current State: 25:[25, 1], Operations: ['72/4=18', '19-18=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[19, 4, 72, 25], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [19, 25, 18]
Generated Node #0,0: 25:[19, 25, 18] Operation: 72/4=18
Moving to Node #0,0
Current State: 25:[19, 25, 18], Operations: ['72/4=18']
Exploring Operation: 19-18=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 25:[25, 1] Operation: 19-18=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[25, 1], Operations: ['72/4=18', '19-18=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[19, 4, 72, 25], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [19, 25, 18]
Generated Node #0,0: 25:[19, 25, 18] Operation: 72/4=18
Moving to Node #0,0
Current State: 25:[19, 25, 18], Operations: ['72/4=18']
Exploring Operation: 19-18=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 25:[25, 1] Operation: 19-18=1
Moving to Node #0,0,0
Current State: 25:[25, 1], Operations: ['72/4=18', '19-18=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
35,
97,
6,
32
] | 99 | [
"35-32=3",
"6/3=2",
"97+2=99"
] | Current State: 99:[35, 97, 6, 32], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [97, 6, 3]
Generated Node #2: [97, 6, 3] from Operation: 35-32=3
Current State: 99:[97, 6, 3], Operations: ['35-32=3']
Exploring Operation: 6/3=2, Resulting Numbers: [97, 2]
Generated Node #3: [97, 2] from Operation: 6/3=2
Current State: 99:[97, 2], Operations: ['35-32=3', '6/3=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[35, 97, 6, 32], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [97, 6, 3]
Generated Node #0,0: 99:[97, 6, 3] Operation: 35-32=3
Exploring Operation: 35-6=29, Resulting Numbers: [97, 32, 29]
Generated Node #0,1: 99:[97, 32, 29] Operation: 35-6=29
Moving to Node #0,0
Current State: 99:[97, 6, 3], Operations: ['35-32=3']
Exploring Operation: 6+3=9, Resulting Numbers: [97, 9]
Generated Node #0,0,0: 99:[97, 9] Operation: 6+3=9
Exploring Operation: 6-3=3, Resulting Numbers: [97, 3]
Generated Node #0,0,1: 99:[97, 3] Operation: 6-3=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[97, 9], Operations: ['35-32=3', '6+3=9']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,99 unequal: No Solution
Exploring Operation: 97+9=106, Resulting Numbers: [106]
106,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,0,1
Current State: 99:[97, 3], Operations: ['35-32=3', '6-3=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,99 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: 99:[97, 32, 29], Operations: ['35-6=29']
Exploring Operation: 97+29=126, Resulting Numbers: [32, 126]
Generated Node #0,1,0: 99:[32, 126] Operation: 97+29=126
Exploring Operation: 32-29=3, Resulting Numbers: [97, 3]
Generated Node #0,1,1: 99:[97, 3] Operation: 32-29=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[97, 3], Operations: ['35-6=29', '32-29=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,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:[32, 126], Operations: ['35-6=29', '97+29=126']
Exploring Operation: 32+126=158, Resulting Numbers: [158]
158,99 unequal: No Solution
Exploring Operation: 126-32=94, Resulting Numbers: [94]
94,99 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 |
[
21,
9,
20,
22
] | 12 | [
"21+9=30",
"20+22=42",
"42-30=12"
] | Current State: 12:[21, 9, 20, 22], Operations: []
Exploring Operation: 21+9=30, Resulting Numbers: [20, 22, 30]
Generated Node #2: [20, 22, 30] from Operation: 21+9=30
Current State: 12:[20, 22, 30], Operations: ['21+9=30']
Exploring Operation: 20+22=42, Resulting Numbers: [30, 42]
Generated Node #3: [30, 42] from Operation: 20+22=42
Current State: 12:[30, 42], Operations: ['21+9=30', '20+22=42']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[21, 9, 20, 22], Operations: []
Exploring Operation: 22-21=1, Resulting Numbers: [9, 20, 1]
Generated Node #0,0: 12:[9, 20, 1] Operation: 22-21=1
Exploring Operation: 22-20=2, Resulting Numbers: [21, 9, 2]
Generated Node #0,1: 12:[21, 9, 2] Operation: 22-20=2
Exploring Operation: 21-20=1, Resulting Numbers: [9, 22, 1]
Generated Node #0,2: 12:[9, 22, 1] Operation: 21-20=1
Exploring Operation: 21-9=12, Resulting Numbers: [20, 22, 12]
Generated Node #0,3: 12:[20, 22, 12] Operation: 21-9=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[9, 20, 1], Operations: ['22-21=1']
Exploring Operation: 20-9=11, Resulting Numbers: [1, 11]
Generated Node #0,0,0: 12:[1, 11] Operation: 20-9=11
Exploring Operation: 9-1=8, Resulting Numbers: [20, 8]
Generated Node #0,0,1: 12:[20, 8] Operation: 9-1=8
Exploring Operation: 9+1=10, Resulting Numbers: [20, 10]
Generated Node #0,0,2: 12:[20, 10] Operation: 9+1=10
Exploring Operation: 20-1=19, Resulting Numbers: [9, 19]
Generated Node #0,0,3: 12:[9, 19] Operation: 20-1=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[1, 11], Operations: ['22-21=1', '20-9=11']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[21, 9, 20, 22], Operations: []
Exploring Operation: 22-21=1, Resulting Numbers: [9, 20, 1]
Generated Node #0,0: 12:[9, 20, 1] Operation: 22-21=1
Moving to Node #0,0
Current State: 12:[9, 20, 1], Operations: ['22-21=1']
Exploring Operation: 20-9=11, Resulting Numbers: [1, 11]
Generated Node #0,0,0: 12:[1, 11] Operation: 20-9=11
Moving to Node #0,0,0
Current State: 12:[1, 11], Operations: ['22-21=1', '20-9=11']
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
29,
54,
1,
52
] | 59 | [
"54-52=2",
"29*2=58",
"1+58=59"
] | Current State: 59:[29, 54, 1, 52], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [29, 1, 2]
Generated Node #2: [29, 1, 2] from Operation: 54-52=2
Current State: 59:[29, 1, 2], Operations: ['54-52=2']
Exploring Operation: 29*2=58, Resulting Numbers: [1, 58]
Generated Node #3: [1, 58] from Operation: 29*2=58
Current State: 59:[1, 58], Operations: ['54-52=2', '29*2=58']
Exploring Operation: 1+58=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[29, 54, 1, 52], Operations: []
Exploring Operation: 29*1=29, Resulting Numbers: [54, 52, 29]
Generated Node #0,0: 59:[54, 52, 29] Operation: 29*1=29
Exploring Operation: 29+1=30, Resulting Numbers: [54, 52, 30]
Generated Node #0,1: 59:[54, 52, 30] Operation: 29+1=30
Exploring Operation: 54+1=55, Resulting Numbers: [29, 52, 55]
Generated Node #0,2: 59:[29, 52, 55] Operation: 54+1=55
Exploring Operation: 29/1=29, Resulting Numbers: [54, 52, 29]
Generated Node #0,3: 59:[54, 52, 29] Operation: 29/1=29
Exploring Operation: 1+52=53, Resulting Numbers: [29, 54, 53]
Generated Node #0,4: 59:[29, 54, 53] Operation: 1+52=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[54, 52, 30], Operations: ['29+1=30']
Exploring Operation: 52-30=22, Resulting Numbers: [54, 22]
Generated Node #0,1,0: 59:[54, 22] Operation: 52-30=22
Exploring Operation: 54+52=106, Resulting Numbers: [30, 106]
Generated Node #0,1,1: 59:[30, 106] Operation: 54+52=106
Exploring Operation: 54+30=84, Resulting Numbers: [52, 84]
Generated Node #0,1,2: 59:[52, 84] Operation: 54+30=84
Exploring Operation: 54-30=24, Resulting Numbers: [52, 24]
Generated Node #0,1,3: 59:[52, 24] Operation: 54-30=24
Exploring Operation: 52+30=82, Resulting Numbers: [54, 82]
Generated Node #0,1,4: 59:[54, 82] Operation: 52+30=82
Moving to Node #0,1,4
Current State: 59:[54, 82], Operations: ['29+1=30', '52+30=82']
Exploring Operation: 54+82=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 54*82=4428, Resulting Numbers: [4428]
4428,59 unequal: No Solution
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[52, 84], Operations: ['29+1=30', '54+30=84']
Exploring Operation: 52*84=4368, Resulting Numbers: [4368]
4368,59 unequal: No Solution
Exploring Operation: 52+84=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[54, 22], Operations: ['29+1=30', '52-30=22']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,59 unequal: No Solution
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[52, 24], Operations: ['29+1=30', '54-30=24']
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,59 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[30, 106], Operations: ['29+1=30', '54+52=106']
Exploring Operation: 106-30=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 30*106=3180, Resulting Numbers: [3180]
3180,59 unequal: No Solution
Exploring Operation: 30+106=136, Resulting Numbers: [136]
136,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[29, 52, 55], Operations: ['54+1=55']
Exploring Operation: 52+55=107, Resulting Numbers: [29, 107]
Generated Node #0,2,0: 59:[29, 107] Operation: 52+55=107
Exploring Operation: 55-29=26, Resulting Numbers: [52, 26]
Generated Node #0,2,1: 59:[52, 26] Operation: 55-29=26
Exploring Operation: 52-29=23, Resulting Numbers: [55, 23]
Generated Node #0,2,2: 59:[55, 23] Operation: 52-29=23
Exploring Operation: 29+55=84, Resulting Numbers: [52, 84]
Generated Node #0,2,3: 59:[52, 84] Operation: 29+55=84
Exploring Operation: 29+52=81, Resulting Numbers: [55, 81]
Generated Node #0,2,4: 59:[55, 81] Operation: 29+52=81
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 59:[55, 81], Operations: ['54+1=55', '29+52=81']
Exploring Operation: 55+81=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 55*81=4455, Resulting Numbers: [4455]
4455,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,3
Current State: 59:[52, 84], Operations: ['54+1=55', '29+55=84']
Exploring Operation: 52+84=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 52*84=4368, Resulting Numbers: [4368]
4368,59 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,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,1
Current State: 59:[52, 26], Operations: ['54+1=55', '55-29=26']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 52*26=1352, Resulting Numbers: [1352]
1352,59 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,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:[55, 23], Operations: ['54+1=55', '52-29=23']
Exploring Operation: 55*23=1265, Resulting Numbers: [1265]
1265,59 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 55+23=78, Resulting Numbers: [78]
78,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:[29, 107], Operations: ['54+1=55', '52+55=107']
Exploring Operation: 107-29=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 29+107=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 29*107=3103, Resulting Numbers: [3103]
3103,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,4
Current State: 59:[29, 54, 53], Operations: ['1+52=53']
Exploring Operation: 29+53=82, Resulting Numbers: [54, 82]
Generated Node #0,4,0: 59:[54, 82] Operation: 29+53=82
Exploring Operation: 53-29=24, Resulting Numbers: [54, 24]
Generated Node #0,4,1: 59:[54, 24] Operation: 53-29=24
Exploring Operation: 54+53=107, Resulting Numbers: [29, 107]
Generated Node #0,4,2: 59:[29, 107] Operation: 54+53=107
Exploring Operation: 54-29=25, Resulting Numbers: [53, 25]
Generated Node #0,4,3: 59:[53, 25] Operation: 54-29=25
Exploring Operation: 29+54=83, Resulting Numbers: [53, 83]
Generated Node #0,4,4: 59:[53, 83] Operation: 29+54=83
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 59:[54, 82], Operations: ['1+52=53', '29+53=82']
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 54+82=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 54*82=4428, Resulting Numbers: [4428]
4428,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,4,4
Current State: 59:[53, 83], Operations: ['1+52=53', '29+54=83']
Exploring Operation: 53+83=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 53*83=4399, Resulting Numbers: [4399]
4399,59 unequal: No Solution
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,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,4,1
Current State: 59:[54, 24], Operations: ['1+52=53', '53-29=24']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,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,4,3
Current State: 59:[53, 25], Operations: ['1+52=53', '54-29=25']
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,59 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,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,4,2
Current State: 59:[29, 107], Operations: ['1+52=53', '54+53=107']
Exploring Operation: 29+107=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 107-29=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 29*107=3103, Resulting Numbers: [3103]
3103,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:[54, 52, 29], Operations: ['29*1=29']
Exploring Operation: 54-29=25, Resulting Numbers: [52, 25]
Generated Node #0,0,0: 59:[52, 25] Operation: 54-29=25
Exploring Operation: 54+52=106, Resulting Numbers: [29, 106]
Generated Node #0,0,1: 59:[29, 106] Operation: 54+52=106
Exploring Operation: 52-29=23, Resulting Numbers: [54, 23]
Generated Node #0,0,2: 59:[54, 23] Operation: 52-29=23
Exploring Operation: 54+29=83, Resulting Numbers: [52, 83]
Generated Node #0,0,3: 59:[52, 83] Operation: 54+29=83
Exploring Operation: 52+29=81, Resulting Numbers: [54, 81]
Generated Node #0,0,4: 59:[54, 81] Operation: 52+29=81
Moving to Node #0,0,4
Current State: 59:[54, 81], Operations: ['29*1=29', '52+29=81']
Exploring Operation: 54+81=135, Resulting Numbers: [135]
135,59 unequal: No Solution
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 54*81=4374, Resulting Numbers: [4374]
4374,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[52, 83], Operations: ['29*1=29', '54+29=83']
Exploring Operation: 52+83=135, Resulting Numbers: [135]
135,59 unequal: No Solution
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 52*83=4316, Resulting Numbers: [4316]
4316,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[52, 25], Operations: ['29*1=29', '54-29=25']
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,59 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[54, 23], Operations: ['29*1=29', '52-29=23']
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,59 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[29, 106], Operations: ['29*1=29', '54+52=106']
Exploring Operation: 29*106=3074, Resulting Numbers: [3074]
3074,59 unequal: No Solution
Exploring Operation: 29+106=135, Resulting Numbers: [135]
135,59 unequal: No Solution
Exploring Operation: 106-29=77, Resulting Numbers: [77]
77,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[54, 52, 29], Operations: ['29/1=29']
Exploring Operation: 54+29=83, Resulting Numbers: [52, 83]
Generated Node #0,3,0: 59:[52, 83] Operation: 54+29=83
Exploring Operation: 54+52=106, Resulting Numbers: [29, 106]
Generated Node #0,3,1: 59:[29, 106] Operation: 54+52=106
Exploring Operation: 54-29=25, Resulting Numbers: [52, 25]
Generated Node #0,3,2: 59:[52, 25] Operation: 54-29=25
Exploring Operation: 52-29=23, Resulting Numbers: [54, 23]
Generated Node #0,3,3: 59:[54, 23] Operation: 52-29=23
Exploring Operation: 52+29=81, Resulting Numbers: [54, 81]
Generated Node #0,3,4: 59:[54, 81] Operation: 52+29=81
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 59:[54, 81], Operations: ['29/1=29', '52+29=81']
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 54+81=135, Resulting Numbers: [135]
135,59 unequal: No Solution
Exploring Operation: 54*81=4374, Resulting Numbers: [4374]
4374,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,3,0
Current State: 59:[52, 83], Operations: ['29/1=29', '54+29=83']
Exploring Operation: 52*83=4316, Resulting Numbers: [4316]
4316,59 unequal: No Solution
Exploring Operation: 52+83=135, Resulting Numbers: [135]
135,59 unequal: No Solution
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,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,3,2
Current State: 59:[52, 25], Operations: ['29/1=29', '54-29=25']
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,59 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,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,3,3
Current State: 59:[54, 23], Operations: ['29/1=29', '52-29=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,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,3,1
Current State: 59:[29, 106], Operations: ['29/1=29', '54+52=106']
Exploring Operation: 29+106=135, Resulting Numbers: [135]
135,59 unequal: No Solution
Exploring Operation: 29*106=3074, Resulting Numbers: [3074]
3074,59 unequal: No Solution
Exploring Operation: 106-29=77, Resulting Numbers: [77]
77,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
84,
92,
27,
25
] | 50 | [
"27-25=2",
"84/2=42",
"92-42=50"
] | Current State: 50:[84, 92, 27, 25], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [84, 92, 2]
Generated Node #2: [84, 92, 2] from Operation: 27-25=2
Current State: 50:[84, 92, 2], Operations: ['27-25=2']
Exploring Operation: 84/2=42, Resulting Numbers: [92, 42]
Generated Node #3: [92, 42] from Operation: 84/2=42
Current State: 50:[92, 42], Operations: ['27-25=2', '84/2=42']
Exploring Operation: 92-42=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[84, 92, 27, 25], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [27, 25, 8]
Generated Node #0,0: 50:[27, 25, 8] Operation: 92-84=8
Exploring Operation: 84-27=57, Resulting Numbers: [92, 25, 57]
Generated Node #0,1: 50:[92, 25, 57] Operation: 84-27=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[27, 25, 8], Operations: ['92-84=8']
Exploring Operation: 27-25=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 50:[8, 2] Operation: 27-25=2
Exploring Operation: 27+25=52, Resulting Numbers: [8, 52]
Generated Node #0,0,1: 50:[8, 52] Operation: 27+25=52
Moving to Node #0,0,0
Current State: 50:[8, 2], Operations: ['92-84=8', '27-25=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[8, 52], Operations: ['92-84=8', '27+25=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,50 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[92, 25, 57], Operations: ['84-27=57']
Exploring Operation: 92-57=35, Resulting Numbers: [25, 35]
Generated Node #0,1,0: 50:[25, 35] Operation: 92-57=35
Exploring Operation: 92-25=67, Resulting Numbers: [57, 67]
Generated Node #0,1,1: 50:[57, 67] Operation: 92-25=67
Moving to Node #0,1,0
Current State: 50:[25, 35], Operations: ['84-27=57', '92-57=35']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[57, 67], Operations: ['84-27=57', '92-25=67']
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 57+67=124, Resulting Numbers: [124]
124,50 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 |
[
40,
35,
27,
9
] | 78 | [
"40+35=75",
"27/9=3",
"75+3=78"
] | Current State: 78:[40, 35, 27, 9], Operations: []
Exploring Operation: 40+35=75, Resulting Numbers: [27, 9, 75]
Generated Node #2: [27, 9, 75] from Operation: 40+35=75
Current State: 78:[27, 9, 75], Operations: ['40+35=75']
Exploring Operation: 27/9=3, Resulting Numbers: [75, 3]
Generated Node #3: [75, 3] from Operation: 27/9=3
Current State: 78:[75, 3], Operations: ['40+35=75', '27/9=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[40, 35, 27, 9], Operations: []
Exploring Operation: 35-9=26, Resulting Numbers: [40, 27, 26]
Generated Node #0,0: 78:[40, 27, 26] Operation: 35-9=26
Exploring Operation: 40-35=5, Resulting Numbers: [27, 9, 5]
Generated Node #0,1: 78:[27, 9, 5] Operation: 40-35=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[40, 27, 26], Operations: ['35-9=26']
Exploring Operation: 40-27=13, Resulting Numbers: [26, 13]
Generated Node #0,0,0: 78:[26, 13] Operation: 40-27=13
Exploring Operation: 40-26=14, Resulting Numbers: [27, 14]
Generated Node #0,0,1: 78:[27, 14] Operation: 40-26=14
Moving to Node #0,0,0
Current State: 78:[26, 13], Operations: ['35-9=26', '40-27=13']
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[27, 14], Operations: ['35-9=26', '40-26=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[27, 9, 5], Operations: ['40-35=5']
Exploring Operation: 9+5=14, Resulting Numbers: [27, 14]
Generated Node #0,1,0: 78:[27, 14] Operation: 9+5=14
Exploring Operation: 27/9=3, Resulting Numbers: [5, 3]
Generated Node #0,1,1: 78:[5, 3] Operation: 27/9=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[5, 3], Operations: ['40-35=5', '27/9=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No 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: 78:[27, 14], Operations: ['40-35=5', '9+5=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,78 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 |
[
60,
64,
53,
77
] | 53 | [
"60-53=7",
"77/7=11",
"64-11=53"
] | Current State: 53:[60, 64, 53, 77], Operations: []
Exploring Operation: 60-53=7, Resulting Numbers: [64, 77, 7]
Generated Node #2: [64, 77, 7] from Operation: 60-53=7
Current State: 53:[64, 77, 7], Operations: ['60-53=7']
Exploring Operation: 77/7=11, Resulting Numbers: [64, 11]
Generated Node #3: [64, 11] from Operation: 77/7=11
Current State: 53:[64, 11], Operations: ['60-53=7', '77/7=11']
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[60, 64, 53, 77], Operations: []
Exploring Operation: 64-60=4, Resulting Numbers: [53, 77, 4]
Generated Node #0,0: 53:[53, 77, 4] Operation: 64-60=4
Exploring Operation: 77-64=13, Resulting Numbers: [60, 53, 13]
Generated Node #0,1: 53:[60, 53, 13] Operation: 77-64=13
Exploring Operation: 77-53=24, Resulting Numbers: [60, 64, 24]
Generated Node #0,2: 53:[60, 64, 24] Operation: 77-53=24
Exploring Operation: 64-53=11, Resulting Numbers: [60, 77, 11]
Generated Node #0,3: 53:[60, 77, 11] Operation: 64-53=11
Exploring Operation: 77-60=17, Resulting Numbers: [64, 53, 17]
Generated Node #0,4: 53:[64, 53, 17] Operation: 77-60=17
Moving to Node #0,1
Current State: 53:[60, 53, 13], Operations: ['77-64=13']
Exploring Operation: 60-53=7, Resulting Numbers: [13, 7]
Generated Node #0,1,0: 53:[13, 7] Operation: 60-53=7
Exploring Operation: 53+13=66, Resulting Numbers: [60, 66]
Generated Node #0,1,1: 53:[60, 66] Operation: 53+13=66
Exploring Operation: 53-13=40, Resulting Numbers: [60, 40]
Generated Node #0,1,2: 53:[60, 40] Operation: 53-13=40
Exploring Operation: 60-13=47, Resulting Numbers: [53, 47]
Generated Node #0,1,3: 53:[53, 47] Operation: 60-13=47
Exploring Operation: 60+13=73, Resulting Numbers: [53, 73]
Generated Node #0,1,4: 53:[53, 73] Operation: 60+13=73
Moving to Node #0,4
Current State: 53:[64, 53, 17], Operations: ['77-60=17']
Exploring Operation: 64-17=47, Resulting Numbers: [53, 47]
Generated Node #0,4,0: 53:[53, 47] Operation: 64-17=47
Exploring Operation: 64-53=11, Resulting Numbers: [17, 11]
Generated Node #0,4,1: 53:[17, 11] Operation: 64-53=11
Exploring Operation: 64+17=81, Resulting Numbers: [53, 81]
Generated Node #0,4,2: 53:[53, 81] Operation: 64+17=81
Exploring Operation: 53+17=70, Resulting Numbers: [64, 70]
Generated Node #0,4,3: 53:[64, 70] Operation: 53+17=70
Exploring Operation: 53-17=36, Resulting Numbers: [64, 36]
Generated Node #0,4,4: 53:[64, 36] Operation: 53-17=36
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 53:[53, 47], Operations: ['77-60=17', '64-17=47']
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,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,4,2
Current State: 53:[53, 81], Operations: ['77-60=17', '64+17=81']
Exploring Operation: 53+81=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 53*81=4293, Resulting Numbers: [4293]
4293,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,4,3
Current State: 53:[64, 70], Operations: ['77-60=17', '53+17=70']
Exploring Operation: 64*70=4480, Resulting Numbers: [4480]
4480,53 unequal: No Solution
Exploring Operation: 64+70=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,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,4,4
Current State: 53:[64, 36], Operations: ['77-60=17', '53-17=36']
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 64*36=2304, Resulting Numbers: [2304]
2304,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,4,1
Current State: 53:[17, 11], Operations: ['77-60=17', '64-53=11']
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,53 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,53 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: 53:[60, 64, 24], Operations: ['77-53=24']
Exploring Operation: 64+24=88, Resulting Numbers: [60, 88]
Generated Node #0,2,0: 53:[60, 88] Operation: 64+24=88
Exploring Operation: 60+24=84, Resulting Numbers: [64, 84]
Generated Node #0,2,1: 53:[64, 84] Operation: 60+24=84
Exploring Operation: 64-60=4, Resulting Numbers: [24, 4]
Generated Node #0,2,2: 53:[24, 4] Operation: 64-60=4
Exploring Operation: 60-24=36, Resulting Numbers: [64, 36]
Generated Node #0,2,3: 53:[64, 36] Operation: 60-24=36
Exploring Operation: 64-24=40, Resulting Numbers: [60, 40]
Generated Node #0,2,4: 53:[60, 40] Operation: 64-24=40
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 53:[60, 40], Operations: ['77-53=24', '64-24=40']
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 60*40=2400, Resulting Numbers: [2400]
2400,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,2,3
Current State: 53:[64, 36], Operations: ['77-53=24', '60-24=36']
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 64*36=2304, Resulting Numbers: [2304]
2304,53 unequal: No Solution
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,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,2,0
Current State: 53:[60, 88], Operations: ['77-53=24', '64+24=88']
Exploring Operation: 60+88=148, Resulting Numbers: [148]
148,53 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 60*88=5280, Resulting Numbers: [5280]
5280,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,2,1
Current State: 53:[64, 84], Operations: ['77-53=24', '60+24=84']
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,53 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,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,2,2
Current State: 53:[24, 4], Operations: ['77-53=24', '64-60=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,53 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: 53:[53, 77, 4], Operations: ['64-60=4']
Exploring Operation: 53+4=57, Resulting Numbers: [77, 57]
Generated Node #0,0,0: 53:[77, 57] Operation: 53+4=57
Exploring Operation: 77-4=73, Resulting Numbers: [53, 73]
Generated Node #0,0,1: 53:[53, 73] Operation: 77-4=73
Exploring Operation: 77-53=24, Resulting Numbers: [4, 24]
Generated Node #0,0,2: 53:[4, 24] Operation: 77-53=24
Exploring Operation: 53-4=49, Resulting Numbers: [77, 49]
Generated Node #0,0,3: 53:[77, 49] Operation: 53-4=49
Exploring Operation: 77+4=81, Resulting Numbers: [53, 81]
Generated Node #0,0,4: 53:[53, 81] Operation: 77+4=81
Moving to Node #0,3
Current State: 53:[60, 77, 11], Operations: ['64-53=11']
Exploring Operation: 77-11=66, Resulting Numbers: [60, 66]
Generated Node #0,3,0: 53:[60, 66] Operation: 77-11=66
Exploring Operation: 60-11=49, Resulting Numbers: [77, 49]
Generated Node #0,3,1: 53:[77, 49] Operation: 60-11=49
Exploring Operation: 77/11=7, Resulting Numbers: [60, 7]
Generated Node #0,3,2: 53:[60, 7] Operation: 77/11=7
Exploring Operation: 60+11=71, Resulting Numbers: [77, 71]
Generated Node #0,3,3: 53:[77, 71] Operation: 60+11=71
Exploring Operation: 77+11=88, Resulting Numbers: [60, 88]
Generated Node #0,3,4: 53:[60, 88] Operation: 77+11=88
Moving to Node #0,1,3
Current State: 53:[53, 47], Operations: ['77-64=13', '60-13=47']
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,53 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[60, 40], Operations: ['77-64=13', '53-13=40']
Exploring Operation: 60*40=2400, Resulting Numbers: [2400]
2400,53 unequal: No Solution
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[53, 73], Operations: ['64-60=4', '77-4=73']
Exploring Operation: 53+73=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 53*73=3869, Resulting Numbers: [3869]
3869,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[60, 66], Operations: ['77-64=13', '53+13=66']
Exploring Operation: 60+66=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 60*66=3960, Resulting Numbers: [3960]
3960,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[60, 66], Operations: ['64-53=11', '77-11=66']
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 60*66=3960, Resulting Numbers: [3960]
3960,53 unequal: No Solution
Exploring Operation: 60+66=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[53, 73], Operations: ['77-64=13', '60+13=73']
Exploring Operation: 53+73=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 53*73=3869, Resulting Numbers: [3869]
3869,53 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[77, 57], Operations: ['64-60=4', '53+4=57']
Exploring Operation: 77+57=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 77*57=4389, Resulting Numbers: [4389]
4389,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[77, 49], Operations: ['64-53=11', '60-11=49']
Exploring Operation: 77+49=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 77*49=3773, Resulting Numbers: [3773]
3773,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[53, 81], Operations: ['64-60=4', '77+4=81']
Exploring Operation: 53+81=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 53*81=4293, Resulting Numbers: [4293]
4293,53 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[77, 49], Operations: ['64-60=4', '53-4=49']
Exploring Operation: 77+49=126, Resulting Numbers: [126]
126,53 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 77*49=3773, Resulting Numbers: [3773]
3773,53 unequal: No Solution
Moving to Node #0,3,4
Current State: 53:[60, 88], Operations: ['64-53=11', '77+11=88']
Exploring Operation: 60*88=5280, Resulting Numbers: [5280]
5280,53 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 60+88=148, Resulting Numbers: [148]
148,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[77, 71], Operations: ['64-53=11', '60+11=71']
Exploring Operation: 77-71=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 77*71=5467, Resulting Numbers: [5467]
5467,53 unequal: No Solution
Exploring Operation: 77+71=148, Resulting Numbers: [148]
148,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[60, 7], Operations: ['64-53=11', '77/11=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[60, 64, 53, 77], Operations: []
Exploring Operation: 64-53=11, Resulting Numbers: [60, 77, 11]
Generated Node #0,3: 53:[60, 77, 11] Operation: 64-53=11
Moving to Node #0,3
Current State: 53:[60, 77, 11], Operations: ['64-53=11']
Exploring Operation: 77/11=7, Resulting Numbers: [60, 7]
Generated Node #0,3,2: 53:[60, 7] Operation: 77/11=7
Moving to Node #0,3,2
Current State: 53:[60, 7], Operations: ['64-53=11', '77/11=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.911458 | hs_5 | sum_heuristic |
[
94,
39,
23,
2
] | 34 | [
"94-39=55",
"23-2=21",
"55-21=34"
] | Current State: 34:[94, 39, 23, 2], Operations: []
Exploring Operation: 94-39=55, Resulting Numbers: [23, 2, 55]
Generated Node #2: [23, 2, 55] from Operation: 94-39=55
Current State: 34:[23, 2, 55], Operations: ['94-39=55']
Exploring Operation: 23-2=21, Resulting Numbers: [55, 21]
Generated Node #3: [55, 21] from Operation: 23-2=21
Current State: 34:[55, 21], Operations: ['94-39=55', '23-2=21']
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[94, 39, 23, 2], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [39, 23, 47]
Generated Node #0,0: 34:[39, 23, 47] Operation: 94/2=47
Exploring Operation: 94-39=55, Resulting Numbers: [23, 2, 55]
Generated Node #0,1: 34:[23, 2, 55] Operation: 94-39=55
Exploring Operation: 94-23=71, Resulting Numbers: [39, 2, 71]
Generated Node #0,2: 34:[39, 2, 71] Operation: 94-23=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[39, 23, 47], Operations: ['94/2=47']
Exploring Operation: 47-23=24, Resulting Numbers: [39, 24]
Generated Node #0,0,0: 34:[39, 24] Operation: 47-23=24
Exploring Operation: 39-23=16, Resulting Numbers: [47, 16]
Generated Node #0,0,1: 34:[47, 16] Operation: 39-23=16
Exploring Operation: 47-39=8, Resulting Numbers: [23, 8]
Generated Node #0,0,2: 34:[23, 8] Operation: 47-39=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[39, 24], Operations: ['94/2=47', '47-23=24']
Exploring Operation: 39*24=936, Resulting Numbers: [936]
936,34 unequal: No Solution
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,34 unequal: No Solution
No 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: 34:[23, 8], Operations: ['94/2=47', '47-39=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,34 unequal: No Solution
No 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: 34:[47, 16], Operations: ['94/2=47', '39-23=16']
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,34 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: 34:[23, 2, 55], Operations: ['94-39=55']
Exploring Operation: 55-23=32, Resulting Numbers: [2, 32]
Generated Node #0,1,0: 34:[2, 32] Operation: 55-23=32
Exploring Operation: 23-2=21, Resulting Numbers: [55, 21]
Generated Node #0,1,1: 34:[55, 21] Operation: 23-2=21
Exploring Operation: 55-2=53, Resulting Numbers: [23, 53]
Generated Node #0,1,2: 34:[23, 53] Operation: 55-2=53
Moving to Node #0,1,0
Current State: 34:[2, 32], Operations: ['94-39=55', '55-23=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[94, 39, 23, 2], Operations: []
Exploring Operation: 94-39=55, Resulting Numbers: [23, 2, 55]
Generated Node #0,1: 34:[23, 2, 55] Operation: 94-39=55
Moving to Node #0,1
Current State: 34:[23, 2, 55], Operations: ['94-39=55']
Exploring Operation: 55-23=32, Resulting Numbers: [2, 32]
Generated Node #0,1,0: 34:[2, 32] Operation: 55-23=32
Moving to Node #0,1,0
Current State: 34:[2, 32], Operations: ['94-39=55', '55-23=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
63,
74,
43,
75
] | 19 | [
"63+74=137",
"43+75=118",
"137-118=19"
] | Current State: 19:[63, 74, 43, 75], Operations: []
Exploring Operation: 63+74=137, Resulting Numbers: [43, 75, 137]
Generated Node #2: [43, 75, 137] from Operation: 63+74=137
Current State: 19:[43, 75, 137], Operations: ['63+74=137']
Exploring Operation: 43+75=118, Resulting Numbers: [137, 118]
Generated Node #3: [137, 118] from Operation: 43+75=118
Current State: 19:[137, 118], Operations: ['63+74=137', '43+75=118']
Exploring Operation: 137-118=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[63, 74, 43, 75], Operations: []
Exploring Operation: 74-43=31, Resulting Numbers: [63, 75, 31]
Generated Node #0,0: 19:[63, 75, 31] Operation: 74-43=31
Exploring Operation: 75-63=12, Resulting Numbers: [74, 43, 12]
Generated Node #0,1: 19:[74, 43, 12] Operation: 75-63=12
Exploring Operation: 75-74=1, Resulting Numbers: [63, 43, 1]
Generated Node #0,2: 19:[63, 43, 1] Operation: 75-74=1
Exploring Operation: 74-63=11, Resulting Numbers: [43, 75, 11]
Generated Node #0,3: 19:[43, 75, 11] Operation: 74-63=11
Exploring Operation: 63-43=20, Resulting Numbers: [74, 75, 20]
Generated Node #0,4: 19:[74, 75, 20] Operation: 63-43=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[74, 43, 12], Operations: ['75-63=12']
Exploring Operation: 43+12=55, Resulting Numbers: [74, 55]
Generated Node #0,1,0: 19:[74, 55] Operation: 43+12=55
Exploring Operation: 43-12=31, Resulting Numbers: [74, 31]
Generated Node #0,1,1: 19:[74, 31] Operation: 43-12=31
Exploring Operation: 74-12=62, Resulting Numbers: [43, 62]
Generated Node #0,1,2: 19:[43, 62] Operation: 74-12=62
Exploring Operation: 74-43=31, Resulting Numbers: [12, 31]
Generated Node #0,1,3: 19:[12, 31] Operation: 74-43=31
Exploring Operation: 74+12=86, Resulting Numbers: [43, 86]
Generated Node #0,1,4: 19:[43, 86] Operation: 74+12=86
Moving to Node #0,1,3
Current State: 19:[12, 31], Operations: ['75-63=12', '74-43=31']
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,19 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[63, 74, 43, 75], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [74, 43, 12]
Generated Node #0,1: 19:[74, 43, 12] Operation: 75-63=12
Moving to Node #0,1
Current State: 19:[74, 43, 12], Operations: ['75-63=12']
Exploring Operation: 74-43=31, Resulting Numbers: [12, 31]
Generated Node #0,1,3: 19:[12, 31] Operation: 74-43=31
Moving to Node #0,1,3
Current State: 19:[12, 31], Operations: ['75-63=12', '74-43=31']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
38,
58,
45,
68
] | 87 | [
"68-38=30",
"58*45=2610",
"2610/30=87"
] | Current State: 87:[38, 58, 45, 68], Operations: []
Exploring Operation: 68-38=30, Resulting Numbers: [58, 45, 30]
Generated Node #2: [58, 45, 30] from Operation: 68-38=30
Current State: 87:[58, 45, 30], Operations: ['68-38=30']
Exploring Operation: 58*45=2610, Resulting Numbers: [30, 2610]
Generated Node #3: [30, 2610] from Operation: 58*45=2610
Current State: 87:[30, 2610], Operations: ['68-38=30', '58*45=2610']
Exploring Operation: 2610/30=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[38, 58, 45, 68], Operations: []
Exploring Operation: 68-58=10, Resulting Numbers: [38, 45, 10]
Generated Node #0,0: 87:[38, 45, 10] Operation: 68-58=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[38, 45, 10], Operations: ['68-58=10']
Exploring Operation: 38+45=83, Resulting Numbers: [10, 83]
Generated Node #0,0,0: 87:[10, 83] Operation: 38+45=83
Moving to Node #0,0,0
Current State: 87:[10, 83], Operations: ['68-58=10', '38+45=83']
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
39,
43,
31,
42
] | 69 | [
"43-39=4",
"31+42=73",
"73-4=69"
] | Current State: 69:[39, 43, 31, 42], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [31, 42, 4]
Generated Node #2: [31, 42, 4] from Operation: 43-39=4
Current State: 69:[31, 42, 4], Operations: ['43-39=4']
Exploring Operation: 31+42=73, Resulting Numbers: [4, 73]
Generated Node #3: [4, 73] from Operation: 31+42=73
Current State: 69:[4, 73], Operations: ['43-39=4', '31+42=73']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[39, 43, 31, 42], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [31, 42, 4]
Generated Node #0,0: 69:[31, 42, 4] Operation: 43-39=4
Exploring Operation: 43-42=1, Resulting Numbers: [39, 31, 1]
Generated Node #0,1: 69:[39, 31, 1] Operation: 43-42=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[39, 31, 1], Operations: ['43-42=1']
Exploring Operation: 39+31=70, Resulting Numbers: [1, 70]
Generated Node #0,1,0: 69:[1, 70] Operation: 39+31=70
Exploring Operation: 39-31=8, Resulting Numbers: [1, 8]
Generated Node #0,1,1: 69:[1, 8] Operation: 39-31=8
Moving to Node #0,1,0
Current State: 69:[1, 70], Operations: ['43-42=1', '39+31=70']
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[39, 43, 31, 42], Operations: []
Exploring Operation: 43-42=1, Resulting Numbers: [39, 31, 1]
Generated Node #0,1: 69:[39, 31, 1] Operation: 43-42=1
Moving to Node #0,1
Current State: 69:[39, 31, 1], Operations: ['43-42=1']
Exploring Operation: 39+31=70, Resulting Numbers: [1, 70]
Generated Node #0,1,0: 69:[1, 70] Operation: 39+31=70
Moving to Node #0,1,0
Current State: 69:[1, 70], Operations: ['43-42=1', '39+31=70']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
70,
18,
62,
12
] | 22 | [
"70-18=52",
"62+12=74",
"74-52=22"
] | Current State: 22:[70, 18, 62, 12], Operations: []
Exploring Operation: 70-18=52, Resulting Numbers: [62, 12, 52]
Generated Node #2: [62, 12, 52] from Operation: 70-18=52
Current State: 22:[62, 12, 52], Operations: ['70-18=52']
Exploring Operation: 62+12=74, Resulting Numbers: [52, 74]
Generated Node #3: [52, 74] from Operation: 62+12=74
Current State: 22:[52, 74], Operations: ['70-18=52', '62+12=74']
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[70, 18, 62, 12], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [70, 12, 44]
Generated Node #0,0: 22:[70, 12, 44] Operation: 62-18=44
Exploring Operation: 70-18=52, Resulting Numbers: [62, 12, 52]
Generated Node #0,1: 22:[62, 12, 52] Operation: 70-18=52
Exploring Operation: 70-62=8, Resulting Numbers: [18, 12, 8]
Generated Node #0,2: 22:[18, 12, 8] Operation: 70-62=8
Moving to Node #0,2
Current State: 22:[18, 12, 8], Operations: ['70-62=8']
Exploring Operation: 18-8=10, Resulting Numbers: [12, 10]
Generated Node #0,2,0: 22:[12, 10] Operation: 18-8=10
Exploring Operation: 12+8=20, Resulting Numbers: [18, 20]
Generated Node #0,2,1: 22:[18, 20] Operation: 12+8=20
Exploring Operation: 18+8=26, Resulting Numbers: [12, 26]
Generated Node #0,2,2: 22:[12, 26] Operation: 18+8=26
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[12, 10], Operations: ['70-62=8', '18-8=10']
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,22 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[70, 18, 62, 12], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [18, 12, 8]
Generated Node #0,2: 22:[18, 12, 8] Operation: 70-62=8
Moving to Node #0,2
Current State: 22:[18, 12, 8], Operations: ['70-62=8']
Exploring Operation: 18-8=10, Resulting Numbers: [12, 10]
Generated Node #0,2,0: 22:[12, 10] Operation: 18-8=10
Moving to Node #0,2,0
Current State: 22:[12, 10], Operations: ['70-62=8', '18-8=10']
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
15,
84,
17,
76
] | 72 | [
"15*76=1140",
"84+1140=1224",
"1224/17=72"
] | Current State: 72:[15, 84, 17, 76], Operations: []
Exploring Operation: 15*76=1140, Resulting Numbers: [84, 17, 1140]
Generated Node #2: [84, 17, 1140] from Operation: 15*76=1140
Current State: 72:[84, 17, 1140], Operations: ['15*76=1140']
Exploring Operation: 84+1140=1224, Resulting Numbers: [17, 1224]
Generated Node #3: [17, 1224] from Operation: 84+1140=1224
Current State: 72:[17, 1224], Operations: ['15*76=1140', '84+1140=1224']
Exploring Operation: 1224/17=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[15, 84, 17, 76], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [15, 17, 8]
Generated Node #0,0: 72:[15, 17, 8] Operation: 84-76=8
Exploring Operation: 84-15=69, Resulting Numbers: [17, 76, 69]
Generated Node #0,1: 72:[17, 76, 69] Operation: 84-15=69
Exploring Operation: 84-17=67, Resulting Numbers: [15, 76, 67]
Generated Node #0,2: 72:[15, 76, 67] Operation: 84-17=67
Exploring Operation: 17-15=2, Resulting Numbers: [84, 76, 2]
Generated Node #0,3: 72:[84, 76, 2] Operation: 17-15=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[15, 17, 8], Operations: ['84-76=8']
Exploring Operation: 17-8=9, Resulting Numbers: [15, 9]
Generated Node #0,0,0: 72:[15, 9] Operation: 17-8=9
Exploring Operation: 15+8=23, Resulting Numbers: [17, 23]
Generated Node #0,0,1: 72:[17, 23] Operation: 15+8=23
Exploring Operation: 15-8=7, Resulting Numbers: [17, 7]
Generated Node #0,0,2: 72:[17, 7] Operation: 15-8=7
Exploring Operation: 17-15=2, Resulting Numbers: [8, 2]
Generated Node #0,0,3: 72:[8, 2] Operation: 17-15=2
Moving to Node #0,0,3
Current State: 72:[8, 2], Operations: ['84-76=8', '17-15=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[17, 7], Operations: ['84-76=8', '15-8=7']
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[17, 23], Operations: ['84-76=8', '15+8=23']
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 17*23=391, Resulting Numbers: [391]
391,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[15, 9], Operations: ['84-76=8', '17-8=9']
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[17, 76, 69], Operations: ['84-15=69']
Exploring Operation: 17+69=86, Resulting Numbers: [76, 86]
Generated Node #0,1,0: 72:[76, 86] Operation: 17+69=86
Exploring Operation: 76-69=7, Resulting Numbers: [17, 7]
Generated Node #0,1,1: 72:[17, 7] Operation: 76-69=7
Exploring Operation: 69-17=52, Resulting Numbers: [76, 52]
Generated Node #0,1,2: 72:[76, 52] Operation: 69-17=52
Exploring Operation: 76-17=59, Resulting Numbers: [69, 59]
Generated Node #0,1,3: 72:[69, 59] Operation: 76-17=59
Moving to Node #0,1,1
Current State: 72:[17, 7], Operations: ['84-15=69', '76-69=7']
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,72 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[69, 59], Operations: ['84-15=69', '76-17=59']
Exploring Operation: 69*59=4071, Resulting Numbers: [4071]
4071,72 unequal: No Solution
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 69+59=128, Resulting Numbers: [128]
128,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[76, 86], Operations: ['84-15=69', '17+69=86']
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 76+86=162, Resulting Numbers: [162]
162,72 unequal: No Solution
Exploring Operation: 76*86=6536, Resulting Numbers: [6536]
6536,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[76, 52], Operations: ['84-15=69', '69-17=52']
Exploring Operation: 76*52=3952, Resulting Numbers: [3952]
3952,72 unequal: No Solution
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 76+52=128, Resulting Numbers: [128]
128,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:[15, 76, 67], Operations: ['84-17=67']
Exploring Operation: 15+67=82, Resulting Numbers: [76, 82]
Generated Node #0,2,0: 72:[76, 82] Operation: 15+67=82
Exploring Operation: 76-67=9, Resulting Numbers: [15, 9]
Generated Node #0,2,1: 72:[15, 9] Operation: 76-67=9
Exploring Operation: 67-15=52, Resulting Numbers: [76, 52]
Generated Node #0,2,2: 72:[76, 52] Operation: 67-15=52
Exploring Operation: 76-15=61, Resulting Numbers: [67, 61]
Generated Node #0,2,3: 72:[67, 61] Operation: 76-15=61
Moving to Node #0,2,1
Current State: 72:[15, 9], Operations: ['84-17=67', '76-67=9']
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[76, 82], Operations: ['84-17=67', '15+67=82']
Exploring Operation: 76+82=158, Resulting Numbers: [158]
158,72 unequal: No Solution
Exploring Operation: 82-76=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 76*82=6232, Resulting Numbers: [6232]
6232,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[67, 61], Operations: ['84-17=67', '76-15=61']
Exploring Operation: 67*61=4087, Resulting Numbers: [4087]
4087,72 unequal: No Solution
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 67+61=128, Resulting Numbers: [128]
128,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[76, 52], Operations: ['84-17=67', '67-15=52']
Exploring Operation: 76+52=128, Resulting Numbers: [128]
128,72 unequal: No Solution
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 76*52=3952, Resulting Numbers: [3952]
3952,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,3
Current State: 72:[84, 76, 2], Operations: ['17-15=2']
Exploring Operation: 84-76=8, Resulting Numbers: [2, 8]
Generated Node #0,3,0: 72:[2, 8] Operation: 84-76=8
Exploring Operation: 76-2=74, Resulting Numbers: [84, 74]
Generated Node #0,3,1: 72:[84, 74] Operation: 76-2=74
Exploring Operation: 84/2=42, Resulting Numbers: [76, 42]
Generated Node #0,3,2: 72:[76, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [76, 82]
Generated Node #0,3,3: 72:[76, 82] Operation: 84-2=82
Moving to Node #0,3,0
Current State: 72:[2, 8], Operations: ['17-15=2', '84-76=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[76, 42], Operations: ['17-15=2', '84/2=42']
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,72 unequal: No Solution
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[76, 82], Operations: ['17-15=2', '84-2=82']
Exploring Operation: 76*82=6232, Resulting Numbers: [6232]
6232,72 unequal: No Solution
Exploring Operation: 82-76=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 76+82=158, Resulting Numbers: [158]
158,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[84, 74], Operations: ['17-15=2', '76-2=74']
Exploring Operation: 84*74=6216, Resulting Numbers: [6216]
6216,72 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 84+74=158, Resulting Numbers: [158]
158,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
14,
8,
26,
3
] | 24 | [
"14-8=6",
"6/3=2",
"26-2=24"
] | Current State: 24:[14, 8, 26, 3], Operations: []
Exploring Operation: 14-8=6, Resulting Numbers: [26, 3, 6]
Generated Node #2: [26, 3, 6] from Operation: 14-8=6
Current State: 24:[26, 3, 6], Operations: ['14-8=6']
Exploring Operation: 6/3=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 6/3=2
Current State: 24:[26, 2], Operations: ['14-8=6', '6/3=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[14, 8, 26, 3], Operations: []
Exploring Operation: 26-14=12, Resulting Numbers: [8, 3, 12]
Generated Node #0,0: 24:[8, 3, 12] Operation: 26-14=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[8, 3, 12], Operations: ['26-14=12']
Exploring Operation: 8*3=24, Resulting Numbers: [12, 24]
Generated Node #0,0,0: 24:[12, 24] Operation: 8*3=24
Moving to Node #0,0,0
Current State: 24:[12, 24], Operations: ['26-14=12', '8*3=24']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,24 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 |
[
36,
55,
85,
39
] | 90 | [
"39-36=3",
"85-55=30",
"3*30=90"
] | Current State: 90:[36, 55, 85, 39], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [55, 85, 3]
Generated Node #2: [55, 85, 3] from Operation: 39-36=3
Current State: 90:[55, 85, 3], Operations: ['39-36=3']
Exploring Operation: 85-55=30, Resulting Numbers: [3, 30]
Generated Node #3: [3, 30] from Operation: 85-55=30
Current State: 90:[3, 30], Operations: ['39-36=3', '85-55=30']
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[36, 55, 85, 39], Operations: []
Exploring Operation: 36+55=91, Resulting Numbers: [85, 39, 91]
Generated Node #0,0: 90:[85, 39, 91] Operation: 36+55=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[85, 39, 91], Operations: ['36+55=91']
Exploring Operation: 85-39=46, Resulting Numbers: [91, 46]
Generated Node #0,0,0: 90:[91, 46] Operation: 85-39=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[91, 46], Operations: ['36+55=91', '85-39=46']
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
60,
38,
19
] | 86 | [
"7+60=67",
"38-19=19",
"67+19=86"
] | Current State: 86:[7, 60, 38, 19], Operations: []
Exploring Operation: 7+60=67, Resulting Numbers: [38, 19, 67]
Generated Node #2: [38, 19, 67] from Operation: 7+60=67
Current State: 86:[38, 19, 67], Operations: ['7+60=67']
Exploring Operation: 38-19=19, Resulting Numbers: [67, 19]
Generated Node #3: [67, 19] from Operation: 38-19=19
Current State: 86:[67, 19], Operations: ['7+60=67', '38-19=19']
Exploring Operation: 67+19=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[7, 60, 38, 19], Operations: []
Exploring Operation: 60-7=53, Resulting Numbers: [38, 19, 53]
Generated Node #0,0: 86:[38, 19, 53] Operation: 60-7=53
Exploring Operation: 60-19=41, Resulting Numbers: [7, 38, 41]
Generated Node #0,1: 86:[7, 38, 41] Operation: 60-19=41
Exploring Operation: 38/19=2, Resulting Numbers: [7, 60, 2]
Generated Node #0,2: 86:[7, 60, 2] Operation: 38/19=2
Exploring Operation: 60+19=79, Resulting Numbers: [7, 38, 79]
Generated Node #0,3: 86:[7, 38, 79] Operation: 60+19=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[7, 38, 41], Operations: ['60-19=41']
Exploring Operation: 7+38=45, Resulting Numbers: [41, 45]
Generated Node #0,1,0: 86:[41, 45] Operation: 7+38=45
Exploring Operation: 38+41=79, Resulting Numbers: [7, 79]
Generated Node #0,1,1: 86:[7, 79] Operation: 38+41=79
Exploring Operation: 7+41=48, Resulting Numbers: [38, 48]
Generated Node #0,1,2: 86:[38, 48] Operation: 7+41=48
Exploring Operation: 41-38=3, Resulting Numbers: [7, 3]
Generated Node #0,1,3: 86:[7, 3] Operation: 41-38=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[41, 45], Operations: ['60-19=41', '7+38=45']
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[7, 60, 38, 19], Operations: []
Exploring Operation: 60-19=41, Resulting Numbers: [7, 38, 41]
Generated Node #0,1: 86:[7, 38, 41] Operation: 60-19=41
Moving to Node #0,1
Current State: 86:[7, 38, 41], Operations: ['60-19=41']
Exploring Operation: 7+38=45, Resulting Numbers: [41, 45]
Generated Node #0,1,0: 86:[41, 45] Operation: 7+38=45
Moving to Node #0,1,0
Current State: 86:[41, 45], Operations: ['60-19=41', '7+38=45']
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
5,
19,
49,
89
] | 54 | [
"19-5=14",
"89-49=40",
"14+40=54"
] | Current State: 54:[5, 19, 49, 89], Operations: []
Exploring Operation: 19-5=14, Resulting Numbers: [49, 89, 14]
Generated Node #2: [49, 89, 14] from Operation: 19-5=14
Current State: 54:[49, 89, 14], Operations: ['19-5=14']
Exploring Operation: 89-49=40, Resulting Numbers: [14, 40]
Generated Node #3: [14, 40] from Operation: 89-49=40
Current State: 54:[14, 40], Operations: ['19-5=14', '89-49=40']
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[5, 19, 49, 89], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [5, 19, 40]
Generated Node #0,0: 54:[5, 19, 40] Operation: 89-49=40
Exploring Operation: 89-19=70, Resulting Numbers: [5, 49, 70]
Generated Node #0,1: 54:[5, 49, 70] Operation: 89-19=70
Exploring Operation: 5+49=54, Resulting Numbers: [19, 89, 54]
Generated Node #0,2: 54:[19, 89, 54] Operation: 5+49=54
Moving to Node #0,0
Current State: 54:[5, 19, 40], Operations: ['89-49=40']
Exploring Operation: 19+40=59, Resulting Numbers: [5, 59]
Generated Node #0,0,0: 54:[5, 59] Operation: 19+40=59
Exploring Operation: 40/5=8, Resulting Numbers: [19, 8]
Generated Node #0,0,1: 54:[19, 8] Operation: 40/5=8
Exploring Operation: 40-19=21, Resulting Numbers: [5, 21]
Generated Node #0,0,2: 54:[5, 21] Operation: 40-19=21
Moving to Node #0,1
Current State: 54:[5, 49, 70], Operations: ['89-19=70']
Exploring Operation: 70-49=21, Resulting Numbers: [5, 21]
Generated Node #0,1,0: 54:[5, 21] Operation: 70-49=21
Exploring Operation: 5+49=54, Resulting Numbers: [70, 54]
Generated Node #0,1,1: 54:[70, 54] Operation: 5+49=54
Exploring Operation: 70/5=14, Resulting Numbers: [49, 14]
Generated Node #0,1,2: 54:[49, 14] Operation: 70/5=14
Moving to Node #0,2
Current State: 54:[19, 89, 54], Operations: ['5+49=54']
Exploring Operation: 54-19=35, Resulting Numbers: [89, 35]
Generated Node #0,2,0: 54:[89, 35] Operation: 54-19=35
Exploring Operation: 89-54=35, Resulting Numbers: [19, 35]
Generated Node #0,2,1: 54:[19, 35] Operation: 89-54=35
Exploring Operation: 89-19=70, Resulting Numbers: [54, 70]
Generated Node #0,2,2: 54:[54, 70] Operation: 89-19=70
Moving to Node #0,0,1
Current State: 54:[19, 8], Operations: ['89-49=40', '40/5=8']
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,54 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[5, 21], Operations: ['89-49=40', '40-19=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,54 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[5, 21], Operations: ['89-19=70', '70-49=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[5, 59], Operations: ['89-49=40', '19+40=59']
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,54 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[5, 19, 49, 89], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [5, 19, 40]
Generated Node #0,0: 54:[5, 19, 40] Operation: 89-49=40
Moving to Node #0,0
Current State: 54:[5, 19, 40], Operations: ['89-49=40']
Exploring Operation: 19+40=59, Resulting Numbers: [5, 59]
Generated Node #0,0,0: 54:[5, 59] Operation: 19+40=59
Moving to Node #0,0,0
Current State: 54:[5, 59], Operations: ['89-49=40', '19+40=59']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
76,
88,
38,
20
] | 66 | [
"76/38=2",
"88-20=68",
"68-2=66"
] | Current State: 66:[76, 88, 38, 20], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [88, 20, 2]
Generated Node #2: [88, 20, 2] from Operation: 76/38=2
Current State: 66:[88, 20, 2], Operations: ['76/38=2']
Exploring Operation: 88-20=68, Resulting Numbers: [2, 68]
Generated Node #3: [2, 68] from Operation: 88-20=68
Current State: 66:[2, 68], Operations: ['76/38=2', '88-20=68']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[76, 88, 38, 20], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [38, 20, 12]
Generated Node #0,0: 66:[38, 20, 12] Operation: 88-76=12
Exploring Operation: 88-20=68, Resulting Numbers: [76, 38, 68]
Generated Node #0,1: 66:[76, 38, 68] Operation: 88-20=68
Exploring Operation: 88-38=50, Resulting Numbers: [76, 20, 50]
Generated Node #0,2: 66:[76, 20, 50] Operation: 88-38=50
Exploring Operation: 76/38=2, Resulting Numbers: [88, 20, 2]
Generated Node #0,3: 66:[88, 20, 2] Operation: 76/38=2
Exploring Operation: 76-38=38, Resulting Numbers: [88, 20, 38]
Generated Node #0,4: 66:[88, 20, 38] Operation: 76-38=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[38, 20, 12], Operations: ['88-76=12']
Exploring Operation: 20-12=8, Resulting Numbers: [38, 8]
Generated Node #0,0,0: 66:[38, 8] Operation: 20-12=8
Exploring Operation: 38-12=26, Resulting Numbers: [20, 26]
Generated Node #0,0,1: 66:[20, 26] Operation: 38-12=26
Exploring Operation: 38+20=58, Resulting Numbers: [12, 58]
Generated Node #0,0,2: 66:[12, 58] Operation: 38+20=58
Exploring Operation: 20+12=32, Resulting Numbers: [38, 32]
Generated Node #0,0,3: 66:[38, 32] Operation: 20+12=32
Exploring Operation: 38-20=18, Resulting Numbers: [12, 18]
Generated Node #0,0,4: 66:[12, 18] Operation: 38-20=18
Moving to Node #0,0,4
Current State: 66:[12, 18], Operations: ['88-76=12', '38-20=18']
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,66 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[38, 32], Operations: ['88-76=12', '20+12=32']
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 38*32=1216, Resulting Numbers: [1216]
1216,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[20, 26], Operations: ['88-76=12', '38-12=26']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[38, 8], Operations: ['88-76=12', '20-12=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,66 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[12, 58], Operations: ['88-76=12', '38+20=58']
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,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,1
Current State: 66:[76, 38, 68], Operations: ['88-20=68']
Exploring Operation: 76-68=8, Resulting Numbers: [38, 8]
Generated Node #0,1,0: 66:[38, 8] Operation: 76-68=8
Exploring Operation: 76-38=38, Resulting Numbers: [68, 38]
Generated Node #0,1,1: 66:[68, 38] Operation: 76-38=38
Exploring Operation: 68-38=30, Resulting Numbers: [76, 30]
Generated Node #0,1,2: 66:[76, 30] Operation: 68-38=30
Exploring Operation: 76+38=114, Resulting Numbers: [68, 114]
Generated Node #0,1,3: 66:[68, 114] Operation: 76+38=114
Exploring Operation: 76/38=2, Resulting Numbers: [68, 2]
Generated Node #0,1,4: 66:[68, 2] Operation: 76/38=2
Moving to Node #0,1,4
Current State: 66:[68, 2], Operations: ['88-20=68', '76/38=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 68*2=136, Resulting Numbers: [136]
136,66 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[76, 88, 38, 20], Operations: []
Exploring Operation: 88-20=68, Resulting Numbers: [76, 38, 68]
Generated Node #0,1: 66:[76, 38, 68] Operation: 88-20=68
Moving to Node #0,1
Current State: 66:[76, 38, 68], Operations: ['88-20=68']
Exploring Operation: 76/38=2, Resulting Numbers: [68, 2]
Generated Node #0,1,4: 66:[68, 2] Operation: 76/38=2
Moving to Node #0,1,4
Current State: 66:[68, 2], Operations: ['88-20=68', '76/38=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
62,
95,
87,
88
] | 34 | [
"95-62=33",
"88-87=1",
"33+1=34"
] | Current State: 34:[62, 95, 87, 88], Operations: []
Exploring Operation: 95-62=33, Resulting Numbers: [87, 88, 33]
Generated Node #2: [87, 88, 33] from Operation: 95-62=33
Current State: 34:[87, 88, 33], Operations: ['95-62=33']
Exploring Operation: 88-87=1, Resulting Numbers: [33, 1]
Generated Node #3: [33, 1] from Operation: 88-87=1
Current State: 34:[33, 1], Operations: ['95-62=33', '88-87=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[62, 95, 87, 88], Operations: []
Exploring Operation: 95-62=33, Resulting Numbers: [87, 88, 33]
Generated Node #0,0: 34:[87, 88, 33] Operation: 95-62=33
Exploring Operation: 95-87=8, Resulting Numbers: [62, 88, 8]
Generated Node #0,1: 34:[62, 88, 8] Operation: 95-87=8
Exploring Operation: 88-62=26, Resulting Numbers: [95, 87, 26]
Generated Node #0,2: 34:[95, 87, 26] Operation: 88-62=26
Exploring Operation: 95-88=7, Resulting Numbers: [62, 87, 7]
Generated Node #0,3: 34:[62, 87, 7] Operation: 95-88=7
Exploring Operation: 88-87=1, Resulting Numbers: [62, 95, 1]
Generated Node #0,4: 34:[62, 95, 1] Operation: 88-87=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[62, 87, 7], Operations: ['95-88=7']
Exploring Operation: 62+7=69, Resulting Numbers: [87, 69]
Generated Node #0,3,0: 34:[87, 69] Operation: 62+7=69
Exploring Operation: 62-7=55, Resulting Numbers: [87, 55]
Generated Node #0,3,1: 34:[87, 55] Operation: 62-7=55
Exploring Operation: 87-62=25, Resulting Numbers: [7, 25]
Generated Node #0,3,2: 34:[7, 25] Operation: 87-62=25
Exploring Operation: 87-7=80, Resulting Numbers: [62, 80]
Generated Node #0,3,3: 34:[62, 80] Operation: 87-7=80
Exploring Operation: 87+7=94, Resulting Numbers: [62, 94]
Generated Node #0,3,4: 34:[62, 94] Operation: 87+7=94
Moving to Node #0,3,2
Current State: 34:[7, 25], Operations: ['95-88=7', '87-62=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[62, 80], Operations: ['95-88=7', '87-7=80']
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 62+80=142, Resulting Numbers: [142]
142,34 unequal: No Solution
Exploring Operation: 62*80=4960, Resulting Numbers: [4960]
4960,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[87, 55], Operations: ['95-88=7', '62-7=55']
Exploring Operation: 87-55=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 87+55=142, Resulting Numbers: [142]
142,34 unequal: No Solution
Exploring Operation: 87*55=4785, Resulting Numbers: [4785]
4785,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[87, 69], Operations: ['95-88=7', '62+7=69']
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 87+69=156, Resulting Numbers: [156]
156,34 unequal: No Solution
Exploring Operation: 87*69=6003, Resulting Numbers: [6003]
6003,34 unequal: No Solution
Moving to Node #0,3,4
Current State: 34:[62, 94], Operations: ['95-88=7', '87+7=94']
Exploring Operation: 62+94=156, Resulting Numbers: [156]
156,34 unequal: No Solution
Exploring Operation: 94-62=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 62*94=5828, Resulting Numbers: [5828]
5828,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[62, 88, 8], Operations: ['95-87=8']
Exploring Operation: 62+8=70, Resulting Numbers: [88, 70]
Generated Node #0,1,0: 34:[88, 70] Operation: 62+8=70
Exploring Operation: 88-62=26, Resulting Numbers: [8, 26]
Generated Node #0,1,1: 34:[8, 26] Operation: 88-62=26
Exploring Operation: 62-8=54, Resulting Numbers: [88, 54]
Generated Node #0,1,2: 34:[88, 54] Operation: 62-8=54
Exploring Operation: 88/8=11, Resulting Numbers: [62, 11]
Generated Node #0,1,3: 34:[62, 11] Operation: 88/8=11
Exploring Operation: 88-8=80, Resulting Numbers: [62, 80]
Generated Node #0,1,4: 34:[62, 80] Operation: 88-8=80
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[8, 26], Operations: ['95-87=8', '88-62=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[62, 95, 87, 88], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [62, 88, 8]
Generated Node #0,1: 34:[62, 88, 8] Operation: 95-87=8
Moving to Node #0,1
Current State: 34:[62, 88, 8], Operations: ['95-87=8']
Exploring Operation: 88-62=26, Resulting Numbers: [8, 26]
Generated Node #0,1,1: 34:[8, 26] Operation: 88-62=26
Moving to Node #0,1,1
Current State: 34:[8, 26], Operations: ['95-87=8', '88-62=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
74,
63,
95,
71
] | 67 | [
"74*63=4662",
"95+4662=4757",
"4757/71=67"
] | Current State: 67:[74, 63, 95, 71], Operations: []
Exploring Operation: 74*63=4662, Resulting Numbers: [95, 71, 4662]
Generated Node #2: [95, 71, 4662] from Operation: 74*63=4662
Current State: 67:[95, 71, 4662], Operations: ['74*63=4662']
Exploring Operation: 95+4662=4757, Resulting Numbers: [71, 4757]
Generated Node #3: [71, 4757] from Operation: 95+4662=4757
Current State: 67:[71, 4757], Operations: ['74*63=4662', '95+4662=4757']
Exploring Operation: 4757/71=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[74, 63, 95, 71], Operations: []
Exploring Operation: 95-63=32, Resulting Numbers: [74, 71, 32]
Generated Node #0,0: 67:[74, 71, 32] Operation: 95-63=32
Exploring Operation: 95-74=21, Resulting Numbers: [63, 71, 21]
Generated Node #0,1: 67:[63, 71, 21] Operation: 95-74=21
Exploring Operation: 74-63=11, Resulting Numbers: [95, 71, 11]
Generated Node #0,2: 67:[95, 71, 11] Operation: 74-63=11
Exploring Operation: 95-71=24, Resulting Numbers: [74, 63, 24]
Generated Node #0,3: 67:[74, 63, 24] Operation: 95-71=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[74, 71, 32], Operations: ['95-63=32']
Exploring Operation: 74+32=106, Resulting Numbers: [71, 106]
Generated Node #0,0,0: 67:[71, 106] Operation: 74+32=106
Exploring Operation: 71-32=39, Resulting Numbers: [74, 39]
Generated Node #0,0,1: 67:[74, 39] Operation: 71-32=39
Exploring Operation: 74-32=42, Resulting Numbers: [71, 42]
Generated Node #0,0,2: 67:[71, 42] Operation: 74-32=42
Exploring Operation: 71+32=103, Resulting Numbers: [74, 103]
Generated Node #0,0,3: 67:[74, 103] Operation: 71+32=103
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[71, 42], Operations: ['95-63=32', '74-32=42']
Exploring Operation: 71+42=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 71*42=2982, Resulting Numbers: [2982]
2982,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[74, 39], Operations: ['95-63=32', '71-32=39']
Exploring Operation: 74+39=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 74*39=2886, Resulting Numbers: [2886]
2886,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[71, 106], Operations: ['95-63=32', '74+32=106']
Exploring Operation: 71*106=7526, Resulting Numbers: [7526]
7526,67 unequal: No Solution
Exploring Operation: 71+106=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Exploring Operation: 106-71=35, Resulting Numbers: [35]
35,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 67:[74, 103], Operations: ['95-63=32', '71+32=103']
Exploring Operation: 74+103=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Exploring Operation: 74*103=7622, Resulting Numbers: [7622]
7622,67 unequal: No Solution
Exploring Operation: 103-74=29, Resulting Numbers: [29]
29,67 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: 67:[63, 71, 21], Operations: ['95-74=21']
Exploring Operation: 71+21=92, Resulting Numbers: [63, 92]
Generated Node #0,1,0: 67:[63, 92] Operation: 71+21=92
Exploring Operation: 71-21=50, Resulting Numbers: [63, 50]
Generated Node #0,1,1: 67:[63, 50] Operation: 71-21=50
Exploring Operation: 63+21=84, Resulting Numbers: [71, 84]
Generated Node #0,1,2: 67:[71, 84] Operation: 63+21=84
Exploring Operation: 63-21=42, Resulting Numbers: [71, 42]
Generated Node #0,1,3: 67:[71, 42] Operation: 63-21=42
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[63, 50], Operations: ['95-74=21', '71-21=50']
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 63*50=3150, Resulting Numbers: [3150]
3150,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[71, 84], Operations: ['95-74=21', '63+21=84']
Exploring Operation: 71+84=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 71*84=5964, Resulting Numbers: [5964]
5964,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[63, 92], Operations: ['95-74=21', '71+21=92']
Exploring Operation: 63*92=5796, Resulting Numbers: [5796]
5796,67 unequal: No Solution
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 63+92=155, Resulting Numbers: [155]
155,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[71, 42], Operations: ['95-74=21', '63-21=42']
Exploring Operation: 71+42=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 71*42=2982, Resulting Numbers: [2982]
2982,67 unequal: No Solution
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,67 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: 67:[74, 63, 24], Operations: ['95-71=24']
Exploring Operation: 63-24=39, Resulting Numbers: [74, 39]
Generated Node #0,3,0: 67:[74, 39] Operation: 63-24=39
Exploring Operation: 74-24=50, Resulting Numbers: [63, 50]
Generated Node #0,3,1: 67:[63, 50] Operation: 74-24=50
Exploring Operation: 74+24=98, Resulting Numbers: [63, 98]
Generated Node #0,3,2: 67:[63, 98] Operation: 74+24=98
Exploring Operation: 63+24=87, Resulting Numbers: [74, 87]
Generated Node #0,3,3: 67:[74, 87] Operation: 63+24=87
Moving to Node #0,3,1
Current State: 67:[63, 50], Operations: ['95-71=24', '74-24=50']
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 63*50=3150, Resulting Numbers: [3150]
3150,67 unequal: No Solution
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[74, 87], Operations: ['95-71=24', '63+24=87']
Exploring Operation: 74+87=161, Resulting Numbers: [161]
161,67 unequal: No Solution
Exploring Operation: 87-74=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 74*87=6438, Resulting Numbers: [6438]
6438,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[63, 98], Operations: ['95-71=24', '74+24=98']
Exploring Operation: 63*98=6174, Resulting Numbers: [6174]
6174,67 unequal: No Solution
Exploring Operation: 63+98=161, Resulting Numbers: [161]
161,67 unequal: No Solution
Exploring Operation: 98-63=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[74, 39], Operations: ['95-71=24', '63-24=39']
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 74+39=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 74*39=2886, Resulting Numbers: [2886]
2886,67 unequal: No Solution
No 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: 67:[95, 71, 11], Operations: ['74-63=11']
Exploring Operation: 95-11=84, Resulting Numbers: [71, 84]
Generated Node #0,2,0: 67:[71, 84] Operation: 95-11=84
Exploring Operation: 71-11=60, Resulting Numbers: [95, 60]
Generated Node #0,2,1: 67:[95, 60] Operation: 71-11=60
Exploring Operation: 71+11=82, Resulting Numbers: [95, 82]
Generated Node #0,2,2: 67:[95, 82] Operation: 71+11=82
Exploring Operation: 95+11=106, Resulting Numbers: [71, 106]
Generated Node #0,2,3: 67:[71, 106] Operation: 95+11=106
Moving to Node #0,2,0
Current State: 67:[71, 84], Operations: ['74-63=11', '95-11=84']
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 71*84=5964, Resulting Numbers: [5964]
5964,67 unequal: No Solution
Exploring Operation: 71+84=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[95, 60], Operations: ['74-63=11', '71-11=60']
Exploring Operation: 95+60=155, Resulting Numbers: [155]
155,67 unequal: No Solution
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 95*60=5700, Resulting Numbers: [5700]
5700,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[71, 106], Operations: ['74-63=11', '95+11=106']
Exploring Operation: 71*106=7526, Resulting Numbers: [7526]
7526,67 unequal: No Solution
Exploring Operation: 106-71=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 71+106=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[95, 82], Operations: ['74-63=11', '71+11=82']
Exploring Operation: 95+82=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Exploring Operation: 95*82=7790, Resulting Numbers: [7790]
7790,67 unequal: No Solution
Exploring Operation: 95-82=13, Resulting Numbers: [13]
13,67 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 |
[
11,
58,
66,
68
] | 94 | [
"58-11=47",
"68-66=2",
"47*2=94"
] | Current State: 94:[11, 58, 66, 68], Operations: []
Exploring Operation: 58-11=47, Resulting Numbers: [66, 68, 47]
Generated Node #2: [66, 68, 47] from Operation: 58-11=47
Current State: 94:[66, 68, 47], Operations: ['58-11=47']
Exploring Operation: 68-66=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 68-66=2
Current State: 94:[47, 2], Operations: ['58-11=47', '68-66=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[11, 58, 66, 68], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [11, 68, 8]
Generated Node #0,0: 94:[11, 68, 8] Operation: 66-58=8
Exploring Operation: 66/11=6, Resulting Numbers: [58, 68, 6]
Generated Node #0,1: 94:[58, 68, 6] Operation: 66/11=6
Exploring Operation: 68-58=10, Resulting Numbers: [11, 66, 10]
Generated Node #0,2: 94:[11, 66, 10] Operation: 68-58=10
Exploring Operation: 58-11=47, Resulting Numbers: [66, 68, 47]
Generated Node #0,3: 94:[66, 68, 47] Operation: 58-11=47
Exploring Operation: 68-66=2, Resulting Numbers: [11, 58, 2]
Generated Node #0,4: 94:[11, 58, 2] Operation: 68-66=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 94:[11, 58, 2], Operations: ['68-66=2']
Exploring Operation: 11+2=13, Resulting Numbers: [58, 13]
Generated Node #0,4,0: 94:[58, 13] Operation: 11+2=13
Exploring Operation: 11-2=9, Resulting Numbers: [58, 9]
Generated Node #0,4,1: 94:[58, 9] Operation: 11-2=9
Exploring Operation: 58-11=47, Resulting Numbers: [2, 47]
Generated Node #0,4,2: 94:[2, 47] Operation: 58-11=47
Exploring Operation: 11+58=69, Resulting Numbers: [2, 69]
Generated Node #0,4,3: 94:[2, 69] Operation: 11+58=69
Exploring Operation: 58-2=56, Resulting Numbers: [11, 56]
Generated Node #0,4,4: 94:[11, 56] Operation: 58-2=56
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 94:[2, 47], Operations: ['68-66=2', '58-11=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[11, 58, 66, 68], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [11, 58, 2]
Generated Node #0,4: 94:[11, 58, 2] Operation: 68-66=2
Moving to Node #0,4
Current State: 94:[11, 58, 2], Operations: ['68-66=2']
Exploring Operation: 58-11=47, Resulting Numbers: [2, 47]
Generated Node #0,4,2: 94:[2, 47] Operation: 58-11=47
Moving to Node #0,4,2
Current State: 94:[2, 47], Operations: ['68-66=2', '58-11=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
49,
8,
72,
37
] | 11 | [
"8*72=576",
"576-37=539",
"539/49=11"
] | Current State: 11:[49, 8, 72, 37], Operations: []
Exploring Operation: 8*72=576, Resulting Numbers: [49, 37, 576]
Generated Node #2: [49, 37, 576] from Operation: 8*72=576
Current State: 11:[49, 37, 576], Operations: ['8*72=576']
Exploring Operation: 576-37=539, Resulting Numbers: [49, 539]
Generated Node #3: [49, 539] from Operation: 576-37=539
Current State: 11:[49, 539], Operations: ['8*72=576', '576-37=539']
Exploring Operation: 539/49=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[49, 8, 72, 37], Operations: []
Exploring Operation: 72-49=23, Resulting Numbers: [8, 37, 23]
Generated Node #0,0: 11:[8, 37, 23] Operation: 72-49=23
Moving to Node #0,0
Current State: 11:[8, 37, 23], Operations: ['72-49=23']
Exploring Operation: 37-23=14, Resulting Numbers: [8, 14]
Generated Node #0,0,0: 11:[8, 14] Operation: 37-23=14
Moving to Node #0,0,0
Current State: 11:[8, 14], Operations: ['72-49=23', '37-23=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.