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 |
|---|---|---|---|---|---|---|---|---|
[
83,
84,
62,
71
] | 75 | [
"83-62=21",
"84/21=4",
"71+4=75"
] | Current State: 75:[83, 84, 62, 71], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [84, 71, 21]
Generated Node #2: [84, 71, 21] from Operation: 83-62=21
Current State: 75:[84, 71, 21], Operations: ['83-62=21']
Exploring Operation: 84/21=4, Resulting Numbers: [71, 4]
Generated Node #3: [71, 4] from Operation: 84/21=4
Current State: 75:[71, 4], Operations: ['83-62=21', '84/21=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[83, 84, 62, 71], Operations: []
Exploring Operation: 71-62=9, Resulting Numbers: [83, 84, 9]
Generated Node #0,0: 75:[83, 84, 9] Operation: 71-62=9
Exploring Operation: 84-83=1, Resulting Numbers: [62, 71, 1]
Generated Node #0,1: 75:[62, 71, 1] Operation: 84-83=1
Exploring Operation: 83-62=21, Resulting Numbers: [84, 71, 21]
Generated Node #0,2: 75:[84, 71, 21] Operation: 83-62=21
Exploring Operation: 84-71=13, Resulting Numbers: [83, 62, 13]
Generated Node #0,3: 75:[83, 62, 13] Operation: 84-71=13
Exploring Operation: 84-62=22, Resulting Numbers: [83, 71, 22]
Generated Node #0,4: 75:[83, 71, 22] Operation: 84-62=22
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[83, 71, 22], Operations: ['84-62=22']
Exploring Operation: 83+22=105, Resulting Numbers: [71, 105]
Generated Node #0,4,0: 75:[71, 105] Operation: 83+22=105
Exploring Operation: 71-22=49, Resulting Numbers: [83, 49]
Generated Node #0,4,1: 75:[83, 49] Operation: 71-22=49
Exploring Operation: 71+22=93, Resulting Numbers: [83, 93]
Generated Node #0,4,2: 75:[83, 93] Operation: 71+22=93
Exploring Operation: 83-22=61, Resulting Numbers: [71, 61]
Generated Node #0,4,3: 75:[71, 61] Operation: 83-22=61
Exploring Operation: 83-71=12, Resulting Numbers: [22, 12]
Generated Node #0,4,4: 75:[22, 12] Operation: 83-71=12
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 75:[22, 12], Operations: ['84-62=22', '83-71=12']
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,75 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 75:[71, 61], Operations: ['84-62=22', '83-22=61']
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 71*61=4331, Resulting Numbers: [4331]
4331,75 unequal: No Solution
Exploring Operation: 71+61=132, Resulting Numbers: [132]
132,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 75:[83, 93], Operations: ['84-62=22', '71+22=93']
Exploring Operation: 83+93=176, Resulting Numbers: [176]
176,75 unequal: No Solution
Exploring Operation: 83*93=7719, Resulting Numbers: [7719]
7719,75 unequal: No Solution
Exploring Operation: 93-83=10, Resulting Numbers: [10]
10,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 75:[83, 49], Operations: ['84-62=22', '71-22=49']
Exploring Operation: 83*49=4067, Resulting Numbers: [4067]
4067,75 unequal: No Solution
Exploring Operation: 83+49=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 75:[71, 105], Operations: ['84-62=22', '83+22=105']
Exploring Operation: 71+105=176, Resulting Numbers: [176]
176,75 unequal: No Solution
Exploring Operation: 71*105=7455, Resulting Numbers: [7455]
7455,75 unequal: No Solution
Exploring Operation: 105-71=34, Resulting Numbers: [34]
34,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[84, 71, 21], Operations: ['83-62=21']
Exploring Operation: 84-21=63, Resulting Numbers: [71, 63]
Generated Node #0,2,0: 75:[71, 63] Operation: 84-21=63
Exploring Operation: 71+21=92, Resulting Numbers: [84, 92]
Generated Node #0,2,1: 75:[84, 92] Operation: 71+21=92
Exploring Operation: 84/21=4, Resulting Numbers: [71, 4]
Generated Node #0,2,2: 75:[71, 4] Operation: 84/21=4
Exploring Operation: 84+21=105, Resulting Numbers: [71, 105]
Generated Node #0,2,3: 75:[71, 105] Operation: 84+21=105
Exploring Operation: 84-71=13, Resulting Numbers: [21, 13]
Generated Node #0,2,4: 75:[21, 13] Operation: 84-71=13
Moving to Node #0,2,2
Current State: 75:[71, 4], Operations: ['83-62=21', '84/21=4']
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,75 unequal: No Solution
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[83, 84, 62, 71], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [84, 71, 21]
Generated Node #0,2: 75:[84, 71, 21] Operation: 83-62=21
Moving to Node #0,2
Current State: 75:[84, 71, 21], Operations: ['83-62=21']
Exploring Operation: 84/21=4, Resulting Numbers: [71, 4]
Generated Node #0,2,2: 75:[71, 4] Operation: 84/21=4
Moving to Node #0,2,2
Current State: 75:[71, 4], Operations: ['83-62=21', '84/21=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
87,
7,
91,
81
] | 53 | [
"91-87=4",
"7*4=28",
"81-28=53"
] | Current State: 53:[87, 7, 91, 81], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [7, 81, 4]
Generated Node #2: [7, 81, 4] from Operation: 91-87=4
Current State: 53:[7, 81, 4], Operations: ['91-87=4']
Exploring Operation: 7*4=28, Resulting Numbers: [81, 28]
Generated Node #3: [81, 28] from Operation: 7*4=28
Current State: 53:[81, 28], Operations: ['91-87=4', '7*4=28']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[87, 7, 91, 81], Operations: []
Exploring Operation: 87-7=80, Resulting Numbers: [91, 81, 80]
Generated Node #0,0: 53:[91, 81, 80] Operation: 87-7=80
Exploring Operation: 91-7=84, Resulting Numbers: [87, 81, 84]
Generated Node #0,1: 53:[87, 81, 84] Operation: 91-7=84
Exploring Operation: 81-7=74, Resulting Numbers: [87, 91, 74]
Generated Node #0,2: 53:[87, 91, 74] Operation: 81-7=74
Moving to Node #0,0
Current State: 53:[91, 81, 80], Operations: ['87-7=80']
Exploring Operation: 91-81=10, Resulting Numbers: [80, 10]
Generated Node #0,0,0: 53:[80, 10] Operation: 91-81=10
Exploring Operation: 81-80=1, Resulting Numbers: [91, 1]
Generated Node #0,0,1: 53:[91, 1] Operation: 81-80=1
Exploring Operation: 91-80=11, Resulting Numbers: [81, 11]
Generated Node #0,0,2: 53:[81, 11] Operation: 91-80=11
Moving to Node #0,1
Current State: 53:[87, 81, 84], Operations: ['91-7=84']
Exploring Operation: 87-81=6, Resulting Numbers: [84, 6]
Generated Node #0,1,0: 53:[84, 6] Operation: 87-81=6
Exploring Operation: 87-84=3, Resulting Numbers: [81, 3]
Generated Node #0,1,1: 53:[81, 3] Operation: 87-84=3
Exploring Operation: 84-81=3, Resulting Numbers: [87, 3]
Generated Node #0,1,2: 53:[87, 3] Operation: 84-81=3
Moving to Node #0,2
Current State: 53:[87, 91, 74], Operations: ['81-7=74']
Exploring Operation: 87-74=13, Resulting Numbers: [91, 13]
Generated Node #0,2,0: 53:[91, 13] Operation: 87-74=13
Exploring Operation: 91-74=17, Resulting Numbers: [87, 17]
Generated Node #0,2,1: 53:[87, 17] Operation: 91-74=17
Exploring Operation: 91-87=4, Resulting Numbers: [74, 4]
Generated Node #0,2,2: 53:[74, 4] Operation: 91-87=4
Moving to Node #0,0,0
Current State: 53:[80, 10], Operations: ['87-7=80', '91-81=10']
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[87, 17], Operations: ['81-7=74', '91-74=17']
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,53 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[81, 11], Operations: ['87-7=80', '91-80=11']
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 81*11=891, Resulting Numbers: [891]
891,53 unequal: No Solution
Exploring Operation: 81+11=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[74, 4], Operations: ['81-7=74', '91-87=4']
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 74*4=296, Resulting Numbers: [296]
296,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[91, 13], Operations: ['81-7=74', '87-74=13']
Exploring Operation: 91+13=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[81, 3], Operations: ['91-7=84', '87-84=3']
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[84, 6], Operations: ['91-7=84', '87-81=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,53 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[87, 3], Operations: ['91-7=84', '84-81=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[91, 1], Operations: ['87-7=80', '81-80=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,53 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
54,
32,
16,
86
] | 22 | [
"54*32=1728",
"1728/16=108",
"108-86=22"
] | Current State: 22:[54, 32, 16, 86], Operations: []
Exploring Operation: 54*32=1728, Resulting Numbers: [16, 86, 1728]
Generated Node #2: [16, 86, 1728] from Operation: 54*32=1728
Current State: 22:[16, 86, 1728], Operations: ['54*32=1728']
Exploring Operation: 1728/16=108, Resulting Numbers: [86, 108]
Generated Node #3: [86, 108] from Operation: 1728/16=108
Current State: 22:[86, 108], Operations: ['54*32=1728', '1728/16=108']
Exploring Operation: 108-86=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[54, 32, 16, 86], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [16, 86, 22]
Generated Node #0,0: 22:[16, 86, 22] Operation: 54-32=22
Exploring Operation: 86-54=32, Resulting Numbers: [32, 16, 32]
Generated Node #0,1: 22:[32, 16, 32] Operation: 86-54=32
Exploring Operation: 86-32=54, Resulting Numbers: [54, 16, 54]
Generated Node #0,2: 22:[54, 16, 54] Operation: 86-32=54
Moving to Node #0,1
Current State: 22:[32, 16, 32], Operations: ['86-54=32']
Exploring Operation: 32/32=1, Resulting Numbers: [16, 1]
Generated Node #0,1,0: 22:[16, 1] Operation: 32/32=1
Exploring Operation: 32-32=0, Resulting Numbers: [16, 0]
Generated Node #0,1,1: 22:[16, 0] Operation: 32-32=0
Exploring Operation: 32/16=2, Resulting Numbers: [32, 2]
Generated Node #0,1,2: 22:[32, 2] Operation: 32/16=2
Moving to Node #0,0
Current State: 22:[16, 86, 22], Operations: ['54-32=22']
Exploring Operation: 86-22=64, Resulting Numbers: [16, 64]
Generated Node #0,0,0: 22:[16, 64] Operation: 86-22=64
Exploring Operation: 86-16=70, Resulting Numbers: [22, 70]
Generated Node #0,0,1: 22:[22, 70] Operation: 86-16=70
Exploring Operation: 22-16=6, Resulting Numbers: [86, 6]
Generated Node #0,0,2: 22:[86, 6] Operation: 22-16=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[16, 64], Operations: ['54-32=22', '86-22=64']
Exploring Operation: 16+64=80, Resulting Numbers: [80]
80,22 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,22 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[22, 70], Operations: ['54-32=22', '86-16=70']
Exploring Operation: 22+70=92, Resulting Numbers: [92]
92,22 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,22 unequal: No Solution
Exploring Operation: 22*70=1540, Resulting Numbers: [1540]
1540,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[86, 6], Operations: ['54-32=22', '22-16=6']
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,22 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,22 unequal: No Solution
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 22:[54, 16, 54], Operations: ['86-32=54']
Exploring Operation: 54-54=0, Resulting Numbers: [16, 0]
Generated Node #0,2,0: 22:[16, 0] Operation: 54-54=0
Exploring Operation: 54-16=38, Resulting Numbers: [54, 38]
Generated Node #0,2,1: 22:[54, 38] Operation: 54-16=38
Exploring Operation: 54/54=1, Resulting Numbers: [16, 1]
Generated Node #0,2,2: 22:[16, 1] Operation: 54/54=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[16, 1], Operations: ['86-32=54', '54/54=1']
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[16, 0], Operations: ['86-32=54', '54-54=0']
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,22 unequal: No Solution
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[54, 38], Operations: ['86-32=54', '54-16=38']
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,22 unequal: No Solution
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,22 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: 22:[16, 1], Operations: ['86-54=32', '32/32=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[16, 0], Operations: ['86-54=32', '32-32=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[32, 2], Operations: ['86-54=32', '32/16=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,22 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
13,
2,
50,
47
] | 71 | [
"13*2=26",
"50+47=97",
"97-26=71"
] | Current State: 71:[13, 2, 50, 47], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [50, 47, 26]
Generated Node #2: [50, 47, 26] from Operation: 13*2=26
Current State: 71:[50, 47, 26], Operations: ['13*2=26']
Exploring Operation: 50+47=97, Resulting Numbers: [26, 97]
Generated Node #3: [26, 97] from Operation: 50+47=97
Current State: 71:[26, 97], Operations: ['13*2=26', '50+47=97']
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[13, 2, 50, 47], Operations: []
Exploring Operation: 13+50=63, Resulting Numbers: [2, 47, 63]
Generated Node #0,0: 71:[2, 47, 63] Operation: 13+50=63
Exploring Operation: 13+2=15, Resulting Numbers: [50, 47, 15]
Generated Node #0,1: 71:[50, 47, 15] Operation: 13+2=15
Exploring Operation: 13*2=26, Resulting Numbers: [50, 47, 26]
Generated Node #0,2: 71:[50, 47, 26] Operation: 13*2=26
Moving to Node #0,2
Current State: 71:[50, 47, 26], Operations: ['13*2=26']
Exploring Operation: 50+26=76, Resulting Numbers: [47, 76]
Generated Node #0,2,0: 71:[47, 76] Operation: 50+26=76
Exploring Operation: 47+26=73, Resulting Numbers: [50, 73]
Generated Node #0,2,1: 71:[50, 73] Operation: 47+26=73
Exploring Operation: 50+47=97, Resulting Numbers: [26, 97]
Generated Node #0,2,2: 71:[26, 97] Operation: 50+47=97
Moving to Node #0,0
Current State: 71:[2, 47, 63], Operations: ['13+50=63']
Exploring Operation: 2+47=49, Resulting Numbers: [63, 49]
Generated Node #0,0,0: 71:[63, 49] Operation: 2+47=49
Exploring Operation: 2*47=94, Resulting Numbers: [63, 94]
Generated Node #0,0,1: 71:[63, 94] Operation: 2*47=94
Exploring Operation: 2+63=65, Resulting Numbers: [47, 65]
Generated Node #0,0,2: 71:[47, 65] Operation: 2+63=65
Moving to Node #0,1
Current State: 71:[50, 47, 15], Operations: ['13+2=15']
Exploring Operation: 50+15=65, Resulting Numbers: [47, 65]
Generated Node #0,1,0: 71:[47, 65] Operation: 50+15=65
Exploring Operation: 50-15=35, Resulting Numbers: [47, 35]
Generated Node #0,1,1: 71:[47, 35] Operation: 50-15=35
Exploring Operation: 47+15=62, Resulting Numbers: [50, 62]
Generated Node #0,1,2: 71:[50, 62] Operation: 47+15=62
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[47, 65], Operations: ['13+2=15', '50+15=65']
Exploring Operation: 47*65=3055, Resulting Numbers: [3055]
3055,71 unequal: No Solution
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 47+65=112, Resulting Numbers: [112]
112,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,2
Current State: 71:[50, 62], Operations: ['13+2=15', '47+15=62']
Exploring Operation: 50*62=3100, Resulting Numbers: [3100]
3100,71 unequal: No Solution
Exploring Operation: 50+62=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,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,1
Current State: 71:[47, 35], Operations: ['13+2=15', '50-15=35']
Exploring Operation: 47*35=1645, Resulting Numbers: [1645]
1645,71 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,71 unequal: No Solution
Exploring Operation: 47+35=82, Resulting Numbers: [82]
82,71 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: 71:[50, 73], Operations: ['13*2=26', '47+26=73']
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 50+73=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Exploring Operation: 50*73=3650, Resulting Numbers: [3650]
3650,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[47, 76], Operations: ['13*2=26', '50+26=76']
Exploring Operation: 47*76=3572, Resulting Numbers: [3572]
3572,71 unequal: No Solution
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 47+76=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[47, 65], Operations: ['13+50=63', '2+63=65']
Exploring Operation: 47*65=3055, Resulting Numbers: [3055]
3055,71 unequal: No Solution
Exploring Operation: 47+65=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[63, 49], Operations: ['13+50=63', '2+47=49']
Exploring Operation: 63-49=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 63*49=3087, Resulting Numbers: [3087]
3087,71 unequal: No Solution
Exploring Operation: 63+49=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[63, 94], Operations: ['13+50=63', '2*47=94']
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[26, 97], Operations: ['13*2=26', '50+47=97']
Exploring Operation: 26*97=2522, Resulting Numbers: [2522]
2522,71 unequal: No Solution
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[13, 2, 50, 47], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [50, 47, 26]
Generated Node #0,2: 71:[50, 47, 26] Operation: 13*2=26
Moving to Node #0,2
Current State: 71:[50, 47, 26], Operations: ['13*2=26']
Exploring Operation: 50+47=97, Resulting Numbers: [26, 97]
Generated Node #0,2,2: 71:[26, 97] Operation: 50+47=97
Moving to Node #0,2,2
Current State: 71:[26, 97], Operations: ['13*2=26', '50+47=97']
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.963542 | hs_3 | mult_heuristic |
[
3,
21,
85,
50
] | 72 | [
"3*21=63",
"85+50=135",
"135-63=72"
] | Current State: 72:[3, 21, 85, 50], Operations: []
Exploring Operation: 3*21=63, Resulting Numbers: [85, 50, 63]
Generated Node #2: [85, 50, 63] from Operation: 3*21=63
Current State: 72:[85, 50, 63], Operations: ['3*21=63']
Exploring Operation: 85+50=135, Resulting Numbers: [63, 135]
Generated Node #3: [63, 135] from Operation: 85+50=135
Current State: 72:[63, 135], Operations: ['3*21=63', '85+50=135']
Exploring Operation: 135-63=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[3, 21, 85, 50], Operations: []
Exploring Operation: 21+50=71, Resulting Numbers: [3, 85, 71]
Generated Node #0,0: 72:[3, 85, 71] Operation: 21+50=71
Exploring Operation: 85-50=35, Resulting Numbers: [3, 21, 35]
Generated Node #0,1: 72:[3, 21, 35] Operation: 85-50=35
Exploring Operation: 50-21=29, Resulting Numbers: [3, 85, 29]
Generated Node #0,2: 72:[3, 85, 29] Operation: 50-21=29
Moving to Node #0,1
Current State: 72:[3, 21, 35], Operations: ['85-50=35']
Exploring Operation: 3+21=24, Resulting Numbers: [35, 24]
Generated Node #0,1,0: 72:[35, 24] Operation: 3+21=24
Exploring Operation: 21-3=18, Resulting Numbers: [35, 18]
Generated Node #0,1,1: 72:[35, 18] Operation: 21-3=18
Exploring Operation: 21/3=7, Resulting Numbers: [35, 7]
Generated Node #0,1,2: 72:[35, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[35, 24], Operations: ['85-50=35', '3+21=24']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[35, 18], Operations: ['85-50=35', '21-3=18']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 35*18=630, Resulting Numbers: [630]
630,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[35, 7], Operations: ['85-50=35', '21/3=7']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,72 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: 72:[3, 85, 71], Operations: ['21+50=71']
Exploring Operation: 3+71=74, Resulting Numbers: [85, 74]
Generated Node #0,0,0: 72:[85, 74] Operation: 3+71=74
Exploring Operation: 85-3=82, Resulting Numbers: [71, 82]
Generated Node #0,0,1: 72:[71, 82] Operation: 85-3=82
Exploring Operation: 85-71=14, Resulting Numbers: [3, 14]
Generated Node #0,0,2: 72:[3, 14] Operation: 85-71=14
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[3, 14], Operations: ['21+50=71', '85-71=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,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:[71, 82], Operations: ['21+50=71', '85-3=82']
Exploring Operation: 71+82=153, Resulting Numbers: [153]
153,72 unequal: No Solution
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 71*82=5822, Resulting Numbers: [5822]
5822,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,0
Current State: 72:[85, 74], Operations: ['21+50=71', '3+71=74']
Exploring Operation: 85-74=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 85+74=159, Resulting Numbers: [159]
159,72 unequal: No Solution
Exploring Operation: 85*74=6290, Resulting Numbers: [6290]
6290,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 72:[3, 85, 29], Operations: ['50-21=29']
Exploring Operation: 29-3=26, Resulting Numbers: [85, 26]
Generated Node #0,2,0: 72:[85, 26] Operation: 29-3=26
Exploring Operation: 85-29=56, Resulting Numbers: [3, 56]
Generated Node #0,2,1: 72:[3, 56] Operation: 85-29=56
Exploring Operation: 85-3=82, Resulting Numbers: [29, 82]
Generated Node #0,2,2: 72:[29, 82] Operation: 85-3=82
Moving to Node #0,2,0
Current State: 72:[85, 26], Operations: ['50-21=29', '29-3=26']
Exploring Operation: 85+26=111, Resulting Numbers: [111]
111,72 unequal: No Solution
Exploring Operation: 85*26=2210, Resulting Numbers: [2210]
2210,72 unequal: No Solution
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[29, 82], Operations: ['50-21=29', '85-3=82']
Exploring Operation: 29+82=111, Resulting Numbers: [111]
111,72 unequal: No Solution
Exploring Operation: 29*82=2378, Resulting Numbers: [2378]
2378,72 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[3, 56], Operations: ['50-21=29', '85-29=56']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,72 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
1,
60,
54,
24
] | 29 | [
"60-1=59",
"54-24=30",
"59-30=29"
] | Current State: 29:[1, 60, 54, 24], Operations: []
Exploring Operation: 60-1=59, Resulting Numbers: [54, 24, 59]
Generated Node #2: [54, 24, 59] from Operation: 60-1=59
Current State: 29:[54, 24, 59], Operations: ['60-1=59']
Exploring Operation: 54-24=30, Resulting Numbers: [59, 30]
Generated Node #3: [59, 30] from Operation: 54-24=30
Current State: 29:[59, 30], Operations: ['60-1=59', '54-24=30']
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[1, 60, 54, 24], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [1, 24, 6]
Generated Node #0,0: 29:[1, 24, 6] Operation: 60-54=6
Exploring Operation: 60-1=59, Resulting Numbers: [54, 24, 59]
Generated Node #0,1: 29:[54, 24, 59] Operation: 60-1=59
Exploring Operation: 54-1=53, Resulting Numbers: [60, 24, 53]
Generated Node #0,2: 29:[60, 24, 53] Operation: 54-1=53
Exploring Operation: 1+24=25, Resulting Numbers: [60, 54, 25]
Generated Node #0,3: 29:[60, 54, 25] Operation: 1+24=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[1, 24, 6], Operations: ['60-54=6']
Exploring Operation: 1+6=7, Resulting Numbers: [24, 7]
Generated Node #0,0,0: 29:[24, 7] Operation: 1+6=7
Exploring Operation: 1+24=25, Resulting Numbers: [6, 25]
Generated Node #0,0,1: 29:[6, 25] Operation: 1+24=25
Exploring Operation: 1*24=24, Resulting Numbers: [6, 24]
Generated Node #0,0,2: 29:[6, 24] Operation: 1*24=24
Exploring Operation: 24/1=24, Resulting Numbers: [6, 24]
Generated Node #0,0,3: 29:[6, 24] Operation: 24/1=24
Moving to Node #0,0,0
Current State: 29:[24, 7], Operations: ['60-54=6', '1+6=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[6, 25], Operations: ['60-54=6', '1+24=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,29 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[6, 24], Operations: ['60-54=6', '24/1=24']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,29 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[6, 24], Operations: ['60-54=6', '1*24=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,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
Current State: 29:[54, 24, 59], Operations: ['60-1=59']
Exploring Operation: 54+24=78, Resulting Numbers: [59, 78]
Generated Node #0,1,0: 29:[59, 78] Operation: 54+24=78
Exploring Operation: 59-24=35, Resulting Numbers: [54, 35]
Generated Node #0,1,1: 29:[54, 35] Operation: 59-24=35
Exploring Operation: 54-24=30, Resulting Numbers: [59, 30]
Generated Node #0,1,2: 29:[59, 30] Operation: 54-24=30
Exploring Operation: 59-54=5, Resulting Numbers: [24, 5]
Generated Node #0,1,3: 29:[24, 5] Operation: 59-54=5
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 29:[24, 5], Operations: ['60-1=59', '59-54=5']
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[1, 60, 54, 24], Operations: []
Exploring Operation: 60-1=59, Resulting Numbers: [54, 24, 59]
Generated Node #0,1: 29:[54, 24, 59] Operation: 60-1=59
Moving to Node #0,1
Current State: 29:[54, 24, 59], Operations: ['60-1=59']
Exploring Operation: 59-54=5, Resulting Numbers: [24, 5]
Generated Node #0,1,3: 29:[24, 5] Operation: 59-54=5
Moving to Node #0,1,3
Current State: 29:[24, 5], Operations: ['60-1=59', '59-54=5']
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
69,
80,
92,
87
] | 55 | [
"80-69=11",
"92-87=5",
"11*5=55"
] | Current State: 55:[69, 80, 92, 87], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [92, 87, 11]
Generated Node #2: [92, 87, 11] from Operation: 80-69=11
Current State: 55:[92, 87, 11], Operations: ['80-69=11']
Exploring Operation: 92-87=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 92-87=5
Current State: 55:[11, 5], Operations: ['80-69=11', '92-87=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[69, 80, 92, 87], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [69, 87, 12]
Generated Node #0,0: 55:[69, 87, 12] Operation: 92-80=12
Exploring Operation: 92-87=5, Resulting Numbers: [69, 80, 5]
Generated Node #0,1: 55:[69, 80, 5] Operation: 92-87=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[69, 80, 5], Operations: ['92-87=5']
Exploring Operation: 80/5=16, Resulting Numbers: [69, 16]
Generated Node #0,1,0: 55:[69, 16] Operation: 80/5=16
Exploring Operation: 80-69=11, Resulting Numbers: [5, 11]
Generated Node #0,1,1: 55:[5, 11] Operation: 80-69=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[5, 11], Operations: ['92-87=5', '80-69=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[69, 80, 92, 87], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [69, 80, 5]
Generated Node #0,1: 55:[69, 80, 5] Operation: 92-87=5
Moving to Node #0,1
Current State: 55:[69, 80, 5], Operations: ['92-87=5']
Exploring Operation: 80-69=11, Resulting Numbers: [5, 11]
Generated Node #0,1,1: 55:[5, 11] Operation: 80-69=11
Moving to Node #0,1,1
Current State: 55:[5, 11], Operations: ['92-87=5', '80-69=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
65,
23,
51,
49
] | 40 | [
"65-23=42",
"51-49=2",
"42-2=40"
] | Current State: 40:[65, 23, 51, 49], Operations: []
Exploring Operation: 65-23=42, Resulting Numbers: [51, 49, 42]
Generated Node #2: [51, 49, 42] from Operation: 65-23=42
Current State: 40:[51, 49, 42], Operations: ['65-23=42']
Exploring Operation: 51-49=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 51-49=2
Current State: 40:[42, 2], Operations: ['65-23=42', '51-49=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[65, 23, 51, 49], Operations: []
Exploring Operation: 65-49=16, Resulting Numbers: [23, 51, 16]
Generated Node #0,0: 40:[23, 51, 16] Operation: 65-49=16
Exploring Operation: 65-51=14, Resulting Numbers: [23, 49, 14]
Generated Node #0,1: 40:[23, 49, 14] Operation: 65-51=14
Moving to Node #0,1
Current State: 40:[23, 49, 14], Operations: ['65-51=14']
Exploring Operation: 49-23=26, Resulting Numbers: [14, 26]
Generated Node #0,1,0: 40:[14, 26] Operation: 49-23=26
Exploring Operation: 49-14=35, Resulting Numbers: [23, 35]
Generated Node #0,1,1: 40:[23, 35] Operation: 49-14=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[23, 35], Operations: ['65-51=14', '49-14=35']
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[14, 26], Operations: ['65-51=14', '49-23=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[65, 23, 51, 49], Operations: []
Exploring Operation: 65-51=14, Resulting Numbers: [23, 49, 14]
Generated Node #0,1: 40:[23, 49, 14] Operation: 65-51=14
Moving to Node #0,1
Current State: 40:[23, 49, 14], Operations: ['65-51=14']
Exploring Operation: 49-23=26, Resulting Numbers: [14, 26]
Generated Node #0,1,0: 40:[14, 26] Operation: 49-23=26
Moving to Node #0,1,0
Current State: 40:[14, 26], Operations: ['65-51=14', '49-23=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
2,
34,
90,
20
] | 34 | [
"2+34=36",
"90-20=70",
"70-36=34"
] | Current State: 34:[2, 34, 90, 20], Operations: []
Exploring Operation: 2+34=36, Resulting Numbers: [90, 20, 36]
Generated Node #2: [90, 20, 36] from Operation: 2+34=36
Current State: 34:[90, 20, 36], Operations: ['2+34=36']
Exploring Operation: 90-20=70, Resulting Numbers: [36, 70]
Generated Node #3: [36, 70] from Operation: 90-20=70
Current State: 34:[36, 70], Operations: ['2+34=36', '90-20=70']
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[2, 34, 90, 20], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [34, 20, 45]
Generated Node #0,0: 34:[34, 20, 45] Operation: 90/2=45
Exploring Operation: 90-2=88, Resulting Numbers: [34, 20, 88]
Generated Node #0,1: 34:[34, 20, 88] Operation: 90-2=88
Exploring Operation: 90-34=56, Resulting Numbers: [2, 20, 56]
Generated Node #0,2: 34:[2, 20, 56] Operation: 90-34=56
Exploring Operation: 90-20=70, Resulting Numbers: [2, 34, 70]
Generated Node #0,3: 34:[2, 34, 70] Operation: 90-20=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[34, 20, 45], Operations: ['90/2=45']
Exploring Operation: 45-20=25, Resulting Numbers: [34, 25]
Generated Node #0,0,0: 34:[34, 25] Operation: 45-20=25
Exploring Operation: 34+20=54, Resulting Numbers: [45, 54]
Generated Node #0,0,1: 34:[45, 54] Operation: 34+20=54
Exploring Operation: 45-34=11, Resulting Numbers: [20, 11]
Generated Node #0,0,2: 34:[20, 11] Operation: 45-34=11
Exploring Operation: 34-20=14, Resulting Numbers: [45, 14]
Generated Node #0,0,3: 34:[45, 14] Operation: 34-20=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[34, 25], Operations: ['90/2=45', '45-20=25']
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,34 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[20, 11], Operations: ['90/2=45', '45-34=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,34 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,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:[45, 14], Operations: ['90/2=45', '34-20=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,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:[45, 54], Operations: ['90/2=45', '34+20=54']
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,34 unequal: No Solution
Exploring Operation: 45*54=2430, Resulting Numbers: [2430]
2430,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:[2, 20, 56], Operations: ['90-34=56']
Exploring Operation: 56-20=36, Resulting Numbers: [2, 36]
Generated Node #0,2,0: 34:[2, 36] Operation: 56-20=36
Exploring Operation: 20-2=18, Resulting Numbers: [56, 18]
Generated Node #0,2,1: 34:[56, 18] Operation: 20-2=18
Exploring Operation: 56/2=28, Resulting Numbers: [20, 28]
Generated Node #0,2,2: 34:[20, 28] Operation: 56/2=28
Exploring Operation: 56-2=54, Resulting Numbers: [20, 54]
Generated Node #0,2,3: 34:[20, 54] Operation: 56-2=54
Moving to Node #0,2,0
Current State: 34:[2, 36], Operations: ['90-34=56', '56-20=36']
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 2+36=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:[2, 34, 90, 20], Operations: []
Exploring Operation: 90-34=56, Resulting Numbers: [2, 20, 56]
Generated Node #0,2: 34:[2, 20, 56] Operation: 90-34=56
Moving to Node #0,2
Current State: 34:[2, 20, 56], Operations: ['90-34=56']
Exploring Operation: 56-20=36, Resulting Numbers: [2, 36]
Generated Node #0,2,0: 34:[2, 36] Operation: 56-20=36
Moving to Node #0,2,0
Current State: 34:[2, 36], Operations: ['90-34=56', '56-20=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
24,
67,
2,
29
] | 100 | [
"67-29=38",
"2*38=76",
"24+76=100"
] | Current State: 100:[24, 67, 2, 29], Operations: []
Exploring Operation: 67-29=38, Resulting Numbers: [24, 2, 38]
Generated Node #2: [24, 2, 38] from Operation: 67-29=38
Current State: 100:[24, 2, 38], Operations: ['67-29=38']
Exploring Operation: 2*38=76, Resulting Numbers: [24, 76]
Generated Node #3: [24, 76] from Operation: 2*38=76
Current State: 100:[24, 76], Operations: ['67-29=38', '2*38=76']
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[24, 67, 2, 29], Operations: []
Exploring Operation: 24+67=91, Resulting Numbers: [2, 29, 91]
Generated Node #0,0: 100:[2, 29, 91] Operation: 24+67=91
Exploring Operation: 67-24=43, Resulting Numbers: [2, 29, 43]
Generated Node #0,1: 100:[2, 29, 43] Operation: 67-24=43
Exploring Operation: 67-29=38, Resulting Numbers: [24, 2, 38]
Generated Node #0,2: 100:[24, 2, 38] Operation: 67-29=38
Exploring Operation: 67+29=96, Resulting Numbers: [24, 2, 96]
Generated Node #0,3: 100:[24, 2, 96] Operation: 67+29=96
Moving to Node #0,3
Current State: 100:[24, 2, 96], Operations: ['67+29=96']
Exploring Operation: 96/2=48, Resulting Numbers: [24, 48]
Generated Node #0,3,0: 100:[24, 48] Operation: 96/2=48
Exploring Operation: 2+96=98, Resulting Numbers: [24, 98]
Generated Node #0,3,1: 100:[24, 98] Operation: 2+96=98
Exploring Operation: 24+2=26, Resulting Numbers: [96, 26]
Generated Node #0,3,2: 100:[96, 26] Operation: 24+2=26
Exploring Operation: 96/24=4, Resulting Numbers: [2, 4]
Generated Node #0,3,3: 100:[2, 4] Operation: 96/24=4
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 100:[2, 4], Operations: ['67+29=96', '96/24=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[24, 48], Operations: ['67+29=96', '96/2=48']
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,100 unequal: No Solution
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,100 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 100:[24, 98], Operations: ['67+29=96', '2+96=98']
Exploring Operation: 24+98=122, Resulting Numbers: [122]
122,100 unequal: No Solution
Exploring Operation: 24*98=2352, Resulting Numbers: [2352]
2352,100 unequal: No Solution
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 100:[96, 26], Operations: ['67+29=96', '24+2=26']
Exploring Operation: 96+26=122, Resulting Numbers: [122]
122,100 unequal: No Solution
Exploring Operation: 96*26=2496, Resulting Numbers: [2496]
2496,100 unequal: No Solution
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,100 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: 100:[2, 29, 43], Operations: ['67-24=43']
Exploring Operation: 29-2=27, Resulting Numbers: [43, 27]
Generated Node #0,1,0: 100:[43, 27] Operation: 29-2=27
Exploring Operation: 2+29=31, Resulting Numbers: [43, 31]
Generated Node #0,1,1: 100:[43, 31] Operation: 2+29=31
Exploring Operation: 43-29=14, Resulting Numbers: [2, 14]
Generated Node #0,1,2: 100:[2, 14] Operation: 43-29=14
Exploring Operation: 2+43=45, Resulting Numbers: [29, 45]
Generated Node #0,1,3: 100:[29, 45] Operation: 2+43=45
Moving to Node #0,2
Current State: 100:[24, 2, 38], Operations: ['67-29=38']
Exploring Operation: 38-24=14, Resulting Numbers: [2, 14]
Generated Node #0,2,0: 100:[2, 14] Operation: 38-24=14
Exploring Operation: 2+38=40, Resulting Numbers: [24, 40]
Generated Node #0,2,1: 100:[24, 40] Operation: 2+38=40
Exploring Operation: 38/2=19, Resulting Numbers: [24, 19]
Generated Node #0,2,2: 100:[24, 19] Operation: 38/2=19
Exploring Operation: 24+38=62, Resulting Numbers: [2, 62]
Generated Node #0,2,3: 100:[2, 62] Operation: 24+38=62
Moving to Node #0,0
Current State: 100:[2, 29, 91], Operations: ['24+67=91']
Exploring Operation: 2+91=93, Resulting Numbers: [29, 93]
Generated Node #0,0,0: 100:[29, 93] Operation: 2+91=93
Exploring Operation: 2+29=31, Resulting Numbers: [91, 31]
Generated Node #0,0,1: 100:[91, 31] Operation: 2+29=31
Exploring Operation: 29-2=27, Resulting Numbers: [91, 27]
Generated Node #0,0,2: 100:[91, 27] Operation: 29-2=27
Exploring Operation: 91-29=62, Resulting Numbers: [2, 62]
Generated Node #0,0,3: 100:[2, 62] Operation: 91-29=62
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[29, 93], Operations: ['24+67=91', '2+91=93']
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,100 unequal: No Solution
Exploring Operation: 29+93=122, Resulting Numbers: [122]
122,100 unequal: No Solution
Exploring Operation: 29*93=2697, Resulting Numbers: [2697]
2697,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[91, 27], Operations: ['24+67=91', '29-2=27']
Exploring Operation: 91+27=118, Resulting Numbers: [118]
118,100 unequal: No Solution
Exploring Operation: 91*27=2457, Resulting Numbers: [2457]
2457,100 unequal: No Solution
Exploring Operation: 91-27=64, Resulting Numbers: [64]
64,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 100:[2, 62], Operations: ['24+67=91', '91-29=62']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,100 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[91, 31], Operations: ['24+67=91', '2+29=31']
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,100 unequal: No Solution
Exploring Operation: 91*31=2821, Resulting Numbers: [2821]
2821,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 100:[24, 19], Operations: ['67-29=38', '38/2=19']
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,100 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[2, 14], Operations: ['67-29=38', '38-24=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[2, 14], Operations: ['67-24=43', '43-29=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[29, 45], Operations: ['67-24=43', '2+43=45']
Exploring Operation: 29*45=1305, Resulting Numbers: [1305]
1305,100 unequal: No Solution
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[43, 27], Operations: ['67-24=43', '29-2=27']
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 43*27=1161, Resulting Numbers: [1161]
1161,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[24, 40], Operations: ['67-29=38', '2+38=40']
Exploring Operation: 24*40=960, Resulting Numbers: [960]
960,100 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 24+40=64, Resulting Numbers: [64]
64,100 unequal: No Solution
Moving to Node #0,2,3
Current State: 100:[2, 62], Operations: ['67-29=38', '24+38=62']
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,100 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[43, 31], Operations: ['67-24=43', '2+29=31']
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,100 unequal: No Solution
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,100 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
81,
20,
11,
59
] | 22 | [
"81-20=61",
"61-59=2",
"11*2=22"
] | Current State: 22:[81, 20, 11, 59], Operations: []
Exploring Operation: 81-20=61, Resulting Numbers: [11, 59, 61]
Generated Node #2: [11, 59, 61] from Operation: 81-20=61
Current State: 22:[11, 59, 61], Operations: ['81-20=61']
Exploring Operation: 61-59=2, Resulting Numbers: [11, 2]
Generated Node #3: [11, 2] from Operation: 61-59=2
Current State: 22:[11, 2], Operations: ['81-20=61', '61-59=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[81, 20, 11, 59], Operations: []
Exploring Operation: 81-59=22, Resulting Numbers: [20, 11, 22]
Generated Node #0,0: 22:[20, 11, 22] Operation: 81-59=22
Exploring Operation: 59-20=39, Resulting Numbers: [81, 11, 39]
Generated Node #0,1: 22:[81, 11, 39] Operation: 59-20=39
Exploring Operation: 81-20=61, Resulting Numbers: [11, 59, 61]
Generated Node #0,2: 22:[11, 59, 61] Operation: 81-20=61
Moving to Node #0,0
Current State: 22:[20, 11, 22], Operations: ['81-59=22']
Exploring Operation: 20-11=9, Resulting Numbers: [22, 9]
Generated Node #0,0,0: 22:[22, 9] Operation: 20-11=9
Exploring Operation: 22-20=2, Resulting Numbers: [11, 2]
Generated Node #0,0,1: 22:[11, 2] Operation: 22-20=2
Exploring Operation: 22-11=11, Resulting Numbers: [20, 11]
Generated Node #0,0,2: 22:[20, 11] Operation: 22-11=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[11, 2], Operations: ['81-59=22', '22-20=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[81, 20, 11, 59], Operations: []
Exploring Operation: 81-59=22, Resulting Numbers: [20, 11, 22]
Generated Node #0,0: 22:[20, 11, 22] Operation: 81-59=22
Moving to Node #0,0
Current State: 22:[20, 11, 22], Operations: ['81-59=22']
Exploring Operation: 22-20=2, Resulting Numbers: [11, 2]
Generated Node #0,0,1: 22:[11, 2] Operation: 22-20=2
Moving to Node #0,0,1
Current State: 22:[11, 2], Operations: ['81-59=22', '22-20=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
21,
35,
63,
86
] | 93 | [
"21+35=56",
"63+86=149",
"149-56=93"
] | Current State: 93:[21, 35, 63, 86], Operations: []
Exploring Operation: 21+35=56, Resulting Numbers: [63, 86, 56]
Generated Node #2: [63, 86, 56] from Operation: 21+35=56
Current State: 93:[63, 86, 56], Operations: ['21+35=56']
Exploring Operation: 63+86=149, Resulting Numbers: [56, 149]
Generated Node #3: [56, 149] from Operation: 63+86=149
Current State: 93:[56, 149], Operations: ['21+35=56', '63+86=149']
Exploring Operation: 149-56=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[21, 35, 63, 86], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [35, 86, 3]
Generated Node #0,0: 93:[35, 86, 3] Operation: 63/21=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[35, 86, 3], Operations: ['63/21=3']
Exploring Operation: 35-3=32, Resulting Numbers: [86, 32]
Generated Node #0,0,0: 93:[86, 32] Operation: 35-3=32
Moving to Node #0,0,0
Current State: 93:[86, 32], Operations: ['63/21=3', '35-3=32']
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,93 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 |
[
44,
51,
11,
38
] | 68 | [
"44+51=95",
"38-11=27",
"95-27=68"
] | Current State: 68:[44, 51, 11, 38], Operations: []
Exploring Operation: 44+51=95, Resulting Numbers: [11, 38, 95]
Generated Node #2: [11, 38, 95] from Operation: 44+51=95
Current State: 68:[11, 38, 95], Operations: ['44+51=95']
Exploring Operation: 38-11=27, Resulting Numbers: [95, 27]
Generated Node #3: [95, 27] from Operation: 38-11=27
Current State: 68:[95, 27], Operations: ['44+51=95', '38-11=27']
Exploring Operation: 95-27=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[44, 51, 11, 38], Operations: []
Exploring Operation: 51+11=62, Resulting Numbers: [44, 38, 62]
Generated Node #0,0: 68:[44, 38, 62] Operation: 51+11=62
Exploring Operation: 51-44=7, Resulting Numbers: [11, 38, 7]
Generated Node #0,1: 68:[11, 38, 7] Operation: 51-44=7
Exploring Operation: 51-11=40, Resulting Numbers: [44, 38, 40]
Generated Node #0,2: 68:[44, 38, 40] Operation: 51-11=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[11, 38, 7], Operations: ['51-44=7']
Exploring Operation: 11-7=4, Resulting Numbers: [38, 4]
Generated Node #0,1,0: 68:[38, 4] Operation: 11-7=4
Exploring Operation: 38-7=31, Resulting Numbers: [11, 31]
Generated Node #0,1,1: 68:[11, 31] Operation: 38-7=31
Exploring Operation: 11+7=18, Resulting Numbers: [38, 18]
Generated Node #0,1,2: 68:[38, 18] Operation: 11+7=18
Moving to Node #0,1,0
Current State: 68:[38, 4], Operations: ['51-44=7', '11-7=4']
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,68 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[38, 18], Operations: ['51-44=7', '11+7=18']
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,68 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[11, 31], Operations: ['51-44=7', '38-7=31']
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,68 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[44, 38, 62], Operations: ['51+11=62']
Exploring Operation: 62-38=24, Resulting Numbers: [44, 24]
Generated Node #0,0,0: 68:[44, 24] Operation: 62-38=24
Exploring Operation: 62-44=18, Resulting Numbers: [38, 18]
Generated Node #0,0,1: 68:[38, 18] Operation: 62-44=18
Exploring Operation: 44-38=6, Resulting Numbers: [62, 6]
Generated Node #0,0,2: 68:[62, 6] Operation: 44-38=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[38, 18], Operations: ['51+11=62', '62-44=18']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,68 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[62, 6], Operations: ['51+11=62', '44-38=6']
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,68 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[44, 51, 11, 38], Operations: []
Exploring Operation: 51+11=62, Resulting Numbers: [44, 38, 62]
Generated Node #0,0: 68:[44, 38, 62] Operation: 51+11=62
Moving to Node #0,0
Current State: 68:[44, 38, 62], Operations: ['51+11=62']
Exploring Operation: 44-38=6, Resulting Numbers: [62, 6]
Generated Node #0,0,2: 68:[62, 6] Operation: 44-38=6
Moving to Node #0,0,2
Current State: 68:[62, 6], Operations: ['51+11=62', '44-38=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
84,
30,
2,
60
] | 36 | [
"84-60=24",
"30*2=60",
"60-24=36"
] | Current State: 36:[84, 30, 2, 60], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [30, 2, 24]
Generated Node #2: [30, 2, 24] from Operation: 84-60=24
Current State: 36:[30, 2, 24], Operations: ['84-60=24']
Exploring Operation: 30*2=60, Resulting Numbers: [24, 60]
Generated Node #3: [24, 60] from Operation: 30*2=60
Current State: 36:[24, 60], Operations: ['84-60=24', '30*2=60']
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[84, 30, 2, 60], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [30, 2, 24]
Generated Node #0,0: 36:[30, 2, 24] Operation: 84-60=24
Exploring Operation: 60/30=2, Resulting Numbers: [84, 2, 2]
Generated Node #0,1: 36:[84, 2, 2] Operation: 60/30=2
Exploring Operation: 84-30=54, Resulting Numbers: [2, 60, 54]
Generated Node #0,2: 36:[2, 60, 54] Operation: 84-30=54
Exploring Operation: 84/2=42, Resulting Numbers: [30, 60, 42]
Generated Node #0,3: 36:[30, 60, 42] Operation: 84/2=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[30, 2, 24], Operations: ['84-60=24']
Exploring Operation: 30+2=32, Resulting Numbers: [24, 32]
Generated Node #0,0,0: 36:[24, 32] Operation: 30+2=32
Exploring Operation: 24/2=12, Resulting Numbers: [30, 12]
Generated Node #0,0,1: 36:[30, 12] Operation: 24/2=12
Exploring Operation: 30-24=6, Resulting Numbers: [2, 6]
Generated Node #0,0,2: 36:[2, 6] Operation: 30-24=6
Exploring Operation: 30/2=15, Resulting Numbers: [24, 15]
Generated Node #0,0,3: 36:[24, 15] Operation: 30/2=15
Moving to Node #0,0,2
Current State: 36:[2, 6], Operations: ['84-60=24', '30-24=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[30, 12], Operations: ['84-60=24', '24/2=12']
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,36 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,36 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[24, 15], Operations: ['84-60=24', '30/2=15']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,36 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[24, 32], Operations: ['84-60=24', '30+2=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,36 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[30, 60, 42], Operations: ['84/2=42']
Exploring Operation: 42-30=12, Resulting Numbers: [60, 12]
Generated Node #0,3,0: 36:[60, 12] Operation: 42-30=12
Exploring Operation: 60-42=18, Resulting Numbers: [30, 18]
Generated Node #0,3,1: 36:[30, 18] Operation: 60-42=18
Exploring Operation: 60-30=30, Resulting Numbers: [42, 30]
Generated Node #0,3,2: 36:[42, 30] Operation: 60-30=30
Exploring Operation: 60/30=2, Resulting Numbers: [42, 2]
Generated Node #0,3,3: 36:[42, 2] Operation: 60/30=2
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 36:[30, 18], Operations: ['84/2=42', '60-42=18']
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,36 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 36:[42, 2], Operations: ['84/2=42', '60/30=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 36:[42, 30], Operations: ['84/2=42', '60-30=30']
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,36 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 36:[60, 12], Operations: ['84/2=42', '42-30=12']
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 60*12=720, Resulting Numbers: [720]
720,36 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[2, 60, 54], Operations: ['84-30=54']
Exploring Operation: 60-54=6, Resulting Numbers: [2, 6]
Generated Node #0,2,0: 36:[2, 6] Operation: 60-54=6
Exploring Operation: 60/2=30, Resulting Numbers: [54, 30]
Generated Node #0,2,1: 36:[54, 30] Operation: 60/2=30
Exploring Operation: 60-2=58, Resulting Numbers: [54, 58]
Generated Node #0,2,2: 36:[54, 58] Operation: 60-2=58
Exploring Operation: 54/2=27, Resulting Numbers: [60, 27]
Generated Node #0,2,3: 36:[60, 27] Operation: 54/2=27
Moving to Node #0,2,0
Current State: 36:[2, 6], Operations: ['84-30=54', '60-54=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[54, 30], Operations: ['84-30=54', '60/2=30']
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,36 unequal: No Solution
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Moving to Node #0,2,3
Current State: 36:[60, 27], Operations: ['84-30=54', '54/2=27']
Exploring Operation: 60*27=1620, Resulting Numbers: [1620]
1620,36 unequal: No Solution
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[54, 58], Operations: ['84-30=54', '60-2=58']
Exploring Operation: 54*58=3132, Resulting Numbers: [3132]
3132,36 unequal: No Solution
Exploring Operation: 54+58=112, Resulting Numbers: [112]
112,36 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[84, 2, 2], Operations: ['60/30=2']
Exploring Operation: 84-2=82, Resulting Numbers: [2, 82]
Generated Node #0,1,0: 36:[2, 82] Operation: 84-2=82
Exploring Operation: 84/2=42, Resulting Numbers: [2, 42]
Generated Node #0,1,1: 36:[2, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [2, 82]
Generated Node #0,1,2: 36:[2, 82] Operation: 84-2=82
Exploring Operation: 84/2=42, Resulting Numbers: [2, 42]
Generated Node #0,1,3: 36:[2, 42] Operation: 84/2=42
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[2, 42], Operations: ['60/30=2', '84/2=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 36:[2, 42], Operations: ['60/30=2', '84/2=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[2, 82], Operations: ['60/30=2', '84-2=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,36 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 36:[2, 82], Operations: ['60/30=2', '84-2=82']
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,36 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,36 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
69,
18,
57,
18
] | 57 | [
"18-18=0",
"69*0=0",
"57+0=57"
] | Current State: 57:[69, 18, 57, 18], Operations: []
Exploring Operation: 18-18=0, Resulting Numbers: [69, 57, 0]
Generated Node #2: [69, 57, 0] from Operation: 18-18=0
Current State: 57:[69, 57, 0], Operations: ['18-18=0']
Exploring Operation: 69*0=0, Resulting Numbers: [57, 0]
Generated Node #3: [57, 0] from Operation: 69*0=0
Current State: 57:[57, 0], Operations: ['18-18=0', '69*0=0']
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[69, 18, 57, 18], Operations: []
Exploring Operation: 69-57=12, Resulting Numbers: [18, 18, 12]
Generated Node #0,0: 57:[18, 18, 12] Operation: 69-57=12
Exploring Operation: 69-18=51, Resulting Numbers: [18, 57, 51]
Generated Node #0,1: 57:[18, 57, 51] Operation: 69-18=51
Exploring Operation: 69-18=51, Resulting Numbers: [57, 18, 51]
Generated Node #0,2: 57:[57, 18, 51] Operation: 69-18=51
Exploring Operation: 18-18=0, Resulting Numbers: [69, 57, 0]
Generated Node #0,3: 57:[69, 57, 0] Operation: 18-18=0
Exploring Operation: 18/18=1, Resulting Numbers: [69, 57, 1]
Generated Node #0,4: 57:[69, 57, 1] Operation: 18/18=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[18, 57, 51], Operations: ['69-18=51']
Exploring Operation: 51-18=33, Resulting Numbers: [57, 33]
Generated Node #0,1,0: 57:[57, 33] Operation: 51-18=33
Exploring Operation: 57-18=39, Resulting Numbers: [51, 39]
Generated Node #0,1,1: 57:[51, 39] Operation: 57-18=39
Exploring Operation: 18+57=75, Resulting Numbers: [51, 75]
Generated Node #0,1,2: 57:[51, 75] Operation: 18+57=75
Exploring Operation: 18+51=69, Resulting Numbers: [57, 69]
Generated Node #0,1,3: 57:[57, 69] Operation: 18+51=69
Exploring Operation: 57-51=6, Resulting Numbers: [18, 6]
Generated Node #0,1,4: 57:[18, 6] Operation: 57-51=6
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 57:[18, 6], Operations: ['69-18=51', '57-51=6']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,57 unequal: No Solution
No 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: 57:[57, 69], Operations: ['69-18=51', '18+51=69']
Exploring Operation: 57+69=126, Resulting Numbers: [126]
126,57 unequal: No Solution
Exploring Operation: 57*69=3933, Resulting Numbers: [3933]
3933,57 unequal: No Solution
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,57 unequal: No Solution
No 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: 57:[57, 33], Operations: ['69-18=51', '51-18=33']
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 57+33=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 57*33=1881, Resulting Numbers: [1881]
1881,57 unequal: No Solution
No 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: 57:[51, 39], Operations: ['69-18=51', '57-18=39']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 51*39=1989, Resulting Numbers: [1989]
1989,57 unequal: No Solution
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,57 unequal: No Solution
No 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: 57:[51, 75], Operations: ['69-18=51', '18+57=75']
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 51+75=126, Resulting Numbers: [126]
126,57 unequal: No Solution
Exploring Operation: 51*75=3825, Resulting Numbers: [3825]
3825,57 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: 57:[57, 18, 51], Operations: ['69-18=51']
Exploring Operation: 18+51=69, Resulting Numbers: [57, 69]
Generated Node #0,2,0: 57:[57, 69] Operation: 18+51=69
Exploring Operation: 57+18=75, Resulting Numbers: [51, 75]
Generated Node #0,2,1: 57:[51, 75] Operation: 57+18=75
Exploring Operation: 51-18=33, Resulting Numbers: [57, 33]
Generated Node #0,2,2: 57:[57, 33] Operation: 51-18=33
Exploring Operation: 57-51=6, Resulting Numbers: [18, 6]
Generated Node #0,2,3: 57:[18, 6] Operation: 57-51=6
Exploring Operation: 57-18=39, Resulting Numbers: [51, 39]
Generated Node #0,2,4: 57:[51, 39] Operation: 57-18=39
Moving to Node #0,2,3
Current State: 57:[18, 6], Operations: ['69-18=51', '57-51=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[57, 69], Operations: ['69-18=51', '18+51=69']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 57*69=3933, Resulting Numbers: [3933]
3933,57 unequal: No Solution
Exploring Operation: 57+69=126, Resulting Numbers: [126]
126,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[57, 33], Operations: ['69-18=51', '51-18=33']
Exploring Operation: 57+33=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 57*33=1881, Resulting Numbers: [1881]
1881,57 unequal: No Solution
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[51, 75], Operations: ['69-18=51', '57+18=75']
Exploring Operation: 51+75=126, Resulting Numbers: [126]
126,57 unequal: No Solution
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 51*75=3825, Resulting Numbers: [3825]
3825,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[51, 39], Operations: ['69-18=51', '57-18=39']
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 51*39=1989, Resulting Numbers: [1989]
1989,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
Current State: 57:[18, 18, 12], Operations: ['69-57=12']
Exploring Operation: 18/18=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 57:[12, 1] Operation: 18/18=1
Exploring Operation: 18-18=0, Resulting Numbers: [12, 0]
Generated Node #0,0,1: 57:[12, 0] Operation: 18-18=0
Exploring Operation: 18-12=6, Resulting Numbers: [18, 6]
Generated Node #0,0,2: 57:[18, 6] Operation: 18-12=6
Exploring Operation: 18+12=30, Resulting Numbers: [18, 30]
Generated Node #0,0,3: 57:[18, 30] Operation: 18+12=30
Exploring Operation: 18-12=6, Resulting Numbers: [18, 6]
Generated Node #0,0,4: 57:[18, 6] Operation: 18-12=6
Moving to Node #0,0,2
Current State: 57:[18, 6], Operations: ['69-57=12', '18-12=6']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[18, 6], Operations: ['69-57=12', '18-12=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[12, 1], Operations: ['69-57=12', '18/18=1']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[12, 0], Operations: ['69-57=12', '18-18=0']
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[18, 30], Operations: ['69-57=12', '18+12=30']
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,57 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,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,4
Current State: 57:[69, 57, 1], Operations: ['18/18=1']
Exploring Operation: 69-57=12, Resulting Numbers: [1, 12]
Generated Node #0,4,0: 57:[1, 12] Operation: 69-57=12
Exploring Operation: 69*1=69, Resulting Numbers: [57, 69]
Generated Node #0,4,1: 57:[57, 69] Operation: 69*1=69
Exploring Operation: 69-1=68, Resulting Numbers: [57, 68]
Generated Node #0,4,2: 57:[57, 68] Operation: 69-1=68
Exploring Operation: 57*1=57, Resulting Numbers: [69, 57]
Generated Node #0,4,3: 57:[69, 57] Operation: 57*1=57
Exploring Operation: 69/1=69, Resulting Numbers: [57, 69]
Generated Node #0,4,4: 57:[57, 69] Operation: 69/1=69
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 57:[1, 12], Operations: ['18/18=1', '69-57=12']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,57 unequal: No Solution
No 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: 57:[57, 68], Operations: ['18/18=1', '69-1=68']
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 57+68=125, Resulting Numbers: [125]
125,57 unequal: No Solution
Exploring Operation: 57*68=3876, Resulting Numbers: [3876]
3876,57 unequal: No Solution
No 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: 57:[57, 69], Operations: ['18/18=1', '69*1=69']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 57+69=126, Resulting Numbers: [126]
126,57 unequal: No Solution
Exploring Operation: 57*69=3933, Resulting Numbers: [3933]
3933,57 unequal: No Solution
No 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: 57:[69, 57], Operations: ['18/18=1', '57*1=57']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 69+57=126, Resulting Numbers: [126]
126,57 unequal: No Solution
Exploring Operation: 69*57=3933, Resulting Numbers: [3933]
3933,57 unequal: No Solution
No 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: 57:[57, 69], Operations: ['18/18=1', '69/1=69']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 57*69=3933, Resulting Numbers: [3933]
3933,57 unequal: No Solution
Exploring Operation: 57+69=126, Resulting Numbers: [126]
126,57 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: 57:[69, 57, 0], Operations: ['18-18=0']
Exploring Operation: 69-0=69, Resulting Numbers: [57, 69]
Generated Node #0,3,0: 57:[57, 69] Operation: 69-0=69
Exploring Operation: 69*0=0, Resulting Numbers: [57, 0]
Generated Node #0,3,1: 57:[57, 0] Operation: 69*0=0
Exploring Operation: 57+0=57, Resulting Numbers: [69, 57]
Generated Node #0,3,2: 57:[69, 57] Operation: 57+0=57
Exploring Operation: 69+0=69, Resulting Numbers: [57, 69]
Generated Node #0,3,3: 57:[57, 69] Operation: 69+0=69
Exploring Operation: 69-57=12, Resulting Numbers: [0, 12]
Generated Node #0,3,4: 57:[0, 12] Operation: 69-57=12
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[57, 0], Operations: ['18-18=0', '69*0=0']
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[69, 18, 57, 18], Operations: []
Exploring Operation: 18-18=0, Resulting Numbers: [69, 57, 0]
Generated Node #0,3: 57:[69, 57, 0] Operation: 18-18=0
Moving to Node #0,3
Current State: 57:[69, 57, 0], Operations: ['18-18=0']
Exploring Operation: 69*0=0, Resulting Numbers: [57, 0]
Generated Node #0,3,1: 57:[57, 0] Operation: 69*0=0
Moving to Node #0,3,1
Current State: 57:[57, 0], Operations: ['18-18=0', '69*0=0']
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.912326 | hs_5 | sum_heuristic |
[
84,
57,
71,
31
] | 75 | [
"84-57=27",
"71+31=102",
"102-27=75"
] | Current State: 75:[84, 57, 71, 31], Operations: []
Exploring Operation: 84-57=27, Resulting Numbers: [71, 31, 27]
Generated Node #2: [71, 31, 27] from Operation: 84-57=27
Current State: 75:[71, 31, 27], Operations: ['84-57=27']
Exploring Operation: 71+31=102, Resulting Numbers: [27, 102]
Generated Node #3: [27, 102] from Operation: 71+31=102
Current State: 75:[27, 102], Operations: ['84-57=27', '71+31=102']
Exploring Operation: 102-27=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[84, 57, 71, 31], Operations: []
Exploring Operation: 84-57=27, Resulting Numbers: [71, 31, 27]
Generated Node #0,0: 75:[71, 31, 27] Operation: 84-57=27
Moving to Node #0,0
Current State: 75:[71, 31, 27], Operations: ['84-57=27']
Exploring Operation: 31-27=4, Resulting Numbers: [71, 4]
Generated Node #0,0,0: 75:[71, 4] Operation: 31-27=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[71, 4], Operations: ['84-57=27', '31-27=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[84, 57, 71, 31], Operations: []
Exploring Operation: 84-57=27, Resulting Numbers: [71, 31, 27]
Generated Node #0,0: 75:[71, 31, 27] Operation: 84-57=27
Moving to Node #0,0
Current State: 75:[71, 31, 27], Operations: ['84-57=27']
Exploring Operation: 31-27=4, Resulting Numbers: [71, 4]
Generated Node #0,0,0: 75:[71, 4] Operation: 31-27=4
Moving to Node #0,0,0
Current State: 75:[71, 4], Operations: ['84-57=27', '31-27=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
45,
57,
12,
68
] | 92 | [
"57-45=12",
"12+68=80",
"12+80=92"
] | Current State: 92:[45, 57, 12, 68], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [12, 68, 12]
Generated Node #2: [12, 68, 12] from Operation: 57-45=12
Current State: 92:[12, 68, 12], Operations: ['57-45=12']
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,92 equal: Goal Reached
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[45, 57, 12, 68], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [45, 68, 45]
Generated Node #0,0: 92:[45, 68, 45] Operation: 57-12=45
Exploring Operation: 68-12=56, Resulting Numbers: [45, 57, 56]
Generated Node #0,1: 92:[45, 57, 56] Operation: 68-12=56
Exploring Operation: 68-57=11, Resulting Numbers: [45, 12, 11]
Generated Node #0,2: 92:[45, 12, 11] Operation: 68-57=11
Exploring Operation: 12+68=80, Resulting Numbers: [45, 57, 80]
Generated Node #0,3: 92:[45, 57, 80] Operation: 12+68=80
Exploring Operation: 68-45=23, Resulting Numbers: [57, 12, 23]
Generated Node #0,4: 92:[57, 12, 23] Operation: 68-45=23
Moving to Node #0,2
Current State: 92:[45, 12, 11], Operations: ['68-57=11']
Exploring Operation: 45-12=33, Resulting Numbers: [11, 33]
Generated Node #0,2,0: 92:[11, 33] Operation: 45-12=33
Exploring Operation: 45+11=56, Resulting Numbers: [12, 56]
Generated Node #0,2,1: 92:[12, 56] Operation: 45+11=56
Exploring Operation: 45+12=57, Resulting Numbers: [11, 57]
Generated Node #0,2,2: 92:[11, 57] Operation: 45+12=57
Exploring Operation: 12-11=1, Resulting Numbers: [45, 1]
Generated Node #0,2,3: 92:[45, 1] Operation: 12-11=1
Exploring Operation: 12+11=23, Resulting Numbers: [45, 23]
Generated Node #0,2,4: 92:[45, 23] Operation: 12+11=23
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 92:[45, 23], Operations: ['68-57=11', '12+11=23']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,92 unequal: No Solution
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[45, 1], Operations: ['68-57=11', '12-11=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[11, 33], Operations: ['68-57=11', '45-12=33']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,92 unequal: No Solution
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[12, 56], Operations: ['68-57=11', '45+11=56']
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,92 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[11, 57], Operations: ['68-57=11', '45+12=57']
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 11+57=68, Resulting Numbers: [68]
68,92 unequal: No Solution
Exploring Operation: 11*57=627, Resulting Numbers: [627]
627,92 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: 92:[57, 12, 23], Operations: ['68-45=23']
Exploring Operation: 23-12=11, Resulting Numbers: [57, 11]
Generated Node #0,4,0: 92:[57, 11] Operation: 23-12=11
Exploring Operation: 57+23=80, Resulting Numbers: [12, 80]
Generated Node #0,4,1: 92:[12, 80] Operation: 57+23=80
Exploring Operation: 57-12=45, Resulting Numbers: [23, 45]
Generated Node #0,4,2: 92:[23, 45] Operation: 57-12=45
Exploring Operation: 57-23=34, Resulting Numbers: [12, 34]
Generated Node #0,4,3: 92:[12, 34] Operation: 57-23=34
Exploring Operation: 12+23=35, Resulting Numbers: [57, 35]
Generated Node #0,4,4: 92:[57, 35] Operation: 12+23=35
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 92:[23, 45], Operations: ['68-45=23', '57-12=45']
Exploring Operation: 23+45=68, Resulting Numbers: [68]
68,92 unequal: No Solution
Exploring Operation: 23*45=1035, Resulting Numbers: [1035]
1035,92 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 92:[57, 11], Operations: ['68-45=23', '23-12=11']
Exploring Operation: 57+11=68, Resulting Numbers: [68]
68,92 unequal: No Solution
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 57*11=627, Resulting Numbers: [627]
627,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 92:[12, 34], Operations: ['68-45=23', '57-23=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 92:[12, 80], Operations: ['68-45=23', '57+23=80']
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,92 unequal: No Solution
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[45, 57, 12, 68], Operations: []
Exploring Operation: 68-45=23, Resulting Numbers: [57, 12, 23]
Generated Node #0,4: 92:[57, 12, 23] Operation: 68-45=23
Moving to Node #0,4
Current State: 92:[57, 12, 23], Operations: ['68-45=23']
Exploring Operation: 57+23=80, Resulting Numbers: [12, 80]
Generated Node #0,4,1: 92:[12, 80] Operation: 57+23=80
Moving to Node #0,4,1
Current State: 92:[12, 80], Operations: ['68-45=23', '57+23=80']
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | sum_heuristic |
[
21,
71,
92,
1
] | 42 | [
"71-21=50",
"92*1=92",
"92-50=42"
] | Current State: 42:[21, 71, 92, 1], Operations: []
Exploring Operation: 71-21=50, Resulting Numbers: [92, 1, 50]
Generated Node #2: [92, 1, 50] from Operation: 71-21=50
Current State: 42:[92, 1, 50], Operations: ['71-21=50']
Exploring Operation: 92*1=92, Resulting Numbers: [50, 92]
Generated Node #3: [50, 92] from Operation: 92*1=92
Current State: 42:[50, 92], Operations: ['71-21=50', '92*1=92']
Exploring Operation: 92-50=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[21, 71, 92, 1], Operations: []
Exploring Operation: 92-21=71, Resulting Numbers: [71, 1, 71]
Generated Node #0,0: 42:[71, 1, 71] Operation: 92-21=71
Exploring Operation: 71-1=70, Resulting Numbers: [21, 92, 70]
Generated Node #0,1: 42:[21, 92, 70] Operation: 71-1=70
Exploring Operation: 92-71=21, Resulting Numbers: [21, 1, 21]
Generated Node #0,2: 42:[21, 1, 21] Operation: 92-71=21
Exploring Operation: 71-21=50, Resulting Numbers: [92, 1, 50]
Generated Node #0,3: 42:[92, 1, 50] Operation: 71-21=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[21, 1, 21], Operations: ['92-71=21']
Exploring Operation: 21*1=21, Resulting Numbers: [21, 21]
Generated Node #0,2,0: 42:[21, 21] Operation: 21*1=21
Exploring Operation: 1*21=21, Resulting Numbers: [21, 21]
Generated Node #0,2,1: 42:[21, 21] Operation: 1*21=21
Exploring Operation: 21/1=21, Resulting Numbers: [21, 21]
Generated Node #0,2,2: 42:[21, 21] Operation: 21/1=21
Exploring Operation: 21/1=21, Resulting Numbers: [21, 21]
Generated Node #0,2,3: 42:[21, 21] Operation: 21/1=21
Moving to Node #0,2,0
Current State: 42:[21, 21], Operations: ['92-71=21', '21*1=21']
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[21, 71, 92, 1], Operations: []
Exploring Operation: 92-71=21, Resulting Numbers: [21, 1, 21]
Generated Node #0,2: 42:[21, 1, 21] Operation: 92-71=21
Moving to Node #0,2
Current State: 42:[21, 1, 21], Operations: ['92-71=21']
Exploring Operation: 21*1=21, Resulting Numbers: [21, 21]
Generated Node #0,2,0: 42:[21, 21] Operation: 21*1=21
Moving to Node #0,2,0
Current State: 42:[21, 21], Operations: ['92-71=21', '21*1=21']
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
10,
52,
15,
10
] | 38 | [
"10/10=1",
"52-15=37",
"1+37=38"
] | Current State: 38:[10, 52, 15, 10], Operations: []
Exploring Operation: 10/10=1, Resulting Numbers: [52, 15, 1]
Generated Node #2: [52, 15, 1] from Operation: 10/10=1
Current State: 38:[52, 15, 1], Operations: ['10/10=1']
Exploring Operation: 52-15=37, Resulting Numbers: [1, 37]
Generated Node #3: [1, 37] from Operation: 52-15=37
Current State: 38:[1, 37], Operations: ['10/10=1', '52-15=37']
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[10, 52, 15, 10], Operations: []
Exploring Operation: 52-10=42, Resulting Numbers: [15, 10, 42]
Generated Node #0,0: 38:[15, 10, 42] Operation: 52-10=42
Exploring Operation: 52-10=42, Resulting Numbers: [10, 15, 42]
Generated Node #0,1: 38:[10, 15, 42] Operation: 52-10=42
Exploring Operation: 52-15=37, Resulting Numbers: [10, 10, 37]
Generated Node #0,2: 38:[10, 10, 37] Operation: 52-15=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[15, 10, 42], Operations: ['52-10=42']
Exploring Operation: 15+10=25, Resulting Numbers: [42, 25]
Generated Node #0,0,0: 38:[42, 25] Operation: 15+10=25
Exploring Operation: 15-10=5, Resulting Numbers: [42, 5]
Generated Node #0,0,1: 38:[42, 5] Operation: 15-10=5
Exploring Operation: 42-10=32, Resulting Numbers: [15, 32]
Generated Node #0,0,2: 38:[15, 32] Operation: 42-10=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[42, 5], Operations: ['52-10=42', '15-10=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,38 unequal: No Solution
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,38 unequal: No Solution
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[42, 25], Operations: ['52-10=42', '15+10=25']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,38 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,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,2
Current State: 38:[15, 32], Operations: ['52-10=42', '42-10=32']
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,38 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,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:[10, 15, 42], Operations: ['52-10=42']
Exploring Operation: 10+15=25, Resulting Numbers: [42, 25]
Generated Node #0,1,0: 38:[42, 25] Operation: 10+15=25
Exploring Operation: 15-10=5, Resulting Numbers: [42, 5]
Generated Node #0,1,1: 38:[42, 5] Operation: 15-10=5
Exploring Operation: 42-10=32, Resulting Numbers: [15, 32]
Generated Node #0,1,2: 38:[15, 32] Operation: 42-10=32
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[42, 5], Operations: ['52-10=42', '15-10=5']
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,38 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,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,0
Current State: 38:[42, 25], Operations: ['52-10=42', '10+15=25']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,38 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,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,2
Current State: 38:[15, 32], Operations: ['52-10=42', '42-10=32']
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,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,2
Current State: 38:[10, 10, 37], Operations: ['52-15=37']
Exploring Operation: 10/10=1, Resulting Numbers: [37, 1]
Generated Node #0,2,0: 38:[37, 1] Operation: 10/10=1
Exploring Operation: 10-10=0, Resulting Numbers: [37, 0]
Generated Node #0,2,1: 38:[37, 0] Operation: 10-10=0
Exploring Operation: 10+10=20, Resulting Numbers: [37, 20]
Generated Node #0,2,2: 38:[37, 20] Operation: 10+10=20
Moving to Node #0,2,0
Current State: 38:[37, 1], Operations: ['52-15=37', '10/10=1']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,38 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[10, 52, 15, 10], Operations: []
Exploring Operation: 52-15=37, Resulting Numbers: [10, 10, 37]
Generated Node #0,2: 38:[10, 10, 37] Operation: 52-15=37
Moving to Node #0,2
Current State: 38:[10, 10, 37], Operations: ['52-15=37']
Exploring Operation: 10/10=1, Resulting Numbers: [37, 1]
Generated Node #0,2,0: 38:[37, 1] Operation: 10/10=1
Moving to Node #0,2,0
Current State: 38:[37, 1], Operations: ['52-15=37', '10/10=1']
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | mult_heuristic |
[
50,
65,
63,
86
] | 81 | [
"63-50=13",
"65/13=5",
"86-5=81"
] | Current State: 81:[50, 65, 63, 86], Operations: []
Exploring Operation: 63-50=13, Resulting Numbers: [65, 86, 13]
Generated Node #2: [65, 86, 13] from Operation: 63-50=13
Current State: 81:[65, 86, 13], Operations: ['63-50=13']
Exploring Operation: 65/13=5, Resulting Numbers: [86, 5]
Generated Node #3: [86, 5] from Operation: 65/13=5
Current State: 81:[86, 5], Operations: ['63-50=13', '65/13=5']
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[50, 65, 63, 86], Operations: []
Exploring Operation: 63-50=13, Resulting Numbers: [65, 86, 13]
Generated Node #0,0: 81:[65, 86, 13] Operation: 63-50=13
Moving to Node #0,0
Current State: 81:[65, 86, 13], Operations: ['63-50=13']
Exploring Operation: 65/13=5, Resulting Numbers: [86, 5]
Generated Node #0,0,0: 81:[86, 5] Operation: 65/13=5
Moving to Node #0,0,0
Current State: 81:[86, 5], Operations: ['63-50=13', '65/13=5']
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[50, 65, 63, 86], Operations: []
Exploring Operation: 63-50=13, Resulting Numbers: [65, 86, 13]
Generated Node #0,0: 81:[65, 86, 13] Operation: 63-50=13
Moving to Node #0,0
Current State: 81:[65, 86, 13], Operations: ['63-50=13']
Exploring Operation: 65/13=5, Resulting Numbers: [86, 5]
Generated Node #0,0,0: 81:[86, 5] Operation: 65/13=5
Moving to Node #0,0,0
Current State: 81:[86, 5], Operations: ['63-50=13', '65/13=5']
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
14,
11,
54,
16
] | 95 | [
"14+11=25",
"54+16=70",
"25+70=95"
] | Current State: 95:[14, 11, 54, 16], Operations: []
Exploring Operation: 14+11=25, Resulting Numbers: [54, 16, 25]
Generated Node #2: [54, 16, 25] from Operation: 14+11=25
Current State: 95:[54, 16, 25], Operations: ['14+11=25']
Exploring Operation: 54+16=70, Resulting Numbers: [25, 70]
Generated Node #3: [25, 70] from Operation: 54+16=70
Current State: 95:[25, 70], Operations: ['14+11=25', '54+16=70']
Exploring Operation: 25+70=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[14, 11, 54, 16], Operations: []
Exploring Operation: 54-14=40, Resulting Numbers: [11, 16, 40]
Generated Node #0,0: 95:[11, 16, 40] Operation: 54-14=40
Exploring Operation: 54-11=43, Resulting Numbers: [14, 16, 43]
Generated Node #0,1: 95:[14, 16, 43] Operation: 54-11=43
Exploring Operation: 54-16=38, Resulting Numbers: [14, 11, 38]
Generated Node #0,2: 95:[14, 11, 38] Operation: 54-16=38
Moving to Node #0,0
Current State: 95:[11, 16, 40], Operations: ['54-14=40']
Exploring Operation: 40-11=29, Resulting Numbers: [16, 29]
Generated Node #0,0,0: 95:[16, 29] Operation: 40-11=29
Exploring Operation: 16-11=5, Resulting Numbers: [40, 5]
Generated Node #0,0,1: 95:[40, 5] Operation: 16-11=5
Exploring Operation: 40-16=24, Resulting Numbers: [11, 24]
Generated Node #0,0,2: 95:[11, 24] Operation: 40-16=24
Moving to Node #0,2
Current State: 95:[14, 11, 38], Operations: ['54-16=38']
Exploring Operation: 38-14=24, Resulting Numbers: [11, 24]
Generated Node #0,2,0: 95:[11, 24] Operation: 38-14=24
Exploring Operation: 14-11=3, Resulting Numbers: [38, 3]
Generated Node #0,2,1: 95:[38, 3] Operation: 14-11=3
Exploring Operation: 38-11=27, Resulting Numbers: [14, 27]
Generated Node #0,2,2: 95:[14, 27] Operation: 38-11=27
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[11, 24], Operations: ['54-16=38', '38-14=24']
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,95 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,95 unequal: No Solution
No 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: 95:[14, 27], Operations: ['54-16=38', '38-11=27']
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,95 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,95 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,95 unequal: No Solution
No 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: 95:[38, 3], Operations: ['54-16=38', '14-11=3']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,95 unequal: No Solution
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,95 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: 95:[14, 16, 43], Operations: ['54-11=43']
Exploring Operation: 43-14=29, Resulting Numbers: [16, 29]
Generated Node #0,1,0: 95:[16, 29] Operation: 43-14=29
Exploring Operation: 43-16=27, Resulting Numbers: [14, 27]
Generated Node #0,1,1: 95:[14, 27] Operation: 43-16=27
Exploring Operation: 16-14=2, Resulting Numbers: [43, 2]
Generated Node #0,1,2: 95:[43, 2] Operation: 16-14=2
Moving to Node #0,0,2
Current State: 95:[11, 24], Operations: ['54-14=40', '40-16=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[16, 29], Operations: ['54-14=40', '40-11=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[14, 27], Operations: ['54-11=43', '43-16=27']
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,95 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,95 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[16, 29], Operations: ['54-11=43', '43-14=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[40, 5], Operations: ['54-14=40', '16-11=5']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[43, 2], Operations: ['54-11=43', '16-14=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,95 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,95 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
67,
28,
49,
42
] | 58 | [
"67*42=2814",
"28+2814=2842",
"2842/49=58"
] | Current State: 58:[67, 28, 49, 42], Operations: []
Exploring Operation: 67*42=2814, Resulting Numbers: [28, 49, 2814]
Generated Node #2: [28, 49, 2814] from Operation: 67*42=2814
Current State: 58:[28, 49, 2814], Operations: ['67*42=2814']
Exploring Operation: 28+2814=2842, Resulting Numbers: [49, 2842]
Generated Node #3: [49, 2842] from Operation: 28+2814=2842
Current State: 58:[49, 2842], Operations: ['67*42=2814', '28+2814=2842']
Exploring Operation: 2842/49=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[67, 28, 49, 42], Operations: []
Exploring Operation: 67-42=25, Resulting Numbers: [28, 49, 25]
Generated Node #0,0: 58:[28, 49, 25] Operation: 67-42=25
Exploring Operation: 49-42=7, Resulting Numbers: [67, 28, 7]
Generated Node #0,1: 58:[67, 28, 7] Operation: 49-42=7
Exploring Operation: 67-49=18, Resulting Numbers: [28, 42, 18]
Generated Node #0,2: 58:[28, 42, 18] Operation: 67-49=18
Moving to Node #0,0
Current State: 58:[28, 49, 25], Operations: ['67-42=25']
Exploring Operation: 49-25=24, Resulting Numbers: [28, 24]
Generated Node #0,0,0: 58:[28, 24] Operation: 49-25=24
Exploring Operation: 49-28=21, Resulting Numbers: [25, 21]
Generated Node #0,0,1: 58:[25, 21] Operation: 49-28=21
Exploring Operation: 28-25=3, Resulting Numbers: [49, 3]
Generated Node #0,0,2: 58:[49, 3] Operation: 28-25=3
Moving to Node #0,1
Current State: 58:[67, 28, 7], Operations: ['49-42=7']
Exploring Operation: 28/7=4, Resulting Numbers: [67, 4]
Generated Node #0,1,0: 58:[67, 4] Operation: 28/7=4
Exploring Operation: 67-7=60, Resulting Numbers: [28, 60]
Generated Node #0,1,1: 58:[28, 60] Operation: 67-7=60
Exploring Operation: 67-28=39, Resulting Numbers: [7, 39]
Generated Node #0,1,2: 58:[7, 39] Operation: 67-28=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[28, 60], Operations: ['49-42=7', '67-7=60']
Exploring Operation: 28*60=1680, Resulting Numbers: [1680]
1680,58 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 28+60=88, Resulting Numbers: [88]
88,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,1,0
Current State: 58:[67, 4], Operations: ['49-42=7', '28/7=4']
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,58 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,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,1,2
Current State: 58:[7, 39], Operations: ['49-42=7', '67-28=39']
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,58 unequal: No Solution
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,58 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: 58:[28, 42, 18], Operations: ['67-49=18']
Exploring Operation: 42+18=60, Resulting Numbers: [28, 60]
Generated Node #0,2,0: 58:[28, 60] Operation: 42+18=60
Exploring Operation: 42-18=24, Resulting Numbers: [28, 24]
Generated Node #0,2,1: 58:[28, 24] Operation: 42-18=24
Exploring Operation: 28-18=10, Resulting Numbers: [42, 10]
Generated Node #0,2,2: 58:[42, 10] Operation: 28-18=10
Moving to Node #0,2,0
Current State: 58:[28, 60], Operations: ['67-49=18', '42+18=60']
Exploring Operation: 28+60=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 28*60=1680, Resulting Numbers: [1680]
1680,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[28, 24], Operations: ['67-42=25', '49-25=24']
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,58 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[28, 24], Operations: ['67-49=18', '42-18=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,58 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[49, 3], Operations: ['67-42=25', '28-25=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[25, 21], Operations: ['67-42=25', '49-28=21']
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,58 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[42, 10], Operations: ['67-49=18', '28-18=10']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,58 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
43,
30,
22,
58
] | 47 | [
"30+58=88",
"88/22=4",
"43+4=47"
] | Current State: 47:[43, 30, 22, 58], Operations: []
Exploring Operation: 30+58=88, Resulting Numbers: [43, 22, 88]
Generated Node #2: [43, 22, 88] from Operation: 30+58=88
Current State: 47:[43, 22, 88], Operations: ['30+58=88']
Exploring Operation: 88/22=4, Resulting Numbers: [43, 4]
Generated Node #3: [43, 4] from Operation: 88/22=4
Current State: 47:[43, 4], Operations: ['30+58=88', '88/22=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[43, 30, 22, 58], Operations: []
Exploring Operation: 58-22=36, Resulting Numbers: [43, 30, 36]
Generated Node #0,0: 47:[43, 30, 36] Operation: 58-22=36
Exploring Operation: 43+22=65, Resulting Numbers: [30, 58, 65]
Generated Node #0,1: 47:[30, 58, 65] Operation: 43+22=65
Exploring Operation: 58-30=28, Resulting Numbers: [43, 22, 28]
Generated Node #0,2: 47:[43, 22, 28] Operation: 58-30=28
Exploring Operation: 43-22=21, Resulting Numbers: [30, 58, 21]
Generated Node #0,3: 47:[30, 58, 21] Operation: 43-22=21
Exploring Operation: 30+22=52, Resulting Numbers: [43, 58, 52]
Generated Node #0,4: 47:[43, 58, 52] Operation: 30+22=52
Start Sub Search at level 1: Moving to Node #0,4
Current State: 47:[43, 58, 52], Operations: ['30+22=52']
Exploring Operation: 43+52=95, Resulting Numbers: [58, 95]
Generated Node #0,4,0: 47:[58, 95] Operation: 43+52=95
Exploring Operation: 52-43=9, Resulting Numbers: [58, 9]
Generated Node #0,4,1: 47:[58, 9] Operation: 52-43=9
Exploring Operation: 58-43=15, Resulting Numbers: [52, 15]
Generated Node #0,4,2: 47:[52, 15] Operation: 58-43=15
Exploring Operation: 58-52=6, Resulting Numbers: [43, 6]
Generated Node #0,4,3: 47:[43, 6] Operation: 58-52=6
Exploring Operation: 43+58=101, Resulting Numbers: [52, 101]
Generated Node #0,4,4: 47:[52, 101] Operation: 43+58=101
Moving to Node #0,4,2
Current State: 47:[52, 15], Operations: ['30+22=52', '58-43=15']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 52+15=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 52*15=780, Resulting Numbers: [780]
780,47 unequal: No Solution
Moving to Node #0,4,3
Current State: 47:[43, 6], Operations: ['30+22=52', '58-52=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,47 unequal: No Solution
Moving to Node #0,4,1
Current State: 47:[58, 9], Operations: ['30+22=52', '52-43=9']
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,47 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Moving to Node #0,4,0
Current State: 47:[58, 95], Operations: ['30+22=52', '43+52=95']
Exploring Operation: 58+95=153, Resulting Numbers: [153]
153,47 unequal: No Solution
Exploring Operation: 58*95=5510, Resulting Numbers: [5510]
5510,47 unequal: No Solution
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Moving to Node #0,4,4
Current State: 47:[52, 101], Operations: ['30+22=52', '43+58=101']
Exploring Operation: 101-52=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 52+101=153, Resulting Numbers: [153]
153,47 unequal: No Solution
Exploring Operation: 52*101=5252, Resulting Numbers: [5252]
5252,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[43, 30, 36], Operations: ['58-22=36']
Exploring Operation: 36-30=6, Resulting Numbers: [43, 6]
Generated Node #0,0,0: 47:[43, 6] Operation: 36-30=6
Exploring Operation: 43+36=79, Resulting Numbers: [30, 79]
Generated Node #0,0,1: 47:[30, 79] Operation: 43+36=79
Exploring Operation: 30+36=66, Resulting Numbers: [43, 66]
Generated Node #0,0,2: 47:[43, 66] Operation: 30+36=66
Exploring Operation: 43-30=13, Resulting Numbers: [36, 13]
Generated Node #0,0,3: 47:[36, 13] Operation: 43-30=13
Exploring Operation: 43+30=73, Resulting Numbers: [36, 73]
Generated Node #0,0,4: 47:[36, 73] Operation: 43+30=73
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[43, 66], Operations: ['58-22=36', '30+36=66']
Exploring Operation: 43*66=2838, Resulting Numbers: [2838]
2838,47 unequal: No Solution
Exploring Operation: 43+66=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 47:[36, 73], Operations: ['58-22=36', '43+30=73']
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 36*73=2628, Resulting Numbers: [2628]
2628,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[43, 6], Operations: ['58-22=36', '36-30=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,47 unequal: No Solution
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[36, 13], Operations: ['58-22=36', '43-30=13']
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,47 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[30, 79], Operations: ['58-22=36', '43+36=79']
Exploring Operation: 30+79=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 30*79=2370, Resulting Numbers: [2370]
2370,47 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[30, 58, 65], Operations: ['43+22=65']
Exploring Operation: 30+58=88, Resulting Numbers: [65, 88]
Generated Node #0,1,0: 47:[65, 88] Operation: 30+58=88
Exploring Operation: 65-30=35, Resulting Numbers: [58, 35]
Generated Node #0,1,1: 47:[58, 35] Operation: 65-30=35
Exploring Operation: 58-30=28, Resulting Numbers: [65, 28]
Generated Node #0,1,2: 47:[65, 28] Operation: 58-30=28
Exploring Operation: 30+65=95, Resulting Numbers: [58, 95]
Generated Node #0,1,3: 47:[58, 95] Operation: 30+65=95
Exploring Operation: 65-58=7, Resulting Numbers: [30, 7]
Generated Node #0,1,4: 47:[30, 7] Operation: 65-58=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[58, 35], Operations: ['43+22=65', '65-30=35']
Exploring Operation: 58+35=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 58*35=2030, Resulting Numbers: [2030]
2030,47 unequal: No Solution
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[65, 28], Operations: ['43+22=65', '58-30=28']
Exploring Operation: 65*28=1820, Resulting Numbers: [1820]
1820,47 unequal: No Solution
Exploring Operation: 65+28=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 47:[30, 7], Operations: ['43+22=65', '65-58=7']
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,47 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[65, 88], Operations: ['43+22=65', '30+58=88']
Exploring Operation: 65+88=153, Resulting Numbers: [153]
153,47 unequal: No Solution
Exploring Operation: 88-65=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 65*88=5720, Resulting Numbers: [5720]
5720,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[58, 95], Operations: ['43+22=65', '30+65=95']
Exploring Operation: 58+95=153, Resulting Numbers: [153]
153,47 unequal: No Solution
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 58*95=5510, Resulting Numbers: [5510]
5510,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[43, 22, 28], Operations: ['58-30=28']
Exploring Operation: 43-22=21, Resulting Numbers: [28, 21]
Generated Node #0,2,0: 47:[28, 21] Operation: 43-22=21
Exploring Operation: 22+28=50, Resulting Numbers: [43, 50]
Generated Node #0,2,1: 47:[43, 50] Operation: 22+28=50
Exploring Operation: 28-22=6, Resulting Numbers: [43, 6]
Generated Node #0,2,2: 47:[43, 6] Operation: 28-22=6
Exploring Operation: 43+22=65, Resulting Numbers: [28, 65]
Generated Node #0,2,3: 47:[28, 65] Operation: 43+22=65
Exploring Operation: 43+28=71, Resulting Numbers: [22, 71]
Generated Node #0,2,4: 47:[22, 71] Operation: 43+28=71
Moving to Node #0,2,1
Current State: 47:[43, 50], Operations: ['58-30=28', '22+28=50']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[28, 65], Operations: ['58-30=28', '43+22=65']
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,47 unequal: No Solution
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[28, 21], Operations: ['58-30=28', '43-22=21']
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 28*21=588, Resulting Numbers: [588]
588,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[43, 6], Operations: ['58-30=28', '28-22=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,47 unequal: No Solution
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Moving to Node #0,2,4
Current State: 47:[22, 71], Operations: ['58-30=28', '43+28=71']
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 22*71=1562, Resulting Numbers: [1562]
1562,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[30, 58, 21], Operations: ['43-22=21']
Exploring Operation: 58-30=28, Resulting Numbers: [21, 28]
Generated Node #0,3,0: 47:[21, 28] Operation: 58-30=28
Exploring Operation: 30+21=51, Resulting Numbers: [58, 51]
Generated Node #0,3,1: 47:[58, 51] Operation: 30+21=51
Exploring Operation: 58+21=79, Resulting Numbers: [30, 79]
Generated Node #0,3,2: 47:[30, 79] Operation: 58+21=79
Exploring Operation: 30-21=9, Resulting Numbers: [58, 9]
Generated Node #0,3,3: 47:[58, 9] Operation: 30-21=9
Exploring Operation: 58-21=37, Resulting Numbers: [30, 37]
Generated Node #0,3,4: 47:[30, 37] Operation: 58-21=37
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 47:[58, 51], Operations: ['43-22=21', '30+21=51']
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,47 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 47:[30, 37], Operations: ['43-22=21', '58-21=37']
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 47:[21, 28], Operations: ['43-22=21', '58-30=28']
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 47:[30, 79], Operations: ['43-22=21', '58+21=79']
Exploring Operation: 30+79=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 30*79=2370, Resulting Numbers: [2370]
2370,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 47:[58, 9], Operations: ['43-22=21', '30-21=9']
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,47 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,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_5 | sum_heuristic |
[
19,
70,
69,
94
] | 26 | [
"70-19=51",
"94-69=25",
"51-25=26"
] | Current State: 26:[19, 70, 69, 94], Operations: []
Exploring Operation: 70-19=51, Resulting Numbers: [69, 94, 51]
Generated Node #2: [69, 94, 51] from Operation: 70-19=51
Current State: 26:[69, 94, 51], Operations: ['70-19=51']
Exploring Operation: 94-69=25, Resulting Numbers: [51, 25]
Generated Node #3: [51, 25] from Operation: 94-69=25
Current State: 26:[51, 25], Operations: ['70-19=51', '94-69=25']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[19, 70, 69, 94], Operations: []
Exploring Operation: 70-69=1, Resulting Numbers: [19, 94, 1]
Generated Node #0,0: 26:[19, 94, 1] Operation: 70-69=1
Exploring Operation: 94-70=24, Resulting Numbers: [19, 69, 24]
Generated Node #0,1: 26:[19, 69, 24] Operation: 94-70=24
Exploring Operation: 94-69=25, Resulting Numbers: [19, 70, 25]
Generated Node #0,2: 26:[19, 70, 25] Operation: 94-69=25
Exploring Operation: 69-19=50, Resulting Numbers: [70, 94, 50]
Generated Node #0,3: 26:[70, 94, 50] Operation: 69-19=50
Exploring Operation: 70-19=51, Resulting Numbers: [69, 94, 51]
Generated Node #0,4: 26:[69, 94, 51] Operation: 70-19=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[19, 69, 24], Operations: ['94-70=24']
Exploring Operation: 19+69=88, Resulting Numbers: [24, 88]
Generated Node #0,1,0: 26:[24, 88] Operation: 19+69=88
Exploring Operation: 69-24=45, Resulting Numbers: [19, 45]
Generated Node #0,1,1: 26:[19, 45] Operation: 69-24=45
Exploring Operation: 19+24=43, Resulting Numbers: [69, 43]
Generated Node #0,1,2: 26:[69, 43] Operation: 19+24=43
Exploring Operation: 69-19=50, Resulting Numbers: [24, 50]
Generated Node #0,1,3: 26:[24, 50] Operation: 69-19=50
Exploring Operation: 24-19=5, Resulting Numbers: [69, 5]
Generated Node #0,1,4: 26:[69, 5] Operation: 24-19=5
Moving to Node #0,1,1
Current State: 26:[19, 45], Operations: ['94-70=24', '69-24=45']
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[19, 70, 69, 94], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [19, 69, 24]
Generated Node #0,1: 26:[19, 69, 24] Operation: 94-70=24
Moving to Node #0,1
Current State: 26:[19, 69, 24], Operations: ['94-70=24']
Exploring Operation: 69-24=45, Resulting Numbers: [19, 45]
Generated Node #0,1,1: 26:[19, 45] Operation: 69-24=45
Moving to Node #0,1,1
Current State: 26:[19, 45], Operations: ['94-70=24', '69-24=45']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
12,
33,
78,
51
] | 71 | [
"33+51=84",
"84/12=7",
"78-7=71"
] | Current State: 71:[12, 33, 78, 51], Operations: []
Exploring Operation: 33+51=84, Resulting Numbers: [12, 78, 84]
Generated Node #2: [12, 78, 84] from Operation: 33+51=84
Current State: 71:[12, 78, 84], Operations: ['33+51=84']
Exploring Operation: 84/12=7, Resulting Numbers: [78, 7]
Generated Node #3: [78, 7] from Operation: 84/12=7
Current State: 71:[78, 7], Operations: ['33+51=84', '84/12=7']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[12, 33, 78, 51], Operations: []
Exploring Operation: 12+33=45, Resulting Numbers: [78, 51, 45]
Generated Node #0,0: 71:[78, 51, 45] Operation: 12+33=45
Moving to Node #0,0
Current State: 71:[78, 51, 45], Operations: ['12+33=45']
Exploring Operation: 51+45=96, Resulting Numbers: [78, 96]
Generated Node #0,0,0: 71:[78, 96] Operation: 51+45=96
Moving to Node #0,0,0
Current State: 71:[78, 96], Operations: ['12+33=45', '51+45=96']
Exploring Operation: 96-78=18, Resulting Numbers: [18]
18,71 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
34,
54,
27,
14
] | 33 | [
"54-34=20",
"27-14=13",
"20+13=33"
] | Current State: 33:[34, 54, 27, 14], Operations: []
Exploring Operation: 54-34=20, Resulting Numbers: [27, 14, 20]
Generated Node #2: [27, 14, 20] from Operation: 54-34=20
Current State: 33:[27, 14, 20], Operations: ['54-34=20']
Exploring Operation: 27-14=13, Resulting Numbers: [20, 13]
Generated Node #3: [20, 13] from Operation: 27-14=13
Current State: 33:[20, 13], Operations: ['54-34=20', '27-14=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[34, 54, 27, 14], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [34, 14, 2]
Generated Node #0,0: 33:[34, 14, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [34, 14, 27]
Generated Node #0,1: 33:[34, 14, 27] Operation: 54-27=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[34, 14, 2], Operations: ['54/27=2']
Exploring Operation: 14-2=12, Resulting Numbers: [34, 12]
Generated Node #0,0,0: 33:[34, 12] Operation: 14-2=12
Exploring Operation: 34-2=32, Resulting Numbers: [14, 32]
Generated Node #0,0,1: 33:[14, 32] Operation: 34-2=32
Moving to Node #0,0,0
Current State: 33:[34, 12], Operations: ['54/27=2', '14-2=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[14, 32], Operations: ['54/27=2', '34-2=32']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,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
Current State: 33:[34, 14, 27], Operations: ['54-27=27']
Exploring Operation: 34-27=7, Resulting Numbers: [14, 7]
Generated Node #0,1,0: 33:[14, 7] Operation: 34-27=7
Exploring Operation: 27-14=13, Resulting Numbers: [34, 13]
Generated Node #0,1,1: 33:[34, 13] Operation: 27-14=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[34, 13], Operations: ['54-27=27', '27-14=13']
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,33 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,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,1,0
Current State: 33:[14, 7], Operations: ['54-27=27', '34-27=7']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,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
No solution found.
| 0 | hs_2 | sum_heuristic |
[
27,
20,
97,
93
] | 88 | [
"97-93=4",
"27*4=108",
"108-20=88"
] | Current State: 88:[27, 20, 97, 93], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [27, 20, 4]
Generated Node #2: [27, 20, 4] from Operation: 97-93=4
Current State: 88:[27, 20, 4], Operations: ['97-93=4']
Exploring Operation: 27*4=108, Resulting Numbers: [20, 108]
Generated Node #3: [20, 108] from Operation: 27*4=108
Current State: 88:[20, 108], Operations: ['97-93=4', '27*4=108']
Exploring Operation: 108-20=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[27, 20, 97, 93], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [97, 93, 7]
Generated Node #0,0: 88:[97, 93, 7] Operation: 27-20=7
Exploring Operation: 97-93=4, Resulting Numbers: [27, 20, 4]
Generated Node #0,1: 88:[27, 20, 4] Operation: 97-93=4
Moving to Node #0,1
Current State: 88:[27, 20, 4], Operations: ['97-93=4']
Exploring Operation: 27+20=47, Resulting Numbers: [4, 47]
Generated Node #0,1,0: 88:[4, 47] Operation: 27+20=47
Exploring Operation: 27-20=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 88:[4, 7] Operation: 27-20=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[4, 7], Operations: ['97-93=4', '27-20=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[4, 47], Operations: ['97-93=4', '27+20=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 88:[97, 93, 7], Operations: ['27-20=7']
Exploring Operation: 97-93=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 88:[7, 4] Operation: 97-93=4
Exploring Operation: 97-7=90, Resulting Numbers: [93, 90]
Generated Node #0,0,1: 88:[93, 90] Operation: 97-7=90
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[7, 4], Operations: ['27-20=7', '97-93=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[93, 90], Operations: ['27-20=7', '97-7=90']
Exploring Operation: 93+90=183, Resulting Numbers: [183]
183,88 unequal: No Solution
Exploring Operation: 93-90=3, Resulting Numbers: [3]
3,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 |
[
82,
96,
39,
62
] | 77 | [
"82+96=178",
"39+62=101",
"178-101=77"
] | Current State: 77:[82, 96, 39, 62], Operations: []
Exploring Operation: 82+96=178, Resulting Numbers: [39, 62, 178]
Generated Node #2: [39, 62, 178] from Operation: 82+96=178
Current State: 77:[39, 62, 178], Operations: ['82+96=178']
Exploring Operation: 39+62=101, Resulting Numbers: [178, 101]
Generated Node #3: [178, 101] from Operation: 39+62=101
Current State: 77:[178, 101], Operations: ['82+96=178', '39+62=101']
Exploring Operation: 178-101=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[82, 96, 39, 62], Operations: []
Exploring Operation: 62-39=23, Resulting Numbers: [82, 96, 23]
Generated Node #0,0: 77:[82, 96, 23] Operation: 62-39=23
Moving to Node #0,0
Current State: 77:[82, 96, 23], Operations: ['62-39=23']
Exploring Operation: 96-23=73, Resulting Numbers: [82, 73]
Generated Node #0,0,0: 77:[82, 73] Operation: 96-23=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[82, 73], Operations: ['62-39=23', '96-23=73']
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,77 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 |
[
56,
28,
3,
64
] | 68 | [
"56+64=120",
"120/3=40",
"28+40=68"
] | Current State: 68:[56, 28, 3, 64], Operations: []
Exploring Operation: 56+64=120, Resulting Numbers: [28, 3, 120]
Generated Node #2: [28, 3, 120] from Operation: 56+64=120
Current State: 68:[28, 3, 120], Operations: ['56+64=120']
Exploring Operation: 120/3=40, Resulting Numbers: [28, 40]
Generated Node #3: [28, 40] from Operation: 120/3=40
Current State: 68:[28, 40], Operations: ['56+64=120', '120/3=40']
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[56, 28, 3, 64], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [3, 64, 2]
Generated Node #0,0: 68:[3, 64, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [3, 64, 28]
Generated Node #0,1: 68:[3, 64, 28] Operation: 56-28=28
Moving to Node #0,0
Current State: 68:[3, 64, 2], Operations: ['56/28=2']
Exploring Operation: 3+64=67, Resulting Numbers: [2, 67]
Generated Node #0,0,0: 68:[2, 67] Operation: 3+64=67
Exploring Operation: 64+2=66, Resulting Numbers: [3, 66]
Generated Node #0,0,1: 68:[3, 66] Operation: 64+2=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[2, 67], Operations: ['56/28=2', '3+64=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[3, 66], Operations: ['56/28=2', '64+2=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 68:[3, 64, 28], Operations: ['56-28=28']
Exploring Operation: 3+64=67, Resulting Numbers: [28, 67]
Generated Node #0,1,0: 68:[28, 67] Operation: 3+64=67
Exploring Operation: 64-28=36, Resulting Numbers: [3, 36]
Generated Node #0,1,1: 68:[3, 36] Operation: 64-28=36
Moving to Node #0,1,1
Current State: 68:[3, 36], Operations: ['56-28=28', '64-28=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[28, 67], Operations: ['56-28=28', '3+64=67']
Exploring Operation: 28+67=95, Resulting Numbers: [95]
95,68 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,68 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
33,
22,
95,
98
] | 58 | [
"33+22=55",
"98-95=3",
"55+3=58"
] | Current State: 58:[33, 22, 95, 98], Operations: []
Exploring Operation: 33+22=55, Resulting Numbers: [95, 98, 55]
Generated Node #2: [95, 98, 55] from Operation: 33+22=55
Current State: 58:[95, 98, 55], Operations: ['33+22=55']
Exploring Operation: 98-95=3, Resulting Numbers: [55, 3]
Generated Node #3: [55, 3] from Operation: 98-95=3
Current State: 58:[55, 3], Operations: ['33+22=55', '98-95=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[33, 22, 95, 98], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [33, 22, 3]
Generated Node #0,0: 58:[33, 22, 3] Operation: 98-95=3
Moving to Node #0,0
Current State: 58:[33, 22, 3], Operations: ['98-95=3']
Exploring Operation: 33+22=55, Resulting Numbers: [3, 55]
Generated Node #0,0,0: 58:[3, 55] Operation: 33+22=55
Moving to Node #0,0,0
Current State: 58:[3, 55], Operations: ['98-95=3', '33+22=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[33, 22, 95, 98], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [33, 22, 3]
Generated Node #0,0: 58:[33, 22, 3] Operation: 98-95=3
Moving to Node #0,0
Current State: 58:[33, 22, 3], Operations: ['98-95=3']
Exploring Operation: 33+22=55, Resulting Numbers: [3, 55]
Generated Node #0,0,0: 58:[3, 55] Operation: 33+22=55
Moving to Node #0,0,0
Current State: 58:[3, 55], Operations: ['98-95=3', '33+22=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
7,
15,
2,
19
] | 100 | [
"15+2=17",
"7*17=119",
"119-19=100"
] | Current State: 100:[7, 15, 2, 19], Operations: []
Exploring Operation: 15+2=17, Resulting Numbers: [7, 19, 17]
Generated Node #2: [7, 19, 17] from Operation: 15+2=17
Current State: 100:[7, 19, 17], Operations: ['15+2=17']
Exploring Operation: 7*17=119, Resulting Numbers: [19, 119]
Generated Node #3: [19, 119] from Operation: 7*17=119
Current State: 100:[19, 119], Operations: ['15+2=17', '7*17=119']
Exploring Operation: 119-19=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[7, 15, 2, 19], Operations: []
Exploring Operation: 7+15=22, Resulting Numbers: [2, 19, 22]
Generated Node #0,0: 100:[2, 19, 22] Operation: 7+15=22
Exploring Operation: 15-7=8, Resulting Numbers: [2, 19, 8]
Generated Node #0,1: 100:[2, 19, 8] Operation: 15-7=8
Exploring Operation: 19-15=4, Resulting Numbers: [7, 2, 4]
Generated Node #0,2: 100:[7, 2, 4] Operation: 19-15=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[7, 2, 4], Operations: ['19-15=4']
Exploring Operation: 7-2=5, Resulting Numbers: [4, 5]
Generated Node #0,2,0: 100:[4, 5] Operation: 7-2=5
Exploring Operation: 7+4=11, Resulting Numbers: [2, 11]
Generated Node #0,2,1: 100:[2, 11] Operation: 7+4=11
Exploring Operation: 7+2=9, Resulting Numbers: [4, 9]
Generated Node #0,2,2: 100:[4, 9] Operation: 7+2=9
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[4, 5], Operations: ['19-15=4', '7-2=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[2, 11], Operations: ['19-15=4', '7+4=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 100:[4, 9], Operations: ['19-15=4', '7+2=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,100 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: 100:[2, 19, 22], Operations: ['7+15=22']
Exploring Operation: 2+22=24, Resulting Numbers: [19, 24]
Generated Node #0,0,0: 100:[19, 24] Operation: 2+22=24
Exploring Operation: 22-2=20, Resulting Numbers: [19, 20]
Generated Node #0,0,1: 100:[19, 20] Operation: 22-2=20
Exploring Operation: 22-19=3, Resulting Numbers: [2, 3]
Generated Node #0,0,2: 100:[2, 3] Operation: 22-19=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[19, 20], Operations: ['7+15=22', '22-2=20']
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,100 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[2, 3], Operations: ['7+15=22', '22-19=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[19, 24], Operations: ['7+15=22', '2+22=24']
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,100 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,100 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: 100:[2, 19, 8], Operations: ['15-7=8']
Exploring Operation: 2+8=10, Resulting Numbers: [19, 10]
Generated Node #0,1,0: 100:[19, 10] Operation: 2+8=10
Exploring Operation: 19-8=11, Resulting Numbers: [2, 11]
Generated Node #0,1,1: 100:[2, 11] Operation: 19-8=11
Exploring Operation: 8/2=4, Resulting Numbers: [19, 4]
Generated Node #0,1,2: 100:[19, 4] Operation: 8/2=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[19, 10], Operations: ['15-7=8', '2+8=10']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,100 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[2, 11], Operations: ['15-7=8', '19-8=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 100:[19, 4], Operations: ['15-7=8', '8/2=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,100 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
41,
39,
9,
25
] | 32 | [
"41-39=2",
"9+25=34",
"34-2=32"
] | Current State: 32:[41, 39, 9, 25], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [9, 25, 2]
Generated Node #2: [9, 25, 2] from Operation: 41-39=2
Current State: 32:[9, 25, 2], Operations: ['41-39=2']
Exploring Operation: 9+25=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 9+25=34
Current State: 32:[2, 34], Operations: ['41-39=2', '9+25=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[41, 39, 9, 25], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [9, 25, 2]
Generated Node #0,0: 32:[9, 25, 2] Operation: 41-39=2
Exploring Operation: 39-25=14, Resulting Numbers: [41, 9, 14]
Generated Node #0,1: 32:[41, 9, 14] Operation: 39-25=14
Exploring Operation: 41-9=32, Resulting Numbers: [39, 25, 32]
Generated Node #0,2: 32:[39, 25, 32] Operation: 41-9=32
Exploring Operation: 41-25=16, Resulting Numbers: [39, 9, 16]
Generated Node #0,3: 32:[39, 9, 16] Operation: 41-25=16
Exploring Operation: 25-9=16, Resulting Numbers: [41, 39, 16]
Generated Node #0,4: 32:[41, 39, 16] Operation: 25-9=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[9, 25, 2], Operations: ['41-39=2']
Exploring Operation: 25-9=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 32:[2, 16] Operation: 25-9=16
Exploring Operation: 25+2=27, Resulting Numbers: [9, 27]
Generated Node #0,0,1: 32:[9, 27] Operation: 25+2=27
Exploring Operation: 25-2=23, Resulting Numbers: [9, 23]
Generated Node #0,0,2: 32:[9, 23] Operation: 25-2=23
Exploring Operation: 9-2=7, Resulting Numbers: [25, 7]
Generated Node #0,0,3: 32:[25, 7] Operation: 9-2=7
Exploring Operation: 9+25=34, Resulting Numbers: [2, 34]
Generated Node #0,0,4: 32:[2, 34] Operation: 9+25=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[2, 16], Operations: ['41-39=2', '25-9=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[41, 39, 9, 25], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [9, 25, 2]
Generated Node #0,0: 32:[9, 25, 2] Operation: 41-39=2
Moving to Node #0,0
Current State: 32:[9, 25, 2], Operations: ['41-39=2']
Exploring Operation: 25-9=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 32:[2, 16] Operation: 25-9=16
Moving to Node #0,0,0
Current State: 32:[2, 16], Operations: ['41-39=2', '25-9=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
11,
4,
50,
77
] | 64 | [
"11+50=61",
"77-61=16",
"4*16=64"
] | Current State: 64:[11, 4, 50, 77], Operations: []
Exploring Operation: 11+50=61, Resulting Numbers: [4, 77, 61]
Generated Node #2: [4, 77, 61] from Operation: 11+50=61
Current State: 64:[4, 77, 61], Operations: ['11+50=61']
Exploring Operation: 77-61=16, Resulting Numbers: [4, 16]
Generated Node #3: [4, 16] from Operation: 77-61=16
Current State: 64:[4, 16], Operations: ['11+50=61', '77-61=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[11, 4, 50, 77], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [11, 4, 27]
Generated Node #0,0: 64:[11, 4, 27] Operation: 77-50=27
Moving to Node #0,0
Current State: 64:[11, 4, 27], Operations: ['77-50=27']
Exploring Operation: 27-11=16, Resulting Numbers: [4, 16]
Generated Node #0,0,0: 64:[4, 16] Operation: 27-11=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[4, 16], Operations: ['77-50=27', '27-11=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[11, 4, 50, 77], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [11, 4, 27]
Generated Node #0,0: 64:[11, 4, 27] Operation: 77-50=27
Moving to Node #0,0
Current State: 64:[11, 4, 27], Operations: ['77-50=27']
Exploring Operation: 27-11=16, Resulting Numbers: [4, 16]
Generated Node #0,0,0: 64:[4, 16] Operation: 27-11=16
Moving to Node #0,0,0
Current State: 64:[4, 16], Operations: ['77-50=27', '27-11=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
87,
96,
35,
32
] | 76 | [
"96-87=9",
"35+32=67",
"9+67=76"
] | Current State: 76:[87, 96, 35, 32], Operations: []
Exploring Operation: 96-87=9, Resulting Numbers: [35, 32, 9]
Generated Node #2: [35, 32, 9] from Operation: 96-87=9
Current State: 76:[35, 32, 9], Operations: ['96-87=9']
Exploring Operation: 35+32=67, Resulting Numbers: [9, 67]
Generated Node #3: [9, 67] from Operation: 35+32=67
Current State: 76:[9, 67], Operations: ['96-87=9', '35+32=67']
Exploring Operation: 9+67=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[87, 96, 35, 32], Operations: []
Exploring Operation: 96-32=64, Resulting Numbers: [87, 35, 64]
Generated Node #0,0: 76:[87, 35, 64] Operation: 96-32=64
Exploring Operation: 96/32=3, Resulting Numbers: [87, 35, 3]
Generated Node #0,1: 76:[87, 35, 3] Operation: 96/32=3
Exploring Operation: 96-87=9, Resulting Numbers: [35, 32, 9]
Generated Node #0,2: 76:[35, 32, 9] Operation: 96-87=9
Exploring Operation: 96-35=61, Resulting Numbers: [87, 32, 61]
Generated Node #0,3: 76:[87, 32, 61] Operation: 96-35=61
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[35, 32, 9], Operations: ['96-87=9']
Exploring Operation: 35+9=44, Resulting Numbers: [32, 44]
Generated Node #0,2,0: 76:[32, 44] Operation: 35+9=44
Exploring Operation: 32-9=23, Resulting Numbers: [35, 23]
Generated Node #0,2,1: 76:[35, 23] Operation: 32-9=23
Exploring Operation: 32+9=41, Resulting Numbers: [35, 41]
Generated Node #0,2,2: 76:[35, 41] Operation: 32+9=41
Exploring Operation: 35-32=3, Resulting Numbers: [9, 3]
Generated Node #0,2,3: 76:[9, 3] Operation: 35-32=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[35, 41], Operations: ['96-87=9', '32+9=41']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[87, 96, 35, 32], Operations: []
Exploring Operation: 96-87=9, Resulting Numbers: [35, 32, 9]
Generated Node #0,2: 76:[35, 32, 9] Operation: 96-87=9
Moving to Node #0,2
Current State: 76:[35, 32, 9], Operations: ['96-87=9']
Exploring Operation: 32+9=41, Resulting Numbers: [35, 41]
Generated Node #0,2,2: 76:[35, 41] Operation: 32+9=41
Moving to Node #0,2,2
Current State: 76:[35, 41], Operations: ['96-87=9', '32+9=41']
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
72,
84,
48,
18
] | 38 | [
"84*48=4032",
"4032/72=56",
"56-18=38"
] | Current State: 38:[72, 84, 48, 18], Operations: []
Exploring Operation: 84*48=4032, Resulting Numbers: [72, 18, 4032]
Generated Node #2: [72, 18, 4032] from Operation: 84*48=4032
Current State: 38:[72, 18, 4032], Operations: ['84*48=4032']
Exploring Operation: 4032/72=56, Resulting Numbers: [18, 56]
Generated Node #3: [18, 56] from Operation: 4032/72=56
Current State: 38:[18, 56], Operations: ['84*48=4032', '4032/72=56']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[72, 84, 48, 18], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [84, 18, 24]
Generated Node #0,0: 38:[84, 18, 24] Operation: 72-48=24
Exploring Operation: 84-48=36, Resulting Numbers: [72, 18, 36]
Generated Node #0,1: 38:[72, 18, 36] Operation: 84-48=36
Exploring Operation: 72/18=4, Resulting Numbers: [84, 48, 4]
Generated Node #0,2: 38:[84, 48, 4] Operation: 72/18=4
Exploring Operation: 84-72=12, Resulting Numbers: [48, 18, 12]
Generated Node #0,3: 38:[48, 18, 12] Operation: 84-72=12
Moving to Node #0,3
Current State: 38:[48, 18, 12], Operations: ['84-72=12']
Exploring Operation: 48/12=4, Resulting Numbers: [18, 4]
Generated Node #0,3,0: 38:[18, 4] Operation: 48/12=4
Exploring Operation: 48-12=36, Resulting Numbers: [18, 36]
Generated Node #0,3,1: 38:[18, 36] Operation: 48-12=36
Exploring Operation: 18-12=6, Resulting Numbers: [48, 6]
Generated Node #0,3,2: 38:[48, 6] Operation: 18-12=6
Exploring Operation: 48-18=30, Resulting Numbers: [12, 30]
Generated Node #0,3,3: 38:[12, 30] Operation: 48-18=30
Moving to Node #0,1
Current State: 38:[72, 18, 36], Operations: ['84-48=36']
Exploring Operation: 72/18=4, Resulting Numbers: [36, 4]
Generated Node #0,1,0: 38:[36, 4] Operation: 72/18=4
Exploring Operation: 72/36=2, Resulting Numbers: [18, 2]
Generated Node #0,1,1: 38:[18, 2] Operation: 72/36=2
Exploring Operation: 72-36=36, Resulting Numbers: [18, 36]
Generated Node #0,1,2: 38:[18, 36] Operation: 72-36=36
Exploring Operation: 72-18=54, Resulting Numbers: [36, 54]
Generated Node #0,1,3: 38:[36, 54] Operation: 72-18=54
Moving to Node #0,0
Current State: 38:[84, 18, 24], Operations: ['72-48=24']
Exploring Operation: 18+24=42, Resulting Numbers: [84, 42]
Generated Node #0,0,0: 38:[84, 42] Operation: 18+24=42
Exploring Operation: 84-24=60, Resulting Numbers: [18, 60]
Generated Node #0,0,1: 38:[18, 60] Operation: 84-24=60
Exploring Operation: 24-18=6, Resulting Numbers: [84, 6]
Generated Node #0,0,2: 38:[84, 6] Operation: 24-18=6
Exploring Operation: 84-18=66, Resulting Numbers: [24, 66]
Generated Node #0,0,3: 38:[24, 66] Operation: 84-18=66
Moving to Node #0,2
Current State: 38:[84, 48, 4], Operations: ['72/18=4']
Exploring Operation: 84-4=80, Resulting Numbers: [48, 80]
Generated Node #0,2,0: 38:[48, 80] Operation: 84-4=80
Exploring Operation: 84/4=21, Resulting Numbers: [48, 21]
Generated Node #0,2,1: 38:[48, 21] Operation: 84/4=21
Exploring Operation: 48-4=44, Resulting Numbers: [84, 44]
Generated Node #0,2,2: 38:[84, 44] Operation: 48-4=44
Exploring Operation: 84-48=36, Resulting Numbers: [4, 36]
Generated Node #0,2,3: 38:[4, 36] Operation: 84-48=36
Moving to Node #0,1,1
Current State: 38:[18, 2], Operations: ['84-48=36', '72/36=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[18, 36], Operations: ['84-48=36', '72-36=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,38 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[18, 4], Operations: ['84-72=12', '48/12=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,38 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[18, 36], Operations: ['84-72=12', '48-12=36']
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,38 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[36, 4], Operations: ['84-48=36', '72/18=4']
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,38 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Moving to Node #0,2,3
Current State: 38:[4, 36], Operations: ['72/18=4', '84-48=36']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 4*36=144, Resulting Numbers: [144]
144,38 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[48, 21], Operations: ['72/18=4', '84/4=21']
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[48, 6], Operations: ['84-72=12', '18-12=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,38 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[12, 30], Operations: ['84-72=12', '48-18=30']
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,38 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[36, 54], Operations: ['84-48=36', '72-18=54']
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,38 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[18, 60], Operations: ['72-48=24', '84-24=60']
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 18*60=1080, Resulting Numbers: [1080]
1080,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[24, 66], Operations: ['72-48=24', '84-18=66']
Exploring Operation: 24*66=1584, Resulting Numbers: [1584]
1584,38 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 24+66=90, Resulting Numbers: [90]
90,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[84, 6], Operations: ['72-48=24', '24-18=6']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Exploring Operation: 84*6=504, Resulting Numbers: [504]
504,38 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[84, 42], Operations: ['72-48=24', '18+24=42']
Exploring Operation: 84+42=126, Resulting Numbers: [126]
126,38 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 84*42=3528, Resulting Numbers: [3528]
3528,38 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[84, 44], Operations: ['72/18=4', '48-4=44']
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 84*44=3696, Resulting Numbers: [3696]
3696,38 unequal: No Solution
Exploring Operation: 84+44=128, Resulting Numbers: [128]
128,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[48, 80], Operations: ['72/18=4', '84-4=80']
Exploring Operation: 80-48=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 48*80=3840, Resulting Numbers: [3840]
3840,38 unequal: No Solution
Exploring Operation: 48+80=128, Resulting Numbers: [128]
128,38 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
20,
55,
81,
73
] | 56 | [
"81+73=154",
"20*154=3080",
"3080/55=56"
] | Current State: 56:[20, 55, 81, 73], Operations: []
Exploring Operation: 81+73=154, Resulting Numbers: [20, 55, 154]
Generated Node #2: [20, 55, 154] from Operation: 81+73=154
Current State: 56:[20, 55, 154], Operations: ['81+73=154']
Exploring Operation: 20*154=3080, Resulting Numbers: [55, 3080]
Generated Node #3: [55, 3080] from Operation: 20*154=3080
Current State: 56:[55, 3080], Operations: ['81+73=154', '20*154=3080']
Exploring Operation: 3080/55=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[20, 55, 81, 73], Operations: []
Exploring Operation: 81-55=26, Resulting Numbers: [20, 73, 26]
Generated Node #0,0: 56:[20, 73, 26] Operation: 81-55=26
Exploring Operation: 81-73=8, Resulting Numbers: [20, 55, 8]
Generated Node #0,1: 56:[20, 55, 8] Operation: 81-73=8
Exploring Operation: 81-20=61, Resulting Numbers: [55, 73, 61]
Generated Node #0,2: 56:[55, 73, 61] Operation: 81-20=61
Moving to Node #0,1
Current State: 56:[20, 55, 8], Operations: ['81-73=8']
Exploring Operation: 55-20=35, Resulting Numbers: [8, 35]
Generated Node #0,1,0: 56:[8, 35] Operation: 55-20=35
Exploring Operation: 20+8=28, Resulting Numbers: [55, 28]
Generated Node #0,1,1: 56:[55, 28] Operation: 20+8=28
Exploring Operation: 20-8=12, Resulting Numbers: [55, 12]
Generated Node #0,1,2: 56:[55, 12] Operation: 20-8=12
Moving to Node #0,2
Current State: 56:[55, 73, 61], Operations: ['81-20=61']
Exploring Operation: 73-55=18, Resulting Numbers: [61, 18]
Generated Node #0,2,0: 56:[61, 18] Operation: 73-55=18
Exploring Operation: 73-61=12, Resulting Numbers: [55, 12]
Generated Node #0,2,1: 56:[55, 12] Operation: 73-61=12
Exploring Operation: 61-55=6, Resulting Numbers: [73, 6]
Generated Node #0,2,2: 56:[73, 6] Operation: 61-55=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[55, 12], Operations: ['81-20=61', '73-61=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,56 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,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,0
Current State: 56:[61, 18], Operations: ['81-20=61', '73-55=18']
Exploring Operation: 61+18=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 61*18=1098, Resulting Numbers: [1098]
1098,56 unequal: No Solution
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,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,2
Current State: 56:[73, 6], Operations: ['81-20=61', '61-55=6']
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,56 unequal: No Solution
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,56 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: 56:[20, 73, 26], Operations: ['81-55=26']
Exploring Operation: 26-20=6, Resulting Numbers: [73, 6]
Generated Node #0,0,0: 56:[73, 6] Operation: 26-20=6
Exploring Operation: 73-20=53, Resulting Numbers: [26, 53]
Generated Node #0,0,1: 56:[26, 53] Operation: 73-20=53
Exploring Operation: 73-26=47, Resulting Numbers: [20, 47]
Generated Node #0,0,2: 56:[20, 47] Operation: 73-26=47
Moving to Node #0,1,1
Current State: 56:[55, 28], Operations: ['81-73=8', '20+8=28']
Exploring Operation: 55*28=1540, Resulting Numbers: [1540]
1540,56 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[55, 12], Operations: ['81-73=8', '20-8=12']
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[26, 53], Operations: ['81-55=26', '73-20=53']
Exploring Operation: 26*53=1378, Resulting Numbers: [1378]
1378,56 unequal: No Solution
Exploring Operation: 26+53=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[8, 35], Operations: ['81-73=8', '55-20=35']
Exploring Operation: 8*35=280, Resulting Numbers: [280]
280,56 unequal: No Solution
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[20, 47], Operations: ['81-55=26', '73-26=47']
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,56 unequal: No Solution
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[73, 6], Operations: ['81-55=26', '26-20=6']
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,56 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
31,
19,
45,
3
] | 47 | [
"45-19=26",
"3*26=78",
"78-31=47"
] | Current State: 47:[31, 19, 45, 3], Operations: []
Exploring Operation: 45-19=26, Resulting Numbers: [31, 3, 26]
Generated Node #2: [31, 3, 26] from Operation: 45-19=26
Current State: 47:[31, 3, 26], Operations: ['45-19=26']
Exploring Operation: 3*26=78, Resulting Numbers: [31, 78]
Generated Node #3: [31, 78] from Operation: 3*26=78
Current State: 47:[31, 78], Operations: ['45-19=26', '3*26=78']
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[31, 19, 45, 3], Operations: []
Exploring Operation: 19*3=57, Resulting Numbers: [31, 45, 57]
Generated Node #0,0: 47:[31, 45, 57] Operation: 19*3=57
Moving to Node #0,0
Current State: 47:[31, 45, 57], Operations: ['19*3=57']
Exploring Operation: 57-31=26, Resulting Numbers: [45, 26]
Generated Node #0,0,0: 47:[45, 26] Operation: 57-31=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[45, 26], Operations: ['19*3=57', '57-31=26']
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
84,
79,
16,
26
] | 47 | [
"84-79=5",
"16+26=42",
"5+42=47"
] | Current State: 47:[84, 79, 16, 26], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [16, 26, 5]
Generated Node #2: [16, 26, 5] from Operation: 84-79=5
Current State: 47:[16, 26, 5], Operations: ['84-79=5']
Exploring Operation: 16+26=42, Resulting Numbers: [5, 42]
Generated Node #3: [5, 42] from Operation: 16+26=42
Current State: 47:[5, 42], Operations: ['84-79=5', '16+26=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[84, 79, 16, 26], Operations: []
Exploring Operation: 79-26=53, Resulting Numbers: [84, 16, 53]
Generated Node #0,0: 47:[84, 16, 53] Operation: 79-26=53
Exploring Operation: 84-26=58, Resulting Numbers: [79, 16, 58]
Generated Node #0,1: 47:[79, 16, 58] Operation: 84-26=58
Exploring Operation: 79-16=63, Resulting Numbers: [84, 26, 63]
Generated Node #0,2: 47:[84, 26, 63] Operation: 79-16=63
Exploring Operation: 84-16=68, Resulting Numbers: [79, 26, 68]
Generated Node #0,3: 47:[79, 26, 68] Operation: 84-16=68
Exploring Operation: 16+26=42, Resulting Numbers: [84, 79, 42]
Generated Node #0,4: 47:[84, 79, 42] Operation: 16+26=42
Moving to Node #0,0
Current State: 47:[84, 16, 53], Operations: ['79-26=53']
Exploring Operation: 84-53=31, Resulting Numbers: [16, 31]
Generated Node #0,0,0: 47:[16, 31] Operation: 84-53=31
Exploring Operation: 84-16=68, Resulting Numbers: [53, 68]
Generated Node #0,0,1: 47:[53, 68] Operation: 84-16=68
Exploring Operation: 53-16=37, Resulting Numbers: [84, 37]
Generated Node #0,0,2: 47:[84, 37] Operation: 53-16=37
Exploring Operation: 16+53=69, Resulting Numbers: [84, 69]
Generated Node #0,0,3: 47:[84, 69] Operation: 16+53=69
Exploring Operation: 84+16=100, Resulting Numbers: [53, 100]
Generated Node #0,0,4: 47:[53, 100] Operation: 84+16=100
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[53, 68], Operations: ['79-26=53', '84-16=68']
Exploring Operation: 53*68=3604, Resulting Numbers: [3604]
3604,47 unequal: No Solution
Exploring Operation: 53+68=121, Resulting Numbers: [121]
121,47 unequal: No Solution
Exploring Operation: 68-53=15, Resulting Numbers: [15]
15,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[16, 31], Operations: ['79-26=53', '84-53=31']
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[84, 79, 16, 26], Operations: []
Exploring Operation: 79-26=53, Resulting Numbers: [84, 16, 53]
Generated Node #0,0: 47:[84, 16, 53] Operation: 79-26=53
Moving to Node #0,0
Current State: 47:[84, 16, 53], Operations: ['79-26=53']
Exploring Operation: 84-53=31, Resulting Numbers: [16, 31]
Generated Node #0,0,0: 47:[16, 31] Operation: 84-53=31
Moving to Node #0,0,0
Current State: 47:[16, 31], Operations: ['79-26=53', '84-53=31']
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
81,
90,
25,
85
] | 99 | [
"25+85=110",
"81*110=8910",
"8910/90=99"
] | Current State: 99:[81, 90, 25, 85], Operations: []
Exploring Operation: 25+85=110, Resulting Numbers: [81, 90, 110]
Generated Node #2: [81, 90, 110] from Operation: 25+85=110
Current State: 99:[81, 90, 110], Operations: ['25+85=110']
Exploring Operation: 81*110=8910, Resulting Numbers: [90, 8910]
Generated Node #3: [90, 8910] from Operation: 81*110=8910
Current State: 99:[90, 8910], Operations: ['25+85=110', '81*110=8910']
Exploring Operation: 8910/90=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[81, 90, 25, 85], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [90, 25, 4]
Generated Node #0,0: 99:[90, 25, 4] Operation: 85-81=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[90, 25, 4], Operations: ['85-81=4']
Exploring Operation: 25*4=100, Resulting Numbers: [90, 100]
Generated Node #0,0,0: 99:[90, 100] Operation: 25*4=100
Moving to Node #0,0,0
Current State: 99:[90, 100], Operations: ['85-81=4', '25*4=100']
Exploring Operation: 100-90=10, Resulting Numbers: [10]
10,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
11,
8,
96,
99
] | 100 | [
"99-11=88",
"96/8=12",
"88+12=100"
] | Current State: 100:[11, 8, 96, 99], Operations: []
Exploring Operation: 99-11=88, Resulting Numbers: [8, 96, 88]
Generated Node #2: [8, 96, 88] from Operation: 99-11=88
Current State: 100:[8, 96, 88], Operations: ['99-11=88']
Exploring Operation: 96/8=12, Resulting Numbers: [88, 12]
Generated Node #3: [88, 12] from Operation: 96/8=12
Current State: 100:[88, 12], Operations: ['99-11=88', '96/8=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[11, 8, 96, 99], Operations: []
Exploring Operation: 96/8=12, Resulting Numbers: [11, 99, 12]
Generated Node #0,0: 100:[11, 99, 12] Operation: 96/8=12
Exploring Operation: 11-8=3, Resulting Numbers: [96, 99, 3]
Generated Node #0,1: 100:[96, 99, 3] Operation: 11-8=3
Exploring Operation: 99-96=3, Resulting Numbers: [11, 8, 3]
Generated Node #0,2: 100:[11, 8, 3] Operation: 99-96=3
Exploring Operation: 11+8=19, Resulting Numbers: [96, 99, 19]
Generated Node #0,3: 100:[96, 99, 19] Operation: 11+8=19
Exploring Operation: 8+96=104, Resulting Numbers: [11, 99, 104]
Generated Node #0,4: 100:[11, 99, 104] Operation: 8+96=104
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[11, 99, 12], Operations: ['96/8=12']
Exploring Operation: 11+12=23, Resulting Numbers: [99, 23]
Generated Node #0,0,0: 100:[99, 23] Operation: 11+12=23
Exploring Operation: 11+99=110, Resulting Numbers: [12, 110]
Generated Node #0,0,1: 100:[12, 110] Operation: 11+99=110
Exploring Operation: 99+12=111, Resulting Numbers: [11, 111]
Generated Node #0,0,2: 100:[11, 111] Operation: 99+12=111
Exploring Operation: 12-11=1, Resulting Numbers: [99, 1]
Generated Node #0,0,3: 100:[99, 1] Operation: 12-11=1
Exploring Operation: 99/11=9, Resulting Numbers: [12, 9]
Generated Node #0,0,4: 100:[12, 9] Operation: 99/11=9
Moving to Node #0,0,3
Current State: 100:[99, 1], Operations: ['96/8=12', '12-11=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[11, 8, 96, 99], Operations: []
Exploring Operation: 96/8=12, Resulting Numbers: [11, 99, 12]
Generated Node #0,0: 100:[11, 99, 12] Operation: 96/8=12
Moving to Node #0,0
Current State: 100:[11, 99, 12], Operations: ['96/8=12']
Exploring Operation: 12-11=1, Resulting Numbers: [99, 1]
Generated Node #0,0,3: 100:[99, 1] Operation: 12-11=1
Moving to Node #0,0,3
Current State: 100:[99, 1], Operations: ['96/8=12', '12-11=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
16,
15,
35,
59
] | 94 | [
"16-15=1",
"35+59=94",
"1*94=94"
] | Current State: 94:[16, 15, 35, 59], Operations: []
Exploring Operation: 16-15=1, Resulting Numbers: [35, 59, 1]
Generated Node #2: [35, 59, 1] from Operation: 16-15=1
Current State: 94:[35, 59, 1], Operations: ['16-15=1']
Exploring Operation: 35+59=94, Resulting Numbers: [1, 94]
Generated Node #3: [1, 94] from Operation: 35+59=94
Current State: 94:[1, 94], Operations: ['16-15=1', '35+59=94']
Exploring Operation: 1*94=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[16, 15, 35, 59], Operations: []
Exploring Operation: 16+35=51, Resulting Numbers: [15, 59, 51]
Generated Node #0,0: 94:[15, 59, 51] Operation: 16+35=51
Exploring Operation: 16-15=1, Resulting Numbers: [35, 59, 1]
Generated Node #0,1: 94:[35, 59, 1] Operation: 16-15=1
Exploring Operation: 35+59=94, Resulting Numbers: [16, 15, 94]
Generated Node #0,2: 94:[16, 15, 94] Operation: 35+59=94
Moving to Node #0,1
Current State: 94:[35, 59, 1], Operations: ['16-15=1']
Exploring Operation: 35+59=94, Resulting Numbers: [1, 94]
Generated Node #0,1,0: 94:[1, 94] Operation: 35+59=94
Exploring Operation: 35+1=36, Resulting Numbers: [59, 36]
Generated Node #0,1,1: 94:[59, 36] Operation: 35+1=36
Exploring Operation: 59-35=24, Resulting Numbers: [1, 24]
Generated Node #0,1,2: 94:[1, 24] Operation: 59-35=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[1, 94], Operations: ['16-15=1', '35+59=94']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[16, 15, 35, 59], Operations: []
Exploring Operation: 16-15=1, Resulting Numbers: [35, 59, 1]
Generated Node #0,1: 94:[35, 59, 1] Operation: 16-15=1
Moving to Node #0,1
Current State: 94:[35, 59, 1], Operations: ['16-15=1']
Exploring Operation: 35+59=94, Resulting Numbers: [1, 94]
Generated Node #0,1,0: 94:[1, 94] Operation: 35+59=94
Moving to Node #0,1,0
Current State: 94:[1, 94], Operations: ['16-15=1', '35+59=94']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
19,
14,
38,
86
] | 93 | [
"19*14=266",
"266/38=7",
"86+7=93"
] | Current State: 93:[19, 14, 38, 86], Operations: []
Exploring Operation: 19*14=266, Resulting Numbers: [38, 86, 266]
Generated Node #2: [38, 86, 266] from Operation: 19*14=266
Current State: 93:[38, 86, 266], Operations: ['19*14=266']
Exploring Operation: 266/38=7, Resulting Numbers: [86, 7]
Generated Node #3: [86, 7] from Operation: 266/38=7
Current State: 93:[86, 7], Operations: ['19*14=266', '266/38=7']
Exploring Operation: 86+7=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[19, 14, 38, 86], Operations: []
Exploring Operation: 19+14=33, Resulting Numbers: [38, 86, 33]
Generated Node #0,0: 93:[38, 86, 33] Operation: 19+14=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[38, 86, 33], Operations: ['19+14=33']
Exploring Operation: 38-33=5, Resulting Numbers: [86, 5]
Generated Node #0,0,0: 93:[86, 5] Operation: 38-33=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[86, 5], Operations: ['19+14=33', '38-33=5']
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
35,
82,
23,
61
] | 58 | [
"82+23=105",
"105/35=3",
"61-3=58"
] | Current State: 58:[35, 82, 23, 61], Operations: []
Exploring Operation: 82+23=105, Resulting Numbers: [35, 61, 105]
Generated Node #2: [35, 61, 105] from Operation: 82+23=105
Current State: 58:[35, 61, 105], Operations: ['82+23=105']
Exploring Operation: 105/35=3, Resulting Numbers: [61, 3]
Generated Node #3: [61, 3] from Operation: 105/35=3
Current State: 58:[61, 3], Operations: ['82+23=105', '105/35=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[35, 82, 23, 61], Operations: []
Exploring Operation: 35+23=58, Resulting Numbers: [82, 61, 58]
Generated Node #0,0: 58:[82, 61, 58] Operation: 35+23=58
Exploring Operation: 82-23=59, Resulting Numbers: [35, 61, 59]
Generated Node #0,1: 58:[35, 61, 59] Operation: 82-23=59
Exploring Operation: 82-35=47, Resulting Numbers: [23, 61, 47]
Generated Node #0,2: 58:[23, 61, 47] Operation: 82-35=47
Exploring Operation: 82-61=21, Resulting Numbers: [35, 23, 21]
Generated Node #0,3: 58:[35, 23, 21] Operation: 82-61=21
Exploring Operation: 61-35=26, Resulting Numbers: [82, 23, 26]
Generated Node #0,4: 58:[82, 23, 26] Operation: 61-35=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[35, 61, 59], Operations: ['82-23=59']
Exploring Operation: 61-59=2, Resulting Numbers: [35, 2]
Generated Node #0,1,0: 58:[35, 2] Operation: 61-59=2
Exploring Operation: 61-35=26, Resulting Numbers: [59, 26]
Generated Node #0,1,1: 58:[59, 26] Operation: 61-35=26
Exploring Operation: 35+61=96, Resulting Numbers: [59, 96]
Generated Node #0,1,2: 58:[59, 96] Operation: 35+61=96
Exploring Operation: 59-35=24, Resulting Numbers: [61, 24]
Generated Node #0,1,3: 58:[61, 24] Operation: 59-35=24
Exploring Operation: 35+59=94, Resulting Numbers: [61, 94]
Generated Node #0,1,4: 58:[61, 94] Operation: 35+59=94
Moving to Node #0,1,1
Current State: 58:[59, 26], Operations: ['82-23=59', '61-35=26']
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 59*26=1534, Resulting Numbers: [1534]
1534,58 unequal: No Solution
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[35, 2], Operations: ['82-23=59', '61-59=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Moving to Node #0,1,3
Current State: 58:[61, 24], Operations: ['82-23=59', '59-35=24']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 61*24=1464, Resulting Numbers: [1464]
1464,58 unequal: No Solution
Exploring Operation: 61+24=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[59, 96], Operations: ['82-23=59', '35+61=96']
Exploring Operation: 59+96=155, Resulting Numbers: [155]
155,58 unequal: No Solution
Exploring Operation: 59*96=5664, Resulting Numbers: [5664]
5664,58 unequal: No Solution
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Moving to Node #0,1,4
Current State: 58:[61, 94], Operations: ['82-23=59', '35+59=94']
Exploring Operation: 61+94=155, Resulting Numbers: [155]
155,58 unequal: No Solution
Exploring Operation: 94-61=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 61*94=5734, Resulting Numbers: [5734]
5734,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:[23, 61, 47], Operations: ['82-35=47']
Exploring Operation: 61-23=38, Resulting Numbers: [47, 38]
Generated Node #0,2,0: 58:[47, 38] Operation: 61-23=38
Exploring Operation: 23+61=84, Resulting Numbers: [47, 84]
Generated Node #0,2,1: 58:[47, 84] Operation: 23+61=84
Exploring Operation: 23+47=70, Resulting Numbers: [61, 70]
Generated Node #0,2,2: 58:[61, 70] Operation: 23+47=70
Exploring Operation: 47-23=24, Resulting Numbers: [61, 24]
Generated Node #0,2,3: 58:[61, 24] Operation: 47-23=24
Exploring Operation: 61-47=14, Resulting Numbers: [23, 14]
Generated Node #0,2,4: 58:[23, 14] Operation: 61-47=14
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 58:[61, 24], Operations: ['82-35=47', '47-23=24']
Exploring Operation: 61+24=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 61*24=1464, Resulting Numbers: [1464]
1464,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:[61, 70], Operations: ['82-35=47', '23+47=70']
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,58 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,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,4
Current State: 58:[23, 14], Operations: ['82-35=47', '61-47=14']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,58 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,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:[47, 38], Operations: ['82-35=47', '61-23=38']
Exploring Operation: 47+38=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 47*38=1786, Resulting Numbers: [1786]
1786,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,1
Current State: 58:[47, 84], Operations: ['82-35=47', '23+61=84']
Exploring Operation: 47*84=3948, Resulting Numbers: [3948]
3948,58 unequal: No Solution
Exploring Operation: 47+84=131, Resulting Numbers: [131]
131,58 unequal: No Solution
Exploring Operation: 84-47=37, Resulting Numbers: [37]
37,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,3
Current State: 58:[35, 23, 21], Operations: ['82-61=21']
Exploring Operation: 35-23=12, Resulting Numbers: [21, 12]
Generated Node #0,3,0: 58:[21, 12] Operation: 35-23=12
Exploring Operation: 35+21=56, Resulting Numbers: [23, 56]
Generated Node #0,3,1: 58:[23, 56] Operation: 35+21=56
Exploring Operation: 23-21=2, Resulting Numbers: [35, 2]
Generated Node #0,3,2: 58:[35, 2] Operation: 23-21=2
Exploring Operation: 35+23=58, Resulting Numbers: [21, 58]
Generated Node #0,3,3: 58:[21, 58] Operation: 35+23=58
Exploring Operation: 35-21=14, Resulting Numbers: [23, 14]
Generated Node #0,3,4: 58:[23, 14] Operation: 35-21=14
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 58:[35, 2], Operations: ['82-61=21', '23-21=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,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,1
Current State: 58:[23, 56], Operations: ['82-61=21', '35+21=56']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 23*56=1288, Resulting Numbers: [1288]
1288,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:[21, 58], Operations: ['82-61=21', '35+23=58']
Exploring Operation: 21*58=1218, Resulting Numbers: [1218]
1218,58 unequal: No Solution
Exploring Operation: 21+58=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,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:[21, 12], Operations: ['82-61=21', '35-23=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,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,4
Current State: 58:[23, 14], Operations: ['82-61=21', '35-21=14']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,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:[82, 61, 58], Operations: ['35+23=58']
Exploring Operation: 61-58=3, Resulting Numbers: [82, 3]
Generated Node #0,0,0: 58:[82, 3] Operation: 61-58=3
Exploring Operation: 82-58=24, Resulting Numbers: [61, 24]
Generated Node #0,0,1: 58:[61, 24] Operation: 82-58=24
Exploring Operation: 82+61=143, Resulting Numbers: [58, 143]
Generated Node #0,0,2: 58:[58, 143] Operation: 82+61=143
Exploring Operation: 82+58=140, Resulting Numbers: [61, 140]
Generated Node #0,0,3: 58:[61, 140] Operation: 82+58=140
Exploring Operation: 82-61=21, Resulting Numbers: [58, 21]
Generated Node #0,0,4: 58:[58, 21] Operation: 82-61=21
Moving to Node #0,0,1
Current State: 58:[61, 24], Operations: ['35+23=58', '82-58=24']
Exploring Operation: 61*24=1464, Resulting Numbers: [1464]
1464,58 unequal: No Solution
Exploring Operation: 61+24=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Moving to Node #0,0,4
Current State: 58:[58, 21], Operations: ['35+23=58', '82-61=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,58 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[82, 3], Operations: ['35+23=58', '61-58=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,58 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[58, 143], Operations: ['35+23=58', '82+61=143']
Exploring Operation: 58*143=8294, Resulting Numbers: [8294]
8294,58 unequal: No Solution
Exploring Operation: 58+143=201, Resulting Numbers: [201]
201,58 unequal: No Solution
Exploring Operation: 143-58=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[61, 140], Operations: ['35+23=58', '82+58=140']
Exploring Operation: 140-61=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 61*140=8540, Resulting Numbers: [8540]
8540,58 unequal: No Solution
Exploring Operation: 61+140=201, Resulting Numbers: [201]
201,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,4
Current State: 58:[82, 23, 26], Operations: ['61-35=26']
Exploring Operation: 82-26=56, Resulting Numbers: [23, 56]
Generated Node #0,4,0: 58:[23, 56] Operation: 82-26=56
Exploring Operation: 82-23=59, Resulting Numbers: [26, 59]
Generated Node #0,4,1: 58:[26, 59] Operation: 82-23=59
Exploring Operation: 82+23=105, Resulting Numbers: [26, 105]
Generated Node #0,4,2: 58:[26, 105] Operation: 82+23=105
Exploring Operation: 26-23=3, Resulting Numbers: [82, 3]
Generated Node #0,4,3: 58:[82, 3] Operation: 26-23=3
Exploring Operation: 23+26=49, Resulting Numbers: [82, 49]
Generated Node #0,4,4: 58:[82, 49] Operation: 23+26=49
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 58:[26, 59], Operations: ['61-35=26', '82-23=59']
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,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,4,0
Current State: 58:[23, 56], Operations: ['61-35=26', '82-26=56']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 23*56=1288, Resulting Numbers: [1288]
1288,58 unequal: No Solution
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,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,4,3
Current State: 58:[82, 3], Operations: ['61-35=26', '26-23=3']
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,58 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,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,4,4
Current State: 58:[82, 49], Operations: ['61-35=26', '23+26=49']
Exploring Operation: 82+49=131, Resulting Numbers: [131]
131,58 unequal: No Solution
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 82*49=4018, Resulting Numbers: [4018]
4018,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,4,2
Current State: 58:[26, 105], Operations: ['61-35=26', '82+23=105']
Exploring Operation: 26*105=2730, Resulting Numbers: [2730]
2730,58 unequal: No Solution
Exploring Operation: 26+105=131, Resulting Numbers: [131]
131,58 unequal: No Solution
Exploring Operation: 105-26=79, Resulting Numbers: [79]
79,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_5 | sum_heuristic |
[
58,
39,
55,
67
] | 50 | [
"58-55=3",
"39*3=117",
"117-67=50"
] | Current State: 50:[58, 39, 55, 67], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [39, 67, 3]
Generated Node #2: [39, 67, 3] from Operation: 58-55=3
Current State: 50:[39, 67, 3], Operations: ['58-55=3']
Exploring Operation: 39*3=117, Resulting Numbers: [67, 117]
Generated Node #3: [67, 117] from Operation: 39*3=117
Current State: 50:[67, 117], Operations: ['58-55=3', '39*3=117']
Exploring Operation: 117-67=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[58, 39, 55, 67], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [39, 67, 3]
Generated Node #0,0: 50:[39, 67, 3] Operation: 58-55=3
Exploring Operation: 58-39=19, Resulting Numbers: [55, 67, 19]
Generated Node #0,1: 50:[55, 67, 19] Operation: 58-39=19
Exploring Operation: 67-39=28, Resulting Numbers: [58, 55, 28]
Generated Node #0,2: 50:[58, 55, 28] Operation: 67-39=28
Exploring Operation: 67-55=12, Resulting Numbers: [58, 39, 12]
Generated Node #0,3: 50:[58, 39, 12] Operation: 67-55=12
Exploring Operation: 67-58=9, Resulting Numbers: [39, 55, 9]
Generated Node #0,4: 50:[39, 55, 9] Operation: 67-58=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[58, 55, 28], Operations: ['67-39=28']
Exploring Operation: 58-28=30, Resulting Numbers: [55, 30]
Generated Node #0,2,0: 50:[55, 30] Operation: 58-28=30
Exploring Operation: 58+28=86, Resulting Numbers: [55, 86]
Generated Node #0,2,1: 50:[55, 86] Operation: 58+28=86
Exploring Operation: 55+28=83, Resulting Numbers: [58, 83]
Generated Node #0,2,2: 50:[58, 83] Operation: 55+28=83
Exploring Operation: 58-55=3, Resulting Numbers: [28, 3]
Generated Node #0,2,3: 50:[28, 3] Operation: 58-55=3
Exploring Operation: 55-28=27, Resulting Numbers: [58, 27]
Generated Node #0,2,4: 50:[58, 27] Operation: 55-28=27
Moving to Node #0,2,3
Current State: 50:[28, 3], Operations: ['67-39=28', '58-55=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Moving to Node #0,2,4
Current State: 50:[58, 27], Operations: ['67-39=28', '55-28=27']
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 58*27=1566, Resulting Numbers: [1566]
1566,50 unequal: No Solution
Exploring Operation: 58+27=85, Resulting Numbers: [85]
85,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[55, 30], Operations: ['67-39=28', '58-28=30']
Exploring Operation: 55*30=1650, Resulting Numbers: [1650]
1650,50 unequal: No Solution
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,50 unequal: No Solution
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[55, 86], Operations: ['67-39=28', '58+28=86']
Exploring Operation: 55+86=141, Resulting Numbers: [141]
141,50 unequal: No Solution
Exploring Operation: 86-55=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 55*86=4730, Resulting Numbers: [4730]
4730,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[58, 83], Operations: ['67-39=28', '55+28=83']
Exploring Operation: 58+83=141, Resulting Numbers: [141]
141,50 unequal: No Solution
Exploring Operation: 83-58=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 58*83=4814, Resulting Numbers: [4814]
4814,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:[39, 55, 9], Operations: ['67-58=9']
Exploring Operation: 39-9=30, Resulting Numbers: [55, 30]
Generated Node #0,4,0: 50:[55, 30] Operation: 39-9=30
Exploring Operation: 55-9=46, Resulting Numbers: [39, 46]
Generated Node #0,4,1: 50:[39, 46] Operation: 55-9=46
Exploring Operation: 55-39=16, Resulting Numbers: [9, 16]
Generated Node #0,4,2: 50:[9, 16] Operation: 55-39=16
Exploring Operation: 39+9=48, Resulting Numbers: [55, 48]
Generated Node #0,4,3: 50:[55, 48] Operation: 39+9=48
Exploring Operation: 55+9=64, Resulting Numbers: [39, 64]
Generated Node #0,4,4: 50:[39, 64] Operation: 55+9=64
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 50:[9, 16], Operations: ['67-58=9', '55-39=16']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,50 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,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,4,3
Current State: 50:[55, 48], Operations: ['67-58=9', '39+9=48']
Exploring Operation: 55*48=2640, Resulting Numbers: [2640]
2640,50 unequal: No Solution
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 55+48=103, Resulting Numbers: [103]
103,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,4,0
Current State: 50:[55, 30], Operations: ['67-58=9', '39-9=30']
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,50 unequal: No Solution
Exploring Operation: 55*30=1650, Resulting Numbers: [1650]
1650,50 unequal: No Solution
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,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,4,1
Current State: 50:[39, 46], Operations: ['67-58=9', '55-9=46']
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,50 unequal: No Solution
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,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,4,4
Current State: 50:[39, 64], Operations: ['67-58=9', '55+9=64']
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 39+64=103, Resulting Numbers: [103]
103,50 unequal: No Solution
Exploring Operation: 39*64=2496, Resulting Numbers: [2496]
2496,50 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: 50:[58, 39, 12], Operations: ['67-55=12']
Exploring Operation: 58-12=46, Resulting Numbers: [39, 46]
Generated Node #0,3,0: 50:[39, 46] Operation: 58-12=46
Exploring Operation: 39-12=27, Resulting Numbers: [58, 27]
Generated Node #0,3,1: 50:[58, 27] Operation: 39-12=27
Exploring Operation: 58+12=70, Resulting Numbers: [39, 70]
Generated Node #0,3,2: 50:[39, 70] Operation: 58+12=70
Exploring Operation: 58-39=19, Resulting Numbers: [12, 19]
Generated Node #0,3,3: 50:[12, 19] Operation: 58-39=19
Exploring Operation: 39+12=51, Resulting Numbers: [58, 51]
Generated Node #0,3,4: 50:[58, 51] Operation: 39+12=51
Moving to Node #0,3,3
Current State: 50:[12, 19], Operations: ['67-55=12', '58-39=19']
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,50 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Moving to Node #0,3,4
Current State: 50:[58, 51], Operations: ['67-55=12', '39+12=51']
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,50 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[58, 27], Operations: ['67-55=12', '39-12=27']
Exploring Operation: 58+27=85, Resulting Numbers: [85]
85,50 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 58*27=1566, Resulting Numbers: [1566]
1566,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[39, 46], Operations: ['67-55=12', '58-12=46']
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,50 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[39, 70], Operations: ['67-55=12', '58+12=70']
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 39+70=109, Resulting Numbers: [109]
109,50 unequal: No Solution
Exploring Operation: 39*70=2730, Resulting Numbers: [2730]
2730,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:[55, 67, 19], Operations: ['58-39=19']
Exploring Operation: 55+19=74, Resulting Numbers: [67, 74]
Generated Node #0,1,0: 50:[67, 74] Operation: 55+19=74
Exploring Operation: 67-55=12, Resulting Numbers: [19, 12]
Generated Node #0,1,1: 50:[19, 12] Operation: 67-55=12
Exploring Operation: 67-19=48, Resulting Numbers: [55, 48]
Generated Node #0,1,2: 50:[55, 48] Operation: 67-19=48
Exploring Operation: 67+19=86, Resulting Numbers: [55, 86]
Generated Node #0,1,3: 50:[55, 86] Operation: 67+19=86
Exploring Operation: 55-19=36, Resulting Numbers: [67, 36]
Generated Node #0,1,4: 50:[67, 36] Operation: 55-19=36
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[55, 48], Operations: ['58-39=19', '67-19=48']
Exploring Operation: 55*48=2640, Resulting Numbers: [2640]
2640,50 unequal: No Solution
Exploring Operation: 55+48=103, Resulting Numbers: [103]
103,50 unequal: No Solution
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[19, 12], Operations: ['58-39=19', '67-55=12']
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,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,4
Current State: 50:[67, 36], Operations: ['58-39=19', '55-19=36']
Exploring Operation: 67*36=2412, Resulting Numbers: [2412]
2412,50 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,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:[67, 74], Operations: ['58-39=19', '55+19=74']
Exploring Operation: 67+74=141, Resulting Numbers: [141]
141,50 unequal: No Solution
Exploring Operation: 74-67=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 67*74=4958, Resulting Numbers: [4958]
4958,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,3
Current State: 50:[55, 86], Operations: ['58-39=19', '67+19=86']
Exploring Operation: 55+86=141, Resulting Numbers: [141]
141,50 unequal: No Solution
Exploring Operation: 86-55=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 55*86=4730, Resulting Numbers: [4730]
4730,50 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: 50:[39, 67, 3], Operations: ['58-55=3']
Exploring Operation: 39+3=42, Resulting Numbers: [67, 42]
Generated Node #0,0,0: 50:[67, 42] Operation: 39+3=42
Exploring Operation: 39/3=13, Resulting Numbers: [67, 13]
Generated Node #0,0,1: 50:[67, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [67, 36]
Generated Node #0,0,2: 50:[67, 36] Operation: 39-3=36
Exploring Operation: 67-39=28, Resulting Numbers: [3, 28]
Generated Node #0,0,3: 50:[3, 28] Operation: 67-39=28
Exploring Operation: 67-3=64, Resulting Numbers: [39, 64]
Generated Node #0,0,4: 50:[39, 64] Operation: 67-3=64
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 50:[3, 28], Operations: ['58-55=3', '67-39=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,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,0,1
Current State: 50:[67, 13], Operations: ['58-55=3', '39/3=13']
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,50 unequal: No Solution
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,50 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,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,0,0
Current State: 50:[67, 42], Operations: ['58-55=3', '39+3=42']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 67+42=109, Resulting Numbers: [109]
109,50 unequal: No Solution
Exploring Operation: 67*42=2814, Resulting Numbers: [2814]
2814,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,0,4
Current State: 50:[39, 64], Operations: ['58-55=3', '67-3=64']
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 39+64=103, Resulting Numbers: [103]
103,50 unequal: No Solution
Exploring Operation: 39*64=2496, Resulting Numbers: [2496]
2496,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,0,2
Current State: 50:[67, 36], Operations: ['58-55=3', '39-3=36']
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,50 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 67*36=2412, Resulting Numbers: [2412]
2412,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
19,
86,
99,
8
] | 85 | [
"99-86=13",
"8*13=104",
"104-19=85"
] | Current State: 85:[19, 86, 99, 8], Operations: []
Exploring Operation: 99-86=13, Resulting Numbers: [19, 8, 13]
Generated Node #2: [19, 8, 13] from Operation: 99-86=13
Current State: 85:[19, 8, 13], Operations: ['99-86=13']
Exploring Operation: 8*13=104, Resulting Numbers: [19, 104]
Generated Node #3: [19, 104] from Operation: 8*13=104
Current State: 85:[19, 104], Operations: ['99-86=13', '8*13=104']
Exploring Operation: 104-19=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[19, 86, 99, 8], Operations: []
Exploring Operation: 19-8=11, Resulting Numbers: [86, 99, 11]
Generated Node #0,0: 85:[86, 99, 11] Operation: 19-8=11
Exploring Operation: 99-86=13, Resulting Numbers: [19, 8, 13]
Generated Node #0,1: 85:[19, 8, 13] Operation: 99-86=13
Exploring Operation: 99-8=91, Resulting Numbers: [19, 86, 91]
Generated Node #0,2: 85:[19, 86, 91] Operation: 99-8=91
Exploring Operation: 99-19=80, Resulting Numbers: [86, 8, 80]
Generated Node #0,3: 85:[86, 8, 80] Operation: 99-19=80
Exploring Operation: 86-8=78, Resulting Numbers: [19, 99, 78]
Generated Node #0,4: 85:[19, 99, 78] Operation: 86-8=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[19, 8, 13], Operations: ['99-86=13']
Exploring Operation: 8+13=21, Resulting Numbers: [19, 21]
Generated Node #0,1,0: 85:[19, 21] Operation: 8+13=21
Exploring Operation: 19-8=11, Resulting Numbers: [13, 11]
Generated Node #0,1,1: 85:[13, 11] Operation: 19-8=11
Exploring Operation: 13-8=5, Resulting Numbers: [19, 5]
Generated Node #0,1,2: 85:[19, 5] Operation: 13-8=5
Exploring Operation: 19-13=6, Resulting Numbers: [8, 6]
Generated Node #0,1,3: 85:[8, 6] Operation: 19-13=6
Exploring Operation: 19+8=27, Resulting Numbers: [13, 27]
Generated Node #0,1,4: 85:[13, 27] Operation: 19+8=27
Moving to Node #0,1,2
Current State: 85:[19, 5], Operations: ['99-86=13', '13-8=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[8, 6], Operations: ['99-86=13', '19-13=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,85 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[19, 21], Operations: ['99-86=13', '8+13=21']
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,85 unequal: No Solution
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[13, 11], Operations: ['99-86=13', '19-8=11']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,85 unequal: No Solution
Moving to Node #0,1,4
Current State: 85:[13, 27], Operations: ['99-86=13', '19+8=27']
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,85 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[19, 86, 91], Operations: ['99-8=91']
Exploring Operation: 91-86=5, Resulting Numbers: [19, 5]
Generated Node #0,2,0: 85:[19, 5] Operation: 91-86=5
Exploring Operation: 19+86=105, Resulting Numbers: [91, 105]
Generated Node #0,2,1: 85:[91, 105] Operation: 19+86=105
Exploring Operation: 86-19=67, Resulting Numbers: [91, 67]
Generated Node #0,2,2: 85:[91, 67] Operation: 86-19=67
Exploring Operation: 91-19=72, Resulting Numbers: [86, 72]
Generated Node #0,2,3: 85:[86, 72] Operation: 91-19=72
Exploring Operation: 19+91=110, Resulting Numbers: [86, 110]
Generated Node #0,2,4: 85:[86, 110] Operation: 19+91=110
Moving to Node #0,2,0
Current State: 85:[19, 5], Operations: ['99-8=91', '91-86=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[86, 72], Operations: ['99-8=91', '91-19=72']
Exploring Operation: 86*72=6192, Resulting Numbers: [6192]
6192,85 unequal: No Solution
Exploring Operation: 86+72=158, Resulting Numbers: [158]
158,85 unequal: No Solution
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[91, 67], Operations: ['99-8=91', '86-19=67']
Exploring Operation: 91+67=158, Resulting Numbers: [158]
158,85 unequal: No Solution
Exploring Operation: 91-67=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 91*67=6097, Resulting Numbers: [6097]
6097,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[91, 105], Operations: ['99-8=91', '19+86=105']
Exploring Operation: 91*105=9555, Resulting Numbers: [9555]
9555,85 unequal: No Solution
Exploring Operation: 91+105=196, Resulting Numbers: [196]
196,85 unequal: No Solution
Exploring Operation: 105-91=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Moving to Node #0,2,4
Current State: 85:[86, 110], Operations: ['99-8=91', '19+91=110']
Exploring Operation: 86*110=9460, Resulting Numbers: [9460]
9460,85 unequal: No Solution
Exploring Operation: 86+110=196, Resulting Numbers: [196]
196,85 unequal: No Solution
Exploring Operation: 110-86=24, Resulting Numbers: [24]
24,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[86, 8, 80], Operations: ['99-19=80']
Exploring Operation: 8+80=88, Resulting Numbers: [86, 88]
Generated Node #0,3,0: 85:[86, 88] Operation: 8+80=88
Exploring Operation: 86-8=78, Resulting Numbers: [80, 78]
Generated Node #0,3,1: 85:[80, 78] Operation: 86-8=78
Exploring Operation: 80/8=10, Resulting Numbers: [86, 10]
Generated Node #0,3,2: 85:[86, 10] Operation: 80/8=10
Exploring Operation: 86+8=94, Resulting Numbers: [80, 94]
Generated Node #0,3,3: 85:[80, 94] Operation: 86+8=94
Exploring Operation: 86-80=6, Resulting Numbers: [8, 6]
Generated Node #0,3,4: 85:[8, 6] Operation: 86-80=6
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 85:[86, 88], Operations: ['99-19=80', '8+80=88']
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 86*88=7568, Resulting Numbers: [7568]
7568,85 unequal: No Solution
Exploring Operation: 86+88=174, Resulting Numbers: [174]
174,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 85:[8, 6], Operations: ['99-19=80', '86-80=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 85:[86, 10], Operations: ['99-19=80', '80/8=10']
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,85 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 85:[80, 78], Operations: ['99-19=80', '86-8=78']
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 80+78=158, Resulting Numbers: [158]
158,85 unequal: No Solution
Exploring Operation: 80*78=6240, Resulting Numbers: [6240]
6240,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 85:[80, 94], Operations: ['99-19=80', '86+8=94']
Exploring Operation: 80*94=7520, Resulting Numbers: [7520]
7520,85 unequal: No Solution
Exploring Operation: 94-80=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 80+94=174, Resulting Numbers: [174]
174,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[86, 99, 11], Operations: ['19-8=11']
Exploring Operation: 86-11=75, Resulting Numbers: [99, 75]
Generated Node #0,0,0: 85:[99, 75] Operation: 86-11=75
Exploring Operation: 99-86=13, Resulting Numbers: [11, 13]
Generated Node #0,0,1: 85:[11, 13] Operation: 99-86=13
Exploring Operation: 99-11=88, Resulting Numbers: [86, 88]
Generated Node #0,0,2: 85:[86, 88] Operation: 99-11=88
Exploring Operation: 99/11=9, Resulting Numbers: [86, 9]
Generated Node #0,0,3: 85:[86, 9] Operation: 99/11=9
Exploring Operation: 86+11=97, Resulting Numbers: [99, 97]
Generated Node #0,0,4: 85:[99, 97] Operation: 86+11=97
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 85:[86, 88], Operations: ['19-8=11', '99-11=88']
Exploring Operation: 86*88=7568, Resulting Numbers: [7568]
7568,85 unequal: No Solution
Exploring Operation: 86+88=174, Resulting Numbers: [174]
174,85 unequal: No Solution
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 85:[86, 9], Operations: ['19-8=11', '99/11=9']
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[11, 13], Operations: ['19-8=11', '99-86=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,85 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[99, 75], Operations: ['19-8=11', '86-11=75']
Exploring Operation: 99*75=7425, Resulting Numbers: [7425]
7425,85 unequal: No Solution
Exploring Operation: 99+75=174, Resulting Numbers: [174]
174,85 unequal: No Solution
Exploring Operation: 99-75=24, Resulting Numbers: [24]
24,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 85:[99, 97], Operations: ['19-8=11', '86+11=97']
Exploring Operation: 99*97=9603, Resulting Numbers: [9603]
9603,85 unequal: No Solution
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 99+97=196, Resulting Numbers: [196]
196,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 85:[19, 99, 78], Operations: ['86-8=78']
Exploring Operation: 99-19=80, Resulting Numbers: [78, 80]
Generated Node #0,4,0: 85:[78, 80] Operation: 99-19=80
Exploring Operation: 19+78=97, Resulting Numbers: [99, 97]
Generated Node #0,4,1: 85:[99, 97] Operation: 19+78=97
Exploring Operation: 78-19=59, Resulting Numbers: [99, 59]
Generated Node #0,4,2: 85:[99, 59] Operation: 78-19=59
Exploring Operation: 99-78=21, Resulting Numbers: [19, 21]
Generated Node #0,4,3: 85:[19, 21] Operation: 99-78=21
Exploring Operation: 19+99=118, Resulting Numbers: [78, 118]
Generated Node #0,4,4: 85:[78, 118] Operation: 19+99=118
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 85:[19, 21], Operations: ['86-8=78', '99-78=21']
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,85 unequal: No Solution
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 85:[78, 80], Operations: ['86-8=78', '99-19=80']
Exploring Operation: 78*80=6240, Resulting Numbers: [6240]
6240,85 unequal: No Solution
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 78+80=158, Resulting Numbers: [158]
158,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 85:[99, 97], Operations: ['86-8=78', '19+78=97']
Exploring Operation: 99+97=196, Resulting Numbers: [196]
196,85 unequal: No Solution
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 99*97=9603, Resulting Numbers: [9603]
9603,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 85:[99, 59], Operations: ['86-8=78', '78-19=59']
Exploring Operation: 99-59=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 99*59=5841, Resulting Numbers: [5841]
5841,85 unequal: No Solution
Exploring Operation: 99+59=158, Resulting Numbers: [158]
158,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 85:[78, 118], Operations: ['86-8=78', '19+99=118']
Exploring Operation: 78+118=196, Resulting Numbers: [196]
196,85 unequal: No Solution
Exploring Operation: 118-78=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 78*118=9204, Resulting Numbers: [9204]
9204,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
54,
92,
46,
55
] | 86 | [
"55-46=9",
"54/9=6",
"92-6=86"
] | Current State: 86:[54, 92, 46, 55], Operations: []
Exploring Operation: 55-46=9, Resulting Numbers: [54, 92, 9]
Generated Node #2: [54, 92, 9] from Operation: 55-46=9
Current State: 86:[54, 92, 9], Operations: ['55-46=9']
Exploring Operation: 54/9=6, Resulting Numbers: [92, 6]
Generated Node #3: [92, 6] from Operation: 54/9=6
Current State: 86:[92, 6], Operations: ['55-46=9', '54/9=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[54, 92, 46, 55], Operations: []
Exploring Operation: 55-54=1, Resulting Numbers: [92, 46, 1]
Generated Node #0,0: 86:[92, 46, 1] Operation: 55-54=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[92, 46, 1], Operations: ['55-54=1']
Exploring Operation: 92/46=2, Resulting Numbers: [1, 2]
Generated Node #0,0,0: 86:[1, 2] Operation: 92/46=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[1, 2], Operations: ['55-54=1', '92/46=2']
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
10,
87,
94,
76
] | 73 | [
"10+87=97",
"94+76=170",
"170-97=73"
] | Current State: 73:[10, 87, 94, 76], Operations: []
Exploring Operation: 10+87=97, Resulting Numbers: [94, 76, 97]
Generated Node #2: [94, 76, 97] from Operation: 10+87=97
Current State: 73:[94, 76, 97], Operations: ['10+87=97']
Exploring Operation: 94+76=170, Resulting Numbers: [97, 170]
Generated Node #3: [97, 170] from Operation: 94+76=170
Current State: 73:[97, 170], Operations: ['10+87=97', '94+76=170']
Exploring Operation: 170-97=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[10, 87, 94, 76], Operations: []
Exploring Operation: 87-10=77, Resulting Numbers: [94, 76, 77]
Generated Node #0,0: 73:[94, 76, 77] Operation: 87-10=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[94, 76, 77], Operations: ['87-10=77']
Exploring Operation: 94-76=18, Resulting Numbers: [77, 18]
Generated Node #0,0,0: 73:[77, 18] Operation: 94-76=18
Moving to Node #0,0,0
Current State: 73:[77, 18], Operations: ['87-10=77', '94-76=18']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
54,
67,
99,
51
] | 73 | [
"54+67=121",
"99-51=48",
"121-48=73"
] | Current State: 73:[54, 67, 99, 51], Operations: []
Exploring Operation: 54+67=121, Resulting Numbers: [99, 51, 121]
Generated Node #2: [99, 51, 121] from Operation: 54+67=121
Current State: 73:[99, 51, 121], Operations: ['54+67=121']
Exploring Operation: 99-51=48, Resulting Numbers: [121, 48]
Generated Node #3: [121, 48] from Operation: 99-51=48
Current State: 73:[121, 48], Operations: ['54+67=121', '99-51=48']
Exploring Operation: 121-48=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[54, 67, 99, 51], Operations: []
Exploring Operation: 99-67=32, Resulting Numbers: [54, 51, 32]
Generated Node #0,0: 73:[54, 51, 32] Operation: 99-67=32
Exploring Operation: 99-51=48, Resulting Numbers: [54, 67, 48]
Generated Node #0,1: 73:[54, 67, 48] Operation: 99-51=48
Exploring Operation: 67+51=118, Resulting Numbers: [54, 99, 118]
Generated Node #0,2: 73:[54, 99, 118] Operation: 67+51=118
Exploring Operation: 99-54=45, Resulting Numbers: [67, 51, 45]
Generated Node #0,3: 73:[67, 51, 45] Operation: 99-54=45
Exploring Operation: 54+51=105, Resulting Numbers: [67, 99, 105]
Generated Node #0,4: 73:[67, 99, 105] Operation: 54+51=105
Moving to Node #0,1
Current State: 73:[54, 67, 48], Operations: ['99-51=48']
Exploring Operation: 67-48=19, Resulting Numbers: [54, 19]
Generated Node #0,1,0: 73:[54, 19] Operation: 67-48=19
Exploring Operation: 54+67=121, Resulting Numbers: [48, 121]
Generated Node #0,1,1: 73:[48, 121] Operation: 54+67=121
Exploring Operation: 54-48=6, Resulting Numbers: [67, 6]
Generated Node #0,1,2: 73:[67, 6] Operation: 54-48=6
Exploring Operation: 67+48=115, Resulting Numbers: [54, 115]
Generated Node #0,1,3: 73:[54, 115] Operation: 67+48=115
Exploring Operation: 54+48=102, Resulting Numbers: [67, 102]
Generated Node #0,1,4: 73:[67, 102] Operation: 54+48=102
Moving to Node #0,3
Current State: 73:[67, 51, 45], Operations: ['99-54=45']
Exploring Operation: 67+51=118, Resulting Numbers: [45, 118]
Generated Node #0,3,0: 73:[45, 118] Operation: 67+51=118
Exploring Operation: 67-45=22, Resulting Numbers: [51, 22]
Generated Node #0,3,1: 73:[51, 22] Operation: 67-45=22
Exploring Operation: 51+45=96, Resulting Numbers: [67, 96]
Generated Node #0,3,2: 73:[67, 96] Operation: 51+45=96
Exploring Operation: 67+45=112, Resulting Numbers: [51, 112]
Generated Node #0,3,3: 73:[51, 112] Operation: 67+45=112
Exploring Operation: 51-45=6, Resulting Numbers: [67, 6]
Generated Node #0,3,4: 73:[67, 6] Operation: 51-45=6
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[67, 96], Operations: ['99-54=45', '51+45=96']
Exploring Operation: 67*96=6432, Resulting Numbers: [6432]
6432,73 unequal: No Solution
Exploring Operation: 96-67=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Exploring Operation: 67+96=163, Resulting Numbers: [163]
163,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[51, 112], Operations: ['99-54=45', '67+45=112']
Exploring Operation: 51+112=163, Resulting Numbers: [163]
163,73 unequal: No Solution
Exploring Operation: 112-51=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 51*112=5712, Resulting Numbers: [5712]
5712,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[45, 118], Operations: ['99-54=45', '67+51=118']
Exploring Operation: 45*118=5310, Resulting Numbers: [5310]
5310,73 unequal: No Solution
Exploring Operation: 45+118=163, Resulting Numbers: [163]
163,73 unequal: No Solution
Exploring Operation: 118-45=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[54, 67, 99, 51], Operations: []
Exploring Operation: 99-54=45, Resulting Numbers: [67, 51, 45]
Generated Node #0,3: 73:[67, 51, 45] Operation: 99-54=45
Moving to Node #0,3
Current State: 73:[67, 51, 45], Operations: ['99-54=45']
Exploring Operation: 67+51=118, Resulting Numbers: [45, 118]
Generated Node #0,3,0: 73:[45, 118] Operation: 67+51=118
Moving to Node #0,3,0
Current State: 73:[45, 118], Operations: ['99-54=45', '67+51=118']
Exploring Operation: 118-45=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | mult_heuristic |
[
22,
3,
73,
20
] | 93 | [
"73-22=51",
"51-20=31",
"3*31=93"
] | Current State: 93:[22, 3, 73, 20], Operations: []
Exploring Operation: 73-22=51, Resulting Numbers: [3, 20, 51]
Generated Node #2: [3, 20, 51] from Operation: 73-22=51
Current State: 93:[3, 20, 51], Operations: ['73-22=51']
Exploring Operation: 51-20=31, Resulting Numbers: [3, 31]
Generated Node #3: [3, 31] from Operation: 51-20=31
Current State: 93:[3, 31], Operations: ['73-22=51', '51-20=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[22, 3, 73, 20], Operations: []
Exploring Operation: 73+20=93, Resulting Numbers: [22, 3, 93]
Generated Node #0,0: 93:[22, 3, 93] Operation: 73+20=93
Exploring Operation: 22+73=95, Resulting Numbers: [3, 20, 95]
Generated Node #0,1: 93:[3, 20, 95] Operation: 22+73=95
Moving to Node #0,0
Current State: 93:[22, 3, 93], Operations: ['73+20=93']
Exploring Operation: 22+3=25, Resulting Numbers: [93, 25]
Generated Node #0,0,0: 93:[93, 25] Operation: 22+3=25
Exploring Operation: 93/3=31, Resulting Numbers: [22, 31]
Generated Node #0,0,1: 93:[22, 31] Operation: 93/3=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[93, 25], Operations: ['73+20=93', '22+3=25']
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 93+25=118, Resulting Numbers: [118]
118,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[22, 31], Operations: ['73+20=93', '93/3=31']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,93 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: 93:[3, 20, 95], Operations: ['22+73=95']
Exploring Operation: 3+20=23, Resulting Numbers: [95, 23]
Generated Node #0,1,0: 93:[95, 23] Operation: 3+20=23
Exploring Operation: 95-3=92, Resulting Numbers: [20, 92]
Generated Node #0,1,1: 93:[20, 92] Operation: 95-3=92
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[95, 23], Operations: ['22+73=95', '3+20=23']
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 95+23=118, Resulting Numbers: [118]
118,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[20, 92], Operations: ['22+73=95', '95-3=92']
Exploring Operation: 20+92=112, Resulting Numbers: [112]
112,93 unequal: No Solution
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,93 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 |
[
47,
60,
37,
52
] | 58 | [
"47-37=10",
"60/10=6",
"52+6=58"
] | Current State: 58:[47, 60, 37, 52], Operations: []
Exploring Operation: 47-37=10, Resulting Numbers: [60, 52, 10]
Generated Node #2: [60, 52, 10] from Operation: 47-37=10
Current State: 58:[60, 52, 10], Operations: ['47-37=10']
Exploring Operation: 60/10=6, Resulting Numbers: [52, 6]
Generated Node #3: [52, 6] from Operation: 60/10=6
Current State: 58:[52, 6], Operations: ['47-37=10', '60/10=6']
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[47, 60, 37, 52], Operations: []
Exploring Operation: 47-37=10, Resulting Numbers: [60, 52, 10]
Generated Node #0,0: 58:[60, 52, 10] Operation: 47-37=10
Exploring Operation: 52-47=5, Resulting Numbers: [60, 37, 5]
Generated Node #0,1: 58:[60, 37, 5] Operation: 52-47=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[60, 37, 5], Operations: ['52-47=5']
Exploring Operation: 37-5=32, Resulting Numbers: [60, 32]
Generated Node #0,1,0: 58:[60, 32] Operation: 37-5=32
Exploring Operation: 60-37=23, Resulting Numbers: [5, 23]
Generated Node #0,1,1: 58:[5, 23] Operation: 60-37=23
Moving to Node #0,1,0
Current State: 58:[60, 32], Operations: ['52-47=5', '37-5=32']
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,58 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[5, 23], Operations: ['52-47=5', '60-37=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,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
Current State: 58:[60, 52, 10], Operations: ['47-37=10']
Exploring Operation: 60/10=6, Resulting Numbers: [52, 6]
Generated Node #0,0,0: 58:[52, 6] Operation: 60/10=6
Exploring Operation: 52+10=62, Resulting Numbers: [60, 62]
Generated Node #0,0,1: 58:[60, 62] Operation: 52+10=62
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[60, 62], Operations: ['47-37=10', '52+10=62']
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,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,0
Current State: 58:[52, 6], Operations: ['47-37=10', '60/10=6']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[47, 60, 37, 52], Operations: []
Exploring Operation: 47-37=10, Resulting Numbers: [60, 52, 10]
Generated Node #0,0: 58:[60, 52, 10] Operation: 47-37=10
Moving to Node #0,0
Current State: 58:[60, 52, 10], Operations: ['47-37=10']
Exploring Operation: 60/10=6, Resulting Numbers: [52, 6]
Generated Node #0,0,0: 58:[52, 6] Operation: 60/10=6
Moving to Node #0,0,0
Current State: 58:[52, 6], Operations: ['47-37=10', '60/10=6']
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
6,
63,
67,
46
] | 36 | [
"63-6=57",
"67-46=21",
"57-21=36"
] | Current State: 36:[6, 63, 67, 46], Operations: []
Exploring Operation: 63-6=57, Resulting Numbers: [67, 46, 57]
Generated Node #2: [67, 46, 57] from Operation: 63-6=57
Current State: 36:[67, 46, 57], Operations: ['63-6=57']
Exploring Operation: 67-46=21, Resulting Numbers: [57, 21]
Generated Node #3: [57, 21] from Operation: 67-46=21
Current State: 36:[57, 21], Operations: ['63-6=57', '67-46=21']
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[6, 63, 67, 46], Operations: []
Exploring Operation: 67-46=21, Resulting Numbers: [6, 63, 21]
Generated Node #0,0: 36:[6, 63, 21] Operation: 67-46=21
Exploring Operation: 67-63=4, Resulting Numbers: [6, 46, 4]
Generated Node #0,1: 36:[6, 46, 4] Operation: 67-63=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[6, 46, 4], Operations: ['67-63=4']
Exploring Operation: 46-6=40, Resulting Numbers: [4, 40]
Generated Node #0,1,0: 36:[4, 40] Operation: 46-6=40
Exploring Operation: 46-4=42, Resulting Numbers: [6, 42]
Generated Node #0,1,1: 36:[6, 42] Operation: 46-4=42
Moving to Node #0,1,0
Current State: 36:[4, 40], Operations: ['67-63=4', '46-6=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[6, 63, 67, 46], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [6, 46, 4]
Generated Node #0,1: 36:[6, 46, 4] Operation: 67-63=4
Moving to Node #0,1
Current State: 36:[6, 46, 4], Operations: ['67-63=4']
Exploring Operation: 46-6=40, Resulting Numbers: [4, 40]
Generated Node #0,1,0: 36:[4, 40] Operation: 46-6=40
Moving to Node #0,1,0
Current State: 36:[4, 40], Operations: ['67-63=4', '46-6=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
80,
28,
38,
48
] | 20 | [
"48-38=10",
"80/10=8",
"28-8=20"
] | Current State: 20:[80, 28, 38, 48], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [80, 28, 10]
Generated Node #2: [80, 28, 10] from Operation: 48-38=10
Current State: 20:[80, 28, 10], Operations: ['48-38=10']
Exploring Operation: 80/10=8, Resulting Numbers: [28, 8]
Generated Node #3: [28, 8] from Operation: 80/10=8
Current State: 20:[28, 8], Operations: ['48-38=10', '80/10=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[80, 28, 38, 48], Operations: []
Exploring Operation: 48-28=20, Resulting Numbers: [80, 38, 20]
Generated Node #0,0: 20:[80, 38, 20] Operation: 48-28=20
Exploring Operation: 80-28=52, Resulting Numbers: [38, 48, 52]
Generated Node #0,1: 20:[38, 48, 52] Operation: 80-28=52
Exploring Operation: 48-38=10, Resulting Numbers: [80, 28, 10]
Generated Node #0,2: 20:[80, 28, 10] Operation: 48-38=10
Exploring Operation: 80-48=32, Resulting Numbers: [28, 38, 32]
Generated Node #0,3: 20:[28, 38, 32] Operation: 80-48=32
Exploring Operation: 80-38=42, Resulting Numbers: [28, 48, 42]
Generated Node #0,4: 20:[28, 48, 42] Operation: 80-38=42
Moving to Node #0,3
Current State: 20:[28, 38, 32], Operations: ['80-48=32']
Exploring Operation: 32-28=4, Resulting Numbers: [38, 4]
Generated Node #0,3,0: 20:[38, 4] Operation: 32-28=4
Exploring Operation: 28+32=60, Resulting Numbers: [38, 60]
Generated Node #0,3,1: 20:[38, 60] Operation: 28+32=60
Exploring Operation: 38-32=6, Resulting Numbers: [28, 6]
Generated Node #0,3,2: 20:[28, 6] Operation: 38-32=6
Exploring Operation: 38-28=10, Resulting Numbers: [32, 10]
Generated Node #0,3,3: 20:[32, 10] Operation: 38-28=10
Exploring Operation: 28+38=66, Resulting Numbers: [32, 66]
Generated Node #0,3,4: 20:[32, 66] Operation: 28+38=66
Moving to Node #0,4
Current State: 20:[28, 48, 42], Operations: ['80-38=42']
Exploring Operation: 42-28=14, Resulting Numbers: [48, 14]
Generated Node #0,4,0: 20:[48, 14] Operation: 42-28=14
Exploring Operation: 48-28=20, Resulting Numbers: [42, 20]
Generated Node #0,4,1: 20:[42, 20] Operation: 48-28=20
Exploring Operation: 28+42=70, Resulting Numbers: [48, 70]
Generated Node #0,4,2: 20:[48, 70] Operation: 28+42=70
Exploring Operation: 28+48=76, Resulting Numbers: [42, 76]
Generated Node #0,4,3: 20:[42, 76] Operation: 28+48=76
Exploring Operation: 48-42=6, Resulting Numbers: [28, 6]
Generated Node #0,4,4: 20:[28, 6] Operation: 48-42=6
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 20:[28, 6], Operations: ['80-38=42', '48-42=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 20:[42, 20], Operations: ['80-38=42', '48-28=20']
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,20 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 20:[48, 14], Operations: ['80-38=42', '42-28=14']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 20:[48, 70], Operations: ['80-38=42', '28+42=70']
Exploring Operation: 48*70=3360, Resulting Numbers: [3360]
3360,20 unequal: No Solution
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 48+70=118, Resulting Numbers: [118]
118,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 20:[42, 76], Operations: ['80-38=42', '28+48=76']
Exploring Operation: 42*76=3192, Resulting Numbers: [3192]
3192,20 unequal: No Solution
Exploring Operation: 42+76=118, Resulting Numbers: [118]
118,20 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,20 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: 20:[80, 28, 10], Operations: ['48-38=10']
Exploring Operation: 80-28=52, Resulting Numbers: [10, 52]
Generated Node #0,2,0: 20:[10, 52] Operation: 80-28=52
Exploring Operation: 80+10=90, Resulting Numbers: [28, 90]
Generated Node #0,2,1: 20:[28, 90] Operation: 80+10=90
Exploring Operation: 28-10=18, Resulting Numbers: [80, 18]
Generated Node #0,2,2: 20:[80, 18] Operation: 28-10=18
Exploring Operation: 80/10=8, Resulting Numbers: [28, 8]
Generated Node #0,2,3: 20:[28, 8] Operation: 80/10=8
Exploring Operation: 80-10=70, Resulting Numbers: [28, 70]
Generated Node #0,2,4: 20:[28, 70] Operation: 80-10=70
Moving to Node #0,0
Current State: 20:[80, 38, 20], Operations: ['48-28=20']
Exploring Operation: 80+38=118, Resulting Numbers: [20, 118]
Generated Node #0,0,0: 20:[20, 118] Operation: 80+38=118
Exploring Operation: 80-38=42, Resulting Numbers: [20, 42]
Generated Node #0,0,1: 20:[20, 42] Operation: 80-38=42
Exploring Operation: 80/20=4, Resulting Numbers: [38, 4]
Generated Node #0,0,2: 20:[38, 4] Operation: 80/20=4
Exploring Operation: 80-20=60, Resulting Numbers: [38, 60]
Generated Node #0,0,3: 20:[38, 60] Operation: 80-20=60
Exploring Operation: 38-20=18, Resulting Numbers: [80, 18]
Generated Node #0,0,4: 20:[80, 18] Operation: 38-20=18
Moving to Node #0,1
Current State: 20:[38, 48, 52], Operations: ['80-28=52']
Exploring Operation: 38+48=86, Resulting Numbers: [52, 86]
Generated Node #0,1,0: 20:[52, 86] Operation: 38+48=86
Exploring Operation: 52-48=4, Resulting Numbers: [38, 4]
Generated Node #0,1,1: 20:[38, 4] Operation: 52-48=4
Exploring Operation: 38+52=90, Resulting Numbers: [48, 90]
Generated Node #0,1,2: 20:[48, 90] Operation: 38+52=90
Exploring Operation: 48-38=10, Resulting Numbers: [52, 10]
Generated Node #0,1,3: 20:[52, 10] Operation: 48-38=10
Exploring Operation: 52-38=14, Resulting Numbers: [48, 14]
Generated Node #0,1,4: 20:[48, 14] Operation: 52-38=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[38, 4], Operations: ['80-28=52', '52-48=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[52, 10], Operations: ['80-28=52', '48-38=10']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 20:[48, 14], Operations: ['80-28=52', '52-38=14']
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,20 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[52, 86], Operations: ['80-28=52', '38+48=86']
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 52*86=4472, Resulting Numbers: [4472]
4472,20 unequal: No Solution
Exploring Operation: 52+86=138, Resulting Numbers: [138]
138,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[48, 90], Operations: ['80-28=52', '38+52=90']
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 48+90=138, Resulting Numbers: [138]
138,20 unequal: No Solution
Exploring Operation: 48*90=4320, Resulting Numbers: [4320]
4320,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 20:[28, 6], Operations: ['80-48=32', '38-32=6']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[28, 8], Operations: ['48-38=10', '80/10=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[80, 28, 38, 48], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [80, 28, 10]
Generated Node #0,2: 20:[80, 28, 10] Operation: 48-38=10
Moving to Node #0,2
Current State: 20:[80, 28, 10], Operations: ['48-38=10']
Exploring Operation: 80/10=8, Resulting Numbers: [28, 8]
Generated Node #0,2,3: 20:[28, 8] Operation: 80/10=8
Moving to Node #0,2,3
Current State: 20:[28, 8], Operations: ['48-38=10', '80/10=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.940972 | hs_5 | sum_heuristic |
[
46,
67,
36,
69
] | 28 | [
"69-67=2",
"36/2=18",
"46-18=28"
] | Current State: 28:[46, 67, 36, 69], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [46, 36, 2]
Generated Node #2: [46, 36, 2] from Operation: 69-67=2
Current State: 28:[46, 36, 2], Operations: ['69-67=2']
Exploring Operation: 36/2=18, Resulting Numbers: [46, 18]
Generated Node #3: [46, 18] from Operation: 36/2=18
Current State: 28:[46, 18], Operations: ['69-67=2', '36/2=18']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[46, 67, 36, 69], Operations: []
Exploring Operation: 69-46=23, Resulting Numbers: [67, 36, 23]
Generated Node #0,0: 28:[67, 36, 23] Operation: 69-46=23
Exploring Operation: 67-36=31, Resulting Numbers: [46, 69, 31]
Generated Node #0,1: 28:[46, 69, 31] Operation: 67-36=31
Exploring Operation: 67-46=21, Resulting Numbers: [36, 69, 21]
Generated Node #0,2: 28:[36, 69, 21] Operation: 67-46=21
Exploring Operation: 69-36=33, Resulting Numbers: [46, 67, 33]
Generated Node #0,3: 28:[46, 67, 33] Operation: 69-36=33
Exploring Operation: 69-67=2, Resulting Numbers: [46, 36, 2]
Generated Node #0,4: 28:[46, 36, 2] Operation: 69-67=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 28:[46, 36, 2], Operations: ['69-67=2']
Exploring Operation: 46/2=23, Resulting Numbers: [36, 23]
Generated Node #0,4,0: 28:[36, 23] Operation: 46/2=23
Exploring Operation: 36/2=18, Resulting Numbers: [46, 18]
Generated Node #0,4,1: 28:[46, 18] Operation: 36/2=18
Exploring Operation: 36-2=34, Resulting Numbers: [46, 34]
Generated Node #0,4,2: 28:[46, 34] Operation: 36-2=34
Exploring Operation: 46-36=10, Resulting Numbers: [2, 10]
Generated Node #0,4,3: 28:[2, 10] Operation: 46-36=10
Exploring Operation: 46-2=44, Resulting Numbers: [36, 44]
Generated Node #0,4,4: 28:[36, 44] Operation: 46-2=44
Moving to Node #0,4,3
Current State: 28:[2, 10], Operations: ['69-67=2', '46-36=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Moving to Node #0,4,0
Current State: 28:[36, 23], Operations: ['69-67=2', '46/2=23']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,28 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Moving to Node #0,4,1
Current State: 28:[46, 18], Operations: ['69-67=2', '36/2=18']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[46, 67, 36, 69], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [46, 36, 2]
Generated Node #0,4: 28:[46, 36, 2] Operation: 69-67=2
Moving to Node #0,4
Current State: 28:[46, 36, 2], Operations: ['69-67=2']
Exploring Operation: 36/2=18, Resulting Numbers: [46, 18]
Generated Node #0,4,1: 28:[46, 18] Operation: 36/2=18
Moving to Node #0,4,1
Current State: 28:[46, 18], Operations: ['69-67=2', '36/2=18']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
11,
37,
8,
53
] | 29 | [
"11+53=64",
"64/8=8",
"37-8=29"
] | Current State: 29:[11, 37, 8, 53], Operations: []
Exploring Operation: 11+53=64, Resulting Numbers: [37, 8, 64]
Generated Node #2: [37, 8, 64] from Operation: 11+53=64
Current State: 29:[37, 8, 64], Operations: ['11+53=64']
Exploring Operation: 64/8=8, Resulting Numbers: [37, 8]
Generated Node #3: [37, 8] from Operation: 64/8=8
Current State: 29:[37, 8], Operations: ['11+53=64', '64/8=8']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[11, 37, 8, 53], Operations: []
Exploring Operation: 53-11=42, Resulting Numbers: [37, 8, 42]
Generated Node #0,0: 29:[37, 8, 42] Operation: 53-11=42
Exploring Operation: 11+8=19, Resulting Numbers: [37, 53, 19]
Generated Node #0,1: 29:[37, 53, 19] Operation: 11+8=19
Moving to Node #0,0
Current State: 29:[37, 8, 42], Operations: ['53-11=42']
Exploring Operation: 42-8=34, Resulting Numbers: [37, 34]
Generated Node #0,0,0: 29:[37, 34] Operation: 42-8=34
Exploring Operation: 37-8=29, Resulting Numbers: [42, 29]
Generated Node #0,0,1: 29:[42, 29] Operation: 37-8=29
Moving to Node #0,1
Current State: 29:[37, 53, 19], Operations: ['11+8=19']
Exploring Operation: 53-19=34, Resulting Numbers: [37, 34]
Generated Node #0,1,0: 29:[37, 34] Operation: 53-19=34
Exploring Operation: 53-37=16, Resulting Numbers: [19, 16]
Generated Node #0,1,1: 29:[19, 16] Operation: 53-37=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[37, 34], Operations: ['11+8=19', '53-19=34']
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,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:[19, 16], Operations: ['11+8=19', '53-37=16']
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,29 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: 29:[37, 34], Operations: ['53-11=42', '42-8=34']
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[42, 29], Operations: ['53-11=42', '37-8=29']
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,29 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
91,
48,
64,
54
] | 53 | [
"91-48=43",
"64-54=10",
"43+10=53"
] | Current State: 53:[91, 48, 64, 54], Operations: []
Exploring Operation: 91-48=43, Resulting Numbers: [64, 54, 43]
Generated Node #2: [64, 54, 43] from Operation: 91-48=43
Current State: 53:[64, 54, 43], Operations: ['91-48=43']
Exploring Operation: 64-54=10, Resulting Numbers: [43, 10]
Generated Node #3: [43, 10] from Operation: 64-54=10
Current State: 53:[43, 10], Operations: ['91-48=43', '64-54=10']
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[91, 48, 64, 54], Operations: []
Exploring Operation: 91-48=43, Resulting Numbers: [64, 54, 43]
Generated Node #0,0: 53:[64, 54, 43] Operation: 91-48=43
Exploring Operation: 91-64=27, Resulting Numbers: [48, 54, 27]
Generated Node #0,1: 53:[48, 54, 27] Operation: 91-64=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[64, 54, 43], Operations: ['91-48=43']
Exploring Operation: 64-54=10, Resulting Numbers: [43, 10]
Generated Node #0,0,0: 53:[43, 10] Operation: 64-54=10
Exploring Operation: 64-43=21, Resulting Numbers: [54, 21]
Generated Node #0,0,1: 53:[54, 21] Operation: 64-43=21
Moving to Node #0,0,1
Current State: 53:[54, 21], Operations: ['91-48=43', '64-43=21']
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 54+21=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[43, 10], Operations: ['91-48=43', '64-54=10']
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[91, 48, 64, 54], Operations: []
Exploring Operation: 91-48=43, Resulting Numbers: [64, 54, 43]
Generated Node #0,0: 53:[64, 54, 43] Operation: 91-48=43
Moving to Node #0,0
Current State: 53:[64, 54, 43], Operations: ['91-48=43']
Exploring Operation: 64-54=10, Resulting Numbers: [43, 10]
Generated Node #0,0,0: 53:[43, 10] Operation: 64-54=10
Moving to Node #0,0,0
Current State: 53:[43, 10], Operations: ['91-48=43', '64-54=10']
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
93,
31,
14,
49
] | 21 | [
"93/31=3",
"14+49=63",
"63/3=21"
] | Current State: 21:[93, 31, 14, 49], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [14, 49, 3]
Generated Node #2: [14, 49, 3] from Operation: 93/31=3
Current State: 21:[14, 49, 3], Operations: ['93/31=3']
Exploring Operation: 14+49=63, Resulting Numbers: [3, 63]
Generated Node #3: [3, 63] from Operation: 14+49=63
Current State: 21:[3, 63], Operations: ['93/31=3', '14+49=63']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[93, 31, 14, 49], Operations: []
Exploring Operation: 93-49=44, Resulting Numbers: [31, 14, 44]
Generated Node #0,0: 21:[31, 14, 44] Operation: 93-49=44
Exploring Operation: 93/31=3, Resulting Numbers: [14, 49, 3]
Generated Node #0,1: 21:[14, 49, 3] Operation: 93/31=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[14, 49, 3], Operations: ['93/31=3']
Exploring Operation: 14+3=17, Resulting Numbers: [49, 17]
Generated Node #0,1,0: 21:[49, 17] Operation: 14+3=17
Exploring Operation: 49-14=35, Resulting Numbers: [3, 35]
Generated Node #0,1,1: 21:[3, 35] Operation: 49-14=35
Moving to Node #0,1,1
Current State: 21:[3, 35], Operations: ['93/31=3', '49-14=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[49, 17], Operations: ['93/31=3', '14+3=17']
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[31, 14, 44], Operations: ['93-49=44']
Exploring Operation: 44-31=13, Resulting Numbers: [14, 13]
Generated Node #0,0,0: 21:[14, 13] Operation: 44-31=13
Exploring Operation: 44-14=30, Resulting Numbers: [31, 30]
Generated Node #0,0,1: 21:[31, 30] Operation: 44-14=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[14, 13], Operations: ['93-49=44', '44-31=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No 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: 21:[31, 30], Operations: ['93-49=44', '44-14=30']
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,21 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,21 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 |
[
2,
61,
6,
16
] | 73 | [
"2+61=63",
"16-6=10",
"63+10=73"
] | Current State: 73:[2, 61, 6, 16], Operations: []
Exploring Operation: 2+61=63, Resulting Numbers: [6, 16, 63]
Generated Node #2: [6, 16, 63] from Operation: 2+61=63
Current State: 73:[6, 16, 63], Operations: ['2+61=63']
Exploring Operation: 16-6=10, Resulting Numbers: [63, 10]
Generated Node #3: [63, 10] from Operation: 16-6=10
Current State: 73:[63, 10], Operations: ['2+61=63', '16-6=10']
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[2, 61, 6, 16], Operations: []
Exploring Operation: 6*16=96, Resulting Numbers: [2, 61, 96]
Generated Node #0,0: 73:[2, 61, 96] Operation: 6*16=96
Exploring Operation: 2*6=12, Resulting Numbers: [61, 16, 12]
Generated Node #0,1: 73:[61, 16, 12] Operation: 2*6=12
Exploring Operation: 2*16=32, Resulting Numbers: [61, 6, 32]
Generated Node #0,2: 73:[61, 6, 32] Operation: 2*16=32
Moving to Node #0,0
Current State: 73:[2, 61, 96], Operations: ['6*16=96']
Exploring Operation: 61-2=59, Resulting Numbers: [96, 59]
Generated Node #0,0,0: 73:[96, 59] Operation: 61-2=59
Exploring Operation: 96-2=94, Resulting Numbers: [61, 94]
Generated Node #0,0,1: 73:[61, 94] Operation: 96-2=94
Exploring Operation: 2+61=63, Resulting Numbers: [96, 63]
Generated Node #0,0,2: 73:[96, 63] Operation: 2+61=63
Moving to Node #0,2
Current State: 73:[61, 6, 32], Operations: ['2*16=32']
Exploring Operation: 61+6=67, Resulting Numbers: [32, 67]
Generated Node #0,2,0: 73:[32, 67] Operation: 61+6=67
Exploring Operation: 61-6=55, Resulting Numbers: [32, 55]
Generated Node #0,2,1: 73:[32, 55] Operation: 61-6=55
Exploring Operation: 6+32=38, Resulting Numbers: [61, 38]
Generated Node #0,2,2: 73:[61, 38] Operation: 6+32=38
Moving to Node #0,1
Current State: 73:[61, 16, 12], Operations: ['2*6=12']
Exploring Operation: 16+12=28, Resulting Numbers: [61, 28]
Generated Node #0,1,0: 73:[61, 28] Operation: 16+12=28
Exploring Operation: 61+12=73, Resulting Numbers: [16, 73]
Generated Node #0,1,1: 73:[16, 73] Operation: 61+12=73
Exploring Operation: 61+16=77, Resulting Numbers: [12, 77]
Generated Node #0,1,2: 73:[12, 77] Operation: 61+16=77
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[61, 28], Operations: ['2*6=12', '16+12=28']
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 61*28=1708, Resulting Numbers: [1708]
1708,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[16, 73], Operations: ['2*6=12', '61+12=73']
Exploring Operation: 73-16=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 16*73=1168, Resulting Numbers: [1168]
1168,73 unequal: No Solution
Exploring Operation: 16+73=89, Resulting Numbers: [89]
89,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[12, 77], Operations: ['2*6=12', '61+16=77']
Exploring Operation: 12+77=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,73 unequal: No Solution
Exploring Operation: 12*77=924, Resulting Numbers: [924]
924,73 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: 73:[61, 94], Operations: ['6*16=96', '96-2=94']
Exploring Operation: 94-61=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 61+94=155, Resulting Numbers: [155]
155,73 unequal: No Solution
Exploring Operation: 61*94=5734, Resulting Numbers: [5734]
5734,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[96, 63], Operations: ['6*16=96', '2+61=63']
Exploring Operation: 96*63=6048, Resulting Numbers: [6048]
6048,73 unequal: No Solution
Exploring Operation: 96-63=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 96+63=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[96, 59], Operations: ['6*16=96', '61-2=59']
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 96*59=5664, Resulting Numbers: [5664]
5664,73 unequal: No Solution
Exploring Operation: 96+59=155, Resulting Numbers: [155]
155,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[61, 38], Operations: ['2*16=32', '6+32=38']
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,73 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[32, 67], Operations: ['2*16=32', '61+6=67']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 32+67=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 32*67=2144, Resulting Numbers: [2144]
2144,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[32, 55], Operations: ['2*16=32', '61-6=55']
Exploring Operation: 32+55=87, Resulting Numbers: [87]
87,73 unequal: No Solution
Exploring Operation: 32*55=1760, Resulting Numbers: [1760]
1760,73 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,73 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
94,
93,
83,
69
] | 13 | [
"94-93=1",
"83-69=14",
"14-1=13"
] | Current State: 13:[94, 93, 83, 69], Operations: []
Exploring Operation: 94-93=1, Resulting Numbers: [83, 69, 1]
Generated Node #2: [83, 69, 1] from Operation: 94-93=1
Current State: 13:[83, 69, 1], Operations: ['94-93=1']
Exploring Operation: 83-69=14, Resulting Numbers: [1, 14]
Generated Node #3: [1, 14] from Operation: 83-69=14
Current State: 13:[1, 14], Operations: ['94-93=1', '83-69=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[94, 93, 83, 69], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [94, 69, 10]
Generated Node #0,0: 13:[94, 69, 10] Operation: 93-83=10
Exploring Operation: 94-93=1, Resulting Numbers: [83, 69, 1]
Generated Node #0,1: 13:[83, 69, 1] Operation: 94-93=1
Exploring Operation: 94-83=11, Resulting Numbers: [93, 69, 11]
Generated Node #0,2: 13:[93, 69, 11] Operation: 94-83=11
Exploring Operation: 93-69=24, Resulting Numbers: [94, 83, 24]
Generated Node #0,3: 13:[94, 83, 24] Operation: 93-69=24
Exploring Operation: 94-69=25, Resulting Numbers: [93, 83, 25]
Generated Node #0,4: 13:[93, 83, 25] Operation: 94-69=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[83, 69, 1], Operations: ['94-93=1']
Exploring Operation: 83-1=82, Resulting Numbers: [69, 82]
Generated Node #0,1,0: 13:[69, 82] Operation: 83-1=82
Exploring Operation: 69-1=68, Resulting Numbers: [83, 68]
Generated Node #0,1,1: 13:[83, 68] Operation: 69-1=68
Exploring Operation: 83*1=83, Resulting Numbers: [69, 83]
Generated Node #0,1,2: 13:[69, 83] Operation: 83*1=83
Exploring Operation: 83-69=14, Resulting Numbers: [1, 14]
Generated Node #0,1,3: 13:[1, 14] Operation: 83-69=14
Exploring Operation: 83/1=83, Resulting Numbers: [69, 83]
Generated Node #0,1,4: 13:[69, 83] Operation: 83/1=83
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[1, 14], Operations: ['94-93=1', '83-69=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[94, 93, 83, 69], Operations: []
Exploring Operation: 94-93=1, Resulting Numbers: [83, 69, 1]
Generated Node #0,1: 13:[83, 69, 1] Operation: 94-93=1
Moving to Node #0,1
Current State: 13:[83, 69, 1], Operations: ['94-93=1']
Exploring Operation: 83-69=14, Resulting Numbers: [1, 14]
Generated Node #0,1,3: 13:[1, 14] Operation: 83-69=14
Moving to Node #0,1,3
Current State: 13:[1, 14], Operations: ['94-93=1', '83-69=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
30,
1,
27,
69
] | 65 | [
"30+1=31",
"27+69=96",
"96-31=65"
] | Current State: 65:[30, 1, 27, 69], Operations: []
Exploring Operation: 30+1=31, Resulting Numbers: [27, 69, 31]
Generated Node #2: [27, 69, 31] from Operation: 30+1=31
Current State: 65:[27, 69, 31], Operations: ['30+1=31']
Exploring Operation: 27+69=96, Resulting Numbers: [31, 96]
Generated Node #3: [31, 96] from Operation: 27+69=96
Current State: 65:[31, 96], Operations: ['30+1=31', '27+69=96']
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[30, 1, 27, 69], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [1, 69, 3]
Generated Node #0,0: 65:[1, 69, 3] Operation: 30-27=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[1, 69, 3], Operations: ['30-27=3']
Exploring Operation: 69-1=68, Resulting Numbers: [3, 68]
Generated Node #0,0,0: 65:[3, 68] Operation: 69-1=68
Moving to Node #0,0,0
Current State: 65:[3, 68], Operations: ['30-27=3', '69-1=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[30, 1, 27, 69], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [1, 69, 3]
Generated Node #0,0: 65:[1, 69, 3] Operation: 30-27=3
Moving to Node #0,0
Current State: 65:[1, 69, 3], Operations: ['30-27=3']
Exploring Operation: 69-1=68, Resulting Numbers: [3, 68]
Generated Node #0,0,0: 65:[3, 68] Operation: 69-1=68
Moving to Node #0,0,0
Current State: 65:[3, 68], Operations: ['30-27=3', '69-1=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
41,
84,
12,
36
] | 43 | [
"84-12=72",
"72/36=2",
"41+2=43"
] | Current State: 43:[41, 84, 12, 36], Operations: []
Exploring Operation: 84-12=72, Resulting Numbers: [41, 36, 72]
Generated Node #2: [41, 36, 72] from Operation: 84-12=72
Current State: 43:[41, 36, 72], Operations: ['84-12=72']
Exploring Operation: 72/36=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 72/36=2
Current State: 43:[41, 2], Operations: ['84-12=72', '72/36=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[41, 84, 12, 36], Operations: []
Exploring Operation: 84-41=43, Resulting Numbers: [12, 36, 43]
Generated Node #0,0: 43:[12, 36, 43] Operation: 84-41=43
Moving to Node #0,0
Current State: 43:[12, 36, 43], Operations: ['84-41=43']
Exploring Operation: 12+36=48, Resulting Numbers: [43, 48]
Generated Node #0,0,0: 43:[43, 48] Operation: 12+36=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[43, 48], Operations: ['84-41=43', '12+36=48']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,43 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,
44,
84,
26
] | 42 | [
"57-44=13",
"84*13=1092",
"1092/26=42"
] | Current State: 42:[57, 44, 84, 26], Operations: []
Exploring Operation: 57-44=13, Resulting Numbers: [84, 26, 13]
Generated Node #2: [84, 26, 13] from Operation: 57-44=13
Current State: 42:[84, 26, 13], Operations: ['57-44=13']
Exploring Operation: 84*13=1092, Resulting Numbers: [26, 1092]
Generated Node #3: [26, 1092] from Operation: 84*13=1092
Current State: 42:[26, 1092], Operations: ['57-44=13', '84*13=1092']
Exploring Operation: 1092/26=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[57, 44, 84, 26], Operations: []
Exploring Operation: 84-57=27, Resulting Numbers: [44, 26, 27]
Generated Node #0,0: 42:[44, 26, 27] Operation: 84-57=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[44, 26, 27], Operations: ['84-57=27']
Exploring Operation: 27-26=1, Resulting Numbers: [44, 1]
Generated Node #0,0,0: 42:[44, 1] Operation: 27-26=1
Moving to Node #0,0,0
Current State: 42:[44, 1], Operations: ['84-57=27', '27-26=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,42 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 |
[
33,
93,
43,
19
] | 22 | [
"43+19=62",
"33*62=2046",
"2046/93=22"
] | Current State: 22:[33, 93, 43, 19], Operations: []
Exploring Operation: 43+19=62, Resulting Numbers: [33, 93, 62]
Generated Node #2: [33, 93, 62] from Operation: 43+19=62
Current State: 22:[33, 93, 62], Operations: ['43+19=62']
Exploring Operation: 33*62=2046, Resulting Numbers: [93, 2046]
Generated Node #3: [93, 2046] from Operation: 33*62=2046
Current State: 22:[93, 2046], Operations: ['43+19=62', '33*62=2046']
Exploring Operation: 2046/93=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[33, 93, 43, 19], Operations: []
Exploring Operation: 93-43=50, Resulting Numbers: [33, 19, 50]
Generated Node #0,0: 22:[33, 19, 50] Operation: 93-43=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[33, 19, 50], Operations: ['93-43=50']
Exploring Operation: 50-33=17, Resulting Numbers: [19, 17]
Generated Node #0,0,0: 22:[19, 17] Operation: 50-33=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[19, 17], Operations: ['93-43=50', '50-33=17']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
52,
6,
15,
42
] | 53 | [
"42/6=7",
"15*7=105",
"105-52=53"
] | Current State: 53:[52, 6, 15, 42], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [52, 15, 7]
Generated Node #2: [52, 15, 7] from Operation: 42/6=7
Current State: 53:[52, 15, 7], Operations: ['42/6=7']
Exploring Operation: 15*7=105, Resulting Numbers: [52, 105]
Generated Node #3: [52, 105] from Operation: 15*7=105
Current State: 53:[52, 105], Operations: ['42/6=7', '15*7=105']
Exploring Operation: 105-52=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[52, 6, 15, 42], Operations: []
Exploring Operation: 6+15=21, Resulting Numbers: [52, 42, 21]
Generated Node #0,0: 53:[52, 42, 21] Operation: 6+15=21
Moving to Node #0,0
Current State: 53:[52, 42, 21], Operations: ['6+15=21']
Exploring Operation: 42+21=63, Resulting Numbers: [52, 63]
Generated Node #0,0,0: 53:[52, 63] Operation: 42+21=63
Moving to Node #0,0,0
Current State: 53:[52, 63], Operations: ['6+15=21', '42+21=63']
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,53 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
77,
63,
12,
7
] | 32 | [
"77+63=140",
"140/7=20",
"12+20=32"
] | Current State: 32:[77, 63, 12, 7], Operations: []
Exploring Operation: 77+63=140, Resulting Numbers: [12, 7, 140]
Generated Node #2: [12, 7, 140] from Operation: 77+63=140
Current State: 32:[12, 7, 140], Operations: ['77+63=140']
Exploring Operation: 140/7=20, Resulting Numbers: [12, 20]
Generated Node #3: [12, 20] from Operation: 140/7=20
Current State: 32:[12, 20], Operations: ['77+63=140', '140/7=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[77, 63, 12, 7], Operations: []
Exploring Operation: 77-63=14, Resulting Numbers: [12, 7, 14]
Generated Node #0,0: 32:[12, 7, 14] Operation: 77-63=14
Moving to Node #0,0
Current State: 32:[12, 7, 14], Operations: ['77-63=14']
Exploring Operation: 14-12=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 32:[7, 2] Operation: 14-12=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[7, 2], Operations: ['77-63=14', '14-12=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,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 |
[
30,
63,
67,
96
] | 65 | [
"30+96=126",
"126/63=2",
"67-2=65"
] | Current State: 65:[30, 63, 67, 96], Operations: []
Exploring Operation: 30+96=126, Resulting Numbers: [63, 67, 126]
Generated Node #2: [63, 67, 126] from Operation: 30+96=126
Current State: 65:[63, 67, 126], Operations: ['30+96=126']
Exploring Operation: 126/63=2, Resulting Numbers: [67, 2]
Generated Node #3: [67, 2] from Operation: 126/63=2
Current State: 65:[67, 2], Operations: ['30+96=126', '126/63=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[30, 63, 67, 96], Operations: []
Exploring Operation: 96-67=29, Resulting Numbers: [30, 63, 29]
Generated Node #0,0: 65:[30, 63, 29] Operation: 96-67=29
Exploring Operation: 67-63=4, Resulting Numbers: [30, 96, 4]
Generated Node #0,1: 65:[30, 96, 4] Operation: 67-63=4
Exploring Operation: 96-30=66, Resulting Numbers: [63, 67, 66]
Generated Node #0,2: 65:[63, 67, 66] Operation: 96-30=66
Exploring Operation: 96-63=33, Resulting Numbers: [30, 67, 33]
Generated Node #0,3: 65:[30, 67, 33] Operation: 96-63=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[63, 67, 66], Operations: ['96-30=66']
Exploring Operation: 67-66=1, Resulting Numbers: [63, 1]
Generated Node #0,2,0: 65:[63, 1] Operation: 67-66=1
Exploring Operation: 63+67=130, Resulting Numbers: [66, 130]
Generated Node #0,2,1: 65:[66, 130] Operation: 63+67=130
Exploring Operation: 66-63=3, Resulting Numbers: [67, 3]
Generated Node #0,2,2: 65:[67, 3] Operation: 66-63=3
Exploring Operation: 67-63=4, Resulting Numbers: [66, 4]
Generated Node #0,2,3: 65:[66, 4] Operation: 67-63=4
Moving to Node #0,2,3
Current State: 65:[66, 4], Operations: ['96-30=66', '67-63=4']
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,65 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[67, 3], Operations: ['96-30=66', '66-63=3']
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,65 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[63, 1], Operations: ['96-30=66', '67-66=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[66, 130], Operations: ['96-30=66', '63+67=130']
Exploring Operation: 66+130=196, Resulting Numbers: [196]
196,65 unequal: No Solution
Exploring Operation: 130-66=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 66*130=8580, Resulting Numbers: [8580]
8580,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[30, 63, 29], Operations: ['96-67=29']
Exploring Operation: 63-30=33, Resulting Numbers: [29, 33]
Generated Node #0,0,0: 65:[29, 33] Operation: 63-30=33
Exploring Operation: 30-29=1, Resulting Numbers: [63, 1]
Generated Node #0,0,1: 65:[63, 1] Operation: 30-29=1
Exploring Operation: 63-29=34, Resulting Numbers: [30, 34]
Generated Node #0,0,2: 65:[30, 34] Operation: 63-29=34
Exploring Operation: 30+29=59, Resulting Numbers: [63, 59]
Generated Node #0,0,3: 65:[63, 59] Operation: 30+29=59
Moving to Node #0,0,1
Current State: 65:[63, 1], Operations: ['96-67=29', '30-29=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[63, 59], Operations: ['96-67=29', '30+29=59']
Exploring Operation: 63+59=122, Resulting Numbers: [122]
122,65 unequal: No Solution
Exploring Operation: 63*59=3717, Resulting Numbers: [3717]
3717,65 unequal: No Solution
Exploring Operation: 63-59=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[29, 33], Operations: ['96-67=29', '63-30=33']
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,65 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[30, 34], Operations: ['96-67=29', '63-29=34']
Exploring Operation: 30*34=1020, Resulting Numbers: [1020]
1020,65 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[30, 67, 33], Operations: ['96-63=33']
Exploring Operation: 67-30=37, Resulting Numbers: [33, 37]
Generated Node #0,3,0: 65:[33, 37] Operation: 67-30=37
Exploring Operation: 33-30=3, Resulting Numbers: [67, 3]
Generated Node #0,3,1: 65:[67, 3] Operation: 33-30=3
Exploring Operation: 30+33=63, Resulting Numbers: [67, 63]
Generated Node #0,3,2: 65:[67, 63] Operation: 30+33=63
Exploring Operation: 67-33=34, Resulting Numbers: [30, 34]
Generated Node #0,3,3: 65:[30, 34] Operation: 67-33=34
Moving to Node #0,3,1
Current State: 65:[67, 3], Operations: ['96-63=33', '33-30=3']
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,65 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[67, 63], Operations: ['96-63=33', '30+33=63']
Exploring Operation: 67*63=4221, Resulting Numbers: [4221]
4221,65 unequal: No Solution
Exploring Operation: 67+63=130, Resulting Numbers: [130]
130,65 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[30, 34], Operations: ['96-63=33', '67-33=34']
Exploring Operation: 30*34=1020, Resulting Numbers: [1020]
1020,65 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[33, 37], Operations: ['96-63=33', '67-30=37']
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 33*37=1221, Resulting Numbers: [1221]
1221,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[30, 96, 4], Operations: ['67-63=4']
Exploring Operation: 96/4=24, Resulting Numbers: [30, 24]
Generated Node #0,1,0: 65:[30, 24] Operation: 96/4=24
Exploring Operation: 30-4=26, Resulting Numbers: [96, 26]
Generated Node #0,1,1: 65:[96, 26] Operation: 30-4=26
Exploring Operation: 96-30=66, Resulting Numbers: [4, 66]
Generated Node #0,1,2: 65:[4, 66] Operation: 96-30=66
Exploring Operation: 96-4=92, Resulting Numbers: [30, 92]
Generated Node #0,1,3: 65:[30, 92] Operation: 96-4=92
Moving to Node #0,1,2
Current State: 65:[4, 66], Operations: ['67-63=4', '96-30=66']
Exploring Operation: 4+66=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 4*66=264, Resulting Numbers: [264]
264,65 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[30, 24], Operations: ['67-63=4', '96/4=24']
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,65 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[30, 92], Operations: ['67-63=4', '96-4=92']
Exploring Operation: 30*92=2760, Resulting Numbers: [2760]
2760,65 unequal: No Solution
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 30+92=122, Resulting Numbers: [122]
122,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[96, 26], Operations: ['67-63=4', '30-4=26']
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 96+26=122, Resulting Numbers: [122]
122,65 unequal: No Solution
Exploring Operation: 96*26=2496, Resulting Numbers: [2496]
2496,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
86,
4,
42,
36
] | 41 | [
"86+42=128",
"36+128=164",
"164/4=41"
] | Current State: 41:[86, 4, 42, 36], Operations: []
Exploring Operation: 86+42=128, Resulting Numbers: [4, 36, 128]
Generated Node #2: [4, 36, 128] from Operation: 86+42=128
Current State: 41:[4, 36, 128], Operations: ['86+42=128']
Exploring Operation: 36+128=164, Resulting Numbers: [4, 164]
Generated Node #3: [4, 164] from Operation: 36+128=164
Current State: 41:[4, 164], Operations: ['86+42=128', '36+128=164']
Exploring Operation: 164/4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[86, 4, 42, 36], Operations: []
Exploring Operation: 86-4=82, Resulting Numbers: [42, 36, 82]
Generated Node #0,0: 41:[42, 36, 82] Operation: 86-4=82
Exploring Operation: 4+36=40, Resulting Numbers: [86, 42, 40]
Generated Node #0,1: 41:[86, 42, 40] Operation: 4+36=40
Exploring Operation: 86-42=44, Resulting Numbers: [4, 36, 44]
Generated Node #0,2: 41:[4, 36, 44] Operation: 86-42=44
Exploring Operation: 42-4=38, Resulting Numbers: [86, 36, 38]
Generated Node #0,3: 41:[86, 36, 38] Operation: 42-4=38
Exploring Operation: 86-36=50, Resulting Numbers: [4, 42, 50]
Generated Node #0,4: 41:[4, 42, 50] Operation: 86-36=50
Moving to Node #0,2
Current State: 41:[4, 36, 44], Operations: ['86-42=44']
Exploring Operation: 36/4=9, Resulting Numbers: [44, 9]
Generated Node #0,2,0: 41:[44, 9] Operation: 36/4=9
Exploring Operation: 4+36=40, Resulting Numbers: [44, 40]
Generated Node #0,2,1: 41:[44, 40] Operation: 4+36=40
Exploring Operation: 44-4=40, Resulting Numbers: [36, 40]
Generated Node #0,2,2: 41:[36, 40] Operation: 44-4=40
Exploring Operation: 4+44=48, Resulting Numbers: [36, 48]
Generated Node #0,2,3: 41:[36, 48] Operation: 4+44=48
Exploring Operation: 36-4=32, Resulting Numbers: [44, 32]
Generated Node #0,2,4: 41:[44, 32] Operation: 36-4=32
Moving to Node #0,1
Current State: 41:[86, 42, 40], Operations: ['4+36=40']
Exploring Operation: 42-40=2, Resulting Numbers: [86, 2]
Generated Node #0,1,0: 41:[86, 2] Operation: 42-40=2
Exploring Operation: 86-40=46, Resulting Numbers: [42, 46]
Generated Node #0,1,1: 41:[42, 46] Operation: 86-40=46
Exploring Operation: 86-42=44, Resulting Numbers: [40, 44]
Generated Node #0,1,2: 41:[40, 44] Operation: 86-42=44
Exploring Operation: 42+40=82, Resulting Numbers: [86, 82]
Generated Node #0,1,3: 41:[86, 82] Operation: 42+40=82
Exploring Operation: 86+40=126, Resulting Numbers: [42, 126]
Generated Node #0,1,4: 41:[42, 126] Operation: 86+40=126
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[40, 44], Operations: ['4+36=40', '86-42=44']
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 40*44=1760, Resulting Numbers: [1760]
1760,41 unequal: No Solution
Exploring Operation: 40+44=84, Resulting Numbers: [84]
84,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[42, 46], Operations: ['4+36=40', '86-40=46']
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,41 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[86, 2], Operations: ['4+36=40', '42-40=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,41 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[86, 82], Operations: ['4+36=40', '42+40=82']
Exploring Operation: 86*82=7052, Resulting Numbers: [7052]
7052,41 unequal: No Solution
Exploring Operation: 86-82=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 86+82=168, Resulting Numbers: [168]
168,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 41:[42, 126], Operations: ['4+36=40', '86+40=126']
Exploring Operation: 126/42=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 42+126=168, Resulting Numbers: [168]
168,41 unequal: No Solution
Exploring Operation: 42*126=5292, Resulting Numbers: [5292]
5292,41 unequal: No Solution
Exploring Operation: 126-42=84, Resulting Numbers: [84]
84,41 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: 41:[42, 36, 82], Operations: ['86-4=82']
Exploring Operation: 42-36=6, Resulting Numbers: [82, 6]
Generated Node #0,0,0: 41:[82, 6] Operation: 42-36=6
Exploring Operation: 36+82=118, Resulting Numbers: [42, 118]
Generated Node #0,0,1: 41:[42, 118] Operation: 36+82=118
Exploring Operation: 82-36=46, Resulting Numbers: [42, 46]
Generated Node #0,0,2: 41:[42, 46] Operation: 82-36=46
Exploring Operation: 82-42=40, Resulting Numbers: [36, 40]
Generated Node #0,0,3: 41:[36, 40] Operation: 82-42=40
Exploring Operation: 42+36=78, Resulting Numbers: [82, 78]
Generated Node #0,0,4: 41:[82, 78] Operation: 42+36=78
Moving to Node #0,4
Current State: 41:[4, 42, 50], Operations: ['86-36=50']
Exploring Operation: 42-4=38, Resulting Numbers: [50, 38]
Generated Node #0,4,0: 41:[50, 38] Operation: 42-4=38
Exploring Operation: 4+50=54, Resulting Numbers: [42, 54]
Generated Node #0,4,1: 41:[42, 54] Operation: 4+50=54
Exploring Operation: 50-4=46, Resulting Numbers: [42, 46]
Generated Node #0,4,2: 41:[42, 46] Operation: 50-4=46
Exploring Operation: 50-42=8, Resulting Numbers: [4, 8]
Generated Node #0,4,3: 41:[4, 8] Operation: 50-42=8
Exploring Operation: 4+42=46, Resulting Numbers: [50, 46]
Generated Node #0,4,4: 41:[50, 46] Operation: 4+42=46
Moving to Node #0,3
Current State: 41:[86, 36, 38], Operations: ['42-4=38']
Exploring Operation: 38-36=2, Resulting Numbers: [86, 2]
Generated Node #0,3,0: 41:[86, 2] Operation: 38-36=2
Exploring Operation: 36+38=74, Resulting Numbers: [86, 74]
Generated Node #0,3,1: 41:[86, 74] Operation: 36+38=74
Exploring Operation: 86-38=48, Resulting Numbers: [36, 48]
Generated Node #0,3,2: 41:[36, 48] Operation: 86-38=48
Exploring Operation: 86-36=50, Resulting Numbers: [38, 50]
Generated Node #0,3,3: 41:[38, 50] Operation: 86-36=50
Exploring Operation: 86+36=122, Resulting Numbers: [38, 122]
Generated Node #0,3,4: 41:[38, 122] Operation: 86+36=122
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[36, 48], Operations: ['42-4=38', '86-38=48']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 36*48=1728, Resulting Numbers: [1728]
1728,41 unequal: No Solution
Exploring Operation: 36+48=84, Resulting Numbers: [84]
84,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[38, 50], Operations: ['42-4=38', '86-36=50']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[86, 74], Operations: ['42-4=38', '36+38=74']
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 86*74=6364, Resulting Numbers: [6364]
6364,41 unequal: No Solution
Exploring Operation: 86+74=160, Resulting Numbers: [160]
160,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[86, 2], Operations: ['42-4=38', '38-36=2']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 41:[38, 122], Operations: ['42-4=38', '86+36=122']
Exploring Operation: 38+122=160, Resulting Numbers: [160]
160,41 unequal: No Solution
Exploring Operation: 38*122=4636, Resulting Numbers: [4636]
4636,41 unequal: No Solution
Exploring Operation: 122-38=84, Resulting Numbers: [84]
84,41 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: 41:[44, 40], Operations: ['86-42=44', '4+36=40']
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[42, 46], Operations: ['86-4=82', '82-36=46']
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,41 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[36, 40], Operations: ['86-4=82', '82-42=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[36, 40], Operations: ['86-42=44', '44-4=40']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,41 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Moving to Node #0,4,2
Current State: 41:[42, 46], Operations: ['86-36=50', '50-4=46']
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,41 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[36, 48], Operations: ['86-42=44', '4+44=48']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 36+48=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 36*48=1728, Resulting Numbers: [1728]
1728,41 unequal: No Solution
Moving to Node #0,4,0
Current State: 41:[50, 38], Operations: ['86-36=50', '42-4=38']
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,41 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[44, 32], Operations: ['86-42=44', '36-4=32']
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,41 unequal: No Solution
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Moving to Node #0,4,4
Current State: 41:[50, 46], Operations: ['86-36=50', '4+42=46']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,41 unequal: No Solution
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Moving to Node #0,4,1
Current State: 41:[42, 54], Operations: ['86-36=50', '4+50=54']
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 42*54=2268, Resulting Numbers: [2268]
2268,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[44, 9], Operations: ['86-42=44', '36/4=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[4, 8], Operations: ['86-36=50', '50-42=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[82, 6], Operations: ['86-4=82', '42-36=6']
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,41 unequal: No Solution
Moving to Node #0,0,4
Current State: 41:[82, 78], Operations: ['86-4=82', '42+36=78']
Exploring Operation: 82*78=6396, Resulting Numbers: [6396]
6396,41 unequal: No Solution
Exploring Operation: 82-78=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 82+78=160, Resulting Numbers: [160]
160,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[42, 118], Operations: ['86-4=82', '36+82=118']
Exploring Operation: 42+118=160, Resulting Numbers: [160]
160,41 unequal: No Solution
Exploring Operation: 118-42=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 42*118=4956, Resulting Numbers: [4956]
4956,41 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
33,
85,
48,
49
] | 51 | [
"85-33=52",
"49-48=1",
"52-1=51"
] | Current State: 51:[33, 85, 48, 49], Operations: []
Exploring Operation: 85-33=52, Resulting Numbers: [48, 49, 52]
Generated Node #2: [48, 49, 52] from Operation: 85-33=52
Current State: 51:[48, 49, 52], Operations: ['85-33=52']
Exploring Operation: 49-48=1, Resulting Numbers: [52, 1]
Generated Node #3: [52, 1] from Operation: 49-48=1
Current State: 51:[52, 1], Operations: ['85-33=52', '49-48=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[33, 85, 48, 49], Operations: []
Exploring Operation: 49-33=16, Resulting Numbers: [85, 48, 16]
Generated Node #0,0: 51:[85, 48, 16] Operation: 49-33=16
Exploring Operation: 85-49=36, Resulting Numbers: [33, 48, 36]
Generated Node #0,1: 51:[33, 48, 36] Operation: 85-49=36
Exploring Operation: 48-33=15, Resulting Numbers: [85, 49, 15]
Generated Node #0,2: 51:[85, 49, 15] Operation: 48-33=15
Exploring Operation: 85-48=37, Resulting Numbers: [33, 49, 37]
Generated Node #0,3: 51:[33, 49, 37] Operation: 85-48=37
Exploring Operation: 85-33=52, Resulting Numbers: [48, 49, 52]
Generated Node #0,4: 51:[48, 49, 52] Operation: 85-33=52
Moving to Node #0,4
Current State: 51:[48, 49, 52], Operations: ['85-33=52']
Exploring Operation: 52-49=3, Resulting Numbers: [48, 3]
Generated Node #0,4,0: 51:[48, 3] Operation: 52-49=3
Exploring Operation: 48+49=97, Resulting Numbers: [52, 97]
Generated Node #0,4,1: 51:[52, 97] Operation: 48+49=97
Exploring Operation: 48+52=100, Resulting Numbers: [49, 100]
Generated Node #0,4,2: 51:[49, 100] Operation: 48+52=100
Exploring Operation: 52-48=4, Resulting Numbers: [49, 4]
Generated Node #0,4,3: 51:[49, 4] Operation: 52-48=4
Exploring Operation: 49-48=1, Resulting Numbers: [52, 1]
Generated Node #0,4,4: 51:[52, 1] Operation: 49-48=1
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 51:[48, 3], Operations: ['85-33=52', '52-49=3']
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,51 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,51 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[33, 85, 48, 49], Operations: []
Exploring Operation: 85-33=52, Resulting Numbers: [48, 49, 52]
Generated Node #0,4: 51:[48, 49, 52] Operation: 85-33=52
Moving to Node #0,4
Current State: 51:[48, 49, 52], Operations: ['85-33=52']
Exploring Operation: 52-49=3, Resulting Numbers: [48, 3]
Generated Node #0,4,0: 51:[48, 3] Operation: 52-49=3
Moving to Node #0,4,0
Current State: 51:[48, 3], Operations: ['85-33=52', '52-49=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
19,
21,
16,
21
] | 13 | [
"21-19=2",
"16/2=8",
"21-8=13"
] | Current State: 13:[19, 21, 16, 21], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [16, 2]
Generated Node #2: [16, 2] from Operation: 21-19=2
Current State: 13:[16, 2], Operations: ['21-19=2']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,13 equal: Goal Reached
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[19, 21, 16, 21], Operations: []
Exploring Operation: 21/21=1, Resulting Numbers: [19, 16, 1]
Generated Node #0,0: 13:[19, 16, 1] Operation: 21/21=1
Exploring Operation: 21-16=5, Resulting Numbers: [19, 21, 5]
Generated Node #0,1: 13:[19, 21, 5] Operation: 21-16=5
Exploring Operation: 21-19=2, Resulting Numbers: [21, 16, 2]
Generated Node #0,2: 13:[21, 16, 2] Operation: 21-19=2
Exploring Operation: 21-19=2, Resulting Numbers: [16, 21, 2]
Generated Node #0,3: 13:[16, 21, 2] Operation: 21-19=2
Moving to Node #0,0
Current State: 13:[19, 16, 1], Operations: ['21/21=1']
Exploring Operation: 19/1=19, Resulting Numbers: [16, 19]
Generated Node #0,0,0: 13:[16, 19] Operation: 19/1=19
Exploring Operation: 16-1=15, Resulting Numbers: [19, 15]
Generated Node #0,0,1: 13:[19, 15] Operation: 16-1=15
Exploring Operation: 19-1=18, Resulting Numbers: [16, 18]
Generated Node #0,0,2: 13:[16, 18] Operation: 19-1=18
Exploring Operation: 19*1=19, Resulting Numbers: [16, 19]
Generated Node #0,0,3: 13:[16, 19] Operation: 19*1=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[19, 15], Operations: ['21/21=1', '16-1=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,13 unequal: No Solution
No 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: 13:[16, 18], Operations: ['21/21=1', '19-1=18']
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,13 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,13 unequal: No Solution
No 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: 13:[16, 19], Operations: ['21/21=1', '19/1=19']
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,13 unequal: No Solution
No 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: 13:[16, 19], Operations: ['21/21=1', '19*1=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,13 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,13 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: 13:[21, 16, 2], Operations: ['21-19=2']
Exploring Operation: 21+2=23, Resulting Numbers: [16, 23]
Generated Node #0,2,0: 13:[16, 23] Operation: 21+2=23
Exploring Operation: 16-2=14, Resulting Numbers: [21, 14]
Generated Node #0,2,1: 13:[21, 14] Operation: 16-2=14
Exploring Operation: 16+2=18, Resulting Numbers: [21, 18]
Generated Node #0,2,2: 13:[21, 18] Operation: 16+2=18
Exploring Operation: 21-2=19, Resulting Numbers: [16, 19]
Generated Node #0,2,3: 13:[16, 19] Operation: 21-2=19
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[21, 14], Operations: ['21-19=2', '16-2=14']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,13 unequal: No Solution
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,13 unequal: No Solution
No 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: 13:[16, 19], Operations: ['21-19=2', '21-2=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,13 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[16, 23], Operations: ['21-19=2', '21+2=23']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,13 unequal: No Solution
No 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: 13:[21, 18], Operations: ['21-19=2', '16+2=18']
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,13 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,13 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: 13:[19, 21, 5], Operations: ['21-16=5']
Exploring Operation: 21-5=16, Resulting Numbers: [19, 16]
Generated Node #0,1,0: 13:[19, 16] Operation: 21-5=16
Exploring Operation: 21-19=2, Resulting Numbers: [5, 2]
Generated Node #0,1,1: 13:[5, 2] Operation: 21-19=2
Exploring Operation: 19+5=24, Resulting Numbers: [21, 24]
Generated Node #0,1,2: 13:[21, 24] Operation: 19+5=24
Exploring Operation: 19-5=14, Resulting Numbers: [21, 14]
Generated Node #0,1,3: 13:[21, 14] Operation: 19-5=14
Moving to Node #0,3
Current State: 13:[16, 21, 2], Operations: ['21-19=2']
Exploring Operation: 16/2=8, Resulting Numbers: [21, 8]
Generated Node #0,3,0: 13:[21, 8] Operation: 16/2=8
Exploring Operation: 16-2=14, Resulting Numbers: [21, 14]
Generated Node #0,3,1: 13:[21, 14] Operation: 16-2=14
Exploring Operation: 16+2=18, Resulting Numbers: [21, 18]
Generated Node #0,3,2: 13:[21, 18] Operation: 16+2=18
Exploring Operation: 21-2=19, Resulting Numbers: [16, 19]
Generated Node #0,3,3: 13:[16, 19] Operation: 21-2=19
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 13:[21, 14], Operations: ['21-19=2', '16-2=14']
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,13 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,13 unequal: No Solution
No 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: 13:[16, 19], Operations: ['21-19=2', '21-2=19']
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,13 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,13 unequal: No Solution
No 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: 13:[21, 8], Operations: ['21-19=2', '16/2=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[19, 21, 16, 21], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [16, 21, 2]
Generated Node #0,3: 13:[16, 21, 2] Operation: 21-19=2
Moving to Node #0,3
Current State: 13:[16, 21, 2], Operations: ['21-19=2']
Exploring Operation: 16/2=8, Resulting Numbers: [21, 8]
Generated Node #0,3,0: 13:[21, 8] Operation: 16/2=8
Moving to Node #0,3,0
Current State: 13:[21, 8], Operations: ['21-19=2', '16/2=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_4 | mult_heuristic |
[
78,
50,
41,
3
] | 81 | [
"50-41=9",
"9/3=3",
"78+3=81"
] | Current State: 81:[78, 50, 41, 3], Operations: []
Exploring Operation: 50-41=9, Resulting Numbers: [78, 3, 9]
Generated Node #2: [78, 3, 9] from Operation: 50-41=9
Current State: 81:[78, 3, 9], Operations: ['50-41=9']
Exploring Operation: 9/3=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 9/3=3
Current State: 81:[78, 3], Operations: ['50-41=9', '9/3=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[78, 50, 41, 3], Operations: []
Exploring Operation: 78-50=28, Resulting Numbers: [41, 3, 28]
Generated Node #0,0: 81:[41, 3, 28] Operation: 78-50=28
Exploring Operation: 50+41=91, Resulting Numbers: [78, 3, 91]
Generated Node #0,1: 81:[78, 3, 91] Operation: 50+41=91
Exploring Operation: 50-41=9, Resulting Numbers: [78, 3, 9]
Generated Node #0,2: 81:[78, 3, 9] Operation: 50-41=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[78, 3, 9], Operations: ['50-41=9']
Exploring Operation: 78+3=81, Resulting Numbers: [9, 81]
Generated Node #0,2,0: 81:[9, 81] Operation: 78+3=81
Exploring Operation: 78/3=26, Resulting Numbers: [9, 26]
Generated Node #0,2,1: 81:[9, 26] Operation: 78/3=26
Exploring Operation: 3*9=27, Resulting Numbers: [78, 27]
Generated Node #0,2,2: 81:[78, 27] Operation: 3*9=27
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 81:[9, 81], Operations: ['50-41=9', '78+3=81']
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 9+81=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,81 unequal: No Solution
No 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: 81:[9, 26], Operations: ['50-41=9', '78/3=26']
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,81 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,81 unequal: No Solution
No 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: 81:[78, 27], Operations: ['50-41=9', '3*9=27']
Exploring Operation: 78-27=51, Resulting Numbers: [51]
51,81 unequal: No Solution
Exploring Operation: 78*27=2106, Resulting Numbers: [2106]
2106,81 unequal: No Solution
Exploring Operation: 78+27=105, Resulting Numbers: [105]
105,81 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: 81:[78, 3, 91], Operations: ['50+41=91']
Exploring Operation: 91-78=13, Resulting Numbers: [3, 13]
Generated Node #0,1,0: 81:[3, 13] Operation: 91-78=13
Exploring Operation: 78+3=81, Resulting Numbers: [91, 81]
Generated Node #0,1,1: 81:[91, 81] Operation: 78+3=81
Exploring Operation: 91-3=88, Resulting Numbers: [78, 88]
Generated Node #0,1,2: 81:[78, 88] Operation: 91-3=88
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[3, 13], Operations: ['50+41=91', '91-78=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,81 unequal: No Solution
No 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: 81:[91, 81], Operations: ['50+41=91', '78+3=81']
Exploring Operation: 91+81=172, Resulting Numbers: [172]
172,81 unequal: No Solution
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 91*81=7371, Resulting Numbers: [7371]
7371,81 unequal: No Solution
No 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: 81:[78, 88], Operations: ['50+41=91', '91-3=88']
Exploring Operation: 78+88=166, Resulting Numbers: [166]
166,81 unequal: No Solution
Exploring Operation: 78*88=6864, Resulting Numbers: [6864]
6864,81 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,81 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: 81:[41, 3, 28], Operations: ['78-50=28']
Exploring Operation: 41-28=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 81:[3, 13] Operation: 41-28=13
Exploring Operation: 41+28=69, Resulting Numbers: [3, 69]
Generated Node #0,0,1: 81:[3, 69] Operation: 41+28=69
Exploring Operation: 41-3=38, Resulting Numbers: [28, 38]
Generated Node #0,0,2: 81:[28, 38] Operation: 41-3=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[3, 13], Operations: ['78-50=28', '41-28=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,81 unequal: No Solution
No 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: 81:[3, 69], Operations: ['78-50=28', '41+28=69']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,81 unequal: No Solution
No 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: 81:[28, 38], Operations: ['78-50=28', '41-3=38']
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
58,
34,
76,
1
] | 15 | [
"58+34=92",
"76+1=77",
"92-77=15"
] | Current State: 15:[58, 34, 76, 1], Operations: []
Exploring Operation: 58+34=92, Resulting Numbers: [76, 1, 92]
Generated Node #2: [76, 1, 92] from Operation: 58+34=92
Current State: 15:[76, 1, 92], Operations: ['58+34=92']
Exploring Operation: 76+1=77, Resulting Numbers: [92, 77]
Generated Node #3: [92, 77] from Operation: 76+1=77
Current State: 15:[92, 77], Operations: ['58+34=92', '76+1=77']
Exploring Operation: 92-77=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[58, 34, 76, 1], Operations: []
Exploring Operation: 58-34=24, Resulting Numbers: [76, 1, 24]
Generated Node #0,0: 15:[76, 1, 24] Operation: 58-34=24
Exploring Operation: 76-58=18, Resulting Numbers: [34, 1, 18]
Generated Node #0,1: 15:[34, 1, 18] Operation: 76-58=18
Exploring Operation: 58-1=57, Resulting Numbers: [34, 76, 57]
Generated Node #0,2: 15:[34, 76, 57] Operation: 58-1=57
Exploring Operation: 34-1=33, Resulting Numbers: [58, 76, 33]
Generated Node #0,3: 15:[58, 76, 33] Operation: 34-1=33
Exploring Operation: 76-34=42, Resulting Numbers: [58, 1, 42]
Generated Node #0,4: 15:[58, 1, 42] Operation: 76-34=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[34, 1, 18], Operations: ['76-58=18']
Exploring Operation: 34*1=34, Resulting Numbers: [18, 34]
Generated Node #0,1,0: 15:[18, 34] Operation: 34*1=34
Exploring Operation: 34-1=33, Resulting Numbers: [18, 33]
Generated Node #0,1,1: 15:[18, 33] Operation: 34-1=33
Exploring Operation: 18-1=17, Resulting Numbers: [34, 17]
Generated Node #0,1,2: 15:[34, 17] Operation: 18-1=17
Exploring Operation: 34-18=16, Resulting Numbers: [1, 16]
Generated Node #0,1,3: 15:[1, 16] Operation: 34-18=16
Exploring Operation: 34/1=34, Resulting Numbers: [18, 34]
Generated Node #0,1,4: 15:[18, 34] Operation: 34/1=34
Moving to Node #0,1,3
Current State: 15:[1, 16], Operations: ['76-58=18', '34-18=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[58, 34, 76, 1], Operations: []
Exploring Operation: 76-58=18, Resulting Numbers: [34, 1, 18]
Generated Node #0,1: 15:[34, 1, 18] Operation: 76-58=18
Moving to Node #0,1
Current State: 15:[34, 1, 18], Operations: ['76-58=18']
Exploring Operation: 34-18=16, Resulting Numbers: [1, 16]
Generated Node #0,1,3: 15:[1, 16] Operation: 34-18=16
Moving to Node #0,1,3
Current State: 15:[1, 16], Operations: ['76-58=18', '34-18=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
70,
34,
90,
9
] | 94 | [
"70+34=104",
"90/9=10",
"104-10=94"
] | Current State: 94:[70, 34, 90, 9], Operations: []
Exploring Operation: 70+34=104, Resulting Numbers: [90, 9, 104]
Generated Node #2: [90, 9, 104] from Operation: 70+34=104
Current State: 94:[90, 9, 104], Operations: ['70+34=104']
Exploring Operation: 90/9=10, Resulting Numbers: [104, 10]
Generated Node #3: [104, 10] from Operation: 90/9=10
Current State: 94:[104, 10], Operations: ['70+34=104', '90/9=10']
Exploring Operation: 104-10=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[70, 34, 90, 9], Operations: []
Exploring Operation: 70-34=36, Resulting Numbers: [90, 9, 36]
Generated Node #0,0: 94:[90, 9, 36] Operation: 70-34=36
Exploring Operation: 70+34=104, Resulting Numbers: [90, 9, 104]
Generated Node #0,1: 94:[90, 9, 104] Operation: 70+34=104
Moving to Node #0,1
Current State: 94:[90, 9, 104], Operations: ['70+34=104']
Exploring Operation: 104-9=95, Resulting Numbers: [90, 95]
Generated Node #0,1,0: 94:[90, 95] Operation: 104-9=95
Exploring Operation: 90+9=99, Resulting Numbers: [104, 99]
Generated Node #0,1,1: 94:[104, 99] Operation: 90+9=99
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[90, 95], Operations: ['70+34=104', '104-9=95']
Exploring Operation: 90+95=185, Resulting Numbers: [185]
185,94 unequal: No Solution
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[104, 99], Operations: ['70+34=104', '90+9=99']
Exploring Operation: 104-99=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 104+99=203, Resulting Numbers: [203]
203,94 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: 94:[90, 9, 36], Operations: ['70-34=36']
Exploring Operation: 36/9=4, Resulting Numbers: [90, 4]
Generated Node #0,0,0: 94:[90, 4] Operation: 36/9=4
Exploring Operation: 9+36=45, Resulting Numbers: [90, 45]
Generated Node #0,0,1: 94:[90, 45] Operation: 9+36=45
Moving to Node #0,0,0
Current State: 94:[90, 4], Operations: ['70-34=36', '36/9=4']
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[70, 34, 90, 9], Operations: []
Exploring Operation: 70-34=36, Resulting Numbers: [90, 9, 36]
Generated Node #0,0: 94:[90, 9, 36] Operation: 70-34=36
Moving to Node #0,0
Current State: 94:[90, 9, 36], Operations: ['70-34=36']
Exploring Operation: 36/9=4, Resulting Numbers: [90, 4]
Generated Node #0,0,0: 94:[90, 4] Operation: 36/9=4
Moving to Node #0,0,0
Current State: 94:[90, 4], Operations: ['70-34=36', '36/9=4']
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
6,
5,
23,
62
] | 50 | [
"6+5=11",
"62-23=39",
"11+39=50"
] | Current State: 50:[6, 5, 23, 62], Operations: []
Exploring Operation: 6+5=11, Resulting Numbers: [23, 62, 11]
Generated Node #2: [23, 62, 11] from Operation: 6+5=11
Current State: 50:[23, 62, 11], Operations: ['6+5=11']
Exploring Operation: 62-23=39, Resulting Numbers: [11, 39]
Generated Node #3: [11, 39] from Operation: 62-23=39
Current State: 50:[11, 39], Operations: ['6+5=11', '62-23=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[6, 5, 23, 62], Operations: []
Exploring Operation: 62-6=56, Resulting Numbers: [5, 23, 56]
Generated Node #0,0: 50:[5, 23, 56] Operation: 62-6=56
Exploring Operation: 6-5=1, Resulting Numbers: [23, 62, 1]
Generated Node #0,1: 50:[23, 62, 1] Operation: 6-5=1
Exploring Operation: 62-5=57, Resulting Numbers: [6, 23, 57]
Generated Node #0,2: 50:[6, 23, 57] Operation: 62-5=57
Exploring Operation: 6+5=11, Resulting Numbers: [23, 62, 11]
Generated Node #0,3: 50:[23, 62, 11] Operation: 6+5=11
Exploring Operation: 62-23=39, Resulting Numbers: [6, 5, 39]
Generated Node #0,4: 50:[6, 5, 39] Operation: 62-23=39
Moving to Node #0,0
Current State: 50:[5, 23, 56], Operations: ['62-6=56']
Exploring Operation: 56-23=33, Resulting Numbers: [5, 33]
Generated Node #0,0,0: 50:[5, 33] Operation: 56-23=33
Exploring Operation: 5+23=28, Resulting Numbers: [56, 28]
Generated Node #0,0,1: 50:[56, 28] Operation: 5+23=28
Exploring Operation: 23-5=18, Resulting Numbers: [56, 18]
Generated Node #0,0,2: 50:[56, 18] Operation: 23-5=18
Exploring Operation: 5+56=61, Resulting Numbers: [23, 61]
Generated Node #0,0,3: 50:[23, 61] Operation: 5+56=61
Exploring Operation: 56-5=51, Resulting Numbers: [23, 51]
Generated Node #0,0,4: 50:[23, 51] Operation: 56-5=51
Moving to Node #0,2
Current State: 50:[6, 23, 57], Operations: ['62-5=57']
Exploring Operation: 57-23=34, Resulting Numbers: [6, 34]
Generated Node #0,2,0: 50:[6, 34] Operation: 57-23=34
Exploring Operation: 23-6=17, Resulting Numbers: [57, 17]
Generated Node #0,2,1: 50:[57, 17] Operation: 23-6=17
Exploring Operation: 6+57=63, Resulting Numbers: [23, 63]
Generated Node #0,2,2: 50:[23, 63] Operation: 6+57=63
Exploring Operation: 57-6=51, Resulting Numbers: [23, 51]
Generated Node #0,2,3: 50:[23, 51] Operation: 57-6=51
Exploring Operation: 6+23=29, Resulting Numbers: [57, 29]
Generated Node #0,2,4: 50:[57, 29] Operation: 6+23=29
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 50:[23, 51], Operations: ['62-5=57', '57-6=51']
Exploring Operation: 23+51=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 23*51=1173, Resulting Numbers: [1173]
1173,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[6, 34], Operations: ['62-5=57', '57-23=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 50:[57, 29], Operations: ['62-5=57', '6+23=29']
Exploring Operation: 57*29=1653, Resulting Numbers: [1653]
1653,50 unequal: No Solution
Exploring Operation: 57+29=86, Resulting Numbers: [86]
86,50 unequal: No Solution
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[57, 17], Operations: ['62-5=57', '23-6=17']
Exploring Operation: 57+17=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 57*17=969, Resulting Numbers: [969]
969,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[23, 63], Operations: ['62-5=57', '6+57=63']
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,50 unequal: No Solution
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,50 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,50 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: 50:[6, 5, 39], Operations: ['62-23=39']
Exploring Operation: 5+39=44, Resulting Numbers: [6, 44]
Generated Node #0,4,0: 50:[6, 44] Operation: 5+39=44
Exploring Operation: 6+39=45, Resulting Numbers: [5, 45]
Generated Node #0,4,1: 50:[5, 45] Operation: 6+39=45
Exploring Operation: 39-6=33, Resulting Numbers: [5, 33]
Generated Node #0,4,2: 50:[5, 33] Operation: 39-6=33
Exploring Operation: 39-5=34, Resulting Numbers: [6, 34]
Generated Node #0,4,3: 50:[6, 34] Operation: 39-5=34
Exploring Operation: 6+5=11, Resulting Numbers: [39, 11]
Generated Node #0,4,4: 50:[39, 11] Operation: 6+5=11
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 50:[5, 45], Operations: ['62-23=39', '6+39=45']
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 5*45=225, Resulting Numbers: [225]
225,50 unequal: No Solution
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[6, 5, 23, 62], Operations: []
Exploring Operation: 62-23=39, Resulting Numbers: [6, 5, 39]
Generated Node #0,4: 50:[6, 5, 39] Operation: 62-23=39
Moving to Node #0,4
Current State: 50:[6, 5, 39], Operations: ['62-23=39']
Exploring Operation: 6+39=45, Resulting Numbers: [5, 45]
Generated Node #0,4,1: 50:[5, 45] Operation: 6+39=45
Moving to Node #0,4,1
Current State: 50:[5, 45], Operations: ['62-23=39', '6+39=45']
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | mult_heuristic |
[
81,
10,
35,
94
] | 50 | [
"81+94=175",
"10*175=1750",
"1750/35=50"
] | Current State: 50:[81, 10, 35, 94], Operations: []
Exploring Operation: 81+94=175, Resulting Numbers: [10, 35, 175]
Generated Node #2: [10, 35, 175] from Operation: 81+94=175
Current State: 50:[10, 35, 175], Operations: ['81+94=175']
Exploring Operation: 10*175=1750, Resulting Numbers: [35, 1750]
Generated Node #3: [35, 1750] from Operation: 10*175=1750
Current State: 50:[35, 1750], Operations: ['81+94=175', '10*175=1750']
Exploring Operation: 1750/35=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[81, 10, 35, 94], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [10, 35, 13]
Generated Node #0,0: 50:[10, 35, 13] Operation: 94-81=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[10, 35, 13], Operations: ['94-81=13']
Exploring Operation: 35+13=48, Resulting Numbers: [10, 48]
Generated Node #0,0,0: 50:[10, 48] Operation: 35+13=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[10, 48], Operations: ['94-81=13', '35+13=48']
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,50 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 |
[
30,
72,
53,
73
] | 82 | [
"30+72=102",
"73-53=20",
"102-20=82"
] | Current State: 82:[30, 72, 53, 73], Operations: []
Exploring Operation: 30+72=102, Resulting Numbers: [53, 73, 102]
Generated Node #2: [53, 73, 102] from Operation: 30+72=102
Current State: 82:[53, 73, 102], Operations: ['30+72=102']
Exploring Operation: 73-53=20, Resulting Numbers: [102, 20]
Generated Node #3: [102, 20] from Operation: 73-53=20
Current State: 82:[102, 20], Operations: ['30+72=102', '73-53=20']
Exploring Operation: 102-20=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[30, 72, 53, 73], Operations: []
Exploring Operation: 30+53=83, Resulting Numbers: [72, 73, 83]
Generated Node #0,0: 82:[72, 73, 83] Operation: 30+53=83
Moving to Node #0,0
Current State: 82:[72, 73, 83], Operations: ['30+53=83']
Exploring Operation: 73-72=1, Resulting Numbers: [83, 1]
Generated Node #0,0,0: 82:[83, 1] Operation: 73-72=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[83, 1], Operations: ['30+53=83', '73-72=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[30, 72, 53, 73], Operations: []
Exploring Operation: 30+53=83, Resulting Numbers: [72, 73, 83]
Generated Node #0,0: 82:[72, 73, 83] Operation: 30+53=83
Moving to Node #0,0
Current State: 82:[72, 73, 83], Operations: ['30+53=83']
Exploring Operation: 73-72=1, Resulting Numbers: [83, 1]
Generated Node #0,0,0: 82:[83, 1] Operation: 73-72=1
Moving to Node #0,0,0
Current State: 82:[83, 1], Operations: ['30+53=83', '73-72=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
8,
62,
17,
5
] | 93 | [
"17-5=12",
"62*12=744",
"744/8=93"
] | Current State: 93:[8, 62, 17, 5], Operations: []
Exploring Operation: 17-5=12, Resulting Numbers: [8, 62, 12]
Generated Node #2: [8, 62, 12] from Operation: 17-5=12
Current State: 93:[8, 62, 12], Operations: ['17-5=12']
Exploring Operation: 62*12=744, Resulting Numbers: [8, 744]
Generated Node #3: [8, 744] from Operation: 62*12=744
Current State: 93:[8, 744], Operations: ['17-5=12', '62*12=744']
Exploring Operation: 744/8=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[8, 62, 17, 5], Operations: []
Exploring Operation: 62+17=79, Resulting Numbers: [8, 5, 79]
Generated Node #0,0: 93:[8, 5, 79] Operation: 62+17=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[8, 5, 79], Operations: ['62+17=79']
Exploring Operation: 8+79=87, Resulting Numbers: [5, 87]
Generated Node #0,0,0: 93:[5, 87] Operation: 8+79=87
Moving to Node #0,0,0
Current State: 93:[5, 87], Operations: ['62+17=79', '8+79=87']
Exploring Operation: 5+87=92, Resulting Numbers: [92]
92,93 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 |
[
76,
23,
75,
72
] | 95 | [
"76-75=1",
"23+72=95",
"1*95=95"
] | Current State: 95:[76, 23, 75, 72], Operations: []
Exploring Operation: 76-75=1, Resulting Numbers: [23, 72, 1]
Generated Node #2: [23, 72, 1] from Operation: 76-75=1
Current State: 95:[23, 72, 1], Operations: ['76-75=1']
Exploring Operation: 23+72=95, Resulting Numbers: [1, 95]
Generated Node #3: [1, 95] from Operation: 23+72=95
Current State: 95:[1, 95], Operations: ['76-75=1', '23+72=95']
Exploring Operation: 1*95=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[76, 23, 75, 72], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [23, 75, 4]
Generated Node #0,0: 95:[23, 75, 4] Operation: 76-72=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[23, 75, 4], Operations: ['76-72=4']
Exploring Operation: 23+75=98, Resulting Numbers: [4, 98]
Generated Node #0,0,0: 95:[4, 98] Operation: 23+75=98
Moving to Node #0,0,0
Current State: 95:[4, 98], Operations: ['76-72=4', '23+75=98']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
93,
33,
73,
78
] | 65 | [
"93-33=60",
"78-73=5",
"60+5=65"
] | Current State: 65:[93, 33, 73, 78], Operations: []
Exploring Operation: 93-33=60, Resulting Numbers: [73, 78, 60]
Generated Node #2: [73, 78, 60] from Operation: 93-33=60
Current State: 65:[73, 78, 60], Operations: ['93-33=60']
Exploring Operation: 78-73=5, Resulting Numbers: [60, 5]
Generated Node #3: [60, 5] from Operation: 78-73=5
Current State: 65:[60, 5], Operations: ['93-33=60', '78-73=5']
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[93, 33, 73, 78], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [93, 33, 5]
Generated Node #0,0: 65:[93, 33, 5] Operation: 78-73=5
Exploring Operation: 93-78=15, Resulting Numbers: [33, 73, 15]
Generated Node #0,1: 65:[33, 73, 15] Operation: 93-78=15
Exploring Operation: 93-73=20, Resulting Numbers: [33, 78, 20]
Generated Node #0,2: 65:[33, 78, 20] Operation: 93-73=20
Exploring Operation: 93-33=60, Resulting Numbers: [73, 78, 60]
Generated Node #0,3: 65:[73, 78, 60] Operation: 93-33=60
Moving to Node #0,3
Current State: 65:[73, 78, 60], Operations: ['93-33=60']
Exploring Operation: 78-73=5, Resulting Numbers: [60, 5]
Generated Node #0,3,0: 65:[60, 5] Operation: 78-73=5
Exploring Operation: 78-60=18, Resulting Numbers: [73, 18]
Generated Node #0,3,1: 65:[73, 18] Operation: 78-60=18
Exploring Operation: 73-60=13, Resulting Numbers: [78, 13]
Generated Node #0,3,2: 65:[78, 13] Operation: 73-60=13
Exploring Operation: 73+60=133, Resulting Numbers: [78, 133]
Generated Node #0,3,3: 65:[78, 133] Operation: 73+60=133
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[60, 5], Operations: ['93-33=60', '78-73=5']
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[93, 33, 73, 78], Operations: []
Exploring Operation: 93-33=60, Resulting Numbers: [73, 78, 60]
Generated Node #0,3: 65:[73, 78, 60] Operation: 93-33=60
Moving to Node #0,3
Current State: 65:[73, 78, 60], Operations: ['93-33=60']
Exploring Operation: 78-73=5, Resulting Numbers: [60, 5]
Generated Node #0,3,0: 65:[60, 5] Operation: 78-73=5
Moving to Node #0,3,0
Current State: 65:[60, 5], Operations: ['93-33=60', '78-73=5']
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
49,
65,
49,
34
] | 30 | [
"49/49=1",
"65-34=31",
"31-1=30"
] | Current State: 30:[49, 65, 49, 34], Operations: []
Exploring Operation: 49/49=1, Resulting Numbers: [65, 34, 1]
Generated Node #2: [65, 34, 1] from Operation: 49/49=1
Current State: 30:[65, 34, 1], Operations: ['49/49=1']
Exploring Operation: 65-34=31, Resulting Numbers: [1, 31]
Generated Node #3: [1, 31] from Operation: 65-34=31
Current State: 30:[1, 31], Operations: ['49/49=1', '65-34=31']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[49, 65, 49, 34], Operations: []
Exploring Operation: 49/49=1, Resulting Numbers: [65, 34, 1]
Generated Node #0,0: 30:[65, 34, 1] Operation: 49/49=1
Exploring Operation: 49-49=0, Resulting Numbers: [65, 34, 0]
Generated Node #0,1: 30:[65, 34, 0] Operation: 49-49=0
Exploring Operation: 65-49=16, Resulting Numbers: [49, 34, 16]
Generated Node #0,2: 30:[49, 34, 16] Operation: 65-49=16
Exploring Operation: 65-34=31, Resulting Numbers: [49, 49, 31]
Generated Node #0,3: 30:[49, 49, 31] Operation: 65-34=31
Exploring Operation: 65-49=16, Resulting Numbers: [49, 34, 16]
Generated Node #0,4: 30:[49, 34, 16] Operation: 65-49=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[49, 34, 16], Operations: ['65-49=16']
Exploring Operation: 34+16=50, Resulting Numbers: [49, 50]
Generated Node #0,2,0: 30:[49, 50] Operation: 34+16=50
Exploring Operation: 49+16=65, Resulting Numbers: [34, 65]
Generated Node #0,2,1: 30:[34, 65] Operation: 49+16=65
Exploring Operation: 49-34=15, Resulting Numbers: [16, 15]
Generated Node #0,2,2: 30:[16, 15] Operation: 49-34=15
Exploring Operation: 34-16=18, Resulting Numbers: [49, 18]
Generated Node #0,2,3: 30:[49, 18] Operation: 34-16=18
Exploring Operation: 49-16=33, Resulting Numbers: [34, 33]
Generated Node #0,2,4: 30:[34, 33] Operation: 49-16=33
Moving to Node #0,2,2
Current State: 30:[16, 15], Operations: ['65-49=16', '49-34=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,30 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Moving to Node #0,2,4
Current State: 30:[34, 33], Operations: ['65-49=16', '49-16=33']
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,30 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,2,3
Current State: 30:[49, 18], Operations: ['65-49=16', '34-16=18']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[49, 50], Operations: ['65-49=16', '34+16=50']
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,30 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[34, 65], Operations: ['65-49=16', '49+16=65']
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,30 unequal: No Solution
Exploring Operation: 34*65=2210, Resulting Numbers: [2210]
2210,30 unequal: No Solution
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,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,4
Current State: 30:[49, 34, 16], Operations: ['65-49=16']
Exploring Operation: 49-34=15, Resulting Numbers: [16, 15]
Generated Node #0,4,0: 30:[16, 15] Operation: 49-34=15
Exploring Operation: 49+16=65, Resulting Numbers: [34, 65]
Generated Node #0,4,1: 30:[34, 65] Operation: 49+16=65
Exploring Operation: 34+16=50, Resulting Numbers: [49, 50]
Generated Node #0,4,2: 30:[49, 50] Operation: 34+16=50
Exploring Operation: 49-16=33, Resulting Numbers: [34, 33]
Generated Node #0,4,3: 30:[34, 33] Operation: 49-16=33
Exploring Operation: 34-16=18, Resulting Numbers: [49, 18]
Generated Node #0,4,4: 30:[49, 18] Operation: 34-16=18
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 30:[16, 15], Operations: ['65-49=16', '49-34=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,30 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,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,4,3
Current State: 30:[34, 33], Operations: ['65-49=16', '49-16=33']
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,30 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,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,4,4
Current State: 30:[49, 18], Operations: ['65-49=16', '34-16=18']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,30 unequal: No Solution
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,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,4,1
Current State: 30:[34, 65], Operations: ['65-49=16', '49+16=65']
Exploring Operation: 34*65=2210, Resulting Numbers: [2210]
2210,30 unequal: No Solution
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,30 unequal: No Solution
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,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,4,2
Current State: 30:[49, 50], Operations: ['65-49=16', '34+16=50']
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,30 unequal: No Solution
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[49, 49, 31], Operations: ['65-34=31']
Exploring Operation: 49+49=98, Resulting Numbers: [31, 98]
Generated Node #0,3,0: 30:[31, 98] Operation: 49+49=98
Exploring Operation: 49/49=1, Resulting Numbers: [31, 1]
Generated Node #0,3,1: 30:[31, 1] Operation: 49/49=1
Exploring Operation: 49-31=18, Resulting Numbers: [49, 18]
Generated Node #0,3,2: 30:[49, 18] Operation: 49-31=18
Exploring Operation: 49-31=18, Resulting Numbers: [49, 18]
Generated Node #0,3,3: 30:[49, 18] Operation: 49-31=18
Exploring Operation: 49-49=0, Resulting Numbers: [31, 0]
Generated Node #0,3,4: 30:[31, 0] Operation: 49-49=0
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 30:[31, 1], Operations: ['65-34=31', '49/49=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[49, 65, 49, 34], Operations: []
Exploring Operation: 65-34=31, Resulting Numbers: [49, 49, 31]
Generated Node #0,3: 30:[49, 49, 31] Operation: 65-34=31
Moving to Node #0,3
Current State: 30:[49, 49, 31], Operations: ['65-34=31']
Exploring Operation: 49/49=1, Resulting Numbers: [31, 1]
Generated Node #0,3,1: 30:[31, 1] Operation: 49/49=1
Moving to Node #0,3,1
Current State: 30:[31, 1], Operations: ['65-34=31', '49/49=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | mult_heuristic |
[
3,
65,
61,
30
] | 12 | [
"65+61=126",
"126/3=42",
"42-30=12"
] | Current State: 12:[3, 65, 61, 30], Operations: []
Exploring Operation: 65+61=126, Resulting Numbers: [3, 30, 126]
Generated Node #2: [3, 30, 126] from Operation: 65+61=126
Current State: 12:[3, 30, 126], Operations: ['65+61=126']
Exploring Operation: 126/3=42, Resulting Numbers: [30, 42]
Generated Node #3: [30, 42] from Operation: 126/3=42
Current State: 12:[30, 42], Operations: ['65+61=126', '126/3=42']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[3, 65, 61, 30], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [3, 30, 4]
Generated Node #0,0: 12:[3, 30, 4] Operation: 65-61=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[3, 30, 4], Operations: ['65-61=4']
Exploring Operation: 30/3=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 12:[4, 10] Operation: 30/3=10
Moving to Node #0,0,0
Current State: 12:[4, 10], Operations: ['65-61=4', '30/3=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,12 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 |
[
84,
34,
80,
94
] | 56 | [
"84+34=118",
"80+94=174",
"174-118=56"
] | Current State: 56:[84, 34, 80, 94], Operations: []
Exploring Operation: 84+34=118, Resulting Numbers: [80, 94, 118]
Generated Node #2: [80, 94, 118] from Operation: 84+34=118
Current State: 56:[80, 94, 118], Operations: ['84+34=118']
Exploring Operation: 80+94=174, Resulting Numbers: [118, 174]
Generated Node #3: [118, 174] from Operation: 80+94=174
Current State: 56:[118, 174], Operations: ['84+34=118', '80+94=174']
Exploring Operation: 174-118=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[84, 34, 80, 94], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [34, 94, 4]
Generated Node #0,0: 56:[34, 94, 4] Operation: 84-80=4
Exploring Operation: 94-80=14, Resulting Numbers: [84, 34, 14]
Generated Node #0,1: 56:[84, 34, 14] Operation: 94-80=14
Exploring Operation: 94-34=60, Resulting Numbers: [84, 80, 60]
Generated Node #0,2: 56:[84, 80, 60] Operation: 94-34=60
Exploring Operation: 94-84=10, Resulting Numbers: [34, 80, 10]
Generated Node #0,3: 56:[34, 80, 10] Operation: 94-84=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[34, 80, 10], Operations: ['94-84=10']
Exploring Operation: 80-10=70, Resulting Numbers: [34, 70]
Generated Node #0,3,0: 56:[34, 70] Operation: 80-10=70
Exploring Operation: 34-10=24, Resulting Numbers: [80, 24]
Generated Node #0,3,1: 56:[80, 24] Operation: 34-10=24
Exploring Operation: 80-34=46, Resulting Numbers: [10, 46]
Generated Node #0,3,2: 56:[10, 46] Operation: 80-34=46
Exploring Operation: 80/10=8, Resulting Numbers: [34, 8]
Generated Node #0,3,3: 56:[34, 8] Operation: 80/10=8
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 56:[34, 8], Operations: ['94-84=10', '80/10=8']
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,56 unequal: No Solution
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,56 unequal: No Solution
No 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: 56:[10, 46], Operations: ['94-84=10', '80-34=46']
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,56 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[84, 34, 80, 94], Operations: []
Exploring Operation: 94-84=10, Resulting Numbers: [34, 80, 10]
Generated Node #0,3: 56:[34, 80, 10] Operation: 94-84=10
Moving to Node #0,3
Current State: 56:[34, 80, 10], Operations: ['94-84=10']
Exploring Operation: 80-34=46, Resulting Numbers: [10, 46]
Generated Node #0,3,2: 56:[10, 46] Operation: 80-34=46
Moving to Node #0,3,2
Current State: 56:[10, 46], Operations: ['94-84=10', '80-34=46']
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
12,
78,
66,
26
] | 51 | [
"66-12=54",
"78/26=3",
"54-3=51"
] | Current State: 51:[12, 78, 66, 26], Operations: []
Exploring Operation: 66-12=54, Resulting Numbers: [78, 26, 54]
Generated Node #2: [78, 26, 54] from Operation: 66-12=54
Current State: 51:[78, 26, 54], Operations: ['66-12=54']
Exploring Operation: 78/26=3, Resulting Numbers: [54, 3]
Generated Node #3: [54, 3] from Operation: 78/26=3
Current State: 51:[54, 3], Operations: ['66-12=54', '78/26=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[12, 78, 66, 26], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [12, 66, 3]
Generated Node #0,0: 51:[12, 66, 3] Operation: 78/26=3
Exploring Operation: 78-66=12, Resulting Numbers: [12, 26, 12]
Generated Node #0,1: 51:[12, 26, 12] Operation: 78-66=12
Moving to Node #0,1
Current State: 51:[12, 26, 12], Operations: ['78-66=12']
Exploring Operation: 26-12=14, Resulting Numbers: [12, 14]
Generated Node #0,1,0: 51:[12, 14] Operation: 26-12=14
Exploring Operation: 26-12=14, Resulting Numbers: [12, 14]
Generated Node #0,1,1: 51:[12, 14] Operation: 26-12=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[12, 14], Operations: ['78-66=12', '26-12=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[12, 14], Operations: ['78-66=12', '26-12=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 51:[12, 66, 3], Operations: ['78/26=3']
Exploring Operation: 66-12=54, Resulting Numbers: [3, 54]
Generated Node #0,0,0: 51:[3, 54] Operation: 66-12=54
Exploring Operation: 66/3=22, Resulting Numbers: [12, 22]
Generated Node #0,0,1: 51:[12, 22] Operation: 66/3=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[3, 54], Operations: ['78/26=3', '66-12=54']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[12, 78, 66, 26], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [12, 66, 3]
Generated Node #0,0: 51:[12, 66, 3] Operation: 78/26=3
Moving to Node #0,0
Current State: 51:[12, 66, 3], Operations: ['78/26=3']
Exploring Operation: 66-12=54, Resulting Numbers: [3, 54]
Generated Node #0,0,0: 51:[3, 54] Operation: 66-12=54
Moving to Node #0,0,0
Current State: 51:[3, 54], Operations: ['78/26=3', '66-12=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
30,
10,
65,
42
] | 20 | [
"30/10=3",
"65-42=23",
"23-3=20"
] | Current State: 20:[30, 10, 65, 42], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [65, 42, 3]
Generated Node #2: [65, 42, 3] from Operation: 30/10=3
Current State: 20:[65, 42, 3], Operations: ['30/10=3']
Exploring Operation: 65-42=23, Resulting Numbers: [3, 23]
Generated Node #3: [3, 23] from Operation: 65-42=23
Current State: 20:[3, 23], Operations: ['30/10=3', '65-42=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[30, 10, 65, 42], Operations: []
Exploring Operation: 65-10=55, Resulting Numbers: [30, 42, 55]
Generated Node #0,0: 20:[30, 42, 55] Operation: 65-10=55
Exploring Operation: 65-30=35, Resulting Numbers: [10, 42, 35]
Generated Node #0,1: 20:[10, 42, 35] Operation: 65-30=35
Exploring Operation: 30-10=20, Resulting Numbers: [65, 42, 20]
Generated Node #0,2: 20:[65, 42, 20] Operation: 30-10=20
Exploring Operation: 65-42=23, Resulting Numbers: [30, 10, 23]
Generated Node #0,3: 20:[30, 10, 23] Operation: 65-42=23
Exploring Operation: 42-30=12, Resulting Numbers: [10, 65, 12]
Generated Node #0,4: 20:[10, 65, 12] Operation: 42-30=12
Moving to Node #0,3
Current State: 20:[30, 10, 23], Operations: ['65-42=23']
Exploring Operation: 30-23=7, Resulting Numbers: [10, 7]
Generated Node #0,3,0: 20:[10, 7] Operation: 30-23=7
Exploring Operation: 23-10=13, Resulting Numbers: [30, 13]
Generated Node #0,3,1: 20:[30, 13] Operation: 23-10=13
Exploring Operation: 30+10=40, Resulting Numbers: [23, 40]
Generated Node #0,3,2: 20:[23, 40] Operation: 30+10=40
Exploring Operation: 30/10=3, Resulting Numbers: [23, 3]
Generated Node #0,3,3: 20:[23, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [23, 20]
Generated Node #0,3,4: 20:[23, 20] Operation: 30-10=20
Moving to Node #0,1
Current State: 20:[10, 42, 35], Operations: ['65-30=35']
Exploring Operation: 10+35=45, Resulting Numbers: [42, 45]
Generated Node #0,1,0: 20:[42, 45] Operation: 10+35=45
Exploring Operation: 42-10=32, Resulting Numbers: [35, 32]
Generated Node #0,1,1: 20:[35, 32] Operation: 42-10=32
Exploring Operation: 10+42=52, Resulting Numbers: [35, 52]
Generated Node #0,1,2: 20:[35, 52] Operation: 10+42=52
Exploring Operation: 35-10=25, Resulting Numbers: [42, 25]
Generated Node #0,1,3: 20:[42, 25] Operation: 35-10=25
Exploring Operation: 42-35=7, Resulting Numbers: [10, 7]
Generated Node #0,1,4: 20:[10, 7] Operation: 42-35=7
Moving to Node #0,4
Current State: 20:[10, 65, 12], Operations: ['42-30=12']
Exploring Operation: 65-10=55, Resulting Numbers: [12, 55]
Generated Node #0,4,0: 20:[12, 55] Operation: 65-10=55
Exploring Operation: 10+12=22, Resulting Numbers: [65, 22]
Generated Node #0,4,1: 20:[65, 22] Operation: 10+12=22
Exploring Operation: 12-10=2, Resulting Numbers: [65, 2]
Generated Node #0,4,2: 20:[65, 2] Operation: 12-10=2
Exploring Operation: 10+65=75, Resulting Numbers: [12, 75]
Generated Node #0,4,3: 20:[12, 75] Operation: 10+65=75
Exploring Operation: 65-12=53, Resulting Numbers: [10, 53]
Generated Node #0,4,4: 20:[10, 53] Operation: 65-12=53
Moving to Node #0,0
Current State: 20:[30, 42, 55], Operations: ['65-10=55']
Exploring Operation: 30+55=85, Resulting Numbers: [42, 85]
Generated Node #0,0,0: 20:[42, 85] Operation: 30+55=85
Exploring Operation: 42-30=12, Resulting Numbers: [55, 12]
Generated Node #0,0,1: 20:[55, 12] Operation: 42-30=12
Exploring Operation: 55-30=25, Resulting Numbers: [42, 25]
Generated Node #0,0,2: 20:[42, 25] Operation: 55-30=25
Exploring Operation: 55-42=13, Resulting Numbers: [30, 13]
Generated Node #0,0,3: 20:[30, 13] Operation: 55-42=13
Exploring Operation: 30+42=72, Resulting Numbers: [55, 72]
Generated Node #0,0,4: 20:[55, 72] Operation: 30+42=72
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[30, 13], Operations: ['65-10=55', '55-42=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[42, 25], Operations: ['65-10=55', '55-30=25']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,20 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[55, 12], Operations: ['65-10=55', '42-30=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,20 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[42, 85], Operations: ['65-10=55', '30+55=85']
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,20 unequal: No Solution
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 20:[55, 72], Operations: ['65-10=55', '30+42=72']
Exploring Operation: 55*72=3960, Resulting Numbers: [3960]
3960,20 unequal: No Solution
Exploring Operation: 55+72=127, Resulting Numbers: [127]
127,20 unequal: No Solution
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,20 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: 20:[65, 42, 20], Operations: ['30-10=20']
Exploring Operation: 42-20=22, Resulting Numbers: [65, 22]
Generated Node #0,2,0: 20:[65, 22] Operation: 42-20=22
Exploring Operation: 65+20=85, Resulting Numbers: [42, 85]
Generated Node #0,2,1: 20:[42, 85] Operation: 65+20=85
Exploring Operation: 65-20=45, Resulting Numbers: [42, 45]
Generated Node #0,2,2: 20:[42, 45] Operation: 65-20=45
Exploring Operation: 65-42=23, Resulting Numbers: [20, 23]
Generated Node #0,2,3: 20:[20, 23] Operation: 65-42=23
Exploring Operation: 65+42=107, Resulting Numbers: [20, 107]
Generated Node #0,2,4: 20:[20, 107] Operation: 65+42=107
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[20, 23], Operations: ['30-10=20', '65-42=23']
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,20 unequal: No Solution
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[65, 22], Operations: ['30-10=20', '42-20=22']
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,20 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[42, 45], Operations: ['30-10=20', '65-20=45']
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 42*45=1890, Resulting Numbers: [1890]
1890,20 unequal: No Solution
Exploring Operation: 42+45=87, Resulting Numbers: [87]
87,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[42, 85], Operations: ['30-10=20', '65+20=85']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,20 unequal: No Solution
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 20:[20, 107], Operations: ['30-10=20', '65+42=107']
Exploring Operation: 20+107=127, Resulting Numbers: [127]
127,20 unequal: No Solution
Exploring Operation: 20*107=2140, Resulting Numbers: [2140]
2140,20 unequal: No Solution
Exploring Operation: 107-20=87, Resulting Numbers: [87]
87,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 20:[10, 7], Operations: ['65-42=23', '30-23=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,20 unequal: No Solution
Moving to Node #0,1,4
Current State: 20:[10, 7], Operations: ['65-30=35', '42-35=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,20 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Moving to Node #0,3,4
Current State: 20:[23, 20], Operations: ['65-42=23', '30-10=20']
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 23*20=460, Resulting Numbers: [460]
460,20 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[23, 3], Operations: ['65-42=23', '30/10=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[30, 10, 65, 42], Operations: []
Exploring Operation: 65-42=23, Resulting Numbers: [30, 10, 23]
Generated Node #0,3: 20:[30, 10, 23] Operation: 65-42=23
Moving to Node #0,3
Current State: 20:[30, 10, 23], Operations: ['65-42=23']
Exploring Operation: 30/10=3, Resulting Numbers: [23, 3]
Generated Node #0,3,3: 20:[23, 3] Operation: 30/10=3
Moving to Node #0,3,3
Current State: 20:[23, 3], Operations: ['65-42=23', '30/10=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.934896 | hs_5 | mult_heuristic |
[
21,
11,
83,
38
] | 89 | [
"21+11=32",
"83+38=121",
"121-32=89"
] | Current State: 89:[21, 11, 83, 38], Operations: []
Exploring Operation: 21+11=32, Resulting Numbers: [83, 38, 32]
Generated Node #2: [83, 38, 32] from Operation: 21+11=32
Current State: 89:[83, 38, 32], Operations: ['21+11=32']
Exploring Operation: 83+38=121, Resulting Numbers: [32, 121]
Generated Node #3: [32, 121] from Operation: 83+38=121
Current State: 89:[32, 121], Operations: ['21+11=32', '83+38=121']
Exploring Operation: 121-32=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[21, 11, 83, 38], Operations: []
Exploring Operation: 21+11=32, Resulting Numbers: [83, 38, 32]
Generated Node #0,0: 89:[83, 38, 32] Operation: 21+11=32
Exploring Operation: 21+38=59, Resulting Numbers: [11, 83, 59]
Generated Node #0,1: 89:[11, 83, 59] Operation: 21+38=59
Exploring Operation: 11+38=49, Resulting Numbers: [21, 83, 49]
Generated Node #0,2: 89:[21, 83, 49] Operation: 11+38=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[83, 38, 32], Operations: ['21+11=32']
Exploring Operation: 38+32=70, Resulting Numbers: [83, 70]
Generated Node #0,0,0: 89:[83, 70] Operation: 38+32=70
Exploring Operation: 83+38=121, Resulting Numbers: [32, 121]
Generated Node #0,0,1: 89:[32, 121] Operation: 83+38=121
Exploring Operation: 83+32=115, Resulting Numbers: [38, 115]
Generated Node #0,0,2: 89:[38, 115] Operation: 83+32=115
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[83, 70], Operations: ['21+11=32', '38+32=70']
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,89 unequal: No Solution
Exploring Operation: 83+70=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Exploring Operation: 83*70=5810, Resulting Numbers: [5810]
5810,89 unequal: No Solution
No 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: 89:[38, 115], Operations: ['21+11=32', '83+32=115']
Exploring Operation: 38*115=4370, Resulting Numbers: [4370]
4370,89 unequal: No Solution
Exploring Operation: 115-38=77, Resulting Numbers: [77]
77,89 unequal: No Solution
Exploring Operation: 38+115=153, Resulting Numbers: [153]
153,89 unequal: No Solution
No 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: 89:[32, 121], Operations: ['21+11=32', '83+38=121']
Exploring Operation: 32+121=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Exploring Operation: 32*121=3872, Resulting Numbers: [3872]
3872,89 unequal: No Solution
Exploring Operation: 121-32=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[21, 11, 83, 38], Operations: []
Exploring Operation: 21+11=32, Resulting Numbers: [83, 38, 32]
Generated Node #0,0: 89:[83, 38, 32] Operation: 21+11=32
Moving to Node #0,0
Current State: 89:[83, 38, 32], Operations: ['21+11=32']
Exploring Operation: 83+38=121, Resulting Numbers: [32, 121]
Generated Node #0,0,1: 89:[32, 121] Operation: 83+38=121
Moving to Node #0,0,1
Current State: 89:[32, 121], Operations: ['21+11=32', '83+38=121']
Exploring Operation: 121-32=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
60,
36,
59,
66
] | 57 | [
"66-36=30",
"60/30=2",
"59-2=57"
] | Current State: 57:[60, 36, 59, 66], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [60, 59, 30]
Generated Node #2: [60, 59, 30] from Operation: 66-36=30
Current State: 57:[60, 59, 30], Operations: ['66-36=30']
Exploring Operation: 60/30=2, Resulting Numbers: [59, 2]
Generated Node #3: [59, 2] from Operation: 60/30=2
Current State: 57:[59, 2], Operations: ['66-36=30', '60/30=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[60, 36, 59, 66], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [59, 66, 24]
Generated Node #0,0: 57:[59, 66, 24] Operation: 60-36=24
Exploring Operation: 66-60=6, Resulting Numbers: [36, 59, 6]
Generated Node #0,1: 57:[36, 59, 6] Operation: 66-60=6
Exploring Operation: 59-36=23, Resulting Numbers: [60, 66, 23]
Generated Node #0,2: 57:[60, 66, 23] Operation: 59-36=23
Exploring Operation: 66-59=7, Resulting Numbers: [60, 36, 7]
Generated Node #0,3: 57:[60, 36, 7] Operation: 66-59=7
Exploring Operation: 66-36=30, Resulting Numbers: [60, 59, 30]
Generated Node #0,4: 57:[60, 59, 30] Operation: 66-36=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[59, 66, 24], Operations: ['60-36=24']
Exploring Operation: 66-59=7, Resulting Numbers: [24, 7]
Generated Node #0,0,0: 57:[24, 7] Operation: 66-59=7
Exploring Operation: 66-24=42, Resulting Numbers: [59, 42]
Generated Node #0,0,1: 57:[59, 42] Operation: 66-24=42
Exploring Operation: 66+24=90, Resulting Numbers: [59, 90]
Generated Node #0,0,2: 57:[59, 90] Operation: 66+24=90
Exploring Operation: 59-24=35, Resulting Numbers: [66, 35]
Generated Node #0,0,3: 57:[66, 35] Operation: 59-24=35
Exploring Operation: 59+24=83, Resulting Numbers: [66, 83]
Generated Node #0,0,4: 57:[66, 83] Operation: 59+24=83
Moving to Node #0,0,0
Current State: 57:[24, 7], Operations: ['60-36=24', '66-59=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,57 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[59, 42], Operations: ['60-36=24', '66-24=42']
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,57 unequal: No Solution
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[66, 35], Operations: ['60-36=24', '59-24=35']
Exploring Operation: 66*35=2310, Resulting Numbers: [2310]
2310,57 unequal: No Solution
Exploring Operation: 66+35=101, Resulting Numbers: [101]
101,57 unequal: No Solution
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[59, 90], Operations: ['60-36=24', '66+24=90']
Exploring Operation: 90-59=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 59+90=149, Resulting Numbers: [149]
149,57 unequal: No Solution
Exploring Operation: 59*90=5310, Resulting Numbers: [5310]
5310,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[66, 83], Operations: ['60-36=24', '59+24=83']
Exploring Operation: 66+83=149, Resulting Numbers: [149]
149,57 unequal: No Solution
Exploring Operation: 83-66=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 66*83=5478, Resulting Numbers: [5478]
5478,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,2
Current State: 57:[60, 66, 23], Operations: ['59-36=23']
Exploring Operation: 60-23=37, Resulting Numbers: [66, 37]
Generated Node #0,2,0: 57:[66, 37] Operation: 60-23=37
Exploring Operation: 66-60=6, Resulting Numbers: [23, 6]
Generated Node #0,2,1: 57:[23, 6] Operation: 66-60=6
Exploring Operation: 66+23=89, Resulting Numbers: [60, 89]
Generated Node #0,2,2: 57:[60, 89] Operation: 66+23=89
Exploring Operation: 66-23=43, Resulting Numbers: [60, 43]
Generated Node #0,2,3: 57:[60, 43] Operation: 66-23=43
Exploring Operation: 60+23=83, Resulting Numbers: [66, 83]
Generated Node #0,2,4: 57:[66, 83] Operation: 60+23=83
Moving to Node #0,2,1
Current State: 57:[23, 6], Operations: ['59-36=23', '66-60=6']
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,57 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[60, 43], Operations: ['59-36=23', '66-23=43']
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 60+43=103, Resulting Numbers: [103]
103,57 unequal: No Solution
Exploring Operation: 60*43=2580, Resulting Numbers: [2580]
2580,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[66, 37], Operations: ['59-36=23', '60-23=37']
Exploring Operation: 66*37=2442, Resulting Numbers: [2442]
2442,57 unequal: No Solution
Exploring Operation: 66+37=103, Resulting Numbers: [103]
103,57 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[60, 89], Operations: ['59-36=23', '66+23=89']
Exploring Operation: 60*89=5340, Resulting Numbers: [5340]
5340,57 unequal: No Solution
Exploring Operation: 60+89=149, Resulting Numbers: [149]
149,57 unequal: No Solution
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[66, 83], Operations: ['59-36=23', '60+23=83']
Exploring Operation: 83-66=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 66+83=149, Resulting Numbers: [149]
149,57 unequal: No Solution
Exploring Operation: 66*83=5478, Resulting Numbers: [5478]
5478,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,4
Current State: 57:[60, 59, 30], Operations: ['66-36=30']
Exploring Operation: 60+30=90, Resulting Numbers: [59, 90]
Generated Node #0,4,0: 57:[59, 90] Operation: 60+30=90
Exploring Operation: 59-30=29, Resulting Numbers: [60, 29]
Generated Node #0,4,1: 57:[60, 29] Operation: 59-30=29
Exploring Operation: 60-30=30, Resulting Numbers: [59, 30]
Generated Node #0,4,2: 57:[59, 30] Operation: 60-30=30
Exploring Operation: 60-59=1, Resulting Numbers: [30, 1]
Generated Node #0,4,3: 57:[30, 1] Operation: 60-59=1
Exploring Operation: 60/30=2, Resulting Numbers: [59, 2]
Generated Node #0,4,4: 57:[59, 2] Operation: 60/30=2
Moving to Node #0,4,4
Current State: 57:[59, 2], Operations: ['66-36=30', '60/30=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[60, 36, 59, 66], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [60, 59, 30]
Generated Node #0,4: 57:[60, 59, 30] Operation: 66-36=30
Moving to Node #0,4
Current State: 57:[60, 59, 30], Operations: ['66-36=30']
Exploring Operation: 60/30=2, Resulting Numbers: [59, 2]
Generated Node #0,4,4: 57:[59, 2] Operation: 60/30=2
Moving to Node #0,4,4
Current State: 57:[59, 2], Operations: ['66-36=30', '60/30=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_5 | sum_heuristic |
[
3,
17,
52,
4
] | 67 | [
"3+4=7",
"17*7=119",
"119-52=67"
] | Current State: 67:[3, 17, 52, 4], Operations: []
Exploring Operation: 3+4=7, Resulting Numbers: [17, 52, 7]
Generated Node #2: [17, 52, 7] from Operation: 3+4=7
Current State: 67:[17, 52, 7], Operations: ['3+4=7']
Exploring Operation: 17*7=119, Resulting Numbers: [52, 119]
Generated Node #3: [52, 119] from Operation: 17*7=119
Current State: 67:[52, 119], Operations: ['3+4=7', '17*7=119']
Exploring Operation: 119-52=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[3, 17, 52, 4], Operations: []
Exploring Operation: 3+52=55, Resulting Numbers: [17, 4, 55]
Generated Node #0,0: 67:[17, 4, 55] Operation: 3+52=55
Exploring Operation: 3*17=51, Resulting Numbers: [52, 4, 51]
Generated Node #0,1: 67:[52, 4, 51] Operation: 3*17=51
Exploring Operation: 3*4=12, Resulting Numbers: [17, 52, 12]
Generated Node #0,2: 67:[17, 52, 12] Operation: 3*4=12
Exploring Operation: 3+17=20, Resulting Numbers: [52, 4, 20]
Generated Node #0,3: 67:[52, 4, 20] Operation: 3+17=20
Exploring Operation: 17*4=68, Resulting Numbers: [3, 52, 68]
Generated Node #0,4: 67:[3, 52, 68] Operation: 17*4=68
Moving to Node #0,4
Current State: 67:[3, 52, 68], Operations: ['17*4=68']
Exploring Operation: 52-3=49, Resulting Numbers: [68, 49]
Generated Node #0,4,0: 67:[68, 49] Operation: 52-3=49
Exploring Operation: 68-3=65, Resulting Numbers: [52, 65]
Generated Node #0,4,1: 67:[52, 65] Operation: 68-3=65
Exploring Operation: 3+68=71, Resulting Numbers: [52, 71]
Generated Node #0,4,2: 67:[52, 71] Operation: 3+68=71
Exploring Operation: 3+52=55, Resulting Numbers: [68, 55]
Generated Node #0,4,3: 67:[68, 55] Operation: 3+52=55
Exploring Operation: 3*52=156, Resulting Numbers: [68, 156]
Generated Node #0,4,4: 67:[68, 156] Operation: 3*52=156
Moving to Node #0,1
Current State: 67:[52, 4, 51], Operations: ['3*17=51']
Exploring Operation: 4+51=55, Resulting Numbers: [52, 55]
Generated Node #0,1,0: 67:[52, 55] Operation: 4+51=55
Exploring Operation: 52+4=56, Resulting Numbers: [51, 56]
Generated Node #0,1,1: 67:[51, 56] Operation: 52+4=56
Exploring Operation: 52-4=48, Resulting Numbers: [51, 48]
Generated Node #0,1,2: 67:[51, 48] Operation: 52-4=48
Exploring Operation: 51-4=47, Resulting Numbers: [52, 47]
Generated Node #0,1,3: 67:[52, 47] Operation: 51-4=47
Exploring Operation: 52/4=13, Resulting Numbers: [51, 13]
Generated Node #0,1,4: 67:[51, 13] Operation: 52/4=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[52, 55], Operations: ['3*17=51', '4+51=55']
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,67 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[51, 56], Operations: ['3*17=51', '52+4=56']
Exploring Operation: 51*56=2856, Resulting Numbers: [2856]
2856,67 unequal: No Solution
Exploring Operation: 51+56=107, Resulting Numbers: [107]
107,67 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[51, 48], Operations: ['3*17=51', '52-4=48']
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,67 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[52, 47], Operations: ['3*17=51', '51-4=47']
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 67:[51, 13], Operations: ['3*17=51', '52/4=13']
Exploring Operation: 51*13=663, Resulting Numbers: [663]
663,67 unequal: No Solution
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,67 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: 67:[17, 52, 12], Operations: ['3*4=12']
Exploring Operation: 17+12=29, Resulting Numbers: [52, 29]
Generated Node #0,2,0: 67:[52, 29] Operation: 17+12=29
Exploring Operation: 17+52=69, Resulting Numbers: [12, 69]
Generated Node #0,2,1: 67:[12, 69] Operation: 17+52=69
Exploring Operation: 52+12=64, Resulting Numbers: [17, 64]
Generated Node #0,2,2: 67:[17, 64] Operation: 52+12=64
Exploring Operation: 52-12=40, Resulting Numbers: [17, 40]
Generated Node #0,2,3: 67:[17, 40] Operation: 52-12=40
Exploring Operation: 17-12=5, Resulting Numbers: [52, 5]
Generated Node #0,2,4: 67:[52, 5] Operation: 17-12=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[52, 29], Operations: ['3*4=12', '17+12=29']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,67 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[17, 64], Operations: ['3*4=12', '52+12=64']
Exploring Operation: 17+64=81, Resulting Numbers: [81]
81,67 unequal: No Solution
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 17*64=1088, Resulting Numbers: [1088]
1088,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[12, 69], Operations: ['3*4=12', '17+52=69']
Exploring Operation: 12*69=828, Resulting Numbers: [828]
828,67 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 12+69=81, Resulting Numbers: [81]
81,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[17, 40], Operations: ['3*4=12', '52-12=40']
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,67 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 67:[52, 5], Operations: ['3*4=12', '17-12=5']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,67 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: 67:[17, 4, 55], Operations: ['3+52=55']
Exploring Operation: 17-4=13, Resulting Numbers: [55, 13]
Generated Node #0,0,0: 67:[55, 13] Operation: 17-4=13
Exploring Operation: 17*4=68, Resulting Numbers: [55, 68]
Generated Node #0,0,1: 67:[55, 68] Operation: 17*4=68
Exploring Operation: 4+55=59, Resulting Numbers: [17, 59]
Generated Node #0,0,2: 67:[17, 59] Operation: 4+55=59
Exploring Operation: 55-4=51, Resulting Numbers: [17, 51]
Generated Node #0,0,3: 67:[17, 51] Operation: 55-4=51
Exploring Operation: 17+4=21, Resulting Numbers: [55, 21]
Generated Node #0,0,4: 67:[55, 21] Operation: 17+4=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[55, 68], Operations: ['3+52=55', '17*4=68']
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[17, 59], Operations: ['3+52=55', '4+55=59']
Exploring Operation: 17+59=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 17*59=1003, Resulting Numbers: [1003]
1003,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 67:[55, 21], Operations: ['3+52=55', '17+4=21']
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,67 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[55, 13], Operations: ['3+52=55', '17-4=13']
Exploring Operation: 55*13=715, Resulting Numbers: [715]
715,67 unequal: No Solution
Exploring Operation: 55+13=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 67:[17, 51], Operations: ['3+52=55', '55-4=51']
Exploring Operation: 17+51=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 17*51=867, Resulting Numbers: [867]
867,67 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: 67:[52, 4, 20], Operations: ['3+17=20']
Exploring Operation: 4+20=24, Resulting Numbers: [52, 24]
Generated Node #0,3,0: 67:[52, 24] Operation: 4+20=24
Exploring Operation: 4*20=80, Resulting Numbers: [52, 80]
Generated Node #0,3,1: 67:[52, 80] Operation: 4*20=80
Exploring Operation: 52+4=56, Resulting Numbers: [20, 56]
Generated Node #0,3,2: 67:[20, 56] Operation: 52+4=56
Exploring Operation: 52-4=48, Resulting Numbers: [20, 48]
Generated Node #0,3,3: 67:[20, 48] Operation: 52-4=48
Exploring Operation: 20-4=16, Resulting Numbers: [52, 16]
Generated Node #0,3,4: 67:[52, 16] Operation: 20-4=16
Moving to Node #0,4,3
Current State: 67:[68, 55], Operations: ['17*4=68', '3+52=55']
Exploring Operation: 68*55=3740, Resulting Numbers: [3740]
3740,67 unequal: No Solution
Exploring Operation: 68+55=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[52, 65], Operations: ['17*4=68', '68-3=65']
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 52*65=3380, Resulting Numbers: [3380]
3380,67 unequal: No Solution
Exploring Operation: 52+65=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[68, 49], Operations: ['17*4=68', '52-3=49']
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,67 unequal: No Solution
Exploring Operation: 68*49=3332, Resulting Numbers: [3332]
3332,67 unequal: No Solution
Exploring Operation: 68+49=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[52, 71], Operations: ['17*4=68', '3+68=71']
Exploring Operation: 52*71=3692, Resulting Numbers: [3692]
3692,67 unequal: No Solution
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,67 unequal: No Solution
Exploring Operation: 52+71=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[52, 80], Operations: ['3+17=20', '4*20=80']
Exploring Operation: 52+80=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 52*80=4160, Resulting Numbers: [4160]
4160,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[52, 24], Operations: ['3+17=20', '4+20=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[20, 56], Operations: ['3+17=20', '52+4=56']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 20+56=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 20*56=1120, Resulting Numbers: [1120]
1120,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[20, 48], Operations: ['3+17=20', '52-4=48']
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 20*48=960, Resulting Numbers: [960]
960,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[52, 16], Operations: ['3+17=20', '20-4=16']
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,67 unequal: No Solution
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Moving to Node #0,4,4
Current State: 67:[68, 156], Operations: ['17*4=68', '3*52=156']
Exploring Operation: 156-68=88, Resulting Numbers: [88]
88,67 unequal: No Solution
Exploring Operation: 68*156=10608, Resulting Numbers: [10608]
10608,67 unequal: No Solution
Exploring Operation: 68+156=224, Resulting Numbers: [224]
224,67 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
93,
89,
91,
13
] | 39 | [
"93-89=4",
"13*4=52",
"91-52=39"
] | Current State: 39:[93, 89, 91, 13], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [91, 13, 4]
Generated Node #2: [91, 13, 4] from Operation: 93-89=4
Current State: 39:[91, 13, 4], Operations: ['93-89=4']
Exploring Operation: 13*4=52, Resulting Numbers: [91, 52]
Generated Node #3: [91, 52] from Operation: 13*4=52
Current State: 39:[91, 52], Operations: ['93-89=4', '13*4=52']
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[93, 89, 91, 13], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [91, 13, 4]
Generated Node #0,0: 39:[91, 13, 4] Operation: 93-89=4
Exploring Operation: 91/13=7, Resulting Numbers: [93, 89, 7]
Generated Node #0,1: 39:[93, 89, 7] Operation: 91/13=7
Exploring Operation: 91-89=2, Resulting Numbers: [93, 13, 2]
Generated Node #0,2: 39:[93, 13, 2] Operation: 91-89=2
Exploring Operation: 93-91=2, Resulting Numbers: [89, 13, 2]
Generated Node #0,3: 39:[89, 13, 2] Operation: 93-91=2
Moving to Node #0,3
Current State: 39:[89, 13, 2], Operations: ['93-91=2']
Exploring Operation: 89+2=91, Resulting Numbers: [13, 91]
Generated Node #0,3,0: 39:[13, 91] Operation: 89+2=91
Exploring Operation: 89-13=76, Resulting Numbers: [2, 76]
Generated Node #0,3,1: 39:[2, 76] Operation: 89-13=76
Exploring Operation: 13+2=15, Resulting Numbers: [89, 15]
Generated Node #0,3,2: 39:[89, 15] Operation: 13+2=15
Exploring Operation: 89-2=87, Resulting Numbers: [13, 87]
Generated Node #0,3,3: 39:[13, 87] Operation: 89-2=87
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 39:[2, 76], Operations: ['93-91=2', '89-13=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,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,3,3
Current State: 39:[13, 87], Operations: ['93-91=2', '89-2=87']
Exploring Operation: 13+87=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 13*87=1131, Resulting Numbers: [1131]
1131,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,3,0
Current State: 39:[13, 91], Operations: ['93-91=2', '89+2=91']
Exploring Operation: 13+91=104, Resulting Numbers: [104]
104,39 unequal: No Solution
Exploring Operation: 13*91=1183, Resulting Numbers: [1183]
1183,39 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,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,3,2
Current State: 39:[89, 15], Operations: ['93-91=2', '13+2=15']
Exploring Operation: 89*15=1335, Resulting Numbers: [1335]
1335,39 unequal: No Solution
Exploring Operation: 89+15=104, Resulting Numbers: [104]
104,39 unequal: No Solution
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,39 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: 39:[91, 13, 4], Operations: ['93-89=4']
Exploring Operation: 91+4=95, Resulting Numbers: [13, 95]
Generated Node #0,0,0: 39:[13, 95] Operation: 91+4=95
Exploring Operation: 91-4=87, Resulting Numbers: [13, 87]
Generated Node #0,0,1: 39:[13, 87] Operation: 91-4=87
Exploring Operation: 91-13=78, Resulting Numbers: [4, 78]
Generated Node #0,0,2: 39:[4, 78] Operation: 91-13=78
Exploring Operation: 91/13=7, Resulting Numbers: [4, 7]
Generated Node #0,0,3: 39:[4, 7] Operation: 91/13=7
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 39:[4, 7], Operations: ['93-89=4', '91/13=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,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,0,2
Current State: 39:[4, 78], Operations: ['93-89=4', '91-13=78']
Exploring Operation: 4*78=312, Resulting Numbers: [312]
312,39 unequal: No Solution
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,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,0,1
Current State: 39:[13, 87], Operations: ['93-89=4', '91-4=87']
Exploring Operation: 13+87=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 13*87=1131, Resulting Numbers: [1131]
1131,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,0,0
Current State: 39:[13, 95], Operations: ['93-89=4', '91+4=95']
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 13+95=108, Resulting Numbers: [108]
108,39 unequal: No Solution
Exploring Operation: 13*95=1235, Resulting Numbers: [1235]
1235,39 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: 39:[93, 13, 2], Operations: ['91-89=2']
Exploring Operation: 13+2=15, Resulting Numbers: [93, 15]
Generated Node #0,2,0: 39:[93, 15] Operation: 13+2=15
Exploring Operation: 93-13=80, Resulting Numbers: [2, 80]
Generated Node #0,2,1: 39:[2, 80] Operation: 93-13=80
Exploring Operation: 93+2=95, Resulting Numbers: [13, 95]
Generated Node #0,2,2: 39:[13, 95] Operation: 93+2=95
Exploring Operation: 93-2=91, Resulting Numbers: [13, 91]
Generated Node #0,2,3: 39:[13, 91] Operation: 93-2=91
Moving to Node #0,1
Current State: 39:[93, 89, 7], Operations: ['91/13=7']
Exploring Operation: 93+7=100, Resulting Numbers: [89, 100]
Generated Node #0,1,0: 39:[89, 100] Operation: 93+7=100
Exploring Operation: 89-7=82, Resulting Numbers: [93, 82]
Generated Node #0,1,1: 39:[93, 82] Operation: 89-7=82
Exploring Operation: 93-7=86, Resulting Numbers: [89, 86]
Generated Node #0,1,2: 39:[89, 86] Operation: 93-7=86
Exploring Operation: 93-89=4, Resulting Numbers: [7, 4]
Generated Node #0,1,3: 39:[7, 4] Operation: 93-89=4
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[7, 4], Operations: ['91/13=7', '93-89=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,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,1
Current State: 39:[93, 82], Operations: ['91/13=7', '89-7=82']
Exploring Operation: 93-82=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 93*82=7626, Resulting Numbers: [7626]
7626,39 unequal: No Solution
Exploring Operation: 93+82=175, Resulting Numbers: [175]
175,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,2
Current State: 39:[89, 86], Operations: ['91/13=7', '93-7=86']
Exploring Operation: 89*86=7654, Resulting Numbers: [7654]
7654,39 unequal: No Solution
Exploring Operation: 89-86=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 89+86=175, Resulting Numbers: [175]
175,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,0
Current State: 39:[89, 100], Operations: ['91/13=7', '93+7=100']
Exploring Operation: 89+100=189, Resulting Numbers: [189]
189,39 unequal: No Solution
Exploring Operation: 100-89=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 89*100=8900, Resulting Numbers: [8900]
8900,39 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: 39:[2, 80], Operations: ['91-89=2', '93-13=80']
Exploring Operation: 2*80=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[13, 91], Operations: ['91-89=2', '93-2=91']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 13+91=104, Resulting Numbers: [104]
104,39 unequal: No Solution
Exploring Operation: 13*91=1183, Resulting Numbers: [1183]
1183,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[13, 95], Operations: ['91-89=2', '93+2=95']
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 13*95=1235, Resulting Numbers: [1235]
1235,39 unequal: No Solution
Exploring Operation: 13+95=108, Resulting Numbers: [108]
108,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[93, 15], Operations: ['91-89=2', '13+2=15']
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,39 unequal: No Solution
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,39 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,39 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
72,
85,
83,
58
] | 65 | [
"72+58=130",
"85-83=2",
"130/2=65"
] | Current State: 65:[72, 85, 83, 58], Operations: []
Exploring Operation: 72+58=130, Resulting Numbers: [85, 83, 130]
Generated Node #2: [85, 83, 130] from Operation: 72+58=130
Current State: 65:[85, 83, 130], Operations: ['72+58=130']
Exploring Operation: 85-83=2, Resulting Numbers: [130, 2]
Generated Node #3: [130, 2] from Operation: 85-83=2
Current State: 65:[130, 2], Operations: ['72+58=130', '85-83=2']
Exploring Operation: 130/2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[72, 85, 83, 58], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [72, 58, 2]
Generated Node #0,0: 65:[72, 58, 2] Operation: 85-83=2
Exploring Operation: 83-72=11, Resulting Numbers: [85, 58, 11]
Generated Node #0,1: 65:[85, 58, 11] Operation: 83-72=11
Exploring Operation: 72-58=14, Resulting Numbers: [85, 83, 14]
Generated Node #0,2: 65:[85, 83, 14] Operation: 72-58=14
Exploring Operation: 85-72=13, Resulting Numbers: [83, 58, 13]
Generated Node #0,3: 65:[83, 58, 13] Operation: 85-72=13
Moving to Node #0,0
Current State: 65:[72, 58, 2], Operations: ['85-83=2']
Exploring Operation: 72-58=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 65:[2, 14] Operation: 72-58=14
Exploring Operation: 58+2=60, Resulting Numbers: [72, 60]
Generated Node #0,0,1: 65:[72, 60] Operation: 58+2=60
Exploring Operation: 72-2=70, Resulting Numbers: [58, 70]
Generated Node #0,0,2: 65:[58, 70] Operation: 72-2=70
Exploring Operation: 72+2=74, Resulting Numbers: [58, 74]
Generated Node #0,0,3: 65:[58, 74] Operation: 72+2=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[2, 14], Operations: ['85-83=2', '72-58=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[72, 60], Operations: ['85-83=2', '58+2=60']
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 72*60=4320, Resulting Numbers: [4320]
4320,65 unequal: No Solution
Exploring Operation: 72+60=132, Resulting Numbers: [132]
132,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[58, 70], Operations: ['85-83=2', '72-2=70']
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 58*70=4060, Resulting Numbers: [4060]
4060,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[58, 74], Operations: ['85-83=2', '72+2=74']
Exploring Operation: 58*74=4292, Resulting Numbers: [4292]
4292,65 unequal: No Solution
Exploring Operation: 58+74=132, Resulting Numbers: [132]
132,65 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,65 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: 65:[83, 58, 13], Operations: ['85-72=13']
Exploring Operation: 83-13=70, Resulting Numbers: [58, 70]
Generated Node #0,3,0: 65:[58, 70] Operation: 83-13=70
Exploring Operation: 58+13=71, Resulting Numbers: [83, 71]
Generated Node #0,3,1: 65:[83, 71] Operation: 58+13=71
Exploring Operation: 83+13=96, Resulting Numbers: [58, 96]
Generated Node #0,3,2: 65:[58, 96] Operation: 83+13=96
Exploring Operation: 83-58=25, Resulting Numbers: [13, 25]
Generated Node #0,3,3: 65:[13, 25] Operation: 83-58=25
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[58, 70], Operations: ['85-72=13', '83-13=70']
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 58*70=4060, Resulting Numbers: [4060]
4060,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[13, 25], Operations: ['85-72=13', '83-58=25']
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,65 unequal: No Solution
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,65 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[83, 71], Operations: ['85-72=13', '58+13=71']
Exploring Operation: 83+71=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 83*71=5893, Resulting Numbers: [5893]
5893,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[58, 96], Operations: ['85-72=13', '83+13=96']
Exploring Operation: 58*96=5568, Resulting Numbers: [5568]
5568,65 unequal: No Solution
Exploring Operation: 58+96=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 65:[85, 58, 11], Operations: ['83-72=11']
Exploring Operation: 85+11=96, Resulting Numbers: [58, 96]
Generated Node #0,1,0: 65:[58, 96] Operation: 85+11=96
Exploring Operation: 58+11=69, Resulting Numbers: [85, 69]
Generated Node #0,1,1: 65:[85, 69] Operation: 58+11=69
Exploring Operation: 85-58=27, Resulting Numbers: [11, 27]
Generated Node #0,1,2: 65:[11, 27] Operation: 85-58=27
Exploring Operation: 85-11=74, Resulting Numbers: [58, 74]
Generated Node #0,1,3: 65:[58, 74] Operation: 85-11=74
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[11, 27], Operations: ['83-72=11', '85-58=27']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,65 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 65:[58, 74], Operations: ['83-72=11', '85-11=74']
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 58*74=4292, Resulting Numbers: [4292]
4292,65 unequal: No Solution
Exploring Operation: 58+74=132, Resulting Numbers: [132]
132,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[85, 69], Operations: ['83-72=11', '58+11=69']
Exploring Operation: 85+69=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 85*69=5865, Resulting Numbers: [5865]
5865,65 unequal: No Solution
Exploring Operation: 85-69=16, Resulting Numbers: [16]
16,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[58, 96], Operations: ['83-72=11', '85+11=96']
Exploring Operation: 58+96=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 58*96=5568, Resulting Numbers: [5568]
5568,65 unequal: No Solution
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 65:[85, 83, 14], Operations: ['72-58=14']
Exploring Operation: 85-83=2, Resulting Numbers: [14, 2]
Generated Node #0,2,0: 65:[14, 2] Operation: 85-83=2
Exploring Operation: 85+14=99, Resulting Numbers: [83, 99]
Generated Node #0,2,1: 65:[83, 99] Operation: 85+14=99
Exploring Operation: 83-14=69, Resulting Numbers: [85, 69]
Generated Node #0,2,2: 65:[85, 69] Operation: 83-14=69
Exploring Operation: 85-14=71, Resulting Numbers: [83, 71]
Generated Node #0,2,3: 65:[83, 71] Operation: 85-14=71
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[14, 2], Operations: ['72-58=14', '85-83=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,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,2
Current State: 65:[85, 69], Operations: ['72-58=14', '83-14=69']
Exploring Operation: 85+69=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 85*69=5865, Resulting Numbers: [5865]
5865,65 unequal: No Solution
Exploring Operation: 85-69=16, Resulting Numbers: [16]
16,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,3
Current State: 65:[83, 71], Operations: ['72-58=14', '85-14=71']
Exploring Operation: 83*71=5893, Resulting Numbers: [5893]
5893,65 unequal: No Solution
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 83+71=154, Resulting Numbers: [154]
154,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,1
Current State: 65:[83, 99], Operations: ['72-58=14', '85+14=99']
Exploring Operation: 83+99=182, Resulting Numbers: [182]
182,65 unequal: No Solution
Exploring Operation: 83*99=8217, Resulting Numbers: [8217]
8217,65 unequal: No Solution
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
61,
3,
57,
66
] | 95 | [
"66-61=5",
"57/3=19",
"5*19=95"
] | Current State: 95:[61, 3, 57, 66], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [3, 57, 5]
Generated Node #2: [3, 57, 5] from Operation: 66-61=5
Current State: 95:[3, 57, 5], Operations: ['66-61=5']
Exploring Operation: 57/3=19, Resulting Numbers: [5, 19]
Generated Node #3: [5, 19] from Operation: 57/3=19
Current State: 95:[5, 19], Operations: ['66-61=5', '57/3=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[61, 3, 57, 66], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [3, 66, 4]
Generated Node #0,0: 95:[3, 66, 4] Operation: 61-57=4
Exploring Operation: 61+57=118, Resulting Numbers: [3, 66, 118]
Generated Node #0,1: 95:[3, 66, 118] Operation: 61+57=118
Exploring Operation: 66-57=9, Resulting Numbers: [61, 3, 9]
Generated Node #0,2: 95:[61, 3, 9] Operation: 66-57=9
Exploring Operation: 66-61=5, Resulting Numbers: [3, 57, 5]
Generated Node #0,3: 95:[3, 57, 5] Operation: 66-61=5
Exploring Operation: 57/3=19, Resulting Numbers: [61, 66, 19]
Generated Node #0,4: 95:[61, 66, 19] Operation: 57/3=19
Moving to Node #0,0
Current State: 95:[3, 66, 4], Operations: ['61-57=4']
Exploring Operation: 3+66=69, Resulting Numbers: [4, 69]
Generated Node #0,0,0: 95:[4, 69] Operation: 3+66=69
Exploring Operation: 66/3=22, Resulting Numbers: [4, 22]
Generated Node #0,0,1: 95:[4, 22] Operation: 66/3=22
Exploring Operation: 66+4=70, Resulting Numbers: [3, 70]
Generated Node #0,0,2: 95:[3, 70] Operation: 66+4=70
Exploring Operation: 66-3=63, Resulting Numbers: [4, 63]
Generated Node #0,0,3: 95:[4, 63] Operation: 66-3=63
Exploring Operation: 3+4=7, Resulting Numbers: [66, 7]
Generated Node #0,0,4: 95:[66, 7] Operation: 3+4=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[4, 22], Operations: ['61-57=4', '66/3=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,95 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,95 unequal: No Solution
No 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: 95:[4, 69], Operations: ['61-57=4', '3+66=69']
Exploring Operation: 4*69=276, Resulting Numbers: [276]
276,95 unequal: No Solution
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,95 unequal: No Solution
No 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: 95:[3, 70], Operations: ['61-57=4', '66+4=70']
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,95 unequal: No Solution
No 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: 95:[66, 7], Operations: ['61-57=4', '3+4=7']
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,95 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,95 unequal: No Solution
No 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: 95:[4, 63], Operations: ['61-57=4', '66-3=63']
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,95 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,95 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: 95:[3, 57, 5], Operations: ['66-61=5']
Exploring Operation: 57+5=62, Resulting Numbers: [3, 62]
Generated Node #0,3,0: 95:[3, 62] Operation: 57+5=62
Exploring Operation: 3+57=60, Resulting Numbers: [5, 60]
Generated Node #0,3,1: 95:[5, 60] Operation: 3+57=60
Exploring Operation: 57-5=52, Resulting Numbers: [3, 52]
Generated Node #0,3,2: 95:[3, 52] Operation: 57-5=52
Exploring Operation: 57-3=54, Resulting Numbers: [5, 54]
Generated Node #0,3,3: 95:[5, 54] Operation: 57-3=54
Exploring Operation: 57/3=19, Resulting Numbers: [5, 19]
Generated Node #0,3,4: 95:[5, 19] Operation: 57/3=19
Moving to Node #0,2
Current State: 95:[61, 3, 9], Operations: ['66-57=9']
Exploring Operation: 61+9=70, Resulting Numbers: [3, 70]
Generated Node #0,2,0: 95:[3, 70] Operation: 61+9=70
Exploring Operation: 9/3=3, Resulting Numbers: [61, 3]
Generated Node #0,2,1: 95:[61, 3] Operation: 9/3=3
Exploring Operation: 61-9=52, Resulting Numbers: [3, 52]
Generated Node #0,2,2: 95:[3, 52] Operation: 61-9=52
Exploring Operation: 61+3=64, Resulting Numbers: [9, 64]
Generated Node #0,2,3: 95:[9, 64] Operation: 61+3=64
Exploring Operation: 9-3=6, Resulting Numbers: [61, 6]
Generated Node #0,2,4: 95:[61, 6] Operation: 9-3=6
Moving to Node #0,1
Current State: 95:[3, 66, 118], Operations: ['61+57=118']
Exploring Operation: 66/3=22, Resulting Numbers: [118, 22]
Generated Node #0,1,0: 95:[118, 22] Operation: 66/3=22
Exploring Operation: 118-3=115, Resulting Numbers: [66, 115]
Generated Node #0,1,1: 95:[66, 115] Operation: 118-3=115
Exploring Operation: 118-66=52, Resulting Numbers: [3, 52]
Generated Node #0,1,2: 95:[3, 52] Operation: 118-66=52
Exploring Operation: 3+66=69, Resulting Numbers: [118, 69]
Generated Node #0,1,3: 95:[118, 69] Operation: 3+66=69
Exploring Operation: 66-3=63, Resulting Numbers: [118, 63]
Generated Node #0,1,4: 95:[118, 63] Operation: 66-3=63
Moving to Node #0,4
Current State: 95:[61, 66, 19], Operations: ['57/3=19']
Exploring Operation: 66-61=5, Resulting Numbers: [19, 5]
Generated Node #0,4,0: 95:[19, 5] Operation: 66-61=5
Exploring Operation: 61+66=127, Resulting Numbers: [19, 127]
Generated Node #0,4,1: 95:[19, 127] Operation: 61+66=127
Exploring Operation: 66+19=85, Resulting Numbers: [61, 85]
Generated Node #0,4,2: 95:[61, 85] Operation: 66+19=85
Exploring Operation: 61+19=80, Resulting Numbers: [66, 80]
Generated Node #0,4,3: 95:[66, 80] Operation: 61+19=80
Exploring Operation: 61-19=42, Resulting Numbers: [66, 42]
Generated Node #0,4,4: 95:[66, 42] Operation: 61-19=42
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 95:[19, 5], Operations: ['57/3=19', '66-61=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[61, 3, 57, 66], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [61, 66, 19]
Generated Node #0,4: 95:[61, 66, 19] Operation: 57/3=19
Moving to Node #0,4
Current State: 95:[61, 66, 19], Operations: ['57/3=19']
Exploring Operation: 66-61=5, Resulting Numbers: [19, 5]
Generated Node #0,4,0: 95:[19, 5] Operation: 66-61=5
Moving to Node #0,4,0
Current State: 95:[19, 5], Operations: ['57/3=19', '66-61=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_5 | sum_heuristic |
[
3,
78,
9,
33
] | 68 | [
"78/3=26",
"9+33=42",
"26+42=68"
] | Current State: 68:[3, 78, 9, 33], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [9, 33, 26]
Generated Node #2: [9, 33, 26] from Operation: 78/3=26
Current State: 68:[9, 33, 26], Operations: ['78/3=26']
Exploring Operation: 9+33=42, Resulting Numbers: [26, 42]
Generated Node #3: [26, 42] from Operation: 9+33=42
Current State: 68:[26, 42], Operations: ['78/3=26', '9+33=42']
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[3, 78, 9, 33], Operations: []
Exploring Operation: 9/3=3, Resulting Numbers: [78, 33, 3]
Generated Node #0,0: 68:[78, 33, 3] Operation: 9/3=3
Exploring Operation: 78-9=69, Resulting Numbers: [3, 33, 69]
Generated Node #0,1: 68:[3, 33, 69] Operation: 78-9=69
Exploring Operation: 78-3=75, Resulting Numbers: [9, 33, 75]
Generated Node #0,2: 68:[9, 33, 75] Operation: 78-3=75
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[3, 33, 69], Operations: ['78-9=69']
Exploring Operation: 69-33=36, Resulting Numbers: [3, 36]
Generated Node #0,1,0: 68:[3, 36] Operation: 69-33=36
Exploring Operation: 3+33=36, Resulting Numbers: [69, 36]
Generated Node #0,1,1: 68:[69, 36] Operation: 3+33=36
Exploring Operation: 69-3=66, Resulting Numbers: [33, 66]
Generated Node #0,1,2: 68:[33, 66] Operation: 69-3=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[3, 36], Operations: ['78-9=69', '69-33=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[69, 36], Operations: ['78-9=69', '3+33=36']
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,68 unequal: No Solution
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 68:[33, 66], Operations: ['78-9=69', '69-3=66']
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,68 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[78, 33, 3], Operations: ['9/3=3']
Exploring Operation: 78-33=45, Resulting Numbers: [3, 45]
Generated Node #0,0,0: 68:[3, 45] Operation: 78-33=45
Exploring Operation: 78-3=75, Resulting Numbers: [33, 75]
Generated Node #0,0,1: 68:[33, 75] Operation: 78-3=75
Exploring Operation: 78/3=26, Resulting Numbers: [33, 26]
Generated Node #0,0,2: 68:[33, 26] Operation: 78/3=26
Moving to Node #0,0,1
Current State: 68:[33, 75], Operations: ['9/3=3', '78-3=75']
Exploring Operation: 33+75=108, Resulting Numbers: [108]
108,68 unequal: No Solution
Exploring Operation: 33*75=2475, Resulting Numbers: [2475]
2475,68 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[33, 26], Operations: ['9/3=3', '78/3=26']
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,68 unequal: No Solution
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,68 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[3, 45], Operations: ['9/3=3', '78-33=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[9, 33, 75], Operations: ['78-3=75']
Exploring Operation: 33-9=24, Resulting Numbers: [75, 24]
Generated Node #0,2,0: 68:[75, 24] Operation: 33-9=24
Exploring Operation: 75-33=42, Resulting Numbers: [9, 42]
Generated Node #0,2,1: 68:[9, 42] Operation: 75-33=42
Exploring Operation: 75-9=66, Resulting Numbers: [33, 66]
Generated Node #0,2,2: 68:[33, 66] Operation: 75-9=66
Moving to Node #0,2,2
Current State: 68:[33, 66], Operations: ['78-3=75', '75-9=66']
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,68 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[9, 42], Operations: ['78-3=75', '75-33=42']
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,68 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[75, 24], Operations: ['78-3=75', '33-9=24']
Exploring Operation: 75+24=99, Resulting Numbers: [99]
99,68 unequal: No Solution
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 75*24=1800, Resulting Numbers: [1800]
1800,68 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 |
[
28,
62,
24,
94
] | 36 | [
"62-28=34",
"94-24=70",
"70-34=36"
] | Current State: 36:[28, 62, 24, 94], Operations: []
Exploring Operation: 62-28=34, Resulting Numbers: [24, 94, 34]
Generated Node #2: [24, 94, 34] from Operation: 62-28=34
Current State: 36:[24, 94, 34], Operations: ['62-28=34']
Exploring Operation: 94-24=70, Resulting Numbers: [34, 70]
Generated Node #3: [34, 70] from Operation: 94-24=70
Current State: 36:[34, 70], Operations: ['62-28=34', '94-24=70']
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[28, 62, 24, 94], Operations: []
Exploring Operation: 94-28=66, Resulting Numbers: [62, 24, 66]
Generated Node #0,0: 36:[62, 24, 66] Operation: 94-28=66
Exploring Operation: 94-62=32, Resulting Numbers: [28, 24, 32]
Generated Node #0,1: 36:[28, 24, 32] Operation: 94-62=32
Moving to Node #0,1
Current State: 36:[28, 24, 32], Operations: ['94-62=32']
Exploring Operation: 28-24=4, Resulting Numbers: [32, 4]
Generated Node #0,1,0: 36:[32, 4] Operation: 28-24=4
Exploring Operation: 32-28=4, Resulting Numbers: [24, 4]
Generated Node #0,1,1: 36:[24, 4] Operation: 32-28=4
Moving to Node #0,0
Current State: 36:[62, 24, 66], Operations: ['94-28=66']
Exploring Operation: 66-62=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 36:[24, 4] Operation: 66-62=4
Exploring Operation: 62-24=38, Resulting Numbers: [66, 38]
Generated Node #0,0,1: 36:[66, 38] Operation: 62-24=38
Moving to Node #0,1,0
Current State: 36:[32, 4], Operations: ['94-62=32', '28-24=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[28, 62, 24, 94], Operations: []
Exploring Operation: 94-62=32, Resulting Numbers: [28, 24, 32]
Generated Node #0,1: 36:[28, 24, 32] Operation: 94-62=32
Moving to Node #0,1
Current State: 36:[28, 24, 32], Operations: ['94-62=32']
Exploring Operation: 28-24=4, Resulting Numbers: [32, 4]
Generated Node #0,1,0: 36:[32, 4] Operation: 28-24=4
Moving to Node #0,1,0
Current State: 36:[32, 4], Operations: ['94-62=32', '28-24=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
35,
71,
95,
73
] | 84 | [
"35+71=106",
"95-73=22",
"106-22=84"
] | Current State: 84:[35, 71, 95, 73], Operations: []
Exploring Operation: 35+71=106, Resulting Numbers: [95, 73, 106]
Generated Node #2: [95, 73, 106] from Operation: 35+71=106
Current State: 84:[95, 73, 106], Operations: ['35+71=106']
Exploring Operation: 95-73=22, Resulting Numbers: [106, 22]
Generated Node #3: [106, 22] from Operation: 95-73=22
Current State: 84:[106, 22], Operations: ['35+71=106', '95-73=22']
Exploring Operation: 106-22=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[35, 71, 95, 73], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [35, 95, 2]
Generated Node #0,0: 84:[35, 95, 2] Operation: 73-71=2
Exploring Operation: 95-71=24, Resulting Numbers: [35, 73, 24]
Generated Node #0,1: 84:[35, 73, 24] Operation: 95-71=24
Moving to Node #0,0
Current State: 84:[35, 95, 2], Operations: ['73-71=2']
Exploring Operation: 35+2=37, Resulting Numbers: [95, 37]
Generated Node #0,0,0: 84:[95, 37] Operation: 35+2=37
Exploring Operation: 35-2=33, Resulting Numbers: [95, 33]
Generated Node #0,0,1: 84:[95, 33] Operation: 35-2=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[95, 37], Operations: ['73-71=2', '35+2=37']
Exploring Operation: 95+37=132, Resulting Numbers: [132]
132,84 unequal: No Solution
Exploring Operation: 95-37=58, Resulting Numbers: [58]
58,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[95, 33], Operations: ['73-71=2', '35-2=33']
Exploring Operation: 95-33=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 95+33=128, Resulting Numbers: [128]
128,84 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: 84:[35, 73, 24], Operations: ['95-71=24']
Exploring Operation: 35-24=11, Resulting Numbers: [73, 11]
Generated Node #0,1,0: 84:[73, 11] Operation: 35-24=11
Exploring Operation: 73-35=38, Resulting Numbers: [24, 38]
Generated Node #0,1,1: 84:[24, 38] Operation: 73-35=38
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[24, 38], Operations: ['95-71=24', '73-35=38']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[73, 11], Operations: ['95-71=24', '35-24=11']
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[35, 71, 95, 73], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [35, 73, 24]
Generated Node #0,1: 84:[35, 73, 24] Operation: 95-71=24
Moving to Node #0,1
Current State: 84:[35, 73, 24], Operations: ['95-71=24']
Exploring Operation: 35-24=11, Resulting Numbers: [73, 11]
Generated Node #0,1,0: 84:[73, 11] Operation: 35-24=11
Moving to Node #0,1,0
Current State: 84:[73, 11], Operations: ['95-71=24', '35-24=11']
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
24,
72,
18,
76
] | 46 | [
"72-24=48",
"18+76=94",
"94-48=46"
] | Current State: 46:[24, 72, 18, 76], Operations: []
Exploring Operation: 72-24=48, Resulting Numbers: [18, 76, 48]
Generated Node #2: [18, 76, 48] from Operation: 72-24=48
Current State: 46:[18, 76, 48], Operations: ['72-24=48']
Exploring Operation: 18+76=94, Resulting Numbers: [48, 94]
Generated Node #3: [48, 94] from Operation: 18+76=94
Current State: 46:[48, 94], Operations: ['72-24=48', '18+76=94']
Exploring Operation: 94-48=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[24, 72, 18, 76], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [24, 18, 4]
Generated Node #0,0: 46:[24, 18, 4] Operation: 76-72=4
Moving to Node #0,0
Current State: 46:[24, 18, 4], Operations: ['76-72=4']
Exploring Operation: 18+4=22, Resulting Numbers: [24, 22]
Generated Node #0,0,0: 46:[24, 22] Operation: 18+4=22
Moving to Node #0,0,0
Current State: 46:[24, 22], Operations: ['76-72=4', '18+4=22']
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[24, 72, 18, 76], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [24, 18, 4]
Generated Node #0,0: 46:[24, 18, 4] Operation: 76-72=4
Moving to Node #0,0
Current State: 46:[24, 18, 4], Operations: ['76-72=4']
Exploring Operation: 18+4=22, Resulting Numbers: [24, 22]
Generated Node #0,0,0: 46:[24, 22] Operation: 18+4=22
Moving to Node #0,0,0
Current State: 46:[24, 22], Operations: ['76-72=4', '18+4=22']
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
93,
84,
74,
80
] | 76 | [
"93-74=19",
"84-80=4",
"19*4=76"
] | Current State: 76:[93, 84, 74, 80], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [84, 80, 19]
Generated Node #2: [84, 80, 19] from Operation: 93-74=19
Current State: 76:[84, 80, 19], Operations: ['93-74=19']
Exploring Operation: 84-80=4, Resulting Numbers: [19, 4]
Generated Node #3: [19, 4] from Operation: 84-80=4
Current State: 76:[19, 4], Operations: ['93-74=19', '84-80=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[93, 84, 74, 80], Operations: []
Exploring Operation: 93-84=9, Resulting Numbers: [74, 80, 9]
Generated Node #0,0: 76:[74, 80, 9] Operation: 93-84=9
Exploring Operation: 93-80=13, Resulting Numbers: [84, 74, 13]
Generated Node #0,1: 76:[84, 74, 13] Operation: 93-80=13
Exploring Operation: 93-74=19, Resulting Numbers: [84, 80, 19]
Generated Node #0,2: 76:[84, 80, 19] Operation: 93-74=19
Exploring Operation: 84-80=4, Resulting Numbers: [93, 74, 4]
Generated Node #0,3: 76:[93, 74, 4] Operation: 84-80=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[74, 80, 9], Operations: ['93-84=9']
Exploring Operation: 74-9=65, Resulting Numbers: [80, 65]
Generated Node #0,0,0: 76:[80, 65] Operation: 74-9=65
Exploring Operation: 80-9=71, Resulting Numbers: [74, 71]
Generated Node #0,0,1: 76:[74, 71] Operation: 80-9=71
Exploring Operation: 74+9=83, Resulting Numbers: [80, 83]
Generated Node #0,0,2: 76:[80, 83] Operation: 74+9=83
Exploring Operation: 80-74=6, Resulting Numbers: [9, 6]
Generated Node #0,0,3: 76:[9, 6] Operation: 80-74=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[74, 71], Operations: ['93-84=9', '80-9=71']
Exploring Operation: 74+71=145, Resulting Numbers: [145]
145,76 unequal: No Solution
Exploring Operation: 74*71=5254, Resulting Numbers: [5254]
5254,76 unequal: No Solution
Exploring Operation: 74-71=3, Resulting Numbers: [3]
3,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 76:[9, 6], Operations: ['93-84=9', '80-74=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,76 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[80, 83], Operations: ['93-84=9', '74+9=83']
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 80+83=163, Resulting Numbers: [163]
163,76 unequal: No Solution
Exploring Operation: 80*83=6640, Resulting Numbers: [6640]
6640,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[80, 65], Operations: ['93-84=9', '74-9=65']
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 80+65=145, Resulting Numbers: [145]
145,76 unequal: No Solution
Exploring Operation: 80*65=5200, Resulting Numbers: [5200]
5200,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[84, 80, 19], Operations: ['93-74=19']
Exploring Operation: 84-19=65, Resulting Numbers: [80, 65]
Generated Node #0,2,0: 76:[80, 65] Operation: 84-19=65
Exploring Operation: 84-80=4, Resulting Numbers: [19, 4]
Generated Node #0,2,1: 76:[19, 4] Operation: 84-80=4
Exploring Operation: 84+19=103, Resulting Numbers: [80, 103]
Generated Node #0,2,2: 76:[80, 103] Operation: 84+19=103
Exploring Operation: 80-19=61, Resulting Numbers: [84, 61]
Generated Node #0,2,3: 76:[84, 61] Operation: 80-19=61
Moving to Node #0,2,1
Current State: 76:[19, 4], Operations: ['93-74=19', '84-80=4']
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[93, 84, 74, 80], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [84, 80, 19]
Generated Node #0,2: 76:[84, 80, 19] Operation: 93-74=19
Moving to Node #0,2
Current State: 76:[84, 80, 19], Operations: ['93-74=19']
Exploring Operation: 84-80=4, Resulting Numbers: [19, 4]
Generated Node #0,2,1: 76:[19, 4] Operation: 84-80=4
Moving to Node #0,2,1
Current State: 76:[19, 4], Operations: ['93-74=19', '84-80=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
33,
88,
14,
58
] | 66 | [
"33*88=2904",
"58-14=44",
"2904/44=66"
] | Current State: 66:[33, 88, 14, 58], Operations: []
Exploring Operation: 33*88=2904, Resulting Numbers: [14, 58, 2904]
Generated Node #2: [14, 58, 2904] from Operation: 33*88=2904
Current State: 66:[14, 58, 2904], Operations: ['33*88=2904']
Exploring Operation: 58-14=44, Resulting Numbers: [2904, 44]
Generated Node #3: [2904, 44] from Operation: 58-14=44
Current State: 66:[2904, 44], Operations: ['33*88=2904', '58-14=44']
Exploring Operation: 2904/44=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[33, 88, 14, 58], Operations: []
Exploring Operation: 58-33=25, Resulting Numbers: [88, 14, 25]
Generated Node #0,0: 66:[88, 14, 25] Operation: 58-33=25
Exploring Operation: 88-33=55, Resulting Numbers: [14, 58, 55]
Generated Node #0,1: 66:[14, 58, 55] Operation: 88-33=55
Exploring Operation: 88-58=30, Resulting Numbers: [33, 14, 30]
Generated Node #0,2: 66:[33, 14, 30] Operation: 88-58=30
Exploring Operation: 88-14=74, Resulting Numbers: [33, 58, 74]
Generated Node #0,3: 66:[33, 58, 74] Operation: 88-14=74
Moving to Node #0,2
Current State: 66:[33, 14, 30], Operations: ['88-58=30']
Exploring Operation: 33-14=19, Resulting Numbers: [30, 19]
Generated Node #0,2,0: 66:[30, 19] Operation: 33-14=19
Exploring Operation: 33-30=3, Resulting Numbers: [14, 3]
Generated Node #0,2,1: 66:[14, 3] Operation: 33-30=3
Exploring Operation: 33+30=63, Resulting Numbers: [14, 63]
Generated Node #0,2,2: 66:[14, 63] Operation: 33+30=63
Exploring Operation: 30-14=16, Resulting Numbers: [33, 16]
Generated Node #0,2,3: 66:[33, 16] Operation: 30-14=16
Moving to Node #0,3
Current State: 66:[33, 58, 74], Operations: ['88-14=74']
Exploring Operation: 74-58=16, Resulting Numbers: [33, 16]
Generated Node #0,3,0: 66:[33, 16] Operation: 74-58=16
Exploring Operation: 33+58=91, Resulting Numbers: [74, 91]
Generated Node #0,3,1: 66:[74, 91] Operation: 33+58=91
Exploring Operation: 74-33=41, Resulting Numbers: [58, 41]
Generated Node #0,3,2: 66:[58, 41] Operation: 74-33=41
Exploring Operation: 58-33=25, Resulting Numbers: [74, 25]
Generated Node #0,3,3: 66:[74, 25] Operation: 58-33=25
Moving to Node #0,1
Current State: 66:[14, 58, 55], Operations: ['88-33=55']
Exploring Operation: 14+58=72, Resulting Numbers: [55, 72]
Generated Node #0,1,0: 66:[55, 72] Operation: 14+58=72
Exploring Operation: 14+55=69, Resulting Numbers: [58, 69]
Generated Node #0,1,1: 66:[58, 69] Operation: 14+55=69
Exploring Operation: 58-55=3, Resulting Numbers: [14, 3]
Generated Node #0,1,2: 66:[14, 3] Operation: 58-55=3
Exploring Operation: 55-14=41, Resulting Numbers: [58, 41]
Generated Node #0,1,3: 66:[58, 41] Operation: 55-14=41
Moving to Node #0,0
Current State: 66:[88, 14, 25], Operations: ['58-33=25']
Exploring Operation: 25-14=11, Resulting Numbers: [88, 11]
Generated Node #0,0,0: 66:[88, 11] Operation: 25-14=11
Exploring Operation: 14+25=39, Resulting Numbers: [88, 39]
Generated Node #0,0,1: 66:[88, 39] Operation: 14+25=39
Exploring Operation: 88-14=74, Resulting Numbers: [25, 74]
Generated Node #0,0,2: 66:[25, 74] Operation: 88-14=74
Exploring Operation: 88-25=63, Resulting Numbers: [14, 63]
Generated Node #0,0,3: 66:[14, 63] Operation: 88-25=63
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[14, 63], Operations: ['58-33=25', '88-25=63']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[25, 74], Operations: ['58-33=25', '88-14=74']
Exploring Operation: 25*74=1850, Resulting Numbers: [1850]
1850,66 unequal: No Solution
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Exploring Operation: 25+74=99, Resulting Numbers: [99]
99,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[88, 11], Operations: ['58-33=25', '25-14=11']
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Exploring Operation: 88*11=968, Resulting Numbers: [968]
968,66 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[88, 39], Operations: ['58-33=25', '14+25=39']
Exploring Operation: 88*39=3432, Resulting Numbers: [3432]
3432,66 unequal: No Solution
Exploring Operation: 88+39=127, Resulting Numbers: [127]
127,66 unequal: No Solution
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,66 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: 66:[14, 3], Operations: ['88-58=30', '33-30=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[14, 3], Operations: ['88-33=55', '58-55=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[33, 16], Operations: ['88-14=74', '74-58=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[33, 16], Operations: ['88-58=30', '30-14=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,66 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[30, 19], Operations: ['88-58=30', '33-14=19']
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,66 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[14, 63], Operations: ['88-58=30', '33+30=63']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[74, 25], Operations: ['88-14=74', '58-33=25']
Exploring Operation: 74+25=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Exploring Operation: 74*25=1850, Resulting Numbers: [1850]
1850,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[58, 69], Operations: ['88-33=55', '14+55=69']
Exploring Operation: 69-58=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 58*69=4002, Resulting Numbers: [4002]
4002,66 unequal: No Solution
Exploring Operation: 58+69=127, Resulting Numbers: [127]
127,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[58, 41], Operations: ['88-14=74', '74-33=41']
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,66 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[58, 41], Operations: ['88-33=55', '55-14=41']
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[55, 72], Operations: ['88-33=55', '14+58=72']
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 55*72=3960, Resulting Numbers: [3960]
3960,66 unequal: No Solution
Exploring Operation: 55+72=127, Resulting Numbers: [127]
127,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[74, 91], Operations: ['88-14=74', '33+58=91']
Exploring Operation: 74*91=6734, Resulting Numbers: [6734]
6734,66 unequal: No Solution
Exploring Operation: 74+91=165, Resulting Numbers: [165]
165,66 unequal: No Solution
Exploring Operation: 91-74=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
53,
11,
67,
81
] | 78 | [
"53+11=64",
"81-67=14",
"64+14=78"
] | Current State: 78:[53, 11, 67, 81], Operations: []
Exploring Operation: 53+11=64, Resulting Numbers: [67, 81, 64]
Generated Node #2: [67, 81, 64] from Operation: 53+11=64
Current State: 78:[67, 81, 64], Operations: ['53+11=64']
Exploring Operation: 81-67=14, Resulting Numbers: [64, 14]
Generated Node #3: [64, 14] from Operation: 81-67=14
Current State: 78:[64, 14], Operations: ['53+11=64', '81-67=14']
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[53, 11, 67, 81], Operations: []
Exploring Operation: 67-53=14, Resulting Numbers: [11, 81, 14]
Generated Node #0,0: 78:[11, 81, 14] Operation: 67-53=14
Exploring Operation: 81-53=28, Resulting Numbers: [11, 67, 28]
Generated Node #0,1: 78:[11, 67, 28] Operation: 81-53=28
Exploring Operation: 53-11=42, Resulting Numbers: [67, 81, 42]
Generated Node #0,2: 78:[67, 81, 42] Operation: 53-11=42
Moving to Node #0,0
Current State: 78:[11, 81, 14], Operations: ['67-53=14']
Exploring Operation: 14-11=3, Resulting Numbers: [81, 3]
Generated Node #0,0,0: 78:[81, 3] Operation: 14-11=3
Exploring Operation: 81-11=70, Resulting Numbers: [14, 70]
Generated Node #0,0,1: 78:[14, 70] Operation: 81-11=70
Exploring Operation: 11+14=25, Resulting Numbers: [81, 25]
Generated Node #0,0,2: 78:[81, 25] Operation: 11+14=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[81, 3], Operations: ['67-53=14', '14-11=3']
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[53, 11, 67, 81], Operations: []
Exploring Operation: 67-53=14, Resulting Numbers: [11, 81, 14]
Generated Node #0,0: 78:[11, 81, 14] Operation: 67-53=14
Moving to Node #0,0
Current State: 78:[11, 81, 14], Operations: ['67-53=14']
Exploring Operation: 14-11=3, Resulting Numbers: [81, 3]
Generated Node #0,0,0: 78:[81, 3] Operation: 14-11=3
Moving to Node #0,0,0
Current State: 78:[81, 3], Operations: ['67-53=14', '14-11=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
95,
50,
27,
97
] | 52 | [
"97-95=2",
"50/2=25",
"27+25=52"
] | Current State: 52:[95, 50, 27, 97], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [50, 27, 2]
Generated Node #2: [50, 27, 2] from Operation: 97-95=2
Current State: 52:[50, 27, 2], Operations: ['97-95=2']
Exploring Operation: 50/2=25, Resulting Numbers: [27, 25]
Generated Node #3: [27, 25] from Operation: 50/2=25
Current State: 52:[27, 25], Operations: ['97-95=2', '50/2=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[95, 50, 27, 97], Operations: []
Exploring Operation: 97-50=47, Resulting Numbers: [95, 27, 47]
Generated Node #0,0: 52:[95, 27, 47] Operation: 97-50=47
Exploring Operation: 97-95=2, Resulting Numbers: [50, 27, 2]
Generated Node #0,1: 52:[50, 27, 2] Operation: 97-95=2
Exploring Operation: 95-50=45, Resulting Numbers: [27, 97, 45]
Generated Node #0,2: 52:[27, 97, 45] Operation: 95-50=45
Exploring Operation: 95-27=68, Resulting Numbers: [50, 97, 68]
Generated Node #0,3: 52:[50, 97, 68] Operation: 95-27=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[50, 27, 2], Operations: ['97-95=2']
Exploring Operation: 50+2=52, Resulting Numbers: [27, 52]
Generated Node #0,1,0: 52:[27, 52] Operation: 50+2=52
Exploring Operation: 27-2=25, Resulting Numbers: [50, 25]
Generated Node #0,1,1: 52:[50, 25] Operation: 27-2=25
Exploring Operation: 50/2=25, Resulting Numbers: [27, 25]
Generated Node #0,1,2: 52:[27, 25] Operation: 50/2=25
Exploring Operation: 50-27=23, Resulting Numbers: [2, 23]
Generated Node #0,1,3: 52:[2, 23] Operation: 50-27=23
Moving to Node #0,1,0
Current State: 52:[27, 52], Operations: ['97-95=2', '50+2=52']
Exploring Operation: 27*52=1404, Resulting Numbers: [1404]
1404,52 unequal: No Solution
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[27, 25], Operations: ['97-95=2', '50/2=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[95, 50, 27, 97], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [50, 27, 2]
Generated Node #0,1: 52:[50, 27, 2] Operation: 97-95=2
Moving to Node #0,1
Current State: 52:[50, 27, 2], Operations: ['97-95=2']
Exploring Operation: 50/2=25, Resulting Numbers: [27, 25]
Generated Node #0,1,2: 52:[27, 25] Operation: 50/2=25
Moving to Node #0,1,2
Current State: 52:[27, 25], Operations: ['97-95=2', '50/2=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
96,
81,
69,
73
] | 57 | [
"81-73=8",
"96/8=12",
"69-12=57"
] | Current State: 57:[96, 81, 69, 73], Operations: []
Exploring Operation: 81-73=8, Resulting Numbers: [96, 69, 8]
Generated Node #2: [96, 69, 8] from Operation: 81-73=8
Current State: 57:[96, 69, 8], Operations: ['81-73=8']
Exploring Operation: 96/8=12, Resulting Numbers: [69, 12]
Generated Node #3: [69, 12] from Operation: 96/8=12
Current State: 57:[69, 12], Operations: ['81-73=8', '96/8=12']
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[96, 81, 69, 73], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [96, 73, 12]
Generated Node #0,0: 57:[96, 73, 12] Operation: 81-69=12
Exploring Operation: 96-69=27, Resulting Numbers: [81, 73, 27]
Generated Node #0,1: 57:[81, 73, 27] Operation: 96-69=27
Exploring Operation: 96-73=23, Resulting Numbers: [81, 69, 23]
Generated Node #0,2: 57:[81, 69, 23] Operation: 96-73=23
Exploring Operation: 81-73=8, Resulting Numbers: [96, 69, 8]
Generated Node #0,3: 57:[96, 69, 8] Operation: 81-73=8
Exploring Operation: 96-81=15, Resulting Numbers: [69, 73, 15]
Generated Node #0,4: 57:[69, 73, 15] Operation: 96-81=15
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[69, 73, 15], Operations: ['96-81=15']
Exploring Operation: 73+15=88, Resulting Numbers: [69, 88]
Generated Node #0,4,0: 57:[69, 88] Operation: 73+15=88
Exploring Operation: 73-69=4, Resulting Numbers: [15, 4]
Generated Node #0,4,1: 57:[15, 4] Operation: 73-69=4
Exploring Operation: 73-15=58, Resulting Numbers: [69, 58]
Generated Node #0,4,2: 57:[69, 58] Operation: 73-15=58
Exploring Operation: 69-15=54, Resulting Numbers: [73, 54]
Generated Node #0,4,3: 57:[73, 54] Operation: 69-15=54
Exploring Operation: 69+15=84, Resulting Numbers: [73, 84]
Generated Node #0,4,4: 57:[73, 84] Operation: 69+15=84
Moving to Node #0,4,1
Current State: 57:[15, 4], Operations: ['96-81=15', '73-69=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Moving to Node #0,4,2
Current State: 57:[69, 58], Operations: ['96-81=15', '73-15=58']
Exploring Operation: 69-58=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 69*58=4002, Resulting Numbers: [4002]
4002,57 unequal: No Solution
Exploring Operation: 69+58=127, Resulting Numbers: [127]
127,57 unequal: No Solution
Moving to Node #0,4,3
Current State: 57:[73, 54], Operations: ['96-81=15', '69-15=54']
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,57 unequal: No Solution
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,57 unequal: No Solution
Moving to Node #0,4,0
Current State: 57:[69, 88], Operations: ['96-81=15', '73+15=88']
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 69+88=157, Resulting Numbers: [157]
157,57 unequal: No Solution
Exploring Operation: 69*88=6072, Resulting Numbers: [6072]
6072,57 unequal: No Solution
Moving to Node #0,4,4
Current State: 57:[73, 84], Operations: ['96-81=15', '69+15=84']
Exploring Operation: 73+84=157, Resulting Numbers: [157]
157,57 unequal: No Solution
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 73*84=6132, Resulting Numbers: [6132]
6132,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,2
Current State: 57:[81, 69, 23], Operations: ['96-73=23']
Exploring Operation: 69-23=46, Resulting Numbers: [81, 46]
Generated Node #0,2,0: 57:[81, 46] Operation: 69-23=46
Exploring Operation: 81+23=104, Resulting Numbers: [69, 104]
Generated Node #0,2,1: 57:[69, 104] Operation: 81+23=104
Exploring Operation: 69/23=3, Resulting Numbers: [81, 3]
Generated Node #0,2,2: 57:[81, 3] Operation: 69/23=3
Exploring Operation: 81-23=58, Resulting Numbers: [69, 58]
Generated Node #0,2,3: 57:[69, 58] Operation: 81-23=58
Exploring Operation: 81-69=12, Resulting Numbers: [23, 12]
Generated Node #0,2,4: 57:[23, 12] Operation: 81-69=12
Moving to Node #0,2,4
Current State: 57:[23, 12], Operations: ['96-73=23', '81-69=12']
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,57 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[69, 58], Operations: ['96-73=23', '81-23=58']
Exploring Operation: 69+58=127, Resulting Numbers: [127]
127,57 unequal: No Solution
Exploring Operation: 69*58=4002, Resulting Numbers: [4002]
4002,57 unequal: No Solution
Exploring Operation: 69-58=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[81, 3], Operations: ['96-73=23', '69/23=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[81, 46], Operations: ['96-73=23', '69-23=46']
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 81*46=3726, Resulting Numbers: [3726]
3726,57 unequal: No Solution
Exploring Operation: 81+46=127, Resulting Numbers: [127]
127,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[69, 104], Operations: ['96-73=23', '81+23=104']
Exploring Operation: 69*104=7176, Resulting Numbers: [7176]
7176,57 unequal: No Solution
Exploring Operation: 104-69=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 69+104=173, Resulting Numbers: [173]
173,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
Current State: 57:[81, 73, 27], Operations: ['96-69=27']
Exploring Operation: 81+27=108, Resulting Numbers: [73, 108]
Generated Node #0,1,0: 57:[73, 108] Operation: 81+27=108
Exploring Operation: 81-27=54, Resulting Numbers: [73, 54]
Generated Node #0,1,1: 57:[73, 54] Operation: 81-27=54
Exploring Operation: 81-73=8, Resulting Numbers: [27, 8]
Generated Node #0,1,2: 57:[27, 8] Operation: 81-73=8
Exploring Operation: 81/27=3, Resulting Numbers: [73, 3]
Generated Node #0,1,3: 57:[73, 3] Operation: 81/27=3
Exploring Operation: 73-27=46, Resulting Numbers: [81, 46]
Generated Node #0,1,4: 57:[81, 46] Operation: 73-27=46
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[27, 8], Operations: ['96-69=27', '81-73=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,57 unequal: No Solution
No 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: 57:[73, 3], Operations: ['96-69=27', '81/27=3']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,57 unequal: No Solution
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,57 unequal: No Solution
No 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: 57:[73, 54], Operations: ['96-69=27', '81-27=54']
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,57 unequal: No Solution
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,57 unequal: No Solution
No 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: 57:[81, 46], Operations: ['96-69=27', '73-27=46']
Exploring Operation: 81+46=127, Resulting Numbers: [127]
127,57 unequal: No Solution
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 81*46=3726, Resulting Numbers: [3726]
3726,57 unequal: No Solution
No 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: 57:[73, 108], Operations: ['96-69=27', '81+27=108']
Exploring Operation: 108-73=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 73*108=7884, Resulting Numbers: [7884]
7884,57 unequal: No Solution
Exploring Operation: 73+108=181, Resulting Numbers: [181]
181,57 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: 57:[96, 69, 8], Operations: ['81-73=8']
Exploring Operation: 69-8=61, Resulting Numbers: [96, 61]
Generated Node #0,3,0: 57:[96, 61] Operation: 69-8=61
Exploring Operation: 96-8=88, Resulting Numbers: [69, 88]
Generated Node #0,3,1: 57:[69, 88] Operation: 96-8=88
Exploring Operation: 96-69=27, Resulting Numbers: [8, 27]
Generated Node #0,3,2: 57:[8, 27] Operation: 96-69=27
Exploring Operation: 96+8=104, Resulting Numbers: [69, 104]
Generated Node #0,3,3: 57:[69, 104] Operation: 96+8=104
Exploring Operation: 96/8=12, Resulting Numbers: [69, 12]
Generated Node #0,3,4: 57:[69, 12] Operation: 96/8=12
Moving to Node #0,3,2
Current State: 57:[8, 27], Operations: ['81-73=8', '96-69=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,57 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Moving to Node #0,3,4
Current State: 57:[69, 12], Operations: ['81-73=8', '96/8=12']
Exploring Operation: 69*12=828, Resulting Numbers: [828]
828,57 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[96, 81, 69, 73], Operations: []
Exploring Operation: 81-73=8, Resulting Numbers: [96, 69, 8]
Generated Node #0,3: 57:[96, 69, 8] Operation: 81-73=8
Moving to Node #0,3
Current State: 57:[96, 69, 8], Operations: ['81-73=8']
Exploring Operation: 96/8=12, Resulting Numbers: [69, 12]
Generated Node #0,3,4: 57:[69, 12] Operation: 96/8=12
Moving to Node #0,3,4
Current State: 57:[69, 12], Operations: ['81-73=8', '96/8=12']
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.930556 | hs_5 | sum_heuristic |
[
3,
2,
8,
45
] | 31 | [
"3*2=6",
"45-8=37",
"37-6=31"
] | Current State: 31:[3, 2, 8, 45], Operations: []
Exploring Operation: 3*2=6, Resulting Numbers: [8, 45, 6]
Generated Node #2: [8, 45, 6] from Operation: 3*2=6
Current State: 31:[8, 45, 6], Operations: ['3*2=6']
Exploring Operation: 45-8=37, Resulting Numbers: [6, 37]
Generated Node #3: [6, 37] from Operation: 45-8=37
Current State: 31:[6, 37], Operations: ['3*2=6', '45-8=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[3, 2, 8, 45], Operations: []
Exploring Operation: 3*8=24, Resulting Numbers: [2, 45, 24]
Generated Node #0,0: 31:[2, 45, 24] Operation: 3*8=24
Exploring Operation: 3*2=6, Resulting Numbers: [8, 45, 6]
Generated Node #0,1: 31:[8, 45, 6] Operation: 3*2=6
Exploring Operation: 3+2=5, Resulting Numbers: [8, 45, 5]
Generated Node #0,2: 31:[8, 45, 5] Operation: 3+2=5
Exploring Operation: 2*8=16, Resulting Numbers: [3, 45, 16]
Generated Node #0,3: 31:[3, 45, 16] Operation: 2*8=16
Moving to Node #0,0
Current State: 31:[2, 45, 24], Operations: ['3*8=24']
Exploring Operation: 2+24=26, Resulting Numbers: [45, 26]
Generated Node #0,0,0: 31:[45, 26] Operation: 2+24=26
Exploring Operation: 45-2=43, Resulting Numbers: [24, 43]
Generated Node #0,0,1: 31:[24, 43] Operation: 45-2=43
Exploring Operation: 2+45=47, Resulting Numbers: [24, 47]
Generated Node #0,0,2: 31:[24, 47] Operation: 2+45=47
Exploring Operation: 24-2=22, Resulting Numbers: [45, 22]
Generated Node #0,0,3: 31:[45, 22] Operation: 24-2=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[45, 26], Operations: ['3*8=24', '2+24=26']
Exploring Operation: 45*26=1170, Resulting Numbers: [1170]
1170,31 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,31 unequal: No Solution
No 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: 31:[24, 43], Operations: ['3*8=24', '45-2=43']
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 24*43=1032, Resulting Numbers: [1032]
1032,31 unequal: No Solution
No 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: 31:[24, 47], Operations: ['3*8=24', '2+45=47']
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,31 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 24*47=1128, Resulting Numbers: [1128]
1128,31 unequal: No Solution
No 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: 31:[45, 22], Operations: ['3*8=24', '24-2=22']
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,31 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: 31:[3, 45, 16], Operations: ['2*8=16']
Exploring Operation: 3+16=19, Resulting Numbers: [45, 19]
Generated Node #0,3,0: 31:[45, 19] Operation: 3+16=19
Exploring Operation: 45/3=15, Resulting Numbers: [16, 15]
Generated Node #0,3,1: 31:[16, 15] Operation: 45/3=15
Exploring Operation: 45-16=29, Resulting Numbers: [3, 29]
Generated Node #0,3,2: 31:[3, 29] Operation: 45-16=29
Exploring Operation: 45-3=42, Resulting Numbers: [16, 42]
Generated Node #0,3,3: 31:[16, 42] Operation: 45-3=42
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 31:[45, 19], Operations: ['2*8=16', '3+16=19']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,31 unequal: No Solution
No 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: 31:[16, 42], Operations: ['2*8=16', '45-3=42']
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 16*42=672, Resulting Numbers: [672]
672,31 unequal: No Solution
Exploring Operation: 16+42=58, Resulting Numbers: [58]
58,31 unequal: No Solution
No 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: 31:[3, 29], Operations: ['2*8=16', '45-16=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,31 unequal: No Solution
No 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: 31:[16, 15], Operations: ['2*8=16', '45/3=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[3, 2, 8, 45], Operations: []
Exploring Operation: 2*8=16, Resulting Numbers: [3, 45, 16]
Generated Node #0,3: 31:[3, 45, 16] Operation: 2*8=16
Moving to Node #0,3
Current State: 31:[3, 45, 16], Operations: ['2*8=16']
Exploring Operation: 45/3=15, Resulting Numbers: [16, 15]
Generated Node #0,3,1: 31:[16, 15] Operation: 45/3=15
Moving to Node #0,3,1
Current State: 31:[16, 15], Operations: ['2*8=16', '45/3=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
16,
4,
26,
53
] | 23 | [
"16/4=4",
"53-26=27",
"27-4=23"
] | Current State: 23:[16, 4, 26, 53], Operations: []
Exploring Operation: 16/4=4, Resulting Numbers: [26, 53, 4]
Generated Node #2: [26, 53, 4] from Operation: 16/4=4
Current State: 23:[26, 53, 4], Operations: ['16/4=4']
Exploring Operation: 53-26=27, Resulting Numbers: [4, 27]
Generated Node #3: [4, 27] from Operation: 53-26=27
Current State: 23:[4, 27], Operations: ['16/4=4', '53-26=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[16, 4, 26, 53], Operations: []
Exploring Operation: 53-4=49, Resulting Numbers: [16, 26, 49]
Generated Node #0,0: 23:[16, 26, 49] Operation: 53-4=49
Exploring Operation: 53-16=37, Resulting Numbers: [4, 26, 37]
Generated Node #0,1: 23:[4, 26, 37] Operation: 53-16=37
Exploring Operation: 16+4=20, Resulting Numbers: [26, 53, 20]
Generated Node #0,2: 23:[26, 53, 20] Operation: 16+4=20
Exploring Operation: 26-4=22, Resulting Numbers: [16, 53, 22]
Generated Node #0,3: 23:[16, 53, 22] Operation: 26-4=22
Exploring Operation: 53-26=27, Resulting Numbers: [16, 4, 27]
Generated Node #0,4: 23:[16, 4, 27] Operation: 53-26=27
Moving to Node #0,4
Current State: 23:[16, 4, 27], Operations: ['53-26=27']
Exploring Operation: 27-4=23, Resulting Numbers: [16, 23]
Generated Node #0,4,0: 23:[16, 23] Operation: 27-4=23
Exploring Operation: 16/4=4, Resulting Numbers: [27, 4]
Generated Node #0,4,1: 23:[27, 4] Operation: 16/4=4
Exploring Operation: 16+4=20, Resulting Numbers: [27, 20]
Generated Node #0,4,2: 23:[27, 20] Operation: 16+4=20
Exploring Operation: 4+27=31, Resulting Numbers: [16, 31]
Generated Node #0,4,3: 23:[16, 31] Operation: 4+27=31
Exploring Operation: 16-4=12, Resulting Numbers: [27, 12]
Generated Node #0,4,4: 23:[27, 12] Operation: 16-4=12
Moving to Node #0,1
Current State: 23:[4, 26, 37], Operations: ['53-16=37']
Exploring Operation: 37-4=33, Resulting Numbers: [26, 33]
Generated Node #0,1,0: 23:[26, 33] Operation: 37-4=33
Exploring Operation: 37-26=11, Resulting Numbers: [4, 11]
Generated Node #0,1,1: 23:[4, 11] Operation: 37-26=11
Exploring Operation: 4+37=41, Resulting Numbers: [26, 41]
Generated Node #0,1,2: 23:[26, 41] Operation: 4+37=41
Exploring Operation: 26-4=22, Resulting Numbers: [37, 22]
Generated Node #0,1,3: 23:[37, 22] Operation: 26-4=22
Exploring Operation: 4+26=30, Resulting Numbers: [37, 30]
Generated Node #0,1,4: 23:[37, 30] Operation: 4+26=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[26, 33], Operations: ['53-16=37', '37-4=33']
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,23 unequal: No Solution
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,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,1,3
Current State: 23:[37, 22], Operations: ['53-16=37', '26-4=22']
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,23 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,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,1,2
Current State: 23:[26, 41], Operations: ['53-16=37', '4+37=41']
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,23 unequal: No Solution
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,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,1,4
Current State: 23:[37, 30], Operations: ['53-16=37', '4+26=30']
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,23 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,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,1,1
Current State: 23:[4, 11], Operations: ['53-16=37', '37-26=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,23 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: 23:[16, 26, 49], Operations: ['53-4=49']
Exploring Operation: 16+49=65, Resulting Numbers: [26, 65]
Generated Node #0,0,0: 23:[26, 65] Operation: 16+49=65
Exploring Operation: 16+26=42, Resulting Numbers: [49, 42]
Generated Node #0,0,1: 23:[49, 42] Operation: 16+26=42
Exploring Operation: 26-16=10, Resulting Numbers: [49, 10]
Generated Node #0,0,2: 23:[49, 10] Operation: 26-16=10
Exploring Operation: 49-26=23, Resulting Numbers: [16, 23]
Generated Node #0,0,3: 23:[16, 23] Operation: 49-26=23
Exploring Operation: 49-16=33, Resulting Numbers: [26, 33]
Generated Node #0,0,4: 23:[26, 33] Operation: 49-16=33
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 23:[16, 23], Operations: ['53-4=49', '49-26=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,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,0,4
Current State: 23:[26, 33], Operations: ['53-4=49', '49-16=33']
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,23 unequal: No Solution
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,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,0,2
Current State: 23:[49, 10], Operations: ['53-4=49', '26-16=10']
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,23 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,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,0,0
Current State: 23:[26, 65], Operations: ['53-4=49', '16+49=65']
Exploring Operation: 26+65=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 26*65=1690, Resulting Numbers: [1690]
1690,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,0,1
Current State: 23:[49, 42], Operations: ['53-4=49', '16+26=42']
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,23 unequal: No Solution
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,23 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: 23:[26, 53, 20], Operations: ['16+4=20']
Exploring Operation: 53-26=27, Resulting Numbers: [20, 27]
Generated Node #0,2,0: 23:[20, 27] Operation: 53-26=27
Exploring Operation: 53+20=73, Resulting Numbers: [26, 73]
Generated Node #0,2,1: 23:[26, 73] Operation: 53+20=73
Exploring Operation: 26+20=46, Resulting Numbers: [53, 46]
Generated Node #0,2,2: 23:[53, 46] Operation: 26+20=46
Exploring Operation: 26-20=6, Resulting Numbers: [53, 6]
Generated Node #0,2,3: 23:[53, 6] Operation: 26-20=6
Exploring Operation: 53-20=33, Resulting Numbers: [26, 33]
Generated Node #0,2,4: 23:[26, 33] Operation: 53-20=33
Moving to Node #0,3
Current State: 23:[16, 53, 22], Operations: ['26-4=22']
Exploring Operation: 22-16=6, Resulting Numbers: [53, 6]
Generated Node #0,3,0: 23:[53, 6] Operation: 22-16=6
Exploring Operation: 16+53=69, Resulting Numbers: [22, 69]
Generated Node #0,3,1: 23:[22, 69] Operation: 16+53=69
Exploring Operation: 16+22=38, Resulting Numbers: [53, 38]
Generated Node #0,3,2: 23:[53, 38] Operation: 16+22=38
Exploring Operation: 53-16=37, Resulting Numbers: [22, 37]
Generated Node #0,3,3: 23:[22, 37] Operation: 53-16=37
Exploring Operation: 53-22=31, Resulting Numbers: [16, 31]
Generated Node #0,3,4: 23:[16, 31] Operation: 53-22=31
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 23:[22, 37], Operations: ['26-4=22', '53-16=37']
Exploring Operation: 22*37=814, Resulting Numbers: [814]
814,23 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,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,3,4
Current State: 23:[16, 31], Operations: ['26-4=22', '53-22=31']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 16*31=496, Resulting Numbers: [496]
496,23 unequal: No Solution
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,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,3,2
Current State: 23:[53, 38], Operations: ['26-4=22', '16+22=38']
Exploring Operation: 53+38=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 53*38=2014, Resulting Numbers: [2014]
2014,23 unequal: No Solution
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,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,3,0
Current State: 23:[53, 6], Operations: ['26-4=22', '22-16=6']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,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,3,1
Current State: 23:[22, 69], Operations: ['26-4=22', '16+53=69']
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Exploring Operation: 22*69=1518, Resulting Numbers: [1518]
1518,23 unequal: No Solution
Exploring Operation: 22+69=91, Resulting Numbers: [91]
91,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 23:[16, 23], Operations: ['53-26=27', '27-4=23']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[20, 27], Operations: ['16+4=20', '53-26=27']
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,23 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Moving to Node #0,4,2
Current State: 23:[27, 20], Operations: ['53-26=27', '16+4=20']
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,23 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Moving to Node #0,2,4
Current State: 23:[26, 33], Operations: ['16+4=20', '53-20=33']
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,23 unequal: No Solution
Moving to Node #0,4,3
Current State: 23:[16, 31], Operations: ['53-26=27', '4+27=31']
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Exploring Operation: 16*31=496, Resulting Numbers: [496]
496,23 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Moving to Node #0,4,4
Current State: 23:[27, 12], Operations: ['53-26=27', '16-4=12']
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,23 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Moving to Node #0,4,1
Current State: 23:[27, 4], Operations: ['53-26=27', '16/4=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[16, 4, 26, 53], Operations: []
Exploring Operation: 53-26=27, Resulting Numbers: [16, 4, 27]
Generated Node #0,4: 23:[16, 4, 27] Operation: 53-26=27
Moving to Node #0,4
Current State: 23:[16, 4, 27], Operations: ['53-26=27']
Exploring Operation: 16/4=4, Resulting Numbers: [27, 4]
Generated Node #0,4,1: 23:[27, 4] Operation: 16/4=4
Moving to Node #0,4,1
Current State: 23:[27, 4], Operations: ['53-26=27', '16/4=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.914063 | hs_5 | sum_heuristic |
[
53,
20,
87,
68
] | 52 | [
"53-20=33",
"87-68=19",
"33+19=52"
] | Current State: 52:[53, 20, 87, 68], Operations: []
Exploring Operation: 53-20=33, Resulting Numbers: [87, 68, 33]
Generated Node #2: [87, 68, 33] from Operation: 53-20=33
Current State: 52:[87, 68, 33], Operations: ['53-20=33']
Exploring Operation: 87-68=19, Resulting Numbers: [33, 19]
Generated Node #3: [33, 19] from Operation: 87-68=19
Current State: 52:[33, 19], Operations: ['53-20=33', '87-68=19']
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[53, 20, 87, 68], Operations: []
Exploring Operation: 87-68=19, Resulting Numbers: [53, 20, 19]
Generated Node #0,0: 52:[53, 20, 19] Operation: 87-68=19
Exploring Operation: 87-20=67, Resulting Numbers: [53, 68, 67]
Generated Node #0,1: 52:[53, 68, 67] Operation: 87-20=67
Exploring Operation: 87-53=34, Resulting Numbers: [20, 68, 34]
Generated Node #0,2: 52:[20, 68, 34] Operation: 87-53=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[53, 20, 19], Operations: ['87-68=19']
Exploring Operation: 20-19=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 52:[53, 1] Operation: 20-19=1
Exploring Operation: 53-20=33, Resulting Numbers: [19, 33]
Generated Node #0,0,1: 52:[19, 33] Operation: 53-20=33
Exploring Operation: 53-19=34, Resulting Numbers: [20, 34]
Generated Node #0,0,2: 52:[20, 34] Operation: 53-19=34
Moving to Node #0,0,0
Current State: 52:[53, 1], Operations: ['87-68=19', '20-19=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[53, 20, 87, 68], Operations: []
Exploring Operation: 87-68=19, Resulting Numbers: [53, 20, 19]
Generated Node #0,0: 52:[53, 20, 19] Operation: 87-68=19
Moving to Node #0,0
Current State: 52:[53, 20, 19], Operations: ['87-68=19']
Exploring Operation: 20-19=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 52:[53, 1] Operation: 20-19=1
Moving to Node #0,0,0
Current State: 52:[53, 1], Operations: ['87-68=19', '20-19=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.