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 |
|---|---|---|---|---|---|---|---|---|
[
45,
52,
18,
17
] | 14 | [
"52-17=35",
"18*35=630",
"630/45=14"
] | Current State: 14:[45, 52, 18, 17], Operations: []
Exploring Operation: 52-17=35, Resulting Numbers: [45, 18, 35]
Generated Node #2: [45, 18, 35] from Operation: 52-17=35
Current State: 14:[45, 18, 35], Operations: ['52-17=35']
Exploring Operation: 18*35=630, Resulting Numbers: [45, 630]
Generated Node #3: [45, 630] from Operation: 18*35=630
Current State: 14:[45, 630], Operations: ['52-17=35', '18*35=630']
Exploring Operation: 630/45=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[45, 52, 18, 17], Operations: []
Exploring Operation: 45-18=27, Resulting Numbers: [52, 17, 27]
Generated Node #0,0: 14:[52, 17, 27] Operation: 45-18=27
Exploring Operation: 52-45=7, Resulting Numbers: [18, 17, 7]
Generated Node #0,1: 14:[18, 17, 7] Operation: 52-45=7
Exploring Operation: 52-18=34, Resulting Numbers: [45, 17, 34]
Generated Node #0,2: 14:[45, 17, 34] Operation: 52-18=34
Moving to Node #0,1
Current State: 14:[18, 17, 7], Operations: ['52-45=7']
Exploring Operation: 17-7=10, Resulting Numbers: [18, 10]
Generated Node #0,1,0: 14:[18, 10] Operation: 17-7=10
Exploring Operation: 18-7=11, Resulting Numbers: [17, 11]
Generated Node #0,1,1: 14:[17, 11] Operation: 18-7=11
Exploring Operation: 18-17=1, Resulting Numbers: [7, 1]
Generated Node #0,1,2: 14:[7, 1] Operation: 18-17=1
Moving to Node #0,0
Current State: 14:[52, 17, 27], Operations: ['45-18=27']
Exploring Operation: 52-17=35, Resulting Numbers: [27, 35]
Generated Node #0,0,0: 14:[27, 35] Operation: 52-17=35
Exploring Operation: 27-17=10, Resulting Numbers: [52, 10]
Generated Node #0,0,1: 14:[52, 10] Operation: 27-17=10
Exploring Operation: 52-27=25, Resulting Numbers: [17, 25]
Generated Node #0,0,2: 14:[17, 25] Operation: 52-27=25
Moving to Node #0,2
Current State: 14:[45, 17, 34], Operations: ['52-18=34']
Exploring Operation: 34/17=2, Resulting Numbers: [45, 2]
Generated Node #0,2,0: 14:[45, 2] Operation: 34/17=2
Exploring Operation: 45-34=11, Resulting Numbers: [17, 11]
Generated Node #0,2,1: 14:[17, 11] Operation: 45-34=11
Exploring Operation: 45-17=28, Resulting Numbers: [34, 28]
Generated Node #0,2,2: 14:[34, 28] Operation: 45-17=28
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 14:[17, 11], Operations: ['52-18=34', '45-34=11']
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,14 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 14:[45, 2], Operations: ['52-18=34', '34/17=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[34, 28], Operations: ['52-18=34', '45-17=28']
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 34*28=952, Resulting Numbers: [952]
952,14 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 14:[7, 1], Operations: ['52-45=7', '18-17=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[17, 11], Operations: ['52-45=7', '18-7=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,14 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[18, 10], Operations: ['52-45=7', '17-7=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,14 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[17, 25], Operations: ['45-18=27', '52-27=25']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[27, 35], Operations: ['45-18=27', '52-17=35']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,14 unequal: No Solution
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[52, 10], Operations: ['45-18=27', '27-17=10']
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,14 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
47,
6,
49,
29
] | 32 | [
"49-47=2",
"6/2=3",
"29+3=32"
] | Current State: 32:[47, 6, 49, 29], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [6, 29, 2]
Generated Node #2: [6, 29, 2] from Operation: 49-47=2
Current State: 32:[6, 29, 2], Operations: ['49-47=2']
Exploring Operation: 6/2=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 6/2=3
Current State: 32:[29, 3], Operations: ['49-47=2', '6/2=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[47, 6, 49, 29], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [6, 29, 2]
Generated Node #0,0: 32:[6, 29, 2] Operation: 49-47=2
Exploring Operation: 47-29=18, Resulting Numbers: [6, 49, 18]
Generated Node #0,1: 32:[6, 49, 18] Operation: 47-29=18
Exploring Operation: 49-29=20, Resulting Numbers: [47, 6, 20]
Generated Node #0,2: 32:[47, 6, 20] Operation: 49-29=20
Moving to Node #0,0
Current State: 32:[6, 29, 2], Operations: ['49-47=2']
Exploring Operation: 6-2=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 32:[29, 4] Operation: 6-2=4
Exploring Operation: 6+2=8, Resulting Numbers: [29, 8]
Generated Node #0,0,1: 32:[29, 8] Operation: 6+2=8
Exploring Operation: 6+29=35, Resulting Numbers: [2, 35]
Generated Node #0,0,2: 32:[2, 35] Operation: 6+29=35
Moving to Node #0,1
Current State: 32:[6, 49, 18], Operations: ['47-29=18']
Exploring Operation: 49-18=31, Resulting Numbers: [6, 31]
Generated Node #0,1,0: 32:[6, 31] Operation: 49-18=31
Exploring Operation: 49-6=43, Resulting Numbers: [18, 43]
Generated Node #0,1,1: 32:[18, 43] Operation: 49-6=43
Exploring Operation: 18/6=3, Resulting Numbers: [49, 3]
Generated Node #0,1,2: 32:[49, 3] Operation: 18/6=3
Moving to Node #0,2
Current State: 32:[47, 6, 20], Operations: ['49-29=20']
Exploring Operation: 47-6=41, Resulting Numbers: [20, 41]
Generated Node #0,2,0: 32:[20, 41] Operation: 47-6=41
Exploring Operation: 20-6=14, Resulting Numbers: [47, 14]
Generated Node #0,2,1: 32:[47, 14] Operation: 20-6=14
Exploring Operation: 47-20=27, Resulting Numbers: [6, 27]
Generated Node #0,2,2: 32:[6, 27] Operation: 47-20=27
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[6, 27], Operations: ['49-29=20', '47-20=27']
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,32 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,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,0
Current State: 32:[20, 41], Operations: ['49-29=20', '47-6=41']
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,32 unequal: No Solution
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,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,1
Current State: 32:[47, 14], Operations: ['49-29=20', '20-6=14']
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 47*14=658, Resulting Numbers: [658]
658,32 unequal: No Solution
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 32:[29, 4], Operations: ['49-47=2', '6-2=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[2, 35], Operations: ['49-47=2', '6+29=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,32 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[29, 8], Operations: ['49-47=2', '6+2=8']
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,32 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[6, 31], Operations: ['47-29=18', '49-18=31']
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,32 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[18, 43], Operations: ['47-29=18', '49-6=43']
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 18*43=774, Resulting Numbers: [774]
774,32 unequal: No Solution
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[49, 3], Operations: ['47-29=18', '18/6=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,32 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,32 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
58,
5,
7,
79
] | 19 | [
"58-5=53",
"79-7=72",
"72-53=19"
] | Current State: 19:[58, 5, 7, 79], Operations: []
Exploring Operation: 58-5=53, Resulting Numbers: [7, 79, 53]
Generated Node #2: [7, 79, 53] from Operation: 58-5=53
Current State: 19:[7, 79, 53], Operations: ['58-5=53']
Exploring Operation: 79-7=72, Resulting Numbers: [53, 72]
Generated Node #3: [53, 72] from Operation: 79-7=72
Current State: 19:[53, 72], Operations: ['58-5=53', '79-7=72']
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[58, 5, 7, 79], Operations: []
Exploring Operation: 79-58=21, Resulting Numbers: [5, 7, 21]
Generated Node #0,0: 19:[5, 7, 21] Operation: 79-58=21
Exploring Operation: 58-7=51, Resulting Numbers: [5, 79, 51]
Generated Node #0,1: 19:[5, 79, 51] Operation: 58-7=51
Exploring Operation: 5+7=12, Resulting Numbers: [58, 79, 12]
Generated Node #0,2: 19:[58, 79, 12] Operation: 5+7=12
Exploring Operation: 79-5=74, Resulting Numbers: [58, 7, 74]
Generated Node #0,3: 19:[58, 7, 74] Operation: 79-5=74
Exploring Operation: 58-5=53, Resulting Numbers: [7, 79, 53]
Generated Node #0,4: 19:[7, 79, 53] Operation: 58-5=53
Moving to Node #0,0
Current State: 19:[5, 7, 21], Operations: ['79-58=21']
Exploring Operation: 7-5=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 19:[21, 2] Operation: 7-5=2
Exploring Operation: 5+7=12, Resulting Numbers: [21, 12]
Generated Node #0,0,1: 19:[21, 12] Operation: 5+7=12
Exploring Operation: 5+21=26, Resulting Numbers: [7, 26]
Generated Node #0,0,2: 19:[7, 26] Operation: 5+21=26
Exploring Operation: 21-5=16, Resulting Numbers: [7, 16]
Generated Node #0,0,3: 19:[7, 16] Operation: 21-5=16
Exploring Operation: 5*7=35, Resulting Numbers: [21, 35]
Generated Node #0,0,4: 19:[21, 35] Operation: 5*7=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[21, 12], Operations: ['79-58=21', '5+7=12']
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,19 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[7, 16], Operations: ['79-58=21', '21-5=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,19 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 19:[21, 35], Operations: ['79-58=21', '5*7=35']
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,19 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[21, 2], Operations: ['79-58=21', '7-5=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[58, 5, 7, 79], Operations: []
Exploring Operation: 79-58=21, Resulting Numbers: [5, 7, 21]
Generated Node #0,0: 19:[5, 7, 21] Operation: 79-58=21
Moving to Node #0,0
Current State: 19:[5, 7, 21], Operations: ['79-58=21']
Exploring Operation: 7-5=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 19:[21, 2] Operation: 7-5=2
Moving to Node #0,0,0
Current State: 19:[21, 2], Operations: ['79-58=21', '7-5=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
96,
35,
75,
9
] | 25 | [
"96+9=105",
"35*75=2625",
"2625/105=25"
] | Current State: 25:[96, 35, 75, 9], Operations: []
Exploring Operation: 96+9=105, Resulting Numbers: [35, 75, 105]
Generated Node #2: [35, 75, 105] from Operation: 96+9=105
Current State: 25:[35, 75, 105], Operations: ['96+9=105']
Exploring Operation: 35*75=2625, Resulting Numbers: [105, 2625]
Generated Node #3: [105, 2625] from Operation: 35*75=2625
Current State: 25:[105, 2625], Operations: ['96+9=105', '35*75=2625']
Exploring Operation: 2625/105=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[96, 35, 75, 9], Operations: []
Exploring Operation: 75-35=40, Resulting Numbers: [96, 9, 40]
Generated Node #0,0: 25:[96, 9, 40] Operation: 75-35=40
Exploring Operation: 96-75=21, Resulting Numbers: [35, 9, 21]
Generated Node #0,1: 25:[35, 9, 21] Operation: 96-75=21
Exploring Operation: 96-35=61, Resulting Numbers: [75, 9, 61]
Generated Node #0,2: 25:[75, 9, 61] Operation: 96-35=61
Moving to Node #0,1
Current State: 25:[35, 9, 21], Operations: ['96-75=21']
Exploring Operation: 35-21=14, Resulting Numbers: [9, 14]
Generated Node #0,1,0: 25:[9, 14] Operation: 35-21=14
Exploring Operation: 35-9=26, Resulting Numbers: [21, 26]
Generated Node #0,1,1: 25:[21, 26] Operation: 35-9=26
Exploring Operation: 9+21=30, Resulting Numbers: [35, 30]
Generated Node #0,1,2: 25:[35, 30] Operation: 9+21=30
Moving to Node #0,0
Current State: 25:[96, 9, 40], Operations: ['75-35=40']
Exploring Operation: 40-9=31, Resulting Numbers: [96, 31]
Generated Node #0,0,0: 25:[96, 31] Operation: 40-9=31
Exploring Operation: 96-9=87, Resulting Numbers: [40, 87]
Generated Node #0,0,1: 25:[40, 87] Operation: 96-9=87
Exploring Operation: 96-40=56, Resulting Numbers: [9, 56]
Generated Node #0,0,2: 25:[9, 56] Operation: 96-40=56
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[9, 56], Operations: ['75-35=40', '96-40=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,25 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[96, 31], Operations: ['75-35=40', '40-9=31']
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 96+31=127, Resulting Numbers: [127]
127,25 unequal: No Solution
Exploring Operation: 96*31=2976, Resulting Numbers: [2976]
2976,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[40, 87], Operations: ['75-35=40', '96-9=87']
Exploring Operation: 40*87=3480, Resulting Numbers: [3480]
3480,25 unequal: No Solution
Exploring Operation: 40+87=127, Resulting Numbers: [127]
127,25 unequal: No Solution
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,25 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: 25:[75, 9, 61], Operations: ['96-35=61']
Exploring Operation: 75-9=66, Resulting Numbers: [61, 66]
Generated Node #0,2,0: 25:[61, 66] Operation: 75-9=66
Exploring Operation: 75-61=14, Resulting Numbers: [9, 14]
Generated Node #0,2,1: 25:[9, 14] Operation: 75-61=14
Exploring Operation: 61-9=52, Resulting Numbers: [75, 52]
Generated Node #0,2,2: 25:[75, 52] Operation: 61-9=52
Moving to Node #0,1,1
Current State: 25:[21, 26], Operations: ['96-75=21', '35-9=26']
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,25 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[9, 14], Operations: ['96-75=21', '35-21=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[9, 14], Operations: ['96-35=61', '75-61=14']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,25 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[35, 30], Operations: ['96-75=21', '9+21=30']
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[75, 52], Operations: ['96-35=61', '61-9=52']
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 75*52=3900, Resulting Numbers: [3900]
3900,25 unequal: No Solution
Exploring Operation: 75+52=127, Resulting Numbers: [127]
127,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[61, 66], Operations: ['96-35=61', '75-9=66']
Exploring Operation: 61*66=4026, Resulting Numbers: [4026]
4026,25 unequal: No Solution
Exploring Operation: 61+66=127, Resulting Numbers: [127]
127,25 unequal: No Solution
Exploring Operation: 66-61=5, Resulting Numbers: [5]
5,25 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
74,
3,
25,
76
] | 73 | [
"76-74=2",
"3*25=75",
"75-2=73"
] | Current State: 73:[74, 3, 25, 76], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [3, 25, 2]
Generated Node #2: [3, 25, 2] from Operation: 76-74=2
Current State: 73:[3, 25, 2], Operations: ['76-74=2']
Exploring Operation: 3*25=75, Resulting Numbers: [2, 75]
Generated Node #3: [2, 75] from Operation: 3*25=75
Current State: 73:[2, 75], Operations: ['76-74=2', '3*25=75']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[74, 3, 25, 76], Operations: []
Exploring Operation: 3+25=28, Resulting Numbers: [74, 76, 28]
Generated Node #0,0: 73:[74, 76, 28] Operation: 3+25=28
Exploring Operation: 76-3=73, Resulting Numbers: [74, 25, 73]
Generated Node #0,1: 73:[74, 25, 73] Operation: 76-3=73
Exploring Operation: 74+3=77, Resulting Numbers: [25, 76, 77]
Generated Node #0,2: 73:[25, 76, 77] Operation: 74+3=77
Exploring Operation: 3*25=75, Resulting Numbers: [74, 76, 75]
Generated Node #0,3: 73:[74, 76, 75] Operation: 3*25=75
Exploring Operation: 74-3=71, Resulting Numbers: [25, 76, 71]
Generated Node #0,4: 73:[25, 76, 71] Operation: 74-3=71
Moving to Node #0,3
Current State: 73:[74, 76, 75], Operations: ['3*25=75']
Exploring Operation: 74+75=149, Resulting Numbers: [76, 149]
Generated Node #0,3,0: 73:[76, 149] Operation: 74+75=149
Exploring Operation: 75-74=1, Resulting Numbers: [76, 1]
Generated Node #0,3,1: 73:[76, 1] Operation: 75-74=1
Exploring Operation: 76-75=1, Resulting Numbers: [74, 1]
Generated Node #0,3,2: 73:[74, 1] Operation: 76-75=1
Exploring Operation: 74+76=150, Resulting Numbers: [75, 150]
Generated Node #0,3,3: 73:[75, 150] Operation: 74+76=150
Exploring Operation: 76-74=2, Resulting Numbers: [75, 2]
Generated Node #0,3,4: 73:[75, 2] Operation: 76-74=2
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[74, 1], Operations: ['3*25=75', '76-75=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,73 unequal: No Solution
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[74, 3, 25, 76], Operations: []
Exploring Operation: 3*25=75, Resulting Numbers: [74, 76, 75]
Generated Node #0,3: 73:[74, 76, 75] Operation: 3*25=75
Moving to Node #0,3
Current State: 73:[74, 76, 75], Operations: ['3*25=75']
Exploring Operation: 76-75=1, Resulting Numbers: [74, 1]
Generated Node #0,3,2: 73:[74, 1] Operation: 76-75=1
Moving to Node #0,3,2
Current State: 73:[74, 1], Operations: ['3*25=75', '76-75=1']
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
11,
30,
20,
57
] | 96 | [
"30-11=19",
"20+57=77",
"19+77=96"
] | Current State: 96:[11, 30, 20, 57], Operations: []
Exploring Operation: 30-11=19, Resulting Numbers: [20, 57, 19]
Generated Node #2: [20, 57, 19] from Operation: 30-11=19
Current State: 96:[20, 57, 19], Operations: ['30-11=19']
Exploring Operation: 20+57=77, Resulting Numbers: [19, 77]
Generated Node #3: [19, 77] from Operation: 20+57=77
Current State: 96:[19, 77], Operations: ['30-11=19', '20+57=77']
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[11, 30, 20, 57], Operations: []
Exploring Operation: 57-20=37, Resulting Numbers: [11, 30, 37]
Generated Node #0,0: 96:[11, 30, 37] Operation: 57-20=37
Exploring Operation: 57-30=27, Resulting Numbers: [11, 20, 27]
Generated Node #0,1: 96:[11, 20, 27] Operation: 57-30=27
Exploring Operation: 57-11=46, Resulting Numbers: [30, 20, 46]
Generated Node #0,2: 96:[30, 20, 46] Operation: 57-11=46
Moving to Node #0,0
Current State: 96:[11, 30, 37], Operations: ['57-20=37']
Exploring Operation: 37-30=7, Resulting Numbers: [11, 7]
Generated Node #0,0,0: 96:[11, 7] Operation: 37-30=7
Exploring Operation: 37-11=26, Resulting Numbers: [30, 26]
Generated Node #0,0,1: 96:[30, 26] Operation: 37-11=26
Exploring Operation: 11+37=48, Resulting Numbers: [30, 48]
Generated Node #0,0,2: 96:[30, 48] Operation: 11+37=48
Moving to Node #0,1
Current State: 96:[11, 20, 27], Operations: ['57-30=27']
Exploring Operation: 27-20=7, Resulting Numbers: [11, 7]
Generated Node #0,1,0: 96:[11, 7] Operation: 27-20=7
Exploring Operation: 11+20=31, Resulting Numbers: [27, 31]
Generated Node #0,1,1: 96:[27, 31] Operation: 11+20=31
Exploring Operation: 20+27=47, Resulting Numbers: [11, 47]
Generated Node #0,1,2: 96:[11, 47] Operation: 20+27=47
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[11, 7], Operations: ['57-30=27', '27-20=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[11, 47], Operations: ['57-30=27', '20+27=47']
Exploring Operation: 11+47=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 11*47=517, Resulting Numbers: [517]
517,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[27, 31], Operations: ['57-30=27', '11+20=31']
Exploring Operation: 27*31=837, Resulting Numbers: [837]
837,96 unequal: No Solution
Exploring Operation: 27+31=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 96:[30, 20, 46], Operations: ['57-11=46']
Exploring Operation: 30-20=10, Resulting Numbers: [46, 10]
Generated Node #0,2,0: 96:[46, 10] Operation: 30-20=10
Exploring Operation: 46-30=16, Resulting Numbers: [20, 16]
Generated Node #0,2,1: 96:[20, 16] Operation: 46-30=16
Exploring Operation: 30+20=50, Resulting Numbers: [46, 50]
Generated Node #0,2,2: 96:[46, 50] Operation: 30+20=50
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[46, 10], Operations: ['57-11=46', '30-20=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,96 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,96 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 96:[20, 16], Operations: ['57-11=46', '46-30=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,96 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[46, 50], Operations: ['57-11=46', '30+20=50']
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[11, 30, 20, 57], Operations: []
Exploring Operation: 57-11=46, Resulting Numbers: [30, 20, 46]
Generated Node #0,2: 96:[30, 20, 46] Operation: 57-11=46
Moving to Node #0,2
Current State: 96:[30, 20, 46], Operations: ['57-11=46']
Exploring Operation: 30+20=50, Resulting Numbers: [46, 50]
Generated Node #0,2,2: 96:[46, 50] Operation: 30+20=50
Moving to Node #0,2,2
Current State: 96:[46, 50], Operations: ['57-11=46', '30+20=50']
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_3 | mult_heuristic |
[
16,
8,
48,
1
] | 57 | [
"16-8=8",
"48+1=49",
"8+49=57"
] | Current State: 57:[16, 8, 48, 1], Operations: []
Exploring Operation: 16-8=8, Resulting Numbers: [48, 1, 8]
Generated Node #2: [48, 1, 8] from Operation: 16-8=8
Current State: 57:[48, 1, 8], Operations: ['16-8=8']
Exploring Operation: 48+1=49, Resulting Numbers: [8, 49]
Generated Node #3: [8, 49] from Operation: 48+1=49
Current State: 57:[8, 49], Operations: ['16-8=8', '48+1=49']
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[16, 8, 48, 1], Operations: []
Exploring Operation: 8+48=56, Resulting Numbers: [16, 1, 56]
Generated Node #0,0: 57:[16, 1, 56] Operation: 8+48=56
Exploring Operation: 48/16=3, Resulting Numbers: [8, 1, 3]
Generated Node #0,1: 57:[8, 1, 3] Operation: 48/16=3
Moving to Node #0,0
Current State: 57:[16, 1, 56], Operations: ['8+48=56']
Exploring Operation: 16+1=17, Resulting Numbers: [56, 17]
Generated Node #0,0,0: 57:[56, 17] Operation: 16+1=17
Exploring Operation: 1+56=57, Resulting Numbers: [16, 57]
Generated Node #0,0,1: 57:[16, 57] Operation: 1+56=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[56, 17], Operations: ['8+48=56', '16+1=17']
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,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,0,1
Current State: 57:[16, 57], Operations: ['8+48=56', '1+56=57']
Exploring Operation: 16+57=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,57 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: 57:[8, 1, 3], Operations: ['48/16=3']
Exploring Operation: 8-3=5, Resulting Numbers: [1, 5]
Generated Node #0,1,0: 57:[1, 5] Operation: 8-3=5
Exploring Operation: 8-1=7, Resulting Numbers: [3, 7]
Generated Node #0,1,1: 57:[3, 7] Operation: 8-1=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[1, 5], Operations: ['48/16=3', '8-3=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,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,1
Current State: 57:[3, 7], Operations: ['48/16=3', '8-1=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,57 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 |
[
27,
34,
53,
45
] | 56 | [
"34-27=7",
"53-45=8",
"7*8=56"
] | Current State: 56:[27, 34, 53, 45], Operations: []
Exploring Operation: 34-27=7, Resulting Numbers: [53, 45, 7]
Generated Node #2: [53, 45, 7] from Operation: 34-27=7
Current State: 56:[53, 45, 7], Operations: ['34-27=7']
Exploring Operation: 53-45=8, Resulting Numbers: [7, 8]
Generated Node #3: [7, 8] from Operation: 53-45=8
Current State: 56:[7, 8], Operations: ['34-27=7', '53-45=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[27, 34, 53, 45], Operations: []
Exploring Operation: 45-34=11, Resulting Numbers: [27, 53, 11]
Generated Node #0,0: 56:[27, 53, 11] Operation: 45-34=11
Exploring Operation: 45-27=18, Resulting Numbers: [34, 53, 18]
Generated Node #0,1: 56:[34, 53, 18] Operation: 45-27=18
Exploring Operation: 53-45=8, Resulting Numbers: [27, 34, 8]
Generated Node #0,2: 56:[27, 34, 8] Operation: 53-45=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[27, 53, 11], Operations: ['45-34=11']
Exploring Operation: 53+11=64, Resulting Numbers: [27, 64]
Generated Node #0,0,0: 56:[27, 64] Operation: 53+11=64
Exploring Operation: 53-27=26, Resulting Numbers: [11, 26]
Generated Node #0,0,1: 56:[11, 26] Operation: 53-27=26
Exploring Operation: 27-11=16, Resulting Numbers: [53, 16]
Generated Node #0,0,2: 56:[53, 16] Operation: 27-11=16
Moving to Node #0,0,1
Current State: 56:[11, 26], Operations: ['45-34=11', '53-27=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[53, 16], Operations: ['45-34=11', '27-11=16']
Exploring Operation: 53*16=848, Resulting Numbers: [848]
848,56 unequal: No Solution
Exploring Operation: 53+16=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[27, 64], Operations: ['45-34=11', '53+11=64']
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,56 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[27, 34, 8], Operations: ['53-45=8']
Exploring Operation: 34-27=7, Resulting Numbers: [8, 7]
Generated Node #0,2,0: 56:[8, 7] Operation: 34-27=7
Exploring Operation: 34-8=26, Resulting Numbers: [27, 26]
Generated Node #0,2,1: 56:[27, 26] Operation: 34-8=26
Exploring Operation: 27+34=61, Resulting Numbers: [8, 61]
Generated Node #0,2,2: 56:[8, 61] Operation: 27+34=61
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 56:[8, 7], Operations: ['53-45=8', '34-27=7']
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[27, 34, 53, 45], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [27, 34, 8]
Generated Node #0,2: 56:[27, 34, 8] Operation: 53-45=8
Moving to Node #0,2
Current State: 56:[27, 34, 8], Operations: ['53-45=8']
Exploring Operation: 34-27=7, Resulting Numbers: [8, 7]
Generated Node #0,2,0: 56:[8, 7] Operation: 34-27=7
Moving to Node #0,2,0
Current State: 56:[8, 7], Operations: ['53-45=8', '34-27=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
5,
49,
93,
58
] | 97 | [
"5+49=54",
"93+58=151",
"151-54=97"
] | Current State: 97:[5, 49, 93, 58], Operations: []
Exploring Operation: 5+49=54, Resulting Numbers: [93, 58, 54]
Generated Node #2: [93, 58, 54] from Operation: 5+49=54
Current State: 97:[93, 58, 54], Operations: ['5+49=54']
Exploring Operation: 93+58=151, Resulting Numbers: [54, 151]
Generated Node #3: [54, 151] from Operation: 93+58=151
Current State: 97:[54, 151], Operations: ['5+49=54', '93+58=151']
Exploring Operation: 151-54=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[5, 49, 93, 58], Operations: []
Exploring Operation: 49-5=44, Resulting Numbers: [93, 58, 44]
Generated Node #0,0: 97:[93, 58, 44] Operation: 49-5=44
Exploring Operation: 5+93=98, Resulting Numbers: [49, 58, 98]
Generated Node #0,1: 97:[49, 58, 98] Operation: 5+93=98
Exploring Operation: 5+58=63, Resulting Numbers: [49, 93, 63]
Generated Node #0,2: 97:[49, 93, 63] Operation: 5+58=63
Exploring Operation: 5+49=54, Resulting Numbers: [93, 58, 54]
Generated Node #0,3: 97:[93, 58, 54] Operation: 5+49=54
Moving to Node #0,2
Current State: 97:[49, 93, 63], Operations: ['5+58=63']
Exploring Operation: 93-49=44, Resulting Numbers: [63, 44]
Generated Node #0,2,0: 97:[63, 44] Operation: 93-49=44
Exploring Operation: 63-49=14, Resulting Numbers: [93, 14]
Generated Node #0,2,1: 97:[93, 14] Operation: 63-49=14
Exploring Operation: 49+93=142, Resulting Numbers: [63, 142]
Generated Node #0,2,2: 97:[63, 142] Operation: 49+93=142
Exploring Operation: 49+63=112, Resulting Numbers: [93, 112]
Generated Node #0,2,3: 97:[93, 112] Operation: 49+63=112
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[93, 112], Operations: ['5+58=63', '49+63=112']
Exploring Operation: 112-93=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 93*112=10416, Resulting Numbers: [10416]
10416,97 unequal: No Solution
Exploring Operation: 93+112=205, Resulting Numbers: [205]
205,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[63, 142], Operations: ['5+58=63', '49+93=142']
Exploring Operation: 63*142=8946, Resulting Numbers: [8946]
8946,97 unequal: No Solution
Exploring Operation: 63+142=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 142-63=79, Resulting Numbers: [79]
79,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[63, 44], Operations: ['5+58=63', '93-49=44']
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[93, 14], Operations: ['5+58=63', '63-49=14']
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,97 unequal: No Solution
Exploring Operation: 93+14=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 93*14=1302, Resulting Numbers: [1302]
1302,97 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: 97:[93, 58, 54], Operations: ['5+49=54']
Exploring Operation: 93+54=147, Resulting Numbers: [58, 147]
Generated Node #0,3,0: 97:[58, 147] Operation: 93+54=147
Exploring Operation: 58+54=112, Resulting Numbers: [93, 112]
Generated Node #0,3,1: 97:[93, 112] Operation: 58+54=112
Exploring Operation: 93+58=151, Resulting Numbers: [54, 151]
Generated Node #0,3,2: 97:[54, 151] Operation: 93+58=151
Exploring Operation: 93-54=39, Resulting Numbers: [58, 39]
Generated Node #0,3,3: 97:[58, 39] Operation: 93-54=39
Moving to Node #0,1
Current State: 97:[49, 58, 98], Operations: ['5+93=98']
Exploring Operation: 49+58=107, Resulting Numbers: [98, 107]
Generated Node #0,1,0: 97:[98, 107] Operation: 49+58=107
Exploring Operation: 98-49=49, Resulting Numbers: [58, 49]
Generated Node #0,1,1: 97:[58, 49] Operation: 98-49=49
Exploring Operation: 49+98=147, Resulting Numbers: [58, 147]
Generated Node #0,1,2: 97:[58, 147] Operation: 49+98=147
Exploring Operation: 58-49=9, Resulting Numbers: [98, 9]
Generated Node #0,1,3: 97:[98, 9] Operation: 58-49=9
Moving to Node #0,0
Current State: 97:[93, 58, 44], Operations: ['49-5=44']
Exploring Operation: 93+44=137, Resulting Numbers: [58, 137]
Generated Node #0,0,0: 97:[58, 137] Operation: 93+44=137
Exploring Operation: 58+44=102, Resulting Numbers: [93, 102]
Generated Node #0,0,1: 97:[93, 102] Operation: 58+44=102
Exploring Operation: 93-44=49, Resulting Numbers: [58, 49]
Generated Node #0,0,2: 97:[58, 49] Operation: 93-44=49
Exploring Operation: 58-44=14, Resulting Numbers: [93, 14]
Generated Node #0,0,3: 97:[93, 14] Operation: 58-44=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[93, 102], Operations: ['49-5=44', '58+44=102']
Exploring Operation: 102-93=9, Resulting Numbers: [9]
9,97 unequal: No Solution
Exploring Operation: 93+102=195, Resulting Numbers: [195]
195,97 unequal: No Solution
Exploring Operation: 93*102=9486, Resulting Numbers: [9486]
9486,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[58, 137], Operations: ['49-5=44', '93+44=137']
Exploring Operation: 58*137=7946, Resulting Numbers: [7946]
7946,97 unequal: No Solution
Exploring Operation: 58+137=195, Resulting Numbers: [195]
195,97 unequal: No Solution
Exploring Operation: 137-58=79, Resulting Numbers: [79]
79,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[58, 49], Operations: ['49-5=44', '93-44=49']
Exploring Operation: 58*49=2842, Resulting Numbers: [2842]
2842,97 unequal: No Solution
Exploring Operation: 58+49=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[93, 14], Operations: ['49-5=44', '58-44=14']
Exploring Operation: 93*14=1302, Resulting Numbers: [1302]
1302,97 unequal: No Solution
Exploring Operation: 93+14=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,97 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: 97:[98, 107], Operations: ['5+93=98', '49+58=107']
Exploring Operation: 98+107=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 107-98=9, Resulting Numbers: [9]
9,97 unequal: No Solution
Exploring Operation: 98*107=10486, Resulting Numbers: [10486]
10486,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[93, 112], Operations: ['5+49=54', '58+54=112']
Exploring Operation: 93+112=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 112-93=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 93*112=10416, Resulting Numbers: [10416]
10416,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[58, 49], Operations: ['5+93=98', '98-49=49']
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,97 unequal: No Solution
Exploring Operation: 58+49=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 58*49=2842, Resulting Numbers: [2842]
2842,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[58, 147], Operations: ['5+93=98', '49+98=147']
Exploring Operation: 58+147=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 147-58=89, Resulting Numbers: [89]
89,97 unequal: No Solution
Exploring Operation: 58*147=8526, Resulting Numbers: [8526]
8526,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[58, 147], Operations: ['5+49=54', '93+54=147']
Exploring Operation: 58+147=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 147-58=89, Resulting Numbers: [89]
89,97 unequal: No Solution
Exploring Operation: 58*147=8526, Resulting Numbers: [8526]
8526,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[98, 9], Operations: ['5+93=98', '58-49=9']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,97 unequal: No Solution
Exploring Operation: 98*9=882, Resulting Numbers: [882]
882,97 unequal: No Solution
Exploring Operation: 98+9=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[58, 39], Operations: ['5+49=54', '93-54=39']
Exploring Operation: 58+39=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[5, 49, 93, 58], Operations: []
Exploring Operation: 5+49=54, Resulting Numbers: [93, 58, 54]
Generated Node #0,3: 97:[93, 58, 54] Operation: 5+49=54
Moving to Node #0,3
Current State: 97:[93, 58, 54], Operations: ['5+49=54']
Exploring Operation: 93-54=39, Resulting Numbers: [58, 39]
Generated Node #0,3,3: 97:[58, 39] Operation: 93-54=39
Moving to Node #0,3,3
Current State: 97:[58, 39], Operations: ['5+49=54', '93-54=39']
Exploring Operation: 58+39=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.94184 | hs_4 | sum_heuristic |
[
72,
52,
12,
76
] | 30 | [
"72/12=6",
"76-52=24",
"6+24=30"
] | Current State: 30:[72, 52, 12, 76], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [52, 76, 6]
Generated Node #2: [52, 76, 6] from Operation: 72/12=6
Current State: 30:[52, 76, 6], Operations: ['72/12=6']
Exploring Operation: 76-52=24, Resulting Numbers: [6, 24]
Generated Node #3: [6, 24] from Operation: 76-52=24
Current State: 30:[6, 24], Operations: ['72/12=6', '76-52=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[72, 52, 12, 76], Operations: []
Exploring Operation: 76-52=24, Resulting Numbers: [72, 12, 24]
Generated Node #0,0: 30:[72, 12, 24] Operation: 76-52=24
Exploring Operation: 76-72=4, Resulting Numbers: [52, 12, 4]
Generated Node #0,1: 30:[52, 12, 4] Operation: 76-72=4
Exploring Operation: 72-52=20, Resulting Numbers: [12, 76, 20]
Generated Node #0,2: 30:[12, 76, 20] Operation: 72-52=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[52, 12, 4], Operations: ['76-72=4']
Exploring Operation: 52/4=13, Resulting Numbers: [12, 13]
Generated Node #0,1,0: 30:[12, 13] Operation: 52/4=13
Exploring Operation: 52-12=40, Resulting Numbers: [4, 40]
Generated Node #0,1,1: 30:[4, 40] Operation: 52-12=40
Exploring Operation: 52-4=48, Resulting Numbers: [12, 48]
Generated Node #0,1,2: 30:[12, 48] Operation: 52-4=48
Moving to Node #0,1,0
Current State: 30:[12, 13], Operations: ['76-72=4', '52/4=13']
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,30 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[4, 40], Operations: ['76-72=4', '52-12=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[12, 48], Operations: ['76-72=4', '52-4=48']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[72, 12, 24], Operations: ['76-52=24']
Exploring Operation: 72-24=48, Resulting Numbers: [12, 48]
Generated Node #0,0,0: 30:[12, 48] Operation: 72-24=48
Exploring Operation: 72/24=3, Resulting Numbers: [12, 3]
Generated Node #0,0,1: 30:[12, 3] Operation: 72/24=3
Exploring Operation: 72/12=6, Resulting Numbers: [24, 6]
Generated Node #0,0,2: 30:[24, 6] Operation: 72/12=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 30:[12, 3], Operations: ['76-52=24', '72/24=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 30:[24, 6], Operations: ['76-52=24', '72/12=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[72, 52, 12, 76], Operations: []
Exploring Operation: 76-52=24, Resulting Numbers: [72, 12, 24]
Generated Node #0,0: 30:[72, 12, 24] Operation: 76-52=24
Moving to Node #0,0
Current State: 30:[72, 12, 24], Operations: ['76-52=24']
Exploring Operation: 72/12=6, Resulting Numbers: [24, 6]
Generated Node #0,0,2: 30:[24, 6] Operation: 72/12=6
Moving to Node #0,0,2
Current State: 30:[24, 6], Operations: ['76-52=24', '72/12=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
96,
71,
20,
96
] | 91 | [
"96+71=167",
"96-20=76",
"167-76=91"
] | Current State: 91:[96, 71, 20, 96], Operations: []
Exploring Operation: 96+71=167, Resulting Numbers: [20, 167]
Generated Node #2: [20, 167] from Operation: 96+71=167
Current State: 91:[20, 167], Operations: ['96+71=167']
Exploring Operation: 96-20=76, Resulting Numbers: [167, 76]
Generated Node #3: [167, 76] from Operation: 96-20=76
Current State: 91:[167, 76], Operations: ['96+71=167', '96-20=76']
Exploring Operation: 167-76=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[96, 71, 20, 96], Operations: []
Exploring Operation: 71+20=91, Resulting Numbers: [96, 96, 91]
Generated Node #0,0: 91:[96, 96, 91] Operation: 71+20=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[96, 96, 91], Operations: ['71+20=91']
Exploring Operation: 96/96=1, Resulting Numbers: [91, 1]
Generated Node #0,0,0: 91:[91, 1] Operation: 96/96=1
Moving to Node #0,0,0
Current State: 91:[91, 1], Operations: ['71+20=91', '96/96=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[96, 71, 20, 96], Operations: []
Exploring Operation: 71+20=91, Resulting Numbers: [96, 96, 91]
Generated Node #0,0: 91:[96, 96, 91] Operation: 71+20=91
Moving to Node #0,0
Current State: 91:[96, 96, 91], Operations: ['71+20=91']
Exploring Operation: 96/96=1, Resulting Numbers: [91, 1]
Generated Node #0,0,0: 91:[91, 1] Operation: 96/96=1
Moving to Node #0,0,0
Current State: 91:[91, 1], Operations: ['71+20=91', '96/96=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
37,
7,
70,
98
] | 63 | [
"37+70=107",
"107-98=9",
"7*9=63"
] | Current State: 63:[37, 7, 70, 98], Operations: []
Exploring Operation: 37+70=107, Resulting Numbers: [7, 98, 107]
Generated Node #2: [7, 98, 107] from Operation: 37+70=107
Current State: 63:[7, 98, 107], Operations: ['37+70=107']
Exploring Operation: 107-98=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 107-98=9
Current State: 63:[7, 9], Operations: ['37+70=107', '107-98=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[37, 7, 70, 98], Operations: []
Exploring Operation: 98-37=61, Resulting Numbers: [7, 70, 61]
Generated Node #0,0: 63:[7, 70, 61] Operation: 98-37=61
Moving to Node #0,0
Current State: 63:[7, 70, 61], Operations: ['98-37=61']
Exploring Operation: 70-61=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 63:[7, 9] Operation: 70-61=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[7, 9], Operations: ['98-37=61', '70-61=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[37, 7, 70, 98], Operations: []
Exploring Operation: 98-37=61, Resulting Numbers: [7, 70, 61]
Generated Node #0,0: 63:[7, 70, 61] Operation: 98-37=61
Moving to Node #0,0
Current State: 63:[7, 70, 61], Operations: ['98-37=61']
Exploring Operation: 70-61=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 63:[7, 9] Operation: 70-61=9
Moving to Node #0,0,0
Current State: 63:[7, 9], Operations: ['98-37=61', '70-61=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
23,
7,
28,
8
] | 25 | [
"28/7=4",
"8/4=2",
"23+2=25"
] | Current State: 25:[23, 7, 28, 8], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [23, 8, 4]
Generated Node #2: [23, 8, 4] from Operation: 28/7=4
Current State: 25:[23, 8, 4], Operations: ['28/7=4']
Exploring Operation: 8/4=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 8/4=2
Current State: 25:[23, 2], Operations: ['28/7=4', '8/4=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[23, 7, 28, 8], Operations: []
Exploring Operation: 28-7=21, Resulting Numbers: [23, 8, 21]
Generated Node #0,0: 25:[23, 8, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [23, 8, 4]
Generated Node #0,1: 25:[23, 8, 4] Operation: 28/7=4
Exploring Operation: 28-23=5, Resulting Numbers: [7, 8, 5]
Generated Node #0,2: 25:[7, 8, 5] Operation: 28-23=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[7, 8, 5], Operations: ['28-23=5']
Exploring Operation: 8-7=1, Resulting Numbers: [5, 1]
Generated Node #0,2,0: 25:[5, 1] Operation: 8-7=1
Exploring Operation: 7-5=2, Resulting Numbers: [8, 2]
Generated Node #0,2,1: 25:[8, 2] Operation: 7-5=2
Exploring Operation: 8-5=3, Resulting Numbers: [7, 3]
Generated Node #0,2,2: 25:[7, 3] Operation: 8-5=3
Moving to Node #0,2,0
Current State: 25:[5, 1], Operations: ['28-23=5', '8-7=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[7, 3], Operations: ['28-23=5', '8-5=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[8, 2], Operations: ['28-23=5', '7-5=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[23, 8, 4], Operations: ['28/7=4']
Exploring Operation: 8-4=4, Resulting Numbers: [23, 4]
Generated Node #0,1,0: 25:[23, 4] Operation: 8-4=4
Exploring Operation: 23+4=27, Resulting Numbers: [8, 27]
Generated Node #0,1,1: 25:[8, 27] Operation: 23+4=27
Exploring Operation: 8/4=2, Resulting Numbers: [23, 2]
Generated Node #0,1,2: 25:[23, 2] Operation: 8/4=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[23, 4], Operations: ['28/7=4', '8-4=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,25 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[8, 27], Operations: ['28/7=4', '23+4=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,25 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[23, 2], Operations: ['28/7=4', '8/4=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[23, 7, 28, 8], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [23, 8, 4]
Generated Node #0,1: 25:[23, 8, 4] Operation: 28/7=4
Moving to Node #0,1
Current State: 25:[23, 8, 4], Operations: ['28/7=4']
Exploring Operation: 8/4=2, Resulting Numbers: [23, 2]
Generated Node #0,1,2: 25:[23, 2] Operation: 8/4=2
Moving to Node #0,1,2
Current State: 25:[23, 2], Operations: ['28/7=4', '8/4=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_3 | sum_heuristic |
[
24,
99,
42,
99
] | 18 | [
"24+99=123",
"42+99=141",
"141-123=18"
] | Current State: 18:[24, 99, 42, 99], Operations: []
Exploring Operation: 24+99=123, Resulting Numbers: [42, 123]
Generated Node #2: [42, 123] from Operation: 24+99=123
Current State: 18:[42, 123], Operations: ['24+99=123']
Exploring Operation: 42+99=141, Resulting Numbers: [123, 141]
Generated Node #3: [123, 141] from Operation: 42+99=141
Current State: 18:[123, 141], Operations: ['24+99=123', '42+99=141']
Exploring Operation: 141-123=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[24, 99, 42, 99], Operations: []
Exploring Operation: 99-42=57, Resulting Numbers: [24, 99, 57]
Generated Node #0,0: 18:[24, 99, 57] Operation: 99-42=57
Exploring Operation: 99/99=1, Resulting Numbers: [24, 42, 1]
Generated Node #0,1: 18:[24, 42, 1] Operation: 99/99=1
Exploring Operation: 99-24=75, Resulting Numbers: [42, 99, 75]
Generated Node #0,2: 18:[42, 99, 75] Operation: 99-24=75
Exploring Operation: 99-99=0, Resulting Numbers: [24, 42, 0]
Generated Node #0,3: 18:[24, 42, 0] Operation: 99-99=0
Exploring Operation: 99-42=57, Resulting Numbers: [24, 99, 57]
Generated Node #0,4: 18:[24, 99, 57] Operation: 99-42=57
Moving to Node #0,1
Current State: 18:[24, 42, 1], Operations: ['99/99=1']
Exploring Operation: 42-1=41, Resulting Numbers: [24, 41]
Generated Node #0,1,0: 18:[24, 41] Operation: 42-1=41
Exploring Operation: 42-24=18, Resulting Numbers: [1, 18]
Generated Node #0,1,1: 18:[1, 18] Operation: 42-24=18
Exploring Operation: 24-1=23, Resulting Numbers: [42, 23]
Generated Node #0,1,2: 18:[42, 23] Operation: 24-1=23
Exploring Operation: 24*1=24, Resulting Numbers: [42, 24]
Generated Node #0,1,3: 18:[42, 24] Operation: 24*1=24
Exploring Operation: 24/1=24, Resulting Numbers: [42, 24]
Generated Node #0,1,4: 18:[42, 24] Operation: 24/1=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[1, 18], Operations: ['99/99=1', '42-24=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[24, 99, 42, 99], Operations: []
Exploring Operation: 99/99=1, Resulting Numbers: [24, 42, 1]
Generated Node #0,1: 18:[24, 42, 1] Operation: 99/99=1
Moving to Node #0,1
Current State: 18:[24, 42, 1], Operations: ['99/99=1']
Exploring Operation: 42-24=18, Resulting Numbers: [1, 18]
Generated Node #0,1,1: 18:[1, 18] Operation: 42-24=18
Moving to Node #0,1,1
Current State: 18:[1, 18], Operations: ['99/99=1', '42-24=18']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
42,
49,
38,
61
] | 98 | [
"61-42=19",
"49*38=1862",
"1862/19=98"
] | Current State: 98:[42, 49, 38, 61], Operations: []
Exploring Operation: 61-42=19, Resulting Numbers: [49, 38, 19]
Generated Node #2: [49, 38, 19] from Operation: 61-42=19
Current State: 98:[49, 38, 19], Operations: ['61-42=19']
Exploring Operation: 49*38=1862, Resulting Numbers: [19, 1862]
Generated Node #3: [19, 1862] from Operation: 49*38=1862
Current State: 98:[19, 1862], Operations: ['61-42=19', '49*38=1862']
Exploring Operation: 1862/19=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[42, 49, 38, 61], Operations: []
Exploring Operation: 38+61=99, Resulting Numbers: [42, 49, 99]
Generated Node #0,0: 98:[42, 49, 99] Operation: 38+61=99
Exploring Operation: 42+61=103, Resulting Numbers: [49, 38, 103]
Generated Node #0,1: 98:[49, 38, 103] Operation: 42+61=103
Exploring Operation: 61-38=23, Resulting Numbers: [42, 49, 23]
Generated Node #0,2: 98:[42, 49, 23] Operation: 61-38=23
Exploring Operation: 42-38=4, Resulting Numbers: [49, 61, 4]
Generated Node #0,3: 98:[49, 61, 4] Operation: 42-38=4
Exploring Operation: 61-42=19, Resulting Numbers: [49, 38, 19]
Generated Node #0,4: 98:[49, 38, 19] Operation: 61-42=19
Moving to Node #0,0
Current State: 98:[42, 49, 99], Operations: ['38+61=99']
Exploring Operation: 42+99=141, Resulting Numbers: [49, 141]
Generated Node #0,0,0: 98:[49, 141] Operation: 42+99=141
Exploring Operation: 49-42=7, Resulting Numbers: [99, 7]
Generated Node #0,0,1: 98:[99, 7] Operation: 49-42=7
Exploring Operation: 42+49=91, Resulting Numbers: [99, 91]
Generated Node #0,0,2: 98:[99, 91] Operation: 42+49=91
Exploring Operation: 99-49=50, Resulting Numbers: [42, 50]
Generated Node #0,0,3: 98:[42, 50] Operation: 99-49=50
Exploring Operation: 99-42=57, Resulting Numbers: [49, 57]
Generated Node #0,0,4: 98:[49, 57] Operation: 99-42=57
Moving to Node #0,3
Current State: 98:[49, 61, 4], Operations: ['42-38=4']
Exploring Operation: 61-49=12, Resulting Numbers: [4, 12]
Generated Node #0,3,0: 98:[4, 12] Operation: 61-49=12
Exploring Operation: 49+4=53, Resulting Numbers: [61, 53]
Generated Node #0,3,1: 98:[61, 53] Operation: 49+4=53
Exploring Operation: 61-4=57, Resulting Numbers: [49, 57]
Generated Node #0,3,2: 98:[49, 57] Operation: 61-4=57
Exploring Operation: 49+61=110, Resulting Numbers: [4, 110]
Generated Node #0,3,3: 98:[4, 110] Operation: 49+61=110
Exploring Operation: 49-4=45, Resulting Numbers: [61, 45]
Generated Node #0,3,4: 98:[61, 45] Operation: 49-4=45
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[4, 12], Operations: ['42-38=4', '61-49=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[49, 57], Operations: ['42-38=4', '61-4=57']
Exploring Operation: 49*57=2793, Resulting Numbers: [2793]
2793,98 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 49+57=106, Resulting Numbers: [106]
106,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[4, 110], Operations: ['42-38=4', '49+61=110']
Exploring Operation: 4+110=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Exploring Operation: 110-4=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 4*110=440, Resulting Numbers: [440]
440,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[61, 53], Operations: ['42-38=4', '49+4=53']
Exploring Operation: 61+53=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Exploring Operation: 61*53=3233, Resulting Numbers: [3233]
3233,98 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 98:[61, 45], Operations: ['42-38=4', '49-4=45']
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,98 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,98 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: 98:[49, 38, 103], Operations: ['42+61=103']
Exploring Operation: 49-38=11, Resulting Numbers: [103, 11]
Generated Node #0,1,0: 98:[103, 11] Operation: 49-38=11
Exploring Operation: 49+38=87, Resulting Numbers: [103, 87]
Generated Node #0,1,1: 98:[103, 87] Operation: 49+38=87
Exploring Operation: 103-49=54, Resulting Numbers: [38, 54]
Generated Node #0,1,2: 98:[38, 54] Operation: 103-49=54
Exploring Operation: 38+103=141, Resulting Numbers: [49, 141]
Generated Node #0,1,3: 98:[49, 141] Operation: 38+103=141
Exploring Operation: 103-38=65, Resulting Numbers: [49, 65]
Generated Node #0,1,4: 98:[49, 65] Operation: 103-38=65
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[103, 11], Operations: ['42+61=103', '49-38=11']
Exploring Operation: 103-11=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 103+11=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Exploring Operation: 103*11=1133, Resulting Numbers: [1133]
1133,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[103, 87], Operations: ['42+61=103', '49+38=87']
Exploring Operation: 103*87=8961, Resulting Numbers: [8961]
8961,98 unequal: No Solution
Exploring Operation: 103+87=190, Resulting Numbers: [190]
190,98 unequal: No Solution
Exploring Operation: 103-87=16, Resulting Numbers: [16]
16,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[38, 54], Operations: ['42+61=103', '103-49=54']
Exploring Operation: 38+54=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 38*54=2052, Resulting Numbers: [2052]
2052,98 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 98:[49, 65], Operations: ['42+61=103', '103-38=65']
Exploring Operation: 49+65=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Exploring Operation: 49*65=3185, Resulting Numbers: [3185]
3185,98 unequal: No Solution
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 98:[49, 141], Operations: ['42+61=103', '38+103=141']
Exploring Operation: 49*141=6909, Resulting Numbers: [6909]
6909,98 unequal: No Solution
Exploring Operation: 141-49=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 49+141=190, Resulting Numbers: [190]
190,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 98:[42, 49, 23], Operations: ['61-38=23']
Exploring Operation: 49-23=26, Resulting Numbers: [42, 26]
Generated Node #0,2,0: 98:[42, 26] Operation: 49-23=26
Exploring Operation: 42+23=65, Resulting Numbers: [49, 65]
Generated Node #0,2,1: 98:[49, 65] Operation: 42+23=65
Exploring Operation: 42+49=91, Resulting Numbers: [23, 91]
Generated Node #0,2,2: 98:[23, 91] Operation: 42+49=91
Exploring Operation: 42-23=19, Resulting Numbers: [49, 19]
Generated Node #0,2,3: 98:[49, 19] Operation: 42-23=19
Exploring Operation: 49-42=7, Resulting Numbers: [23, 7]
Generated Node #0,2,4: 98:[23, 7] Operation: 49-42=7
Moving to Node #0,4
Current State: 98:[49, 38, 19], Operations: ['61-42=19']
Exploring Operation: 49+38=87, Resulting Numbers: [19, 87]
Generated Node #0,4,0: 98:[19, 87] Operation: 49+38=87
Exploring Operation: 38-19=19, Resulting Numbers: [49, 19]
Generated Node #0,4,1: 98:[49, 19] Operation: 38-19=19
Exploring Operation: 38+19=57, Resulting Numbers: [49, 57]
Generated Node #0,4,2: 98:[49, 57] Operation: 38+19=57
Exploring Operation: 38/19=2, Resulting Numbers: [49, 2]
Generated Node #0,4,3: 98:[49, 2] Operation: 38/19=2
Exploring Operation: 49-38=11, Resulting Numbers: [19, 11]
Generated Node #0,4,4: 98:[19, 11] Operation: 49-38=11
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 98:[49, 2], Operations: ['61-42=19', '38/19=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[42, 49, 38, 61], Operations: []
Exploring Operation: 61-42=19, Resulting Numbers: [49, 38, 19]
Generated Node #0,4: 98:[49, 38, 19] Operation: 61-42=19
Moving to Node #0,4
Current State: 98:[49, 38, 19], Operations: ['61-42=19']
Exploring Operation: 38/19=2, Resulting Numbers: [49, 2]
Generated Node #0,4,3: 98:[49, 2] Operation: 38/19=2
Moving to Node #0,4,3
Current State: 98:[49, 2], Operations: ['61-42=19', '38/19=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_5 | sum_heuristic |
[
15,
26,
57,
5
] | 11 | [
"15+26=41",
"57-5=52",
"52-41=11"
] | Current State: 11:[15, 26, 57, 5], Operations: []
Exploring Operation: 15+26=41, Resulting Numbers: [57, 5, 41]
Generated Node #2: [57, 5, 41] from Operation: 15+26=41
Current State: 11:[57, 5, 41], Operations: ['15+26=41']
Exploring Operation: 57-5=52, Resulting Numbers: [41, 52]
Generated Node #3: [41, 52] from Operation: 57-5=52
Current State: 11:[41, 52], Operations: ['15+26=41', '57-5=52']
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[15, 26, 57, 5], Operations: []
Exploring Operation: 26-15=11, Resulting Numbers: [57, 5, 11]
Generated Node #0,0: 11:[57, 5, 11] Operation: 26-15=11
Exploring Operation: 57-15=42, Resulting Numbers: [26, 5, 42]
Generated Node #0,1: 11:[26, 5, 42] Operation: 57-15=42
Exploring Operation: 57-5=52, Resulting Numbers: [15, 26, 52]
Generated Node #0,2: 11:[15, 26, 52] Operation: 57-5=52
Exploring Operation: 26-5=21, Resulting Numbers: [15, 57, 21]
Generated Node #0,3: 11:[15, 57, 21] Operation: 26-5=21
Exploring Operation: 57-26=31, Resulting Numbers: [15, 5, 31]
Generated Node #0,4: 11:[15, 5, 31] Operation: 57-26=31
Start Sub Search at level 1: Moving to Node #0,4
Current State: 11:[15, 5, 31], Operations: ['57-26=31']
Exploring Operation: 15/5=3, Resulting Numbers: [31, 3]
Generated Node #0,4,0: 11:[31, 3] Operation: 15/5=3
Exploring Operation: 15-5=10, Resulting Numbers: [31, 10]
Generated Node #0,4,1: 11:[31, 10] Operation: 15-5=10
Exploring Operation: 31-5=26, Resulting Numbers: [15, 26]
Generated Node #0,4,2: 11:[15, 26] Operation: 31-5=26
Exploring Operation: 15+5=20, Resulting Numbers: [31, 20]
Generated Node #0,4,3: 11:[31, 20] Operation: 15+5=20
Exploring Operation: 31-15=16, Resulting Numbers: [5, 16]
Generated Node #0,4,4: 11:[5, 16] Operation: 31-15=16
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 11:[5, 16], Operations: ['57-26=31', '31-15=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[15, 26, 57, 5], Operations: []
Exploring Operation: 57-26=31, Resulting Numbers: [15, 5, 31]
Generated Node #0,4: 11:[15, 5, 31] Operation: 57-26=31
Moving to Node #0,4
Current State: 11:[15, 5, 31], Operations: ['57-26=31']
Exploring Operation: 31-15=16, Resulting Numbers: [5, 16]
Generated Node #0,4,4: 11:[5, 16] Operation: 31-15=16
Moving to Node #0,4,4
Current State: 11:[5, 16], Operations: ['57-26=31', '31-15=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
69,
35,
37,
92
] | 49 | [
"69+35=104",
"92-37=55",
"104-55=49"
] | Current State: 49:[69, 35, 37, 92], Operations: []
Exploring Operation: 69+35=104, Resulting Numbers: [37, 92, 104]
Generated Node #2: [37, 92, 104] from Operation: 69+35=104
Current State: 49:[37, 92, 104], Operations: ['69+35=104']
Exploring Operation: 92-37=55, Resulting Numbers: [104, 55]
Generated Node #3: [104, 55] from Operation: 92-37=55
Current State: 49:[104, 55], Operations: ['69+35=104', '92-37=55']
Exploring Operation: 104-55=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[69, 35, 37, 92], Operations: []
Exploring Operation: 92-35=57, Resulting Numbers: [69, 37, 57]
Generated Node #0,0: 49:[69, 37, 57] Operation: 92-35=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[69, 37, 57], Operations: ['92-35=57']
Exploring Operation: 69-57=12, Resulting Numbers: [37, 12]
Generated Node #0,0,0: 49:[37, 12] Operation: 69-57=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[37, 12], Operations: ['92-35=57', '69-57=12']
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[69, 35, 37, 92], Operations: []
Exploring Operation: 92-35=57, Resulting Numbers: [69, 37, 57]
Generated Node #0,0: 49:[69, 37, 57] Operation: 92-35=57
Moving to Node #0,0
Current State: 49:[69, 37, 57], Operations: ['92-35=57']
Exploring Operation: 69-57=12, Resulting Numbers: [37, 12]
Generated Node #0,0,0: 49:[37, 12] Operation: 69-57=12
Moving to Node #0,0,0
Current State: 49:[37, 12], Operations: ['92-35=57', '69-57=12']
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
96,
84,
72,
26
] | 37 | [
"84*72=6048",
"6048/96=63",
"63-26=37"
] | Current State: 37:[96, 84, 72, 26], Operations: []
Exploring Operation: 84*72=6048, Resulting Numbers: [96, 26, 6048]
Generated Node #2: [96, 26, 6048] from Operation: 84*72=6048
Current State: 37:[96, 26, 6048], Operations: ['84*72=6048']
Exploring Operation: 6048/96=63, Resulting Numbers: [26, 63]
Generated Node #3: [26, 63] from Operation: 6048/96=63
Current State: 37:[26, 63], Operations: ['84*72=6048', '6048/96=63']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[96, 84, 72, 26], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [72, 26, 12]
Generated Node #0,0: 37:[72, 26, 12] Operation: 96-84=12
Exploring Operation: 96-72=24, Resulting Numbers: [84, 26, 24]
Generated Node #0,1: 37:[84, 26, 24] Operation: 96-72=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[72, 26, 12], Operations: ['96-84=12']
Exploring Operation: 72-12=60, Resulting Numbers: [26, 60]
Generated Node #0,0,0: 37:[26, 60] Operation: 72-12=60
Exploring Operation: 72-26=46, Resulting Numbers: [12, 46]
Generated Node #0,0,1: 37:[12, 46] Operation: 72-26=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[26, 60], Operations: ['96-84=12', '72-12=60']
Exploring Operation: 26+60=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,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:[12, 46], Operations: ['96-84=12', '72-26=46']
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,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:[84, 26, 24], Operations: ['96-72=24']
Exploring Operation: 84-26=58, Resulting Numbers: [24, 58]
Generated Node #0,1,0: 37:[24, 58] Operation: 84-26=58
Exploring Operation: 84-24=60, Resulting Numbers: [26, 60]
Generated Node #0,1,1: 37:[26, 60] Operation: 84-24=60
Moving to Node #0,1,0
Current State: 37:[24, 58], Operations: ['96-72=24', '84-26=58']
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[26, 60], Operations: ['96-72=24', '84-24=60']
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 26+60=86, Resulting Numbers: [86]
86,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
4,
24,
3
] | 50 | [
"86-24=62",
"4*3=12",
"62-12=50"
] | Current State: 50:[86, 4, 24, 3], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [4, 3, 62]
Generated Node #2: [4, 3, 62] from Operation: 86-24=62
Current State: 50:[4, 3, 62], Operations: ['86-24=62']
Exploring Operation: 4*3=12, Resulting Numbers: [62, 12]
Generated Node #3: [62, 12] from Operation: 4*3=12
Current State: 50:[62, 12], Operations: ['86-24=62', '4*3=12']
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[86, 4, 24, 3], Operations: []
Exploring Operation: 86-3=83, Resulting Numbers: [4, 24, 83]
Generated Node #0,0: 50:[4, 24, 83] Operation: 86-3=83
Exploring Operation: 86-24=62, Resulting Numbers: [4, 3, 62]
Generated Node #0,1: 50:[4, 3, 62] Operation: 86-24=62
Exploring Operation: 24/4=6, Resulting Numbers: [86, 3, 6]
Generated Node #0,2: 50:[86, 3, 6] Operation: 24/4=6
Exploring Operation: 4-3=1, Resulting Numbers: [86, 24, 1]
Generated Node #0,3: 50:[86, 24, 1] Operation: 4-3=1
Exploring Operation: 86-4=82, Resulting Numbers: [24, 3, 82]
Generated Node #0,4: 50:[24, 3, 82] Operation: 86-4=82
Moving to Node #0,1
Current State: 50:[4, 3, 62], Operations: ['86-24=62']
Exploring Operation: 62-4=58, Resulting Numbers: [3, 58]
Generated Node #0,1,0: 50:[3, 58] Operation: 62-4=58
Exploring Operation: 4*3=12, Resulting Numbers: [62, 12]
Generated Node #0,1,1: 50:[62, 12] Operation: 4*3=12
Exploring Operation: 4+3=7, Resulting Numbers: [62, 7]
Generated Node #0,1,2: 50:[62, 7] Operation: 4+3=7
Exploring Operation: 4-3=1, Resulting Numbers: [62, 1]
Generated Node #0,1,3: 50:[62, 1] Operation: 4-3=1
Exploring Operation: 62-3=59, Resulting Numbers: [4, 59]
Generated Node #0,1,4: 50:[4, 59] Operation: 62-3=59
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[3, 58], Operations: ['86-24=62', '62-4=58']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,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:[4, 59], Operations: ['86-24=62', '62-3=59']
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,50 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,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:[62, 1], Operations: ['86-24=62', '4-3=1']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,50 unequal: No Solution
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,50 unequal: No Solution
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,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:[62, 12], Operations: ['86-24=62', '4*3=12']
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,50 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[86, 4, 24, 3], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [4, 3, 62]
Generated Node #0,1: 50:[4, 3, 62] Operation: 86-24=62
Moving to Node #0,1
Current State: 50:[4, 3, 62], Operations: ['86-24=62']
Exploring Operation: 4*3=12, Resulting Numbers: [62, 12]
Generated Node #0,1,1: 50:[62, 12] Operation: 4*3=12
Moving to Node #0,1,1
Current State: 50:[62, 12], Operations: ['86-24=62', '4*3=12']
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
9,
36,
5,
27
] | 34 | [
"27/9=3",
"36-5=31",
"3+31=34"
] | Current State: 34:[9, 36, 5, 27], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [36, 5, 3]
Generated Node #2: [36, 5, 3] from Operation: 27/9=3
Current State: 34:[36, 5, 3], Operations: ['27/9=3']
Exploring Operation: 36-5=31, Resulting Numbers: [3, 31]
Generated Node #3: [3, 31] from Operation: 36-5=31
Current State: 34:[3, 31], Operations: ['27/9=3', '36-5=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[9, 36, 5, 27], Operations: []
Exploring Operation: 27-9=18, Resulting Numbers: [36, 5, 18]
Generated Node #0,0: 34:[36, 5, 18] Operation: 27-9=18
Exploring Operation: 9+27=36, Resulting Numbers: [36, 5, 36]
Generated Node #0,1: 34:[36, 5, 36] Operation: 9+27=36
Exploring Operation: 27/9=3, Resulting Numbers: [36, 5, 3]
Generated Node #0,2: 34:[36, 5, 3] Operation: 27/9=3
Exploring Operation: 9-5=4, Resulting Numbers: [36, 27, 4]
Generated Node #0,3: 34:[36, 27, 4] Operation: 9-5=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[36, 5, 18], Operations: ['27-9=18']
Exploring Operation: 36-18=18, Resulting Numbers: [5, 18]
Generated Node #0,0,0: 34:[5, 18] Operation: 36-18=18
Exploring Operation: 36-5=31, Resulting Numbers: [18, 31]
Generated Node #0,0,1: 34:[18, 31] Operation: 36-5=31
Exploring Operation: 36/18=2, Resulting Numbers: [5, 2]
Generated Node #0,0,2: 34:[5, 2] Operation: 36/18=2
Exploring Operation: 18-5=13, Resulting Numbers: [36, 13]
Generated Node #0,0,3: 34:[36, 13] Operation: 18-5=13
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[5, 2], Operations: ['27-9=18', '36/18=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[5, 18], Operations: ['27-9=18', '36-18=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[18, 31], Operations: ['27-9=18', '36-5=31']
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,34 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 34:[36, 13], Operations: ['27-9=18', '18-5=13']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,34 unequal: No Solution
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[36, 5, 3], Operations: ['27/9=3']
Exploring Operation: 36-5=31, Resulting Numbers: [3, 31]
Generated Node #0,2,0: 34:[3, 31] Operation: 36-5=31
Exploring Operation: 36-3=33, Resulting Numbers: [5, 33]
Generated Node #0,2,1: 34:[5, 33] Operation: 36-3=33
Exploring Operation: 5-3=2, Resulting Numbers: [36, 2]
Generated Node #0,2,2: 34:[36, 2] Operation: 5-3=2
Exploring Operation: 5*3=15, Resulting Numbers: [36, 15]
Generated Node #0,2,3: 34:[36, 15] Operation: 5*3=15
Moving to Node #0,2,2
Current State: 34:[36, 2], Operations: ['27/9=3', '5-3=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[9, 36, 5, 27], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [36, 5, 3]
Generated Node #0,2: 34:[36, 5, 3] Operation: 27/9=3
Moving to Node #0,2
Current State: 34:[36, 5, 3], Operations: ['27/9=3']
Exploring Operation: 5-3=2, Resulting Numbers: [36, 2]
Generated Node #0,2,2: 34:[36, 2] Operation: 5-3=2
Moving to Node #0,2,2
Current State: 34:[36, 2], Operations: ['27/9=3', '5-3=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
4,
11,
73,
25
] | 83 | [
"4+11=15",
"73+25=98",
"98-15=83"
] | Current State: 83:[4, 11, 73, 25], Operations: []
Exploring Operation: 4+11=15, Resulting Numbers: [73, 25, 15]
Generated Node #2: [73, 25, 15] from Operation: 4+11=15
Current State: 83:[73, 25, 15], Operations: ['4+11=15']
Exploring Operation: 73+25=98, Resulting Numbers: [15, 98]
Generated Node #3: [15, 98] from Operation: 73+25=98
Current State: 83:[15, 98], Operations: ['4+11=15', '73+25=98']
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[4, 11, 73, 25], Operations: []
Exploring Operation: 4*11=44, Resulting Numbers: [73, 25, 44]
Generated Node #0,0: 83:[73, 25, 44] Operation: 4*11=44
Exploring Operation: 4*25=100, Resulting Numbers: [11, 73, 100]
Generated Node #0,1: 83:[11, 73, 100] Operation: 4*25=100
Exploring Operation: 4+11=15, Resulting Numbers: [73, 25, 15]
Generated Node #0,2: 83:[73, 25, 15] Operation: 4+11=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[11, 73, 100], Operations: ['4*25=100']
Exploring Operation: 73-11=62, Resulting Numbers: [100, 62]
Generated Node #0,1,0: 83:[100, 62] Operation: 73-11=62
Exploring Operation: 100-11=89, Resulting Numbers: [73, 89]
Generated Node #0,1,1: 83:[73, 89] Operation: 100-11=89
Exploring Operation: 11+73=84, Resulting Numbers: [100, 84]
Generated Node #0,1,2: 83:[100, 84] Operation: 11+73=84
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[73, 89], Operations: ['4*25=100', '100-11=89']
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 73*89=6497, Resulting Numbers: [6497]
6497,83 unequal: No Solution
Exploring Operation: 73+89=162, Resulting Numbers: [162]
162,83 unequal: No Solution
No 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: 83:[100, 84], Operations: ['4*25=100', '11+73=84']
Exploring Operation: 100-84=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 100*84=8400, Resulting Numbers: [8400]
8400,83 unequal: No Solution
Exploring Operation: 100+84=184, Resulting Numbers: [184]
184,83 unequal: No Solution
No 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: 83:[100, 62], Operations: ['4*25=100', '73-11=62']
Exploring Operation: 100-62=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Exploring Operation: 100+62=162, Resulting Numbers: [162]
162,83 unequal: No Solution
Exploring Operation: 100*62=6200, Resulting Numbers: [6200]
6200,83 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: 83:[73, 25, 44], Operations: ['4*11=44']
Exploring Operation: 73+25=98, Resulting Numbers: [44, 98]
Generated Node #0,0,0: 83:[44, 98] Operation: 73+25=98
Exploring Operation: 25+44=69, Resulting Numbers: [73, 69]
Generated Node #0,0,1: 83:[73, 69] Operation: 25+44=69
Exploring Operation: 73-25=48, Resulting Numbers: [44, 48]
Generated Node #0,0,2: 83:[44, 48] Operation: 73-25=48
Moving to Node #0,0,1
Current State: 83:[73, 69], Operations: ['4*11=44', '25+44=69']
Exploring Operation: 73*69=5037, Resulting Numbers: [5037]
5037,83 unequal: No Solution
Exploring Operation: 73+69=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 73-69=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[44, 98], Operations: ['4*11=44', '73+25=98']
Exploring Operation: 98-44=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 44*98=4312, Resulting Numbers: [4312]
4312,83 unequal: No Solution
Exploring Operation: 44+98=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[44, 48], Operations: ['4*11=44', '73-25=48']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,83 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[73, 25, 15], Operations: ['4+11=15']
Exploring Operation: 25+15=40, Resulting Numbers: [73, 40]
Generated Node #0,2,0: 83:[73, 40] Operation: 25+15=40
Exploring Operation: 73+25=98, Resulting Numbers: [15, 98]
Generated Node #0,2,1: 83:[15, 98] Operation: 73+25=98
Exploring Operation: 73+15=88, Resulting Numbers: [25, 88]
Generated Node #0,2,2: 83:[25, 88] Operation: 73+15=88
Moving to Node #0,2,0
Current State: 83:[73, 40], Operations: ['4+11=15', '25+15=40']
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 73*40=2920, Resulting Numbers: [2920]
2920,83 unequal: No Solution
Exploring Operation: 73+40=113, Resulting Numbers: [113]
113,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[25, 88], Operations: ['4+11=15', '73+15=88']
Exploring Operation: 25*88=2200, Resulting Numbers: [2200]
2200,83 unequal: No Solution
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Exploring Operation: 25+88=113, Resulting Numbers: [113]
113,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[15, 98], Operations: ['4+11=15', '73+25=98']
Exploring Operation: 15*98=1470, Resulting Numbers: [1470]
1470,83 unequal: No Solution
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[4, 11, 73, 25], Operations: []
Exploring Operation: 4+11=15, Resulting Numbers: [73, 25, 15]
Generated Node #0,2: 83:[73, 25, 15] Operation: 4+11=15
Moving to Node #0,2
Current State: 83:[73, 25, 15], Operations: ['4+11=15']
Exploring Operation: 73+25=98, Resulting Numbers: [15, 98]
Generated Node #0,2,1: 83:[15, 98] Operation: 73+25=98
Moving to Node #0,2,1
Current State: 83:[15, 98], Operations: ['4+11=15', '73+25=98']
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_3 | sum_heuristic |
[
29,
31,
57,
45
] | 69 | [
"31-29=2",
"57*2=114",
"114-45=69"
] | Current State: 69:[29, 31, 57, 45], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [57, 45, 2]
Generated Node #2: [57, 45, 2] from Operation: 31-29=2
Current State: 69:[57, 45, 2], Operations: ['31-29=2']
Exploring Operation: 57*2=114, Resulting Numbers: [45, 114]
Generated Node #3: [45, 114] from Operation: 57*2=114
Current State: 69:[45, 114], Operations: ['31-29=2', '57*2=114']
Exploring Operation: 114-45=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[29, 31, 57, 45], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [29, 31, 12]
Generated Node #0,0: 69:[29, 31, 12] Operation: 57-45=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[29, 31, 12], Operations: ['57-45=12']
Exploring Operation: 31-29=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 69:[12, 2] Operation: 31-29=2
Moving to Node #0,0,0
Current State: 69:[12, 2], Operations: ['57-45=12', '31-29=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,69 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 |
[
57,
82,
50,
7
] | 38 | [
"57*50=2850",
"82-7=75",
"2850/75=38"
] | Current State: 38:[57, 82, 50, 7], Operations: []
Exploring Operation: 57*50=2850, Resulting Numbers: [82, 7, 2850]
Generated Node #2: [82, 7, 2850] from Operation: 57*50=2850
Current State: 38:[82, 7, 2850], Operations: ['57*50=2850']
Exploring Operation: 82-7=75, Resulting Numbers: [2850, 75]
Generated Node #3: [2850, 75] from Operation: 82-7=75
Current State: 38:[2850, 75], Operations: ['57*50=2850', '82-7=75']
Exploring Operation: 2850/75=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[57, 82, 50, 7], Operations: []
Exploring Operation: 82-57=25, Resulting Numbers: [50, 7, 25]
Generated Node #0,0: 38:[50, 7, 25] Operation: 82-57=25
Exploring Operation: 82-50=32, Resulting Numbers: [57, 7, 32]
Generated Node #0,1: 38:[57, 7, 32] Operation: 82-50=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[50, 7, 25], Operations: ['82-57=25']
Exploring Operation: 50/25=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 38:[7, 2] Operation: 50/25=2
Exploring Operation: 50-7=43, Resulting Numbers: [25, 43]
Generated Node #0,0,1: 38:[25, 43] Operation: 50-7=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[7, 2], Operations: ['82-57=25', '50/25=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,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:[25, 43], Operations: ['82-57=25', '50-7=43']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[57, 7, 32], Operations: ['82-50=32']
Exploring Operation: 57-32=25, Resulting Numbers: [7, 25]
Generated Node #0,1,0: 38:[7, 25] Operation: 57-32=25
Exploring Operation: 57-7=50, Resulting Numbers: [32, 50]
Generated Node #0,1,1: 38:[32, 50] Operation: 57-7=50
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[7, 25], Operations: ['82-50=32', '57-32=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[32, 50], Operations: ['82-50=32', '57-7=50']
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,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 |
[
32,
6,
89,
88
] | 39 | [
"32+6=38",
"89-88=1",
"38+1=39"
] | Current State: 39:[32, 6, 89, 88], Operations: []
Exploring Operation: 32+6=38, Resulting Numbers: [89, 88, 38]
Generated Node #2: [89, 88, 38] from Operation: 32+6=38
Current State: 39:[89, 88, 38], Operations: ['32+6=38']
Exploring Operation: 89-88=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 89-88=1
Current State: 39:[38, 1], Operations: ['32+6=38', '89-88=1']
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[32, 6, 89, 88], Operations: []
Exploring Operation: 89-88=1, Resulting Numbers: [32, 6, 1]
Generated Node #0,0: 39:[32, 6, 1] Operation: 89-88=1
Moving to Node #0,0
Current State: 39:[32, 6, 1], Operations: ['89-88=1']
Exploring Operation: 32+6=38, Resulting Numbers: [1, 38]
Generated Node #0,0,0: 39:[1, 38] Operation: 32+6=38
Moving to Node #0,0,0
Current State: 39:[1, 38], Operations: ['89-88=1', '32+6=38']
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[32, 6, 89, 88], Operations: []
Exploring Operation: 89-88=1, Resulting Numbers: [32, 6, 1]
Generated Node #0,0: 39:[32, 6, 1] Operation: 89-88=1
Moving to Node #0,0
Current State: 39:[32, 6, 1], Operations: ['89-88=1']
Exploring Operation: 32+6=38, Resulting Numbers: [1, 38]
Generated Node #0,0,0: 39:[1, 38] Operation: 32+6=38
Moving to Node #0,0,0
Current State: 39:[1, 38], Operations: ['89-88=1', '32+6=38']
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
80,
4,
16,
12
] | 32 | [
"80*4=320",
"320/16=20",
"12+20=32"
] | Current State: 32:[80, 4, 16, 12], Operations: []
Exploring Operation: 80*4=320, Resulting Numbers: [16, 12, 320]
Generated Node #2: [16, 12, 320] from Operation: 80*4=320
Current State: 32:[16, 12, 320], Operations: ['80*4=320']
Exploring Operation: 320/16=20, Resulting Numbers: [12, 20]
Generated Node #3: [12, 20] from Operation: 320/16=20
Current State: 32:[12, 20], Operations: ['80*4=320', '320/16=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[80, 4, 16, 12], Operations: []
Exploring Operation: 80/16=5, Resulting Numbers: [4, 12, 5]
Generated Node #0,0: 32:[4, 12, 5] Operation: 80/16=5
Moving to Node #0,0
Current State: 32:[4, 12, 5], Operations: ['80/16=5']
Exploring Operation: 4+12=16, Resulting Numbers: [5, 16]
Generated Node #0,0,0: 32:[5, 16] Operation: 4+12=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[5, 16], Operations: ['80/16=5', '4+12=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,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 | sum_heuristic |
[
48,
39,
58,
5
] | 44 | [
"48-39=9",
"58-5=53",
"53-9=44"
] | Current State: 44:[48, 39, 58, 5], Operations: []
Exploring Operation: 48-39=9, Resulting Numbers: [58, 5, 9]
Generated Node #2: [58, 5, 9] from Operation: 48-39=9
Current State: 44:[58, 5, 9], Operations: ['48-39=9']
Exploring Operation: 58-5=53, Resulting Numbers: [9, 53]
Generated Node #3: [9, 53] from Operation: 58-5=53
Current State: 44:[9, 53], Operations: ['48-39=9', '58-5=53']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[48, 39, 58, 5], Operations: []
Exploring Operation: 58-39=19, Resulting Numbers: [48, 5, 19]
Generated Node #0,0: 44:[48, 5, 19] Operation: 58-39=19
Exploring Operation: 48-39=9, Resulting Numbers: [58, 5, 9]
Generated Node #0,1: 44:[58, 5, 9] Operation: 48-39=9
Exploring Operation: 58-48=10, Resulting Numbers: [39, 5, 10]
Generated Node #0,2: 44:[39, 5, 10] Operation: 58-48=10
Moving to Node #0,2
Current State: 44:[39, 5, 10], Operations: ['58-48=10']
Exploring Operation: 10/5=2, Resulting Numbers: [39, 2]
Generated Node #0,2,0: 44:[39, 2] Operation: 10/5=2
Exploring Operation: 39+10=49, Resulting Numbers: [5, 49]
Generated Node #0,2,1: 44:[5, 49] Operation: 39+10=49
Exploring Operation: 39+5=44, Resulting Numbers: [10, 44]
Generated Node #0,2,2: 44:[10, 44] Operation: 39+5=44
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 44:[10, 44], Operations: ['58-48=10', '39+5=44']
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,44 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 44:[39, 2], Operations: ['58-48=10', '10/5=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,44 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,44 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[5, 49], Operations: ['58-48=10', '39+10=49']
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,44 unequal: No Solution
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[48, 39, 58, 5], Operations: []
Exploring Operation: 58-48=10, Resulting Numbers: [39, 5, 10]
Generated Node #0,2: 44:[39, 5, 10] Operation: 58-48=10
Moving to Node #0,2
Current State: 44:[39, 5, 10], Operations: ['58-48=10']
Exploring Operation: 39+10=49, Resulting Numbers: [5, 49]
Generated Node #0,2,1: 44:[5, 49] Operation: 39+10=49
Moving to Node #0,2,1
Current State: 44:[5, 49], Operations: ['58-48=10', '39+10=49']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
73,
55,
40,
50
] | 72 | [
"73-55=18",
"40+50=90",
"90-18=72"
] | Current State: 72:[73, 55, 40, 50], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [40, 50, 18]
Generated Node #2: [40, 50, 18] from Operation: 73-55=18
Current State: 72:[40, 50, 18], Operations: ['73-55=18']
Exploring Operation: 40+50=90, Resulting Numbers: [18, 90]
Generated Node #3: [18, 90] from Operation: 40+50=90
Current State: 72:[18, 90], Operations: ['73-55=18', '40+50=90']
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[73, 55, 40, 50], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [40, 50, 18]
Generated Node #0,0: 72:[40, 50, 18] Operation: 73-55=18
Exploring Operation: 55-40=15, Resulting Numbers: [73, 50, 15]
Generated Node #0,1: 72:[73, 50, 15] Operation: 55-40=15
Exploring Operation: 55-50=5, Resulting Numbers: [73, 40, 5]
Generated Node #0,2: 72:[73, 40, 5] Operation: 55-50=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[73, 40, 5], Operations: ['55-50=5']
Exploring Operation: 40/5=8, Resulting Numbers: [73, 8]
Generated Node #0,2,0: 72:[73, 8] Operation: 40/5=8
Exploring Operation: 73-40=33, Resulting Numbers: [5, 33]
Generated Node #0,2,1: 72:[5, 33] Operation: 73-40=33
Exploring Operation: 40-5=35, Resulting Numbers: [73, 35]
Generated Node #0,2,2: 72:[73, 35] Operation: 40-5=35
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[73, 8], Operations: ['55-50=5', '40/5=8']
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,72 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,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,2
Current State: 72:[73, 35], Operations: ['55-50=5', '40-5=35']
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,72 unequal: No Solution
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,72 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,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:[5, 33], Operations: ['55-50=5', '73-40=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,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:[40, 50, 18], Operations: ['73-55=18']
Exploring Operation: 50-40=10, Resulting Numbers: [18, 10]
Generated Node #0,0,0: 72:[18, 10] Operation: 50-40=10
Exploring Operation: 50-18=32, Resulting Numbers: [40, 32]
Generated Node #0,0,1: 72:[40, 32] Operation: 50-18=32
Exploring Operation: 50+18=68, Resulting Numbers: [40, 68]
Generated Node #0,0,2: 72:[40, 68] Operation: 50+18=68
Moving to Node #0,0,0
Current State: 72:[18, 10], Operations: ['73-55=18', '50-40=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[40, 32], Operations: ['73-55=18', '50-18=32']
Exploring Operation: 40+32=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[73, 55, 40, 50], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [40, 50, 18]
Generated Node #0,0: 72:[40, 50, 18] Operation: 73-55=18
Moving to Node #0,0
Current State: 72:[40, 50, 18], Operations: ['73-55=18']
Exploring Operation: 50-18=32, Resulting Numbers: [40, 32]
Generated Node #0,0,1: 72:[40, 32] Operation: 50-18=32
Moving to Node #0,0,1
Current State: 72:[40, 32], Operations: ['73-55=18', '50-18=32']
Exploring Operation: 40+32=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
7,
91,
18,
66
] | 79 | [
"18+66=84",
"84/7=12",
"91-12=79"
] | Current State: 79:[7, 91, 18, 66], Operations: []
Exploring Operation: 18+66=84, Resulting Numbers: [7, 91, 84]
Generated Node #2: [7, 91, 84] from Operation: 18+66=84
Current State: 79:[7, 91, 84], Operations: ['18+66=84']
Exploring Operation: 84/7=12, Resulting Numbers: [91, 12]
Generated Node #3: [91, 12] from Operation: 84/7=12
Current State: 79:[91, 12], Operations: ['18+66=84', '84/7=12']
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[7, 91, 18, 66], Operations: []
Exploring Operation: 91-7=84, Resulting Numbers: [18, 66, 84]
Generated Node #0,0: 79:[18, 66, 84] Operation: 91-7=84
Exploring Operation: 7*18=126, Resulting Numbers: [91, 66, 126]
Generated Node #0,1: 79:[91, 66, 126] Operation: 7*18=126
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[91, 66, 126], Operations: ['7*18=126']
Exploring Operation: 126-91=35, Resulting Numbers: [66, 35]
Generated Node #0,1,0: 79:[66, 35] Operation: 126-91=35
Exploring Operation: 126-66=60, Resulting Numbers: [91, 60]
Generated Node #0,1,1: 79:[91, 60] Operation: 126-66=60
Moving to Node #0,1,1
Current State: 79:[91, 60], Operations: ['7*18=126', '126-66=60']
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 91+60=151, Resulting Numbers: [151]
151,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[66, 35], Operations: ['7*18=126', '126-91=35']
Exploring Operation: 66+35=101, Resulting Numbers: [101]
101,79 unequal: No Solution
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[18, 66, 84], Operations: ['91-7=84']
Exploring Operation: 18+66=84, Resulting Numbers: [84, 84]
Generated Node #0,0,0: 79:[84, 84] Operation: 18+66=84
Exploring Operation: 84-18=66, Resulting Numbers: [66, 66]
Generated Node #0,0,1: 79:[66, 66] Operation: 84-18=66
Moving to Node #0,0,0
Current State: 79:[84, 84], Operations: ['91-7=84', '18+66=84']
Exploring Operation: 84/84=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 84-84=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[66, 66], Operations: ['91-7=84', '84-18=66']
Exploring Operation: 66/66=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 66+66=132, Resulting Numbers: [132]
132,79 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,
12,
86,
65
] | 34 | [
"1+12=13",
"86-65=21",
"13+21=34"
] | Current State: 34:[1, 12, 86, 65], Operations: []
Exploring Operation: 1+12=13, Resulting Numbers: [86, 65, 13]
Generated Node #2: [86, 65, 13] from Operation: 1+12=13
Current State: 34:[86, 65, 13], Operations: ['1+12=13']
Exploring Operation: 86-65=21, Resulting Numbers: [13, 21]
Generated Node #3: [13, 21] from Operation: 86-65=21
Current State: 34:[13, 21], Operations: ['1+12=13', '86-65=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[1, 12, 86, 65], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [1, 12, 21]
Generated Node #0,0: 34:[1, 12, 21] Operation: 86-65=21
Exploring Operation: 86-12=74, Resulting Numbers: [1, 65, 74]
Generated Node #0,1: 34:[1, 65, 74] Operation: 86-12=74
Moving to Node #0,0
Current State: 34:[1, 12, 21], Operations: ['86-65=21']
Exploring Operation: 12+21=33, Resulting Numbers: [1, 33]
Generated Node #0,0,0: 34:[1, 33] Operation: 12+21=33
Exploring Operation: 1+12=13, Resulting Numbers: [21, 13]
Generated Node #0,0,1: 34:[21, 13] Operation: 1+12=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[1, 33], Operations: ['86-65=21', '12+21=33']
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[1, 12, 86, 65], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [1, 12, 21]
Generated Node #0,0: 34:[1, 12, 21] Operation: 86-65=21
Moving to Node #0,0
Current State: 34:[1, 12, 21], Operations: ['86-65=21']
Exploring Operation: 12+21=33, Resulting Numbers: [1, 33]
Generated Node #0,0,0: 34:[1, 33] Operation: 12+21=33
Moving to Node #0,0,0
Current State: 34:[1, 33], Operations: ['86-65=21', '12+21=33']
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
79,
53,
29,
28
] | 26 | [
"79-53=26",
"29-28=1",
"26*1=26"
] | Current State: 26:[79, 53, 29, 28], Operations: []
Exploring Operation: 79-53=26, Resulting Numbers: [29, 28, 26]
Generated Node #2: [29, 28, 26] from Operation: 79-53=26
Current State: 26:[29, 28, 26], Operations: ['79-53=26']
Exploring Operation: 29-28=1, Resulting Numbers: [26, 1]
Generated Node #3: [26, 1] from Operation: 29-28=1
Current State: 26:[26, 1], Operations: ['79-53=26', '29-28=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[79, 53, 29, 28], Operations: []
Exploring Operation: 79-29=50, Resulting Numbers: [53, 28, 50]
Generated Node #0,0: 26:[53, 28, 50] Operation: 79-29=50
Exploring Operation: 79-53=26, Resulting Numbers: [29, 28, 26]
Generated Node #0,1: 26:[29, 28, 26] Operation: 79-53=26
Exploring Operation: 79-28=51, Resulting Numbers: [53, 29, 51]
Generated Node #0,2: 26:[53, 29, 51] Operation: 79-28=51
Exploring Operation: 53-29=24, Resulting Numbers: [79, 28, 24]
Generated Node #0,3: 26:[79, 28, 24] Operation: 53-29=24
Moving to Node #0,1
Current State: 26:[29, 28, 26], Operations: ['79-53=26']
Exploring Operation: 28-26=2, Resulting Numbers: [29, 2]
Generated Node #0,1,0: 26:[29, 2] Operation: 28-26=2
Exploring Operation: 29+28=57, Resulting Numbers: [26, 57]
Generated Node #0,1,1: 26:[26, 57] Operation: 29+28=57
Exploring Operation: 29-28=1, Resulting Numbers: [26, 1]
Generated Node #0,1,2: 26:[26, 1] Operation: 29-28=1
Exploring Operation: 29-26=3, Resulting Numbers: [28, 3]
Generated Node #0,1,3: 26:[28, 3] Operation: 29-26=3
Moving to Node #0,0
Current State: 26:[53, 28, 50], Operations: ['79-29=50']
Exploring Operation: 50-28=22, Resulting Numbers: [53, 22]
Generated Node #0,0,0: 26:[53, 22] Operation: 50-28=22
Exploring Operation: 53-28=25, Resulting Numbers: [50, 25]
Generated Node #0,0,1: 26:[50, 25] Operation: 53-28=25
Exploring Operation: 53+28=81, Resulting Numbers: [50, 81]
Generated Node #0,0,2: 26:[50, 81] Operation: 53+28=81
Exploring Operation: 53-50=3, Resulting Numbers: [28, 3]
Generated Node #0,0,3: 26:[28, 3] Operation: 53-50=3
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[28, 3], Operations: ['79-29=50', '53-50=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[50, 25], Operations: ['79-29=50', '53-28=25']
Exploring Operation: 50*25=1250, Resulting Numbers: [1250]
1250,26 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[53, 22], Operations: ['79-29=50', '50-28=22']
Exploring Operation: 53*22=1166, Resulting Numbers: [1166]
1166,26 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[50, 81], Operations: ['79-29=50', '53+28=81']
Exploring Operation: 50*81=4050, Resulting Numbers: [4050]
4050,26 unequal: No Solution
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 50+81=131, Resulting Numbers: [131]
131,26 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: 26:[53, 29, 51], Operations: ['79-28=51']
Exploring Operation: 53+29=82, Resulting Numbers: [51, 82]
Generated Node #0,2,0: 26:[51, 82] Operation: 53+29=82
Exploring Operation: 53-29=24, Resulting Numbers: [51, 24]
Generated Node #0,2,1: 26:[51, 24] Operation: 53-29=24
Exploring Operation: 53-51=2, Resulting Numbers: [29, 2]
Generated Node #0,2,2: 26:[29, 2] Operation: 53-51=2
Exploring Operation: 51-29=22, Resulting Numbers: [53, 22]
Generated Node #0,2,3: 26:[53, 22] Operation: 51-29=22
Moving to Node #0,3
Current State: 26:[79, 28, 24], Operations: ['53-29=24']
Exploring Operation: 79-28=51, Resulting Numbers: [24, 51]
Generated Node #0,3,0: 26:[24, 51] Operation: 79-28=51
Exploring Operation: 28-24=4, Resulting Numbers: [79, 4]
Generated Node #0,3,1: 26:[79, 4] Operation: 28-24=4
Exploring Operation: 79+24=103, Resulting Numbers: [28, 103]
Generated Node #0,3,2: 26:[28, 103] Operation: 79+24=103
Exploring Operation: 79-24=55, Resulting Numbers: [28, 55]
Generated Node #0,3,3: 26:[28, 55] Operation: 79-24=55
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[24, 51], Operations: ['53-29=24', '79-28=51']
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 24+51=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 24*51=1224, Resulting Numbers: [1224]
1224,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[28, 55], Operations: ['53-29=24', '79-24=55']
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,26 unequal: No Solution
Exploring Operation: 28*55=1540, Resulting Numbers: [1540]
1540,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[79, 4], Operations: ['53-29=24', '28-24=4']
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,26 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[28, 103], Operations: ['53-29=24', '79+24=103']
Exploring Operation: 28+103=131, Resulting Numbers: [131]
131,26 unequal: No Solution
Exploring Operation: 103-28=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 28*103=2884, Resulting Numbers: [2884]
2884,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 26:[26, 1], Operations: ['79-53=26', '29-28=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[79, 53, 29, 28], Operations: []
Exploring Operation: 79-53=26, Resulting Numbers: [29, 28, 26]
Generated Node #0,1: 26:[29, 28, 26] Operation: 79-53=26
Moving to Node #0,1
Current State: 26:[29, 28, 26], Operations: ['79-53=26']
Exploring Operation: 29-28=1, Resulting Numbers: [26, 1]
Generated Node #0,1,2: 26:[26, 1] Operation: 29-28=1
Moving to Node #0,1,2
Current State: 26:[26, 1], Operations: ['79-53=26', '29-28=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.956597 | hs_4 | sum_heuristic |
[
47,
66,
62,
24
] | 75 | [
"47+66=113",
"62-24=38",
"113-38=75"
] | Current State: 75:[47, 66, 62, 24], Operations: []
Exploring Operation: 47+66=113, Resulting Numbers: [62, 24, 113]
Generated Node #2: [62, 24, 113] from Operation: 47+66=113
Current State: 75:[62, 24, 113], Operations: ['47+66=113']
Exploring Operation: 62-24=38, Resulting Numbers: [113, 38]
Generated Node #3: [113, 38] from Operation: 62-24=38
Current State: 75:[113, 38], Operations: ['47+66=113', '62-24=38']
Exploring Operation: 113-38=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[47, 66, 62, 24], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [47, 24, 4]
Generated Node #0,0: 75:[47, 24, 4] Operation: 66-62=4
Exploring Operation: 47+24=71, Resulting Numbers: [66, 62, 71]
Generated Node #0,1: 75:[66, 62, 71] Operation: 47+24=71
Exploring Operation: 66-47=19, Resulting Numbers: [62, 24, 19]
Generated Node #0,2: 75:[62, 24, 19] Operation: 66-47=19
Exploring Operation: 62-47=15, Resulting Numbers: [66, 24, 15]
Generated Node #0,3: 75:[66, 24, 15] Operation: 62-47=15
Exploring Operation: 47-24=23, Resulting Numbers: [66, 62, 23]
Generated Node #0,4: 75:[66, 62, 23] Operation: 47-24=23
Moving to Node #0,3
Current State: 75:[66, 24, 15], Operations: ['62-47=15']
Exploring Operation: 24-15=9, Resulting Numbers: [66, 9]
Generated Node #0,3,0: 75:[66, 9] Operation: 24-15=9
Exploring Operation: 24+15=39, Resulting Numbers: [66, 39]
Generated Node #0,3,1: 75:[66, 39] Operation: 24+15=39
Exploring Operation: 66-24=42, Resulting Numbers: [15, 42]
Generated Node #0,3,2: 75:[15, 42] Operation: 66-24=42
Exploring Operation: 66+15=81, Resulting Numbers: [24, 81]
Generated Node #0,3,3: 75:[24, 81] Operation: 66+15=81
Exploring Operation: 66+24=90, Resulting Numbers: [15, 90]
Generated Node #0,3,4: 75:[15, 90] Operation: 66+24=90
Moving to Node #0,2
Current State: 75:[62, 24, 19], Operations: ['66-47=19']
Exploring Operation: 62-19=43, Resulting Numbers: [24, 43]
Generated Node #0,2,0: 75:[24, 43] Operation: 62-19=43
Exploring Operation: 24-19=5, Resulting Numbers: [62, 5]
Generated Node #0,2,1: 75:[62, 5] Operation: 24-19=5
Exploring Operation: 62+19=81, Resulting Numbers: [24, 81]
Generated Node #0,2,2: 75:[24, 81] Operation: 62+19=81
Exploring Operation: 62+24=86, Resulting Numbers: [19, 86]
Generated Node #0,2,3: 75:[19, 86] Operation: 62+24=86
Exploring Operation: 62-24=38, Resulting Numbers: [19, 38]
Generated Node #0,2,4: 75:[19, 38] Operation: 62-24=38
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[24, 81], Operations: ['66-47=19', '62+19=81']
Exploring Operation: 24*81=1944, Resulting Numbers: [1944]
1944,75 unequal: No Solution
Exploring Operation: 24+81=105, Resulting Numbers: [105]
105,75 unequal: No Solution
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,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,1
Current State: 75:[62, 5], Operations: ['66-47=19', '24-19=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 62*5=310, Resulting Numbers: [310]
310,75 unequal: No Solution
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,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,3
Current State: 75:[19, 86], Operations: ['66-47=19', '62+24=86']
Exploring Operation: 19*86=1634, Resulting Numbers: [1634]
1634,75 unequal: No Solution
Exploring Operation: 19+86=105, Resulting Numbers: [105]
105,75 unequal: No Solution
Exploring Operation: 86-19=67, Resulting Numbers: [67]
67,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,4
Current State: 75:[19, 38], Operations: ['66-47=19', '62-24=38']
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,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:[24, 43], Operations: ['66-47=19', '62-19=43']
Exploring Operation: 24*43=1032, Resulting Numbers: [1032]
1032,75 unequal: No Solution
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,75 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: 75:[47, 24, 4], Operations: ['66-62=4']
Exploring Operation: 47+24=71, Resulting Numbers: [4, 71]
Generated Node #0,0,0: 75:[4, 71] Operation: 47+24=71
Exploring Operation: 47-4=43, Resulting Numbers: [24, 43]
Generated Node #0,0,1: 75:[24, 43] Operation: 47-4=43
Exploring Operation: 24/4=6, Resulting Numbers: [47, 6]
Generated Node #0,0,2: 75:[47, 6] Operation: 24/4=6
Exploring Operation: 47+4=51, Resulting Numbers: [24, 51]
Generated Node #0,0,3: 75:[24, 51] Operation: 47+4=51
Exploring Operation: 47-24=23, Resulting Numbers: [4, 23]
Generated Node #0,0,4: 75:[4, 23] Operation: 47-24=23
Moving to Node #0,4
Current State: 75:[66, 62, 23], Operations: ['47-24=23']
Exploring Operation: 62+23=85, Resulting Numbers: [66, 85]
Generated Node #0,4,0: 75:[66, 85] Operation: 62+23=85
Exploring Operation: 66-62=4, Resulting Numbers: [23, 4]
Generated Node #0,4,1: 75:[23, 4] Operation: 66-62=4
Exploring Operation: 62-23=39, Resulting Numbers: [66, 39]
Generated Node #0,4,2: 75:[66, 39] Operation: 62-23=39
Exploring Operation: 66+23=89, Resulting Numbers: [62, 89]
Generated Node #0,4,3: 75:[62, 89] Operation: 66+23=89
Exploring Operation: 66-23=43, Resulting Numbers: [62, 43]
Generated Node #0,4,4: 75:[62, 43] Operation: 66-23=43
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 75:[23, 4], Operations: ['47-24=23', '66-62=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,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,4,0
Current State: 75:[66, 85], Operations: ['47-24=23', '62+23=85']
Exploring Operation: 66*85=5610, Resulting Numbers: [5610]
5610,75 unequal: No Solution
Exploring Operation: 66+85=151, Resulting Numbers: [151]
151,75 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,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,4,2
Current State: 75:[66, 39], Operations: ['47-24=23', '62-23=39']
Exploring Operation: 66-39=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 66*39=2574, Resulting Numbers: [2574]
2574,75 unequal: No Solution
Exploring Operation: 66+39=105, Resulting Numbers: [105]
105,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,4,3
Current State: 75:[62, 89], Operations: ['47-24=23', '66+23=89']
Exploring Operation: 62+89=151, Resulting Numbers: [151]
151,75 unequal: No Solution
Exploring Operation: 62*89=5518, Resulting Numbers: [5518]
5518,75 unequal: No Solution
Exploring Operation: 89-62=27, Resulting Numbers: [27]
27,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,4,4
Current State: 75:[62, 43], Operations: ['47-24=23', '66-23=43']
Exploring Operation: 62*43=2666, Resulting Numbers: [2666]
2666,75 unequal: No Solution
Exploring Operation: 62+43=105, Resulting Numbers: [105]
105,75 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,75 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: 75:[66, 62, 71], Operations: ['47+24=71']
Exploring Operation: 62+71=133, Resulting Numbers: [66, 133]
Generated Node #0,1,0: 75:[66, 133] Operation: 62+71=133
Exploring Operation: 71-62=9, Resulting Numbers: [66, 9]
Generated Node #0,1,1: 75:[66, 9] Operation: 71-62=9
Exploring Operation: 66-62=4, Resulting Numbers: [71, 4]
Generated Node #0,1,2: 75:[71, 4] Operation: 66-62=4
Exploring Operation: 66+62=128, Resulting Numbers: [71, 128]
Generated Node #0,1,3: 75:[71, 128] Operation: 66+62=128
Exploring Operation: 71-66=5, Resulting Numbers: [62, 5]
Generated Node #0,1,4: 75:[62, 5] Operation: 71-66=5
Moving to Node #0,0,4
Current State: 75:[4, 23], Operations: ['66-62=4', '47-24=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,75 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[4, 71], Operations: ['66-62=4', '47+24=71']
Exploring Operation: 4*71=284, Resulting Numbers: [284]
284,75 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[47, 66, 62, 24], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [47, 24, 4]
Generated Node #0,0: 75:[47, 24, 4] Operation: 66-62=4
Moving to Node #0,0
Current State: 75:[47, 24, 4], Operations: ['66-62=4']
Exploring Operation: 47+24=71, Resulting Numbers: [4, 71]
Generated Node #0,0,0: 75:[4, 71] Operation: 47+24=71
Moving to Node #0,0,0
Current State: 75:[4, 71], Operations: ['66-62=4', '47+24=71']
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.938368 | hs_5 | sum_heuristic |
[
27,
78,
65,
14
] | 59 | [
"27-14=13",
"78/13=6",
"65-6=59"
] | Current State: 59:[27, 78, 65, 14], Operations: []
Exploring Operation: 27-14=13, Resulting Numbers: [78, 65, 13]
Generated Node #2: [78, 65, 13] from Operation: 27-14=13
Current State: 59:[78, 65, 13], Operations: ['27-14=13']
Exploring Operation: 78/13=6, Resulting Numbers: [65, 6]
Generated Node #3: [65, 6] from Operation: 78/13=6
Current State: 59:[65, 6], Operations: ['27-14=13', '78/13=6']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[27, 78, 65, 14], Operations: []
Exploring Operation: 78-14=64, Resulting Numbers: [27, 65, 64]
Generated Node #0,0: 59:[27, 65, 64] Operation: 78-14=64
Exploring Operation: 27+14=41, Resulting Numbers: [78, 65, 41]
Generated Node #0,1: 59:[78, 65, 41] Operation: 27+14=41
Exploring Operation: 78-27=51, Resulting Numbers: [65, 14, 51]
Generated Node #0,2: 59:[65, 14, 51] Operation: 78-27=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[27, 65, 64], Operations: ['78-14=64']
Exploring Operation: 65-27=38, Resulting Numbers: [64, 38]
Generated Node #0,0,0: 59:[64, 38] Operation: 65-27=38
Exploring Operation: 64-27=37, Resulting Numbers: [65, 37]
Generated Node #0,0,1: 59:[65, 37] Operation: 64-27=37
Exploring Operation: 27+65=92, Resulting Numbers: [64, 92]
Generated Node #0,0,2: 59:[64, 92] Operation: 27+65=92
Moving to Node #0,0,0
Current State: 59:[64, 38], Operations: ['78-14=64', '65-27=38']
Exploring Operation: 64+38=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 64*38=2432, Resulting Numbers: [2432]
2432,59 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[65, 37], Operations: ['78-14=64', '64-27=37']
Exploring Operation: 65*37=2405, Resulting Numbers: [2405]
2405,59 unequal: No Solution
Exploring Operation: 65+37=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 65-37=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[64, 92], Operations: ['78-14=64', '27+65=92']
Exploring Operation: 64+92=156, Resulting Numbers: [156]
156,59 unequal: No Solution
Exploring Operation: 64*92=5888, Resulting Numbers: [5888]
5888,59 unequal: No Solution
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[78, 65, 41], Operations: ['27+14=41']
Exploring Operation: 78-65=13, Resulting Numbers: [41, 13]
Generated Node #0,1,0: 59:[41, 13] Operation: 78-65=13
Exploring Operation: 78-41=37, Resulting Numbers: [65, 37]
Generated Node #0,1,1: 59:[65, 37] Operation: 78-41=37
Exploring Operation: 65-41=24, Resulting Numbers: [78, 24]
Generated Node #0,1,2: 59:[78, 24] Operation: 65-41=24
Moving to Node #0,1,1
Current State: 59:[65, 37], Operations: ['27+14=41', '78-41=37']
Exploring Operation: 65*37=2405, Resulting Numbers: [2405]
2405,59 unequal: No Solution
Exploring Operation: 65+37=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 65-37=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[78, 24], Operations: ['27+14=41', '65-41=24']
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[41, 13], Operations: ['27+14=41', '78-65=13']
Exploring Operation: 41+13=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 41*13=533, Resulting Numbers: [533]
533,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[65, 14, 51], Operations: ['78-27=51']
Exploring Operation: 65-14=51, Resulting Numbers: [51, 51]
Generated Node #0,2,0: 59:[51, 51] Operation: 65-14=51
Exploring Operation: 14+51=65, Resulting Numbers: [65, 65]
Generated Node #0,2,1: 59:[65, 65] Operation: 14+51=65
Exploring Operation: 65+14=79, Resulting Numbers: [51, 79]
Generated Node #0,2,2: 59:[51, 79] Operation: 65+14=79
Moving to Node #0,2,1
Current State: 59:[65, 65], Operations: ['78-27=51', '14+51=65']
Exploring Operation: 65/65=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 65+65=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 65-65=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[51, 51], Operations: ['78-27=51', '65-14=51']
Exploring Operation: 51+51=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 51-51=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 51/51=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[51, 79], Operations: ['78-27=51', '65+14=79']
Exploring Operation: 51*79=4029, Resulting Numbers: [4029]
4029,59 unequal: No Solution
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 51+79=130, Resulting Numbers: [130]
130,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
13,
18,
34,
21
] | 89 | [
"21-18=3",
"34*3=102",
"102-13=89"
] | Current State: 89:[13, 18, 34, 21], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [13, 34, 3]
Generated Node #2: [13, 34, 3] from Operation: 21-18=3
Current State: 89:[13, 34, 3], Operations: ['21-18=3']
Exploring Operation: 34*3=102, Resulting Numbers: [13, 102]
Generated Node #3: [13, 102] from Operation: 34*3=102
Current State: 89:[13, 102], Operations: ['21-18=3', '34*3=102']
Exploring Operation: 102-13=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[13, 18, 34, 21], Operations: []
Exploring Operation: 13+21=34, Resulting Numbers: [18, 34, 34]
Generated Node #0,0: 89:[18, 34, 34] Operation: 13+21=34
Exploring Operation: 13+34=47, Resulting Numbers: [18, 21, 47]
Generated Node #0,1: 89:[18, 21, 47] Operation: 13+34=47
Exploring Operation: 13+18=31, Resulting Numbers: [34, 21, 31]
Generated Node #0,2: 89:[34, 21, 31] Operation: 13+18=31
Moving to Node #0,0
Current State: 89:[18, 34, 34], Operations: ['13+21=34']
Exploring Operation: 18+34=52, Resulting Numbers: [34, 52]
Generated Node #0,0,0: 89:[34, 52] Operation: 18+34=52
Exploring Operation: 18+34=52, Resulting Numbers: [34, 52]
Generated Node #0,0,1: 89:[34, 52] Operation: 18+34=52
Exploring Operation: 34+34=68, Resulting Numbers: [18, 68]
Generated Node #0,0,2: 89:[18, 68] Operation: 34+34=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[34, 52], Operations: ['13+21=34', '18+34=52']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[34, 52], Operations: ['13+21=34', '18+34=52']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[18, 68], Operations: ['13+21=34', '34+34=68']
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,89 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 89:[18, 21, 47], Operations: ['13+34=47']
Exploring Operation: 18+47=65, Resulting Numbers: [21, 65]
Generated Node #0,1,0: 89:[21, 65] Operation: 18+47=65
Exploring Operation: 21+47=68, Resulting Numbers: [18, 68]
Generated Node #0,1,1: 89:[18, 68] Operation: 21+47=68
Exploring Operation: 18+21=39, Resulting Numbers: [47, 39]
Generated Node #0,1,2: 89:[47, 39] Operation: 18+21=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[21, 65], Operations: ['13+34=47', '18+47=65']
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,89 unequal: No Solution
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,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,1
Current State: 89:[18, 68], Operations: ['13+34=47', '21+47=68']
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,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,2
Current State: 89:[47, 39], Operations: ['13+34=47', '18+21=39']
Exploring Operation: 47+39=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Exploring Operation: 47*39=1833, Resulting Numbers: [1833]
1833,89 unequal: No Solution
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 89:[34, 21, 31], Operations: ['13+18=31']
Exploring Operation: 34+31=65, Resulting Numbers: [21, 65]
Generated Node #0,2,0: 89:[21, 65] Operation: 34+31=65
Exploring Operation: 21+31=52, Resulting Numbers: [34, 52]
Generated Node #0,2,1: 89:[34, 52] Operation: 21+31=52
Exploring Operation: 34+21=55, Resulting Numbers: [31, 55]
Generated Node #0,2,2: 89:[31, 55] Operation: 34+21=55
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[21, 65], Operations: ['13+18=31', '34+31=65']
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,89 unequal: No Solution
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[34, 52], Operations: ['13+18=31', '21+31=52']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,89 unequal: No Solution
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[31, 55], Operations: ['13+18=31', '34+21=55']
Exploring Operation: 31+55=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Exploring Operation: 31*55=1705, Resulting Numbers: [1705]
1705,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
60,
26,
19,
25
] | 40 | [
"60-26=34",
"25-19=6",
"34+6=40"
] | Current State: 40:[60, 26, 19, 25], Operations: []
Exploring Operation: 60-26=34, Resulting Numbers: [19, 25, 34]
Generated Node #2: [19, 25, 34] from Operation: 60-26=34
Current State: 40:[19, 25, 34], Operations: ['60-26=34']
Exploring Operation: 25-19=6, Resulting Numbers: [34, 6]
Generated Node #3: [34, 6] from Operation: 25-19=6
Current State: 40:[34, 6], Operations: ['60-26=34', '25-19=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[60, 26, 19, 25], Operations: []
Exploring Operation: 60-26=34, Resulting Numbers: [19, 25, 34]
Generated Node #0,0: 40:[19, 25, 34] Operation: 60-26=34
Exploring Operation: 60-19=41, Resulting Numbers: [26, 25, 41]
Generated Node #0,1: 40:[26, 25, 41] Operation: 60-19=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[19, 25, 34], Operations: ['60-26=34']
Exploring Operation: 25-19=6, Resulting Numbers: [34, 6]
Generated Node #0,0,0: 40:[34, 6] Operation: 25-19=6
Exploring Operation: 34-25=9, Resulting Numbers: [19, 9]
Generated Node #0,0,1: 40:[19, 9] Operation: 34-25=9
Moving to Node #0,0,1
Current State: 40:[19, 9], Operations: ['60-26=34', '34-25=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[34, 6], Operations: ['60-26=34', '25-19=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[60, 26, 19, 25], Operations: []
Exploring Operation: 60-26=34, Resulting Numbers: [19, 25, 34]
Generated Node #0,0: 40:[19, 25, 34] Operation: 60-26=34
Moving to Node #0,0
Current State: 40:[19, 25, 34], Operations: ['60-26=34']
Exploring Operation: 25-19=6, Resulting Numbers: [34, 6]
Generated Node #0,0,0: 40:[34, 6] Operation: 25-19=6
Moving to Node #0,0,0
Current State: 40:[34, 6], Operations: ['60-26=34', '25-19=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
88,
91,
64,
85
] | 62 | [
"91+85=176",
"176/88=2",
"64-2=62"
] | Current State: 62:[88, 91, 64, 85], Operations: []
Exploring Operation: 91+85=176, Resulting Numbers: [88, 64, 176]
Generated Node #2: [88, 64, 176] from Operation: 91+85=176
Current State: 62:[88, 64, 176], Operations: ['91+85=176']
Exploring Operation: 176/88=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 176/88=2
Current State: 62:[64, 2], Operations: ['91+85=176', '176/88=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[88, 91, 64, 85], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [64, 85, 3]
Generated Node #0,0: 62:[64, 85, 3] Operation: 91-88=3
Exploring Operation: 88-85=3, Resulting Numbers: [91, 64, 3]
Generated Node #0,1: 62:[91, 64, 3] Operation: 88-85=3
Moving to Node #0,0
Current State: 62:[64, 85, 3], Operations: ['91-88=3']
Exploring Operation: 85-64=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 62:[3, 21] Operation: 85-64=21
Exploring Operation: 85-3=82, Resulting Numbers: [64, 82]
Generated Node #0,0,1: 62:[64, 82] Operation: 85-3=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[3, 21], Operations: ['91-88=3', '85-64=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[64, 82], Operations: ['91-88=3', '85-3=82']
Exploring Operation: 82-64=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 64+82=146, Resulting Numbers: [146]
146,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[91, 64, 3], Operations: ['88-85=3']
Exploring Operation: 91-64=27, Resulting Numbers: [3, 27]
Generated Node #0,1,0: 62:[3, 27] Operation: 91-64=27
Exploring Operation: 91-3=88, Resulting Numbers: [64, 88]
Generated Node #0,1,1: 62:[64, 88] Operation: 91-3=88
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[3, 27], Operations: ['88-85=3', '91-64=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[64, 88], Operations: ['88-85=3', '91-3=88']
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Exploring Operation: 64+88=152, Resulting Numbers: [152]
152,62 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 |
[
92,
68,
14,
4
] | 61 | [
"92-14=78",
"68/4=17",
"78-17=61"
] | Current State: 61:[92, 68, 14, 4], Operations: []
Exploring Operation: 92-14=78, Resulting Numbers: [68, 4, 78]
Generated Node #2: [68, 4, 78] from Operation: 92-14=78
Current State: 61:[68, 4, 78], Operations: ['92-14=78']
Exploring Operation: 68/4=17, Resulting Numbers: [78, 17]
Generated Node #3: [78, 17] from Operation: 68/4=17
Current State: 61:[78, 17], Operations: ['92-14=78', '68/4=17']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[92, 68, 14, 4], Operations: []
Exploring Operation: 14+4=18, Resulting Numbers: [92, 68, 18]
Generated Node #0,0: 61:[92, 68, 18] Operation: 14+4=18
Exploring Operation: 92-4=88, Resulting Numbers: [68, 14, 88]
Generated Node #0,1: 61:[68, 14, 88] Operation: 92-4=88
Exploring Operation: 68-4=64, Resulting Numbers: [92, 14, 64]
Generated Node #0,2: 61:[92, 14, 64] Operation: 68-4=64
Exploring Operation: 14*4=56, Resulting Numbers: [92, 68, 56]
Generated Node #0,3: 61:[92, 68, 56] Operation: 14*4=56
Exploring Operation: 92-14=78, Resulting Numbers: [68, 4, 78]
Generated Node #0,4: 61:[68, 4, 78] Operation: 92-14=78
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[92, 68, 56], Operations: ['14*4=56']
Exploring Operation: 68-56=12, Resulting Numbers: [92, 12]
Generated Node #0,3,0: 61:[92, 12] Operation: 68-56=12
Exploring Operation: 92-56=36, Resulting Numbers: [68, 36]
Generated Node #0,3,1: 61:[68, 36] Operation: 92-56=36
Exploring Operation: 92+56=148, Resulting Numbers: [68, 148]
Generated Node #0,3,2: 61:[68, 148] Operation: 92+56=148
Exploring Operation: 68+56=124, Resulting Numbers: [92, 124]
Generated Node #0,3,3: 61:[92, 124] Operation: 68+56=124
Exploring Operation: 92-68=24, Resulting Numbers: [56, 24]
Generated Node #0,3,4: 61:[56, 24] Operation: 92-68=24
Moving to Node #0,3,1
Current State: 61:[68, 36], Operations: ['14*4=56', '92-56=36']
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[56, 24], Operations: ['14*4=56', '92-68=24']
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,61 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[92, 12], Operations: ['14*4=56', '68-56=12']
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,61 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[68, 148], Operations: ['14*4=56', '92+56=148']
Exploring Operation: 68+148=216, Resulting Numbers: [216]
216,61 unequal: No Solution
Exploring Operation: 68*148=10064, Resulting Numbers: [10064]
10064,61 unequal: No Solution
Exploring Operation: 148-68=80, Resulting Numbers: [80]
80,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[92, 124], Operations: ['14*4=56', '68+56=124']
Exploring Operation: 92*124=11408, Resulting Numbers: [11408]
11408,61 unequal: No Solution
Exploring Operation: 92+124=216, Resulting Numbers: [216]
216,61 unequal: No Solution
Exploring Operation: 124-92=32, Resulting Numbers: [32]
32,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[92, 68, 18], Operations: ['14+4=18']
Exploring Operation: 92-18=74, Resulting Numbers: [68, 74]
Generated Node #0,0,0: 61:[68, 74] Operation: 92-18=74
Exploring Operation: 68+18=86, Resulting Numbers: [92, 86]
Generated Node #0,0,1: 61:[92, 86] Operation: 68+18=86
Exploring Operation: 92+18=110, Resulting Numbers: [68, 110]
Generated Node #0,0,2: 61:[68, 110] Operation: 92+18=110
Exploring Operation: 92-68=24, Resulting Numbers: [18, 24]
Generated Node #0,0,3: 61:[18, 24] Operation: 92-68=24
Exploring Operation: 68-18=50, Resulting Numbers: [92, 50]
Generated Node #0,0,4: 61:[92, 50] Operation: 68-18=50
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[68, 74], Operations: ['14+4=18', '92-18=74']
Exploring Operation: 68*74=5032, Resulting Numbers: [5032]
5032,61 unequal: No Solution
Exploring Operation: 68+74=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 61:[92, 50], Operations: ['14+4=18', '68-18=50']
Exploring Operation: 92*50=4600, Resulting Numbers: [4600]
4600,61 unequal: No Solution
Exploring Operation: 92+50=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Exploring Operation: 92-50=42, Resulting Numbers: [42]
42,61 unequal: No Solution
No 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: 61:[92, 86], Operations: ['14+4=18', '68+18=86']
Exploring Operation: 92-86=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 92*86=7912, Resulting Numbers: [7912]
7912,61 unequal: No Solution
Exploring Operation: 92+86=178, Resulting Numbers: [178]
178,61 unequal: No Solution
No 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: 61:[68, 110], Operations: ['14+4=18', '92+18=110']
Exploring Operation: 68+110=178, Resulting Numbers: [178]
178,61 unequal: No Solution
Exploring Operation: 110-68=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 68*110=7480, Resulting Numbers: [7480]
7480,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 61:[18, 24], Operations: ['14+4=18', '92-68=24']
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,61 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,61 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: 61:[68, 14, 88], Operations: ['92-4=88']
Exploring Operation: 14+88=102, Resulting Numbers: [68, 102]
Generated Node #0,1,0: 61:[68, 102] Operation: 14+88=102
Exploring Operation: 88-68=20, Resulting Numbers: [14, 20]
Generated Node #0,1,1: 61:[14, 20] Operation: 88-68=20
Exploring Operation: 68-14=54, Resulting Numbers: [88, 54]
Generated Node #0,1,2: 61:[88, 54] Operation: 68-14=54
Exploring Operation: 68+14=82, Resulting Numbers: [88, 82]
Generated Node #0,1,3: 61:[88, 82] Operation: 68+14=82
Exploring Operation: 88-14=74, Resulting Numbers: [68, 74]
Generated Node #0,1,4: 61:[68, 74] Operation: 88-14=74
Moving to Node #0,1,4
Current State: 61:[68, 74], Operations: ['92-4=88', '88-14=74']
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 68*74=5032, Resulting Numbers: [5032]
5032,61 unequal: No Solution
Exploring Operation: 68+74=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[88, 54], Operations: ['92-4=88', '68-14=54']
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 88+54=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Exploring Operation: 88*54=4752, Resulting Numbers: [4752]
4752,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[68, 102], Operations: ['92-4=88', '14+88=102']
Exploring Operation: 102-68=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 68+102=170, Resulting Numbers: [170]
170,61 unequal: No Solution
Exploring Operation: 68*102=6936, Resulting Numbers: [6936]
6936,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[88, 82], Operations: ['92-4=88', '68+14=82']
Exploring Operation: 88*82=7216, Resulting Numbers: [7216]
7216,61 unequal: No Solution
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 88+82=170, Resulting Numbers: [170]
170,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[14, 20], Operations: ['92-4=88', '88-68=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,61 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[92, 14, 64], Operations: ['68-4=64']
Exploring Operation: 14+64=78, Resulting Numbers: [92, 78]
Generated Node #0,2,0: 61:[92, 78] Operation: 14+64=78
Exploring Operation: 92+14=106, Resulting Numbers: [64, 106]
Generated Node #0,2,1: 61:[64, 106] Operation: 92+14=106
Exploring Operation: 92-64=28, Resulting Numbers: [14, 28]
Generated Node #0,2,2: 61:[14, 28] Operation: 92-64=28
Exploring Operation: 92-14=78, Resulting Numbers: [64, 78]
Generated Node #0,2,3: 61:[64, 78] Operation: 92-14=78
Exploring Operation: 64-14=50, Resulting Numbers: [92, 50]
Generated Node #0,2,4: 61:[92, 50] Operation: 64-14=50
Moving to Node #0,2,3
Current State: 61:[64, 78], Operations: ['68-4=64', '92-14=78']
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 64*78=4992, Resulting Numbers: [4992]
4992,61 unequal: No Solution
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Moving to Node #0,2,4
Current State: 61:[92, 50], Operations: ['68-4=64', '64-14=50']
Exploring Operation: 92-50=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 92*50=4600, Resulting Numbers: [4600]
4600,61 unequal: No Solution
Exploring Operation: 92+50=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[92, 78], Operations: ['68-4=64', '14+64=78']
Exploring Operation: 92-78=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 92*78=7176, Resulting Numbers: [7176]
7176,61 unequal: No Solution
Exploring Operation: 92+78=170, Resulting Numbers: [170]
170,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[64, 106], Operations: ['68-4=64', '92+14=106']
Exploring Operation: 64*106=6784, Resulting Numbers: [6784]
6784,61 unequal: No Solution
Exploring Operation: 106-64=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 64+106=170, Resulting Numbers: [170]
170,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[14, 28], Operations: ['68-4=64', '92-64=28']
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,61 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 61:[68, 4, 78], Operations: ['92-14=78']
Exploring Operation: 4+78=82, Resulting Numbers: [68, 82]
Generated Node #0,4,0: 61:[68, 82] Operation: 4+78=82
Exploring Operation: 68+4=72, Resulting Numbers: [78, 72]
Generated Node #0,4,1: 61:[78, 72] Operation: 68+4=72
Exploring Operation: 78-4=74, Resulting Numbers: [68, 74]
Generated Node #0,4,2: 61:[68, 74] Operation: 78-4=74
Exploring Operation: 68/4=17, Resulting Numbers: [78, 17]
Generated Node #0,4,3: 61:[78, 17] Operation: 68/4=17
Exploring Operation: 68-4=64, Resulting Numbers: [78, 64]
Generated Node #0,4,4: 61:[78, 64] Operation: 68-4=64
Moving to Node #0,4,2
Current State: 61:[68, 74], Operations: ['92-14=78', '78-4=74']
Exploring Operation: 68+74=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Exploring Operation: 68*74=5032, Resulting Numbers: [5032]
5032,61 unequal: No Solution
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[78, 64], Operations: ['92-14=78', '68-4=64']
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 78+64=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Exploring Operation: 78*64=4992, Resulting Numbers: [4992]
4992,61 unequal: No Solution
Moving to Node #0,4,0
Current State: 61:[68, 82], Operations: ['92-14=78', '4+78=82']
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 68*82=5576, Resulting Numbers: [5576]
5576,61 unequal: No Solution
Exploring Operation: 68+82=150, Resulting Numbers: [150]
150,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[78, 72], Operations: ['92-14=78', '68+4=72']
Exploring Operation: 78*72=5616, Resulting Numbers: [5616]
5616,61 unequal: No Solution
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 78+72=150, Resulting Numbers: [150]
150,61 unequal: No Solution
Moving to Node #0,4,3
Current State: 61:[78, 17], Operations: ['92-14=78', '68/4=17']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[92, 68, 14, 4], Operations: []
Exploring Operation: 92-14=78, Resulting Numbers: [68, 4, 78]
Generated Node #0,4: 61:[68, 4, 78] Operation: 92-14=78
Moving to Node #0,4
Current State: 61:[68, 4, 78], Operations: ['92-14=78']
Exploring Operation: 68/4=17, Resulting Numbers: [78, 17]
Generated Node #0,4,3: 61:[78, 17] Operation: 68/4=17
Moving to Node #0,4,3
Current State: 61:[78, 17], Operations: ['92-14=78', '68/4=17']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.90625 | hs_5 | mult_heuristic |
[
74,
92,
34,
70
] | 54 | [
"92-74=18",
"70-34=36",
"18+36=54"
] | Current State: 54:[74, 92, 34, 70], Operations: []
Exploring Operation: 92-74=18, Resulting Numbers: [34, 70, 18]
Generated Node #2: [34, 70, 18] from Operation: 92-74=18
Current State: 54:[34, 70, 18], Operations: ['92-74=18']
Exploring Operation: 70-34=36, Resulting Numbers: [18, 36]
Generated Node #3: [18, 36] from Operation: 70-34=36
Current State: 54:[18, 36], Operations: ['92-74=18', '70-34=36']
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[74, 92, 34, 70], Operations: []
Exploring Operation: 92-74=18, Resulting Numbers: [34, 70, 18]
Generated Node #0,0: 54:[34, 70, 18] Operation: 92-74=18
Exploring Operation: 92-70=22, Resulting Numbers: [74, 34, 22]
Generated Node #0,1: 54:[74, 34, 22] Operation: 92-70=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[34, 70, 18], Operations: ['92-74=18']
Exploring Operation: 70-34=36, Resulting Numbers: [18, 36]
Generated Node #0,0,0: 54:[18, 36] Operation: 70-34=36
Exploring Operation: 70-18=52, Resulting Numbers: [34, 52]
Generated Node #0,0,1: 54:[34, 52] Operation: 70-18=52
Moving to Node #0,0,0
Current State: 54:[18, 36], Operations: ['92-74=18', '70-34=36']
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[74, 92, 34, 70], Operations: []
Exploring Operation: 92-74=18, Resulting Numbers: [34, 70, 18]
Generated Node #0,0: 54:[34, 70, 18] Operation: 92-74=18
Moving to Node #0,0
Current State: 54:[34, 70, 18], Operations: ['92-74=18']
Exploring Operation: 70-34=36, Resulting Numbers: [18, 36]
Generated Node #0,0,0: 54:[18, 36] Operation: 70-34=36
Moving to Node #0,0,0
Current State: 54:[18, 36], Operations: ['92-74=18', '70-34=36']
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
56,
47,
19,
50
] | 22 | [
"56-47=9",
"50-19=31",
"31-9=22"
] | Current State: 22:[56, 47, 19, 50], Operations: []
Exploring Operation: 56-47=9, Resulting Numbers: [19, 50, 9]
Generated Node #2: [19, 50, 9] from Operation: 56-47=9
Current State: 22:[19, 50, 9], Operations: ['56-47=9']
Exploring Operation: 50-19=31, Resulting Numbers: [9, 31]
Generated Node #3: [9, 31] from Operation: 50-19=31
Current State: 22:[9, 31], Operations: ['56-47=9', '50-19=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[56, 47, 19, 50], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [56, 19, 3]
Generated Node #0,0: 22:[56, 19, 3] Operation: 50-47=3
Exploring Operation: 56-47=9, Resulting Numbers: [19, 50, 9]
Generated Node #0,1: 22:[19, 50, 9] Operation: 56-47=9
Exploring Operation: 56-19=37, Resulting Numbers: [47, 50, 37]
Generated Node #0,2: 22:[47, 50, 37] Operation: 56-19=37
Exploring Operation: 56-50=6, Resulting Numbers: [47, 19, 6]
Generated Node #0,3: 22:[47, 19, 6] Operation: 56-50=6
Moving to Node #0,3
Current State: 22:[47, 19, 6], Operations: ['56-50=6']
Exploring Operation: 19-6=13, Resulting Numbers: [47, 13]
Generated Node #0,3,0: 22:[47, 13] Operation: 19-6=13
Exploring Operation: 19+6=25, Resulting Numbers: [47, 25]
Generated Node #0,3,1: 22:[47, 25] Operation: 19+6=25
Exploring Operation: 47-6=41, Resulting Numbers: [19, 41]
Generated Node #0,3,2: 22:[19, 41] Operation: 47-6=41
Exploring Operation: 47-19=28, Resulting Numbers: [6, 28]
Generated Node #0,3,3: 22:[6, 28] Operation: 47-19=28
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 22:[6, 28], Operations: ['56-50=6', '47-19=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[56, 47, 19, 50], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [47, 19, 6]
Generated Node #0,3: 22:[47, 19, 6] Operation: 56-50=6
Moving to Node #0,3
Current State: 22:[47, 19, 6], Operations: ['56-50=6']
Exploring Operation: 47-19=28, Resulting Numbers: [6, 28]
Generated Node #0,3,3: 22:[6, 28] Operation: 47-19=28
Moving to Node #0,3,3
Current State: 22:[6, 28], Operations: ['56-50=6', '47-19=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
74,
24,
2,
79
] | 58 | [
"74-24=50",
"79-50=29",
"2*29=58"
] | Current State: 58:[74, 24, 2, 79], Operations: []
Exploring Operation: 74-24=50, Resulting Numbers: [2, 79, 50]
Generated Node #2: [2, 79, 50] from Operation: 74-24=50
Current State: 58:[2, 79, 50], Operations: ['74-24=50']
Exploring Operation: 79-50=29, Resulting Numbers: [2, 29]
Generated Node #3: [2, 29] from Operation: 79-50=29
Current State: 58:[2, 29], Operations: ['74-24=50', '79-50=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[74, 24, 2, 79], Operations: []
Exploring Operation: 79-24=55, Resulting Numbers: [74, 2, 55]
Generated Node #0,0: 58:[74, 2, 55] Operation: 79-24=55
Exploring Operation: 79-74=5, Resulting Numbers: [24, 2, 5]
Generated Node #0,1: 58:[24, 2, 5] Operation: 79-74=5
Moving to Node #0,1
Current State: 58:[24, 2, 5], Operations: ['79-74=5']
Exploring Operation: 24+2=26, Resulting Numbers: [5, 26]
Generated Node #0,1,0: 58:[5, 26] Operation: 24+2=26
Exploring Operation: 24+5=29, Resulting Numbers: [2, 29]
Generated Node #0,1,1: 58:[2, 29] Operation: 24+5=29
Moving to Node #0,0
Current State: 58:[74, 2, 55], Operations: ['79-24=55']
Exploring Operation: 74/2=37, Resulting Numbers: [55, 37]
Generated Node #0,0,0: 58:[55, 37] Operation: 74/2=37
Exploring Operation: 74-55=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 58:[2, 19] Operation: 74-55=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[2, 19], Operations: ['79-24=55', '74-55=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[55, 37], Operations: ['79-24=55', '74/2=37']
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 55+37=92, Resulting Numbers: [92]
92,58 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: 58:[2, 29], Operations: ['79-74=5', '24+5=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[74, 24, 2, 79], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [24, 2, 5]
Generated Node #0,1: 58:[24, 2, 5] Operation: 79-74=5
Moving to Node #0,1
Current State: 58:[24, 2, 5], Operations: ['79-74=5']
Exploring Operation: 24+5=29, Resulting Numbers: [2, 29]
Generated Node #0,1,1: 58:[2, 29] Operation: 24+5=29
Moving to Node #0,1,1
Current State: 58:[2, 29], Operations: ['79-74=5', '24+5=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
73,
90,
33,
41
] | 25 | [
"90-73=17",
"41-33=8",
"17+8=25"
] | Current State: 25:[73, 90, 33, 41], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [33, 41, 17]
Generated Node #2: [33, 41, 17] from Operation: 90-73=17
Current State: 25:[33, 41, 17], Operations: ['90-73=17']
Exploring Operation: 41-33=8, Resulting Numbers: [17, 8]
Generated Node #3: [17, 8] from Operation: 41-33=8
Current State: 25:[17, 8], Operations: ['90-73=17', '41-33=8']
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[73, 90, 33, 41], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [33, 41, 17]
Generated Node #0,0: 25:[33, 41, 17] Operation: 90-73=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[33, 41, 17], Operations: ['90-73=17']
Exploring Operation: 41-17=24, Resulting Numbers: [33, 24]
Generated Node #0,0,0: 25:[33, 24] Operation: 41-17=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[33, 24], Operations: ['90-73=17', '41-17=24']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
27,
99,
38
] | 96 | [
"62-27=35",
"99-38=61",
"35+61=96"
] | Current State: 96:[62, 27, 99, 38], Operations: []
Exploring Operation: 62-27=35, Resulting Numbers: [99, 38, 35]
Generated Node #2: [99, 38, 35] from Operation: 62-27=35
Current State: 96:[99, 38, 35], Operations: ['62-27=35']
Exploring Operation: 99-38=61, Resulting Numbers: [35, 61]
Generated Node #3: [35, 61] from Operation: 99-38=61
Current State: 96:[35, 61], Operations: ['62-27=35', '99-38=61']
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[62, 27, 99, 38], Operations: []
Exploring Operation: 62+38=100, Resulting Numbers: [27, 99, 100]
Generated Node #0,0: 96:[27, 99, 100] Operation: 62+38=100
Exploring Operation: 62-38=24, Resulting Numbers: [27, 99, 24]
Generated Node #0,1: 96:[27, 99, 24] Operation: 62-38=24
Exploring Operation: 62-27=35, Resulting Numbers: [99, 38, 35]
Generated Node #0,2: 96:[99, 38, 35] Operation: 62-27=35
Moving to Node #0,1
Current State: 96:[27, 99, 24], Operations: ['62-38=24']
Exploring Operation: 27-24=3, Resulting Numbers: [99, 3]
Generated Node #0,1,0: 96:[99, 3] Operation: 27-24=3
Exploring Operation: 27+24=51, Resulting Numbers: [99, 51]
Generated Node #0,1,1: 96:[99, 51] Operation: 27+24=51
Exploring Operation: 99-27=72, Resulting Numbers: [24, 72]
Generated Node #0,1,2: 96:[24, 72] Operation: 99-27=72
Moving to Node #0,0
Current State: 96:[27, 99, 100], Operations: ['62+38=100']
Exploring Operation: 99-27=72, Resulting Numbers: [100, 72]
Generated Node #0,0,0: 96:[100, 72] Operation: 99-27=72
Exploring Operation: 100-99=1, Resulting Numbers: [27, 1]
Generated Node #0,0,1: 96:[27, 1] Operation: 100-99=1
Exploring Operation: 100-27=73, Resulting Numbers: [99, 73]
Generated Node #0,0,2: 96:[99, 73] Operation: 100-27=73
Moving to Node #0,2
Current State: 96:[99, 38, 35], Operations: ['62-27=35']
Exploring Operation: 99-38=61, Resulting Numbers: [35, 61]
Generated Node #0,2,0: 96:[35, 61] Operation: 99-38=61
Exploring Operation: 99-35=64, Resulting Numbers: [38, 64]
Generated Node #0,2,1: 96:[38, 64] Operation: 99-35=64
Exploring Operation: 38-35=3, Resulting Numbers: [99, 3]
Generated Node #0,2,2: 96:[99, 3] Operation: 38-35=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[99, 3], Operations: ['62-27=35', '38-35=3']
Exploring Operation: 99+3=102, Resulting Numbers: [102]
102,96 unequal: No Solution
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[62, 27, 99, 38], Operations: []
Exploring Operation: 62-27=35, Resulting Numbers: [99, 38, 35]
Generated Node #0,2: 96:[99, 38, 35] Operation: 62-27=35
Moving to Node #0,2
Current State: 96:[99, 38, 35], Operations: ['62-27=35']
Exploring Operation: 38-35=3, Resulting Numbers: [99, 3]
Generated Node #0,2,2: 96:[99, 3] Operation: 38-35=3
Moving to Node #0,2,2
Current State: 96:[99, 3], Operations: ['62-27=35', '38-35=3']
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
46,
38,
9,
70
] | 23 | [
"46+38=84",
"70-9=61",
"84-61=23"
] | Current State: 23:[46, 38, 9, 70], Operations: []
Exploring Operation: 46+38=84, Resulting Numbers: [9, 70, 84]
Generated Node #2: [9, 70, 84] from Operation: 46+38=84
Current State: 23:[9, 70, 84], Operations: ['46+38=84']
Exploring Operation: 70-9=61, Resulting Numbers: [84, 61]
Generated Node #3: [84, 61] from Operation: 70-9=61
Current State: 23:[84, 61], Operations: ['46+38=84', '70-9=61']
Exploring Operation: 84-61=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[46, 38, 9, 70], Operations: []
Exploring Operation: 46-9=37, Resulting Numbers: [38, 70, 37]
Generated Node #0,0: 23:[38, 70, 37] Operation: 46-9=37
Exploring Operation: 70-38=32, Resulting Numbers: [46, 9, 32]
Generated Node #0,1: 23:[46, 9, 32] Operation: 70-38=32
Exploring Operation: 70-46=24, Resulting Numbers: [38, 9, 24]
Generated Node #0,2: 23:[38, 9, 24] Operation: 70-46=24
Exploring Operation: 38-9=29, Resulting Numbers: [46, 70, 29]
Generated Node #0,3: 23:[46, 70, 29] Operation: 38-9=29
Exploring Operation: 46-38=8, Resulting Numbers: [9, 70, 8]
Generated Node #0,4: 23:[9, 70, 8] Operation: 46-38=8
Moving to Node #0,2
Current State: 23:[38, 9, 24], Operations: ['70-46=24']
Exploring Operation: 38-24=14, Resulting Numbers: [9, 14]
Generated Node #0,2,0: 23:[9, 14] Operation: 38-24=14
Exploring Operation: 38-9=29, Resulting Numbers: [24, 29]
Generated Node #0,2,1: 23:[24, 29] Operation: 38-9=29
Exploring Operation: 9+24=33, Resulting Numbers: [38, 33]
Generated Node #0,2,2: 23:[38, 33] Operation: 9+24=33
Exploring Operation: 24-9=15, Resulting Numbers: [38, 15]
Generated Node #0,2,3: 23:[38, 15] Operation: 24-9=15
Exploring Operation: 38+9=47, Resulting Numbers: [24, 47]
Generated Node #0,2,4: 23:[24, 47] Operation: 38+9=47
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[24, 29], Operations: ['70-46=24', '38-9=29']
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,23 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,23 unequal: No Solution
No 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: 23:[9, 14], Operations: ['70-46=24', '38-24=14']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[46, 38, 9, 70], Operations: []
Exploring Operation: 70-46=24, Resulting Numbers: [38, 9, 24]
Generated Node #0,2: 23:[38, 9, 24] Operation: 70-46=24
Moving to Node #0,2
Current State: 23:[38, 9, 24], Operations: ['70-46=24']
Exploring Operation: 38-24=14, Resulting Numbers: [9, 14]
Generated Node #0,2,0: 23:[9, 14] Operation: 38-24=14
Moving to Node #0,2,0
Current State: 23:[9, 14], Operations: ['70-46=24', '38-24=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
18,
82,
57,
71
] | 78 | [
"82-18=64",
"71-57=14",
"64+14=78"
] | Current State: 78:[18, 82, 57, 71], Operations: []
Exploring Operation: 82-18=64, Resulting Numbers: [57, 71, 64]
Generated Node #2: [57, 71, 64] from Operation: 82-18=64
Current State: 78:[57, 71, 64], Operations: ['82-18=64']
Exploring Operation: 71-57=14, Resulting Numbers: [64, 14]
Generated Node #3: [64, 14] from Operation: 71-57=14
Current State: 78:[64, 14], Operations: ['82-18=64', '71-57=14']
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[18, 82, 57, 71], Operations: []
Exploring Operation: 71-57=14, Resulting Numbers: [18, 82, 14]
Generated Node #0,0: 78:[18, 82, 14] Operation: 71-57=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[18, 82, 14], Operations: ['71-57=14']
Exploring Operation: 18-14=4, Resulting Numbers: [82, 4]
Generated Node #0,0,0: 78:[82, 4] Operation: 18-14=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[82, 4], Operations: ['71-57=14', '18-14=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[18, 82, 57, 71], Operations: []
Exploring Operation: 71-57=14, Resulting Numbers: [18, 82, 14]
Generated Node #0,0: 78:[18, 82, 14] Operation: 71-57=14
Moving to Node #0,0
Current State: 78:[18, 82, 14], Operations: ['71-57=14']
Exploring Operation: 18-14=4, Resulting Numbers: [82, 4]
Generated Node #0,0,0: 78:[82, 4] Operation: 18-14=4
Moving to Node #0,0,0
Current State: 78:[82, 4], Operations: ['71-57=14', '18-14=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
40,
38,
58,
9
] | 29 | [
"40+38=78",
"58-9=49",
"78-49=29"
] | Current State: 29:[40, 38, 58, 9], Operations: []
Exploring Operation: 40+38=78, Resulting Numbers: [58, 9, 78]
Generated Node #2: [58, 9, 78] from Operation: 40+38=78
Current State: 29:[58, 9, 78], Operations: ['40+38=78']
Exploring Operation: 58-9=49, Resulting Numbers: [78, 49]
Generated Node #3: [78, 49] from Operation: 58-9=49
Current State: 29:[78, 49], Operations: ['40+38=78', '58-9=49']
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[40, 38, 58, 9], Operations: []
Exploring Operation: 40-9=31, Resulting Numbers: [38, 58, 31]
Generated Node #0,0: 29:[38, 58, 31] Operation: 40-9=31
Exploring Operation: 58-40=18, Resulting Numbers: [38, 9, 18]
Generated Node #0,1: 29:[38, 9, 18] Operation: 58-40=18
Moving to Node #0,0
Current State: 29:[38, 58, 31], Operations: ['40-9=31']
Exploring Operation: 58-31=27, Resulting Numbers: [38, 27]
Generated Node #0,0,0: 29:[38, 27] Operation: 58-31=27
Exploring Operation: 58-38=20, Resulting Numbers: [31, 20]
Generated Node #0,0,1: 29:[31, 20] Operation: 58-38=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[38, 27], Operations: ['40-9=31', '58-31=27']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,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,1
Current State: 29:[31, 20], Operations: ['40-9=31', '58-38=20']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,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:[38, 9, 18], Operations: ['58-40=18']
Exploring Operation: 38-9=29, Resulting Numbers: [18, 29]
Generated Node #0,1,0: 29:[18, 29] Operation: 38-9=29
Exploring Operation: 9+18=27, Resulting Numbers: [38, 27]
Generated Node #0,1,1: 29:[38, 27] Operation: 9+18=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[18, 29], Operations: ['58-40=18', '38-9=29']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,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:[38, 27], Operations: ['58-40=18', '9+18=27']
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
35,
79,
21,
2
] | 81 | [
"79-21=58",
"2*58=116",
"116-35=81"
] | Current State: 81:[35, 79, 21, 2], Operations: []
Exploring Operation: 79-21=58, Resulting Numbers: [35, 2, 58]
Generated Node #2: [35, 2, 58] from Operation: 79-21=58
Current State: 81:[35, 2, 58], Operations: ['79-21=58']
Exploring Operation: 2*58=116, Resulting Numbers: [35, 116]
Generated Node #3: [35, 116] from Operation: 2*58=116
Current State: 81:[35, 116], Operations: ['79-21=58', '2*58=116']
Exploring Operation: 116-35=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[35, 79, 21, 2], Operations: []
Exploring Operation: 21+2=23, Resulting Numbers: [35, 79, 23]
Generated Node #0,0: 81:[35, 79, 23] Operation: 21+2=23
Exploring Operation: 35-21=14, Resulting Numbers: [79, 2, 14]
Generated Node #0,1: 81:[79, 2, 14] Operation: 35-21=14
Exploring Operation: 79+2=81, Resulting Numbers: [35, 21, 81]
Generated Node #0,2: 81:[35, 21, 81] Operation: 79+2=81
Exploring Operation: 35+2=37, Resulting Numbers: [79, 21, 37]
Generated Node #0,3: 81:[79, 21, 37] Operation: 35+2=37
Exploring Operation: 35-2=33, Resulting Numbers: [79, 21, 33]
Generated Node #0,4: 81:[79, 21, 33] Operation: 35-2=33
Moving to Node #0,1
Current State: 81:[79, 2, 14], Operations: ['35-21=14']
Exploring Operation: 79-2=77, Resulting Numbers: [14, 77]
Generated Node #0,1,0: 81:[14, 77] Operation: 79-2=77
Exploring Operation: 14/2=7, Resulting Numbers: [79, 7]
Generated Node #0,1,1: 81:[79, 7] Operation: 14/2=7
Exploring Operation: 14-2=12, Resulting Numbers: [79, 12]
Generated Node #0,1,2: 81:[79, 12] Operation: 14-2=12
Exploring Operation: 2*14=28, Resulting Numbers: [79, 28]
Generated Node #0,1,3: 81:[79, 28] Operation: 2*14=28
Exploring Operation: 79+2=81, Resulting Numbers: [14, 81]
Generated Node #0,1,4: 81:[14, 81] Operation: 79+2=81
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 81:[79, 28], Operations: ['35-21=14', '2*14=28']
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,81 unequal: No Solution
Exploring Operation: 79*28=2212, Resulting Numbers: [2212]
2212,81 unequal: No Solution
Exploring Operation: 79+28=107, Resulting Numbers: [107]
107,81 unequal: No Solution
No 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: 81:[79, 7], Operations: ['35-21=14', '14/2=7']
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,81 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 79*7=553, Resulting Numbers: [553]
553,81 unequal: No Solution
No 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: 81:[79, 12], Operations: ['35-21=14', '14-2=12']
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,81 unequal: No Solution
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,81 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,81 unequal: No Solution
No 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: 81:[14, 81], Operations: ['35-21=14', '79+2=81']
Exploring Operation: 14*81=1134, Resulting Numbers: [1134]
1134,81 unequal: No Solution
Exploring Operation: 14+81=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,81 unequal: No Solution
No 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: 81:[14, 77], Operations: ['35-21=14', '79-2=77']
Exploring Operation: 77-14=63, Resulting Numbers: [63]
63,81 unequal: No Solution
Exploring Operation: 14*77=1078, Resulting Numbers: [1078]
1078,81 unequal: No Solution
Exploring Operation: 14+77=91, Resulting Numbers: [91]
91,81 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: 81:[35, 21, 81], Operations: ['79+2=81']
Exploring Operation: 35-21=14, Resulting Numbers: [81, 14]
Generated Node #0,2,0: 81:[81, 14] Operation: 35-21=14
Exploring Operation: 81-35=46, Resulting Numbers: [21, 46]
Generated Node #0,2,1: 81:[21, 46] Operation: 81-35=46
Exploring Operation: 35+21=56, Resulting Numbers: [81, 56]
Generated Node #0,2,2: 81:[81, 56] Operation: 35+21=56
Exploring Operation: 81-21=60, Resulting Numbers: [35, 60]
Generated Node #0,2,3: 81:[35, 60] Operation: 81-21=60
Exploring Operation: 21+81=102, Resulting Numbers: [35, 102]
Generated Node #0,2,4: 81:[35, 102] Operation: 21+81=102
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[81, 14], Operations: ['79+2=81', '35-21=14']
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,81 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,81 unequal: No Solution
No 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: 81:[21, 46], Operations: ['79+2=81', '81-35=46']
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,81 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,81 unequal: No Solution
No 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: 81:[81, 56], Operations: ['79+2=81', '35+21=56']
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 81*56=4536, Resulting Numbers: [4536]
4536,81 unequal: No Solution
Exploring Operation: 81+56=137, Resulting Numbers: [137]
137,81 unequal: No Solution
No 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: 81:[35, 60], Operations: ['79+2=81', '81-21=60']
Exploring Operation: 35+60=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 35*60=2100, Resulting Numbers: [2100]
2100,81 unequal: No Solution
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,81 unequal: No Solution
No 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: 81:[35, 102], Operations: ['79+2=81', '21+81=102']
Exploring Operation: 102-35=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 35*102=3570, Resulting Numbers: [3570]
3570,81 unequal: No Solution
Exploring Operation: 35+102=137, Resulting Numbers: [137]
137,81 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: 81:[35, 79, 23], Operations: ['21+2=23']
Exploring Operation: 79-35=44, Resulting Numbers: [23, 44]
Generated Node #0,0,0: 81:[23, 44] Operation: 79-35=44
Exploring Operation: 35-23=12, Resulting Numbers: [79, 12]
Generated Node #0,0,1: 81:[79, 12] Operation: 35-23=12
Exploring Operation: 79+23=102, Resulting Numbers: [35, 102]
Generated Node #0,0,2: 81:[35, 102] Operation: 79+23=102
Exploring Operation: 79-23=56, Resulting Numbers: [35, 56]
Generated Node #0,0,3: 81:[35, 56] Operation: 79-23=56
Exploring Operation: 35+23=58, Resulting Numbers: [79, 58]
Generated Node #0,0,4: 81:[79, 58] Operation: 35+23=58
Moving to Node #0,4
Current State: 81:[79, 21, 33], Operations: ['35-2=33']
Exploring Operation: 79-21=58, Resulting Numbers: [33, 58]
Generated Node #0,4,0: 81:[33, 58] Operation: 79-21=58
Exploring Operation: 21+33=54, Resulting Numbers: [79, 54]
Generated Node #0,4,1: 81:[79, 54] Operation: 21+33=54
Exploring Operation: 33-21=12, Resulting Numbers: [79, 12]
Generated Node #0,4,2: 81:[79, 12] Operation: 33-21=12
Exploring Operation: 79-33=46, Resulting Numbers: [21, 46]
Generated Node #0,4,3: 81:[21, 46] Operation: 79-33=46
Exploring Operation: 79+21=100, Resulting Numbers: [33, 100]
Generated Node #0,4,4: 81:[33, 100] Operation: 79+21=100
Moving to Node #0,3
Current State: 81:[79, 21, 37], Operations: ['35+2=37']
Exploring Operation: 37-21=16, Resulting Numbers: [79, 16]
Generated Node #0,3,0: 81:[79, 16] Operation: 37-21=16
Exploring Operation: 79-21=58, Resulting Numbers: [37, 58]
Generated Node #0,3,1: 81:[37, 58] Operation: 79-21=58
Exploring Operation: 79+21=100, Resulting Numbers: [37, 100]
Generated Node #0,3,2: 81:[37, 100] Operation: 79+21=100
Exploring Operation: 21+37=58, Resulting Numbers: [79, 58]
Generated Node #0,3,3: 81:[79, 58] Operation: 21+37=58
Exploring Operation: 79-37=42, Resulting Numbers: [21, 42]
Generated Node #0,3,4: 81:[21, 42] Operation: 79-37=42
Moving to Node #0,0,1
Current State: 81:[79, 12], Operations: ['21+2=23', '35-23=12']
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,81 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,81 unequal: No Solution
Moving to Node #0,4,2
Current State: 81:[79, 12], Operations: ['35-2=33', '33-21=12']
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,81 unequal: No Solution
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,81 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[79, 16], Operations: ['35+2=37', '37-21=16']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,81 unequal: No Solution
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 79*16=1264, Resulting Numbers: [1264]
1264,81 unequal: No Solution
Moving to Node #0,3,4
Current State: 81:[21, 42], Operations: ['35+2=37', '79-37=42']
Exploring Operation: 21*42=882, Resulting Numbers: [882]
882,81 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,81 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[23, 44], Operations: ['21+2=23', '79-35=44']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 23*44=1012, Resulting Numbers: [1012]
1012,81 unequal: No Solution
Moving to Node #0,4,3
Current State: 81:[21, 46], Operations: ['35-2=33', '79-33=46']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,81 unequal: No Solution
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[79, 58], Operations: ['35+2=37', '21+37=58']
Exploring Operation: 79+58=137, Resulting Numbers: [137]
137,81 unequal: No Solution
Exploring Operation: 79-58=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 79*58=4582, Resulting Numbers: [4582]
4582,81 unequal: No Solution
Moving to Node #0,4,4
Current State: 81:[33, 100], Operations: ['35-2=33', '79+21=100']
Exploring Operation: 33+100=133, Resulting Numbers: [133]
133,81 unequal: No Solution
Exploring Operation: 100-33=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 33*100=3300, Resulting Numbers: [3300]
3300,81 unequal: No Solution
Moving to Node #0,0,4
Current State: 81:[79, 58], Operations: ['21+2=23', '35+23=58']
Exploring Operation: 79+58=137, Resulting Numbers: [137]
137,81 unequal: No Solution
Exploring Operation: 79-58=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 79*58=4582, Resulting Numbers: [4582]
4582,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[37, 100], Operations: ['35+2=37', '79+21=100']
Exploring Operation: 37+100=137, Resulting Numbers: [137]
137,81 unequal: No Solution
Exploring Operation: 100-37=63, Resulting Numbers: [63]
63,81 unequal: No Solution
Exploring Operation: 37*100=3700, Resulting Numbers: [3700]
3700,81 unequal: No Solution
Moving to Node #0,4,1
Current State: 81:[79, 54], Operations: ['35-2=33', '21+33=54']
Exploring Operation: 79+54=133, Resulting Numbers: [133]
133,81 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 79*54=4266, Resulting Numbers: [4266]
4266,81 unequal: No Solution
Moving to Node #0,4,0
Current State: 81:[33, 58], Operations: ['35-2=33', '79-21=58']
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,81 unequal: No Solution
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[35, 102], Operations: ['21+2=23', '79+23=102']
Exploring Operation: 35+102=137, Resulting Numbers: [137]
137,81 unequal: No Solution
Exploring Operation: 102-35=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 35*102=3570, Resulting Numbers: [3570]
3570,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[37, 58], Operations: ['35+2=37', '79-21=58']
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 37+58=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 37*58=2146, Resulting Numbers: [2146]
2146,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[35, 56], Operations: ['21+2=23', '79-23=56']
Exploring Operation: 35+56=91, Resulting Numbers: [91]
91,81 unequal: No Solution
Exploring Operation: 35*56=1960, Resulting Numbers: [1960]
1960,81 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,81 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
4,
30,
3,
19
] | 33 | [
"4+19=23",
"30/3=10",
"23+10=33"
] | Current State: 33:[4, 30, 3, 19], Operations: []
Exploring Operation: 4+19=23, Resulting Numbers: [30, 3, 23]
Generated Node #2: [30, 3, 23] from Operation: 4+19=23
Current State: 33:[30, 3, 23], Operations: ['4+19=23']
Exploring Operation: 30/3=10, Resulting Numbers: [23, 10]
Generated Node #3: [23, 10] from Operation: 30/3=10
Current State: 33:[23, 10], Operations: ['4+19=23', '30/3=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[4, 30, 3, 19], Operations: []
Exploring Operation: 19-4=15, Resulting Numbers: [30, 3, 15]
Generated Node #0,0: 33:[30, 3, 15] Operation: 19-4=15
Exploring Operation: 4+30=34, Resulting Numbers: [3, 19, 34]
Generated Node #0,1: 33:[3, 19, 34] Operation: 4+30=34
Exploring Operation: 30+3=33, Resulting Numbers: [4, 19, 33]
Generated Node #0,2: 33:[4, 19, 33] Operation: 30+3=33
Exploring Operation: 30-19=11, Resulting Numbers: [4, 3, 11]
Generated Node #0,3: 33:[4, 3, 11] Operation: 30-19=11
Moving to Node #0,3
Current State: 33:[4, 3, 11], Operations: ['30-19=11']
Exploring Operation: 4+3=7, Resulting Numbers: [11, 7]
Generated Node #0,3,0: 33:[11, 7] Operation: 4+3=7
Exploring Operation: 4*3=12, Resulting Numbers: [11, 12]
Generated Node #0,3,1: 33:[11, 12] Operation: 4*3=12
Exploring Operation: 4-3=1, Resulting Numbers: [11, 1]
Generated Node #0,3,2: 33:[11, 1] Operation: 4-3=1
Exploring Operation: 3*11=33, Resulting Numbers: [4, 33]
Generated Node #0,3,3: 33:[4, 33] Operation: 3*11=33
Moving to Node #0,0
Current State: 33:[30, 3, 15], Operations: ['19-4=15']
Exploring Operation: 30-15=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 33:[3, 15] Operation: 30-15=15
Exploring Operation: 30+3=33, Resulting Numbers: [15, 33]
Generated Node #0,0,1: 33:[15, 33] Operation: 30+3=33
Exploring Operation: 15-3=12, Resulting Numbers: [30, 12]
Generated Node #0,0,2: 33:[30, 12] Operation: 15-3=12
Exploring Operation: 30/15=2, Resulting Numbers: [3, 2]
Generated Node #0,0,3: 33:[3, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 33:[3, 2], Operations: ['19-4=15', '30/15=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[3, 15], Operations: ['19-4=15', '30-15=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[15, 33], Operations: ['19-4=15', '30+3=33']
Exploring Operation: 15*33=495, Resulting Numbers: [495]
495,33 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 15+33=48, Resulting Numbers: [48]
48,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[30, 12], Operations: ['19-4=15', '15-3=12']
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 33:[4, 19, 33], Operations: ['30+3=33']
Exploring Operation: 19-4=15, Resulting Numbers: [33, 15]
Generated Node #0,2,0: 33:[33, 15] Operation: 19-4=15
Exploring Operation: 4+19=23, Resulting Numbers: [33, 23]
Generated Node #0,2,1: 33:[33, 23] Operation: 4+19=23
Exploring Operation: 4+33=37, Resulting Numbers: [19, 37]
Generated Node #0,2,2: 33:[19, 37] Operation: 4+33=37
Exploring Operation: 33-19=14, Resulting Numbers: [4, 14]
Generated Node #0,2,3: 33:[4, 14] Operation: 33-19=14
Moving to Node #0,1
Current State: 33:[3, 19, 34], Operations: ['4+30=34']
Exploring Operation: 3+19=22, Resulting Numbers: [34, 22]
Generated Node #0,1,0: 33:[34, 22] Operation: 3+19=22
Exploring Operation: 34-19=15, Resulting Numbers: [3, 15]
Generated Node #0,1,1: 33:[3, 15] Operation: 34-19=15
Exploring Operation: 19-3=16, Resulting Numbers: [34, 16]
Generated Node #0,1,2: 33:[34, 16] Operation: 19-3=16
Exploring Operation: 34-3=31, Resulting Numbers: [19, 31]
Generated Node #0,1,3: 33:[19, 31] Operation: 34-3=31
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[3, 15], Operations: ['4+30=34', '34-19=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 33:[34, 16], Operations: ['4+30=34', '19-3=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 33:[19, 31], Operations: ['4+30=34', '34-3=31']
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,33 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[34, 22], Operations: ['4+30=34', '3+19=22']
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,33 unequal: No Solution
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 33:[11, 12], Operations: ['30-19=11', '4*3=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,33 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[4, 33], Operations: ['30-19=11', '3*11=33']
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,33 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Moving to Node #0,3,2
Current State: 33:[11, 1], Operations: ['30-19=11', '4-3=1']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[4, 14], Operations: ['30+3=33', '33-19=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[33, 15], Operations: ['30+3=33', '19-4=15']
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[11, 7], Operations: ['30-19=11', '4+3=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[33, 23], Operations: ['30+3=33', '4+19=23']
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,33 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[19, 37], Operations: ['30+3=33', '4+33=37']
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,33 unequal: No Solution
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,33 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
77,
43,
89,
5
] | 49 | [
"77+89=166",
"43*5=215",
"215-166=49"
] | Current State: 49:[77, 43, 89, 5], Operations: []
Exploring Operation: 77+89=166, Resulting Numbers: [43, 5, 166]
Generated Node #2: [43, 5, 166] from Operation: 77+89=166
Current State: 49:[43, 5, 166], Operations: ['77+89=166']
Exploring Operation: 43*5=215, Resulting Numbers: [166, 215]
Generated Node #3: [166, 215] from Operation: 43*5=215
Current State: 49:[166, 215], Operations: ['77+89=166', '43*5=215']
Exploring Operation: 215-166=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[77, 43, 89, 5], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [43, 5, 12]
Generated Node #0,0: 49:[43, 5, 12] Operation: 89-77=12
Exploring Operation: 89-43=46, Resulting Numbers: [77, 5, 46]
Generated Node #0,1: 49:[77, 5, 46] Operation: 89-43=46
Exploring Operation: 77-5=72, Resulting Numbers: [43, 89, 72]
Generated Node #0,2: 49:[43, 89, 72] Operation: 77-5=72
Exploring Operation: 77-43=34, Resulting Numbers: [89, 5, 34]
Generated Node #0,3: 49:[89, 5, 34] Operation: 77-43=34
Moving to Node #0,0
Current State: 49:[43, 5, 12], Operations: ['89-77=12']
Exploring Operation: 43+5=48, Resulting Numbers: [12, 48]
Generated Node #0,0,0: 49:[12, 48] Operation: 43+5=48
Exploring Operation: 12-5=7, Resulting Numbers: [43, 7]
Generated Node #0,0,1: 49:[43, 7] Operation: 12-5=7
Exploring Operation: 43-5=38, Resulting Numbers: [12, 38]
Generated Node #0,0,2: 49:[12, 38] Operation: 43-5=38
Exploring Operation: 43+12=55, Resulting Numbers: [5, 55]
Generated Node #0,0,3: 49:[5, 55] Operation: 43+12=55
Moving to Node #0,1
Current State: 49:[77, 5, 46], Operations: ['89-43=46']
Exploring Operation: 77+5=82, Resulting Numbers: [46, 82]
Generated Node #0,1,0: 49:[46, 82] Operation: 77+5=82
Exploring Operation: 77-46=31, Resulting Numbers: [5, 31]
Generated Node #0,1,1: 49:[5, 31] Operation: 77-46=31
Exploring Operation: 77-5=72, Resulting Numbers: [46, 72]
Generated Node #0,1,2: 49:[46, 72] Operation: 77-5=72
Exploring Operation: 5+46=51, Resulting Numbers: [77, 51]
Generated Node #0,1,3: 49:[77, 51] Operation: 5+46=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[5, 31], Operations: ['89-43=46', '77-46=31']
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,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:[46, 72], Operations: ['89-43=46', '77-5=72']
Exploring Operation: 46+72=118, Resulting Numbers: [118]
118,49 unequal: No Solution
Exploring Operation: 46*72=3312, Resulting Numbers: [3312]
3312,49 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,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,3
Current State: 49:[77, 51], Operations: ['89-43=46', '5+46=51']
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,49 unequal: No Solution
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,49 unequal: No Solution
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,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,0
Current State: 49:[46, 82], Operations: ['89-43=46', '77+5=82']
Exploring Operation: 46*82=3772, Resulting Numbers: [3772]
3772,49 unequal: No Solution
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 46+82=128, Resulting Numbers: [128]
128,49 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: 49:[89, 5, 34], Operations: ['77-43=34']
Exploring Operation: 89+5=94, Resulting Numbers: [34, 94]
Generated Node #0,3,0: 49:[34, 94] Operation: 89+5=94
Exploring Operation: 89-5=84, Resulting Numbers: [34, 84]
Generated Node #0,3,1: 49:[34, 84] Operation: 89-5=84
Exploring Operation: 5+34=39, Resulting Numbers: [89, 39]
Generated Node #0,3,2: 49:[89, 39] Operation: 5+34=39
Exploring Operation: 89-34=55, Resulting Numbers: [5, 55]
Generated Node #0,3,3: 49:[5, 55] Operation: 89-34=55
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[5, 55], Operations: ['77-43=34', '89-34=55']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,49 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,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,3,1
Current State: 49:[34, 84], Operations: ['77-43=34', '89-5=84']
Exploring Operation: 34*84=2856, Resulting Numbers: [2856]
2856,49 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 34+84=118, Resulting Numbers: [118]
118,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,3,2
Current State: 49:[89, 39], Operations: ['77-43=34', '5+34=39']
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 89*39=3471, Resulting Numbers: [3471]
3471,49 unequal: No Solution
Exploring Operation: 89+39=128, Resulting Numbers: [128]
128,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,3,0
Current State: 49:[34, 94], Operations: ['77-43=34', '89+5=94']
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 34*94=3196, Resulting Numbers: [3196]
3196,49 unequal: No Solution
Exploring Operation: 34+94=128, Resulting Numbers: [128]
128,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:[43, 89, 72], Operations: ['77-5=72']
Exploring Operation: 89-72=17, Resulting Numbers: [43, 17]
Generated Node #0,2,0: 49:[43, 17] Operation: 89-72=17
Exploring Operation: 72-43=29, Resulting Numbers: [89, 29]
Generated Node #0,2,1: 49:[89, 29] Operation: 72-43=29
Exploring Operation: 43+89=132, Resulting Numbers: [72, 132]
Generated Node #0,2,2: 49:[72, 132] Operation: 43+89=132
Exploring Operation: 89-43=46, Resulting Numbers: [72, 46]
Generated Node #0,2,3: 49:[72, 46] Operation: 89-43=46
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[43, 17], Operations: ['77-5=72', '89-72=17']
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,49 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,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,2,3
Current State: 49:[72, 46], Operations: ['77-5=72', '89-43=46']
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 72*46=3312, Resulting Numbers: [3312]
3312,49 unequal: No Solution
Exploring Operation: 72+46=118, Resulting Numbers: [118]
118,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,2,1
Current State: 49:[89, 29], Operations: ['77-5=72', '72-43=29']
Exploring Operation: 89*29=2581, Resulting Numbers: [2581]
2581,49 unequal: No Solution
Exploring Operation: 89-29=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 89+29=118, Resulting Numbers: [118]
118,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,2,2
Current State: 49:[72, 132], Operations: ['77-5=72', '43+89=132']
Exploring Operation: 72*132=9504, Resulting Numbers: [9504]
9504,49 unequal: No Solution
Exploring Operation: 132-72=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 72+132=204, Resulting Numbers: [204]
204,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 49:[12, 48], Operations: ['89-77=12', '43+5=48']
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,49 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[43, 7], Operations: ['89-77=12', '12-5=7']
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,49 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[5, 55], Operations: ['89-77=12', '43+12=55']
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,49 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[12, 38], Operations: ['89-77=12', '43-5=38']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,49 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
38,
74,
30,
12
] | 90 | [
"74-38=36",
"30*36=1080",
"1080/12=90"
] | Current State: 90:[38, 74, 30, 12], Operations: []
Exploring Operation: 74-38=36, Resulting Numbers: [30, 12, 36]
Generated Node #2: [30, 12, 36] from Operation: 74-38=36
Current State: 90:[30, 12, 36], Operations: ['74-38=36']
Exploring Operation: 30*36=1080, Resulting Numbers: [12, 1080]
Generated Node #3: [12, 1080] from Operation: 30*36=1080
Current State: 90:[12, 1080], Operations: ['74-38=36', '30*36=1080']
Exploring Operation: 1080/12=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[38, 74, 30, 12], Operations: []
Exploring Operation: 38-12=26, Resulting Numbers: [74, 30, 26]
Generated Node #0,0: 90:[74, 30, 26] Operation: 38-12=26
Exploring Operation: 38-30=8, Resulting Numbers: [74, 12, 8]
Generated Node #0,1: 90:[74, 12, 8] Operation: 38-30=8
Exploring Operation: 74+12=86, Resulting Numbers: [38, 30, 86]
Generated Node #0,2: 90:[38, 30, 86] Operation: 74+12=86
Exploring Operation: 74-38=36, Resulting Numbers: [30, 12, 36]
Generated Node #0,3: 90:[30, 12, 36] Operation: 74-38=36
Exploring Operation: 74-30=44, Resulting Numbers: [38, 12, 44]
Generated Node #0,4: 90:[38, 12, 44] Operation: 74-30=44
Moving to Node #0,3
Current State: 90:[30, 12, 36], Operations: ['74-38=36']
Exploring Operation: 12+36=48, Resulting Numbers: [30, 48]
Generated Node #0,3,0: 90:[30, 48] Operation: 12+36=48
Exploring Operation: 36/12=3, Resulting Numbers: [30, 3]
Generated Node #0,3,1: 90:[30, 3] Operation: 36/12=3
Exploring Operation: 36-12=24, Resulting Numbers: [30, 24]
Generated Node #0,3,2: 90:[30, 24] Operation: 36-12=24
Exploring Operation: 36-30=6, Resulting Numbers: [12, 6]
Generated Node #0,3,3: 90:[12, 6] Operation: 36-30=6
Exploring Operation: 30-12=18, Resulting Numbers: [36, 18]
Generated Node #0,3,4: 90:[36, 18] Operation: 30-12=18
Moving to Node #0,4
Current State: 90:[38, 12, 44], Operations: ['74-30=44']
Exploring Operation: 44-38=6, Resulting Numbers: [12, 6]
Generated Node #0,4,0: 90:[12, 6] Operation: 44-38=6
Exploring Operation: 38-12=26, Resulting Numbers: [44, 26]
Generated Node #0,4,1: 90:[44, 26] Operation: 38-12=26
Exploring Operation: 44-12=32, Resulting Numbers: [38, 32]
Generated Node #0,4,2: 90:[38, 32] Operation: 44-12=32
Exploring Operation: 38+12=50, Resulting Numbers: [44, 50]
Generated Node #0,4,3: 90:[44, 50] Operation: 38+12=50
Exploring Operation: 38+44=82, Resulting Numbers: [12, 82]
Generated Node #0,4,4: 90:[12, 82] Operation: 38+44=82
Moving to Node #0,2
Current State: 90:[38, 30, 86], Operations: ['74+12=86']
Exploring Operation: 30+86=116, Resulting Numbers: [38, 116]
Generated Node #0,2,0: 90:[38, 116] Operation: 30+86=116
Exploring Operation: 86-38=48, Resulting Numbers: [30, 48]
Generated Node #0,2,1: 90:[30, 48] Operation: 86-38=48
Exploring Operation: 38+30=68, Resulting Numbers: [86, 68]
Generated Node #0,2,2: 90:[86, 68] Operation: 38+30=68
Exploring Operation: 86-30=56, Resulting Numbers: [38, 56]
Generated Node #0,2,3: 90:[38, 56] Operation: 86-30=56
Exploring Operation: 38-30=8, Resulting Numbers: [86, 8]
Generated Node #0,2,4: 90:[86, 8] Operation: 38-30=8
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[30, 48], Operations: ['74+12=86', '86-38=48']
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,90 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 90:[86, 8], Operations: ['74+12=86', '38-30=8']
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,90 unequal: No Solution
Exploring Operation: 86*8=688, Resulting Numbers: [688]
688,90 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 90:[38, 56], Operations: ['74+12=86', '86-30=56']
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,90 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[86, 68], Operations: ['74+12=86', '38+30=68']
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 86*68=5848, Resulting Numbers: [5848]
5848,90 unequal: No Solution
Exploring Operation: 86+68=154, Resulting Numbers: [154]
154,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[38, 116], Operations: ['74+12=86', '30+86=116']
Exploring Operation: 116-38=78, Resulting Numbers: [78]
78,90 unequal: No Solution
Exploring Operation: 38*116=4408, Resulting Numbers: [4408]
4408,90 unequal: No Solution
Exploring Operation: 38+116=154, Resulting Numbers: [154]
154,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 90:[74, 12, 8], Operations: ['38-30=8']
Exploring Operation: 74-12=62, Resulting Numbers: [8, 62]
Generated Node #0,1,0: 90:[8, 62] Operation: 74-12=62
Exploring Operation: 12+8=20, Resulting Numbers: [74, 20]
Generated Node #0,1,1: 90:[74, 20] Operation: 12+8=20
Exploring Operation: 74+8=82, Resulting Numbers: [12, 82]
Generated Node #0,1,2: 90:[12, 82] Operation: 74+8=82
Exploring Operation: 12-8=4, Resulting Numbers: [74, 4]
Generated Node #0,1,3: 90:[74, 4] Operation: 12-8=4
Exploring Operation: 74+12=86, Resulting Numbers: [8, 86]
Generated Node #0,1,4: 90:[8, 86] Operation: 74+12=86
Moving to Node #0,0
Current State: 90:[74, 30, 26], Operations: ['38-12=26']
Exploring Operation: 74-30=44, Resulting Numbers: [26, 44]
Generated Node #0,0,0: 90:[26, 44] Operation: 74-30=44
Exploring Operation: 74+26=100, Resulting Numbers: [30, 100]
Generated Node #0,0,1: 90:[30, 100] Operation: 74+26=100
Exploring Operation: 74-26=48, Resulting Numbers: [30, 48]
Generated Node #0,0,2: 90:[30, 48] Operation: 74-26=48
Exploring Operation: 74+30=104, Resulting Numbers: [26, 104]
Generated Node #0,0,3: 90:[26, 104] Operation: 74+30=104
Exploring Operation: 30-26=4, Resulting Numbers: [74, 4]
Generated Node #0,0,4: 90:[74, 4] Operation: 30-26=4
Moving to Node #0,3,1
Current State: 90:[30, 3], Operations: ['74-38=36', '36/12=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[38, 74, 30, 12], Operations: []
Exploring Operation: 74-38=36, Resulting Numbers: [30, 12, 36]
Generated Node #0,3: 90:[30, 12, 36] Operation: 74-38=36
Moving to Node #0,3
Current State: 90:[30, 12, 36], Operations: ['74-38=36']
Exploring Operation: 36/12=3, Resulting Numbers: [30, 3]
Generated Node #0,3,1: 90:[30, 3] Operation: 36/12=3
Moving to Node #0,3,1
Current State: 90:[30, 3], Operations: ['74-38=36', '36/12=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.953993 | hs_5 | sum_heuristic |
[
4,
25,
61,
67
] | 58 | [
"61-25=36",
"36/4=9",
"67-9=58"
] | Current State: 58:[4, 25, 61, 67], Operations: []
Exploring Operation: 61-25=36, Resulting Numbers: [4, 67, 36]
Generated Node #2: [4, 67, 36] from Operation: 61-25=36
Current State: 58:[4, 67, 36], Operations: ['61-25=36']
Exploring Operation: 36/4=9, Resulting Numbers: [67, 9]
Generated Node #3: [67, 9] from Operation: 36/4=9
Current State: 58:[67, 9], Operations: ['61-25=36', '36/4=9']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[4, 25, 61, 67], Operations: []
Exploring Operation: 4+25=29, Resulting Numbers: [61, 67, 29]
Generated Node #0,0: 58:[61, 67, 29] Operation: 4+25=29
Exploring Operation: 67-4=63, Resulting Numbers: [25, 61, 63]
Generated Node #0,1: 58:[25, 61, 63] Operation: 67-4=63
Exploring Operation: 61-4=57, Resulting Numbers: [25, 67, 57]
Generated Node #0,2: 58:[25, 67, 57] Operation: 61-4=57
Exploring Operation: 67-61=6, Resulting Numbers: [4, 25, 6]
Generated Node #0,3: 58:[4, 25, 6] Operation: 67-61=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[4, 25, 6], Operations: ['67-61=6']
Exploring Operation: 4*6=24, Resulting Numbers: [25, 24]
Generated Node #0,3,0: 58:[25, 24] Operation: 4*6=24
Exploring Operation: 25+6=31, Resulting Numbers: [4, 31]
Generated Node #0,3,1: 58:[4, 31] Operation: 25+6=31
Exploring Operation: 4+25=29, Resulting Numbers: [6, 29]
Generated Node #0,3,2: 58:[6, 29] Operation: 4+25=29
Exploring Operation: 6-4=2, Resulting Numbers: [25, 2]
Generated Node #0,3,3: 58:[25, 2] Operation: 6-4=2
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 58:[4, 31], Operations: ['67-61=6', '25+6=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,58 unequal: No Solution
No 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: 58:[6, 29], Operations: ['67-61=6', '4+25=29']
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,58 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,58 unequal: No Solution
No 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: 58:[25, 2], Operations: ['67-61=6', '6-4=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,58 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,58 unequal: No Solution
No 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: 58:[25, 24], Operations: ['67-61=6', '4*6=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,58 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: 58:[61, 67, 29], Operations: ['4+25=29']
Exploring Operation: 67-61=6, Resulting Numbers: [29, 6]
Generated Node #0,0,0: 58:[29, 6] Operation: 67-61=6
Exploring Operation: 61-29=32, Resulting Numbers: [67, 32]
Generated Node #0,0,1: 58:[67, 32] Operation: 61-29=32
Exploring Operation: 67-29=38, Resulting Numbers: [61, 38]
Generated Node #0,0,2: 58:[61, 38] Operation: 67-29=38
Exploring Operation: 61+29=90, Resulting Numbers: [67, 90]
Generated Node #0,0,3: 58:[67, 90] Operation: 61+29=90
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[29, 6], Operations: ['4+25=29', '67-61=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,58 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,58 unequal: No Solution
No 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: 58:[67, 32], Operations: ['4+25=29', '61-29=32']
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,58 unequal: No Solution
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,58 unequal: No Solution
No 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: 58:[61, 38], Operations: ['4+25=29', '67-29=38']
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,58 unequal: No Solution
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,58 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 58:[67, 90], Operations: ['4+25=29', '61+29=90']
Exploring Operation: 67+90=157, Resulting Numbers: [157]
157,58 unequal: No Solution
Exploring Operation: 67*90=6030, Resulting Numbers: [6030]
6030,58 unequal: No Solution
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,58 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: 58:[25, 61, 63], Operations: ['67-4=63']
Exploring Operation: 61-25=36, Resulting Numbers: [63, 36]
Generated Node #0,1,0: 58:[63, 36] Operation: 61-25=36
Exploring Operation: 25+61=86, Resulting Numbers: [63, 86]
Generated Node #0,1,1: 58:[63, 86] Operation: 25+61=86
Exploring Operation: 63-61=2, Resulting Numbers: [25, 2]
Generated Node #0,1,2: 58:[25, 2] Operation: 63-61=2
Exploring Operation: 63-25=38, Resulting Numbers: [61, 38]
Generated Node #0,1,3: 58:[61, 38] Operation: 63-25=38
Moving to Node #0,1,2
Current State: 58:[25, 2], Operations: ['67-4=63', '63-61=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,58 unequal: No Solution
Moving to Node #0,1,3
Current State: 58:[61, 38], Operations: ['67-4=63', '63-25=38']
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,58 unequal: No Solution
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[63, 36], Operations: ['67-4=63', '61-25=36']
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,58 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[63, 86], Operations: ['67-4=63', '25+61=86']
Exploring Operation: 63+86=149, Resulting Numbers: [149]
149,58 unequal: No Solution
Exploring Operation: 63*86=5418, Resulting Numbers: [5418]
5418,58 unequal: No Solution
Exploring Operation: 86-63=23, Resulting Numbers: [23]
23,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[25, 67, 57], Operations: ['61-4=57']
Exploring Operation: 25+57=82, Resulting Numbers: [67, 82]
Generated Node #0,2,0: 58:[67, 82] Operation: 25+57=82
Exploring Operation: 67-57=10, Resulting Numbers: [25, 10]
Generated Node #0,2,1: 58:[25, 10] Operation: 67-57=10
Exploring Operation: 67-25=42, Resulting Numbers: [57, 42]
Generated Node #0,2,2: 58:[57, 42] Operation: 67-25=42
Exploring Operation: 57-25=32, Resulting Numbers: [67, 32]
Generated Node #0,2,3: 58:[67, 32] Operation: 57-25=32
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[25, 10], Operations: ['61-4=57', '67-57=10']
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,58 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,58 unequal: No Solution
No 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: 58:[67, 32], Operations: ['61-4=57', '57-25=32']
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,58 unequal: No Solution
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,58 unequal: No Solution
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,58 unequal: No Solution
No 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: 58:[57, 42], Operations: ['61-4=57', '67-25=42']
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,58 unequal: No Solution
Exploring Operation: 57*42=2394, Resulting Numbers: [2394]
2394,58 unequal: No Solution
No 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: 58:[67, 82], Operations: ['61-4=57', '25+57=82']
Exploring Operation: 67+82=149, Resulting Numbers: [149]
149,58 unequal: No Solution
Exploring Operation: 82-67=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 67*82=5494, Resulting Numbers: [5494]
5494,58 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 |
[
58,
33,
56,
5
] | 23 | [
"58-56=2",
"5*2=10",
"33-10=23"
] | Current State: 23:[58, 33, 56, 5], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [33, 5, 2]
Generated Node #2: [33, 5, 2] from Operation: 58-56=2
Current State: 23:[33, 5, 2], Operations: ['58-56=2']
Exploring Operation: 5*2=10, Resulting Numbers: [33, 10]
Generated Node #3: [33, 10] from Operation: 5*2=10
Current State: 23:[33, 10], Operations: ['58-56=2', '5*2=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[58, 33, 56, 5], Operations: []
Exploring Operation: 56-33=23, Resulting Numbers: [58, 5, 23]
Generated Node #0,0: 23:[58, 5, 23] Operation: 56-33=23
Exploring Operation: 33-5=28, Resulting Numbers: [58, 56, 28]
Generated Node #0,1: 23:[58, 56, 28] Operation: 33-5=28
Exploring Operation: 58-56=2, Resulting Numbers: [33, 5, 2]
Generated Node #0,2: 23:[33, 5, 2] Operation: 58-56=2
Exploring Operation: 58-33=25, Resulting Numbers: [56, 5, 25]
Generated Node #0,3: 23:[56, 5, 25] Operation: 58-33=25
Exploring Operation: 58-5=53, Resulting Numbers: [33, 56, 53]
Generated Node #0,4: 23:[33, 56, 53] Operation: 58-5=53
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[33, 5, 2], Operations: ['58-56=2']
Exploring Operation: 33-2=31, Resulting Numbers: [5, 31]
Generated Node #0,2,0: 23:[5, 31] Operation: 33-2=31
Exploring Operation: 33-5=28, Resulting Numbers: [2, 28]
Generated Node #0,2,1: 23:[2, 28] Operation: 33-5=28
Exploring Operation: 5*2=10, Resulting Numbers: [33, 10]
Generated Node #0,2,2: 23:[33, 10] Operation: 5*2=10
Exploring Operation: 5+2=7, Resulting Numbers: [33, 7]
Generated Node #0,2,3: 23:[33, 7] Operation: 5+2=7
Exploring Operation: 33+2=35, Resulting Numbers: [5, 35]
Generated Node #0,2,4: 23:[5, 35] Operation: 33+2=35
Moving to Node #0,2,2
Current State: 23:[33, 10], Operations: ['58-56=2', '5*2=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[58, 33, 56, 5], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [33, 5, 2]
Generated Node #0,2: 23:[33, 5, 2] Operation: 58-56=2
Moving to Node #0,2
Current State: 23:[33, 5, 2], Operations: ['58-56=2']
Exploring Operation: 5*2=10, Resulting Numbers: [33, 10]
Generated Node #0,2,2: 23:[33, 10] Operation: 5*2=10
Moving to Node #0,2,2
Current State: 23:[33, 10], Operations: ['58-56=2', '5*2=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
18,
82,
6,
48
] | 96 | [
"82-18=64",
"64-48=16",
"6*16=96"
] | Current State: 96:[18, 82, 6, 48], Operations: []
Exploring Operation: 82-18=64, Resulting Numbers: [6, 48, 64]
Generated Node #2: [6, 48, 64] from Operation: 82-18=64
Current State: 96:[6, 48, 64], Operations: ['82-18=64']
Exploring Operation: 64-48=16, Resulting Numbers: [6, 16]
Generated Node #3: [6, 16] from Operation: 64-48=16
Current State: 96:[6, 16], Operations: ['82-18=64', '64-48=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[18, 82, 6, 48], Operations: []
Exploring Operation: 18+82=100, Resulting Numbers: [6, 48, 100]
Generated Node #0,0: 96:[6, 48, 100] Operation: 18+82=100
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[6, 48, 100], Operations: ['18+82=100']
Exploring Operation: 100-6=94, Resulting Numbers: [48, 94]
Generated Node #0,0,0: 96:[48, 94] Operation: 100-6=94
Moving to Node #0,0,0
Current State: 96:[48, 94], Operations: ['18+82=100', '100-6=94']
Exploring Operation: 94-48=46, Resulting Numbers: [46]
46,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
62,
5,
2,
57
] | 50 | [
"62-57=5",
"5*2=10",
"5*10=50"
] | Current State: 50:[62, 5, 2, 57], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [5, 2, 5]
Generated Node #2: [5, 2, 5] from Operation: 62-57=5
Current State: 50:[5, 2, 5], Operations: ['62-57=5']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,50 equal: Goal Reached
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[62, 5, 2, 57], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [5, 57, 31]
Generated Node #0,0: 50:[5, 57, 31] Operation: 62/2=31
Exploring Operation: 62-5=57, Resulting Numbers: [2, 57, 57]
Generated Node #0,1: 50:[2, 57, 57] Operation: 62-5=57
Exploring Operation: 62-57=5, Resulting Numbers: [5, 2, 5]
Generated Node #0,2: 50:[5, 2, 5] Operation: 62-57=5
Moving to Node #0,2
Current State: 50:[5, 2, 5], Operations: ['62-57=5']
Exploring Operation: 5*5=25, Resulting Numbers: [2, 25]
Generated Node #0,2,0: 50:[2, 25] Operation: 5*5=25
Exploring Operation: 5*2=10, Resulting Numbers: [5, 10]
Generated Node #0,2,1: 50:[5, 10] Operation: 5*2=10
Exploring Operation: 5+5=10, Resulting Numbers: [2, 10]
Generated Node #0,2,2: 50:[2, 10] Operation: 5+5=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[2, 25], Operations: ['62-57=5', '5*5=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[62, 5, 2, 57], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [5, 2, 5]
Generated Node #0,2: 50:[5, 2, 5] Operation: 62-57=5
Moving to Node #0,2
Current State: 50:[5, 2, 5], Operations: ['62-57=5']
Exploring Operation: 5*5=25, Resulting Numbers: [2, 25]
Generated Node #0,2,0: 50:[2, 25] Operation: 5*5=25
Moving to Node #0,2,0
Current State: 50:[2, 25], Operations: ['62-57=5', '5*5=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
87,
15,
31,
3
] | 61 | [
"87-31=56",
"15/3=5",
"56+5=61"
] | Current State: 61:[87, 15, 31, 3], Operations: []
Exploring Operation: 87-31=56, Resulting Numbers: [15, 3, 56]
Generated Node #2: [15, 3, 56] from Operation: 87-31=56
Current State: 61:[15, 3, 56], Operations: ['87-31=56']
Exploring Operation: 15/3=5, Resulting Numbers: [56, 5]
Generated Node #3: [56, 5] from Operation: 15/3=5
Current State: 61:[56, 5], Operations: ['87-31=56', '15/3=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[87, 15, 31, 3], Operations: []
Exploring Operation: 15*3=45, Resulting Numbers: [87, 31, 45]
Generated Node #0,0: 61:[87, 31, 45] Operation: 15*3=45
Exploring Operation: 87-15=72, Resulting Numbers: [31, 3, 72]
Generated Node #0,1: 61:[31, 3, 72] Operation: 87-15=72
Moving to Node #0,0
Current State: 61:[87, 31, 45], Operations: ['15*3=45']
Exploring Operation: 31+45=76, Resulting Numbers: [87, 76]
Generated Node #0,0,0: 61:[87, 76] Operation: 31+45=76
Exploring Operation: 87-31=56, Resulting Numbers: [45, 56]
Generated Node #0,0,1: 61:[45, 56] Operation: 87-31=56
Moving to Node #0,1
Current State: 61:[31, 3, 72], Operations: ['87-15=72']
Exploring Operation: 72-3=69, Resulting Numbers: [31, 69]
Generated Node #0,1,0: 61:[31, 69] Operation: 72-3=69
Exploring Operation: 31+3=34, Resulting Numbers: [72, 34]
Generated Node #0,1,1: 61:[72, 34] Operation: 31+3=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[31, 69], Operations: ['87-15=72', '72-3=69']
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 31+69=100, Resulting Numbers: [100]
100,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:[72, 34], Operations: ['87-15=72', '31+3=34']
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 72+34=106, Resulting Numbers: [106]
106,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 61:[45, 56], Operations: ['15*3=45', '87-31=56']
Exploring Operation: 45+56=101, Resulting Numbers: [101]
101,61 unequal: No Solution
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[87, 76], Operations: ['15*3=45', '31+45=76']
Exploring Operation: 87+76=163, Resulting Numbers: [163]
163,61 unequal: No Solution
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,61 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
10,
24,
40,
71
] | 97 | [
"24-10=14",
"40+71=111",
"111-14=97"
] | Current State: 97:[10, 24, 40, 71], Operations: []
Exploring Operation: 24-10=14, Resulting Numbers: [40, 71, 14]
Generated Node #2: [40, 71, 14] from Operation: 24-10=14
Current State: 97:[40, 71, 14], Operations: ['24-10=14']
Exploring Operation: 40+71=111, Resulting Numbers: [14, 111]
Generated Node #3: [14, 111] from Operation: 40+71=111
Current State: 97:[14, 111], Operations: ['24-10=14', '40+71=111']
Exploring Operation: 111-14=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[10, 24, 40, 71], Operations: []
Exploring Operation: 10+40=50, Resulting Numbers: [24, 71, 50]
Generated Node #0,0: 97:[24, 71, 50] Operation: 10+40=50
Exploring Operation: 10+24=34, Resulting Numbers: [40, 71, 34]
Generated Node #0,1: 97:[40, 71, 34] Operation: 10+24=34
Exploring Operation: 10+71=81, Resulting Numbers: [24, 40, 81]
Generated Node #0,2: 97:[24, 40, 81] Operation: 10+71=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[24, 71, 50], Operations: ['10+40=50']
Exploring Operation: 24+71=95, Resulting Numbers: [50, 95]
Generated Node #0,0,0: 97:[50, 95] Operation: 24+71=95
Exploring Operation: 71-24=47, Resulting Numbers: [50, 47]
Generated Node #0,0,1: 97:[50, 47] Operation: 71-24=47
Exploring Operation: 24+50=74, Resulting Numbers: [71, 74]
Generated Node #0,0,2: 97:[71, 74] Operation: 24+50=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[50, 95], Operations: ['10+40=50', '24+71=95']
Exploring Operation: 50+95=145, Resulting Numbers: [145]
145,97 unequal: No Solution
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 50*95=4750, Resulting Numbers: [4750]
4750,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[71, 74], Operations: ['10+40=50', '24+50=74']
Exploring Operation: 71+74=145, Resulting Numbers: [145]
145,97 unequal: No Solution
Exploring Operation: 71*74=5254, Resulting Numbers: [5254]
5254,97 unequal: No Solution
Exploring Operation: 74-71=3, Resulting Numbers: [3]
3,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[50, 47], Operations: ['10+40=50', '71-24=47']
Exploring Operation: 50+47=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[10, 24, 40, 71], Operations: []
Exploring Operation: 10+40=50, Resulting Numbers: [24, 71, 50]
Generated Node #0,0: 97:[24, 71, 50] Operation: 10+40=50
Moving to Node #0,0
Current State: 97:[24, 71, 50], Operations: ['10+40=50']
Exploring Operation: 71-24=47, Resulting Numbers: [50, 47]
Generated Node #0,0,1: 97:[50, 47] Operation: 71-24=47
Moving to Node #0,0,1
Current State: 97:[50, 47], Operations: ['10+40=50', '71-24=47']
Exploring Operation: 50+47=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
58,
72,
75,
33
] | 75 | [
"58-33=25",
"75-72=3",
"25*3=75"
] | Current State: 75:[58, 72, 75, 33], Operations: []
Exploring Operation: 58-33=25, Resulting Numbers: [72, 75, 25]
Generated Node #2: [72, 75, 25] from Operation: 58-33=25
Current State: 75:[72, 75, 25], Operations: ['58-33=25']
Exploring Operation: 75-72=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 75-72=3
Current State: 75:[25, 3], Operations: ['58-33=25', '75-72=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[58, 72, 75, 33], Operations: []
Exploring Operation: 58-33=25, Resulting Numbers: [72, 75, 25]
Generated Node #0,0: 75:[72, 75, 25] Operation: 58-33=25
Exploring Operation: 75-58=17, Resulting Numbers: [72, 33, 17]
Generated Node #0,1: 75:[72, 33, 17] Operation: 75-58=17
Exploring Operation: 72-58=14, Resulting Numbers: [75, 33, 14]
Generated Node #0,2: 75:[75, 33, 14] Operation: 72-58=14
Exploring Operation: 58+33=91, Resulting Numbers: [72, 75, 91]
Generated Node #0,3: 75:[72, 75, 91] Operation: 58+33=91
Exploring Operation: 75-72=3, Resulting Numbers: [58, 33, 3]
Generated Node #0,4: 75:[58, 33, 3] Operation: 75-72=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[72, 75, 25], Operations: ['58-33=25']
Exploring Operation: 75+25=100, Resulting Numbers: [72, 100]
Generated Node #0,0,0: 75:[72, 100] Operation: 75+25=100
Exploring Operation: 72+25=97, Resulting Numbers: [75, 97]
Generated Node #0,0,1: 75:[75, 97] Operation: 72+25=97
Exploring Operation: 75-72=3, Resulting Numbers: [25, 3]
Generated Node #0,0,2: 75:[25, 3] Operation: 75-72=3
Exploring Operation: 75/25=3, Resulting Numbers: [72, 3]
Generated Node #0,0,3: 75:[72, 3] Operation: 75/25=3
Exploring Operation: 72-25=47, Resulting Numbers: [75, 47]
Generated Node #0,0,4: 75:[75, 47] Operation: 72-25=47
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[25, 3], Operations: ['58-33=25', '75-72=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[58, 72, 75, 33], Operations: []
Exploring Operation: 58-33=25, Resulting Numbers: [72, 75, 25]
Generated Node #0,0: 75:[72, 75, 25] Operation: 58-33=25
Moving to Node #0,0
Current State: 75:[72, 75, 25], Operations: ['58-33=25']
Exploring Operation: 75-72=3, Resulting Numbers: [25, 3]
Generated Node #0,0,2: 75:[25, 3] Operation: 75-72=3
Moving to Node #0,0,2
Current State: 75:[25, 3], Operations: ['58-33=25', '75-72=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
27,
92,
61,
8
] | 50 | [
"27+92=119",
"61+8=69",
"119-69=50"
] | Current State: 50:[27, 92, 61, 8], Operations: []
Exploring Operation: 27+92=119, Resulting Numbers: [61, 8, 119]
Generated Node #2: [61, 8, 119] from Operation: 27+92=119
Current State: 50:[61, 8, 119], Operations: ['27+92=119']
Exploring Operation: 61+8=69, Resulting Numbers: [119, 69]
Generated Node #3: [119, 69] from Operation: 61+8=69
Current State: 50:[119, 69], Operations: ['27+92=119', '61+8=69']
Exploring Operation: 119-69=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[27, 92, 61, 8], Operations: []
Exploring Operation: 92-27=65, Resulting Numbers: [61, 8, 65]
Generated Node #0,0: 50:[61, 8, 65] Operation: 92-27=65
Exploring Operation: 92-61=31, Resulting Numbers: [27, 8, 31]
Generated Node #0,1: 50:[27, 8, 31] Operation: 92-61=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[27, 8, 31], Operations: ['92-61=31']
Exploring Operation: 31-8=23, Resulting Numbers: [27, 23]
Generated Node #0,1,0: 50:[27, 23] Operation: 31-8=23
Exploring Operation: 31-27=4, Resulting Numbers: [8, 4]
Generated Node #0,1,1: 50:[8, 4] Operation: 31-27=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[8, 4], Operations: ['92-61=31', '31-27=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[27, 23], Operations: ['92-61=31', '31-8=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[27, 92, 61, 8], Operations: []
Exploring Operation: 92-61=31, Resulting Numbers: [27, 8, 31]
Generated Node #0,1: 50:[27, 8, 31] Operation: 92-61=31
Moving to Node #0,1
Current State: 50:[27, 8, 31], Operations: ['92-61=31']
Exploring Operation: 31-8=23, Resulting Numbers: [27, 23]
Generated Node #0,1,0: 50:[27, 23] Operation: 31-8=23
Moving to Node #0,1,0
Current State: 50:[27, 23], Operations: ['92-61=31', '31-8=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
89,
91,
75,
31
] | 46 | [
"91-89=2",
"75-31=44",
"2+44=46"
] | Current State: 46:[89, 91, 75, 31], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [75, 31, 2]
Generated Node #2: [75, 31, 2] from Operation: 91-89=2
Current State: 46:[75, 31, 2], Operations: ['91-89=2']
Exploring Operation: 75-31=44, Resulting Numbers: [2, 44]
Generated Node #3: [2, 44] from Operation: 75-31=44
Current State: 46:[2, 44], Operations: ['91-89=2', '75-31=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[89, 91, 75, 31], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [75, 31, 2]
Generated Node #0,0: 46:[75, 31, 2] Operation: 91-89=2
Exploring Operation: 91-75=16, Resulting Numbers: [89, 31, 16]
Generated Node #0,1: 46:[89, 31, 16] Operation: 91-75=16
Moving to Node #0,0
Current State: 46:[75, 31, 2], Operations: ['91-89=2']
Exploring Operation: 75-31=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 46:[2, 44] Operation: 75-31=44
Exploring Operation: 75-2=73, Resulting Numbers: [31, 73]
Generated Node #0,0,1: 46:[31, 73] Operation: 75-2=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[2, 44], Operations: ['91-89=2', '75-31=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[89, 91, 75, 31], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [75, 31, 2]
Generated Node #0,0: 46:[75, 31, 2] Operation: 91-89=2
Moving to Node #0,0
Current State: 46:[75, 31, 2], Operations: ['91-89=2']
Exploring Operation: 75-31=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 46:[2, 44] Operation: 75-31=44
Moving to Node #0,0,0
Current State: 46:[2, 44], Operations: ['91-89=2', '75-31=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
33,
19,
25,
4
] | 84 | [
"33-25=8",
"19*4=76",
"8+76=84"
] | Current State: 84:[33, 19, 25, 4], Operations: []
Exploring Operation: 33-25=8, Resulting Numbers: [19, 4, 8]
Generated Node #2: [19, 4, 8] from Operation: 33-25=8
Current State: 84:[19, 4, 8], Operations: ['33-25=8']
Exploring Operation: 19*4=76, Resulting Numbers: [8, 76]
Generated Node #3: [8, 76] from Operation: 19*4=76
Current State: 84:[8, 76], Operations: ['33-25=8', '19*4=76']
Exploring Operation: 8+76=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[33, 19, 25, 4], Operations: []
Exploring Operation: 33-19=14, Resulting Numbers: [25, 4, 14]
Generated Node #0,0: 84:[25, 4, 14] Operation: 33-19=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[25, 4, 14], Operations: ['33-19=14']
Exploring Operation: 25-4=21, Resulting Numbers: [14, 21]
Generated Node #0,0,0: 84:[14, 21] Operation: 25-4=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[14, 21], Operations: ['33-19=14', '25-4=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,84 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 |
[
22,
5,
12,
89
] | 81 | [
"22+12=34",
"5*34=170",
"170-89=81"
] | Current State: 81:[22, 5, 12, 89], Operations: []
Exploring Operation: 22+12=34, Resulting Numbers: [5, 89, 34]
Generated Node #2: [5, 89, 34] from Operation: 22+12=34
Current State: 81:[5, 89, 34], Operations: ['22+12=34']
Exploring Operation: 5*34=170, Resulting Numbers: [89, 170]
Generated Node #3: [89, 170] from Operation: 5*34=170
Current State: 81:[89, 170], Operations: ['22+12=34', '5*34=170']
Exploring Operation: 170-89=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[22, 5, 12, 89], Operations: []
Exploring Operation: 89-5=84, Resulting Numbers: [22, 12, 84]
Generated Node #0,0: 81:[22, 12, 84] Operation: 89-5=84
Exploring Operation: 22-12=10, Resulting Numbers: [5, 89, 10]
Generated Node #0,1: 81:[5, 89, 10] Operation: 22-12=10
Exploring Operation: 22+5=27, Resulting Numbers: [12, 89, 27]
Generated Node #0,2: 81:[12, 89, 27] Operation: 22+5=27
Moving to Node #0,0
Current State: 81:[22, 12, 84], Operations: ['89-5=84']
Exploring Operation: 22+12=34, Resulting Numbers: [84, 34]
Generated Node #0,0,0: 81:[84, 34] Operation: 22+12=34
Exploring Operation: 22-12=10, Resulting Numbers: [84, 10]
Generated Node #0,0,1: 81:[84, 10] Operation: 22-12=10
Exploring Operation: 84/12=7, Resulting Numbers: [22, 7]
Generated Node #0,0,2: 81:[22, 7] Operation: 84/12=7
Moving to Node #0,1
Current State: 81:[5, 89, 10], Operations: ['22-12=10']
Exploring Operation: 89-5=84, Resulting Numbers: [10, 84]
Generated Node #0,1,0: 81:[10, 84] Operation: 89-5=84
Exploring Operation: 10/5=2, Resulting Numbers: [89, 2]
Generated Node #0,1,1: 81:[89, 2] Operation: 10/5=2
Exploring Operation: 89-10=79, Resulting Numbers: [5, 79]
Generated Node #0,1,2: 81:[5, 79] Operation: 89-10=79
Moving to Node #0,2
Current State: 81:[12, 89, 27], Operations: ['22+5=27']
Exploring Operation: 27-12=15, Resulting Numbers: [89, 15]
Generated Node #0,2,0: 81:[89, 15] Operation: 27-12=15
Exploring Operation: 12+89=101, Resulting Numbers: [27, 101]
Generated Node #0,2,1: 81:[27, 101] Operation: 12+89=101
Exploring Operation: 89-12=77, Resulting Numbers: [27, 77]
Generated Node #0,2,2: 81:[27, 77] Operation: 89-12=77
Moving to Node #0,0,1
Current State: 81:[84, 10], Operations: ['89-5=84', '22-12=10']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 84*10=840, Resulting Numbers: [840]
840,81 unequal: No Solution
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[27, 77], Operations: ['22+5=27', '89-12=77']
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 27*77=2079, Resulting Numbers: [2079]
2079,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[10, 84], Operations: ['22-12=10', '89-5=84']
Exploring Operation: 10+84=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 10*84=840, Resulting Numbers: [840]
840,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[5, 79], Operations: ['22-12=10', '89-10=79']
Exploring Operation: 5*79=395, Resulting Numbers: [395]
395,81 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[22, 7], Operations: ['89-5=84', '84/12=7']
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,81 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[89, 2], Operations: ['22-12=10', '10/5=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,81 unequal: No Solution
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,81 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[84, 34], Operations: ['89-5=84', '22+12=34']
Exploring Operation: 84*34=2856, Resulting Numbers: [2856]
2856,81 unequal: No Solution
Exploring Operation: 84+34=118, Resulting Numbers: [118]
118,81 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[89, 15], Operations: ['22+5=27', '27-12=15']
Exploring Operation: 89+15=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Exploring Operation: 89*15=1335, Resulting Numbers: [1335]
1335,81 unequal: No Solution
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[27, 101], Operations: ['22+5=27', '12+89=101']
Exploring Operation: 27*101=2727, Resulting Numbers: [2727]
2727,81 unequal: No Solution
Exploring Operation: 101-27=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 27+101=128, Resulting Numbers: [128]
128,81 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
60,
49,
64,
14
] | 59 | [
"60+49=109",
"64-14=50",
"109-50=59"
] | Current State: 59:[60, 49, 64, 14], Operations: []
Exploring Operation: 60+49=109, Resulting Numbers: [64, 14, 109]
Generated Node #2: [64, 14, 109] from Operation: 60+49=109
Current State: 59:[64, 14, 109], Operations: ['60+49=109']
Exploring Operation: 64-14=50, Resulting Numbers: [109, 50]
Generated Node #3: [109, 50] from Operation: 64-14=50
Current State: 59:[109, 50], Operations: ['60+49=109', '64-14=50']
Exploring Operation: 109-50=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[60, 49, 64, 14], Operations: []
Exploring Operation: 49+14=63, Resulting Numbers: [60, 64, 63]
Generated Node #0,0: 59:[60, 64, 63] Operation: 49+14=63
Exploring Operation: 64-14=50, Resulting Numbers: [60, 49, 50]
Generated Node #0,1: 59:[60, 49, 50] Operation: 64-14=50
Exploring Operation: 60+14=74, Resulting Numbers: [49, 64, 74]
Generated Node #0,2: 59:[49, 64, 74] Operation: 60+14=74
Exploring Operation: 60-14=46, Resulting Numbers: [49, 64, 46]
Generated Node #0,3: 59:[49, 64, 46] Operation: 60-14=46
Moving to Node #0,0
Current State: 59:[60, 64, 63], Operations: ['49+14=63']
Exploring Operation: 64-63=1, Resulting Numbers: [60, 1]
Generated Node #0,0,0: 59:[60, 1] Operation: 64-63=1
Exploring Operation: 64-60=4, Resulting Numbers: [63, 4]
Generated Node #0,0,1: 59:[63, 4] Operation: 64-60=4
Exploring Operation: 63-60=3, Resulting Numbers: [64, 3]
Generated Node #0,0,2: 59:[64, 3] Operation: 63-60=3
Exploring Operation: 60+64=124, Resulting Numbers: [63, 124]
Generated Node #0,0,3: 59:[63, 124] Operation: 60+64=124
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[60, 1], Operations: ['49+14=63', '64-63=1']
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,59 unequal: No Solution
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,59 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[60, 49, 64, 14], Operations: []
Exploring Operation: 49+14=63, Resulting Numbers: [60, 64, 63]
Generated Node #0,0: 59:[60, 64, 63] Operation: 49+14=63
Moving to Node #0,0
Current State: 59:[60, 64, 63], Operations: ['49+14=63']
Exploring Operation: 64-63=1, Resulting Numbers: [60, 1]
Generated Node #0,0,0: 59:[60, 1] Operation: 64-63=1
Moving to Node #0,0,0
Current State: 59:[60, 1], Operations: ['49+14=63', '64-63=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
80,
30,
44,
76
] | 50 | [
"30*76=2280",
"2280-80=2200",
"2200/44=50"
] | Current State: 50:[80, 30, 44, 76], Operations: []
Exploring Operation: 30*76=2280, Resulting Numbers: [80, 44, 2280]
Generated Node #2: [80, 44, 2280] from Operation: 30*76=2280
Current State: 50:[80, 44, 2280], Operations: ['30*76=2280']
Exploring Operation: 2280-80=2200, Resulting Numbers: [44, 2200]
Generated Node #3: [44, 2200] from Operation: 2280-80=2200
Current State: 50:[44, 2200], Operations: ['30*76=2280', '2280-80=2200']
Exploring Operation: 2200/44=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[80, 30, 44, 76], Operations: []
Exploring Operation: 80-30=50, Resulting Numbers: [44, 76, 50]
Generated Node #0,0: 50:[44, 76, 50] Operation: 80-30=50
Exploring Operation: 76-30=46, Resulting Numbers: [80, 44, 46]
Generated Node #0,1: 50:[80, 44, 46] Operation: 76-30=46
Exploring Operation: 76-44=32, Resulting Numbers: [80, 30, 32]
Generated Node #0,2: 50:[80, 30, 32] Operation: 76-44=32
Exploring Operation: 80-76=4, Resulting Numbers: [30, 44, 4]
Generated Node #0,3: 50:[30, 44, 4] Operation: 80-76=4
Exploring Operation: 80-44=36, Resulting Numbers: [30, 76, 36]
Generated Node #0,4: 50:[30, 76, 36] Operation: 80-44=36
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[30, 44, 4], Operations: ['80-76=4']
Exploring Operation: 30-4=26, Resulting Numbers: [44, 26]
Generated Node #0,3,0: 50:[44, 26] Operation: 30-4=26
Exploring Operation: 44+4=48, Resulting Numbers: [30, 48]
Generated Node #0,3,1: 50:[30, 48] Operation: 44+4=48
Exploring Operation: 44/4=11, Resulting Numbers: [30, 11]
Generated Node #0,3,2: 50:[30, 11] Operation: 44/4=11
Exploring Operation: 44-30=14, Resulting Numbers: [4, 14]
Generated Node #0,3,3: 50:[4, 14] Operation: 44-30=14
Exploring Operation: 30+4=34, Resulting Numbers: [44, 34]
Generated Node #0,3,4: 50:[44, 34] Operation: 30+4=34
Moving to Node #0,3,3
Current State: 50:[4, 14], Operations: ['80-76=4', '44-30=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[30, 11], Operations: ['80-76=4', '44/4=11']
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 30*11=330, Resulting Numbers: [330]
330,50 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[44, 26], Operations: ['80-76=4', '30-4=26']
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,50 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[30, 48], Operations: ['80-76=4', '44+4=48']
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,50 unequal: No Solution
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Moving to Node #0,3,4
Current State: 50:[44, 34], Operations: ['80-76=4', '30+4=34']
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,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,0
Current State: 50:[44, 76, 50], Operations: ['80-30=50']
Exploring Operation: 44+76=120, Resulting Numbers: [50, 120]
Generated Node #0,0,0: 50:[50, 120] Operation: 44+76=120
Exploring Operation: 44+50=94, Resulting Numbers: [76, 94]
Generated Node #0,0,1: 50:[76, 94] Operation: 44+50=94
Exploring Operation: 76-50=26, Resulting Numbers: [44, 26]
Generated Node #0,0,2: 50:[44, 26] Operation: 76-50=26
Exploring Operation: 76-44=32, Resulting Numbers: [50, 32]
Generated Node #0,0,3: 50:[50, 32] Operation: 76-44=32
Exploring Operation: 50-44=6, Resulting Numbers: [76, 6]
Generated Node #0,0,4: 50:[76, 6] Operation: 50-44=6
Moving to Node #0,0,2
Current State: 50:[44, 26], Operations: ['80-30=50', '76-50=26']
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,50 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[50, 32], Operations: ['80-30=50', '76-44=32']
Exploring Operation: 50*32=1600, Resulting Numbers: [1600]
1600,50 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 50+32=82, Resulting Numbers: [82]
82,50 unequal: No Solution
Moving to Node #0,0,4
Current State: 50:[76, 6], Operations: ['80-30=50', '50-44=6']
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,50 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[50, 120], Operations: ['80-30=50', '44+76=120']
Exploring Operation: 50+120=170, Resulting Numbers: [170]
170,50 unequal: No Solution
Exploring Operation: 120-50=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 50*120=6000, Resulting Numbers: [6000]
6000,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[76, 94], Operations: ['80-30=50', '44+50=94']
Exploring Operation: 94-76=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 76+94=170, Resulting Numbers: [170]
170,50 unequal: No Solution
Exploring Operation: 76*94=7144, Resulting Numbers: [7144]
7144,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[80, 44, 46], Operations: ['76-30=46']
Exploring Operation: 44+46=90, Resulting Numbers: [80, 90]
Generated Node #0,1,0: 50:[80, 90] Operation: 44+46=90
Exploring Operation: 80-46=34, Resulting Numbers: [44, 34]
Generated Node #0,1,1: 50:[44, 34] Operation: 80-46=34
Exploring Operation: 80+44=124, Resulting Numbers: [46, 124]
Generated Node #0,1,2: 50:[46, 124] Operation: 80+44=124
Exploring Operation: 46-44=2, Resulting Numbers: [80, 2]
Generated Node #0,1,3: 50:[80, 2] Operation: 46-44=2
Exploring Operation: 80-44=36, Resulting Numbers: [46, 36]
Generated Node #0,1,4: 50:[46, 36] Operation: 80-44=36
Moving to Node #0,1,1
Current State: 50:[44, 34], Operations: ['76-30=46', '80-46=34']
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,50 unequal: No Solution
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Moving to Node #0,1,4
Current State: 50:[46, 36], Operations: ['76-30=46', '80-44=36']
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,50 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 46*36=1656, Resulting Numbers: [1656]
1656,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[80, 2], Operations: ['76-30=46', '46-44=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,50 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,50 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[80, 90], Operations: ['76-30=46', '44+46=90']
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 80*90=7200, Resulting Numbers: [7200]
7200,50 unequal: No Solution
Exploring Operation: 80+90=170, Resulting Numbers: [170]
170,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[46, 124], Operations: ['76-30=46', '80+44=124']
Exploring Operation: 46*124=5704, Resulting Numbers: [5704]
5704,50 unequal: No Solution
Exploring Operation: 46+124=170, Resulting Numbers: [170]
170,50 unequal: No Solution
Exploring Operation: 124-46=78, Resulting Numbers: [78]
78,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
Current State: 50:[80, 30, 32], Operations: ['76-44=32']
Exploring Operation: 80+30=110, Resulting Numbers: [32, 110]
Generated Node #0,2,0: 50:[32, 110] Operation: 80+30=110
Exploring Operation: 80-30=50, Resulting Numbers: [32, 50]
Generated Node #0,2,1: 50:[32, 50] Operation: 80-30=50
Exploring Operation: 32-30=2, Resulting Numbers: [80, 2]
Generated Node #0,2,2: 50:[80, 2] Operation: 32-30=2
Exploring Operation: 80-32=48, Resulting Numbers: [30, 48]
Generated Node #0,2,3: 50:[30, 48] Operation: 80-32=48
Exploring Operation: 30+32=62, Resulting Numbers: [80, 62]
Generated Node #0,2,4: 50:[80, 62] Operation: 30+32=62
Moving to Node #0,2,1
Current State: 50:[32, 50], Operations: ['76-44=32', '80-30=50']
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,50 unequal: No Solution
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[30, 48], Operations: ['76-44=32', '80-32=48']
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,50 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[80, 2], Operations: ['76-44=32', '32-30=2']
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,50 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,50 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Moving to Node #0,2,4
Current State: 50:[80, 62], Operations: ['76-44=32', '30+32=62']
Exploring Operation: 80+62=142, Resulting Numbers: [142]
142,50 unequal: No Solution
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 80*62=4960, Resulting Numbers: [4960]
4960,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[32, 110], Operations: ['76-44=32', '80+30=110']
Exploring Operation: 110-32=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 32*110=3520, Resulting Numbers: [3520]
3520,50 unequal: No Solution
Exploring Operation: 32+110=142, Resulting Numbers: [142]
142,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,4
Current State: 50:[30, 76, 36], Operations: ['80-44=36']
Exploring Operation: 30+76=106, Resulting Numbers: [36, 106]
Generated Node #0,4,0: 50:[36, 106] Operation: 30+76=106
Exploring Operation: 30+36=66, Resulting Numbers: [76, 66]
Generated Node #0,4,1: 50:[76, 66] Operation: 30+36=66
Exploring Operation: 36-30=6, Resulting Numbers: [76, 6]
Generated Node #0,4,2: 50:[76, 6] Operation: 36-30=6
Exploring Operation: 76-30=46, Resulting Numbers: [36, 46]
Generated Node #0,4,3: 50:[36, 46] Operation: 76-30=46
Exploring Operation: 76-36=40, Resulting Numbers: [30, 40]
Generated Node #0,4,4: 50:[30, 40] Operation: 76-36=40
Moving to Node #0,4,3
Current State: 50:[36, 46], Operations: ['80-44=36', '76-30=46']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 36+46=82, Resulting Numbers: [82]
82,50 unequal: No Solution
Exploring Operation: 36*46=1656, Resulting Numbers: [1656]
1656,50 unequal: No Solution
Moving to Node #0,4,4
Current State: 50:[30, 40], Operations: ['80-44=36', '76-36=40']
Exploring Operation: 30*40=1200, Resulting Numbers: [1200]
1200,50 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Moving to Node #0,4,2
Current State: 50:[76, 6], Operations: ['80-44=36', '36-30=6']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,50 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,50 unequal: No Solution
Moving to Node #0,4,1
Current State: 50:[76, 66], Operations: ['80-44=36', '30+36=66']
Exploring Operation: 76+66=142, Resulting Numbers: [142]
142,50 unequal: No Solution
Exploring Operation: 76*66=5016, Resulting Numbers: [5016]
5016,50 unequal: No Solution
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Moving to Node #0,4,0
Current State: 50:[36, 106], Operations: ['80-44=36', '30+76=106']
Exploring Operation: 106-36=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 36+106=142, Resulting Numbers: [142]
142,50 unequal: No Solution
Exploring Operation: 36*106=3816, Resulting Numbers: [3816]
3816,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
87,
20,
36,
91
] | 64 | [
"91-87=4",
"36-20=16",
"4*16=64"
] | Current State: 64:[87, 20, 36, 91], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [20, 36, 4]
Generated Node #2: [20, 36, 4] from Operation: 91-87=4
Current State: 64:[20, 36, 4], Operations: ['91-87=4']
Exploring Operation: 36-20=16, Resulting Numbers: [4, 16]
Generated Node #3: [4, 16] from Operation: 36-20=16
Current State: 64:[4, 16], Operations: ['91-87=4', '36-20=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[87, 20, 36, 91], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [20, 36, 4]
Generated Node #0,0: 64:[20, 36, 4] Operation: 91-87=4
Exploring Operation: 91-20=71, Resulting Numbers: [87, 36, 71]
Generated Node #0,1: 64:[87, 36, 71] Operation: 91-20=71
Exploring Operation: 87-20=67, Resulting Numbers: [36, 91, 67]
Generated Node #0,2: 64:[36, 91, 67] Operation: 87-20=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[20, 36, 4], Operations: ['91-87=4']
Exploring Operation: 20-4=16, Resulting Numbers: [36, 16]
Generated Node #0,0,0: 64:[36, 16] Operation: 20-4=16
Exploring Operation: 36-4=32, Resulting Numbers: [20, 32]
Generated Node #0,0,1: 64:[20, 32] Operation: 36-4=32
Exploring Operation: 36-20=16, Resulting Numbers: [4, 16]
Generated Node #0,0,2: 64:[4, 16] Operation: 36-20=16
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[4, 16], Operations: ['91-87=4', '36-20=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[87, 20, 36, 91], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [20, 36, 4]
Generated Node #0,0: 64:[20, 36, 4] Operation: 91-87=4
Moving to Node #0,0
Current State: 64:[20, 36, 4], Operations: ['91-87=4']
Exploring Operation: 36-20=16, Resulting Numbers: [4, 16]
Generated Node #0,0,2: 64:[4, 16] Operation: 36-20=16
Moving to Node #0,0,2
Current State: 64:[4, 16], Operations: ['91-87=4', '36-20=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
57,
36,
38,
70
] | 11 | [
"57-36=21",
"70-38=32",
"32-21=11"
] | Current State: 11:[57, 36, 38, 70], Operations: []
Exploring Operation: 57-36=21, Resulting Numbers: [38, 70, 21]
Generated Node #2: [38, 70, 21] from Operation: 57-36=21
Current State: 11:[38, 70, 21], Operations: ['57-36=21']
Exploring Operation: 70-38=32, Resulting Numbers: [21, 32]
Generated Node #3: [21, 32] from Operation: 70-38=32
Current State: 11:[21, 32], Operations: ['57-36=21', '70-38=32']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[57, 36, 38, 70], Operations: []
Exploring Operation: 70-57=13, Resulting Numbers: [36, 38, 13]
Generated Node #0,0: 11:[36, 38, 13] Operation: 70-57=13
Exploring Operation: 57-36=21, Resulting Numbers: [38, 70, 21]
Generated Node #0,1: 11:[38, 70, 21] Operation: 57-36=21
Exploring Operation: 70-38=32, Resulting Numbers: [57, 36, 32]
Generated Node #0,2: 11:[57, 36, 32] Operation: 70-38=32
Exploring Operation: 57-38=19, Resulting Numbers: [36, 70, 19]
Generated Node #0,3: 11:[36, 70, 19] Operation: 57-38=19
Moving to Node #0,0
Current State: 11:[36, 38, 13], Operations: ['70-57=13']
Exploring Operation: 36-13=23, Resulting Numbers: [38, 23]
Generated Node #0,0,0: 11:[38, 23] Operation: 36-13=23
Exploring Operation: 38-13=25, Resulting Numbers: [36, 25]
Generated Node #0,0,1: 11:[36, 25] Operation: 38-13=25
Exploring Operation: 36+38=74, Resulting Numbers: [13, 74]
Generated Node #0,0,2: 11:[13, 74] Operation: 36+38=74
Exploring Operation: 38-36=2, Resulting Numbers: [13, 2]
Generated Node #0,0,3: 11:[13, 2] Operation: 38-36=2
Moving to Node #0,3
Current State: 11:[36, 70, 19], Operations: ['57-38=19']
Exploring Operation: 70-36=34, Resulting Numbers: [19, 34]
Generated Node #0,3,0: 11:[19, 34] Operation: 70-36=34
Exploring Operation: 36+70=106, Resulting Numbers: [19, 106]
Generated Node #0,3,1: 11:[19, 106] Operation: 36+70=106
Exploring Operation: 70-19=51, Resulting Numbers: [36, 51]
Generated Node #0,3,2: 11:[36, 51] Operation: 70-19=51
Exploring Operation: 36-19=17, Resulting Numbers: [70, 17]
Generated Node #0,3,3: 11:[70, 17] Operation: 36-19=17
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 11:[19, 34], Operations: ['57-38=19', '70-36=34']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,11 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 11:[36, 51], Operations: ['57-38=19', '70-19=51']
Exploring Operation: 36+51=87, Resulting Numbers: [87]
87,11 unequal: No Solution
Exploring Operation: 36*51=1836, Resulting Numbers: [1836]
1836,11 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 11:[70, 17], Operations: ['57-38=19', '36-19=17']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,11 unequal: No Solution
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,11 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 11:[19, 106], Operations: ['57-38=19', '36+70=106']
Exploring Operation: 106-19=87, Resulting Numbers: [87]
87,11 unequal: No Solution
Exploring Operation: 19+106=125, Resulting Numbers: [125]
125,11 unequal: No Solution
Exploring Operation: 19*106=2014, Resulting Numbers: [2014]
2014,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 11:[57, 36, 32], Operations: ['70-38=32']
Exploring Operation: 57+36=93, Resulting Numbers: [32, 93]
Generated Node #0,2,0: 11:[32, 93] Operation: 57+36=93
Exploring Operation: 57-32=25, Resulting Numbers: [36, 25]
Generated Node #0,2,1: 11:[36, 25] Operation: 57-32=25
Exploring Operation: 57-36=21, Resulting Numbers: [32, 21]
Generated Node #0,2,2: 11:[32, 21] Operation: 57-36=21
Exploring Operation: 36-32=4, Resulting Numbers: [57, 4]
Generated Node #0,2,3: 11:[57, 4] Operation: 36-32=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[32, 21], Operations: ['70-38=32', '57-36=21']
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,11 unequal: No Solution
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,11 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[57, 36, 38, 70], Operations: []
Exploring Operation: 70-38=32, Resulting Numbers: [57, 36, 32]
Generated Node #0,2: 11:[57, 36, 32] Operation: 70-38=32
Moving to Node #0,2
Current State: 11:[57, 36, 32], Operations: ['70-38=32']
Exploring Operation: 57-36=21, Resulting Numbers: [32, 21]
Generated Node #0,2,2: 11:[32, 21] Operation: 57-36=21
Moving to Node #0,2,2
Current State: 11:[32, 21], Operations: ['70-38=32', '57-36=21']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
48,
72,
46,
24
] | 94 | [
"72-48=24",
"46+24=70",
"24+70=94"
] | Current State: 94:[48, 72, 46, 24], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [46, 24, 24]
Generated Node #2: [46, 24, 24] from Operation: 72-48=24
Current State: 94:[46, 24, 24], Operations: ['72-48=24']
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,94 equal: Goal Reached
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[48, 72, 46, 24], Operations: []
Exploring Operation: 72-24=48, Resulting Numbers: [48, 46, 48]
Generated Node #0,0: 94:[48, 46, 48] Operation: 72-24=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[48, 46, 48], Operations: ['72-24=48']
Exploring Operation: 48+46=94, Resulting Numbers: [48, 94]
Generated Node #0,0,0: 94:[48, 94] Operation: 48+46=94
Moving to Node #0,0,0
Current State: 94:[48, 94], Operations: ['72-24=48', '48+46=94']
Exploring Operation: 94-48=46, Resulting Numbers: [46]
46,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
13,
15,
25,
59
] | 71 | [
"25-15=10",
"13*10=130",
"130-59=71"
] | Current State: 71:[13, 15, 25, 59], Operations: []
Exploring Operation: 25-15=10, Resulting Numbers: [13, 59, 10]
Generated Node #2: [13, 59, 10] from Operation: 25-15=10
Current State: 71:[13, 59, 10], Operations: ['25-15=10']
Exploring Operation: 13*10=130, Resulting Numbers: [59, 130]
Generated Node #3: [59, 130] from Operation: 13*10=130
Current State: 71:[59, 130], Operations: ['25-15=10', '13*10=130']
Exploring Operation: 130-59=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[13, 15, 25, 59], Operations: []
Exploring Operation: 15+25=40, Resulting Numbers: [13, 59, 40]
Generated Node #0,0: 71:[13, 59, 40] Operation: 15+25=40
Exploring Operation: 13+15=28, Resulting Numbers: [25, 59, 28]
Generated Node #0,1: 71:[25, 59, 28] Operation: 13+15=28
Exploring Operation: 13+25=38, Resulting Numbers: [15, 59, 38]
Generated Node #0,2: 71:[15, 59, 38] Operation: 13+25=38
Exploring Operation: 13+59=72, Resulting Numbers: [15, 25, 72]
Generated Node #0,3: 71:[15, 25, 72] Operation: 13+59=72
Exploring Operation: 15+59=74, Resulting Numbers: [13, 25, 74]
Generated Node #0,4: 71:[13, 25, 74] Operation: 15+59=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[13, 59, 40], Operations: ['15+25=40']
Exploring Operation: 59+40=99, Resulting Numbers: [13, 99]
Generated Node #0,0,0: 71:[13, 99] Operation: 59+40=99
Exploring Operation: 40-13=27, Resulting Numbers: [59, 27]
Generated Node #0,0,1: 71:[59, 27] Operation: 40-13=27
Exploring Operation: 13+59=72, Resulting Numbers: [40, 72]
Generated Node #0,0,2: 71:[40, 72] Operation: 13+59=72
Exploring Operation: 59-13=46, Resulting Numbers: [40, 46]
Generated Node #0,0,3: 71:[40, 46] Operation: 59-13=46
Exploring Operation: 13+40=53, Resulting Numbers: [59, 53]
Generated Node #0,0,4: 71:[59, 53] Operation: 13+40=53
Moving to Node #0,0,4
Current State: 71:[59, 53], Operations: ['15+25=40', '13+40=53']
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[40, 72], Operations: ['15+25=40', '13+59=72']
Exploring Operation: 40+72=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 40*72=2880, Resulting Numbers: [2880]
2880,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[59, 27], Operations: ['15+25=40', '40-13=27']
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 59*27=1593, Resulting Numbers: [1593]
1593,71 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[40, 46], Operations: ['15+25=40', '59-13=46']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,71 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[13, 99], Operations: ['15+25=40', '59+40=99']
Exploring Operation: 13*99=1287, Resulting Numbers: [1287]
1287,71 unequal: No Solution
Exploring Operation: 13+99=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,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:[25, 59, 28], Operations: ['13+15=28']
Exploring Operation: 28-25=3, Resulting Numbers: [59, 3]
Generated Node #0,1,0: 71:[59, 3] Operation: 28-25=3
Exploring Operation: 25+28=53, Resulting Numbers: [59, 53]
Generated Node #0,1,1: 71:[59, 53] Operation: 25+28=53
Exploring Operation: 25+59=84, Resulting Numbers: [28, 84]
Generated Node #0,1,2: 71:[28, 84] Operation: 25+59=84
Exploring Operation: 59-25=34, Resulting Numbers: [28, 34]
Generated Node #0,1,3: 71:[28, 34] Operation: 59-25=34
Exploring Operation: 59+28=87, Resulting Numbers: [25, 87]
Generated Node #0,1,4: 71:[25, 87] Operation: 59+28=87
Moving to Node #0,1,1
Current State: 71:[59, 53], Operations: ['13+15=28', '25+28=53']
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,71 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[28, 84], Operations: ['13+15=28', '25+59=84']
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,71 unequal: No Solution
Exploring Operation: 28+84=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 28*84=2352, Resulting Numbers: [2352]
2352,71 unequal: No Solution
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[25, 87], Operations: ['13+15=28', '59+28=87']
Exploring Operation: 25*87=2175, Resulting Numbers: [2175]
2175,71 unequal: No Solution
Exploring Operation: 25+87=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[59, 3], Operations: ['13+15=28', '28-25=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,71 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,71 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[28, 34], Operations: ['13+15=28', '59-25=34']
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,71 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,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,2
Current State: 71:[15, 59, 38], Operations: ['13+25=38']
Exploring Operation: 59-15=44, Resulting Numbers: [38, 44]
Generated Node #0,2,0: 71:[38, 44] Operation: 59-15=44
Exploring Operation: 38-15=23, Resulting Numbers: [59, 23]
Generated Node #0,2,1: 71:[59, 23] Operation: 38-15=23
Exploring Operation: 15+38=53, Resulting Numbers: [59, 53]
Generated Node #0,2,2: 71:[59, 53] Operation: 15+38=53
Exploring Operation: 59+38=97, Resulting Numbers: [15, 97]
Generated Node #0,2,3: 71:[15, 97] Operation: 59+38=97
Exploring Operation: 15+59=74, Resulting Numbers: [38, 74]
Generated Node #0,2,4: 71:[38, 74] Operation: 15+59=74
Moving to Node #0,2,2
Current State: 71:[59, 53], Operations: ['13+25=38', '15+38=53']
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,71 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[38, 74], Operations: ['13+25=38', '15+59=74']
Exploring Operation: 38*74=2812, Resulting Numbers: [2812]
2812,71 unequal: No Solution
Exploring Operation: 38+74=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[38, 44], Operations: ['13+25=38', '59-15=44']
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[59, 23], Operations: ['13+25=38', '38-15=23']
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 59+23=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 59*23=1357, Resulting Numbers: [1357]
1357,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[15, 97], Operations: ['13+25=38', '59+38=97']
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 15+97=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 15*97=1455, Resulting Numbers: [1455]
1455,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,3
Current State: 71:[15, 25, 72], Operations: ['13+59=72']
Exploring Operation: 25-15=10, Resulting Numbers: [72, 10]
Generated Node #0,3,0: 71:[72, 10] Operation: 25-15=10
Exploring Operation: 15+72=87, Resulting Numbers: [25, 87]
Generated Node #0,3,1: 71:[25, 87] Operation: 15+72=87
Exploring Operation: 15+25=40, Resulting Numbers: [72, 40]
Generated Node #0,3,2: 71:[72, 40] Operation: 15+25=40
Exploring Operation: 72-15=57, Resulting Numbers: [25, 57]
Generated Node #0,3,3: 71:[25, 57] Operation: 72-15=57
Exploring Operation: 72-25=47, Resulting Numbers: [15, 47]
Generated Node #0,3,4: 71:[15, 47] Operation: 72-25=47
Moving to Node #0,3,2
Current State: 71:[72, 40], Operations: ['13+59=72', '15+25=40']
Exploring Operation: 72*40=2880, Resulting Numbers: [2880]
2880,71 unequal: No Solution
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 72+40=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[25, 57], Operations: ['13+59=72', '72-15=57']
Exploring Operation: 25*57=1425, Resulting Numbers: [1425]
1425,71 unequal: No Solution
Exploring Operation: 25+57=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[72, 10], Operations: ['13+59=72', '25-15=10']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[25, 87], Operations: ['13+59=72', '15+72=87']
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 25*87=2175, Resulting Numbers: [2175]
2175,71 unequal: No Solution
Exploring Operation: 25+87=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Moving to Node #0,3,4
Current State: 71:[15, 47], Operations: ['13+59=72', '72-25=47']
Exploring Operation: 15*47=705, Resulting Numbers: [705]
705,71 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 15+47=62, Resulting Numbers: [62]
62,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,4
Current State: 71:[13, 25, 74], Operations: ['15+59=74']
Exploring Operation: 25-13=12, Resulting Numbers: [74, 12]
Generated Node #0,4,0: 71:[74, 12] Operation: 25-13=12
Exploring Operation: 13+74=87, Resulting Numbers: [25, 87]
Generated Node #0,4,1: 71:[25, 87] Operation: 13+74=87
Exploring Operation: 13+25=38, Resulting Numbers: [74, 38]
Generated Node #0,4,2: 71:[74, 38] Operation: 13+25=38
Exploring Operation: 74-13=61, Resulting Numbers: [25, 61]
Generated Node #0,4,3: 71:[25, 61] Operation: 74-13=61
Exploring Operation: 74-25=49, Resulting Numbers: [13, 49]
Generated Node #0,4,4: 71:[13, 49] Operation: 74-25=49
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 71:[74, 38], Operations: ['15+59=74', '13+25=38']
Exploring Operation: 74+38=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 74*38=2812, Resulting Numbers: [2812]
2812,71 unequal: No Solution
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,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,4,3
Current State: 71:[25, 61], Operations: ['15+59=74', '74-13=61']
Exploring Operation: 25+61=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 25*61=1525, Resulting Numbers: [1525]
1525,71 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,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,4,0
Current State: 71:[74, 12], Operations: ['15+59=74', '25-13=12']
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 74*12=888, Resulting Numbers: [888]
888,71 unequal: No Solution
Exploring Operation: 74+12=86, Resulting Numbers: [86]
86,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,4,1
Current State: 71:[25, 87], Operations: ['15+59=74', '13+74=87']
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 25*87=2175, Resulting Numbers: [2175]
2175,71 unequal: No Solution
Exploring Operation: 25+87=112, Resulting Numbers: [112]
112,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,4,4
Current State: 71:[13, 49], Operations: ['15+59=74', '74-25=49']
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 13+49=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 13*49=637, Resulting Numbers: [637]
637,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_5 | sum_heuristic |
[
15,
90,
22,
20
] | 33 | [
"90-15=75",
"22+20=42",
"75-42=33"
] | Current State: 33:[15, 90, 22, 20], Operations: []
Exploring Operation: 90-15=75, Resulting Numbers: [22, 20, 75]
Generated Node #2: [22, 20, 75] from Operation: 90-15=75
Current State: 33:[22, 20, 75], Operations: ['90-15=75']
Exploring Operation: 22+20=42, Resulting Numbers: [75, 42]
Generated Node #3: [75, 42] from Operation: 22+20=42
Current State: 33:[75, 42], Operations: ['90-15=75', '22+20=42']
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[15, 90, 22, 20], Operations: []
Exploring Operation: 90-15=75, Resulting Numbers: [22, 20, 75]
Generated Node #0,0: 33:[22, 20, 75] Operation: 90-15=75
Exploring Operation: 90-20=70, Resulting Numbers: [15, 22, 70]
Generated Node #0,1: 33:[15, 22, 70] Operation: 90-20=70
Exploring Operation: 22-20=2, Resulting Numbers: [15, 90, 2]
Generated Node #0,2: 33:[15, 90, 2] Operation: 22-20=2
Exploring Operation: 90-22=68, Resulting Numbers: [15, 20, 68]
Generated Node #0,3: 33:[15, 20, 68] Operation: 90-22=68
Exploring Operation: 90/15=6, Resulting Numbers: [22, 20, 6]
Generated Node #0,4: 33:[22, 20, 6] Operation: 90/15=6
Start Sub Search at level 1: Moving to Node #0,4
Current State: 33:[22, 20, 6], Operations: ['90/15=6']
Exploring Operation: 22+20=42, Resulting Numbers: [6, 42]
Generated Node #0,4,0: 33:[6, 42] Operation: 22+20=42
Exploring Operation: 20-6=14, Resulting Numbers: [22, 14]
Generated Node #0,4,1: 33:[22, 14] Operation: 20-6=14
Exploring Operation: 22-6=16, Resulting Numbers: [20, 16]
Generated Node #0,4,2: 33:[20, 16] Operation: 22-6=16
Exploring Operation: 22-20=2, Resulting Numbers: [6, 2]
Generated Node #0,4,3: 33:[6, 2] Operation: 22-20=2
Exploring Operation: 22+6=28, Resulting Numbers: [20, 28]
Generated Node #0,4,4: 33:[20, 28] Operation: 22+6=28
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 33:[6, 2], Operations: ['90/15=6', '22-20=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No 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: 33:[6, 42], Operations: ['90/15=6', '22+20=42']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,33 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 33:[22, 14], Operations: ['90/15=6', '20-6=14']
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,33 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,33 unequal: No Solution
No 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: 33:[20, 16], Operations: ['90/15=6', '22-6=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,33 unequal: No Solution
No 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: 33:[20, 28], Operations: ['90/15=6', '22+6=28']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,33 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: 33:[15, 20, 68], Operations: ['90-22=68']
Exploring Operation: 68-15=53, Resulting Numbers: [20, 53]
Generated Node #0,3,0: 33:[20, 53] Operation: 68-15=53
Exploring Operation: 15+68=83, Resulting Numbers: [20, 83]
Generated Node #0,3,1: 33:[20, 83] Operation: 15+68=83
Exploring Operation: 68-20=48, Resulting Numbers: [15, 48]
Generated Node #0,3,2: 33:[15, 48] Operation: 68-20=48
Exploring Operation: 15+20=35, Resulting Numbers: [68, 35]
Generated Node #0,3,3: 33:[68, 35] Operation: 15+20=35
Exploring Operation: 20-15=5, Resulting Numbers: [68, 5]
Generated Node #0,3,4: 33:[68, 5] Operation: 20-15=5
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 33:[15, 48], Operations: ['90-22=68', '68-20=48']
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,33 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[15, 90, 22, 20], Operations: []
Exploring Operation: 90-22=68, Resulting Numbers: [15, 20, 68]
Generated Node #0,3: 33:[15, 20, 68] Operation: 90-22=68
Moving to Node #0,3
Current State: 33:[15, 20, 68], Operations: ['90-22=68']
Exploring Operation: 68-20=48, Resulting Numbers: [15, 48]
Generated Node #0,3,2: 33:[15, 48] Operation: 68-20=48
Moving to Node #0,3,2
Current State: 33:[15, 48], Operations: ['90-22=68', '68-20=48']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
78,
96,
60,
36
] | 58 | [
"96-78=18",
"36/18=2",
"60-2=58"
] | Current State: 58:[78, 96, 60, 36], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [60, 36, 18]
Generated Node #2: [60, 36, 18] from Operation: 96-78=18
Current State: 58:[60, 36, 18], Operations: ['96-78=18']
Exploring Operation: 36/18=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 36/18=2
Current State: 58:[60, 2], Operations: ['96-78=18', '36/18=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[78, 96, 60, 36], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [60, 36, 18]
Generated Node #0,0: 58:[60, 36, 18] Operation: 96-78=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[60, 36, 18], Operations: ['96-78=18']
Exploring Operation: 36/18=2, Resulting Numbers: [60, 2]
Generated Node #0,0,0: 58:[60, 2] Operation: 36/18=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[60, 2], Operations: ['96-78=18', '36/18=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[78, 96, 60, 36], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [60, 36, 18]
Generated Node #0,0: 58:[60, 36, 18] Operation: 96-78=18
Moving to Node #0,0
Current State: 58:[60, 36, 18], Operations: ['96-78=18']
Exploring Operation: 36/18=2, Resulting Numbers: [60, 2]
Generated Node #0,0,0: 58:[60, 2] Operation: 36/18=2
Moving to Node #0,0,0
Current State: 58:[60, 2], Operations: ['96-78=18', '36/18=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
43,
78,
9,
14
] | 91 | [
"78-43=35",
"9*14=126",
"126-35=91"
] | Current State: 91:[43, 78, 9, 14], Operations: []
Exploring Operation: 78-43=35, Resulting Numbers: [9, 14, 35]
Generated Node #2: [9, 14, 35] from Operation: 78-43=35
Current State: 91:[9, 14, 35], Operations: ['78-43=35']
Exploring Operation: 9*14=126, Resulting Numbers: [35, 126]
Generated Node #3: [35, 126] from Operation: 9*14=126
Current State: 91:[35, 126], Operations: ['78-43=35', '9*14=126']
Exploring Operation: 126-35=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[43, 78, 9, 14], Operations: []
Exploring Operation: 43+78=121, Resulting Numbers: [9, 14, 121]
Generated Node #0,0: 91:[9, 14, 121] Operation: 43+78=121
Exploring Operation: 78-43=35, Resulting Numbers: [9, 14, 35]
Generated Node #0,1: 91:[9, 14, 35] Operation: 78-43=35
Exploring Operation: 43-14=29, Resulting Numbers: [78, 9, 29]
Generated Node #0,2: 91:[78, 9, 29] Operation: 43-14=29
Exploring Operation: 78+14=92, Resulting Numbers: [43, 9, 92]
Generated Node #0,3: 91:[43, 9, 92] Operation: 78+14=92
Moving to Node #0,1
Current State: 91:[9, 14, 35], Operations: ['78-43=35']
Exploring Operation: 35-14=21, Resulting Numbers: [9, 21]
Generated Node #0,1,0: 91:[9, 21] Operation: 35-14=21
Exploring Operation: 35-9=26, Resulting Numbers: [14, 26]
Generated Node #0,1,1: 91:[14, 26] Operation: 35-9=26
Exploring Operation: 9+14=23, Resulting Numbers: [35, 23]
Generated Node #0,1,2: 91:[35, 23] Operation: 9+14=23
Exploring Operation: 14-9=5, Resulting Numbers: [35, 5]
Generated Node #0,1,3: 91:[35, 5] Operation: 14-9=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[9, 21], Operations: ['78-43=35', '35-14=21']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[14, 26], Operations: ['78-43=35', '35-9=26']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[35, 5], Operations: ['78-43=35', '14-9=5']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[35, 23], Operations: ['78-43=35', '9+14=23']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 35*23=805, Resulting Numbers: [805]
805,91 unequal: No Solution
Exploring Operation: 35+23=58, Resulting Numbers: [58]
58,91 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: 91:[78, 9, 29], Operations: ['43-14=29']
Exploring Operation: 78+29=107, Resulting Numbers: [9, 107]
Generated Node #0,2,0: 91:[9, 107] Operation: 78+29=107
Exploring Operation: 78-9=69, Resulting Numbers: [29, 69]
Generated Node #0,2,1: 91:[29, 69] Operation: 78-9=69
Exploring Operation: 78+9=87, Resulting Numbers: [29, 87]
Generated Node #0,2,2: 91:[29, 87] Operation: 78+9=87
Exploring Operation: 29-9=20, Resulting Numbers: [78, 20]
Generated Node #0,2,3: 91:[78, 20] Operation: 29-9=20
Moving to Node #0,3
Current State: 91:[43, 9, 92], Operations: ['78+14=92']
Exploring Operation: 43+9=52, Resulting Numbers: [92, 52]
Generated Node #0,3,0: 91:[92, 52] Operation: 43+9=52
Exploring Operation: 43-9=34, Resulting Numbers: [92, 34]
Generated Node #0,3,1: 91:[92, 34] Operation: 43-9=34
Exploring Operation: 92-9=83, Resulting Numbers: [43, 83]
Generated Node #0,3,2: 91:[43, 83] Operation: 92-9=83
Exploring Operation: 92-43=49, Resulting Numbers: [9, 49]
Generated Node #0,3,3: 91:[9, 49] Operation: 92-43=49
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[92, 34], Operations: ['78+14=92', '43-9=34']
Exploring Operation: 92+34=126, Resulting Numbers: [126]
126,91 unequal: No Solution
Exploring Operation: 92*34=3128, Resulting Numbers: [3128]
3128,91 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[43, 83], Operations: ['78+14=92', '92-9=83']
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 43*83=3569, Resulting Numbers: [3569]
3569,91 unequal: No Solution
Exploring Operation: 43+83=126, Resulting Numbers: [126]
126,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[9, 49], Operations: ['78+14=92', '92-43=49']
Exploring Operation: 9*49=441, Resulting Numbers: [441]
441,91 unequal: No Solution
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[92, 52], Operations: ['78+14=92', '43+9=52']
Exploring Operation: 92*52=4784, Resulting Numbers: [4784]
4784,91 unequal: No Solution
Exploring Operation: 92+52=144, Resulting Numbers: [144]
144,91 unequal: No Solution
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 91:[9, 14, 121], Operations: ['43+78=121']
Exploring Operation: 9+14=23, Resulting Numbers: [121, 23]
Generated Node #0,0,0: 91:[121, 23] Operation: 9+14=23
Exploring Operation: 14-9=5, Resulting Numbers: [121, 5]
Generated Node #0,0,1: 91:[121, 5] Operation: 14-9=5
Exploring Operation: 121-14=107, Resulting Numbers: [9, 107]
Generated Node #0,0,2: 91:[9, 107] Operation: 121-14=107
Exploring Operation: 121-9=112, Resulting Numbers: [14, 112]
Generated Node #0,0,3: 91:[14, 112] Operation: 121-9=112
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[9, 107], Operations: ['43+78=121', '121-14=107']
Exploring Operation: 9*107=963, Resulting Numbers: [963]
963,91 unequal: No Solution
Exploring Operation: 107-9=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 9+107=116, Resulting Numbers: [116]
116,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[14, 112], Operations: ['43+78=121', '121-9=112']
Exploring Operation: 14*112=1568, Resulting Numbers: [1568]
1568,91 unequal: No Solution
Exploring Operation: 112/14=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 112-14=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 14+112=126, Resulting Numbers: [126]
126,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[121, 5], Operations: ['43+78=121', '14-9=5']
Exploring Operation: 121-5=116, Resulting Numbers: [116]
116,91 unequal: No Solution
Exploring Operation: 121*5=605, Resulting Numbers: [605]
605,91 unequal: No Solution
Exploring Operation: 121+5=126, Resulting Numbers: [126]
126,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[121, 23], Operations: ['43+78=121', '9+14=23']
Exploring Operation: 121+23=144, Resulting Numbers: [144]
144,91 unequal: No Solution
Exploring Operation: 121-23=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 121*23=2783, Resulting Numbers: [2783]
2783,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 91:[9, 107], Operations: ['43-14=29', '78+29=107']
Exploring Operation: 9+107=116, Resulting Numbers: [116]
116,91 unequal: No Solution
Exploring Operation: 9*107=963, Resulting Numbers: [963]
963,91 unequal: No Solution
Exploring Operation: 107-9=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[78, 20], Operations: ['43-14=29', '29-9=20']
Exploring Operation: 78+20=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 78*20=1560, Resulting Numbers: [1560]
1560,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[29, 87], Operations: ['43-14=29', '78+9=87']
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 87/29=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 29+87=116, Resulting Numbers: [116]
116,91 unequal: No Solution
Exploring Operation: 29*87=2523, Resulting Numbers: [2523]
2523,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[29, 69], Operations: ['43-14=29', '78-9=69']
Exploring Operation: 29*69=2001, Resulting Numbers: [2001]
2001,91 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 29+69=98, Resulting Numbers: [98]
98,91 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
75,
90,
91,
87
] | 66 | [
"90-87=3",
"75/3=25",
"91-25=66"
] | Current State: 66:[75, 90, 91, 87], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [75, 91, 3]
Generated Node #2: [75, 91, 3] from Operation: 90-87=3
Current State: 66:[75, 91, 3], Operations: ['90-87=3']
Exploring Operation: 75/3=25, Resulting Numbers: [91, 25]
Generated Node #3: [91, 25] from Operation: 75/3=25
Current State: 66:[91, 25], Operations: ['90-87=3', '75/3=25']
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[75, 90, 91, 87], Operations: []
Exploring Operation: 91-90=1, Resulting Numbers: [75, 87, 1]
Generated Node #0,0: 66:[75, 87, 1] Operation: 91-90=1
Moving to Node #0,0
Current State: 66:[75, 87, 1], Operations: ['91-90=1']
Exploring Operation: 87-75=12, Resulting Numbers: [1, 12]
Generated Node #0,0,0: 66:[1, 12] Operation: 87-75=12
Moving to Node #0,0,0
Current State: 66:[1, 12], Operations: ['91-90=1', '87-75=12']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,66 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
32,
4,
30,
31
] | 39 | [
"32-30=2",
"4*2=8",
"31+8=39"
] | Current State: 39:[32, 4, 30, 31], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [4, 31, 2]
Generated Node #2: [4, 31, 2] from Operation: 32-30=2
Current State: 39:[4, 31, 2], Operations: ['32-30=2']
Exploring Operation: 4*2=8, Resulting Numbers: [31, 8]
Generated Node #3: [31, 8] from Operation: 4*2=8
Current State: 39:[31, 8], Operations: ['32-30=2', '4*2=8']
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[32, 4, 30, 31], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [4, 31, 2]
Generated Node #0,0: 39:[4, 31, 2] Operation: 32-30=2
Exploring Operation: 31-30=1, Resulting Numbers: [32, 4, 1]
Generated Node #0,1: 39:[32, 4, 1] Operation: 31-30=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[4, 31, 2], Operations: ['32-30=2']
Exploring Operation: 31+2=33, Resulting Numbers: [4, 33]
Generated Node #0,0,0: 39:[4, 33] Operation: 31+2=33
Exploring Operation: 4+31=35, Resulting Numbers: [2, 35]
Generated Node #0,0,1: 39:[2, 35] Operation: 4+31=35
Moving to Node #0,0,1
Current State: 39:[2, 35], Operations: ['32-30=2', '4+31=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[4, 33], Operations: ['32-30=2', '31+2=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[32, 4, 1], Operations: ['31-30=1']
Exploring Operation: 32+4=36, Resulting Numbers: [1, 36]
Generated Node #0,1,0: 39:[1, 36] Operation: 32+4=36
Exploring Operation: 32/4=8, Resulting Numbers: [1, 8]
Generated Node #0,1,1: 39:[1, 8] Operation: 32/4=8
Moving to Node #0,1,0
Current State: 39:[1, 36], Operations: ['31-30=1', '32+4=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[1, 8], Operations: ['31-30=1', '32/4=8']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
43,
21,
2
] | 75 | [
"3*43=129",
"21+129=150",
"150/2=75"
] | Current State: 75:[3, 43, 21, 2], Operations: []
Exploring Operation: 3*43=129, Resulting Numbers: [21, 2, 129]
Generated Node #2: [21, 2, 129] from Operation: 3*43=129
Current State: 75:[21, 2, 129], Operations: ['3*43=129']
Exploring Operation: 21+129=150, Resulting Numbers: [2, 150]
Generated Node #3: [2, 150] from Operation: 21+129=150
Current State: 75:[2, 150], Operations: ['3*43=129', '21+129=150']
Exploring Operation: 150/2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[3, 43, 21, 2], Operations: []
Exploring Operation: 43-21=22, Resulting Numbers: [3, 2, 22]
Generated Node #0,0: 75:[3, 2, 22] Operation: 43-21=22
Exploring Operation: 43*2=86, Resulting Numbers: [3, 21, 86]
Generated Node #0,1: 75:[3, 21, 86] Operation: 43*2=86
Exploring Operation: 43+21=64, Resulting Numbers: [3, 2, 64]
Generated Node #0,2: 75:[3, 2, 64] Operation: 43+21=64
Exploring Operation: 43-3=40, Resulting Numbers: [21, 2, 40]
Generated Node #0,3: 75:[21, 2, 40] Operation: 43-3=40
Moving to Node #0,0
Current State: 75:[3, 2, 22], Operations: ['43-21=22']
Exploring Operation: 3+22=25, Resulting Numbers: [2, 25]
Generated Node #0,0,0: 75:[2, 25] Operation: 3+22=25
Exploring Operation: 3+2=5, Resulting Numbers: [22, 5]
Generated Node #0,0,1: 75:[22, 5] Operation: 3+2=5
Exploring Operation: 2+22=24, Resulting Numbers: [3, 24]
Generated Node #0,0,2: 75:[3, 24] Operation: 2+22=24
Exploring Operation: 3*2=6, Resulting Numbers: [22, 6]
Generated Node #0,0,3: 75:[22, 6] Operation: 3*2=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[2, 25], Operations: ['43-21=22', '3+22=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[3, 24], Operations: ['43-21=22', '2+22=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[22, 5], Operations: ['43-21=22', '3+2=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,75 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[22, 6], Operations: ['43-21=22', '3*2=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,75 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: 75:[3, 2, 64], Operations: ['43+21=64']
Exploring Operation: 3+2=5, Resulting Numbers: [64, 5]
Generated Node #0,2,0: 75:[64, 5] Operation: 3+2=5
Exploring Operation: 2+64=66, Resulting Numbers: [3, 66]
Generated Node #0,2,1: 75:[3, 66] Operation: 2+64=66
Exploring Operation: 3+64=67, Resulting Numbers: [2, 67]
Generated Node #0,2,2: 75:[2, 67] Operation: 3+64=67
Exploring Operation: 64/2=32, Resulting Numbers: [3, 32]
Generated Node #0,2,3: 75:[3, 32] Operation: 64/2=32
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 75:[3, 32], Operations: ['43+21=64', '64/2=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,75 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,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,1
Current State: 75:[3, 66], Operations: ['43+21=64', '2+64=66']
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 3*66=198, Resulting Numbers: [198]
198,75 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,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:[2, 67], Operations: ['43+21=64', '3+64=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,75 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,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:[64, 5], Operations: ['43+21=64', '3+2=5']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,75 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: 75:[3, 21, 86], Operations: ['43*2=86']
Exploring Operation: 21/3=7, Resulting Numbers: [86, 7]
Generated Node #0,1,0: 75:[86, 7] Operation: 21/3=7
Exploring Operation: 86-3=83, Resulting Numbers: [21, 83]
Generated Node #0,1,1: 75:[21, 83] Operation: 86-3=83
Exploring Operation: 86-21=65, Resulting Numbers: [3, 65]
Generated Node #0,1,2: 75:[3, 65] Operation: 86-21=65
Exploring Operation: 3+21=24, Resulting Numbers: [86, 24]
Generated Node #0,1,3: 75:[86, 24] Operation: 3+21=24
Moving to Node #0,3
Current State: 75:[21, 2, 40], Operations: ['43-3=40']
Exploring Operation: 2*40=80, Resulting Numbers: [21, 80]
Generated Node #0,3,0: 75:[21, 80] Operation: 2*40=80
Exploring Operation: 40/2=20, Resulting Numbers: [21, 20]
Generated Node #0,3,1: 75:[21, 20] Operation: 40/2=20
Exploring Operation: 21+40=61, Resulting Numbers: [2, 61]
Generated Node #0,3,2: 75:[2, 61] Operation: 21+40=61
Exploring Operation: 40-21=19, Resulting Numbers: [2, 19]
Generated Node #0,3,3: 75:[2, 19] Operation: 40-21=19
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[2, 19], Operations: ['43-3=40', '40-21=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,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,3,0
Current State: 75:[21, 80], Operations: ['43-3=40', '2*40=80']
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 21+80=101, Resulting Numbers: [101]
101,75 unequal: No Solution
Exploring Operation: 21*80=1680, Resulting Numbers: [1680]
1680,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,3,1
Current State: 75:[21, 20], Operations: ['43-3=40', '40/2=20']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,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,3,2
Current State: 75:[2, 61], Operations: ['43-3=40', '21+40=61']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,75 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 75:[3, 65], Operations: ['43*2=86', '86-21=65']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Exploring Operation: 3*65=195, Resulting Numbers: [195]
195,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[86, 24], Operations: ['43*2=86', '3+21=24']
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,75 unequal: No Solution
Exploring Operation: 86*24=2064, Resulting Numbers: [2064]
2064,75 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[21, 83], Operations: ['43*2=86', '86-3=83']
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 21+83=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 21*83=1743, Resulting Numbers: [1743]
1743,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[86, 7], Operations: ['43*2=86', '21/3=7']
Exploring Operation: 86+7=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 86*7=602, Resulting Numbers: [602]
602,75 unequal: No Solution
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,75 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
58,
61,
60,
40
] | 42 | [
"60-58=2",
"61-40=21",
"2*21=42"
] | Current State: 42:[58, 61, 60, 40], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [61, 40, 2]
Generated Node #2: [61, 40, 2] from Operation: 60-58=2
Current State: 42:[61, 40, 2], Operations: ['60-58=2']
Exploring Operation: 61-40=21, Resulting Numbers: [2, 21]
Generated Node #3: [2, 21] from Operation: 61-40=21
Current State: 42:[2, 21], Operations: ['60-58=2', '61-40=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[58, 61, 60, 40], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [58, 40, 1]
Generated Node #0,0: 42:[58, 40, 1] Operation: 61-60=1
Exploring Operation: 60-40=20, Resulting Numbers: [58, 61, 20]
Generated Node #0,1: 42:[58, 61, 20] Operation: 60-40=20
Exploring Operation: 61-40=21, Resulting Numbers: [58, 60, 21]
Generated Node #0,2: 42:[58, 60, 21] Operation: 61-40=21
Exploring Operation: 60-58=2, Resulting Numbers: [61, 40, 2]
Generated Node #0,3: 42:[61, 40, 2] Operation: 60-58=2
Exploring Operation: 61-58=3, Resulting Numbers: [60, 40, 3]
Generated Node #0,4: 42:[60, 40, 3] Operation: 61-58=3
Moving to Node #0,0
Current State: 42:[58, 40, 1], Operations: ['61-60=1']
Exploring Operation: 58/1=58, Resulting Numbers: [40, 58]
Generated Node #0,0,0: 42:[40, 58] Operation: 58/1=58
Exploring Operation: 58-1=57, Resulting Numbers: [40, 57]
Generated Node #0,0,1: 42:[40, 57] Operation: 58-1=57
Exploring Operation: 58-40=18, Resulting Numbers: [1, 18]
Generated Node #0,0,2: 42:[1, 18] Operation: 58-40=18
Exploring Operation: 58*1=58, Resulting Numbers: [40, 58]
Generated Node #0,0,3: 42:[40, 58] Operation: 58*1=58
Exploring Operation: 40+1=41, Resulting Numbers: [58, 41]
Generated Node #0,0,4: 42:[58, 41] Operation: 40+1=41
Moving to Node #0,4
Current State: 42:[60, 40, 3], Operations: ['61-58=3']
Exploring Operation: 60-3=57, Resulting Numbers: [40, 57]
Generated Node #0,4,0: 42:[40, 57] Operation: 60-3=57
Exploring Operation: 60+3=63, Resulting Numbers: [40, 63]
Generated Node #0,4,1: 42:[40, 63] Operation: 60+3=63
Exploring Operation: 40+3=43, Resulting Numbers: [60, 43]
Generated Node #0,4,2: 42:[60, 43] Operation: 40+3=43
Exploring Operation: 60/3=20, Resulting Numbers: [40, 20]
Generated Node #0,4,3: 42:[40, 20] Operation: 60/3=20
Exploring Operation: 60-40=20, Resulting Numbers: [3, 20]
Generated Node #0,4,4: 42:[3, 20] Operation: 60-40=20
Moving to Node #0,3
Current State: 42:[61, 40, 2], Operations: ['60-58=2']
Exploring Operation: 40/2=20, Resulting Numbers: [61, 20]
Generated Node #0,3,0: 42:[61, 20] Operation: 40/2=20
Exploring Operation: 61-2=59, Resulting Numbers: [40, 59]
Generated Node #0,3,1: 42:[40, 59] Operation: 61-2=59
Exploring Operation: 61+2=63, Resulting Numbers: [40, 63]
Generated Node #0,3,2: 42:[40, 63] Operation: 61+2=63
Exploring Operation: 61-40=21, Resulting Numbers: [2, 21]
Generated Node #0,3,3: 42:[2, 21] Operation: 61-40=21
Exploring Operation: 40+2=42, Resulting Numbers: [61, 42]
Generated Node #0,3,4: 42:[61, 42] Operation: 40+2=42
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[2, 21], Operations: ['60-58=2', '61-40=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[58, 61, 60, 40], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [61, 40, 2]
Generated Node #0,3: 42:[61, 40, 2] Operation: 60-58=2
Moving to Node #0,3
Current State: 42:[61, 40, 2], Operations: ['60-58=2']
Exploring Operation: 61-40=21, Resulting Numbers: [2, 21]
Generated Node #0,3,3: 42:[2, 21] Operation: 61-40=21
Moving to Node #0,3,3
Current State: 42:[2, 21], Operations: ['60-58=2', '61-40=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
42,
94,
59,
90
] | 83 | [
"94-42=52",
"90-59=31",
"52+31=83"
] | Current State: 83:[42, 94, 59, 90], Operations: []
Exploring Operation: 94-42=52, Resulting Numbers: [59, 90, 52]
Generated Node #2: [59, 90, 52] from Operation: 94-42=52
Current State: 83:[59, 90, 52], Operations: ['94-42=52']
Exploring Operation: 90-59=31, Resulting Numbers: [52, 31]
Generated Node #3: [52, 31] from Operation: 90-59=31
Current State: 83:[52, 31], Operations: ['94-42=52', '90-59=31']
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[42, 94, 59, 90], Operations: []
Exploring Operation: 94-42=52, Resulting Numbers: [59, 90, 52]
Generated Node #0,0: 83:[59, 90, 52] Operation: 94-42=52
Exploring Operation: 42+59=101, Resulting Numbers: [94, 90, 101]
Generated Node #0,1: 83:[94, 90, 101] Operation: 42+59=101
Moving to Node #0,1
Current State: 83:[94, 90, 101], Operations: ['42+59=101']
Exploring Operation: 101-90=11, Resulting Numbers: [94, 11]
Generated Node #0,1,0: 83:[94, 11] Operation: 101-90=11
Exploring Operation: 101-94=7, Resulting Numbers: [90, 7]
Generated Node #0,1,1: 83:[90, 7] Operation: 101-94=7
Moving to Node #0,0
Current State: 83:[59, 90, 52], Operations: ['94-42=52']
Exploring Operation: 59+52=111, Resulting Numbers: [90, 111]
Generated Node #0,0,0: 83:[90, 111] Operation: 59+52=111
Exploring Operation: 90-52=38, Resulting Numbers: [59, 38]
Generated Node #0,0,1: 83:[59, 38] Operation: 90-52=38
Moving to Node #0,0,0
Current State: 83:[90, 111], Operations: ['94-42=52', '59+52=111']
Exploring Operation: 111-90=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 90+111=201, Resulting Numbers: [201]
201,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[59, 38], Operations: ['94-42=52', '90-52=38']
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 59+38=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[90, 7], Operations: ['42+59=101', '101-94=7']
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[42, 94, 59, 90], Operations: []
Exploring Operation: 42+59=101, Resulting Numbers: [94, 90, 101]
Generated Node #0,1: 83:[94, 90, 101] Operation: 42+59=101
Moving to Node #0,1
Current State: 83:[94, 90, 101], Operations: ['42+59=101']
Exploring Operation: 101-94=7, Resulting Numbers: [90, 7]
Generated Node #0,1,1: 83:[90, 7] Operation: 101-94=7
Moving to Node #0,1,1
Current State: 83:[90, 7], Operations: ['42+59=101', '101-94=7']
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
20,
38,
51,
32
] | 37 | [
"38-20=18",
"51-32=19",
"18+19=37"
] | Current State: 37:[20, 38, 51, 32], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [51, 32, 18]
Generated Node #2: [51, 32, 18] from Operation: 38-20=18
Current State: 37:[51, 32, 18], Operations: ['38-20=18']
Exploring Operation: 51-32=19, Resulting Numbers: [18, 19]
Generated Node #3: [18, 19] from Operation: 51-32=19
Current State: 37:[18, 19], Operations: ['38-20=18', '51-32=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[20, 38, 51, 32], Operations: []
Exploring Operation: 51-20=31, Resulting Numbers: [38, 32, 31]
Generated Node #0,0: 37:[38, 32, 31] Operation: 51-20=31
Moving to Node #0,0
Current State: 37:[38, 32, 31], Operations: ['51-20=31']
Exploring Operation: 32+31=63, Resulting Numbers: [38, 63]
Generated Node #0,0,0: 37:[38, 63] Operation: 32+31=63
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[38, 63], Operations: ['51-20=31', '32+31=63']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,37 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 |
[
90,
2,
92,
45
] | 90 | [
"92/2=46",
"46-45=1",
"90*1=90"
] | Current State: 90:[90, 2, 92, 45], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [90, 45, 46]
Generated Node #2: [90, 45, 46] from Operation: 92/2=46
Current State: 90:[90, 45, 46], Operations: ['92/2=46']
Exploring Operation: 46-45=1, Resulting Numbers: [90, 1]
Generated Node #3: [90, 1] from Operation: 46-45=1
Current State: 90:[90, 1], Operations: ['92/2=46', '46-45=1']
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[90, 2, 92, 45], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [2, 45, 2]
Generated Node #0,0: 90:[2, 45, 2] Operation: 92-90=2
Exploring Operation: 92-2=90, Resulting Numbers: [90, 45, 90]
Generated Node #0,1: 90:[90, 45, 90] Operation: 92-2=90
Moving to Node #0,0
Current State: 90:[2, 45, 2], Operations: ['92-90=2']
Exploring Operation: 2*45=90, Resulting Numbers: [2, 90]
Generated Node #0,0,0: 90:[2, 90] Operation: 2*45=90
Exploring Operation: 45*2=90, Resulting Numbers: [2, 90]
Generated Node #0,0,1: 90:[2, 90] Operation: 45*2=90
Moving to Node #0,1
Current State: 90:[90, 45, 90], Operations: ['92-2=90']
Exploring Operation: 90/45=2, Resulting Numbers: [90, 2]
Generated Node #0,1,0: 90:[90, 2] Operation: 90/45=2
Exploring Operation: 90-45=45, Resulting Numbers: [90, 45]
Generated Node #0,1,1: 90:[90, 45] Operation: 90-45=45
Moving to Node #0,0,0
Current State: 90:[2, 90], Operations: ['92-90=2', '2*45=90']
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,90 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[90, 2], Operations: ['92-2=90', '90/45=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,90 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[2, 90], Operations: ['92-90=2', '45*2=90']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[90, 45], Operations: ['92-2=90', '90-45=45']
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,90 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
55,
20,
54,
4
] | 85 | [
"55-20=35",
"54-4=50",
"35+50=85"
] | Current State: 85:[55, 20, 54, 4], Operations: []
Exploring Operation: 55-20=35, Resulting Numbers: [54, 4, 35]
Generated Node #2: [54, 4, 35] from Operation: 55-20=35
Current State: 85:[54, 4, 35], Operations: ['55-20=35']
Exploring Operation: 54-4=50, Resulting Numbers: [35, 50]
Generated Node #3: [35, 50] from Operation: 54-4=50
Current State: 85:[35, 50], Operations: ['55-20=35', '54-4=50']
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[55, 20, 54, 4], Operations: []
Exploring Operation: 55+54=109, Resulting Numbers: [20, 4, 109]
Generated Node #0,0: 85:[20, 4, 109] Operation: 55+54=109
Exploring Operation: 55+20=75, Resulting Numbers: [54, 4, 75]
Generated Node #0,1: 85:[54, 4, 75] Operation: 55+20=75
Exploring Operation: 55-54=1, Resulting Numbers: [20, 4, 1]
Generated Node #0,2: 85:[20, 4, 1] Operation: 55-54=1
Moving to Node #0,2
Current State: 85:[20, 4, 1], Operations: ['55-54=1']
Exploring Operation: 4+1=5, Resulting Numbers: [20, 5]
Generated Node #0,2,0: 85:[20, 5] Operation: 4+1=5
Exploring Operation: 20-1=19, Resulting Numbers: [4, 19]
Generated Node #0,2,1: 85:[4, 19] Operation: 20-1=19
Exploring Operation: 20/4=5, Resulting Numbers: [1, 5]
Generated Node #0,2,2: 85:[1, 5] Operation: 20/4=5
Moving to Node #0,0
Current State: 85:[20, 4, 109], Operations: ['55+54=109']
Exploring Operation: 109-20=89, Resulting Numbers: [4, 89]
Generated Node #0,0,0: 85:[4, 89] Operation: 109-20=89
Exploring Operation: 20/4=5, Resulting Numbers: [109, 5]
Generated Node #0,0,1: 85:[109, 5] Operation: 20/4=5
Exploring Operation: 109-4=105, Resulting Numbers: [20, 105]
Generated Node #0,0,2: 85:[20, 105] Operation: 109-4=105
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[4, 89], Operations: ['55+54=109', '109-20=89']
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 4*89=356, Resulting Numbers: [356]
356,85 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[55, 20, 54, 4], Operations: []
Exploring Operation: 55+54=109, Resulting Numbers: [20, 4, 109]
Generated Node #0,0: 85:[20, 4, 109] Operation: 55+54=109
Moving to Node #0,0
Current State: 85:[20, 4, 109], Operations: ['55+54=109']
Exploring Operation: 109-20=89, Resulting Numbers: [4, 89]
Generated Node #0,0,0: 85:[4, 89] Operation: 109-20=89
Moving to Node #0,0,0
Current State: 85:[4, 89], Operations: ['55+54=109', '109-20=89']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
82,
13,
36,
2
] | 65 | [
"82/2=41",
"41-36=5",
"13*5=65"
] | Current State: 65:[82, 13, 36, 2], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [13, 36, 41]
Generated Node #2: [13, 36, 41] from Operation: 82/2=41
Current State: 65:[13, 36, 41], Operations: ['82/2=41']
Exploring Operation: 41-36=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 41-36=5
Current State: 65:[13, 5], Operations: ['82/2=41', '41-36=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[82, 13, 36, 2], Operations: []
Exploring Operation: 82-36=46, Resulting Numbers: [13, 2, 46]
Generated Node #0,0: 65:[13, 2, 46] Operation: 82-36=46
Exploring Operation: 36/2=18, Resulting Numbers: [82, 13, 18]
Generated Node #0,1: 65:[82, 13, 18] Operation: 36/2=18
Exploring Operation: 36*2=72, Resulting Numbers: [82, 13, 72]
Generated Node #0,2: 65:[82, 13, 72] Operation: 36*2=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[13, 2, 46], Operations: ['82-36=46']
Exploring Operation: 46/2=23, Resulting Numbers: [13, 23]
Generated Node #0,0,0: 65:[13, 23] Operation: 46/2=23
Exploring Operation: 2+46=48, Resulting Numbers: [13, 48]
Generated Node #0,0,1: 65:[13, 48] Operation: 2+46=48
Exploring Operation: 13+46=59, Resulting Numbers: [2, 59]
Generated Node #0,0,2: 65:[2, 59] Operation: 13+46=59
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[2, 59], Operations: ['82-36=46', '13+46=59']
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,65 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[13, 23], Operations: ['82-36=46', '46/2=23']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 13*23=299, Resulting Numbers: [299]
299,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[13, 48], Operations: ['82-36=46', '2+46=48']
Exploring Operation: 13*48=624, Resulting Numbers: [624]
624,65 unequal: No Solution
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[82, 13, 18], Operations: ['36/2=18']
Exploring Operation: 82-18=64, Resulting Numbers: [13, 64]
Generated Node #0,1,0: 65:[13, 64] Operation: 82-18=64
Exploring Operation: 18-13=5, Resulting Numbers: [82, 5]
Generated Node #0,1,1: 65:[82, 5] Operation: 18-13=5
Exploring Operation: 82-13=69, Resulting Numbers: [18, 69]
Generated Node #0,1,2: 65:[18, 69] Operation: 82-13=69
Moving to Node #0,1,0
Current State: 65:[13, 64], Operations: ['36/2=18', '82-18=64']
Exploring Operation: 13*64=832, Resulting Numbers: [832]
832,65 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 13+64=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[18, 69], Operations: ['36/2=18', '82-13=69']
Exploring Operation: 18+69=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 18*69=1242, Resulting Numbers: [1242]
1242,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[82, 5], Operations: ['36/2=18', '18-13=5']
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,65 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[82, 13, 72], Operations: ['36*2=72']
Exploring Operation: 72-13=59, Resulting Numbers: [82, 59]
Generated Node #0,2,0: 65:[82, 59] Operation: 72-13=59
Exploring Operation: 82-13=69, Resulting Numbers: [72, 69]
Generated Node #0,2,1: 65:[72, 69] Operation: 82-13=69
Exploring Operation: 82-72=10, Resulting Numbers: [13, 10]
Generated Node #0,2,2: 65:[13, 10] Operation: 82-72=10
Moving to Node #0,2,2
Current State: 65:[13, 10], Operations: ['36*2=72', '82-72=10']
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,65 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[72, 69], Operations: ['36*2=72', '82-13=69']
Exploring Operation: 72*69=4968, Resulting Numbers: [4968]
4968,65 unequal: No Solution
Exploring Operation: 72+69=141, Resulting Numbers: [141]
141,65 unequal: No Solution
Exploring Operation: 72-69=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[82, 59], Operations: ['36*2=72', '72-13=59']
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Exploring Operation: 82*59=4838, Resulting Numbers: [4838]
4838,65 unequal: No Solution
Exploring Operation: 82+59=141, Resulting Numbers: [141]
141,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
33,
56,
32,
27
] | 72 | [
"56+32=88",
"27*88=2376",
"2376/33=72"
] | Current State: 72:[33, 56, 32, 27], Operations: []
Exploring Operation: 56+32=88, Resulting Numbers: [33, 27, 88]
Generated Node #2: [33, 27, 88] from Operation: 56+32=88
Current State: 72:[33, 27, 88], Operations: ['56+32=88']
Exploring Operation: 27*88=2376, Resulting Numbers: [33, 2376]
Generated Node #3: [33, 2376] from Operation: 27*88=2376
Current State: 72:[33, 2376], Operations: ['56+32=88', '27*88=2376']
Exploring Operation: 2376/33=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[33, 56, 32, 27], Operations: []
Exploring Operation: 56+27=83, Resulting Numbers: [33, 32, 83]
Generated Node #0,0: 72:[33, 32, 83] Operation: 56+27=83
Exploring Operation: 56-27=29, Resulting Numbers: [33, 32, 29]
Generated Node #0,1: 72:[33, 32, 29] Operation: 56-27=29
Exploring Operation: 56-33=23, Resulting Numbers: [32, 27, 23]
Generated Node #0,2: 72:[32, 27, 23] Operation: 56-33=23
Exploring Operation: 56-32=24, Resulting Numbers: [33, 27, 24]
Generated Node #0,3: 72:[33, 27, 24] Operation: 56-32=24
Exploring Operation: 33-32=1, Resulting Numbers: [56, 27, 1]
Generated Node #0,4: 72:[56, 27, 1] Operation: 33-32=1
Moving to Node #0,3
Current State: 72:[33, 27, 24], Operations: ['56-32=24']
Exploring Operation: 27-24=3, Resulting Numbers: [33, 3]
Generated Node #0,3,0: 72:[33, 3] Operation: 27-24=3
Exploring Operation: 33+27=60, Resulting Numbers: [24, 60]
Generated Node #0,3,1: 72:[24, 60] Operation: 33+27=60
Exploring Operation: 33-24=9, Resulting Numbers: [27, 9]
Generated Node #0,3,2: 72:[27, 9] Operation: 33-24=9
Exploring Operation: 33+24=57, Resulting Numbers: [27, 57]
Generated Node #0,3,3: 72:[27, 57] Operation: 33+24=57
Exploring Operation: 33-27=6, Resulting Numbers: [24, 6]
Generated Node #0,3,4: 72:[24, 6] Operation: 33-27=6
Moving to Node #0,2
Current State: 72:[32, 27, 23], Operations: ['56-33=23']
Exploring Operation: 32-27=5, Resulting Numbers: [23, 5]
Generated Node #0,2,0: 72:[23, 5] Operation: 32-27=5
Exploring Operation: 27+23=50, Resulting Numbers: [32, 50]
Generated Node #0,2,1: 72:[32, 50] Operation: 27+23=50
Exploring Operation: 32+27=59, Resulting Numbers: [23, 59]
Generated Node #0,2,2: 72:[23, 59] Operation: 32+27=59
Exploring Operation: 32-23=9, Resulting Numbers: [27, 9]
Generated Node #0,2,3: 72:[27, 9] Operation: 32-23=9
Exploring Operation: 27-23=4, Resulting Numbers: [32, 4]
Generated Node #0,2,4: 72:[32, 4] Operation: 27-23=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 72:[23, 5], Operations: ['56-33=23', '32-27=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,72 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 72:[27, 9], Operations: ['56-33=23', '32-23=9']
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,72 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 72:[32, 4], Operations: ['56-33=23', '27-23=4']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,72 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 72:[23, 59], Operations: ['56-33=23', '32+27=59']
Exploring Operation: 23*59=1357, Resulting Numbers: [1357]
1357,72 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 23+59=82, Resulting Numbers: [82]
82,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 72:[32, 50], Operations: ['56-33=23', '27+23=50']
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,72 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: 72:[33, 32, 29], Operations: ['56-27=29']
Exploring Operation: 33-32=1, Resulting Numbers: [29, 1]
Generated Node #0,1,0: 72:[29, 1] Operation: 33-32=1
Exploring Operation: 33+32=65, Resulting Numbers: [29, 65]
Generated Node #0,1,1: 72:[29, 65] Operation: 33+32=65
Exploring Operation: 32-29=3, Resulting Numbers: [33, 3]
Generated Node #0,1,2: 72:[33, 3] Operation: 32-29=3
Exploring Operation: 33-29=4, Resulting Numbers: [32, 4]
Generated Node #0,1,3: 72:[32, 4] Operation: 33-29=4
Exploring Operation: 33+29=62, Resulting Numbers: [32, 62]
Generated Node #0,1,4: 72:[32, 62] Operation: 33+29=62
Moving to Node #0,0
Current State: 72:[33, 32, 83], Operations: ['56+27=83']
Exploring Operation: 33-32=1, Resulting Numbers: [83, 1]
Generated Node #0,0,0: 72:[83, 1] Operation: 33-32=1
Exploring Operation: 83-32=51, Resulting Numbers: [33, 51]
Generated Node #0,0,1: 72:[33, 51] Operation: 83-32=51
Exploring Operation: 33+32=65, Resulting Numbers: [83, 65]
Generated Node #0,0,2: 72:[83, 65] Operation: 33+32=65
Exploring Operation: 32+83=115, Resulting Numbers: [33, 115]
Generated Node #0,0,3: 72:[33, 115] Operation: 32+83=115
Exploring Operation: 83-33=50, Resulting Numbers: [32, 50]
Generated Node #0,0,4: 72:[32, 50] Operation: 83-33=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[83, 1], Operations: ['56+27=83', '33-32=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,72 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[33, 51], Operations: ['56+27=83', '83-32=51']
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 33*51=1683, Resulting Numbers: [1683]
1683,72 unequal: No Solution
Exploring Operation: 33+51=84, Resulting Numbers: [84]
84,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[83, 65], Operations: ['56+27=83', '33+32=65']
Exploring Operation: 83+65=148, Resulting Numbers: [148]
148,72 unequal: No Solution
Exploring Operation: 83-65=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 83*65=5395, Resulting Numbers: [5395]
5395,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,4
Current State: 72:[32, 50], Operations: ['56+27=83', '83-33=50']
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,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,3
Current State: 72:[33, 115], Operations: ['56+27=83', '32+83=115']
Exploring Operation: 33+115=148, Resulting Numbers: [148]
148,72 unequal: No Solution
Exploring Operation: 115-33=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 33*115=3795, Resulting Numbers: [3795]
3795,72 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: 72:[56, 27, 1], Operations: ['33-32=1']
Exploring Operation: 56*1=56, Resulting Numbers: [27, 56]
Generated Node #0,4,0: 72:[27, 56] Operation: 56*1=56
Exploring Operation: 56-27=29, Resulting Numbers: [1, 29]
Generated Node #0,4,1: 72:[1, 29] Operation: 56-27=29
Exploring Operation: 27-1=26, Resulting Numbers: [56, 26]
Generated Node #0,4,2: 72:[56, 26] Operation: 27-1=26
Exploring Operation: 56+27=83, Resulting Numbers: [1, 83]
Generated Node #0,4,3: 72:[1, 83] Operation: 56+27=83
Exploring Operation: 56+1=57, Resulting Numbers: [27, 57]
Generated Node #0,4,4: 72:[27, 57] Operation: 56+1=57
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 72:[1, 29], Operations: ['33-32=1', '56-27=29']
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,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,3
Current State: 72:[1, 83], Operations: ['33-32=1', '56+27=83']
Exploring Operation: 1*83=83, Resulting Numbers: [83]
83,72 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,72 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 1+83=84, Resulting Numbers: [84]
84,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,2
Current State: 72:[56, 26], Operations: ['33-32=1', '27-1=26']
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,72 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,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,4
Current State: 72:[27, 57], Operations: ['33-32=1', '56+1=57']
Exploring Operation: 27*57=1539, Resulting Numbers: [1539]
1539,72 unequal: No Solution
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,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,0
Current State: 72:[27, 56], Operations: ['33-32=1', '56*1=56']
Exploring Operation: 27+56=83, Resulting Numbers: [83]
83,72 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 27*56=1512, Resulting Numbers: [1512]
1512,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 72:[24, 6], Operations: ['56-32=24', '33-27=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,72 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[27, 9], Operations: ['56-32=24', '33-24=9']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,72 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[33, 3], Operations: ['56-27=29', '32-29=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[33, 3], Operations: ['56-32=24', '27-24=3']
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,72 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[32, 4], Operations: ['56-27=29', '33-29=4']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,72 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[29, 1], Operations: ['56-27=29', '33-32=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[29, 65], Operations: ['56-27=29', '33+32=65']
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,72 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[24, 60], Operations: ['56-32=24', '33+27=60']
Exploring Operation: 24*60=1440, Resulting Numbers: [1440]
1440,72 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 24+60=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Moving to Node #0,1,4
Current State: 72:[32, 62], Operations: ['56-27=29', '33+29=62']
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,72 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[27, 57], Operations: ['56-32=24', '33+24=57']
Exploring Operation: 27*57=1539, Resulting Numbers: [1539]
1539,72 unequal: No Solution
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,72 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
31,
35,
4,
55
] | 15 | [
"31+35=66",
"55-4=51",
"66-51=15"
] | Current State: 15:[31, 35, 4, 55], Operations: []
Exploring Operation: 31+35=66, Resulting Numbers: [4, 55, 66]
Generated Node #2: [4, 55, 66] from Operation: 31+35=66
Current State: 15:[4, 55, 66], Operations: ['31+35=66']
Exploring Operation: 55-4=51, Resulting Numbers: [66, 51]
Generated Node #3: [66, 51] from Operation: 55-4=51
Current State: 15:[66, 51], Operations: ['31+35=66', '55-4=51']
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[31, 35, 4, 55], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [35, 4, 24]
Generated Node #0,0: 15:[35, 4, 24] Operation: 55-31=24
Exploring Operation: 55-35=20, Resulting Numbers: [31, 4, 20]
Generated Node #0,1: 15:[31, 4, 20] Operation: 55-35=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[31, 4, 20], Operations: ['55-35=20']
Exploring Operation: 31-20=11, Resulting Numbers: [4, 11]
Generated Node #0,1,0: 15:[4, 11] Operation: 31-20=11
Exploring Operation: 20/4=5, Resulting Numbers: [31, 5]
Generated Node #0,1,1: 15:[31, 5] Operation: 20/4=5
Moving to Node #0,1,0
Current State: 15:[4, 11], Operations: ['55-35=20', '31-20=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[31, 35, 4, 55], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [31, 4, 20]
Generated Node #0,1: 15:[31, 4, 20] Operation: 55-35=20
Moving to Node #0,1
Current State: 15:[31, 4, 20], Operations: ['55-35=20']
Exploring Operation: 31-20=11, Resulting Numbers: [4, 11]
Generated Node #0,1,0: 15:[4, 11] Operation: 31-20=11
Moving to Node #0,1,0
Current State: 15:[4, 11], Operations: ['55-35=20', '31-20=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
48,
19,
79,
40
] | 50 | [
"79-19=60",
"40*60=2400",
"2400/48=50"
] | Current State: 50:[48, 19, 79, 40], Operations: []
Exploring Operation: 79-19=60, Resulting Numbers: [48, 40, 60]
Generated Node #2: [48, 40, 60] from Operation: 79-19=60
Current State: 50:[48, 40, 60], Operations: ['79-19=60']
Exploring Operation: 40*60=2400, Resulting Numbers: [48, 2400]
Generated Node #3: [48, 2400] from Operation: 40*60=2400
Current State: 50:[48, 2400], Operations: ['79-19=60', '40*60=2400']
Exploring Operation: 2400/48=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[48, 19, 79, 40], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [48, 19, 39]
Generated Node #0,0: 50:[48, 19, 39] Operation: 79-40=39
Moving to Node #0,0
Current State: 50:[48, 19, 39], Operations: ['79-40=39']
Exploring Operation: 48-39=9, Resulting Numbers: [19, 9]
Generated Node #0,0,0: 50:[19, 9] Operation: 48-39=9
Moving to Node #0,0,0
Current State: 50:[19, 9], Operations: ['79-40=39', '48-39=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,50 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
5,
52,
3,
50
] | 14 | [
"50/5=10",
"52-10=42",
"42/3=14"
] | Current State: 14:[5, 52, 3, 50], Operations: []
Exploring Operation: 50/5=10, Resulting Numbers: [52, 3, 10]
Generated Node #2: [52, 3, 10] from Operation: 50/5=10
Current State: 14:[52, 3, 10], Operations: ['50/5=10']
Exploring Operation: 52-10=42, Resulting Numbers: [3, 42]
Generated Node #3: [3, 42] from Operation: 52-10=42
Current State: 14:[3, 42], Operations: ['50/5=10', '52-10=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[5, 52, 3, 50], Operations: []
Exploring Operation: 50/5=10, Resulting Numbers: [52, 3, 10]
Generated Node #0,0: 14:[52, 3, 10] Operation: 50/5=10
Exploring Operation: 52-5=47, Resulting Numbers: [3, 50, 47]
Generated Node #0,1: 14:[3, 50, 47] Operation: 52-5=47
Exploring Operation: 52-50=2, Resulting Numbers: [5, 3, 2]
Generated Node #0,2: 14:[5, 3, 2] Operation: 52-50=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[5, 3, 2], Operations: ['52-50=2']
Exploring Operation: 5+3=8, Resulting Numbers: [2, 8]
Generated Node #0,2,0: 14:[2, 8] Operation: 5+3=8
Exploring Operation: 5-3=2, Resulting Numbers: [2, 2]
Generated Node #0,2,1: 14:[2, 2] Operation: 5-3=2
Exploring Operation: 5*3=15, Resulting Numbers: [2, 15]
Generated Node #0,2,2: 14:[2, 15] Operation: 5*3=15
Moving to Node #0,2,1
Current State: 14:[2, 2], Operations: ['52-50=2', '5-3=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[2, 8], Operations: ['52-50=2', '5+3=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[2, 15], Operations: ['52-50=2', '5*3=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[52, 3, 10], Operations: ['50/5=10']
Exploring Operation: 52-10=42, Resulting Numbers: [3, 42]
Generated Node #0,0,0: 14:[3, 42] Operation: 52-10=42
Exploring Operation: 52-3=49, Resulting Numbers: [10, 49]
Generated Node #0,0,1: 14:[10, 49] Operation: 52-3=49
Exploring Operation: 10-3=7, Resulting Numbers: [52, 7]
Generated Node #0,0,2: 14:[52, 7] Operation: 10-3=7
Moving to Node #0,0,0
Current State: 14:[3, 42], Operations: ['50/5=10', '52-10=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[5, 52, 3, 50], Operations: []
Exploring Operation: 50/5=10, Resulting Numbers: [52, 3, 10]
Generated Node #0,0: 14:[52, 3, 10] Operation: 50/5=10
Moving to Node #0,0
Current State: 14:[52, 3, 10], Operations: ['50/5=10']
Exploring Operation: 52-10=42, Resulting Numbers: [3, 42]
Generated Node #0,0,0: 14:[3, 42] Operation: 52-10=42
Moving to Node #0,0,0
Current State: 14:[3, 42], Operations: ['50/5=10', '52-10=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
77,
32,
8,
13
] | 88 | [
"77+32=109",
"8+13=21",
"109-21=88"
] | Current State: 88:[77, 32, 8, 13], Operations: []
Exploring Operation: 77+32=109, Resulting Numbers: [8, 13, 109]
Generated Node #2: [8, 13, 109] from Operation: 77+32=109
Current State: 88:[8, 13, 109], Operations: ['77+32=109']
Exploring Operation: 8+13=21, Resulting Numbers: [109, 21]
Generated Node #3: [109, 21] from Operation: 8+13=21
Current State: 88:[109, 21], Operations: ['77+32=109', '8+13=21']
Exploring Operation: 109-21=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[77, 32, 8, 13], Operations: []
Exploring Operation: 77-32=45, Resulting Numbers: [8, 13, 45]
Generated Node #0,0: 88:[8, 13, 45] Operation: 77-32=45
Exploring Operation: 77+13=90, Resulting Numbers: [32, 8, 90]
Generated Node #0,1: 88:[32, 8, 90] Operation: 77+13=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[8, 13, 45], Operations: ['77-32=45']
Exploring Operation: 13-8=5, Resulting Numbers: [45, 5]
Generated Node #0,0,0: 88:[45, 5] Operation: 13-8=5
Exploring Operation: 8+13=21, Resulting Numbers: [45, 21]
Generated Node #0,0,1: 88:[45, 21] Operation: 8+13=21
Moving to Node #0,0,0
Current State: 88:[45, 5], Operations: ['77-32=45', '13-8=5']
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[45, 21], Operations: ['77-32=45', '8+13=21']
Exploring Operation: 45+21=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,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
Current State: 88:[32, 8, 90], Operations: ['77+13=90']
Exploring Operation: 32/8=4, Resulting Numbers: [90, 4]
Generated Node #0,1,0: 88:[90, 4] Operation: 32/8=4
Exploring Operation: 32-8=24, Resulting Numbers: [90, 24]
Generated Node #0,1,1: 88:[90, 24] Operation: 32-8=24
Moving to Node #0,1,0
Current State: 88:[90, 4], Operations: ['77+13=90', '32/8=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[90, 24], Operations: ['77+13=90', '32-8=24']
Exploring Operation: 90+24=114, Resulting Numbers: [114]
114,88 unequal: No Solution
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,88 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 |
[
78,
41,
82,
50
] | 87 | [
"78+41=119",
"82-50=32",
"119-32=87"
] | Current State: 87:[78, 41, 82, 50], Operations: []
Exploring Operation: 78+41=119, Resulting Numbers: [82, 50, 119]
Generated Node #2: [82, 50, 119] from Operation: 78+41=119
Current State: 87:[82, 50, 119], Operations: ['78+41=119']
Exploring Operation: 82-50=32, Resulting Numbers: [119, 32]
Generated Node #3: [119, 32] from Operation: 82-50=32
Current State: 87:[119, 32], Operations: ['78+41=119', '82-50=32']
Exploring Operation: 119-32=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[78, 41, 82, 50], Operations: []
Exploring Operation: 78-50=28, Resulting Numbers: [41, 82, 28]
Generated Node #0,0: 87:[41, 82, 28] Operation: 78-50=28
Exploring Operation: 50-41=9, Resulting Numbers: [78, 82, 9]
Generated Node #0,1: 87:[78, 82, 9] Operation: 50-41=9
Exploring Operation: 41+50=91, Resulting Numbers: [78, 82, 91]
Generated Node #0,2: 87:[78, 82, 91] Operation: 41+50=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[41, 82, 28], Operations: ['78-50=28']
Exploring Operation: 41-28=13, Resulting Numbers: [82, 13]
Generated Node #0,0,0: 87:[82, 13] Operation: 41-28=13
Exploring Operation: 82-41=41, Resulting Numbers: [28, 41]
Generated Node #0,0,1: 87:[28, 41] Operation: 82-41=41
Exploring Operation: 82/41=2, Resulting Numbers: [28, 2]
Generated Node #0,0,2: 87:[28, 2] Operation: 82/41=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[28, 2], Operations: ['78-50=28', '82/41=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,87 unequal: No Solution
No 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: 87:[28, 41], Operations: ['78-50=28', '82-41=41']
Exploring Operation: 28*41=1148, Resulting Numbers: [1148]
1148,87 unequal: No Solution
Exploring Operation: 28+41=69, Resulting Numbers: [69]
69,87 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,87 unequal: No Solution
No 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: 87:[82, 13], Operations: ['78-50=28', '41-28=13']
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,87 unequal: No Solution
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,87 unequal: No Solution
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,87 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: 87:[78, 82, 91], Operations: ['41+50=91']
Exploring Operation: 91-78=13, Resulting Numbers: [82, 13]
Generated Node #0,2,0: 87:[82, 13] Operation: 91-78=13
Exploring Operation: 91-82=9, Resulting Numbers: [78, 9]
Generated Node #0,2,1: 87:[78, 9] Operation: 91-82=9
Exploring Operation: 82-78=4, Resulting Numbers: [91, 4]
Generated Node #0,2,2: 87:[91, 4] Operation: 82-78=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 87:[91, 4], Operations: ['41+50=91', '82-78=4']
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,87 unequal: No Solution
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,87 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[78, 41, 82, 50], Operations: []
Exploring Operation: 41+50=91, Resulting Numbers: [78, 82, 91]
Generated Node #0,2: 87:[78, 82, 91] Operation: 41+50=91
Moving to Node #0,2
Current State: 87:[78, 82, 91], Operations: ['41+50=91']
Exploring Operation: 82-78=4, Resulting Numbers: [91, 4]
Generated Node #0,2,2: 87:[91, 4] Operation: 82-78=4
Moving to Node #0,2,2
Current State: 87:[91, 4], Operations: ['41+50=91', '82-78=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
43,
53,
93,
31
] | 52 | [
"53-43=10",
"93-31=62",
"62-10=52"
] | Current State: 52:[43, 53, 93, 31], Operations: []
Exploring Operation: 53-43=10, Resulting Numbers: [93, 31, 10]
Generated Node #2: [93, 31, 10] from Operation: 53-43=10
Current State: 52:[93, 31, 10], Operations: ['53-43=10']
Exploring Operation: 93-31=62, Resulting Numbers: [10, 62]
Generated Node #3: [10, 62] from Operation: 93-31=62
Current State: 52:[10, 62], Operations: ['53-43=10', '93-31=62']
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[43, 53, 93, 31], Operations: []
Exploring Operation: 93-31=62, Resulting Numbers: [43, 53, 62]
Generated Node #0,0: 52:[43, 53, 62] Operation: 93-31=62
Exploring Operation: 93-43=50, Resulting Numbers: [53, 31, 50]
Generated Node #0,1: 52:[53, 31, 50] Operation: 93-43=50
Exploring Operation: 93/31=3, Resulting Numbers: [43, 53, 3]
Generated Node #0,2: 52:[43, 53, 3] Operation: 93/31=3
Moving to Node #0,1
Current State: 52:[53, 31, 50], Operations: ['93-43=50']
Exploring Operation: 50-31=19, Resulting Numbers: [53, 19]
Generated Node #0,1,0: 52:[53, 19] Operation: 50-31=19
Exploring Operation: 53-31=22, Resulting Numbers: [50, 22]
Generated Node #0,1,1: 52:[50, 22] Operation: 53-31=22
Exploring Operation: 53-50=3, Resulting Numbers: [31, 3]
Generated Node #0,1,2: 52:[31, 3] Operation: 53-50=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[50, 22], Operations: ['93-43=50', '53-31=22']
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[31, 3], Operations: ['93-43=50', '53-50=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,52 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[53, 19], Operations: ['93-43=50', '50-31=19']
Exploring Operation: 53*19=1007, Resulting Numbers: [1007]
1007,52 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 53+19=72, Resulting Numbers: [72]
72,52 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: 52:[43, 53, 3], Operations: ['93/31=3']
Exploring Operation: 43+3=46, Resulting Numbers: [53, 46]
Generated Node #0,2,0: 52:[53, 46] Operation: 43+3=46
Exploring Operation: 53-3=50, Resulting Numbers: [43, 50]
Generated Node #0,2,1: 52:[43, 50] Operation: 53-3=50
Exploring Operation: 53-43=10, Resulting Numbers: [3, 10]
Generated Node #0,2,2: 52:[3, 10] Operation: 53-43=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[3, 10], Operations: ['93/31=3', '53-43=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[53, 46], Operations: ['93/31=3', '43+3=46']
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,52 unequal: No Solution
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[43, 50], Operations: ['93/31=3', '53-3=50']
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,52 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,52 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,52 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: 52:[43, 53, 62], Operations: ['93-31=62']
Exploring Operation: 53-43=10, Resulting Numbers: [62, 10]
Generated Node #0,0,0: 52:[62, 10] Operation: 53-43=10
Exploring Operation: 62-43=19, Resulting Numbers: [53, 19]
Generated Node #0,0,1: 52:[53, 19] Operation: 62-43=19
Exploring Operation: 62-53=9, Resulting Numbers: [43, 9]
Generated Node #0,0,2: 52:[43, 9] Operation: 62-53=9
Moving to Node #0,0,1
Current State: 52:[53, 19], Operations: ['93-31=62', '62-43=19']
Exploring Operation: 53+19=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 53*19=1007, Resulting Numbers: [1007]
1007,52 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[62, 10], Operations: ['93-31=62', '53-43=10']
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[43, 53, 93, 31], Operations: []
Exploring Operation: 93-31=62, Resulting Numbers: [43, 53, 62]
Generated Node #0,0: 52:[43, 53, 62] Operation: 93-31=62
Moving to Node #0,0
Current State: 52:[43, 53, 62], Operations: ['93-31=62']
Exploring Operation: 53-43=10, Resulting Numbers: [62, 10]
Generated Node #0,0,0: 52:[62, 10] Operation: 53-43=10
Moving to Node #0,0,0
Current State: 52:[62, 10], Operations: ['93-31=62', '53-43=10']
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.967014 | hs_3 | mult_heuristic |
[
2,
17,
70,
49
] | 73 | [
"2+49=51",
"51/17=3",
"70+3=73"
] | Current State: 73:[2, 17, 70, 49], Operations: []
Exploring Operation: 2+49=51, Resulting Numbers: [17, 70, 51]
Generated Node #2: [17, 70, 51] from Operation: 2+49=51
Current State: 73:[17, 70, 51], Operations: ['2+49=51']
Exploring Operation: 51/17=3, Resulting Numbers: [70, 3]
Generated Node #3: [70, 3] from Operation: 51/17=3
Current State: 73:[70, 3], Operations: ['2+49=51', '51/17=3']
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[2, 17, 70, 49], Operations: []
Exploring Operation: 2*17=34, Resulting Numbers: [70, 49, 34]
Generated Node #0,0: 73:[70, 49, 34] Operation: 2*17=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[70, 49, 34], Operations: ['2*17=34']
Exploring Operation: 49+34=83, Resulting Numbers: [70, 83]
Generated Node #0,0,0: 73:[70, 83] Operation: 49+34=83
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[70, 83], Operations: ['2*17=34', '49+34=83']
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
70,
63,
79,
9
] | 95 | [
"70-63=7",
"79+9=88",
"7+88=95"
] | Current State: 95:[70, 63, 79, 9], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [79, 9, 7]
Generated Node #2: [79, 9, 7] from Operation: 70-63=7
Current State: 95:[79, 9, 7], Operations: ['70-63=7']
Exploring Operation: 79+9=88, Resulting Numbers: [7, 88]
Generated Node #3: [7, 88] from Operation: 79+9=88
Current State: 95:[7, 88], Operations: ['70-63=7', '79+9=88']
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[70, 63, 79, 9], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [79, 9, 7]
Generated Node #0,0: 95:[79, 9, 7] Operation: 70-63=7
Exploring Operation: 79-70=9, Resulting Numbers: [63, 9, 9]
Generated Node #0,1: 95:[63, 9, 9] Operation: 79-70=9
Exploring Operation: 79-63=16, Resulting Numbers: [70, 9, 16]
Generated Node #0,2: 95:[70, 9, 16] Operation: 79-63=16
Exploring Operation: 63/9=7, Resulting Numbers: [70, 79, 7]
Generated Node #0,3: 95:[70, 79, 7] Operation: 63/9=7
Exploring Operation: 70+63=133, Resulting Numbers: [79, 9, 133]
Generated Node #0,4: 95:[79, 9, 133] Operation: 70+63=133
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[79, 9, 7], Operations: ['70-63=7']
Exploring Operation: 9+7=16, Resulting Numbers: [79, 16]
Generated Node #0,0,0: 95:[79, 16] Operation: 9+7=16
Exploring Operation: 79-9=70, Resulting Numbers: [7, 70]
Generated Node #0,0,1: 95:[7, 70] Operation: 79-9=70
Exploring Operation: 79+9=88, Resulting Numbers: [7, 88]
Generated Node #0,0,2: 95:[7, 88] Operation: 79+9=88
Exploring Operation: 9-7=2, Resulting Numbers: [79, 2]
Generated Node #0,0,3: 95:[79, 2] Operation: 9-7=2
Exploring Operation: 79+7=86, Resulting Numbers: [9, 86]
Generated Node #0,0,4: 95:[9, 86] Operation: 79+7=86
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[7, 88], Operations: ['70-63=7', '79+9=88']
Exploring Operation: 7*88=616, Resulting Numbers: [616]
616,95 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,95 unequal: No Solution
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[70, 63, 79, 9], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [79, 9, 7]
Generated Node #0,0: 95:[79, 9, 7] Operation: 70-63=7
Moving to Node #0,0
Current State: 95:[79, 9, 7], Operations: ['70-63=7']
Exploring Operation: 79+9=88, Resulting Numbers: [7, 88]
Generated Node #0,0,2: 95:[7, 88] Operation: 79+9=88
Moving to Node #0,0,2
Current State: 95:[7, 88], Operations: ['70-63=7', '79+9=88']
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
93,
89,
26,
25
] | 79 | [
"93-89=4",
"26*4=104",
"104-25=79"
] | Current State: 79:[93, 89, 26, 25], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [26, 25, 4]
Generated Node #2: [26, 25, 4] from Operation: 93-89=4
Current State: 79:[26, 25, 4], Operations: ['93-89=4']
Exploring Operation: 26*4=104, Resulting Numbers: [25, 104]
Generated Node #3: [25, 104] from Operation: 26*4=104
Current State: 79:[25, 104], Operations: ['93-89=4', '26*4=104']
Exploring Operation: 104-25=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[93, 89, 26, 25], Operations: []
Exploring Operation: 26+25=51, Resulting Numbers: [93, 89, 51]
Generated Node #0,0: 79:[93, 89, 51] Operation: 26+25=51
Exploring Operation: 93-26=67, Resulting Numbers: [89, 25, 67]
Generated Node #0,1: 79:[89, 25, 67] Operation: 93-26=67
Exploring Operation: 89-26=63, Resulting Numbers: [93, 25, 63]
Generated Node #0,2: 79:[93, 25, 63] Operation: 89-26=63
Exploring Operation: 93-25=68, Resulting Numbers: [89, 26, 68]
Generated Node #0,3: 79:[89, 26, 68] Operation: 93-25=68
Exploring Operation: 89-25=64, Resulting Numbers: [93, 26, 64]
Generated Node #0,4: 79:[93, 26, 64] Operation: 89-25=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[93, 89, 51], Operations: ['26+25=51']
Exploring Operation: 89+51=140, Resulting Numbers: [93, 140]
Generated Node #0,0,0: 79:[93, 140] Operation: 89+51=140
Exploring Operation: 89-51=38, Resulting Numbers: [93, 38]
Generated Node #0,0,1: 79:[93, 38] Operation: 89-51=38
Exploring Operation: 93-89=4, Resulting Numbers: [51, 4]
Generated Node #0,0,2: 79:[51, 4] Operation: 93-89=4
Exploring Operation: 93-51=42, Resulting Numbers: [89, 42]
Generated Node #0,0,3: 79:[89, 42] Operation: 93-51=42
Exploring Operation: 93+51=144, Resulting Numbers: [89, 144]
Generated Node #0,0,4: 79:[89, 144] Operation: 93+51=144
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[89, 42], Operations: ['26+25=51', '93-51=42']
Exploring Operation: 89+42=131, Resulting Numbers: [131]
131,79 unequal: No Solution
Exploring Operation: 89*42=3738, Resulting Numbers: [3738]
3738,79 unequal: No Solution
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[93, 38], Operations: ['26+25=51', '89-51=38']
Exploring Operation: 93-38=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 93+38=131, Resulting Numbers: [131]
131,79 unequal: No Solution
Exploring Operation: 93*38=3534, Resulting Numbers: [3534]
3534,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[93, 140], Operations: ['26+25=51', '89+51=140']
Exploring Operation: 140-93=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 93*140=13020, Resulting Numbers: [13020]
13020,79 unequal: No Solution
Exploring Operation: 93+140=233, Resulting Numbers: [233]
233,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 79:[89, 144], Operations: ['26+25=51', '93+51=144']
Exploring Operation: 89*144=12816, Resulting Numbers: [12816]
12816,79 unequal: No Solution
Exploring Operation: 89+144=233, Resulting Numbers: [233]
233,79 unequal: No Solution
Exploring Operation: 144-89=55, Resulting Numbers: [55]
55,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[51, 4], Operations: ['26+25=51', '93-89=4']
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,79 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[89, 26, 68], Operations: ['93-25=68']
Exploring Operation: 26+68=94, Resulting Numbers: [89, 94]
Generated Node #0,3,0: 79:[89, 94] Operation: 26+68=94
Exploring Operation: 89+26=115, Resulting Numbers: [68, 115]
Generated Node #0,3,1: 79:[68, 115] Operation: 89+26=115
Exploring Operation: 68-26=42, Resulting Numbers: [89, 42]
Generated Node #0,3,2: 79:[89, 42] Operation: 68-26=42
Exploring Operation: 89-26=63, Resulting Numbers: [68, 63]
Generated Node #0,3,3: 79:[68, 63] Operation: 89-26=63
Exploring Operation: 89-68=21, Resulting Numbers: [26, 21]
Generated Node #0,3,4: 79:[26, 21] Operation: 89-68=21
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[89, 94], Operations: ['93-25=68', '26+68=94']
Exploring Operation: 89*94=8366, Resulting Numbers: [8366]
8366,79 unequal: No Solution
Exploring Operation: 94-89=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 89+94=183, Resulting Numbers: [183]
183,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 79:[68, 63], Operations: ['93-25=68', '89-26=63']
Exploring Operation: 68-63=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 68+63=131, Resulting Numbers: [131]
131,79 unequal: No Solution
Exploring Operation: 68*63=4284, Resulting Numbers: [4284]
4284,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 79:[68, 115], Operations: ['93-25=68', '89+26=115']
Exploring Operation: 68*115=7820, Resulting Numbers: [7820]
7820,79 unequal: No Solution
Exploring Operation: 115-68=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 68+115=183, Resulting Numbers: [183]
183,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[89, 42], Operations: ['93-25=68', '68-26=42']
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 89*42=3738, Resulting Numbers: [3738]
3738,79 unequal: No Solution
Exploring Operation: 89+42=131, Resulting Numbers: [131]
131,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 79:[26, 21], Operations: ['93-25=68', '89-68=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,79 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[89, 25, 67], Operations: ['93-26=67']
Exploring Operation: 89+25=114, Resulting Numbers: [67, 114]
Generated Node #0,1,0: 79:[67, 114] Operation: 89+25=114
Exploring Operation: 67-25=42, Resulting Numbers: [89, 42]
Generated Node #0,1,1: 79:[89, 42] Operation: 67-25=42
Exploring Operation: 25+67=92, Resulting Numbers: [89, 92]
Generated Node #0,1,2: 79:[89, 92] Operation: 25+67=92
Exploring Operation: 89-25=64, Resulting Numbers: [67, 64]
Generated Node #0,1,3: 79:[67, 64] Operation: 89-25=64
Exploring Operation: 89-67=22, Resulting Numbers: [25, 22]
Generated Node #0,1,4: 79:[25, 22] Operation: 89-67=22
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[89, 92], Operations: ['93-26=67', '25+67=92']
Exploring Operation: 92-89=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 89+92=181, Resulting Numbers: [181]
181,79 unequal: No Solution
Exploring Operation: 89*92=8188, Resulting Numbers: [8188]
8188,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 79:[67, 64], Operations: ['93-26=67', '89-25=64']
Exploring Operation: 67+64=131, Resulting Numbers: [131]
131,79 unequal: No Solution
Exploring Operation: 67-64=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 67*64=4288, Resulting Numbers: [4288]
4288,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[67, 114], Operations: ['93-26=67', '89+25=114']
Exploring Operation: 67*114=7638, Resulting Numbers: [7638]
7638,79 unequal: No Solution
Exploring Operation: 114-67=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 67+114=181, Resulting Numbers: [181]
181,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[89, 42], Operations: ['93-26=67', '67-25=42']
Exploring Operation: 89*42=3738, Resulting Numbers: [3738]
3738,79 unequal: No Solution
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 89+42=131, Resulting Numbers: [131]
131,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 79:[25, 22], Operations: ['93-26=67', '89-67=22']
Exploring Operation: 25+22=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 25*22=550, Resulting Numbers: [550]
550,79 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 79:[93, 26, 64], Operations: ['89-25=64']
Exploring Operation: 26+64=90, Resulting Numbers: [93, 90]
Generated Node #0,4,0: 79:[93, 90] Operation: 26+64=90
Exploring Operation: 64-26=38, Resulting Numbers: [93, 38]
Generated Node #0,4,1: 79:[93, 38] Operation: 64-26=38
Exploring Operation: 93+26=119, Resulting Numbers: [64, 119]
Generated Node #0,4,2: 79:[64, 119] Operation: 93+26=119
Exploring Operation: 93-64=29, Resulting Numbers: [26, 29]
Generated Node #0,4,3: 79:[26, 29] Operation: 93-64=29
Exploring Operation: 93-26=67, Resulting Numbers: [64, 67]
Generated Node #0,4,4: 79:[64, 67] Operation: 93-26=67
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 79:[93, 90], Operations: ['89-25=64', '26+64=90']
Exploring Operation: 93*90=8370, Resulting Numbers: [8370]
8370,79 unequal: No Solution
Exploring Operation: 93-90=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 93+90=183, Resulting Numbers: [183]
183,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 79:[64, 67], Operations: ['89-25=64', '93-26=67']
Exploring Operation: 64*67=4288, Resulting Numbers: [4288]
4288,79 unequal: No Solution
Exploring Operation: 64+67=131, Resulting Numbers: [131]
131,79 unequal: No Solution
Exploring Operation: 67-64=3, Resulting Numbers: [3]
3,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 79:[93, 38], Operations: ['89-25=64', '64-26=38']
Exploring Operation: 93-38=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 93*38=3534, Resulting Numbers: [3534]
3534,79 unequal: No Solution
Exploring Operation: 93+38=131, Resulting Numbers: [131]
131,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 79:[64, 119], Operations: ['89-25=64', '93+26=119']
Exploring Operation: 64+119=183, Resulting Numbers: [183]
183,79 unequal: No Solution
Exploring Operation: 64*119=7616, Resulting Numbers: [7616]
7616,79 unequal: No Solution
Exploring Operation: 119-64=55, Resulting Numbers: [55]
55,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 79:[26, 29], Operations: ['89-25=64', '93-64=29']
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[93, 25, 63], Operations: ['89-26=63']
Exploring Operation: 93-63=30, Resulting Numbers: [25, 30]
Generated Node #0,2,0: 79:[25, 30] Operation: 93-63=30
Exploring Operation: 93+25=118, Resulting Numbers: [63, 118]
Generated Node #0,2,1: 79:[63, 118] Operation: 93+25=118
Exploring Operation: 25+63=88, Resulting Numbers: [93, 88]
Generated Node #0,2,2: 79:[93, 88] Operation: 25+63=88
Exploring Operation: 63-25=38, Resulting Numbers: [93, 38]
Generated Node #0,2,3: 79:[93, 38] Operation: 63-25=38
Exploring Operation: 93-25=68, Resulting Numbers: [63, 68]
Generated Node #0,2,4: 79:[63, 68] Operation: 93-25=68
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[93, 88], Operations: ['89-26=63', '25+63=88']
Exploring Operation: 93+88=181, Resulting Numbers: [181]
181,79 unequal: No Solution
Exploring Operation: 93*88=8184, Resulting Numbers: [8184]
8184,79 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 79:[63, 68], Operations: ['89-26=63', '93-25=68']
Exploring Operation: 68-63=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 63*68=4284, Resulting Numbers: [4284]
4284,79 unequal: No Solution
Exploring Operation: 63+68=131, Resulting Numbers: [131]
131,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[63, 118], Operations: ['89-26=63', '93+25=118']
Exploring Operation: 63+118=181, Resulting Numbers: [181]
181,79 unequal: No Solution
Exploring Operation: 63*118=7434, Resulting Numbers: [7434]
7434,79 unequal: No Solution
Exploring Operation: 118-63=55, Resulting Numbers: [55]
55,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 79:[93, 38], Operations: ['89-26=63', '63-25=38']
Exploring Operation: 93-38=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 93*38=3534, Resulting Numbers: [3534]
3534,79 unequal: No Solution
Exploring Operation: 93+38=131, Resulting Numbers: [131]
131,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[25, 30], Operations: ['89-26=63', '93-63=30']
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,79 unequal: No Solution
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
49,
57,
40,
99
] | 47 | [
"49+57=106",
"99-40=59",
"106-59=47"
] | Current State: 47:[49, 57, 40, 99], Operations: []
Exploring Operation: 49+57=106, Resulting Numbers: [40, 99, 106]
Generated Node #2: [40, 99, 106] from Operation: 49+57=106
Current State: 47:[40, 99, 106], Operations: ['49+57=106']
Exploring Operation: 99-40=59, Resulting Numbers: [106, 59]
Generated Node #3: [106, 59] from Operation: 99-40=59
Current State: 47:[106, 59], Operations: ['49+57=106', '99-40=59']
Exploring Operation: 106-59=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[49, 57, 40, 99], Operations: []
Exploring Operation: 99-57=42, Resulting Numbers: [49, 40, 42]
Generated Node #0,0: 47:[49, 40, 42] Operation: 99-57=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[49, 40, 42], Operations: ['99-57=42']
Exploring Operation: 40+42=82, Resulting Numbers: [49, 82]
Generated Node #0,0,0: 47:[49, 82] Operation: 40+42=82
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[49, 82], Operations: ['99-57=42', '40+42=82']
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
89,
43,
32,
43
] | 32 | [
"43-43=0",
"89*0=0",
"32+0=32"
] | Current State: 32:[89, 43, 32, 43], Operations: []
Exploring Operation: 43-43=0, Resulting Numbers: [89, 32, 0]
Generated Node #2: [89, 32, 0] from Operation: 43-43=0
Current State: 32:[89, 32, 0], Operations: ['43-43=0']
Exploring Operation: 89*0=0, Resulting Numbers: [32, 0]
Generated Node #3: [32, 0] from Operation: 89*0=0
Current State: 32:[32, 0], Operations: ['43-43=0', '89*0=0']
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[89, 43, 32, 43], Operations: []
Exploring Operation: 89-43=46, Resulting Numbers: [43, 32, 46]
Generated Node #0,0: 32:[43, 32, 46] Operation: 89-43=46
Exploring Operation: 89-32=57, Resulting Numbers: [43, 43, 57]
Generated Node #0,1: 32:[43, 43, 57] Operation: 89-32=57
Exploring Operation: 43/43=1, Resulting Numbers: [89, 32, 1]
Generated Node #0,2: 32:[89, 32, 1] Operation: 43/43=1
Exploring Operation: 43-43=0, Resulting Numbers: [89, 32, 0]
Generated Node #0,3: 32:[89, 32, 0] Operation: 43-43=0
Exploring Operation: 89-43=46, Resulting Numbers: [32, 43, 46]
Generated Node #0,4: 32:[32, 43, 46] Operation: 89-43=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[43, 32, 46], Operations: ['89-43=46']
Exploring Operation: 43-32=11, Resulting Numbers: [46, 11]
Generated Node #0,0,0: 32:[46, 11] Operation: 43-32=11
Exploring Operation: 46-32=14, Resulting Numbers: [43, 14]
Generated Node #0,0,1: 32:[43, 14] Operation: 46-32=14
Exploring Operation: 43+46=89, Resulting Numbers: [32, 89]
Generated Node #0,0,2: 32:[32, 89] Operation: 43+46=89
Exploring Operation: 43+32=75, Resulting Numbers: [46, 75]
Generated Node #0,0,3: 32:[46, 75] Operation: 43+32=75
Exploring Operation: 46-43=3, Resulting Numbers: [32, 3]
Generated Node #0,0,4: 32:[32, 3] Operation: 46-43=3
Moving to Node #0,0,4
Current State: 32:[32, 3], Operations: ['89-43=46', '46-43=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[43, 14], Operations: ['89-43=46', '46-32=14']
Exploring Operation: 43*14=602, Resulting Numbers: [602]
602,32 unequal: No Solution
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[46, 11], Operations: ['89-43=46', '43-32=11']
Exploring Operation: 46*11=506, Resulting Numbers: [506]
506,32 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[32, 89], Operations: ['89-43=46', '43+46=89']
Exploring Operation: 32+89=121, Resulting Numbers: [121]
121,32 unequal: No Solution
Exploring Operation: 32*89=2848, Resulting Numbers: [2848]
2848,32 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[46, 75], Operations: ['89-43=46', '43+32=75']
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,32 unequal: No Solution
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,32 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,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,4
Current State: 32:[32, 43, 46], Operations: ['89-43=46']
Exploring Operation: 46-43=3, Resulting Numbers: [32, 3]
Generated Node #0,4,0: 32:[32, 3] Operation: 46-43=3
Exploring Operation: 32+46=78, Resulting Numbers: [43, 78]
Generated Node #0,4,1: 32:[43, 78] Operation: 32+46=78
Exploring Operation: 43-32=11, Resulting Numbers: [46, 11]
Generated Node #0,4,2: 32:[46, 11] Operation: 43-32=11
Exploring Operation: 32+43=75, Resulting Numbers: [46, 75]
Generated Node #0,4,3: 32:[46, 75] Operation: 32+43=75
Exploring Operation: 46-32=14, Resulting Numbers: [43, 14]
Generated Node #0,4,4: 32:[43, 14] Operation: 46-32=14
Moving to Node #0,4,0
Current State: 32:[32, 3], Operations: ['89-43=46', '46-43=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,32 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[43, 14], Operations: ['89-43=46', '46-32=14']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 43*14=602, Resulting Numbers: [602]
602,32 unequal: No Solution
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[46, 11], Operations: ['89-43=46', '43-32=11']
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 46*11=506, Resulting Numbers: [506]
506,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[43, 78], Operations: ['89-43=46', '32+46=78']
Exploring Operation: 43*78=3354, Resulting Numbers: [3354]
3354,32 unequal: No Solution
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 43+78=121, Resulting Numbers: [121]
121,32 unequal: No Solution
Moving to Node #0,4,3
Current State: 32:[46, 75], Operations: ['89-43=46', '32+43=75']
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,32 unequal: No Solution
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,32 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,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:[43, 43, 57], Operations: ['89-32=57']
Exploring Operation: 57-43=14, Resulting Numbers: [43, 14]
Generated Node #0,1,0: 32:[43, 14] Operation: 57-43=14
Exploring Operation: 57-43=14, Resulting Numbers: [43, 14]
Generated Node #0,1,1: 32:[43, 14] Operation: 57-43=14
Exploring Operation: 43/43=1, Resulting Numbers: [57, 1]
Generated Node #0,1,2: 32:[57, 1] Operation: 43/43=1
Exploring Operation: 43-43=0, Resulting Numbers: [57, 0]
Generated Node #0,1,3: 32:[57, 0] Operation: 43-43=0
Exploring Operation: 43+43=86, Resulting Numbers: [57, 86]
Generated Node #0,1,4: 32:[57, 86] Operation: 43+43=86
Moving to Node #0,1,0
Current State: 32:[43, 14], Operations: ['89-32=57', '57-43=14']
Exploring Operation: 43*14=602, Resulting Numbers: [602]
602,32 unequal: No Solution
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[43, 14], Operations: ['89-32=57', '57-43=14']
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 43*14=602, Resulting Numbers: [602]
602,32 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[57, 1], Operations: ['89-32=57', '43/43=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,32 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[57, 0], Operations: ['89-32=57', '43-43=0']
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 57-0=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 57*0=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Moving to Node #0,1,4
Current State: 32:[57, 86], Operations: ['89-32=57', '43+43=86']
Exploring Operation: 57*86=4902, Resulting Numbers: [4902]
4902,32 unequal: No Solution
Exploring Operation: 57+86=143, Resulting Numbers: [143]
143,32 unequal: No Solution
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,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:[89, 32, 1], Operations: ['43/43=1']
Exploring Operation: 32*1=32, Resulting Numbers: [89, 32]
Generated Node #0,2,0: 32:[89, 32] Operation: 32*1=32
Exploring Operation: 89*1=89, Resulting Numbers: [32, 89]
Generated Node #0,2,1: 32:[32, 89] Operation: 89*1=89
Exploring Operation: 89/1=89, Resulting Numbers: [32, 89]
Generated Node #0,2,2: 32:[32, 89] Operation: 89/1=89
Exploring Operation: 89-32=57, Resulting Numbers: [1, 57]
Generated Node #0,2,3: 32:[1, 57] Operation: 89-32=57
Exploring Operation: 89-1=88, Resulting Numbers: [32, 88]
Generated Node #0,2,4: 32:[32, 88] Operation: 89-1=88
Moving to Node #0,2,3
Current State: 32:[1, 57], Operations: ['43/43=1', '89-32=57']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[32, 88], Operations: ['43/43=1', '89-1=88']
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 32*88=2816, Resulting Numbers: [2816]
2816,32 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[89, 32], Operations: ['43/43=1', '32*1=32']
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,32 unequal: No Solution
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[32, 89], Operations: ['43/43=1', '89*1=89']
Exploring Operation: 32+89=121, Resulting Numbers: [121]
121,32 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 32*89=2848, Resulting Numbers: [2848]
2848,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[32, 89], Operations: ['43/43=1', '89/1=89']
Exploring Operation: 32+89=121, Resulting Numbers: [121]
121,32 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 32*89=2848, Resulting Numbers: [2848]
2848,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:[89, 32, 0], Operations: ['43-43=0']
Exploring Operation: 89*0=0, Resulting Numbers: [32, 0]
Generated Node #0,3,0: 32:[32, 0] Operation: 89*0=0
Exploring Operation: 32+0=32, Resulting Numbers: [89, 32]
Generated Node #0,3,1: 32:[89, 32] Operation: 32+0=32
Exploring Operation: 89-32=57, Resulting Numbers: [0, 57]
Generated Node #0,3,2: 32:[0, 57] Operation: 89-32=57
Exploring Operation: 89+0=89, Resulting Numbers: [32, 89]
Generated Node #0,3,3: 32:[32, 89] Operation: 89+0=89
Exploring Operation: 89-0=89, Resulting Numbers: [32, 89]
Generated Node #0,3,4: 32:[32, 89] Operation: 89-0=89
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 32:[32, 0], Operations: ['43-43=0', '89*0=0']
Exploring Operation: 32-0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[89, 43, 32, 43], Operations: []
Exploring Operation: 43-43=0, Resulting Numbers: [89, 32, 0]
Generated Node #0,3: 32:[89, 32, 0] Operation: 43-43=0
Moving to Node #0,3
Current State: 32:[89, 32, 0], Operations: ['43-43=0']
Exploring Operation: 89*0=0, Resulting Numbers: [32, 0]
Generated Node #0,3,0: 32:[32, 0] Operation: 89*0=0
Moving to Node #0,3,0
Current State: 32:[32, 0], Operations: ['43-43=0', '89*0=0']
Exploring Operation: 32-0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.915799 | hs_5 | mult_heuristic |
[
56,
14,
26,
5
] | 26 | [
"56/14=4",
"5-4=1",
"26*1=26"
] | Current State: 26:[56, 14, 26, 5], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [26, 5, 4]
Generated Node #2: [26, 5, 4] from Operation: 56/14=4
Current State: 26:[26, 5, 4], Operations: ['56/14=4']
Exploring Operation: 5-4=1, Resulting Numbers: [26, 1]
Generated Node #3: [26, 1] from Operation: 5-4=1
Current State: 26:[26, 1], Operations: ['56/14=4', '5-4=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[56, 14, 26, 5], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [26, 5, 4]
Generated Node #0,0: 26:[26, 5, 4] Operation: 56/14=4
Exploring Operation: 56-5=51, Resulting Numbers: [14, 26, 51]
Generated Node #0,1: 26:[14, 26, 51] Operation: 56-5=51
Exploring Operation: 56-26=30, Resulting Numbers: [14, 5, 30]
Generated Node #0,2: 26:[14, 5, 30] Operation: 56-26=30
Exploring Operation: 56-14=42, Resulting Numbers: [26, 5, 42]
Generated Node #0,3: 26:[26, 5, 42] Operation: 56-14=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[26, 5, 4], Operations: ['56/14=4']
Exploring Operation: 5*4=20, Resulting Numbers: [26, 20]
Generated Node #0,0,0: 26:[26, 20] Operation: 5*4=20
Exploring Operation: 5-4=1, Resulting Numbers: [26, 1]
Generated Node #0,0,1: 26:[26, 1] Operation: 5-4=1
Exploring Operation: 5+4=9, Resulting Numbers: [26, 9]
Generated Node #0,0,2: 26:[26, 9] Operation: 5+4=9
Exploring Operation: 26+5=31, Resulting Numbers: [4, 31]
Generated Node #0,0,3: 26:[4, 31] Operation: 26+5=31
Moving to Node #0,0,1
Current State: 26:[26, 1], Operations: ['56/14=4', '5-4=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[56, 14, 26, 5], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [26, 5, 4]
Generated Node #0,0: 26:[26, 5, 4] Operation: 56/14=4
Moving to Node #0,0
Current State: 26:[26, 5, 4], Operations: ['56/14=4']
Exploring Operation: 5-4=1, Resulting Numbers: [26, 1]
Generated Node #0,0,1: 26:[26, 1] Operation: 5-4=1
Moving to Node #0,0,1
Current State: 26:[26, 1], Operations: ['56/14=4', '5-4=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
26,
76,
34,
86
] | 83 | [
"26+76=102",
"102/34=3",
"86-3=83"
] | Current State: 83:[26, 76, 34, 86], Operations: []
Exploring Operation: 26+76=102, Resulting Numbers: [34, 86, 102]
Generated Node #2: [34, 86, 102] from Operation: 26+76=102
Current State: 83:[34, 86, 102], Operations: ['26+76=102']
Exploring Operation: 102/34=3, Resulting Numbers: [86, 3]
Generated Node #3: [86, 3] from Operation: 102/34=3
Current State: 83:[86, 3], Operations: ['26+76=102', '102/34=3']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[26, 76, 34, 86], Operations: []
Exploring Operation: 26+34=60, Resulting Numbers: [76, 86, 60]
Generated Node #0,0: 83:[76, 86, 60] Operation: 26+34=60
Moving to Node #0,0
Current State: 83:[76, 86, 60], Operations: ['26+34=60']
Exploring Operation: 76+60=136, Resulting Numbers: [86, 136]
Generated Node #0,0,0: 83:[86, 136] Operation: 76+60=136
Moving to Node #0,0,0
Current State: 83:[86, 136], Operations: ['26+34=60', '76+60=136']
Exploring Operation: 136-86=50, Resulting Numbers: [50]
50,83 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
83,
92,
92,
4
] | 83 | [
"92-92=0",
"4*0=0",
"83+0=83"
] | Current State: 83:[83, 92, 92, 4], Operations: []
Exploring Operation: 92-92=0, Resulting Numbers: [83, 4, 0]
Generated Node #2: [83, 4, 0] from Operation: 92-92=0
Current State: 83:[83, 4, 0], Operations: ['92-92=0']
Exploring Operation: 4*0=0, Resulting Numbers: [83, 0]
Generated Node #3: [83, 0] from Operation: 4*0=0
Current State: 83:[83, 0], Operations: ['92-92=0', '4*0=0']
Exploring Operation: 83+0=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[83, 92, 92, 4], Operations: []
Exploring Operation: 92-4=88, Resulting Numbers: [83, 92, 88]
Generated Node #0,0: 83:[83, 92, 88] Operation: 92-4=88
Exploring Operation: 83+4=87, Resulting Numbers: [92, 92, 87]
Generated Node #0,1: 83:[92, 92, 87] Operation: 83+4=87
Exploring Operation: 92-4=88, Resulting Numbers: [83, 92, 88]
Generated Node #0,2: 83:[83, 92, 88] Operation: 92-4=88
Exploring Operation: 92+4=96, Resulting Numbers: [83, 92, 96]
Generated Node #0,3: 83:[83, 92, 96] Operation: 92+4=96
Exploring Operation: 83-4=79, Resulting Numbers: [92, 92, 79]
Generated Node #0,4: 83:[92, 92, 79] Operation: 83-4=79
Moving to Node #0,0
Current State: 83:[83, 92, 88], Operations: ['92-4=88']
Exploring Operation: 92-83=9, Resulting Numbers: [88, 9]
Generated Node #0,0,0: 83:[88, 9] Operation: 92-83=9
Exploring Operation: 92-88=4, Resulting Numbers: [83, 4]
Generated Node #0,0,1: 83:[83, 4] Operation: 92-88=4
Exploring Operation: 83+92=175, Resulting Numbers: [88, 175]
Generated Node #0,0,2: 83:[88, 175] Operation: 83+92=175
Exploring Operation: 83+88=171, Resulting Numbers: [92, 171]
Generated Node #0,0,3: 83:[92, 171] Operation: 83+88=171
Exploring Operation: 88-83=5, Resulting Numbers: [92, 5]
Generated Node #0,0,4: 83:[92, 5] Operation: 88-83=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[88, 9], Operations: ['92-4=88', '92-83=9']
Exploring Operation: 88+9=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 88*9=792, Resulting Numbers: [792]
792,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[83, 4], Operations: ['92-4=88', '92-88=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,83 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 83:[92, 5], Operations: ['92-4=88', '88-83=5']
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 92*5=460, Resulting Numbers: [460]
460,83 unequal: No Solution
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[88, 175], Operations: ['92-4=88', '83+92=175']
Exploring Operation: 88+175=263, Resulting Numbers: [263]
263,83 unequal: No Solution
Exploring Operation: 88*175=15400, Resulting Numbers: [15400]
15400,83 unequal: No Solution
Exploring Operation: 175-88=87, Resulting Numbers: [87]
87,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[92, 171], Operations: ['92-4=88', '83+88=171']
Exploring Operation: 171-92=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 92*171=15732, Resulting Numbers: [15732]
15732,83 unequal: No Solution
Exploring Operation: 92+171=263, Resulting Numbers: [263]
263,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 83:[83, 92, 88], Operations: ['92-4=88']
Exploring Operation: 83+88=171, Resulting Numbers: [92, 171]
Generated Node #0,2,0: 83:[92, 171] Operation: 83+88=171
Exploring Operation: 92-88=4, Resulting Numbers: [83, 4]
Generated Node #0,2,1: 83:[83, 4] Operation: 92-88=4
Exploring Operation: 88-83=5, Resulting Numbers: [92, 5]
Generated Node #0,2,2: 83:[92, 5] Operation: 88-83=5
Exploring Operation: 92-83=9, Resulting Numbers: [88, 9]
Generated Node #0,2,3: 83:[88, 9] Operation: 92-83=9
Exploring Operation: 83+92=175, Resulting Numbers: [88, 175]
Generated Node #0,2,4: 83:[88, 175] Operation: 83+92=175
Moving to Node #0,1
Current State: 83:[92, 92, 87], Operations: ['83+4=87']
Exploring Operation: 92-87=5, Resulting Numbers: [92, 5]
Generated Node #0,1,0: 83:[92, 5] Operation: 92-87=5
Exploring Operation: 92/92=1, Resulting Numbers: [87, 1]
Generated Node #0,1,1: 83:[87, 1] Operation: 92/92=1
Exploring Operation: 92-92=0, Resulting Numbers: [87, 0]
Generated Node #0,1,2: 83:[87, 0] Operation: 92-92=0
Exploring Operation: 92-87=5, Resulting Numbers: [92, 5]
Generated Node #0,1,3: 83:[92, 5] Operation: 92-87=5
Exploring Operation: 92+92=184, Resulting Numbers: [87, 184]
Generated Node #0,1,4: 83:[87, 184] Operation: 92+92=184
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[87, 1], Operations: ['83+4=87', '92/92=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[92, 5], Operations: ['83+4=87', '92-87=5']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 92*5=460, Resulting Numbers: [460]
460,83 unequal: No Solution
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[87, 0], Operations: ['83+4=87', '92-92=0']
Exploring Operation: 87+0=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 87*0=0, Resulting Numbers: [0]
0,83 unequal: No Solution
Exploring Operation: 87-0=87, Resulting Numbers: [87]
87,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 83:[92, 5], Operations: ['83+4=87', '92-87=5']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 92*5=460, Resulting Numbers: [460]
460,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 83:[87, 184], Operations: ['83+4=87', '92+92=184']
Exploring Operation: 184-87=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 87+184=271, Resulting Numbers: [271]
271,83 unequal: No Solution
Exploring Operation: 87*184=16008, Resulting Numbers: [16008]
16008,83 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: 83:[83, 92, 96], Operations: ['92+4=96']
Exploring Operation: 92-83=9, Resulting Numbers: [96, 9]
Generated Node #0,3,0: 83:[96, 9] Operation: 92-83=9
Exploring Operation: 83+92=175, Resulting Numbers: [96, 175]
Generated Node #0,3,1: 83:[96, 175] Operation: 83+92=175
Exploring Operation: 83+96=179, Resulting Numbers: [92, 179]
Generated Node #0,3,2: 83:[92, 179] Operation: 83+96=179
Exploring Operation: 96-83=13, Resulting Numbers: [92, 13]
Generated Node #0,3,3: 83:[92, 13] Operation: 96-83=13
Exploring Operation: 96-92=4, Resulting Numbers: [83, 4]
Generated Node #0,3,4: 83:[83, 4] Operation: 96-92=4
Moving to Node #0,4
Current State: 83:[92, 92, 79], Operations: ['83-4=79']
Exploring Operation: 92/92=1, Resulting Numbers: [79, 1]
Generated Node #0,4,0: 83:[79, 1] Operation: 92/92=1
Exploring Operation: 92+79=171, Resulting Numbers: [92, 171]
Generated Node #0,4,1: 83:[92, 171] Operation: 92+79=171
Exploring Operation: 92-79=13, Resulting Numbers: [92, 13]
Generated Node #0,4,2: 83:[92, 13] Operation: 92-79=13
Exploring Operation: 92-79=13, Resulting Numbers: [92, 13]
Generated Node #0,4,3: 83:[92, 13] Operation: 92-79=13
Exploring Operation: 92-92=0, Resulting Numbers: [79, 0]
Generated Node #0,4,4: 83:[79, 0] Operation: 92-92=0
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 83:[92, 13], Operations: ['83-4=79', '92-79=13']
Exploring Operation: 92+13=105, Resulting Numbers: [105]
105,83 unequal: No Solution
Exploring Operation: 92*13=1196, Resulting Numbers: [1196]
1196,83 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 83:[92, 13], Operations: ['83-4=79', '92-79=13']
Exploring Operation: 92*13=1196, Resulting Numbers: [1196]
1196,83 unequal: No Solution
Exploring Operation: 92+13=105, Resulting Numbers: [105]
105,83 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 83:[79, 1], Operations: ['83-4=79', '92/92=1']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,83 unequal: No Solution
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 83:[79, 0], Operations: ['83-4=79', '92-92=0']
Exploring Operation: 79-0=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 79*0=0, Resulting Numbers: [0]
0,83 unequal: No Solution
Exploring Operation: 79+0=79, Resulting Numbers: [79]
79,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 83:[92, 171], Operations: ['83-4=79', '92+79=171']
Exploring Operation: 171-92=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 92*171=15732, Resulting Numbers: [15732]
15732,83 unequal: No Solution
Exploring Operation: 92+171=263, Resulting Numbers: [263]
263,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 83:[83, 4], Operations: ['92-4=88', '92-88=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[92, 13], Operations: ['92+4=96', '96-83=13']
Exploring Operation: 92*13=1196, Resulting Numbers: [1196]
1196,83 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 92+13=105, Resulting Numbers: [105]
105,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[83, 4], Operations: ['92+4=96', '96-92=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,83 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[88, 9], Operations: ['92-4=88', '92-83=9']
Exploring Operation: 88+9=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 88*9=792, Resulting Numbers: [792]
792,83 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[92, 5], Operations: ['92-4=88', '88-83=5']
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 92*5=460, Resulting Numbers: [460]
460,83 unequal: No Solution
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[96, 9], Operations: ['92+4=96', '92-83=9']
Exploring Operation: 96+9=105, Resulting Numbers: [105]
105,83 unequal: No Solution
Exploring Operation: 96*9=864, Resulting Numbers: [864]
864,83 unequal: No Solution
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[88, 175], Operations: ['92-4=88', '83+92=175']
Exploring Operation: 88+175=263, Resulting Numbers: [263]
263,83 unequal: No Solution
Exploring Operation: 175-88=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 88*175=15400, Resulting Numbers: [15400]
15400,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[92, 171], Operations: ['92-4=88', '83+88=171']
Exploring Operation: 92+171=263, Resulting Numbers: [263]
263,83 unequal: No Solution
Exploring Operation: 171-92=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 92*171=15732, Resulting Numbers: [15732]
15732,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[92, 179], Operations: ['92+4=96', '83+96=179']
Exploring Operation: 92*179=16468, Resulting Numbers: [16468]
16468,83 unequal: No Solution
Exploring Operation: 179-92=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 92+179=271, Resulting Numbers: [271]
271,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[96, 175], Operations: ['92+4=96', '83+92=175']
Exploring Operation: 96*175=16800, Resulting Numbers: [16800]
16800,83 unequal: No Solution
Exploring Operation: 96+175=271, Resulting Numbers: [271]
271,83 unequal: No Solution
Exploring Operation: 175-96=79, Resulting Numbers: [79]
79,83 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
51,
67,
24,
71
] | 63 | [
"67-51=16",
"71-24=47",
"16+47=63"
] | Current State: 63:[51, 67, 24, 71], Operations: []
Exploring Operation: 67-51=16, Resulting Numbers: [24, 71, 16]
Generated Node #2: [24, 71, 16] from Operation: 67-51=16
Current State: 63:[24, 71, 16], Operations: ['67-51=16']
Exploring Operation: 71-24=47, Resulting Numbers: [16, 47]
Generated Node #3: [16, 47] from Operation: 71-24=47
Current State: 63:[16, 47], Operations: ['67-51=16', '71-24=47']
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[51, 67, 24, 71], Operations: []
Exploring Operation: 71-51=20, Resulting Numbers: [67, 24, 20]
Generated Node #0,0: 63:[67, 24, 20] Operation: 71-51=20
Exploring Operation: 67-51=16, Resulting Numbers: [24, 71, 16]
Generated Node #0,1: 63:[24, 71, 16] Operation: 67-51=16
Moving to Node #0,0
Current State: 63:[67, 24, 20], Operations: ['71-51=20']
Exploring Operation: 67-20=47, Resulting Numbers: [24, 47]
Generated Node #0,0,0: 63:[24, 47] Operation: 67-20=47
Exploring Operation: 24-20=4, Resulting Numbers: [67, 4]
Generated Node #0,0,1: 63:[67, 4] Operation: 24-20=4
Moving to Node #0,1
Current State: 63:[24, 71, 16], Operations: ['67-51=16']
Exploring Operation: 71-16=55, Resulting Numbers: [24, 55]
Generated Node #0,1,0: 63:[24, 55] Operation: 71-16=55
Exploring Operation: 24-16=8, Resulting Numbers: [71, 8]
Generated Node #0,1,1: 63:[71, 8] Operation: 24-16=8
Moving to Node #0,0,1
Current State: 63:[67, 4], Operations: ['71-51=20', '24-20=4']
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[51, 67, 24, 71], Operations: []
Exploring Operation: 71-51=20, Resulting Numbers: [67, 24, 20]
Generated Node #0,0: 63:[67, 24, 20] Operation: 71-51=20
Moving to Node #0,0
Current State: 63:[67, 24, 20], Operations: ['71-51=20']
Exploring Operation: 24-20=4, Resulting Numbers: [67, 4]
Generated Node #0,0,1: 63:[67, 4] Operation: 24-20=4
Moving to Node #0,0,1
Current State: 63:[67, 4], Operations: ['71-51=20', '24-20=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
22,
25,
47,
61
] | 60 | [
"22+25=47",
"47/47=1",
"61-1=60"
] | Current State: 60:[22, 25, 47, 61], Operations: []
Exploring Operation: 22+25=47, Resulting Numbers: [47, 61, 47]
Generated Node #2: [47, 61, 47] from Operation: 22+25=47
Current State: 60:[47, 61, 47], Operations: ['22+25=47']
Exploring Operation: 47/47=1, Resulting Numbers: [61, 1]
Generated Node #3: [61, 1] from Operation: 47/47=1
Current State: 60:[61, 1], Operations: ['22+25=47', '47/47=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[22, 25, 47, 61], Operations: []
Exploring Operation: 61-47=14, Resulting Numbers: [22, 25, 14]
Generated Node #0,0: 60:[22, 25, 14] Operation: 61-47=14
Exploring Operation: 47-25=22, Resulting Numbers: [22, 61, 22]
Generated Node #0,1: 60:[22, 61, 22] Operation: 47-25=22
Exploring Operation: 25-22=3, Resulting Numbers: [47, 61, 3]
Generated Node #0,2: 60:[47, 61, 3] Operation: 25-22=3
Exploring Operation: 47-22=25, Resulting Numbers: [25, 61, 25]
Generated Node #0,3: 60:[25, 61, 25] Operation: 47-22=25
Moving to Node #0,1
Current State: 60:[22, 61, 22], Operations: ['47-25=22']
Exploring Operation: 61-22=39, Resulting Numbers: [22, 39]
Generated Node #0,1,0: 60:[22, 39] Operation: 61-22=39
Exploring Operation: 22/22=1, Resulting Numbers: [61, 1]
Generated Node #0,1,1: 60:[61, 1] Operation: 22/22=1
Exploring Operation: 22-22=0, Resulting Numbers: [61, 0]
Generated Node #0,1,2: 60:[61, 0] Operation: 22-22=0
Exploring Operation: 61-22=39, Resulting Numbers: [22, 39]
Generated Node #0,1,3: 60:[22, 39] Operation: 61-22=39
Moving to Node #0,0
Current State: 60:[22, 25, 14], Operations: ['61-47=14']
Exploring Operation: 25-14=11, Resulting Numbers: [22, 11]
Generated Node #0,0,0: 60:[22, 11] Operation: 25-14=11
Exploring Operation: 22+14=36, Resulting Numbers: [25, 36]
Generated Node #0,0,1: 60:[25, 36] Operation: 22+14=36
Exploring Operation: 22-14=8, Resulting Numbers: [25, 8]
Generated Node #0,0,2: 60:[25, 8] Operation: 22-14=8
Exploring Operation: 25-22=3, Resulting Numbers: [14, 3]
Generated Node #0,0,3: 60:[14, 3] Operation: 25-22=3
Moving to Node #0,3
Current State: 60:[25, 61, 25], Operations: ['47-22=25']
Exploring Operation: 25/25=1, Resulting Numbers: [61, 1]
Generated Node #0,3,0: 60:[61, 1] Operation: 25/25=1
Exploring Operation: 25+25=50, Resulting Numbers: [61, 50]
Generated Node #0,3,1: 60:[61, 50] Operation: 25+25=50
Exploring Operation: 61-25=36, Resulting Numbers: [25, 36]
Generated Node #0,3,2: 60:[25, 36] Operation: 61-25=36
Exploring Operation: 25-25=0, Resulting Numbers: [61, 0]
Generated Node #0,3,3: 60:[61, 0] Operation: 25-25=0
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 60:[61, 1], Operations: ['47-22=25', '25/25=1']
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[22, 25, 47, 61], Operations: []
Exploring Operation: 47-22=25, Resulting Numbers: [25, 61, 25]
Generated Node #0,3: 60:[25, 61, 25] Operation: 47-22=25
Moving to Node #0,3
Current State: 60:[25, 61, 25], Operations: ['47-22=25']
Exploring Operation: 25/25=1, Resulting Numbers: [61, 1]
Generated Node #0,3,0: 60:[61, 1] Operation: 25/25=1
Moving to Node #0,3,0
Current State: 60:[61, 1], Operations: ['47-22=25', '25/25=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
31,
12,
3,
60
] | 12 | [
"12*3=36",
"36-31=5",
"60/5=12"
] | Current State: 12:[31, 12, 3, 60], Operations: []
Exploring Operation: 12*3=36, Resulting Numbers: [31, 60, 36]
Generated Node #2: [31, 60, 36] from Operation: 12*3=36
Current State: 12:[31, 60, 36], Operations: ['12*3=36']
Exploring Operation: 36-31=5, Resulting Numbers: [60, 5]
Generated Node #3: [60, 5] from Operation: 36-31=5
Current State: 12:[60, 5], Operations: ['12*3=36', '36-31=5']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[31, 12, 3, 60], Operations: []
Exploring Operation: 60-31=29, Resulting Numbers: [12, 3, 29]
Generated Node #0,0: 12:[12, 3, 29] Operation: 60-31=29
Moving to Node #0,0
Current State: 12:[12, 3, 29], Operations: ['60-31=29']
Exploring Operation: 29-12=17, Resulting Numbers: [3, 17]
Generated Node #0,0,0: 12:[3, 17] Operation: 29-12=17
Moving to Node #0,0,0
Current State: 12:[3, 17], Operations: ['60-31=29', '29-12=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,12 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
60,
90,
84,
54
] | 12 | [
"60+90=150",
"84+54=138",
"150-138=12"
] | Current State: 12:[60, 90, 84, 54], Operations: []
Exploring Operation: 60+90=150, Resulting Numbers: [84, 54, 150]
Generated Node #2: [84, 54, 150] from Operation: 60+90=150
Current State: 12:[84, 54, 150], Operations: ['60+90=150']
Exploring Operation: 84+54=138, Resulting Numbers: [150, 138]
Generated Node #3: [150, 138] from Operation: 84+54=138
Current State: 12:[150, 138], Operations: ['60+90=150', '84+54=138']
Exploring Operation: 150-138=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[60, 90, 84, 54], Operations: []
Exploring Operation: 90-60=30, Resulting Numbers: [84, 54, 30]
Generated Node #0,0: 12:[84, 54, 30] Operation: 90-60=30
Exploring Operation: 90-84=6, Resulting Numbers: [60, 54, 6]
Generated Node #0,1: 12:[60, 54, 6] Operation: 90-84=6
Exploring Operation: 84-60=24, Resulting Numbers: [90, 54, 24]
Generated Node #0,2: 12:[90, 54, 24] Operation: 84-60=24
Exploring Operation: 90-54=36, Resulting Numbers: [60, 84, 36]
Generated Node #0,3: 12:[60, 84, 36] Operation: 90-54=36
Moving to Node #0,1
Current State: 12:[60, 54, 6], Operations: ['90-84=6']
Exploring Operation: 60/6=10, Resulting Numbers: [54, 10]
Generated Node #0,1,0: 12:[54, 10] Operation: 60/6=10
Exploring Operation: 60-6=54, Resulting Numbers: [54, 54]
Generated Node #0,1,1: 12:[54, 54] Operation: 60-6=54
Exploring Operation: 54/6=9, Resulting Numbers: [60, 9]
Generated Node #0,1,2: 12:[60, 9] Operation: 54/6=9
Exploring Operation: 60-54=6, Resulting Numbers: [6, 6]
Generated Node #0,1,3: 12:[6, 6] Operation: 60-54=6
Moving to Node #0,2
Current State: 12:[90, 54, 24], Operations: ['84-60=24']
Exploring Operation: 54-24=30, Resulting Numbers: [90, 30]
Generated Node #0,2,0: 12:[90, 30] Operation: 54-24=30
Exploring Operation: 90+54=144, Resulting Numbers: [24, 144]
Generated Node #0,2,1: 12:[24, 144] Operation: 90+54=144
Exploring Operation: 90-24=66, Resulting Numbers: [54, 66]
Generated Node #0,2,2: 12:[54, 66] Operation: 90-24=66
Exploring Operation: 90-54=36, Resulting Numbers: [24, 36]
Generated Node #0,2,3: 12:[24, 36] Operation: 90-54=36
Moving to Node #0,0
Current State: 12:[84, 54, 30], Operations: ['90-60=30']
Exploring Operation: 84-54=30, Resulting Numbers: [30, 30]
Generated Node #0,0,0: 12:[30, 30] Operation: 84-54=30
Exploring Operation: 54-30=24, Resulting Numbers: [84, 24]
Generated Node #0,0,1: 12:[84, 24] Operation: 54-30=24
Exploring Operation: 84+54=138, Resulting Numbers: [30, 138]
Generated Node #0,0,2: 12:[30, 138] Operation: 84+54=138
Exploring Operation: 84-30=54, Resulting Numbers: [54, 54]
Generated Node #0,0,3: 12:[54, 54] Operation: 84-30=54
Moving to Node #0,3
Current State: 12:[60, 84, 36], Operations: ['90-54=36']
Exploring Operation: 84-36=48, Resulting Numbers: [60, 48]
Generated Node #0,3,0: 12:[60, 48] Operation: 84-36=48
Exploring Operation: 84-60=24, Resulting Numbers: [36, 24]
Generated Node #0,3,1: 12:[36, 24] Operation: 84-60=24
Exploring Operation: 60+84=144, Resulting Numbers: [36, 144]
Generated Node #0,3,2: 12:[36, 144] Operation: 60+84=144
Exploring Operation: 60-36=24, Resulting Numbers: [84, 24]
Generated Node #0,3,3: 12:[84, 24] Operation: 60-36=24
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 12:[36, 24], Operations: ['90-54=36', '84-60=24']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[60, 90, 84, 54], Operations: []
Exploring Operation: 90-54=36, Resulting Numbers: [60, 84, 36]
Generated Node #0,3: 12:[60, 84, 36] Operation: 90-54=36
Moving to Node #0,3
Current State: 12:[60, 84, 36], Operations: ['90-54=36']
Exploring Operation: 84-60=24, Resulting Numbers: [36, 24]
Generated Node #0,3,1: 12:[36, 24] Operation: 84-60=24
Moving to Node #0,3,1
Current State: 12:[36, 24], Operations: ['90-54=36', '84-60=24']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
66,
95,
54,
4
] | 36 | [
"66*54=3564",
"95+4=99",
"3564/99=36"
] | Current State: 36:[66, 95, 54, 4], Operations: []
Exploring Operation: 66*54=3564, Resulting Numbers: [95, 4, 3564]
Generated Node #2: [95, 4, 3564] from Operation: 66*54=3564
Current State: 36:[95, 4, 3564], Operations: ['66*54=3564']
Exploring Operation: 95+4=99, Resulting Numbers: [3564, 99]
Generated Node #3: [3564, 99] from Operation: 95+4=99
Current State: 36:[3564, 99], Operations: ['66*54=3564', '95+4=99']
Exploring Operation: 3564/99=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[66, 95, 54, 4], Operations: []
Exploring Operation: 95-66=29, Resulting Numbers: [54, 4, 29]
Generated Node #0,0: 36:[54, 4, 29] Operation: 95-66=29
Exploring Operation: 95-54=41, Resulting Numbers: [66, 4, 41]
Generated Node #0,1: 36:[66, 4, 41] Operation: 95-54=41
Exploring Operation: 66-54=12, Resulting Numbers: [95, 4, 12]
Generated Node #0,2: 36:[95, 4, 12] Operation: 66-54=12
Moving to Node #0,0
Current State: 36:[54, 4, 29], Operations: ['95-66=29']
Exploring Operation: 54-29=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 36:[4, 25] Operation: 54-29=25
Exploring Operation: 54-4=50, Resulting Numbers: [29, 50]
Generated Node #0,0,1: 36:[29, 50] Operation: 54-4=50
Exploring Operation: 4+29=33, Resulting Numbers: [54, 33]
Generated Node #0,0,2: 36:[54, 33] Operation: 4+29=33
Moving to Node #0,1
Current State: 36:[66, 4, 41], Operations: ['95-54=41']
Exploring Operation: 41-4=37, Resulting Numbers: [66, 37]
Generated Node #0,1,0: 36:[66, 37] Operation: 41-4=37
Exploring Operation: 66-41=25, Resulting Numbers: [4, 25]
Generated Node #0,1,1: 36:[4, 25] Operation: 66-41=25
Exploring Operation: 66-4=62, Resulting Numbers: [41, 62]
Generated Node #0,1,2: 36:[41, 62] Operation: 66-4=62
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[4, 25], Operations: ['95-54=41', '66-41=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,36 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,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,0
Current State: 36:[66, 37], Operations: ['95-54=41', '41-4=37']
Exploring Operation: 66+37=103, Resulting Numbers: [103]
103,36 unequal: No Solution
Exploring Operation: 66*37=2442, Resulting Numbers: [2442]
2442,36 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[41, 62], Operations: ['95-54=41', '66-4=62']
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,36 unequal: No Solution
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,36 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,36 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: 36:[95, 4, 12], Operations: ['66-54=12']
Exploring Operation: 95-4=91, Resulting Numbers: [12, 91]
Generated Node #0,2,0: 36:[12, 91] Operation: 95-4=91
Exploring Operation: 95-12=83, Resulting Numbers: [4, 83]
Generated Node #0,2,1: 36:[4, 83] Operation: 95-12=83
Exploring Operation: 12/4=3, Resulting Numbers: [95, 3]
Generated Node #0,2,2: 36:[95, 3] Operation: 12/4=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[4, 83], Operations: ['66-54=12', '95-12=83']
Exploring Operation: 4*83=332, Resulting Numbers: [332]
332,36 unequal: No Solution
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,36 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[12, 91], Operations: ['66-54=12', '95-4=91']
Exploring Operation: 12*91=1092, Resulting Numbers: [1092]
1092,36 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,36 unequal: No Solution
Exploring Operation: 12+91=103, Resulting Numbers: [103]
103,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[95, 3], Operations: ['66-54=12', '12/4=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,36 unequal: No Solution
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,36 unequal: No Solution
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 36:[4, 25], Operations: ['95-66=29', '54-29=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[29, 50], Operations: ['95-66=29', '54-4=50']
Exploring Operation: 29*50=1450, Resulting Numbers: [1450]
1450,36 unequal: No Solution
Exploring Operation: 29+50=79, Resulting Numbers: [79]
79,36 unequal: No Solution
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[54, 33], Operations: ['95-66=29', '4+29=33']
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,36 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,36 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
70,
95,
34,
15
] | 74 | [
"95-70=25",
"34+15=49",
"25+49=74"
] | Current State: 74:[70, 95, 34, 15], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [34, 15, 25]
Generated Node #2: [34, 15, 25] from Operation: 95-70=25
Current State: 74:[34, 15, 25], Operations: ['95-70=25']
Exploring Operation: 34+15=49, Resulting Numbers: [25, 49]
Generated Node #3: [25, 49] from Operation: 34+15=49
Current State: 74:[25, 49], Operations: ['95-70=25', '34+15=49']
Exploring Operation: 25+49=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[70, 95, 34, 15], Operations: []
Exploring Operation: 70+15=85, Resulting Numbers: [95, 34, 85]
Generated Node #0,0: 74:[95, 34, 85] Operation: 70+15=85
Exploring Operation: 95-70=25, Resulting Numbers: [34, 15, 25]
Generated Node #0,1: 74:[34, 15, 25] Operation: 95-70=25
Exploring Operation: 95-34=61, Resulting Numbers: [70, 15, 61]
Generated Node #0,2: 74:[70, 15, 61] Operation: 95-34=61
Exploring Operation: 95-15=80, Resulting Numbers: [70, 34, 80]
Generated Node #0,3: 74:[70, 34, 80] Operation: 95-15=80
Exploring Operation: 70-34=36, Resulting Numbers: [95, 15, 36]
Generated Node #0,4: 74:[95, 15, 36] Operation: 70-34=36
Moving to Node #0,3
Current State: 74:[70, 34, 80], Operations: ['95-15=80']
Exploring Operation: 70+34=104, Resulting Numbers: [80, 104]
Generated Node #0,3,0: 74:[80, 104] Operation: 70+34=104
Exploring Operation: 70-34=36, Resulting Numbers: [80, 36]
Generated Node #0,3,1: 74:[80, 36] Operation: 70-34=36
Exploring Operation: 80-34=46, Resulting Numbers: [70, 46]
Generated Node #0,3,2: 74:[70, 46] Operation: 80-34=46
Exploring Operation: 34+80=114, Resulting Numbers: [70, 114]
Generated Node #0,3,3: 74:[70, 114] Operation: 34+80=114
Exploring Operation: 80-70=10, Resulting Numbers: [34, 10]
Generated Node #0,3,4: 74:[34, 10] Operation: 80-70=10
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 74:[80, 36], Operations: ['95-15=80', '70-34=36']
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 74:[34, 10], Operations: ['95-15=80', '80-70=10']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 74:[70, 46], Operations: ['95-15=80', '80-34=46']
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 70*46=3220, Resulting Numbers: [3220]
3220,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[80, 104], Operations: ['95-15=80', '70+34=104']
Exploring Operation: 104-80=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 80+104=184, Resulting Numbers: [184]
184,74 unequal: No Solution
Exploring Operation: 80*104=8320, Resulting Numbers: [8320]
8320,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 74:[70, 114], Operations: ['95-15=80', '34+80=114']
Exploring Operation: 70*114=7980, Resulting Numbers: [7980]
7980,74 unequal: No Solution
Exploring Operation: 70+114=184, Resulting Numbers: [184]
184,74 unequal: No Solution
Exploring Operation: 114-70=44, Resulting Numbers: [44]
44,74 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: 74:[34, 15, 25], Operations: ['95-70=25']
Exploring Operation: 25-15=10, Resulting Numbers: [34, 10]
Generated Node #0,1,0: 74:[34, 10] Operation: 25-15=10
Exploring Operation: 34-25=9, Resulting Numbers: [15, 9]
Generated Node #0,1,1: 74:[15, 9] Operation: 34-25=9
Exploring Operation: 34+15=49, Resulting Numbers: [25, 49]
Generated Node #0,1,2: 74:[25, 49] Operation: 34+15=49
Exploring Operation: 34+25=59, Resulting Numbers: [15, 59]
Generated Node #0,1,3: 74:[15, 59] Operation: 34+25=59
Exploring Operation: 15+25=40, Resulting Numbers: [34, 40]
Generated Node #0,1,4: 74:[34, 40] Operation: 15+25=40
Moving to Node #0,2
Current State: 74:[70, 15, 61], Operations: ['95-34=61']
Exploring Operation: 70+15=85, Resulting Numbers: [61, 85]
Generated Node #0,2,0: 74:[61, 85] Operation: 70+15=85
Exploring Operation: 70-61=9, Resulting Numbers: [15, 9]
Generated Node #0,2,1: 74:[15, 9] Operation: 70-61=9
Exploring Operation: 61-15=46, Resulting Numbers: [70, 46]
Generated Node #0,2,2: 74:[70, 46] Operation: 61-15=46
Exploring Operation: 70-15=55, Resulting Numbers: [61, 55]
Generated Node #0,2,3: 74:[61, 55] Operation: 70-15=55
Exploring Operation: 15+61=76, Resulting Numbers: [70, 76]
Generated Node #0,2,4: 74:[70, 76] Operation: 15+61=76
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 74:[70, 76], Operations: ['95-34=61', '15+61=76']
Exploring Operation: 70*76=5320, Resulting Numbers: [5320]
5320,74 unequal: No Solution
Exploring Operation: 70+76=146, Resulting Numbers: [146]
146,74 unequal: No Solution
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,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,2
Current State: 74:[70, 46], Operations: ['95-34=61', '61-15=46']
Exploring Operation: 70*46=3220, Resulting Numbers: [3220]
3220,74 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,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,1
Current State: 74:[15, 9], Operations: ['95-34=61', '70-61=9']
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,74 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,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,0
Current State: 74:[61, 85], Operations: ['95-34=61', '70+15=85']
Exploring Operation: 61+85=146, Resulting Numbers: [146]
146,74 unequal: No Solution
Exploring Operation: 61*85=5185, Resulting Numbers: [5185]
5185,74 unequal: No Solution
Exploring Operation: 85-61=24, Resulting Numbers: [24]
24,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,3
Current State: 74:[61, 55], Operations: ['95-34=61', '70-15=55']
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 61+55=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 61*55=3355, Resulting Numbers: [3355]
3355,74 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: 74:[95, 34, 85], Operations: ['70+15=85']
Exploring Operation: 95-85=10, Resulting Numbers: [34, 10]
Generated Node #0,0,0: 74:[34, 10] Operation: 95-85=10
Exploring Operation: 34+85=119, Resulting Numbers: [95, 119]
Generated Node #0,0,1: 74:[95, 119] Operation: 34+85=119
Exploring Operation: 95-34=61, Resulting Numbers: [85, 61]
Generated Node #0,0,2: 74:[85, 61] Operation: 95-34=61
Exploring Operation: 95+34=129, Resulting Numbers: [85, 129]
Generated Node #0,0,3: 74:[85, 129] Operation: 95+34=129
Exploring Operation: 85-34=51, Resulting Numbers: [95, 51]
Generated Node #0,0,4: 74:[95, 51] Operation: 85-34=51
Moving to Node #0,4
Current State: 74:[95, 15, 36], Operations: ['70-34=36']
Exploring Operation: 36-15=21, Resulting Numbers: [95, 21]
Generated Node #0,4,0: 74:[95, 21] Operation: 36-15=21
Exploring Operation: 95+15=110, Resulting Numbers: [36, 110]
Generated Node #0,4,1: 74:[36, 110] Operation: 95+15=110
Exploring Operation: 95-15=80, Resulting Numbers: [36, 80]
Generated Node #0,4,2: 74:[36, 80] Operation: 95-15=80
Exploring Operation: 15+36=51, Resulting Numbers: [95, 51]
Generated Node #0,4,3: 74:[95, 51] Operation: 15+36=51
Exploring Operation: 95-36=59, Resulting Numbers: [15, 59]
Generated Node #0,4,4: 74:[15, 59] Operation: 95-36=59
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 74:[36, 80], Operations: ['70-34=36', '95-15=80']
Exploring Operation: 36+80=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 36*80=2880, Resulting Numbers: [2880]
2880,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,4,4
Current State: 74:[15, 59], Operations: ['70-34=36', '95-36=59']
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[70, 95, 34, 15], Operations: []
Exploring Operation: 70-34=36, Resulting Numbers: [95, 15, 36]
Generated Node #0,4: 74:[95, 15, 36] Operation: 70-34=36
Moving to Node #0,4
Current State: 74:[95, 15, 36], Operations: ['70-34=36']
Exploring Operation: 95-36=59, Resulting Numbers: [15, 59]
Generated Node #0,4,4: 74:[15, 59] Operation: 95-36=59
Moving to Node #0,4,4
Current State: 74:[15, 59], Operations: ['70-34=36', '95-36=59']
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.940972 | hs_5 | sum_heuristic |
[
70,
18,
82,
44
] | 63 | [
"82+44=126",
"126/18=7",
"70-7=63"
] | Current State: 63:[70, 18, 82, 44], Operations: []
Exploring Operation: 82+44=126, Resulting Numbers: [70, 18, 126]
Generated Node #2: [70, 18, 126] from Operation: 82+44=126
Current State: 63:[70, 18, 126], Operations: ['82+44=126']
Exploring Operation: 126/18=7, Resulting Numbers: [70, 7]
Generated Node #3: [70, 7] from Operation: 126/18=7
Current State: 63:[70, 7], Operations: ['82+44=126', '126/18=7']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[70, 18, 82, 44], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [18, 44, 12]
Generated Node #0,0: 63:[18, 44, 12] Operation: 82-70=12
Exploring Operation: 82-44=38, Resulting Numbers: [70, 18, 38]
Generated Node #0,1: 63:[70, 18, 38] Operation: 82-44=38
Exploring Operation: 70-44=26, Resulting Numbers: [18, 82, 26]
Generated Node #0,2: 63:[18, 82, 26] Operation: 70-44=26
Exploring Operation: 18+44=62, Resulting Numbers: [70, 82, 62]
Generated Node #0,3: 63:[70, 82, 62] Operation: 18+44=62
Exploring Operation: 82-18=64, Resulting Numbers: [70, 44, 64]
Generated Node #0,4: 63:[70, 44, 64] Operation: 82-18=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[18, 44, 12], Operations: ['82-70=12']
Exploring Operation: 44+12=56, Resulting Numbers: [18, 56]
Generated Node #0,0,0: 63:[18, 56] Operation: 44+12=56
Exploring Operation: 44-12=32, Resulting Numbers: [18, 32]
Generated Node #0,0,1: 63:[18, 32] Operation: 44-12=32
Exploring Operation: 44-18=26, Resulting Numbers: [12, 26]
Generated Node #0,0,2: 63:[12, 26] Operation: 44-18=26
Exploring Operation: 18-12=6, Resulting Numbers: [44, 6]
Generated Node #0,0,3: 63:[44, 6] Operation: 18-12=6
Exploring Operation: 18+44=62, Resulting Numbers: [12, 62]
Generated Node #0,0,4: 63:[12, 62] Operation: 18+44=62
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 63:[12, 62], Operations: ['82-70=12', '18+44=62']
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Exploring Operation: 12+62=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 12*62=744, Resulting Numbers: [744]
744,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[12, 26], Operations: ['82-70=12', '44-18=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,63 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[18, 56], Operations: ['82-70=12', '44+12=56']
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[18, 32], Operations: ['82-70=12', '44-12=32']
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 63:[44, 6], Operations: ['82-70=12', '18-12=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[70, 18, 38], Operations: ['82-44=38']
Exploring Operation: 18+38=56, Resulting Numbers: [70, 56]
Generated Node #0,1,0: 63:[70, 56] Operation: 18+38=56
Exploring Operation: 70-38=32, Resulting Numbers: [18, 32]
Generated Node #0,1,1: 63:[18, 32] Operation: 70-38=32
Exploring Operation: 70-18=52, Resulting Numbers: [38, 52]
Generated Node #0,1,2: 63:[38, 52] Operation: 70-18=52
Exploring Operation: 70+18=88, Resulting Numbers: [38, 88]
Generated Node #0,1,3: 63:[38, 88] Operation: 70+18=88
Exploring Operation: 38-18=20, Resulting Numbers: [70, 20]
Generated Node #0,1,4: 63:[70, 20] Operation: 38-18=20
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 63:[70, 20], Operations: ['82-44=38', '38-18=20']
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,63 unequal: No Solution
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[70, 56], Operations: ['82-44=38', '18+38=56']
Exploring Operation: 70+56=126, Resulting Numbers: [126]
126,63 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 70*56=3920, Resulting Numbers: [3920]
3920,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[18, 32], Operations: ['82-44=38', '70-38=32']
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,63 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 63:[38, 52], Operations: ['82-44=38', '70-18=52']
Exploring Operation: 38*52=1976, Resulting Numbers: [1976]
1976,63 unequal: No Solution
Exploring Operation: 38+52=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 63:[38, 88], Operations: ['82-44=38', '70+18=88']
Exploring Operation: 38*88=3344, Resulting Numbers: [3344]
3344,63 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Exploring Operation: 38+88=126, Resulting Numbers: [126]
126,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[18, 82, 26], Operations: ['70-44=26']
Exploring Operation: 82-18=64, Resulting Numbers: [26, 64]
Generated Node #0,2,0: 63:[26, 64] Operation: 82-18=64
Exploring Operation: 26-18=8, Resulting Numbers: [82, 8]
Generated Node #0,2,1: 63:[82, 8] Operation: 26-18=8
Exploring Operation: 82-26=56, Resulting Numbers: [18, 56]
Generated Node #0,2,2: 63:[18, 56] Operation: 82-26=56
Exploring Operation: 18+82=100, Resulting Numbers: [26, 100]
Generated Node #0,2,3: 63:[26, 100] Operation: 18+82=100
Exploring Operation: 18+26=44, Resulting Numbers: [82, 44]
Generated Node #0,2,4: 63:[82, 44] Operation: 18+26=44
Moving to Node #0,2,0
Current State: 63:[26, 64], Operations: ['70-44=26', '82-18=64']
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 26*64=1664, Resulting Numbers: [1664]
1664,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[18, 56], Operations: ['70-44=26', '82-26=56']
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,63 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[82, 8], Operations: ['70-44=26', '26-18=8']
Exploring Operation: 82+8=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 82*8=656, Resulting Numbers: [656]
656,63 unequal: No Solution
Moving to Node #0,2,4
Current State: 63:[82, 44], Operations: ['70-44=26', '18+26=44']
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 82*44=3608, Resulting Numbers: [3608]
3608,63 unequal: No Solution
Exploring Operation: 82+44=126, Resulting Numbers: [126]
126,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[26, 100], Operations: ['70-44=26', '18+82=100']
Exploring Operation: 26+100=126, Resulting Numbers: [126]
126,63 unequal: No Solution
Exploring Operation: 100-26=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 26*100=2600, Resulting Numbers: [2600]
2600,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[70, 82, 62], Operations: ['18+44=62']
Exploring Operation: 70+62=132, Resulting Numbers: [82, 132]
Generated Node #0,3,0: 63:[82, 132] Operation: 70+62=132
Exploring Operation: 82-62=20, Resulting Numbers: [70, 20]
Generated Node #0,3,1: 63:[70, 20] Operation: 82-62=20
Exploring Operation: 82+62=144, Resulting Numbers: [70, 144]
Generated Node #0,3,2: 63:[70, 144] Operation: 82+62=144
Exploring Operation: 70-62=8, Resulting Numbers: [82, 8]
Generated Node #0,3,3: 63:[82, 8] Operation: 70-62=8
Exploring Operation: 82-70=12, Resulting Numbers: [62, 12]
Generated Node #0,3,4: 63:[62, 12] Operation: 82-70=12
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 63:[62, 12], Operations: ['18+44=62', '82-70=12']
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,63 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[70, 20], Operations: ['18+44=62', '82-62=20']
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 63:[82, 8], Operations: ['18+44=62', '70-62=8']
Exploring Operation: 82+8=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 82*8=656, Resulting Numbers: [656]
656,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 63:[82, 132], Operations: ['18+44=62', '70+62=132']
Exploring Operation: 82+132=214, Resulting Numbers: [214]
214,63 unequal: No Solution
Exploring Operation: 82*132=10824, Resulting Numbers: [10824]
10824,63 unequal: No Solution
Exploring Operation: 132-82=50, Resulting Numbers: [50]
50,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 63:[70, 144], Operations: ['18+44=62', '82+62=144']
Exploring Operation: 70*144=10080, Resulting Numbers: [10080]
10080,63 unequal: No Solution
Exploring Operation: 70+144=214, Resulting Numbers: [214]
214,63 unequal: No Solution
Exploring Operation: 144-70=74, Resulting Numbers: [74]
74,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 63:[70, 44, 64], Operations: ['82-18=64']
Exploring Operation: 70+44=114, Resulting Numbers: [64, 114]
Generated Node #0,4,0: 63:[64, 114] Operation: 70+44=114
Exploring Operation: 70-44=26, Resulting Numbers: [64, 26]
Generated Node #0,4,1: 63:[64, 26] Operation: 70-44=26
Exploring Operation: 70-64=6, Resulting Numbers: [44, 6]
Generated Node #0,4,2: 63:[44, 6] Operation: 70-64=6
Exploring Operation: 64-44=20, Resulting Numbers: [70, 20]
Generated Node #0,4,3: 63:[70, 20] Operation: 64-44=20
Exploring Operation: 44+64=108, Resulting Numbers: [70, 108]
Generated Node #0,4,4: 63:[70, 108] Operation: 44+64=108
Moving to Node #0,4,1
Current State: 63:[64, 26], Operations: ['82-18=64', '70-44=26']
Exploring Operation: 64*26=1664, Resulting Numbers: [1664]
1664,63 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 64+26=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Moving to Node #0,4,3
Current State: 63:[70, 20], Operations: ['82-18=64', '64-44=20']
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,63 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Moving to Node #0,4,2
Current State: 63:[44, 6], Operations: ['82-18=64', '70-64=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,63 unequal: No Solution
Moving to Node #0,4,0
Current State: 63:[64, 114], Operations: ['82-18=64', '70+44=114']
Exploring Operation: 64*114=7296, Resulting Numbers: [7296]
7296,63 unequal: No Solution
Exploring Operation: 64+114=178, Resulting Numbers: [178]
178,63 unequal: No Solution
Exploring Operation: 114-64=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Moving to Node #0,4,4
Current State: 63:[70, 108], Operations: ['82-18=64', '44+64=108']
Exploring Operation: 70*108=7560, Resulting Numbers: [7560]
7560,63 unequal: No Solution
Exploring Operation: 108-70=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 70+108=178, Resulting Numbers: [178]
178,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
3,
77,
41,
7
] | 46 | [
"3+77=80",
"41-7=34",
"80-34=46"
] | Current State: 46:[3, 77, 41, 7], Operations: []
Exploring Operation: 3+77=80, Resulting Numbers: [41, 7, 80]
Generated Node #2: [41, 7, 80] from Operation: 3+77=80
Current State: 46:[41, 7, 80], Operations: ['3+77=80']
Exploring Operation: 41-7=34, Resulting Numbers: [80, 34]
Generated Node #3: [80, 34] from Operation: 41-7=34
Current State: 46:[80, 34], Operations: ['3+77=80', '41-7=34']
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[3, 77, 41, 7], Operations: []
Exploring Operation: 77-7=70, Resulting Numbers: [3, 41, 70]
Generated Node #0,0: 46:[3, 41, 70] Operation: 77-7=70
Exploring Operation: 77/7=11, Resulting Numbers: [3, 41, 11]
Generated Node #0,1: 46:[3, 41, 11] Operation: 77/7=11
Exploring Operation: 77-41=36, Resulting Numbers: [3, 7, 36]
Generated Node #0,2: 46:[3, 7, 36] Operation: 77-41=36
Moving to Node #0,1
Current State: 46:[3, 41, 11], Operations: ['77/7=11']
Exploring Operation: 41-11=30, Resulting Numbers: [3, 30]
Generated Node #0,1,0: 46:[3, 30] Operation: 41-11=30
Exploring Operation: 3+41=44, Resulting Numbers: [11, 44]
Generated Node #0,1,1: 46:[11, 44] Operation: 3+41=44
Exploring Operation: 41+11=52, Resulting Numbers: [3, 52]
Generated Node #0,1,2: 46:[3, 52] Operation: 41+11=52
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[3, 52], Operations: ['77/7=11', '41+11=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,46 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,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:[3, 30], Operations: ['77/7=11', '41-11=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,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:[11, 44], Operations: ['77/7=11', '3+41=44']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 46:[3, 7, 36], Operations: ['77-41=36']
Exploring Operation: 36-7=29, Resulting Numbers: [3, 29]
Generated Node #0,2,0: 46:[3, 29] Operation: 36-7=29
Exploring Operation: 3*7=21, Resulting Numbers: [36, 21]
Generated Node #0,2,1: 46:[36, 21] Operation: 3*7=21
Exploring Operation: 7+36=43, Resulting Numbers: [3, 43]
Generated Node #0,2,2: 46:[3, 43] Operation: 7+36=43
Moving to Node #0,0
Current State: 46:[3, 41, 70], Operations: ['77-7=70']
Exploring Operation: 3+41=44, Resulting Numbers: [70, 44]
Generated Node #0,0,0: 46:[70, 44] Operation: 3+41=44
Exploring Operation: 70-41=29, Resulting Numbers: [3, 29]
Generated Node #0,0,1: 46:[3, 29] Operation: 70-41=29
Exploring Operation: 70-3=67, Resulting Numbers: [41, 67]
Generated Node #0,0,2: 46:[41, 67] Operation: 70-3=67
Moving to Node #0,2,2
Current State: 46:[3, 43], Operations: ['77-41=36', '7+36=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[3, 77, 41, 7], Operations: []
Exploring Operation: 77-41=36, Resulting Numbers: [3, 7, 36]
Generated Node #0,2: 46:[3, 7, 36] Operation: 77-41=36
Moving to Node #0,2
Current State: 46:[3, 7, 36], Operations: ['77-41=36']
Exploring Operation: 7+36=43, Resulting Numbers: [3, 43]
Generated Node #0,2,2: 46:[3, 43] Operation: 7+36=43
Moving to Node #0,2,2
Current State: 46:[3, 43], Operations: ['77-41=36', '7+36=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.