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 |
|---|---|---|---|---|---|---|---|---|
[
87,
75,
44,
51
] | 84 | [
"87-75=12",
"51-44=7",
"12*7=84"
] | Current State: 84:[87, 75, 44, 51], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [44, 51, 12]
Generated Node #2: [44, 51, 12] from Operation: 87-75=12
Current State: 84:[44, 51, 12], Operations: ['87-75=12']
Exploring Operation: 51-44=7, Resulting Numbers: [12, 7]
Generated Node #3: [12, 7] from Operation: 51-44=7
Current State: 84:[12, 7], Operations: ['87-75=12', '51-44=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[87, 75, 44, 51], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [87, 44, 24]
Generated Node #0,0: 84:[87, 44, 24] Operation: 75-51=24
Exploring Operation: 87-75=12, Resulting Numbers: [44, 51, 12]
Generated Node #0,1: 84:[44, 51, 12] Operation: 87-75=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[87, 44, 24], Operations: ['75-51=24']
Exploring Operation: 44-24=20, Resulting Numbers: [87, 20]
Generated Node #0,0,0: 84:[87, 20] Operation: 44-24=20
Exploring Operation: 87-44=43, Resulting Numbers: [24, 43]
Generated Node #0,0,1: 84:[24, 43] Operation: 87-44=43
Moving to Node #0,0,0
Current State: 84:[87, 20], Operations: ['75-51=24', '44-24=20']
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 87+20=107, Resulting Numbers: [107]
107,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[24, 43], Operations: ['75-51=24', '87-44=43']
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,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
Current State: 84:[44, 51, 12], Operations: ['87-75=12']
Exploring Operation: 51-44=7, Resulting Numbers: [12, 7]
Generated Node #0,1,0: 84:[12, 7] Operation: 51-44=7
Exploring Operation: 51-12=39, Resulting Numbers: [44, 39]
Generated Node #0,1,1: 84:[44, 39] Operation: 51-12=39
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[12, 7], Operations: ['87-75=12', '51-44=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[87, 75, 44, 51], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [44, 51, 12]
Generated Node #0,1: 84:[44, 51, 12] Operation: 87-75=12
Moving to Node #0,1
Current State: 84:[44, 51, 12], Operations: ['87-75=12']
Exploring Operation: 51-44=7, Resulting Numbers: [12, 7]
Generated Node #0,1,0: 84:[12, 7] Operation: 51-44=7
Moving to Node #0,1,0
Current State: 84:[12, 7], Operations: ['87-75=12', '51-44=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
62,
39,
59,
76
] | 89 | [
"62-59=3",
"39/3=13",
"76+13=89"
] | Current State: 89:[62, 39, 59, 76], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [39, 76, 3]
Generated Node #2: [39, 76, 3] from Operation: 62-59=3
Current State: 89:[39, 76, 3], Operations: ['62-59=3']
Exploring Operation: 39/3=13, Resulting Numbers: [76, 13]
Generated Node #3: [76, 13] from Operation: 39/3=13
Current State: 89:[76, 13], Operations: ['62-59=3', '39/3=13']
Exploring Operation: 76+13=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[62, 39, 59, 76], Operations: []
Exploring Operation: 62+39=101, Resulting Numbers: [59, 76, 101]
Generated Node #0,0: 89:[59, 76, 101] Operation: 62+39=101
Exploring Operation: 39+76=115, Resulting Numbers: [62, 59, 115]
Generated Node #0,1: 89:[62, 59, 115] Operation: 39+76=115
Exploring Operation: 39+59=98, Resulting Numbers: [62, 76, 98]
Generated Node #0,2: 89:[62, 76, 98] Operation: 39+59=98
Moving to Node #0,2
Current State: 89:[62, 76, 98], Operations: ['39+59=98']
Exploring Operation: 76-62=14, Resulting Numbers: [98, 14]
Generated Node #0,2,0: 89:[98, 14] Operation: 76-62=14
Exploring Operation: 62+76=138, Resulting Numbers: [98, 138]
Generated Node #0,2,1: 89:[98, 138] Operation: 62+76=138
Exploring Operation: 98-62=36, Resulting Numbers: [76, 36]
Generated Node #0,2,2: 89:[76, 36] Operation: 98-62=36
Moving to Node #0,0
Current State: 89:[59, 76, 101], Operations: ['62+39=101']
Exploring Operation: 101-59=42, Resulting Numbers: [76, 42]
Generated Node #0,0,0: 89:[76, 42] Operation: 101-59=42
Exploring Operation: 59+76=135, Resulting Numbers: [101, 135]
Generated Node #0,0,1: 89:[101, 135] Operation: 59+76=135
Exploring Operation: 76-59=17, Resulting Numbers: [101, 17]
Generated Node #0,0,2: 89:[101, 17] Operation: 76-59=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[101, 135], Operations: ['62+39=101', '59+76=135']
Exploring Operation: 135-101=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 101+135=236, Resulting Numbers: [236]
236,89 unequal: No Solution
Exploring Operation: 101*135=13635, Resulting Numbers: [13635]
13635,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[76, 42], Operations: ['62+39=101', '101-59=42']
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,89 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[101, 17], Operations: ['62+39=101', '76-59=17']
Exploring Operation: 101+17=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 101*17=1717, Resulting Numbers: [1717]
1717,89 unequal: No Solution
Exploring Operation: 101-17=84, Resulting Numbers: [84]
84,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 89:[62, 59, 115], Operations: ['39+76=115']
Exploring Operation: 62+59=121, Resulting Numbers: [115, 121]
Generated Node #0,1,0: 89:[115, 121] Operation: 62+59=121
Exploring Operation: 115-59=56, Resulting Numbers: [62, 56]
Generated Node #0,1,1: 89:[62, 56] Operation: 115-59=56
Exploring Operation: 115-62=53, Resulting Numbers: [59, 53]
Generated Node #0,1,2: 89:[59, 53] Operation: 115-62=53
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[115, 121], Operations: ['39+76=115', '62+59=121']
Exploring Operation: 115*121=13915, Resulting Numbers: [13915]
13915,89 unequal: No Solution
Exploring Operation: 121-115=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 115+121=236, Resulting Numbers: [236]
236,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[62, 56], Operations: ['39+76=115', '115-59=56']
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 62+56=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 62*56=3472, Resulting Numbers: [3472]
3472,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[59, 53], Operations: ['39+76=115', '115-62=53']
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,89 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: 89:[98, 138], Operations: ['39+59=98', '62+76=138']
Exploring Operation: 98+138=236, Resulting Numbers: [236]
236,89 unequal: No Solution
Exploring Operation: 138-98=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 98*138=13524, Resulting Numbers: [13524]
13524,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[76, 36], Operations: ['39+59=98', '98-62=36']
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,89 unequal: No Solution
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[98, 14], Operations: ['39+59=98', '76-62=14']
Exploring Operation: 98-14=84, Resulting Numbers: [84]
84,89 unequal: No Solution
Exploring Operation: 98+14=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Exploring Operation: 98/14=7, Resulting Numbers: [7]
7,89 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
62,
78,
88,
2
] | 96 | [
"62+78=140",
"88/2=44",
"140-44=96"
] | Current State: 96:[62, 78, 88, 2], Operations: []
Exploring Operation: 62+78=140, Resulting Numbers: [88, 2, 140]
Generated Node #2: [88, 2, 140] from Operation: 62+78=140
Current State: 96:[88, 2, 140], Operations: ['62+78=140']
Exploring Operation: 88/2=44, Resulting Numbers: [140, 44]
Generated Node #3: [140, 44] from Operation: 88/2=44
Current State: 96:[140, 44], Operations: ['62+78=140', '88/2=44']
Exploring Operation: 140-44=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[62, 78, 88, 2], Operations: []
Exploring Operation: 88-62=26, Resulting Numbers: [78, 2, 26]
Generated Node #0,0: 96:[78, 2, 26] Operation: 88-62=26
Exploring Operation: 88-78=10, Resulting Numbers: [62, 2, 10]
Generated Node #0,1: 96:[62, 2, 10] Operation: 88-78=10
Exploring Operation: 78-62=16, Resulting Numbers: [88, 2, 16]
Generated Node #0,2: 96:[88, 2, 16] Operation: 78-62=16
Moving to Node #0,2
Current State: 96:[88, 2, 16], Operations: ['78-62=16']
Exploring Operation: 88+16=104, Resulting Numbers: [2, 104]
Generated Node #0,2,0: 96:[2, 104] Operation: 88+16=104
Exploring Operation: 88/2=44, Resulting Numbers: [16, 44]
Generated Node #0,2,1: 96:[16, 44] Operation: 88/2=44
Exploring Operation: 88+2=90, Resulting Numbers: [16, 90]
Generated Node #0,2,2: 96:[16, 90] Operation: 88+2=90
Moving to Node #0,1
Current State: 96:[62, 2, 10], Operations: ['88-78=10']
Exploring Operation: 62-10=52, Resulting Numbers: [2, 52]
Generated Node #0,1,0: 96:[2, 52] Operation: 62-10=52
Exploring Operation: 62-2=60, Resulting Numbers: [10, 60]
Generated Node #0,1,1: 96:[10, 60] Operation: 62-2=60
Exploring Operation: 62/2=31, Resulting Numbers: [10, 31]
Generated Node #0,1,2: 96:[10, 31] Operation: 62/2=31
Moving to Node #0,0
Current State: 96:[78, 2, 26], Operations: ['88-62=26']
Exploring Operation: 78/26=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 96:[2, 3] Operation: 78/26=3
Exploring Operation: 78+26=104, Resulting Numbers: [2, 104]
Generated Node #0,0,1: 96:[2, 104] Operation: 78+26=104
Exploring Operation: 78-26=52, Resulting Numbers: [2, 52]
Generated Node #0,0,2: 96:[2, 52] Operation: 78-26=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[2, 3], Operations: ['88-62=26', '78/26=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[2, 52], Operations: ['88-62=26', '78-26=52']
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[2, 104], Operations: ['88-62=26', '78+26=104']
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,96 unequal: No Solution
Exploring Operation: 104-2=102, Resulting Numbers: [102]
102,96 unequal: No Solution
Exploring Operation: 2+104=106, Resulting Numbers: [106]
106,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 96:[10, 31], Operations: ['88-78=10', '62/2=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,96 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[16, 44], Operations: ['78-62=16', '88/2=44']
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,96 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[2, 52], Operations: ['88-78=10', '62-10=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[16, 90], Operations: ['78-62=16', '88+2=90']
Exploring Operation: 16+90=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 16*90=1440, Resulting Numbers: [1440]
1440,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[2, 104], Operations: ['78-62=16', '88+16=104']
Exploring Operation: 2+104=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,96 unequal: No Solution
Exploring Operation: 104-2=102, Resulting Numbers: [102]
102,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[10, 60], Operations: ['88-78=10', '62-2=60']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,96 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
3,
77,
47,
20
] | 13 | [
"3+77=80",
"47+20=67",
"80-67=13"
] | Current State: 13:[3, 77, 47, 20], Operations: []
Exploring Operation: 3+77=80, Resulting Numbers: [47, 20, 80]
Generated Node #2: [47, 20, 80] from Operation: 3+77=80
Current State: 13:[47, 20, 80], Operations: ['3+77=80']
Exploring Operation: 47+20=67, Resulting Numbers: [80, 67]
Generated Node #3: [80, 67] from Operation: 47+20=67
Current State: 13:[80, 67], Operations: ['3+77=80', '47+20=67']
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[3, 77, 47, 20], Operations: []
Exploring Operation: 77-20=57, Resulting Numbers: [3, 47, 57]
Generated Node #0,0: 13:[3, 47, 57] Operation: 77-20=57
Exploring Operation: 77-3=74, Resulting Numbers: [47, 20, 74]
Generated Node #0,1: 13:[47, 20, 74] Operation: 77-3=74
Exploring Operation: 77-47=30, Resulting Numbers: [3, 20, 30]
Generated Node #0,2: 13:[3, 20, 30] Operation: 77-47=30
Exploring Operation: 47-3=44, Resulting Numbers: [77, 20, 44]
Generated Node #0,3: 13:[77, 20, 44] Operation: 47-3=44
Exploring Operation: 47-20=27, Resulting Numbers: [3, 77, 27]
Generated Node #0,4: 13:[3, 77, 27] Operation: 47-20=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[3, 20, 30], Operations: ['77-47=30']
Exploring Operation: 30-3=27, Resulting Numbers: [20, 27]
Generated Node #0,2,0: 13:[20, 27] Operation: 30-3=27
Exploring Operation: 20-3=17, Resulting Numbers: [30, 17]
Generated Node #0,2,1: 13:[30, 17] Operation: 20-3=17
Exploring Operation: 3+20=23, Resulting Numbers: [30, 23]
Generated Node #0,2,2: 13:[30, 23] Operation: 3+20=23
Exploring Operation: 30-20=10, Resulting Numbers: [3, 10]
Generated Node #0,2,3: 13:[3, 10] Operation: 30-20=10
Exploring Operation: 30/3=10, Resulting Numbers: [20, 10]
Generated Node #0,2,4: 13:[20, 10] Operation: 30/3=10
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 13:[20, 10], Operations: ['77-47=30', '30/3=10']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 13:[3, 10], Operations: ['77-47=30', '30-20=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[3, 77, 47, 20], Operations: []
Exploring Operation: 77-47=30, Resulting Numbers: [3, 20, 30]
Generated Node #0,2: 13:[3, 20, 30] Operation: 77-47=30
Moving to Node #0,2
Current State: 13:[3, 20, 30], Operations: ['77-47=30']
Exploring Operation: 30-20=10, Resulting Numbers: [3, 10]
Generated Node #0,2,3: 13:[3, 10] Operation: 30-20=10
Moving to Node #0,2,3
Current State: 13:[3, 10], Operations: ['77-47=30', '30-20=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
9,
38,
15,
42
] | 56 | [
"38-9=29",
"42-15=27",
"29+27=56"
] | Current State: 56:[9, 38, 15, 42], Operations: []
Exploring Operation: 38-9=29, Resulting Numbers: [15, 42, 29]
Generated Node #2: [15, 42, 29] from Operation: 38-9=29
Current State: 56:[15, 42, 29], Operations: ['38-9=29']
Exploring Operation: 42-15=27, Resulting Numbers: [29, 27]
Generated Node #3: [29, 27] from Operation: 42-15=27
Current State: 56:[29, 27], Operations: ['38-9=29', '42-15=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[9, 38, 15, 42], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [9, 15, 4]
Generated Node #0,0: 56:[9, 15, 4] Operation: 42-38=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[9, 15, 4], Operations: ['42-38=4']
Exploring Operation: 15-9=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 56:[4, 6] Operation: 15-9=6
Moving to Node #0,0,0
Current State: 56:[4, 6], Operations: ['42-38=4', '15-9=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,56 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 |
[
77,
11,
9,
97
] | 69 | [
"97-9=88",
"88/11=8",
"77-8=69"
] | Current State: 69:[77, 11, 9, 97], Operations: []
Exploring Operation: 97-9=88, Resulting Numbers: [77, 11, 88]
Generated Node #2: [77, 11, 88] from Operation: 97-9=88
Current State: 69:[77, 11, 88], Operations: ['97-9=88']
Exploring Operation: 88/11=8, Resulting Numbers: [77, 8]
Generated Node #3: [77, 8] from Operation: 88/11=8
Current State: 69:[77, 8], Operations: ['97-9=88', '88/11=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[77, 11, 9, 97], Operations: []
Exploring Operation: 97-11=86, Resulting Numbers: [77, 9, 86]
Generated Node #0,0: 69:[77, 9, 86] Operation: 97-11=86
Exploring Operation: 97-77=20, Resulting Numbers: [11, 9, 20]
Generated Node #0,1: 69:[11, 9, 20] Operation: 97-77=20
Moving to Node #0,1
Current State: 69:[11, 9, 20], Operations: ['97-77=20']
Exploring Operation: 11-9=2, Resulting Numbers: [20, 2]
Generated Node #0,1,0: 69:[20, 2] Operation: 11-9=2
Exploring Operation: 11+9=20, Resulting Numbers: [20, 20]
Generated Node #0,1,1: 69:[20, 20] Operation: 11+9=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[20, 2], Operations: ['97-77=20', '11-9=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[20, 20], Operations: ['97-77=20', '11+9=20']
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,69 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: 69:[77, 9, 86], Operations: ['97-11=86']
Exploring Operation: 86-77=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 69:[9, 9] Operation: 86-77=9
Exploring Operation: 86-9=77, Resulting Numbers: [77, 77]
Generated Node #0,0,1: 69:[77, 77] Operation: 86-9=77
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[9, 9], Operations: ['97-11=86', '86-77=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[77, 77], Operations: ['97-11=86', '86-9=77']
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
98,
15,
48,
66
] | 23 | [
"98*15=1470",
"48+1470=1518",
"1518/66=23"
] | Current State: 23:[98, 15, 48, 66], Operations: []
Exploring Operation: 98*15=1470, Resulting Numbers: [48, 66, 1470]
Generated Node #2: [48, 66, 1470] from Operation: 98*15=1470
Current State: 23:[48, 66, 1470], Operations: ['98*15=1470']
Exploring Operation: 48+1470=1518, Resulting Numbers: [66, 1518]
Generated Node #3: [66, 1518] from Operation: 48+1470=1518
Current State: 23:[66, 1518], Operations: ['98*15=1470', '48+1470=1518']
Exploring Operation: 1518/66=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[98, 15, 48, 66], Operations: []
Exploring Operation: 98-66=32, Resulting Numbers: [15, 48, 32]
Generated Node #0,0: 23:[15, 48, 32] Operation: 98-66=32
Exploring Operation: 98-48=50, Resulting Numbers: [15, 66, 50]
Generated Node #0,1: 23:[15, 66, 50] Operation: 98-48=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[15, 48, 32], Operations: ['98-66=32']
Exploring Operation: 48-15=33, Resulting Numbers: [32, 33]
Generated Node #0,0,0: 23:[32, 33] Operation: 48-15=33
Exploring Operation: 48-32=16, Resulting Numbers: [15, 16]
Generated Node #0,0,1: 23:[15, 16] Operation: 48-32=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[15, 16], Operations: ['98-66=32', '48-32=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,23 unequal: No Solution
No 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: 23:[32, 33], Operations: ['98-66=32', '48-15=33']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,23 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: 23:[15, 66, 50], Operations: ['98-48=50']
Exploring Operation: 66-15=51, Resulting Numbers: [50, 51]
Generated Node #0,1,0: 23:[50, 51] Operation: 66-15=51
Exploring Operation: 66-50=16, Resulting Numbers: [15, 16]
Generated Node #0,1,1: 23:[15, 16] Operation: 66-50=16
Moving to Node #0,1,1
Current State: 23:[15, 16], Operations: ['98-48=50', '66-50=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[50, 51], Operations: ['98-48=50', '66-15=51']
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 50+51=101, Resulting Numbers: [101]
101,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
32,
48,
52,
48
] | 20 | [
"32+48=80",
"52+48=100",
"100-80=20"
] | Current State: 20:[32, 48, 52, 48], Operations: []
Exploring Operation: 32+48=80, Resulting Numbers: [52, 80]
Generated Node #2: [52, 80] from Operation: 32+48=80
Current State: 20:[52, 80], Operations: ['32+48=80']
Exploring Operation: 52+48=100, Resulting Numbers: [80, 100]
Generated Node #3: [80, 100] from Operation: 52+48=100
Current State: 20:[80, 100], Operations: ['32+48=80', '52+48=100']
Exploring Operation: 100-80=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[32, 48, 52, 48], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [32, 48, 4]
Generated Node #0,0: 20:[32, 48, 4] Operation: 52-48=4
Exploring Operation: 48/48=1, Resulting Numbers: [32, 52, 1]
Generated Node #0,1: 20:[32, 52, 1] Operation: 48/48=1
Exploring Operation: 52-48=4, Resulting Numbers: [32, 48, 4]
Generated Node #0,2: 20:[32, 48, 4] Operation: 52-48=4
Exploring Operation: 48-48=0, Resulting Numbers: [32, 52, 0]
Generated Node #0,3: 20:[32, 52, 0] Operation: 48-48=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[32, 48, 4], Operations: ['52-48=4']
Exploring Operation: 32/4=8, Resulting Numbers: [48, 8]
Generated Node #0,0,0: 20:[48, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [48, 28]
Generated Node #0,0,1: 20:[48, 28] Operation: 32-4=28
Exploring Operation: 48/4=12, Resulting Numbers: [32, 12]
Generated Node #0,0,2: 20:[32, 12] Operation: 48/4=12
Exploring Operation: 48-32=16, Resulting Numbers: [4, 16]
Generated Node #0,0,3: 20:[4, 16] Operation: 48-32=16
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 20:[4, 16], Operations: ['52-48=4', '48-32=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[32, 48, 52, 48], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [32, 48, 4]
Generated Node #0,0: 20:[32, 48, 4] Operation: 52-48=4
Moving to Node #0,0
Current State: 20:[32, 48, 4], Operations: ['52-48=4']
Exploring Operation: 48-32=16, Resulting Numbers: [4, 16]
Generated Node #0,0,3: 20:[4, 16] Operation: 48-32=16
Moving to Node #0,0,3
Current State: 20:[4, 16], Operations: ['52-48=4', '48-32=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
68,
32,
80,
84
] | 51 | [
"68*84=5712",
"32+80=112",
"5712/112=51"
] | Current State: 51:[68, 32, 80, 84], Operations: []
Exploring Operation: 68*84=5712, Resulting Numbers: [32, 80, 5712]
Generated Node #2: [32, 80, 5712] from Operation: 68*84=5712
Current State: 51:[32, 80, 5712], Operations: ['68*84=5712']
Exploring Operation: 32+80=112, Resulting Numbers: [5712, 112]
Generated Node #3: [5712, 112] from Operation: 32+80=112
Current State: 51:[5712, 112], Operations: ['68*84=5712', '32+80=112']
Exploring Operation: 5712/112=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[68, 32, 80, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [68, 32, 4]
Generated Node #0,0: 51:[68, 32, 4] Operation: 84-80=4
Moving to Node #0,0
Current State: 51:[68, 32, 4], Operations: ['84-80=4']
Exploring Operation: 68/4=17, Resulting Numbers: [32, 17]
Generated Node #0,0,0: 51:[32, 17] Operation: 68/4=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[32, 17], Operations: ['84-80=4', '68/4=17']
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,51 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 |
[
37,
20,
54,
44
] | 88 | [
"20+54=74",
"74/37=2",
"44*2=88"
] | Current State: 88:[37, 20, 54, 44], Operations: []
Exploring Operation: 20+54=74, Resulting Numbers: [37, 44, 74]
Generated Node #2: [37, 44, 74] from Operation: 20+54=74
Current State: 88:[37, 44, 74], Operations: ['20+54=74']
Exploring Operation: 74/37=2, Resulting Numbers: [44, 2]
Generated Node #3: [44, 2] from Operation: 74/37=2
Current State: 88:[44, 2], Operations: ['20+54=74', '74/37=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[37, 20, 54, 44], Operations: []
Exploring Operation: 37+54=91, Resulting Numbers: [20, 44, 91]
Generated Node #0,0: 88:[20, 44, 91] Operation: 37+54=91
Exploring Operation: 54-37=17, Resulting Numbers: [20, 44, 17]
Generated Node #0,1: 88:[20, 44, 17] Operation: 54-37=17
Moving to Node #0,0
Current State: 88:[20, 44, 91], Operations: ['37+54=91']
Exploring Operation: 44-20=24, Resulting Numbers: [91, 24]
Generated Node #0,0,0: 88:[91, 24] Operation: 44-20=24
Exploring Operation: 91-44=47, Resulting Numbers: [20, 47]
Generated Node #0,0,1: 88:[20, 47] Operation: 91-44=47
Moving to Node #0,1
Current State: 88:[20, 44, 17], Operations: ['54-37=17']
Exploring Operation: 20-17=3, Resulting Numbers: [44, 3]
Generated Node #0,1,0: 88:[44, 3] Operation: 20-17=3
Exploring Operation: 44-20=24, Resulting Numbers: [17, 24]
Generated Node #0,1,1: 88:[17, 24] Operation: 44-20=24
Moving to Node #0,1,0
Current State: 88:[44, 3], Operations: ['54-37=17', '20-17=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[91, 24], Operations: ['37+54=91', '44-20=24']
Exploring Operation: 91+24=115, Resulting Numbers: [115]
115,88 unequal: No Solution
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[20, 47], Operations: ['37+54=91', '91-44=47']
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[17, 24], Operations: ['54-37=17', '44-20=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,88 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
80,
5,
2,
74
] | 63 | [
"80+5=85",
"2*74=148",
"148-85=63"
] | Current State: 63:[80, 5, 2, 74], Operations: []
Exploring Operation: 80+5=85, Resulting Numbers: [2, 74, 85]
Generated Node #2: [2, 74, 85] from Operation: 80+5=85
Current State: 63:[2, 74, 85], Operations: ['80+5=85']
Exploring Operation: 2*74=148, Resulting Numbers: [85, 148]
Generated Node #3: [85, 148] from Operation: 2*74=148
Current State: 63:[85, 148], Operations: ['80+5=85', '2*74=148']
Exploring Operation: 148-85=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[80, 5, 2, 74], Operations: []
Exploring Operation: 80/5=16, Resulting Numbers: [2, 74, 16]
Generated Node #0,0: 63:[2, 74, 16] Operation: 80/5=16
Exploring Operation: 80-74=6, Resulting Numbers: [5, 2, 6]
Generated Node #0,1: 63:[5, 2, 6] Operation: 80-74=6
Exploring Operation: 80-5=75, Resulting Numbers: [2, 74, 75]
Generated Node #0,2: 63:[2, 74, 75] Operation: 80-5=75
Exploring Operation: 74-5=69, Resulting Numbers: [80, 2, 69]
Generated Node #0,3: 63:[80, 2, 69] Operation: 74-5=69
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[5, 2, 6], Operations: ['80-74=6']
Exploring Operation: 6/2=3, Resulting Numbers: [5, 3]
Generated Node #0,1,0: 63:[5, 3] Operation: 6/2=3
Exploring Operation: 5*2=10, Resulting Numbers: [6, 10]
Generated Node #0,1,1: 63:[6, 10] Operation: 5*2=10
Exploring Operation: 5-2=3, Resulting Numbers: [6, 3]
Generated Node #0,1,2: 63:[6, 3] Operation: 5-2=3
Exploring Operation: 5+2=7, Resulting Numbers: [6, 7]
Generated Node #0,1,3: 63:[6, 7] Operation: 5+2=7
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 63:[6, 3], Operations: ['80-74=6', '5-2=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 63:[6, 7], Operations: ['80-74=6', '5+2=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,63 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[5, 3], Operations: ['80-74=6', '6/2=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[6, 10], Operations: ['80-74=6', '5*2=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[2, 74, 16], Operations: ['80/5=16']
Exploring Operation: 74-16=58, Resulting Numbers: [2, 58]
Generated Node #0,0,0: 63:[2, 58] Operation: 74-16=58
Exploring Operation: 16/2=8, Resulting Numbers: [74, 8]
Generated Node #0,0,1: 63:[74, 8] Operation: 16/2=8
Exploring Operation: 2+16=18, Resulting Numbers: [74, 18]
Generated Node #0,0,2: 63:[74, 18] Operation: 2+16=18
Exploring Operation: 74-2=72, Resulting Numbers: [16, 72]
Generated Node #0,0,3: 63:[16, 72] Operation: 74-2=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[2, 58], Operations: ['80/5=16', '74-16=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,63 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,63 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[74, 8], Operations: ['80/5=16', '16/2=8']
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,63 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[74, 18], Operations: ['80/5=16', '2+16=18']
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,63 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,63 unequal: No Solution
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 63:[16, 72], Operations: ['80/5=16', '74-2=72']
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,63 unequal: No Solution
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,63 unequal: No Solution
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[2, 74, 75], Operations: ['80-5=75']
Exploring Operation: 2+74=76, Resulting Numbers: [75, 76]
Generated Node #0,2,0: 63:[75, 76] Operation: 2+74=76
Exploring Operation: 75-74=1, Resulting Numbers: [2, 1]
Generated Node #0,2,1: 63:[2, 1] Operation: 75-74=1
Exploring Operation: 74-2=72, Resulting Numbers: [75, 72]
Generated Node #0,2,2: 63:[75, 72] Operation: 74-2=72
Exploring Operation: 75-2=73, Resulting Numbers: [74, 73]
Generated Node #0,2,3: 63:[74, 73] Operation: 75-2=73
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 63:[2, 1], Operations: ['80-5=75', '75-74=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 63:[75, 72], Operations: ['80-5=75', '74-2=72']
Exploring Operation: 75+72=147, Resulting Numbers: [147]
147,63 unequal: No Solution
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 75*72=5400, Resulting Numbers: [5400]
5400,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 63:[74, 73], Operations: ['80-5=75', '75-2=73']
Exploring Operation: 74-73=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 74*73=5402, Resulting Numbers: [5402]
5402,63 unequal: No Solution
Exploring Operation: 74+73=147, Resulting Numbers: [147]
147,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 63:[75, 76], Operations: ['80-5=75', '2+74=76']
Exploring Operation: 75+76=151, Resulting Numbers: [151]
151,63 unequal: No Solution
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 75*76=5700, Resulting Numbers: [5700]
5700,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[80, 2, 69], Operations: ['74-5=69']
Exploring Operation: 69-2=67, Resulting Numbers: [80, 67]
Generated Node #0,3,0: 63:[80, 67] Operation: 69-2=67
Exploring Operation: 80-69=11, Resulting Numbers: [2, 11]
Generated Node #0,3,1: 63:[2, 11] Operation: 80-69=11
Exploring Operation: 80-2=78, Resulting Numbers: [69, 78]
Generated Node #0,3,2: 63:[69, 78] Operation: 80-2=78
Exploring Operation: 80+2=82, Resulting Numbers: [69, 82]
Generated Node #0,3,3: 63:[69, 82] Operation: 80+2=82
Moving to Node #0,3,1
Current State: 63:[2, 11], Operations: ['74-5=69', '80-69=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[69, 78], Operations: ['74-5=69', '80-2=78']
Exploring Operation: 69*78=5382, Resulting Numbers: [5382]
5382,63 unequal: No Solution
Exploring Operation: 69+78=147, Resulting Numbers: [147]
147,63 unequal: No Solution
Exploring Operation: 78-69=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[80, 67], Operations: ['74-5=69', '69-2=67']
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 80+67=147, Resulting Numbers: [147]
147,63 unequal: No Solution
Exploring Operation: 80*67=5360, Resulting Numbers: [5360]
5360,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[69, 82], Operations: ['74-5=69', '80+2=82']
Exploring Operation: 69*82=5658, Resulting Numbers: [5658]
5658,63 unequal: No Solution
Exploring Operation: 69+82=151, Resulting Numbers: [151]
151,63 unequal: No Solution
Exploring Operation: 82-69=13, Resulting Numbers: [13]
13,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
40,
27,
12,
25
] | 32 | [
"27-25=2",
"40/2=20",
"12+20=32"
] | Current State: 32:[40, 27, 12, 25], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [40, 12, 2]
Generated Node #2: [40, 12, 2] from Operation: 27-25=2
Current State: 32:[40, 12, 2], Operations: ['27-25=2']
Exploring Operation: 40/2=20, Resulting Numbers: [12, 20]
Generated Node #3: [12, 20] from Operation: 40/2=20
Current State: 32:[12, 20], Operations: ['27-25=2', '40/2=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[40, 27, 12, 25], Operations: []
Exploring Operation: 40-25=15, Resulting Numbers: [27, 12, 15]
Generated Node #0,0: 32:[27, 12, 15] Operation: 40-25=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[27, 12, 15], Operations: ['40-25=15']
Exploring Operation: 27-12=15, Resulting Numbers: [15, 15]
Generated Node #0,0,0: 32:[15, 15] Operation: 27-12=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[15, 15], Operations: ['40-25=15', '27-12=15']
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,32 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 |
[
38,
72,
48,
2
] | 54 | [
"38-2=36",
"72*36=2592",
"2592/48=54"
] | Current State: 54:[38, 72, 48, 2], Operations: []
Exploring Operation: 38-2=36, Resulting Numbers: [72, 48, 36]
Generated Node #2: [72, 48, 36] from Operation: 38-2=36
Current State: 54:[72, 48, 36], Operations: ['38-2=36']
Exploring Operation: 72*36=2592, Resulting Numbers: [48, 2592]
Generated Node #3: [48, 2592] from Operation: 72*36=2592
Current State: 54:[48, 2592], Operations: ['38-2=36', '72*36=2592']
Exploring Operation: 2592/48=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[38, 72, 48, 2], Operations: []
Exploring Operation: 38/2=19, Resulting Numbers: [72, 48, 19]
Generated Node #0,0: 54:[72, 48, 19] Operation: 38/2=19
Exploring Operation: 48-38=10, Resulting Numbers: [72, 2, 10]
Generated Node #0,1: 54:[72, 2, 10] Operation: 48-38=10
Exploring Operation: 72-38=34, Resulting Numbers: [48, 2, 34]
Generated Node #0,2: 54:[48, 2, 34] Operation: 72-38=34
Exploring Operation: 72-48=24, Resulting Numbers: [38, 2, 24]
Generated Node #0,3: 54:[38, 2, 24] Operation: 72-48=24
Moving to Node #0,2
Current State: 54:[48, 2, 34], Operations: ['72-38=34']
Exploring Operation: 48/2=24, Resulting Numbers: [34, 24]
Generated Node #0,2,0: 54:[34, 24] Operation: 48/2=24
Exploring Operation: 48-34=14, Resulting Numbers: [2, 14]
Generated Node #0,2,1: 54:[2, 14] Operation: 48-34=14
Exploring Operation: 34/2=17, Resulting Numbers: [48, 17]
Generated Node #0,2,2: 54:[48, 17] Operation: 34/2=17
Exploring Operation: 48+2=50, Resulting Numbers: [34, 50]
Generated Node #0,2,3: 54:[34, 50] Operation: 48+2=50
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[2, 14], Operations: ['72-38=34', '48-34=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[48, 17], Operations: ['72-38=34', '34/2=17']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[34, 24], Operations: ['72-38=34', '48/2=24']
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,54 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 54:[34, 50], Operations: ['72-38=34', '48+2=50']
Exploring Operation: 34+50=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 34*50=1700, Resulting Numbers: [1700]
1700,54 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: 54:[38, 2, 24], Operations: ['72-48=24']
Exploring Operation: 38/2=19, Resulting Numbers: [24, 19]
Generated Node #0,3,0: 54:[24, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [24, 36]
Generated Node #0,3,1: 54:[24, 36] Operation: 38-2=36
Exploring Operation: 38-24=14, Resulting Numbers: [2, 14]
Generated Node #0,3,2: 54:[2, 14] Operation: 38-24=14
Exploring Operation: 38+24=62, Resulting Numbers: [2, 62]
Generated Node #0,3,3: 54:[2, 62] Operation: 38+24=62
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 54:[24, 19], Operations: ['72-48=24', '38/2=19']
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,54 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 54:[2, 14], Operations: ['72-48=24', '38-24=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[2, 62], Operations: ['72-48=24', '38+24=62']
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,54 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 54:[24, 36], Operations: ['72-48=24', '38-2=36']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,54 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: 54:[72, 2, 10], Operations: ['48-38=10']
Exploring Operation: 72-2=70, Resulting Numbers: [10, 70]
Generated Node #0,1,0: 54:[10, 70] Operation: 72-2=70
Exploring Operation: 10-2=8, Resulting Numbers: [72, 8]
Generated Node #0,1,1: 54:[72, 8] Operation: 10-2=8
Exploring Operation: 72-10=62, Resulting Numbers: [2, 62]
Generated Node #0,1,2: 54:[2, 62] Operation: 72-10=62
Exploring Operation: 72/2=36, Resulting Numbers: [10, 36]
Generated Node #0,1,3: 54:[10, 36] Operation: 72/2=36
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[2, 62], Operations: ['48-38=10', '72-10=62']
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,54 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 54:[10, 36], Operations: ['48-38=10', '72/2=36']
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[10, 70], Operations: ['48-38=10', '72-2=70']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Exploring Operation: 10*70=700, Resulting Numbers: [700]
700,54 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[72, 8], Operations: ['48-38=10', '10-2=8']
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 54:[72, 48, 19], Operations: ['38/2=19']
Exploring Operation: 48-19=29, Resulting Numbers: [72, 29]
Generated Node #0,0,0: 54:[72, 29] Operation: 48-19=29
Exploring Operation: 72-19=53, Resulting Numbers: [48, 53]
Generated Node #0,0,1: 54:[48, 53] Operation: 72-19=53
Exploring Operation: 48+19=67, Resulting Numbers: [72, 67]
Generated Node #0,0,2: 54:[72, 67] Operation: 48+19=67
Exploring Operation: 72-48=24, Resulting Numbers: [19, 24]
Generated Node #0,0,3: 54:[19, 24] Operation: 72-48=24
Moving to Node #0,0,3
Current State: 54:[19, 24], Operations: ['38/2=19', '72-48=24']
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,54 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[48, 53], Operations: ['38/2=19', '72-19=53']
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,54 unequal: No Solution
Exploring Operation: 48*53=2544, Resulting Numbers: [2544]
2544,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[72, 29], Operations: ['38/2=19', '48-19=29']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,54 unequal: No Solution
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[72, 67], Operations: ['38/2=19', '48+19=67']
Exploring Operation: 72+67=139, Resulting Numbers: [139]
139,54 unequal: No Solution
Exploring Operation: 72*67=4824, Resulting Numbers: [4824]
4824,54 unequal: No Solution
Exploring Operation: 72-67=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
4,
65,
94,
61
] | 93 | [
"65-4=61",
"61/61=1",
"94-1=93"
] | Current State: 93:[4, 65, 94, 61], Operations: []
Exploring Operation: 65-4=61, Resulting Numbers: [94, 61, 61]
Generated Node #2: [94, 61, 61] from Operation: 65-4=61
Current State: 93:[94, 61, 61], Operations: ['65-4=61']
Exploring Operation: 61/61=1, Resulting Numbers: [94, 1]
Generated Node #3: [94, 1] from Operation: 61/61=1
Current State: 93:[94, 1], Operations: ['65-4=61', '61/61=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[4, 65, 94, 61], Operations: []
Exploring Operation: 94-61=33, Resulting Numbers: [4, 65, 33]
Generated Node #0,0: 93:[4, 65, 33] Operation: 94-61=33
Exploring Operation: 65-61=4, Resulting Numbers: [4, 94, 4]
Generated Node #0,1: 93:[4, 94, 4] Operation: 65-61=4
Exploring Operation: 94-65=29, Resulting Numbers: [4, 61, 29]
Generated Node #0,2: 93:[4, 61, 29] Operation: 94-65=29
Exploring Operation: 65+61=126, Resulting Numbers: [4, 94, 126]
Generated Node #0,3: 93:[4, 94, 126] Operation: 65+61=126
Moving to Node #0,1
Current State: 93:[4, 94, 4], Operations: ['65-61=4']
Exploring Operation: 4/4=1, Resulting Numbers: [94, 1]
Generated Node #0,1,0: 93:[94, 1] Operation: 4/4=1
Exploring Operation: 94-4=90, Resulting Numbers: [4, 90]
Generated Node #0,1,1: 93:[4, 90] Operation: 94-4=90
Exploring Operation: 94-4=90, Resulting Numbers: [4, 90]
Generated Node #0,1,2: 93:[4, 90] Operation: 94-4=90
Exploring Operation: 4-4=0, Resulting Numbers: [94, 0]
Generated Node #0,1,3: 93:[94, 0] Operation: 4-4=0
Moving to Node #0,0
Current State: 93:[4, 65, 33], Operations: ['94-61=33']
Exploring Operation: 65-33=32, Resulting Numbers: [4, 32]
Generated Node #0,0,0: 93:[4, 32] Operation: 65-33=32
Exploring Operation: 33-4=29, Resulting Numbers: [65, 29]
Generated Node #0,0,1: 93:[65, 29] Operation: 33-4=29
Exploring Operation: 4+65=69, Resulting Numbers: [33, 69]
Generated Node #0,0,2: 93:[33, 69] Operation: 4+65=69
Exploring Operation: 65+33=98, Resulting Numbers: [4, 98]
Generated Node #0,0,3: 93:[4, 98] Operation: 65+33=98
Moving to Node #0,2
Current State: 93:[4, 61, 29], Operations: ['94-65=29']
Exploring Operation: 61-29=32, Resulting Numbers: [4, 32]
Generated Node #0,2,0: 93:[4, 32] Operation: 61-29=32
Exploring Operation: 4+61=65, Resulting Numbers: [29, 65]
Generated Node #0,2,1: 93:[29, 65] Operation: 4+61=65
Exploring Operation: 61-4=57, Resulting Numbers: [29, 57]
Generated Node #0,2,2: 93:[29, 57] Operation: 61-4=57
Exploring Operation: 61+29=90, Resulting Numbers: [4, 90]
Generated Node #0,2,3: 93:[4, 90] Operation: 61+29=90
Moving to Node #0,3
Current State: 93:[4, 94, 126], Operations: ['65+61=126']
Exploring Operation: 126-4=122, Resulting Numbers: [94, 122]
Generated Node #0,3,0: 93:[94, 122] Operation: 126-4=122
Exploring Operation: 126-94=32, Resulting Numbers: [4, 32]
Generated Node #0,3,1: 93:[4, 32] Operation: 126-94=32
Exploring Operation: 94-4=90, Resulting Numbers: [126, 90]
Generated Node #0,3,2: 93:[126, 90] Operation: 94-4=90
Exploring Operation: 4+94=98, Resulting Numbers: [126, 98]
Generated Node #0,3,3: 93:[126, 98] Operation: 4+94=98
Moving to Node #0,0,0
Current State: 93:[4, 32], Operations: ['94-61=33', '65-33=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[4, 32], Operations: ['65+61=126', '126-94=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[4, 32], Operations: ['94-65=29', '61-29=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[94, 1], Operations: ['65-61=4', '4/4=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[4, 65, 94, 61], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [4, 94, 4]
Generated Node #0,1: 93:[4, 94, 4] Operation: 65-61=4
Moving to Node #0,1
Current State: 93:[4, 94, 4], Operations: ['65-61=4']
Exploring Operation: 4/4=1, Resulting Numbers: [94, 1]
Generated Node #0,1,0: 93:[94, 1] Operation: 4/4=1
Moving to Node #0,1,0
Current State: 93:[94, 1], Operations: ['65-61=4', '4/4=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.967882 | hs_4 | mult_heuristic |
[
30,
26,
3,
34
] | 93 | [
"30+26=56",
"3+34=37",
"56+37=93"
] | Current State: 93:[30, 26, 3, 34], Operations: []
Exploring Operation: 30+26=56, Resulting Numbers: [3, 34, 56]
Generated Node #2: [3, 34, 56] from Operation: 30+26=56
Current State: 93:[3, 34, 56], Operations: ['30+26=56']
Exploring Operation: 3+34=37, Resulting Numbers: [56, 37]
Generated Node #3: [56, 37] from Operation: 3+34=37
Current State: 93:[56, 37], Operations: ['30+26=56', '3+34=37']
Exploring Operation: 56+37=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[30, 26, 3, 34], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [3, 34, 4]
Generated Node #0,0: 93:[3, 34, 4] Operation: 30-26=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[3, 34, 4], Operations: ['30-26=4']
Exploring Operation: 34-3=31, Resulting Numbers: [4, 31]
Generated Node #0,0,0: 93:[4, 31] Operation: 34-3=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[4, 31], Operations: ['30-26=4', '34-3=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,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 |
[
60,
79,
32,
36
] | 64 | [
"36-32=4",
"60/4=15",
"79-15=64"
] | Current State: 64:[60, 79, 32, 36], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [60, 79, 4]
Generated Node #2: [60, 79, 4] from Operation: 36-32=4
Current State: 64:[60, 79, 4], Operations: ['36-32=4']
Exploring Operation: 60/4=15, Resulting Numbers: [79, 15]
Generated Node #3: [79, 15] from Operation: 60/4=15
Current State: 64:[79, 15], Operations: ['36-32=4', '60/4=15']
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[60, 79, 32, 36], Operations: []
Exploring Operation: 79-60=19, Resulting Numbers: [32, 36, 19]
Generated Node #0,0: 64:[32, 36, 19] Operation: 79-60=19
Exploring Operation: 79-36=43, Resulting Numbers: [60, 32, 43]
Generated Node #0,1: 64:[60, 32, 43] Operation: 79-36=43
Moving to Node #0,0
Current State: 64:[32, 36, 19], Operations: ['79-60=19']
Exploring Operation: 36-32=4, Resulting Numbers: [19, 4]
Generated Node #0,0,0: 64:[19, 4] Operation: 36-32=4
Exploring Operation: 36-19=17, Resulting Numbers: [32, 17]
Generated Node #0,0,1: 64:[32, 17] Operation: 36-19=17
Moving to Node #0,1
Current State: 64:[60, 32, 43], Operations: ['79-36=43']
Exploring Operation: 43-32=11, Resulting Numbers: [60, 11]
Generated Node #0,1,0: 64:[60, 11] Operation: 43-32=11
Exploring Operation: 60-43=17, Resulting Numbers: [32, 17]
Generated Node #0,1,1: 64:[32, 17] Operation: 60-43=17
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[32, 17], Operations: ['79-36=43', '60-43=17']
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,64 unequal: No Solution
No 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: 64:[60, 11], Operations: ['79-36=43', '43-32=11']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,64 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: 64:[32, 17], Operations: ['79-60=19', '36-19=17']
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[19, 4], Operations: ['79-60=19', '36-32=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,64 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
79,
80,
31,
91
] | 60 | [
"80-79=1",
"91-31=60",
"1*60=60"
] | Current State: 60:[79, 80, 31, 91], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [31, 91, 1]
Generated Node #2: [31, 91, 1] from Operation: 80-79=1
Current State: 60:[31, 91, 1], Operations: ['80-79=1']
Exploring Operation: 91-31=60, Resulting Numbers: [1, 60]
Generated Node #3: [1, 60] from Operation: 91-31=60
Current State: 60:[1, 60], Operations: ['80-79=1', '91-31=60']
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[79, 80, 31, 91], Operations: []
Exploring Operation: 91-79=12, Resulting Numbers: [80, 31, 12]
Generated Node #0,0: 60:[80, 31, 12] Operation: 91-79=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[80, 31, 12], Operations: ['91-79=12']
Exploring Operation: 80-12=68, Resulting Numbers: [31, 68]
Generated Node #0,0,0: 60:[31, 68] Operation: 80-12=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[31, 68], Operations: ['91-79=12', '80-12=68']
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,60 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 |
[
88,
53,
42,
40
] | 33 | [
"88-53=35",
"42-40=2",
"35-2=33"
] | Current State: 33:[88, 53, 42, 40], Operations: []
Exploring Operation: 88-53=35, Resulting Numbers: [42, 40, 35]
Generated Node #2: [42, 40, 35] from Operation: 88-53=35
Current State: 33:[42, 40, 35], Operations: ['88-53=35']
Exploring Operation: 42-40=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 42-40=2
Current State: 33:[35, 2], Operations: ['88-53=35', '42-40=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[88, 53, 42, 40], Operations: []
Exploring Operation: 88-53=35, Resulting Numbers: [42, 40, 35]
Generated Node #0,0: 33:[42, 40, 35] Operation: 88-53=35
Exploring Operation: 88-42=46, Resulting Numbers: [53, 40, 46]
Generated Node #0,1: 33:[53, 40, 46] Operation: 88-42=46
Moving to Node #0,0
Current State: 33:[42, 40, 35], Operations: ['88-53=35']
Exploring Operation: 42-35=7, Resulting Numbers: [40, 7]
Generated Node #0,0,0: 33:[40, 7] Operation: 42-35=7
Exploring Operation: 42-40=2, Resulting Numbers: [35, 2]
Generated Node #0,0,1: 33:[35, 2] Operation: 42-40=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[35, 2], Operations: ['88-53=35', '42-40=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[88, 53, 42, 40], Operations: []
Exploring Operation: 88-53=35, Resulting Numbers: [42, 40, 35]
Generated Node #0,0: 33:[42, 40, 35] Operation: 88-53=35
Moving to Node #0,0
Current State: 33:[42, 40, 35], Operations: ['88-53=35']
Exploring Operation: 42-40=2, Resulting Numbers: [35, 2]
Generated Node #0,0,1: 33:[35, 2] Operation: 42-40=2
Moving to Node #0,0,1
Current State: 33:[35, 2], Operations: ['88-53=35', '42-40=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
92,
72,
19,
65
] | 64 | [
"92-72=20",
"19+65=84",
"84-20=64"
] | Current State: 64:[92, 72, 19, 65], Operations: []
Exploring Operation: 92-72=20, Resulting Numbers: [19, 65, 20]
Generated Node #2: [19, 65, 20] from Operation: 92-72=20
Current State: 64:[19, 65, 20], Operations: ['92-72=20']
Exploring Operation: 19+65=84, Resulting Numbers: [20, 84]
Generated Node #3: [20, 84] from Operation: 19+65=84
Current State: 64:[20, 84], Operations: ['92-72=20', '19+65=84']
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[92, 72, 19, 65], Operations: []
Exploring Operation: 92-72=20, Resulting Numbers: [19, 65, 20]
Generated Node #0,0: 64:[19, 65, 20] Operation: 92-72=20
Exploring Operation: 92-19=73, Resulting Numbers: [72, 65, 73]
Generated Node #0,1: 64:[72, 65, 73] Operation: 92-19=73
Exploring Operation: 92-65=27, Resulting Numbers: [72, 19, 27]
Generated Node #0,2: 64:[72, 19, 27] Operation: 92-65=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[19, 65, 20], Operations: ['92-72=20']
Exploring Operation: 19+20=39, Resulting Numbers: [65, 39]
Generated Node #0,0,0: 64:[65, 39] Operation: 19+20=39
Exploring Operation: 20-19=1, Resulting Numbers: [65, 1]
Generated Node #0,0,1: 64:[65, 1] Operation: 20-19=1
Exploring Operation: 65-20=45, Resulting Numbers: [19, 45]
Generated Node #0,0,2: 64:[19, 45] Operation: 65-20=45
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[65, 1], Operations: ['92-72=20', '20-19=1']
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[92, 72, 19, 65], Operations: []
Exploring Operation: 92-72=20, Resulting Numbers: [19, 65, 20]
Generated Node #0,0: 64:[19, 65, 20] Operation: 92-72=20
Moving to Node #0,0
Current State: 64:[19, 65, 20], Operations: ['92-72=20']
Exploring Operation: 20-19=1, Resulting Numbers: [65, 1]
Generated Node #0,0,1: 64:[65, 1] Operation: 20-19=1
Moving to Node #0,0,1
Current State: 64:[65, 1], Operations: ['92-72=20', '20-19=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
64,
77,
32,
16
] | 51 | [
"64*32=2048",
"2048/16=128",
"128-77=51"
] | Current State: 51:[64, 77, 32, 16], Operations: []
Exploring Operation: 64*32=2048, Resulting Numbers: [77, 16, 2048]
Generated Node #2: [77, 16, 2048] from Operation: 64*32=2048
Current State: 51:[77, 16, 2048], Operations: ['64*32=2048']
Exploring Operation: 2048/16=128, Resulting Numbers: [77, 128]
Generated Node #3: [77, 128] from Operation: 2048/16=128
Current State: 51:[77, 128], Operations: ['64*32=2048', '2048/16=128']
Exploring Operation: 128-77=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[64, 77, 32, 16], Operations: []
Exploring Operation: 77-64=13, Resulting Numbers: [32, 16, 13]
Generated Node #0,0: 51:[32, 16, 13] Operation: 77-64=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[32, 16, 13], Operations: ['77-64=13']
Exploring Operation: 32-13=19, Resulting Numbers: [16, 19]
Generated Node #0,0,0: 51:[16, 19] Operation: 32-13=19
Moving to Node #0,0,0
Current State: 51:[16, 19], Operations: ['77-64=13', '32-13=19']
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,51 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 |
[
5,
46,
74,
2
] | 12 | [
"5*2=10",
"46+74=120",
"120/10=12"
] | Current State: 12:[5, 46, 74, 2], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [46, 74, 10]
Generated Node #2: [46, 74, 10] from Operation: 5*2=10
Current State: 12:[46, 74, 10], Operations: ['5*2=10']
Exploring Operation: 46+74=120, Resulting Numbers: [10, 120]
Generated Node #3: [10, 120] from Operation: 46+74=120
Current State: 12:[10, 120], Operations: ['5*2=10', '46+74=120']
Exploring Operation: 120/10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[5, 46, 74, 2], Operations: []
Exploring Operation: 46/2=23, Resulting Numbers: [5, 74, 23]
Generated Node #0,0: 12:[5, 74, 23] Operation: 46/2=23
Exploring Operation: 74-46=28, Resulting Numbers: [5, 2, 28]
Generated Node #0,1: 12:[5, 2, 28] Operation: 74-46=28
Exploring Operation: 74/2=37, Resulting Numbers: [5, 46, 37]
Generated Node #0,2: 12:[5, 46, 37] Operation: 74/2=37
Moving to Node #0,1
Current State: 12:[5, 2, 28], Operations: ['74-46=28']
Exploring Operation: 28-5=23, Resulting Numbers: [2, 23]
Generated Node #0,1,0: 12:[2, 23] Operation: 28-5=23
Exploring Operation: 28-2=26, Resulting Numbers: [5, 26]
Generated Node #0,1,1: 12:[5, 26] Operation: 28-2=26
Exploring Operation: 28/2=14, Resulting Numbers: [5, 14]
Generated Node #0,1,2: 12:[5, 14] Operation: 28/2=14
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[5, 14], Operations: ['74-46=28', '28/2=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[2, 23], Operations: ['74-46=28', '28-5=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[5, 26], Operations: ['74-46=28', '28-2=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,12 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 12:[5, 46, 37], Operations: ['74/2=37']
Exploring Operation: 46-5=41, Resulting Numbers: [37, 41]
Generated Node #0,2,0: 12:[37, 41] Operation: 46-5=41
Exploring Operation: 46-37=9, Resulting Numbers: [5, 9]
Generated Node #0,2,1: 12:[5, 9] Operation: 46-37=9
Exploring Operation: 37-5=32, Resulting Numbers: [46, 32]
Generated Node #0,2,2: 12:[46, 32] Operation: 37-5=32
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[5, 9], Operations: ['74/2=37', '46-37=9']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[37, 41], Operations: ['74/2=37', '46-5=41']
Exploring Operation: 37*41=1517, Resulting Numbers: [1517]
1517,12 unequal: No Solution
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[46, 32], Operations: ['74/2=37', '37-5=32']
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,12 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,12 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: 12:[5, 74, 23], Operations: ['46/2=23']
Exploring Operation: 74-5=69, Resulting Numbers: [23, 69]
Generated Node #0,0,0: 12:[23, 69] Operation: 74-5=69
Exploring Operation: 74-23=51, Resulting Numbers: [5, 51]
Generated Node #0,0,1: 12:[5, 51] Operation: 74-23=51
Exploring Operation: 23-5=18, Resulting Numbers: [74, 18]
Generated Node #0,0,2: 12:[74, 18] Operation: 23-5=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[5, 51], Operations: ['46/2=23', '74-23=51']
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,12 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[23, 69], Operations: ['46/2=23', '74-5=69']
Exploring Operation: 23+69=92, Resulting Numbers: [92]
92,12 unequal: No Solution
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[74, 18], Operations: ['46/2=23', '23-5=18']
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,12 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
77,
55,
51,
10
] | 91 | [
"77+55=132",
"51-10=41",
"132-41=91"
] | Current State: 91:[77, 55, 51, 10], Operations: []
Exploring Operation: 77+55=132, Resulting Numbers: [51, 10, 132]
Generated Node #2: [51, 10, 132] from Operation: 77+55=132
Current State: 91:[51, 10, 132], Operations: ['77+55=132']
Exploring Operation: 51-10=41, Resulting Numbers: [132, 41]
Generated Node #3: [132, 41] from Operation: 51-10=41
Current State: 91:[132, 41], Operations: ['77+55=132', '51-10=41']
Exploring Operation: 132-41=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[77, 55, 51, 10], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [77, 10, 4]
Generated Node #0,0: 91:[77, 10, 4] Operation: 55-51=4
Moving to Node #0,0
Current State: 91:[77, 10, 4], Operations: ['55-51=4']
Exploring Operation: 77+10=87, Resulting Numbers: [4, 87]
Generated Node #0,0,0: 91:[4, 87] Operation: 77+10=87
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[4, 87], Operations: ['55-51=4', '77+10=87']
Exploring Operation: 4+87=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[77, 55, 51, 10], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [77, 10, 4]
Generated Node #0,0: 91:[77, 10, 4] Operation: 55-51=4
Moving to Node #0,0
Current State: 91:[77, 10, 4], Operations: ['55-51=4']
Exploring Operation: 77+10=87, Resulting Numbers: [4, 87]
Generated Node #0,0,0: 91:[4, 87] Operation: 77+10=87
Moving to Node #0,0,0
Current State: 91:[4, 87], Operations: ['55-51=4', '77+10=87']
Exploring Operation: 4+87=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
73,
56,
4,
48
] | 39 | [
"73-48=25",
"56/4=14",
"25+14=39"
] | Current State: 39:[73, 56, 4, 48], Operations: []
Exploring Operation: 73-48=25, Resulting Numbers: [56, 4, 25]
Generated Node #2: [56, 4, 25] from Operation: 73-48=25
Current State: 39:[56, 4, 25], Operations: ['73-48=25']
Exploring Operation: 56/4=14, Resulting Numbers: [25, 14]
Generated Node #3: [25, 14] from Operation: 56/4=14
Current State: 39:[25, 14], Operations: ['73-48=25', '56/4=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[73, 56, 4, 48], Operations: []
Exploring Operation: 56-48=8, Resulting Numbers: [73, 4, 8]
Generated Node #0,0: 39:[73, 4, 8] Operation: 56-48=8
Exploring Operation: 73-48=25, Resulting Numbers: [56, 4, 25]
Generated Node #0,1: 39:[56, 4, 25] Operation: 73-48=25
Exploring Operation: 56/4=14, Resulting Numbers: [73, 48, 14]
Generated Node #0,2: 39:[73, 48, 14] Operation: 56/4=14
Exploring Operation: 73-56=17, Resulting Numbers: [4, 48, 17]
Generated Node #0,3: 39:[4, 48, 17] Operation: 73-56=17
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[4, 48, 17], Operations: ['73-56=17']
Exploring Operation: 48-4=44, Resulting Numbers: [17, 44]
Generated Node #0,3,0: 39:[17, 44] Operation: 48-4=44
Exploring Operation: 48/4=12, Resulting Numbers: [17, 12]
Generated Node #0,3,1: 39:[17, 12] Operation: 48/4=12
Exploring Operation: 48-17=31, Resulting Numbers: [4, 31]
Generated Node #0,3,2: 39:[4, 31] Operation: 48-17=31
Exploring Operation: 17-4=13, Resulting Numbers: [48, 13]
Generated Node #0,3,3: 39:[48, 13] Operation: 17-4=13
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[17, 12], Operations: ['73-56=17', '48/4=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,39 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,39 unequal: No Solution
No 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: 39:[17, 44], Operations: ['73-56=17', '48-4=44']
Exploring Operation: 17*44=748, Resulting Numbers: [748]
748,39 unequal: No Solution
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,39 unequal: No Solution
No 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: 39:[4, 31], Operations: ['73-56=17', '48-17=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,39 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,39 unequal: No Solution
No 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: 39:[48, 13], Operations: ['73-56=17', '17-4=13']
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,39 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,39 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: 39:[56, 4, 25], Operations: ['73-48=25']
Exploring Operation: 56-4=52, Resulting Numbers: [25, 52]
Generated Node #0,1,0: 39:[25, 52] Operation: 56-4=52
Exploring Operation: 25-4=21, Resulting Numbers: [56, 21]
Generated Node #0,1,1: 39:[56, 21] Operation: 25-4=21
Exploring Operation: 56/4=14, Resulting Numbers: [25, 14]
Generated Node #0,1,2: 39:[25, 14] Operation: 56/4=14
Exploring Operation: 56-25=31, Resulting Numbers: [4, 31]
Generated Node #0,1,3: 39:[4, 31] Operation: 56-25=31
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 39:[4, 31], Operations: ['73-48=25', '56-25=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,39 unequal: No Solution
No 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: 39:[25, 14], Operations: ['73-48=25', '56/4=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[73, 56, 4, 48], Operations: []
Exploring Operation: 73-48=25, Resulting Numbers: [56, 4, 25]
Generated Node #0,1: 39:[56, 4, 25] Operation: 73-48=25
Moving to Node #0,1
Current State: 39:[56, 4, 25], Operations: ['73-48=25']
Exploring Operation: 56/4=14, Resulting Numbers: [25, 14]
Generated Node #0,1,2: 39:[25, 14] Operation: 56/4=14
Moving to Node #0,1,2
Current State: 39:[25, 14], Operations: ['73-48=25', '56/4=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
91,
87,
59,
2
] | 36 | [
"91*2=182",
"87+59=146",
"182-146=36"
] | Current State: 36:[91, 87, 59, 2], Operations: []
Exploring Operation: 91*2=182, Resulting Numbers: [87, 59, 182]
Generated Node #2: [87, 59, 182] from Operation: 91*2=182
Current State: 36:[87, 59, 182], Operations: ['91*2=182']
Exploring Operation: 87+59=146, Resulting Numbers: [182, 146]
Generated Node #3: [182, 146] from Operation: 87+59=146
Current State: 36:[182, 146], Operations: ['91*2=182', '87+59=146']
Exploring Operation: 182-146=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[91, 87, 59, 2], Operations: []
Exploring Operation: 87-2=85, Resulting Numbers: [91, 59, 85]
Generated Node #0,0: 36:[91, 59, 85] Operation: 87-2=85
Exploring Operation: 91-59=32, Resulting Numbers: [87, 2, 32]
Generated Node #0,1: 36:[87, 2, 32] Operation: 91-59=32
Exploring Operation: 91-2=89, Resulting Numbers: [87, 59, 89]
Generated Node #0,2: 36:[87, 59, 89] Operation: 91-2=89
Exploring Operation: 87-59=28, Resulting Numbers: [91, 2, 28]
Generated Node #0,3: 36:[91, 2, 28] Operation: 87-59=28
Exploring Operation: 91-87=4, Resulting Numbers: [59, 2, 4]
Generated Node #0,4: 36:[59, 2, 4] Operation: 91-87=4
Start Sub Search at level 1: Moving to Node #0,4
Current State: 36:[59, 2, 4], Operations: ['91-87=4']
Exploring Operation: 4/2=2, Resulting Numbers: [59, 2]
Generated Node #0,4,0: 36:[59, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [59, 2]
Generated Node #0,4,1: 36:[59, 2] Operation: 4-2=2
Exploring Operation: 2+4=6, Resulting Numbers: [59, 6]
Generated Node #0,4,2: 36:[59, 6] Operation: 2+4=6
Exploring Operation: 59-4=55, Resulting Numbers: [2, 55]
Generated Node #0,4,3: 36:[2, 55] Operation: 59-4=55
Exploring Operation: 59-2=57, Resulting Numbers: [4, 57]
Generated Node #0,4,4: 36:[4, 57] Operation: 59-2=57
Moving to Node #0,4,3
Current State: 36:[2, 55], Operations: ['91-87=4', '59-4=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,36 unequal: No Solution
Moving to Node #0,4,4
Current State: 36:[4, 57], Operations: ['91-87=4', '59-2=57']
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,36 unequal: No Solution
Moving to Node #0,4,0
Current State: 36:[59, 2], Operations: ['91-87=4', '4/2=2']
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,36 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Moving to Node #0,4,1
Current State: 36:[59, 2], Operations: ['91-87=4', '4-2=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,36 unequal: No Solution
Moving to Node #0,4,2
Current State: 36:[59, 6], Operations: ['91-87=4', '2+4=6']
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 59*6=354, Resulting Numbers: [354]
354,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:[87, 2, 32], Operations: ['91-59=32']
Exploring Operation: 87-2=85, Resulting Numbers: [32, 85]
Generated Node #0,1,0: 36:[32, 85] Operation: 87-2=85
Exploring Operation: 87+2=89, Resulting Numbers: [32, 89]
Generated Node #0,1,1: 36:[32, 89] Operation: 87+2=89
Exploring Operation: 87-32=55, Resulting Numbers: [2, 55]
Generated Node #0,1,2: 36:[2, 55] Operation: 87-32=55
Exploring Operation: 2+32=34, Resulting Numbers: [87, 34]
Generated Node #0,1,3: 36:[87, 34] Operation: 2+32=34
Exploring Operation: 32/2=16, Resulting Numbers: [87, 16]
Generated Node #0,1,4: 36:[87, 16] Operation: 32/2=16
Moving to Node #0,1,2
Current State: 36:[2, 55], Operations: ['91-59=32', '87-32=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[87, 34], Operations: ['91-59=32', '2+32=34']
Exploring Operation: 87+34=121, Resulting Numbers: [121]
121,36 unequal: No Solution
Exploring Operation: 87*34=2958, Resulting Numbers: [2958]
2958,36 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[32, 85], Operations: ['91-59=32', '87-2=85']
Exploring Operation: 32*85=2720, Resulting Numbers: [2720]
2720,36 unequal: No Solution
Exploring Operation: 32+85=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Moving to Node #0,1,4
Current State: 36:[87, 16], Operations: ['91-59=32', '32/2=16']
Exploring Operation: 87+16=103, Resulting Numbers: [103]
103,36 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 87*16=1392, Resulting Numbers: [1392]
1392,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[32, 89], Operations: ['91-59=32', '87+2=89']
Exploring Operation: 32*89=2848, Resulting Numbers: [2848]
2848,36 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Exploring Operation: 32+89=121, Resulting Numbers: [121]
121,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:[91, 2, 28], Operations: ['87-59=28']
Exploring Operation: 28/2=14, Resulting Numbers: [91, 14]
Generated Node #0,3,0: 36:[91, 14] Operation: 28/2=14
Exploring Operation: 91-28=63, Resulting Numbers: [2, 63]
Generated Node #0,3,1: 36:[2, 63] Operation: 91-28=63
Exploring Operation: 28-2=26, Resulting Numbers: [91, 26]
Generated Node #0,3,2: 36:[91, 26] Operation: 28-2=26
Exploring Operation: 91-2=89, Resulting Numbers: [28, 89]
Generated Node #0,3,3: 36:[28, 89] Operation: 91-2=89
Exploring Operation: 2+28=30, Resulting Numbers: [91, 30]
Generated Node #0,3,4: 36:[91, 30] Operation: 2+28=30
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 36:[2, 63], Operations: ['87-59=28', '91-28=63']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,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:[91, 14], Operations: ['87-59=28', '28/2=14']
Exploring Operation: 91*14=1274, Resulting Numbers: [1274]
1274,36 unequal: No Solution
Exploring Operation: 91-14=77, Resulting Numbers: [77]
77,36 unequal: No Solution
Exploring Operation: 91+14=105, Resulting Numbers: [105]
105,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:[28, 89], Operations: ['87-59=28', '91-2=89']
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 28*89=2492, Resulting Numbers: [2492]
2492,36 unequal: No Solution
Exploring Operation: 28+89=117, Resulting Numbers: [117]
117,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,4
Current State: 36:[91, 30], Operations: ['87-59=28', '2+28=30']
Exploring Operation: 91*30=2730, Resulting Numbers: [2730]
2730,36 unequal: No Solution
Exploring Operation: 91+30=121, Resulting Numbers: [121]
121,36 unequal: No Solution
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,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:[91, 26], Operations: ['87-59=28', '28-2=26']
Exploring Operation: 91*26=2366, Resulting Numbers: [2366]
2366,36 unequal: No Solution
Exploring Operation: 91+26=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[91, 59, 85], Operations: ['87-2=85']
Exploring Operation: 85-59=26, Resulting Numbers: [91, 26]
Generated Node #0,0,0: 36:[91, 26] Operation: 85-59=26
Exploring Operation: 91-85=6, Resulting Numbers: [59, 6]
Generated Node #0,0,1: 36:[59, 6] Operation: 91-85=6
Exploring Operation: 91-59=32, Resulting Numbers: [85, 32]
Generated Node #0,0,2: 36:[85, 32] Operation: 91-59=32
Exploring Operation: 91+85=176, Resulting Numbers: [59, 176]
Generated Node #0,0,3: 36:[59, 176] Operation: 91+85=176
Exploring Operation: 91+59=150, Resulting Numbers: [85, 150]
Generated Node #0,0,4: 36:[85, 150] Operation: 91+59=150
Moving to Node #0,0,1
Current State: 36:[59, 6], Operations: ['87-2=85', '91-85=6']
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 59*6=354, Resulting Numbers: [354]
354,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[85, 32], Operations: ['87-2=85', '91-59=32']
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 85+32=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 85*32=2720, Resulting Numbers: [2720]
2720,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[91, 26], Operations: ['87-2=85', '85-59=26']
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 91+26=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 91*26=2366, Resulting Numbers: [2366]
2366,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[59, 176], Operations: ['87-2=85', '91+85=176']
Exploring Operation: 59+176=235, Resulting Numbers: [235]
235,36 unequal: No Solution
Exploring Operation: 176-59=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 59*176=10384, Resulting Numbers: [10384]
10384,36 unequal: No Solution
Moving to Node #0,0,4
Current State: 36:[85, 150], Operations: ['87-2=85', '91+59=150']
Exploring Operation: 85*150=12750, Resulting Numbers: [12750]
12750,36 unequal: No Solution
Exploring Operation: 150-85=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 85+150=235, Resulting Numbers: [235]
235,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[87, 59, 89], Operations: ['91-2=89']
Exploring Operation: 89-87=2, Resulting Numbers: [59, 2]
Generated Node #0,2,0: 36:[59, 2] Operation: 89-87=2
Exploring Operation: 87+89=176, Resulting Numbers: [59, 176]
Generated Node #0,2,1: 36:[59, 176] Operation: 87+89=176
Exploring Operation: 87+59=146, Resulting Numbers: [89, 146]
Generated Node #0,2,2: 36:[89, 146] Operation: 87+59=146
Exploring Operation: 89-59=30, Resulting Numbers: [87, 30]
Generated Node #0,2,3: 36:[87, 30] Operation: 89-59=30
Exploring Operation: 87-59=28, Resulting Numbers: [89, 28]
Generated Node #0,2,4: 36:[89, 28] Operation: 87-59=28
Moving to Node #0,2,0
Current State: 36:[59, 2], Operations: ['91-2=89', '89-87=2']
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,36 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Moving to Node #0,2,3
Current State: 36:[87, 30], Operations: ['91-2=89', '89-59=30']
Exploring Operation: 87*30=2610, Resulting Numbers: [2610]
2610,36 unequal: No Solution
Exploring Operation: 87+30=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Moving to Node #0,2,4
Current State: 36:[89, 28], Operations: ['91-2=89', '87-59=28']
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 89*28=2492, Resulting Numbers: [2492]
2492,36 unequal: No Solution
Exploring Operation: 89+28=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[59, 176], Operations: ['91-2=89', '87+89=176']
Exploring Operation: 59*176=10384, Resulting Numbers: [10384]
10384,36 unequal: No Solution
Exploring Operation: 59+176=235, Resulting Numbers: [235]
235,36 unequal: No Solution
Exploring Operation: 176-59=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[89, 146], Operations: ['91-2=89', '87+59=146']
Exploring Operation: 146-89=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Exploring Operation: 89+146=235, Resulting Numbers: [235]
235,36 unequal: No Solution
Exploring Operation: 89*146=12994, Resulting Numbers: [12994]
12994,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
32,
37,
44,
35
] | 37 | [
"37-32=5",
"35/5=7",
"44-7=37"
] | Current State: 37:[32, 37, 44, 35], Operations: []
Exploring Operation: 37-32=5, Resulting Numbers: [44, 35, 5]
Generated Node #2: [44, 35, 5] from Operation: 37-32=5
Current State: 37:[44, 35, 5], Operations: ['37-32=5']
Exploring Operation: 35/5=7, Resulting Numbers: [44, 7]
Generated Node #3: [44, 7] from Operation: 35/5=7
Current State: 37:[44, 7], Operations: ['37-32=5', '35/5=7']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[32, 37, 44, 35], Operations: []
Exploring Operation: 44-32=12, Resulting Numbers: [37, 35, 12]
Generated Node #0,0: 37:[37, 35, 12] Operation: 44-32=12
Exploring Operation: 44-35=9, Resulting Numbers: [32, 37, 9]
Generated Node #0,1: 37:[32, 37, 9] Operation: 44-35=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[37, 35, 12], Operations: ['44-32=12']
Exploring Operation: 35+12=47, Resulting Numbers: [37, 47]
Generated Node #0,0,0: 37:[37, 47] Operation: 35+12=47
Exploring Operation: 37+12=49, Resulting Numbers: [35, 49]
Generated Node #0,0,1: 37:[35, 49] Operation: 37+12=49
Moving to Node #0,0,0
Current State: 37:[37, 47], Operations: ['44-32=12', '35+12=47']
Exploring Operation: 37+47=84, Resulting Numbers: [84]
84,37 unequal: No Solution
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[35, 49], Operations: ['44-32=12', '37+12=49']
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,37 unequal: No Solution
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[32, 37, 9], Operations: ['44-35=9']
Exploring Operation: 32-9=23, Resulting Numbers: [37, 23]
Generated Node #0,1,0: 37:[37, 23] Operation: 32-9=23
Exploring Operation: 32+9=41, Resulting Numbers: [37, 41]
Generated Node #0,1,1: 37:[37, 41] Operation: 32+9=41
Moving to Node #0,1,1
Current State: 37:[37, 41], Operations: ['44-35=9', '32+9=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[37, 23], Operations: ['44-35=9', '32-9=23']
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,37 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
48,
18,
26
] | 99 | [
"59+48=107",
"26-18=8",
"107-8=99"
] | Current State: 99:[59, 48, 18, 26], Operations: []
Exploring Operation: 59+48=107, Resulting Numbers: [18, 26, 107]
Generated Node #2: [18, 26, 107] from Operation: 59+48=107
Current State: 99:[18, 26, 107], Operations: ['59+48=107']
Exploring Operation: 26-18=8, Resulting Numbers: [107, 8]
Generated Node #3: [107, 8] from Operation: 26-18=8
Current State: 99:[107, 8], Operations: ['59+48=107', '26-18=8']
Exploring Operation: 107-8=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[59, 48, 18, 26], Operations: []
Exploring Operation: 59-48=11, Resulting Numbers: [18, 26, 11]
Generated Node #0,0: 99:[18, 26, 11] Operation: 59-48=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[18, 26, 11], Operations: ['59-48=11']
Exploring Operation: 26-18=8, Resulting Numbers: [11, 8]
Generated Node #0,0,0: 99:[11, 8] Operation: 26-18=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[11, 8], Operations: ['59-48=11', '26-18=8']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,99 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 |
[
8,
60,
49,
71
] | 46 | [
"8+60=68",
"71-49=22",
"68-22=46"
] | Current State: 46:[8, 60, 49, 71], Operations: []
Exploring Operation: 8+60=68, Resulting Numbers: [49, 71, 68]
Generated Node #2: [49, 71, 68] from Operation: 8+60=68
Current State: 46:[49, 71, 68], Operations: ['8+60=68']
Exploring Operation: 71-49=22, Resulting Numbers: [68, 22]
Generated Node #3: [68, 22] from Operation: 71-49=22
Current State: 46:[68, 22], Operations: ['8+60=68', '71-49=22']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[8, 60, 49, 71], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [8, 49, 11]
Generated Node #0,0: 46:[8, 49, 11] Operation: 71-60=11
Moving to Node #0,0
Current State: 46:[8, 49, 11], Operations: ['71-60=11']
Exploring Operation: 11-8=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 46:[49, 3] Operation: 11-8=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[49, 3], Operations: ['71-60=11', '11-8=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[8, 60, 49, 71], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [8, 49, 11]
Generated Node #0,0: 46:[8, 49, 11] Operation: 71-60=11
Moving to Node #0,0
Current State: 46:[8, 49, 11], Operations: ['71-60=11']
Exploring Operation: 11-8=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 46:[49, 3] Operation: 11-8=3
Moving to Node #0,0,0
Current State: 46:[49, 3], Operations: ['71-60=11', '11-8=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
56,
41,
59,
39
] | 62 | [
"41-39=2",
"59*2=118",
"118-56=62"
] | Current State: 62:[56, 41, 59, 39], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [56, 59, 2]
Generated Node #2: [56, 59, 2] from Operation: 41-39=2
Current State: 62:[56, 59, 2], Operations: ['41-39=2']
Exploring Operation: 59*2=118, Resulting Numbers: [56, 118]
Generated Node #3: [56, 118] from Operation: 59*2=118
Current State: 62:[56, 118], Operations: ['41-39=2', '59*2=118']
Exploring Operation: 118-56=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[56, 41, 59, 39], Operations: []
Exploring Operation: 56-41=15, Resulting Numbers: [59, 39, 15]
Generated Node #0,0: 62:[59, 39, 15] Operation: 56-41=15
Exploring Operation: 41-39=2, Resulting Numbers: [56, 59, 2]
Generated Node #0,1: 62:[56, 59, 2] Operation: 41-39=2
Exploring Operation: 59-56=3, Resulting Numbers: [41, 39, 3]
Generated Node #0,2: 62:[41, 39, 3] Operation: 59-56=3
Moving to Node #0,1
Current State: 62:[56, 59, 2], Operations: ['41-39=2']
Exploring Operation: 56+2=58, Resulting Numbers: [59, 58]
Generated Node #0,1,0: 62:[59, 58] Operation: 56+2=58
Exploring Operation: 56/2=28, Resulting Numbers: [59, 28]
Generated Node #0,1,1: 62:[59, 28] Operation: 56/2=28
Exploring Operation: 59-56=3, Resulting Numbers: [2, 3]
Generated Node #0,1,2: 62:[2, 3] Operation: 59-56=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[2, 3], Operations: ['41-39=2', '59-56=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[59, 28], Operations: ['41-39=2', '56/2=28']
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 59*28=1652, Resulting Numbers: [1652]
1652,62 unequal: No Solution
Exploring Operation: 59+28=87, Resulting Numbers: [87]
87,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[59, 58], Operations: ['41-39=2', '56+2=58']
Exploring Operation: 59+58=117, Resulting Numbers: [117]
117,62 unequal: No Solution
Exploring Operation: 59*58=3422, Resulting Numbers: [3422]
3422,62 unequal: No Solution
Exploring Operation: 59-58=1, Resulting Numbers: [1]
1,62 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: 62:[41, 39, 3], Operations: ['59-56=3']
Exploring Operation: 41-3=38, Resulting Numbers: [39, 38]
Generated Node #0,2,0: 62:[39, 38] Operation: 41-3=38
Exploring Operation: 41-39=2, Resulting Numbers: [3, 2]
Generated Node #0,2,1: 62:[3, 2] Operation: 41-39=2
Exploring Operation: 39-3=36, Resulting Numbers: [41, 36]
Generated Node #0,2,2: 62:[41, 36] Operation: 39-3=36
Moving to Node #0,0
Current State: 62:[59, 39, 15], Operations: ['56-41=15']
Exploring Operation: 39-15=24, Resulting Numbers: [59, 24]
Generated Node #0,0,0: 62:[59, 24] Operation: 39-15=24
Exploring Operation: 39+15=54, Resulting Numbers: [59, 54]
Generated Node #0,0,1: 62:[59, 54] Operation: 39+15=54
Exploring Operation: 59+15=74, Resulting Numbers: [39, 74]
Generated Node #0,0,2: 62:[39, 74] Operation: 59+15=74
Moving to Node #0,2,1
Current State: 62:[3, 2], Operations: ['59-56=3', '41-39=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[59, 24], Operations: ['56-41=15', '39-15=24']
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 59*24=1416, Resulting Numbers: [1416]
1416,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[59, 54], Operations: ['56-41=15', '39+15=54']
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 59+54=113, Resulting Numbers: [113]
113,62 unequal: No Solution
Exploring Operation: 59*54=3186, Resulting Numbers: [3186]
3186,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[41, 36], Operations: ['59-56=3', '39-3=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[39, 38], Operations: ['59-56=3', '41-3=38']
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 39*38=1482, Resulting Numbers: [1482]
1482,62 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[39, 74], Operations: ['56-41=15', '59+15=74']
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,62 unequal: No Solution
Exploring Operation: 39*74=2886, Resulting Numbers: [2886]
2886,62 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,62 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
37,
82,
88,
29
] | 14 | [
"82-37=45",
"88-29=59",
"59-45=14"
] | Current State: 14:[37, 82, 88, 29], Operations: []
Exploring Operation: 82-37=45, Resulting Numbers: [88, 29, 45]
Generated Node #2: [88, 29, 45] from Operation: 82-37=45
Current State: 14:[88, 29, 45], Operations: ['82-37=45']
Exploring Operation: 88-29=59, Resulting Numbers: [45, 59]
Generated Node #3: [45, 59] from Operation: 88-29=59
Current State: 14:[45, 59], Operations: ['82-37=45', '88-29=59']
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[37, 82, 88, 29], Operations: []
Exploring Operation: 82-37=45, Resulting Numbers: [88, 29, 45]
Generated Node #0,0: 14:[88, 29, 45] Operation: 82-37=45
Exploring Operation: 82-29=53, Resulting Numbers: [37, 88, 53]
Generated Node #0,1: 14:[37, 88, 53] Operation: 82-29=53
Exploring Operation: 88-37=51, Resulting Numbers: [82, 29, 51]
Generated Node #0,2: 14:[82, 29, 51] Operation: 88-37=51
Exploring Operation: 88-82=6, Resulting Numbers: [37, 29, 6]
Generated Node #0,3: 14:[37, 29, 6] Operation: 88-82=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[37, 29, 6], Operations: ['88-82=6']
Exploring Operation: 37-29=8, Resulting Numbers: [6, 8]
Generated Node #0,3,0: 14:[6, 8] Operation: 37-29=8
Exploring Operation: 37-6=31, Resulting Numbers: [29, 31]
Generated Node #0,3,1: 14:[29, 31] Operation: 37-6=31
Exploring Operation: 37+6=43, Resulting Numbers: [29, 43]
Generated Node #0,3,2: 14:[29, 43] Operation: 37+6=43
Exploring Operation: 29-6=23, Resulting Numbers: [37, 23]
Generated Node #0,3,3: 14:[37, 23] Operation: 29-6=23
Moving to Node #0,3,0
Current State: 14:[6, 8], Operations: ['88-82=6', '37-29=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[37, 82, 88, 29], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [37, 29, 6]
Generated Node #0,3: 14:[37, 29, 6] Operation: 88-82=6
Moving to Node #0,3
Current State: 14:[37, 29, 6], Operations: ['88-82=6']
Exploring Operation: 37-29=8, Resulting Numbers: [6, 8]
Generated Node #0,3,0: 14:[6, 8] Operation: 37-29=8
Moving to Node #0,3,0
Current State: 14:[6, 8], Operations: ['88-82=6', '37-29=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
19,
10,
5,
17
] | 30 | [
"19-5=14",
"17-14=3",
"10*3=30"
] | Current State: 30:[19, 10, 5, 17], Operations: []
Exploring Operation: 19-5=14, Resulting Numbers: [10, 17, 14]
Generated Node #2: [10, 17, 14] from Operation: 19-5=14
Current State: 30:[10, 17, 14], Operations: ['19-5=14']
Exploring Operation: 17-14=3, Resulting Numbers: [10, 3]
Generated Node #3: [10, 3] from Operation: 17-14=3
Current State: 30:[10, 3], Operations: ['19-5=14', '17-14=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[19, 10, 5, 17], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [10, 5, 2]
Generated Node #0,0: 30:[10, 5, 2] Operation: 19-17=2
Moving to Node #0,0
Current State: 30:[10, 5, 2], Operations: ['19-17=2']
Exploring Operation: 10+5=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 30:[2, 15] Operation: 10+5=15
Moving to Node #0,0,0
Current State: 30:[2, 15], Operations: ['19-17=2', '10+5=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[19, 10, 5, 17], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [10, 5, 2]
Generated Node #0,0: 30:[10, 5, 2] Operation: 19-17=2
Moving to Node #0,0
Current State: 30:[10, 5, 2], Operations: ['19-17=2']
Exploring Operation: 10+5=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 30:[2, 15] Operation: 10+5=15
Moving to Node #0,0,0
Current State: 30:[2, 15], Operations: ['19-17=2', '10+5=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
6,
59,
48,
32
] | 35 | [
"48/6=8",
"59-32=27",
"8+27=35"
] | Current State: 35:[6, 59, 48, 32], Operations: []
Exploring Operation: 48/6=8, Resulting Numbers: [59, 32, 8]
Generated Node #2: [59, 32, 8] from Operation: 48/6=8
Current State: 35:[59, 32, 8], Operations: ['48/6=8']
Exploring Operation: 59-32=27, Resulting Numbers: [8, 27]
Generated Node #3: [8, 27] from Operation: 59-32=27
Current State: 35:[8, 27], Operations: ['48/6=8', '59-32=27']
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[6, 59, 48, 32], Operations: []
Exploring Operation: 48/6=8, Resulting Numbers: [59, 32, 8]
Generated Node #0,0: 35:[59, 32, 8] Operation: 48/6=8
Exploring Operation: 59-48=11, Resulting Numbers: [6, 32, 11]
Generated Node #0,1: 35:[6, 32, 11] Operation: 59-48=11
Exploring Operation: 59-32=27, Resulting Numbers: [6, 48, 27]
Generated Node #0,2: 35:[6, 48, 27] Operation: 59-32=27
Exploring Operation: 59-6=53, Resulting Numbers: [48, 32, 53]
Generated Node #0,3: 35:[48, 32, 53] Operation: 59-6=53
Moving to Node #0,1
Current State: 35:[6, 32, 11], Operations: ['59-48=11']
Exploring Operation: 32+11=43, Resulting Numbers: [6, 43]
Generated Node #0,1,0: 35:[6, 43] Operation: 32+11=43
Exploring Operation: 6+32=38, Resulting Numbers: [11, 38]
Generated Node #0,1,1: 35:[11, 38] Operation: 6+32=38
Exploring Operation: 11-6=5, Resulting Numbers: [32, 5]
Generated Node #0,1,2: 35:[32, 5] Operation: 11-6=5
Exploring Operation: 32-6=26, Resulting Numbers: [11, 26]
Generated Node #0,1,3: 35:[11, 26] Operation: 32-6=26
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[32, 5], Operations: ['59-48=11', '11-6=5']
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[11, 38], Operations: ['59-48=11', '6+32=38']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[6, 43], Operations: ['59-48=11', '32+11=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,35 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 35:[11, 26], Operations: ['59-48=11', '32-6=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,35 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,35 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: 35:[6, 48, 27], Operations: ['59-32=27']
Exploring Operation: 48-6=42, Resulting Numbers: [27, 42]
Generated Node #0,2,0: 35:[27, 42] Operation: 48-6=42
Exploring Operation: 48-27=21, Resulting Numbers: [6, 21]
Generated Node #0,2,1: 35:[6, 21] Operation: 48-27=21
Exploring Operation: 6+27=33, Resulting Numbers: [48, 33]
Generated Node #0,2,2: 35:[48, 33] Operation: 6+27=33
Exploring Operation: 48/6=8, Resulting Numbers: [27, 8]
Generated Node #0,2,3: 35:[27, 8] Operation: 48/6=8
Moving to Node #0,0
Current State: 35:[59, 32, 8], Operations: ['48/6=8']
Exploring Operation: 32/8=4, Resulting Numbers: [59, 4]
Generated Node #0,0,0: 35:[59, 4] Operation: 32/8=4
Exploring Operation: 32+8=40, Resulting Numbers: [59, 40]
Generated Node #0,0,1: 35:[59, 40] Operation: 32+8=40
Exploring Operation: 59-8=51, Resulting Numbers: [32, 51]
Generated Node #0,0,2: 35:[32, 51] Operation: 59-8=51
Exploring Operation: 59-32=27, Resulting Numbers: [8, 27]
Generated Node #0,0,3: 35:[8, 27] Operation: 59-32=27
Moving to Node #0,3
Current State: 35:[48, 32, 53], Operations: ['59-6=53']
Exploring Operation: 53-48=5, Resulting Numbers: [32, 5]
Generated Node #0,3,0: 35:[32, 5] Operation: 53-48=5
Exploring Operation: 48-32=16, Resulting Numbers: [53, 16]
Generated Node #0,3,1: 35:[53, 16] Operation: 48-32=16
Exploring Operation: 53-32=21, Resulting Numbers: [48, 21]
Generated Node #0,3,2: 35:[48, 21] Operation: 53-32=21
Exploring Operation: 48+32=80, Resulting Numbers: [53, 80]
Generated Node #0,3,3: 35:[53, 80] Operation: 48+32=80
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 35:[32, 5], Operations: ['59-6=53', '53-48=5']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 35:[53, 16], Operations: ['59-6=53', '48-32=16']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 53+16=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Exploring Operation: 53*16=848, Resulting Numbers: [848]
848,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[48, 21], Operations: ['59-6=53', '53-32=21']
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[53, 80], Operations: ['59-6=53', '48+32=80']
Exploring Operation: 53+80=133, Resulting Numbers: [133]
133,35 unequal: No Solution
Exploring Operation: 53*80=4240, Resulting Numbers: [4240]
4240,35 unequal: No Solution
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 35:[27, 8], Operations: ['59-32=27', '48/6=8']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[6, 59, 48, 32], Operations: []
Exploring Operation: 59-32=27, Resulting Numbers: [6, 48, 27]
Generated Node #0,2: 35:[6, 48, 27] Operation: 59-32=27
Moving to Node #0,2
Current State: 35:[6, 48, 27], Operations: ['59-32=27']
Exploring Operation: 48/6=8, Resulting Numbers: [27, 8]
Generated Node #0,2,3: 35:[27, 8] Operation: 48/6=8
Moving to Node #0,2,3
Current State: 35:[27, 8], Operations: ['59-32=27', '48/6=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.956597 | hs_4 | mult_heuristic |
[
16,
6,
95,
83
] | 96 | [
"95-6=89",
"89-83=6",
"16*6=96"
] | Current State: 96:[16, 6, 95, 83], Operations: []
Exploring Operation: 95-6=89, Resulting Numbers: [16, 83, 89]
Generated Node #2: [16, 83, 89] from Operation: 95-6=89
Current State: 96:[16, 83, 89], Operations: ['95-6=89']
Exploring Operation: 89-83=6, Resulting Numbers: [16, 6]
Generated Node #3: [16, 6] from Operation: 89-83=6
Current State: 96:[16, 6], Operations: ['95-6=89', '89-83=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[16, 6, 95, 83], Operations: []
Exploring Operation: 6+83=89, Resulting Numbers: [16, 95, 89]
Generated Node #0,0: 96:[16, 95, 89] Operation: 6+83=89
Exploring Operation: 16*6=96, Resulting Numbers: [95, 83, 96]
Generated Node #0,1: 96:[95, 83, 96] Operation: 16*6=96
Exploring Operation: 95-83=12, Resulting Numbers: [16, 6, 12]
Generated Node #0,2: 96:[16, 6, 12] Operation: 95-83=12
Exploring Operation: 16+83=99, Resulting Numbers: [6, 95, 99]
Generated Node #0,3: 96:[6, 95, 99] Operation: 16+83=99
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[16, 6, 12], Operations: ['95-83=12']
Exploring Operation: 12/6=2, Resulting Numbers: [16, 2]
Generated Node #0,2,0: 96:[16, 2] Operation: 12/6=2
Exploring Operation: 16*6=96, Resulting Numbers: [12, 96]
Generated Node #0,2,1: 96:[12, 96] Operation: 16*6=96
Exploring Operation: 12-6=6, Resulting Numbers: [16, 6]
Generated Node #0,2,2: 96:[16, 6] Operation: 12-6=6
Exploring Operation: 16-12=4, Resulting Numbers: [6, 4]
Generated Node #0,2,3: 96:[6, 4] Operation: 16-12=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[16, 2], Operations: ['95-83=12', '12/6=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,96 unequal: No Solution
No 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: 96:[12, 96], Operations: ['95-83=12', '16*6=96']
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 12+96=108, Resulting Numbers: [108]
108,96 unequal: No Solution
Exploring Operation: 12*96=1152, Resulting Numbers: [1152]
1152,96 unequal: No Solution
No 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: 96:[16, 6], Operations: ['95-83=12', '12-6=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[16, 6, 95, 83], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [16, 6, 12]
Generated Node #0,2: 96:[16, 6, 12] Operation: 95-83=12
Moving to Node #0,2
Current State: 96:[16, 6, 12], Operations: ['95-83=12']
Exploring Operation: 12-6=6, Resulting Numbers: [16, 6]
Generated Node #0,2,2: 96:[16, 6] Operation: 12-6=6
Moving to Node #0,2,2
Current State: 96:[16, 6], Operations: ['95-83=12', '12-6=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
54,
83,
62,
31
] | 58 | [
"83-54=29",
"62/31=2",
"29*2=58"
] | Current State: 58:[54, 83, 62, 31], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [62, 31, 29]
Generated Node #2: [62, 31, 29] from Operation: 83-54=29
Current State: 58:[62, 31, 29], Operations: ['83-54=29']
Exploring Operation: 62/31=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 62/31=2
Current State: 58:[29, 2], Operations: ['83-54=29', '62/31=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[54, 83, 62, 31], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [62, 31, 29]
Generated Node #0,0: 58:[62, 31, 29] Operation: 83-54=29
Exploring Operation: 83-62=21, Resulting Numbers: [54, 31, 21]
Generated Node #0,1: 58:[54, 31, 21] Operation: 83-62=21
Moving to Node #0,0
Current State: 58:[62, 31, 29], Operations: ['83-54=29']
Exploring Operation: 62/31=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 58:[29, 2] Operation: 62/31=2
Exploring Operation: 62-31=31, Resulting Numbers: [29, 31]
Generated Node #0,0,1: 58:[29, 31] Operation: 62-31=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[29, 2], Operations: ['83-54=29', '62/31=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[54, 83, 62, 31], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [62, 31, 29]
Generated Node #0,0: 58:[62, 31, 29] Operation: 83-54=29
Moving to Node #0,0
Current State: 58:[62, 31, 29], Operations: ['83-54=29']
Exploring Operation: 62/31=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 58:[29, 2] Operation: 62/31=2
Moving to Node #0,0,0
Current State: 58:[29, 2], Operations: ['83-54=29', '62/31=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
4,
99,
67,
5
] | 59 | [
"67*5=335",
"335-99=236",
"236/4=59"
] | Current State: 59:[4, 99, 67, 5], Operations: []
Exploring Operation: 67*5=335, Resulting Numbers: [4, 99, 335]
Generated Node #2: [4, 99, 335] from Operation: 67*5=335
Current State: 59:[4, 99, 335], Operations: ['67*5=335']
Exploring Operation: 335-99=236, Resulting Numbers: [4, 236]
Generated Node #3: [4, 236] from Operation: 335-99=236
Current State: 59:[4, 236], Operations: ['67*5=335', '335-99=236']
Exploring Operation: 236/4=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[4, 99, 67, 5], Operations: []
Exploring Operation: 67-4=63, Resulting Numbers: [99, 5, 63]
Generated Node #0,0: 59:[99, 5, 63] Operation: 67-4=63
Exploring Operation: 99-4=95, Resulting Numbers: [67, 5, 95]
Generated Node #0,1: 59:[67, 5, 95] Operation: 99-4=95
Exploring Operation: 4*5=20, Resulting Numbers: [99, 67, 20]
Generated Node #0,2: 59:[99, 67, 20] Operation: 4*5=20
Exploring Operation: 99-5=94, Resulting Numbers: [4, 67, 94]
Generated Node #0,3: 59:[4, 67, 94] Operation: 99-5=94
Exploring Operation: 4+5=9, Resulting Numbers: [99, 67, 9]
Generated Node #0,4: 59:[99, 67, 9] Operation: 4+5=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[99, 67, 20], Operations: ['4*5=20']
Exploring Operation: 99-20=79, Resulting Numbers: [67, 79]
Generated Node #0,2,0: 59:[67, 79] Operation: 99-20=79
Exploring Operation: 99-67=32, Resulting Numbers: [20, 32]
Generated Node #0,2,1: 59:[20, 32] Operation: 99-67=32
Exploring Operation: 67-20=47, Resulting Numbers: [99, 47]
Generated Node #0,2,2: 59:[99, 47] Operation: 67-20=47
Exploring Operation: 99+20=119, Resulting Numbers: [67, 119]
Generated Node #0,2,3: 59:[67, 119] Operation: 99+20=119
Exploring Operation: 67+20=87, Resulting Numbers: [99, 87]
Generated Node #0,2,4: 59:[99, 87] Operation: 67+20=87
Moving to Node #0,2,0
Current State: 59:[67, 79], Operations: ['4*5=20', '99-20=79']
Exploring Operation: 67+79=146, Resulting Numbers: [146]
146,59 unequal: No Solution
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 67*79=5293, Resulting Numbers: [5293]
5293,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[99, 47], Operations: ['4*5=20', '67-20=47']
Exploring Operation: 99-47=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 99+47=146, Resulting Numbers: [146]
146,59 unequal: No Solution
Exploring Operation: 99*47=4653, Resulting Numbers: [4653]
4653,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[20, 32], Operations: ['4*5=20', '99-67=32']
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[67, 119], Operations: ['4*5=20', '99+20=119']
Exploring Operation: 67+119=186, Resulting Numbers: [186]
186,59 unequal: No Solution
Exploring Operation: 119-67=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 67*119=7973, Resulting Numbers: [7973]
7973,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[99, 87], Operations: ['4*5=20', '67+20=87']
Exploring Operation: 99+87=186, Resulting Numbers: [186]
186,59 unequal: No Solution
Exploring Operation: 99*87=8613, Resulting Numbers: [8613]
8613,59 unequal: No Solution
Exploring Operation: 99-87=12, Resulting Numbers: [12]
12,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[99, 5, 63], Operations: ['67-4=63']
Exploring Operation: 99-63=36, Resulting Numbers: [5, 36]
Generated Node #0,0,0: 59:[5, 36] Operation: 99-63=36
Exploring Operation: 63-5=58, Resulting Numbers: [99, 58]
Generated Node #0,0,1: 59:[99, 58] Operation: 63-5=58
Exploring Operation: 99-5=94, Resulting Numbers: [63, 94]
Generated Node #0,0,2: 59:[63, 94] Operation: 99-5=94
Exploring Operation: 99+5=104, Resulting Numbers: [63, 104]
Generated Node #0,0,3: 59:[63, 104] Operation: 99+5=104
Exploring Operation: 5+63=68, Resulting Numbers: [99, 68]
Generated Node #0,0,4: 59:[99, 68] Operation: 5+63=68
Moving to Node #0,0,2
Current State: 59:[63, 94], Operations: ['67-4=63', '99-5=94']
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,59 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[99, 58], Operations: ['67-4=63', '63-5=58']
Exploring Operation: 99*58=5742, Resulting Numbers: [5742]
5742,59 unequal: No Solution
Exploring Operation: 99+58=157, Resulting Numbers: [157]
157,59 unequal: No Solution
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[63, 104], Operations: ['67-4=63', '99+5=104']
Exploring Operation: 63*104=6552, Resulting Numbers: [6552]
6552,59 unequal: No Solution
Exploring Operation: 104-63=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 63+104=167, Resulting Numbers: [167]
167,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[99, 68], Operations: ['67-4=63', '5+63=68']
Exploring Operation: 99+68=167, Resulting Numbers: [167]
167,59 unequal: No Solution
Exploring Operation: 99-68=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 99*68=6732, Resulting Numbers: [6732]
6732,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[5, 36], Operations: ['67-4=63', '99-63=36']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,59 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[67, 5, 95], Operations: ['99-4=95']
Exploring Operation: 67+5=72, Resulting Numbers: [95, 72]
Generated Node #0,1,0: 59:[95, 72] Operation: 67+5=72
Exploring Operation: 5+95=100, Resulting Numbers: [67, 100]
Generated Node #0,1,1: 59:[67, 100] Operation: 5+95=100
Exploring Operation: 67-5=62, Resulting Numbers: [95, 62]
Generated Node #0,1,2: 59:[95, 62] Operation: 67-5=62
Exploring Operation: 95-5=90, Resulting Numbers: [67, 90]
Generated Node #0,1,3: 59:[67, 90] Operation: 95-5=90
Exploring Operation: 95/5=19, Resulting Numbers: [67, 19]
Generated Node #0,1,4: 59:[67, 19] Operation: 95/5=19
Moving to Node #0,1,2
Current State: 59:[95, 62], Operations: ['99-4=95', '67-5=62']
Exploring Operation: 95-62=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 95*62=5890, Resulting Numbers: [5890]
5890,59 unequal: No Solution
Exploring Operation: 95+62=157, Resulting Numbers: [157]
157,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[67, 90], Operations: ['99-4=95', '95-5=90']
Exploring Operation: 67+90=157, Resulting Numbers: [157]
157,59 unequal: No Solution
Exploring Operation: 67*90=6030, Resulting Numbers: [6030]
6030,59 unequal: No Solution
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Moving to Node #0,1,4
Current State: 59:[67, 19], Operations: ['99-4=95', '95/5=19']
Exploring Operation: 67*19=1273, Resulting Numbers: [1273]
1273,59 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,59 unequal: No Solution
Exploring Operation: 67+19=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[95, 72], Operations: ['99-4=95', '67+5=72']
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 95*72=6840, Resulting Numbers: [6840]
6840,59 unequal: No Solution
Exploring Operation: 95+72=167, Resulting Numbers: [167]
167,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[67, 100], Operations: ['99-4=95', '5+95=100']
Exploring Operation: 67+100=167, Resulting Numbers: [167]
167,59 unequal: No Solution
Exploring Operation: 100-67=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 67*100=6700, Resulting Numbers: [6700]
6700,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[4, 67, 94], Operations: ['99-5=94']
Exploring Operation: 94-4=90, Resulting Numbers: [67, 90]
Generated Node #0,3,0: 59:[67, 90] Operation: 94-4=90
Exploring Operation: 4+67=71, Resulting Numbers: [94, 71]
Generated Node #0,3,1: 59:[94, 71] Operation: 4+67=71
Exploring Operation: 4+94=98, Resulting Numbers: [67, 98]
Generated Node #0,3,2: 59:[67, 98] Operation: 4+94=98
Exploring Operation: 94-67=27, Resulting Numbers: [4, 27]
Generated Node #0,3,3: 59:[4, 27] Operation: 94-67=27
Exploring Operation: 67-4=63, Resulting Numbers: [94, 63]
Generated Node #0,3,4: 59:[94, 63] Operation: 67-4=63
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 59:[67, 90], Operations: ['99-5=94', '94-4=90']
Exploring Operation: 67+90=157, Resulting Numbers: [157]
157,59 unequal: No Solution
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 67*90=6030, Resulting Numbers: [6030]
6030,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 59:[94, 63], Operations: ['99-5=94', '67-4=63']
Exploring Operation: 94+63=157, Resulting Numbers: [157]
157,59 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 94*63=5922, Resulting Numbers: [5922]
5922,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[94, 71], Operations: ['99-5=94', '4+67=71']
Exploring Operation: 94-71=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 94*71=6674, Resulting Numbers: [6674]
6674,59 unequal: No Solution
Exploring Operation: 94+71=165, Resulting Numbers: [165]
165,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 59:[67, 98], Operations: ['99-5=94', '4+94=98']
Exploring Operation: 67+98=165, Resulting Numbers: [165]
165,59 unequal: No Solution
Exploring Operation: 67*98=6566, Resulting Numbers: [6566]
6566,59 unequal: No Solution
Exploring Operation: 98-67=31, Resulting Numbers: [31]
31,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 59:[4, 27], Operations: ['99-5=94', '94-67=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 59:[99, 67, 9], Operations: ['4+5=9']
Exploring Operation: 67-9=58, Resulting Numbers: [99, 58]
Generated Node #0,4,0: 59:[99, 58] Operation: 67-9=58
Exploring Operation: 99-9=90, Resulting Numbers: [67, 90]
Generated Node #0,4,1: 59:[67, 90] Operation: 99-9=90
Exploring Operation: 99+9=108, Resulting Numbers: [67, 108]
Generated Node #0,4,2: 59:[67, 108] Operation: 99+9=108
Exploring Operation: 99/9=11, Resulting Numbers: [67, 11]
Generated Node #0,4,3: 59:[67, 11] Operation: 99/9=11
Exploring Operation: 67+9=76, Resulting Numbers: [99, 76]
Generated Node #0,4,4: 59:[99, 76] Operation: 67+9=76
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 59:[67, 90], Operations: ['4+5=9', '99-9=90']
Exploring Operation: 67+90=157, Resulting Numbers: [157]
157,59 unequal: No Solution
Exploring Operation: 67*90=6030, Resulting Numbers: [6030]
6030,59 unequal: No Solution
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 59:[99, 58], Operations: ['4+5=9', '67-9=58']
Exploring Operation: 99*58=5742, Resulting Numbers: [5742]
5742,59 unequal: No Solution
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 99+58=157, Resulting Numbers: [157]
157,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 59:[67, 11], Operations: ['4+5=9', '99/9=11']
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,59 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 59:[67, 108], Operations: ['4+5=9', '99+9=108']
Exploring Operation: 67*108=7236, Resulting Numbers: [7236]
7236,59 unequal: No Solution
Exploring Operation: 108-67=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 67+108=175, Resulting Numbers: [175]
175,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 59:[99, 76], Operations: ['4+5=9', '67+9=76']
Exploring Operation: 99-76=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 99*76=7524, Resulting Numbers: [7524]
7524,59 unequal: No Solution
Exploring Operation: 99+76=175, Resulting Numbers: [175]
175,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
13,
16,
86,
92
] | 35 | [
"13+16=29",
"92-86=6",
"29+6=35"
] | Current State: 35:[13, 16, 86, 92], Operations: []
Exploring Operation: 13+16=29, Resulting Numbers: [86, 92, 29]
Generated Node #2: [86, 92, 29] from Operation: 13+16=29
Current State: 35:[86, 92, 29], Operations: ['13+16=29']
Exploring Operation: 92-86=6, Resulting Numbers: [29, 6]
Generated Node #3: [29, 6] from Operation: 92-86=6
Current State: 35:[29, 6], Operations: ['13+16=29', '92-86=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[13, 16, 86, 92], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [13, 16, 6]
Generated Node #0,0: 35:[13, 16, 6] Operation: 92-86=6
Exploring Operation: 86-16=70, Resulting Numbers: [13, 92, 70]
Generated Node #0,1: 35:[13, 92, 70] Operation: 86-16=70
Exploring Operation: 92-16=76, Resulting Numbers: [13, 86, 76]
Generated Node #0,2: 35:[13, 86, 76] Operation: 92-16=76
Moving to Node #0,0
Current State: 35:[13, 16, 6], Operations: ['92-86=6']
Exploring Operation: 13+16=29, Resulting Numbers: [6, 29]
Generated Node #0,0,0: 35:[6, 29] Operation: 13+16=29
Exploring Operation: 16-13=3, Resulting Numbers: [6, 3]
Generated Node #0,0,1: 35:[6, 3] Operation: 16-13=3
Exploring Operation: 13-6=7, Resulting Numbers: [16, 7]
Generated Node #0,0,2: 35:[16, 7] Operation: 13-6=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[6, 3], Operations: ['92-86=6', '16-13=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[6, 29], Operations: ['92-86=6', '13+16=29']
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,35 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[13, 16, 86, 92], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [13, 16, 6]
Generated Node #0,0: 35:[13, 16, 6] Operation: 92-86=6
Moving to Node #0,0
Current State: 35:[13, 16, 6], Operations: ['92-86=6']
Exploring Operation: 13+16=29, Resulting Numbers: [6, 29]
Generated Node #0,0,0: 35:[6, 29] Operation: 13+16=29
Moving to Node #0,0,0
Current State: 35:[6, 29], Operations: ['92-86=6', '13+16=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
69,
1,
66,
77
] | 59 | [
"69+1=70",
"77-66=11",
"70-11=59"
] | Current State: 59:[69, 1, 66, 77], Operations: []
Exploring Operation: 69+1=70, Resulting Numbers: [66, 77, 70]
Generated Node #2: [66, 77, 70] from Operation: 69+1=70
Current State: 59:[66, 77, 70], Operations: ['69+1=70']
Exploring Operation: 77-66=11, Resulting Numbers: [70, 11]
Generated Node #3: [70, 11] from Operation: 77-66=11
Current State: 59:[70, 11], Operations: ['69+1=70', '77-66=11']
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[69, 1, 66, 77], Operations: []
Exploring Operation: 69-1=68, Resulting Numbers: [66, 77, 68]
Generated Node #0,0: 59:[66, 77, 68] Operation: 69-1=68
Exploring Operation: 69/1=69, Resulting Numbers: [66, 77, 69]
Generated Node #0,1: 59:[66, 77, 69] Operation: 69/1=69
Exploring Operation: 77-1=76, Resulting Numbers: [69, 66, 76]
Generated Node #0,2: 59:[69, 66, 76] Operation: 77-1=76
Exploring Operation: 66-1=65, Resulting Numbers: [69, 77, 65]
Generated Node #0,3: 59:[69, 77, 65] Operation: 66-1=65
Exploring Operation: 69*1=69, Resulting Numbers: [66, 77, 69]
Generated Node #0,4: 59:[66, 77, 69] Operation: 69*1=69
Moving to Node #0,0
Current State: 59:[66, 77, 68], Operations: ['69-1=68']
Exploring Operation: 68-66=2, Resulting Numbers: [77, 2]
Generated Node #0,0,0: 59:[77, 2] Operation: 68-66=2
Exploring Operation: 77-66=11, Resulting Numbers: [68, 11]
Generated Node #0,0,1: 59:[68, 11] Operation: 77-66=11
Exploring Operation: 66+68=134, Resulting Numbers: [77, 134]
Generated Node #0,0,2: 59:[77, 134] Operation: 66+68=134
Exploring Operation: 77-68=9, Resulting Numbers: [66, 9]
Generated Node #0,0,3: 59:[66, 9] Operation: 77-68=9
Exploring Operation: 66+77=143, Resulting Numbers: [68, 143]
Generated Node #0,0,4: 59:[68, 143] Operation: 66+77=143
Moving to Node #0,3
Current State: 59:[69, 77, 65], Operations: ['66-1=65']
Exploring Operation: 77-69=8, Resulting Numbers: [65, 8]
Generated Node #0,3,0: 59:[65, 8] Operation: 77-69=8
Exploring Operation: 69+65=134, Resulting Numbers: [77, 134]
Generated Node #0,3,1: 59:[77, 134] Operation: 69+65=134
Exploring Operation: 69-65=4, Resulting Numbers: [77, 4]
Generated Node #0,3,2: 59:[77, 4] Operation: 69-65=4
Exploring Operation: 77-65=12, Resulting Numbers: [69, 12]
Generated Node #0,3,3: 59:[69, 12] Operation: 77-65=12
Exploring Operation: 69+77=146, Resulting Numbers: [65, 146]
Generated Node #0,3,4: 59:[65, 146] Operation: 69+77=146
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[65, 8], Operations: ['66-1=65', '77-69=8']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[69, 12], Operations: ['66-1=65', '77-65=12']
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,59 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 69*12=828, Resulting Numbers: [828]
828,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[77, 4], Operations: ['66-1=65', '69-65=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,59 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[77, 134], Operations: ['66-1=65', '69+65=134']
Exploring Operation: 134-77=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 77*134=10318, Resulting Numbers: [10318]
10318,59 unequal: No Solution
Exploring Operation: 77+134=211, Resulting Numbers: [211]
211,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 59:[65, 146], Operations: ['66-1=65', '69+77=146']
Exploring Operation: 65*146=9490, Resulting Numbers: [9490]
9490,59 unequal: No Solution
Exploring Operation: 65+146=211, Resulting Numbers: [211]
211,59 unequal: No Solution
Exploring Operation: 146-65=81, Resulting Numbers: [81]
81,59 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: 59:[69, 66, 76], Operations: ['77-1=76']
Exploring Operation: 69+66=135, Resulting Numbers: [76, 135]
Generated Node #0,2,0: 59:[76, 135] Operation: 69+66=135
Exploring Operation: 69+76=145, Resulting Numbers: [66, 145]
Generated Node #0,2,1: 59:[66, 145] Operation: 69+76=145
Exploring Operation: 69-66=3, Resulting Numbers: [76, 3]
Generated Node #0,2,2: 59:[76, 3] Operation: 69-66=3
Exploring Operation: 76-69=7, Resulting Numbers: [66, 7]
Generated Node #0,2,3: 59:[66, 7] Operation: 76-69=7
Exploring Operation: 76-66=10, Resulting Numbers: [69, 10]
Generated Node #0,2,4: 59:[69, 10] Operation: 76-66=10
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[66, 7], Operations: ['77-1=76', '76-69=7']
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[69, 1, 66, 77], Operations: []
Exploring Operation: 77-1=76, Resulting Numbers: [69, 66, 76]
Generated Node #0,2: 59:[69, 66, 76] Operation: 77-1=76
Moving to Node #0,2
Current State: 59:[69, 66, 76], Operations: ['77-1=76']
Exploring Operation: 76-69=7, Resulting Numbers: [66, 7]
Generated Node #0,2,3: 59:[66, 7] Operation: 76-69=7
Moving to Node #0,2,3
Current State: 59:[66, 7], Operations: ['77-1=76', '76-69=7']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
81,
39,
24,
21
] | 66 | [
"24-21=3",
"81/3=27",
"39+27=66"
] | Current State: 66:[81, 39, 24, 21], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [81, 39, 3]
Generated Node #2: [81, 39, 3] from Operation: 24-21=3
Current State: 66:[81, 39, 3], Operations: ['24-21=3']
Exploring Operation: 81/3=27, Resulting Numbers: [39, 27]
Generated Node #3: [39, 27] from Operation: 81/3=27
Current State: 66:[39, 27], Operations: ['24-21=3', '81/3=27']
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[81, 39, 24, 21], Operations: []
Exploring Operation: 81-39=42, Resulting Numbers: [24, 21, 42]
Generated Node #0,0: 66:[24, 21, 42] Operation: 81-39=42
Exploring Operation: 81-21=60, Resulting Numbers: [39, 24, 60]
Generated Node #0,1: 66:[39, 24, 60] Operation: 81-21=60
Exploring Operation: 81-24=57, Resulting Numbers: [39, 21, 57]
Generated Node #0,2: 66:[39, 21, 57] Operation: 81-24=57
Exploring Operation: 39+24=63, Resulting Numbers: [81, 21, 63]
Generated Node #0,3: 66:[81, 21, 63] Operation: 39+24=63
Moving to Node #0,0
Current State: 66:[24, 21, 42], Operations: ['81-39=42']
Exploring Operation: 42-21=21, Resulting Numbers: [24, 21]
Generated Node #0,0,0: 66:[24, 21] Operation: 42-21=21
Exploring Operation: 42-24=18, Resulting Numbers: [21, 18]
Generated Node #0,0,1: 66:[21, 18] Operation: 42-24=18
Exploring Operation: 42/21=2, Resulting Numbers: [24, 2]
Generated Node #0,0,2: 66:[24, 2] Operation: 42/21=2
Exploring Operation: 24+42=66, Resulting Numbers: [21, 66]
Generated Node #0,0,3: 66:[21, 66] Operation: 24+42=66
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[21, 66], Operations: ['81-39=42', '24+42=66']
Exploring Operation: 21+66=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 21*66=1386, Resulting Numbers: [1386]
1386,66 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,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:[24, 2], Operations: ['81-39=42', '42/21=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,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:[24, 21], Operations: ['81-39=42', '42-21=21']
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,66 unequal: No Solution
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,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:[21, 18], Operations: ['81-39=42', '42-24=18']
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,66 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 66:[39, 24, 60], Operations: ['81-21=60']
Exploring Operation: 60-24=36, Resulting Numbers: [39, 36]
Generated Node #0,1,0: 66:[39, 36] Operation: 60-24=36
Exploring Operation: 39-24=15, Resulting Numbers: [60, 15]
Generated Node #0,1,1: 66:[60, 15] Operation: 39-24=15
Exploring Operation: 60-39=21, Resulting Numbers: [24, 21]
Generated Node #0,1,2: 66:[24, 21] Operation: 60-39=21
Exploring Operation: 39+24=63, Resulting Numbers: [60, 63]
Generated Node #0,1,3: 66:[60, 63] Operation: 39+24=63
Moving to Node #0,2
Current State: 66:[39, 21, 57], Operations: ['81-24=57']
Exploring Operation: 57-21=36, Resulting Numbers: [39, 36]
Generated Node #0,2,0: 66:[39, 36] Operation: 57-21=36
Exploring Operation: 39+21=60, Resulting Numbers: [57, 60]
Generated Node #0,2,1: 66:[57, 60] Operation: 39+21=60
Exploring Operation: 57-39=18, Resulting Numbers: [21, 18]
Generated Node #0,2,2: 66:[21, 18] Operation: 57-39=18
Exploring Operation: 39-21=18, Resulting Numbers: [57, 18]
Generated Node #0,2,3: 66:[57, 18] Operation: 39-21=18
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[21, 18], Operations: ['81-24=57', '57-39=18']
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,66 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,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,2,0
Current State: 66:[39, 36], Operations: ['81-24=57', '57-21=36']
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,66 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,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,2,3
Current State: 66:[57, 18], Operations: ['81-24=57', '39-21=18']
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,66 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,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,2,1
Current State: 66:[57, 60], Operations: ['81-24=57', '39+21=60']
Exploring Operation: 57+60=117, Resulting Numbers: [117]
117,66 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 57*60=3420, Resulting Numbers: [3420]
3420,66 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: 66:[81, 21, 63], Operations: ['39+24=63']
Exploring Operation: 63/21=3, Resulting Numbers: [81, 3]
Generated Node #0,3,0: 66:[81, 3] Operation: 63/21=3
Exploring Operation: 81-63=18, Resulting Numbers: [21, 18]
Generated Node #0,3,1: 66:[21, 18] Operation: 81-63=18
Exploring Operation: 63-21=42, Resulting Numbers: [81, 42]
Generated Node #0,3,2: 66:[81, 42] Operation: 63-21=42
Exploring Operation: 81-21=60, Resulting Numbers: [63, 60]
Generated Node #0,3,3: 66:[63, 60] Operation: 81-21=60
Moving to Node #0,1,2
Current State: 66:[24, 21], Operations: ['81-21=60', '60-39=21']
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,66 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[21, 18], Operations: ['39+24=63', '81-63=18']
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,66 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[60, 63], Operations: ['81-21=60', '39+24=63']
Exploring Operation: 60*63=3780, Resulting Numbers: [3780]
3780,66 unequal: No Solution
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 60+63=123, Resulting Numbers: [123]
123,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[63, 60], Operations: ['39+24=63', '81-21=60']
Exploring Operation: 63*60=3780, Resulting Numbers: [3780]
3780,66 unequal: No Solution
Exploring Operation: 63+60=123, Resulting Numbers: [123]
123,66 unequal: No Solution
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[39, 36], Operations: ['81-21=60', '60-24=36']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[60, 15], Operations: ['81-21=60', '39-24=15']
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 60+15=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 60*15=900, Resulting Numbers: [900]
900,66 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[81, 3], Operations: ['39+24=63', '63/21=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,66 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[81, 42], Operations: ['39+24=63', '63-21=42']
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 81+42=123, Resulting Numbers: [123]
123,66 unequal: No Solution
Exploring Operation: 81*42=3402, Resulting Numbers: [3402]
3402,66 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
72,
5,
52,
63
] | 25 | [
"72+63=135",
"135/5=27",
"52-27=25"
] | Current State: 25:[72, 5, 52, 63], Operations: []
Exploring Operation: 72+63=135, Resulting Numbers: [5, 52, 135]
Generated Node #2: [5, 52, 135] from Operation: 72+63=135
Current State: 25:[5, 52, 135], Operations: ['72+63=135']
Exploring Operation: 135/5=27, Resulting Numbers: [52, 27]
Generated Node #3: [52, 27] from Operation: 135/5=27
Current State: 25:[52, 27], Operations: ['72+63=135', '135/5=27']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[72, 5, 52, 63], Operations: []
Exploring Operation: 72-52=20, Resulting Numbers: [5, 63, 20]
Generated Node #0,0: 25:[5, 63, 20] Operation: 72-52=20
Exploring Operation: 72-63=9, Resulting Numbers: [5, 52, 9]
Generated Node #0,1: 25:[5, 52, 9] Operation: 72-63=9
Exploring Operation: 63-52=11, Resulting Numbers: [72, 5, 11]
Generated Node #0,2: 25:[72, 5, 11] Operation: 63-52=11
Moving to Node #0,1
Current State: 25:[5, 52, 9], Operations: ['72-63=9']
Exploring Operation: 9-5=4, Resulting Numbers: [52, 4]
Generated Node #0,1,0: 25:[52, 4] Operation: 9-5=4
Exploring Operation: 52-5=47, Resulting Numbers: [9, 47]
Generated Node #0,1,1: 25:[9, 47] Operation: 52-5=47
Exploring Operation: 52-9=43, Resulting Numbers: [5, 43]
Generated Node #0,1,2: 25:[5, 43] Operation: 52-9=43
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[5, 43], Operations: ['72-63=9', '52-9=43']
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[9, 47], Operations: ['72-63=9', '52-5=47']
Exploring Operation: 9*47=423, Resulting Numbers: [423]
423,25 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[52, 4], Operations: ['72-63=9', '9-5=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 25:[5, 63, 20], Operations: ['72-52=20']
Exploring Operation: 63-20=43, Resulting Numbers: [5, 43]
Generated Node #0,0,0: 25:[5, 43] Operation: 63-20=43
Exploring Operation: 63-5=58, Resulting Numbers: [20, 58]
Generated Node #0,0,1: 25:[20, 58] Operation: 63-5=58
Exploring Operation: 5+20=25, Resulting Numbers: [63, 25]
Generated Node #0,0,2: 25:[63, 25] Operation: 5+20=25
Moving to Node #0,2
Current State: 25:[72, 5, 11], Operations: ['63-52=11']
Exploring Operation: 72-11=61, Resulting Numbers: [5, 61]
Generated Node #0,2,0: 25:[5, 61] Operation: 72-11=61
Exploring Operation: 11-5=6, Resulting Numbers: [72, 6]
Generated Node #0,2,1: 25:[72, 6] Operation: 11-5=6
Exploring Operation: 72-5=67, Resulting Numbers: [11, 67]
Generated Node #0,2,2: 25:[11, 67] Operation: 72-5=67
Moving to Node #0,0,0
Current State: 25:[5, 43], Operations: ['72-52=20', '63-20=43']
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,25 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[5, 61], Operations: ['63-52=11', '72-11=61']
Exploring Operation: 5+61=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 5*61=305, Resulting Numbers: [305]
305,25 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[63, 25], Operations: ['72-52=20', '5+20=25']
Exploring Operation: 63+25=88, Resulting Numbers: [88]
88,25 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 63*25=1575, Resulting Numbers: [1575]
1575,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[20, 58], Operations: ['72-52=20', '63-5=58']
Exploring Operation: 20+58=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 20*58=1160, Resulting Numbers: [1160]
1160,25 unequal: No Solution
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[11, 67], Operations: ['63-52=11', '72-5=67']
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 11+67=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 11*67=737, Resulting Numbers: [737]
737,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[72, 6], Operations: ['63-52=11', '11-5=6']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,25 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
76,
21,
42,
19
] | 74 | [
"76+21=97",
"42-19=23",
"97-23=74"
] | Current State: 74:[76, 21, 42, 19], Operations: []
Exploring Operation: 76+21=97, Resulting Numbers: [42, 19, 97]
Generated Node #2: [42, 19, 97] from Operation: 76+21=97
Current State: 74:[42, 19, 97], Operations: ['76+21=97']
Exploring Operation: 42-19=23, Resulting Numbers: [97, 23]
Generated Node #3: [97, 23] from Operation: 42-19=23
Current State: 74:[97, 23], Operations: ['76+21=97', '42-19=23']
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[76, 21, 42, 19], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [76, 42, 2]
Generated Node #0,0: 74:[76, 42, 2] Operation: 21-19=2
Exploring Operation: 21+19=40, Resulting Numbers: [76, 42, 40]
Generated Node #0,1: 74:[76, 42, 40] Operation: 21+19=40
Exploring Operation: 42/21=2, Resulting Numbers: [76, 19, 2]
Generated Node #0,2: 74:[76, 19, 2] Operation: 42/21=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[76, 42, 2], Operations: ['21-19=2']
Exploring Operation: 42-2=40, Resulting Numbers: [76, 40]
Generated Node #0,0,0: 74:[76, 40] Operation: 42-2=40
Exploring Operation: 76-2=74, Resulting Numbers: [42, 74]
Generated Node #0,0,1: 74:[42, 74] Operation: 76-2=74
Exploring Operation: 76-42=34, Resulting Numbers: [2, 34]
Generated Node #0,0,2: 74:[2, 34] Operation: 76-42=34
Moving to Node #0,0,2
Current State: 74:[2, 34], Operations: ['21-19=2', '76-42=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[76, 40], Operations: ['21-19=2', '42-2=40']
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,74 unequal: No Solution
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[42, 74], Operations: ['21-19=2', '76-2=74']
Exploring Operation: 42+74=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 42*74=3108, Resulting Numbers: [3108]
3108,74 unequal: No Solution
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[76, 42, 40], Operations: ['21+19=40']
Exploring Operation: 76-40=36, Resulting Numbers: [42, 36]
Generated Node #0,1,0: 74:[42, 36] Operation: 76-40=36
Exploring Operation: 42-40=2, Resulting Numbers: [76, 2]
Generated Node #0,1,1: 74:[76, 2] Operation: 42-40=2
Exploring Operation: 76-42=34, Resulting Numbers: [40, 34]
Generated Node #0,1,2: 74:[40, 34] Operation: 76-42=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[76, 2], Operations: ['21+19=40', '42-40=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[76, 21, 42, 19], Operations: []
Exploring Operation: 21+19=40, Resulting Numbers: [76, 42, 40]
Generated Node #0,1: 74:[76, 42, 40] Operation: 21+19=40
Moving to Node #0,1
Current State: 74:[76, 42, 40], Operations: ['21+19=40']
Exploring Operation: 42-40=2, Resulting Numbers: [76, 2]
Generated Node #0,1,1: 74:[76, 2] Operation: 42-40=2
Moving to Node #0,1,1
Current State: 74:[76, 2], Operations: ['21+19=40', '42-40=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
4,
36,
16,
54
] | 28 | [
"16*54=864",
"864/36=24",
"4+24=28"
] | Current State: 28:[4, 36, 16, 54], Operations: []
Exploring Operation: 16*54=864, Resulting Numbers: [4, 36, 864]
Generated Node #2: [4, 36, 864] from Operation: 16*54=864
Current State: 28:[4, 36, 864], Operations: ['16*54=864']
Exploring Operation: 864/36=24, Resulting Numbers: [4, 24]
Generated Node #3: [4, 24] from Operation: 864/36=24
Current State: 28:[4, 24], Operations: ['16*54=864', '864/36=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[4, 36, 16, 54], Operations: []
Exploring Operation: 54-36=18, Resulting Numbers: [4, 16, 18]
Generated Node #0,0: 28:[4, 16, 18] Operation: 54-36=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[4, 16, 18], Operations: ['54-36=18']
Exploring Operation: 18-16=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 28:[4, 2] Operation: 18-16=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[4, 2], Operations: ['54-36=18', '18-16=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
62,
99,
43,
33
] | 16 | [
"62-43=19",
"99/33=3",
"19-3=16"
] | Current State: 16:[62, 99, 43, 33], Operations: []
Exploring Operation: 62-43=19, Resulting Numbers: [99, 33, 19]
Generated Node #2: [99, 33, 19] from Operation: 62-43=19
Current State: 16:[99, 33, 19], Operations: ['62-43=19']
Exploring Operation: 99/33=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 99/33=3
Current State: 16:[19, 3], Operations: ['62-43=19', '99/33=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[62, 99, 43, 33], Operations: []
Exploring Operation: 99-62=37, Resulting Numbers: [43, 33, 37]
Generated Node #0,0: 16:[43, 33, 37] Operation: 99-62=37
Moving to Node #0,0
Current State: 16:[43, 33, 37], Operations: ['99-62=37']
Exploring Operation: 43-37=6, Resulting Numbers: [33, 6]
Generated Node #0,0,0: 16:[33, 6] Operation: 43-37=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[33, 6], Operations: ['99-62=37', '43-37=6']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,16 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 |
[
69,
88,
91,
85
] | 71 | [
"91+85=176",
"176/88=2",
"69+2=71"
] | Current State: 71:[69, 88, 91, 85], Operations: []
Exploring Operation: 91+85=176, Resulting Numbers: [69, 88, 176]
Generated Node #2: [69, 88, 176] from Operation: 91+85=176
Current State: 71:[69, 88, 176], Operations: ['91+85=176']
Exploring Operation: 176/88=2, Resulting Numbers: [69, 2]
Generated Node #3: [69, 2] from Operation: 176/88=2
Current State: 71:[69, 2], Operations: ['91+85=176', '176/88=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[69, 88, 91, 85], Operations: []
Exploring Operation: 91-85=6, Resulting Numbers: [69, 88, 6]
Generated Node #0,0: 71:[69, 88, 6] Operation: 91-85=6
Exploring Operation: 91-88=3, Resulting Numbers: [69, 85, 3]
Generated Node #0,1: 71:[69, 85, 3] Operation: 91-88=3
Exploring Operation: 88-69=19, Resulting Numbers: [91, 85, 19]
Generated Node #0,2: 71:[91, 85, 19] Operation: 88-69=19
Exploring Operation: 88-85=3, Resulting Numbers: [69, 91, 3]
Generated Node #0,3: 71:[69, 91, 3] Operation: 88-85=3
Exploring Operation: 91-69=22, Resulting Numbers: [88, 85, 22]
Generated Node #0,4: 71:[88, 85, 22] Operation: 91-69=22
Moving to Node #0,4
Current State: 71:[88, 85, 22], Operations: ['91-69=22']
Exploring Operation: 88/22=4, Resulting Numbers: [85, 4]
Generated Node #0,4,0: 71:[85, 4] Operation: 88/22=4
Exploring Operation: 88+22=110, Resulting Numbers: [85, 110]
Generated Node #0,4,1: 71:[85, 110] Operation: 88+22=110
Exploring Operation: 85+22=107, Resulting Numbers: [88, 107]
Generated Node #0,4,2: 71:[88, 107] Operation: 85+22=107
Exploring Operation: 85-22=63, Resulting Numbers: [88, 63]
Generated Node #0,4,3: 71:[88, 63] Operation: 85-22=63
Exploring Operation: 88-22=66, Resulting Numbers: [85, 66]
Generated Node #0,4,4: 71:[85, 66] Operation: 88-22=66
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 71:[85, 66], Operations: ['91-69=22', '88-22=66']
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,71 unequal: No Solution
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,71 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 71:[88, 63], Operations: ['91-69=22', '85-22=63']
Exploring Operation: 88+63=151, Resulting Numbers: [151]
151,71 unequal: No Solution
Exploring Operation: 88*63=5544, Resulting Numbers: [5544]
5544,71 unequal: No Solution
Exploring Operation: 88-63=25, Resulting Numbers: [25]
25,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 71:[85, 110], Operations: ['91-69=22', '88+22=110']
Exploring Operation: 85+110=195, Resulting Numbers: [195]
195,71 unequal: No Solution
Exploring Operation: 85*110=9350, Resulting Numbers: [9350]
9350,71 unequal: No Solution
Exploring Operation: 110-85=25, Resulting Numbers: [25]
25,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 71:[88, 107], Operations: ['91-69=22', '85+22=107']
Exploring Operation: 107-88=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 88+107=195, Resulting Numbers: [195]
195,71 unequal: No Solution
Exploring Operation: 88*107=9416, Resulting Numbers: [9416]
9416,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 71:[85, 4], Operations: ['91-69=22', '88/22=4']
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 85*4=340, Resulting Numbers: [340]
340,71 unequal: No Solution
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,71 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: 71:[69, 85, 3], Operations: ['91-88=3']
Exploring Operation: 69/3=23, Resulting Numbers: [85, 23]
Generated Node #0,1,0: 71:[85, 23] Operation: 69/3=23
Exploring Operation: 85+3=88, Resulting Numbers: [69, 88]
Generated Node #0,1,1: 71:[69, 88] Operation: 85+3=88
Exploring Operation: 85-3=82, Resulting Numbers: [69, 82]
Generated Node #0,1,2: 71:[69, 82] Operation: 85-3=82
Exploring Operation: 69+3=72, Resulting Numbers: [85, 72]
Generated Node #0,1,3: 71:[85, 72] Operation: 69+3=72
Exploring Operation: 69-3=66, Resulting Numbers: [85, 66]
Generated Node #0,1,4: 71:[85, 66] Operation: 69-3=66
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[69, 82], Operations: ['91-88=3', '85-3=82']
Exploring Operation: 82-69=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 69*82=5658, Resulting Numbers: [5658]
5658,71 unequal: No Solution
Exploring Operation: 69+82=151, Resulting Numbers: [151]
151,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,3
Current State: 71:[85, 72], Operations: ['91-88=3', '69+3=72']
Exploring Operation: 85*72=6120, Resulting Numbers: [6120]
6120,71 unequal: No Solution
Exploring Operation: 85-72=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 85+72=157, Resulting Numbers: [157]
157,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:[69, 88], Operations: ['91-88=3', '85+3=88']
Exploring Operation: 69*88=6072, Resulting Numbers: [6072]
6072,71 unequal: No Solution
Exploring Operation: 69+88=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,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,4
Current State: 71:[85, 66], Operations: ['91-88=3', '69-3=66']
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,71 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,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,0
Current State: 71:[85, 23], Operations: ['91-88=3', '69/3=23']
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 85+23=108, Resulting Numbers: [108]
108,71 unequal: No Solution
Exploring Operation: 85*23=1955, Resulting Numbers: [1955]
1955,71 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: 71:[69, 88, 6], Operations: ['91-85=6']
Exploring Operation: 69+6=75, Resulting Numbers: [88, 75]
Generated Node #0,0,0: 71:[88, 75] Operation: 69+6=75
Exploring Operation: 69-6=63, Resulting Numbers: [88, 63]
Generated Node #0,0,1: 71:[88, 63] Operation: 69-6=63
Exploring Operation: 88-69=19, Resulting Numbers: [6, 19]
Generated Node #0,0,2: 71:[6, 19] Operation: 88-69=19
Exploring Operation: 88-6=82, Resulting Numbers: [69, 82]
Generated Node #0,0,3: 71:[69, 82] Operation: 88-6=82
Exploring Operation: 88+6=94, Resulting Numbers: [69, 94]
Generated Node #0,0,4: 71:[69, 94] Operation: 88+6=94
Moving to Node #0,2
Current State: 71:[91, 85, 19], Operations: ['88-69=19']
Exploring Operation: 85-19=66, Resulting Numbers: [91, 66]
Generated Node #0,2,0: 71:[91, 66] Operation: 85-19=66
Exploring Operation: 85+19=104, Resulting Numbers: [91, 104]
Generated Node #0,2,1: 71:[91, 104] Operation: 85+19=104
Exploring Operation: 91-19=72, Resulting Numbers: [85, 72]
Generated Node #0,2,2: 71:[85, 72] Operation: 91-19=72
Exploring Operation: 91-85=6, Resulting Numbers: [19, 6]
Generated Node #0,2,3: 71:[19, 6] Operation: 91-85=6
Exploring Operation: 91+19=110, Resulting Numbers: [85, 110]
Generated Node #0,2,4: 71:[85, 110] Operation: 91+19=110
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[85, 72], Operations: ['88-69=19', '91-19=72']
Exploring Operation: 85-72=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 85+72=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 85*72=6120, Resulting Numbers: [6120]
6120,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[91, 66], Operations: ['88-69=19', '85-19=66']
Exploring Operation: 91+66=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 91*66=6006, Resulting Numbers: [6006]
6006,71 unequal: No Solution
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[91, 104], Operations: ['88-69=19', '85+19=104']
Exploring Operation: 91*104=9464, Resulting Numbers: [9464]
9464,71 unequal: No Solution
Exploring Operation: 104-91=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 91+104=195, Resulting Numbers: [195]
195,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 71:[85, 110], Operations: ['88-69=19', '91+19=110']
Exploring Operation: 85+110=195, Resulting Numbers: [195]
195,71 unequal: No Solution
Exploring Operation: 85*110=9350, Resulting Numbers: [9350]
9350,71 unequal: No Solution
Exploring Operation: 110-85=25, Resulting Numbers: [25]
25,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[19, 6], Operations: ['88-69=19', '91-85=6']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,71 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,71 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: 71:[69, 91, 3], Operations: ['88-85=3']
Exploring Operation: 69+3=72, Resulting Numbers: [91, 72]
Generated Node #0,3,0: 71:[91, 72] Operation: 69+3=72
Exploring Operation: 69-3=66, Resulting Numbers: [91, 66]
Generated Node #0,3,1: 71:[91, 66] Operation: 69-3=66
Exploring Operation: 69/3=23, Resulting Numbers: [91, 23]
Generated Node #0,3,2: 71:[91, 23] Operation: 69/3=23
Exploring Operation: 91+3=94, Resulting Numbers: [69, 94]
Generated Node #0,3,3: 71:[69, 94] Operation: 91+3=94
Exploring Operation: 91-3=88, Resulting Numbers: [69, 88]
Generated Node #0,3,4: 71:[69, 88] Operation: 91-3=88
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 71:[69, 88], Operations: ['88-85=3', '91-3=88']
Exploring Operation: 69+88=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 69*88=6072, Resulting Numbers: [6072]
6072,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[91, 72], Operations: ['88-85=3', '69+3=72']
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 91+72=163, Resulting Numbers: [163]
163,71 unequal: No Solution
Exploring Operation: 91*72=6552, Resulting Numbers: [6552]
6552,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[91, 66], Operations: ['88-85=3', '69-3=66']
Exploring Operation: 91+66=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 91*66=6006, Resulting Numbers: [6006]
6006,71 unequal: No Solution
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[69, 94], Operations: ['88-85=3', '91+3=94']
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 69+94=163, Resulting Numbers: [163]
163,71 unequal: No Solution
Exploring Operation: 69*94=6486, Resulting Numbers: [6486]
6486,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[91, 23], Operations: ['88-85=3', '69/3=23']
Exploring Operation: 91*23=2093, Resulting Numbers: [2093]
2093,71 unequal: No Solution
Exploring Operation: 91+23=114, Resulting Numbers: [114]
114,71 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 71:[69, 82], Operations: ['91-85=6', '88-6=82']
Exploring Operation: 69*82=5658, Resulting Numbers: [5658]
5658,71 unequal: No Solution
Exploring Operation: 69+82=151, Resulting Numbers: [151]
151,71 unequal: No Solution
Exploring Operation: 82-69=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[88, 75], Operations: ['91-85=6', '69+6=75']
Exploring Operation: 88*75=6600, Resulting Numbers: [6600]
6600,71 unequal: No Solution
Exploring Operation: 88+75=163, Resulting Numbers: [163]
163,71 unequal: No Solution
Exploring Operation: 88-75=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[88, 63], Operations: ['91-85=6', '69-6=63']
Exploring Operation: 88*63=5544, Resulting Numbers: [5544]
5544,71 unequal: No Solution
Exploring Operation: 88-63=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 88+63=151, Resulting Numbers: [151]
151,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[69, 94], Operations: ['91-85=6', '88+6=94']
Exploring Operation: 69+94=163, Resulting Numbers: [163]
163,71 unequal: No Solution
Exploring Operation: 69*94=6486, Resulting Numbers: [6486]
6486,71 unequal: No Solution
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[6, 19], Operations: ['91-85=6', '88-69=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,71 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,71 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
18,
29,
14,
7
] | 68 | [
"18+29=47",
"14+7=21",
"47+21=68"
] | Current State: 68:[18, 29, 14, 7], Operations: []
Exploring Operation: 18+29=47, Resulting Numbers: [14, 7, 47]
Generated Node #2: [14, 7, 47] from Operation: 18+29=47
Current State: 68:[14, 7, 47], Operations: ['18+29=47']
Exploring Operation: 14+7=21, Resulting Numbers: [47, 21]
Generated Node #3: [47, 21] from Operation: 14+7=21
Current State: 68:[47, 21], Operations: ['18+29=47', '14+7=21']
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[18, 29, 14, 7], Operations: []
Exploring Operation: 29-14=15, Resulting Numbers: [18, 7, 15]
Generated Node #0,0: 68:[18, 7, 15] Operation: 29-14=15
Exploring Operation: 29+7=36, Resulting Numbers: [18, 14, 36]
Generated Node #0,1: 68:[18, 14, 36] Operation: 29+7=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[18, 7, 15], Operations: ['29-14=15']
Exploring Operation: 18+15=33, Resulting Numbers: [7, 33]
Generated Node #0,0,0: 68:[7, 33] Operation: 18+15=33
Exploring Operation: 18-15=3, Resulting Numbers: [7, 3]
Generated Node #0,0,1: 68:[7, 3] Operation: 18-15=3
Moving to Node #0,0,0
Current State: 68:[7, 33], Operations: ['29-14=15', '18+15=33']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[7, 3], Operations: ['29-14=15', '18-15=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,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,1
Current State: 68:[18, 14, 36], Operations: ['29+7=36']
Exploring Operation: 36/18=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 68:[14, 2] Operation: 36/18=2
Exploring Operation: 18-14=4, Resulting Numbers: [36, 4]
Generated Node #0,1,1: 68:[36, 4] Operation: 18-14=4
Moving to Node #0,1,1
Current State: 68:[36, 4], Operations: ['29+7=36', '18-14=4']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[14, 2], Operations: ['29+7=36', '36/18=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
56,
95,
38
] | 83 | [
"56-6=50",
"95+38=133",
"133-50=83"
] | Current State: 83:[6, 56, 95, 38], Operations: []
Exploring Operation: 56-6=50, Resulting Numbers: [95, 38, 50]
Generated Node #2: [95, 38, 50] from Operation: 56-6=50
Current State: 83:[95, 38, 50], Operations: ['56-6=50']
Exploring Operation: 95+38=133, Resulting Numbers: [50, 133]
Generated Node #3: [50, 133] from Operation: 95+38=133
Current State: 83:[50, 133], Operations: ['56-6=50', '95+38=133']
Exploring Operation: 133-50=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[6, 56, 95, 38], Operations: []
Exploring Operation: 6+56=62, Resulting Numbers: [95, 38, 62]
Generated Node #0,0: 83:[95, 38, 62] Operation: 6+56=62
Exploring Operation: 95-6=89, Resulting Numbers: [56, 38, 89]
Generated Node #0,1: 83:[56, 38, 89] Operation: 95-6=89
Exploring Operation: 6+38=44, Resulting Numbers: [56, 95, 44]
Generated Node #0,2: 83:[56, 95, 44] Operation: 6+38=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[95, 38, 62], Operations: ['6+56=62']
Exploring Operation: 95+38=133, Resulting Numbers: [62, 133]
Generated Node #0,0,0: 83:[62, 133] Operation: 95+38=133
Exploring Operation: 95-38=57, Resulting Numbers: [62, 57]
Generated Node #0,0,1: 83:[62, 57] Operation: 95-38=57
Exploring Operation: 38+62=100, Resulting Numbers: [95, 100]
Generated Node #0,0,2: 83:[95, 100] Operation: 38+62=100
Moving to Node #0,0,2
Current State: 83:[95, 100], Operations: ['6+56=62', '38+62=100']
Exploring Operation: 95+100=195, Resulting Numbers: [195]
195,83 unequal: No Solution
Exploring Operation: 95*100=9500, Resulting Numbers: [9500]
9500,83 unequal: No Solution
Exploring Operation: 100-95=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[62, 57], Operations: ['6+56=62', '95-38=57']
Exploring Operation: 62+57=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 62*57=3534, Resulting Numbers: [3534]
3534,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[62, 133], Operations: ['6+56=62', '95+38=133']
Exploring Operation: 133-62=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 62+133=195, Resulting Numbers: [195]
195,83 unequal: No Solution
Exploring Operation: 62*133=8246, Resulting Numbers: [8246]
8246,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[56, 38, 89], Operations: ['95-6=89']
Exploring Operation: 89-38=51, Resulting Numbers: [56, 51]
Generated Node #0,1,0: 83:[56, 51] Operation: 89-38=51
Exploring Operation: 56-38=18, Resulting Numbers: [89, 18]
Generated Node #0,1,1: 83:[89, 18] Operation: 56-38=18
Exploring Operation: 56+38=94, Resulting Numbers: [89, 94]
Generated Node #0,1,2: 83:[89, 94] Operation: 56+38=94
Moving to Node #0,1,2
Current State: 83:[89, 94], Operations: ['95-6=89', '56+38=94']
Exploring Operation: 89*94=8366, Resulting Numbers: [8366]
8366,83 unequal: No Solution
Exploring Operation: 89+94=183, Resulting Numbers: [183]
183,83 unequal: No Solution
Exploring Operation: 94-89=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[56, 51], Operations: ['95-6=89', '89-38=51']
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,83 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[89, 18], Operations: ['95-6=89', '56-38=18']
Exploring Operation: 89*18=1602, Resulting Numbers: [1602]
1602,83 unequal: No Solution
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,83 unequal: No Solution
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[56, 95, 44], Operations: ['6+38=44']
Exploring Operation: 95-44=51, Resulting Numbers: [56, 51]
Generated Node #0,2,0: 83:[56, 51] Operation: 95-44=51
Exploring Operation: 56+44=100, Resulting Numbers: [95, 100]
Generated Node #0,2,1: 83:[95, 100] Operation: 56+44=100
Exploring Operation: 95-56=39, Resulting Numbers: [44, 39]
Generated Node #0,2,2: 83:[44, 39] Operation: 95-56=39
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[95, 100], Operations: ['6+38=44', '56+44=100']
Exploring Operation: 95*100=9500, Resulting Numbers: [9500]
9500,83 unequal: No Solution
Exploring Operation: 100-95=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 95+100=195, Resulting Numbers: [195]
195,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[56, 51], Operations: ['6+38=44', '95-44=51']
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,83 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[44, 39], Operations: ['6+38=44', '95-56=39']
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,83 unequal: No Solution
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[6, 56, 95, 38], Operations: []
Exploring Operation: 6+38=44, Resulting Numbers: [56, 95, 44]
Generated Node #0,2: 83:[56, 95, 44] Operation: 6+38=44
Moving to Node #0,2
Current State: 83:[56, 95, 44], Operations: ['6+38=44']
Exploring Operation: 95-56=39, Resulting Numbers: [44, 39]
Generated Node #0,2,2: 83:[44, 39] Operation: 95-56=39
Moving to Node #0,2,2
Current State: 83:[44, 39], Operations: ['6+38=44', '95-56=39']
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.962674 | hs_3 | sum_heuristic |
[
3,
28,
22,
93
] | 33 | [
"28-22=6",
"93+6=99",
"99/3=33"
] | Current State: 33:[3, 28, 22, 93], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [3, 93, 6]
Generated Node #2: [3, 93, 6] from Operation: 28-22=6
Current State: 33:[3, 93, 6], Operations: ['28-22=6']
Exploring Operation: 93+6=99, Resulting Numbers: [3, 99]
Generated Node #3: [3, 99] from Operation: 93+6=99
Current State: 33:[3, 99], Operations: ['28-22=6', '93+6=99']
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[3, 28, 22, 93], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [28, 22, 31]
Generated Node #0,0: 33:[28, 22, 31] Operation: 93/3=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[28, 22, 31], Operations: ['93/3=31']
Exploring Operation: 28-22=6, Resulting Numbers: [31, 6]
Generated Node #0,0,0: 33:[31, 6] Operation: 28-22=6
Moving to Node #0,0,0
Current State: 33:[31, 6], Operations: ['93/3=31', '28-22=6']
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
41,
89,
30
] | 35 | [
"56*30=1680",
"89-41=48",
"1680/48=35"
] | Current State: 35:[56, 41, 89, 30], Operations: []
Exploring Operation: 56*30=1680, Resulting Numbers: [41, 89, 1680]
Generated Node #2: [41, 89, 1680] from Operation: 56*30=1680
Current State: 35:[41, 89, 1680], Operations: ['56*30=1680']
Exploring Operation: 89-41=48, Resulting Numbers: [1680, 48]
Generated Node #3: [1680, 48] from Operation: 89-41=48
Current State: 35:[1680, 48], Operations: ['56*30=1680', '89-41=48']
Exploring Operation: 1680/48=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[56, 41, 89, 30], Operations: []
Exploring Operation: 89-56=33, Resulting Numbers: [41, 30, 33]
Generated Node #0,0: 35:[41, 30, 33] Operation: 89-56=33
Exploring Operation: 89-41=48, Resulting Numbers: [56, 30, 48]
Generated Node #0,1: 35:[56, 30, 48] Operation: 89-41=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[41, 30, 33], Operations: ['89-56=33']
Exploring Operation: 41-33=8, Resulting Numbers: [30, 8]
Generated Node #0,0,0: 35:[30, 8] Operation: 41-33=8
Exploring Operation: 41-30=11, Resulting Numbers: [33, 11]
Generated Node #0,0,1: 35:[33, 11] Operation: 41-30=11
Moving to Node #0,0,0
Current State: 35:[30, 8], Operations: ['89-56=33', '41-33=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[33, 11], Operations: ['89-56=33', '41-30=11']
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[56, 30, 48], Operations: ['89-41=48']
Exploring Operation: 56-48=8, Resulting Numbers: [30, 8]
Generated Node #0,1,0: 35:[30, 8] Operation: 56-48=8
Exploring Operation: 56-30=26, Resulting Numbers: [48, 26]
Generated Node #0,1,1: 35:[48, 26] Operation: 56-30=26
Moving to Node #0,1,0
Current State: 35:[30, 8], Operations: ['89-41=48', '56-48=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[48, 26], Operations: ['89-41=48', '56-30=26']
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
1,
25,
27
] | 30 | [
"1+25=26",
"78/26=3",
"27+3=30"
] | Current State: 30:[78, 1, 25, 27], Operations: []
Exploring Operation: 1+25=26, Resulting Numbers: [78, 27, 26]
Generated Node #2: [78, 27, 26] from Operation: 1+25=26
Current State: 30:[78, 27, 26], Operations: ['1+25=26']
Exploring Operation: 78/26=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 78/26=3
Current State: 30:[27, 3], Operations: ['1+25=26', '78/26=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[78, 1, 25, 27], Operations: []
Exploring Operation: 78-25=53, Resulting Numbers: [1, 27, 53]
Generated Node #0,0: 30:[1, 27, 53] Operation: 78-25=53
Exploring Operation: 1+25=26, Resulting Numbers: [78, 27, 26]
Generated Node #0,1: 30:[78, 27, 26] Operation: 1+25=26
Exploring Operation: 27-25=2, Resulting Numbers: [78, 1, 2]
Generated Node #0,2: 30:[78, 1, 2] Operation: 27-25=2
Exploring Operation: 78-27=51, Resulting Numbers: [1, 25, 51]
Generated Node #0,3: 30:[1, 25, 51] Operation: 78-27=51
Exploring Operation: 78-1=77, Resulting Numbers: [25, 27, 77]
Generated Node #0,4: 30:[25, 27, 77] Operation: 78-1=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[1, 27, 53], Operations: ['78-25=53']
Exploring Operation: 53-1=52, Resulting Numbers: [27, 52]
Generated Node #0,0,0: 30:[27, 52] Operation: 53-1=52
Exploring Operation: 1*27=27, Resulting Numbers: [53, 27]
Generated Node #0,0,1: 30:[53, 27] Operation: 1*27=27
Exploring Operation: 53-27=26, Resulting Numbers: [1, 26]
Generated Node #0,0,2: 30:[1, 26] Operation: 53-27=26
Exploring Operation: 1+27=28, Resulting Numbers: [53, 28]
Generated Node #0,0,3: 30:[53, 28] Operation: 1+27=28
Exploring Operation: 27/1=27, Resulting Numbers: [53, 27]
Generated Node #0,0,4: 30:[53, 27] Operation: 27/1=27
Moving to Node #0,0,2
Current State: 30:[1, 26], Operations: ['78-25=53', '53-27=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[53, 28], Operations: ['78-25=53', '1+27=28']
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,30 unequal: No Solution
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,30 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[27, 52], Operations: ['78-25=53', '53-1=52']
Exploring Operation: 27*52=1404, Resulting Numbers: [1404]
1404,30 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[53, 27], Operations: ['78-25=53', '1*27=27']
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,30 unequal: No Solution
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Moving to Node #0,0,4
Current State: 30:[53, 27], Operations: ['78-25=53', '27/1=27']
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,30 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[1, 25, 51], Operations: ['78-27=51']
Exploring Operation: 1*25=25, Resulting Numbers: [51, 25]
Generated Node #0,3,0: 30:[51, 25] Operation: 1*25=25
Exploring Operation: 1+25=26, Resulting Numbers: [51, 26]
Generated Node #0,3,1: 30:[51, 26] Operation: 1+25=26
Exploring Operation: 51-25=26, Resulting Numbers: [1, 26]
Generated Node #0,3,2: 30:[1, 26] Operation: 51-25=26
Exploring Operation: 51-1=50, Resulting Numbers: [25, 50]
Generated Node #0,3,3: 30:[25, 50] Operation: 51-1=50
Exploring Operation: 25/1=25, Resulting Numbers: [51, 25]
Generated Node #0,3,4: 30:[51, 25] Operation: 25/1=25
Moving to Node #0,3,2
Current State: 30:[1, 26], Operations: ['78-27=51', '51-25=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[25, 50], Operations: ['78-27=51', '51-1=50']
Exploring Operation: 25+50=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 25*50=1250, Resulting Numbers: [1250]
1250,30 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[51, 26], Operations: ['78-27=51', '1+25=26']
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[51, 25], Operations: ['78-27=51', '1*25=25']
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,30 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,30 unequal: No Solution
Moving to Node #0,3,4
Current State: 30:[51, 25], Operations: ['78-27=51', '25/1=25']
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,30 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[78, 1, 2], Operations: ['27-25=2']
Exploring Operation: 78/1=78, Resulting Numbers: [2, 78]
Generated Node #0,2,0: 30:[2, 78] Operation: 78/1=78
Exploring Operation: 78-2=76, Resulting Numbers: [1, 76]
Generated Node #0,2,1: 30:[1, 76] Operation: 78-2=76
Exploring Operation: 78-1=77, Resulting Numbers: [2, 77]
Generated Node #0,2,2: 30:[2, 77] Operation: 78-1=77
Exploring Operation: 78*1=78, Resulting Numbers: [2, 78]
Generated Node #0,2,3: 30:[2, 78] Operation: 78*1=78
Exploring Operation: 78/2=39, Resulting Numbers: [1, 39]
Generated Node #0,2,4: 30:[1, 39] Operation: 78/2=39
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 30:[1, 39], Operations: ['27-25=2', '78/2=39']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,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,2,1
Current State: 30:[1, 76], Operations: ['27-25=2', '78-2=76']
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,30 unequal: No Solution
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,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,2,2
Current State: 30:[2, 77], Operations: ['27-25=2', '78-1=77']
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,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,2,0
Current State: 30:[2, 78], Operations: ['27-25=2', '78/1=78']
Exploring Operation: 2*78=156, Resulting Numbers: [156]
156,30 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,30 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,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,2,3
Current State: 30:[2, 78], Operations: ['27-25=2', '78*1=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,30 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 2*78=156, Resulting Numbers: [156]
156,30 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,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,1
Current State: 30:[78, 27, 26], Operations: ['1+25=26']
Exploring Operation: 78-27=51, Resulting Numbers: [26, 51]
Generated Node #0,1,0: 30:[26, 51] Operation: 78-27=51
Exploring Operation: 78/26=3, Resulting Numbers: [27, 3]
Generated Node #0,1,1: 30:[27, 3] Operation: 78/26=3
Exploring Operation: 27+26=53, Resulting Numbers: [78, 53]
Generated Node #0,1,2: 30:[78, 53] Operation: 27+26=53
Exploring Operation: 27-26=1, Resulting Numbers: [78, 1]
Generated Node #0,1,3: 30:[78, 1] Operation: 27-26=1
Exploring Operation: 78-26=52, Resulting Numbers: [27, 52]
Generated Node #0,1,4: 30:[27, 52] Operation: 78-26=52
Moving to Node #0,1,1
Current State: 30:[27, 3], Operations: ['1+25=26', '78/26=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[78, 1, 25, 27], Operations: []
Exploring Operation: 1+25=26, Resulting Numbers: [78, 27, 26]
Generated Node #0,1: 30:[78, 27, 26] Operation: 1+25=26
Moving to Node #0,1
Current State: 30:[78, 27, 26], Operations: ['1+25=26']
Exploring Operation: 78/26=3, Resulting Numbers: [27, 3]
Generated Node #0,1,1: 30:[27, 3] Operation: 78/26=3
Moving to Node #0,1,1
Current State: 30:[27, 3], Operations: ['1+25=26', '78/26=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.927083 | hs_5 | sum_heuristic |
[
14,
8,
49,
83
] | 55 | [
"8*49=392",
"392/14=28",
"83-28=55"
] | Current State: 55:[14, 8, 49, 83], Operations: []
Exploring Operation: 8*49=392, Resulting Numbers: [14, 83, 392]
Generated Node #2: [14, 83, 392] from Operation: 8*49=392
Current State: 55:[14, 83, 392], Operations: ['8*49=392']
Exploring Operation: 392/14=28, Resulting Numbers: [83, 28]
Generated Node #3: [83, 28] from Operation: 392/14=28
Current State: 55:[83, 28], Operations: ['8*49=392', '392/14=28']
Exploring Operation: 83-28=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[14, 8, 49, 83], Operations: []
Exploring Operation: 83-14=69, Resulting Numbers: [8, 49, 69]
Generated Node #0,0: 55:[8, 49, 69] Operation: 83-14=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[8, 49, 69], Operations: ['83-14=69']
Exploring Operation: 69-8=61, Resulting Numbers: [49, 61]
Generated Node #0,0,0: 55:[49, 61] Operation: 69-8=61
Moving to Node #0,0,0
Current State: 55:[49, 61], Operations: ['83-14=69', '69-8=61']
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,55 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 |
[
37,
33,
97,
82
] | 85 | [
"37+33=70",
"97-82=15",
"70+15=85"
] | Current State: 85:[37, 33, 97, 82], Operations: []
Exploring Operation: 37+33=70, Resulting Numbers: [97, 82, 70]
Generated Node #2: [97, 82, 70] from Operation: 37+33=70
Current State: 85:[97, 82, 70], Operations: ['37+33=70']
Exploring Operation: 97-82=15, Resulting Numbers: [70, 15]
Generated Node #3: [70, 15] from Operation: 97-82=15
Current State: 85:[70, 15], Operations: ['37+33=70', '97-82=15']
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[37, 33, 97, 82], Operations: []
Exploring Operation: 37+33=70, Resulting Numbers: [97, 82, 70]
Generated Node #0,0: 85:[97, 82, 70] Operation: 37+33=70
Exploring Operation: 97-82=15, Resulting Numbers: [37, 33, 15]
Generated Node #0,1: 85:[37, 33, 15] Operation: 97-82=15
Exploring Operation: 37-33=4, Resulting Numbers: [97, 82, 4]
Generated Node #0,2: 85:[97, 82, 4] Operation: 37-33=4
Moving to Node #0,2
Current State: 85:[97, 82, 4], Operations: ['37-33=4']
Exploring Operation: 97-82=15, Resulting Numbers: [4, 15]
Generated Node #0,2,0: 85:[4, 15] Operation: 97-82=15
Exploring Operation: 97-4=93, Resulting Numbers: [82, 93]
Generated Node #0,2,1: 85:[82, 93] Operation: 97-4=93
Exploring Operation: 82+4=86, Resulting Numbers: [97, 86]
Generated Node #0,2,2: 85:[97, 86] Operation: 82+4=86
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[4, 15], Operations: ['37-33=4', '97-82=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,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,1
Current State: 85:[82, 93], Operations: ['37-33=4', '97-4=93']
Exploring Operation: 82+93=175, Resulting Numbers: [175]
175,85 unequal: No Solution
Exploring Operation: 93-82=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 82*93=7626, Resulting Numbers: [7626]
7626,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,2
Current State: 85:[97, 86], Operations: ['37-33=4', '82+4=86']
Exploring Operation: 97-86=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 97+86=183, Resulting Numbers: [183]
183,85 unequal: No Solution
Exploring Operation: 97*86=8342, Resulting Numbers: [8342]
8342,85 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: 85:[97, 82, 70], Operations: ['37+33=70']
Exploring Operation: 97-70=27, Resulting Numbers: [82, 27]
Generated Node #0,0,0: 85:[82, 27] Operation: 97-70=27
Exploring Operation: 97-82=15, Resulting Numbers: [70, 15]
Generated Node #0,0,1: 85:[70, 15] Operation: 97-82=15
Exploring Operation: 82-70=12, Resulting Numbers: [97, 12]
Generated Node #0,0,2: 85:[97, 12] Operation: 82-70=12
Moving to Node #0,1
Current State: 85:[37, 33, 15], Operations: ['97-82=15']
Exploring Operation: 37-33=4, Resulting Numbers: [15, 4]
Generated Node #0,1,0: 85:[15, 4] Operation: 37-33=4
Exploring Operation: 37-15=22, Resulting Numbers: [33, 22]
Generated Node #0,1,1: 85:[33, 22] Operation: 37-15=22
Exploring Operation: 37+33=70, Resulting Numbers: [15, 70]
Generated Node #0,1,2: 85:[15, 70] Operation: 37+33=70
Moving to Node #0,1,0
Current State: 85:[15, 4], Operations: ['97-82=15', '37-33=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[82, 27], Operations: ['37+33=70', '97-70=27']
Exploring Operation: 82+27=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 82*27=2214, Resulting Numbers: [2214]
2214,85 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[97, 12], Operations: ['37+33=70', '82-70=12']
Exploring Operation: 97*12=1164, Resulting Numbers: [1164]
1164,85 unequal: No Solution
Exploring Operation: 97+12=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[37, 33, 97, 82], Operations: []
Exploring Operation: 37+33=70, Resulting Numbers: [97, 82, 70]
Generated Node #0,0: 85:[97, 82, 70] Operation: 37+33=70
Moving to Node #0,0
Current State: 85:[97, 82, 70], Operations: ['37+33=70']
Exploring Operation: 82-70=12, Resulting Numbers: [97, 12]
Generated Node #0,0,2: 85:[97, 12] Operation: 82-70=12
Moving to Node #0,0,2
Current State: 85:[97, 12], Operations: ['37+33=70', '82-70=12']
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.970486 | hs_3 | sum_heuristic |
[
86,
16,
19,
6
] | 14 | [
"86-6=80",
"80/16=5",
"19-5=14"
] | Current State: 14:[86, 16, 19, 6], Operations: []
Exploring Operation: 86-6=80, Resulting Numbers: [16, 19, 80]
Generated Node #2: [16, 19, 80] from Operation: 86-6=80
Current State: 14:[16, 19, 80], Operations: ['86-6=80']
Exploring Operation: 80/16=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 80/16=5
Current State: 14:[19, 5], Operations: ['86-6=80', '80/16=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[86, 16, 19, 6], Operations: []
Exploring Operation: 86-19=67, Resulting Numbers: [16, 6, 67]
Generated Node #0,0: 14:[16, 6, 67] Operation: 86-19=67
Exploring Operation: 86-16=70, Resulting Numbers: [19, 6, 70]
Generated Node #0,1: 14:[19, 6, 70] Operation: 86-16=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[16, 6, 67], Operations: ['86-19=67']
Exploring Operation: 67-16=51, Resulting Numbers: [6, 51]
Generated Node #0,0,0: 14:[6, 51] Operation: 67-16=51
Exploring Operation: 67-6=61, Resulting Numbers: [16, 61]
Generated Node #0,0,1: 14:[16, 61] Operation: 67-6=61
Moving to Node #0,0,0
Current State: 14:[6, 51], Operations: ['86-19=67', '67-16=51']
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[16, 61], Operations: ['86-19=67', '67-6=61']
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 16+61=77, Resulting Numbers: [77]
77,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[19, 6, 70], Operations: ['86-16=70']
Exploring Operation: 70-19=51, Resulting Numbers: [6, 51]
Generated Node #0,1,0: 14:[6, 51] Operation: 70-19=51
Exploring Operation: 70-6=64, Resulting Numbers: [19, 64]
Generated Node #0,1,1: 14:[19, 64] Operation: 70-6=64
Moving to Node #0,1,0
Current State: 14:[6, 51], Operations: ['86-16=70', '70-19=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[19, 64], Operations: ['86-16=70', '70-6=64']
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,14 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 |
[
90,
56,
13,
31
] | 10 | [
"90-56=34",
"13+31=44",
"44-34=10"
] | Current State: 10:[90, 56, 13, 31], Operations: []
Exploring Operation: 90-56=34, Resulting Numbers: [13, 31, 34]
Generated Node #2: [13, 31, 34] from Operation: 90-56=34
Current State: 10:[13, 31, 34], Operations: ['90-56=34']
Exploring Operation: 13+31=44, Resulting Numbers: [34, 44]
Generated Node #3: [34, 44] from Operation: 13+31=44
Current State: 10:[34, 44], Operations: ['90-56=34', '13+31=44']
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[90, 56, 13, 31], Operations: []
Exploring Operation: 90-56=34, Resulting Numbers: [13, 31, 34]
Generated Node #0,0: 10:[13, 31, 34] Operation: 90-56=34
Moving to Node #0,0
Current State: 10:[13, 31, 34], Operations: ['90-56=34']
Exploring Operation: 34-31=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 10:[13, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[13, 3], Operations: ['90-56=34', '34-31=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[90, 56, 13, 31], Operations: []
Exploring Operation: 90-56=34, Resulting Numbers: [13, 31, 34]
Generated Node #0,0: 10:[13, 31, 34] Operation: 90-56=34
Moving to Node #0,0
Current State: 10:[13, 31, 34], Operations: ['90-56=34']
Exploring Operation: 34-31=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 10:[13, 3] Operation: 34-31=3
Moving to Node #0,0,0
Current State: 10:[13, 3], Operations: ['90-56=34', '34-31=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
43,
68,
41,
87
] | 53 | [
"43-41=2",
"68/2=34",
"87-34=53"
] | Current State: 53:[43, 68, 41, 87], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [68, 87, 2]
Generated Node #2: [68, 87, 2] from Operation: 43-41=2
Current State: 53:[68, 87, 2], Operations: ['43-41=2']
Exploring Operation: 68/2=34, Resulting Numbers: [87, 34]
Generated Node #3: [87, 34] from Operation: 68/2=34
Current State: 53:[87, 34], Operations: ['43-41=2', '68/2=34']
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[43, 68, 41, 87], Operations: []
Exploring Operation: 87-43=44, Resulting Numbers: [68, 41, 44]
Generated Node #0,0: 53:[68, 41, 44] Operation: 87-43=44
Exploring Operation: 87-41=46, Resulting Numbers: [43, 68, 46]
Generated Node #0,1: 53:[43, 68, 46] Operation: 87-41=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[43, 68, 46], Operations: ['87-41=46']
Exploring Operation: 68-46=22, Resulting Numbers: [43, 22]
Generated Node #0,1,0: 53:[43, 22] Operation: 68-46=22
Exploring Operation: 68-43=25, Resulting Numbers: [46, 25]
Generated Node #0,1,1: 53:[46, 25] Operation: 68-43=25
Moving to Node #0,1,1
Current State: 53:[46, 25], Operations: ['87-41=46', '68-43=25']
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[43, 22], Operations: ['87-41=46', '68-46=22']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[68, 41, 44], Operations: ['87-43=44']
Exploring Operation: 68-41=27, Resulting Numbers: [44, 27]
Generated Node #0,0,0: 53:[44, 27] Operation: 68-41=27
Exploring Operation: 68-44=24, Resulting Numbers: [41, 24]
Generated Node #0,0,1: 53:[41, 24] Operation: 68-44=24
Moving to Node #0,0,0
Current State: 53:[44, 27], Operations: ['87-43=44', '68-41=27']
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[41, 24], Operations: ['87-43=44', '68-44=24']
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
25,
39,
30
] | 51 | [
"25-7=18",
"39+30=69",
"69-18=51"
] | Current State: 51:[7, 25, 39, 30], Operations: []
Exploring Operation: 25-7=18, Resulting Numbers: [39, 30, 18]
Generated Node #2: [39, 30, 18] from Operation: 25-7=18
Current State: 51:[39, 30, 18], Operations: ['25-7=18']
Exploring Operation: 39+30=69, Resulting Numbers: [18, 69]
Generated Node #3: [18, 69] from Operation: 39+30=69
Current State: 51:[18, 69], Operations: ['25-7=18', '39+30=69']
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[7, 25, 39, 30], Operations: []
Exploring Operation: 39-30=9, Resulting Numbers: [7, 25, 9]
Generated Node #0,0: 51:[7, 25, 9] Operation: 39-30=9
Exploring Operation: 30-25=5, Resulting Numbers: [7, 39, 5]
Generated Node #0,1: 51:[7, 39, 5] Operation: 30-25=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[7, 25, 9], Operations: ['39-30=9']
Exploring Operation: 25-9=16, Resulting Numbers: [7, 16]
Generated Node #0,0,0: 51:[7, 16] Operation: 25-9=16
Exploring Operation: 25-7=18, Resulting Numbers: [9, 18]
Generated Node #0,0,1: 51:[9, 18] Operation: 25-7=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[7, 16], Operations: ['39-30=9', '25-9=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[9, 18], Operations: ['39-30=9', '25-7=18']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[7, 39, 5], Operations: ['30-25=5']
Exploring Operation: 7+39=46, Resulting Numbers: [5, 46]
Generated Node #0,1,0: 51:[5, 46] Operation: 7+39=46
Exploring Operation: 39+5=44, Resulting Numbers: [7, 44]
Generated Node #0,1,1: 51:[7, 44] Operation: 39+5=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[5, 46], Operations: ['30-25=5', '7+39=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[7, 25, 39, 30], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [7, 39, 5]
Generated Node #0,1: 51:[7, 39, 5] Operation: 30-25=5
Moving to Node #0,1
Current State: 51:[7, 39, 5], Operations: ['30-25=5']
Exploring Operation: 7+39=46, Resulting Numbers: [5, 46]
Generated Node #0,1,0: 51:[5, 46] Operation: 7+39=46
Moving to Node #0,1,0
Current State: 51:[5, 46], Operations: ['30-25=5', '7+39=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
48,
89,
58,
41
] | 13 | [
"58-48=10",
"89+41=130",
"130/10=13"
] | Current State: 13:[48, 89, 58, 41], Operations: []
Exploring Operation: 58-48=10, Resulting Numbers: [89, 41, 10]
Generated Node #2: [89, 41, 10] from Operation: 58-48=10
Current State: 13:[89, 41, 10], Operations: ['58-48=10']
Exploring Operation: 89+41=130, Resulting Numbers: [10, 130]
Generated Node #3: [10, 130] from Operation: 89+41=130
Current State: 13:[10, 130], Operations: ['58-48=10', '89+41=130']
Exploring Operation: 130/10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[48, 89, 58, 41], Operations: []
Exploring Operation: 58-41=17, Resulting Numbers: [48, 89, 17]
Generated Node #0,0: 13:[48, 89, 17] Operation: 58-41=17
Exploring Operation: 89-41=48, Resulting Numbers: [48, 58, 48]
Generated Node #0,1: 13:[48, 58, 48] Operation: 89-41=48
Exploring Operation: 89-58=31, Resulting Numbers: [48, 41, 31]
Generated Node #0,2: 13:[48, 41, 31] Operation: 89-58=31
Exploring Operation: 58-48=10, Resulting Numbers: [89, 41, 10]
Generated Node #0,3: 13:[89, 41, 10] Operation: 58-48=10
Exploring Operation: 89-48=41, Resulting Numbers: [58, 41, 41]
Generated Node #0,4: 13:[58, 41, 41] Operation: 89-48=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[48, 41, 31], Operations: ['89-58=31']
Exploring Operation: 48-31=17, Resulting Numbers: [41, 17]
Generated Node #0,2,0: 13:[41, 17] Operation: 48-31=17
Exploring Operation: 48-41=7, Resulting Numbers: [31, 7]
Generated Node #0,2,1: 13:[31, 7] Operation: 48-41=7
Exploring Operation: 41-31=10, Resulting Numbers: [48, 10]
Generated Node #0,2,2: 13:[48, 10] Operation: 41-31=10
Exploring Operation: 48+31=79, Resulting Numbers: [41, 79]
Generated Node #0,2,3: 13:[41, 79] Operation: 48+31=79
Exploring Operation: 48+41=89, Resulting Numbers: [31, 89]
Generated Node #0,2,4: 13:[31, 89] Operation: 48+41=89
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[31, 7], Operations: ['89-58=31', '48-41=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[41, 17], Operations: ['89-58=31', '48-31=17']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[48, 10], Operations: ['89-58=31', '41-31=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 13:[41, 79], Operations: ['89-58=31', '48+31=79']
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 41+79=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Exploring Operation: 41*79=3239, Resulting Numbers: [3239]
3239,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 13:[31, 89], Operations: ['89-58=31', '48+41=89']
Exploring Operation: 31*89=2759, Resulting Numbers: [2759]
2759,13 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 31+89=120, Resulting Numbers: [120]
120,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 13:[58, 41, 41], Operations: ['89-48=41']
Exploring Operation: 41/41=1, Resulting Numbers: [58, 1]
Generated Node #0,4,0: 13:[58, 1] Operation: 41/41=1
Exploring Operation: 41-41=0, Resulting Numbers: [58, 0]
Generated Node #0,4,1: 13:[58, 0] Operation: 41-41=0
Exploring Operation: 58-41=17, Resulting Numbers: [41, 17]
Generated Node #0,4,2: 13:[41, 17] Operation: 58-41=17
Exploring Operation: 58+41=99, Resulting Numbers: [41, 99]
Generated Node #0,4,3: 13:[41, 99] Operation: 58+41=99
Exploring Operation: 58-41=17, Resulting Numbers: [41, 17]
Generated Node #0,4,4: 13:[41, 17] Operation: 58-41=17
Moving to Node #0,4,2
Current State: 13:[41, 17], Operations: ['89-48=41', '58-41=17']
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,13 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Moving to Node #0,4,4
Current State: 13:[41, 17], Operations: ['89-48=41', '58-41=17']
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,13 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Moving to Node #0,4,0
Current State: 13:[58, 1], Operations: ['89-48=41', '41/41=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,13 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,13 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Moving to Node #0,4,1
Current State: 13:[58, 0], Operations: ['89-48=41', '41-41=0']
Exploring Operation: 58-0=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 58*0=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 58+0=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Moving to Node #0,4,3
Current State: 13:[41, 99], Operations: ['89-48=41', '58+41=99']
Exploring Operation: 41*99=4059, Resulting Numbers: [4059]
4059,13 unequal: No Solution
Exploring Operation: 41+99=140, Resulting Numbers: [140]
140,13 unequal: No Solution
Exploring Operation: 99-41=58, Resulting Numbers: [58]
58,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
Current State: 13:[89, 41, 10], Operations: ['58-48=10']
Exploring Operation: 89-41=48, Resulting Numbers: [10, 48]
Generated Node #0,3,0: 13:[10, 48] Operation: 89-41=48
Exploring Operation: 89-10=79, Resulting Numbers: [41, 79]
Generated Node #0,3,1: 13:[41, 79] Operation: 89-10=79
Exploring Operation: 41-10=31, Resulting Numbers: [89, 31]
Generated Node #0,3,2: 13:[89, 31] Operation: 41-10=31
Exploring Operation: 89+10=99, Resulting Numbers: [41, 99]
Generated Node #0,3,3: 13:[41, 99] Operation: 89+10=99
Exploring Operation: 41+10=51, Resulting Numbers: [89, 51]
Generated Node #0,3,4: 13:[89, 51] Operation: 41+10=51
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 13:[10, 48], Operations: ['58-48=10', '89-41=48']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 13:[41, 79], Operations: ['58-48=10', '89-10=79']
Exploring Operation: 41*79=3239, Resulting Numbers: [3239]
3239,13 unequal: No Solution
Exploring Operation: 41+79=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 13:[89, 31], Operations: ['58-48=10', '41-10=31']
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 13:[41, 99], Operations: ['58-48=10', '89+10=99']
Exploring Operation: 41*99=4059, Resulting Numbers: [4059]
4059,13 unequal: No Solution
Exploring Operation: 41+99=140, Resulting Numbers: [140]
140,13 unequal: No Solution
Exploring Operation: 99-41=58, Resulting Numbers: [58]
58,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 13:[89, 51], Operations: ['58-48=10', '41+10=51']
Exploring Operation: 89+51=140, Resulting Numbers: [140]
140,13 unequal: No Solution
Exploring Operation: 89*51=4539, Resulting Numbers: [4539]
4539,13 unequal: No Solution
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[48, 89, 17], Operations: ['58-41=17']
Exploring Operation: 48+17=65, Resulting Numbers: [89, 65]
Generated Node #0,0,0: 13:[89, 65] Operation: 48+17=65
Exploring Operation: 89-17=72, Resulting Numbers: [48, 72]
Generated Node #0,0,1: 13:[48, 72] Operation: 89-17=72
Exploring Operation: 48+89=137, Resulting Numbers: [17, 137]
Generated Node #0,0,2: 13:[17, 137] Operation: 48+89=137
Exploring Operation: 89-48=41, Resulting Numbers: [17, 41]
Generated Node #0,0,3: 13:[17, 41] Operation: 89-48=41
Exploring Operation: 48-17=31, Resulting Numbers: [89, 31]
Generated Node #0,0,4: 13:[89, 31] Operation: 48-17=31
Moving to Node #0,0,3
Current State: 13:[17, 41], Operations: ['58-41=17', '89-48=41']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 17*41=697, Resulting Numbers: [697]
697,13 unequal: No Solution
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[89, 31], Operations: ['58-41=17', '48-17=31']
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,13 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[48, 72], Operations: ['58-41=17', '89-17=72']
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,13 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[89, 65], Operations: ['58-41=17', '48+17=65']
Exploring Operation: 89+65=154, Resulting Numbers: [154]
154,13 unequal: No Solution
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 89*65=5785, Resulting Numbers: [5785]
5785,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[17, 137], Operations: ['58-41=17', '48+89=137']
Exploring Operation: 17+137=154, Resulting Numbers: [154]
154,13 unequal: No Solution
Exploring Operation: 17*137=2329, Resulting Numbers: [2329]
2329,13 unequal: No Solution
Exploring Operation: 137-17=120, Resulting Numbers: [120]
120,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,1
Current State: 13:[48, 58, 48], Operations: ['89-41=48']
Exploring Operation: 48+58=106, Resulting Numbers: [48, 106]
Generated Node #0,1,0: 13:[48, 106] Operation: 48+58=106
Exploring Operation: 58-48=10, Resulting Numbers: [48, 10]
Generated Node #0,1,1: 13:[48, 10] Operation: 58-48=10
Exploring Operation: 48-48=0, Resulting Numbers: [58, 0]
Generated Node #0,1,2: 13:[58, 0] Operation: 48-48=0
Exploring Operation: 58-48=10, Resulting Numbers: [48, 10]
Generated Node #0,1,3: 13:[48, 10] Operation: 58-48=10
Exploring Operation: 48/48=1, Resulting Numbers: [58, 1]
Generated Node #0,1,4: 13:[58, 1] Operation: 48/48=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[48, 10], Operations: ['89-41=48', '58-48=10']
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,13 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[48, 10], Operations: ['89-41=48', '58-48=10']
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,13 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 13:[58, 1], Operations: ['89-41=48', '48/48=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,13 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[58, 0], Operations: ['89-41=48', '48-48=0']
Exploring Operation: 58+0=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 58*0=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 58-0=58, Resulting Numbers: [58]
58,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[48, 106], Operations: ['89-41=48', '48+58=106']
Exploring Operation: 48*106=5088, Resulting Numbers: [5088]
5088,13 unequal: No Solution
Exploring Operation: 48+106=154, Resulting Numbers: [154]
154,13 unequal: No Solution
Exploring Operation: 106-48=58, Resulting Numbers: [58]
58,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
91,
33,
24,
3
] | 64 | [
"91-3=88",
"24*88=2112",
"2112/33=64"
] | Current State: 64:[91, 33, 24, 3], Operations: []
Exploring Operation: 91-3=88, Resulting Numbers: [33, 24, 88]
Generated Node #2: [33, 24, 88] from Operation: 91-3=88
Current State: 64:[33, 24, 88], Operations: ['91-3=88']
Exploring Operation: 24*88=2112, Resulting Numbers: [33, 2112]
Generated Node #3: [33, 2112] from Operation: 24*88=2112
Current State: 64:[33, 2112], Operations: ['91-3=88', '24*88=2112']
Exploring Operation: 2112/33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[91, 33, 24, 3], Operations: []
Exploring Operation: 91-3=88, Resulting Numbers: [33, 24, 88]
Generated Node #0,0: 64:[33, 24, 88] Operation: 91-3=88
Exploring Operation: 91-33=58, Resulting Numbers: [24, 3, 58]
Generated Node #0,1: 64:[24, 3, 58] Operation: 91-33=58
Exploring Operation: 24/3=8, Resulting Numbers: [91, 33, 8]
Generated Node #0,2: 64:[91, 33, 8] Operation: 24/3=8
Exploring Operation: 33-24=9, Resulting Numbers: [91, 3, 9]
Generated Node #0,3: 64:[91, 3, 9] Operation: 33-24=9
Exploring Operation: 91-24=67, Resulting Numbers: [33, 3, 67]
Generated Node #0,4: 64:[33, 3, 67] Operation: 91-24=67
Moving to Node #0,4
Current State: 64:[33, 3, 67], Operations: ['91-24=67']
Exploring Operation: 33+3=36, Resulting Numbers: [67, 36]
Generated Node #0,4,0: 64:[67, 36] Operation: 33+3=36
Exploring Operation: 67-3=64, Resulting Numbers: [33, 64]
Generated Node #0,4,1: 64:[33, 64] Operation: 67-3=64
Exploring Operation: 33-3=30, Resulting Numbers: [67, 30]
Generated Node #0,4,2: 64:[67, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [67, 11]
Generated Node #0,4,3: 64:[67, 11] Operation: 33/3=11
Exploring Operation: 67-33=34, Resulting Numbers: [3, 34]
Generated Node #0,4,4: 64:[3, 34] Operation: 67-33=34
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 64:[33, 64], Operations: ['91-24=67', '67-3=64']
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,64 unequal: No Solution
Exploring Operation: 33*64=2112, Resulting Numbers: [2112]
2112,64 unequal: No Solution
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 64:[3, 34], Operations: ['91-24=67', '67-33=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,64 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,64 unequal: No Solution
No 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: 64:[67, 30], Operations: ['91-24=67', '33-3=30']
Exploring Operation: 67*30=2010, Resulting Numbers: [2010]
2010,64 unequal: No Solution
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 67+30=97, Resulting Numbers: [97]
97,64 unequal: No Solution
No 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: 64:[67, 11], Operations: ['91-24=67', '33/3=11']
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,64 unequal: No Solution
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,64 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,64 unequal: No Solution
No 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: 64:[67, 36], Operations: ['91-24=67', '33+3=36']
Exploring Operation: 67*36=2412, Resulting Numbers: [2412]
2412,64 unequal: No Solution
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,64 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,64 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: 64:[24, 3, 58], Operations: ['91-33=58']
Exploring Operation: 3+58=61, Resulting Numbers: [24, 61]
Generated Node #0,1,0: 64:[24, 61] Operation: 3+58=61
Exploring Operation: 24-3=21, Resulting Numbers: [58, 21]
Generated Node #0,1,1: 64:[58, 21] Operation: 24-3=21
Exploring Operation: 24+3=27, Resulting Numbers: [58, 27]
Generated Node #0,1,2: 64:[58, 27] Operation: 24+3=27
Exploring Operation: 24/3=8, Resulting Numbers: [58, 8]
Generated Node #0,1,3: 64:[58, 8] Operation: 24/3=8
Exploring Operation: 58-24=34, Resulting Numbers: [3, 34]
Generated Node #0,1,4: 64:[3, 34] Operation: 58-24=34
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 64:[3, 34], Operations: ['91-33=58', '58-24=34']
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,64 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,64 unequal: No Solution
No 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: 64:[58, 8], Operations: ['91-33=58', '24/3=8']
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,64 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,64 unequal: No Solution
No 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: 64:[24, 61], Operations: ['91-33=58', '3+58=61']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,64 unequal: No Solution
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,64 unequal: No Solution
No 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: 64:[58, 21], Operations: ['91-33=58', '24-3=21']
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,64 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,64 unequal: No Solution
No 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: 64:[58, 27], Operations: ['91-33=58', '24+3=27']
Exploring Operation: 58*27=1566, Resulting Numbers: [1566]
1566,64 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 58+27=85, Resulting Numbers: [85]
85,64 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: 64:[91, 33, 8], Operations: ['24/3=8']
Exploring Operation: 91-8=83, Resulting Numbers: [33, 83]
Generated Node #0,2,0: 64:[33, 83] Operation: 91-8=83
Exploring Operation: 91+8=99, Resulting Numbers: [33, 99]
Generated Node #0,2,1: 64:[33, 99] Operation: 91+8=99
Exploring Operation: 91-33=58, Resulting Numbers: [8, 58]
Generated Node #0,2,2: 64:[8, 58] Operation: 91-33=58
Exploring Operation: 33-8=25, Resulting Numbers: [91, 25]
Generated Node #0,2,3: 64:[91, 25] Operation: 33-8=25
Exploring Operation: 33+8=41, Resulting Numbers: [91, 41]
Generated Node #0,2,4: 64:[91, 41] Operation: 33+8=41
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[8, 58], Operations: ['24/3=8', '91-33=58']
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,64 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,64 unequal: No Solution
No 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: 64:[33, 83], Operations: ['24/3=8', '91-8=83']
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 33+83=116, Resulting Numbers: [116]
116,64 unequal: No Solution
Exploring Operation: 33*83=2739, Resulting Numbers: [2739]
2739,64 unequal: No Solution
No 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: 64:[91, 25], Operations: ['24/3=8', '33-8=25']
Exploring Operation: 91+25=116, Resulting Numbers: [116]
116,64 unequal: No Solution
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 91*25=2275, Resulting Numbers: [2275]
2275,64 unequal: No Solution
No 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: 64:[33, 99], Operations: ['24/3=8', '91+8=99']
Exploring Operation: 33+99=132, Resulting Numbers: [132]
132,64 unequal: No Solution
Exploring Operation: 99-33=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 99/33=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 33*99=3267, Resulting Numbers: [3267]
3267,64 unequal: No Solution
No 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: 64:[91, 41], Operations: ['24/3=8', '33+8=41']
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 91*41=3731, Resulting Numbers: [3731]
3731,64 unequal: No Solution
Exploring Operation: 91+41=132, Resulting Numbers: [132]
132,64 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: 64:[91, 3, 9], Operations: ['33-24=9']
Exploring Operation: 9-3=6, Resulting Numbers: [91, 6]
Generated Node #0,3,0: 64:[91, 6] Operation: 9-3=6
Exploring Operation: 91+3=94, Resulting Numbers: [9, 94]
Generated Node #0,3,1: 64:[9, 94] Operation: 91+3=94
Exploring Operation: 91-9=82, Resulting Numbers: [3, 82]
Generated Node #0,3,2: 64:[3, 82] Operation: 91-9=82
Exploring Operation: 91-3=88, Resulting Numbers: [9, 88]
Generated Node #0,3,3: 64:[9, 88] Operation: 91-3=88
Exploring Operation: 9/3=3, Resulting Numbers: [91, 3]
Generated Node #0,3,4: 64:[91, 3] Operation: 9/3=3
Moving to Node #0,0
Current State: 64:[33, 24, 88], Operations: ['91-3=88']
Exploring Operation: 88-24=64, Resulting Numbers: [33, 64]
Generated Node #0,0,0: 64:[33, 64] Operation: 88-24=64
Exploring Operation: 33+24=57, Resulting Numbers: [88, 57]
Generated Node #0,0,1: 64:[88, 57] Operation: 33+24=57
Exploring Operation: 33-24=9, Resulting Numbers: [88, 9]
Generated Node #0,0,2: 64:[88, 9] Operation: 33-24=9
Exploring Operation: 24+88=112, Resulting Numbers: [33, 112]
Generated Node #0,0,3: 64:[33, 112] Operation: 24+88=112
Exploring Operation: 88-33=55, Resulting Numbers: [24, 55]
Generated Node #0,0,4: 64:[24, 55] Operation: 88-33=55
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[33, 64], Operations: ['91-3=88', '88-24=64']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,64 unequal: No Solution
Exploring Operation: 33*64=2112, Resulting Numbers: [2112]
2112,64 unequal: No Solution
No 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: 64:[24, 55], Operations: ['91-3=88', '88-33=55']
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 24*55=1320, Resulting Numbers: [1320]
1320,64 unequal: No Solution
No 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: 64:[88, 9], Operations: ['91-3=88', '33-24=9']
Exploring Operation: 88*9=792, Resulting Numbers: [792]
792,64 unequal: No Solution
Exploring Operation: 88+9=97, Resulting Numbers: [97]
97,64 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,64 unequal: No Solution
No 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: 64:[88, 57], Operations: ['91-3=88', '33+24=57']
Exploring Operation: 88+57=145, Resulting Numbers: [145]
145,64 unequal: No Solution
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 88*57=5016, Resulting Numbers: [5016]
5016,64 unequal: No Solution
No 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: 64:[33, 112], Operations: ['91-3=88', '24+88=112']
Exploring Operation: 33+112=145, Resulting Numbers: [145]
145,64 unequal: No Solution
Exploring Operation: 33*112=3696, Resulting Numbers: [3696]
3696,64 unequal: No Solution
Exploring Operation: 112-33=79, Resulting Numbers: [79]
79,64 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: 64:[3, 82], Operations: ['33-24=9', '91-9=82']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,64 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[9, 88], Operations: ['33-24=9', '91-3=88']
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,64 unequal: No Solution
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,64 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Moving to Node #0,3,4
Current State: 64:[91, 3], Operations: ['33-24=9', '9/3=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,64 unequal: No Solution
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,64 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[91, 6], Operations: ['33-24=9', '9-3=6']
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,64 unequal: No Solution
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,64 unequal: No Solution
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[9, 94], Operations: ['33-24=9', '91+3=94']
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,64 unequal: No Solution
Exploring Operation: 9*94=846, Resulting Numbers: [846]
846,64 unequal: No Solution
Exploring Operation: 9+94=103, Resulting Numbers: [103]
103,64 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
66,
3,
67,
52
] | 61 | [
"67-52=15",
"15/3=5",
"66-5=61"
] | Current State: 61:[66, 3, 67, 52], Operations: []
Exploring Operation: 67-52=15, Resulting Numbers: [66, 3, 15]
Generated Node #2: [66, 3, 15] from Operation: 67-52=15
Current State: 61:[66, 3, 15], Operations: ['67-52=15']
Exploring Operation: 15/3=5, Resulting Numbers: [66, 5]
Generated Node #3: [66, 5] from Operation: 15/3=5
Current State: 61:[66, 5], Operations: ['67-52=15', '15/3=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[66, 3, 67, 52], Operations: []
Exploring Operation: 3+67=70, Resulting Numbers: [66, 52, 70]
Generated Node #0,0: 61:[66, 52, 70] Operation: 3+67=70
Exploring Operation: 67-3=64, Resulting Numbers: [66, 52, 64]
Generated Node #0,1: 61:[66, 52, 64] Operation: 67-3=64
Exploring Operation: 66-3=63, Resulting Numbers: [67, 52, 63]
Generated Node #0,2: 61:[67, 52, 63] Operation: 66-3=63
Exploring Operation: 3+52=55, Resulting Numbers: [66, 67, 55]
Generated Node #0,3: 61:[66, 67, 55] Operation: 3+52=55
Exploring Operation: 66+3=69, Resulting Numbers: [67, 52, 69]
Generated Node #0,4: 61:[67, 52, 69] Operation: 66+3=69
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[66, 52, 64], Operations: ['67-3=64']
Exploring Operation: 52+64=116, Resulting Numbers: [66, 116]
Generated Node #0,1,0: 61:[66, 116] Operation: 52+64=116
Exploring Operation: 66+52=118, Resulting Numbers: [64, 118]
Generated Node #0,1,1: 61:[64, 118] Operation: 66+52=118
Exploring Operation: 66-52=14, Resulting Numbers: [64, 14]
Generated Node #0,1,2: 61:[64, 14] Operation: 66-52=14
Exploring Operation: 64-52=12, Resulting Numbers: [66, 12]
Generated Node #0,1,3: 61:[66, 12] Operation: 64-52=12
Exploring Operation: 66-64=2, Resulting Numbers: [52, 2]
Generated Node #0,1,4: 61:[52, 2] Operation: 66-64=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[64, 14], Operations: ['67-3=64', '66-52=14']
Exploring Operation: 64*14=896, Resulting Numbers: [896]
896,61 unequal: No Solution
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 61:[66, 12], Operations: ['67-3=64', '64-52=12']
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 66*12=792, Resulting Numbers: [792]
792,61 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[66, 116], Operations: ['67-3=64', '52+64=116']
Exploring Operation: 66*116=7656, Resulting Numbers: [7656]
7656,61 unequal: No Solution
Exploring Operation: 66+116=182, Resulting Numbers: [182]
182,61 unequal: No Solution
Exploring Operation: 116-66=50, Resulting Numbers: [50]
50,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[64, 118], Operations: ['67-3=64', '66+52=118']
Exploring Operation: 118-64=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 64*118=7552, Resulting Numbers: [7552]
7552,61 unequal: No Solution
Exploring Operation: 64+118=182, Resulting Numbers: [182]
182,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 61:[52, 2], Operations: ['67-3=64', '66-64=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[67, 52, 63], Operations: ['66-3=63']
Exploring Operation: 67+52=119, Resulting Numbers: [63, 119]
Generated Node #0,2,0: 61:[63, 119] Operation: 67+52=119
Exploring Operation: 67-63=4, Resulting Numbers: [52, 4]
Generated Node #0,2,1: 61:[52, 4] Operation: 67-63=4
Exploring Operation: 67-52=15, Resulting Numbers: [63, 15]
Generated Node #0,2,2: 61:[63, 15] Operation: 67-52=15
Exploring Operation: 52+63=115, Resulting Numbers: [67, 115]
Generated Node #0,2,3: 61:[67, 115] Operation: 52+63=115
Exploring Operation: 63-52=11, Resulting Numbers: [67, 11]
Generated Node #0,2,4: 61:[67, 11] Operation: 63-52=11
Moving to Node #0,2,2
Current State: 61:[63, 15], Operations: ['66-3=63', '67-52=15']
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,61 unequal: No Solution
Moving to Node #0,2,4
Current State: 61:[67, 11], Operations: ['66-3=63', '63-52=11']
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,61 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[63, 119], Operations: ['66-3=63', '67+52=119']
Exploring Operation: 63*119=7497, Resulting Numbers: [7497]
7497,61 unequal: No Solution
Exploring Operation: 119-63=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 63+119=182, Resulting Numbers: [182]
182,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[67, 115], Operations: ['66-3=63', '52+63=115']
Exploring Operation: 67*115=7705, Resulting Numbers: [7705]
7705,61 unequal: No Solution
Exploring Operation: 67+115=182, Resulting Numbers: [182]
182,61 unequal: No Solution
Exploring Operation: 115-67=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[52, 4], Operations: ['66-3=63', '67-63=4']
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,61 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[66, 67, 55], Operations: ['3+52=55']
Exploring Operation: 66+55=121, Resulting Numbers: [67, 121]
Generated Node #0,3,0: 61:[67, 121] Operation: 66+55=121
Exploring Operation: 67-55=12, Resulting Numbers: [66, 12]
Generated Node #0,3,1: 61:[66, 12] Operation: 67-55=12
Exploring Operation: 67+55=122, Resulting Numbers: [66, 122]
Generated Node #0,3,2: 61:[66, 122] Operation: 67+55=122
Exploring Operation: 67-66=1, Resulting Numbers: [55, 1]
Generated Node #0,3,3: 61:[55, 1] Operation: 67-66=1
Exploring Operation: 66-55=11, Resulting Numbers: [67, 11]
Generated Node #0,3,4: 61:[67, 11] Operation: 66-55=11
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 61:[66, 12], Operations: ['3+52=55', '67-55=12']
Exploring Operation: 66*12=792, Resulting Numbers: [792]
792,61 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 61:[67, 11], Operations: ['3+52=55', '66-55=11']
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,61 unequal: No Solution
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 61:[67, 121], Operations: ['3+52=55', '66+55=121']
Exploring Operation: 67+121=188, Resulting Numbers: [188]
188,61 unequal: No Solution
Exploring Operation: 121-67=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 67*121=8107, Resulting Numbers: [8107]
8107,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 61:[66, 122], Operations: ['3+52=55', '67+55=122']
Exploring Operation: 122-66=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 66*122=8052, Resulting Numbers: [8052]
8052,61 unequal: No Solution
Exploring Operation: 66+122=188, Resulting Numbers: [188]
188,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 61:[55, 1], Operations: ['3+52=55', '67-66=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[66, 52, 70], Operations: ['3+67=70']
Exploring Operation: 70-52=18, Resulting Numbers: [66, 18]
Generated Node #0,0,0: 61:[66, 18] Operation: 70-52=18
Exploring Operation: 66-52=14, Resulting Numbers: [70, 14]
Generated Node #0,0,1: 61:[70, 14] Operation: 66-52=14
Exploring Operation: 66+52=118, Resulting Numbers: [70, 118]
Generated Node #0,0,2: 61:[70, 118] Operation: 66+52=118
Exploring Operation: 70-66=4, Resulting Numbers: [52, 4]
Generated Node #0,0,3: 61:[52, 4] Operation: 70-66=4
Exploring Operation: 52+70=122, Resulting Numbers: [66, 122]
Generated Node #0,0,4: 61:[66, 122] Operation: 52+70=122
Moving to Node #0,0,0
Current State: 61:[66, 18], Operations: ['3+67=70', '70-52=18']
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[70, 14], Operations: ['3+67=70', '66-52=14']
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 70*14=980, Resulting Numbers: [980]
980,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[70, 118], Operations: ['3+67=70', '66+52=118']
Exploring Operation: 70*118=8260, Resulting Numbers: [8260]
8260,61 unequal: No Solution
Exploring Operation: 70+118=188, Resulting Numbers: [188]
188,61 unequal: No Solution
Exploring Operation: 118-70=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[52, 4], Operations: ['3+67=70', '70-66=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,61 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[66, 122], Operations: ['3+67=70', '52+70=122']
Exploring Operation: 66*122=8052, Resulting Numbers: [8052]
8052,61 unequal: No Solution
Exploring Operation: 66+122=188, Resulting Numbers: [188]
188,61 unequal: No Solution
Exploring Operation: 122-66=56, Resulting Numbers: [56]
56,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 61:[67, 52, 69], Operations: ['66+3=69']
Exploring Operation: 69-52=17, Resulting Numbers: [67, 17]
Generated Node #0,4,0: 61:[67, 17] Operation: 69-52=17
Exploring Operation: 67+52=119, Resulting Numbers: [69, 119]
Generated Node #0,4,1: 61:[69, 119] Operation: 67+52=119
Exploring Operation: 69-67=2, Resulting Numbers: [52, 2]
Generated Node #0,4,2: 61:[52, 2] Operation: 69-67=2
Exploring Operation: 52+69=121, Resulting Numbers: [67, 121]
Generated Node #0,4,3: 61:[67, 121] Operation: 52+69=121
Exploring Operation: 67-52=15, Resulting Numbers: [69, 15]
Generated Node #0,4,4: 61:[69, 15] Operation: 67-52=15
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 61:[67, 17], Operations: ['66+3=69', '69-52=17']
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,61 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 61:[69, 15], Operations: ['66+3=69', '67-52=15']
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 69*15=1035, Resulting Numbers: [1035]
1035,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 61:[69, 119], Operations: ['66+3=69', '67+52=119']
Exploring Operation: 119-69=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 69+119=188, Resulting Numbers: [188]
188,61 unequal: No Solution
Exploring Operation: 69*119=8211, Resulting Numbers: [8211]
8211,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 61:[67, 121], Operations: ['66+3=69', '52+69=121']
Exploring Operation: 67*121=8107, Resulting Numbers: [8107]
8107,61 unequal: No Solution
Exploring Operation: 67+121=188, Resulting Numbers: [188]
188,61 unequal: No Solution
Exploring Operation: 121-67=54, Resulting Numbers: [54]
54,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 61:[52, 2], Operations: ['66+3=69', '69-67=2']
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
96,
49,
90,
86
] | 51 | [
"96-49=47",
"90-86=4",
"47+4=51"
] | Current State: 51:[96, 49, 90, 86], Operations: []
Exploring Operation: 96-49=47, Resulting Numbers: [90, 86, 47]
Generated Node #2: [90, 86, 47] from Operation: 96-49=47
Current State: 51:[90, 86, 47], Operations: ['96-49=47']
Exploring Operation: 90-86=4, Resulting Numbers: [47, 4]
Generated Node #3: [47, 4] from Operation: 90-86=4
Current State: 51:[47, 4], Operations: ['96-49=47', '90-86=4']
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[96, 49, 90, 86], Operations: []
Exploring Operation: 96-86=10, Resulting Numbers: [49, 90, 10]
Generated Node #0,0: 51:[49, 90, 10] Operation: 96-86=10
Exploring Operation: 96-90=6, Resulting Numbers: [49, 86, 6]
Generated Node #0,1: 51:[49, 86, 6] Operation: 96-90=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[49, 86, 6], Operations: ['96-90=6']
Exploring Operation: 86-6=80, Resulting Numbers: [49, 80]
Generated Node #0,1,0: 51:[49, 80] Operation: 86-6=80
Exploring Operation: 86-49=37, Resulting Numbers: [6, 37]
Generated Node #0,1,1: 51:[6, 37] Operation: 86-49=37
Moving to Node #0,1,1
Current State: 51:[6, 37], Operations: ['96-90=6', '86-49=37']
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[49, 80], Operations: ['96-90=6', '86-6=80']
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Exploring Operation: 49+80=129, Resulting Numbers: [129]
129,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[49, 90, 10], Operations: ['96-86=10']
Exploring Operation: 90/10=9, Resulting Numbers: [49, 9]
Generated Node #0,0,0: 51:[49, 9] Operation: 90/10=9
Exploring Operation: 90-49=41, Resulting Numbers: [10, 41]
Generated Node #0,0,1: 51:[10, 41] Operation: 90-49=41
Moving to Node #0,0,0
Current State: 51:[49, 9], Operations: ['96-86=10', '90/10=9']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[10, 41], Operations: ['96-86=10', '90-49=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[96, 49, 90, 86], Operations: []
Exploring Operation: 96-86=10, Resulting Numbers: [49, 90, 10]
Generated Node #0,0: 51:[49, 90, 10] Operation: 96-86=10
Moving to Node #0,0
Current State: 51:[49, 90, 10], Operations: ['96-86=10']
Exploring Operation: 90-49=41, Resulting Numbers: [10, 41]
Generated Node #0,0,1: 51:[10, 41] Operation: 90-49=41
Moving to Node #0,0,1
Current State: 51:[10, 41], Operations: ['96-86=10', '90-49=41']
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
77,
8,
6,
18
] | 47 | [
"77+18=95",
"8*6=48",
"95-48=47"
] | Current State: 47:[77, 8, 6, 18], Operations: []
Exploring Operation: 77+18=95, Resulting Numbers: [8, 6, 95]
Generated Node #2: [8, 6, 95] from Operation: 77+18=95
Current State: 47:[8, 6, 95], Operations: ['77+18=95']
Exploring Operation: 8*6=48, Resulting Numbers: [95, 48]
Generated Node #3: [95, 48] from Operation: 8*6=48
Current State: 47:[95, 48], Operations: ['77+18=95', '8*6=48']
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[77, 8, 6, 18], Operations: []
Exploring Operation: 77-18=59, Resulting Numbers: [8, 6, 59]
Generated Node #0,0: 47:[8, 6, 59] Operation: 77-18=59
Exploring Operation: 8*6=48, Resulting Numbers: [77, 18, 48]
Generated Node #0,1: 47:[77, 18, 48] Operation: 8*6=48
Exploring Operation: 77-8=69, Resulting Numbers: [6, 18, 69]
Generated Node #0,2: 47:[6, 18, 69] Operation: 77-8=69
Exploring Operation: 8+6=14, Resulting Numbers: [77, 18, 14]
Generated Node #0,3: 47:[77, 18, 14] Operation: 8+6=14
Exploring Operation: 77-6=71, Resulting Numbers: [8, 18, 71]
Generated Node #0,4: 47:[8, 18, 71] Operation: 77-6=71
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[77, 18, 48], Operations: ['8*6=48']
Exploring Operation: 18+48=66, Resulting Numbers: [77, 66]
Generated Node #0,1,0: 47:[77, 66] Operation: 18+48=66
Exploring Operation: 77-48=29, Resulting Numbers: [18, 29]
Generated Node #0,1,1: 47:[18, 29] Operation: 77-48=29
Exploring Operation: 48-18=30, Resulting Numbers: [77, 30]
Generated Node #0,1,2: 47:[77, 30] Operation: 48-18=30
Exploring Operation: 77-18=59, Resulting Numbers: [48, 59]
Generated Node #0,1,3: 47:[48, 59] Operation: 77-18=59
Exploring Operation: 77+18=95, Resulting Numbers: [48, 95]
Generated Node #0,1,4: 47:[48, 95] Operation: 77+18=95
Moving to Node #0,1,3
Current State: 47:[48, 59], Operations: ['8*6=48', '77-18=59']
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 48*59=2832, Resulting Numbers: [2832]
2832,47 unequal: No Solution
Exploring Operation: 48+59=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[77, 30], Operations: ['8*6=48', '48-18=30']
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Exploring Operation: 77*30=2310, Resulting Numbers: [2310]
2310,47 unequal: No Solution
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[77, 8, 6, 18], Operations: []
Exploring Operation: 8*6=48, Resulting Numbers: [77, 18, 48]
Generated Node #0,1: 47:[77, 18, 48] Operation: 8*6=48
Moving to Node #0,1
Current State: 47:[77, 18, 48], Operations: ['8*6=48']
Exploring Operation: 48-18=30, Resulting Numbers: [77, 30]
Generated Node #0,1,2: 47:[77, 30] Operation: 48-18=30
Moving to Node #0,1,2
Current State: 47:[77, 30], Operations: ['8*6=48', '48-18=30']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
55,
20,
10,
50
] | 14 | [
"55-50=5",
"20/5=4",
"10+4=14"
] | Current State: 14:[55, 20, 10, 50], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [20, 10, 5]
Generated Node #2: [20, 10, 5] from Operation: 55-50=5
Current State: 14:[20, 10, 5], Operations: ['55-50=5']
Exploring Operation: 20/5=4, Resulting Numbers: [10, 4]
Generated Node #3: [10, 4] from Operation: 20/5=4
Current State: 14:[10, 4], Operations: ['55-50=5', '20/5=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[55, 20, 10, 50], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [20, 10, 5]
Generated Node #0,0: 14:[20, 10, 5] Operation: 55-50=5
Exploring Operation: 50/10=5, Resulting Numbers: [55, 20, 5]
Generated Node #0,1: 14:[55, 20, 5] Operation: 50/10=5
Moving to Node #0,0
Current State: 14:[20, 10, 5], Operations: ['55-50=5']
Exploring Operation: 20-5=15, Resulting Numbers: [10, 15]
Generated Node #0,0,0: 14:[10, 15] Operation: 20-5=15
Exploring Operation: 20/10=2, Resulting Numbers: [5, 2]
Generated Node #0,0,1: 14:[5, 2] Operation: 20/10=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[5, 2], Operations: ['55-50=5', '20/10=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[10, 15], Operations: ['55-50=5', '20-5=15']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,14 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: 14:[55, 20, 5], Operations: ['50/10=5']
Exploring Operation: 55-20=35, Resulting Numbers: [5, 35]
Generated Node #0,1,0: 14:[5, 35] Operation: 55-20=35
Exploring Operation: 55/5=11, Resulting Numbers: [20, 11]
Generated Node #0,1,1: 14:[20, 11] Operation: 55/5=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[20, 11], Operations: ['50/10=5', '55/5=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[5, 35], Operations: ['50/10=5', '55-20=35']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
43,
47,
80,
72
] | 82 | [
"43+47=90",
"80-72=8",
"90-8=82"
] | Current State: 82:[43, 47, 80, 72], Operations: []
Exploring Operation: 43+47=90, Resulting Numbers: [80, 72, 90]
Generated Node #2: [80, 72, 90] from Operation: 43+47=90
Current State: 82:[80, 72, 90], Operations: ['43+47=90']
Exploring Operation: 80-72=8, Resulting Numbers: [90, 8]
Generated Node #3: [90, 8] from Operation: 80-72=8
Current State: 82:[90, 8], Operations: ['43+47=90', '80-72=8']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[43, 47, 80, 72], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [43, 47, 8]
Generated Node #0,0: 82:[43, 47, 8] Operation: 80-72=8
Exploring Operation: 47-43=4, Resulting Numbers: [80, 72, 4]
Generated Node #0,1: 82:[80, 72, 4] Operation: 47-43=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[43, 47, 8], Operations: ['80-72=8']
Exploring Operation: 47-8=39, Resulting Numbers: [43, 39]
Generated Node #0,0,0: 82:[43, 39] Operation: 47-8=39
Exploring Operation: 47-43=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 82:[8, 4] Operation: 47-43=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[43, 39], Operations: ['80-72=8', '47-8=39']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[43, 47, 80, 72], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [43, 47, 8]
Generated Node #0,0: 82:[43, 47, 8] Operation: 80-72=8
Moving to Node #0,0
Current State: 82:[43, 47, 8], Operations: ['80-72=8']
Exploring Operation: 47-8=39, Resulting Numbers: [43, 39]
Generated Node #0,0,0: 82:[43, 39] Operation: 47-8=39
Moving to Node #0,0,0
Current State: 82:[43, 39], Operations: ['80-72=8', '47-8=39']
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
75,
21,
62,
99
] | 65 | [
"75+21=96",
"62+99=161",
"161-96=65"
] | Current State: 65:[75, 21, 62, 99], Operations: []
Exploring Operation: 75+21=96, Resulting Numbers: [62, 99, 96]
Generated Node #2: [62, 99, 96] from Operation: 75+21=96
Current State: 65:[62, 99, 96], Operations: ['75+21=96']
Exploring Operation: 62+99=161, Resulting Numbers: [96, 161]
Generated Node #3: [96, 161] from Operation: 62+99=161
Current State: 65:[96, 161], Operations: ['75+21=96', '62+99=161']
Exploring Operation: 161-96=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[75, 21, 62, 99], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [21, 62, 24]
Generated Node #0,0: 65:[21, 62, 24] Operation: 99-75=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[21, 62, 24], Operations: ['99-75=24']
Exploring Operation: 24-21=3, Resulting Numbers: [62, 3]
Generated Node #0,0,0: 65:[62, 3] Operation: 24-21=3
Moving to Node #0,0,0
Current State: 65:[62, 3], Operations: ['99-75=24', '24-21=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[75, 21, 62, 99], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [21, 62, 24]
Generated Node #0,0: 65:[21, 62, 24] Operation: 99-75=24
Moving to Node #0,0
Current State: 65:[21, 62, 24], Operations: ['99-75=24']
Exploring Operation: 24-21=3, Resulting Numbers: [62, 3]
Generated Node #0,0,0: 65:[62, 3] Operation: 24-21=3
Moving to Node #0,0,0
Current State: 65:[62, 3], Operations: ['99-75=24', '24-21=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
20,
27,
27,
81
] | 29 | [
"27*27=729",
"729/81=9",
"20+9=29"
] | Current State: 29:[20, 27, 27, 81], Operations: []
Exploring Operation: 27*27=729, Resulting Numbers: [20, 81, 729]
Generated Node #2: [20, 81, 729] from Operation: 27*27=729
Current State: 29:[20, 81, 729], Operations: ['27*27=729']
Exploring Operation: 729/81=9, Resulting Numbers: [20, 9]
Generated Node #3: [20, 9] from Operation: 729/81=9
Current State: 29:[20, 9], Operations: ['27*27=729', '729/81=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[20, 27, 27, 81], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [20, 27, 3]
Generated Node #0,0: 29:[20, 27, 3] Operation: 81/27=3
Exploring Operation: 81/27=3, Resulting Numbers: [20, 27, 3]
Generated Node #0,1: 29:[20, 27, 3] Operation: 81/27=3
Exploring Operation: 81-27=54, Resulting Numbers: [20, 27, 54]
Generated Node #0,2: 29:[20, 27, 54] Operation: 81-27=54
Exploring Operation: 81-27=54, Resulting Numbers: [20, 27, 54]
Generated Node #0,3: 29:[20, 27, 54] Operation: 81-27=54
Exploring Operation: 81-20=61, Resulting Numbers: [27, 27, 61]
Generated Node #0,4: 29:[27, 27, 61] Operation: 81-20=61
Moving to Node #0,2
Current State: 29:[20, 27, 54], Operations: ['81-27=54']
Exploring Operation: 54-27=27, Resulting Numbers: [20, 27]
Generated Node #0,2,0: 29:[20, 27] Operation: 54-27=27
Exploring Operation: 27-20=7, Resulting Numbers: [54, 7]
Generated Node #0,2,1: 29:[54, 7] Operation: 27-20=7
Exploring Operation: 20+27=47, Resulting Numbers: [54, 47]
Generated Node #0,2,2: 29:[54, 47] Operation: 20+27=47
Exploring Operation: 54-20=34, Resulting Numbers: [27, 34]
Generated Node #0,2,3: 29:[27, 34] Operation: 54-20=34
Exploring Operation: 54/27=2, Resulting Numbers: [20, 2]
Generated Node #0,2,4: 29:[20, 2] Operation: 54/27=2
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 29:[27, 34], Operations: ['81-27=54', '54-20=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,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,2,0
Current State: 29:[20, 27], Operations: ['81-27=54', '54-27=27']
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,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,2,4
Current State: 29:[20, 2], Operations: ['81-27=54', '54/27=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,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,2,2
Current State: 29:[54, 47], Operations: ['81-27=54', '20+27=47']
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,29 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,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,2,1
Current State: 29:[54, 7], Operations: ['81-27=54', '27-20=7']
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,29 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,29 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: 29:[27, 27, 61], Operations: ['81-20=61']
Exploring Operation: 61-27=34, Resulting Numbers: [27, 34]
Generated Node #0,4,0: 29:[27, 34] Operation: 61-27=34
Exploring Operation: 61-27=34, Resulting Numbers: [27, 34]
Generated Node #0,4,1: 29:[27, 34] Operation: 61-27=34
Exploring Operation: 27+27=54, Resulting Numbers: [61, 54]
Generated Node #0,4,2: 29:[61, 54] Operation: 27+27=54
Exploring Operation: 27-27=0, Resulting Numbers: [61, 0]
Generated Node #0,4,3: 29:[61, 0] Operation: 27-27=0
Exploring Operation: 27/27=1, Resulting Numbers: [61, 1]
Generated Node #0,4,4: 29:[61, 1] Operation: 27/27=1
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 29:[27, 34], Operations: ['81-20=61', '61-27=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,29 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,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,4,1
Current State: 29:[27, 34], Operations: ['81-20=61', '61-27=34']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,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,4,2
Current State: 29:[61, 54], Operations: ['81-20=61', '27+27=54']
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,29 unequal: No Solution
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,29 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,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,4,4
Current State: 29:[61, 1], Operations: ['81-20=61', '27/27=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,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,4,3
Current State: 29:[61, 0], Operations: ['81-20=61', '27-27=0']
Exploring Operation: 61+0=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 61*0=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 61-0=61, Resulting Numbers: [61]
61,29 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: 29:[20, 27, 54], Operations: ['81-27=54']
Exploring Operation: 54-20=34, Resulting Numbers: [27, 34]
Generated Node #0,3,0: 29:[27, 34] Operation: 54-20=34
Exploring Operation: 20+27=47, Resulting Numbers: [54, 47]
Generated Node #0,3,1: 29:[54, 47] Operation: 20+27=47
Exploring Operation: 54/27=2, Resulting Numbers: [20, 2]
Generated Node #0,3,2: 29:[20, 2] Operation: 54/27=2
Exploring Operation: 27-20=7, Resulting Numbers: [54, 7]
Generated Node #0,3,3: 29:[54, 7] Operation: 27-20=7
Exploring Operation: 54-27=27, Resulting Numbers: [20, 27]
Generated Node #0,3,4: 29:[20, 27] Operation: 54-27=27
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[27, 34], Operations: ['81-27=54', '54-20=34']
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,29 unequal: No Solution
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 29:[20, 27], Operations: ['81-27=54', '54-27=27']
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,29 unequal: No Solution
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 29:[20, 2], Operations: ['81-27=54', '54/27=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[54, 47], Operations: ['81-27=54', '20+27=47']
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,29 unequal: No Solution
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,29 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 29:[54, 7], Operations: ['81-27=54', '27-20=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,29 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: 29:[20, 27, 3], Operations: ['81/27=3']
Exploring Operation: 27-3=24, Resulting Numbers: [20, 24]
Generated Node #0,0,0: 29:[20, 24] Operation: 27-3=24
Exploring Operation: 27/3=9, Resulting Numbers: [20, 9]
Generated Node #0,0,1: 29:[20, 9] Operation: 27/3=9
Exploring Operation: 27+3=30, Resulting Numbers: [20, 30]
Generated Node #0,0,2: 29:[20, 30] Operation: 27+3=30
Exploring Operation: 20-3=17, Resulting Numbers: [27, 17]
Generated Node #0,0,3: 29:[27, 17] Operation: 20-3=17
Exploring Operation: 20+3=23, Resulting Numbers: [27, 23]
Generated Node #0,0,4: 29:[27, 23] Operation: 20+3=23
Moving to Node #0,1
Current State: 29:[20, 27, 3], Operations: ['81/27=3']
Exploring Operation: 27/3=9, Resulting Numbers: [20, 9]
Generated Node #0,1,0: 29:[20, 9] Operation: 27/3=9
Exploring Operation: 27-3=24, Resulting Numbers: [20, 24]
Generated Node #0,1,1: 29:[20, 24] Operation: 27-3=24
Exploring Operation: 27+3=30, Resulting Numbers: [20, 30]
Generated Node #0,1,2: 29:[20, 30] Operation: 27+3=30
Exploring Operation: 20+3=23, Resulting Numbers: [27, 23]
Generated Node #0,1,3: 29:[27, 23] Operation: 20+3=23
Exploring Operation: 20-3=17, Resulting Numbers: [27, 17]
Generated Node #0,1,4: 29:[27, 17] Operation: 20-3=17
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 29:[27, 23], Operations: ['81/27=3', '20+3=23']
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,29 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[20, 30], Operations: ['81/27=3', '27+3=30']
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,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:[20, 24], Operations: ['81/27=3', '27-3=24']
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,29 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,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,4
Current State: 29:[27, 17], Operations: ['81/27=3', '20-3=17']
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,29 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[20, 9], Operations: ['81/27=3', '27/3=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[20, 27, 27, 81], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [20, 27, 3]
Generated Node #0,1: 29:[20, 27, 3] Operation: 81/27=3
Moving to Node #0,1
Current State: 29:[20, 27, 3], Operations: ['81/27=3']
Exploring Operation: 27/3=9, Resulting Numbers: [20, 9]
Generated Node #0,1,0: 29:[20, 9] Operation: 27/3=9
Moving to Node #0,1,0
Current State: 29:[20, 9], Operations: ['81/27=3', '27/3=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.916667 | hs_5 | mult_heuristic |
[
7,
61,
62,
25
] | 31 | [
"7+61=68",
"62-25=37",
"68-37=31"
] | Current State: 31:[7, 61, 62, 25], Operations: []
Exploring Operation: 7+61=68, Resulting Numbers: [62, 25, 68]
Generated Node #2: [62, 25, 68] from Operation: 7+61=68
Current State: 31:[62, 25, 68], Operations: ['7+61=68']
Exploring Operation: 62-25=37, Resulting Numbers: [68, 37]
Generated Node #3: [68, 37] from Operation: 62-25=37
Current State: 31:[68, 37], Operations: ['7+61=68', '62-25=37']
Exploring Operation: 68-37=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[7, 61, 62, 25], Operations: []
Exploring Operation: 62-25=37, Resulting Numbers: [7, 61, 37]
Generated Node #0,0: 31:[7, 61, 37] Operation: 62-25=37
Exploring Operation: 62-61=1, Resulting Numbers: [7, 25, 1]
Generated Node #0,1: 31:[7, 25, 1] Operation: 62-61=1
Exploring Operation: 61-25=36, Resulting Numbers: [7, 62, 36]
Generated Node #0,2: 31:[7, 62, 36] Operation: 61-25=36
Exploring Operation: 61-7=54, Resulting Numbers: [62, 25, 54]
Generated Node #0,3: 31:[62, 25, 54] Operation: 61-7=54
Exploring Operation: 62-7=55, Resulting Numbers: [61, 25, 55]
Generated Node #0,4: 31:[61, 25, 55] Operation: 62-7=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[7, 61, 37], Operations: ['62-25=37']
Exploring Operation: 7+61=68, Resulting Numbers: [37, 68]
Generated Node #0,0,0: 31:[37, 68] Operation: 7+61=68
Exploring Operation: 61-37=24, Resulting Numbers: [7, 24]
Generated Node #0,0,1: 31:[7, 24] Operation: 61-37=24
Exploring Operation: 7+37=44, Resulting Numbers: [61, 44]
Generated Node #0,0,2: 31:[61, 44] Operation: 7+37=44
Exploring Operation: 61-7=54, Resulting Numbers: [37, 54]
Generated Node #0,0,3: 31:[37, 54] Operation: 61-7=54
Exploring Operation: 37-7=30, Resulting Numbers: [61, 30]
Generated Node #0,0,4: 31:[61, 30] Operation: 37-7=30
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 31:[37, 54], Operations: ['62-25=37', '61-7=54']
Exploring Operation: 37*54=1998, Resulting Numbers: [1998]
1998,31 unequal: No Solution
Exploring Operation: 37+54=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,31 unequal: No Solution
No 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: 31:[7, 24], Operations: ['62-25=37', '61-37=24']
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,31 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[7, 61, 62, 25], Operations: []
Exploring Operation: 62-25=37, Resulting Numbers: [7, 61, 37]
Generated Node #0,0: 31:[7, 61, 37] Operation: 62-25=37
Moving to Node #0,0
Current State: 31:[7, 61, 37], Operations: ['62-25=37']
Exploring Operation: 61-37=24, Resulting Numbers: [7, 24]
Generated Node #0,0,1: 31:[7, 24] Operation: 61-37=24
Moving to Node #0,0,1
Current State: 31:[7, 24], Operations: ['62-25=37', '61-37=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
24,
90,
86,
2
] | 98 | [
"90-86=4",
"24*4=96",
"2+96=98"
] | Current State: 98:[24, 90, 86, 2], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [24, 2, 4]
Generated Node #2: [24, 2, 4] from Operation: 90-86=4
Current State: 98:[24, 2, 4], Operations: ['90-86=4']
Exploring Operation: 24*4=96, Resulting Numbers: [2, 96]
Generated Node #3: [2, 96] from Operation: 24*4=96
Current State: 98:[2, 96], Operations: ['90-86=4', '24*4=96']
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[24, 90, 86, 2], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [90, 2, 62]
Generated Node #0,0: 98:[90, 2, 62] Operation: 86-24=62
Exploring Operation: 90-86=4, Resulting Numbers: [24, 2, 4]
Generated Node #0,1: 98:[24, 2, 4] Operation: 90-86=4
Exploring Operation: 24+86=110, Resulting Numbers: [90, 2, 110]
Generated Node #0,2: 98:[90, 2, 110] Operation: 24+86=110
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[24, 2, 4], Operations: ['90-86=4']
Exploring Operation: 24/4=6, Resulting Numbers: [2, 6]
Generated Node #0,1,0: 98:[2, 6] Operation: 24/4=6
Exploring Operation: 24*2=48, Resulting Numbers: [4, 48]
Generated Node #0,1,1: 98:[4, 48] Operation: 24*2=48
Exploring Operation: 24*4=96, Resulting Numbers: [2, 96]
Generated Node #0,1,2: 98:[2, 96] Operation: 24*4=96
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[2, 6], Operations: ['90-86=4', '24/4=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,98 unequal: No Solution
No 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: 98:[2, 96], Operations: ['90-86=4', '24*4=96']
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[24, 90, 86, 2], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [24, 2, 4]
Generated Node #0,1: 98:[24, 2, 4] Operation: 90-86=4
Moving to Node #0,1
Current State: 98:[24, 2, 4], Operations: ['90-86=4']
Exploring Operation: 24*4=96, Resulting Numbers: [2, 96]
Generated Node #0,1,2: 98:[2, 96] Operation: 24*4=96
Moving to Node #0,1,2
Current State: 98:[2, 96], Operations: ['90-86=4', '24*4=96']
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
45,
19,
90,
6
] | 22 | [
"90/45=2",
"6/2=3",
"19+3=22"
] | Current State: 22:[45, 19, 90, 6], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [19, 6, 2]
Generated Node #2: [19, 6, 2] from Operation: 90/45=2
Current State: 22:[19, 6, 2], Operations: ['90/45=2']
Exploring Operation: 6/2=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 6/2=3
Current State: 22:[19, 3], Operations: ['90/45=2', '6/2=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[45, 19, 90, 6], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [19, 6, 2]
Generated Node #0,0: 22:[19, 6, 2] Operation: 90/45=2
Exploring Operation: 90-45=45, Resulting Numbers: [19, 6, 45]
Generated Node #0,1: 22:[19, 6, 45] Operation: 90-45=45
Exploring Operation: 90/6=15, Resulting Numbers: [45, 19, 15]
Generated Node #0,2: 22:[45, 19, 15] Operation: 90/6=15
Exploring Operation: 45-19=26, Resulting Numbers: [90, 6, 26]
Generated Node #0,3: 22:[90, 6, 26] Operation: 45-19=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[19, 6, 2], Operations: ['90/45=2']
Exploring Operation: 6*2=12, Resulting Numbers: [19, 12]
Generated Node #0,0,0: 22:[19, 12] Operation: 6*2=12
Exploring Operation: 19+6=25, Resulting Numbers: [2, 25]
Generated Node #0,0,1: 22:[2, 25] Operation: 19+6=25
Exploring Operation: 19-6=13, Resulting Numbers: [2, 13]
Generated Node #0,0,2: 22:[2, 13] Operation: 19-6=13
Exploring Operation: 6/2=3, Resulting Numbers: [19, 3]
Generated Node #0,0,3: 22:[19, 3] Operation: 6/2=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 22:[2, 13], Operations: ['90/45=2', '19-6=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[2, 25], Operations: ['90/45=2', '19+6=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[19, 12], Operations: ['90/45=2', '6*2=12']
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,22 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 22:[19, 3], Operations: ['90/45=2', '6/2=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[45, 19, 90, 6], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [19, 6, 2]
Generated Node #0,0: 22:[19, 6, 2] Operation: 90/45=2
Moving to Node #0,0
Current State: 22:[19, 6, 2], Operations: ['90/45=2']
Exploring Operation: 6/2=3, Resulting Numbers: [19, 3]
Generated Node #0,0,3: 22:[19, 3] Operation: 6/2=3
Moving to Node #0,0,3
Current State: 22:[19, 3], Operations: ['90/45=2', '6/2=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
94,
2,
63,
65
] | 81 | [
"94/2=47",
"63+65=128",
"128-47=81"
] | Current State: 81:[94, 2, 63, 65], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [63, 65, 47]
Generated Node #2: [63, 65, 47] from Operation: 94/2=47
Current State: 81:[63, 65, 47], Operations: ['94/2=47']
Exploring Operation: 63+65=128, Resulting Numbers: [47, 128]
Generated Node #3: [47, 128] from Operation: 63+65=128
Current State: 81:[47, 128], Operations: ['94/2=47', '63+65=128']
Exploring Operation: 128-47=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[94, 2, 63, 65], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [94, 2, 2]
Generated Node #0,0: 81:[94, 2, 2] Operation: 65-63=2
Exploring Operation: 94-63=31, Resulting Numbers: [2, 65, 31]
Generated Node #0,1: 81:[2, 65, 31] Operation: 94-63=31
Moving to Node #0,0
Current State: 81:[94, 2, 2], Operations: ['65-63=2']
Exploring Operation: 94-2=92, Resulting Numbers: [2, 92]
Generated Node #0,0,0: 81:[2, 92] Operation: 94-2=92
Exploring Operation: 94-2=92, Resulting Numbers: [2, 92]
Generated Node #0,0,1: 81:[2, 92] Operation: 94-2=92
Moving to Node #0,1
Current State: 81:[2, 65, 31], Operations: ['94-63=31']
Exploring Operation: 65-31=34, Resulting Numbers: [2, 34]
Generated Node #0,1,0: 81:[2, 34] Operation: 65-31=34
Exploring Operation: 65+31=96, Resulting Numbers: [2, 96]
Generated Node #0,1,1: 81:[2, 96] Operation: 65+31=96
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[2, 34], Operations: ['94-63=31', '65-31=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[2, 96], Operations: ['94-63=31', '65+31=96']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,81 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: 81:[2, 92], Operations: ['65-63=2', '94-2=92']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[2, 92], Operations: ['65-63=2', '94-2=92']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,81 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
10,
2,
41,
70
] | 27 | [
"10/2=5",
"70/5=14",
"41-14=27"
] | Current State: 27:[10, 2, 41, 70], Operations: []
Exploring Operation: 10/2=5, Resulting Numbers: [41, 70, 5]
Generated Node #2: [41, 70, 5] from Operation: 10/2=5
Current State: 27:[41, 70, 5], Operations: ['10/2=5']
Exploring Operation: 70/5=14, Resulting Numbers: [41, 14]
Generated Node #3: [41, 14] from Operation: 70/5=14
Current State: 27:[41, 14], Operations: ['10/2=5', '70/5=14']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[10, 2, 41, 70], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [10, 41, 35]
Generated Node #0,0: 27:[10, 41, 35] Operation: 70/2=35
Exploring Operation: 70/10=7, Resulting Numbers: [2, 41, 7]
Generated Node #0,1: 27:[2, 41, 7] Operation: 70/10=7
Exploring Operation: 70-41=29, Resulting Numbers: [10, 2, 29]
Generated Node #0,2: 27:[10, 2, 29] Operation: 70-41=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[10, 2, 29], Operations: ['70-41=29']
Exploring Operation: 10-2=8, Resulting Numbers: [29, 8]
Generated Node #0,2,0: 27:[29, 8] Operation: 10-2=8
Exploring Operation: 10/2=5, Resulting Numbers: [29, 5]
Generated Node #0,2,1: 27:[29, 5] Operation: 10/2=5
Exploring Operation: 29-2=27, Resulting Numbers: [10, 27]
Generated Node #0,2,2: 27:[10, 27] Operation: 29-2=27
Moving to Node #0,2,2
Current State: 27:[10, 27], Operations: ['70-41=29', '29-2=27']
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,27 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[29, 8], Operations: ['70-41=29', '10-2=8']
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,27 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[29, 5], Operations: ['70-41=29', '10/2=5']
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,27 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[2, 41, 7], Operations: ['70/10=7']
Exploring Operation: 2+7=9, Resulting Numbers: [41, 9]
Generated Node #0,1,0: 27:[41, 9] Operation: 2+7=9
Exploring Operation: 41-2=39, Resulting Numbers: [7, 39]
Generated Node #0,1,1: 27:[7, 39] Operation: 41-2=39
Exploring Operation: 41-7=34, Resulting Numbers: [2, 34]
Generated Node #0,1,2: 27:[2, 34] Operation: 41-7=34
Moving to Node #0,1,2
Current State: 27:[2, 34], Operations: ['70/10=7', '41-7=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[41, 9], Operations: ['70/10=7', '2+7=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[7, 39], Operations: ['70/10=7', '41-2=39']
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[10, 41, 35], Operations: ['70/2=35']
Exploring Operation: 35-10=25, Resulting Numbers: [41, 25]
Generated Node #0,0,0: 27:[41, 25] Operation: 35-10=25
Exploring Operation: 41-10=31, Resulting Numbers: [35, 31]
Generated Node #0,0,1: 27:[35, 31] Operation: 41-10=31
Exploring Operation: 41-35=6, Resulting Numbers: [10, 6]
Generated Node #0,0,2: 27:[10, 6] Operation: 41-35=6
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[10, 6], Operations: ['70/2=35', '41-35=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,27 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,27 unequal: No Solution
No 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: 27:[35, 31], Operations: ['70/2=35', '41-10=31']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,27 unequal: No Solution
No 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: 27:[41, 25], Operations: ['70/2=35', '35-10=25']
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,27 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,27 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
55,
11,
32,
29
] | 63 | [
"55+11=66",
"32-29=3",
"66-3=63"
] | Current State: 63:[55, 11, 32, 29], Operations: []
Exploring Operation: 55+11=66, Resulting Numbers: [32, 29, 66]
Generated Node #2: [32, 29, 66] from Operation: 55+11=66
Current State: 63:[32, 29, 66], Operations: ['55+11=66']
Exploring Operation: 32-29=3, Resulting Numbers: [66, 3]
Generated Node #3: [66, 3] from Operation: 32-29=3
Current State: 63:[66, 3], Operations: ['55+11=66', '32-29=3']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[55, 11, 32, 29], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [55, 11, 3]
Generated Node #0,0: 63:[55, 11, 3] Operation: 32-29=3
Exploring Operation: 55-32=23, Resulting Numbers: [11, 29, 23]
Generated Node #0,1: 63:[11, 29, 23] Operation: 55-32=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[55, 11, 3], Operations: ['32-29=3']
Exploring Operation: 55+11=66, Resulting Numbers: [3, 66]
Generated Node #0,0,0: 63:[3, 66] Operation: 55+11=66
Exploring Operation: 55/11=5, Resulting Numbers: [3, 5]
Generated Node #0,0,1: 63:[3, 5] Operation: 55/11=5
Moving to Node #0,0,1
Current State: 63:[3, 5], Operations: ['32-29=3', '55/11=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[3, 66], Operations: ['32-29=3', '55+11=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[55, 11, 32, 29], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [55, 11, 3]
Generated Node #0,0: 63:[55, 11, 3] Operation: 32-29=3
Moving to Node #0,0
Current State: 63:[55, 11, 3], Operations: ['32-29=3']
Exploring Operation: 55+11=66, Resulting Numbers: [3, 66]
Generated Node #0,0,0: 63:[3, 66] Operation: 55+11=66
Moving to Node #0,0,0
Current State: 63:[3, 66], Operations: ['32-29=3', '55+11=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
38,
80,
34,
66
] | 69 | [
"80+34=114",
"114/38=3",
"66+3=69"
] | Current State: 69:[38, 80, 34, 66], Operations: []
Exploring Operation: 80+34=114, Resulting Numbers: [38, 66, 114]
Generated Node #2: [38, 66, 114] from Operation: 80+34=114
Current State: 69:[38, 66, 114], Operations: ['80+34=114']
Exploring Operation: 114/38=3, Resulting Numbers: [66, 3]
Generated Node #3: [66, 3] from Operation: 114/38=3
Current State: 69:[66, 3], Operations: ['80+34=114', '114/38=3']
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[38, 80, 34, 66], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [80, 66, 4]
Generated Node #0,0: 69:[80, 66, 4] Operation: 38-34=4
Moving to Node #0,0
Current State: 69:[80, 66, 4], Operations: ['38-34=4']
Exploring Operation: 80/4=20, Resulting Numbers: [66, 20]
Generated Node #0,0,0: 69:[66, 20] Operation: 80/4=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[66, 20], Operations: ['38-34=4', '80/4=20']
Exploring Operation: 66+20=86, Resulting Numbers: [86]
86,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
96,
56,
5,
19
] | 52 | [
"5+19=24",
"96/24=4",
"56-4=52"
] | Current State: 52:[96, 56, 5, 19], Operations: []
Exploring Operation: 5+19=24, Resulting Numbers: [96, 56, 24]
Generated Node #2: [96, 56, 24] from Operation: 5+19=24
Current State: 52:[96, 56, 24], Operations: ['5+19=24']
Exploring Operation: 96/24=4, Resulting Numbers: [56, 4]
Generated Node #3: [56, 4] from Operation: 96/24=4
Current State: 52:[56, 4], Operations: ['5+19=24', '96/24=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[96, 56, 5, 19], Operations: []
Exploring Operation: 96-56=40, Resulting Numbers: [5, 19, 40]
Generated Node #0,0: 52:[5, 19, 40] Operation: 96-56=40
Exploring Operation: 96-5=91, Resulting Numbers: [56, 19, 91]
Generated Node #0,1: 52:[56, 19, 91] Operation: 96-5=91
Exploring Operation: 5+19=24, Resulting Numbers: [96, 56, 24]
Generated Node #0,2: 52:[96, 56, 24] Operation: 5+19=24
Exploring Operation: 96-19=77, Resulting Numbers: [56, 5, 77]
Generated Node #0,3: 52:[56, 5, 77] Operation: 96-19=77
Exploring Operation: 19-5=14, Resulting Numbers: [96, 56, 14]
Generated Node #0,4: 52:[96, 56, 14] Operation: 19-5=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[5, 19, 40], Operations: ['96-56=40']
Exploring Operation: 5+40=45, Resulting Numbers: [19, 45]
Generated Node #0,0,0: 52:[19, 45] Operation: 5+40=45
Exploring Operation: 19-5=14, Resulting Numbers: [40, 14]
Generated Node #0,0,1: 52:[40, 14] Operation: 19-5=14
Exploring Operation: 40/5=8, Resulting Numbers: [19, 8]
Generated Node #0,0,2: 52:[19, 8] Operation: 40/5=8
Exploring Operation: 19+40=59, Resulting Numbers: [5, 59]
Generated Node #0,0,3: 52:[5, 59] Operation: 19+40=59
Exploring Operation: 40-19=21, Resulting Numbers: [5, 21]
Generated Node #0,0,4: 52:[5, 21] Operation: 40-19=21
Moving to Node #0,0,4
Current State: 52:[5, 21], Operations: ['96-56=40', '40-19=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,52 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[5, 59], Operations: ['96-56=40', '19+40=59']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,52 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[19, 8], Operations: ['96-56=40', '40/5=8']
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,52 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[19, 45], Operations: ['96-56=40', '5+40=45']
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,52 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[40, 14], Operations: ['96-56=40', '19-5=14']
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,52 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[56, 5, 77], Operations: ['96-19=77']
Exploring Operation: 5+77=82, Resulting Numbers: [56, 82]
Generated Node #0,3,0: 52:[56, 82] Operation: 5+77=82
Exploring Operation: 77-56=21, Resulting Numbers: [5, 21]
Generated Node #0,3,1: 52:[5, 21] Operation: 77-56=21
Exploring Operation: 77-5=72, Resulting Numbers: [56, 72]
Generated Node #0,3,2: 52:[56, 72] Operation: 77-5=72
Exploring Operation: 56-5=51, Resulting Numbers: [77, 51]
Generated Node #0,3,3: 52:[77, 51] Operation: 56-5=51
Exploring Operation: 56+5=61, Resulting Numbers: [77, 61]
Generated Node #0,3,4: 52:[77, 61] Operation: 56+5=61
Moving to Node #0,3,1
Current State: 52:[5, 21], Operations: ['96-19=77', '77-56=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[56, 72], Operations: ['96-19=77', '77-5=72']
Exploring Operation: 56*72=4032, Resulting Numbers: [4032]
4032,52 unequal: No Solution
Exploring Operation: 56+72=128, Resulting Numbers: [128]
128,52 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[77, 51], Operations: ['96-19=77', '56-5=51']
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,52 unequal: No Solution
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[56, 82], Operations: ['96-19=77', '5+77=82']
Exploring Operation: 56*82=4592, Resulting Numbers: [4592]
4592,52 unequal: No Solution
Exploring Operation: 56+82=138, Resulting Numbers: [138]
138,52 unequal: No Solution
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Moving to Node #0,3,4
Current State: 52:[77, 61], Operations: ['96-19=77', '56+5=61']
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 77+61=138, Resulting Numbers: [138]
138,52 unequal: No Solution
Exploring Operation: 77*61=4697, Resulting Numbers: [4697]
4697,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[56, 19, 91], Operations: ['96-5=91']
Exploring Operation: 91-56=35, Resulting Numbers: [19, 35]
Generated Node #0,1,0: 52:[19, 35] Operation: 91-56=35
Exploring Operation: 19+91=110, Resulting Numbers: [56, 110]
Generated Node #0,1,1: 52:[56, 110] Operation: 19+91=110
Exploring Operation: 56-19=37, Resulting Numbers: [91, 37]
Generated Node #0,1,2: 52:[91, 37] Operation: 56-19=37
Exploring Operation: 56+19=75, Resulting Numbers: [91, 75]
Generated Node #0,1,3: 52:[91, 75] Operation: 56+19=75
Exploring Operation: 91-19=72, Resulting Numbers: [56, 72]
Generated Node #0,1,4: 52:[56, 72] Operation: 91-19=72
Moving to Node #0,1,0
Current State: 52:[19, 35], Operations: ['96-5=91', '91-56=35']
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 19*35=665, Resulting Numbers: [665]
665,52 unequal: No Solution
Moving to Node #0,1,4
Current State: 52:[56, 72], Operations: ['96-5=91', '91-19=72']
Exploring Operation: 56*72=4032, Resulting Numbers: [4032]
4032,52 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 56+72=128, Resulting Numbers: [128]
128,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[91, 37], Operations: ['96-5=91', '56-19=37']
Exploring Operation: 91+37=128, Resulting Numbers: [128]
128,52 unequal: No Solution
Exploring Operation: 91*37=3367, Resulting Numbers: [3367]
3367,52 unequal: No Solution
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[56, 110], Operations: ['96-5=91', '19+91=110']
Exploring Operation: 56+110=166, Resulting Numbers: [166]
166,52 unequal: No Solution
Exploring Operation: 110-56=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 56*110=6160, Resulting Numbers: [6160]
6160,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[91, 75], Operations: ['96-5=91', '56+19=75']
Exploring Operation: 91*75=6825, Resulting Numbers: [6825]
6825,52 unequal: No Solution
Exploring Operation: 91-75=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 91+75=166, Resulting Numbers: [166]
166,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 52:[96, 56, 14], Operations: ['19-5=14']
Exploring Operation: 96+14=110, Resulting Numbers: [56, 110]
Generated Node #0,4,0: 52:[56, 110] Operation: 96+14=110
Exploring Operation: 56/14=4, Resulting Numbers: [96, 4]
Generated Node #0,4,1: 52:[96, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [96, 42]
Generated Node #0,4,2: 52:[96, 42] Operation: 56-14=42
Exploring Operation: 96-14=82, Resulting Numbers: [56, 82]
Generated Node #0,4,3: 52:[56, 82] Operation: 96-14=82
Exploring Operation: 96-56=40, Resulting Numbers: [14, 40]
Generated Node #0,4,4: 52:[14, 40] Operation: 96-56=40
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 52:[14, 40], Operations: ['19-5=14', '96-56=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,52 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 52:[56, 82], Operations: ['19-5=14', '96-14=82']
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 56*82=4592, Resulting Numbers: [4592]
4592,52 unequal: No Solution
Exploring Operation: 56+82=138, Resulting Numbers: [138]
138,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 52:[96, 4], Operations: ['19-5=14', '56/14=4']
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,52 unequal: No Solution
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,52 unequal: No Solution
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 96*4=384, Resulting Numbers: [384]
384,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 52:[96, 42], Operations: ['19-5=14', '56-14=42']
Exploring Operation: 96-42=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 96*42=4032, Resulting Numbers: [4032]
4032,52 unequal: No Solution
Exploring Operation: 96+42=138, Resulting Numbers: [138]
138,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 52:[56, 110], Operations: ['19-5=14', '96+14=110']
Exploring Operation: 110-56=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 56+110=166, Resulting Numbers: [166]
166,52 unequal: No Solution
Exploring Operation: 56*110=6160, Resulting Numbers: [6160]
6160,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[96, 56, 24], Operations: ['5+19=24']
Exploring Operation: 56-24=32, Resulting Numbers: [96, 32]
Generated Node #0,2,0: 52:[96, 32] Operation: 56-24=32
Exploring Operation: 96/24=4, Resulting Numbers: [56, 4]
Generated Node #0,2,1: 52:[56, 4] Operation: 96/24=4
Exploring Operation: 96-56=40, Resulting Numbers: [24, 40]
Generated Node #0,2,2: 52:[24, 40] Operation: 96-56=40
Exploring Operation: 96+24=120, Resulting Numbers: [56, 120]
Generated Node #0,2,3: 52:[56, 120] Operation: 96+24=120
Exploring Operation: 96-24=72, Resulting Numbers: [56, 72]
Generated Node #0,2,4: 52:[56, 72] Operation: 96-24=72
Moving to Node #0,2,1
Current State: 52:[56, 4], Operations: ['5+19=24', '96/24=4']
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[96, 56, 5, 19], Operations: []
Exploring Operation: 5+19=24, Resulting Numbers: [96, 56, 24]
Generated Node #0,2: 52:[96, 56, 24] Operation: 5+19=24
Moving to Node #0,2
Current State: 52:[96, 56, 24], Operations: ['5+19=24']
Exploring Operation: 96/24=4, Resulting Numbers: [56, 4]
Generated Node #0,2,1: 52:[56, 4] Operation: 96/24=4
Moving to Node #0,2,1
Current State: 52:[56, 4], Operations: ['5+19=24', '96/24=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.915799 | hs_5 | mult_heuristic |
[
52,
45,
32,
35
] | 30 | [
"52+45=97",
"32+35=67",
"97-67=30"
] | Current State: 30:[52, 45, 32, 35], Operations: []
Exploring Operation: 52+45=97, Resulting Numbers: [32, 35, 97]
Generated Node #2: [32, 35, 97] from Operation: 52+45=97
Current State: 30:[32, 35, 97], Operations: ['52+45=97']
Exploring Operation: 32+35=67, Resulting Numbers: [97, 67]
Generated Node #3: [97, 67] from Operation: 32+35=67
Current State: 30:[97, 67], Operations: ['52+45=97', '32+35=67']
Exploring Operation: 97-67=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[52, 45, 32, 35], Operations: []
Exploring Operation: 52-35=17, Resulting Numbers: [45, 32, 17]
Generated Node #0,0: 30:[45, 32, 17] Operation: 52-35=17
Exploring Operation: 52-45=7, Resulting Numbers: [32, 35, 7]
Generated Node #0,1: 30:[32, 35, 7] Operation: 52-45=7
Exploring Operation: 45-35=10, Resulting Numbers: [52, 32, 10]
Generated Node #0,2: 30:[52, 32, 10] Operation: 45-35=10
Exploring Operation: 52-32=20, Resulting Numbers: [45, 35, 20]
Generated Node #0,3: 30:[45, 35, 20] Operation: 52-32=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[32, 35, 7], Operations: ['52-45=7']
Exploring Operation: 35/7=5, Resulting Numbers: [32, 5]
Generated Node #0,1,0: 30:[32, 5] Operation: 35/7=5
Exploring Operation: 32-7=25, Resulting Numbers: [35, 25]
Generated Node #0,1,1: 30:[35, 25] Operation: 32-7=25
Exploring Operation: 35-7=28, Resulting Numbers: [32, 28]
Generated Node #0,1,2: 30:[32, 28] Operation: 35-7=28
Exploring Operation: 35-32=3, Resulting Numbers: [7, 3]
Generated Node #0,1,3: 30:[7, 3] Operation: 35-32=3
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 30:[7, 3], Operations: ['52-45=7', '35-32=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[32, 5], Operations: ['52-45=7', '35/7=5']
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,30 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 30:[32, 28], Operations: ['52-45=7', '35-7=28']
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,30 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[35, 25], Operations: ['52-45=7', '32-7=25']
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[45, 32, 17], Operations: ['52-35=17']
Exploring Operation: 45-32=13, Resulting Numbers: [17, 13]
Generated Node #0,0,0: 30:[17, 13] Operation: 45-32=13
Exploring Operation: 32-17=15, Resulting Numbers: [45, 15]
Generated Node #0,0,1: 30:[45, 15] Operation: 32-17=15
Exploring Operation: 45-17=28, Resulting Numbers: [32, 28]
Generated Node #0,0,2: 30:[32, 28] Operation: 45-17=28
Exploring Operation: 45+17=62, Resulting Numbers: [32, 62]
Generated Node #0,0,3: 30:[32, 62] Operation: 45+17=62
Moving to Node #0,0,0
Current State: 30:[17, 13], Operations: ['52-35=17', '45-32=13']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,30 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[52, 45, 32, 35], Operations: []
Exploring Operation: 52-35=17, Resulting Numbers: [45, 32, 17]
Generated Node #0,0: 30:[45, 32, 17] Operation: 52-35=17
Moving to Node #0,0
Current State: 30:[45, 32, 17], Operations: ['52-35=17']
Exploring Operation: 45-32=13, Resulting Numbers: [17, 13]
Generated Node #0,0,0: 30:[17, 13] Operation: 45-32=13
Moving to Node #0,0,0
Current State: 30:[17, 13], Operations: ['52-35=17', '45-32=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
81,
32,
25,
23
] | 59 | [
"81*23=1863",
"25+1863=1888",
"1888/32=59"
] | Current State: 59:[81, 32, 25, 23], Operations: []
Exploring Operation: 81*23=1863, Resulting Numbers: [32, 25, 1863]
Generated Node #2: [32, 25, 1863] from Operation: 81*23=1863
Current State: 59:[32, 25, 1863], Operations: ['81*23=1863']
Exploring Operation: 25+1863=1888, Resulting Numbers: [32, 1888]
Generated Node #3: [32, 1888] from Operation: 25+1863=1888
Current State: 59:[32, 1888], Operations: ['81*23=1863', '25+1863=1888']
Exploring Operation: 1888/32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[81, 32, 25, 23], Operations: []
Exploring Operation: 32+23=55, Resulting Numbers: [81, 25, 55]
Generated Node #0,0: 59:[81, 25, 55] Operation: 32+23=55
Exploring Operation: 25+23=48, Resulting Numbers: [81, 32, 48]
Generated Node #0,1: 59:[81, 32, 48] Operation: 25+23=48
Exploring Operation: 32+25=57, Resulting Numbers: [81, 23, 57]
Generated Node #0,2: 59:[81, 23, 57] Operation: 32+25=57
Exploring Operation: 81-23=58, Resulting Numbers: [32, 25, 58]
Generated Node #0,3: 59:[32, 25, 58] Operation: 81-23=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[81, 25, 55], Operations: ['32+23=55']
Exploring Operation: 81+25=106, Resulting Numbers: [55, 106]
Generated Node #0,0,0: 59:[55, 106] Operation: 81+25=106
Exploring Operation: 25+55=80, Resulting Numbers: [81, 80]
Generated Node #0,0,1: 59:[81, 80] Operation: 25+55=80
Exploring Operation: 81-25=56, Resulting Numbers: [55, 56]
Generated Node #0,0,2: 59:[55, 56] Operation: 81-25=56
Exploring Operation: 55-25=30, Resulting Numbers: [81, 30]
Generated Node #0,0,3: 59:[81, 30] Operation: 55-25=30
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[55, 56], Operations: ['32+23=55', '81-25=56']
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 55*56=3080, Resulting Numbers: [3080]
3080,59 unequal: No Solution
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[81, 80], Operations: ['32+23=55', '25+55=80']
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 81*80=6480, Resulting Numbers: [6480]
6480,59 unequal: No Solution
Exploring Operation: 81+80=161, Resulting Numbers: [161]
161,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[55, 106], Operations: ['32+23=55', '81+25=106']
Exploring Operation: 55+106=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Exploring Operation: 106-55=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 55*106=5830, Resulting Numbers: [5830]
5830,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 59:[81, 30], Operations: ['32+23=55', '55-25=30']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 81+30=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Exploring Operation: 81*30=2430, Resulting Numbers: [2430]
2430,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[81, 32, 48], Operations: ['25+23=48']
Exploring Operation: 81-32=49, Resulting Numbers: [48, 49]
Generated Node #0,1,0: 59:[48, 49] Operation: 81-32=49
Exploring Operation: 81-48=33, Resulting Numbers: [32, 33]
Generated Node #0,1,1: 59:[32, 33] Operation: 81-48=33
Exploring Operation: 81+32=113, Resulting Numbers: [48, 113]
Generated Node #0,1,2: 59:[48, 113] Operation: 81+32=113
Exploring Operation: 32+48=80, Resulting Numbers: [81, 80]
Generated Node #0,1,3: 59:[81, 80] Operation: 32+48=80
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[48, 49], Operations: ['25+23=48', '81-32=49']
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,59 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 59:[81, 80], Operations: ['25+23=48', '32+48=80']
Exploring Operation: 81*80=6480, Resulting Numbers: [6480]
6480,59 unequal: No Solution
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 81+80=161, Resulting Numbers: [161]
161,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[32, 33], Operations: ['25+23=48', '81-48=33']
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 59:[48, 113], Operations: ['25+23=48', '81+32=113']
Exploring Operation: 48+113=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Exploring Operation: 113-48=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 48*113=5424, Resulting Numbers: [5424]
5424,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[81, 23, 57], Operations: ['32+25=57']
Exploring Operation: 23+57=80, Resulting Numbers: [81, 80]
Generated Node #0,2,0: 59:[81, 80] Operation: 23+57=80
Exploring Operation: 81-23=58, Resulting Numbers: [57, 58]
Generated Node #0,2,1: 59:[57, 58] Operation: 81-23=58
Exploring Operation: 57-23=34, Resulting Numbers: [81, 34]
Generated Node #0,2,2: 59:[81, 34] Operation: 57-23=34
Exploring Operation: 81+23=104, Resulting Numbers: [57, 104]
Generated Node #0,2,3: 59:[57, 104] Operation: 81+23=104
Moving to Node #0,2,1
Current State: 59:[57, 58], Operations: ['32+25=57', '81-23=58']
Exploring Operation: 57+58=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Exploring Operation: 57*58=3306, Resulting Numbers: [3306]
3306,59 unequal: No Solution
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[81, 80], Operations: ['32+25=57', '23+57=80']
Exploring Operation: 81*80=6480, Resulting Numbers: [6480]
6480,59 unequal: No Solution
Exploring Operation: 81+80=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[57, 104], Operations: ['32+25=57', '81+23=104']
Exploring Operation: 57*104=5928, Resulting Numbers: [5928]
5928,59 unequal: No Solution
Exploring Operation: 57+104=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Exploring Operation: 104-57=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[81, 34], Operations: ['32+25=57', '57-23=34']
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 81*34=2754, Resulting Numbers: [2754]
2754,59 unequal: No Solution
Exploring Operation: 81+34=115, Resulting Numbers: [115]
115,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[32, 25, 58], Operations: ['81-23=58']
Exploring Operation: 32+25=57, Resulting Numbers: [58, 57]
Generated Node #0,3,0: 59:[58, 57] Operation: 32+25=57
Exploring Operation: 25+58=83, Resulting Numbers: [32, 83]
Generated Node #0,3,1: 59:[32, 83] Operation: 25+58=83
Exploring Operation: 32-25=7, Resulting Numbers: [58, 7]
Generated Node #0,3,2: 59:[58, 7] Operation: 32-25=7
Exploring Operation: 58-25=33, Resulting Numbers: [32, 33]
Generated Node #0,3,3: 59:[32, 33] Operation: 58-25=33
Moving to Node #0,3,0
Current State: 59:[58, 57], Operations: ['81-23=58', '32+25=57']
Exploring Operation: 58*57=3306, Resulting Numbers: [3306]
3306,59 unequal: No Solution
Exploring Operation: 58+57=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[32, 83], Operations: ['81-23=58', '25+58=83']
Exploring Operation: 32*83=2656, Resulting Numbers: [2656]
2656,59 unequal: No Solution
Exploring Operation: 32+83=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Exploring Operation: 83-32=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[32, 33], Operations: ['81-23=58', '58-25=33']
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,59 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[58, 7], Operations: ['81-23=58', '32-25=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,59 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
11,
31,
54,
93
] | 59 | [
"31-11=20",
"93-54=39",
"20+39=59"
] | Current State: 59:[11, 31, 54, 93], Operations: []
Exploring Operation: 31-11=20, Resulting Numbers: [54, 93, 20]
Generated Node #2: [54, 93, 20] from Operation: 31-11=20
Current State: 59:[54, 93, 20], Operations: ['31-11=20']
Exploring Operation: 93-54=39, Resulting Numbers: [20, 39]
Generated Node #3: [20, 39] from Operation: 93-54=39
Current State: 59:[20, 39], Operations: ['31-11=20', '93-54=39']
Exploring Operation: 20+39=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[11, 31, 54, 93], Operations: []
Exploring Operation: 93-11=82, Resulting Numbers: [31, 54, 82]
Generated Node #0,0: 59:[31, 54, 82] Operation: 93-11=82
Exploring Operation: 11+31=42, Resulting Numbers: [54, 93, 42]
Generated Node #0,1: 59:[54, 93, 42] Operation: 11+31=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[31, 54, 82], Operations: ['93-11=82']
Exploring Operation: 31+54=85, Resulting Numbers: [82, 85]
Generated Node #0,0,0: 59:[82, 85] Operation: 31+54=85
Exploring Operation: 82-31=51, Resulting Numbers: [54, 51]
Generated Node #0,0,1: 59:[54, 51] Operation: 82-31=51
Moving to Node #0,0,1
Current State: 59:[54, 51], Operations: ['93-11=82', '82-31=51']
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 54+51=105, Resulting Numbers: [105]
105,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[82, 85], Operations: ['93-11=82', '31+54=85']
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 82+85=167, Resulting Numbers: [167]
167,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[54, 93, 42], Operations: ['11+31=42']
Exploring Operation: 93-54=39, Resulting Numbers: [42, 39]
Generated Node #0,1,0: 59:[42, 39] Operation: 93-54=39
Exploring Operation: 93-42=51, Resulting Numbers: [54, 51]
Generated Node #0,1,1: 59:[54, 51] Operation: 93-42=51
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[54, 51], Operations: ['11+31=42', '93-42=51']
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 54+51=105, Resulting Numbers: [105]
105,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[42, 39], Operations: ['11+31=42', '93-54=39']
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,59 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
23,
73,
7,
30
] | 24 | [
"30-23=7",
"7*7=49",
"73-49=24"
] | Current State: 24:[23, 73, 7, 30], Operations: []
Exploring Operation: 30-23=7, Resulting Numbers: [73, 7, 7]
Generated Node #2: [73, 7, 7] from Operation: 30-23=7
Current State: 24:[73, 7, 7], Operations: ['30-23=7']
Exploring Operation: 7*7=49, Resulting Numbers: [73, 49]
Generated Node #3: [73, 49] from Operation: 7*7=49
Current State: 24:[73, 49], Operations: ['30-23=7', '7*7=49']
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[23, 73, 7, 30], Operations: []
Exploring Operation: 73-23=50, Resulting Numbers: [7, 30, 50]
Generated Node #0,0: 24:[7, 30, 50] Operation: 73-23=50
Exploring Operation: 73-7=66, Resulting Numbers: [23, 30, 66]
Generated Node #0,1: 24:[23, 30, 66] Operation: 73-7=66
Exploring Operation: 73-30=43, Resulting Numbers: [23, 7, 43]
Generated Node #0,2: 24:[23, 7, 43] Operation: 73-30=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[23, 7, 43], Operations: ['73-30=43']
Exploring Operation: 23-7=16, Resulting Numbers: [43, 16]
Generated Node #0,2,0: 24:[43, 16] Operation: 23-7=16
Exploring Operation: 43-7=36, Resulting Numbers: [23, 36]
Generated Node #0,2,1: 24:[23, 36] Operation: 43-7=36
Exploring Operation: 43-23=20, Resulting Numbers: [7, 20]
Generated Node #0,2,2: 24:[7, 20] Operation: 43-23=20
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 24:[7, 20], Operations: ['73-30=43', '43-23=20']
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,24 unequal: No Solution
No 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: 24:[23, 36], Operations: ['73-30=43', '43-7=36']
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,24 unequal: No Solution
No 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: 24:[43, 16], Operations: ['73-30=43', '23-7=16']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,24 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: 24:[7, 30, 50], Operations: ['73-23=50']
Exploring Operation: 30-7=23, Resulting Numbers: [50, 23]
Generated Node #0,0,0: 24:[50, 23] Operation: 30-7=23
Exploring Operation: 50-30=20, Resulting Numbers: [7, 20]
Generated Node #0,0,1: 24:[7, 20] Operation: 50-30=20
Exploring Operation: 50-7=43, Resulting Numbers: [30, 43]
Generated Node #0,0,2: 24:[30, 43] Operation: 50-7=43
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[7, 20], Operations: ['73-23=50', '50-30=20']
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,24 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,24 unequal: No Solution
No 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: 24:[30, 43], Operations: ['73-23=50', '50-7=43']
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,24 unequal: No Solution
No 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: 24:[50, 23], Operations: ['73-23=50', '30-7=23']
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 50*23=1150, Resulting Numbers: [1150]
1150,24 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: 24:[23, 30, 66], Operations: ['73-7=66']
Exploring Operation: 66-23=43, Resulting Numbers: [30, 43]
Generated Node #0,1,0: 24:[30, 43] Operation: 66-23=43
Exploring Operation: 30-23=7, Resulting Numbers: [66, 7]
Generated Node #0,1,1: 24:[66, 7] Operation: 30-23=7
Exploring Operation: 66-30=36, Resulting Numbers: [23, 36]
Generated Node #0,1,2: 24:[23, 36] Operation: 66-30=36
Moving to Node #0,1,2
Current State: 24:[23, 36], Operations: ['73-7=66', '66-30=36']
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[30, 43], Operations: ['73-7=66', '66-23=43']
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,24 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[66, 7], Operations: ['73-7=66', '30-23=7']
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,24 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,24 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 |
[
48,
47,
25,
90
] | 60 | [
"48*90=4320",
"47+25=72",
"4320/72=60"
] | Current State: 60:[48, 47, 25, 90], Operations: []
Exploring Operation: 48*90=4320, Resulting Numbers: [47, 25, 4320]
Generated Node #2: [47, 25, 4320] from Operation: 48*90=4320
Current State: 60:[47, 25, 4320], Operations: ['48*90=4320']
Exploring Operation: 47+25=72, Resulting Numbers: [4320, 72]
Generated Node #3: [4320, 72] from Operation: 47+25=72
Current State: 60:[4320, 72], Operations: ['48*90=4320', '47+25=72']
Exploring Operation: 4320/72=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[48, 47, 25, 90], Operations: []
Exploring Operation: 90-48=42, Resulting Numbers: [47, 25, 42]
Generated Node #0,0: 60:[47, 25, 42] Operation: 90-48=42
Exploring Operation: 90-25=65, Resulting Numbers: [48, 47, 65]
Generated Node #0,1: 60:[48, 47, 65] Operation: 90-25=65
Exploring Operation: 90-47=43, Resulting Numbers: [48, 25, 43]
Generated Node #0,2: 60:[48, 25, 43] Operation: 90-47=43
Exploring Operation: 48-47=1, Resulting Numbers: [25, 90, 1]
Generated Node #0,3: 60:[25, 90, 1] Operation: 48-47=1
Moving to Node #0,0
Current State: 60:[47, 25, 42], Operations: ['90-48=42']
Exploring Operation: 47-42=5, Resulting Numbers: [25, 5]
Generated Node #0,0,0: 60:[25, 5] Operation: 47-42=5
Exploring Operation: 47-25=22, Resulting Numbers: [42, 22]
Generated Node #0,0,1: 60:[42, 22] Operation: 47-25=22
Exploring Operation: 25+42=67, Resulting Numbers: [47, 67]
Generated Node #0,0,2: 60:[47, 67] Operation: 25+42=67
Exploring Operation: 42-25=17, Resulting Numbers: [47, 17]
Generated Node #0,0,3: 60:[47, 17] Operation: 42-25=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[25, 5], Operations: ['90-48=42', '47-42=5']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[42, 22], Operations: ['90-48=42', '47-25=22']
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,60 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 60:[47, 17], Operations: ['90-48=42', '42-25=17']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 47*17=799, Resulting Numbers: [799]
799,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[47, 67], Operations: ['90-48=42', '25+42=67']
Exploring Operation: 47*67=3149, Resulting Numbers: [3149]
3149,60 unequal: No Solution
Exploring Operation: 47+67=114, Resulting Numbers: [114]
114,60 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 60:[48, 25, 43], Operations: ['90-47=43']
Exploring Operation: 48-25=23, Resulting Numbers: [43, 23]
Generated Node #0,2,0: 60:[43, 23] Operation: 48-25=23
Exploring Operation: 25+43=68, Resulting Numbers: [48, 68]
Generated Node #0,2,1: 60:[48, 68] Operation: 25+43=68
Exploring Operation: 48-43=5, Resulting Numbers: [25, 5]
Generated Node #0,2,2: 60:[25, 5] Operation: 48-43=5
Exploring Operation: 43-25=18, Resulting Numbers: [48, 18]
Generated Node #0,2,3: 60:[48, 18] Operation: 43-25=18
Moving to Node #0,1
Current State: 60:[48, 47, 65], Operations: ['90-25=65']
Exploring Operation: 65-47=18, Resulting Numbers: [48, 18]
Generated Node #0,1,0: 60:[48, 18] Operation: 65-47=18
Exploring Operation: 48+47=95, Resulting Numbers: [65, 95]
Generated Node #0,1,1: 60:[65, 95] Operation: 48+47=95
Exploring Operation: 48-47=1, Resulting Numbers: [65, 1]
Generated Node #0,1,2: 60:[65, 1] Operation: 48-47=1
Exploring Operation: 65-48=17, Resulting Numbers: [47, 17]
Generated Node #0,1,3: 60:[47, 17] Operation: 65-48=17
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[65, 1], Operations: ['90-25=65', '48-47=1']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[48, 18], Operations: ['90-25=65', '65-47=18']
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[47, 17], Operations: ['90-25=65', '65-48=17']
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 47*17=799, Resulting Numbers: [799]
799,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[65, 95], Operations: ['90-25=65', '48+47=95']
Exploring Operation: 65+95=160, Resulting Numbers: [160]
160,60 unequal: No Solution
Exploring Operation: 65*95=6175, Resulting Numbers: [6175]
6175,60 unequal: No Solution
Exploring Operation: 95-65=30, Resulting Numbers: [30]
30,60 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: 60:[25, 90, 1], Operations: ['48-47=1']
Exploring Operation: 25+1=26, Resulting Numbers: [90, 26]
Generated Node #0,3,0: 60:[90, 26] Operation: 25+1=26
Exploring Operation: 25-1=24, Resulting Numbers: [90, 24]
Generated Node #0,3,1: 60:[90, 24] Operation: 25-1=24
Exploring Operation: 90-25=65, Resulting Numbers: [1, 65]
Generated Node #0,3,2: 60:[1, 65] Operation: 90-25=65
Exploring Operation: 90-1=89, Resulting Numbers: [25, 89]
Generated Node #0,3,3: 60:[25, 89] Operation: 90-1=89
Moving to Node #0,2,2
Current State: 60:[25, 5], Operations: ['90-47=43', '48-43=5']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,60 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[1, 65], Operations: ['48-47=1', '90-25=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[48, 18], Operations: ['90-47=43', '43-25=18']
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,60 unequal: No Solution
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[43, 23], Operations: ['90-47=43', '48-25=23']
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[48, 68], Operations: ['90-47=43', '25+43=68']
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 48*68=3264, Resulting Numbers: [3264]
3264,60 unequal: No Solution
Exploring Operation: 48+68=116, Resulting Numbers: [116]
116,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[90, 26], Operations: ['48-47=1', '25+1=26']
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 90+26=116, Resulting Numbers: [116]
116,60 unequal: No Solution
Exploring Operation: 90*26=2340, Resulting Numbers: [2340]
2340,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[90, 24], Operations: ['48-47=1', '25-1=24']
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 90+24=114, Resulting Numbers: [114]
114,60 unequal: No Solution
Exploring Operation: 90*24=2160, Resulting Numbers: [2160]
2160,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[25, 89], Operations: ['48-47=1', '90-1=89']
Exploring Operation: 25*89=2225, Resulting Numbers: [2225]
2225,60 unequal: No Solution
Exploring Operation: 25+89=114, Resulting Numbers: [114]
114,60 unequal: No Solution
Exploring Operation: 89-25=64, Resulting Numbers: [64]
64,60 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
82,
14,
21,
51
] | 48 | [
"14*51=714",
"714/21=34",
"82-34=48"
] | Current State: 48:[82, 14, 21, 51], Operations: []
Exploring Operation: 14*51=714, Resulting Numbers: [82, 21, 714]
Generated Node #2: [82, 21, 714] from Operation: 14*51=714
Current State: 48:[82, 21, 714], Operations: ['14*51=714']
Exploring Operation: 714/21=34, Resulting Numbers: [82, 34]
Generated Node #3: [82, 34] from Operation: 714/21=34
Current State: 48:[82, 34], Operations: ['14*51=714', '714/21=34']
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[82, 14, 21, 51], Operations: []
Exploring Operation: 82-51=31, Resulting Numbers: [14, 21, 31]
Generated Node #0,0: 48:[14, 21, 31] Operation: 82-51=31
Exploring Operation: 82-21=61, Resulting Numbers: [14, 51, 61]
Generated Node #0,1: 48:[14, 51, 61] Operation: 82-21=61
Exploring Operation: 21-14=7, Resulting Numbers: [82, 51, 7]
Generated Node #0,2: 48:[82, 51, 7] Operation: 21-14=7
Exploring Operation: 82-14=68, Resulting Numbers: [21, 51, 68]
Generated Node #0,3: 48:[21, 51, 68] Operation: 82-14=68
Moving to Node #0,0
Current State: 48:[14, 21, 31], Operations: ['82-51=31']
Exploring Operation: 21+31=52, Resulting Numbers: [14, 52]
Generated Node #0,0,0: 48:[14, 52] Operation: 21+31=52
Exploring Operation: 14+31=45, Resulting Numbers: [21, 45]
Generated Node #0,0,1: 48:[21, 45] Operation: 14+31=45
Exploring Operation: 31-21=10, Resulting Numbers: [14, 10]
Generated Node #0,0,2: 48:[14, 10] Operation: 31-21=10
Exploring Operation: 31-14=17, Resulting Numbers: [21, 17]
Generated Node #0,0,3: 48:[21, 17] Operation: 31-14=17
Moving to Node #0,1
Current State: 48:[14, 51, 61], Operations: ['82-21=61']
Exploring Operation: 61-14=47, Resulting Numbers: [51, 47]
Generated Node #0,1,0: 48:[51, 47] Operation: 61-14=47
Exploring Operation: 61-51=10, Resulting Numbers: [14, 10]
Generated Node #0,1,1: 48:[14, 10] Operation: 61-51=10
Exploring Operation: 51-14=37, Resulting Numbers: [61, 37]
Generated Node #0,1,2: 48:[61, 37] Operation: 51-14=37
Exploring Operation: 14+51=65, Resulting Numbers: [61, 65]
Generated Node #0,1,3: 48:[61, 65] Operation: 14+51=65
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[51, 47], Operations: ['82-21=61', '61-14=47']
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,48 unequal: No Solution
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[14, 10], Operations: ['82-21=61', '61-51=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,48 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[61, 37], Operations: ['82-21=61', '51-14=37']
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 48:[61, 65], Operations: ['82-21=61', '14+51=65']
Exploring Operation: 61+65=126, Resulting Numbers: [126]
126,48 unequal: No Solution
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 61*65=3965, Resulting Numbers: [3965]
3965,48 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: 48:[21, 51, 68], Operations: ['82-14=68']
Exploring Operation: 51-21=30, Resulting Numbers: [68, 30]
Generated Node #0,3,0: 48:[68, 30] Operation: 51-21=30
Exploring Operation: 21+51=72, Resulting Numbers: [68, 72]
Generated Node #0,3,1: 48:[68, 72] Operation: 21+51=72
Exploring Operation: 68-21=47, Resulting Numbers: [51, 47]
Generated Node #0,3,2: 48:[51, 47] Operation: 68-21=47
Exploring Operation: 68-51=17, Resulting Numbers: [21, 17]
Generated Node #0,3,3: 48:[21, 17] Operation: 68-51=17
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 48:[51, 47], Operations: ['82-14=68', '68-21=47']
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,48 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 48:[21, 17], Operations: ['82-14=68', '68-51=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,48 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[68, 30], Operations: ['82-14=68', '51-21=30']
Exploring Operation: 68*30=2040, Resulting Numbers: [2040]
2040,48 unequal: No Solution
Exploring Operation: 68+30=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[68, 72], Operations: ['82-14=68', '21+51=72']
Exploring Operation: 68*72=4896, Resulting Numbers: [4896]
4896,48 unequal: No Solution
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 68+72=140, Resulting Numbers: [140]
140,48 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: 48:[82, 51, 7], Operations: ['21-14=7']
Exploring Operation: 51-7=44, Resulting Numbers: [82, 44]
Generated Node #0,2,0: 48:[82, 44] Operation: 51-7=44
Exploring Operation: 82-7=75, Resulting Numbers: [51, 75]
Generated Node #0,2,1: 48:[51, 75] Operation: 82-7=75
Exploring Operation: 82+7=89, Resulting Numbers: [51, 89]
Generated Node #0,2,2: 48:[51, 89] Operation: 82+7=89
Exploring Operation: 82-51=31, Resulting Numbers: [7, 31]
Generated Node #0,2,3: 48:[7, 31] Operation: 82-51=31
Moving to Node #0,0,2
Current State: 48:[14, 10], Operations: ['82-51=31', '31-21=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,48 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Moving to Node #0,0,3
Current State: 48:[21, 17], Operations: ['82-51=31', '31-14=17']
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,48 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[14, 52], Operations: ['82-51=31', '21+31=52']
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,48 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[21, 45], Operations: ['82-51=31', '14+31=45']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 21+45=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 21*45=945, Resulting Numbers: [945]
945,48 unequal: No Solution
Moving to Node #0,2,3
Current State: 48:[7, 31], Operations: ['21-14=7', '82-51=31']
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,48 unequal: No Solution
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[51, 75], Operations: ['21-14=7', '82-7=75']
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 51*75=3825, Resulting Numbers: [3825]
3825,48 unequal: No Solution
Exploring Operation: 51+75=126, Resulting Numbers: [126]
126,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[82, 44], Operations: ['21-14=7', '51-7=44']
Exploring Operation: 82*44=3608, Resulting Numbers: [3608]
3608,48 unequal: No Solution
Exploring Operation: 82+44=126, Resulting Numbers: [126]
126,48 unequal: No Solution
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[51, 89], Operations: ['21-14=7', '82+7=89']
Exploring Operation: 51*89=4539, Resulting Numbers: [4539]
4539,48 unequal: No Solution
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 51+89=140, Resulting Numbers: [140]
140,48 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
47,
41,
6,
92
] | 24 | [
"47+41=88",
"92-88=4",
"6*4=24"
] | Current State: 24:[47, 41, 6, 92], Operations: []
Exploring Operation: 47+41=88, Resulting Numbers: [6, 92, 88]
Generated Node #2: [6, 92, 88] from Operation: 47+41=88
Current State: 24:[6, 92, 88], Operations: ['47+41=88']
Exploring Operation: 92-88=4, Resulting Numbers: [6, 4]
Generated Node #3: [6, 4] from Operation: 92-88=4
Current State: 24:[6, 4], Operations: ['47+41=88', '92-88=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[47, 41, 6, 92], Operations: []
Exploring Operation: 92-47=45, Resulting Numbers: [41, 6, 45]
Generated Node #0,0: 24:[41, 6, 45] Operation: 92-47=45
Exploring Operation: 92-41=51, Resulting Numbers: [47, 6, 51]
Generated Node #0,1: 24:[47, 6, 51] Operation: 92-41=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[41, 6, 45], Operations: ['92-47=45']
Exploring Operation: 41-6=35, Resulting Numbers: [45, 35]
Generated Node #0,0,0: 24:[45, 35] Operation: 41-6=35
Exploring Operation: 45-41=4, Resulting Numbers: [6, 4]
Generated Node #0,0,1: 24:[6, 4] Operation: 45-41=4
Moving to Node #0,0,1
Current State: 24:[6, 4], Operations: ['92-47=45', '45-41=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[47, 41, 6, 92], Operations: []
Exploring Operation: 92-47=45, Resulting Numbers: [41, 6, 45]
Generated Node #0,0: 24:[41, 6, 45] Operation: 92-47=45
Moving to Node #0,0
Current State: 24:[41, 6, 45], Operations: ['92-47=45']
Exploring Operation: 45-41=4, Resulting Numbers: [6, 4]
Generated Node #0,0,1: 24:[6, 4] Operation: 45-41=4
Moving to Node #0,0,1
Current State: 24:[6, 4], Operations: ['92-47=45', '45-41=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
65,
38,
30,
2
] | 78 | [
"38-2=36",
"65*36=2340",
"2340/30=78"
] | Current State: 78:[65, 38, 30, 2], Operations: []
Exploring Operation: 38-2=36, Resulting Numbers: [65, 30, 36]
Generated Node #2: [65, 30, 36] from Operation: 38-2=36
Current State: 78:[65, 30, 36], Operations: ['38-2=36']
Exploring Operation: 65*36=2340, Resulting Numbers: [30, 2340]
Generated Node #3: [30, 2340] from Operation: 65*36=2340
Current State: 78:[30, 2340], Operations: ['38-2=36', '65*36=2340']
Exploring Operation: 2340/30=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[65, 38, 30, 2], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [65, 2, 8]
Generated Node #0,0: 78:[65, 2, 8] Operation: 38-30=8
Exploring Operation: 65-30=35, Resulting Numbers: [38, 2, 35]
Generated Node #0,1: 78:[38, 2, 35] Operation: 65-30=35
Exploring Operation: 65-38=27, Resulting Numbers: [30, 2, 27]
Generated Node #0,2: 78:[30, 2, 27] Operation: 65-38=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[38, 2, 35], Operations: ['65-30=35']
Exploring Operation: 38+2=40, Resulting Numbers: [35, 40]
Generated Node #0,1,0: 78:[35, 40] Operation: 38+2=40
Exploring Operation: 2+35=37, Resulting Numbers: [38, 37]
Generated Node #0,1,1: 78:[38, 37] Operation: 2+35=37
Exploring Operation: 38-35=3, Resulting Numbers: [2, 3]
Generated Node #0,1,2: 78:[2, 3] Operation: 38-35=3
Moving to Node #0,1,2
Current State: 78:[2, 3], Operations: ['65-30=35', '38-35=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[38, 37], Operations: ['65-30=35', '2+35=37']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[35, 40], Operations: ['65-30=35', '38+2=40']
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[30, 2, 27], Operations: ['65-38=27']
Exploring Operation: 30/2=15, Resulting Numbers: [27, 15]
Generated Node #0,2,0: 78:[27, 15] Operation: 30/2=15
Exploring Operation: 30-27=3, Resulting Numbers: [2, 3]
Generated Node #0,2,1: 78:[2, 3] Operation: 30-27=3
Exploring Operation: 30-2=28, Resulting Numbers: [27, 28]
Generated Node #0,2,2: 78:[27, 28] Operation: 30-2=28
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[2, 3], Operations: ['65-38=27', '30-27=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 78:[27, 15], Operations: ['65-38=27', '30/2=15']
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 78:[27, 28], Operations: ['65-38=27', '30-2=28']
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,78 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[65, 2, 8], Operations: ['38-30=8']
Exploring Operation: 65+8=73, Resulting Numbers: [2, 73]
Generated Node #0,0,0: 78:[2, 73] Operation: 65+8=73
Exploring Operation: 8-2=6, Resulting Numbers: [65, 6]
Generated Node #0,0,1: 78:[65, 6] Operation: 8-2=6
Exploring Operation: 65+2=67, Resulting Numbers: [8, 67]
Generated Node #0,0,2: 78:[8, 67] Operation: 65+2=67
Moving to Node #0,0,0
Current State: 78:[2, 73], Operations: ['38-30=8', '65+8=73']
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,78 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,78 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[65, 6], Operations: ['38-30=8', '8-2=6']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,78 unequal: No Solution
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,78 unequal: No Solution
Exploring Operation: 65*6=390, Resulting Numbers: [390]
390,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[8, 67], Operations: ['38-30=8', '65+2=67']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,78 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
18,
85,
55,
7
] | 14 | [
"18*7=126",
"85+55=140",
"140-126=14"
] | Current State: 14:[18, 85, 55, 7], Operations: []
Exploring Operation: 18*7=126, Resulting Numbers: [85, 55, 126]
Generated Node #2: [85, 55, 126] from Operation: 18*7=126
Current State: 14:[85, 55, 126], Operations: ['18*7=126']
Exploring Operation: 85+55=140, Resulting Numbers: [126, 140]
Generated Node #3: [126, 140] from Operation: 85+55=140
Current State: 14:[126, 140], Operations: ['18*7=126', '85+55=140']
Exploring Operation: 140-126=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[18, 85, 55, 7], Operations: []
Exploring Operation: 85-7=78, Resulting Numbers: [18, 55, 78]
Generated Node #0,0: 14:[18, 55, 78] Operation: 85-7=78
Exploring Operation: 55-7=48, Resulting Numbers: [18, 85, 48]
Generated Node #0,1: 14:[18, 85, 48] Operation: 55-7=48
Exploring Operation: 55-18=37, Resulting Numbers: [85, 7, 37]
Generated Node #0,2: 14:[85, 7, 37] Operation: 55-18=37
Exploring Operation: 85-18=67, Resulting Numbers: [55, 7, 67]
Generated Node #0,3: 14:[55, 7, 67] Operation: 85-18=67
Exploring Operation: 85-55=30, Resulting Numbers: [18, 7, 30]
Generated Node #0,4: 14:[18, 7, 30] Operation: 85-55=30
Start Sub Search at level 1: Moving to Node #0,4
Current State: 14:[18, 7, 30], Operations: ['85-55=30']
Exploring Operation: 30-18=12, Resulting Numbers: [7, 12]
Generated Node #0,4,0: 14:[7, 12] Operation: 30-18=12
Exploring Operation: 18+7=25, Resulting Numbers: [30, 25]
Generated Node #0,4,1: 14:[30, 25] Operation: 18+7=25
Exploring Operation: 18-7=11, Resulting Numbers: [30, 11]
Generated Node #0,4,2: 14:[30, 11] Operation: 18-7=11
Exploring Operation: 7+30=37, Resulting Numbers: [18, 37]
Generated Node #0,4,3: 14:[18, 37] Operation: 7+30=37
Exploring Operation: 30-7=23, Resulting Numbers: [18, 23]
Generated Node #0,4,4: 14:[18, 23] Operation: 30-7=23
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 14:[7, 12], Operations: ['85-55=30', '30-18=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,14 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No 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: 14:[18, 23], Operations: ['85-55=30', '30-7=23']
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,14 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,14 unequal: No Solution
No 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: 14:[30, 11], Operations: ['85-55=30', '18-7=11']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 30*11=330, Resulting Numbers: [330]
330,14 unequal: No Solution
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,14 unequal: No Solution
No 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: 14:[30, 25], Operations: ['85-55=30', '18+7=25']
Exploring Operation: 30*25=750, Resulting Numbers: [750]
750,14 unequal: No Solution
Exploring Operation: 30+25=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,14 unequal: No Solution
No 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: 14:[18, 37], Operations: ['85-55=30', '7+30=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[85, 7, 37], Operations: ['55-18=37']
Exploring Operation: 85-37=48, Resulting Numbers: [7, 48]
Generated Node #0,2,0: 14:[7, 48] Operation: 85-37=48
Exploring Operation: 85+7=92, Resulting Numbers: [37, 92]
Generated Node #0,2,1: 14:[37, 92] Operation: 85+7=92
Exploring Operation: 7+37=44, Resulting Numbers: [85, 44]
Generated Node #0,2,2: 14:[85, 44] Operation: 7+37=44
Exploring Operation: 37-7=30, Resulting Numbers: [85, 30]
Generated Node #0,2,3: 14:[85, 30] Operation: 37-7=30
Exploring Operation: 85-7=78, Resulting Numbers: [37, 78]
Generated Node #0,2,4: 14:[37, 78] Operation: 85-7=78
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 14:[7, 48], Operations: ['55-18=37', '85-37=48']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Exploring Operation: 7*48=336, Resulting Numbers: [336]
336,14 unequal: No Solution
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 14:[85, 30], Operations: ['55-18=37', '37-7=30']
Exploring Operation: 85+30=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Exploring Operation: 85*30=2550, Resulting Numbers: [2550]
2550,14 unequal: No Solution
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,14 unequal: No Solution
No 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: 14:[37, 78], Operations: ['55-18=37', '85-7=78']
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Exploring Operation: 37*78=2886, Resulting Numbers: [2886]
2886,14 unequal: No Solution
Exploring Operation: 37+78=115, Resulting Numbers: [115]
115,14 unequal: No Solution
No 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: 14:[37, 92], Operations: ['55-18=37', '85+7=92']
Exploring Operation: 37*92=3404, Resulting Numbers: [3404]
3404,14 unequal: No Solution
Exploring Operation: 37+92=129, Resulting Numbers: [129]
129,14 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,14 unequal: No Solution
No 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: 14:[85, 44], Operations: ['55-18=37', '7+37=44']
Exploring Operation: 85+44=129, Resulting Numbers: [129]
129,14 unequal: No Solution
Exploring Operation: 85*44=3740, Resulting Numbers: [3740]
3740,14 unequal: No Solution
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[55, 7, 67], Operations: ['85-18=67']
Exploring Operation: 55+7=62, Resulting Numbers: [67, 62]
Generated Node #0,3,0: 14:[67, 62] Operation: 55+7=62
Exploring Operation: 55-7=48, Resulting Numbers: [67, 48]
Generated Node #0,3,1: 14:[67, 48] Operation: 55-7=48
Exploring Operation: 7+67=74, Resulting Numbers: [55, 74]
Generated Node #0,3,2: 14:[55, 74] Operation: 7+67=74
Exploring Operation: 67-7=60, Resulting Numbers: [55, 60]
Generated Node #0,3,3: 14:[55, 60] Operation: 67-7=60
Exploring Operation: 67-55=12, Resulting Numbers: [7, 12]
Generated Node #0,3,4: 14:[7, 12] Operation: 67-55=12
Moving to Node #0,3,4
Current State: 14:[7, 12], Operations: ['85-18=67', '67-55=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[55, 60], Operations: ['85-18=67', '67-7=60']
Exploring Operation: 55+60=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Exploring Operation: 55*60=3300, Resulting Numbers: [3300]
3300,14 unequal: No Solution
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[67, 48], Operations: ['85-18=67', '55-7=48']
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,14 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Moving to Node #0,3,0
Current State: 14:[67, 62], Operations: ['85-18=67', '55+7=62']
Exploring Operation: 67+62=129, Resulting Numbers: [129]
129,14 unequal: No Solution
Exploring Operation: 67*62=4154, Resulting Numbers: [4154]
4154,14 unequal: No Solution
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[55, 74], Operations: ['85-18=67', '7+67=74']
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 55+74=129, Resulting Numbers: [129]
129,14 unequal: No Solution
Exploring Operation: 55*74=4070, Resulting Numbers: [4070]
4070,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[18, 55, 78], Operations: ['85-7=78']
Exploring Operation: 78-18=60, Resulting Numbers: [55, 60]
Generated Node #0,0,0: 14:[55, 60] Operation: 78-18=60
Exploring Operation: 78-55=23, Resulting Numbers: [18, 23]
Generated Node #0,0,1: 14:[18, 23] Operation: 78-55=23
Exploring Operation: 55-18=37, Resulting Numbers: [78, 37]
Generated Node #0,0,2: 14:[78, 37] Operation: 55-18=37
Exploring Operation: 18+55=73, Resulting Numbers: [78, 73]
Generated Node #0,0,3: 14:[78, 73] Operation: 18+55=73
Exploring Operation: 18+78=96, Resulting Numbers: [55, 96]
Generated Node #0,0,4: 14:[55, 96] Operation: 18+78=96
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[18, 23], Operations: ['85-7=78', '78-55=23']
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,14 unequal: No Solution
No 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: 14:[55, 60], Operations: ['85-7=78', '78-18=60']
Exploring Operation: 55+60=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Exploring Operation: 55*60=3300, Resulting Numbers: [3300]
3300,14 unequal: No Solution
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,14 unequal: No Solution
No 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: 14:[78, 37], Operations: ['85-7=78', '55-18=37']
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Exploring Operation: 78*37=2886, Resulting Numbers: [2886]
2886,14 unequal: No Solution
Exploring Operation: 78+37=115, Resulting Numbers: [115]
115,14 unequal: No Solution
No 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: 14:[78, 73], Operations: ['85-7=78', '18+55=73']
Exploring Operation: 78*73=5694, Resulting Numbers: [5694]
5694,14 unequal: No Solution
Exploring Operation: 78+73=151, Resulting Numbers: [151]
151,14 unequal: No Solution
Exploring Operation: 78-73=5, Resulting Numbers: [5]
5,14 unequal: No Solution
No 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: 14:[55, 96], Operations: ['85-7=78', '18+78=96']
Exploring Operation: 55+96=151, Resulting Numbers: [151]
151,14 unequal: No Solution
Exploring Operation: 96-55=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Exploring Operation: 55*96=5280, Resulting Numbers: [5280]
5280,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[18, 85, 48], Operations: ['55-7=48']
Exploring Operation: 18+48=66, Resulting Numbers: [85, 66]
Generated Node #0,1,0: 14:[85, 66] Operation: 18+48=66
Exploring Operation: 85-18=67, Resulting Numbers: [48, 67]
Generated Node #0,1,1: 14:[48, 67] Operation: 85-18=67
Exploring Operation: 85-48=37, Resulting Numbers: [18, 37]
Generated Node #0,1,2: 14:[18, 37] Operation: 85-48=37
Exploring Operation: 18+85=103, Resulting Numbers: [48, 103]
Generated Node #0,1,3: 14:[48, 103] Operation: 18+85=103
Exploring Operation: 48-18=30, Resulting Numbers: [85, 30]
Generated Node #0,1,4: 14:[85, 30] Operation: 48-18=30
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 14:[18, 37], Operations: ['55-7=48', '85-48=37']
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,14 unequal: No Solution
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No 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: 14:[48, 67], Operations: ['55-7=48', '85-18=67']
Exploring Operation: 48*67=3216, Resulting Numbers: [3216]
3216,14 unequal: No Solution
Exploring Operation: 48+67=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No 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: 14:[85, 30], Operations: ['55-7=48', '48-18=30']
Exploring Operation: 85+30=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Exploring Operation: 85*30=2550, Resulting Numbers: [2550]
2550,14 unequal: No Solution
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,14 unequal: No Solution
No 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: 14:[85, 66], Operations: ['55-7=48', '18+48=66']
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,14 unequal: No Solution
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,14 unequal: No Solution
No 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: 14:[48, 103], Operations: ['55-7=48', '18+85=103']
Exploring Operation: 103-48=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Exploring Operation: 48*103=4944, Resulting Numbers: [4944]
4944,14 unequal: No Solution
Exploring Operation: 48+103=151, Resulting Numbers: [151]
151,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
18,
41,
97,
66
] | 54 | [
"41-18=23",
"97-66=31",
"23+31=54"
] | Current State: 54:[18, 41, 97, 66], Operations: []
Exploring Operation: 41-18=23, Resulting Numbers: [97, 66, 23]
Generated Node #2: [97, 66, 23] from Operation: 41-18=23
Current State: 54:[97, 66, 23], Operations: ['41-18=23']
Exploring Operation: 97-66=31, Resulting Numbers: [23, 31]
Generated Node #3: [23, 31] from Operation: 97-66=31
Current State: 54:[23, 31], Operations: ['41-18=23', '97-66=31']
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[18, 41, 97, 66], Operations: []
Exploring Operation: 97-41=56, Resulting Numbers: [18, 66, 56]
Generated Node #0,0: 54:[18, 66, 56] Operation: 97-41=56
Moving to Node #0,0
Current State: 54:[18, 66, 56], Operations: ['97-41=56']
Exploring Operation: 66-56=10, Resulting Numbers: [18, 10]
Generated Node #0,0,0: 54:[18, 10] Operation: 66-56=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[18, 10], Operations: ['97-41=56', '66-56=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,54 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 |
[
24,
49,
32,
56
] | 42 | [
"32-24=8",
"56/8=7",
"49-7=42"
] | Current State: 42:[24, 49, 32, 56], Operations: []
Exploring Operation: 32-24=8, Resulting Numbers: [49, 56, 8]
Generated Node #2: [49, 56, 8] from Operation: 32-24=8
Current State: 42:[49, 56, 8], Operations: ['32-24=8']
Exploring Operation: 56/8=7, Resulting Numbers: [49, 7]
Generated Node #3: [49, 7] from Operation: 56/8=7
Current State: 42:[49, 7], Operations: ['32-24=8', '56/8=7']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[24, 49, 32, 56], Operations: []
Exploring Operation: 56-32=24, Resulting Numbers: [24, 49, 24]
Generated Node #0,0: 42:[24, 49, 24] Operation: 56-32=24
Exploring Operation: 49-32=17, Resulting Numbers: [24, 56, 17]
Generated Node #0,1: 42:[24, 56, 17] Operation: 49-32=17
Exploring Operation: 56-49=7, Resulting Numbers: [24, 32, 7]
Generated Node #0,2: 42:[24, 32, 7] Operation: 56-49=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[24, 49, 24], Operations: ['56-32=24']
Exploring Operation: 49-24=25, Resulting Numbers: [24, 25]
Generated Node #0,0,0: 42:[24, 25] Operation: 49-24=25
Exploring Operation: 49-24=25, Resulting Numbers: [24, 25]
Generated Node #0,0,1: 42:[24, 25] Operation: 49-24=25
Exploring Operation: 24/24=1, Resulting Numbers: [49, 1]
Generated Node #0,0,2: 42:[49, 1] Operation: 24/24=1
Moving to Node #0,0,0
Current State: 42:[24, 25], Operations: ['56-32=24', '49-24=25']
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,42 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[24, 25], Operations: ['56-32=24', '49-24=25']
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,42 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[49, 1], Operations: ['56-32=24', '24/24=1']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[24, 32, 7], Operations: ['56-49=7']
Exploring Operation: 32+7=39, Resulting Numbers: [24, 39]
Generated Node #0,2,0: 42:[24, 39] Operation: 32+7=39
Exploring Operation: 32-7=25, Resulting Numbers: [24, 25]
Generated Node #0,2,1: 42:[24, 25] Operation: 32-7=25
Exploring Operation: 32-24=8, Resulting Numbers: [7, 8]
Generated Node #0,2,2: 42:[7, 8] Operation: 32-24=8
Moving to Node #0,2,2
Current State: 42:[7, 8], Operations: ['56-49=7', '32-24=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[24, 39], Operations: ['56-49=7', '32+7=39']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,42 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[24, 25], Operations: ['56-49=7', '32-7=25']
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[24, 56, 17], Operations: ['49-32=17']
Exploring Operation: 56-17=39, Resulting Numbers: [24, 39]
Generated Node #0,1,0: 42:[24, 39] Operation: 56-17=39
Exploring Operation: 56-24=32, Resulting Numbers: [17, 32]
Generated Node #0,1,1: 42:[17, 32] Operation: 56-24=32
Exploring Operation: 24-17=7, Resulting Numbers: [56, 7]
Generated Node #0,1,2: 42:[56, 7] Operation: 24-17=7
Moving to Node #0,1,0
Current State: 42:[24, 39], Operations: ['49-32=17', '56-17=39']
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,42 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[17, 32], Operations: ['49-32=17', '56-24=32']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[56, 7], Operations: ['49-32=17', '24-17=7']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,42 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
42,
41,
10,
75
] | 80 | [
"42+41=83",
"83-75=8",
"10*8=80"
] | Current State: 80:[42, 41, 10, 75], Operations: []
Exploring Operation: 42+41=83, Resulting Numbers: [10, 75, 83]
Generated Node #2: [10, 75, 83] from Operation: 42+41=83
Current State: 80:[10, 75, 83], Operations: ['42+41=83']
Exploring Operation: 83-75=8, Resulting Numbers: [10, 8]
Generated Node #3: [10, 8] from Operation: 83-75=8
Current State: 80:[10, 8], Operations: ['42+41=83', '83-75=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[42, 41, 10, 75], Operations: []
Exploring Operation: 75-42=33, Resulting Numbers: [41, 10, 33]
Generated Node #0,0: 80:[41, 10, 33] Operation: 75-42=33
Exploring Operation: 42+41=83, Resulting Numbers: [10, 75, 83]
Generated Node #0,1: 80:[10, 75, 83] Operation: 42+41=83
Exploring Operation: 75-41=34, Resulting Numbers: [42, 10, 34]
Generated Node #0,2: 80:[42, 10, 34] Operation: 75-41=34
Exploring Operation: 42-41=1, Resulting Numbers: [10, 75, 1]
Generated Node #0,3: 80:[10, 75, 1] Operation: 42-41=1
Moving to Node #0,3
Current State: 80:[10, 75, 1], Operations: ['42-41=1']
Exploring Operation: 10/1=10, Resulting Numbers: [75, 10]
Generated Node #0,3,0: 80:[75, 10] Operation: 10/1=10
Exploring Operation: 75*1=75, Resulting Numbers: [10, 75]
Generated Node #0,3,1: 80:[10, 75] Operation: 75*1=75
Exploring Operation: 10*1=10, Resulting Numbers: [75, 10]
Generated Node #0,3,2: 80:[75, 10] Operation: 10*1=10
Exploring Operation: 75+1=76, Resulting Numbers: [10, 76]
Generated Node #0,3,3: 80:[10, 76] Operation: 75+1=76
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 80:[10, 76], Operations: ['42-41=1', '75+1=76']
Exploring Operation: 10*76=760, Resulting Numbers: [760]
760,80 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,80 unequal: No Solution
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[75, 10], Operations: ['42-41=1', '10/1=10']
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 75*10=750, Resulting Numbers: [750]
750,80 unequal: No Solution
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 80:[10, 75], Operations: ['42-41=1', '75*1=75']
Exploring Operation: 10*75=750, Resulting Numbers: [750]
750,80 unequal: No Solution
Exploring Operation: 10+75=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 80:[75, 10], Operations: ['42-41=1', '10*1=10']
Exploring Operation: 75*10=750, Resulting Numbers: [750]
750,80 unequal: No Solution
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 80:[10, 75, 83], Operations: ['42+41=83']
Exploring Operation: 83-75=8, Resulting Numbers: [10, 8]
Generated Node #0,1,0: 80:[10, 8] Operation: 83-75=8
Exploring Operation: 83-10=73, Resulting Numbers: [75, 73]
Generated Node #0,1,1: 80:[75, 73] Operation: 83-10=73
Exploring Operation: 10+75=85, Resulting Numbers: [83, 85]
Generated Node #0,1,2: 80:[83, 85] Operation: 10+75=85
Exploring Operation: 75-10=65, Resulting Numbers: [83, 65]
Generated Node #0,1,3: 80:[83, 65] Operation: 75-10=65
Moving to Node #0,0
Current State: 80:[41, 10, 33], Operations: ['75-42=33']
Exploring Operation: 41+33=74, Resulting Numbers: [10, 74]
Generated Node #0,0,0: 80:[10, 74] Operation: 41+33=74
Exploring Operation: 10+33=43, Resulting Numbers: [41, 43]
Generated Node #0,0,1: 80:[41, 43] Operation: 10+33=43
Exploring Operation: 41-33=8, Resulting Numbers: [10, 8]
Generated Node #0,0,2: 80:[10, 8] Operation: 41-33=8
Exploring Operation: 33-10=23, Resulting Numbers: [41, 23]
Generated Node #0,0,3: 80:[41, 23] Operation: 33-10=23
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[10, 8], Operations: ['75-42=33', '41-33=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[42, 41, 10, 75], Operations: []
Exploring Operation: 75-42=33, Resulting Numbers: [41, 10, 33]
Generated Node #0,0: 80:[41, 10, 33] Operation: 75-42=33
Moving to Node #0,0
Current State: 80:[41, 10, 33], Operations: ['75-42=33']
Exploring Operation: 41-33=8, Resulting Numbers: [10, 8]
Generated Node #0,0,2: 80:[10, 8] Operation: 41-33=8
Moving to Node #0,0,2
Current State: 80:[10, 8], Operations: ['75-42=33', '41-33=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
11,
82,
28,
90
] | 84 | [
"11+82=93",
"93-90=3",
"28*3=84"
] | Current State: 84:[11, 82, 28, 90], Operations: []
Exploring Operation: 11+82=93, Resulting Numbers: [28, 90, 93]
Generated Node #2: [28, 90, 93] from Operation: 11+82=93
Current State: 84:[28, 90, 93], Operations: ['11+82=93']
Exploring Operation: 93-90=3, Resulting Numbers: [28, 3]
Generated Node #3: [28, 3] from Operation: 93-90=3
Current State: 84:[28, 3], Operations: ['11+82=93', '93-90=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[11, 82, 28, 90], Operations: []
Exploring Operation: 28-11=17, Resulting Numbers: [82, 90, 17]
Generated Node #0,0: 84:[82, 90, 17] Operation: 28-11=17
Exploring Operation: 90-82=8, Resulting Numbers: [11, 28, 8]
Generated Node #0,1: 84:[11, 28, 8] Operation: 90-82=8
Exploring Operation: 11+28=39, Resulting Numbers: [82, 90, 39]
Generated Node #0,2: 84:[82, 90, 39] Operation: 11+28=39
Exploring Operation: 90-11=79, Resulting Numbers: [82, 28, 79]
Generated Node #0,3: 84:[82, 28, 79] Operation: 90-11=79
Moving to Node #0,1
Current State: 84:[11, 28, 8], Operations: ['90-82=8']
Exploring Operation: 11-8=3, Resulting Numbers: [28, 3]
Generated Node #0,1,0: 84:[28, 3] Operation: 11-8=3
Exploring Operation: 11+28=39, Resulting Numbers: [8, 39]
Generated Node #0,1,1: 84:[8, 39] Operation: 11+28=39
Exploring Operation: 28-8=20, Resulting Numbers: [11, 20]
Generated Node #0,1,2: 84:[11, 20] Operation: 28-8=20
Exploring Operation: 11+8=19, Resulting Numbers: [28, 19]
Generated Node #0,1,3: 84:[28, 19] Operation: 11+8=19
Moving to Node #0,3
Current State: 84:[82, 28, 79], Operations: ['90-11=79']
Exploring Operation: 79-28=51, Resulting Numbers: [82, 51]
Generated Node #0,3,0: 84:[82, 51] Operation: 79-28=51
Exploring Operation: 82-28=54, Resulting Numbers: [79, 54]
Generated Node #0,3,1: 84:[79, 54] Operation: 82-28=54
Exploring Operation: 82-79=3, Resulting Numbers: [28, 3]
Generated Node #0,3,2: 84:[28, 3] Operation: 82-79=3
Exploring Operation: 28+79=107, Resulting Numbers: [82, 107]
Generated Node #0,3,3: 84:[82, 107] Operation: 28+79=107
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 84:[28, 3], Operations: ['90-11=79', '82-79=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[11, 82, 28, 90], Operations: []
Exploring Operation: 90-11=79, Resulting Numbers: [82, 28, 79]
Generated Node #0,3: 84:[82, 28, 79] Operation: 90-11=79
Moving to Node #0,3
Current State: 84:[82, 28, 79], Operations: ['90-11=79']
Exploring Operation: 82-79=3, Resulting Numbers: [28, 3]
Generated Node #0,3,2: 84:[28, 3] Operation: 82-79=3
Moving to Node #0,3,2
Current State: 84:[28, 3], Operations: ['90-11=79', '82-79=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
96,
6,
90,
43
] | 55 | [
"96+6=102",
"90-43=47",
"102-47=55"
] | Current State: 55:[96, 6, 90, 43], Operations: []
Exploring Operation: 96+6=102, Resulting Numbers: [90, 43, 102]
Generated Node #2: [90, 43, 102] from Operation: 96+6=102
Current State: 55:[90, 43, 102], Operations: ['96+6=102']
Exploring Operation: 90-43=47, Resulting Numbers: [102, 47]
Generated Node #3: [102, 47] from Operation: 90-43=47
Current State: 55:[102, 47], Operations: ['96+6=102', '90-43=47']
Exploring Operation: 102-47=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[96, 6, 90, 43], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [6, 43, 6]
Generated Node #0,0: 55:[6, 43, 6] Operation: 96-90=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[6, 43, 6], Operations: ['96-90=6']
Exploring Operation: 6+43=49, Resulting Numbers: [6, 49]
Generated Node #0,0,0: 55:[6, 49] Operation: 6+43=49
Moving to Node #0,0,0
Current State: 55:[6, 49], Operations: ['96-90=6', '6+43=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[96, 6, 90, 43], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [6, 43, 6]
Generated Node #0,0: 55:[6, 43, 6] Operation: 96-90=6
Moving to Node #0,0
Current State: 55:[6, 43, 6], Operations: ['96-90=6']
Exploring Operation: 6+43=49, Resulting Numbers: [6, 49]
Generated Node #0,0,0: 55:[6, 49] Operation: 6+43=49
Moving to Node #0,0,0
Current State: 55:[6, 49], Operations: ['96-90=6', '6+43=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
49,
54,
85,
31
] | 49 | [
"49+54=103",
"85-31=54",
"103-54=49"
] | Current State: 49:[49, 54, 85, 31], Operations: []
Exploring Operation: 49+54=103, Resulting Numbers: [85, 31, 103]
Generated Node #2: [85, 31, 103] from Operation: 49+54=103
Current State: 49:[85, 31, 103], Operations: ['49+54=103']
Exploring Operation: 85-31=54, Resulting Numbers: [103, 54]
Generated Node #3: [103, 54] from Operation: 85-31=54
Current State: 49:[103, 54], Operations: ['49+54=103', '85-31=54']
Exploring Operation: 103-54=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[49, 54, 85, 31], Operations: []
Exploring Operation: 85-49=36, Resulting Numbers: [54, 31, 36]
Generated Node #0,0: 49:[54, 31, 36] Operation: 85-49=36
Exploring Operation: 85-31=54, Resulting Numbers: [49, 54, 54]
Generated Node #0,1: 49:[49, 54, 54] Operation: 85-31=54
Exploring Operation: 85-54=31, Resulting Numbers: [49, 31, 31]
Generated Node #0,2: 49:[49, 31, 31] Operation: 85-54=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[49, 54, 54], Operations: ['85-31=54']
Exploring Operation: 54-49=5, Resulting Numbers: [54, 5]
Generated Node #0,1,0: 49:[54, 5] Operation: 54-49=5
Exploring Operation: 54/54=1, Resulting Numbers: [49, 1]
Generated Node #0,1,1: 49:[49, 1] Operation: 54/54=1
Exploring Operation: 54-49=5, Resulting Numbers: [54, 5]
Generated Node #0,1,2: 49:[54, 5] Operation: 54-49=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[49, 1], Operations: ['85-31=54', '54/54=1']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[49, 54, 85, 31], Operations: []
Exploring Operation: 85-31=54, Resulting Numbers: [49, 54, 54]
Generated Node #0,1: 49:[49, 54, 54] Operation: 85-31=54
Moving to Node #0,1
Current State: 49:[49, 54, 54], Operations: ['85-31=54']
Exploring Operation: 54/54=1, Resulting Numbers: [49, 1]
Generated Node #0,1,1: 49:[49, 1] Operation: 54/54=1
Moving to Node #0,1,1
Current State: 49:[49, 1], Operations: ['85-31=54', '54/54=1']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
82,
4,
56,
15
] | 53 | [
"82-15=67",
"56/4=14",
"67-14=53"
] | Current State: 53:[82, 4, 56, 15], Operations: []
Exploring Operation: 82-15=67, Resulting Numbers: [4, 56, 67]
Generated Node #2: [4, 56, 67] from Operation: 82-15=67
Current State: 53:[4, 56, 67], Operations: ['82-15=67']
Exploring Operation: 56/4=14, Resulting Numbers: [67, 14]
Generated Node #3: [67, 14] from Operation: 56/4=14
Current State: 53:[67, 14], Operations: ['82-15=67', '56/4=14']
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[82, 4, 56, 15], Operations: []
Exploring Operation: 82-4=78, Resulting Numbers: [56, 15, 78]
Generated Node #0,0: 53:[56, 15, 78] Operation: 82-4=78
Exploring Operation: 4*15=60, Resulting Numbers: [82, 56, 60]
Generated Node #0,1: 53:[82, 56, 60] Operation: 4*15=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[82, 56, 60], Operations: ['4*15=60']
Exploring Operation: 82-60=22, Resulting Numbers: [56, 22]
Generated Node #0,1,0: 53:[56, 22] Operation: 82-60=22
Exploring Operation: 82-56=26, Resulting Numbers: [60, 26]
Generated Node #0,1,1: 53:[60, 26] Operation: 82-56=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[56, 22], Operations: ['4*15=60', '82-60=22']
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,53 unequal: No Solution
No 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: 53:[60, 26], Operations: ['4*15=60', '82-56=26']
Exploring Operation: 60+26=86, Resulting Numbers: [86]
86,53 unequal: No Solution
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,53 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: 53:[56, 15, 78], Operations: ['82-4=78']
Exploring Operation: 56-15=41, Resulting Numbers: [78, 41]
Generated Node #0,0,0: 53:[78, 41] Operation: 56-15=41
Exploring Operation: 78-15=63, Resulting Numbers: [56, 63]
Generated Node #0,0,1: 53:[56, 63] Operation: 78-15=63
Moving to Node #0,0,1
Current State: 53:[56, 63], Operations: ['82-4=78', '78-15=63']
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,53 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[78, 41], Operations: ['82-4=78', '56-15=41']
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 78+41=119, Resulting Numbers: [119]
119,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
41,
81,
68
] | 85 | [
"50*68=3400",
"81-41=40",
"3400/40=85"
] | Current State: 85:[50, 41, 81, 68], Operations: []
Exploring Operation: 50*68=3400, Resulting Numbers: [41, 81, 3400]
Generated Node #2: [41, 81, 3400] from Operation: 50*68=3400
Current State: 85:[41, 81, 3400], Operations: ['50*68=3400']
Exploring Operation: 81-41=40, Resulting Numbers: [3400, 40]
Generated Node #3: [3400, 40] from Operation: 81-41=40
Current State: 85:[3400, 40], Operations: ['50*68=3400', '81-41=40']
Exploring Operation: 3400/40=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[50, 41, 81, 68], Operations: []
Exploring Operation: 50+41=91, Resulting Numbers: [81, 68, 91]
Generated Node #0,0: 85:[81, 68, 91] Operation: 50+41=91
Exploring Operation: 68-41=27, Resulting Numbers: [50, 81, 27]
Generated Node #0,1: 85:[50, 81, 27] Operation: 68-41=27
Exploring Operation: 68-50=18, Resulting Numbers: [41, 81, 18]
Generated Node #0,2: 85:[41, 81, 18] Operation: 68-50=18
Exploring Operation: 50-41=9, Resulting Numbers: [81, 68, 9]
Generated Node #0,3: 85:[81, 68, 9] Operation: 50-41=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[81, 68, 9], Operations: ['50-41=9']
Exploring Operation: 81+9=90, Resulting Numbers: [68, 90]
Generated Node #0,3,0: 85:[68, 90] Operation: 81+9=90
Exploring Operation: 68+9=77, Resulting Numbers: [81, 77]
Generated Node #0,3,1: 85:[81, 77] Operation: 68+9=77
Exploring Operation: 81/9=9, Resulting Numbers: [68, 9]
Generated Node #0,3,2: 85:[68, 9] Operation: 81/9=9
Exploring Operation: 81-68=13, Resulting Numbers: [9, 13]
Generated Node #0,3,3: 85:[9, 13] Operation: 81-68=13
Moving to Node #0,3,3
Current State: 85:[9, 13], Operations: ['50-41=9', '81-68=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,85 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[81, 77], Operations: ['50-41=9', '68+9=77']
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 81+77=158, Resulting Numbers: [158]
158,85 unequal: No Solution
Exploring Operation: 81*77=6237, Resulting Numbers: [6237]
6237,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[68, 9], Operations: ['50-41=9', '81/9=9']
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,85 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[68, 90], Operations: ['50-41=9', '81+9=90']
Exploring Operation: 68*90=6120, Resulting Numbers: [6120]
6120,85 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 68+90=158, Resulting Numbers: [158]
158,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,0
Current State: 85:[81, 68, 91], Operations: ['50+41=91']
Exploring Operation: 81-68=13, Resulting Numbers: [91, 13]
Generated Node #0,0,0: 85:[91, 13] Operation: 81-68=13
Exploring Operation: 91-68=23, Resulting Numbers: [81, 23]
Generated Node #0,0,1: 85:[81, 23] Operation: 91-68=23
Exploring Operation: 81+68=149, Resulting Numbers: [91, 149]
Generated Node #0,0,2: 85:[91, 149] Operation: 81+68=149
Exploring Operation: 91-81=10, Resulting Numbers: [68, 10]
Generated Node #0,0,3: 85:[68, 10] Operation: 91-81=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[91, 13], Operations: ['50+41=91', '81-68=13']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 91+13=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 91*13=1183, Resulting Numbers: [1183]
1183,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:[81, 23], Operations: ['50+41=91', '91-68=23']
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,85 unequal: No Solution
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,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:[68, 10], Operations: ['50+41=91', '91-81=10']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,85 unequal: No Solution
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 68*10=680, Resulting Numbers: [680]
680,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,2
Current State: 85:[91, 149], Operations: ['50+41=91', '81+68=149']
Exploring Operation: 91*149=13559, Resulting Numbers: [13559]
13559,85 unequal: No Solution
Exploring Operation: 91+149=240, Resulting Numbers: [240]
240,85 unequal: No Solution
Exploring Operation: 149-91=58, Resulting Numbers: [58]
58,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,2
Current State: 85:[41, 81, 18], Operations: ['68-50=18']
Exploring Operation: 41-18=23, Resulting Numbers: [81, 23]
Generated Node #0,2,0: 85:[81, 23] Operation: 41-18=23
Exploring Operation: 41+81=122, Resulting Numbers: [18, 122]
Generated Node #0,2,1: 85:[18, 122] Operation: 41+81=122
Exploring Operation: 81-41=40, Resulting Numbers: [18, 40]
Generated Node #0,2,2: 85:[18, 40] Operation: 81-41=40
Exploring Operation: 41+18=59, Resulting Numbers: [81, 59]
Generated Node #0,2,3: 85:[81, 59] Operation: 41+18=59
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 85:[81, 23], Operations: ['68-50=18', '41-18=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,85 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,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,2,2
Current State: 85:[18, 40], Operations: ['68-50=18', '81-41=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,85 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,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,2,3
Current State: 85:[81, 59], Operations: ['68-50=18', '41+18=59']
Exploring Operation: 81+59=140, Resulting Numbers: [140]
140,85 unequal: No Solution
Exploring Operation: 81-59=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 81*59=4779, Resulting Numbers: [4779]
4779,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,2,1
Current State: 85:[18, 122], Operations: ['68-50=18', '41+81=122']
Exploring Operation: 18*122=2196, Resulting Numbers: [2196]
2196,85 unequal: No Solution
Exploring Operation: 122-18=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 18+122=140, Resulting Numbers: [140]
140,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,1
Current State: 85:[50, 81, 27], Operations: ['68-41=27']
Exploring Operation: 81/27=3, Resulting Numbers: [50, 3]
Generated Node #0,1,0: 85:[50, 3] Operation: 81/27=3
Exploring Operation: 50-27=23, Resulting Numbers: [81, 23]
Generated Node #0,1,1: 85:[81, 23] Operation: 50-27=23
Exploring Operation: 50+27=77, Resulting Numbers: [81, 77]
Generated Node #0,1,2: 85:[81, 77] Operation: 50+27=77
Exploring Operation: 81-50=31, Resulting Numbers: [27, 31]
Generated Node #0,1,3: 85:[27, 31] Operation: 81-50=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[81, 23], Operations: ['68-41=27', '50-27=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,85 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,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,1,2
Current State: 85:[81, 77], Operations: ['68-41=27', '50+27=77']
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 81+77=158, Resulting Numbers: [158]
158,85 unequal: No Solution
Exploring Operation: 81*77=6237, Resulting Numbers: [6237]
6237,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,1,3
Current State: 85:[27, 31], Operations: ['68-41=27', '81-50=31']
Exploring Operation: 27*31=837, Resulting Numbers: [837]
837,85 unequal: No Solution
Exploring Operation: 27+31=58, Resulting Numbers: [58]
58,85 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,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,1,0
Current State: 85:[50, 3], Operations: ['68-41=27', '81/27=3']
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,85 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,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_4 | mult_heuristic |
[
10,
54,
82,
52
] | 62 | [
"54-52=2",
"10*2=20",
"82-20=62"
] | Current State: 62:[10, 54, 82, 52], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [10, 82, 2]
Generated Node #2: [10, 82, 2] from Operation: 54-52=2
Current State: 62:[10, 82, 2], Operations: ['54-52=2']
Exploring Operation: 10*2=20, Resulting Numbers: [82, 20]
Generated Node #3: [82, 20] from Operation: 10*2=20
Current State: 62:[82, 20], Operations: ['54-52=2', '10*2=20']
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[10, 54, 82, 52], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [10, 54, 30]
Generated Node #0,0: 62:[10, 54, 30] Operation: 82-52=30
Exploring Operation: 82-54=28, Resulting Numbers: [10, 52, 28]
Generated Node #0,1: 62:[10, 52, 28] Operation: 82-54=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[10, 54, 30], Operations: ['82-52=30']
Exploring Operation: 10+54=64, Resulting Numbers: [30, 64]
Generated Node #0,0,0: 62:[30, 64] Operation: 10+54=64
Exploring Operation: 30/10=3, Resulting Numbers: [54, 3]
Generated Node #0,0,1: 62:[54, 3] Operation: 30/10=3
Moving to Node #0,0,0
Current State: 62:[30, 64], Operations: ['82-52=30', '10+54=64']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 30+64=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[54, 3], Operations: ['82-52=30', '30/10=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[10, 52, 28], Operations: ['82-54=28']
Exploring Operation: 10+52=62, Resulting Numbers: [28, 62]
Generated Node #0,1,0: 62:[28, 62] Operation: 10+52=62
Exploring Operation: 52-10=42, Resulting Numbers: [28, 42]
Generated Node #0,1,1: 62:[28, 42] Operation: 52-10=42
Moving to Node #0,1,0
Current State: 62:[28, 62], Operations: ['82-54=28', '10+52=62']
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[28, 42], Operations: ['82-54=28', '52-10=42']
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,62 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
3,
84,
14,
23
] | 14 | [
"3+14=17",
"23-17=6",
"84/6=14"
] | Current State: 14:[3, 84, 14, 23], Operations: []
Exploring Operation: 3+14=17, Resulting Numbers: [84, 23, 17]
Generated Node #2: [84, 23, 17] from Operation: 3+14=17
Current State: 14:[84, 23, 17], Operations: ['3+14=17']
Exploring Operation: 23-17=6, Resulting Numbers: [84, 6]
Generated Node #3: [84, 6] from Operation: 23-17=6
Current State: 14:[84, 6], Operations: ['3+14=17', '23-17=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[3, 84, 14, 23], Operations: []
Exploring Operation: 84-23=61, Resulting Numbers: [3, 14, 61]
Generated Node #0,0: 14:[3, 14, 61] Operation: 84-23=61
Exploring Operation: 84/3=28, Resulting Numbers: [14, 23, 28]
Generated Node #0,1: 14:[14, 23, 28] Operation: 84/3=28
Exploring Operation: 84-14=70, Resulting Numbers: [3, 23, 70]
Generated Node #0,2: 14:[3, 23, 70] Operation: 84-14=70
Exploring Operation: 84/14=6, Resulting Numbers: [3, 23, 6]
Generated Node #0,3: 14:[3, 23, 6] Operation: 84/14=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[3, 23, 6], Operations: ['84/14=6']
Exploring Operation: 23-3=20, Resulting Numbers: [6, 20]
Generated Node #0,3,0: 14:[6, 20] Operation: 23-3=20
Exploring Operation: 6-3=3, Resulting Numbers: [23, 3]
Generated Node #0,3,1: 14:[23, 3] Operation: 6-3=3
Exploring Operation: 23-6=17, Resulting Numbers: [3, 17]
Generated Node #0,3,2: 14:[3, 17] Operation: 23-6=17
Exploring Operation: 6/3=2, Resulting Numbers: [23, 2]
Generated Node #0,3,3: 14:[23, 2] Operation: 6/3=2
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 14:[3, 17], Operations: ['84/14=6', '23-6=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[3, 84, 14, 23], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [3, 23, 6]
Generated Node #0,3: 14:[3, 23, 6] Operation: 84/14=6
Moving to Node #0,3
Current State: 14:[3, 23, 6], Operations: ['84/14=6']
Exploring Operation: 23-6=17, Resulting Numbers: [3, 17]
Generated Node #0,3,2: 14:[3, 17] Operation: 23-6=17
Moving to Node #0,3,2
Current State: 14:[3, 17], Operations: ['84/14=6', '23-6=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
78,
33,
2,
12
] | 39 | [
"78-33=45",
"12/2=6",
"45-6=39"
] | Current State: 39:[78, 33, 2, 12], Operations: []
Exploring Operation: 78-33=45, Resulting Numbers: [2, 12, 45]
Generated Node #2: [2, 12, 45] from Operation: 78-33=45
Current State: 39:[2, 12, 45], Operations: ['78-33=45']
Exploring Operation: 12/2=6, Resulting Numbers: [45, 6]
Generated Node #3: [45, 6] from Operation: 12/2=6
Current State: 39:[45, 6], Operations: ['78-33=45', '12/2=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[78, 33, 2, 12], Operations: []
Exploring Operation: 78/2=39, Resulting Numbers: [33, 12, 39]
Generated Node #0,0: 39:[33, 12, 39] Operation: 78/2=39
Exploring Operation: 78-33=45, Resulting Numbers: [2, 12, 45]
Generated Node #0,1: 39:[2, 12, 45] Operation: 78-33=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[33, 12, 39], Operations: ['78/2=39']
Exploring Operation: 39-33=6, Resulting Numbers: [12, 6]
Generated Node #0,0,0: 39:[12, 6] Operation: 39-33=6
Exploring Operation: 33+12=45, Resulting Numbers: [39, 45]
Generated Node #0,0,1: 39:[39, 45] Operation: 33+12=45
Moving to Node #0,0,0
Current State: 39:[12, 6], Operations: ['78/2=39', '39-33=6']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[39, 45], Operations: ['78/2=39', '33+12=45']
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[2, 12, 45], Operations: ['78-33=45']
Exploring Operation: 45-2=43, Resulting Numbers: [12, 43]
Generated Node #0,1,0: 39:[12, 43] Operation: 45-2=43
Exploring Operation: 2+12=14, Resulting Numbers: [45, 14]
Generated Node #0,1,1: 39:[45, 14] Operation: 2+12=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[12, 43], Operations: ['78-33=45', '45-2=43']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,39 unequal: No Solution
No 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: 39:[45, 14], Operations: ['78-33=45', '2+12=14']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,39 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 |
[
17,
21,
21,
19
] | 17 | [
"21-21=0",
"19*0=0",
"17+0=17"
] | Current State: 17:[17, 21, 21, 19], Operations: []
Exploring Operation: 21-21=0, Resulting Numbers: [17, 19, 0]
Generated Node #2: [17, 19, 0] from Operation: 21-21=0
Current State: 17:[17, 19, 0], Operations: ['21-21=0']
Exploring Operation: 19*0=0, Resulting Numbers: [17, 0]
Generated Node #3: [17, 0] from Operation: 19*0=0
Current State: 17:[17, 0], Operations: ['21-21=0', '19*0=0']
Exploring Operation: 17+0=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[17, 21, 21, 19], Operations: []
Exploring Operation: 21-17=4, Resulting Numbers: [21, 19, 4]
Generated Node #0,0: 17:[21, 19, 4] Operation: 21-17=4
Exploring Operation: 21/21=1, Resulting Numbers: [17, 19, 1]
Generated Node #0,1: 17:[17, 19, 1] Operation: 21/21=1
Exploring Operation: 21-17=4, Resulting Numbers: [21, 19, 4]
Generated Node #0,2: 17:[21, 19, 4] Operation: 21-17=4
Moving to Node #0,1
Current State: 17:[17, 19, 1], Operations: ['21/21=1']
Exploring Operation: 17*1=17, Resulting Numbers: [19, 17]
Generated Node #0,1,0: 17:[19, 17] Operation: 17*1=17
Exploring Operation: 17/1=17, Resulting Numbers: [19, 17]
Generated Node #0,1,1: 17:[19, 17] Operation: 17/1=17
Exploring Operation: 19-1=18, Resulting Numbers: [17, 18]
Generated Node #0,1,2: 17:[17, 18] Operation: 19-1=18
Moving to Node #0,0
Current State: 17:[21, 19, 4], Operations: ['21-17=4']
Exploring Operation: 21+4=25, Resulting Numbers: [19, 25]
Generated Node #0,0,0: 17:[19, 25] Operation: 21+4=25
Exploring Operation: 21-4=17, Resulting Numbers: [19, 17]
Generated Node #0,0,1: 17:[19, 17] Operation: 21-4=17
Exploring Operation: 19-4=15, Resulting Numbers: [21, 15]
Generated Node #0,0,2: 17:[21, 15] Operation: 19-4=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[19, 17], Operations: ['21-17=4', '21-4=17']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,17 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,17 unequal: No Solution
No 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: 17:[21, 15], Operations: ['21-17=4', '19-4=15']
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,17 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,17 unequal: No Solution
No 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: 17:[19, 25], Operations: ['21-17=4', '21+4=25']
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,17 unequal: No Solution
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,17 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: 17:[21, 19, 4], Operations: ['21-17=4']
Exploring Operation: 19-4=15, Resulting Numbers: [21, 15]
Generated Node #0,2,0: 17:[21, 15] Operation: 19-4=15
Exploring Operation: 21-4=17, Resulting Numbers: [19, 17]
Generated Node #0,2,1: 17:[19, 17] Operation: 21-4=17
Exploring Operation: 21+4=25, Resulting Numbers: [19, 25]
Generated Node #0,2,2: 17:[19, 25] Operation: 21+4=25
Moving to Node #0,1,2
Current State: 17:[17, 18], Operations: ['21/21=1', '19-1=18']
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,17 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[19, 17], Operations: ['21/21=1', '17/1=17']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[19, 17], Operations: ['21/21=1', '17*1=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[19, 17], Operations: ['21-17=4', '21-4=17']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,17 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[21, 15], Operations: ['21-17=4', '19-4=15']
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,17 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[19, 25], Operations: ['21-17=4', '21+4=25']
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,17 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,17 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
80,
8,
61,
54
] | 79 | [
"80-8=72",
"61-54=7",
"72+7=79"
] | Current State: 79:[80, 8, 61, 54], Operations: []
Exploring Operation: 80-8=72, Resulting Numbers: [61, 54, 72]
Generated Node #2: [61, 54, 72] from Operation: 80-8=72
Current State: 79:[61, 54, 72], Operations: ['80-8=72']
Exploring Operation: 61-54=7, Resulting Numbers: [72, 7]
Generated Node #3: [72, 7] from Operation: 61-54=7
Current State: 79:[72, 7], Operations: ['80-8=72', '61-54=7']
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[80, 8, 61, 54], Operations: []
Exploring Operation: 8+54=62, Resulting Numbers: [80, 61, 62]
Generated Node #0,0: 79:[80, 61, 62] Operation: 8+54=62
Exploring Operation: 8+61=69, Resulting Numbers: [80, 54, 69]
Generated Node #0,1: 79:[80, 54, 69] Operation: 8+61=69
Moving to Node #0,0
Current State: 79:[80, 61, 62], Operations: ['8+54=62']
Exploring Operation: 80-61=19, Resulting Numbers: [62, 19]
Generated Node #0,0,0: 79:[62, 19] Operation: 80-61=19
Exploring Operation: 61+62=123, Resulting Numbers: [80, 123]
Generated Node #0,0,1: 79:[80, 123] Operation: 61+62=123
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[80, 123], Operations: ['8+54=62', '61+62=123']
Exploring Operation: 123-80=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 80+123=203, Resulting Numbers: [203]
203,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[62, 19], Operations: ['8+54=62', '80-61=19']
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,79 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: 79:[80, 54, 69], Operations: ['8+61=69']
Exploring Operation: 80-54=26, Resulting Numbers: [69, 26]
Generated Node #0,1,0: 79:[69, 26] Operation: 80-54=26
Exploring Operation: 54+69=123, Resulting Numbers: [80, 123]
Generated Node #0,1,1: 79:[80, 123] Operation: 54+69=123
Moving to Node #0,1,1
Current State: 79:[80, 123], Operations: ['8+61=69', '54+69=123']
Exploring Operation: 123-80=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 80+123=203, Resulting Numbers: [203]
203,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[69, 26], Operations: ['8+61=69', '80-54=26']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,79 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
45,
41,
49,
39
] | 15 | [
"45-39=6",
"41+49=90",
"90/6=15"
] | Current State: 15:[45, 41, 49, 39], Operations: []
Exploring Operation: 45-39=6, Resulting Numbers: [41, 49, 6]
Generated Node #2: [41, 49, 6] from Operation: 45-39=6
Current State: 15:[41, 49, 6], Operations: ['45-39=6']
Exploring Operation: 41+49=90, Resulting Numbers: [6, 90]
Generated Node #3: [6, 90] from Operation: 41+49=90
Current State: 15:[6, 90], Operations: ['45-39=6', '41+49=90']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[45, 41, 49, 39], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [49, 39, 4]
Generated Node #0,0: 15:[49, 39, 4] Operation: 45-41=4
Exploring Operation: 49-41=8, Resulting Numbers: [45, 39, 8]
Generated Node #0,1: 15:[45, 39, 8] Operation: 49-41=8
Exploring Operation: 49-45=4, Resulting Numbers: [41, 39, 4]
Generated Node #0,2: 15:[41, 39, 4] Operation: 49-45=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[41, 39, 4], Operations: ['49-45=4']
Exploring Operation: 41-4=37, Resulting Numbers: [39, 37]
Generated Node #0,2,0: 15:[39, 37] Operation: 41-4=37
Exploring Operation: 41-39=2, Resulting Numbers: [4, 2]
Generated Node #0,2,1: 15:[4, 2] Operation: 41-39=2
Exploring Operation: 39-4=35, Resulting Numbers: [41, 35]
Generated Node #0,2,2: 15:[41, 35] Operation: 39-4=35
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[4, 2], Operations: ['49-45=4', '41-39=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No 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: 15:[39, 37], Operations: ['49-45=4', '41-4=37']
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,15 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No 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: 15:[41, 35], Operations: ['49-45=4', '39-4=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,15 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: 15:[45, 39, 8], Operations: ['49-41=8']
Exploring Operation: 45-39=6, Resulting Numbers: [8, 6]
Generated Node #0,1,0: 15:[8, 6] Operation: 45-39=6
Exploring Operation: 45-8=37, Resulting Numbers: [39, 37]
Generated Node #0,1,1: 15:[39, 37] Operation: 45-8=37
Exploring Operation: 39-8=31, Resulting Numbers: [45, 31]
Generated Node #0,1,2: 15:[45, 31] Operation: 39-8=31
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[8, 6], Operations: ['49-41=8', '45-39=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No 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: 15:[39, 37], Operations: ['49-41=8', '45-8=37']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,15 unequal: No Solution
No 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: 15:[45, 31], Operations: ['49-41=8', '39-8=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,15 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: 15:[49, 39, 4], Operations: ['45-41=4']
Exploring Operation: 49-39=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 15:[4, 10] Operation: 49-39=10
Exploring Operation: 39-4=35, Resulting Numbers: [49, 35]
Generated Node #0,0,1: 15:[49, 35] Operation: 39-4=35
Exploring Operation: 49-4=45, Resulting Numbers: [39, 45]
Generated Node #0,0,2: 15:[39, 45] Operation: 49-4=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[4, 10], Operations: ['45-41=4', '49-39=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,15 unequal: No Solution
No 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: 15:[49, 35], Operations: ['45-41=4', '39-4=35']
Exploring Operation: 49*35=1715, Resulting Numbers: [1715]
1715,15 unequal: No Solution
Exploring Operation: 49+35=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,15 unequal: No Solution
No 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: 15:[39, 45], Operations: ['45-41=4', '49-4=45']
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
96,
98,
46,
92
] | 62 | [
"98-92=6",
"96/6=16",
"46+16=62"
] | Current State: 62:[96, 98, 46, 92], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [96, 46, 6]
Generated Node #2: [96, 46, 6] from Operation: 98-92=6
Current State: 62:[96, 46, 6], Operations: ['98-92=6']
Exploring Operation: 96/6=16, Resulting Numbers: [46, 16]
Generated Node #3: [46, 16] from Operation: 96/6=16
Current State: 62:[46, 16], Operations: ['98-92=6', '96/6=16']
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[96, 98, 46, 92], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [98, 46, 4]
Generated Node #0,0: 62:[98, 46, 4] Operation: 96-92=4
Exploring Operation: 98-96=2, Resulting Numbers: [46, 92, 2]
Generated Node #0,1: 62:[46, 92, 2] Operation: 98-96=2
Exploring Operation: 98-92=6, Resulting Numbers: [96, 46, 6]
Generated Node #0,2: 62:[96, 46, 6] Operation: 98-92=6
Moving to Node #0,1
Current State: 62:[46, 92, 2], Operations: ['98-96=2']
Exploring Operation: 92/46=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 62:[2, 2] Operation: 92/46=2
Exploring Operation: 92-46=46, Resulting Numbers: [2, 46]
Generated Node #0,1,1: 62:[2, 46] Operation: 92-46=46
Exploring Operation: 92/2=46, Resulting Numbers: [46, 46]
Generated Node #0,1,2: 62:[46, 46] Operation: 92/2=46
Moving to Node #0,0
Current State: 62:[98, 46, 4], Operations: ['96-92=4']
Exploring Operation: 46-4=42, Resulting Numbers: [98, 42]
Generated Node #0,0,0: 62:[98, 42] Operation: 46-4=42
Exploring Operation: 98-4=94, Resulting Numbers: [46, 94]
Generated Node #0,0,1: 62:[46, 94] Operation: 98-4=94
Exploring Operation: 98-46=52, Resulting Numbers: [4, 52]
Generated Node #0,0,2: 62:[4, 52] Operation: 98-46=52
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[4, 52], Operations: ['96-92=4', '98-46=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[98, 42], Operations: ['96-92=4', '46-4=42']
Exploring Operation: 98+42=140, Resulting Numbers: [140]
140,62 unequal: No Solution
Exploring Operation: 98-42=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 98*42=4116, Resulting Numbers: [4116]
4116,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[46, 94], Operations: ['96-92=4', '98-4=94']
Exploring Operation: 46*94=4324, Resulting Numbers: [4324]
4324,62 unequal: No Solution
Exploring Operation: 46+94=140, Resulting Numbers: [140]
140,62 unequal: No Solution
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,62 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: 62:[96, 46, 6], Operations: ['98-92=6']
Exploring Operation: 96/6=16, Resulting Numbers: [46, 16]
Generated Node #0,2,0: 62:[46, 16] Operation: 96/6=16
Exploring Operation: 96-46=50, Resulting Numbers: [6, 50]
Generated Node #0,2,1: 62:[6, 50] Operation: 96-46=50
Exploring Operation: 96-6=90, Resulting Numbers: [46, 90]
Generated Node #0,2,2: 62:[46, 90] Operation: 96-6=90
Moving to Node #0,1,0
Current State: 62:[2, 2], Operations: ['98-96=2', '92/46=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[2, 46], Operations: ['98-96=2', '92-46=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[6, 50], Operations: ['98-92=6', '96-46=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[46, 16], Operations: ['98-92=6', '96/6=16']
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[96, 98, 46, 92], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [96, 46, 6]
Generated Node #0,2: 62:[96, 46, 6] Operation: 98-92=6
Moving to Node #0,2
Current State: 62:[96, 46, 6], Operations: ['98-92=6']
Exploring Operation: 96/6=16, Resulting Numbers: [46, 16]
Generated Node #0,2,0: 62:[46, 16] Operation: 96/6=16
Moving to Node #0,2,0
Current State: 62:[46, 16], Operations: ['98-92=6', '96/6=16']
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.969618 | hs_3 | sum_heuristic |
[
15,
52,
82,
62
] | 64 | [
"82-52=30",
"30/15=2",
"62+2=64"
] | Current State: 64:[15, 52, 82, 62], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [15, 62, 30]
Generated Node #2: [15, 62, 30] from Operation: 82-52=30
Current State: 64:[15, 62, 30], Operations: ['82-52=30']
Exploring Operation: 30/15=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 30/15=2
Current State: 64:[62, 2], Operations: ['82-52=30', '30/15=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[15, 52, 82, 62], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [15, 62, 30]
Generated Node #0,0: 64:[15, 62, 30] Operation: 82-52=30
Exploring Operation: 82-15=67, Resulting Numbers: [52, 62, 67]
Generated Node #0,1: 64:[52, 62, 67] Operation: 82-15=67
Moving to Node #0,0
Current State: 64:[15, 62, 30], Operations: ['82-52=30']
Exploring Operation: 30/15=2, Resulting Numbers: [62, 2]
Generated Node #0,0,0: 64:[62, 2] Operation: 30/15=2
Exploring Operation: 62-30=32, Resulting Numbers: [15, 32]
Generated Node #0,0,1: 64:[15, 32] Operation: 62-30=32
Moving to Node #0,1
Current State: 64:[52, 62, 67], Operations: ['82-15=67']
Exploring Operation: 67-52=15, Resulting Numbers: [62, 15]
Generated Node #0,1,0: 64:[62, 15] Operation: 67-52=15
Exploring Operation: 62-52=10, Resulting Numbers: [67, 10]
Generated Node #0,1,1: 64:[67, 10] Operation: 62-52=10
Moving to Node #0,0,1
Current State: 64:[15, 32], Operations: ['82-52=30', '62-30=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[62, 2], Operations: ['82-52=30', '30/15=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[15, 52, 82, 62], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [15, 62, 30]
Generated Node #0,0: 64:[15, 62, 30] Operation: 82-52=30
Moving to Node #0,0
Current State: 64:[15, 62, 30], Operations: ['82-52=30']
Exploring Operation: 30/15=2, Resulting Numbers: [62, 2]
Generated Node #0,0,0: 64:[62, 2] Operation: 30/15=2
Moving to Node #0,0,0
Current State: 64:[62, 2], Operations: ['82-52=30', '30/15=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
31,
45,
36,
44
] | 84 | [
"31+45=76",
"44-36=8",
"76+8=84"
] | Current State: 84:[31, 45, 36, 44], Operations: []
Exploring Operation: 31+45=76, Resulting Numbers: [36, 44, 76]
Generated Node #2: [36, 44, 76] from Operation: 31+45=76
Current State: 84:[36, 44, 76], Operations: ['31+45=76']
Exploring Operation: 44-36=8, Resulting Numbers: [76, 8]
Generated Node #3: [76, 8] from Operation: 44-36=8
Current State: 84:[76, 8], Operations: ['31+45=76', '44-36=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[31, 45, 36, 44], Operations: []
Exploring Operation: 45+36=81, Resulting Numbers: [31, 44, 81]
Generated Node #0,0: 84:[31, 44, 81] Operation: 45+36=81
Exploring Operation: 45-31=14, Resulting Numbers: [36, 44, 14]
Generated Node #0,1: 84:[36, 44, 14] Operation: 45-31=14
Exploring Operation: 36-31=5, Resulting Numbers: [45, 44, 5]
Generated Node #0,2: 84:[45, 44, 5] Operation: 36-31=5
Exploring Operation: 45-36=9, Resulting Numbers: [31, 44, 9]
Generated Node #0,3: 84:[31, 44, 9] Operation: 45-36=9
Exploring Operation: 44-36=8, Resulting Numbers: [31, 45, 8]
Generated Node #0,4: 84:[31, 45, 8] Operation: 44-36=8
Moving to Node #0,2
Current State: 84:[45, 44, 5], Operations: ['36-31=5']
Exploring Operation: 45-5=40, Resulting Numbers: [44, 40]
Generated Node #0,2,0: 84:[44, 40] Operation: 45-5=40
Exploring Operation: 45-44=1, Resulting Numbers: [5, 1]
Generated Node #0,2,1: 84:[5, 1] Operation: 45-44=1
Exploring Operation: 45/5=9, Resulting Numbers: [44, 9]
Generated Node #0,2,2: 84:[44, 9] Operation: 45/5=9
Exploring Operation: 45+44=89, Resulting Numbers: [5, 89]
Generated Node #0,2,3: 84:[5, 89] Operation: 45+44=89
Exploring Operation: 44-5=39, Resulting Numbers: [45, 39]
Generated Node #0,2,4: 84:[45, 39] Operation: 44-5=39
Moving to Node #0,4
Current State: 84:[31, 45, 8], Operations: ['44-36=8']
Exploring Operation: 31+45=76, Resulting Numbers: [8, 76]
Generated Node #0,4,0: 84:[8, 76] Operation: 31+45=76
Exploring Operation: 31-8=23, Resulting Numbers: [45, 23]
Generated Node #0,4,1: 84:[45, 23] Operation: 31-8=23
Exploring Operation: 31+8=39, Resulting Numbers: [45, 39]
Generated Node #0,4,2: 84:[45, 39] Operation: 31+8=39
Exploring Operation: 45-31=14, Resulting Numbers: [8, 14]
Generated Node #0,4,3: 84:[8, 14] Operation: 45-31=14
Exploring Operation: 45-8=37, Resulting Numbers: [31, 37]
Generated Node #0,4,4: 84:[31, 37] Operation: 45-8=37
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 84:[8, 14], Operations: ['44-36=8', '45-31=14']
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,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,4,1
Current State: 84:[45, 23], Operations: ['44-36=8', '31-8=23']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,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,4,2
Current State: 84:[45, 39], Operations: ['44-36=8', '31+8=39']
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[31, 45, 36, 44], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [31, 45, 8]
Generated Node #0,4: 84:[31, 45, 8] Operation: 44-36=8
Moving to Node #0,4
Current State: 84:[31, 45, 8], Operations: ['44-36=8']
Exploring Operation: 31+8=39, Resulting Numbers: [45, 39]
Generated Node #0,4,2: 84:[45, 39] Operation: 31+8=39
Moving to Node #0,4,2
Current State: 84:[45, 39], Operations: ['44-36=8', '31+8=39']
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
14,
94,
50,
99
] | 41 | [
"14+94=108",
"50+99=149",
"149-108=41"
] | Current State: 41:[14, 94, 50, 99], Operations: []
Exploring Operation: 14+94=108, Resulting Numbers: [50, 99, 108]
Generated Node #2: [50, 99, 108] from Operation: 14+94=108
Current State: 41:[50, 99, 108], Operations: ['14+94=108']
Exploring Operation: 50+99=149, Resulting Numbers: [108, 149]
Generated Node #3: [108, 149] from Operation: 50+99=149
Current State: 41:[108, 149], Operations: ['14+94=108', '50+99=149']
Exploring Operation: 149-108=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[14, 94, 50, 99], Operations: []
Exploring Operation: 99-50=49, Resulting Numbers: [14, 94, 49]
Generated Node #0,0: 41:[14, 94, 49] Operation: 99-50=49
Exploring Operation: 94-50=44, Resulting Numbers: [14, 99, 44]
Generated Node #0,1: 41:[14, 99, 44] Operation: 94-50=44
Exploring Operation: 99-94=5, Resulting Numbers: [14, 50, 5]
Generated Node #0,2: 41:[14, 50, 5] Operation: 99-94=5
Exploring Operation: 94-14=80, Resulting Numbers: [50, 99, 80]
Generated Node #0,3: 41:[50, 99, 80] Operation: 94-14=80
Moving to Node #0,2
Current State: 41:[14, 50, 5], Operations: ['99-94=5']
Exploring Operation: 14+5=19, Resulting Numbers: [50, 19]
Generated Node #0,2,0: 41:[50, 19] Operation: 14+5=19
Exploring Operation: 14*5=70, Resulting Numbers: [50, 70]
Generated Node #0,2,1: 41:[50, 70] Operation: 14*5=70
Exploring Operation: 50-14=36, Resulting Numbers: [5, 36]
Generated Node #0,2,2: 41:[5, 36] Operation: 50-14=36
Exploring Operation: 50-5=45, Resulting Numbers: [14, 45]
Generated Node #0,2,3: 41:[14, 45] Operation: 50-5=45
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[50, 19], Operations: ['99-94=5', '14+5=19']
Exploring Operation: 50+19=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 50*19=950, Resulting Numbers: [950]
950,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,2,3
Current State: 41:[14, 45], Operations: ['99-94=5', '50-5=45']
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,41 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,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,2,1
Current State: 41:[50, 70], Operations: ['99-94=5', '14*5=70']
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 50*70=3500, Resulting Numbers: [3500]
3500,41 unequal: No Solution
Exploring Operation: 50+70=120, Resulting Numbers: [120]
120,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,2,2
Current State: 41:[5, 36], Operations: ['99-94=5', '50-14=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,41 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[14, 94, 50, 99], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [14, 50, 5]
Generated Node #0,2: 41:[14, 50, 5] Operation: 99-94=5
Moving to Node #0,2
Current State: 41:[14, 50, 5], Operations: ['99-94=5']
Exploring Operation: 50-14=36, Resulting Numbers: [5, 36]
Generated Node #0,2,2: 41:[5, 36] Operation: 50-14=36
Moving to Node #0,2,2
Current State: 41:[5, 36], Operations: ['99-94=5', '50-14=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
56,
87,
38,
67
] | 59 | [
"67-38=29",
"87/29=3",
"56+3=59"
] | Current State: 59:[56, 87, 38, 67], Operations: []
Exploring Operation: 67-38=29, Resulting Numbers: [56, 87, 29]
Generated Node #2: [56, 87, 29] from Operation: 67-38=29
Current State: 59:[56, 87, 29], Operations: ['67-38=29']
Exploring Operation: 87/29=3, Resulting Numbers: [56, 3]
Generated Node #3: [56, 3] from Operation: 87/29=3
Current State: 59:[56, 3], Operations: ['67-38=29', '87/29=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[56, 87, 38, 67], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [56, 38, 20]
Generated Node #0,0: 59:[56, 38, 20] Operation: 87-67=20
Exploring Operation: 87-56=31, Resulting Numbers: [38, 67, 31]
Generated Node #0,1: 59:[38, 67, 31] Operation: 87-56=31
Exploring Operation: 87-38=49, Resulting Numbers: [56, 67, 49]
Generated Node #0,2: 59:[56, 67, 49] Operation: 87-38=49
Exploring Operation: 56+38=94, Resulting Numbers: [87, 67, 94]
Generated Node #0,3: 59:[87, 67, 94] Operation: 56+38=94
Exploring Operation: 67-38=29, Resulting Numbers: [56, 87, 29]
Generated Node #0,4: 59:[56, 87, 29] Operation: 67-38=29
Moving to Node #0,2
Current State: 59:[56, 67, 49], Operations: ['87-38=49']
Exploring Operation: 67-49=18, Resulting Numbers: [56, 18]
Generated Node #0,2,0: 59:[56, 18] Operation: 67-49=18
Exploring Operation: 67+49=116, Resulting Numbers: [56, 116]
Generated Node #0,2,1: 59:[56, 116] Operation: 67+49=116
Exploring Operation: 56+49=105, Resulting Numbers: [67, 105]
Generated Node #0,2,2: 59:[67, 105] Operation: 56+49=105
Exploring Operation: 56-49=7, Resulting Numbers: [67, 7]
Generated Node #0,2,3: 59:[67, 7] Operation: 56-49=7
Exploring Operation: 67-56=11, Resulting Numbers: [49, 11]
Generated Node #0,2,4: 59:[49, 11] Operation: 67-56=11
Moving to Node #0,1
Current State: 59:[38, 67, 31], Operations: ['87-56=31']
Exploring Operation: 38-31=7, Resulting Numbers: [67, 7]
Generated Node #0,1,0: 59:[67, 7] Operation: 38-31=7
Exploring Operation: 67-31=36, Resulting Numbers: [38, 36]
Generated Node #0,1,1: 59:[38, 36] Operation: 67-31=36
Exploring Operation: 67+31=98, Resulting Numbers: [38, 98]
Generated Node #0,1,2: 59:[38, 98] Operation: 67+31=98
Exploring Operation: 67-38=29, Resulting Numbers: [31, 29]
Generated Node #0,1,3: 59:[31, 29] Operation: 67-38=29
Exploring Operation: 38+31=69, Resulting Numbers: [67, 69]
Generated Node #0,1,4: 59:[67, 69] Operation: 38+31=69
Moving to Node #0,4
Current State: 59:[56, 87, 29], Operations: ['67-38=29']
Exploring Operation: 56-29=27, Resulting Numbers: [87, 27]
Generated Node #0,4,0: 59:[87, 27] Operation: 56-29=27
Exploring Operation: 56+29=85, Resulting Numbers: [87, 85]
Generated Node #0,4,1: 59:[87, 85] Operation: 56+29=85
Exploring Operation: 87-29=58, Resulting Numbers: [56, 58]
Generated Node #0,4,2: 59:[56, 58] Operation: 87-29=58
Exploring Operation: 87/29=3, Resulting Numbers: [56, 3]
Generated Node #0,4,3: 59:[56, 3] Operation: 87/29=3
Exploring Operation: 87-56=31, Resulting Numbers: [29, 31]
Generated Node #0,4,4: 59:[29, 31] Operation: 87-56=31
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 59:[56, 58], Operations: ['67-38=29', '87-29=58']
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,59 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 59:[87, 85], Operations: ['67-38=29', '56+29=85']
Exploring Operation: 87*85=7395, Resulting Numbers: [7395]
7395,59 unequal: No Solution
Exploring Operation: 87+85=172, Resulting Numbers: [172]
172,59 unequal: No Solution
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 59:[29, 31], Operations: ['67-38=29', '87-56=31']
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,59 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,59 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 59:[56, 3], Operations: ['67-38=29', '87/29=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,59 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[56, 87, 38, 67], Operations: []
Exploring Operation: 67-38=29, Resulting Numbers: [56, 87, 29]
Generated Node #0,4: 59:[56, 87, 29] Operation: 67-38=29
Moving to Node #0,4
Current State: 59:[56, 87, 29], Operations: ['67-38=29']
Exploring Operation: 87/29=3, Resulting Numbers: [56, 3]
Generated Node #0,4,3: 59:[56, 3] Operation: 87/29=3
Moving to Node #0,4,3
Current State: 59:[56, 3], Operations: ['67-38=29', '87/29=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
1,
68,
44,
6
] | 19 | [
"1+68=69",
"44+6=50",
"69-50=19"
] | Current State: 19:[1, 68, 44, 6], Operations: []
Exploring Operation: 1+68=69, Resulting Numbers: [44, 6, 69]
Generated Node #2: [44, 6, 69] from Operation: 1+68=69
Current State: 19:[44, 6, 69], Operations: ['1+68=69']
Exploring Operation: 44+6=50, Resulting Numbers: [69, 50]
Generated Node #3: [69, 50] from Operation: 44+6=50
Current State: 19:[69, 50], Operations: ['1+68=69', '44+6=50']
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[1, 68, 44, 6], Operations: []
Exploring Operation: 68-44=24, Resulting Numbers: [1, 6, 24]
Generated Node #0,0: 19:[1, 6, 24] Operation: 68-44=24
Exploring Operation: 68-1=67, Resulting Numbers: [44, 6, 67]
Generated Node #0,1: 19:[44, 6, 67] Operation: 68-1=67
Exploring Operation: 44-1=43, Resulting Numbers: [68, 6, 43]
Generated Node #0,2: 19:[68, 6, 43] Operation: 44-1=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[1, 6, 24], Operations: ['68-44=24']
Exploring Operation: 24-1=23, Resulting Numbers: [6, 23]
Generated Node #0,0,0: 19:[6, 23] Operation: 24-1=23
Exploring Operation: 1*6=6, Resulting Numbers: [24, 6]
Generated Node #0,0,1: 19:[24, 6] Operation: 1*6=6
Exploring Operation: 1+6=7, Resulting Numbers: [24, 7]
Generated Node #0,0,2: 19:[24, 7] Operation: 1+6=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[6, 23], Operations: ['68-44=24', '24-1=23']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,19 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,19 unequal: No Solution
No 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: 19:[24, 7], Operations: ['68-44=24', '1+6=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,19 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,19 unequal: No Solution
No 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: 19:[24, 6], Operations: ['68-44=24', '1*6=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,19 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: 19:[44, 6, 67], Operations: ['68-1=67']
Exploring Operation: 67-6=61, Resulting Numbers: [44, 61]
Generated Node #0,1,0: 19:[44, 61] Operation: 67-6=61
Exploring Operation: 44-6=38, Resulting Numbers: [67, 38]
Generated Node #0,1,1: 19:[67, 38] Operation: 44-6=38
Exploring Operation: 67-44=23, Resulting Numbers: [6, 23]
Generated Node #0,1,2: 19:[6, 23] Operation: 67-44=23
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 19:[6, 23], Operations: ['68-1=67', '67-44=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,19 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No 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: 19:[44, 61], Operations: ['68-1=67', '67-6=61']
Exploring Operation: 44+61=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 44*61=2684, Resulting Numbers: [2684]
2684,19 unequal: No Solution
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No 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: 19:[67, 38], Operations: ['68-1=67', '44-6=38']
Exploring Operation: 67+38=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 67*38=2546, Resulting Numbers: [2546]
2546,19 unequal: No Solution
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,19 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: 19:[68, 6, 43], Operations: ['44-1=43']
Exploring Operation: 68-6=62, Resulting Numbers: [43, 62]
Generated Node #0,2,0: 19:[43, 62] Operation: 68-6=62
Exploring Operation: 68-43=25, Resulting Numbers: [6, 25]
Generated Node #0,2,1: 19:[6, 25] Operation: 68-43=25
Exploring Operation: 43-6=37, Resulting Numbers: [68, 37]
Generated Node #0,2,2: 19:[68, 37] Operation: 43-6=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 19:[6, 25], Operations: ['44-1=43', '68-43=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,19 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[1, 68, 44, 6], Operations: []
Exploring Operation: 44-1=43, Resulting Numbers: [68, 6, 43]
Generated Node #0,2: 19:[68, 6, 43] Operation: 44-1=43
Moving to Node #0,2
Current State: 19:[68, 6, 43], Operations: ['44-1=43']
Exploring Operation: 68-43=25, Resulting Numbers: [6, 25]
Generated Node #0,2,1: 19:[6, 25] Operation: 68-43=25
Moving to Node #0,2,1
Current State: 19:[6, 25], Operations: ['44-1=43', '68-43=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
88,
97,
65,
16
] | 79 | [
"97-88=9",
"16*9=144",
"144-65=79"
] | Current State: 79:[88, 97, 65, 16], Operations: []
Exploring Operation: 97-88=9, Resulting Numbers: [65, 16, 9]
Generated Node #2: [65, 16, 9] from Operation: 97-88=9
Current State: 79:[65, 16, 9], Operations: ['97-88=9']
Exploring Operation: 16*9=144, Resulting Numbers: [65, 144]
Generated Node #3: [65, 144] from Operation: 16*9=144
Current State: 79:[65, 144], Operations: ['97-88=9', '16*9=144']
Exploring Operation: 144-65=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[88, 97, 65, 16], Operations: []
Exploring Operation: 65+16=81, Resulting Numbers: [88, 97, 81]
Generated Node #0,0: 79:[88, 97, 81] Operation: 65+16=81
Exploring Operation: 97-16=81, Resulting Numbers: [88, 65, 81]
Generated Node #0,1: 79:[88, 65, 81] Operation: 97-16=81
Exploring Operation: 88-16=72, Resulting Numbers: [97, 65, 72]
Generated Node #0,2: 79:[97, 65, 72] Operation: 88-16=72
Moving to Node #0,1
Current State: 79:[88, 65, 81], Operations: ['97-16=81']
Exploring Operation: 88+65=153, Resulting Numbers: [81, 153]
Generated Node #0,1,0: 79:[81, 153] Operation: 88+65=153
Exploring Operation: 81-65=16, Resulting Numbers: [88, 16]
Generated Node #0,1,1: 79:[88, 16] Operation: 81-65=16
Exploring Operation: 88-65=23, Resulting Numbers: [81, 23]
Generated Node #0,1,2: 79:[81, 23] Operation: 88-65=23
Moving to Node #0,0
Current State: 79:[88, 97, 81], Operations: ['65+16=81']
Exploring Operation: 97-88=9, Resulting Numbers: [81, 9]
Generated Node #0,0,0: 79:[81, 9] Operation: 97-88=9
Exploring Operation: 88-81=7, Resulting Numbers: [97, 7]
Generated Node #0,0,1: 79:[97, 7] Operation: 88-81=7
Exploring Operation: 97-81=16, Resulting Numbers: [88, 16]
Generated Node #0,0,2: 79:[88, 16] Operation: 97-81=16
Moving to Node #0,2
Current State: 79:[97, 65, 72], Operations: ['88-16=72']
Exploring Operation: 97-65=32, Resulting Numbers: [72, 32]
Generated Node #0,2,0: 79:[72, 32] Operation: 97-65=32
Exploring Operation: 97-72=25, Resulting Numbers: [65, 25]
Generated Node #0,2,1: 79:[65, 25] Operation: 97-72=25
Exploring Operation: 65+72=137, Resulting Numbers: [97, 137]
Generated Node #0,2,2: 79:[97, 137] Operation: 65+72=137
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[72, 32], Operations: ['88-16=72', '97-65=32']
Exploring Operation: 72*32=2304, Resulting Numbers: [2304]
2304,79 unequal: No Solution
Exploring Operation: 72+32=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[65, 25], Operations: ['88-16=72', '97-72=25']
Exploring Operation: 65*25=1625, Resulting Numbers: [1625]
1625,79 unequal: No Solution
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[97, 137], Operations: ['88-16=72', '65+72=137']
Exploring Operation: 97+137=234, Resulting Numbers: [234]
234,79 unequal: No Solution
Exploring Operation: 97*137=13289, Resulting Numbers: [13289]
13289,79 unequal: No Solution
Exploring Operation: 137-97=40, Resulting Numbers: [40]
40,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 79:[81, 23], Operations: ['97-16=81', '88-65=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,79 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[88, 16], Operations: ['97-16=81', '81-65=16']
Exploring Operation: 88*16=1408, Resulting Numbers: [1408]
1408,79 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 88+16=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[88, 16], Operations: ['65+16=81', '97-81=16']
Exploring Operation: 88+16=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 88*16=1408, Resulting Numbers: [1408]
1408,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[81, 9], Operations: ['65+16=81', '97-88=9']
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[81, 153], Operations: ['97-16=81', '88+65=153']
Exploring Operation: 81*153=12393, Resulting Numbers: [12393]
12393,79 unequal: No Solution
Exploring Operation: 153-81=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 81+153=234, Resulting Numbers: [234]
234,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[97, 7], Operations: ['65+16=81', '88-81=7']
Exploring Operation: 97+7=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 97*7=679, Resulting Numbers: [679]
679,79 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.