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 |
|---|---|---|---|---|---|---|---|---|
[
50,
88,
37,
40
] | 16 | [
"50*40=2000",
"88+37=125",
"2000/125=16"
] | Current State: 16:[50, 88, 37, 40], Operations: []
Exploring Operation: 50*40=2000, Resulting Numbers: [88, 37, 2000]
Generated Node #2: [88, 37, 2000] from Operation: 50*40=2000
Current State: 16:[88, 37, 2000], Operations: ['50*40=2000']
Exploring Operation: 88+37=125, Resulting Numbers: [2000, 125]
Generated Node #3: [2000, 125] from Operation: 88+37=125
Current State: 16:[2000, 125], Operations: ['50*40=2000', '88+37=125']
Exploring Operation: 2000/125=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[50, 88, 37, 40], Operations: []
Exploring Operation: 88-37=51, Resulting Numbers: [50, 40, 51]
Generated Node #0,0: 16:[50, 40, 51] Operation: 88-37=51
Exploring Operation: 88-50=38, Resulting Numbers: [37, 40, 38]
Generated Node #0,1: 16:[37, 40, 38] Operation: 88-50=38
Exploring Operation: 50-40=10, Resulting Numbers: [88, 37, 10]
Generated Node #0,2: 16:[88, 37, 10] Operation: 50-40=10
Exploring Operation: 88-40=48, Resulting Numbers: [50, 37, 48]
Generated Node #0,3: 16:[50, 37, 48] Operation: 88-40=48
Moving to Node #0,1
Current State: 16:[37, 40, 38], Operations: ['88-50=38']
Exploring Operation: 38-37=1, Resulting Numbers: [40, 1]
Generated Node #0,1,0: 16:[40, 1] Operation: 38-37=1
Exploring Operation: 40-38=2, Resulting Numbers: [37, 2]
Generated Node #0,1,1: 16:[37, 2] Operation: 40-38=2
Exploring Operation: 37+40=77, Resulting Numbers: [38, 77]
Generated Node #0,1,2: 16:[38, 77] Operation: 37+40=77
Exploring Operation: 40-37=3, Resulting Numbers: [38, 3]
Generated Node #0,1,3: 16:[38, 3] Operation: 40-37=3
Moving to Node #0,3
Current State: 16:[50, 37, 48], Operations: ['88-40=48']
Exploring Operation: 50+37=87, Resulting Numbers: [48, 87]
Generated Node #0,3,0: 16:[48, 87] Operation: 50+37=87
Exploring Operation: 48-37=11, Resulting Numbers: [50, 11]
Generated Node #0,3,1: 16:[50, 11] Operation: 48-37=11
Exploring Operation: 50-48=2, Resulting Numbers: [37, 2]
Generated Node #0,3,2: 16:[37, 2] Operation: 50-48=2
Exploring Operation: 50-37=13, Resulting Numbers: [48, 13]
Generated Node #0,3,3: 16:[48, 13] Operation: 50-37=13
Moving to Node #0,0
Current State: 16:[50, 40, 51], Operations: ['88-37=51']
Exploring Operation: 51-50=1, Resulting Numbers: [40, 1]
Generated Node #0,0,0: 16:[40, 1] Operation: 51-50=1
Exploring Operation: 50+40=90, Resulting Numbers: [51, 90]
Generated Node #0,0,1: 16:[51, 90] Operation: 50+40=90
Exploring Operation: 50-40=10, Resulting Numbers: [51, 10]
Generated Node #0,0,2: 16:[51, 10] Operation: 50-40=10
Exploring Operation: 51-40=11, Resulting Numbers: [50, 11]
Generated Node #0,0,3: 16:[50, 11] Operation: 51-40=11
Moving to Node #0,2
Current State: 16:[88, 37, 10], Operations: ['50-40=10']
Exploring Operation: 88-37=51, Resulting Numbers: [10, 51]
Generated Node #0,2,0: 16:[10, 51] Operation: 88-37=51
Exploring Operation: 88-10=78, Resulting Numbers: [37, 78]
Generated Node #0,2,1: 16:[37, 78] Operation: 88-10=78
Exploring Operation: 88+10=98, Resulting Numbers: [37, 98]
Generated Node #0,2,2: 16:[37, 98] Operation: 88+10=98
Exploring Operation: 37-10=27, Resulting Numbers: [88, 27]
Generated Node #0,2,3: 16:[88, 27] Operation: 37-10=27
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[10, 51], Operations: ['50-40=10', '88-37=51']
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 10*51=510, Resulting Numbers: [510]
510,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[37, 78], Operations: ['50-40=10', '88-10=78']
Exploring Operation: 37*78=2886, Resulting Numbers: [2886]
2886,16 unequal: No Solution
Exploring Operation: 37+78=115, Resulting Numbers: [115]
115,16 unequal: No Solution
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[88, 27], Operations: ['50-40=10', '37-10=27']
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,16 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[37, 98], Operations: ['50-40=10', '88+10=98']
Exploring Operation: 37+98=135, Resulting Numbers: [135]
135,16 unequal: No Solution
Exploring Operation: 98-37=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 37*98=3626, Resulting Numbers: [3626]
3626,16 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: 16:[37, 2], Operations: ['88-50=38', '40-38=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[37, 2], Operations: ['88-40=48', '50-48=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,16 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[38, 3], Operations: ['88-50=38', '40-37=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[40, 1], Operations: ['88-50=38', '38-37=1']
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[40, 1], Operations: ['88-37=51', '51-50=1']
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[48, 13], Operations: ['88-40=48', '50-37=13']
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[50, 11], Operations: ['88-40=48', '48-37=11']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[51, 10], Operations: ['88-37=51', '50-40=10']
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,16 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[50, 11], Operations: ['88-37=51', '51-40=11']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[38, 77], Operations: ['88-50=38', '37+40=77']
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 38*77=2926, Resulting Numbers: [2926]
2926,16 unequal: No Solution
Exploring Operation: 38+77=115, Resulting Numbers: [115]
115,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[48, 87], Operations: ['88-40=48', '50+37=87']
Exploring Operation: 48+87=135, Resulting Numbers: [135]
135,16 unequal: No Solution
Exploring Operation: 48*87=4176, Resulting Numbers: [4176]
4176,16 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[51, 90], Operations: ['88-37=51', '50+40=90']
Exploring Operation: 51+90=141, Resulting Numbers: [141]
141,16 unequal: No Solution
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 51*90=4590, Resulting Numbers: [4590]
4590,16 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
57,
70,
43,
9
] | 74 | [
"70-57=13",
"9*13=117",
"117-43=74"
] | Current State: 74:[57, 70, 43, 9], Operations: []
Exploring Operation: 70-57=13, Resulting Numbers: [43, 9, 13]
Generated Node #2: [43, 9, 13] from Operation: 70-57=13
Current State: 74:[43, 9, 13], Operations: ['70-57=13']
Exploring Operation: 9*13=117, Resulting Numbers: [43, 117]
Generated Node #3: [43, 117] from Operation: 9*13=117
Current State: 74:[43, 117], Operations: ['70-57=13', '9*13=117']
Exploring Operation: 117-43=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[57, 70, 43, 9], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [70, 9, 14]
Generated Node #0,0: 74:[70, 9, 14] Operation: 57-43=14
Exploring Operation: 70-57=13, Resulting Numbers: [43, 9, 13]
Generated Node #0,1: 74:[43, 9, 13] Operation: 70-57=13
Exploring Operation: 57-9=48, Resulting Numbers: [70, 43, 48]
Generated Node #0,2: 74:[70, 43, 48] Operation: 57-9=48
Exploring Operation: 57+9=66, Resulting Numbers: [70, 43, 66]
Generated Node #0,3: 74:[70, 43, 66] Operation: 57+9=66
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[70, 43, 66], Operations: ['57+9=66']
Exploring Operation: 70-66=4, Resulting Numbers: [43, 4]
Generated Node #0,3,0: 74:[43, 4] Operation: 70-66=4
Exploring Operation: 43+66=109, Resulting Numbers: [70, 109]
Generated Node #0,3,1: 74:[70, 109] Operation: 43+66=109
Exploring Operation: 66-43=23, Resulting Numbers: [70, 23]
Generated Node #0,3,2: 74:[70, 23] Operation: 66-43=23
Exploring Operation: 70-43=27, Resulting Numbers: [66, 27]
Generated Node #0,3,3: 74:[66, 27] Operation: 70-43=27
Moving to Node #0,3,0
Current State: 74:[43, 4], Operations: ['57+9=66', '70-66=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[66, 27], Operations: ['57+9=66', '70-43=27']
Exploring Operation: 66+27=93, Resulting Numbers: [93]
93,74 unequal: No Solution
Exploring Operation: 66*27=1782, Resulting Numbers: [1782]
1782,74 unequal: No Solution
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[70, 23], Operations: ['57+9=66', '66-43=23']
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,74 unequal: No Solution
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,74 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[70, 109], Operations: ['57+9=66', '43+66=109']
Exploring Operation: 70+109=179, Resulting Numbers: [179]
179,74 unequal: No Solution
Exploring Operation: 70*109=7630, Resulting Numbers: [7630]
7630,74 unequal: No Solution
Exploring Operation: 109-70=39, Resulting Numbers: [39]
39,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[70, 43, 48], Operations: ['57-9=48']
Exploring Operation: 70-48=22, Resulting Numbers: [43, 22]
Generated Node #0,2,0: 74:[43, 22] Operation: 70-48=22
Exploring Operation: 70-43=27, Resulting Numbers: [48, 27]
Generated Node #0,2,1: 74:[48, 27] Operation: 70-43=27
Exploring Operation: 43+48=91, Resulting Numbers: [70, 91]
Generated Node #0,2,2: 74:[70, 91] Operation: 43+48=91
Exploring Operation: 48-43=5, Resulting Numbers: [70, 5]
Generated Node #0,2,3: 74:[70, 5] Operation: 48-43=5
Moving to Node #0,2,3
Current State: 74:[70, 5], Operations: ['57-9=48', '48-43=5']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,74 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[48, 27], Operations: ['57-9=48', '70-43=27']
Exploring Operation: 48*27=1296, Resulting Numbers: [1296]
1296,74 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[43, 22], Operations: ['57-9=48', '70-48=22']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[70, 91], Operations: ['57-9=48', '43+48=91']
Exploring Operation: 70*91=6370, Resulting Numbers: [6370]
6370,74 unequal: No Solution
Exploring Operation: 91-70=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 70+91=161, Resulting Numbers: [161]
161,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[70, 9, 14], Operations: ['57-43=14']
Exploring Operation: 14-9=5, Resulting Numbers: [70, 5]
Generated Node #0,0,0: 74:[70, 5] Operation: 14-9=5
Exploring Operation: 70+14=84, Resulting Numbers: [9, 84]
Generated Node #0,0,1: 74:[9, 84] Operation: 70+14=84
Exploring Operation: 70/14=5, Resulting Numbers: [9, 5]
Generated Node #0,0,2: 74:[9, 5] Operation: 70/14=5
Exploring Operation: 70+9=79, Resulting Numbers: [14, 79]
Generated Node #0,0,3: 74:[14, 79] Operation: 70+9=79
Moving to Node #0,0,0
Current State: 74:[70, 5], Operations: ['57-43=14', '14-9=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,74 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[9, 5], Operations: ['57-43=14', '70/14=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[14, 79], Operations: ['57-43=14', '70+9=79']
Exploring Operation: 14+79=93, Resulting Numbers: [93]
93,74 unequal: No Solution
Exploring Operation: 14*79=1106, Resulting Numbers: [1106]
1106,74 unequal: No Solution
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[9, 84], Operations: ['57-43=14', '70+14=84']
Exploring Operation: 9*84=756, Resulting Numbers: [756]
756,74 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 9+84=93, Resulting Numbers: [93]
93,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[43, 9, 13], Operations: ['70-57=13']
Exploring Operation: 13-9=4, Resulting Numbers: [43, 4]
Generated Node #0,1,0: 74:[43, 4] Operation: 13-9=4
Exploring Operation: 43-9=34, Resulting Numbers: [13, 34]
Generated Node #0,1,1: 74:[13, 34] Operation: 43-9=34
Exploring Operation: 9+13=22, Resulting Numbers: [43, 22]
Generated Node #0,1,2: 74:[43, 22] Operation: 9+13=22
Exploring Operation: 43-13=30, Resulting Numbers: [9, 30]
Generated Node #0,1,3: 74:[9, 30] Operation: 43-13=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[43, 4], Operations: ['70-57=13', '13-9=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[13, 34], Operations: ['70-57=13', '43-9=34']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Exploring Operation: 13*34=442, Resulting Numbers: [442]
442,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 74:[9, 30], Operations: ['70-57=13', '43-13=30']
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,74 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[43, 22], Operations: ['70-57=13', '9+13=22']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
1,
56,
59,
7
] | 50 | [
"59-1=58",
"56/7=8",
"58-8=50"
] | Current State: 50:[1, 56, 59, 7], Operations: []
Exploring Operation: 59-1=58, Resulting Numbers: [56, 7, 58]
Generated Node #2: [56, 7, 58] from Operation: 59-1=58
Current State: 50:[56, 7, 58], Operations: ['59-1=58']
Exploring Operation: 56/7=8, Resulting Numbers: [58, 8]
Generated Node #3: [58, 8] from Operation: 56/7=8
Current State: 50:[58, 8], Operations: ['59-1=58', '56/7=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[1, 56, 59, 7], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [1, 7, 3]
Generated Node #0,0: 50:[1, 7, 3] Operation: 59-56=3
Exploring Operation: 56-7=49, Resulting Numbers: [1, 59, 49]
Generated Node #0,1: 50:[1, 59, 49] Operation: 56-7=49
Exploring Operation: 56-1=55, Resulting Numbers: [59, 7, 55]
Generated Node #0,2: 50:[59, 7, 55] Operation: 56-1=55
Exploring Operation: 56/7=8, Resulting Numbers: [1, 59, 8]
Generated Node #0,3: 50:[1, 59, 8] Operation: 56/7=8
Exploring Operation: 59-7=52, Resulting Numbers: [1, 56, 52]
Generated Node #0,4: 50:[1, 56, 52] Operation: 59-7=52
Moving to Node #0,0
Current State: 50:[1, 7, 3], Operations: ['59-56=3']
Exploring Operation: 7-3=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 50:[1, 4] Operation: 7-3=4
Exploring Operation: 1+7=8, Resulting Numbers: [3, 8]
Generated Node #0,0,1: 50:[3, 8] Operation: 1+7=8
Exploring Operation: 7-1=6, Resulting Numbers: [3, 6]
Generated Node #0,0,2: 50:[3, 6] Operation: 7-1=6
Exploring Operation: 7+3=10, Resulting Numbers: [1, 10]
Generated Node #0,0,3: 50:[1, 10] Operation: 7+3=10
Exploring Operation: 3-1=2, Resulting Numbers: [7, 2]
Generated Node #0,0,4: 50:[7, 2] Operation: 3-1=2
Moving to Node #0,4
Current State: 50:[1, 56, 52], Operations: ['59-7=52']
Exploring Operation: 52-1=51, Resulting Numbers: [56, 51]
Generated Node #0,4,0: 50:[56, 51] Operation: 52-1=51
Exploring Operation: 56-52=4, Resulting Numbers: [1, 4]
Generated Node #0,4,1: 50:[1, 4] Operation: 56-52=4
Exploring Operation: 56-1=55, Resulting Numbers: [52, 55]
Generated Node #0,4,2: 50:[52, 55] Operation: 56-1=55
Exploring Operation: 1*56=56, Resulting Numbers: [52, 56]
Generated Node #0,4,3: 50:[52, 56] Operation: 1*56=56
Exploring Operation: 56/1=56, Resulting Numbers: [52, 56]
Generated Node #0,4,4: 50:[52, 56] Operation: 56/1=56
Moving to Node #0,1
Current State: 50:[1, 59, 49], Operations: ['56-7=49']
Exploring Operation: 59-49=10, Resulting Numbers: [1, 10]
Generated Node #0,1,0: 50:[1, 10] Operation: 59-49=10
Exploring Operation: 1*59=59, Resulting Numbers: [49, 59]
Generated Node #0,1,1: 50:[49, 59] Operation: 1*59=59
Exploring Operation: 1+49=50, Resulting Numbers: [59, 50]
Generated Node #0,1,2: 50:[59, 50] Operation: 1+49=50
Exploring Operation: 59-1=58, Resulting Numbers: [49, 58]
Generated Node #0,1,3: 50:[49, 58] Operation: 59-1=58
Exploring Operation: 59/1=59, Resulting Numbers: [49, 59]
Generated Node #0,1,4: 50:[49, 59] Operation: 59/1=59
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[1, 10], Operations: ['56-7=49', '59-49=10']
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,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,2
Current State: 50:[59, 50], Operations: ['56-7=49', '1+49=50']
Exploring Operation: 59+50=109, Resulting Numbers: [109]
109,50 unequal: No Solution
Exploring Operation: 59*50=2950, Resulting Numbers: [2950]
2950,50 unequal: No Solution
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,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,3
Current State: 50:[49, 58], Operations: ['56-7=49', '59-1=58']
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 49*58=2842, Resulting Numbers: [2842]
2842,50 unequal: No Solution
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,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,1
Current State: 50:[49, 59], Operations: ['56-7=49', '1*59=59']
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,50 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,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,4
Current State: 50:[49, 59], Operations: ['56-7=49', '59/1=59']
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,50 unequal: No Solution
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,50 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,50 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: 50:[1, 59, 8], Operations: ['56/7=8']
Exploring Operation: 59-1=58, Resulting Numbers: [8, 58]
Generated Node #0,3,0: 50:[8, 58] Operation: 59-1=58
Exploring Operation: 59/1=59, Resulting Numbers: [8, 59]
Generated Node #0,3,1: 50:[8, 59] Operation: 59/1=59
Exploring Operation: 59-8=51, Resulting Numbers: [1, 51]
Generated Node #0,3,2: 50:[1, 51] Operation: 59-8=51
Exploring Operation: 1+8=9, Resulting Numbers: [59, 9]
Generated Node #0,3,3: 50:[59, 9] Operation: 1+8=9
Exploring Operation: 1*59=59, Resulting Numbers: [8, 59]
Generated Node #0,3,4: 50:[8, 59] Operation: 1*59=59
Moving to Node #0,2
Current State: 50:[59, 7, 55], Operations: ['56-1=55']
Exploring Operation: 59-7=52, Resulting Numbers: [55, 52]
Generated Node #0,2,0: 50:[55, 52] Operation: 59-7=52
Exploring Operation: 59+7=66, Resulting Numbers: [55, 66]
Generated Node #0,2,1: 50:[55, 66] Operation: 59+7=66
Exploring Operation: 7+55=62, Resulting Numbers: [59, 62]
Generated Node #0,2,2: 50:[59, 62] Operation: 7+55=62
Exploring Operation: 59-55=4, Resulting Numbers: [7, 4]
Generated Node #0,2,3: 50:[7, 4] Operation: 59-55=4
Exploring Operation: 55-7=48, Resulting Numbers: [59, 48]
Generated Node #0,2,4: 50:[59, 48] Operation: 55-7=48
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 50:[7, 4], Operations: ['56-1=55', '59-55=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[55, 52], Operations: ['56-1=55', '59-7=52']
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,50 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 50:[59, 48], Operations: ['56-1=55', '55-7=48']
Exploring Operation: 59*48=2832, Resulting Numbers: [2832]
2832,50 unequal: No Solution
Exploring Operation: 59+48=107, Resulting Numbers: [107]
107,50 unequal: No Solution
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[55, 66], Operations: ['56-1=55', '59+7=66']
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 55*66=3630, Resulting Numbers: [3630]
3630,50 unequal: No Solution
Exploring Operation: 55+66=121, Resulting Numbers: [121]
121,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[59, 62], Operations: ['56-1=55', '7+55=62']
Exploring Operation: 59+62=121, Resulting Numbers: [121]
121,50 unequal: No Solution
Exploring Operation: 59*62=3658, Resulting Numbers: [3658]
3658,50 unequal: No Solution
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 50:[1, 10], Operations: ['59-56=3', '7+3=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[3, 6], Operations: ['59-56=3', '7-1=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Moving to Node #0,4,1
Current State: 50:[1, 4], Operations: ['59-7=52', '56-52=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[1, 4], Operations: ['59-56=3', '7-3=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[1, 51], Operations: ['56/7=8', '59-8=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[1, 56, 59, 7], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [1, 59, 8]
Generated Node #0,3: 50:[1, 59, 8] Operation: 56/7=8
Moving to Node #0,3
Current State: 50:[1, 59, 8], Operations: ['56/7=8']
Exploring Operation: 59-8=51, Resulting Numbers: [1, 51]
Generated Node #0,3,2: 50:[1, 51] Operation: 59-8=51
Moving to Node #0,3,2
Current State: 50:[1, 51], Operations: ['56/7=8', '59-8=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.926215 | hs_5 | sum_heuristic |
[
56,
19,
76,
84
] | 32 | [
"84-56=28",
"76/19=4",
"28+4=32"
] | Current State: 32:[56, 19, 76, 84], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [19, 76, 28]
Generated Node #2: [19, 76, 28] from Operation: 84-56=28
Current State: 32:[19, 76, 28], Operations: ['84-56=28']
Exploring Operation: 76/19=4, Resulting Numbers: [28, 4]
Generated Node #3: [28, 4] from Operation: 76/19=4
Current State: 32:[28, 4], Operations: ['84-56=28', '76/19=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[56, 19, 76, 84], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [19, 76, 28]
Generated Node #0,0: 32:[19, 76, 28] Operation: 84-56=28
Exploring Operation: 76/19=4, Resulting Numbers: [56, 84, 4]
Generated Node #0,1: 32:[56, 84, 4] Operation: 76/19=4
Exploring Operation: 76-56=20, Resulting Numbers: [19, 84, 20]
Generated Node #0,2: 32:[19, 84, 20] Operation: 76-56=20
Exploring Operation: 84-76=8, Resulting Numbers: [56, 19, 8]
Generated Node #0,3: 32:[56, 19, 8] Operation: 84-76=8
Moving to Node #0,3
Current State: 32:[56, 19, 8], Operations: ['84-76=8']
Exploring Operation: 56-8=48, Resulting Numbers: [19, 48]
Generated Node #0,3,0: 32:[19, 48] Operation: 56-8=48
Exploring Operation: 56/8=7, Resulting Numbers: [19, 7]
Generated Node #0,3,1: 32:[19, 7] Operation: 56/8=7
Exploring Operation: 19-8=11, Resulting Numbers: [56, 11]
Generated Node #0,3,2: 32:[56, 11] Operation: 19-8=11
Exploring Operation: 56-19=37, Resulting Numbers: [8, 37]
Generated Node #0,3,3: 32:[8, 37] Operation: 56-19=37
Moving to Node #0,0
Current State: 32:[19, 76, 28], Operations: ['84-56=28']
Exploring Operation: 28-19=9, Resulting Numbers: [76, 9]
Generated Node #0,0,0: 32:[76, 9] Operation: 28-19=9
Exploring Operation: 76-19=57, Resulting Numbers: [28, 57]
Generated Node #0,0,1: 32:[28, 57] Operation: 76-19=57
Exploring Operation: 76/19=4, Resulting Numbers: [28, 4]
Generated Node #0,0,2: 32:[28, 4] Operation: 76/19=4
Exploring Operation: 76-28=48, Resulting Numbers: [19, 48]
Generated Node #0,0,3: 32:[19, 48] Operation: 76-28=48
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[28, 4], Operations: ['84-56=28', '76/19=4']
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[56, 19, 76, 84], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [19, 76, 28]
Generated Node #0,0: 32:[19, 76, 28] Operation: 84-56=28
Moving to Node #0,0
Current State: 32:[19, 76, 28], Operations: ['84-56=28']
Exploring Operation: 76/19=4, Resulting Numbers: [28, 4]
Generated Node #0,0,2: 32:[28, 4] Operation: 76/19=4
Moving to Node #0,0,2
Current State: 32:[28, 4], Operations: ['84-56=28', '76/19=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
40,
63,
78,
58
] | 43 | [
"63-40=23",
"78-58=20",
"23+20=43"
] | Current State: 43:[40, 63, 78, 58], Operations: []
Exploring Operation: 63-40=23, Resulting Numbers: [78, 58, 23]
Generated Node #2: [78, 58, 23] from Operation: 63-40=23
Current State: 43:[78, 58, 23], Operations: ['63-40=23']
Exploring Operation: 78-58=20, Resulting Numbers: [23, 20]
Generated Node #3: [23, 20] from Operation: 78-58=20
Current State: 43:[23, 20], Operations: ['63-40=23', '78-58=20']
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[40, 63, 78, 58], Operations: []
Exploring Operation: 78-40=38, Resulting Numbers: [63, 58, 38]
Generated Node #0,0: 43:[63, 58, 38] Operation: 78-40=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[63, 58, 38], Operations: ['78-40=38']
Exploring Operation: 63-38=25, Resulting Numbers: [58, 25]
Generated Node #0,0,0: 43:[58, 25] Operation: 63-38=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[58, 25], Operations: ['78-40=38', '63-38=25']
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,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_1 | mult_heuristic |
[
84,
34,
92,
3
] | 98 | [
"84/3=28",
"34+92=126",
"126-28=98"
] | Current State: 98:[84, 34, 92, 3], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [34, 92, 28]
Generated Node #2: [34, 92, 28] from Operation: 84/3=28
Current State: 98:[34, 92, 28], Operations: ['84/3=28']
Exploring Operation: 34+92=126, Resulting Numbers: [28, 126]
Generated Node #3: [28, 126] from Operation: 34+92=126
Current State: 98:[28, 126], Operations: ['84/3=28', '34+92=126']
Exploring Operation: 126-28=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[84, 34, 92, 3], Operations: []
Exploring Operation: 84-34=50, Resulting Numbers: [92, 3, 50]
Generated Node #0,0: 98:[92, 3, 50] Operation: 84-34=50
Moving to Node #0,0
Current State: 98:[92, 3, 50], Operations: ['84-34=50']
Exploring Operation: 92+3=95, Resulting Numbers: [50, 95]
Generated Node #0,0,0: 98:[50, 95] Operation: 92+3=95
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[50, 95], Operations: ['84-34=50', '92+3=95']
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,98 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 |
[
80,
20,
80,
7
] | 14 | [
"80/80=1",
"20-7=13",
"1+13=14"
] | Current State: 14:[80, 20, 80, 7], Operations: []
Exploring Operation: 80/80=1, Resulting Numbers: [20, 7, 1]
Generated Node #2: [20, 7, 1] from Operation: 80/80=1
Current State: 14:[20, 7, 1], Operations: ['80/80=1']
Exploring Operation: 20-7=13, Resulting Numbers: [1, 13]
Generated Node #3: [1, 13] from Operation: 20-7=13
Current State: 14:[1, 13], Operations: ['80/80=1', '20-7=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[80, 20, 80, 7], Operations: []
Exploring Operation: 80-80=0, Resulting Numbers: [20, 7, 0]
Generated Node #0,0: 14:[20, 7, 0] Operation: 80-80=0
Exploring Operation: 80/20=4, Resulting Numbers: [80, 7, 4]
Generated Node #0,1: 14:[80, 7, 4] Operation: 80/20=4
Exploring Operation: 80/80=1, Resulting Numbers: [20, 7, 1]
Generated Node #0,2: 14:[20, 7, 1] Operation: 80/80=1
Moving to Node #0,2
Current State: 14:[20, 7, 1], Operations: ['80/80=1']
Exploring Operation: 20*1=20, Resulting Numbers: [7, 20]
Generated Node #0,2,0: 14:[7, 20] Operation: 20*1=20
Exploring Operation: 20-1=19, Resulting Numbers: [7, 19]
Generated Node #0,2,1: 14:[7, 19] Operation: 20-1=19
Exploring Operation: 20-7=13, Resulting Numbers: [1, 13]
Generated Node #0,2,2: 14:[1, 13] Operation: 20-7=13
Moving to Node #0,0
Current State: 14:[20, 7, 0], Operations: ['80-80=0']
Exploring Operation: 20+0=20, Resulting Numbers: [7, 20]
Generated Node #0,0,0: 14:[7, 20] Operation: 20+0=20
Exploring Operation: 20*0=0, Resulting Numbers: [7, 0]
Generated Node #0,0,1: 14:[7, 0] Operation: 20*0=0
Exploring Operation: 20-7=13, Resulting Numbers: [0, 13]
Generated Node #0,0,2: 14:[0, 13] Operation: 20-7=13
Moving to Node #0,1
Current State: 14:[80, 7, 4], Operations: ['80/20=4']
Exploring Operation: 80-7=73, Resulting Numbers: [4, 73]
Generated Node #0,1,0: 14:[4, 73] Operation: 80-7=73
Exploring Operation: 80-4=76, Resulting Numbers: [7, 76]
Generated Node #0,1,1: 14:[7, 76] Operation: 80-4=76
Exploring Operation: 80/4=20, Resulting Numbers: [7, 20]
Generated Node #0,1,2: 14:[7, 20] Operation: 80/4=20
Moving to Node #0,2,2
Current State: 14:[1, 13], Operations: ['80/80=1', '20-7=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[80, 20, 80, 7], Operations: []
Exploring Operation: 80/80=1, Resulting Numbers: [20, 7, 1]
Generated Node #0,2: 14:[20, 7, 1] Operation: 80/80=1
Moving to Node #0,2
Current State: 14:[20, 7, 1], Operations: ['80/80=1']
Exploring Operation: 20-7=13, Resulting Numbers: [1, 13]
Generated Node #0,2,2: 14:[1, 13] Operation: 20-7=13
Moving to Node #0,2,2
Current State: 14:[1, 13], Operations: ['80/80=1', '20-7=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
16,
59,
81,
75
] | 80 | [
"16+59=75",
"75/75=1",
"81-1=80"
] | Current State: 80:[16, 59, 81, 75], Operations: []
Exploring Operation: 16+59=75, Resulting Numbers: [81, 75, 75]
Generated Node #2: [81, 75, 75] from Operation: 16+59=75
Current State: 80:[81, 75, 75], Operations: ['16+59=75']
Exploring Operation: 75/75=1, Resulting Numbers: [81, 1]
Generated Node #3: [81, 1] from Operation: 75/75=1
Current State: 80:[81, 1], Operations: ['16+59=75', '75/75=1']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[16, 59, 81, 75], Operations: []
Exploring Operation: 16+59=75, Resulting Numbers: [81, 75, 75]
Generated Node #0,0: 80:[81, 75, 75] Operation: 16+59=75
Exploring Operation: 81-59=22, Resulting Numbers: [16, 75, 22]
Generated Node #0,1: 80:[16, 75, 22] Operation: 81-59=22
Exploring Operation: 59-16=43, Resulting Numbers: [81, 75, 43]
Generated Node #0,2: 80:[81, 75, 43] Operation: 59-16=43
Exploring Operation: 75-59=16, Resulting Numbers: [16, 81, 16]
Generated Node #0,3: 80:[16, 81, 16] Operation: 75-59=16
Moving to Node #0,3
Current State: 80:[16, 81, 16], Operations: ['75-59=16']
Exploring Operation: 16/16=1, Resulting Numbers: [81, 1]
Generated Node #0,3,0: 80:[81, 1] Operation: 16/16=1
Exploring Operation: 16-16=0, Resulting Numbers: [81, 0]
Generated Node #0,3,1: 80:[81, 0] Operation: 16-16=0
Exploring Operation: 16+16=32, Resulting Numbers: [81, 32]
Generated Node #0,3,2: 80:[81, 32] Operation: 16+16=32
Exploring Operation: 81-16=65, Resulting Numbers: [16, 65]
Generated Node #0,3,3: 80:[16, 65] Operation: 81-16=65
Moving to Node #0,1
Current State: 80:[16, 75, 22], Operations: ['81-59=22']
Exploring Operation: 75-22=53, Resulting Numbers: [16, 53]
Generated Node #0,1,0: 80:[16, 53] Operation: 75-22=53
Exploring Operation: 22-16=6, Resulting Numbers: [75, 6]
Generated Node #0,1,1: 80:[75, 6] Operation: 22-16=6
Exploring Operation: 16+75=91, Resulting Numbers: [22, 91]
Generated Node #0,1,2: 80:[22, 91] Operation: 16+75=91
Exploring Operation: 16+22=38, Resulting Numbers: [75, 38]
Generated Node #0,1,3: 80:[75, 38] Operation: 16+22=38
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[75, 6], Operations: ['81-59=22', '22-16=6']
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,80 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,80 unequal: No Solution
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,80 unequal: No Solution
No 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: 80:[75, 38], Operations: ['81-59=22', '16+22=38']
Exploring Operation: 75*38=2850, Resulting Numbers: [2850]
2850,80 unequal: No Solution
Exploring Operation: 75+38=113, Resulting Numbers: [113]
113,80 unequal: No Solution
Exploring Operation: 75-38=37, Resulting Numbers: [37]
37,80 unequal: No Solution
No 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: 80:[16, 53], Operations: ['81-59=22', '75-22=53']
Exploring Operation: 16+53=69, Resulting Numbers: [69]
69,80 unequal: No Solution
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Exploring Operation: 16*53=848, Resulting Numbers: [848]
848,80 unequal: No Solution
No 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: 80:[22, 91], Operations: ['81-59=22', '16+75=91']
Exploring Operation: 22*91=2002, Resulting Numbers: [2002]
2002,80 unequal: No Solution
Exploring Operation: 22+91=113, Resulting Numbers: [113]
113,80 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,80 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: 80:[81, 75, 43], Operations: ['59-16=43']
Exploring Operation: 75+43=118, Resulting Numbers: [81, 118]
Generated Node #0,2,0: 80:[81, 118] Operation: 75+43=118
Exploring Operation: 81-43=38, Resulting Numbers: [75, 38]
Generated Node #0,2,1: 80:[75, 38] Operation: 81-43=38
Exploring Operation: 81-75=6, Resulting Numbers: [43, 6]
Generated Node #0,2,2: 80:[43, 6] Operation: 81-75=6
Exploring Operation: 75-43=32, Resulting Numbers: [81, 32]
Generated Node #0,2,3: 80:[81, 32] Operation: 75-43=32
Moving to Node #0,0
Current State: 80:[81, 75, 75], Operations: ['16+59=75']
Exploring Operation: 75-75=0, Resulting Numbers: [81, 0]
Generated Node #0,0,0: 80:[81, 0] Operation: 75-75=0
Exploring Operation: 81-75=6, Resulting Numbers: [75, 6]
Generated Node #0,0,1: 80:[75, 6] Operation: 81-75=6
Exploring Operation: 81-75=6, Resulting Numbers: [75, 6]
Generated Node #0,0,2: 80:[75, 6] Operation: 81-75=6
Exploring Operation: 75/75=1, Resulting Numbers: [81, 1]
Generated Node #0,0,3: 80:[81, 1] Operation: 75/75=1
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[81, 1], Operations: ['16+59=75', '75/75=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[16, 59, 81, 75], Operations: []
Exploring Operation: 16+59=75, Resulting Numbers: [81, 75, 75]
Generated Node #0,0: 80:[81, 75, 75] Operation: 16+59=75
Moving to Node #0,0
Current State: 80:[81, 75, 75], Operations: ['16+59=75']
Exploring Operation: 75/75=1, Resulting Numbers: [81, 1]
Generated Node #0,0,3: 80:[81, 1] Operation: 75/75=1
Moving to Node #0,0,3
Current State: 80:[81, 1], Operations: ['16+59=75', '75/75=1']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | mult_heuristic |
[
23,
10,
77,
20
] | 64 | [
"23+10=33",
"77+20=97",
"97-33=64"
] | Current State: 64:[23, 10, 77, 20], Operations: []
Exploring Operation: 23+10=33, Resulting Numbers: [77, 20, 33]
Generated Node #2: [77, 20, 33] from Operation: 23+10=33
Current State: 64:[77, 20, 33], Operations: ['23+10=33']
Exploring Operation: 77+20=97, Resulting Numbers: [33, 97]
Generated Node #3: [33, 97] from Operation: 77+20=97
Current State: 64:[33, 97], Operations: ['23+10=33', '77+20=97']
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[23, 10, 77, 20], Operations: []
Exploring Operation: 77-10=67, Resulting Numbers: [23, 20, 67]
Generated Node #0,0: 64:[23, 20, 67] Operation: 77-10=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[23, 20, 67], Operations: ['77-10=67']
Exploring Operation: 23-20=3, Resulting Numbers: [67, 3]
Generated Node #0,0,0: 64:[67, 3] Operation: 23-20=3
Moving to Node #0,0,0
Current State: 64:[67, 3], Operations: ['77-10=67', '23-20=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[23, 10, 77, 20], Operations: []
Exploring Operation: 77-10=67, Resulting Numbers: [23, 20, 67]
Generated Node #0,0: 64:[23, 20, 67] Operation: 77-10=67
Moving to Node #0,0
Current State: 64:[23, 20, 67], Operations: ['77-10=67']
Exploring Operation: 23-20=3, Resulting Numbers: [67, 3]
Generated Node #0,0,0: 64:[67, 3] Operation: 23-20=3
Moving to Node #0,0,0
Current State: 64:[67, 3], Operations: ['77-10=67', '23-20=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
75,
30,
36
] | 74 | [
"6+30=36",
"36/36=1",
"75-1=74"
] | Current State: 74:[6, 75, 30, 36], Operations: []
Exploring Operation: 6+30=36, Resulting Numbers: [75, 36, 36]
Generated Node #2: [75, 36, 36] from Operation: 6+30=36
Current State: 74:[75, 36, 36], Operations: ['6+30=36']
Exploring Operation: 36/36=1, Resulting Numbers: [75, 1]
Generated Node #3: [75, 1] from Operation: 36/36=1
Current State: 74:[75, 1], Operations: ['6+30=36', '36/36=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[6, 75, 30, 36], Operations: []
Exploring Operation: 6+30=36, Resulting Numbers: [75, 36, 36]
Generated Node #0,0: 74:[75, 36, 36] Operation: 6+30=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[75, 36, 36], Operations: ['6+30=36']
Exploring Operation: 36/36=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 36/36=1
Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['6+30=36', '36/36=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[6, 75, 30, 36], Operations: []
Exploring Operation: 6+30=36, Resulting Numbers: [75, 36, 36]
Generated Node #0,0: 74:[75, 36, 36] Operation: 6+30=36
Moving to Node #0,0
Current State: 74:[75, 36, 36], Operations: ['6+30=36']
Exploring Operation: 36/36=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 36/36=1
Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['6+30=36', '36/36=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
19,
2,
69,
15
] | 80 | [
"69-19=50",
"2*15=30",
"50+30=80"
] | Current State: 80:[19, 2, 69, 15], Operations: []
Exploring Operation: 69-19=50, Resulting Numbers: [2, 15, 50]
Generated Node #2: [2, 15, 50] from Operation: 69-19=50
Current State: 80:[2, 15, 50], Operations: ['69-19=50']
Exploring Operation: 2*15=30, Resulting Numbers: [50, 30]
Generated Node #3: [50, 30] from Operation: 2*15=30
Current State: 80:[50, 30], Operations: ['69-19=50', '2*15=30']
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[19, 2, 69, 15], Operations: []
Exploring Operation: 69+15=84, Resulting Numbers: [19, 2, 84]
Generated Node #0,0: 80:[19, 2, 84] Operation: 69+15=84
Exploring Operation: 69-19=50, Resulting Numbers: [2, 15, 50]
Generated Node #0,1: 80:[2, 15, 50] Operation: 69-19=50
Exploring Operation: 19-15=4, Resulting Numbers: [2, 69, 4]
Generated Node #0,2: 80:[2, 69, 4] Operation: 19-15=4
Exploring Operation: 19+69=88, Resulting Numbers: [2, 15, 88]
Generated Node #0,3: 80:[2, 15, 88] Operation: 19+69=88
Moving to Node #0,0
Current State: 80:[19, 2, 84], Operations: ['69+15=84']
Exploring Operation: 84-2=82, Resulting Numbers: [19, 82]
Generated Node #0,0,0: 80:[19, 82] Operation: 84-2=82
Exploring Operation: 19+2=21, Resulting Numbers: [84, 21]
Generated Node #0,0,1: 80:[84, 21] Operation: 19+2=21
Exploring Operation: 84/2=42, Resulting Numbers: [19, 42]
Generated Node #0,0,2: 80:[19, 42] Operation: 84/2=42
Exploring Operation: 19-2=17, Resulting Numbers: [84, 17]
Generated Node #0,0,3: 80:[84, 17] Operation: 19-2=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[19, 82], Operations: ['69+15=84', '84-2=82']
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,80 unequal: No Solution
Exploring Operation: 19+82=101, Resulting Numbers: [101]
101,80 unequal: No Solution
Exploring Operation: 19*82=1558, Resulting Numbers: [1558]
1558,80 unequal: No Solution
No 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: 80:[19, 42], Operations: ['69+15=84', '84/2=42']
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,80 unequal: No Solution
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,80 unequal: No Solution
No 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: 80:[84, 21], Operations: ['69+15=84', '19+2=21']
Exploring Operation: 84*21=1764, Resulting Numbers: [1764]
1764,80 unequal: No Solution
Exploring Operation: 84+21=105, Resulting Numbers: [105]
105,80 unequal: No Solution
Exploring Operation: 84/21=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 84-21=63, Resulting Numbers: [63]
63,80 unequal: No Solution
No 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: 80:[84, 17], Operations: ['69+15=84', '19-2=17']
Exploring Operation: 84+17=101, Resulting Numbers: [101]
101,80 unequal: No Solution
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Exploring Operation: 84*17=1428, Resulting Numbers: [1428]
1428,80 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: 80:[2, 15, 88], Operations: ['19+69=88']
Exploring Operation: 88-15=73, Resulting Numbers: [2, 73]
Generated Node #0,3,0: 80:[2, 73] Operation: 88-15=73
Exploring Operation: 2+15=17, Resulting Numbers: [88, 17]
Generated Node #0,3,1: 80:[88, 17] Operation: 2+15=17
Exploring Operation: 88/2=44, Resulting Numbers: [15, 44]
Generated Node #0,3,2: 80:[15, 44] Operation: 88/2=44
Exploring Operation: 88-2=86, Resulting Numbers: [15, 86]
Generated Node #0,3,3: 80:[15, 86] Operation: 88-2=86
Moving to Node #0,2
Current State: 80:[2, 69, 4], Operations: ['19-15=4']
Exploring Operation: 2+69=71, Resulting Numbers: [4, 71]
Generated Node #0,2,0: 80:[4, 71] Operation: 2+69=71
Exploring Operation: 4-2=2, Resulting Numbers: [69, 2]
Generated Node #0,2,1: 80:[69, 2] Operation: 4-2=2
Exploring Operation: 2*4=8, Resulting Numbers: [69, 8]
Generated Node #0,2,2: 80:[69, 8] Operation: 2*4=8
Exploring Operation: 69+4=73, Resulting Numbers: [2, 73]
Generated Node #0,2,3: 80:[2, 73] Operation: 69+4=73
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 80:[2, 73], Operations: ['19-15=4', '69+4=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,80 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,80 unequal: No Solution
No 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: 80:[4, 71], Operations: ['19-15=4', '2+69=71']
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 4*71=284, Resulting Numbers: [284]
284,80 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,80 unequal: No Solution
No 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: 80:[69, 2], Operations: ['19-15=4', '4-2=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,80 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,80 unequal: No Solution
No 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: 80:[69, 8], Operations: ['19-15=4', '2*4=8']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,80 unequal: No Solution
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,80 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: 80:[2, 15, 50], Operations: ['69-19=50']
Exploring Operation: 50-15=35, Resulting Numbers: [2, 35]
Generated Node #0,1,0: 80:[2, 35] Operation: 50-15=35
Exploring Operation: 2+15=17, Resulting Numbers: [50, 17]
Generated Node #0,1,1: 80:[50, 17] Operation: 2+15=17
Exploring Operation: 50/2=25, Resulting Numbers: [15, 25]
Generated Node #0,1,2: 80:[15, 25] Operation: 50/2=25
Exploring Operation: 50-2=48, Resulting Numbers: [15, 48]
Generated Node #0,1,3: 80:[15, 48] Operation: 50-2=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[2, 35], Operations: ['69-19=50', '50-15=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,80 unequal: No Solution
No 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: 80:[15, 25], Operations: ['69-19=50', '50/2=25']
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,80 unequal: No Solution
No 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: 80:[15, 48], Operations: ['69-19=50', '50-2=48']
Exploring Operation: 15*48=720, Resulting Numbers: [720]
720,80 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,80 unequal: No Solution
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,80 unequal: No Solution
No 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: 80:[50, 17], Operations: ['69-19=50', '2+15=17']
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,80 unequal: No Solution
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 80:[15, 44], Operations: ['19+69=88', '88/2=44']
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,80 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,80 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[15, 86], Operations: ['19+69=88', '88-2=86']
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 15+86=101, Resulting Numbers: [101]
101,80 unequal: No Solution
Exploring Operation: 15*86=1290, Resulting Numbers: [1290]
1290,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[2, 73], Operations: ['19+69=88', '88-15=73']
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,80 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[88, 17], Operations: ['19+69=88', '2+15=17']
Exploring Operation: 88*17=1496, Resulting Numbers: [1496]
1496,80 unequal: No Solution
Exploring Operation: 88+17=105, Resulting Numbers: [105]
105,80 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,80 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
70,
11,
70,
40
] | 21 | [
"70*11=770",
"70+770=840",
"840/40=21"
] | Current State: 21:[70, 11, 70, 40], Operations: []
Exploring Operation: 70*11=770, Resulting Numbers: [40, 770]
Generated Node #2: [40, 770] from Operation: 70*11=770
Current State: 21:[40, 770], Operations: ['70*11=770']
Exploring Operation: 70+770=840, Resulting Numbers: [40, 840]
Generated Node #3: [40, 840] from Operation: 70+770=840
Current State: 21:[40, 840], Operations: ['70*11=770', '70+770=840']
Exploring Operation: 840/40=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[70, 11, 70, 40], Operations: []
Exploring Operation: 70-40=30, Resulting Numbers: [11, 70, 30]
Generated Node #0,0: 21:[11, 70, 30] Operation: 70-40=30
Exploring Operation: 70-40=30, Resulting Numbers: [70, 11, 30]
Generated Node #0,1: 21:[70, 11, 30] Operation: 70-40=30
Exploring Operation: 70-70=0, Resulting Numbers: [11, 40, 0]
Generated Node #0,2: 21:[11, 40, 0] Operation: 70-70=0
Exploring Operation: 70/70=1, Resulting Numbers: [11, 40, 1]
Generated Node #0,3: 21:[11, 40, 1] Operation: 70/70=1
Moving to Node #0,3
Current State: 21:[11, 40, 1], Operations: ['70/70=1']
Exploring Operation: 11*1=11, Resulting Numbers: [40, 11]
Generated Node #0,3,0: 21:[40, 11] Operation: 11*1=11
Exploring Operation: 40-1=39, Resulting Numbers: [11, 39]
Generated Node #0,3,1: 21:[11, 39] Operation: 40-1=39
Exploring Operation: 40-11=29, Resulting Numbers: [1, 29]
Generated Node #0,3,2: 21:[1, 29] Operation: 40-11=29
Exploring Operation: 11-1=10, Resulting Numbers: [40, 10]
Generated Node #0,3,3: 21:[40, 10] Operation: 11-1=10
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[1, 29], Operations: ['70/70=1', '40-11=29']
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[11, 39], Operations: ['70/70=1', '40-1=39']
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,21 unequal: No Solution
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 21:[40, 10], Operations: ['70/70=1', '11-1=10']
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,21 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[40, 11], Operations: ['70/70=1', '11*1=11']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,21 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,21 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: 21:[11, 40, 0], Operations: ['70-70=0']
Exploring Operation: 40*0=0, Resulting Numbers: [11, 0]
Generated Node #0,2,0: 21:[11, 0] Operation: 40*0=0
Exploring Operation: 40-11=29, Resulting Numbers: [0, 29]
Generated Node #0,2,1: 21:[0, 29] Operation: 40-11=29
Exploring Operation: 11+0=11, Resulting Numbers: [40, 11]
Generated Node #0,2,2: 21:[40, 11] Operation: 11+0=11
Exploring Operation: 11*0=0, Resulting Numbers: [40, 0]
Generated Node #0,2,3: 21:[40, 0] Operation: 11*0=0
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[11, 0], Operations: ['70-70=0', '40*0=0']
Exploring Operation: 11+0=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 11*0=0, Resulting Numbers: [0]
0,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[0, 29], Operations: ['70-70=0', '40-11=29']
Exploring Operation: 0+29=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 29-0=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 0*29=0, Resulting Numbers: [0]
0,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 21:[40, 0], Operations: ['70-70=0', '11*0=0']
Exploring Operation: 40*0=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 40-0=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 40+0=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[40, 11], Operations: ['70-70=0', '11+0=11']
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,21 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,21 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: 21:[70, 11, 30], Operations: ['70-40=30']
Exploring Operation: 70-30=40, Resulting Numbers: [11, 40]
Generated Node #0,1,0: 21:[11, 40] Operation: 70-30=40
Exploring Operation: 30-11=19, Resulting Numbers: [70, 19]
Generated Node #0,1,1: 21:[70, 19] Operation: 30-11=19
Exploring Operation: 70-11=59, Resulting Numbers: [30, 59]
Generated Node #0,1,2: 21:[30, 59] Operation: 70-11=59
Exploring Operation: 70+11=81, Resulting Numbers: [30, 81]
Generated Node #0,1,3: 21:[30, 81] Operation: 70+11=81
Moving to Node #0,0
Current State: 21:[11, 70, 30], Operations: ['70-40=30']
Exploring Operation: 11+70=81, Resulting Numbers: [30, 81]
Generated Node #0,0,0: 21:[30, 81] Operation: 11+70=81
Exploring Operation: 30-11=19, Resulting Numbers: [70, 19]
Generated Node #0,0,1: 21:[70, 19] Operation: 30-11=19
Exploring Operation: 70-11=59, Resulting Numbers: [30, 59]
Generated Node #0,0,2: 21:[30, 59] Operation: 70-11=59
Exploring Operation: 70-30=40, Resulting Numbers: [11, 40]
Generated Node #0,0,3: 21:[11, 40] Operation: 70-30=40
Moving to Node #0,1,0
Current State: 21:[11, 40], Operations: ['70-40=30', '70-30=40']
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[11, 40], Operations: ['70-40=30', '70-30=40']
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,21 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[30, 59], Operations: ['70-40=30', '70-11=59']
Exploring Operation: 30+59=89, Resulting Numbers: [89]
89,21 unequal: No Solution
Exploring Operation: 30*59=1770, Resulting Numbers: [1770]
1770,21 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[30, 59], Operations: ['70-40=30', '70-11=59']
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 30*59=1770, Resulting Numbers: [1770]
1770,21 unequal: No Solution
Exploring Operation: 30+59=89, Resulting Numbers: [89]
89,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[70, 19], Operations: ['70-40=30', '30-11=19']
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,21 unequal: No Solution
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,21 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[70, 19], Operations: ['70-40=30', '30-11=19']
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,21 unequal: No Solution
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,21 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[30, 81], Operations: ['70-40=30', '70+11=81']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,21 unequal: No Solution
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[30, 81], Operations: ['70-40=30', '11+70=81']
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,21 unequal: No Solution
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,21 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,21 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
17,
90,
9,
20
] | 27 | [
"17+20=37",
"90/9=10",
"37-10=27"
] | Current State: 27:[17, 90, 9, 20], Operations: []
Exploring Operation: 17+20=37, Resulting Numbers: [90, 9, 37]
Generated Node #2: [90, 9, 37] from Operation: 17+20=37
Current State: 27:[90, 9, 37], Operations: ['17+20=37']
Exploring Operation: 90/9=10, Resulting Numbers: [37, 10]
Generated Node #3: [37, 10] from Operation: 90/9=10
Current State: 27:[37, 10], Operations: ['17+20=37', '90/9=10']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[17, 90, 9, 20], Operations: []
Exploring Operation: 90-20=70, Resulting Numbers: [17, 9, 70]
Generated Node #0,0: 27:[17, 9, 70] Operation: 90-20=70
Exploring Operation: 90/9=10, Resulting Numbers: [17, 20, 10]
Generated Node #0,1: 27:[17, 20, 10] Operation: 90/9=10
Moving to Node #0,1
Current State: 27:[17, 20, 10], Operations: ['90/9=10']
Exploring Operation: 20-17=3, Resulting Numbers: [10, 3]
Generated Node #0,1,0: 27:[10, 3] Operation: 20-17=3
Exploring Operation: 17+10=27, Resulting Numbers: [20, 27]
Generated Node #0,1,1: 27:[20, 27] Operation: 17+10=27
Moving to Node #0,0
Current State: 27:[17, 9, 70], Operations: ['90-20=70']
Exploring Operation: 70-17=53, Resulting Numbers: [9, 53]
Generated Node #0,0,0: 27:[9, 53] Operation: 70-17=53
Exploring Operation: 70-9=61, Resulting Numbers: [17, 61]
Generated Node #0,0,1: 27:[17, 61] Operation: 70-9=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[9, 53], Operations: ['90-20=70', '70-17=53']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[17, 61], Operations: ['90-20=70', '70-9=61']
Exploring Operation: 17+61=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 27:[10, 3], Operations: ['90/9=10', '20-17=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[20, 27], Operations: ['90/9=10', '17+10=27']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,27 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
31,
49,
29,
74
] | 85 | [
"49-31=18",
"29+74=103",
"103-18=85"
] | Current State: 85:[31, 49, 29, 74], Operations: []
Exploring Operation: 49-31=18, Resulting Numbers: [29, 74, 18]
Generated Node #2: [29, 74, 18] from Operation: 49-31=18
Current State: 85:[29, 74, 18], Operations: ['49-31=18']
Exploring Operation: 29+74=103, Resulting Numbers: [18, 103]
Generated Node #3: [18, 103] from Operation: 29+74=103
Current State: 85:[18, 103], Operations: ['49-31=18', '29+74=103']
Exploring Operation: 103-18=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[31, 49, 29, 74], Operations: []
Exploring Operation: 49-31=18, Resulting Numbers: [29, 74, 18]
Generated Node #0,0: 85:[29, 74, 18] Operation: 49-31=18
Exploring Operation: 49-29=20, Resulting Numbers: [31, 74, 20]
Generated Node #0,1: 85:[31, 74, 20] Operation: 49-29=20
Exploring Operation: 31+49=80, Resulting Numbers: [29, 74, 80]
Generated Node #0,2: 85:[29, 74, 80] Operation: 31+49=80
Moving to Node #0,0
Current State: 85:[29, 74, 18], Operations: ['49-31=18']
Exploring Operation: 29-18=11, Resulting Numbers: [74, 11]
Generated Node #0,0,0: 85:[74, 11] Operation: 29-18=11
Exploring Operation: 74+18=92, Resulting Numbers: [29, 92]
Generated Node #0,0,1: 85:[29, 92] Operation: 74+18=92
Exploring Operation: 29+74=103, Resulting Numbers: [18, 103]
Generated Node #0,0,2: 85:[18, 103] Operation: 29+74=103
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[74, 11], Operations: ['49-31=18', '29-18=11']
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[31, 49, 29, 74], Operations: []
Exploring Operation: 49-31=18, Resulting Numbers: [29, 74, 18]
Generated Node #0,0: 85:[29, 74, 18] Operation: 49-31=18
Moving to Node #0,0
Current State: 85:[29, 74, 18], Operations: ['49-31=18']
Exploring Operation: 29-18=11, Resulting Numbers: [74, 11]
Generated Node #0,0,0: 85:[74, 11] Operation: 29-18=11
Moving to Node #0,0,0
Current State: 85:[74, 11], Operations: ['49-31=18', '29-18=11']
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
38,
73,
27,
14
] | 17 | [
"38*14=532",
"532-73=459",
"459/27=17"
] | Current State: 17:[38, 73, 27, 14], Operations: []
Exploring Operation: 38*14=532, Resulting Numbers: [73, 27, 532]
Generated Node #2: [73, 27, 532] from Operation: 38*14=532
Current State: 17:[73, 27, 532], Operations: ['38*14=532']
Exploring Operation: 532-73=459, Resulting Numbers: [27, 459]
Generated Node #3: [27, 459] from Operation: 532-73=459
Current State: 17:[27, 459], Operations: ['38*14=532', '532-73=459']
Exploring Operation: 459/27=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[38, 73, 27, 14], Operations: []
Exploring Operation: 73-38=35, Resulting Numbers: [27, 14, 35]
Generated Node #0,0: 17:[27, 14, 35] Operation: 73-38=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[27, 14, 35], Operations: ['73-38=35']
Exploring Operation: 35-27=8, Resulting Numbers: [14, 8]
Generated Node #0,0,0: 17:[14, 8] Operation: 35-27=8
Moving to Node #0,0,0
Current State: 17:[14, 8], Operations: ['73-38=35', '35-27=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,17 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 |
[
30,
63,
35,
51
] | 32 | [
"51-30=21",
"63/21=3",
"35-3=32"
] | Current State: 32:[30, 63, 35, 51], Operations: []
Exploring Operation: 51-30=21, Resulting Numbers: [63, 35, 21]
Generated Node #2: [63, 35, 21] from Operation: 51-30=21
Current State: 32:[63, 35, 21], Operations: ['51-30=21']
Exploring Operation: 63/21=3, Resulting Numbers: [35, 3]
Generated Node #3: [35, 3] from Operation: 63/21=3
Current State: 32:[35, 3], Operations: ['51-30=21', '63/21=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[30, 63, 35, 51], Operations: []
Exploring Operation: 63-51=12, Resulting Numbers: [30, 35, 12]
Generated Node #0,0: 32:[30, 35, 12] Operation: 63-51=12
Exploring Operation: 51-35=16, Resulting Numbers: [30, 63, 16]
Generated Node #0,1: 32:[30, 63, 16] Operation: 51-35=16
Exploring Operation: 63-30=33, Resulting Numbers: [35, 51, 33]
Generated Node #0,2: 32:[35, 51, 33] Operation: 63-30=33
Exploring Operation: 63-35=28, Resulting Numbers: [30, 51, 28]
Generated Node #0,3: 32:[30, 51, 28] Operation: 63-35=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[30, 35, 12], Operations: ['63-51=12']
Exploring Operation: 30-12=18, Resulting Numbers: [35, 18]
Generated Node #0,0,0: 32:[35, 18] Operation: 30-12=18
Exploring Operation: 35-12=23, Resulting Numbers: [30, 23]
Generated Node #0,0,1: 32:[30, 23] Operation: 35-12=23
Exploring Operation: 30+12=42, Resulting Numbers: [35, 42]
Generated Node #0,0,2: 32:[35, 42] Operation: 30+12=42
Exploring Operation: 35-30=5, Resulting Numbers: [12, 5]
Generated Node #0,0,3: 32:[12, 5] Operation: 35-30=5
Moving to Node #0,0,0
Current State: 32:[35, 18], Operations: ['63-51=12', '30-12=18']
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,32 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 35*18=630, Resulting Numbers: [630]
630,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[12, 5], Operations: ['63-51=12', '35-30=5']
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,32 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[30, 23], Operations: ['63-51=12', '35-12=23']
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,32 unequal: No Solution
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,32 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[35, 42], Operations: ['63-51=12', '30+12=42']
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,32 unequal: No Solution
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,32 unequal: No Solution
No 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: 32:[35, 51, 33], Operations: ['63-30=33']
Exploring Operation: 51-33=18, Resulting Numbers: [35, 18]
Generated Node #0,2,0: 32:[35, 18] Operation: 51-33=18
Exploring Operation: 51-35=16, Resulting Numbers: [33, 16]
Generated Node #0,2,1: 32:[33, 16] Operation: 51-35=16
Exploring Operation: 35+51=86, Resulting Numbers: [33, 86]
Generated Node #0,2,2: 32:[33, 86] Operation: 35+51=86
Exploring Operation: 35-33=2, Resulting Numbers: [51, 2]
Generated Node #0,2,3: 32:[51, 2] Operation: 35-33=2
Moving to Node #0,2,1
Current State: 32:[33, 16], Operations: ['63-30=33', '51-35=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[35, 18], Operations: ['63-30=33', '51-33=18']
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,32 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 35*18=630, Resulting Numbers: [630]
630,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[51, 2], Operations: ['63-30=33', '35-33=2']
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[33, 86], Operations: ['63-30=33', '35+51=86']
Exploring Operation: 33+86=119, Resulting Numbers: [119]
119,32 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,32 unequal: No Solution
Exploring Operation: 33*86=2838, Resulting Numbers: [2838]
2838,32 unequal: No Solution
No 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: 32:[30, 51, 28], Operations: ['63-35=28']
Exploring Operation: 51-30=21, Resulting Numbers: [28, 21]
Generated Node #0,3,0: 32:[28, 21] Operation: 51-30=21
Exploring Operation: 30+28=58, Resulting Numbers: [51, 58]
Generated Node #0,3,1: 32:[51, 58] Operation: 30+28=58
Exploring Operation: 51-28=23, Resulting Numbers: [30, 23]
Generated Node #0,3,2: 32:[30, 23] Operation: 51-28=23
Exploring Operation: 30-28=2, Resulting Numbers: [51, 2]
Generated Node #0,3,3: 32:[51, 2] Operation: 30-28=2
Moving to Node #0,3,0
Current State: 32:[28, 21], Operations: ['63-35=28', '51-30=21']
Exploring Operation: 28*21=588, Resulting Numbers: [588]
588,32 unequal: No Solution
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[30, 23], Operations: ['63-35=28', '51-28=23']
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,32 unequal: No Solution
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,32 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[51, 2], Operations: ['63-35=28', '30-28=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,32 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[51, 58], Operations: ['63-35=28', '30+28=58']
Exploring Operation: 51+58=109, Resulting Numbers: [109]
109,32 unequal: No Solution
Exploring Operation: 51*58=2958, Resulting Numbers: [2958]
2958,32 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,32 unequal: No Solution
No 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: 32:[30, 63, 16], Operations: ['51-35=16']
Exploring Operation: 63-16=47, Resulting Numbers: [30, 47]
Generated Node #0,1,0: 32:[30, 47] Operation: 63-16=47
Exploring Operation: 30+16=46, Resulting Numbers: [63, 46]
Generated Node #0,1,1: 32:[63, 46] Operation: 30+16=46
Exploring Operation: 30-16=14, Resulting Numbers: [63, 14]
Generated Node #0,1,2: 32:[63, 14] Operation: 30-16=14
Exploring Operation: 63-30=33, Resulting Numbers: [16, 33]
Generated Node #0,1,3: 32:[16, 33] Operation: 63-30=33
Moving to Node #0,1,3
Current State: 32:[16, 33], Operations: ['51-35=16', '63-30=33']
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,32 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[30, 47], Operations: ['51-35=16', '63-16=47']
Exploring Operation: 30*47=1410, Resulting Numbers: [1410]
1410,32 unequal: No Solution
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[63, 14], Operations: ['51-35=16', '30-16=14']
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,32 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[63, 46], Operations: ['51-35=16', '30+16=46']
Exploring Operation: 63+46=109, Resulting Numbers: [109]
109,32 unequal: No Solution
Exploring Operation: 63*46=2898, Resulting Numbers: [2898]
2898,32 unequal: No Solution
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,32 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 |
[
17,
44,
7,
42
] | 22 | [
"44-17=27",
"7+42=49",
"49-27=22"
] | Current State: 22:[17, 44, 7, 42], Operations: []
Exploring Operation: 44-17=27, Resulting Numbers: [7, 42, 27]
Generated Node #2: [7, 42, 27] from Operation: 44-17=27
Current State: 22:[7, 42, 27], Operations: ['44-17=27']
Exploring Operation: 7+42=49, Resulting Numbers: [27, 49]
Generated Node #3: [27, 49] from Operation: 7+42=49
Current State: 22:[27, 49], Operations: ['44-17=27', '7+42=49']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[17, 44, 7, 42], Operations: []
Exploring Operation: 44-42=2, Resulting Numbers: [17, 7, 2]
Generated Node #0,0: 22:[17, 7, 2] Operation: 44-42=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[17, 7, 2], Operations: ['44-42=2']
Exploring Operation: 17-7=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 22:[2, 10] Operation: 17-7=10
Moving to Node #0,0,0
Current State: 22:[2, 10], Operations: ['44-42=2', '17-7=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
36,
66,
17,
4
] | 72 | [
"17*4=68",
"68-66=2",
"36*2=72"
] | Current State: 72:[36, 66, 17, 4], Operations: []
Exploring Operation: 17*4=68, Resulting Numbers: [36, 66, 68]
Generated Node #2: [36, 66, 68] from Operation: 17*4=68
Current State: 72:[36, 66, 68], Operations: ['17*4=68']
Exploring Operation: 68-66=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 68-66=2
Current State: 72:[36, 2], Operations: ['17*4=68', '68-66=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[36, 66, 17, 4], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [17, 4, 30]
Generated Node #0,0: 72:[17, 4, 30] Operation: 66-36=30
Exploring Operation: 36/4=9, Resulting Numbers: [66, 17, 9]
Generated Node #0,1: 72:[66, 17, 9] Operation: 36/4=9
Exploring Operation: 66+4=70, Resulting Numbers: [36, 17, 70]
Generated Node #0,2: 72:[36, 17, 70] Operation: 66+4=70
Exploring Operation: 36-17=19, Resulting Numbers: [66, 4, 19]
Generated Node #0,3: 72:[66, 4, 19] Operation: 36-17=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[36, 17, 70], Operations: ['66+4=70']
Exploring Operation: 70-17=53, Resulting Numbers: [36, 53]
Generated Node #0,2,0: 72:[36, 53] Operation: 70-17=53
Exploring Operation: 17+70=87, Resulting Numbers: [36, 87]
Generated Node #0,2,1: 72:[36, 87] Operation: 17+70=87
Exploring Operation: 70-36=34, Resulting Numbers: [17, 34]
Generated Node #0,2,2: 72:[17, 34] Operation: 70-36=34
Exploring Operation: 36-17=19, Resulting Numbers: [70, 19]
Generated Node #0,2,3: 72:[70, 19] Operation: 36-17=19
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 72:[17, 34], Operations: ['66+4=70', '70-36=34']
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,72 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,72 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 72:[70, 19], Operations: ['66+4=70', '36-17=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,72 unequal: No Solution
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,72 unequal: No Solution
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[36, 87], Operations: ['66+4=70', '17+70=87']
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,72 unequal: No Solution
Exploring Operation: 36+87=123, Resulting Numbers: [123]
123,72 unequal: No Solution
Exploring Operation: 36*87=3132, Resulting Numbers: [3132]
3132,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[36, 53], Operations: ['66+4=70', '70-17=53']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,72 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[17, 4, 30], Operations: ['66-36=30']
Exploring Operation: 4+30=34, Resulting Numbers: [17, 34]
Generated Node #0,0,0: 72:[17, 34] Operation: 4+30=34
Exploring Operation: 30-4=26, Resulting Numbers: [17, 26]
Generated Node #0,0,1: 72:[17, 26] Operation: 30-4=26
Exploring Operation: 30-17=13, Resulting Numbers: [4, 13]
Generated Node #0,0,2: 72:[4, 13] Operation: 30-17=13
Exploring Operation: 17-4=13, Resulting Numbers: [30, 13]
Generated Node #0,0,3: 72:[30, 13] Operation: 17-4=13
Moving to Node #0,0,2
Current State: 72:[4, 13], Operations: ['66-36=30', '30-17=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[17, 26], Operations: ['66-36=30', '30-4=26']
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,72 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[17, 34], Operations: ['66-36=30', '4+30=34']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,72 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[30, 13], Operations: ['66-36=30', '17-4=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,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:[66, 17, 9], Operations: ['36/4=9']
Exploring Operation: 17-9=8, Resulting Numbers: [66, 8]
Generated Node #0,1,0: 72:[66, 8] Operation: 17-9=8
Exploring Operation: 17+9=26, Resulting Numbers: [66, 26]
Generated Node #0,1,1: 72:[66, 26] Operation: 17+9=26
Exploring Operation: 66+9=75, Resulting Numbers: [17, 75]
Generated Node #0,1,2: 72:[17, 75] Operation: 66+9=75
Exploring Operation: 66+17=83, Resulting Numbers: [9, 83]
Generated Node #0,1,3: 72:[9, 83] Operation: 66+17=83
Moving to Node #0,1,2
Current State: 72:[17, 75], Operations: ['36/4=9', '66+9=75']
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,72 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,72 unequal: No Solution
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[66, 8], Operations: ['36/4=9', '17-9=8']
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,72 unequal: No Solution
Exploring Operation: 66*8=528, Resulting Numbers: [528]
528,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[66, 26], Operations: ['36/4=9', '17+9=26']
Exploring Operation: 66*26=1716, Resulting Numbers: [1716]
1716,72 unequal: No Solution
Exploring Operation: 66+26=92, Resulting Numbers: [92]
92,72 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[9, 83], Operations: ['36/4=9', '66+17=83']
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Exploring Operation: 9+83=92, Resulting Numbers: [92]
92,72 unequal: No Solution
Exploring Operation: 9*83=747, Resulting Numbers: [747]
747,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:[66, 4, 19], Operations: ['36-17=19']
Exploring Operation: 4+19=23, Resulting Numbers: [66, 23]
Generated Node #0,3,0: 72:[66, 23] Operation: 4+19=23
Exploring Operation: 66+4=70, Resulting Numbers: [19, 70]
Generated Node #0,3,1: 72:[19, 70] Operation: 66+4=70
Exploring Operation: 19-4=15, Resulting Numbers: [66, 15]
Generated Node #0,3,2: 72:[66, 15] Operation: 19-4=15
Exploring Operation: 4*19=76, Resulting Numbers: [66, 76]
Generated Node #0,3,3: 72:[66, 76] Operation: 4*19=76
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 72:[19, 70], Operations: ['36-17=19', '66+4=70']
Exploring Operation: 19*70=1330, Resulting Numbers: [1330]
1330,72 unequal: No Solution
Exploring Operation: 19+70=89, Resulting Numbers: [89]
89,72 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 72:[66, 23], Operations: ['36-17=19', '4+19=23']
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,72 unequal: No Solution
Exploring Operation: 66*23=1518, Resulting Numbers: [1518]
1518,72 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 72:[66, 15], Operations: ['36-17=19', '19-4=15']
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,72 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,72 unequal: No Solution
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 72:[66, 76], Operations: ['36-17=19', '4*19=76']
Exploring Operation: 66*76=5016, Resulting Numbers: [5016]
5016,72 unequal: No Solution
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 66+76=142, Resulting Numbers: [142]
142,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
56,
3,
3,
1
] | 18 | [
"56-3=53",
"1+53=54",
"54/3=18"
] | Current State: 18:[56, 3, 3, 1], Operations: []
Exploring Operation: 56-3=53, Resulting Numbers: [1, 53]
Generated Node #2: [1, 53] from Operation: 56-3=53
Current State: 18:[1, 53], Operations: ['56-3=53']
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,18 equal: Goal Reached
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[56, 3, 3, 1], Operations: []
Exploring Operation: 56-3=53, Resulting Numbers: [3, 1, 53]
Generated Node #0,0: 18:[3, 1, 53] Operation: 56-3=53
Exploring Operation: 56-3=53, Resulting Numbers: [3, 1, 53]
Generated Node #0,1: 18:[3, 1, 53] Operation: 56-3=53
Exploring Operation: 56-1=55, Resulting Numbers: [3, 3, 55]
Generated Node #0,2: 18:[3, 3, 55] Operation: 56-1=55
Moving to Node #0,0
Current State: 18:[3, 1, 53], Operations: ['56-3=53']
Exploring Operation: 3*1=3, Resulting Numbers: [53, 3]
Generated Node #0,0,0: 18:[53, 3] Operation: 3*1=3
Exploring Operation: 53-1=52, Resulting Numbers: [3, 52]
Generated Node #0,0,1: 18:[3, 52] Operation: 53-1=52
Exploring Operation: 53-3=50, Resulting Numbers: [1, 50]
Generated Node #0,0,2: 18:[1, 50] Operation: 53-3=50
Moving to Node #0,1
Current State: 18:[3, 1, 53], Operations: ['56-3=53']
Exploring Operation: 3*1=3, Resulting Numbers: [53, 3]
Generated Node #0,1,0: 18:[53, 3] Operation: 3*1=3
Exploring Operation: 53-3=50, Resulting Numbers: [1, 50]
Generated Node #0,1,1: 18:[1, 50] Operation: 53-3=50
Exploring Operation: 53-1=52, Resulting Numbers: [3, 52]
Generated Node #0,1,2: 18:[3, 52] Operation: 53-1=52
Moving to Node #0,2
Current State: 18:[3, 3, 55], Operations: ['56-1=55']
Exploring Operation: 55-3=52, Resulting Numbers: [3, 52]
Generated Node #0,2,0: 18:[3, 52] Operation: 55-3=52
Exploring Operation: 55-3=52, Resulting Numbers: [3, 52]
Generated Node #0,2,1: 18:[3, 52] Operation: 55-3=52
Exploring Operation: 3+3=6, Resulting Numbers: [55, 6]
Generated Node #0,2,2: 18:[55, 6] Operation: 3+3=6
Moving to Node #0,0,2
Current State: 18:[1, 50], Operations: ['56-3=53', '53-3=50']
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[1, 50], Operations: ['56-3=53', '53-3=50']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[3, 52], Operations: ['56-1=55', '55-3=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,18 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[3, 52], Operations: ['56-1=55', '55-3=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[3, 52], Operations: ['56-3=53', '53-1=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,18 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[3, 52], Operations: ['56-3=53', '53-1=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,18 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[53, 3], Operations: ['56-3=53', '3*1=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,18 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[53, 3], Operations: ['56-3=53', '3*1=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,18 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[55, 6], Operations: ['56-1=55', '3+3=6']
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,18 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
31,
37,
5,
7
] | 29 | [
"37-31=6",
"5*7=35",
"35-6=29"
] | Current State: 29:[31, 37, 5, 7], Operations: []
Exploring Operation: 37-31=6, Resulting Numbers: [5, 7, 6]
Generated Node #2: [5, 7, 6] from Operation: 37-31=6
Current State: 29:[5, 7, 6], Operations: ['37-31=6']
Exploring Operation: 5*7=35, Resulting Numbers: [6, 35]
Generated Node #3: [6, 35] from Operation: 5*7=35
Current State: 29:[6, 35], Operations: ['37-31=6', '5*7=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[31, 37, 5, 7], Operations: []
Exploring Operation: 5*7=35, Resulting Numbers: [31, 37, 35]
Generated Node #0,0: 29:[31, 37, 35] Operation: 5*7=35
Exploring Operation: 5+7=12, Resulting Numbers: [31, 37, 12]
Generated Node #0,1: 29:[31, 37, 12] Operation: 5+7=12
Exploring Operation: 37-7=30, Resulting Numbers: [31, 5, 30]
Generated Node #0,2: 29:[31, 5, 30] Operation: 37-7=30
Exploring Operation: 37-5=32, Resulting Numbers: [31, 7, 32]
Generated Node #0,3: 29:[31, 7, 32] Operation: 37-5=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[31, 37, 35], Operations: ['5*7=35']
Exploring Operation: 35-31=4, Resulting Numbers: [37, 4]
Generated Node #0,0,0: 29:[37, 4] Operation: 35-31=4
Exploring Operation: 37-35=2, Resulting Numbers: [31, 2]
Generated Node #0,0,1: 29:[31, 2] Operation: 37-35=2
Exploring Operation: 31+37=68, Resulting Numbers: [35, 68]
Generated Node #0,0,2: 29:[35, 68] Operation: 31+37=68
Exploring Operation: 37-31=6, Resulting Numbers: [35, 6]
Generated Node #0,0,3: 29:[35, 6] Operation: 37-31=6
Moving to Node #0,0,1
Current State: 29:[31, 2], Operations: ['5*7=35', '37-35=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[31, 37, 5, 7], Operations: []
Exploring Operation: 5*7=35, Resulting Numbers: [31, 37, 35]
Generated Node #0,0: 29:[31, 37, 35] Operation: 5*7=35
Moving to Node #0,0
Current State: 29:[31, 37, 35], Operations: ['5*7=35']
Exploring Operation: 37-35=2, Resulting Numbers: [31, 2]
Generated Node #0,0,1: 29:[31, 2] Operation: 37-35=2
Moving to Node #0,0,1
Current State: 29:[31, 2], Operations: ['5*7=35', '37-35=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
34,
4,
84,
46
] | 32 | [
"46-4=42",
"84/42=2",
"34-2=32"
] | Current State: 32:[34, 4, 84, 46], Operations: []
Exploring Operation: 46-4=42, Resulting Numbers: [34, 84, 42]
Generated Node #2: [34, 84, 42] from Operation: 46-4=42
Current State: 32:[34, 84, 42], Operations: ['46-4=42']
Exploring Operation: 84/42=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 84/42=2
Current State: 32:[34, 2], Operations: ['46-4=42', '84/42=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[34, 4, 84, 46], Operations: []
Exploring Operation: 84-46=38, Resulting Numbers: [34, 4, 38]
Generated Node #0,0: 32:[34, 4, 38] Operation: 84-46=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[34, 4, 38], Operations: ['84-46=38']
Exploring Operation: 38-34=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 32:[4, 4] Operation: 38-34=4
Moving to Node #0,0,0
Current State: 32:[4, 4], Operations: ['84-46=38', '38-34=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,32 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 |
[
6,
27,
25,
99
] | 33 | [
"27-25=2",
"6/2=3",
"99/3=33"
] | Current State: 33:[6, 27, 25, 99], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [6, 99, 2]
Generated Node #2: [6, 99, 2] from Operation: 27-25=2
Current State: 33:[6, 99, 2], Operations: ['27-25=2']
Exploring Operation: 6/2=3, Resulting Numbers: [99, 3]
Generated Node #3: [99, 3] from Operation: 6/2=3
Current State: 33:[99, 3], Operations: ['27-25=2', '6/2=3']
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[6, 27, 25, 99], Operations: []
Exploring Operation: 99-27=72, Resulting Numbers: [6, 25, 72]
Generated Node #0,0: 33:[6, 25, 72] Operation: 99-27=72
Exploring Operation: 99-25=74, Resulting Numbers: [6, 27, 74]
Generated Node #0,1: 33:[6, 27, 74] Operation: 99-25=74
Moving to Node #0,0
Current State: 33:[6, 25, 72], Operations: ['99-27=72']
Exploring Operation: 72/6=12, Resulting Numbers: [25, 12]
Generated Node #0,0,0: 33:[25, 12] Operation: 72/6=12
Exploring Operation: 72-25=47, Resulting Numbers: [6, 47]
Generated Node #0,0,1: 33:[6, 47] Operation: 72-25=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[25, 12], Operations: ['99-27=72', '72/6=12']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[6, 47], Operations: ['99-27=72', '72-25=47']
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 33:[6, 27, 74], Operations: ['99-25=74']
Exploring Operation: 74-27=47, Resulting Numbers: [6, 47]
Generated Node #0,1,0: 33:[6, 47] Operation: 74-27=47
Exploring Operation: 6+27=33, Resulting Numbers: [74, 33]
Generated Node #0,1,1: 33:[74, 33] Operation: 6+27=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[6, 47], Operations: ['99-25=74', '74-27=47']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,33 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[74, 33], Operations: ['99-25=74', '6+27=33']
Exploring Operation: 74+33=107, Resulting Numbers: [107]
107,33 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
66,
4,
60,
62
] | 16 | [
"66+60=126",
"126-62=64",
"64/4=16"
] | Current State: 16:[66, 4, 60, 62], Operations: []
Exploring Operation: 66+60=126, Resulting Numbers: [4, 62, 126]
Generated Node #2: [4, 62, 126] from Operation: 66+60=126
Current State: 16:[4, 62, 126], Operations: ['66+60=126']
Exploring Operation: 126-62=64, Resulting Numbers: [4, 64]
Generated Node #3: [4, 64] from Operation: 126-62=64
Current State: 16:[4, 64], Operations: ['66+60=126', '126-62=64']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[66, 4, 60, 62], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [4, 60, 4]
Generated Node #0,0: 16:[4, 60, 4] Operation: 66-62=4
Exploring Operation: 66-60=6, Resulting Numbers: [4, 62, 6]
Generated Node #0,1: 16:[4, 62, 6] Operation: 66-60=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[4, 60, 4], Operations: ['66-62=4']
Exploring Operation: 60/4=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 16:[4, 15] Operation: 60/4=15
Exploring Operation: 60/4=15, Resulting Numbers: [4, 15]
Generated Node #0,0,1: 16:[4, 15] Operation: 60/4=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[4, 15], Operations: ['66-62=4', '60/4=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 16:[4, 15], Operations: ['66-62=4', '60/4=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[4, 62, 6], Operations: ['66-60=6']
Exploring Operation: 62-4=58, Resulting Numbers: [6, 58]
Generated Node #0,1,0: 16:[6, 58] Operation: 62-4=58
Exploring Operation: 62-6=56, Resulting Numbers: [4, 56]
Generated Node #0,1,1: 16:[4, 56] Operation: 62-6=56
Moving to Node #0,1,1
Current State: 16:[4, 56], Operations: ['66-60=6', '62-6=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[6, 58], Operations: ['66-60=6', '62-4=58']
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
32,
23,
12,
57
] | 100 | [
"32+23=55",
"57-12=45",
"55+45=100"
] | Current State: 100:[32, 23, 12, 57], Operations: []
Exploring Operation: 32+23=55, Resulting Numbers: [12, 57, 55]
Generated Node #2: [12, 57, 55] from Operation: 32+23=55
Current State: 100:[12, 57, 55], Operations: ['32+23=55']
Exploring Operation: 57-12=45, Resulting Numbers: [55, 45]
Generated Node #3: [55, 45] from Operation: 57-12=45
Current State: 100:[55, 45], Operations: ['32+23=55', '57-12=45']
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[32, 23, 12, 57], Operations: []
Exploring Operation: 32+23=55, Resulting Numbers: [12, 57, 55]
Generated Node #0,0: 100:[12, 57, 55] Operation: 32+23=55
Exploring Operation: 57-32=25, Resulting Numbers: [23, 12, 25]
Generated Node #0,1: 100:[23, 12, 25] Operation: 57-32=25
Exploring Operation: 57-12=45, Resulting Numbers: [32, 23, 45]
Generated Node #0,2: 100:[32, 23, 45] Operation: 57-12=45
Exploring Operation: 32-23=9, Resulting Numbers: [12, 57, 9]
Generated Node #0,3: 100:[12, 57, 9] Operation: 32-23=9
Exploring Operation: 32-12=20, Resulting Numbers: [23, 57, 20]
Generated Node #0,4: 100:[23, 57, 20] Operation: 32-12=20
Moving to Node #0,1
Current State: 100:[23, 12, 25], Operations: ['57-32=25']
Exploring Operation: 23+12=35, Resulting Numbers: [25, 35]
Generated Node #0,1,0: 100:[25, 35] Operation: 23+12=35
Exploring Operation: 23+25=48, Resulting Numbers: [12, 48]
Generated Node #0,1,1: 100:[12, 48] Operation: 23+25=48
Exploring Operation: 23-12=11, Resulting Numbers: [25, 11]
Generated Node #0,1,2: 100:[25, 11] Operation: 23-12=11
Exploring Operation: 25-23=2, Resulting Numbers: [12, 2]
Generated Node #0,1,3: 100:[12, 2] Operation: 25-23=2
Exploring Operation: 25-12=13, Resulting Numbers: [23, 13]
Generated Node #0,1,4: 100:[23, 13] Operation: 25-12=13
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[25, 11], Operations: ['57-32=25', '23-12=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,100 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 100:[12, 2], Operations: ['57-32=25', '25-23=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[12, 48], Operations: ['57-32=25', '23+25=48']
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,100 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,100 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 100:[23, 13], Operations: ['57-32=25', '25-12=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,100 unequal: No Solution
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[25, 35], Operations: ['57-32=25', '23+12=35']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 100:[23, 57, 20], Operations: ['32-12=20']
Exploring Operation: 23+57=80, Resulting Numbers: [20, 80]
Generated Node #0,4,0: 100:[20, 80] Operation: 23+57=80
Exploring Operation: 23+20=43, Resulting Numbers: [57, 43]
Generated Node #0,4,1: 100:[57, 43] Operation: 23+20=43
Exploring Operation: 57-23=34, Resulting Numbers: [20, 34]
Generated Node #0,4,2: 100:[20, 34] Operation: 57-23=34
Exploring Operation: 23-20=3, Resulting Numbers: [57, 3]
Generated Node #0,4,3: 100:[57, 3] Operation: 23-20=3
Exploring Operation: 57-20=37, Resulting Numbers: [23, 37]
Generated Node #0,4,4: 100:[23, 37] Operation: 57-20=37
Moving to Node #0,3
Current State: 100:[12, 57, 9], Operations: ['32-23=9']
Exploring Operation: 12+9=21, Resulting Numbers: [57, 21]
Generated Node #0,3,0: 100:[57, 21] Operation: 12+9=21
Exploring Operation: 12*9=108, Resulting Numbers: [57, 108]
Generated Node #0,3,1: 100:[57, 108] Operation: 12*9=108
Exploring Operation: 12-9=3, Resulting Numbers: [57, 3]
Generated Node #0,3,2: 100:[57, 3] Operation: 12-9=3
Exploring Operation: 57-9=48, Resulting Numbers: [12, 48]
Generated Node #0,3,3: 100:[12, 48] Operation: 57-9=48
Exploring Operation: 57-12=45, Resulting Numbers: [9, 45]
Generated Node #0,3,4: 100:[9, 45] Operation: 57-12=45
Moving to Node #0,0
Current State: 100:[12, 57, 55], Operations: ['32+23=55']
Exploring Operation: 57-12=45, Resulting Numbers: [55, 45]
Generated Node #0,0,0: 100:[55, 45] Operation: 57-12=45
Exploring Operation: 12+57=69, Resulting Numbers: [55, 69]
Generated Node #0,0,1: 100:[55, 69] Operation: 12+57=69
Exploring Operation: 57-55=2, Resulting Numbers: [12, 2]
Generated Node #0,0,2: 100:[12, 2] Operation: 57-55=2
Exploring Operation: 55-12=43, Resulting Numbers: [57, 43]
Generated Node #0,0,3: 100:[57, 43] Operation: 55-12=43
Exploring Operation: 57+55=112, Resulting Numbers: [12, 112]
Generated Node #0,0,4: 100:[12, 112] Operation: 57+55=112
Moving to Node #0,2
Current State: 100:[32, 23, 45], Operations: ['57-12=45']
Exploring Operation: 45-23=22, Resulting Numbers: [32, 22]
Generated Node #0,2,0: 100:[32, 22] Operation: 45-23=22
Exploring Operation: 45-32=13, Resulting Numbers: [23, 13]
Generated Node #0,2,1: 100:[23, 13] Operation: 45-32=13
Exploring Operation: 32+23=55, Resulting Numbers: [45, 55]
Generated Node #0,2,2: 100:[45, 55] Operation: 32+23=55
Exploring Operation: 32+45=77, Resulting Numbers: [23, 77]
Generated Node #0,2,3: 100:[23, 77] Operation: 32+45=77
Exploring Operation: 32-23=9, Resulting Numbers: [45, 9]
Generated Node #0,2,4: 100:[45, 9] Operation: 32-23=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[23, 13], Operations: ['57-12=45', '45-32=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,100 unequal: No Solution
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 100:[45, 9], Operations: ['57-12=45', '32-23=9']
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,100 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[32, 22], Operations: ['57-12=45', '45-23=22']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[45, 55], Operations: ['57-12=45', '32+23=55']
Exploring Operation: 45+55=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[32, 23, 12, 57], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [32, 23, 45]
Generated Node #0,2: 100:[32, 23, 45] Operation: 57-12=45
Moving to Node #0,2
Current State: 100:[32, 23, 45], Operations: ['57-12=45']
Exploring Operation: 32+23=55, Resulting Numbers: [45, 55]
Generated Node #0,2,2: 100:[45, 55] Operation: 32+23=55
Moving to Node #0,2,2
Current State: 100:[45, 55], Operations: ['57-12=45', '32+23=55']
Exploring Operation: 45+55=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_5 | sum_heuristic |
[
56,
15,
42,
57
] | 14 | [
"56*15=840",
"840-42=798",
"798/57=14"
] | Current State: 14:[56, 15, 42, 57], Operations: []
Exploring Operation: 56*15=840, Resulting Numbers: [42, 57, 840]
Generated Node #2: [42, 57, 840] from Operation: 56*15=840
Current State: 14:[42, 57, 840], Operations: ['56*15=840']
Exploring Operation: 840-42=798, Resulting Numbers: [57, 798]
Generated Node #3: [57, 798] from Operation: 840-42=798
Current State: 14:[57, 798], Operations: ['56*15=840', '840-42=798']
Exploring Operation: 798/57=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[56, 15, 42, 57], Operations: []
Exploring Operation: 57-56=1, Resulting Numbers: [15, 42, 1]
Generated Node #0,0: 14:[15, 42, 1] Operation: 57-56=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[15, 42, 1], Operations: ['57-56=1']
Exploring Operation: 42-15=27, Resulting Numbers: [1, 27]
Generated Node #0,0,0: 14:[1, 27] Operation: 42-15=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[1, 27], Operations: ['57-56=1', '42-15=27']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
11,
1,
71,
52
] | 30 | [
"11*1=11",
"71-52=19",
"11+19=30"
] | Current State: 30:[11, 1, 71, 52], Operations: []
Exploring Operation: 11*1=11, Resulting Numbers: [71, 52, 11]
Generated Node #2: [71, 52, 11] from Operation: 11*1=11
Current State: 30:[71, 52, 11], Operations: ['11*1=11']
Exploring Operation: 71-52=19, Resulting Numbers: [11, 19]
Generated Node #3: [11, 19] from Operation: 71-52=19
Current State: 30:[11, 19], Operations: ['11*1=11', '71-52=19']
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[11, 1, 71, 52], Operations: []
Exploring Operation: 71-11=60, Resulting Numbers: [1, 52, 60]
Generated Node #0,0: 30:[1, 52, 60] Operation: 71-11=60
Exploring Operation: 71-52=19, Resulting Numbers: [11, 1, 19]
Generated Node #0,1: 30:[11, 1, 19] Operation: 71-52=19
Moving to Node #0,1
Current State: 30:[11, 1, 19], Operations: ['71-52=19']
Exploring Operation: 19-11=8, Resulting Numbers: [1, 8]
Generated Node #0,1,0: 30:[1, 8] Operation: 19-11=8
Exploring Operation: 11+19=30, Resulting Numbers: [1, 30]
Generated Node #0,1,1: 30:[1, 30] Operation: 11+19=30
Moving to Node #0,0
Current State: 30:[1, 52, 60], Operations: ['71-11=60']
Exploring Operation: 52-1=51, Resulting Numbers: [60, 51]
Generated Node #0,0,0: 30:[60, 51] Operation: 52-1=51
Exploring Operation: 60-52=8, Resulting Numbers: [1, 8]
Generated Node #0,0,1: 30:[1, 8] Operation: 60-52=8
Moving to Node #0,1,1
Current State: 30:[1, 30], Operations: ['71-52=19', '11+19=30']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[11, 1, 71, 52], Operations: []
Exploring Operation: 71-52=19, Resulting Numbers: [11, 1, 19]
Generated Node #0,1: 30:[11, 1, 19] Operation: 71-52=19
Moving to Node #0,1
Current State: 30:[11, 1, 19], Operations: ['71-52=19']
Exploring Operation: 11+19=30, Resulting Numbers: [1, 30]
Generated Node #0,1,1: 30:[1, 30] Operation: 11+19=30
Moving to Node #0,1,1
Current State: 30:[1, 30], Operations: ['71-52=19', '11+19=30']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
71,
63,
15,
14
] | 49 | [
"71*14=994",
"63*15=945",
"994-945=49"
] | Current State: 49:[71, 63, 15, 14], Operations: []
Exploring Operation: 71*14=994, Resulting Numbers: [63, 15, 994]
Generated Node #2: [63, 15, 994] from Operation: 71*14=994
Current State: 49:[63, 15, 994], Operations: ['71*14=994']
Exploring Operation: 63*15=945, Resulting Numbers: [994, 945]
Generated Node #3: [994, 945] from Operation: 63*15=945
Current State: 49:[994, 945], Operations: ['71*14=994', '63*15=945']
Exploring Operation: 994-945=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[71, 63, 15, 14], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [15, 14, 8]
Generated Node #0,0: 49:[15, 14, 8] Operation: 71-63=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[15, 14, 8], Operations: ['71-63=8']
Exploring Operation: 15-14=1, Resulting Numbers: [8, 1]
Generated Node #0,0,0: 49:[8, 1] Operation: 15-14=1
Moving to Node #0,0,0
Current State: 49:[8, 1], Operations: ['71-63=8', '15-14=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
71,
6,
4,
4
] | 66 | [
"71-6=65",
"4/4=1",
"65+1=66"
] | Current State: 66:[71, 6, 4, 4], Operations: []
Exploring Operation: 71-6=65, Resulting Numbers: [4, 4, 65]
Generated Node #2: [4, 4, 65] from Operation: 71-6=65
Current State: 66:[4, 4, 65], Operations: ['71-6=65']
Exploring Operation: 4/4=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 4/4=1
Current State: 66:[65, 1], Operations: ['71-6=65', '4/4=1']
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[71, 6, 4, 4], Operations: []
Exploring Operation: 71-4=67, Resulting Numbers: [6, 4, 67]
Generated Node #0,0: 66:[6, 4, 67] Operation: 71-4=67
Moving to Node #0,0
Current State: 66:[6, 4, 67], Operations: ['71-4=67']
Exploring Operation: 6-4=2, Resulting Numbers: [67, 2]
Generated Node #0,0,0: 66:[67, 2] Operation: 6-4=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[67, 2], Operations: ['71-4=67', '6-4=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
52,
43,
3,
2
] | 95 | [
"52+43=95",
"3-2=1",
"95*1=95"
] | Current State: 95:[52, 43, 3, 2], Operations: []
Exploring Operation: 52+43=95, Resulting Numbers: [3, 2, 95]
Generated Node #2: [3, 2, 95] from Operation: 52+43=95
Current State: 95:[3, 2, 95], Operations: ['52+43=95']
Exploring Operation: 3-2=1, Resulting Numbers: [95, 1]
Generated Node #3: [95, 1] from Operation: 3-2=1
Current State: 95:[95, 1], Operations: ['52+43=95', '3-2=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[52, 43, 3, 2], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [3, 2, 9]
Generated Node #0,0: 95:[3, 2, 9] Operation: 52-43=9
Exploring Operation: 52/2=26, Resulting Numbers: [43, 3, 26]
Generated Node #0,1: 95:[43, 3, 26] Operation: 52/2=26
Exploring Operation: 52+43=95, Resulting Numbers: [3, 2, 95]
Generated Node #0,2: 95:[3, 2, 95] Operation: 52+43=95
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[3, 2, 95], Operations: ['52+43=95']
Exploring Operation: 3*2=6, Resulting Numbers: [95, 6]
Generated Node #0,2,0: 95:[95, 6] Operation: 3*2=6
Exploring Operation: 3-2=1, Resulting Numbers: [95, 1]
Generated Node #0,2,1: 95:[95, 1] Operation: 3-2=1
Exploring Operation: 3+2=5, Resulting Numbers: [95, 5]
Generated Node #0,2,2: 95:[95, 5] Operation: 3+2=5
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[95, 5], Operations: ['52+43=95', '3+2=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,95 unequal: No Solution
No 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: 95:[95, 6], Operations: ['52+43=95', '3*2=6']
Exploring Operation: 95+6=101, Resulting Numbers: [101]
101,95 unequal: No Solution
Exploring Operation: 95*6=570, Resulting Numbers: [570]
570,95 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,95 unequal: No Solution
No 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: 95:[95, 1], Operations: ['52+43=95', '3-2=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[52, 43, 3, 2], Operations: []
Exploring Operation: 52+43=95, Resulting Numbers: [3, 2, 95]
Generated Node #0,2: 95:[3, 2, 95] Operation: 52+43=95
Moving to Node #0,2
Current State: 95:[3, 2, 95], Operations: ['52+43=95']
Exploring Operation: 3-2=1, Resulting Numbers: [95, 1]
Generated Node #0,2,1: 95:[95, 1] Operation: 3-2=1
Moving to Node #0,2,1
Current State: 95:[95, 1], Operations: ['52+43=95', '3-2=1']
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
5,
61,
55,
6
] | 36 | [
"5*6=30",
"61-55=6",
"30+6=36"
] | Current State: 36:[5, 61, 55, 6], Operations: []
Exploring Operation: 5*6=30, Resulting Numbers: [61, 55, 30]
Generated Node #2: [61, 55, 30] from Operation: 5*6=30
Current State: 36:[61, 55, 30], Operations: ['5*6=30']
Exploring Operation: 61-55=6, Resulting Numbers: [30, 6]
Generated Node #3: [30, 6] from Operation: 61-55=6
Current State: 36:[30, 6], Operations: ['5*6=30', '61-55=6']
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[5, 61, 55, 6], Operations: []
Exploring Operation: 61-55=6, Resulting Numbers: [5, 6, 6]
Generated Node #0,0: 36:[5, 6, 6] Operation: 61-55=6
Exploring Operation: 55/5=11, Resulting Numbers: [61, 6, 11]
Generated Node #0,1: 36:[61, 6, 11] Operation: 55/5=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[5, 6, 6], Operations: ['61-55=6']
Exploring Operation: 5+6=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 36:[6, 11] Operation: 5+6=11
Exploring Operation: 6-5=1, Resulting Numbers: [6, 1]
Generated Node #0,0,1: 36:[6, 1] Operation: 6-5=1
Moving to Node #0,0,0
Current State: 36:[6, 11], Operations: ['61-55=6', '5+6=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[6, 1], Operations: ['61-55=6', '6-5=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[61, 6, 11], Operations: ['55/5=11']
Exploring Operation: 61-6=55, Resulting Numbers: [11, 55]
Generated Node #0,1,0: 36:[11, 55] Operation: 61-6=55
Exploring Operation: 61-11=50, Resulting Numbers: [6, 50]
Generated Node #0,1,1: 36:[6, 50] Operation: 61-11=50
Moving to Node #0,1,1
Current State: 36:[6, 50], Operations: ['55/5=11', '61-11=50']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[11, 55], Operations: ['55/5=11', '61-6=55']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,36 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 |
[
94,
61,
17,
7
] | 86 | [
"94-61=33",
"17*7=119",
"119-33=86"
] | Current State: 86:[94, 61, 17, 7], Operations: []
Exploring Operation: 94-61=33, Resulting Numbers: [17, 7, 33]
Generated Node #2: [17, 7, 33] from Operation: 94-61=33
Current State: 86:[17, 7, 33], Operations: ['94-61=33']
Exploring Operation: 17*7=119, Resulting Numbers: [33, 119]
Generated Node #3: [33, 119] from Operation: 17*7=119
Current State: 86:[33, 119], Operations: ['94-61=33', '17*7=119']
Exploring Operation: 119-33=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[94, 61, 17, 7], Operations: []
Exploring Operation: 94-61=33, Resulting Numbers: [17, 7, 33]
Generated Node #0,0: 86:[17, 7, 33] Operation: 94-61=33
Exploring Operation: 61+17=78, Resulting Numbers: [94, 7, 78]
Generated Node #0,1: 86:[94, 7, 78] Operation: 61+17=78
Exploring Operation: 61-17=44, Resulting Numbers: [94, 7, 44]
Generated Node #0,2: 86:[94, 7, 44] Operation: 61-17=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[94, 7, 44], Operations: ['61-17=44']
Exploring Operation: 94-7=87, Resulting Numbers: [44, 87]
Generated Node #0,2,0: 86:[44, 87] Operation: 94-7=87
Exploring Operation: 94-44=50, Resulting Numbers: [7, 50]
Generated Node #0,2,1: 86:[7, 50] Operation: 94-44=50
Exploring Operation: 44-7=37, Resulting Numbers: [94, 37]
Generated Node #0,2,2: 86:[94, 37] Operation: 44-7=37
Moving to Node #0,2,0
Current State: 86:[44, 87], Operations: ['61-17=44', '94-7=87']
Exploring Operation: 44+87=131, Resulting Numbers: [131]
131,86 unequal: No Solution
Exploring Operation: 44*87=3828, Resulting Numbers: [3828]
3828,86 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[7, 50], Operations: ['61-17=44', '94-44=50']
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,86 unequal: No Solution
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[94, 37], Operations: ['61-17=44', '44-7=37']
Exploring Operation: 94*37=3478, Resulting Numbers: [3478]
3478,86 unequal: No Solution
Exploring Operation: 94+37=131, Resulting Numbers: [131]
131,86 unequal: No Solution
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[94, 7, 78], Operations: ['61+17=78']
Exploring Operation: 7+78=85, Resulting Numbers: [94, 85]
Generated Node #0,1,0: 86:[94, 85] Operation: 7+78=85
Exploring Operation: 94-7=87, Resulting Numbers: [78, 87]
Generated Node #0,1,1: 86:[78, 87] Operation: 94-7=87
Exploring Operation: 94-78=16, Resulting Numbers: [7, 16]
Generated Node #0,1,2: 86:[7, 16] Operation: 94-78=16
Moving to Node #0,1,0
Current State: 86:[94, 85], Operations: ['61+17=78', '7+78=85']
Exploring Operation: 94*85=7990, Resulting Numbers: [7990]
7990,86 unequal: No Solution
Exploring Operation: 94-85=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 94+85=179, Resulting Numbers: [179]
179,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[78, 87], Operations: ['61+17=78', '94-7=87']
Exploring Operation: 78*87=6786, Resulting Numbers: [6786]
6786,86 unequal: No Solution
Exploring Operation: 87-78=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 78+87=165, Resulting Numbers: [165]
165,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[7, 16], Operations: ['61+17=78', '94-78=16']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,86 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[17, 7, 33], Operations: ['94-61=33']
Exploring Operation: 7+33=40, Resulting Numbers: [17, 40]
Generated Node #0,0,0: 86:[17, 40] Operation: 7+33=40
Exploring Operation: 17+33=50, Resulting Numbers: [7, 50]
Generated Node #0,0,1: 86:[7, 50] Operation: 17+33=50
Exploring Operation: 17-7=10, Resulting Numbers: [33, 10]
Generated Node #0,0,2: 86:[33, 10] Operation: 17-7=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[7, 50], Operations: ['94-61=33', '17+33=50']
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[17, 40], Operations: ['94-61=33', '7+33=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,86 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[33, 10], Operations: ['94-61=33', '17-7=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,86 unequal: No Solution
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,86 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
80,
78,
76,
74
] | 41 | [
"76-74=2",
"78/2=39",
"80-39=41"
] | Current State: 41:[80, 78, 76, 74], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [80, 78, 2]
Generated Node #2: [80, 78, 2] from Operation: 76-74=2
Current State: 41:[80, 78, 2], Operations: ['76-74=2']
Exploring Operation: 78/2=39, Resulting Numbers: [80, 39]
Generated Node #3: [80, 39] from Operation: 78/2=39
Current State: 41:[80, 39], Operations: ['76-74=2', '78/2=39']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[80, 78, 76, 74], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [76, 74, 2]
Generated Node #0,0: 41:[76, 74, 2] Operation: 80-78=2
Exploring Operation: 80-76=4, Resulting Numbers: [78, 74, 4]
Generated Node #0,1: 41:[78, 74, 4] Operation: 80-76=4
Moving to Node #0,0
Current State: 41:[76, 74, 2], Operations: ['80-78=2']
Exploring Operation: 74/2=37, Resulting Numbers: [76, 37]
Generated Node #0,0,0: 41:[76, 37] Operation: 74/2=37
Exploring Operation: 76/2=38, Resulting Numbers: [74, 38]
Generated Node #0,0,1: 41:[74, 38] Operation: 76/2=38
Moving to Node #0,1
Current State: 41:[78, 74, 4], Operations: ['80-76=4']
Exploring Operation: 74-4=70, Resulting Numbers: [78, 70]
Generated Node #0,1,0: 41:[78, 70] Operation: 74-4=70
Exploring Operation: 78-4=74, Resulting Numbers: [74, 74]
Generated Node #0,1,1: 41:[74, 74] Operation: 78-4=74
Moving to Node #0,0,1
Current State: 41:[74, 38], Operations: ['80-78=2', '76/2=38']
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 74+38=112, Resulting Numbers: [112]
112,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[76, 37], Operations: ['80-78=2', '74/2=37']
Exploring Operation: 76+37=113, Resulting Numbers: [113]
113,41 unequal: No Solution
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[74, 74], Operations: ['80-76=4', '78-4=74']
Exploring Operation: 74-74=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 74/74=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[78, 70], Operations: ['80-76=4', '74-4=70']
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 78+70=148, Resulting Numbers: [148]
148,41 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
76,
1,
21,
87
] | 32 | [
"76*1=76",
"21+87=108",
"108-76=32"
] | Current State: 32:[76, 1, 21, 87], Operations: []
Exploring Operation: 76*1=76, Resulting Numbers: [21, 87, 76]
Generated Node #2: [21, 87, 76] from Operation: 76*1=76
Current State: 32:[21, 87, 76], Operations: ['76*1=76']
Exploring Operation: 21+87=108, Resulting Numbers: [76, 108]
Generated Node #3: [76, 108] from Operation: 21+87=108
Current State: 32:[76, 108], Operations: ['76*1=76', '21+87=108']
Exploring Operation: 108-76=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[76, 1, 21, 87], Operations: []
Exploring Operation: 87-76=11, Resulting Numbers: [1, 21, 11]
Generated Node #0,0: 32:[1, 21, 11] Operation: 87-76=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[1, 21, 11], Operations: ['87-76=11']
Exploring Operation: 21+11=32, Resulting Numbers: [1, 32]
Generated Node #0,0,0: 32:[1, 32] Operation: 21+11=32
Moving to Node #0,0,0
Current State: 32:[1, 32], Operations: ['87-76=11', '21+11=32']
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[76, 1, 21, 87], Operations: []
Exploring Operation: 87-76=11, Resulting Numbers: [1, 21, 11]
Generated Node #0,0: 32:[1, 21, 11] Operation: 87-76=11
Moving to Node #0,0
Current State: 32:[1, 21, 11], Operations: ['87-76=11']
Exploring Operation: 21+11=32, Resulting Numbers: [1, 32]
Generated Node #0,0,0: 32:[1, 32] Operation: 21+11=32
Moving to Node #0,0,0
Current State: 32:[1, 32], Operations: ['87-76=11', '21+11=32']
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
96,
22,
88,
94
] | 22 | [
"96-94=2",
"88/2=44",
"44-22=22"
] | Current State: 22:[96, 22, 88, 94], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [22, 88, 2]
Generated Node #2: [22, 88, 2] from Operation: 96-94=2
Current State: 22:[22, 88, 2], Operations: ['96-94=2']
Exploring Operation: 88/2=44, Resulting Numbers: [22, 44]
Generated Node #3: [22, 44] from Operation: 88/2=44
Current State: 22:[22, 44], Operations: ['96-94=2', '88/2=44']
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[96, 22, 88, 94], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [96, 94, 4]
Generated Node #0,0: 22:[96, 94, 4] Operation: 88/22=4
Exploring Operation: 96-88=8, Resulting Numbers: [22, 94, 8]
Generated Node #0,1: 22:[22, 94, 8] Operation: 96-88=8
Exploring Operation: 94-88=6, Resulting Numbers: [96, 22, 6]
Generated Node #0,2: 22:[96, 22, 6] Operation: 94-88=6
Exploring Operation: 96-94=2, Resulting Numbers: [22, 88, 2]
Generated Node #0,3: 22:[22, 88, 2] Operation: 96-94=2
Moving to Node #0,3
Current State: 22:[22, 88, 2], Operations: ['96-94=2']
Exploring Operation: 88-22=66, Resulting Numbers: [2, 66]
Generated Node #0,3,0: 22:[2, 66] Operation: 88-22=66
Exploring Operation: 88/2=44, Resulting Numbers: [22, 44]
Generated Node #0,3,1: 22:[22, 44] Operation: 88/2=44
Exploring Operation: 88/22=4, Resulting Numbers: [2, 4]
Generated Node #0,3,2: 22:[2, 4] Operation: 88/22=4
Exploring Operation: 88-2=86, Resulting Numbers: [22, 86]
Generated Node #0,3,3: 22:[22, 86] Operation: 88-2=86
Moving to Node #0,1
Current State: 22:[22, 94, 8], Operations: ['96-88=8']
Exploring Operation: 94-8=86, Resulting Numbers: [22, 86]
Generated Node #0,1,0: 22:[22, 86] Operation: 94-8=86
Exploring Operation: 22+8=30, Resulting Numbers: [94, 30]
Generated Node #0,1,1: 22:[94, 30] Operation: 22+8=30
Exploring Operation: 22-8=14, Resulting Numbers: [94, 14]
Generated Node #0,1,2: 22:[94, 14] Operation: 22-8=14
Exploring Operation: 94-22=72, Resulting Numbers: [8, 72]
Generated Node #0,1,3: 22:[8, 72] Operation: 94-22=72
Moving to Node #0,2
Current State: 22:[96, 22, 6], Operations: ['94-88=6']
Exploring Operation: 96/6=16, Resulting Numbers: [22, 16]
Generated Node #0,2,0: 22:[22, 16] Operation: 96/6=16
Exploring Operation: 96-22=74, Resulting Numbers: [6, 74]
Generated Node #0,2,1: 22:[6, 74] Operation: 96-22=74
Exploring Operation: 22-6=16, Resulting Numbers: [96, 16]
Generated Node #0,2,2: 22:[96, 16] Operation: 22-6=16
Exploring Operation: 96-6=90, Resulting Numbers: [22, 90]
Generated Node #0,2,3: 22:[22, 90] Operation: 96-6=90
Moving to Node #0,0
Current State: 22:[96, 94, 4], Operations: ['88/22=4']
Exploring Operation: 94-4=90, Resulting Numbers: [96, 90]
Generated Node #0,0,0: 22:[96, 90] Operation: 94-4=90
Exploring Operation: 96/4=24, Resulting Numbers: [94, 24]
Generated Node #0,0,1: 22:[94, 24] Operation: 96/4=24
Exploring Operation: 96-94=2, Resulting Numbers: [4, 2]
Generated Node #0,0,2: 22:[4, 2] Operation: 96-94=2
Exploring Operation: 96-4=92, Resulting Numbers: [94, 92]
Generated Node #0,0,3: 22:[94, 92] Operation: 96-4=92
Moving to Node #0,3,2
Current State: 22:[2, 4], Operations: ['96-94=2', '88/22=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[4, 2], Operations: ['88/22=4', '96-94=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[22, 16], Operations: ['94-88=6', '96/6=16']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[22, 44], Operations: ['96-94=2', '88/2=44']
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,22 unequal: No Solution
Exploring Operation: 22*44=968, Resulting Numbers: [968]
968,22 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[96, 22, 88, 94], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [22, 88, 2]
Generated Node #0,3: 22:[22, 88, 2] Operation: 96-94=2
Moving to Node #0,3
Current State: 22:[22, 88, 2], Operations: ['96-94=2']
Exploring Operation: 88/2=44, Resulting Numbers: [22, 44]
Generated Node #0,3,1: 22:[22, 44] Operation: 88/2=44
Moving to Node #0,3,1
Current State: 22:[22, 44], Operations: ['96-94=2', '88/2=44']
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.966146 | hs_4 | mult_heuristic |
[
94,
99,
3,
74
] | 29 | [
"94+99=193",
"3*74=222",
"222-193=29"
] | Current State: 29:[94, 99, 3, 74], Operations: []
Exploring Operation: 94+99=193, Resulting Numbers: [3, 74, 193]
Generated Node #2: [3, 74, 193] from Operation: 94+99=193
Current State: 29:[3, 74, 193], Operations: ['94+99=193']
Exploring Operation: 3*74=222, Resulting Numbers: [193, 222]
Generated Node #3: [193, 222] from Operation: 3*74=222
Current State: 29:[193, 222], Operations: ['94+99=193', '3*74=222']
Exploring Operation: 222-193=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[94, 99, 3, 74], Operations: []
Exploring Operation: 99-74=25, Resulting Numbers: [94, 3, 25]
Generated Node #0,0: 29:[94, 3, 25] Operation: 99-74=25
Exploring Operation: 99-94=5, Resulting Numbers: [3, 74, 5]
Generated Node #0,1: 29:[3, 74, 5] Operation: 99-94=5
Exploring Operation: 94-74=20, Resulting Numbers: [99, 3, 20]
Generated Node #0,2: 29:[99, 3, 20] Operation: 94-74=20
Exploring Operation: 99/3=33, Resulting Numbers: [94, 74, 33]
Generated Node #0,3: 29:[94, 74, 33] Operation: 99/3=33
Moving to Node #0,0
Current State: 29:[94, 3, 25], Operations: ['99-74=25']
Exploring Operation: 94+3=97, Resulting Numbers: [25, 97]
Generated Node #0,0,0: 29:[25, 97] Operation: 94+3=97
Exploring Operation: 3+25=28, Resulting Numbers: [94, 28]
Generated Node #0,0,1: 29:[94, 28] Operation: 3+25=28
Exploring Operation: 94-3=91, Resulting Numbers: [25, 91]
Generated Node #0,0,2: 29:[25, 91] Operation: 94-3=91
Exploring Operation: 94-25=69, Resulting Numbers: [3, 69]
Generated Node #0,0,3: 29:[3, 69] Operation: 94-25=69
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[94, 28], Operations: ['99-74=25', '3+25=28']
Exploring Operation: 94-28=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 94*28=2632, Resulting Numbers: [2632]
2632,29 unequal: No Solution
Exploring Operation: 94+28=122, Resulting Numbers: [122]
122,29 unequal: No Solution
No 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: 29:[25, 91], Operations: ['99-74=25', '94-3=91']
Exploring Operation: 25*91=2275, Resulting Numbers: [2275]
2275,29 unequal: No Solution
Exploring Operation: 25+91=116, Resulting Numbers: [116]
116,29 unequal: No Solution
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,29 unequal: No Solution
No 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: 29:[3, 69], Operations: ['99-74=25', '94-25=69']
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,29 unequal: No Solution
Exploring Operation: 3*69=207, Resulting Numbers: [207]
207,29 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,29 unequal: No Solution
No 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: 29:[25, 97], Operations: ['99-74=25', '94+3=97']
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,29 unequal: No Solution
Exploring Operation: 25*97=2425, Resulting Numbers: [2425]
2425,29 unequal: No Solution
Exploring Operation: 25+97=122, Resulting Numbers: [122]
122,29 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: 29:[3, 74, 5], Operations: ['99-94=5']
Exploring Operation: 3+5=8, Resulting Numbers: [74, 8]
Generated Node #0,1,0: 29:[74, 8] Operation: 3+5=8
Exploring Operation: 74-3=71, Resulting Numbers: [5, 71]
Generated Node #0,1,1: 29:[5, 71] Operation: 74-3=71
Exploring Operation: 74-5=69, Resulting Numbers: [3, 69]
Generated Node #0,1,2: 29:[3, 69] Operation: 74-5=69
Exploring Operation: 3*5=15, Resulting Numbers: [74, 15]
Generated Node #0,1,3: 29:[74, 15] Operation: 3*5=15
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 29:[74, 15], Operations: ['99-94=5', '3*5=15']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,29 unequal: No Solution
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,29 unequal: No Solution
No 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: 29:[74, 8], Operations: ['99-94=5', '3+5=8']
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,29 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,29 unequal: No Solution
No 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: 29:[5, 71], Operations: ['99-94=5', '74-3=71']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,29 unequal: No Solution
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,29 unequal: No Solution
No 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: 29:[3, 69], Operations: ['99-94=5', '74-5=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 3*69=207, Resulting Numbers: [207]
207,29 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,29 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: 29:[99, 3, 20], Operations: ['94-74=20']
Exploring Operation: 99-20=79, Resulting Numbers: [3, 79]
Generated Node #0,2,0: 29:[3, 79] Operation: 99-20=79
Exploring Operation: 99-3=96, Resulting Numbers: [20, 96]
Generated Node #0,2,1: 29:[20, 96] Operation: 99-3=96
Exploring Operation: 99/3=33, Resulting Numbers: [20, 33]
Generated Node #0,2,2: 29:[20, 33] Operation: 99/3=33
Exploring Operation: 3+20=23, Resulting Numbers: [99, 23]
Generated Node #0,2,3: 29:[99, 23] Operation: 3+20=23
Moving to Node #0,3
Current State: 29:[94, 74, 33], Operations: ['99/3=33']
Exploring Operation: 94+74=168, Resulting Numbers: [33, 168]
Generated Node #0,3,0: 29:[33, 168] Operation: 94+74=168
Exploring Operation: 74-33=41, Resulting Numbers: [94, 41]
Generated Node #0,3,1: 29:[94, 41] Operation: 74-33=41
Exploring Operation: 94-74=20, Resulting Numbers: [33, 20]
Generated Node #0,3,2: 29:[33, 20] Operation: 94-74=20
Exploring Operation: 94-33=61, Resulting Numbers: [74, 61]
Generated Node #0,3,3: 29:[74, 61] Operation: 94-33=61
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 29:[33, 20], Operations: ['99/3=33', '94-74=20']
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,29 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,29 unequal: No Solution
No 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: 29:[94, 41], Operations: ['99/3=33', '74-33=41']
Exploring Operation: 94*41=3854, Resulting Numbers: [3854]
3854,29 unequal: No Solution
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 94+41=135, Resulting Numbers: [135]
135,29 unequal: No Solution
No 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: 29:[74, 61], Operations: ['99/3=33', '94-33=61']
Exploring Operation: 74+61=135, Resulting Numbers: [135]
135,29 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 74*61=4514, Resulting Numbers: [4514]
4514,29 unequal: No Solution
No 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: 29:[33, 168], Operations: ['99/3=33', '94+74=168']
Exploring Operation: 33+168=201, Resulting Numbers: [201]
201,29 unequal: No Solution
Exploring Operation: 168-33=135, Resulting Numbers: [135]
135,29 unequal: No Solution
Exploring Operation: 33*168=5544, Resulting Numbers: [5544]
5544,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 29:[20, 33], Operations: ['94-74=20', '99/3=33']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,29 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[20, 96], Operations: ['94-74=20', '99-3=96']
Exploring Operation: 20*96=1920, Resulting Numbers: [1920]
1920,29 unequal: No Solution
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 20+96=116, Resulting Numbers: [116]
116,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[3, 79], Operations: ['94-74=20', '99-20=79']
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,29 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[99, 23], Operations: ['94-74=20', '3+20=23']
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 99*23=2277, Resulting Numbers: [2277]
2277,29 unequal: No Solution
Exploring Operation: 99+23=122, Resulting Numbers: [122]
122,29 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
13,
83,
12,
14
] | 17 | [
"83-13=70",
"70/14=5",
"12+5=17"
] | Current State: 17:[13, 83, 12, 14], Operations: []
Exploring Operation: 83-13=70, Resulting Numbers: [12, 14, 70]
Generated Node #2: [12, 14, 70] from Operation: 83-13=70
Current State: 17:[12, 14, 70], Operations: ['83-13=70']
Exploring Operation: 70/14=5, Resulting Numbers: [12, 5]
Generated Node #3: [12, 5] from Operation: 70/14=5
Current State: 17:[12, 5], Operations: ['83-13=70', '70/14=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[13, 83, 12, 14], Operations: []
Exploring Operation: 83-13=70, Resulting Numbers: [12, 14, 70]
Generated Node #0,0: 17:[12, 14, 70] Operation: 83-13=70
Exploring Operation: 83-12=71, Resulting Numbers: [13, 14, 71]
Generated Node #0,1: 17:[13, 14, 71] Operation: 83-12=71
Moving to Node #0,0
Current State: 17:[12, 14, 70], Operations: ['83-13=70']
Exploring Operation: 70-12=58, Resulting Numbers: [14, 58]
Generated Node #0,0,0: 17:[14, 58] Operation: 70-12=58
Exploring Operation: 70/14=5, Resulting Numbers: [12, 5]
Generated Node #0,0,1: 17:[12, 5] Operation: 70/14=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[12, 5], Operations: ['83-13=70', '70/14=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[13, 83, 12, 14], Operations: []
Exploring Operation: 83-13=70, Resulting Numbers: [12, 14, 70]
Generated Node #0,0: 17:[12, 14, 70] Operation: 83-13=70
Moving to Node #0,0
Current State: 17:[12, 14, 70], Operations: ['83-13=70']
Exploring Operation: 70/14=5, Resulting Numbers: [12, 5]
Generated Node #0,0,1: 17:[12, 5] Operation: 70/14=5
Moving to Node #0,0,1
Current State: 17:[12, 5], Operations: ['83-13=70', '70/14=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
1,
5,
80,
17
] | 92 | [
"1*5=5",
"80+17=97",
"97-5=92"
] | Current State: 92:[1, 5, 80, 17], Operations: []
Exploring Operation: 1*5=5, Resulting Numbers: [80, 17, 5]
Generated Node #2: [80, 17, 5] from Operation: 1*5=5
Current State: 92:[80, 17, 5], Operations: ['1*5=5']
Exploring Operation: 80+17=97, Resulting Numbers: [5, 97]
Generated Node #3: [5, 97] from Operation: 80+17=97
Current State: 92:[5, 97], Operations: ['1*5=5', '80+17=97']
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[1, 5, 80, 17], Operations: []
Exploring Operation: 80+17=97, Resulting Numbers: [1, 5, 97]
Generated Node #0,0: 92:[1, 5, 97] Operation: 80+17=97
Exploring Operation: 80/5=16, Resulting Numbers: [1, 17, 16]
Generated Node #0,1: 92:[1, 17, 16] Operation: 80/5=16
Exploring Operation: 5+17=22, Resulting Numbers: [1, 80, 22]
Generated Node #0,2: 92:[1, 80, 22] Operation: 5+17=22
Exploring Operation: 5-1=4, Resulting Numbers: [80, 17, 4]
Generated Node #0,3: 92:[80, 17, 4] Operation: 5-1=4
Exploring Operation: 5+80=85, Resulting Numbers: [1, 17, 85]
Generated Node #0,4: 92:[1, 17, 85] Operation: 5+80=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[1, 5, 97], Operations: ['80+17=97']
Exploring Operation: 97-1=96, Resulting Numbers: [5, 96]
Generated Node #0,0,0: 92:[5, 96] Operation: 97-1=96
Exploring Operation: 97-5=92, Resulting Numbers: [1, 92]
Generated Node #0,0,1: 92:[1, 92] Operation: 97-5=92
Exploring Operation: 5/1=5, Resulting Numbers: [97, 5]
Generated Node #0,0,2: 92:[97, 5] Operation: 5/1=5
Exploring Operation: 1*5=5, Resulting Numbers: [97, 5]
Generated Node #0,0,3: 92:[97, 5] Operation: 1*5=5
Exploring Operation: 5-1=4, Resulting Numbers: [97, 4]
Generated Node #0,0,4: 92:[97, 4] Operation: 5-1=4
Moving to Node #0,0,1
Current State: 92:[1, 92], Operations: ['80+17=97', '97-5=92']
Exploring Operation: 1*92=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[1, 5, 80, 17], Operations: []
Exploring Operation: 80+17=97, Resulting Numbers: [1, 5, 97]
Generated Node #0,0: 92:[1, 5, 97] Operation: 80+17=97
Moving to Node #0,0
Current State: 92:[1, 5, 97], Operations: ['80+17=97']
Exploring Operation: 97-5=92, Resulting Numbers: [1, 92]
Generated Node #0,0,1: 92:[1, 92] Operation: 97-5=92
Moving to Node #0,0,1
Current State: 92:[1, 92], Operations: ['80+17=97', '97-5=92']
Exploring Operation: 1*92=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
70,
13,
38,
14
] | 30 | [
"70/14=5",
"38-13=25",
"5+25=30"
] | Current State: 30:[70, 13, 38, 14], Operations: []
Exploring Operation: 70/14=5, Resulting Numbers: [13, 38, 5]
Generated Node #2: [13, 38, 5] from Operation: 70/14=5
Current State: 30:[13, 38, 5], Operations: ['70/14=5']
Exploring Operation: 38-13=25, Resulting Numbers: [5, 25]
Generated Node #3: [5, 25] from Operation: 38-13=25
Current State: 30:[5, 25], Operations: ['70/14=5', '38-13=25']
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[70, 13, 38, 14], Operations: []
Exploring Operation: 38-13=25, Resulting Numbers: [70, 14, 25]
Generated Node #0,0: 30:[70, 14, 25] Operation: 38-13=25
Exploring Operation: 70/14=5, Resulting Numbers: [13, 38, 5]
Generated Node #0,1: 30:[13, 38, 5] Operation: 70/14=5
Exploring Operation: 70-14=56, Resulting Numbers: [13, 38, 56]
Generated Node #0,2: 30:[13, 38, 56] Operation: 70-14=56
Exploring Operation: 70-13=57, Resulting Numbers: [38, 14, 57]
Generated Node #0,3: 30:[38, 14, 57] Operation: 70-13=57
Exploring Operation: 70-38=32, Resulting Numbers: [13, 14, 32]
Generated Node #0,4: 30:[13, 14, 32] Operation: 70-38=32
Start Sub Search at level 1: Moving to Node #0,4
Current State: 30:[13, 14, 32], Operations: ['70-38=32']
Exploring Operation: 13+14=27, Resulting Numbers: [32, 27]
Generated Node #0,4,0: 30:[32, 27] Operation: 13+14=27
Exploring Operation: 14-13=1, Resulting Numbers: [32, 1]
Generated Node #0,4,1: 30:[32, 1] Operation: 14-13=1
Exploring Operation: 13+32=45, Resulting Numbers: [14, 45]
Generated Node #0,4,2: 30:[14, 45] Operation: 13+32=45
Exploring Operation: 32-13=19, Resulting Numbers: [14, 19]
Generated Node #0,4,3: 30:[14, 19] Operation: 32-13=19
Exploring Operation: 32-14=18, Resulting Numbers: [13, 18]
Generated Node #0,4,4: 30:[13, 18] Operation: 32-14=18
Moving to Node #0,4,1
Current State: 30:[32, 1], Operations: ['70-38=32', '14-13=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Moving to Node #0,4,3
Current State: 30:[14, 19], Operations: ['70-38=32', '32-13=19']
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,30 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Moving to Node #0,4,0
Current State: 30:[32, 27], Operations: ['70-38=32', '13+14=27']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,30 unequal: No Solution
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,30 unequal: No Solution
Moving to Node #0,4,4
Current State: 30:[13, 18], Operations: ['70-38=32', '32-14=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,30 unequal: No Solution
Moving to Node #0,4,2
Current State: 30:[14, 45], Operations: ['70-38=32', '13+32=45']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,30 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[13, 38, 5], Operations: ['70/14=5']
Exploring Operation: 38-13=25, Resulting Numbers: [5, 25]
Generated Node #0,1,0: 30:[5, 25] Operation: 38-13=25
Exploring Operation: 38+5=43, Resulting Numbers: [13, 43]
Generated Node #0,1,1: 30:[13, 43] Operation: 38+5=43
Exploring Operation: 13-5=8, Resulting Numbers: [38, 8]
Generated Node #0,1,2: 30:[38, 8] Operation: 13-5=8
Exploring Operation: 38-5=33, Resulting Numbers: [13, 33]
Generated Node #0,1,3: 30:[13, 33] Operation: 38-5=33
Exploring Operation: 13+5=18, Resulting Numbers: [38, 18]
Generated Node #0,1,4: 30:[38, 18] Operation: 13+5=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[5, 25], Operations: ['70/14=5', '38-13=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[70, 13, 38, 14], Operations: []
Exploring Operation: 70/14=5, Resulting Numbers: [13, 38, 5]
Generated Node #0,1: 30:[13, 38, 5] Operation: 70/14=5
Moving to Node #0,1
Current State: 30:[13, 38, 5], Operations: ['70/14=5']
Exploring Operation: 38-13=25, Resulting Numbers: [5, 25]
Generated Node #0,1,0: 30:[5, 25] Operation: 38-13=25
Moving to Node #0,1,0
Current State: 30:[5, 25], Operations: ['70/14=5', '38-13=25']
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
50,
7,
26,
60
] | 43 | [
"50-7=43",
"26+60=86",
"86-43=43"
] | Current State: 43:[50, 7, 26, 60], Operations: []
Exploring Operation: 50-7=43, Resulting Numbers: [26, 60, 43]
Generated Node #2: [26, 60, 43] from Operation: 50-7=43
Current State: 43:[26, 60, 43], Operations: ['50-7=43']
Exploring Operation: 26+60=86, Resulting Numbers: [43, 86]
Generated Node #3: [43, 86] from Operation: 26+60=86
Current State: 43:[43, 86], Operations: ['50-7=43', '26+60=86']
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[50, 7, 26, 60], Operations: []
Exploring Operation: 50+7=57, Resulting Numbers: [26, 60, 57]
Generated Node #0,0: 43:[26, 60, 57] Operation: 50+7=57
Exploring Operation: 60-7=53, Resulting Numbers: [50, 26, 53]
Generated Node #0,1: 43:[50, 26, 53] Operation: 60-7=53
Exploring Operation: 50-7=43, Resulting Numbers: [26, 60, 43]
Generated Node #0,2: 43:[26, 60, 43] Operation: 50-7=43
Exploring Operation: 7+26=33, Resulting Numbers: [50, 60, 33]
Generated Node #0,3: 43:[50, 60, 33] Operation: 7+26=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[50, 26, 53], Operations: ['60-7=53']
Exploring Operation: 53-26=27, Resulting Numbers: [50, 27]
Generated Node #0,1,0: 43:[50, 27] Operation: 53-26=27
Exploring Operation: 50-26=24, Resulting Numbers: [53, 24]
Generated Node #0,1,1: 43:[53, 24] Operation: 50-26=24
Exploring Operation: 50+26=76, Resulting Numbers: [53, 76]
Generated Node #0,1,2: 43:[53, 76] Operation: 50+26=76
Exploring Operation: 26+53=79, Resulting Numbers: [50, 79]
Generated Node #0,1,3: 43:[50, 79] Operation: 26+53=79
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[50, 27], Operations: ['60-7=53', '53-26=27']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,43 unequal: No Solution
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,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:[53, 24], Operations: ['60-7=53', '50-26=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,43 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[53, 76], Operations: ['60-7=53', '50+26=76']
Exploring Operation: 76-53=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 53+76=129, Resulting Numbers: [129]
129,43 unequal: No Solution
Exploring Operation: 53*76=4028, Resulting Numbers: [4028]
4028,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:[50, 79], Operations: ['60-7=53', '26+53=79']
Exploring Operation: 79-50=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 50+79=129, Resulting Numbers: [129]
129,43 unequal: No Solution
Exploring Operation: 50*79=3950, Resulting Numbers: [3950]
3950,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[26, 60, 43], Operations: ['50-7=43']
Exploring Operation: 26+43=69, Resulting Numbers: [60, 69]
Generated Node #0,2,0: 43:[60, 69] Operation: 26+43=69
Exploring Operation: 60-26=34, Resulting Numbers: [43, 34]
Generated Node #0,2,1: 43:[43, 34] Operation: 60-26=34
Exploring Operation: 43-26=17, Resulting Numbers: [60, 17]
Generated Node #0,2,2: 43:[60, 17] Operation: 43-26=17
Exploring Operation: 26+60=86, Resulting Numbers: [43, 86]
Generated Node #0,2,3: 43:[43, 86] Operation: 26+60=86
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[43, 34], Operations: ['50-7=43', '60-26=34']
Exploring Operation: 43+34=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 43*34=1462, Resulting Numbers: [1462]
1462,43 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,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:[60, 69], Operations: ['50-7=43', '26+43=69']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Exploring Operation: 60*69=4140, Resulting Numbers: [4140]
4140,43 unequal: No Solution
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,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:[60, 17], Operations: ['50-7=43', '43-26=17']
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,43 unequal: No Solution
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[50, 7, 26, 60], Operations: []
Exploring Operation: 50-7=43, Resulting Numbers: [26, 60, 43]
Generated Node #0,2: 43:[26, 60, 43] Operation: 50-7=43
Moving to Node #0,2
Current State: 43:[26, 60, 43], Operations: ['50-7=43']
Exploring Operation: 43-26=17, Resulting Numbers: [60, 17]
Generated Node #0,2,2: 43:[60, 17] Operation: 43-26=17
Moving to Node #0,2,2
Current State: 43:[60, 17], Operations: ['50-7=43', '43-26=17']
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_4 | mult_heuristic |
[
50,
31,
57,
32
] | 70 | [
"50-31=19",
"57+32=89",
"89-19=70"
] | Current State: 70:[50, 31, 57, 32], Operations: []
Exploring Operation: 50-31=19, Resulting Numbers: [57, 32, 19]
Generated Node #2: [57, 32, 19] from Operation: 50-31=19
Current State: 70:[57, 32, 19], Operations: ['50-31=19']
Exploring Operation: 57+32=89, Resulting Numbers: [19, 89]
Generated Node #3: [19, 89] from Operation: 57+32=89
Current State: 70:[19, 89], Operations: ['50-31=19', '57+32=89']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[50, 31, 57, 32], Operations: []
Exploring Operation: 50-32=18, Resulting Numbers: [31, 57, 18]
Generated Node #0,0: 70:[31, 57, 18] Operation: 50-32=18
Exploring Operation: 50-31=19, Resulting Numbers: [57, 32, 19]
Generated Node #0,1: 70:[57, 32, 19] Operation: 50-31=19
Exploring Operation: 57-50=7, Resulting Numbers: [31, 32, 7]
Generated Node #0,2: 70:[31, 32, 7] Operation: 57-50=7
Exploring Operation: 50+31=81, Resulting Numbers: [57, 32, 81]
Generated Node #0,3: 70:[57, 32, 81] Operation: 50+31=81
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[31, 32, 7], Operations: ['57-50=7']
Exploring Operation: 31+32=63, Resulting Numbers: [7, 63]
Generated Node #0,2,0: 70:[7, 63] Operation: 31+32=63
Exploring Operation: 31+7=38, Resulting Numbers: [32, 38]
Generated Node #0,2,1: 70:[32, 38] Operation: 31+7=38
Exploring Operation: 32+7=39, Resulting Numbers: [31, 39]
Generated Node #0,2,2: 70:[31, 39] Operation: 32+7=39
Exploring Operation: 32-31=1, Resulting Numbers: [7, 1]
Generated Node #0,2,3: 70:[7, 1] Operation: 32-31=1
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[7, 1], Operations: ['57-50=7', '32-31=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,70 unequal: No Solution
No 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: 70:[32, 38], Operations: ['57-50=7', '31+7=38']
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,70 unequal: No Solution
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[50, 31, 57, 32], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [31, 32, 7]
Generated Node #0,2: 70:[31, 32, 7] Operation: 57-50=7
Moving to Node #0,2
Current State: 70:[31, 32, 7], Operations: ['57-50=7']
Exploring Operation: 31+7=38, Resulting Numbers: [32, 38]
Generated Node #0,2,1: 70:[32, 38] Operation: 31+7=38
Moving to Node #0,2,1
Current State: 70:[32, 38], Operations: ['57-50=7', '31+7=38']
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
65,
11,
35,
56
] | 37 | [
"65-11=54",
"35+56=91",
"91-54=37"
] | Current State: 37:[65, 11, 35, 56], Operations: []
Exploring Operation: 65-11=54, Resulting Numbers: [35, 56, 54]
Generated Node #2: [35, 56, 54] from Operation: 65-11=54
Current State: 37:[35, 56, 54], Operations: ['65-11=54']
Exploring Operation: 35+56=91, Resulting Numbers: [54, 91]
Generated Node #3: [54, 91] from Operation: 35+56=91
Current State: 37:[54, 91], Operations: ['65-11=54', '35+56=91']
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[65, 11, 35, 56], Operations: []
Exploring Operation: 65-11=54, Resulting Numbers: [35, 56, 54]
Generated Node #0,0: 37:[35, 56, 54] Operation: 65-11=54
Exploring Operation: 56-11=45, Resulting Numbers: [65, 35, 45]
Generated Node #0,1: 37:[65, 35, 45] Operation: 56-11=45
Moving to Node #0,0
Current State: 37:[35, 56, 54], Operations: ['65-11=54']
Exploring Operation: 56-35=21, Resulting Numbers: [54, 21]
Generated Node #0,0,0: 37:[54, 21] Operation: 56-35=21
Exploring Operation: 54-35=19, Resulting Numbers: [56, 19]
Generated Node #0,0,1: 37:[56, 19] Operation: 54-35=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[54, 21], Operations: ['65-11=54', '56-35=21']
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 54+21=75, Resulting Numbers: [75]
75,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[56, 19], Operations: ['65-11=54', '54-35=19']
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[65, 11, 35, 56], Operations: []
Exploring Operation: 65-11=54, Resulting Numbers: [35, 56, 54]
Generated Node #0,0: 37:[35, 56, 54] Operation: 65-11=54
Moving to Node #0,0
Current State: 37:[35, 56, 54], Operations: ['65-11=54']
Exploring Operation: 54-35=19, Resulting Numbers: [56, 19]
Generated Node #0,0,1: 37:[56, 19] Operation: 54-35=19
Moving to Node #0,0,1
Current State: 37:[56, 19], Operations: ['65-11=54', '54-35=19']
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
11,
61,
20,
62
] | 97 | [
"11*20=220",
"61+62=123",
"220-123=97"
] | Current State: 97:[11, 61, 20, 62], Operations: []
Exploring Operation: 11*20=220, Resulting Numbers: [61, 62, 220]
Generated Node #2: [61, 62, 220] from Operation: 11*20=220
Current State: 97:[61, 62, 220], Operations: ['11*20=220']
Exploring Operation: 61+62=123, Resulting Numbers: [220, 123]
Generated Node #3: [220, 123] from Operation: 61+62=123
Current State: 97:[220, 123], Operations: ['11*20=220', '61+62=123']
Exploring Operation: 220-123=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[11, 61, 20, 62], Operations: []
Exploring Operation: 11+61=72, Resulting Numbers: [20, 62, 72]
Generated Node #0,0: 97:[20, 62, 72] Operation: 11+61=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[20, 62, 72], Operations: ['11+61=72']
Exploring Operation: 20+62=82, Resulting Numbers: [72, 82]
Generated Node #0,0,0: 97:[72, 82] Operation: 20+62=82
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[72, 82], Operations: ['11+61=72', '20+62=82']
Exploring Operation: 72+82=154, Resulting Numbers: [154]
154,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
13,
4,
72,
21
] | 40 | [
"21-13=8",
"4*8=32",
"72-32=40"
] | Current State: 40:[13, 4, 72, 21], Operations: []
Exploring Operation: 21-13=8, Resulting Numbers: [4, 72, 8]
Generated Node #2: [4, 72, 8] from Operation: 21-13=8
Current State: 40:[4, 72, 8], Operations: ['21-13=8']
Exploring Operation: 4*8=32, Resulting Numbers: [72, 32]
Generated Node #3: [72, 32] from Operation: 4*8=32
Current State: 40:[72, 32], Operations: ['21-13=8', '4*8=32']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[13, 4, 72, 21], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [13, 21, 18]
Generated Node #0,0: 40:[13, 21, 18] Operation: 72/4=18
Exploring Operation: 21-13=8, Resulting Numbers: [4, 72, 8]
Generated Node #0,1: 40:[4, 72, 8] Operation: 21-13=8
Exploring Operation: 72-13=59, Resulting Numbers: [4, 21, 59]
Generated Node #0,2: 40:[4, 21, 59] Operation: 72-13=59
Exploring Operation: 72-21=51, Resulting Numbers: [13, 4, 51]
Generated Node #0,3: 40:[13, 4, 51] Operation: 72-21=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[13, 21, 18], Operations: ['72/4=18']
Exploring Operation: 21-13=8, Resulting Numbers: [18, 8]
Generated Node #0,0,0: 40:[18, 8] Operation: 21-13=8
Exploring Operation: 21-18=3, Resulting Numbers: [13, 3]
Generated Node #0,0,1: 40:[13, 3] Operation: 21-18=3
Exploring Operation: 21+18=39, Resulting Numbers: [13, 39]
Generated Node #0,0,2: 40:[13, 39] Operation: 21+18=39
Exploring Operation: 18-13=5, Resulting Numbers: [21, 5]
Generated Node #0,0,3: 40:[21, 5] Operation: 18-13=5
Moving to Node #0,0,3
Current State: 40:[21, 5], Operations: ['72/4=18', '18-13=5']
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,40 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[18, 8], Operations: ['72/4=18', '21-13=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,40 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[13, 39], Operations: ['72/4=18', '21+18=39']
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 13*39=507, Resulting Numbers: [507]
507,40 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[13, 3], Operations: ['72/4=18', '21-18=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[13, 4, 51], Operations: ['72-21=51']
Exploring Operation: 13+4=17, Resulting Numbers: [51, 17]
Generated Node #0,3,0: 40:[51, 17] Operation: 13+4=17
Exploring Operation: 13-4=9, Resulting Numbers: [51, 9]
Generated Node #0,3,1: 40:[51, 9] Operation: 13-4=9
Exploring Operation: 51-4=47, Resulting Numbers: [13, 47]
Generated Node #0,3,2: 40:[13, 47] Operation: 51-4=47
Exploring Operation: 51-13=38, Resulting Numbers: [4, 38]
Generated Node #0,3,3: 40:[4, 38] Operation: 51-13=38
Moving to Node #0,3,3
Current State: 40:[4, 38], Operations: ['72-21=51', '51-13=38']
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,40 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[13, 47], Operations: ['72-21=51', '51-4=47']
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 13*47=611, Resulting Numbers: [611]
611,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[51, 9], Operations: ['72-21=51', '13-4=9']
Exploring Operation: 51*9=459, Resulting Numbers: [459]
459,40 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Moving to Node #0,3,0
Current State: 40:[51, 17], Operations: ['72-21=51', '13+4=17']
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,40 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[4, 21, 59], Operations: ['72-13=59']
Exploring Operation: 59-21=38, Resulting Numbers: [4, 38]
Generated Node #0,2,0: 40:[4, 38] Operation: 59-21=38
Exploring Operation: 59-4=55, Resulting Numbers: [21, 55]
Generated Node #0,2,1: 40:[21, 55] Operation: 59-4=55
Exploring Operation: 21-4=17, Resulting Numbers: [59, 17]
Generated Node #0,2,2: 40:[59, 17] Operation: 21-4=17
Exploring Operation: 4+21=25, Resulting Numbers: [59, 25]
Generated Node #0,2,3: 40:[59, 25] Operation: 4+21=25
Moving to Node #0,2,0
Current State: 40:[4, 38], Operations: ['72-13=59', '59-21=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[21, 55], Operations: ['72-13=59', '59-4=55']
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[59, 17], Operations: ['72-13=59', '21-4=17']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,40 unequal: No Solution
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[59, 25], Operations: ['72-13=59', '4+21=25']
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,40 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[4, 72, 8], Operations: ['21-13=8']
Exploring Operation: 72-8=64, Resulting Numbers: [4, 64]
Generated Node #0,1,0: 40:[4, 64] Operation: 72-8=64
Exploring Operation: 72/8=9, Resulting Numbers: [4, 9]
Generated Node #0,1,1: 40:[4, 9] Operation: 72/8=9
Exploring Operation: 72-4=68, Resulting Numbers: [8, 68]
Generated Node #0,1,2: 40:[8, 68] Operation: 72-4=68
Exploring Operation: 72/4=18, Resulting Numbers: [8, 18]
Generated Node #0,1,3: 40:[8, 18] Operation: 72/4=18
Moving to Node #0,1,1
Current State: 40:[4, 9], Operations: ['21-13=8', '72/8=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Moving to Node #0,1,3
Current State: 40:[8, 18], Operations: ['21-13=8', '72/4=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,40 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[4, 64], Operations: ['21-13=8', '72-8=64']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 4*64=256, Resulting Numbers: [256]
256,40 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[8, 68], Operations: ['21-13=8', '72-4=68']
Exploring Operation: 8+68=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 8*68=544, Resulting Numbers: [544]
544,40 unequal: No Solution
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,40 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 |
[
7,
45,
9,
9
] | 51 | [
"7+45=52",
"9/9=1",
"52-1=51"
] | Current State: 51:[7, 45, 9, 9], Operations: []
Exploring Operation: 7+45=52, Resulting Numbers: [9, 9, 52]
Generated Node #2: [9, 9, 52] from Operation: 7+45=52
Current State: 51:[9, 9, 52], Operations: ['7+45=52']
Exploring Operation: 9/9=1, Resulting Numbers: [52, 1]
Generated Node #3: [52, 1] from Operation: 9/9=1
Current State: 51:[52, 1], Operations: ['7+45=52', '9/9=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[7, 45, 9, 9], Operations: []
Exploring Operation: 45/9=5, Resulting Numbers: [7, 9, 5]
Generated Node #0,0: 51:[7, 9, 5] Operation: 45/9=5
Exploring Operation: 9+9=18, Resulting Numbers: [7, 45, 18]
Generated Node #0,1: 51:[7, 45, 18] Operation: 9+9=18
Exploring Operation: 9/9=1, Resulting Numbers: [7, 45, 1]
Generated Node #0,2: 51:[7, 45, 1] Operation: 9/9=1
Exploring Operation: 45/9=5, Resulting Numbers: [7, 9, 5]
Generated Node #0,3: 51:[7, 9, 5] Operation: 45/9=5
Moving to Node #0,1
Current State: 51:[7, 45, 18], Operations: ['9+9=18']
Exploring Operation: 7+45=52, Resulting Numbers: [18, 52]
Generated Node #0,1,0: 51:[18, 52] Operation: 7+45=52
Exploring Operation: 18-7=11, Resulting Numbers: [45, 11]
Generated Node #0,1,1: 51:[45, 11] Operation: 18-7=11
Exploring Operation: 45-7=38, Resulting Numbers: [18, 38]
Generated Node #0,1,2: 51:[18, 38] Operation: 45-7=38
Exploring Operation: 7+18=25, Resulting Numbers: [45, 25]
Generated Node #0,1,3: 51:[45, 25] Operation: 7+18=25
Moving to Node #0,2
Current State: 51:[7, 45, 1], Operations: ['9/9=1']
Exploring Operation: 7+45=52, Resulting Numbers: [1, 52]
Generated Node #0,2,0: 51:[1, 52] Operation: 7+45=52
Exploring Operation: 7-1=6, Resulting Numbers: [45, 6]
Generated Node #0,2,1: 51:[45, 6] Operation: 7-1=6
Exploring Operation: 45+1=46, Resulting Numbers: [7, 46]
Generated Node #0,2,2: 51:[7, 46] Operation: 45+1=46
Exploring Operation: 7*1=7, Resulting Numbers: [45, 7]
Generated Node #0,2,3: 51:[45, 7] Operation: 7*1=7
Moving to Node #0,0
Current State: 51:[7, 9, 5], Operations: ['45/9=5']
Exploring Operation: 9-5=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 51:[7, 4] Operation: 9-5=4
Exploring Operation: 9-7=2, Resulting Numbers: [5, 2]
Generated Node #0,0,1: 51:[5, 2] Operation: 9-7=2
Exploring Operation: 7-5=2, Resulting Numbers: [9, 2]
Generated Node #0,0,2: 51:[9, 2] Operation: 7-5=2
Exploring Operation: 7+9=16, Resulting Numbers: [5, 16]
Generated Node #0,0,3: 51:[5, 16] Operation: 7+9=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[5, 2], Operations: ['45/9=5', '9-7=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 51:[5, 16], Operations: ['45/9=5', '7+9=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[7, 4], Operations: ['45/9=5', '9-5=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[9, 2], Operations: ['45/9=5', '7-5=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,51 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: 51:[7, 9, 5], Operations: ['45/9=5']
Exploring Operation: 9-7=2, Resulting Numbers: [5, 2]
Generated Node #0,3,0: 51:[5, 2] Operation: 9-7=2
Exploring Operation: 7-5=2, Resulting Numbers: [9, 2]
Generated Node #0,3,1: 51:[9, 2] Operation: 7-5=2
Exploring Operation: 7+9=16, Resulting Numbers: [5, 16]
Generated Node #0,3,2: 51:[5, 16] Operation: 7+9=16
Exploring Operation: 9-5=4, Resulting Numbers: [7, 4]
Generated Node #0,3,3: 51:[7, 4] Operation: 9-5=4
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 51:[5, 2], Operations: ['45/9=5', '9-7=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 51:[5, 16], Operations: ['45/9=5', '7+9=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 51:[7, 4], Operations: ['45/9=5', '9-5=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 51:[9, 2], Operations: ['45/9=5', '7-5=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,51 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: 51:[18, 52], Operations: ['9+9=18', '7+45=52']
Exploring Operation: 18*52=936, Resulting Numbers: [936]
936,51 unequal: No Solution
Exploring Operation: 18+52=70, Resulting Numbers: [70]
70,51 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[1, 52], Operations: ['9/9=1', '7+45=52']
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,51 unequal: No Solution
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[7, 45, 9, 9], Operations: []
Exploring Operation: 9/9=1, Resulting Numbers: [7, 45, 1]
Generated Node #0,2: 51:[7, 45, 1] Operation: 9/9=1
Moving to Node #0,2
Current State: 51:[7, 45, 1], Operations: ['9/9=1']
Exploring Operation: 7+45=52, Resulting Numbers: [1, 52]
Generated Node #0,2,0: 51:[1, 52] Operation: 7+45=52
Moving to Node #0,2,0
Current State: 51:[1, 52], Operations: ['9/9=1', '7+45=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.952257 | hs_4 | mult_heuristic |
[
61,
72,
3,
2
] | 93 | [
"61+2=63",
"63/3=21",
"72+21=93"
] | Current State: 93:[61, 72, 3, 2], Operations: []
Exploring Operation: 61+2=63, Resulting Numbers: [72, 3, 63]
Generated Node #2: [72, 3, 63] from Operation: 61+2=63
Current State: 93:[72, 3, 63], Operations: ['61+2=63']
Exploring Operation: 63/3=21, Resulting Numbers: [72, 21]
Generated Node #3: [72, 21] from Operation: 63/3=21
Current State: 93:[72, 21], Operations: ['61+2=63', '63/3=21']
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[61, 72, 3, 2], Operations: []
Exploring Operation: 72/3=24, Resulting Numbers: [61, 2, 24]
Generated Node #0,0: 93:[61, 2, 24] Operation: 72/3=24
Exploring Operation: 72-61=11, Resulting Numbers: [3, 2, 11]
Generated Node #0,1: 93:[3, 2, 11] Operation: 72-61=11
Exploring Operation: 72/2=36, Resulting Numbers: [61, 3, 36]
Generated Node #0,2: 93:[61, 3, 36] Operation: 72/2=36
Exploring Operation: 61-3=58, Resulting Numbers: [72, 2, 58]
Generated Node #0,3: 93:[72, 2, 58] Operation: 61-3=58
Exploring Operation: 61+72=133, Resulting Numbers: [3, 2, 133]
Generated Node #0,4: 93:[3, 2, 133] Operation: 61+72=133
Moving to Node #0,1
Current State: 93:[3, 2, 11], Operations: ['72-61=11']
Exploring Operation: 11-2=9, Resulting Numbers: [3, 9]
Generated Node #0,1,0: 93:[3, 9] Operation: 11-2=9
Exploring Operation: 3*11=33, Resulting Numbers: [2, 33]
Generated Node #0,1,1: 93:[2, 33] Operation: 3*11=33
Exploring Operation: 11-3=8, Resulting Numbers: [2, 8]
Generated Node #0,1,2: 93:[2, 8] Operation: 11-3=8
Exploring Operation: 2*11=22, Resulting Numbers: [3, 22]
Generated Node #0,1,3: 93:[3, 22] Operation: 2*11=22
Exploring Operation: 3+2=5, Resulting Numbers: [11, 5]
Generated Node #0,1,4: 93:[11, 5] Operation: 3+2=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[2, 33], Operations: ['72-61=11', '3*11=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,93 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[3, 9], Operations: ['72-61=11', '11-2=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[2, 8], Operations: ['72-61=11', '11-3=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[3, 22], Operations: ['72-61=11', '2*11=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,93 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 93:[11, 5], Operations: ['72-61=11', '3+2=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,93 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: 93:[61, 3, 36], Operations: ['72/2=36']
Exploring Operation: 61+3=64, Resulting Numbers: [36, 64]
Generated Node #0,2,0: 93:[36, 64] Operation: 61+3=64
Exploring Operation: 36-3=33, Resulting Numbers: [61, 33]
Generated Node #0,2,1: 93:[61, 33] Operation: 36-3=33
Exploring Operation: 61-3=58, Resulting Numbers: [36, 58]
Generated Node #0,2,2: 93:[36, 58] Operation: 61-3=58
Exploring Operation: 61+36=97, Resulting Numbers: [3, 97]
Generated Node #0,2,3: 93:[3, 97] Operation: 61+36=97
Exploring Operation: 61-36=25, Resulting Numbers: [3, 25]
Generated Node #0,2,4: 93:[3, 25] Operation: 61-36=25
Moving to Node #0,0
Current State: 93:[61, 2, 24], Operations: ['72/3=24']
Exploring Operation: 61*2=122, Resulting Numbers: [24, 122]
Generated Node #0,0,0: 93:[24, 122] Operation: 61*2=122
Exploring Operation: 61-2=59, Resulting Numbers: [24, 59]
Generated Node #0,0,1: 93:[24, 59] Operation: 61-2=59
Exploring Operation: 61+24=85, Resulting Numbers: [2, 85]
Generated Node #0,0,2: 93:[2, 85] Operation: 61+24=85
Exploring Operation: 61-24=37, Resulting Numbers: [2, 37]
Generated Node #0,0,3: 93:[2, 37] Operation: 61-24=37
Exploring Operation: 2+24=26, Resulting Numbers: [61, 26]
Generated Node #0,0,4: 93:[61, 26] Operation: 2+24=26
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[2, 37], Operations: ['72/3=24', '61-24=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[2, 85], Operations: ['72/3=24', '61+24=85']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,93 unequal: No Solution
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[24, 59], Operations: ['72/3=24', '61-2=59']
Exploring Operation: 24*59=1416, Resulting Numbers: [1416]
1416,93 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 24+59=83, Resulting Numbers: [83]
83,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 93:[61, 26], Operations: ['72/3=24', '2+24=26']
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,93 unequal: No Solution
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 61*26=1586, Resulting Numbers: [1586]
1586,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[24, 122], Operations: ['72/3=24', '61*2=122']
Exploring Operation: 24*122=2928, Resulting Numbers: [2928]
2928,93 unequal: No Solution
Exploring Operation: 24+122=146, Resulting Numbers: [146]
146,93 unequal: No Solution
Exploring Operation: 122-24=98, Resulting Numbers: [98]
98,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 93:[3, 2, 133], Operations: ['61+72=133']
Exploring Operation: 2+133=135, Resulting Numbers: [3, 135]
Generated Node #0,4,0: 93:[3, 135] Operation: 2+133=135
Exploring Operation: 3-2=1, Resulting Numbers: [133, 1]
Generated Node #0,4,1: 93:[133, 1] Operation: 3-2=1
Exploring Operation: 3+2=5, Resulting Numbers: [133, 5]
Generated Node #0,4,2: 93:[133, 5] Operation: 3+2=5
Exploring Operation: 133-2=131, Resulting Numbers: [3, 131]
Generated Node #0,4,3: 93:[3, 131] Operation: 133-2=131
Exploring Operation: 133-3=130, Resulting Numbers: [2, 130]
Generated Node #0,4,4: 93:[2, 130] Operation: 133-3=130
Moving to Node #0,3
Current State: 93:[72, 2, 58], Operations: ['61-3=58']
Exploring Operation: 72/2=36, Resulting Numbers: [58, 36]
Generated Node #0,3,0: 93:[58, 36] Operation: 72/2=36
Exploring Operation: 72-58=14, Resulting Numbers: [2, 14]
Generated Node #0,3,1: 93:[2, 14] Operation: 72-58=14
Exploring Operation: 58/2=29, Resulting Numbers: [72, 29]
Generated Node #0,3,2: 93:[72, 29] Operation: 58/2=29
Exploring Operation: 72+58=130, Resulting Numbers: [2, 130]
Generated Node #0,3,3: 93:[2, 130] Operation: 72+58=130
Exploring Operation: 2*58=116, Resulting Numbers: [72, 116]
Generated Node #0,3,4: 93:[72, 116] Operation: 2*58=116
Moving to Node #0,2,3
Current State: 93:[3, 97], Operations: ['72/2=36', '61+36=97']
Exploring Operation: 3*97=291, Resulting Numbers: [291]
291,93 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 3+97=100, Resulting Numbers: [100]
100,93 unequal: No Solution
Moving to Node #0,2,4
Current State: 93:[3, 25], Operations: ['72/2=36', '61-36=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[2, 14], Operations: ['61-3=58', '72-58=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Moving to Node #0,3,2
Current State: 93:[72, 29], Operations: ['61-3=58', '58/2=29']
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,93 unequal: No Solution
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,93 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[61, 33], Operations: ['72/2=36', '36-3=33']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,93 unequal: No Solution
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Moving to Node #0,3,0
Current State: 93:[58, 36], Operations: ['61-3=58', '72/2=36']
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 58*36=2088, Resulting Numbers: [2088]
2088,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[36, 58], Operations: ['72/2=36', '61-3=58']
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,93 unequal: No Solution
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[36, 64], Operations: ['72/2=36', '61+3=64']
Exploring Operation: 36*64=2304, Resulting Numbers: [2304]
2304,93 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,93 unequal: No Solution
Moving to Node #0,4,4
Current State: 93:[2, 130], Operations: ['61+72=133', '133-3=130']
Exploring Operation: 2*130=260, Resulting Numbers: [260]
260,93 unequal: No Solution
Exploring Operation: 2+130=132, Resulting Numbers: [132]
132,93 unequal: No Solution
Exploring Operation: 130/2=65, Resulting Numbers: [65]
65,93 unequal: No Solution
Exploring Operation: 130-2=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Moving to Node #0,4,3
Current State: 93:[3, 131], Operations: ['61+72=133', '133-2=131']
Exploring Operation: 3*131=393, Resulting Numbers: [393]
393,93 unequal: No Solution
Exploring Operation: 3+131=134, Resulting Numbers: [134]
134,93 unequal: No Solution
Exploring Operation: 131-3=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Moving to Node #0,3,3
Current State: 93:[2, 130], Operations: ['61-3=58', '72+58=130']
Exploring Operation: 2+130=132, Resulting Numbers: [132]
132,93 unequal: No Solution
Exploring Operation: 130-2=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Exploring Operation: 130/2=65, Resulting Numbers: [65]
65,93 unequal: No Solution
Exploring Operation: 2*130=260, Resulting Numbers: [260]
260,93 unequal: No Solution
Moving to Node #0,4,1
Current State: 93:[133, 1], Operations: ['61+72=133', '3-2=1']
Exploring Operation: 133/1=133, Resulting Numbers: [133]
133,93 unequal: No Solution
Exploring Operation: 133*1=133, Resulting Numbers: [133]
133,93 unequal: No Solution
Exploring Operation: 133+1=134, Resulting Numbers: [134]
134,93 unequal: No Solution
Exploring Operation: 133-1=132, Resulting Numbers: [132]
132,93 unequal: No Solution
Moving to Node #0,4,2
Current State: 93:[133, 5], Operations: ['61+72=133', '3+2=5']
Exploring Operation: 133+5=138, Resulting Numbers: [138]
138,93 unequal: No Solution
Exploring Operation: 133*5=665, Resulting Numbers: [665]
665,93 unequal: No Solution
Exploring Operation: 133-5=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Moving to Node #0,4,0
Current State: 93:[3, 135], Operations: ['61+72=133', '2+133=135']
Exploring Operation: 3*135=405, Resulting Numbers: [405]
405,93 unequal: No Solution
Exploring Operation: 3+135=138, Resulting Numbers: [138]
138,93 unequal: No Solution
Exploring Operation: 135-3=132, Resulting Numbers: [132]
132,93 unequal: No Solution
Exploring Operation: 135/3=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Moving to Node #0,3,4
Current State: 93:[72, 116], Operations: ['61-3=58', '2*58=116']
Exploring Operation: 116-72=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 72+116=188, Resulting Numbers: [188]
188,93 unequal: No Solution
Exploring Operation: 72*116=8352, Resulting Numbers: [8352]
8352,93 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
5,
50,
15,
17
] | 40 | [
"17-5=12",
"50*12=600",
"600/15=40"
] | Current State: 40:[5, 50, 15, 17], Operations: []
Exploring Operation: 17-5=12, Resulting Numbers: [50, 15, 12]
Generated Node #2: [50, 15, 12] from Operation: 17-5=12
Current State: 40:[50, 15, 12], Operations: ['17-5=12']
Exploring Operation: 50*12=600, Resulting Numbers: [15, 600]
Generated Node #3: [15, 600] from Operation: 50*12=600
Current State: 40:[15, 600], Operations: ['17-5=12', '50*12=600']
Exploring Operation: 600/15=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[5, 50, 15, 17], Operations: []
Exploring Operation: 50-15=35, Resulting Numbers: [5, 17, 35]
Generated Node #0,0: 40:[5, 17, 35] Operation: 50-15=35
Exploring Operation: 50/5=10, Resulting Numbers: [15, 17, 10]
Generated Node #0,1: 40:[15, 17, 10] Operation: 50/5=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[5, 17, 35], Operations: ['50-15=35']
Exploring Operation: 35-17=18, Resulting Numbers: [5, 18]
Generated Node #0,0,0: 40:[5, 18] Operation: 35-17=18
Exploring Operation: 5+35=40, Resulting Numbers: [17, 40]
Generated Node #0,0,1: 40:[17, 40] Operation: 5+35=40
Moving to Node #0,0,0
Current State: 40:[5, 18], Operations: ['50-15=35', '35-17=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[17, 40], Operations: ['50-15=35', '5+35=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[15, 17, 10], Operations: ['50/5=10']
Exploring Operation: 17-15=2, Resulting Numbers: [10, 2]
Generated Node #0,1,0: 40:[10, 2] Operation: 17-15=2
Exploring Operation: 15-10=5, Resulting Numbers: [17, 5]
Generated Node #0,1,1: 40:[17, 5] Operation: 15-10=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 40:[10, 2], Operations: ['50/5=10', '17-15=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,40 unequal: No Solution
No 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: 40:[17, 5], Operations: ['50/5=10', '15-10=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,40 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 |
[
59,
84,
2,
49
] | 47 | [
"59+84=143",
"143-49=94",
"94/2=47"
] | Current State: 47:[59, 84, 2, 49], Operations: []
Exploring Operation: 59+84=143, Resulting Numbers: [2, 49, 143]
Generated Node #2: [2, 49, 143] from Operation: 59+84=143
Current State: 47:[2, 49, 143], Operations: ['59+84=143']
Exploring Operation: 143-49=94, Resulting Numbers: [2, 94]
Generated Node #3: [2, 94] from Operation: 143-49=94
Current State: 47:[2, 94], Operations: ['59+84=143', '143-49=94']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[59, 84, 2, 49], Operations: []
Exploring Operation: 49-2=47, Resulting Numbers: [59, 84, 47]
Generated Node #0,0: 47:[59, 84, 47] Operation: 49-2=47
Exploring Operation: 59-2=57, Resulting Numbers: [84, 49, 57]
Generated Node #0,1: 47:[84, 49, 57] Operation: 59-2=57
Exploring Operation: 84/2=42, Resulting Numbers: [59, 49, 42]
Generated Node #0,2: 47:[59, 49, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [59, 49, 82]
Generated Node #0,3: 47:[59, 49, 82] Operation: 84-2=82
Moving to Node #0,2
Current State: 47:[59, 49, 42], Operations: ['84/2=42']
Exploring Operation: 59-42=17, Resulting Numbers: [49, 17]
Generated Node #0,2,0: 47:[49, 17] Operation: 59-42=17
Exploring Operation: 59-49=10, Resulting Numbers: [42, 10]
Generated Node #0,2,1: 47:[42, 10] Operation: 59-49=10
Exploring Operation: 49-42=7, Resulting Numbers: [59, 7]
Generated Node #0,2,2: 47:[59, 7] Operation: 49-42=7
Exploring Operation: 59+42=101, Resulting Numbers: [49, 101]
Generated Node #0,2,3: 47:[49, 101] Operation: 59+42=101
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[49, 17], Operations: ['84/2=42', '59-42=17']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 49*17=833, Resulting Numbers: [833]
833,47 unequal: No Solution
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,47 unequal: No Solution
No 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: 47:[42, 10], Operations: ['84/2=42', '59-49=10']
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,47 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,47 unequal: No Solution
No 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: 47:[59, 7], Operations: ['84/2=42', '49-42=7']
Exploring Operation: 59*7=413, Resulting Numbers: [413]
413,47 unequal: No Solution
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,47 unequal: No Solution
No 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: 47:[49, 101], Operations: ['84/2=42', '59+42=101']
Exploring Operation: 101-49=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 49*101=4949, Resulting Numbers: [4949]
4949,47 unequal: No Solution
Exploring Operation: 49+101=150, Resulting Numbers: [150]
150,47 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: 47:[84, 49, 57], Operations: ['59-2=57']
Exploring Operation: 84-49=35, Resulting Numbers: [57, 35]
Generated Node #0,1,0: 47:[57, 35] Operation: 84-49=35
Exploring Operation: 84-57=27, Resulting Numbers: [49, 27]
Generated Node #0,1,1: 47:[49, 27] Operation: 84-57=27
Exploring Operation: 57-49=8, Resulting Numbers: [84, 8]
Generated Node #0,1,2: 47:[84, 8] Operation: 57-49=8
Exploring Operation: 84+49=133, Resulting Numbers: [57, 133]
Generated Node #0,1,3: 47:[57, 133] Operation: 84+49=133
Moving to Node #0,0
Current State: 47:[59, 84, 47], Operations: ['49-2=47']
Exploring Operation: 84-47=37, Resulting Numbers: [59, 37]
Generated Node #0,0,0: 47:[59, 37] Operation: 84-47=37
Exploring Operation: 59+84=143, Resulting Numbers: [47, 143]
Generated Node #0,0,1: 47:[47, 143] Operation: 59+84=143
Exploring Operation: 59-47=12, Resulting Numbers: [84, 12]
Generated Node #0,0,2: 47:[84, 12] Operation: 59-47=12
Exploring Operation: 84-59=25, Resulting Numbers: [47, 25]
Generated Node #0,0,3: 47:[47, 25] Operation: 84-59=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[59, 37], Operations: ['49-2=47', '84-47=37']
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,47 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,47 unequal: No Solution
No 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: 47:[47, 25], Operations: ['49-2=47', '84-59=25']
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,47 unequal: No Solution
No 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: 47:[84, 12], Operations: ['49-2=47', '59-47=12']
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 84*12=1008, Resulting Numbers: [1008]
1008,47 unequal: No Solution
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,47 unequal: No Solution
No 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: 47:[47, 143], Operations: ['49-2=47', '59+84=143']
Exploring Operation: 47+143=190, Resulting Numbers: [190]
190,47 unequal: No Solution
Exploring Operation: 143-47=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 47*143=6721, Resulting Numbers: [6721]
6721,47 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: 47:[59, 49, 82], Operations: ['84-2=82']
Exploring Operation: 59-49=10, Resulting Numbers: [82, 10]
Generated Node #0,3,0: 47:[82, 10] Operation: 59-49=10
Exploring Operation: 82-59=23, Resulting Numbers: [49, 23]
Generated Node #0,3,1: 47:[49, 23] Operation: 82-59=23
Exploring Operation: 82-49=33, Resulting Numbers: [59, 33]
Generated Node #0,3,2: 47:[59, 33] Operation: 82-49=33
Exploring Operation: 59+49=108, Resulting Numbers: [82, 108]
Generated Node #0,3,3: 47:[82, 108] Operation: 59+49=108
Moving to Node #0,1,0
Current State: 47:[57, 35], Operations: ['59-2=57', '84-49=35']
Exploring Operation: 57*35=1995, Resulting Numbers: [1995]
1995,47 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[49, 27], Operations: ['59-2=57', '84-57=27']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 49*27=1323, Resulting Numbers: [1323]
1323,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[59, 33], Operations: ['84-2=82', '82-49=33']
Exploring Operation: 59*33=1947, Resulting Numbers: [1947]
1947,47 unequal: No Solution
Exploring Operation: 59+33=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[49, 23], Operations: ['84-2=82', '82-59=23']
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 49*23=1127, Resulting Numbers: [1127]
1127,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[82, 10], Operations: ['84-2=82', '59-49=10']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 82*10=820, Resulting Numbers: [820]
820,47 unequal: No Solution
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[84, 8], Operations: ['59-2=57', '57-49=8']
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,47 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[57, 133], Operations: ['59-2=57', '84+49=133']
Exploring Operation: 57*133=7581, Resulting Numbers: [7581]
7581,47 unequal: No Solution
Exploring Operation: 57+133=190, Resulting Numbers: [190]
190,47 unequal: No Solution
Exploring Operation: 133-57=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[82, 108], Operations: ['84-2=82', '59+49=108']
Exploring Operation: 82*108=8856, Resulting Numbers: [8856]
8856,47 unequal: No Solution
Exploring Operation: 82+108=190, Resulting Numbers: [190]
190,47 unequal: No Solution
Exploring Operation: 108-82=26, Resulting Numbers: [26]
26,47 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
5,
59,
81,
3
] | 61 | [
"81-59=22",
"3*22=66",
"66-5=61"
] | Current State: 61:[5, 59, 81, 3], Operations: []
Exploring Operation: 81-59=22, Resulting Numbers: [5, 3, 22]
Generated Node #2: [5, 3, 22] from Operation: 81-59=22
Current State: 61:[5, 3, 22], Operations: ['81-59=22']
Exploring Operation: 3*22=66, Resulting Numbers: [5, 66]
Generated Node #3: [5, 66] from Operation: 3*22=66
Current State: 61:[5, 66], Operations: ['81-59=22', '3*22=66']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[5, 59, 81, 3], Operations: []
Exploring Operation: 5*3=15, Resulting Numbers: [59, 81, 15]
Generated Node #0,0: 61:[59, 81, 15] Operation: 5*3=15
Exploring Operation: 5+3=8, Resulting Numbers: [59, 81, 8]
Generated Node #0,1: 61:[59, 81, 8] Operation: 5+3=8
Exploring Operation: 81-5=76, Resulting Numbers: [59, 3, 76]
Generated Node #0,2: 61:[59, 3, 76] Operation: 81-5=76
Moving to Node #0,0
Current State: 61:[59, 81, 15], Operations: ['5*3=15']
Exploring Operation: 81-15=66, Resulting Numbers: [59, 66]
Generated Node #0,0,0: 61:[59, 66] Operation: 81-15=66
Exploring Operation: 59-15=44, Resulting Numbers: [81, 44]
Generated Node #0,0,1: 61:[81, 44] Operation: 59-15=44
Exploring Operation: 59+15=74, Resulting Numbers: [81, 74]
Generated Node #0,0,2: 61:[81, 74] Operation: 59+15=74
Moving to Node #0,1
Current State: 61:[59, 81, 8], Operations: ['5+3=8']
Exploring Operation: 59-8=51, Resulting Numbers: [81, 51]
Generated Node #0,1,0: 61:[81, 51] Operation: 59-8=51
Exploring Operation: 59+8=67, Resulting Numbers: [81, 67]
Generated Node #0,1,1: 61:[81, 67] Operation: 59+8=67
Exploring Operation: 81-8=73, Resulting Numbers: [59, 73]
Generated Node #0,1,2: 61:[59, 73] Operation: 81-8=73
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[59, 73], Operations: ['5+3=8', '81-8=73']
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 59*73=4307, Resulting Numbers: [4307]
4307,61 unequal: No Solution
Exploring Operation: 59+73=132, Resulting Numbers: [132]
132,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[81, 67], Operations: ['5+3=8', '59+8=67']
Exploring Operation: 81*67=5427, Resulting Numbers: [5427]
5427,61 unequal: No Solution
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 81+67=148, Resulting Numbers: [148]
148,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[81, 51], Operations: ['5+3=8', '59-8=51']
Exploring Operation: 81+51=132, Resulting Numbers: [132]
132,61 unequal: No Solution
Exploring Operation: 81-51=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 81*51=4131, Resulting Numbers: [4131]
4131,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 61:[59, 3, 76], Operations: ['81-5=76']
Exploring Operation: 59+3=62, Resulting Numbers: [76, 62]
Generated Node #0,2,0: 61:[76, 62] Operation: 59+3=62
Exploring Operation: 59-3=56, Resulting Numbers: [76, 56]
Generated Node #0,2,1: 61:[76, 56] Operation: 59-3=56
Exploring Operation: 76-3=73, Resulting Numbers: [59, 73]
Generated Node #0,2,2: 61:[59, 73] Operation: 76-3=73
Moving to Node #0,0,0
Current State: 61:[59, 66], Operations: ['5*3=15', '81-15=66']
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 59+66=125, Resulting Numbers: [125]
125,61 unequal: No Solution
Exploring Operation: 59*66=3894, Resulting Numbers: [3894]
3894,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[59, 73], Operations: ['81-5=76', '76-3=73']
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 59*73=4307, Resulting Numbers: [4307]
4307,61 unequal: No Solution
Exploring Operation: 59+73=132, Resulting Numbers: [132]
132,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[76, 62], Operations: ['81-5=76', '59+3=62']
Exploring Operation: 76+62=138, Resulting Numbers: [138]
138,61 unequal: No Solution
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 76*62=4712, Resulting Numbers: [4712]
4712,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[76, 56], Operations: ['81-5=76', '59-3=56']
Exploring Operation: 76*56=4256, Resulting Numbers: [4256]
4256,61 unequal: No Solution
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 76+56=132, Resulting Numbers: [132]
132,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[81, 74], Operations: ['5*3=15', '59+15=74']
Exploring Operation: 81-74=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 81+74=155, Resulting Numbers: [155]
155,61 unequal: No Solution
Exploring Operation: 81*74=5994, Resulting Numbers: [5994]
5994,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[81, 44], Operations: ['5*3=15', '59-15=44']
Exploring Operation: 81+44=125, Resulting Numbers: [125]
125,61 unequal: No Solution
Exploring Operation: 81*44=3564, Resulting Numbers: [3564]
3564,61 unequal: No Solution
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,61 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
20,
10,
26,
2
] | 43 | [
"20+10=30",
"26/2=13",
"30+13=43"
] | Current State: 43:[20, 10, 26, 2], Operations: []
Exploring Operation: 20+10=30, Resulting Numbers: [26, 2, 30]
Generated Node #2: [26, 2, 30] from Operation: 20+10=30
Current State: 43:[26, 2, 30], Operations: ['20+10=30']
Exploring Operation: 26/2=13, Resulting Numbers: [30, 13]
Generated Node #3: [30, 13] from Operation: 26/2=13
Current State: 43:[30, 13], Operations: ['20+10=30', '26/2=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[20, 10, 26, 2], Operations: []
Exploring Operation: 26*2=52, Resulting Numbers: [20, 10, 52]
Generated Node #0,0: 43:[20, 10, 52] Operation: 26*2=52
Exploring Operation: 20+10=30, Resulting Numbers: [26, 2, 30]
Generated Node #0,1: 43:[26, 2, 30] Operation: 20+10=30
Exploring Operation: 20*2=40, Resulting Numbers: [10, 26, 40]
Generated Node #0,2: 43:[10, 26, 40] Operation: 20*2=40
Exploring Operation: 10*2=20, Resulting Numbers: [20, 26, 20]
Generated Node #0,3: 43:[20, 26, 20] Operation: 10*2=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[10, 26, 40], Operations: ['20*2=40']
Exploring Operation: 10+40=50, Resulting Numbers: [26, 50]
Generated Node #0,2,0: 43:[26, 50] Operation: 10+40=50
Exploring Operation: 10+26=36, Resulting Numbers: [40, 36]
Generated Node #0,2,1: 43:[40, 36] Operation: 10+26=36
Exploring Operation: 26-10=16, Resulting Numbers: [40, 16]
Generated Node #0,2,2: 43:[40, 16] Operation: 26-10=16
Exploring Operation: 40-10=30, Resulting Numbers: [26, 30]
Generated Node #0,2,3: 43:[26, 30] Operation: 40-10=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[40, 36], Operations: ['20*2=40', '10+26=36']
Exploring Operation: 40*36=1440, Resulting Numbers: [1440]
1440,43 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 40+36=76, Resulting Numbers: [76]
76,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:[26, 50], Operations: ['20*2=40', '10+40=50']
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 26*50=1300, Resulting Numbers: [1300]
1300,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:[40, 16], Operations: ['20*2=40', '26-10=16']
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 40*16=640, Resulting Numbers: [640]
640,43 unequal: No Solution
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,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:[26, 30], Operations: ['20*2=40', '40-10=30']
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,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,3
Current State: 43:[20, 26, 20], Operations: ['10*2=20']
Exploring Operation: 20/20=1, Resulting Numbers: [26, 1]
Generated Node #0,3,0: 43:[26, 1] Operation: 20/20=1
Exploring Operation: 26+20=46, Resulting Numbers: [20, 46]
Generated Node #0,3,1: 43:[20, 46] Operation: 26+20=46
Exploring Operation: 20+20=40, Resulting Numbers: [26, 40]
Generated Node #0,3,2: 43:[26, 40] Operation: 20+20=40
Exploring Operation: 20+26=46, Resulting Numbers: [20, 46]
Generated Node #0,3,3: 43:[20, 46] Operation: 20+26=46
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 43:[26, 40], Operations: ['10*2=20', '20+20=40']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 26*40=1040, Resulting Numbers: [1040]
1040,43 unequal: No Solution
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,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:[20, 46], Operations: ['10*2=20', '26+20=46']
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,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:[20, 46], Operations: ['10*2=20', '20+26=46']
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,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,0
Current State: 43:[26, 1], Operations: ['10*2=20', '20/20=1']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,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:[20, 10, 52], Operations: ['26*2=52']
Exploring Operation: 20-10=10, Resulting Numbers: [52, 10]
Generated Node #0,0,0: 43:[52, 10] Operation: 20-10=10
Exploring Operation: 20+10=30, Resulting Numbers: [52, 30]
Generated Node #0,0,1: 43:[52, 30] Operation: 20+10=30
Exploring Operation: 52-10=42, Resulting Numbers: [20, 42]
Generated Node #0,0,2: 43:[20, 42] Operation: 52-10=42
Exploring Operation: 10+52=62, Resulting Numbers: [20, 62]
Generated Node #0,0,3: 43:[20, 62] Operation: 10+52=62
Moving to Node #0,0,1
Current State: 43:[52, 30], Operations: ['26*2=52', '20+10=30']
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[20, 42], Operations: ['26*2=52', '52-10=42']
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 20*42=840, Resulting Numbers: [840]
840,43 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[20, 62], Operations: ['26*2=52', '10+52=62']
Exploring Operation: 20*62=1240, Resulting Numbers: [1240]
1240,43 unequal: No Solution
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[52, 10], Operations: ['26*2=52', '20-10=10']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,43 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,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:[26, 2, 30], Operations: ['20+10=30']
Exploring Operation: 26*2=52, Resulting Numbers: [30, 52]
Generated Node #0,1,0: 43:[30, 52] Operation: 26*2=52
Exploring Operation: 26+2=28, Resulting Numbers: [30, 28]
Generated Node #0,1,1: 43:[30, 28] Operation: 26+2=28
Exploring Operation: 2+30=32, Resulting Numbers: [26, 32]
Generated Node #0,1,2: 43:[26, 32] Operation: 2+30=32
Exploring Operation: 26-2=24, Resulting Numbers: [30, 24]
Generated Node #0,1,3: 43:[30, 24] Operation: 26-2=24
Moving to Node #0,1,0
Current State: 43:[30, 52], Operations: ['20+10=30', '26*2=52']
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 30*52=1560, Resulting Numbers: [1560]
1560,43 unequal: No Solution
Exploring Operation: 30+52=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[26, 32], Operations: ['20+10=30', '2+30=32']
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 26*32=832, Resulting Numbers: [832]
832,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[30, 28], Operations: ['20+10=30', '26+2=28']
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,43 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[30, 24], Operations: ['20+10=30', '26-2=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,43 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,43 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 |
[
24,
68,
64,
68
] | 87 | [
"24+64=88",
"68/68=1",
"88-1=87"
] | Current State: 87:[24, 68, 64, 68], Operations: []
Exploring Operation: 24+64=88, Resulting Numbers: [68, 68, 88]
Generated Node #2: [68, 68, 88] from Operation: 24+64=88
Current State: 87:[68, 68, 88], Operations: ['24+64=88']
Exploring Operation: 68/68=1, Resulting Numbers: [88, 1]
Generated Node #3: [88, 1] from Operation: 68/68=1
Current State: 87:[88, 1], Operations: ['24+64=88', '68/68=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[24, 68, 64, 68], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [24, 68, 4]
Generated Node #0,0: 87:[24, 68, 4] Operation: 68-64=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[24, 68, 4], Operations: ['68-64=4']
Exploring Operation: 24+68=92, Resulting Numbers: [4, 92]
Generated Node #0,0,0: 87:[4, 92] Operation: 24+68=92
Moving to Node #0,0,0
Current State: 87:[4, 92], Operations: ['68-64=4', '24+68=92']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,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 |
[
22,
85,
28,
2
] | 51 | [
"22+85=107",
"28*2=56",
"107-56=51"
] | Current State: 51:[22, 85, 28, 2], Operations: []
Exploring Operation: 22+85=107, Resulting Numbers: [28, 2, 107]
Generated Node #2: [28, 2, 107] from Operation: 22+85=107
Current State: 51:[28, 2, 107], Operations: ['22+85=107']
Exploring Operation: 28*2=56, Resulting Numbers: [107, 56]
Generated Node #3: [107, 56] from Operation: 28*2=56
Current State: 51:[107, 56], Operations: ['22+85=107', '28*2=56']
Exploring Operation: 107-56=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[22, 85, 28, 2], Operations: []
Exploring Operation: 85-28=57, Resulting Numbers: [22, 2, 57]
Generated Node #0,0: 51:[22, 2, 57] Operation: 85-28=57
Exploring Operation: 85-22=63, Resulting Numbers: [28, 2, 63]
Generated Node #0,1: 51:[28, 2, 63] Operation: 85-22=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[22, 2, 57], Operations: ['85-28=57']
Exploring Operation: 22-2=20, Resulting Numbers: [57, 20]
Generated Node #0,0,0: 51:[57, 20] Operation: 22-2=20
Exploring Operation: 57-2=55, Resulting Numbers: [22, 55]
Generated Node #0,0,1: 51:[22, 55] Operation: 57-2=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[57, 20], Operations: ['85-28=57', '22-2=20']
Exploring Operation: 57+20=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,51 unequal: No Solution
No 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: 51:[22, 55], Operations: ['85-28=57', '57-2=55']
Exploring Operation: 22+55=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,51 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: 51:[28, 2, 63], Operations: ['85-22=63']
Exploring Operation: 28/2=14, Resulting Numbers: [63, 14]
Generated Node #0,1,0: 51:[63, 14] Operation: 28/2=14
Exploring Operation: 28*2=56, Resulting Numbers: [63, 56]
Generated Node #0,1,1: 51:[63, 56] Operation: 28*2=56
Moving to Node #0,1,0
Current State: 51:[63, 14], Operations: ['85-22=63', '28/2=14']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[63, 56], Operations: ['85-22=63', '28*2=56']
Exploring Operation: 63+56=119, Resulting Numbers: [119]
119,51 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,51 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 |
[
42,
2,
51,
98
] | 91 | [
"42+2=44",
"98-51=47",
"44+47=91"
] | Current State: 91:[42, 2, 51, 98], Operations: []
Exploring Operation: 42+2=44, Resulting Numbers: [51, 98, 44]
Generated Node #2: [51, 98, 44] from Operation: 42+2=44
Current State: 91:[51, 98, 44], Operations: ['42+2=44']
Exploring Operation: 98-51=47, Resulting Numbers: [44, 47]
Generated Node #3: [44, 47] from Operation: 98-51=47
Current State: 91:[44, 47], Operations: ['42+2=44', '98-51=47']
Exploring Operation: 44+47=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[42, 2, 51, 98], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [2, 98, 9]
Generated Node #0,0: 91:[2, 98, 9] Operation: 51-42=9
Exploring Operation: 42+51=93, Resulting Numbers: [2, 98, 93]
Generated Node #0,1: 91:[2, 98, 93] Operation: 42+51=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[2, 98, 9], Operations: ['51-42=9']
Exploring Operation: 9-2=7, Resulting Numbers: [98, 7]
Generated Node #0,0,0: 91:[98, 7] Operation: 9-2=7
Exploring Operation: 98-2=96, Resulting Numbers: [9, 96]
Generated Node #0,0,1: 91:[9, 96] Operation: 98-2=96
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[98, 7], Operations: ['51-42=9', '9-2=7']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[42, 2, 51, 98], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [2, 98, 9]
Generated Node #0,0: 91:[2, 98, 9] Operation: 51-42=9
Moving to Node #0,0
Current State: 91:[2, 98, 9], Operations: ['51-42=9']
Exploring Operation: 9-2=7, Resulting Numbers: [98, 7]
Generated Node #0,0,0: 91:[98, 7] Operation: 9-2=7
Moving to Node #0,0,0
Current State: 91:[98, 7], Operations: ['51-42=9', '9-2=7']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
90,
82,
10,
38
] | 42 | [
"90-82=8",
"10*8=80",
"80-38=42"
] | Current State: 42:[90, 82, 10, 38], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [10, 38, 8]
Generated Node #2: [10, 38, 8] from Operation: 90-82=8
Current State: 42:[10, 38, 8], Operations: ['90-82=8']
Exploring Operation: 10*8=80, Resulting Numbers: [38, 80]
Generated Node #3: [38, 80] from Operation: 10*8=80
Current State: 42:[38, 80], Operations: ['90-82=8', '10*8=80']
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[90, 82, 10, 38], Operations: []
Exploring Operation: 90/10=9, Resulting Numbers: [82, 38, 9]
Generated Node #0,0: 42:[82, 38, 9] Operation: 90/10=9
Exploring Operation: 90-10=80, Resulting Numbers: [82, 38, 80]
Generated Node #0,1: 42:[82, 38, 80] Operation: 90-10=80
Exploring Operation: 90-38=52, Resulting Numbers: [82, 10, 52]
Generated Node #0,2: 42:[82, 10, 52] Operation: 90-38=52
Exploring Operation: 82-38=44, Resulting Numbers: [90, 10, 44]
Generated Node #0,3: 42:[90, 10, 44] Operation: 82-38=44
Exploring Operation: 90-82=8, Resulting Numbers: [10, 38, 8]
Generated Node #0,4: 42:[10, 38, 8] Operation: 90-82=8
Moving to Node #0,4
Current State: 42:[10, 38, 8], Operations: ['90-82=8']
Exploring Operation: 10+38=48, Resulting Numbers: [8, 48]
Generated Node #0,4,0: 42:[8, 48] Operation: 10+38=48
Exploring Operation: 10-8=2, Resulting Numbers: [38, 2]
Generated Node #0,4,1: 42:[38, 2] Operation: 10-8=2
Exploring Operation: 38-10=28, Resulting Numbers: [8, 28]
Generated Node #0,4,2: 42:[8, 28] Operation: 38-10=28
Exploring Operation: 38+8=46, Resulting Numbers: [10, 46]
Generated Node #0,4,3: 42:[10, 46] Operation: 38+8=46
Exploring Operation: 10+8=18, Resulting Numbers: [38, 18]
Generated Node #0,4,4: 42:[38, 18] Operation: 10+8=18
Moving to Node #0,0
Current State: 42:[82, 38, 9], Operations: ['90/10=9']
Exploring Operation: 82-38=44, Resulting Numbers: [9, 44]
Generated Node #0,0,0: 42:[9, 44] Operation: 82-38=44
Exploring Operation: 82+9=91, Resulting Numbers: [38, 91]
Generated Node #0,0,1: 42:[38, 91] Operation: 82+9=91
Exploring Operation: 38+9=47, Resulting Numbers: [82, 47]
Generated Node #0,0,2: 42:[82, 47] Operation: 38+9=47
Exploring Operation: 38-9=29, Resulting Numbers: [82, 29]
Generated Node #0,0,3: 42:[82, 29] Operation: 38-9=29
Exploring Operation: 82-9=73, Resulting Numbers: [38, 73]
Generated Node #0,0,4: 42:[38, 73] Operation: 82-9=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[9, 44], Operations: ['90/10=9', '82-38=44']
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,42 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 42:[38, 73], Operations: ['90/10=9', '82-9=73']
Exploring Operation: 38*73=2774, Resulting Numbers: [2774]
2774,42 unequal: No Solution
Exploring Operation: 38+73=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Exploring Operation: 73-38=35, Resulting Numbers: [35]
35,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[82, 47], Operations: ['90/10=9', '38+9=47']
Exploring Operation: 82*47=3854, Resulting Numbers: [3854]
3854,42 unequal: No Solution
Exploring Operation: 82+47=129, Resulting Numbers: [129]
129,42 unequal: No Solution
Exploring Operation: 82-47=35, Resulting Numbers: [35]
35,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 42:[82, 29], Operations: ['90/10=9', '38-9=29']
Exploring Operation: 82+29=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 82*29=2378, Resulting Numbers: [2378]
2378,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[38, 91], Operations: ['90/10=9', '82+9=91']
Exploring Operation: 38+91=129, Resulting Numbers: [129]
129,42 unequal: No Solution
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 38*91=3458, Resulting Numbers: [3458]
3458,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 42:[82, 10, 52], Operations: ['90-38=52']
Exploring Operation: 82+10=92, Resulting Numbers: [52, 92]
Generated Node #0,2,0: 42:[52, 92] Operation: 82+10=92
Exploring Operation: 82-52=30, Resulting Numbers: [10, 30]
Generated Node #0,2,1: 42:[10, 30] Operation: 82-52=30
Exploring Operation: 52-10=42, Resulting Numbers: [82, 42]
Generated Node #0,2,2: 42:[82, 42] Operation: 52-10=42
Exploring Operation: 82-10=72, Resulting Numbers: [52, 72]
Generated Node #0,2,3: 42:[52, 72] Operation: 82-10=72
Exploring Operation: 10+52=62, Resulting Numbers: [82, 62]
Generated Node #0,2,4: 42:[82, 62] Operation: 10+52=62
Moving to Node #0,3
Current State: 42:[90, 10, 44], Operations: ['82-38=44']
Exploring Operation: 90-44=46, Resulting Numbers: [10, 46]
Generated Node #0,3,0: 42:[10, 46] Operation: 90-44=46
Exploring Operation: 44-10=34, Resulting Numbers: [90, 34]
Generated Node #0,3,1: 42:[90, 34] Operation: 44-10=34
Exploring Operation: 90+10=100, Resulting Numbers: [44, 100]
Generated Node #0,3,2: 42:[44, 100] Operation: 90+10=100
Exploring Operation: 90-10=80, Resulting Numbers: [44, 80]
Generated Node #0,3,3: 42:[44, 80] Operation: 90-10=80
Exploring Operation: 90/10=9, Resulting Numbers: [44, 9]
Generated Node #0,3,4: 42:[44, 9] Operation: 90/10=9
Moving to Node #0,1
Current State: 42:[82, 38, 80], Operations: ['90-10=80']
Exploring Operation: 82-80=2, Resulting Numbers: [38, 2]
Generated Node #0,1,0: 42:[38, 2] Operation: 82-80=2
Exploring Operation: 38+80=118, Resulting Numbers: [82, 118]
Generated Node #0,1,1: 42:[82, 118] Operation: 38+80=118
Exploring Operation: 80-38=42, Resulting Numbers: [82, 42]
Generated Node #0,1,2: 42:[82, 42] Operation: 80-38=42
Exploring Operation: 82-38=44, Resulting Numbers: [80, 44]
Generated Node #0,1,3: 42:[80, 44] Operation: 82-38=44
Exploring Operation: 82+38=120, Resulting Numbers: [80, 120]
Generated Node #0,1,4: 42:[80, 120] Operation: 82+38=120
Moving to Node #0,4,1
Current State: 42:[38, 2], Operations: ['90-82=8', '10-8=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Moving to Node #0,3,4
Current State: 42:[44, 9], Operations: ['82-38=44', '90/10=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[38, 2], Operations: ['90-10=80', '82-80=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Moving to Node #0,4,3
Current State: 42:[10, 46], Operations: ['90-82=8', '38+8=46']
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,42 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[10, 46], Operations: ['82-38=44', '90-44=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,42 unequal: No Solution
Moving to Node #0,4,0
Current State: 42:[8, 48], Operations: ['90-82=8', '10+38=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 8*48=384, Resulting Numbers: [384]
384,42 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Moving to Node #0,4,4
Current State: 42:[38, 18], Operations: ['90-82=8', '10+8=18']
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,42 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,4,2
Current State: 42:[8, 28], Operations: ['90-82=8', '38-10=28']
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,42 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[10, 30], Operations: ['90-38=52', '82-52=30']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,42 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[82, 42], Operations: ['90-38=52', '52-10=42']
Exploring Operation: 82-42=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 82+42=124, Resulting Numbers: [124]
124,42 unequal: No Solution
Exploring Operation: 82*42=3444, Resulting Numbers: [3444]
3444,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[44, 80], Operations: ['82-38=44', '90-10=80']
Exploring Operation: 44+80=124, Resulting Numbers: [124]
124,42 unequal: No Solution
Exploring Operation: 44*80=3520, Resulting Numbers: [3520]
3520,42 unequal: No Solution
Exploring Operation: 80-44=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[80, 44], Operations: ['90-10=80', '82-38=44']
Exploring Operation: 80*44=3520, Resulting Numbers: [3520]
3520,42 unequal: No Solution
Exploring Operation: 80+44=124, Resulting Numbers: [124]
124,42 unequal: No Solution
Exploring Operation: 80-44=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[52, 72], Operations: ['90-38=52', '82-10=72']
Exploring Operation: 52+72=124, Resulting Numbers: [124]
124,42 unequal: No Solution
Exploring Operation: 52*72=3744, Resulting Numbers: [3744]
3744,42 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[82, 42], Operations: ['90-10=80', '80-38=42']
Exploring Operation: 82-42=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 82+42=124, Resulting Numbers: [124]
124,42 unequal: No Solution
Exploring Operation: 82*42=3444, Resulting Numbers: [3444]
3444,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[90, 34], Operations: ['82-38=44', '44-10=34']
Exploring Operation: 90+34=124, Resulting Numbers: [124]
124,42 unequal: No Solution
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 90*34=3060, Resulting Numbers: [3060]
3060,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[52, 92], Operations: ['90-38=52', '82+10=92']
Exploring Operation: 52+92=144, Resulting Numbers: [144]
144,42 unequal: No Solution
Exploring Operation: 52*92=4784, Resulting Numbers: [4784]
4784,42 unequal: No Solution
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Moving to Node #0,2,4
Current State: 42:[82, 62], Operations: ['90-38=52', '10+52=62']
Exploring Operation: 82+62=144, Resulting Numbers: [144]
144,42 unequal: No Solution
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 82*62=5084, Resulting Numbers: [5084]
5084,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[44, 100], Operations: ['82-38=44', '90+10=100']
Exploring Operation: 100-44=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 44*100=4400, Resulting Numbers: [4400]
4400,42 unequal: No Solution
Exploring Operation: 44+100=144, Resulting Numbers: [144]
144,42 unequal: No Solution
Moving to Node #0,1,4
Current State: 42:[80, 120], Operations: ['90-10=80', '82+38=120']
Exploring Operation: 80*120=9600, Resulting Numbers: [9600]
9600,42 unequal: No Solution
Exploring Operation: 80+120=200, Resulting Numbers: [200]
200,42 unequal: No Solution
Exploring Operation: 120-80=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[82, 118], Operations: ['90-10=80', '38+80=118']
Exploring Operation: 82+118=200, Resulting Numbers: [200]
200,42 unequal: No Solution
Exploring Operation: 118-82=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 82*118=9676, Resulting Numbers: [9676]
9676,42 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
55,
3,
31,
19
] | 91 | [
"55-31=24",
"3*24=72",
"19+72=91"
] | Current State: 91:[55, 3, 31, 19], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [3, 19, 24]
Generated Node #2: [3, 19, 24] from Operation: 55-31=24
Current State: 91:[3, 19, 24], Operations: ['55-31=24']
Exploring Operation: 3*24=72, Resulting Numbers: [19, 72]
Generated Node #3: [19, 72] from Operation: 3*24=72
Current State: 91:[19, 72], Operations: ['55-31=24', '3*24=72']
Exploring Operation: 19+72=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[55, 3, 31, 19], Operations: []
Exploring Operation: 3*31=93, Resulting Numbers: [55, 19, 93]
Generated Node #0,0: 91:[55, 19, 93] Operation: 3*31=93
Exploring Operation: 55+31=86, Resulting Numbers: [3, 19, 86]
Generated Node #0,1: 91:[3, 19, 86] Operation: 55+31=86
Exploring Operation: 31-19=12, Resulting Numbers: [55, 3, 12]
Generated Node #0,2: 91:[55, 3, 12] Operation: 31-19=12
Exploring Operation: 55+19=74, Resulting Numbers: [3, 31, 74]
Generated Node #0,3: 91:[3, 31, 74] Operation: 55+19=74
Exploring Operation: 55-31=24, Resulting Numbers: [3, 19, 24]
Generated Node #0,4: 91:[3, 19, 24] Operation: 55-31=24
Moving to Node #0,1
Current State: 91:[3, 19, 86], Operations: ['55+31=86']
Exploring Operation: 3+86=89, Resulting Numbers: [19, 89]
Generated Node #0,1,0: 91:[19, 89] Operation: 3+86=89
Exploring Operation: 86-3=83, Resulting Numbers: [19, 83]
Generated Node #0,1,1: 91:[19, 83] Operation: 86-3=83
Exploring Operation: 19+86=105, Resulting Numbers: [3, 105]
Generated Node #0,1,2: 91:[3, 105] Operation: 19+86=105
Exploring Operation: 19-3=16, Resulting Numbers: [86, 16]
Generated Node #0,1,3: 91:[86, 16] Operation: 19-3=16
Exploring Operation: 3+19=22, Resulting Numbers: [86, 22]
Generated Node #0,1,4: 91:[86, 22] Operation: 3+19=22
Moving to Node #0,4
Current State: 91:[3, 19, 24], Operations: ['55-31=24']
Exploring Operation: 3+19=22, Resulting Numbers: [24, 22]
Generated Node #0,4,0: 91:[24, 22] Operation: 3+19=22
Exploring Operation: 19-3=16, Resulting Numbers: [24, 16]
Generated Node #0,4,1: 91:[24, 16] Operation: 19-3=16
Exploring Operation: 24-3=21, Resulting Numbers: [19, 21]
Generated Node #0,4,2: 91:[19, 21] Operation: 24-3=21
Exploring Operation: 24-19=5, Resulting Numbers: [3, 5]
Generated Node #0,4,3: 91:[3, 5] Operation: 24-19=5
Exploring Operation: 24/3=8, Resulting Numbers: [19, 8]
Generated Node #0,4,4: 91:[19, 8] Operation: 24/3=8
Moving to Node #0,3
Current State: 91:[3, 31, 74], Operations: ['55+19=74']
Exploring Operation: 3+74=77, Resulting Numbers: [31, 77]
Generated Node #0,3,0: 91:[31, 77] Operation: 3+74=77
Exploring Operation: 31-3=28, Resulting Numbers: [74, 28]
Generated Node #0,3,1: 91:[74, 28] Operation: 31-3=28
Exploring Operation: 31+74=105, Resulting Numbers: [3, 105]
Generated Node #0,3,2: 91:[3, 105] Operation: 31+74=105
Exploring Operation: 3*31=93, Resulting Numbers: [74, 93]
Generated Node #0,3,3: 91:[74, 93] Operation: 3*31=93
Exploring Operation: 74-31=43, Resulting Numbers: [3, 43]
Generated Node #0,3,4: 91:[3, 43] Operation: 74-31=43
Moving to Node #0,2
Current State: 91:[55, 3, 12], Operations: ['31-19=12']
Exploring Operation: 55+3=58, Resulting Numbers: [12, 58]
Generated Node #0,2,0: 91:[12, 58] Operation: 55+3=58
Exploring Operation: 3+12=15, Resulting Numbers: [55, 15]
Generated Node #0,2,1: 91:[55, 15] Operation: 3+12=15
Exploring Operation: 55+12=67, Resulting Numbers: [3, 67]
Generated Node #0,2,2: 91:[3, 67] Operation: 55+12=67
Exploring Operation: 55-12=43, Resulting Numbers: [3, 43]
Generated Node #0,2,3: 91:[3, 43] Operation: 55-12=43
Exploring Operation: 12-3=9, Resulting Numbers: [55, 9]
Generated Node #0,2,4: 91:[55, 9] Operation: 12-3=9
Moving to Node #0,0
Current State: 91:[55, 19, 93], Operations: ['3*31=93']
Exploring Operation: 19+93=112, Resulting Numbers: [55, 112]
Generated Node #0,0,0: 91:[55, 112] Operation: 19+93=112
Exploring Operation: 93-19=74, Resulting Numbers: [55, 74]
Generated Node #0,0,1: 91:[55, 74] Operation: 93-19=74
Exploring Operation: 93-55=38, Resulting Numbers: [19, 38]
Generated Node #0,0,2: 91:[19, 38] Operation: 93-55=38
Exploring Operation: 55+19=74, Resulting Numbers: [93, 74]
Generated Node #0,0,3: 91:[93, 74] Operation: 55+19=74
Exploring Operation: 55-19=36, Resulting Numbers: [93, 36]
Generated Node #0,0,4: 91:[93, 36] Operation: 55-19=36
Moving to Node #0,4,3
Current State: 91:[3, 5], Operations: ['55-31=24', '24-19=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,4,4
Current State: 91:[19, 8], Operations: ['55-31=24', '24/3=8']
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,91 unequal: No Solution
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[19, 89], Operations: ['55+31=86', '3+86=89']
Exploring Operation: 19+89=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 19*89=1691, Resulting Numbers: [1691]
1691,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[86, 16], Operations: ['55+31=86', '19-3=16']
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 86+16=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 86*16=1376, Resulting Numbers: [1376]
1376,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[19, 83], Operations: ['55+31=86', '86-3=83']
Exploring Operation: 19*83=1577, Resulting Numbers: [1577]
1577,91 unequal: No Solution
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,91 unequal: No Solution
Exploring Operation: 19+83=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[86, 22], Operations: ['55+31=86', '3+19=22']
Exploring Operation: 86*22=1892, Resulting Numbers: [1892]
1892,91 unequal: No Solution
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,91 unequal: No Solution
Exploring Operation: 86+22=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Moving to Node #0,4,2
Current State: 91:[19, 21], Operations: ['55-31=24', '24-3=21']
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,91 unequal: No Solution
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Moving to Node #0,4,1
Current State: 91:[24, 16], Operations: ['55-31=24', '19-3=16']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,91 unequal: No Solution
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[3, 105], Operations: ['55+31=86', '19+86=105']
Exploring Operation: 3*105=315, Resulting Numbers: [315]
315,91 unequal: No Solution
Exploring Operation: 105-3=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 105/3=35, Resulting Numbers: [35]
35,91 unequal: No Solution
Exploring Operation: 3+105=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[3, 105], Operations: ['55+19=74', '31+74=105']
Exploring Operation: 3+105=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Exploring Operation: 105-3=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 105/3=35, Resulting Numbers: [35]
35,91 unequal: No Solution
Exploring Operation: 3*105=315, Resulting Numbers: [315]
315,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[74, 93], Operations: ['55+19=74', '3*31=93']
Exploring Operation: 74*93=6882, Resulting Numbers: [6882]
6882,91 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 74+93=167, Resulting Numbers: [167]
167,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[93, 74], Operations: ['3*31=93', '55+19=74']
Exploring Operation: 93*74=6882, Resulting Numbers: [6882]
6882,91 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 93+74=167, Resulting Numbers: [167]
167,91 unequal: No Solution
Moving to Node #0,4,0
Current State: 91:[24, 22], Operations: ['55-31=24', '3+19=22']
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 24*22=528, Resulting Numbers: [528]
528,91 unequal: No Solution
Moving to Node #0,0,4
Current State: 91:[93, 36], Operations: ['3*31=93', '55-19=36']
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,91 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[3, 67], Operations: ['31-19=12', '55+12=67']
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 3*67=201, Resulting Numbers: [201]
201,91 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[19, 38], Operations: ['3*31=93', '93-55=38']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,91 unequal: No Solution
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,91 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[74, 28], Operations: ['55+19=74', '31-3=28']
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 74+28=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 74*28=2072, Resulting Numbers: [2072]
2072,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[31, 77], Operations: ['55+19=74', '3+74=77']
Exploring Operation: 31+77=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Exploring Operation: 31*77=2387, Resulting Numbers: [2387]
2387,91 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[3, 43], Operations: ['31-19=12', '55-12=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[12, 58], Operations: ['31-19=12', '55+3=58']
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
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,91 unequal: No Solution
Moving to Node #0,3,4
Current State: 91:[3, 43], Operations: ['55+19=74', '74-31=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Moving to Node #0,2,4
Current State: 91:[55, 9], Operations: ['31-19=12', '12-3=9']
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,91 unequal: No Solution
Exploring Operation: 55*9=495, Resulting Numbers: [495]
495,91 unequal: No Solution
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[55, 15], Operations: ['31-19=12', '3+12=15']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,91 unequal: No Solution
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[55, 74], Operations: ['3*31=93', '93-19=74']
Exploring Operation: 55+74=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Exploring Operation: 55*74=4070, Resulting Numbers: [4070]
4070,91 unequal: No Solution
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[55, 112], Operations: ['3*31=93', '19+93=112']
Exploring Operation: 55*112=6160, Resulting Numbers: [6160]
6160,91 unequal: No Solution
Exploring Operation: 112-55=57, Resulting Numbers: [57]
57,91 unequal: No Solution
Exploring Operation: 55+112=167, Resulting Numbers: [167]
167,91 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
88,
1,
91,
24
] | 48 | [
"88+1=89",
"91-89=2",
"24*2=48"
] | Current State: 48:[88, 1, 91, 24], Operations: []
Exploring Operation: 88+1=89, Resulting Numbers: [91, 24, 89]
Generated Node #2: [91, 24, 89] from Operation: 88+1=89
Current State: 48:[91, 24, 89], Operations: ['88+1=89']
Exploring Operation: 91-89=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 91-89=2
Current State: 48:[24, 2], Operations: ['88+1=89', '91-89=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[88, 1, 91, 24], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [1, 24, 3]
Generated Node #0,0: 48:[1, 24, 3] Operation: 91-88=3
Exploring Operation: 91-1=90, Resulting Numbers: [88, 24, 90]
Generated Node #0,1: 48:[88, 24, 90] Operation: 91-1=90
Exploring Operation: 91-24=67, Resulting Numbers: [88, 1, 67]
Generated Node #0,2: 48:[88, 1, 67] Operation: 91-24=67
Exploring Operation: 88-1=87, Resulting Numbers: [91, 24, 87]
Generated Node #0,3: 48:[91, 24, 87] Operation: 88-1=87
Exploring Operation: 88-24=64, Resulting Numbers: [1, 91, 64]
Generated Node #0,4: 48:[1, 91, 64] Operation: 88-24=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[1, 24, 3], Operations: ['91-88=3']
Exploring Operation: 3-1=2, Resulting Numbers: [24, 2]
Generated Node #0,0,0: 48:[24, 2] Operation: 3-1=2
Exploring Operation: 1*24=24, Resulting Numbers: [3, 24]
Generated Node #0,0,1: 48:[3, 24] Operation: 1*24=24
Exploring Operation: 1*3=3, Resulting Numbers: [24, 3]
Generated Node #0,0,2: 48:[24, 3] Operation: 1*3=3
Exploring Operation: 24/1=24, Resulting Numbers: [3, 24]
Generated Node #0,0,3: 48:[3, 24] Operation: 24/1=24
Exploring Operation: 1+3=4, Resulting Numbers: [24, 4]
Generated Node #0,0,4: 48:[24, 4] Operation: 1+3=4
Moving to Node #0,0,0
Current State: 48:[24, 2], Operations: ['91-88=3', '3-1=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[88, 1, 91, 24], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [1, 24, 3]
Generated Node #0,0: 48:[1, 24, 3] Operation: 91-88=3
Moving to Node #0,0
Current State: 48:[1, 24, 3], Operations: ['91-88=3']
Exploring Operation: 3-1=2, Resulting Numbers: [24, 2]
Generated Node #0,0,0: 48:[24, 2] Operation: 3-1=2
Moving to Node #0,0,0
Current State: 48:[24, 2], Operations: ['91-88=3', '3-1=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
72,
42,
61,
55
] | 37 | [
"72-61=11",
"55/11=5",
"42-5=37"
] | Current State: 37:[72, 42, 61, 55], Operations: []
Exploring Operation: 72-61=11, Resulting Numbers: [42, 55, 11]
Generated Node #2: [42, 55, 11] from Operation: 72-61=11
Current State: 37:[42, 55, 11], Operations: ['72-61=11']
Exploring Operation: 55/11=5, Resulting Numbers: [42, 5]
Generated Node #3: [42, 5] from Operation: 55/11=5
Current State: 37:[42, 5], Operations: ['72-61=11', '55/11=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[72, 42, 61, 55], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [42, 61, 17]
Generated Node #0,0: 37:[42, 61, 17] Operation: 72-55=17
Exploring Operation: 61-42=19, Resulting Numbers: [72, 55, 19]
Generated Node #0,1: 37:[72, 55, 19] Operation: 61-42=19
Exploring Operation: 72-42=30, Resulting Numbers: [61, 55, 30]
Generated Node #0,2: 37:[61, 55, 30] Operation: 72-42=30
Exploring Operation: 72-61=11, Resulting Numbers: [42, 55, 11]
Generated Node #0,3: 37:[42, 55, 11] Operation: 72-61=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[42, 61, 17], Operations: ['72-55=17']
Exploring Operation: 42+17=59, Resulting Numbers: [61, 59]
Generated Node #0,0,0: 37:[61, 59] Operation: 42+17=59
Exploring Operation: 42-17=25, Resulting Numbers: [61, 25]
Generated Node #0,0,1: 37:[61, 25] Operation: 42-17=25
Exploring Operation: 61-42=19, Resulting Numbers: [17, 19]
Generated Node #0,0,2: 37:[17, 19] Operation: 61-42=19
Exploring Operation: 61-17=44, Resulting Numbers: [42, 44]
Generated Node #0,0,3: 37:[42, 44] Operation: 61-17=44
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 37:[42, 44], Operations: ['72-55=17', '61-17=44']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,37 unequal: No Solution
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,37 unequal: No Solution
No 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: 37:[61, 25], Operations: ['72-55=17', '42-17=25']
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,37 unequal: No Solution
No 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: 37:[17, 19], Operations: ['72-55=17', '61-42=19']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,37 unequal: No Solution
No 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: 37:[61, 59], Operations: ['72-55=17', '42+17=59']
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 61+59=120, Resulting Numbers: [120]
120,37 unequal: No Solution
Exploring Operation: 61*59=3599, Resulting Numbers: [3599]
3599,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[61, 55, 30], Operations: ['72-42=30']
Exploring Operation: 61-55=6, Resulting Numbers: [30, 6]
Generated Node #0,2,0: 37:[30, 6] Operation: 61-55=6
Exploring Operation: 61-30=31, Resulting Numbers: [55, 31]
Generated Node #0,2,1: 37:[55, 31] Operation: 61-30=31
Exploring Operation: 55-30=25, Resulting Numbers: [61, 25]
Generated Node #0,2,2: 37:[61, 25] Operation: 55-30=25
Exploring Operation: 61+30=91, Resulting Numbers: [55, 91]
Generated Node #0,2,3: 37:[55, 91] Operation: 61+30=91
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[55, 31], Operations: ['72-42=30', '61-30=31']
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,37 unequal: No Solution
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,37 unequal: No Solution
No 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: 37:[61, 25], Operations: ['72-42=30', '55-30=25']
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,37 unequal: No Solution
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,37 unequal: No Solution
No 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: 37:[30, 6], Operations: ['72-42=30', '61-55=6']
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,37 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,37 unequal: No Solution
No 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: 37:[55, 91], Operations: ['72-42=30', '61+30=91']
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,37 unequal: No Solution
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[42, 55, 11], Operations: ['72-61=11']
Exploring Operation: 55-11=44, Resulting Numbers: [42, 44]
Generated Node #0,3,0: 37:[42, 44] Operation: 55-11=44
Exploring Operation: 55+11=66, Resulting Numbers: [42, 66]
Generated Node #0,3,1: 37:[42, 66] Operation: 55+11=66
Exploring Operation: 42+11=53, Resulting Numbers: [55, 53]
Generated Node #0,3,2: 37:[55, 53] Operation: 42+11=53
Exploring Operation: 42-11=31, Resulting Numbers: [55, 31]
Generated Node #0,3,3: 37:[55, 31] Operation: 42-11=31
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 37:[42, 44], Operations: ['72-61=11', '55-11=44']
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,37 unequal: No Solution
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No 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: 37:[55, 31], Operations: ['72-61=11', '42-11=31']
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,37 unequal: No Solution
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,37 unequal: No Solution
No 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: 37:[42, 66], Operations: ['72-61=11', '55+11=66']
Exploring Operation: 42*66=2772, Resulting Numbers: [2772]
2772,37 unequal: No Solution
Exploring Operation: 42+66=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,37 unequal: No Solution
No 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: 37:[55, 53], Operations: ['72-61=11', '42+11=53']
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 55*53=2915, Resulting Numbers: [2915]
2915,37 unequal: No Solution
Exploring Operation: 55+53=108, Resulting Numbers: [108]
108,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[72, 55, 19], Operations: ['61-42=19']
Exploring Operation: 72+19=91, Resulting Numbers: [55, 91]
Generated Node #0,1,0: 37:[55, 91] Operation: 72+19=91
Exploring Operation: 72-55=17, Resulting Numbers: [19, 17]
Generated Node #0,1,1: 37:[19, 17] Operation: 72-55=17
Exploring Operation: 72-19=53, Resulting Numbers: [55, 53]
Generated Node #0,1,2: 37:[55, 53] Operation: 72-19=53
Exploring Operation: 55-19=36, Resulting Numbers: [72, 36]
Generated Node #0,1,3: 37:[72, 36] Operation: 55-19=36
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[55, 53], Operations: ['61-42=19', '72-19=53']
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 55+53=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 55*53=2915, Resulting Numbers: [2915]
2915,37 unequal: No Solution
No 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: 37:[72, 36], Operations: ['61-42=19', '55-19=36']
Exploring Operation: 72*36=2592, Resulting Numbers: [2592]
2592,37 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 72+36=108, Resulting Numbers: [108]
108,37 unequal: No Solution
No 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: 37:[19, 17], Operations: ['61-42=19', '72-55=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,37 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No 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: 37:[55, 91], Operations: ['61-42=19', '72+19=91']
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,37 unequal: No Solution
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,37 unequal: No Solution
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
49,
14,
9,
31
] | 57 | [
"49-14=35",
"31-9=22",
"35+22=57"
] | Current State: 57:[49, 14, 9, 31], Operations: []
Exploring Operation: 49-14=35, Resulting Numbers: [9, 31, 35]
Generated Node #2: [9, 31, 35] from Operation: 49-14=35
Current State: 57:[9, 31, 35], Operations: ['49-14=35']
Exploring Operation: 31-9=22, Resulting Numbers: [35, 22]
Generated Node #3: [35, 22] from Operation: 31-9=22
Current State: 57:[35, 22], Operations: ['49-14=35', '31-9=22']
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[49, 14, 9, 31], Operations: []
Exploring Operation: 49-31=18, Resulting Numbers: [14, 9, 18]
Generated Node #0,0: 57:[14, 9, 18] Operation: 49-31=18
Exploring Operation: 31-9=22, Resulting Numbers: [49, 14, 22]
Generated Node #0,1: 57:[49, 14, 22] Operation: 31-9=22
Exploring Operation: 31-14=17, Resulting Numbers: [49, 9, 17]
Generated Node #0,2: 57:[49, 9, 17] Operation: 31-14=17
Moving to Node #0,0
Current State: 57:[14, 9, 18], Operations: ['49-31=18']
Exploring Operation: 18/9=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 57:[14, 2] Operation: 18/9=2
Exploring Operation: 14-9=5, Resulting Numbers: [18, 5]
Generated Node #0,0,1: 57:[18, 5] Operation: 14-9=5
Exploring Operation: 14+9=23, Resulting Numbers: [18, 23]
Generated Node #0,0,2: 57:[18, 23] Operation: 14+9=23
Moving to Node #0,1
Current State: 57:[49, 14, 22], Operations: ['31-9=22']
Exploring Operation: 22-14=8, Resulting Numbers: [49, 8]
Generated Node #0,1,0: 57:[49, 8] Operation: 22-14=8
Exploring Operation: 49-22=27, Resulting Numbers: [14, 27]
Generated Node #0,1,1: 57:[14, 27] Operation: 49-22=27
Exploring Operation: 49+14=63, Resulting Numbers: [22, 63]
Generated Node #0,1,2: 57:[22, 63] Operation: 49+14=63
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 57:[22, 63], Operations: ['31-9=22', '49+14=63']
Exploring Operation: 22+63=85, Resulting Numbers: [85]
85,57 unequal: No Solution
Exploring Operation: 22*63=1386, Resulting Numbers: [1386]
1386,57 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,57 unequal: No Solution
No 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: 57:[49, 8], Operations: ['31-9=22', '22-14=8']
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,57 unequal: No Solution
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[49, 14, 9, 31], Operations: []
Exploring Operation: 31-9=22, Resulting Numbers: [49, 14, 22]
Generated Node #0,1: 57:[49, 14, 22] Operation: 31-9=22
Moving to Node #0,1
Current State: 57:[49, 14, 22], Operations: ['31-9=22']
Exploring Operation: 22-14=8, Resulting Numbers: [49, 8]
Generated Node #0,1,0: 57:[49, 8] Operation: 22-14=8
Moving to Node #0,1,0
Current State: 57:[49, 8], Operations: ['31-9=22', '22-14=8']
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
56,
5,
3,
4
] | 12 | [
"56-5=51",
"51-3=48",
"48/4=12"
] | Current State: 12:[56, 5, 3, 4], Operations: []
Exploring Operation: 56-5=51, Resulting Numbers: [3, 4, 51]
Generated Node #2: [3, 4, 51] from Operation: 56-5=51
Current State: 12:[3, 4, 51], Operations: ['56-5=51']
Exploring Operation: 51-3=48, Resulting Numbers: [4, 48]
Generated Node #3: [4, 48] from Operation: 51-3=48
Current State: 12:[4, 48], Operations: ['56-5=51', '51-3=48']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[56, 5, 3, 4], Operations: []
Exploring Operation: 5-3=2, Resulting Numbers: [56, 4, 2]
Generated Node #0,0: 12:[56, 4, 2] Operation: 5-3=2
Exploring Operation: 56/4=14, Resulting Numbers: [5, 3, 14]
Generated Node #0,1: 12:[5, 3, 14] Operation: 56/4=14
Exploring Operation: 56-5=51, Resulting Numbers: [3, 4, 51]
Generated Node #0,2: 12:[3, 4, 51] Operation: 56-5=51
Exploring Operation: 56-4=52, Resulting Numbers: [5, 3, 52]
Generated Node #0,3: 12:[5, 3, 52] Operation: 56-4=52
Exploring Operation: 56-3=53, Resulting Numbers: [5, 4, 53]
Generated Node #0,4: 12:[5, 4, 53] Operation: 56-3=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[5, 3, 14], Operations: ['56/4=14']
Exploring Operation: 5*3=15, Resulting Numbers: [14, 15]
Generated Node #0,1,0: 12:[14, 15] Operation: 5*3=15
Exploring Operation: 14-5=9, Resulting Numbers: [3, 9]
Generated Node #0,1,1: 12:[3, 9] Operation: 14-5=9
Exploring Operation: 5-3=2, Resulting Numbers: [14, 2]
Generated Node #0,1,2: 12:[14, 2] Operation: 5-3=2
Exploring Operation: 5+3=8, Resulting Numbers: [14, 8]
Generated Node #0,1,3: 12:[14, 8] Operation: 5+3=8
Exploring Operation: 14-3=11, Resulting Numbers: [5, 11]
Generated Node #0,1,4: 12:[5, 11] Operation: 14-3=11
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 12:[14, 2], Operations: ['56/4=14', '5-3=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,12 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[56, 5, 3, 4], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [5, 3, 14]
Generated Node #0,1: 12:[5, 3, 14] Operation: 56/4=14
Moving to Node #0,1
Current State: 12:[5, 3, 14], Operations: ['56/4=14']
Exploring Operation: 5-3=2, Resulting Numbers: [14, 2]
Generated Node #0,1,2: 12:[14, 2] Operation: 5-3=2
Moving to Node #0,1,2
Current State: 12:[14, 2], Operations: ['56/4=14', '5-3=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
31,
33,
59,
28
] | 33 | [
"31+33=64",
"59-28=31",
"64-31=33"
] | Current State: 33:[31, 33, 59, 28], Operations: []
Exploring Operation: 31+33=64, Resulting Numbers: [59, 28, 64]
Generated Node #2: [59, 28, 64] from Operation: 31+33=64
Current State: 33:[59, 28, 64], Operations: ['31+33=64']
Exploring Operation: 59-28=31, Resulting Numbers: [64, 31]
Generated Node #3: [64, 31] from Operation: 59-28=31
Current State: 33:[64, 31], Operations: ['31+33=64', '59-28=31']
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[31, 33, 59, 28], Operations: []
Exploring Operation: 59-28=31, Resulting Numbers: [31, 33, 31]
Generated Node #0,0: 33:[31, 33, 31] Operation: 59-28=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[31, 33, 31], Operations: ['59-28=31']
Exploring Operation: 31/31=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 33:[33, 1] Operation: 31/31=1
Moving to Node #0,0,0
Current State: 33:[33, 1], Operations: ['59-28=31', '31/31=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[31, 33, 59, 28], Operations: []
Exploring Operation: 59-28=31, Resulting Numbers: [31, 33, 31]
Generated Node #0,0: 33:[31, 33, 31] Operation: 59-28=31
Moving to Node #0,0
Current State: 33:[31, 33, 31], Operations: ['59-28=31']
Exploring Operation: 31/31=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 33:[33, 1] Operation: 31/31=1
Moving to Node #0,0,0
Current State: 33:[33, 1], Operations: ['59-28=31', '31/31=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
88,
17,
58,
68
] | 55 | [
"88-17=71",
"58+68=126",
"126-71=55"
] | Current State: 55:[88, 17, 58, 68], Operations: []
Exploring Operation: 88-17=71, Resulting Numbers: [58, 68, 71]
Generated Node #2: [58, 68, 71] from Operation: 88-17=71
Current State: 55:[58, 68, 71], Operations: ['88-17=71']
Exploring Operation: 58+68=126, Resulting Numbers: [71, 126]
Generated Node #3: [71, 126] from Operation: 58+68=126
Current State: 55:[71, 126], Operations: ['88-17=71', '58+68=126']
Exploring Operation: 126-71=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[88, 17, 58, 68], Operations: []
Exploring Operation: 88-68=20, Resulting Numbers: [17, 58, 20]
Generated Node #0,0: 55:[17, 58, 20] Operation: 88-68=20
Moving to Node #0,0
Current State: 55:[17, 58, 20], Operations: ['88-68=20']
Exploring Operation: 20-17=3, Resulting Numbers: [58, 3]
Generated Node #0,0,0: 55:[58, 3] Operation: 20-17=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[58, 3], Operations: ['88-68=20', '20-17=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[88, 17, 58, 68], Operations: []
Exploring Operation: 88-68=20, Resulting Numbers: [17, 58, 20]
Generated Node #0,0: 55:[17, 58, 20] Operation: 88-68=20
Moving to Node #0,0
Current State: 55:[17, 58, 20], Operations: ['88-68=20']
Exploring Operation: 20-17=3, Resulting Numbers: [58, 3]
Generated Node #0,0,0: 55:[58, 3] Operation: 20-17=3
Moving to Node #0,0,0
Current State: 55:[58, 3], Operations: ['88-68=20', '20-17=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
54,
73,
14,
63
] | 78 | [
"54+73=127",
"63-14=49",
"127-49=78"
] | Current State: 78:[54, 73, 14, 63], Operations: []
Exploring Operation: 54+73=127, Resulting Numbers: [14, 63, 127]
Generated Node #2: [14, 63, 127] from Operation: 54+73=127
Current State: 78:[14, 63, 127], Operations: ['54+73=127']
Exploring Operation: 63-14=49, Resulting Numbers: [127, 49]
Generated Node #3: [127, 49] from Operation: 63-14=49
Current State: 78:[127, 49], Operations: ['54+73=127', '63-14=49']
Exploring Operation: 127-49=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[54, 73, 14, 63], Operations: []
Exploring Operation: 73-63=10, Resulting Numbers: [54, 14, 10]
Generated Node #0,0: 78:[54, 14, 10] Operation: 73-63=10
Exploring Operation: 63-54=9, Resulting Numbers: [73, 14, 9]
Generated Node #0,1: 78:[73, 14, 9] Operation: 63-54=9
Moving to Node #0,1
Current State: 78:[73, 14, 9], Operations: ['63-54=9']
Exploring Operation: 14-9=5, Resulting Numbers: [73, 5]
Generated Node #0,1,0: 78:[73, 5] Operation: 14-9=5
Exploring Operation: 73+9=82, Resulting Numbers: [14, 82]
Generated Node #0,1,1: 78:[14, 82] Operation: 73+9=82
Moving to Node #0,0
Current State: 78:[54, 14, 10], Operations: ['73-63=10']
Exploring Operation: 54-10=44, Resulting Numbers: [14, 44]
Generated Node #0,0,0: 78:[14, 44] Operation: 54-10=44
Exploring Operation: 54-14=40, Resulting Numbers: [10, 40]
Generated Node #0,0,1: 78:[10, 40] Operation: 54-14=40
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[10, 40], Operations: ['73-63=10', '54-14=40']
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[14, 44], Operations: ['73-63=10', '54-10=44']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,78 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: 78:[14, 82], Operations: ['63-54=9', '73+9=82']
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,78 unequal: No Solution
Exploring Operation: 14+82=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[73, 5], Operations: ['63-54=9', '14-9=5']
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[54, 73, 14, 63], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [73, 14, 9]
Generated Node #0,1: 78:[73, 14, 9] Operation: 63-54=9
Moving to Node #0,1
Current State: 78:[73, 14, 9], Operations: ['63-54=9']
Exploring Operation: 14-9=5, Resulting Numbers: [73, 5]
Generated Node #0,1,0: 78:[73, 5] Operation: 14-9=5
Moving to Node #0,1,0
Current State: 78:[73, 5], Operations: ['63-54=9', '14-9=5']
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
60,
36,
72,
79
] | 82 | [
"60-36=24",
"72/24=3",
"79+3=82"
] | Current State: 82:[60, 36, 72, 79], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [72, 79, 24]
Generated Node #2: [72, 79, 24] from Operation: 60-36=24
Current State: 82:[72, 79, 24], Operations: ['60-36=24']
Exploring Operation: 72/24=3, Resulting Numbers: [79, 3]
Generated Node #3: [79, 3] from Operation: 72/24=3
Current State: 82:[79, 3], Operations: ['60-36=24', '72/24=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[60, 36, 72, 79], Operations: []
Exploring Operation: 72-60=12, Resulting Numbers: [36, 79, 12]
Generated Node #0,0: 82:[36, 79, 12] Operation: 72-60=12
Exploring Operation: 72/36=2, Resulting Numbers: [60, 79, 2]
Generated Node #0,1: 82:[60, 79, 2] Operation: 72/36=2
Exploring Operation: 60+36=96, Resulting Numbers: [72, 79, 96]
Generated Node #0,2: 82:[72, 79, 96] Operation: 60+36=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[36, 79, 12], Operations: ['72-60=12']
Exploring Operation: 36/12=3, Resulting Numbers: [79, 3]
Generated Node #0,0,0: 82:[79, 3] Operation: 36/12=3
Exploring Operation: 79-36=43, Resulting Numbers: [12, 43]
Generated Node #0,0,1: 82:[12, 43] Operation: 79-36=43
Exploring Operation: 36+12=48, Resulting Numbers: [79, 48]
Generated Node #0,0,2: 82:[79, 48] Operation: 36+12=48
Moving to Node #0,0,0
Current State: 82:[79, 3], Operations: ['72-60=12', '36/12=3']
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,82 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[60, 36, 72, 79], Operations: []
Exploring Operation: 72-60=12, Resulting Numbers: [36, 79, 12]
Generated Node #0,0: 82:[36, 79, 12] Operation: 72-60=12
Moving to Node #0,0
Current State: 82:[36, 79, 12], Operations: ['72-60=12']
Exploring Operation: 36/12=3, Resulting Numbers: [79, 3]
Generated Node #0,0,0: 82:[79, 3] Operation: 36/12=3
Moving to Node #0,0,0
Current State: 82:[79, 3], Operations: ['72-60=12', '36/12=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
57,
88,
49,
19
] | 42 | [
"57/19=3",
"88-49=39",
"3+39=42"
] | Current State: 42:[57, 88, 49, 19], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [88, 49, 3]
Generated Node #2: [88, 49, 3] from Operation: 57/19=3
Current State: 42:[88, 49, 3], Operations: ['57/19=3']
Exploring Operation: 88-49=39, Resulting Numbers: [3, 39]
Generated Node #3: [3, 39] from Operation: 88-49=39
Current State: 42:[3, 39], Operations: ['57/19=3', '88-49=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[57, 88, 49, 19], Operations: []
Exploring Operation: 88-57=31, Resulting Numbers: [49, 19, 31]
Generated Node #0,0: 42:[49, 19, 31] Operation: 88-57=31
Exploring Operation: 57-49=8, Resulting Numbers: [88, 19, 8]
Generated Node #0,1: 42:[88, 19, 8] Operation: 57-49=8
Exploring Operation: 88-49=39, Resulting Numbers: [57, 19, 39]
Generated Node #0,2: 42:[57, 19, 39] Operation: 88-49=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[49, 19, 31], Operations: ['88-57=31']
Exploring Operation: 19+31=50, Resulting Numbers: [49, 50]
Generated Node #0,0,0: 42:[49, 50] Operation: 19+31=50
Exploring Operation: 31-19=12, Resulting Numbers: [49, 12]
Generated Node #0,0,1: 42:[49, 12] Operation: 31-19=12
Exploring Operation: 49-31=18, Resulting Numbers: [19, 18]
Generated Node #0,0,2: 42:[19, 18] Operation: 49-31=18
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[19, 18], Operations: ['88-57=31', '49-31=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[49, 12], Operations: ['88-57=31', '31-19=12']
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,42 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[49, 50], Operations: ['88-57=31', '19+31=50']
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,42 unequal: No Solution
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,42 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[57, 19, 39], Operations: ['88-49=39']
Exploring Operation: 57-19=38, Resulting Numbers: [39, 38]
Generated Node #0,2,0: 42:[39, 38] Operation: 57-19=38
Exploring Operation: 57-39=18, Resulting Numbers: [19, 18]
Generated Node #0,2,1: 42:[19, 18] Operation: 57-39=18
Exploring Operation: 57/19=3, Resulting Numbers: [39, 3]
Generated Node #0,2,2: 42:[39, 3] Operation: 57/19=3
Moving to Node #0,2,2
Current State: 42:[39, 3], Operations: ['88-49=39', '57/19=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[57, 88, 49, 19], Operations: []
Exploring Operation: 88-49=39, Resulting Numbers: [57, 19, 39]
Generated Node #0,2: 42:[57, 19, 39] Operation: 88-49=39
Moving to Node #0,2
Current State: 42:[57, 19, 39], Operations: ['88-49=39']
Exploring Operation: 57/19=3, Resulting Numbers: [39, 3]
Generated Node #0,2,2: 42:[39, 3] Operation: 57/19=3
Moving to Node #0,2,2
Current State: 42:[39, 3], Operations: ['88-49=39', '57/19=3']
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
9,
5,
49,
22
] | 88 | [
"9*5=45",
"49-45=4",
"22*4=88"
] | Current State: 88:[9, 5, 49, 22], Operations: []
Exploring Operation: 9*5=45, Resulting Numbers: [49, 22, 45]
Generated Node #2: [49, 22, 45] from Operation: 9*5=45
Current State: 88:[49, 22, 45], Operations: ['9*5=45']
Exploring Operation: 49-45=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 49-45=4
Current State: 88:[22, 4], Operations: ['9*5=45', '49-45=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[9, 5, 49, 22], Operations: []
Exploring Operation: 9*5=45, Resulting Numbers: [49, 22, 45]
Generated Node #0,0: 88:[49, 22, 45] Operation: 9*5=45
Exploring Operation: 9-5=4, Resulting Numbers: [49, 22, 4]
Generated Node #0,1: 88:[49, 22, 4] Operation: 9-5=4
Exploring Operation: 49-5=44, Resulting Numbers: [9, 22, 44]
Generated Node #0,2: 88:[9, 22, 44] Operation: 49-5=44
Exploring Operation: 49-22=27, Resulting Numbers: [9, 5, 27]
Generated Node #0,3: 88:[9, 5, 27] Operation: 49-22=27
Exploring Operation: 49-9=40, Resulting Numbers: [5, 22, 40]
Generated Node #0,4: 88:[5, 22, 40] Operation: 49-9=40
Moving to Node #0,2
Current State: 88:[9, 22, 44], Operations: ['49-5=44']
Exploring Operation: 9+44=53, Resulting Numbers: [22, 53]
Generated Node #0,2,0: 88:[22, 53] Operation: 9+44=53
Exploring Operation: 22-9=13, Resulting Numbers: [44, 13]
Generated Node #0,2,1: 88:[44, 13] Operation: 22-9=13
Exploring Operation: 44/22=2, Resulting Numbers: [9, 2]
Generated Node #0,2,2: 88:[9, 2] Operation: 44/22=2
Exploring Operation: 44-22=22, Resulting Numbers: [9, 22]
Generated Node #0,2,3: 88:[9, 22] Operation: 44-22=22
Exploring Operation: 9+22=31, Resulting Numbers: [44, 31]
Generated Node #0,2,4: 88:[44, 31] Operation: 9+22=31
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[9, 2], Operations: ['49-5=44', '44/22=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 88:[9, 22], Operations: ['49-5=44', '44-22=22']
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[44, 13], Operations: ['49-5=44', '22-9=13']
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,88 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[22, 53], Operations: ['49-5=44', '9+44=53']
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 22*53=1166, Resulting Numbers: [1166]
1166,88 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 88:[44, 31], Operations: ['49-5=44', '9+22=31']
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 88:[5, 22, 40], Operations: ['49-9=40']
Exploring Operation: 5+40=45, Resulting Numbers: [22, 45]
Generated Node #0,4,0: 88:[22, 45] Operation: 5+40=45
Exploring Operation: 40-22=18, Resulting Numbers: [5, 18]
Generated Node #0,4,1: 88:[5, 18] Operation: 40-22=18
Exploring Operation: 5+22=27, Resulting Numbers: [40, 27]
Generated Node #0,4,2: 88:[40, 27] Operation: 5+22=27
Exploring Operation: 22-5=17, Resulting Numbers: [40, 17]
Generated Node #0,4,3: 88:[40, 17] Operation: 22-5=17
Exploring Operation: 40/5=8, Resulting Numbers: [22, 8]
Generated Node #0,4,4: 88:[22, 8] Operation: 40/5=8
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 88:[22, 8], Operations: ['49-9=40', '40/5=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,88 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 88:[22, 45], Operations: ['49-9=40', '5+40=45']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 88:[5, 18], Operations: ['49-9=40', '40-22=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 88:[40, 27], Operations: ['49-9=40', '5+22=27']
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 40+27=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 40*27=1080, Resulting Numbers: [1080]
1080,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 88:[40, 17], Operations: ['49-9=40', '22-5=17']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,88 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,88 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: 88:[49, 22, 4], Operations: ['9-5=4']
Exploring Operation: 49-4=45, Resulting Numbers: [22, 45]
Generated Node #0,1,0: 88:[22, 45] Operation: 49-4=45
Exploring Operation: 22*4=88, Resulting Numbers: [49, 88]
Generated Node #0,1,1: 88:[49, 88] Operation: 22*4=88
Exploring Operation: 49+4=53, Resulting Numbers: [22, 53]
Generated Node #0,1,2: 88:[22, 53] Operation: 49+4=53
Exploring Operation: 49-22=27, Resulting Numbers: [4, 27]
Generated Node #0,1,3: 88:[4, 27] Operation: 49-22=27
Exploring Operation: 22+4=26, Resulting Numbers: [49, 26]
Generated Node #0,1,4: 88:[49, 26] Operation: 22+4=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[22, 45], Operations: ['9-5=4', '49-4=45']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[49, 88], Operations: ['9-5=4', '22*4=88']
Exploring Operation: 49+88=137, Resulting Numbers: [137]
137,88 unequal: No Solution
Exploring Operation: 49*88=4312, Resulting Numbers: [4312]
4312,88 unequal: No Solution
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[4, 27], Operations: ['9-5=4', '49-22=27']
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[22, 53], Operations: ['9-5=4', '49+4=53']
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 22*53=1166, Resulting Numbers: [1166]
1166,88 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 88:[49, 26], Operations: ['9-5=4', '22+4=26']
Exploring Operation: 49+26=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 49*26=1274, Resulting Numbers: [1274]
1274,88 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,88 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: 88:[49, 22, 45], Operations: ['9*5=45']
Exploring Operation: 45-22=23, Resulting Numbers: [49, 23]
Generated Node #0,0,0: 88:[49, 23] Operation: 45-22=23
Exploring Operation: 49+45=94, Resulting Numbers: [22, 94]
Generated Node #0,0,1: 88:[22, 94] Operation: 49+45=94
Exploring Operation: 49-22=27, Resulting Numbers: [45, 27]
Generated Node #0,0,2: 88:[45, 27] Operation: 49-22=27
Exploring Operation: 49+22=71, Resulting Numbers: [45, 71]
Generated Node #0,0,3: 88:[45, 71] Operation: 49+22=71
Exploring Operation: 49-45=4, Resulting Numbers: [22, 4]
Generated Node #0,0,4: 88:[22, 4] Operation: 49-45=4
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 88:[22, 4], Operations: ['9*5=45', '49-45=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[9, 5, 49, 22], Operations: []
Exploring Operation: 9*5=45, Resulting Numbers: [49, 22, 45]
Generated Node #0,0: 88:[49, 22, 45] Operation: 9*5=45
Moving to Node #0,0
Current State: 88:[49, 22, 45], Operations: ['9*5=45']
Exploring Operation: 49-45=4, Resulting Numbers: [22, 4]
Generated Node #0,0,4: 88:[22, 4] Operation: 49-45=4
Moving to Node #0,0,4
Current State: 88:[22, 4], Operations: ['9*5=45', '49-45=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.934896 | hs_5 | mult_heuristic |
[
65,
2,
98,
10
] | 12 | [
"65-10=55",
"2*55=110",
"110-98=12"
] | Current State: 12:[65, 2, 98, 10], Operations: []
Exploring Operation: 65-10=55, Resulting Numbers: [2, 98, 55]
Generated Node #2: [2, 98, 55] from Operation: 65-10=55
Current State: 12:[2, 98, 55], Operations: ['65-10=55']
Exploring Operation: 2*55=110, Resulting Numbers: [98, 110]
Generated Node #3: [98, 110] from Operation: 2*55=110
Current State: 12:[98, 110], Operations: ['65-10=55', '2*55=110']
Exploring Operation: 110-98=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[65, 2, 98, 10], Operations: []
Exploring Operation: 98/2=49, Resulting Numbers: [65, 10, 49]
Generated Node #0,0: 12:[65, 10, 49] Operation: 98/2=49
Exploring Operation: 98-65=33, Resulting Numbers: [2, 10, 33]
Generated Node #0,1: 12:[2, 10, 33] Operation: 98-65=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[2, 10, 33], Operations: ['98-65=33']
Exploring Operation: 33-10=23, Resulting Numbers: [2, 23]
Generated Node #0,1,0: 12:[2, 23] Operation: 33-10=23
Exploring Operation: 2+10=12, Resulting Numbers: [33, 12]
Generated Node #0,1,1: 12:[33, 12] Operation: 2+10=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[2, 23], Operations: ['98-65=33', '33-10=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,12 unequal: No Solution
No 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: 12:[33, 12], Operations: ['98-65=33', '2+10=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,12 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: 12:[65, 10, 49], Operations: ['98/2=49']
Exploring Operation: 65-10=55, Resulting Numbers: [49, 55]
Generated Node #0,0,0: 12:[49, 55] Operation: 65-10=55
Exploring Operation: 65-49=16, Resulting Numbers: [10, 16]
Generated Node #0,0,1: 12:[10, 16] Operation: 65-49=16
Moving to Node #0,0,1
Current State: 12:[10, 16], Operations: ['98/2=49', '65-49=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[49, 55], Operations: ['98/2=49', '65-10=55']
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 49+55=104, Resulting Numbers: [104]
104,12 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 |
[
5,
2,
2,
43
] | 23 | [
"5*2=10",
"2*10=20",
"43-20=23"
] | Current State: 23:[5, 2, 2, 43], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [43, 10]
Generated Node #2: [43, 10] from Operation: 5*2=10
Current State: 23:[43, 10], Operations: ['5*2=10']
Exploring Operation: 2*10=20, Resulting Numbers: [43, 20]
Generated Node #3: [43, 20] from Operation: 2*10=20
Current State: 23:[43, 20], Operations: ['5*2=10', '2*10=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[5, 2, 2, 43], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [2, 43, 10]
Generated Node #0,0: 23:[2, 43, 10] Operation: 5*2=10
Moving to Node #0,0
Current State: 23:[2, 43, 10], Operations: ['5*2=10']
Exploring Operation: 2*10=20, Resulting Numbers: [43, 20]
Generated Node #0,0,0: 23:[43, 20] Operation: 2*10=20
Moving to Node #0,0,0
Current State: 23:[43, 20], Operations: ['5*2=10', '2*10=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[5, 2, 2, 43], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [2, 43, 10]
Generated Node #0,0: 23:[2, 43, 10] Operation: 5*2=10
Moving to Node #0,0
Current State: 23:[2, 43, 10], Operations: ['5*2=10']
Exploring Operation: 2*10=20, Resulting Numbers: [43, 20]
Generated Node #0,0,0: 23:[43, 20] Operation: 2*10=20
Moving to Node #0,0,0
Current State: 23:[43, 20], Operations: ['5*2=10', '2*10=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
58,
41,
67,
39
] | 38 | [
"41-39=2",
"58/2=29",
"67-29=38"
] | Current State: 38:[58, 41, 67, 39], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [58, 67, 2]
Generated Node #2: [58, 67, 2] from Operation: 41-39=2
Current State: 38:[58, 67, 2], Operations: ['41-39=2']
Exploring Operation: 58/2=29, Resulting Numbers: [67, 29]
Generated Node #3: [67, 29] from Operation: 58/2=29
Current State: 38:[67, 29], Operations: ['41-39=2', '58/2=29']
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[58, 41, 67, 39], Operations: []
Exploring Operation: 67-41=26, Resulting Numbers: [58, 39, 26]
Generated Node #0,0: 38:[58, 39, 26] Operation: 67-41=26
Exploring Operation: 67-58=9, Resulting Numbers: [41, 39, 9]
Generated Node #0,1: 38:[41, 39, 9] Operation: 67-58=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[41, 39, 9], Operations: ['67-58=9']
Exploring Operation: 41-9=32, Resulting Numbers: [39, 32]
Generated Node #0,1,0: 38:[39, 32] Operation: 41-9=32
Exploring Operation: 41-39=2, Resulting Numbers: [9, 2]
Generated Node #0,1,1: 38:[9, 2] Operation: 41-39=2
Moving to Node #0,1,0
Current State: 38:[39, 32], Operations: ['67-58=9', '41-9=32']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[9, 2], Operations: ['67-58=9', '41-39=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[58, 39, 26], Operations: ['67-41=26']
Exploring Operation: 58-26=32, Resulting Numbers: [39, 32]
Generated Node #0,0,0: 38:[39, 32] Operation: 58-26=32
Exploring Operation: 58-39=19, Resulting Numbers: [26, 19]
Generated Node #0,0,1: 38:[26, 19] Operation: 58-39=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[39, 32], Operations: ['67-41=26', '58-26=32']
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,38 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[26, 19], Operations: ['67-41=26', '58-39=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
72,
22,
29,
3
] | 75 | [
"72/3=24",
"22+29=51",
"24+51=75"
] | Current State: 75:[72, 22, 29, 3], Operations: []
Exploring Operation: 72/3=24, Resulting Numbers: [22, 29, 24]
Generated Node #2: [22, 29, 24] from Operation: 72/3=24
Current State: 75:[22, 29, 24], Operations: ['72/3=24']
Exploring Operation: 22+29=51, Resulting Numbers: [24, 51]
Generated Node #3: [24, 51] from Operation: 22+29=51
Current State: 75:[24, 51], Operations: ['72/3=24', '22+29=51']
Exploring Operation: 24+51=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[72, 22, 29, 3], Operations: []
Exploring Operation: 22+3=25, Resulting Numbers: [72, 29, 25]
Generated Node #0,0: 75:[72, 29, 25] Operation: 22+3=25
Exploring Operation: 29-22=7, Resulting Numbers: [72, 3, 7]
Generated Node #0,1: 75:[72, 3, 7] Operation: 29-22=7
Exploring Operation: 72+3=75, Resulting Numbers: [22, 29, 75]
Generated Node #0,2: 75:[22, 29, 75] Operation: 72+3=75
Moving to Node #0,1
Current State: 75:[72, 3, 7], Operations: ['29-22=7']
Exploring Operation: 72+7=79, Resulting Numbers: [3, 79]
Generated Node #0,1,0: 75:[3, 79] Operation: 72+7=79
Exploring Operation: 72+3=75, Resulting Numbers: [7, 75]
Generated Node #0,1,1: 75:[7, 75] Operation: 72+3=75
Exploring Operation: 72/3=24, Resulting Numbers: [7, 24]
Generated Node #0,1,2: 75:[7, 24] Operation: 72/3=24
Moving to Node #0,0
Current State: 75:[72, 29, 25], Operations: ['22+3=25']
Exploring Operation: 29-25=4, Resulting Numbers: [72, 4]
Generated Node #0,0,0: 75:[72, 4] Operation: 29-25=4
Exploring Operation: 72-29=43, Resulting Numbers: [25, 43]
Generated Node #0,0,1: 75:[25, 43] Operation: 72-29=43
Exploring Operation: 29+25=54, Resulting Numbers: [72, 54]
Generated Node #0,0,2: 75:[72, 54] Operation: 29+25=54
Moving to Node #0,2
Current State: 75:[22, 29, 75], Operations: ['72+3=75']
Exploring Operation: 75-29=46, Resulting Numbers: [22, 46]
Generated Node #0,2,0: 75:[22, 46] Operation: 75-29=46
Exploring Operation: 29-22=7, Resulting Numbers: [75, 7]
Generated Node #0,2,1: 75:[75, 7] Operation: 29-22=7
Exploring Operation: 22+29=51, Resulting Numbers: [75, 51]
Generated Node #0,2,2: 75:[75, 51] Operation: 22+29=51
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[75, 7], Operations: ['72+3=75', '29-22=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,75 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[22, 46], Operations: ['72+3=75', '75-29=46']
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,75 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[75, 51], Operations: ['72+3=75', '22+29=51']
Exploring Operation: 75+51=126, Resulting Numbers: [126]
126,75 unequal: No Solution
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 75*51=3825, Resulting Numbers: [3825]
3825,75 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: 75:[7, 75], Operations: ['29-22=7', '72+3=75']
Exploring Operation: 7+75=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 7*75=525, Resulting Numbers: [525]
525,75 unequal: No Solution
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[7, 24], Operations: ['29-22=7', '72/3=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[3, 79], Operations: ['29-22=7', '72+7=79']
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[72, 4], Operations: ['22+3=25', '29-25=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[25, 43], Operations: ['22+3=25', '72-29=43']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,75 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[72, 54], Operations: ['22+3=25', '29+25=54']
Exploring Operation: 72*54=3888, Resulting Numbers: [3888]
3888,75 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 72+54=126, Resulting Numbers: [126]
126,75 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
52,
42,
84,
95
] | 24 | [
"52+95=147",
"42*84=3528",
"3528/147=24"
] | Current State: 24:[52, 42, 84, 95], Operations: []
Exploring Operation: 52+95=147, Resulting Numbers: [42, 84, 147]
Generated Node #2: [42, 84, 147] from Operation: 52+95=147
Current State: 24:[42, 84, 147], Operations: ['52+95=147']
Exploring Operation: 42*84=3528, Resulting Numbers: [147, 3528]
Generated Node #3: [147, 3528] from Operation: 42*84=3528
Current State: 24:[147, 3528], Operations: ['52+95=147', '42*84=3528']
Exploring Operation: 3528/147=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[52, 42, 84, 95], Operations: []
Exploring Operation: 95-52=43, Resulting Numbers: [42, 84, 43]
Generated Node #0,0: 24:[42, 84, 43] Operation: 95-52=43
Exploring Operation: 84-52=32, Resulting Numbers: [42, 95, 32]
Generated Node #0,1: 24:[42, 95, 32] Operation: 84-52=32
Exploring Operation: 95-84=11, Resulting Numbers: [52, 42, 11]
Generated Node #0,2: 24:[52, 42, 11] Operation: 95-84=11
Exploring Operation: 84/42=2, Resulting Numbers: [52, 95, 2]
Generated Node #0,3: 24:[52, 95, 2] Operation: 84/42=2
Moving to Node #0,2
Current State: 24:[52, 42, 11], Operations: ['95-84=11']
Exploring Operation: 52+11=63, Resulting Numbers: [42, 63]
Generated Node #0,2,0: 24:[42, 63] Operation: 52+11=63
Exploring Operation: 52-42=10, Resulting Numbers: [11, 10]
Generated Node #0,2,1: 24:[11, 10] Operation: 52-42=10
Exploring Operation: 52-11=41, Resulting Numbers: [42, 41]
Generated Node #0,2,2: 24:[42, 41] Operation: 52-11=41
Exploring Operation: 42-11=31, Resulting Numbers: [52, 31]
Generated Node #0,2,3: 24:[52, 31] Operation: 42-11=31
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[11, 10], Operations: ['95-84=11', '52-42=10']
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,24 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[42, 41], Operations: ['95-84=11', '52-11=41']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,24 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 24:[52, 31], Operations: ['95-84=11', '42-11=31']
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 52*31=1612, Resulting Numbers: [1612]
1612,24 unequal: No Solution
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[42, 63], Operations: ['95-84=11', '52+11=63']
Exploring Operation: 42*63=2646, Resulting Numbers: [2646]
2646,24 unequal: No Solution
Exploring Operation: 42+63=105, Resulting Numbers: [105]
105,24 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,24 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: 24:[42, 95, 32], Operations: ['84-52=32']
Exploring Operation: 95-32=63, Resulting Numbers: [42, 63]
Generated Node #0,1,0: 24:[42, 63] Operation: 95-32=63
Exploring Operation: 95-42=53, Resulting Numbers: [32, 53]
Generated Node #0,1,1: 24:[32, 53] Operation: 95-42=53
Exploring Operation: 42-32=10, Resulting Numbers: [95, 10]
Generated Node #0,1,2: 24:[95, 10] Operation: 42-32=10
Exploring Operation: 42+95=137, Resulting Numbers: [32, 137]
Generated Node #0,1,3: 24:[32, 137] Operation: 42+95=137
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[32, 53], Operations: ['84-52=32', '95-42=53']
Exploring Operation: 32*53=1696, Resulting Numbers: [1696]
1696,24 unequal: No Solution
Exploring Operation: 53-32=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 32+53=85, Resulting Numbers: [85]
85,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[42, 63], Operations: ['84-52=32', '95-32=63']
Exploring Operation: 42+63=105, Resulting Numbers: [105]
105,24 unequal: No Solution
Exploring Operation: 42*63=2646, Resulting Numbers: [2646]
2646,24 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[95, 10], Operations: ['84-52=32', '42-32=10']
Exploring Operation: 95+10=105, Resulting Numbers: [105]
105,24 unequal: No Solution
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,24 unequal: No Solution
Exploring Operation: 95*10=950, Resulting Numbers: [950]
950,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[32, 137], Operations: ['84-52=32', '42+95=137']
Exploring Operation: 137-32=105, Resulting Numbers: [105]
105,24 unequal: No Solution
Exploring Operation: 32+137=169, Resulting Numbers: [169]
169,24 unequal: No Solution
Exploring Operation: 32*137=4384, Resulting Numbers: [4384]
4384,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 24:[42, 84, 43], Operations: ['95-52=43']
Exploring Operation: 84-43=41, Resulting Numbers: [42, 41]
Generated Node #0,0,0: 24:[42, 41] Operation: 84-43=41
Exploring Operation: 84/42=2, Resulting Numbers: [43, 2]
Generated Node #0,0,1: 24:[43, 2] Operation: 84/42=2
Exploring Operation: 84-42=42, Resulting Numbers: [43, 42]
Generated Node #0,0,2: 24:[43, 42] Operation: 84-42=42
Exploring Operation: 43-42=1, Resulting Numbers: [84, 1]
Generated Node #0,0,3: 24:[84, 1] Operation: 43-42=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[43, 2], Operations: ['95-52=43', '84/42=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,24 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[42, 41], Operations: ['95-52=43', '84-43=41']
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,24 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,24 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[43, 42], Operations: ['95-52=43', '84-42=42']
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,24 unequal: No Solution
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 24:[84, 1], Operations: ['95-52=43', '43-42=1']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,24 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,24 unequal: No Solution
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,24 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 24:[52, 95, 2], Operations: ['84/42=2']
Exploring Operation: 52/2=26, Resulting Numbers: [95, 26]
Generated Node #0,3,0: 24:[95, 26] Operation: 52/2=26
Exploring Operation: 95-52=43, Resulting Numbers: [2, 43]
Generated Node #0,3,1: 24:[2, 43] Operation: 95-52=43
Exploring Operation: 95-2=93, Resulting Numbers: [52, 93]
Generated Node #0,3,2: 24:[52, 93] Operation: 95-2=93
Exploring Operation: 52-2=50, Resulting Numbers: [95, 50]
Generated Node #0,3,3: 24:[95, 50] Operation: 52-2=50
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[2, 43], Operations: ['84/42=2', '95-52=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,24 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[95, 26], Operations: ['84/42=2', '52/2=26']
Exploring Operation: 95*26=2470, Resulting Numbers: [2470]
2470,24 unequal: No Solution
Exploring Operation: 95+26=121, Resulting Numbers: [121]
121,24 unequal: No Solution
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[52, 93], Operations: ['84/42=2', '95-2=93']
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,24 unequal: No Solution
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[95, 50], Operations: ['84/42=2', '52-2=50']
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 95*50=4750, Resulting Numbers: [4750]
4750,24 unequal: No Solution
Exploring Operation: 95+50=145, Resulting Numbers: [145]
145,24 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,
95,
10,
64
] | 90 | [
"64-14=50",
"50/10=5",
"95-5=90"
] | Current State: 90:[14, 95, 10, 64], Operations: []
Exploring Operation: 64-14=50, Resulting Numbers: [95, 10, 50]
Generated Node #2: [95, 10, 50] from Operation: 64-14=50
Current State: 90:[95, 10, 50], Operations: ['64-14=50']
Exploring Operation: 50/10=5, Resulting Numbers: [95, 5]
Generated Node #3: [95, 5] from Operation: 50/10=5
Current State: 90:[95, 5], Operations: ['64-14=50', '50/10=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[14, 95, 10, 64], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [14, 10, 31]
Generated Node #0,0: 90:[14, 10, 31] Operation: 95-64=31
Exploring Operation: 64-14=50, Resulting Numbers: [95, 10, 50]
Generated Node #0,1: 90:[95, 10, 50] Operation: 64-14=50
Exploring Operation: 64-10=54, Resulting Numbers: [14, 95, 54]
Generated Node #0,2: 90:[14, 95, 54] Operation: 64-10=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[14, 10, 31], Operations: ['95-64=31']
Exploring Operation: 14+31=45, Resulting Numbers: [10, 45]
Generated Node #0,0,0: 90:[10, 45] Operation: 14+31=45
Exploring Operation: 31-14=17, Resulting Numbers: [10, 17]
Generated Node #0,0,1: 90:[10, 17] Operation: 31-14=17
Exploring Operation: 14-10=4, Resulting Numbers: [31, 4]
Generated Node #0,0,2: 90:[31, 4] Operation: 14-10=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[10, 45], Operations: ['95-64=31', '14+31=45']
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,90 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[10, 17], Operations: ['95-64=31', '31-14=17']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[31, 4], Operations: ['95-64=31', '14-10=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[95, 10, 50], Operations: ['64-14=50']
Exploring Operation: 50/10=5, Resulting Numbers: [95, 5]
Generated Node #0,1,0: 90:[95, 5] Operation: 50/10=5
Exploring Operation: 95-50=45, Resulting Numbers: [10, 45]
Generated Node #0,1,1: 90:[10, 45] Operation: 95-50=45
Exploring Operation: 95-10=85, Resulting Numbers: [50, 85]
Generated Node #0,1,2: 90:[50, 85] Operation: 95-10=85
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[10, 45], Operations: ['64-14=50', '95-50=45']
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,90 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[95, 5], Operations: ['64-14=50', '50/10=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,90 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[14, 95, 10, 64], Operations: []
Exploring Operation: 64-14=50, Resulting Numbers: [95, 10, 50]
Generated Node #0,1: 90:[95, 10, 50] Operation: 64-14=50
Moving to Node #0,1
Current State: 90:[95, 10, 50], Operations: ['64-14=50']
Exploring Operation: 50/10=5, Resulting Numbers: [95, 5]
Generated Node #0,1,0: 90:[95, 5] Operation: 50/10=5
Moving to Node #0,1,0
Current State: 90:[95, 5], Operations: ['64-14=50', '50/10=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
97,
86,
88,
97
] | 89 | [
"97-86=11",
"88/11=8",
"97-8=89"
] | Current State: 89:[97, 86, 88, 97], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [88, 11]
Generated Node #2: [88, 11] from Operation: 97-86=11
Current State: 89:[88, 11], Operations: ['97-86=11']
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,89 equal: Goal Reached
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[97, 86, 88, 97], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [88, 97, 11]
Generated Node #0,0: 89:[88, 97, 11] Operation: 97-86=11
Exploring Operation: 97-86=11, Resulting Numbers: [97, 88, 11]
Generated Node #0,1: 89:[97, 88, 11] Operation: 97-86=11
Moving to Node #0,0
Current State: 89:[88, 97, 11], Operations: ['97-86=11']
Exploring Operation: 88+11=99, Resulting Numbers: [97, 99]
Generated Node #0,0,0: 89:[97, 99] Operation: 88+11=99
Exploring Operation: 97-11=86, Resulting Numbers: [88, 86]
Generated Node #0,0,1: 89:[88, 86] Operation: 97-11=86
Moving to Node #0,1
Current State: 89:[97, 88, 11], Operations: ['97-86=11']
Exploring Operation: 88+11=99, Resulting Numbers: [97, 99]
Generated Node #0,1,0: 89:[97, 99] Operation: 88+11=99
Exploring Operation: 97-11=86, Resulting Numbers: [88, 86]
Generated Node #0,1,1: 89:[88, 86] Operation: 97-11=86
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[88, 86], Operations: ['97-86=11', '97-11=86']
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 88+86=174, Resulting Numbers: [174]
174,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,1,0
Current State: 89:[97, 99], Operations: ['97-86=11', '88+11=99']
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 97+99=196, Resulting Numbers: [196]
196,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 89:[88, 86], Operations: ['97-86=11', '97-11=86']
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 88+86=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[97, 99], Operations: ['97-86=11', '88+11=99']
Exploring Operation: 97+99=196, Resulting Numbers: [196]
196,89 unequal: No Solution
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
43,
4,
22,
88
] | 59 | [
"4*88=352",
"352/22=16",
"43+16=59"
] | Current State: 59:[43, 4, 22, 88], Operations: []
Exploring Operation: 4*88=352, Resulting Numbers: [43, 22, 352]
Generated Node #2: [43, 22, 352] from Operation: 4*88=352
Current State: 59:[43, 22, 352], Operations: ['4*88=352']
Exploring Operation: 352/22=16, Resulting Numbers: [43, 16]
Generated Node #3: [43, 16] from Operation: 352/22=16
Current State: 59:[43, 16], Operations: ['4*88=352', '352/22=16']
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[43, 4, 22, 88], Operations: []
Exploring Operation: 4*22=88, Resulting Numbers: [43, 88, 88]
Generated Node #0,0: 59:[43, 88, 88] Operation: 4*22=88
Exploring Operation: 43+4=47, Resulting Numbers: [22, 88, 47]
Generated Node #0,1: 59:[22, 88, 47] Operation: 43+4=47
Moving to Node #0,0
Current State: 59:[43, 88, 88], Operations: ['4*22=88']
Exploring Operation: 88-43=45, Resulting Numbers: [88, 45]
Generated Node #0,0,0: 59:[88, 45] Operation: 88-43=45
Exploring Operation: 88-43=45, Resulting Numbers: [88, 45]
Generated Node #0,0,1: 59:[88, 45] Operation: 88-43=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[88, 45], Operations: ['4*22=88', '88-43=45']
Exploring Operation: 88+45=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,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,0,1
Current State: 59:[88, 45], Operations: ['4*22=88', '88-43=45']
Exploring Operation: 88+45=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,59 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: 59:[22, 88, 47], Operations: ['43+4=47']
Exploring Operation: 88-22=66, Resulting Numbers: [47, 66]
Generated Node #0,1,0: 59:[47, 66] Operation: 88-22=66
Exploring Operation: 22+47=69, Resulting Numbers: [88, 69]
Generated Node #0,1,1: 59:[88, 69] Operation: 22+47=69
Moving to Node #0,1,0
Current State: 59:[47, 66], Operations: ['43+4=47', '88-22=66']
Exploring Operation: 47+66=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Exploring Operation: 66-47=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[88, 69], Operations: ['43+4=47', '22+47=69']
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 88+69=157, Resulting Numbers: [157]
157,59 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
15,
92,
43,
66
] | 60 | [
"15*92=1380",
"66-43=23",
"1380/23=60"
] | Current State: 60:[15, 92, 43, 66], Operations: []
Exploring Operation: 15*92=1380, Resulting Numbers: [43, 66, 1380]
Generated Node #2: [43, 66, 1380] from Operation: 15*92=1380
Current State: 60:[43, 66, 1380], Operations: ['15*92=1380']
Exploring Operation: 66-43=23, Resulting Numbers: [1380, 23]
Generated Node #3: [1380, 23] from Operation: 66-43=23
Current State: 60:[1380, 23], Operations: ['15*92=1380', '66-43=23']
Exploring Operation: 1380/23=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[15, 92, 43, 66], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [15, 92, 23]
Generated Node #0,0: 60:[15, 92, 23] Operation: 66-43=23
Exploring Operation: 92-66=26, Resulting Numbers: [15, 43, 26]
Generated Node #0,1: 60:[15, 43, 26] Operation: 92-66=26
Exploring Operation: 92-43=49, Resulting Numbers: [15, 66, 49]
Generated Node #0,2: 60:[15, 66, 49] Operation: 92-43=49
Exploring Operation: 92-15=77, Resulting Numbers: [43, 66, 77]
Generated Node #0,3: 60:[43, 66, 77] Operation: 92-15=77
Moving to Node #0,1
Current State: 60:[15, 43, 26], Operations: ['92-66=26']
Exploring Operation: 43-26=17, Resulting Numbers: [15, 17]
Generated Node #0,1,0: 60:[15, 17] Operation: 43-26=17
Exploring Operation: 43+26=69, Resulting Numbers: [15, 69]
Generated Node #0,1,1: 60:[15, 69] Operation: 43+26=69
Exploring Operation: 43-15=28, Resulting Numbers: [26, 28]
Generated Node #0,1,2: 60:[26, 28] Operation: 43-15=28
Exploring Operation: 15+43=58, Resulting Numbers: [26, 58]
Generated Node #0,1,3: 60:[26, 58] Operation: 15+43=58
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[15, 17], Operations: ['92-66=26', '43-26=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[26, 28], Operations: ['92-66=26', '43-15=28']
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[26, 58], Operations: ['92-66=26', '15+43=58']
Exploring Operation: 26*58=1508, Resulting Numbers: [1508]
1508,60 unequal: No Solution
Exploring Operation: 26+58=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[15, 69], Operations: ['92-66=26', '43+26=69']
Exploring Operation: 15*69=1035, Resulting Numbers: [1035]
1035,60 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,60 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: 60:[15, 66, 49], Operations: ['92-43=49']
Exploring Operation: 49-15=34, Resulting Numbers: [66, 34]
Generated Node #0,2,0: 60:[66, 34] Operation: 49-15=34
Exploring Operation: 66-49=17, Resulting Numbers: [15, 17]
Generated Node #0,2,1: 60:[15, 17] Operation: 66-49=17
Exploring Operation: 66-15=51, Resulting Numbers: [49, 51]
Generated Node #0,2,2: 60:[49, 51] Operation: 66-15=51
Exploring Operation: 15+49=64, Resulting Numbers: [66, 64]
Generated Node #0,2,3: 60:[66, 64] Operation: 15+49=64
Moving to Node #0,0
Current State: 60:[15, 92, 23], Operations: ['66-43=23']
Exploring Operation: 92-15=77, Resulting Numbers: [23, 77]
Generated Node #0,0,0: 60:[23, 77] Operation: 92-15=77
Exploring Operation: 23-15=8, Resulting Numbers: [92, 8]
Generated Node #0,0,1: 60:[92, 8] Operation: 23-15=8
Exploring Operation: 92-23=69, Resulting Numbers: [15, 69]
Generated Node #0,0,2: 60:[15, 69] Operation: 92-23=69
Exploring Operation: 92/23=4, Resulting Numbers: [15, 4]
Generated Node #0,0,3: 60:[15, 4] Operation: 92/23=4
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 60:[15, 4], Operations: ['66-43=23', '92/23=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[15, 92, 43, 66], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [15, 92, 23]
Generated Node #0,0: 60:[15, 92, 23] Operation: 66-43=23
Moving to Node #0,0
Current State: 60:[15, 92, 23], Operations: ['66-43=23']
Exploring Operation: 92/23=4, Resulting Numbers: [15, 4]
Generated Node #0,0,3: 60:[15, 4] Operation: 92/23=4
Moving to Node #0,0,3
Current State: 60:[15, 4], Operations: ['66-43=23', '92/23=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
59,
55,
77,
18
] | 63 | [
"59-55=4",
"77-18=59",
"4+59=63"
] | Current State: 63:[59, 55, 77, 18], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [77, 18, 4]
Generated Node #2: [77, 18, 4] from Operation: 59-55=4
Current State: 63:[77, 18, 4], Operations: ['59-55=4']
Exploring Operation: 77-18=59, Resulting Numbers: [4, 59]
Generated Node #3: [4, 59] from Operation: 77-18=59
Current State: 63:[4, 59], Operations: ['59-55=4', '77-18=59']
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[59, 55, 77, 18], Operations: []
Exploring Operation: 77-55=22, Resulting Numbers: [59, 18, 22]
Generated Node #0,0: 63:[59, 18, 22] Operation: 77-55=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[59, 18, 22], Operations: ['77-55=22']
Exploring Operation: 22-18=4, Resulting Numbers: [59, 4]
Generated Node #0,0,0: 63:[59, 4] Operation: 22-18=4
Moving to Node #0,0,0
Current State: 63:[59, 4], Operations: ['77-55=22', '22-18=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[59, 55, 77, 18], Operations: []
Exploring Operation: 77-55=22, Resulting Numbers: [59, 18, 22]
Generated Node #0,0: 63:[59, 18, 22] Operation: 77-55=22
Moving to Node #0,0
Current State: 63:[59, 18, 22], Operations: ['77-55=22']
Exploring Operation: 22-18=4, Resulting Numbers: [59, 4]
Generated Node #0,0,0: 63:[59, 4] Operation: 22-18=4
Moving to Node #0,0,0
Current State: 63:[59, 4], Operations: ['77-55=22', '22-18=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
33,
23,
36,
89
] | 86 | [
"33+36=69",
"69/23=3",
"89-3=86"
] | Current State: 86:[33, 23, 36, 89], Operations: []
Exploring Operation: 33+36=69, Resulting Numbers: [23, 89, 69]
Generated Node #2: [23, 89, 69] from Operation: 33+36=69
Current State: 86:[23, 89, 69], Operations: ['33+36=69']
Exploring Operation: 69/23=3, Resulting Numbers: [89, 3]
Generated Node #3: [89, 3] from Operation: 69/23=3
Current State: 86:[89, 3], Operations: ['33+36=69', '69/23=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[33, 23, 36, 89], Operations: []
Exploring Operation: 33-23=10, Resulting Numbers: [36, 89, 10]
Generated Node #0,0: 86:[36, 89, 10] Operation: 33-23=10
Exploring Operation: 33+23=56, Resulting Numbers: [36, 89, 56]
Generated Node #0,1: 86:[36, 89, 56] Operation: 33+23=56
Exploring Operation: 36-33=3, Resulting Numbers: [23, 89, 3]
Generated Node #0,2: 86:[23, 89, 3] Operation: 36-33=3
Moving to Node #0,0
Current State: 86:[36, 89, 10], Operations: ['33-23=10']
Exploring Operation: 89-10=79, Resulting Numbers: [36, 79]
Generated Node #0,0,0: 86:[36, 79] Operation: 89-10=79
Exploring Operation: 36+10=46, Resulting Numbers: [89, 46]
Generated Node #0,0,1: 86:[89, 46] Operation: 36+10=46
Exploring Operation: 89-36=53, Resulting Numbers: [10, 53]
Generated Node #0,0,2: 86:[10, 53] Operation: 89-36=53
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[89, 46], Operations: ['33-23=10', '36+10=46']
Exploring Operation: 89-46=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 89*46=4094, Resulting Numbers: [4094]
4094,86 unequal: No Solution
Exploring Operation: 89+46=135, Resulting Numbers: [135]
135,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[36, 79], Operations: ['33-23=10', '89-10=79']
Exploring Operation: 36*79=2844, Resulting Numbers: [2844]
2844,86 unequal: No Solution
Exploring Operation: 36+79=115, Resulting Numbers: [115]
115,86 unequal: No Solution
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[10, 53], Operations: ['33-23=10', '89-36=53']
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,86 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,86 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: 86:[36, 89, 56], Operations: ['33+23=56']
Exploring Operation: 36+56=92, Resulting Numbers: [89, 92]
Generated Node #0,1,0: 86:[89, 92] Operation: 36+56=92
Exploring Operation: 56-36=20, Resulting Numbers: [89, 20]
Generated Node #0,1,1: 86:[89, 20] Operation: 56-36=20
Exploring Operation: 89-56=33, Resulting Numbers: [36, 33]
Generated Node #0,1,2: 86:[36, 33] Operation: 89-56=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[89, 92], Operations: ['33+23=56', '36+56=92']
Exploring Operation: 92-89=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 89*92=8188, Resulting Numbers: [8188]
8188,86 unequal: No Solution
Exploring Operation: 89+92=181, Resulting Numbers: [181]
181,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[36, 33], Operations: ['33+23=56', '89-56=33']
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[89, 20], Operations: ['33+23=56', '56-36=20']
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,86 unequal: No Solution
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,86 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 86:[23, 89, 3], Operations: ['36-33=3']
Exploring Operation: 23+3=26, Resulting Numbers: [89, 26]
Generated Node #0,2,0: 86:[89, 26] Operation: 23+3=26
Exploring Operation: 23*3=69, Resulting Numbers: [89, 69]
Generated Node #0,2,1: 86:[89, 69] Operation: 23*3=69
Exploring Operation: 89-3=86, Resulting Numbers: [23, 86]
Generated Node #0,2,2: 86:[23, 86] Operation: 89-3=86
Moving to Node #0,2,0
Current State: 86:[89, 26], Operations: ['36-33=3', '23+3=26']
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Exploring Operation: 89*26=2314, Resulting Numbers: [2314]
2314,86 unequal: No Solution
Exploring Operation: 89+26=115, Resulting Numbers: [115]
115,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[89, 69], Operations: ['36-33=3', '23*3=69']
Exploring Operation: 89*69=6141, Resulting Numbers: [6141]
6141,86 unequal: No Solution
Exploring Operation: 89+69=158, Resulting Numbers: [158]
158,86 unequal: No Solution
Exploring Operation: 89-69=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[23, 86], Operations: ['36-33=3', '89-3=86']
Exploring Operation: 23+86=109, Resulting Numbers: [109]
109,86 unequal: No Solution
Exploring Operation: 23*86=1978, Resulting Numbers: [1978]
1978,86 unequal: No Solution
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,86 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
12,
94,
25,
14
] | 22 | [
"14-12=2",
"94/2=47",
"47-25=22"
] | Current State: 22:[12, 94, 25, 14], Operations: []
Exploring Operation: 14-12=2, Resulting Numbers: [94, 25, 2]
Generated Node #2: [94, 25, 2] from Operation: 14-12=2
Current State: 22:[94, 25, 2], Operations: ['14-12=2']
Exploring Operation: 94/2=47, Resulting Numbers: [25, 47]
Generated Node #3: [25, 47] from Operation: 94/2=47
Current State: 22:[25, 47], Operations: ['14-12=2', '94/2=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[12, 94, 25, 14], Operations: []
Exploring Operation: 14-12=2, Resulting Numbers: [94, 25, 2]
Generated Node #0,0: 22:[94, 25, 2] Operation: 14-12=2
Exploring Operation: 25-14=11, Resulting Numbers: [12, 94, 11]
Generated Node #0,1: 22:[12, 94, 11] Operation: 25-14=11
Exploring Operation: 94-14=80, Resulting Numbers: [12, 25, 80]
Generated Node #0,2: 22:[12, 25, 80] Operation: 94-14=80
Exploring Operation: 94-25=69, Resulting Numbers: [12, 14, 69]
Generated Node #0,3: 22:[12, 14, 69] Operation: 94-25=69
Exploring Operation: 94-12=82, Resulting Numbers: [25, 14, 82]
Generated Node #0,4: 22:[25, 14, 82] Operation: 94-12=82
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[12, 14, 69], Operations: ['94-25=69']
Exploring Operation: 69-14=55, Resulting Numbers: [12, 55]
Generated Node #0,3,0: 22:[12, 55] Operation: 69-14=55
Exploring Operation: 12+14=26, Resulting Numbers: [69, 26]
Generated Node #0,3,1: 22:[69, 26] Operation: 12+14=26
Exploring Operation: 14-12=2, Resulting Numbers: [69, 2]
Generated Node #0,3,2: 22:[69, 2] Operation: 14-12=2
Exploring Operation: 12+69=81, Resulting Numbers: [14, 81]
Generated Node #0,3,3: 22:[14, 81] Operation: 12+69=81
Exploring Operation: 69-12=57, Resulting Numbers: [14, 57]
Generated Node #0,3,4: 22:[14, 57] Operation: 69-12=57
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 22:[12, 55], Operations: ['94-25=69', '69-14=55']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,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,3,4
Current State: 22:[14, 57], Operations: ['94-25=69', '69-12=57']
Exploring Operation: 14*57=798, Resulting Numbers: [798]
798,22 unequal: No Solution
Exploring Operation: 14+57=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,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,3,2
Current State: 22:[69, 2], Operations: ['94-25=69', '14-12=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,22 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,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,3,1
Current State: 22:[69, 26], Operations: ['94-25=69', '12+14=26']
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,22 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,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,3,3
Current State: 22:[14, 81], Operations: ['94-25=69', '12+69=81']
Exploring Operation: 14*81=1134, Resulting Numbers: [1134]
1134,22 unequal: No Solution
Exploring Operation: 14+81=95, Resulting Numbers: [95]
95,22 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[12, 25, 80], Operations: ['94-14=80']
Exploring Operation: 80-25=55, Resulting Numbers: [12, 55]
Generated Node #0,2,0: 22:[12, 55] Operation: 80-25=55
Exploring Operation: 25-12=13, Resulting Numbers: [80, 13]
Generated Node #0,2,1: 22:[80, 13] Operation: 25-12=13
Exploring Operation: 12+80=92, Resulting Numbers: [25, 92]
Generated Node #0,2,2: 22:[25, 92] Operation: 12+80=92
Exploring Operation: 12+25=37, Resulting Numbers: [80, 37]
Generated Node #0,2,3: 22:[80, 37] Operation: 12+25=37
Exploring Operation: 80-12=68, Resulting Numbers: [25, 68]
Generated Node #0,2,4: 22:[25, 68] Operation: 80-12=68
Moving to Node #0,2,0
Current State: 22:[12, 55], Operations: ['94-14=80', '80-25=55']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,22 unequal: No Solution
Moving to Node #0,2,4
Current State: 22:[25, 68], Operations: ['94-14=80', '80-12=68']
Exploring Operation: 25*68=1700, Resulting Numbers: [1700]
1700,22 unequal: No Solution
Exploring Operation: 25+68=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[80, 13], Operations: ['94-14=80', '25-12=13']
Exploring Operation: 80*13=1040, Resulting Numbers: [1040]
1040,22 unequal: No Solution
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 80+13=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[25, 92], Operations: ['94-14=80', '12+80=92']
Exploring Operation: 92-25=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 25+92=117, Resulting Numbers: [117]
117,22 unequal: No Solution
Exploring Operation: 25*92=2300, Resulting Numbers: [2300]
2300,22 unequal: No Solution
Moving to Node #0,2,3
Current State: 22:[80, 37], Operations: ['94-14=80', '12+25=37']
Exploring Operation: 80*37=2960, Resulting Numbers: [2960]
2960,22 unequal: No Solution
Exploring Operation: 80+37=117, Resulting Numbers: [117]
117,22 unequal: No Solution
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,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,4
Current State: 22:[25, 14, 82], Operations: ['94-12=82']
Exploring Operation: 25+14=39, Resulting Numbers: [82, 39]
Generated Node #0,4,0: 22:[82, 39] Operation: 25+14=39
Exploring Operation: 82-25=57, Resulting Numbers: [14, 57]
Generated Node #0,4,1: 22:[14, 57] Operation: 82-25=57
Exploring Operation: 14+82=96, Resulting Numbers: [25, 96]
Generated Node #0,4,2: 22:[25, 96] Operation: 14+82=96
Exploring Operation: 25-14=11, Resulting Numbers: [82, 11]
Generated Node #0,4,3: 22:[82, 11] Operation: 25-14=11
Exploring Operation: 82-14=68, Resulting Numbers: [25, 68]
Generated Node #0,4,4: 22:[25, 68] Operation: 82-14=68
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 22:[14, 57], Operations: ['94-12=82', '82-25=57']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 14*57=798, Resulting Numbers: [798]
798,22 unequal: No Solution
Exploring Operation: 14+57=71, Resulting Numbers: [71]
71,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,4,4
Current State: 22:[25, 68], Operations: ['94-12=82', '82-14=68']
Exploring Operation: 25*68=1700, Resulting Numbers: [1700]
1700,22 unequal: No Solution
Exploring Operation: 25+68=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,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,4,3
Current State: 22:[82, 11], Operations: ['94-12=82', '25-14=11']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,22 unequal: No Solution
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,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,4,0
Current State: 22:[82, 39], Operations: ['94-12=82', '25+14=39']
Exploring Operation: 82*39=3198, Resulting Numbers: [3198]
3198,22 unequal: No Solution
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 82+39=121, Resulting Numbers: [121]
121,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,4,2
Current State: 22:[25, 96], Operations: ['94-12=82', '14+82=96']
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 25+96=121, Resulting Numbers: [121]
121,22 unequal: No Solution
Exploring Operation: 25*96=2400, Resulting Numbers: [2400]
2400,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[12, 94, 11], Operations: ['25-14=11']
Exploring Operation: 94-12=82, Resulting Numbers: [11, 82]
Generated Node #0,1,0: 22:[11, 82] Operation: 94-12=82
Exploring Operation: 12+94=106, Resulting Numbers: [11, 106]
Generated Node #0,1,1: 22:[11, 106] Operation: 12+94=106
Exploring Operation: 12-11=1, Resulting Numbers: [94, 1]
Generated Node #0,1,2: 22:[94, 1] Operation: 12-11=1
Exploring Operation: 94-11=83, Resulting Numbers: [12, 83]
Generated Node #0,1,3: 22:[12, 83] Operation: 94-11=83
Exploring Operation: 12+11=23, Resulting Numbers: [94, 23]
Generated Node #0,1,4: 22:[94, 23] Operation: 12+11=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[11, 82], Operations: ['25-14=11', '94-12=82']
Exploring Operation: 11*82=902, Resulting Numbers: [902]
902,22 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 11+82=93, Resulting Numbers: [93]
93,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,1,3
Current State: 22:[12, 83], Operations: ['25-14=11', '94-11=83']
Exploring Operation: 12*83=996, Resulting Numbers: [996]
996,22 unequal: No Solution
Exploring Operation: 12+83=95, Resulting Numbers: [95]
95,22 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,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,1,2
Current State: 22:[94, 1], Operations: ['25-14=11', '12-11=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,22 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,22 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,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,1,4
Current State: 22:[94, 23], Operations: ['25-14=11', '12+11=23']
Exploring Operation: 94-23=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 94*23=2162, Resulting Numbers: [2162]
2162,22 unequal: No Solution
Exploring Operation: 94+23=117, Resulting Numbers: [117]
117,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,1,1
Current State: 22:[11, 106], Operations: ['25-14=11', '12+94=106']
Exploring Operation: 106-11=95, Resulting Numbers: [95]
95,22 unequal: No Solution
Exploring Operation: 11*106=1166, Resulting Numbers: [1166]
1166,22 unequal: No Solution
Exploring Operation: 11+106=117, Resulting Numbers: [117]
117,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[94, 25, 2], Operations: ['14-12=2']
Exploring Operation: 25-2=23, Resulting Numbers: [94, 23]
Generated Node #0,0,0: 22:[94, 23] Operation: 25-2=23
Exploring Operation: 94-2=92, Resulting Numbers: [25, 92]
Generated Node #0,0,1: 22:[25, 92] Operation: 94-2=92
Exploring Operation: 94/2=47, Resulting Numbers: [25, 47]
Generated Node #0,0,2: 22:[25, 47] Operation: 94/2=47
Exploring Operation: 94-25=69, Resulting Numbers: [2, 69]
Generated Node #0,0,3: 22:[2, 69] Operation: 94-25=69
Exploring Operation: 94+2=96, Resulting Numbers: [25, 96]
Generated Node #0,0,4: 22:[25, 96] Operation: 94+2=96
Moving to Node #0,0,2
Current State: 22:[25, 47], Operations: ['14-12=2', '94/2=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[12, 94, 25, 14], Operations: []
Exploring Operation: 14-12=2, Resulting Numbers: [94, 25, 2]
Generated Node #0,0: 22:[94, 25, 2] Operation: 14-12=2
Moving to Node #0,0
Current State: 22:[94, 25, 2], Operations: ['14-12=2']
Exploring Operation: 94/2=47, Resulting Numbers: [25, 47]
Generated Node #0,0,2: 22:[25, 47] Operation: 94/2=47
Moving to Node #0,0,2
Current State: 22:[25, 47], Operations: ['14-12=2', '94/2=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.916667 | hs_5 | mult_heuristic |
[
77,
32,
42,
25
] | 71 | [
"32-25=7",
"42/7=6",
"77-6=71"
] | Current State: 71:[77, 32, 42, 25], Operations: []
Exploring Operation: 32-25=7, Resulting Numbers: [77, 42, 7]
Generated Node #2: [77, 42, 7] from Operation: 32-25=7
Current State: 71:[77, 42, 7], Operations: ['32-25=7']
Exploring Operation: 42/7=6, Resulting Numbers: [77, 6]
Generated Node #3: [77, 6] from Operation: 42/7=6
Current State: 71:[77, 6], Operations: ['32-25=7', '42/7=6']
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[77, 32, 42, 25], Operations: []
Exploring Operation: 42+25=67, Resulting Numbers: [77, 32, 67]
Generated Node #0,0: 71:[77, 32, 67] Operation: 42+25=67
Exploring Operation: 32+25=57, Resulting Numbers: [77, 42, 57]
Generated Node #0,1: 71:[77, 42, 57] Operation: 32+25=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[77, 32, 67], Operations: ['42+25=67']
Exploring Operation: 77-32=45, Resulting Numbers: [67, 45]
Generated Node #0,0,0: 71:[67, 45] Operation: 77-32=45
Exploring Operation: 32+67=99, Resulting Numbers: [77, 99]
Generated Node #0,0,1: 71:[77, 99] Operation: 32+67=99
Moving to Node #0,0,0
Current State: 71:[67, 45], Operations: ['42+25=67', '77-32=45']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[77, 99], Operations: ['42+25=67', '32+67=99']
Exploring Operation: 99-77=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 77+99=176, Resulting Numbers: [176]
176,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:[77, 42, 57], Operations: ['32+25=57']
Exploring Operation: 42+57=99, Resulting Numbers: [77, 99]
Generated Node #0,1,0: 71:[77, 99] Operation: 42+57=99
Exploring Operation: 77-42=35, Resulting Numbers: [57, 35]
Generated Node #0,1,1: 71:[57, 35] Operation: 77-42=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[77, 99], Operations: ['32+25=57', '42+57=99']
Exploring Operation: 99-77=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 77+99=176, Resulting Numbers: [176]
176,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, 35], Operations: ['32+25=57', '77-42=35']
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,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_2 | mult_heuristic |
[
43,
57,
33,
95
] | 38 | [
"43+57=100",
"95-33=62",
"100-62=38"
] | Current State: 38:[43, 57, 33, 95], Operations: []
Exploring Operation: 43+57=100, Resulting Numbers: [33, 95, 100]
Generated Node #2: [33, 95, 100] from Operation: 43+57=100
Current State: 38:[33, 95, 100], Operations: ['43+57=100']
Exploring Operation: 95-33=62, Resulting Numbers: [100, 62]
Generated Node #3: [100, 62] from Operation: 95-33=62
Current State: 38:[100, 62], Operations: ['43+57=100', '95-33=62']
Exploring Operation: 100-62=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[43, 57, 33, 95], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [43, 33, 38]
Generated Node #0,0: 38:[43, 33, 38] Operation: 95-57=38
Exploring Operation: 95-43=52, Resulting Numbers: [57, 33, 52]
Generated Node #0,1: 38:[57, 33, 52] Operation: 95-43=52
Exploring Operation: 57-43=14, Resulting Numbers: [33, 95, 14]
Generated Node #0,2: 38:[33, 95, 14] Operation: 57-43=14
Exploring Operation: 95-33=62, Resulting Numbers: [43, 57, 62]
Generated Node #0,3: 38:[43, 57, 62] Operation: 95-33=62
Moving to Node #0,0
Current State: 38:[43, 33, 38], Operations: ['95-57=38']
Exploring Operation: 43+33=76, Resulting Numbers: [38, 76]
Generated Node #0,0,0: 38:[38, 76] Operation: 43+33=76
Exploring Operation: 38-33=5, Resulting Numbers: [43, 5]
Generated Node #0,0,1: 38:[43, 5] Operation: 38-33=5
Exploring Operation: 43-33=10, Resulting Numbers: [38, 10]
Generated Node #0,0,2: 38:[38, 10] Operation: 43-33=10
Exploring Operation: 43-38=5, Resulting Numbers: [33, 5]
Generated Node #0,0,3: 38:[33, 5] Operation: 43-38=5
Moving to Node #0,1
Current State: 38:[57, 33, 52], Operations: ['95-43=52']
Exploring Operation: 57-52=5, Resulting Numbers: [33, 5]
Generated Node #0,1,0: 38:[33, 5] Operation: 57-52=5
Exploring Operation: 57+33=90, Resulting Numbers: [52, 90]
Generated Node #0,1,1: 38:[52, 90] Operation: 57+33=90
Exploring Operation: 57-33=24, Resulting Numbers: [52, 24]
Generated Node #0,1,2: 38:[52, 24] Operation: 57-33=24
Exploring Operation: 52-33=19, Resulting Numbers: [57, 19]
Generated Node #0,1,3: 38:[57, 19] Operation: 52-33=19
Moving to Node #0,3
Current State: 38:[43, 57, 62], Operations: ['95-33=62']
Exploring Operation: 57-43=14, Resulting Numbers: [62, 14]
Generated Node #0,3,0: 38:[62, 14] Operation: 57-43=14
Exploring Operation: 43+57=100, Resulting Numbers: [62, 100]
Generated Node #0,3,1: 38:[62, 100] Operation: 43+57=100
Exploring Operation: 62-57=5, Resulting Numbers: [43, 5]
Generated Node #0,3,2: 38:[43, 5] Operation: 62-57=5
Exploring Operation: 62-43=19, Resulting Numbers: [57, 19]
Generated Node #0,3,3: 38:[57, 19] Operation: 62-43=19
Moving to Node #0,2
Current State: 38:[33, 95, 14], Operations: ['57-43=14']
Exploring Operation: 95-14=81, Resulting Numbers: [33, 81]
Generated Node #0,2,0: 38:[33, 81] Operation: 95-14=81
Exploring Operation: 33+14=47, Resulting Numbers: [95, 47]
Generated Node #0,2,1: 38:[95, 47] Operation: 33+14=47
Exploring Operation: 33-14=19, Resulting Numbers: [95, 19]
Generated Node #0,2,2: 38:[95, 19] Operation: 33-14=19
Exploring Operation: 95-33=62, Resulting Numbers: [14, 62]
Generated Node #0,2,3: 38:[14, 62] Operation: 95-33=62
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 38:[14, 62], Operations: ['57-43=14', '95-33=62']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,38 unequal: No Solution
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[33, 81], Operations: ['57-43=14', '95-14=81']
Exploring Operation: 33+81=114, Resulting Numbers: [114]
114,38 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 33*81=2673, Resulting Numbers: [2673]
2673,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[95, 19], Operations: ['57-43=14', '33-14=19']
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,38 unequal: No Solution
Exploring Operation: 95*19=1805, Resulting Numbers: [1805]
1805,38 unequal: No Solution
Exploring Operation: 95+19=114, Resulting Numbers: [114]
114,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[95, 47], Operations: ['57-43=14', '33+14=47']
Exploring Operation: 95+47=142, Resulting Numbers: [142]
142,38 unequal: No Solution
Exploring Operation: 95*47=4465, Resulting Numbers: [4465]
4465,38 unequal: No Solution
Exploring Operation: 95-47=48, Resulting Numbers: [48]
48,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 38:[43, 5], Operations: ['95-57=38', '38-33=5']
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,38 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[43, 57, 33, 95], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [43, 33, 38]
Generated Node #0,0: 38:[43, 33, 38] Operation: 95-57=38
Moving to Node #0,0
Current State: 38:[43, 33, 38], Operations: ['95-57=38']
Exploring Operation: 38-33=5, Resulting Numbers: [43, 5]
Generated Node #0,0,1: 38:[43, 5] Operation: 38-33=5
Moving to Node #0,0,1
Current State: 38:[43, 5], Operations: ['95-57=38', '38-33=5']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
78,
83,
91,
13
] | 99 | [
"83-78=5",
"91+13=104",
"104-5=99"
] | Current State: 99:[78, 83, 91, 13], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [91, 13, 5]
Generated Node #2: [91, 13, 5] from Operation: 83-78=5
Current State: 99:[91, 13, 5], Operations: ['83-78=5']
Exploring Operation: 91+13=104, Resulting Numbers: [5, 104]
Generated Node #3: [5, 104] from Operation: 91+13=104
Current State: 99:[5, 104], Operations: ['83-78=5', '91+13=104']
Exploring Operation: 104-5=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[78, 83, 91, 13], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [83, 13, 13]
Generated Node #0,0: 99:[83, 13, 13] Operation: 91-78=13
Exploring Operation: 83-78=5, Resulting Numbers: [91, 13, 5]
Generated Node #0,1: 99:[91, 13, 5] Operation: 83-78=5
Moving to Node #0,1
Current State: 99:[91, 13, 5], Operations: ['83-78=5']
Exploring Operation: 91+5=96, Resulting Numbers: [13, 96]
Generated Node #0,1,0: 99:[13, 96] Operation: 91+5=96
Exploring Operation: 91/13=7, Resulting Numbers: [5, 7]
Generated Node #0,1,1: 99:[5, 7] Operation: 91/13=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[5, 7], Operations: ['83-78=5', '91/13=7']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,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:[13, 96], Operations: ['83-78=5', '91+5=96']
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,99 unequal: No Solution
Exploring Operation: 13+96=109, Resulting Numbers: [109]
109,99 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: 99:[83, 13, 13], Operations: ['91-78=13']
Exploring Operation: 83+13=96, Resulting Numbers: [13, 96]
Generated Node #0,0,0: 99:[13, 96] Operation: 83+13=96
Exploring Operation: 83+13=96, Resulting Numbers: [13, 96]
Generated Node #0,0,1: 99:[13, 96] Operation: 83+13=96
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[13, 96], Operations: ['91-78=13', '83+13=96']
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,99 unequal: No Solution
Exploring Operation: 13+96=109, Resulting Numbers: [109]
109,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:[13, 96], Operations: ['91-78=13', '83+13=96']
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,99 unequal: No Solution
Exploring Operation: 13+96=109, Resulting Numbers: [109]
109,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 | sum_heuristic |
[
1,
19,
84,
2
] | 47 | [
"1+84=85",
"19*2=38",
"85-38=47"
] | Current State: 47:[1, 19, 84, 2], Operations: []
Exploring Operation: 1+84=85, Resulting Numbers: [19, 2, 85]
Generated Node #2: [19, 2, 85] from Operation: 1+84=85
Current State: 47:[19, 2, 85], Operations: ['1+84=85']
Exploring Operation: 19*2=38, Resulting Numbers: [85, 38]
Generated Node #3: [85, 38] from Operation: 19*2=38
Current State: 47:[85, 38], Operations: ['1+84=85', '19*2=38']
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[1, 19, 84, 2], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [1, 19, 42]
Generated Node #0,0: 47:[1, 19, 42] Operation: 84/2=42
Exploring Operation: 1+19=20, Resulting Numbers: [84, 2, 20]
Generated Node #0,1: 47:[84, 2, 20] Operation: 1+19=20
Exploring Operation: 19*2=38, Resulting Numbers: [1, 84, 38]
Generated Node #0,2: 47:[1, 84, 38] Operation: 19*2=38
Moving to Node #0,0
Current State: 47:[1, 19, 42], Operations: ['84/2=42']
Exploring Operation: 1+19=20, Resulting Numbers: [42, 20]
Generated Node #0,0,0: 47:[42, 20] Operation: 1+19=20
Exploring Operation: 1*19=19, Resulting Numbers: [42, 19]
Generated Node #0,0,1: 47:[42, 19] Operation: 1*19=19
Exploring Operation: 1+42=43, Resulting Numbers: [19, 43]
Generated Node #0,0,2: 47:[19, 43] Operation: 1+42=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[42, 20], Operations: ['84/2=42', '1+19=20']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,47 unequal: No Solution
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,47 unequal: No Solution
No 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: 47:[19, 43], Operations: ['84/2=42', '1+42=43']
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,47 unequal: No Solution
No 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: 47:[42, 19], Operations: ['84/2=42', '1*19=19']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,47 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: 47:[1, 84, 38], Operations: ['19*2=38']
Exploring Operation: 84-1=83, Resulting Numbers: [38, 83]
Generated Node #0,2,0: 47:[38, 83] Operation: 84-1=83
Exploring Operation: 1*84=84, Resulting Numbers: [38, 84]
Generated Node #0,2,1: 47:[38, 84] Operation: 1*84=84
Exploring Operation: 1+38=39, Resulting Numbers: [84, 39]
Generated Node #0,2,2: 47:[84, 39] Operation: 1+38=39
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[38, 83], Operations: ['19*2=38', '84-1=83']
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 38+83=121, Resulting Numbers: [121]
121,47 unequal: No Solution
Exploring Operation: 38*83=3154, Resulting Numbers: [3154]
3154,47 unequal: No Solution
No 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: 47:[84, 39], Operations: ['19*2=38', '1+38=39']
Exploring Operation: 84+39=123, Resulting Numbers: [123]
123,47 unequal: No Solution
Exploring Operation: 84*39=3276, Resulting Numbers: [3276]
3276,47 unequal: No Solution
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,47 unequal: No Solution
No 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: 47:[38, 84], Operations: ['19*2=38', '1*84=84']
Exploring Operation: 38+84=122, Resulting Numbers: [122]
122,47 unequal: No Solution
Exploring Operation: 38*84=3192, Resulting Numbers: [3192]
3192,47 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,47 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: 47:[84, 2, 20], Operations: ['1+19=20']
Exploring Operation: 2*20=40, Resulting Numbers: [84, 40]
Generated Node #0,1,0: 47:[84, 40] Operation: 2*20=40
Exploring Operation: 84/2=42, Resulting Numbers: [20, 42]
Generated Node #0,1,1: 47:[20, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [20, 82]
Generated Node #0,1,2: 47:[20, 82] Operation: 84-2=82
Moving to Node #0,1,1
Current State: 47:[20, 42], Operations: ['1+19=20', '84/2=42']
Exploring Operation: 20*42=840, Resulting Numbers: [840]
840,47 unequal: No Solution
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[84, 40], Operations: ['1+19=20', '2*20=40']
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,47 unequal: No Solution
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[20, 82], Operations: ['1+19=20', '84-2=82']
Exploring Operation: 20*82=1640, Resulting Numbers: [1640]
1640,47 unequal: No Solution
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 20+82=102, Resulting Numbers: [102]
102,47 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
54,
14,
51,
58
] | 75 | [
"54+14=68",
"58-51=7",
"68+7=75"
] | Current State: 75:[54, 14, 51, 58], Operations: []
Exploring Operation: 54+14=68, Resulting Numbers: [51, 58, 68]
Generated Node #2: [51, 58, 68] from Operation: 54+14=68
Current State: 75:[51, 58, 68], Operations: ['54+14=68']
Exploring Operation: 58-51=7, Resulting Numbers: [68, 7]
Generated Node #3: [68, 7] from Operation: 58-51=7
Current State: 75:[68, 7], Operations: ['54+14=68', '58-51=7']
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[54, 14, 51, 58], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [14, 58, 3]
Generated Node #0,0: 75:[14, 58, 3] Operation: 54-51=3
Exploring Operation: 58-51=7, Resulting Numbers: [54, 14, 7]
Generated Node #0,1: 75:[54, 14, 7] Operation: 58-51=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[14, 58, 3], Operations: ['54-51=3']
Exploring Operation: 14+58=72, Resulting Numbers: [3, 72]
Generated Node #0,0,0: 75:[3, 72] Operation: 14+58=72
Exploring Operation: 58+3=61, Resulting Numbers: [14, 61]
Generated Node #0,0,1: 75:[14, 61] Operation: 58+3=61
Moving to Node #0,0,0
Current State: 75:[3, 72], Operations: ['54-51=3', '14+58=72']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[54, 14, 51, 58], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [14, 58, 3]
Generated Node #0,0: 75:[14, 58, 3] Operation: 54-51=3
Moving to Node #0,0
Current State: 75:[14, 58, 3], Operations: ['54-51=3']
Exploring Operation: 14+58=72, Resulting Numbers: [3, 72]
Generated Node #0,0,0: 75:[3, 72] Operation: 14+58=72
Moving to Node #0,0,0
Current State: 75:[3, 72], Operations: ['54-51=3', '14+58=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
17,
74,
13,
6
] | 37 | [
"17-13=4",
"6-4=2",
"74/2=37"
] | Current State: 37:[17, 74, 13, 6], Operations: []
Exploring Operation: 17-13=4, Resulting Numbers: [74, 6, 4]
Generated Node #2: [74, 6, 4] from Operation: 17-13=4
Current State: 37:[74, 6, 4], Operations: ['17-13=4']
Exploring Operation: 6-4=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 6-4=2
Current State: 37:[74, 2], Operations: ['17-13=4', '6-4=2']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[17, 74, 13, 6], Operations: []
Exploring Operation: 17+13=30, Resulting Numbers: [74, 6, 30]
Generated Node #0,0: 37:[74, 6, 30] Operation: 17+13=30
Exploring Operation: 74-17=57, Resulting Numbers: [13, 6, 57]
Generated Node #0,1: 37:[13, 6, 57] Operation: 74-17=57
Moving to Node #0,0
Current State: 37:[74, 6, 30], Operations: ['17+13=30']
Exploring Operation: 74-6=68, Resulting Numbers: [30, 68]
Generated Node #0,0,0: 37:[30, 68] Operation: 74-6=68
Exploring Operation: 74-30=44, Resulting Numbers: [6, 44]
Generated Node #0,0,1: 37:[6, 44] Operation: 74-30=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[30, 68], Operations: ['17+13=30', '74-6=68']
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,37 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[6, 44], Operations: ['17+13=30', '74-30=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,37 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: 37:[13, 6, 57], Operations: ['74-17=57']
Exploring Operation: 57-13=44, Resulting Numbers: [6, 44]
Generated Node #0,1,0: 37:[6, 44] Operation: 57-13=44
Exploring Operation: 13+6=19, Resulting Numbers: [57, 19]
Generated Node #0,1,1: 37:[57, 19] Operation: 13+6=19
Moving to Node #0,1,0
Current State: 37:[6, 44], Operations: ['74-17=57', '57-13=44']
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[57, 19], Operations: ['74-17=57', '13+6=19']
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,37 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
17,
32,
78,
51
] | 18 | [
"51/17=3",
"32*3=96",
"96-78=18"
] | Current State: 18:[17, 32, 78, 51], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [32, 78, 3]
Generated Node #2: [32, 78, 3] from Operation: 51/17=3
Current State: 18:[32, 78, 3], Operations: ['51/17=3']
Exploring Operation: 32*3=96, Resulting Numbers: [78, 96]
Generated Node #3: [78, 96] from Operation: 32*3=96
Current State: 18:[78, 96], Operations: ['51/17=3', '32*3=96']
Exploring Operation: 96-78=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[17, 32, 78, 51], Operations: []
Exploring Operation: 78-51=27, Resulting Numbers: [17, 32, 27]
Generated Node #0,0: 18:[17, 32, 27] Operation: 78-51=27
Exploring Operation: 51-32=19, Resulting Numbers: [17, 78, 19]
Generated Node #0,1: 18:[17, 78, 19] Operation: 51-32=19
Exploring Operation: 78-32=46, Resulting Numbers: [17, 51, 46]
Generated Node #0,2: 18:[17, 51, 46] Operation: 78-32=46
Moving to Node #0,0
Current State: 18:[17, 32, 27], Operations: ['78-51=27']
Exploring Operation: 32-27=5, Resulting Numbers: [17, 5]
Generated Node #0,0,0: 18:[17, 5] Operation: 32-27=5
Exploring Operation: 32-17=15, Resulting Numbers: [27, 15]
Generated Node #0,0,1: 18:[27, 15] Operation: 32-17=15
Exploring Operation: 27-17=10, Resulting Numbers: [32, 10]
Generated Node #0,0,2: 18:[32, 10] Operation: 27-17=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[17, 5], Operations: ['78-51=27', '32-27=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[27, 15], Operations: ['78-51=27', '32-17=15']
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,18 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[32, 10], Operations: ['78-51=27', '27-17=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,18 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: 18:[17, 78, 19], Operations: ['51-32=19']
Exploring Operation: 78-19=59, Resulting Numbers: [17, 59]
Generated Node #0,1,0: 18:[17, 59] Operation: 78-19=59
Exploring Operation: 78-17=61, Resulting Numbers: [19, 61]
Generated Node #0,1,1: 18:[19, 61] Operation: 78-17=61
Exploring Operation: 19-17=2, Resulting Numbers: [78, 2]
Generated Node #0,1,2: 18:[78, 2] Operation: 19-17=2
Moving to Node #0,2
Current State: 18:[17, 51, 46], Operations: ['78-32=46']
Exploring Operation: 51-46=5, Resulting Numbers: [17, 5]
Generated Node #0,2,0: 18:[17, 5] Operation: 51-46=5
Exploring Operation: 51/17=3, Resulting Numbers: [46, 3]
Generated Node #0,2,1: 18:[46, 3] Operation: 51/17=3
Exploring Operation: 51-17=34, Resulting Numbers: [46, 34]
Generated Node #0,2,2: 18:[46, 34] Operation: 51-17=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[17, 5], Operations: ['78-32=46', '51-46=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 18:[46, 3], Operations: ['78-32=46', '51/17=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 18:[46, 34], Operations: ['78-32=46', '51-17=34']
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 46+34=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 46*34=1564, Resulting Numbers: [1564]
1564,18 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: 18:[17, 59], Operations: ['51-32=19', '78-19=59']
Exploring Operation: 17*59=1003, Resulting Numbers: [1003]
1003,18 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 17+59=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[19, 61], Operations: ['51-32=19', '78-17=61']
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,18 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[78, 2], Operations: ['51-32=19', '19-17=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,18 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
18,
45,
41,
43
] | 46 | [
"41-18=23",
"45-43=2",
"23*2=46"
] | Current State: 46:[18, 45, 41, 43], Operations: []
Exploring Operation: 41-18=23, Resulting Numbers: [45, 43, 23]
Generated Node #2: [45, 43, 23] from Operation: 41-18=23
Current State: 46:[45, 43, 23], Operations: ['41-18=23']
Exploring Operation: 45-43=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 45-43=2
Current State: 46:[23, 2], Operations: ['41-18=23', '45-43=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[18, 45, 41, 43], Operations: []
Exploring Operation: 41-18=23, Resulting Numbers: [45, 43, 23]
Generated Node #0,0: 46:[45, 43, 23] Operation: 41-18=23
Exploring Operation: 43-41=2, Resulting Numbers: [18, 45, 2]
Generated Node #0,1: 46:[18, 45, 2] Operation: 43-41=2
Exploring Operation: 45-43=2, Resulting Numbers: [18, 41, 2]
Generated Node #0,2: 46:[18, 41, 2] Operation: 45-43=2
Exploring Operation: 43-18=25, Resulting Numbers: [45, 41, 25]
Generated Node #0,3: 46:[45, 41, 25] Operation: 43-18=25
Exploring Operation: 45-41=4, Resulting Numbers: [18, 43, 4]
Generated Node #0,4: 46:[18, 43, 4] Operation: 45-41=4
Moving to Node #0,0
Current State: 46:[45, 43, 23], Operations: ['41-18=23']
Exploring Operation: 43+23=66, Resulting Numbers: [45, 66]
Generated Node #0,0,0: 46:[45, 66] Operation: 43+23=66
Exploring Operation: 45-43=2, Resulting Numbers: [23, 2]
Generated Node #0,0,1: 46:[23, 2] Operation: 45-43=2
Exploring Operation: 43-23=20, Resulting Numbers: [45, 20]
Generated Node #0,0,2: 46:[45, 20] Operation: 43-23=20
Exploring Operation: 45-23=22, Resulting Numbers: [43, 22]
Generated Node #0,0,3: 46:[43, 22] Operation: 45-23=22
Exploring Operation: 45+23=68, Resulting Numbers: [43, 68]
Generated Node #0,0,4: 46:[43, 68] Operation: 45+23=68
Moving to Node #0,1
Current State: 46:[18, 45, 2], Operations: ['43-41=2']
Exploring Operation: 18/2=9, Resulting Numbers: [45, 9]
Generated Node #0,1,0: 46:[45, 9] Operation: 18/2=9
Exploring Operation: 18-2=16, Resulting Numbers: [45, 16]
Generated Node #0,1,1: 46:[45, 16] Operation: 18-2=16
Exploring Operation: 18+2=20, Resulting Numbers: [45, 20]
Generated Node #0,1,2: 46:[45, 20] Operation: 18+2=20
Exploring Operation: 45+2=47, Resulting Numbers: [18, 47]
Generated Node #0,1,3: 46:[18, 47] Operation: 45+2=47
Exploring Operation: 45-18=27, Resulting Numbers: [2, 27]
Generated Node #0,1,4: 46:[2, 27] Operation: 45-18=27
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[45, 20], Operations: ['43-41=2', '18+2=20']
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 45+20=65, Resulting Numbers: [65]
65,46 unequal: No Solution
Exploring Operation: 45*20=900, Resulting Numbers: [900]
900,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 46:[2, 27], Operations: ['43-41=2', '45-18=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[18, 47], Operations: ['43-41=2', '45+2=47']
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 18*47=846, Resulting Numbers: [846]
846,46 unequal: No Solution
Exploring Operation: 18+47=65, Resulting Numbers: [65]
65,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[45, 9], Operations: ['43-41=2', '18/2=9']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[45, 16], Operations: ['43-41=2', '18-2=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 46:[45, 41, 25], Operations: ['43-18=25']
Exploring Operation: 45+25=70, Resulting Numbers: [41, 70]
Generated Node #0,3,0: 46:[41, 70] Operation: 45+25=70
Exploring Operation: 41-25=16, Resulting Numbers: [45, 16]
Generated Node #0,3,1: 46:[45, 16] Operation: 41-25=16
Exploring Operation: 45-25=20, Resulting Numbers: [41, 20]
Generated Node #0,3,2: 46:[41, 20] Operation: 45-25=20
Exploring Operation: 41+25=66, Resulting Numbers: [45, 66]
Generated Node #0,3,3: 46:[45, 66] Operation: 41+25=66
Exploring Operation: 45-41=4, Resulting Numbers: [25, 4]
Generated Node #0,3,4: 46:[25, 4] Operation: 45-41=4
Moving to Node #0,2
Current State: 46:[18, 41, 2], Operations: ['45-43=2']
Exploring Operation: 18+2=20, Resulting Numbers: [41, 20]
Generated Node #0,2,0: 46:[41, 20] Operation: 18+2=20
Exploring Operation: 18-2=16, Resulting Numbers: [41, 16]
Generated Node #0,2,1: 46:[41, 16] Operation: 18-2=16
Exploring Operation: 41+2=43, Resulting Numbers: [18, 43]
Generated Node #0,2,2: 46:[18, 43] Operation: 41+2=43
Exploring Operation: 18/2=9, Resulting Numbers: [41, 9]
Generated Node #0,2,3: 46:[41, 9] Operation: 18/2=9
Exploring Operation: 41-18=23, Resulting Numbers: [2, 23]
Generated Node #0,2,4: 46:[2, 23] Operation: 41-18=23
Moving to Node #0,4
Current State: 46:[18, 43, 4], Operations: ['45-41=4']
Exploring Operation: 18-4=14, Resulting Numbers: [43, 14]
Generated Node #0,4,0: 46:[43, 14] Operation: 18-4=14
Exploring Operation: 43-4=39, Resulting Numbers: [18, 39]
Generated Node #0,4,1: 46:[18, 39] Operation: 43-4=39
Exploring Operation: 43+4=47, Resulting Numbers: [18, 47]
Generated Node #0,4,2: 46:[18, 47] Operation: 43+4=47
Exploring Operation: 18+4=22, Resulting Numbers: [43, 22]
Generated Node #0,4,3: 46:[43, 22] Operation: 18+4=22
Exploring Operation: 43-18=25, Resulting Numbers: [4, 25]
Generated Node #0,4,4: 46:[4, 25] Operation: 43-18=25
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 46:[43, 22], Operations: ['45-41=4', '18+4=22']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,46 unequal: No Solution
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 46:[4, 25], Operations: ['45-41=4', '43-18=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,46 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 46:[18, 47], Operations: ['45-41=4', '43+4=47']
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 18*47=846, Resulting Numbers: [846]
846,46 unequal: No Solution
Exploring Operation: 18+47=65, Resulting Numbers: [65]
65,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 46:[43, 14], Operations: ['45-41=4', '18-4=14']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Exploring Operation: 43*14=602, Resulting Numbers: [602]
602,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 46:[18, 39], Operations: ['45-41=4', '43-4=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,46 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 46:[23, 2], Operations: ['41-18=23', '45-43=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[18, 45, 41, 43], Operations: []
Exploring Operation: 41-18=23, Resulting Numbers: [45, 43, 23]
Generated Node #0,0: 46:[45, 43, 23] Operation: 41-18=23
Moving to Node #0,0
Current State: 46:[45, 43, 23], Operations: ['41-18=23']
Exploring Operation: 45-43=2, Resulting Numbers: [23, 2]
Generated Node #0,0,1: 46:[23, 2] Operation: 45-43=2
Moving to Node #0,0,1
Current State: 46:[23, 2], Operations: ['41-18=23', '45-43=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.94184 | hs_5 | sum_heuristic |
[
88,
66,
73,
85
] | 51 | [
"88-85=3",
"66/3=22",
"73-22=51"
] | Current State: 51:[88, 66, 73, 85], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [66, 73, 3]
Generated Node #2: [66, 73, 3] from Operation: 88-85=3
Current State: 51:[66, 73, 3], Operations: ['88-85=3']
Exploring Operation: 66/3=22, Resulting Numbers: [73, 22]
Generated Node #3: [73, 22] from Operation: 66/3=22
Current State: 51:[73, 22], Operations: ['88-85=3', '66/3=22']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[88, 66, 73, 85], Operations: []
Exploring Operation: 88-73=15, Resulting Numbers: [66, 85, 15]
Generated Node #0,0: 51:[66, 85, 15] Operation: 88-73=15
Exploring Operation: 88-85=3, Resulting Numbers: [66, 73, 3]
Generated Node #0,1: 51:[66, 73, 3] Operation: 88-85=3
Exploring Operation: 88-66=22, Resulting Numbers: [73, 85, 22]
Generated Node #0,2: 51:[73, 85, 22] Operation: 88-66=22
Exploring Operation: 85-73=12, Resulting Numbers: [88, 66, 12]
Generated Node #0,3: 51:[88, 66, 12] Operation: 85-73=12
Exploring Operation: 85-66=19, Resulting Numbers: [88, 73, 19]
Generated Node #0,4: 51:[88, 73, 19] Operation: 85-66=19
Moving to Node #0,1
Current State: 51:[66, 73, 3], Operations: ['88-85=3']
Exploring Operation: 66-3=63, Resulting Numbers: [73, 63]
Generated Node #0,1,0: 51:[73, 63] Operation: 66-3=63
Exploring Operation: 73-3=70, Resulting Numbers: [66, 70]
Generated Node #0,1,1: 51:[66, 70] Operation: 73-3=70
Exploring Operation: 66+3=69, Resulting Numbers: [73, 69]
Generated Node #0,1,2: 51:[73, 69] Operation: 66+3=69
Exploring Operation: 73-66=7, Resulting Numbers: [3, 7]
Generated Node #0,1,3: 51:[3, 7] Operation: 73-66=7
Exploring Operation: 66/3=22, Resulting Numbers: [73, 22]
Generated Node #0,1,4: 51:[73, 22] Operation: 66/3=22
Moving to Node #0,0
Current State: 51:[66, 85, 15], Operations: ['88-73=15']
Exploring Operation: 85+15=100, Resulting Numbers: [66, 100]
Generated Node #0,0,0: 51:[66, 100] Operation: 85+15=100
Exploring Operation: 66+15=81, Resulting Numbers: [85, 81]
Generated Node #0,0,1: 51:[85, 81] Operation: 66+15=81
Exploring Operation: 85-15=70, Resulting Numbers: [66, 70]
Generated Node #0,0,2: 51:[66, 70] Operation: 85-15=70
Exploring Operation: 66-15=51, Resulting Numbers: [85, 51]
Generated Node #0,0,3: 51:[85, 51] Operation: 66-15=51
Exploring Operation: 85-66=19, Resulting Numbers: [15, 19]
Generated Node #0,0,4: 51:[15, 19] Operation: 85-66=19
Moving to Node #0,3
Current State: 51:[88, 66, 12], Operations: ['85-73=12']
Exploring Operation: 88-66=22, Resulting Numbers: [12, 22]
Generated Node #0,3,0: 51:[12, 22] Operation: 88-66=22
Exploring Operation: 66-12=54, Resulting Numbers: [88, 54]
Generated Node #0,3,1: 51:[88, 54] Operation: 66-12=54
Exploring Operation: 88-12=76, Resulting Numbers: [66, 76]
Generated Node #0,3,2: 51:[66, 76] Operation: 88-12=76
Exploring Operation: 66+12=78, Resulting Numbers: [88, 78]
Generated Node #0,3,3: 51:[88, 78] Operation: 66+12=78
Exploring Operation: 88+12=100, Resulting Numbers: [66, 100]
Generated Node #0,3,4: 51:[66, 100] Operation: 88+12=100
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 51:[12, 22], Operations: ['85-73=12', '88-66=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 51:[88, 54], Operations: ['85-73=12', '66-12=54']
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 88*54=4752, Resulting Numbers: [4752]
4752,51 unequal: No Solution
Exploring Operation: 88+54=142, Resulting Numbers: [142]
142,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 51:[66, 76], Operations: ['85-73=12', '88-12=76']
Exploring Operation: 66+76=142, Resulting Numbers: [142]
142,51 unequal: No Solution
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 66*76=5016, Resulting Numbers: [5016]
5016,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 51:[88, 78], Operations: ['85-73=12', '66+12=78']
Exploring Operation: 88*78=6864, Resulting Numbers: [6864]
6864,51 unequal: No Solution
Exploring Operation: 88+78=166, Resulting Numbers: [166]
166,51 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 51:[66, 100], Operations: ['85-73=12', '88+12=100']
Exploring Operation: 100-66=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 66*100=6600, Resulting Numbers: [6600]
6600,51 unequal: No Solution
Exploring Operation: 66+100=166, Resulting Numbers: [166]
166,51 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: 51:[73, 85, 22], Operations: ['88-66=22']
Exploring Operation: 85-73=12, Resulting Numbers: [22, 12]
Generated Node #0,2,0: 51:[22, 12] Operation: 85-73=12
Exploring Operation: 85+22=107, Resulting Numbers: [73, 107]
Generated Node #0,2,1: 51:[73, 107] Operation: 85+22=107
Exploring Operation: 73-22=51, Resulting Numbers: [85, 51]
Generated Node #0,2,2: 51:[85, 51] Operation: 73-22=51
Exploring Operation: 85-22=63, Resulting Numbers: [73, 63]
Generated Node #0,2,3: 51:[73, 63] Operation: 85-22=63
Exploring Operation: 73+22=95, Resulting Numbers: [85, 95]
Generated Node #0,2,4: 51:[85, 95] Operation: 73+22=95
Moving to Node #0,4
Current State: 51:[88, 73, 19], Operations: ['85-66=19']
Exploring Operation: 88-19=69, Resulting Numbers: [73, 69]
Generated Node #0,4,0: 51:[73, 69] Operation: 88-19=69
Exploring Operation: 88-73=15, Resulting Numbers: [19, 15]
Generated Node #0,4,1: 51:[19, 15] Operation: 88-73=15
Exploring Operation: 88+19=107, Resulting Numbers: [73, 107]
Generated Node #0,4,2: 51:[73, 107] Operation: 88+19=107
Exploring Operation: 73+19=92, Resulting Numbers: [88, 92]
Generated Node #0,4,3: 51:[88, 92] Operation: 73+19=92
Exploring Operation: 73-19=54, Resulting Numbers: [88, 54]
Generated Node #0,4,4: 51:[88, 54] Operation: 73-19=54
Moving to Node #0,1,3
Current State: 51:[3, 7], Operations: ['88-85=3', '73-66=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Moving to Node #0,0,4
Current State: 51:[15, 19], Operations: ['88-73=15', '85-66=19']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,51 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Moving to Node #0,4,1
Current State: 51:[19, 15], Operations: ['85-66=19', '88-73=15']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[22, 12], Operations: ['88-66=22', '85-73=12']
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,51 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Moving to Node #0,1,4
Current State: 51:[73, 22], Operations: ['88-85=3', '66/3=22']
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,51 unequal: No Solution
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[88, 66, 73, 85], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [66, 73, 3]
Generated Node #0,1: 51:[66, 73, 3] Operation: 88-85=3
Moving to Node #0,1
Current State: 51:[66, 73, 3], Operations: ['88-85=3']
Exploring Operation: 66/3=22, Resulting Numbers: [73, 22]
Generated Node #0,1,4: 51:[73, 22] Operation: 66/3=22
Moving to Node #0,1,4
Current State: 51:[73, 22], Operations: ['88-85=3', '66/3=22']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.944444 | hs_5 | sum_heuristic |
[
32,
19,
21,
94
] | 79 | [
"21-19=2",
"94/2=47",
"32+47=79"
] | Current State: 79:[32, 19, 21, 94], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [32, 94, 2]
Generated Node #2: [32, 94, 2] from Operation: 21-19=2
Current State: 79:[32, 94, 2], Operations: ['21-19=2']
Exploring Operation: 94/2=47, Resulting Numbers: [32, 47]
Generated Node #3: [32, 47] from Operation: 94/2=47
Current State: 79:[32, 47], Operations: ['21-19=2', '94/2=47']
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[32, 19, 21, 94], Operations: []
Exploring Operation: 32+19=51, Resulting Numbers: [21, 94, 51]
Generated Node #0,0: 79:[21, 94, 51] Operation: 32+19=51
Moving to Node #0,0
Current State: 79:[21, 94, 51], Operations: ['32+19=51']
Exploring Operation: 21+51=72, Resulting Numbers: [94, 72]
Generated Node #0,0,0: 79:[94, 72] Operation: 21+51=72
Moving to Node #0,0,0
Current State: 79:[94, 72], Operations: ['32+19=51', '21+51=72']
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,79 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
34,
30,
20,
35
] | 49 | [
"34+30=64",
"35-20=15",
"64-15=49"
] | Current State: 49:[34, 30, 20, 35], Operations: []
Exploring Operation: 34+30=64, Resulting Numbers: [20, 35, 64]
Generated Node #2: [20, 35, 64] from Operation: 34+30=64
Current State: 49:[20, 35, 64], Operations: ['34+30=64']
Exploring Operation: 35-20=15, Resulting Numbers: [64, 15]
Generated Node #3: [64, 15] from Operation: 35-20=15
Current State: 49:[64, 15], Operations: ['34+30=64', '35-20=15']
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[34, 30, 20, 35], Operations: []
Exploring Operation: 30+20=50, Resulting Numbers: [34, 35, 50]
Generated Node #0,0: 49:[34, 35, 50] Operation: 30+20=50
Exploring Operation: 34-30=4, Resulting Numbers: [20, 35, 4]
Generated Node #0,1: 49:[20, 35, 4] Operation: 34-30=4
Exploring Operation: 35-30=5, Resulting Numbers: [34, 20, 5]
Generated Node #0,2: 49:[34, 20, 5] Operation: 35-30=5
Moving to Node #0,0
Current State: 49:[34, 35, 50], Operations: ['30+20=50']
Exploring Operation: 50-34=16, Resulting Numbers: [35, 16]
Generated Node #0,0,0: 49:[35, 16] Operation: 50-34=16
Exploring Operation: 35-34=1, Resulting Numbers: [50, 1]
Generated Node #0,0,1: 49:[50, 1] Operation: 35-34=1
Exploring Operation: 34+35=69, Resulting Numbers: [50, 69]
Generated Node #0,0,2: 49:[50, 69] Operation: 34+35=69
Moving to Node #0,1
Current State: 49:[20, 35, 4], Operations: ['34-30=4']
Exploring Operation: 20+35=55, Resulting Numbers: [4, 55]
Generated Node #0,1,0: 49:[4, 55] Operation: 20+35=55
Exploring Operation: 20/4=5, Resulting Numbers: [35, 5]
Generated Node #0,1,1: 49:[35, 5] Operation: 20/4=5
Exploring Operation: 35-20=15, Resulting Numbers: [4, 15]
Generated Node #0,1,2: 49:[4, 15] Operation: 35-20=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[4, 55], Operations: ['34-30=4', '20+35=55']
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,49 unequal: No Solution
No 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: 49:[4, 15], Operations: ['34-30=4', '35-20=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,49 unequal: No Solution
No 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: 49:[35, 5], Operations: ['34-30=4', '20/4=5']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,49 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: 49:[34, 20, 5], Operations: ['35-30=5']
Exploring Operation: 34+20=54, Resulting Numbers: [5, 54]
Generated Node #0,2,0: 49:[5, 54] Operation: 34+20=54
Exploring Operation: 20/5=4, Resulting Numbers: [34, 4]
Generated Node #0,2,1: 49:[34, 4] Operation: 20/5=4
Exploring Operation: 34-20=14, Resulting Numbers: [5, 14]
Generated Node #0,2,2: 49:[5, 14] Operation: 34-20=14
Moving to Node #0,0,1
Current State: 49:[50, 1], Operations: ['30+20=50', '35-34=1']
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[34, 30, 20, 35], Operations: []
Exploring Operation: 30+20=50, Resulting Numbers: [34, 35, 50]
Generated Node #0,0: 49:[34, 35, 50] Operation: 30+20=50
Moving to Node #0,0
Current State: 49:[34, 35, 50], Operations: ['30+20=50']
Exploring Operation: 35-34=1, Resulting Numbers: [50, 1]
Generated Node #0,0,1: 49:[50, 1] Operation: 35-34=1
Moving to Node #0,0,1
Current State: 49:[50, 1], Operations: ['30+20=50', '35-34=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
46,
13,
21,
42
] | 54 | [
"46-13=33",
"42-21=21",
"33+21=54"
] | Current State: 54:[46, 13, 21, 42], Operations: []
Exploring Operation: 46-13=33, Resulting Numbers: [21, 42, 33]
Generated Node #2: [21, 42, 33] from Operation: 46-13=33
Current State: 54:[21, 42, 33], Operations: ['46-13=33']
Exploring Operation: 42-21=21, Resulting Numbers: [33, 21]
Generated Node #3: [33, 21] from Operation: 42-21=21
Current State: 54:[33, 21], Operations: ['46-13=33', '42-21=21']
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[46, 13, 21, 42], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [46, 13, 2]
Generated Node #0,0: 54:[46, 13, 2] Operation: 42/21=2
Exploring Operation: 46-42=4, Resulting Numbers: [13, 21, 4]
Generated Node #0,1: 54:[13, 21, 4] Operation: 46-42=4
Exploring Operation: 42-13=29, Resulting Numbers: [46, 21, 29]
Generated Node #0,2: 54:[46, 21, 29] Operation: 42-13=29
Exploring Operation: 13+42=55, Resulting Numbers: [46, 21, 55]
Generated Node #0,3: 54:[46, 21, 55] Operation: 13+42=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[13, 21, 4], Operations: ['46-42=4']
Exploring Operation: 13+4=17, Resulting Numbers: [21, 17]
Generated Node #0,1,0: 54:[21, 17] Operation: 13+4=17
Exploring Operation: 21-13=8, Resulting Numbers: [4, 8]
Generated Node #0,1,1: 54:[4, 8] Operation: 21-13=8
Exploring Operation: 13-4=9, Resulting Numbers: [21, 9]
Generated Node #0,1,2: 54:[21, 9] Operation: 13-4=9
Exploring Operation: 13*4=52, Resulting Numbers: [21, 52]
Generated Node #0,1,3: 54:[21, 52] Operation: 13*4=52
Moving to Node #0,1,1
Current State: 54:[4, 8], Operations: ['46-42=4', '21-13=8']
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[21, 9], Operations: ['46-42=4', '13-4=9']
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[21, 17], Operations: ['46-42=4', '13+4=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[21, 52], Operations: ['46-42=4', '13*4=52']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,54 unequal: No Solution
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[46, 13, 2], Operations: ['42/21=2']
Exploring Operation: 46+13=59, Resulting Numbers: [2, 59]
Generated Node #0,0,0: 54:[2, 59] Operation: 46+13=59
Exploring Operation: 46-13=33, Resulting Numbers: [2, 33]
Generated Node #0,0,1: 54:[2, 33] Operation: 46-13=33
Exploring Operation: 13*2=26, Resulting Numbers: [46, 26]
Generated Node #0,0,2: 54:[46, 26] Operation: 13*2=26
Exploring Operation: 46/2=23, Resulting Numbers: [13, 23]
Generated Node #0,0,3: 54:[13, 23] Operation: 46/2=23
Moving to Node #0,0,0
Current State: 54:[2, 59], Operations: ['42/21=2', '46+13=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[2, 33], Operations: ['42/21=2', '46-13=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,54 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[13, 23], Operations: ['42/21=2', '46/2=23']
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 13*23=299, Resulting Numbers: [299]
299,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[46, 26], Operations: ['42/21=2', '13*2=26']
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,54 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[46, 21, 55], Operations: ['13+42=55']
Exploring Operation: 55-46=9, Resulting Numbers: [21, 9]
Generated Node #0,3,0: 54:[21, 9] Operation: 55-46=9
Exploring Operation: 46+21=67, Resulting Numbers: [55, 67]
Generated Node #0,3,1: 54:[55, 67] Operation: 46+21=67
Exploring Operation: 55-21=34, Resulting Numbers: [46, 34]
Generated Node #0,3,2: 54:[46, 34] Operation: 55-21=34
Exploring Operation: 46-21=25, Resulting Numbers: [55, 25]
Generated Node #0,3,3: 54:[55, 25] Operation: 46-21=25
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 54:[21, 9], Operations: ['13+42=55', '55-46=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,54 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 54:[55, 25], Operations: ['13+42=55', '46-21=25']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,54 unequal: No Solution
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 54:[55, 67], Operations: ['13+42=55', '46+21=67']
Exploring Operation: 55*67=3685, Resulting Numbers: [3685]
3685,54 unequal: No Solution
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 55+67=122, Resulting Numbers: [122]
122,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 54:[46, 34], Operations: ['13+42=55', '55-21=34']
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 46*34=1564, Resulting Numbers: [1564]
1564,54 unequal: No Solution
Exploring Operation: 46+34=80, Resulting Numbers: [80]
80,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[46, 21, 29], Operations: ['42-13=29']
Exploring Operation: 29-21=8, Resulting Numbers: [46, 8]
Generated Node #0,2,0: 54:[46, 8] Operation: 29-21=8
Exploring Operation: 46-29=17, Resulting Numbers: [21, 17]
Generated Node #0,2,1: 54:[21, 17] Operation: 46-29=17
Exploring Operation: 46-21=25, Resulting Numbers: [29, 25]
Generated Node #0,2,2: 54:[29, 25] Operation: 46-21=25
Exploring Operation: 21+29=50, Resulting Numbers: [46, 50]
Generated Node #0,2,3: 54:[46, 50] Operation: 21+29=50
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 54:[21, 17], Operations: ['42-13=29', '46-29=17']
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,54 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[29, 25], Operations: ['42-13=29', '46-21=25']
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[46, 13, 21, 42], Operations: []
Exploring Operation: 42-13=29, Resulting Numbers: [46, 21, 29]
Generated Node #0,2: 54:[46, 21, 29] Operation: 42-13=29
Moving to Node #0,2
Current State: 54:[46, 21, 29], Operations: ['42-13=29']
Exploring Operation: 46-21=25, Resulting Numbers: [29, 25]
Generated Node #0,2,2: 54:[29, 25] Operation: 46-21=25
Moving to Node #0,2,2
Current State: 54:[29, 25], Operations: ['42-13=29', '46-21=25']
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.942708 | hs_4 | mult_heuristic |
[
26,
51,
7,
4
] | 14 | [
"51-26=25",
"7+4=11",
"25-11=14"
] | Current State: 14:[26, 51, 7, 4], Operations: []
Exploring Operation: 51-26=25, Resulting Numbers: [7, 4, 25]
Generated Node #2: [7, 4, 25] from Operation: 51-26=25
Current State: 14:[7, 4, 25], Operations: ['51-26=25']
Exploring Operation: 7+4=11, Resulting Numbers: [25, 11]
Generated Node #3: [25, 11] from Operation: 7+4=11
Current State: 14:[25, 11], Operations: ['51-26=25', '7+4=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[26, 51, 7, 4], Operations: []
Exploring Operation: 26-7=19, Resulting Numbers: [51, 4, 19]
Generated Node #0,0: 14:[51, 4, 19] Operation: 26-7=19
Exploring Operation: 51-7=44, Resulting Numbers: [26, 4, 44]
Generated Node #0,1: 14:[26, 4, 44] Operation: 51-7=44
Exploring Operation: 51-26=25, Resulting Numbers: [7, 4, 25]
Generated Node #0,2: 14:[7, 4, 25] Operation: 51-26=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[7, 4, 25], Operations: ['51-26=25']
Exploring Operation: 25-4=21, Resulting Numbers: [7, 21]
Generated Node #0,2,0: 14:[7, 21] Operation: 25-4=21
Exploring Operation: 7-4=3, Resulting Numbers: [25, 3]
Generated Node #0,2,1: 14:[25, 3] Operation: 7-4=3
Exploring Operation: 25-7=18, Resulting Numbers: [4, 18]
Generated Node #0,2,2: 14:[4, 18] Operation: 25-7=18
Moving to Node #0,2,2
Current State: 14:[4, 18], Operations: ['51-26=25', '25-7=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,14 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[26, 51, 7, 4], Operations: []
Exploring Operation: 51-26=25, Resulting Numbers: [7, 4, 25]
Generated Node #0,2: 14:[7, 4, 25] Operation: 51-26=25
Moving to Node #0,2
Current State: 14:[7, 4, 25], Operations: ['51-26=25']
Exploring Operation: 25-7=18, Resulting Numbers: [4, 18]
Generated Node #0,2,2: 14:[4, 18] Operation: 25-7=18
Moving to Node #0,2,2
Current State: 14:[4, 18], Operations: ['51-26=25', '25-7=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
59,
93,
63,
3
] | 93 | [
"63-59=4",
"4-3=1",
"93*1=93"
] | Current State: 93:[59, 93, 63, 3], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [93, 3, 4]
Generated Node #2: [93, 3, 4] from Operation: 63-59=4
Current State: 93:[93, 3, 4], Operations: ['63-59=4']
Exploring Operation: 4-3=1, Resulting Numbers: [93, 1]
Generated Node #3: [93, 1] from Operation: 4-3=1
Current State: 93:[93, 1], Operations: ['63-59=4', '4-3=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[59, 93, 63, 3], Operations: []
Exploring Operation: 93-59=34, Resulting Numbers: [63, 3, 34]
Generated Node #0,0: 93:[63, 3, 34] Operation: 93-59=34
Exploring Operation: 63-59=4, Resulting Numbers: [93, 3, 4]
Generated Node #0,1: 93:[93, 3, 4] Operation: 63-59=4
Exploring Operation: 63/3=21, Resulting Numbers: [59, 93, 21]
Generated Node #0,2: 93:[59, 93, 21] Operation: 63/3=21
Exploring Operation: 93-63=30, Resulting Numbers: [59, 3, 30]
Generated Node #0,3: 93:[59, 3, 30] Operation: 93-63=30
Exploring Operation: 59+63=122, Resulting Numbers: [93, 3, 122]
Generated Node #0,4: 93:[93, 3, 122] Operation: 59+63=122
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[93, 3, 4], Operations: ['63-59=4']
Exploring Operation: 93+4=97, Resulting Numbers: [3, 97]
Generated Node #0,1,0: 93:[3, 97] Operation: 93+4=97
Exploring Operation: 4-3=1, Resulting Numbers: [93, 1]
Generated Node #0,1,1: 93:[93, 1] Operation: 4-3=1
Exploring Operation: 93+3=96, Resulting Numbers: [4, 96]
Generated Node #0,1,2: 93:[4, 96] Operation: 93+3=96
Exploring Operation: 93-3=90, Resulting Numbers: [4, 90]
Generated Node #0,1,3: 93:[4, 90] Operation: 93-3=90
Exploring Operation: 93/3=31, Resulting Numbers: [4, 31]
Generated Node #0,1,4: 93:[4, 31] Operation: 93/3=31
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 93:[4, 31], Operations: ['63-59=4', '93/3=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[93, 1], Operations: ['63-59=4', '4-3=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[59, 93, 63, 3], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [93, 3, 4]
Generated Node #0,1: 93:[93, 3, 4] Operation: 63-59=4
Moving to Node #0,1
Current State: 93:[93, 3, 4], Operations: ['63-59=4']
Exploring Operation: 4-3=1, Resulting Numbers: [93, 1]
Generated Node #0,1,1: 93:[93, 1] Operation: 4-3=1
Moving to Node #0,1,1
Current State: 93:[93, 1], Operations: ['63-59=4', '4-3=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
79,
8,
72,
19
] | 96 | [
"79-72=7",
"19-7=12",
"8*12=96"
] | Current State: 96:[79, 8, 72, 19], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [8, 19, 7]
Generated Node #2: [8, 19, 7] from Operation: 79-72=7
Current State: 96:[8, 19, 7], Operations: ['79-72=7']
Exploring Operation: 19-7=12, Resulting Numbers: [8, 12]
Generated Node #3: [8, 12] from Operation: 19-7=12
Current State: 96:[8, 12], Operations: ['79-72=7', '19-7=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[79, 8, 72, 19], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [8, 19, 7]
Generated Node #0,0: 96:[8, 19, 7] Operation: 79-72=7
Moving to Node #0,0
Current State: 96:[8, 19, 7], Operations: ['79-72=7']
Exploring Operation: 19-7=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 96:[8, 12] Operation: 19-7=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[8, 12], Operations: ['79-72=7', '19-7=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[79, 8, 72, 19], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [8, 19, 7]
Generated Node #0,0: 96:[8, 19, 7] Operation: 79-72=7
Moving to Node #0,0
Current State: 96:[8, 19, 7], Operations: ['79-72=7']
Exploring Operation: 19-7=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 96:[8, 12] Operation: 19-7=12
Moving to Node #0,0,0
Current State: 96:[8, 12], Operations: ['79-72=7', '19-7=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
16,
78,
59,
2
] | 82 | [
"59-16=43",
"78/2=39",
"43+39=82"
] | Current State: 82:[16, 78, 59, 2], Operations: []
Exploring Operation: 59-16=43, Resulting Numbers: [78, 2, 43]
Generated Node #2: [78, 2, 43] from Operation: 59-16=43
Current State: 82:[78, 2, 43], Operations: ['59-16=43']
Exploring Operation: 78/2=39, Resulting Numbers: [43, 39]
Generated Node #3: [43, 39] from Operation: 78/2=39
Current State: 82:[43, 39], Operations: ['59-16=43', '78/2=39']
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[16, 78, 59, 2], Operations: []
Exploring Operation: 16/2=8, Resulting Numbers: [78, 59, 8]
Generated Node #0,0: 82:[78, 59, 8] Operation: 16/2=8
Exploring Operation: 16+59=75, Resulting Numbers: [78, 2, 75]
Generated Node #0,1: 82:[78, 2, 75] Operation: 16+59=75
Exploring Operation: 59-16=43, Resulting Numbers: [78, 2, 43]
Generated Node #0,2: 82:[78, 2, 43] Operation: 59-16=43
Exploring Operation: 16+78=94, Resulting Numbers: [59, 2, 94]
Generated Node #0,3: 82:[59, 2, 94] Operation: 16+78=94
Moving to Node #0,2
Current State: 82:[78, 2, 43], Operations: ['59-16=43']
Exploring Operation: 78/2=39, Resulting Numbers: [43, 39]
Generated Node #0,2,0: 82:[43, 39] Operation: 78/2=39
Exploring Operation: 43-2=41, Resulting Numbers: [78, 41]
Generated Node #0,2,1: 82:[78, 41] Operation: 43-2=41
Exploring Operation: 78-43=35, Resulting Numbers: [2, 35]
Generated Node #0,2,2: 82:[2, 35] Operation: 78-43=35
Exploring Operation: 78+2=80, Resulting Numbers: [43, 80]
Generated Node #0,2,3: 82:[43, 80] Operation: 78+2=80
Moving to Node #0,1
Current State: 82:[78, 2, 75], Operations: ['16+59=75']
Exploring Operation: 2+75=77, Resulting Numbers: [78, 77]
Generated Node #0,1,0: 82:[78, 77] Operation: 2+75=77
Exploring Operation: 78-75=3, Resulting Numbers: [2, 3]
Generated Node #0,1,1: 82:[2, 3] Operation: 78-75=3
Exploring Operation: 78+2=80, Resulting Numbers: [75, 80]
Generated Node #0,1,2: 82:[75, 80] Operation: 78+2=80
Exploring Operation: 78/2=39, Resulting Numbers: [75, 39]
Generated Node #0,1,3: 82:[75, 39] Operation: 78/2=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[2, 3], Operations: ['16+59=75', '78-75=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,82 unequal: No Solution
No 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: 82:[78, 77], Operations: ['16+59=75', '2+75=77']
Exploring Operation: 78+77=155, Resulting Numbers: [155]
155,82 unequal: No Solution
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 78*77=6006, Resulting Numbers: [6006]
6006,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[75, 80], Operations: ['16+59=75', '78+2=80']
Exploring Operation: 75+80=155, Resulting Numbers: [155]
155,82 unequal: No Solution
Exploring Operation: 80-75=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 75*80=6000, Resulting Numbers: [6000]
6000,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 82:[75, 39], Operations: ['16+59=75', '78/2=39']
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,82 unequal: No Solution
Exploring Operation: 75+39=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 75*39=2925, Resulting Numbers: [2925]
2925,82 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: 82:[78, 59, 8], Operations: ['16/2=8']
Exploring Operation: 78+8=86, Resulting Numbers: [59, 86]
Generated Node #0,0,0: 82:[59, 86] Operation: 78+8=86
Exploring Operation: 59-8=51, Resulting Numbers: [78, 51]
Generated Node #0,0,1: 82:[78, 51] Operation: 59-8=51
Exploring Operation: 78-59=19, Resulting Numbers: [8, 19]
Generated Node #0,0,2: 82:[8, 19] Operation: 78-59=19
Exploring Operation: 59+8=67, Resulting Numbers: [78, 67]
Generated Node #0,0,3: 82:[78, 67] Operation: 59+8=67
Moving to Node #0,3
Current State: 82:[59, 2, 94], Operations: ['16+78=94']
Exploring Operation: 94-2=92, Resulting Numbers: [59, 92]
Generated Node #0,3,0: 82:[59, 92] Operation: 94-2=92
Exploring Operation: 94/2=47, Resulting Numbers: [59, 47]
Generated Node #0,3,1: 82:[59, 47] Operation: 94/2=47
Exploring Operation: 59-2=57, Resulting Numbers: [94, 57]
Generated Node #0,3,2: 82:[94, 57] Operation: 59-2=57
Exploring Operation: 94-59=35, Resulting Numbers: [2, 35]
Generated Node #0,3,3: 82:[2, 35] Operation: 94-59=35
Moving to Node #0,2,0
Current State: 82:[43, 39], Operations: ['59-16=43', '78/2=39']
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,82 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[16, 78, 59, 2], Operations: []
Exploring Operation: 59-16=43, Resulting Numbers: [78, 2, 43]
Generated Node #0,2: 82:[78, 2, 43] Operation: 59-16=43
Moving to Node #0,2
Current State: 82:[78, 2, 43], Operations: ['59-16=43']
Exploring Operation: 78/2=39, Resulting Numbers: [43, 39]
Generated Node #0,2,0: 82:[43, 39] Operation: 78/2=39
Moving to Node #0,2,0
Current State: 82:[43, 39], Operations: ['59-16=43', '78/2=39']
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.967014 | hs_4 | mult_heuristic |
[
8,
86,
67,
77
] | 88 | [
"86-8=78",
"77-67=10",
"78+10=88"
] | Current State: 88:[8, 86, 67, 77], Operations: []
Exploring Operation: 86-8=78, Resulting Numbers: [67, 77, 78]
Generated Node #2: [67, 77, 78] from Operation: 86-8=78
Current State: 88:[67, 77, 78], Operations: ['86-8=78']
Exploring Operation: 77-67=10, Resulting Numbers: [78, 10]
Generated Node #3: [78, 10] from Operation: 77-67=10
Current State: 88:[78, 10], Operations: ['86-8=78', '77-67=10']
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[8, 86, 67, 77], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [8, 86, 10]
Generated Node #0,0: 88:[8, 86, 10] Operation: 77-67=10
Exploring Operation: 8+67=75, Resulting Numbers: [86, 77, 75]
Generated Node #0,1: 88:[86, 77, 75] Operation: 8+67=75
Exploring Operation: 86-67=19, Resulting Numbers: [8, 77, 19]
Generated Node #0,2: 88:[8, 77, 19] Operation: 86-67=19
Exploring Operation: 86-77=9, Resulting Numbers: [8, 67, 9]
Generated Node #0,3: 88:[8, 67, 9] Operation: 86-77=9
Exploring Operation: 8+77=85, Resulting Numbers: [86, 67, 85]
Generated Node #0,4: 88:[86, 67, 85] Operation: 8+77=85
Moving to Node #0,0
Current State: 88:[8, 86, 10], Operations: ['77-67=10']
Exploring Operation: 8+10=18, Resulting Numbers: [86, 18]
Generated Node #0,0,0: 88:[86, 18] Operation: 8+10=18
Exploring Operation: 86+10=96, Resulting Numbers: [8, 96]
Generated Node #0,0,1: 88:[8, 96] Operation: 86+10=96
Exploring Operation: 10-8=2, Resulting Numbers: [86, 2]
Generated Node #0,0,2: 88:[86, 2] Operation: 10-8=2
Exploring Operation: 8*10=80, Resulting Numbers: [86, 80]
Generated Node #0,0,3: 88:[86, 80] Operation: 8*10=80
Exploring Operation: 8+86=94, Resulting Numbers: [10, 94]
Generated Node #0,0,4: 88:[10, 94] Operation: 8+86=94
Moving to Node #0,2
Current State: 88:[8, 77, 19], Operations: ['86-67=19']
Exploring Operation: 19-8=11, Resulting Numbers: [77, 11]
Generated Node #0,2,0: 88:[77, 11] Operation: 19-8=11
Exploring Operation: 8+77=85, Resulting Numbers: [19, 85]
Generated Node #0,2,1: 88:[19, 85] Operation: 8+77=85
Exploring Operation: 77-19=58, Resulting Numbers: [8, 58]
Generated Node #0,2,2: 88:[8, 58] Operation: 77-19=58
Exploring Operation: 77+19=96, Resulting Numbers: [8, 96]
Generated Node #0,2,3: 88:[8, 96] Operation: 77+19=96
Exploring Operation: 8+19=27, Resulting Numbers: [77, 27]
Generated Node #0,2,4: 88:[77, 27] Operation: 8+19=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[19, 85], Operations: ['86-67=19', '8+77=85']
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 19+85=104, Resulting Numbers: [104]
104,88 unequal: No Solution
Exploring Operation: 19*85=1615, Resulting Numbers: [1615]
1615,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 88:[8, 96], Operations: ['86-67=19', '77+19=96']
Exploring Operation: 8+96=104, Resulting Numbers: [104]
104,88 unequal: No Solution
Exploring Operation: 8*96=768, Resulting Numbers: [768]
768,88 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[8, 86, 67, 77], Operations: []
Exploring Operation: 86-67=19, Resulting Numbers: [8, 77, 19]
Generated Node #0,2: 88:[8, 77, 19] Operation: 86-67=19
Moving to Node #0,2
Current State: 88:[8, 77, 19], Operations: ['86-67=19']
Exploring Operation: 77+19=96, Resulting Numbers: [8, 96]
Generated Node #0,2,3: 88:[8, 96] Operation: 77+19=96
Moving to Node #0,2,3
Current State: 88:[8, 96], Operations: ['86-67=19', '77+19=96']
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
38,
26,
38,
96
] | 30 | [
"38-26=12",
"96/12=8",
"38-8=30"
] | Current State: 30:[38, 26, 38, 96], Operations: []
Exploring Operation: 38-26=12, Resulting Numbers: [96, 12]
Generated Node #2: [96, 12] from Operation: 38-26=12
Current State: 30:[96, 12], Operations: ['38-26=12']
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,30 equal: Goal Reached
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[38, 26, 38, 96], Operations: []
Exploring Operation: 96-38=58, Resulting Numbers: [26, 38, 58]
Generated Node #0,0: 30:[26, 38, 58] Operation: 96-38=58
Exploring Operation: 38/38=1, Resulting Numbers: [26, 96, 1]
Generated Node #0,1: 30:[26, 96, 1] Operation: 38/38=1
Exploring Operation: 96-26=70, Resulting Numbers: [38, 38, 70]
Generated Node #0,2: 30:[38, 38, 70] Operation: 96-26=70
Exploring Operation: 96-38=58, Resulting Numbers: [38, 26, 58]
Generated Node #0,3: 30:[38, 26, 58] Operation: 96-38=58
Moving to Node #0,0
Current State: 30:[26, 38, 58], Operations: ['96-38=58']
Exploring Operation: 58-26=32, Resulting Numbers: [38, 32]
Generated Node #0,0,0: 30:[38, 32] Operation: 58-26=32
Exploring Operation: 58-38=20, Resulting Numbers: [26, 20]
Generated Node #0,0,1: 30:[26, 20] Operation: 58-38=20
Exploring Operation: 26+38=64, Resulting Numbers: [58, 64]
Generated Node #0,0,2: 30:[58, 64] Operation: 26+38=64
Exploring Operation: 38-26=12, Resulting Numbers: [58, 12]
Generated Node #0,0,3: 30:[58, 12] Operation: 38-26=12
Moving to Node #0,3
Current State: 30:[38, 26, 58], Operations: ['96-38=58']
Exploring Operation: 38-26=12, Resulting Numbers: [58, 12]
Generated Node #0,3,0: 30:[58, 12] Operation: 38-26=12
Exploring Operation: 58-38=20, Resulting Numbers: [26, 20]
Generated Node #0,3,1: 30:[26, 20] Operation: 58-38=20
Exploring Operation: 38+26=64, Resulting Numbers: [58, 64]
Generated Node #0,3,2: 30:[58, 64] Operation: 38+26=64
Exploring Operation: 58-26=32, Resulting Numbers: [38, 32]
Generated Node #0,3,3: 30:[38, 32] Operation: 58-26=32
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 30:[26, 20], Operations: ['96-38=58', '58-38=20']
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,30 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,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,3,3
Current State: 30:[38, 32], Operations: ['96-38=58', '58-26=32']
Exploring Operation: 38*32=1216, Resulting Numbers: [1216]
1216,30 unequal: No Solution
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,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,3,0
Current State: 30:[58, 12], Operations: ['96-38=58', '38-26=12']
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,30 unequal: No Solution
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,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,3,2
Current State: 30:[58, 64], Operations: ['96-38=58', '38+26=64']
Exploring Operation: 58*64=3712, Resulting Numbers: [3712]
3712,30 unequal: No Solution
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 58+64=122, Resulting Numbers: [122]
122,30 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: 30:[38, 38, 70], Operations: ['96-26=70']
Exploring Operation: 70-38=32, Resulting Numbers: [38, 32]
Generated Node #0,2,0: 30:[38, 32] Operation: 70-38=32
Exploring Operation: 70-38=32, Resulting Numbers: [38, 32]
Generated Node #0,2,1: 30:[38, 32] Operation: 70-38=32
Exploring Operation: 38/38=1, Resulting Numbers: [70, 1]
Generated Node #0,2,2: 30:[70, 1] Operation: 38/38=1
Exploring Operation: 38-38=0, Resulting Numbers: [70, 0]
Generated Node #0,2,3: 30:[70, 0] Operation: 38-38=0
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[38, 32], Operations: ['96-26=70', '70-38=32']
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 38*32=1216, Resulting Numbers: [1216]
1216,30 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[38, 32], Operations: ['96-26=70', '70-38=32']
Exploring Operation: 38*32=1216, Resulting Numbers: [1216]
1216,30 unequal: No Solution
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[70, 1], Operations: ['96-26=70', '38/38=1']
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,30 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[70, 0], Operations: ['96-26=70', '38-38=0']
Exploring Operation: 70*0=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 70-0=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,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:[26, 96, 1], Operations: ['38/38=1']
Exploring Operation: 96-1=95, Resulting Numbers: [26, 95]
Generated Node #0,1,0: 30:[26, 95] Operation: 96-1=95
Exploring Operation: 26+1=27, Resulting Numbers: [96, 27]
Generated Node #0,1,1: 30:[96, 27] Operation: 26+1=27
Exploring Operation: 26*1=26, Resulting Numbers: [96, 26]
Generated Node #0,1,2: 30:[96, 26] Operation: 26*1=26
Exploring Operation: 96-26=70, Resulting Numbers: [1, 70]
Generated Node #0,1,3: 30:[1, 70] Operation: 96-26=70
Moving to Node #0,0,1
Current State: 30:[26, 20], Operations: ['96-38=58', '58-38=20']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[38, 32], Operations: ['96-38=58', '58-26=32']
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 38*32=1216, Resulting Numbers: [1216]
1216,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[58, 12], Operations: ['96-38=58', '38-26=12']
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,30 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[1, 70], Operations: ['38/38=1', '96-26=70']
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 1+70=71, Resulting Numbers: [71]
71,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[58, 64], Operations: ['96-38=58', '26+38=64']
Exploring Operation: 58+64=122, Resulting Numbers: [122]
122,30 unequal: No Solution
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 58*64=3712, Resulting Numbers: [3712]
3712,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[26, 95], Operations: ['38/38=1', '96-1=95']
Exploring Operation: 26*95=2470, Resulting Numbers: [2470]
2470,30 unequal: No Solution
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 26+95=121, Resulting Numbers: [121]
121,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[96, 27], Operations: ['38/38=1', '26+1=27']
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 96*27=2592, Resulting Numbers: [2592]
2592,30 unequal: No Solution
Exploring Operation: 96+27=123, Resulting Numbers: [123]
123,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[96, 26], Operations: ['38/38=1', '26*1=26']
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 96+26=122, Resulting Numbers: [122]
122,30 unequal: No Solution
Exploring Operation: 96*26=2496, Resulting Numbers: [2496]
2496,30 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
27,
54,
79
] | 63 | [
"11+27=38",
"79-54=25",
"38+25=63"
] | Current State: 63:[11, 27, 54, 79], Operations: []
Exploring Operation: 11+27=38, Resulting Numbers: [54, 79, 38]
Generated Node #2: [54, 79, 38] from Operation: 11+27=38
Current State: 63:[54, 79, 38], Operations: ['11+27=38']
Exploring Operation: 79-54=25, Resulting Numbers: [38, 25]
Generated Node #3: [38, 25] from Operation: 79-54=25
Current State: 63:[38, 25], Operations: ['11+27=38', '79-54=25']
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[11, 27, 54, 79], Operations: []
Exploring Operation: 79-54=25, Resulting Numbers: [11, 27, 25]
Generated Node #0,0: 63:[11, 27, 25] Operation: 79-54=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[11, 27, 25], Operations: ['79-54=25']
Exploring Operation: 27-25=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 63:[11, 2] Operation: 27-25=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[11, 2], Operations: ['79-54=25', '27-25=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
69,
57,
62,
2
] | 38 | [
"69-57=12",
"2*12=24",
"62-24=38"
] | Current State: 38:[69, 57, 62, 2], Operations: []
Exploring Operation: 69-57=12, Resulting Numbers: [62, 2, 12]
Generated Node #2: [62, 2, 12] from Operation: 69-57=12
Current State: 38:[62, 2, 12], Operations: ['69-57=12']
Exploring Operation: 2*12=24, Resulting Numbers: [62, 24]
Generated Node #3: [62, 24] from Operation: 2*12=24
Current State: 38:[62, 24], Operations: ['69-57=12', '2*12=24']
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[69, 57, 62, 2], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [57, 2, 7]
Generated Node #0,0: 38:[57, 2, 7] Operation: 69-62=7
Exploring Operation: 69-57=12, Resulting Numbers: [62, 2, 12]
Generated Node #0,1: 38:[62, 2, 12] Operation: 69-57=12
Moving to Node #0,0
Current State: 38:[57, 2, 7], Operations: ['69-62=7']
Exploring Operation: 57-2=55, Resulting Numbers: [7, 55]
Generated Node #0,0,0: 38:[7, 55] Operation: 57-2=55
Exploring Operation: 57-7=50, Resulting Numbers: [2, 50]
Generated Node #0,0,1: 38:[2, 50] Operation: 57-7=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[2, 50], Operations: ['69-62=7', '57-7=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,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:[7, 55], Operations: ['69-62=7', '57-2=55']
Exploring Operation: 7+55=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,38 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: 38:[62, 2, 12], Operations: ['69-57=12']
Exploring Operation: 62/2=31, Resulting Numbers: [12, 31]
Generated Node #0,1,0: 38:[12, 31] Operation: 62/2=31
Exploring Operation: 62-12=50, Resulting Numbers: [2, 50]
Generated Node #0,1,1: 38:[2, 50] Operation: 62-12=50
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[2, 50], Operations: ['69-57=12', '62-12=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[12, 31], Operations: ['69-57=12', '62/2=31']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
26,
55,
50,
10
] | 69 | [
"55-26=29",
"50-10=40",
"29+40=69"
] | Current State: 69:[26, 55, 50, 10], Operations: []
Exploring Operation: 55-26=29, Resulting Numbers: [50, 10, 29]
Generated Node #2: [50, 10, 29] from Operation: 55-26=29
Current State: 69:[50, 10, 29], Operations: ['55-26=29']
Exploring Operation: 50-10=40, Resulting Numbers: [29, 40]
Generated Node #3: [29, 40] from Operation: 50-10=40
Current State: 69:[29, 40], Operations: ['55-26=29', '50-10=40']
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[26, 55, 50, 10], Operations: []
Exploring Operation: 50+10=60, Resulting Numbers: [26, 55, 60]
Generated Node #0,0: 69:[26, 55, 60] Operation: 50+10=60
Exploring Operation: 50-26=24, Resulting Numbers: [55, 10, 24]
Generated Node #0,1: 69:[55, 10, 24] Operation: 50-26=24
Exploring Operation: 55-50=5, Resulting Numbers: [26, 10, 5]
Generated Node #0,2: 69:[26, 10, 5] Operation: 55-50=5
Exploring Operation: 50/10=5, Resulting Numbers: [26, 55, 5]
Generated Node #0,3: 69:[26, 55, 5] Operation: 50/10=5
Exploring Operation: 55+10=65, Resulting Numbers: [26, 50, 65]
Generated Node #0,4: 69:[26, 50, 65] Operation: 55+10=65
Moving to Node #0,2
Current State: 69:[26, 10, 5], Operations: ['55-50=5']
Exploring Operation: 26-10=16, Resulting Numbers: [5, 16]
Generated Node #0,2,0: 69:[5, 16] Operation: 26-10=16
Exploring Operation: 10+5=15, Resulting Numbers: [26, 15]
Generated Node #0,2,1: 69:[26, 15] Operation: 10+5=15
Exploring Operation: 10-5=5, Resulting Numbers: [26, 5]
Generated Node #0,2,2: 69:[26, 5] Operation: 10-5=5
Exploring Operation: 26-5=21, Resulting Numbers: [10, 21]
Generated Node #0,2,3: 69:[10, 21] Operation: 26-5=21
Exploring Operation: 10/5=2, Resulting Numbers: [26, 2]
Generated Node #0,2,4: 69:[26, 2] Operation: 10/5=2
Moving to Node #0,3
Current State: 69:[26, 55, 5], Operations: ['50/10=5']
Exploring Operation: 55+5=60, Resulting Numbers: [26, 60]
Generated Node #0,3,0: 69:[26, 60] Operation: 55+5=60
Exploring Operation: 55/5=11, Resulting Numbers: [26, 11]
Generated Node #0,3,1: 69:[26, 11] Operation: 55/5=11
Exploring Operation: 26-5=21, Resulting Numbers: [55, 21]
Generated Node #0,3,2: 69:[55, 21] Operation: 26-5=21
Exploring Operation: 55-26=29, Resulting Numbers: [5, 29]
Generated Node #0,3,3: 69:[5, 29] Operation: 55-26=29
Exploring Operation: 26+55=81, Resulting Numbers: [5, 81]
Generated Node #0,3,4: 69:[5, 81] Operation: 26+55=81
Moving to Node #0,1
Current State: 69:[55, 10, 24], Operations: ['50-26=24']
Exploring Operation: 55-24=31, Resulting Numbers: [10, 31]
Generated Node #0,1,0: 69:[10, 31] Operation: 55-24=31
Exploring Operation: 55+24=79, Resulting Numbers: [10, 79]
Generated Node #0,1,1: 69:[10, 79] Operation: 55+24=79
Exploring Operation: 55-10=45, Resulting Numbers: [24, 45]
Generated Node #0,1,2: 69:[24, 45] Operation: 55-10=45
Exploring Operation: 55+10=65, Resulting Numbers: [24, 65]
Generated Node #0,1,3: 69:[24, 65] Operation: 55+10=65
Exploring Operation: 24-10=14, Resulting Numbers: [55, 14]
Generated Node #0,1,4: 69:[55, 14] Operation: 24-10=14
Moving to Node #0,0
Current State: 69:[26, 55, 60], Operations: ['50+10=60']
Exploring Operation: 26+60=86, Resulting Numbers: [55, 86]
Generated Node #0,0,0: 69:[55, 86] Operation: 26+60=86
Exploring Operation: 55-26=29, Resulting Numbers: [60, 29]
Generated Node #0,0,1: 69:[60, 29] Operation: 55-26=29
Exploring Operation: 60-26=34, Resulting Numbers: [55, 34]
Generated Node #0,0,2: 69:[55, 34] Operation: 60-26=34
Exploring Operation: 26+55=81, Resulting Numbers: [60, 81]
Generated Node #0,0,3: 69:[60, 81] Operation: 26+55=81
Exploring Operation: 60-55=5, Resulting Numbers: [26, 5]
Generated Node #0,0,4: 69:[26, 5] Operation: 60-55=5
Moving to Node #0,4
Current State: 69:[26, 50, 65], Operations: ['55+10=65']
Exploring Operation: 50-26=24, Resulting Numbers: [65, 24]
Generated Node #0,4,0: 69:[65, 24] Operation: 50-26=24
Exploring Operation: 65-26=39, Resulting Numbers: [50, 39]
Generated Node #0,4,1: 69:[50, 39] Operation: 65-26=39
Exploring Operation: 26+65=91, Resulting Numbers: [50, 91]
Generated Node #0,4,2: 69:[50, 91] Operation: 26+65=91
Exploring Operation: 26+50=76, Resulting Numbers: [65, 76]
Generated Node #0,4,3: 69:[65, 76] Operation: 26+50=76
Exploring Operation: 65-50=15, Resulting Numbers: [26, 15]
Generated Node #0,4,4: 69:[26, 15] Operation: 65-50=15
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 69:[65, 24], Operations: ['55+10=65', '50-26=24']
Exploring Operation: 65*24=1560, Resulting Numbers: [1560]
1560,69 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 69:[65, 76], Operations: ['55+10=65', '26+50=76']
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 65+76=141, Resulting Numbers: [141]
141,69 unequal: No Solution
Exploring Operation: 65*76=4940, Resulting Numbers: [4940]
4940,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 69:[26, 15], Operations: ['55+10=65', '65-50=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 69:[50, 39], Operations: ['55+10=65', '65-26=39']
Exploring Operation: 50*39=1950, Resulting Numbers: [1950]
1950,69 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 50+39=89, Resulting Numbers: [89]
89,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 69:[50, 91], Operations: ['55+10=65', '26+65=91']
Exploring Operation: 50*91=4550, Resulting Numbers: [4550]
4550,69 unequal: No Solution
Exploring Operation: 91-50=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 50+91=141, Resulting Numbers: [141]
141,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 69:[26, 2], Operations: ['55-50=5', '10/5=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[26, 5], Operations: ['55-50=5', '10-5=5']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,69 unequal: No Solution
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[24, 65], Operations: ['50-26=24', '55+10=65']
Exploring Operation: 24*65=1560, Resulting Numbers: [1560]
1560,69 unequal: No Solution
Exploring Operation: 24+65=89, Resulting Numbers: [89]
89,69 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Moving to Node #0,0,4
Current State: 69:[26, 5], Operations: ['50+10=60', '60-55=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,69 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Moving to Node #0,3,3
Current State: 69:[5, 29], Operations: ['50/10=5', '55-26=29']
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,69 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[5, 16], Operations: ['55-50=5', '26-10=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[10, 21], Operations: ['55-50=5', '26-5=21']
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[26, 11], Operations: ['50/10=5', '55/5=11']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,69 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[26, 15], Operations: ['55-50=5', '10+5=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[26, 60], Operations: ['50/10=5', '55+5=60']
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Exploring Operation: 26+60=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 26*60=1560, Resulting Numbers: [1560]
1560,69 unequal: No Solution
Moving to Node #0,3,4
Current State: 69:[5, 81], Operations: ['50/10=5', '26+55=81']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,69 unequal: No Solution
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 5*81=405, Resulting Numbers: [405]
405,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[10, 31], Operations: ['50-26=24', '55-24=31']
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,69 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[60, 29], Operations: ['50+10=60', '55-26=29']
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Exploring Operation: 60*29=1740, Resulting Numbers: [1740]
1740,69 unequal: No Solution
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[55, 21], Operations: ['50/10=5', '26-5=21']
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,69 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[10, 79], Operations: ['50-26=24', '55+24=79']
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[26, 55, 50, 10], Operations: []
Exploring Operation: 50-26=24, Resulting Numbers: [55, 10, 24]
Generated Node #0,1: 69:[55, 10, 24] Operation: 50-26=24
Moving to Node #0,1
Current State: 69:[55, 10, 24], Operations: ['50-26=24']
Exploring Operation: 55+24=79, Resulting Numbers: [10, 79]
Generated Node #0,1,1: 69:[10, 79] Operation: 55+24=79
Moving to Node #0,1,1
Current State: 69:[10, 79], Operations: ['50-26=24', '55+24=79']
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.919271 | hs_5 | sum_heuristic |
[
78,
72,
25,
12
] | 50 | [
"78-72=6",
"25*12=300",
"300/6=50"
] | Current State: 50:[78, 72, 25, 12], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [25, 12, 6]
Generated Node #2: [25, 12, 6] from Operation: 78-72=6
Current State: 50:[25, 12, 6], Operations: ['78-72=6']
Exploring Operation: 25*12=300, Resulting Numbers: [6, 300]
Generated Node #3: [6, 300] from Operation: 25*12=300
Current State: 50:[6, 300], Operations: ['78-72=6', '25*12=300']
Exploring Operation: 300/6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[78, 72, 25, 12], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [25, 12, 6]
Generated Node #0,0: 50:[25, 12, 6] Operation: 78-72=6
Exploring Operation: 78-25=53, Resulting Numbers: [72, 12, 53]
Generated Node #0,1: 50:[72, 12, 53] Operation: 78-25=53
Moving to Node #0,0
Current State: 50:[25, 12, 6], Operations: ['78-72=6']
Exploring Operation: 12-6=6, Resulting Numbers: [25, 6]
Generated Node #0,0,0: 50:[25, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [25, 2]
Generated Node #0,0,1: 50:[25, 2] Operation: 12/6=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[25, 2], Operations: ['78-72=6', '12/6=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[78, 72, 25, 12], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [25, 12, 6]
Generated Node #0,0: 50:[25, 12, 6] Operation: 78-72=6
Moving to Node #0,0
Current State: 50:[25, 12, 6], Operations: ['78-72=6']
Exploring Operation: 12/6=2, Resulting Numbers: [25, 2]
Generated Node #0,0,1: 50:[25, 2] Operation: 12/6=2
Moving to Node #0,0,1
Current State: 50:[25, 2], Operations: ['78-72=6', '12/6=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
85,
48,
59,
96
] | 72 | [
"85+59=144",
"96/48=2",
"144/2=72"
] | Current State: 72:[85, 48, 59, 96], Operations: []
Exploring Operation: 85+59=144, Resulting Numbers: [48, 96, 144]
Generated Node #2: [48, 96, 144] from Operation: 85+59=144
Current State: 72:[48, 96, 144], Operations: ['85+59=144']
Exploring Operation: 96/48=2, Resulting Numbers: [144, 2]
Generated Node #3: [144, 2] from Operation: 96/48=2
Current State: 72:[144, 2], Operations: ['85+59=144', '96/48=2']
Exploring Operation: 144/2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[85, 48, 59, 96], Operations: []
Exploring Operation: 85-48=37, Resulting Numbers: [59, 96, 37]
Generated Node #0,0: 72:[59, 96, 37] Operation: 85-48=37
Exploring Operation: 96-85=11, Resulting Numbers: [48, 59, 11]
Generated Node #0,1: 72:[48, 59, 11] Operation: 96-85=11
Exploring Operation: 96/48=2, Resulting Numbers: [85, 59, 2]
Generated Node #0,2: 72:[85, 59, 2] Operation: 96/48=2
Exploring Operation: 85-59=26, Resulting Numbers: [48, 96, 26]
Generated Node #0,3: 72:[48, 96, 26] Operation: 85-59=26
Exploring Operation: 96-59=37, Resulting Numbers: [85, 48, 37]
Generated Node #0,4: 72:[85, 48, 37] Operation: 96-59=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[48, 59, 11], Operations: ['96-85=11']
Exploring Operation: 48-11=37, Resulting Numbers: [59, 37]
Generated Node #0,1,0: 72:[59, 37] Operation: 48-11=37
Exploring Operation: 59-48=11, Resulting Numbers: [11, 11]
Generated Node #0,1,1: 72:[11, 11] Operation: 59-48=11
Exploring Operation: 48+11=59, Resulting Numbers: [59, 59]
Generated Node #0,1,2: 72:[59, 59] Operation: 48+11=59
Exploring Operation: 59+11=70, Resulting Numbers: [48, 70]
Generated Node #0,1,3: 72:[48, 70] Operation: 59+11=70
Exploring Operation: 59-11=48, Resulting Numbers: [48, 48]
Generated Node #0,1,4: 72:[48, 48] Operation: 59-11=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[11, 11], Operations: ['96-85=11', '59-48=11']
Exploring Operation: 11-11=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 11*11=121, Resulting Numbers: [121]
121,72 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[59, 37], Operations: ['96-85=11', '48-11=37']
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,72 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,72 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 72:[48, 70], Operations: ['96-85=11', '59+11=70']
Exploring Operation: 48+70=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 48*70=3360, Resulting Numbers: [3360]
3360,72 unequal: No Solution
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 72:[48, 48], Operations: ['96-85=11', '59-11=48']
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,72 unequal: No Solution
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 48*48=2304, Resulting Numbers: [2304]
2304,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 72:[59, 59], Operations: ['96-85=11', '48+11=59']
Exploring Operation: 59+59=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 59-59=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 59*59=3481, Resulting Numbers: [3481]
3481,72 unequal: No Solution
Exploring Operation: 59/59=1, Resulting Numbers: [1]
1,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[85, 59, 2], Operations: ['96/48=2']
Exploring Operation: 85+2=87, Resulting Numbers: [59, 87]
Generated Node #0,2,0: 72:[59, 87] Operation: 85+2=87
Exploring Operation: 85-2=83, Resulting Numbers: [59, 83]
Generated Node #0,2,1: 72:[59, 83] Operation: 85-2=83
Exploring Operation: 59-2=57, Resulting Numbers: [85, 57]
Generated Node #0,2,2: 72:[85, 57] Operation: 59-2=57
Exploring Operation: 59+2=61, Resulting Numbers: [85, 61]
Generated Node #0,2,3: 72:[85, 61] Operation: 59+2=61
Exploring Operation: 85-59=26, Resulting Numbers: [2, 26]
Generated Node #0,2,4: 72:[2, 26] Operation: 85-59=26
Moving to Node #0,2,4
Current State: 72:[2, 26], Operations: ['96/48=2', '85-59=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[85, 61], Operations: ['96/48=2', '59+2=61']
Exploring Operation: 85-61=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 85*61=5185, Resulting Numbers: [5185]
5185,72 unequal: No Solution
Exploring Operation: 85+61=146, Resulting Numbers: [146]
146,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[59, 83], Operations: ['96/48=2', '85-2=83']
Exploring Operation: 83-59=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 59*83=4897, Resulting Numbers: [4897]
4897,72 unequal: No Solution
Exploring Operation: 59+83=142, Resulting Numbers: [142]
142,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[59, 87], Operations: ['96/48=2', '85+2=87']
Exploring Operation: 87-59=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 59+87=146, Resulting Numbers: [146]
146,72 unequal: No Solution
Exploring Operation: 59*87=5133, Resulting Numbers: [5133]
5133,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[85, 57], Operations: ['96/48=2', '59-2=57']
Exploring Operation: 85-57=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 85*57=4845, Resulting Numbers: [4845]
4845,72 unequal: No Solution
Exploring Operation: 85+57=142, Resulting Numbers: [142]
142,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 72:[85, 48, 37], Operations: ['96-59=37']
Exploring Operation: 48-37=11, Resulting Numbers: [85, 11]
Generated Node #0,4,0: 72:[85, 11] Operation: 48-37=11
Exploring Operation: 85-48=37, Resulting Numbers: [37, 37]
Generated Node #0,4,1: 72:[37, 37] Operation: 85-48=37
Exploring Operation: 85-37=48, Resulting Numbers: [48, 48]
Generated Node #0,4,2: 72:[48, 48] Operation: 85-37=48
Exploring Operation: 48+37=85, Resulting Numbers: [85, 85]
Generated Node #0,4,3: 72:[85, 85] Operation: 48+37=85
Exploring Operation: 85+48=133, Resulting Numbers: [37, 133]
Generated Node #0,4,4: 72:[37, 133] Operation: 85+48=133
Moving to Node #0,4,1
Current State: 72:[37, 37], Operations: ['96-59=37', '85-48=37']
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,72 unequal: No Solution
Moving to Node #0,4,0
Current State: 72:[85, 11], Operations: ['96-59=37', '48-37=11']
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Exploring Operation: 85+11=96, Resulting Numbers: [96]
96,72 unequal: No Solution
Exploring Operation: 85*11=935, Resulting Numbers: [935]
935,72 unequal: No Solution
Moving to Node #0,4,2
Current State: 72:[48, 48], Operations: ['96-59=37', '85-37=48']
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 48*48=2304, Resulting Numbers: [2304]
2304,72 unequal: No Solution
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,72 unequal: No Solution
Moving to Node #0,4,3
Current State: 72:[85, 85], Operations: ['96-59=37', '48+37=85']
Exploring Operation: 85/85=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 85+85=170, Resulting Numbers: [170]
170,72 unequal: No Solution
Exploring Operation: 85*85=7225, Resulting Numbers: [7225]
7225,72 unequal: No Solution
Exploring Operation: 85-85=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Moving to Node #0,4,4
Current State: 72:[37, 133], Operations: ['96-59=37', '85+48=133']
Exploring Operation: 37+133=170, Resulting Numbers: [170]
170,72 unequal: No Solution
Exploring Operation: 37*133=4921, Resulting Numbers: [4921]
4921,72 unequal: No Solution
Exploring Operation: 133-37=96, Resulting Numbers: [96]
96,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[59, 96, 37], Operations: ['85-48=37']
Exploring Operation: 96+37=133, Resulting Numbers: [59, 133]
Generated Node #0,0,0: 72:[59, 133] Operation: 96+37=133
Exploring Operation: 59-37=22, Resulting Numbers: [96, 22]
Generated Node #0,0,1: 72:[96, 22] Operation: 59-37=22
Exploring Operation: 59+37=96, Resulting Numbers: [96, 96]
Generated Node #0,0,2: 72:[96, 96] Operation: 59+37=96
Exploring Operation: 96-59=37, Resulting Numbers: [37, 37]
Generated Node #0,0,3: 72:[37, 37] Operation: 96-59=37
Exploring Operation: 96-37=59, Resulting Numbers: [59, 59]
Generated Node #0,0,4: 72:[59, 59] Operation: 96-37=59
Moving to Node #0,0,3
Current State: 72:[37, 37], Operations: ['85-48=37', '96-59=37']
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,72 unequal: No Solution
Moving to Node #0,0,4
Current State: 72:[59, 59], Operations: ['85-48=37', '96-37=59']
Exploring Operation: 59+59=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 59/59=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 59-59=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 59*59=3481, Resulting Numbers: [3481]
3481,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[96, 22], Operations: ['85-48=37', '59-37=22']
Exploring Operation: 96*22=2112, Resulting Numbers: [2112]
2112,72 unequal: No Solution
Exploring Operation: 96+22=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[96, 96], Operations: ['85-48=37', '59+37=96']
Exploring Operation: 96*96=9216, Resulting Numbers: [9216]
9216,72 unequal: No Solution
Exploring Operation: 96/96=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 96-96=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 96+96=192, Resulting Numbers: [192]
192,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[59, 133], Operations: ['85-48=37', '96+37=133']
Exploring Operation: 59*133=7847, Resulting Numbers: [7847]
7847,72 unequal: No Solution
Exploring Operation: 133-59=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Exploring Operation: 59+133=192, Resulting Numbers: [192]
192,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:[48, 96, 26], Operations: ['85-59=26']
Exploring Operation: 96/48=2, Resulting Numbers: [26, 2]
Generated Node #0,3,0: 72:[26, 2] Operation: 96/48=2
Exploring Operation: 96-48=48, Resulting Numbers: [26, 48]
Generated Node #0,3,1: 72:[26, 48] Operation: 96-48=48
Exploring Operation: 96-26=70, Resulting Numbers: [48, 70]
Generated Node #0,3,2: 72:[48, 70] Operation: 96-26=70
Exploring Operation: 48-26=22, Resulting Numbers: [96, 22]
Generated Node #0,3,3: 72:[96, 22] Operation: 48-26=22
Exploring Operation: 48+26=74, Resulting Numbers: [96, 74]
Generated Node #0,3,4: 72:[96, 74] Operation: 48+26=74
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 72:[26, 2], Operations: ['85-59=26', '96/48=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 72:[26, 48], Operations: ['85-59=26', '96-48=48']
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Exploring Operation: 26*48=1248, Resulting Numbers: [1248]
1248,72 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 72:[48, 70], Operations: ['85-59=26', '96-26=70']
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 48+70=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 48*70=3360, Resulting Numbers: [3360]
3360,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 72:[96, 22], Operations: ['85-59=26', '48-26=22']
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Exploring Operation: 96+22=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 96*22=2112, Resulting Numbers: [2112]
2112,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 72:[96, 74], Operations: ['85-59=26', '48+26=74']
Exploring Operation: 96*74=7104, Resulting Numbers: [7104]
7104,72 unequal: No Solution
Exploring Operation: 96+74=170, Resulting Numbers: [170]
170,72 unequal: No Solution
Exploring Operation: 96-74=22, Resulting Numbers: [22]
22,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
46,
20,
14,
54
] | 26 | [
"46+20=66",
"54-14=40",
"66-40=26"
] | Current State: 26:[46, 20, 14, 54], Operations: []
Exploring Operation: 46+20=66, Resulting Numbers: [14, 54, 66]
Generated Node #2: [14, 54, 66] from Operation: 46+20=66
Current State: 26:[14, 54, 66], Operations: ['46+20=66']
Exploring Operation: 54-14=40, Resulting Numbers: [66, 40]
Generated Node #3: [66, 40] from Operation: 54-14=40
Current State: 26:[66, 40], Operations: ['46+20=66', '54-14=40']
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[46, 20, 14, 54], Operations: []
Exploring Operation: 54-20=34, Resulting Numbers: [46, 14, 34]
Generated Node #0,0: 26:[46, 14, 34] Operation: 54-20=34
Exploring Operation: 46-20=26, Resulting Numbers: [14, 54, 26]
Generated Node #0,1: 26:[14, 54, 26] Operation: 46-20=26
Exploring Operation: 54-46=8, Resulting Numbers: [20, 14, 8]
Generated Node #0,2: 26:[20, 14, 8] Operation: 54-46=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[20, 14, 8], Operations: ['54-46=8']
Exploring Operation: 20-8=12, Resulting Numbers: [14, 12]
Generated Node #0,2,0: 26:[14, 12] Operation: 20-8=12
Exploring Operation: 20+8=28, Resulting Numbers: [14, 28]
Generated Node #0,2,1: 26:[14, 28] Operation: 20+8=28
Exploring Operation: 20-14=6, Resulting Numbers: [8, 6]
Generated Node #0,2,2: 26:[8, 6] Operation: 20-14=6
Moving to Node #0,2,0
Current State: 26:[14, 12], Operations: ['54-46=8', '20-8=12']
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,26 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[46, 20, 14, 54], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [20, 14, 8]
Generated Node #0,2: 26:[20, 14, 8] Operation: 54-46=8
Moving to Node #0,2
Current State: 26:[20, 14, 8], Operations: ['54-46=8']
Exploring Operation: 20-8=12, Resulting Numbers: [14, 12]
Generated Node #0,2,0: 26:[14, 12] Operation: 20-8=12
Moving to Node #0,2,0
Current State: 26:[14, 12], Operations: ['54-46=8', '20-8=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.