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 |
|---|---|---|---|---|---|---|---|---|
[
6,
4,
62,
24
] | 63 | [
"6*4=24",
"24/24=1",
"62+1=63"
] | Current State: 63:[6, 4, 62, 24], Operations: []
Exploring Operation: 6*4=24, Resulting Numbers: [62, 24, 24]
Generated Node #2: [62, 24, 24] from Operation: 6*4=24
Current State: 63:[62, 24, 24], Operations: ['6*4=24']
Exploring Operation: 24/24=1, Resulting Numbers: [62, 1]
Generated Node #3: [62, 1] from Operation: 24/24=1
Current State: 63:[62, 1], Operations: ['6*4=24', '24/24=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[6, 4, 62, 24], Operations: []
Exploring Operation: 24/4=6, Resulting Numbers: [6, 62, 6]
Generated Node #0,0: 63:[6, 62, 6] Operation: 24/4=6
Exploring Operation: 24/6=4, Resulting Numbers: [4, 62, 4]
Generated Node #0,1: 63:[4, 62, 4] Operation: 24/6=4
Exploring Operation: 6-4=2, Resulting Numbers: [62, 24, 2]
Generated Node #0,2: 63:[62, 24, 2] Operation: 6-4=2
Exploring Operation: 24-4=20, Resulting Numbers: [6, 62, 20]
Generated Node #0,3: 63:[6, 62, 20] Operation: 24-4=20
Exploring Operation: 6+4=10, Resulting Numbers: [62, 24, 10]
Generated Node #0,4: 63:[62, 24, 10] Operation: 6+4=10
Moving to Node #0,0
Current State: 63:[6, 62, 6], Operations: ['24/4=6']
Exploring Operation: 62+6=68, Resulting Numbers: [6, 68]
Generated Node #0,0,0: 63:[6, 68] Operation: 62+6=68
Exploring Operation: 6+6=12, Resulting Numbers: [62, 12]
Generated Node #0,0,1: 63:[62, 12] Operation: 6+6=12
Exploring Operation: 6+62=68, Resulting Numbers: [6, 68]
Generated Node #0,0,2: 63:[6, 68] Operation: 6+62=68
Exploring Operation: 6/6=1, Resulting Numbers: [62, 1]
Generated Node #0,0,3: 63:[62, 1] Operation: 6/6=1
Exploring Operation: 6-6=0, Resulting Numbers: [62, 0]
Generated Node #0,0,4: 63:[62, 0] Operation: 6-6=0
Moving to Node #0,3
Current State: 63:[6, 62, 20], Operations: ['24-4=20']
Exploring Operation: 62+20=82, Resulting Numbers: [6, 82]
Generated Node #0,3,0: 63:[6, 82] Operation: 62+20=82
Exploring Operation: 62-6=56, Resulting Numbers: [20, 56]
Generated Node #0,3,1: 63:[20, 56] Operation: 62-6=56
Exploring Operation: 6+62=68, Resulting Numbers: [20, 68]
Generated Node #0,3,2: 63:[20, 68] Operation: 6+62=68
Exploring Operation: 6+20=26, Resulting Numbers: [62, 26]
Generated Node #0,3,3: 63:[62, 26] Operation: 6+20=26
Exploring Operation: 20-6=14, Resulting Numbers: [62, 14]
Generated Node #0,3,4: 63:[62, 14] Operation: 20-6=14
Moving to Node #0,1
Current State: 63:[4, 62, 4], Operations: ['24/6=4']
Exploring Operation: 4+62=66, Resulting Numbers: [4, 66]
Generated Node #0,1,0: 63:[4, 66] Operation: 4+62=66
Exploring Operation: 4/4=1, Resulting Numbers: [62, 1]
Generated Node #0,1,1: 63:[62, 1] Operation: 4/4=1
Exploring Operation: 4-4=0, Resulting Numbers: [62, 0]
Generated Node #0,1,2: 63:[62, 0] Operation: 4-4=0
Exploring Operation: 4+4=8, Resulting Numbers: [62, 8]
Generated Node #0,1,3: 63:[62, 8] Operation: 4+4=8
Exploring Operation: 62+4=66, Resulting Numbers: [4, 66]
Generated Node #0,1,4: 63:[4, 66] Operation: 62+4=66
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 63:[62, 8], Operations: ['24/6=4', '4+4=8']
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,63 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[62, 1], Operations: ['24/6=4', '4/4=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[6, 4, 62, 24], Operations: []
Exploring Operation: 24/6=4, Resulting Numbers: [4, 62, 4]
Generated Node #0,1: 63:[4, 62, 4] Operation: 24/6=4
Moving to Node #0,1
Current State: 63:[4, 62, 4], Operations: ['24/6=4']
Exploring Operation: 4/4=1, Resulting Numbers: [62, 1]
Generated Node #0,1,1: 63:[62, 1] Operation: 4/4=1
Moving to Node #0,1,1
Current State: 63:[62, 1], Operations: ['24/6=4', '4/4=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | mult_heuristic |
[
30,
90,
12,
74
] | 83 | [
"90/30=3",
"12+74=86",
"86-3=83"
] | Current State: 83:[30, 90, 12, 74], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [12, 74, 3]
Generated Node #2: [12, 74, 3] from Operation: 90/30=3
Current State: 83:[12, 74, 3], Operations: ['90/30=3']
Exploring Operation: 12+74=86, Resulting Numbers: [3, 86]
Generated Node #3: [3, 86] from Operation: 12+74=86
Current State: 83:[3, 86], Operations: ['90/30=3', '12+74=86']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[30, 90, 12, 74], Operations: []
Exploring Operation: 30+12=42, Resulting Numbers: [90, 74, 42]
Generated Node #0,0: 83:[90, 74, 42] Operation: 30+12=42
Exploring Operation: 12+74=86, Resulting Numbers: [30, 90, 86]
Generated Node #0,1: 83:[30, 90, 86] Operation: 12+74=86
Moving to Node #0,0
Current State: 83:[90, 74, 42], Operations: ['30+12=42']
Exploring Operation: 74+42=116, Resulting Numbers: [90, 116]
Generated Node #0,0,0: 83:[90, 116] Operation: 74+42=116
Exploring Operation: 90-42=48, Resulting Numbers: [74, 48]
Generated Node #0,0,1: 83:[74, 48] Operation: 90-42=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[90, 116], Operations: ['30+12=42', '74+42=116']
Exploring Operation: 90+116=206, Resulting Numbers: [206]
206,83 unequal: No Solution
Exploring Operation: 116-90=26, Resulting Numbers: [26]
26,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[74, 48], Operations: ['30+12=42', '90-42=48']
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,83 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: 83:[30, 90, 86], Operations: ['12+74=86']
Exploring Operation: 90-30=60, Resulting Numbers: [86, 60]
Generated Node #0,1,0: 83:[86, 60] Operation: 90-30=60
Exploring Operation: 86-30=56, Resulting Numbers: [90, 56]
Generated Node #0,1,1: 83:[90, 56] Operation: 86-30=56
Moving to Node #0,1,0
Current State: 83:[86, 60], Operations: ['12+74=86', '90-30=60']
Exploring Operation: 86-60=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 86+60=146, Resulting Numbers: [146]
146,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[90, 56], Operations: ['12+74=86', '86-30=56']
Exploring Operation: 90+56=146, Resulting Numbers: [146]
146,83 unequal: No Solution
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,83 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
16,
60,
19,
50
] | 13 | [
"60-16=44",
"50-19=31",
"44-31=13"
] | Current State: 13:[16, 60, 19, 50], Operations: []
Exploring Operation: 60-16=44, Resulting Numbers: [19, 50, 44]
Generated Node #2: [19, 50, 44] from Operation: 60-16=44
Current State: 13:[19, 50, 44], Operations: ['60-16=44']
Exploring Operation: 50-19=31, Resulting Numbers: [44, 31]
Generated Node #3: [44, 31] from Operation: 50-19=31
Current State: 13:[44, 31], Operations: ['60-16=44', '50-19=31']
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[16, 60, 19, 50], Operations: []
Exploring Operation: 50-19=31, Resulting Numbers: [16, 60, 31]
Generated Node #0,0: 13:[16, 60, 31] Operation: 50-19=31
Exploring Operation: 60-19=41, Resulting Numbers: [16, 50, 41]
Generated Node #0,1: 13:[16, 50, 41] Operation: 60-19=41
Exploring Operation: 60-50=10, Resulting Numbers: [16, 19, 10]
Generated Node #0,2: 13:[16, 19, 10] Operation: 60-50=10
Exploring Operation: 60-16=44, Resulting Numbers: [19, 50, 44]
Generated Node #0,3: 13:[19, 50, 44] Operation: 60-16=44
Moving to Node #0,2
Current State: 13:[16, 19, 10], Operations: ['60-50=10']
Exploring Operation: 16-10=6, Resulting Numbers: [19, 6]
Generated Node #0,2,0: 13:[19, 6] Operation: 16-10=6
Exploring Operation: 19-10=9, Resulting Numbers: [16, 9]
Generated Node #0,2,1: 13:[16, 9] Operation: 19-10=9
Exploring Operation: 19-16=3, Resulting Numbers: [10, 3]
Generated Node #0,2,2: 13:[10, 3] Operation: 19-16=3
Exploring Operation: 16+10=26, Resulting Numbers: [19, 26]
Generated Node #0,2,3: 13:[19, 26] Operation: 16+10=26
Moving to Node #0,1
Current State: 13:[16, 50, 41], Operations: ['60-19=41']
Exploring Operation: 50-16=34, Resulting Numbers: [41, 34]
Generated Node #0,1,0: 13:[41, 34] Operation: 50-16=34
Exploring Operation: 41-16=25, Resulting Numbers: [50, 25]
Generated Node #0,1,1: 13:[50, 25] Operation: 41-16=25
Exploring Operation: 16+50=66, Resulting Numbers: [41, 66]
Generated Node #0,1,2: 13:[41, 66] Operation: 16+50=66
Exploring Operation: 50-41=9, Resulting Numbers: [16, 9]
Generated Node #0,1,3: 13:[16, 9] Operation: 50-41=9
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[16, 9], Operations: ['60-19=41', '50-41=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,13 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,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,0
Current State: 13:[41, 34], Operations: ['60-19=41', '50-16=34']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,13 unequal: No Solution
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,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,1
Current State: 13:[50, 25], Operations: ['60-19=41', '41-16=25']
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Exploring Operation: 50*25=1250, Resulting Numbers: [1250]
1250,13 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[41, 66], Operations: ['60-19=41', '16+50=66']
Exploring Operation: 41*66=2706, Resulting Numbers: [2706]
2706,13 unequal: No Solution
Exploring Operation: 41+66=107, Resulting Numbers: [107]
107,13 unequal: No Solution
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,13 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: 13:[16, 60, 31], Operations: ['50-19=31']
Exploring Operation: 60-16=44, Resulting Numbers: [31, 44]
Generated Node #0,0,0: 13:[31, 44] Operation: 60-16=44
Exploring Operation: 16+60=76, Resulting Numbers: [31, 76]
Generated Node #0,0,1: 13:[31, 76] Operation: 16+60=76
Exploring Operation: 31-16=15, Resulting Numbers: [60, 15]
Generated Node #0,0,2: 13:[60, 15] Operation: 31-16=15
Exploring Operation: 60-31=29, Resulting Numbers: [16, 29]
Generated Node #0,0,3: 13:[16, 29] Operation: 60-31=29
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 13:[16, 29], Operations: ['50-19=31', '60-31=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,13 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,13 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[16, 60, 19, 50], Operations: []
Exploring Operation: 50-19=31, Resulting Numbers: [16, 60, 31]
Generated Node #0,0: 13:[16, 60, 31] Operation: 50-19=31
Moving to Node #0,0
Current State: 13:[16, 60, 31], Operations: ['50-19=31']
Exploring Operation: 60-31=29, Resulting Numbers: [16, 29]
Generated Node #0,0,3: 13:[16, 29] Operation: 60-31=29
Moving to Node #0,0,3
Current State: 13:[16, 29], Operations: ['50-19=31', '60-31=29']
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | sum_heuristic |
[
50,
75,
56,
51
] | 85 | [
"56-51=5",
"50/5=10",
"75+10=85"
] | Current State: 85:[50, 75, 56, 51], Operations: []
Exploring Operation: 56-51=5, Resulting Numbers: [50, 75, 5]
Generated Node #2: [50, 75, 5] from Operation: 56-51=5
Current State: 85:[50, 75, 5], Operations: ['56-51=5']
Exploring Operation: 50/5=10, Resulting Numbers: [75, 10]
Generated Node #3: [75, 10] from Operation: 50/5=10
Current State: 85:[75, 10], Operations: ['56-51=5', '50/5=10']
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[50, 75, 56, 51], Operations: []
Exploring Operation: 51-50=1, Resulting Numbers: [75, 56, 1]
Generated Node #0,0: 85:[75, 56, 1] Operation: 51-50=1
Exploring Operation: 56-51=5, Resulting Numbers: [50, 75, 5]
Generated Node #0,1: 85:[50, 75, 5] Operation: 56-51=5
Exploring Operation: 56-50=6, Resulting Numbers: [75, 51, 6]
Generated Node #0,2: 85:[75, 51, 6] Operation: 56-50=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[75, 56, 1], Operations: ['51-50=1']
Exploring Operation: 56+1=57, Resulting Numbers: [75, 57]
Generated Node #0,0,0: 85:[75, 57] Operation: 56+1=57
Exploring Operation: 75-56=19, Resulting Numbers: [1, 19]
Generated Node #0,0,1: 85:[1, 19] Operation: 75-56=19
Exploring Operation: 75+1=76, Resulting Numbers: [56, 76]
Generated Node #0,0,2: 85:[56, 76] Operation: 75+1=76
Moving to Node #0,0,1
Current State: 85:[1, 19], Operations: ['51-50=1', '75-56=19']
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[75, 57], Operations: ['51-50=1', '56+1=57']
Exploring Operation: 75+57=132, Resulting Numbers: [132]
132,85 unequal: No Solution
Exploring Operation: 75*57=4275, Resulting Numbers: [4275]
4275,85 unequal: No Solution
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[56, 76], Operations: ['51-50=1', '75+1=76']
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 56*76=4256, Resulting Numbers: [4256]
4256,85 unequal: No Solution
Exploring Operation: 56+76=132, Resulting Numbers: [132]
132,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,1
Current State: 85:[50, 75, 5], Operations: ['56-51=5']
Exploring Operation: 75-50=25, Resulting Numbers: [5, 25]
Generated Node #0,1,0: 85:[5, 25] Operation: 75-50=25
Exploring Operation: 75/5=15, Resulting Numbers: [50, 15]
Generated Node #0,1,1: 85:[50, 15] Operation: 75/5=15
Exploring Operation: 50/5=10, Resulting Numbers: [75, 10]
Generated Node #0,1,2: 85:[75, 10] Operation: 50/5=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[5, 25], Operations: ['56-51=5', '75-50=25']
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,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:[75, 10], Operations: ['56-51=5', '50/5=10']
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[50, 75, 56, 51], Operations: []
Exploring Operation: 56-51=5, Resulting Numbers: [50, 75, 5]
Generated Node #0,1: 85:[50, 75, 5] Operation: 56-51=5
Moving to Node #0,1
Current State: 85:[50, 75, 5], Operations: ['56-51=5']
Exploring Operation: 50/5=10, Resulting Numbers: [75, 10]
Generated Node #0,1,2: 85:[75, 10] Operation: 50/5=10
Moving to Node #0,1,2
Current State: 85:[75, 10], Operations: ['56-51=5', '50/5=10']
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
76,
42,
40,
5
] | 69 | [
"76-42=34",
"40-5=35",
"34+35=69"
] | Current State: 69:[76, 42, 40, 5], Operations: []
Exploring Operation: 76-42=34, Resulting Numbers: [40, 5, 34]
Generated Node #2: [40, 5, 34] from Operation: 76-42=34
Current State: 69:[40, 5, 34], Operations: ['76-42=34']
Exploring Operation: 40-5=35, Resulting Numbers: [34, 35]
Generated Node #3: [34, 35] from Operation: 40-5=35
Current State: 69:[34, 35], Operations: ['76-42=34', '40-5=35']
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[76, 42, 40, 5], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [76, 5, 2]
Generated Node #0,0: 69:[76, 5, 2] Operation: 42-40=2
Exploring Operation: 42+40=82, Resulting Numbers: [76, 5, 82]
Generated Node #0,1: 69:[76, 5, 82] Operation: 42+40=82
Exploring Operation: 40/5=8, Resulting Numbers: [76, 42, 8]
Generated Node #0,2: 69:[76, 42, 8] Operation: 40/5=8
Exploring Operation: 76-40=36, Resulting Numbers: [42, 5, 36]
Generated Node #0,3: 69:[42, 5, 36] Operation: 76-40=36
Exploring Operation: 76-42=34, Resulting Numbers: [40, 5, 34]
Generated Node #0,4: 69:[40, 5, 34] Operation: 76-42=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[76, 5, 2], Operations: ['42-40=2']
Exploring Operation: 76+2=78, Resulting Numbers: [5, 78]
Generated Node #0,0,0: 69:[5, 78] Operation: 76+2=78
Exploring Operation: 76-2=74, Resulting Numbers: [5, 74]
Generated Node #0,0,1: 69:[5, 74] Operation: 76-2=74
Exploring Operation: 5+2=7, Resulting Numbers: [76, 7]
Generated Node #0,0,2: 69:[76, 7] Operation: 5+2=7
Exploring Operation: 76-5=71, Resulting Numbers: [2, 71]
Generated Node #0,0,3: 69:[2, 71] Operation: 76-5=71
Exploring Operation: 5-2=3, Resulting Numbers: [76, 3]
Generated Node #0,0,4: 69:[76, 3] Operation: 5-2=3
Moving to Node #0,0,3
Current State: 69:[2, 71], Operations: ['42-40=2', '76-5=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[76, 42, 40, 5], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [76, 5, 2]
Generated Node #0,0: 69:[76, 5, 2] Operation: 42-40=2
Moving to Node #0,0
Current State: 69:[76, 5, 2], Operations: ['42-40=2']
Exploring Operation: 76-5=71, Resulting Numbers: [2, 71]
Generated Node #0,0,3: 69:[2, 71] Operation: 76-5=71
Moving to Node #0,0,3
Current State: 69:[2, 71], Operations: ['42-40=2', '76-5=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
23,
81,
6,
99
] | 20 | [
"99-81=18",
"18/6=3",
"23-3=20"
] | Current State: 20:[23, 81, 6, 99], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [23, 6, 18]
Generated Node #2: [23, 6, 18] from Operation: 99-81=18
Current State: 20:[23, 6, 18], Operations: ['99-81=18']
Exploring Operation: 18/6=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 18/6=3
Current State: 20:[23, 3], Operations: ['99-81=18', '18/6=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[23, 81, 6, 99], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [23, 6, 18]
Generated Node #0,0: 20:[23, 6, 18] Operation: 99-81=18
Exploring Operation: 81-23=58, Resulting Numbers: [6, 99, 58]
Generated Node #0,1: 20:[6, 99, 58] Operation: 81-23=58
Exploring Operation: 99-23=76, Resulting Numbers: [81, 6, 76]
Generated Node #0,2: 20:[81, 6, 76] Operation: 99-23=76
Moving to Node #0,0
Current State: 20:[23, 6, 18], Operations: ['99-81=18']
Exploring Operation: 18/6=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 20:[23, 3] Operation: 18/6=3
Exploring Operation: 23-6=17, Resulting Numbers: [18, 17]
Generated Node #0,0,1: 20:[18, 17] Operation: 23-6=17
Exploring Operation: 23-18=5, Resulting Numbers: [6, 5]
Generated Node #0,0,2: 20:[6, 5] Operation: 23-18=5
Moving to Node #0,1
Current State: 20:[6, 99, 58], Operations: ['81-23=58']
Exploring Operation: 99-6=93, Resulting Numbers: [58, 93]
Generated Node #0,1,0: 20:[58, 93] Operation: 99-6=93
Exploring Operation: 58-6=52, Resulting Numbers: [99, 52]
Generated Node #0,1,1: 20:[99, 52] Operation: 58-6=52
Exploring Operation: 99-58=41, Resulting Numbers: [6, 41]
Generated Node #0,1,2: 20:[6, 41] Operation: 99-58=41
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[6, 41], Operations: ['81-23=58', '99-58=41']
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,20 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[58, 93], Operations: ['81-23=58', '99-6=93']
Exploring Operation: 58+93=151, Resulting Numbers: [151]
151,20 unequal: No Solution
Exploring Operation: 58*93=5394, Resulting Numbers: [5394]
5394,20 unequal: No Solution
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[99, 52], Operations: ['81-23=58', '58-6=52']
Exploring Operation: 99+52=151, Resulting Numbers: [151]
151,20 unequal: No Solution
Exploring Operation: 99-52=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 99*52=5148, Resulting Numbers: [5148]
5148,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 20:[81, 6, 76], Operations: ['99-23=76']
Exploring Operation: 81-76=5, Resulting Numbers: [6, 5]
Generated Node #0,2,0: 20:[6, 5] Operation: 81-76=5
Exploring Operation: 81-6=75, Resulting Numbers: [76, 75]
Generated Node #0,2,1: 20:[76, 75] Operation: 81-6=75
Exploring Operation: 76-6=70, Resulting Numbers: [81, 70]
Generated Node #0,2,2: 20:[81, 70] Operation: 76-6=70
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[6, 5], Operations: ['99-23=76', '81-76=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[76, 75], Operations: ['99-23=76', '81-6=75']
Exploring Operation: 76+75=151, Resulting Numbers: [151]
151,20 unequal: No Solution
Exploring Operation: 76*75=5700, Resulting Numbers: [5700]
5700,20 unequal: No Solution
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[81, 70], Operations: ['99-23=76', '76-6=70']
Exploring Operation: 81*70=5670, Resulting Numbers: [5670]
5670,20 unequal: No Solution
Exploring Operation: 81+70=151, Resulting Numbers: [151]
151,20 unequal: No Solution
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 20:[6, 5], Operations: ['99-81=18', '23-18=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[23, 3], Operations: ['99-81=18', '18/6=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[23, 81, 6, 99], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [23, 6, 18]
Generated Node #0,0: 20:[23, 6, 18] Operation: 99-81=18
Moving to Node #0,0
Current State: 20:[23, 6, 18], Operations: ['99-81=18']
Exploring Operation: 18/6=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 20:[23, 3] Operation: 18/6=3
Moving to Node #0,0,0
Current State: 20:[23, 3], Operations: ['99-81=18', '18/6=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.966146 | hs_3 | sum_heuristic |
[
96,
3,
83,
28
] | 18 | [
"96-3=93",
"83+28=111",
"111-93=18"
] | Current State: 18:[96, 3, 83, 28], Operations: []
Exploring Operation: 96-3=93, Resulting Numbers: [83, 28, 93]
Generated Node #2: [83, 28, 93] from Operation: 96-3=93
Current State: 18:[83, 28, 93], Operations: ['96-3=93']
Exploring Operation: 83+28=111, Resulting Numbers: [93, 111]
Generated Node #3: [93, 111] from Operation: 83+28=111
Current State: 18:[93, 111], Operations: ['96-3=93', '83+28=111']
Exploring Operation: 111-93=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[96, 3, 83, 28], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [83, 28, 32]
Generated Node #0,0: 18:[83, 28, 32] Operation: 96/3=32
Exploring Operation: 96-83=13, Resulting Numbers: [3, 28, 13]
Generated Node #0,1: 18:[3, 28, 13] Operation: 96-83=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[3, 28, 13], Operations: ['96-83=13']
Exploring Operation: 28-3=25, Resulting Numbers: [13, 25]
Generated Node #0,1,0: 18:[13, 25] Operation: 28-3=25
Exploring Operation: 28-13=15, Resulting Numbers: [3, 15]
Generated Node #0,1,1: 18:[3, 15] Operation: 28-13=15
Moving to Node #0,1,1
Current State: 18:[3, 15], Operations: ['96-83=13', '28-13=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[96, 3, 83, 28], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [3, 28, 13]
Generated Node #0,1: 18:[3, 28, 13] Operation: 96-83=13
Moving to Node #0,1
Current State: 18:[3, 28, 13], Operations: ['96-83=13']
Exploring Operation: 28-13=15, Resulting Numbers: [3, 15]
Generated Node #0,1,1: 18:[3, 15] Operation: 28-13=15
Moving to Node #0,1,1
Current State: 18:[3, 15], Operations: ['96-83=13', '28-13=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
13,
47,
13,
43
] | 89 | [
"13/13=1",
"47+43=90",
"90-1=89"
] | Current State: 89:[13, 47, 13, 43], Operations: []
Exploring Operation: 13/13=1, Resulting Numbers: [47, 43, 1]
Generated Node #2: [47, 43, 1] from Operation: 13/13=1
Current State: 89:[47, 43, 1], Operations: ['13/13=1']
Exploring Operation: 47+43=90, Resulting Numbers: [1, 90]
Generated Node #3: [1, 90] from Operation: 47+43=90
Current State: 89:[1, 90], Operations: ['13/13=1', '47+43=90']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[13, 47, 13, 43], Operations: []
Exploring Operation: 13+43=56, Resulting Numbers: [47, 13, 56]
Generated Node #0,0: 89:[47, 13, 56] Operation: 13+43=56
Exploring Operation: 13+47=60, Resulting Numbers: [13, 43, 60]
Generated Node #0,1: 89:[13, 43, 60] Operation: 13+47=60
Exploring Operation: 13+13=26, Resulting Numbers: [47, 43, 26]
Generated Node #0,2: 89:[47, 43, 26] Operation: 13+13=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[47, 13, 56], Operations: ['13+43=56']
Exploring Operation: 47+13=60, Resulting Numbers: [56, 60]
Generated Node #0,0,0: 89:[56, 60] Operation: 47+13=60
Exploring Operation: 47-13=34, Resulting Numbers: [56, 34]
Generated Node #0,0,1: 89:[56, 34] Operation: 47-13=34
Exploring Operation: 13+56=69, Resulting Numbers: [47, 69]
Generated Node #0,0,2: 89:[47, 69] Operation: 13+56=69
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[56, 60], Operations: ['13+43=56', '47+13=60']
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 56*60=3360, Resulting Numbers: [3360]
3360,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[47, 69], Operations: ['13+43=56', '13+56=69']
Exploring Operation: 47+69=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 47*69=3243, Resulting Numbers: [3243]
3243,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[56, 34], Operations: ['13+43=56', '47-13=34']
Exploring Operation: 56*34=1904, Resulting Numbers: [1904]
1904,89 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,89 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: 89:[13, 43, 60], Operations: ['13+47=60']
Exploring Operation: 43-13=30, Resulting Numbers: [60, 30]
Generated Node #0,1,0: 89:[60, 30] Operation: 43-13=30
Exploring Operation: 13+43=56, Resulting Numbers: [60, 56]
Generated Node #0,1,1: 89:[60, 56] Operation: 13+43=56
Exploring Operation: 13+60=73, Resulting Numbers: [43, 73]
Generated Node #0,1,2: 89:[43, 73] Operation: 13+60=73
Moving to Node #0,1,1
Current State: 89:[60, 56], Operations: ['13+47=60', '13+43=56']
Exploring Operation: 60*56=3360, Resulting Numbers: [3360]
3360,89 unequal: No Solution
Exploring Operation: 60+56=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[43, 73], Operations: ['13+47=60', '13+60=73']
Exploring Operation: 43+73=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 43*73=3139, Resulting Numbers: [3139]
3139,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[60, 30], Operations: ['13+47=60', '43-13=30']
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[47, 43, 26], Operations: ['13+13=26']
Exploring Operation: 47+43=90, Resulting Numbers: [26, 90]
Generated Node #0,2,0: 89:[26, 90] Operation: 47+43=90
Exploring Operation: 43+26=69, Resulting Numbers: [47, 69]
Generated Node #0,2,1: 89:[47, 69] Operation: 43+26=69
Exploring Operation: 47+26=73, Resulting Numbers: [43, 73]
Generated Node #0,2,2: 89:[43, 73] Operation: 47+26=73
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[47, 69], Operations: ['13+13=26', '43+26=69']
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 47*69=3243, Resulting Numbers: [3243]
3243,89 unequal: No Solution
Exploring Operation: 47+69=116, Resulting Numbers: [116]
116,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[43, 73], Operations: ['13+13=26', '47+26=73']
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 43+73=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 43*73=3139, Resulting Numbers: [3139]
3139,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[26, 90], Operations: ['13+13=26', '47+43=90']
Exploring Operation: 26+90=116, Resulting Numbers: [116]
116,89 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 26*90=2340, Resulting Numbers: [2340]
2340,89 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 |
[
14,
1,
22,
52
] | 61 | [
"14-1=13",
"22+52=74",
"74-13=61"
] | Current State: 61:[14, 1, 22, 52], Operations: []
Exploring Operation: 14-1=13, Resulting Numbers: [22, 52, 13]
Generated Node #2: [22, 52, 13] from Operation: 14-1=13
Current State: 61:[22, 52, 13], Operations: ['14-1=13']
Exploring Operation: 22+52=74, Resulting Numbers: [13, 74]
Generated Node #3: [13, 74] from Operation: 22+52=74
Current State: 61:[13, 74], Operations: ['14-1=13', '22+52=74']
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[14, 1, 22, 52], Operations: []
Exploring Operation: 14*1=14, Resulting Numbers: [22, 52, 14]
Generated Node #0,0: 61:[22, 52, 14] Operation: 14*1=14
Exploring Operation: 14+22=36, Resulting Numbers: [1, 52, 36]
Generated Node #0,1: 61:[1, 52, 36] Operation: 14+22=36
Exploring Operation: 14+1=15, Resulting Numbers: [22, 52, 15]
Generated Node #0,2: 61:[22, 52, 15] Operation: 14+1=15
Exploring Operation: 1+52=53, Resulting Numbers: [14, 22, 53]
Generated Node #0,3: 61:[14, 22, 53] Operation: 1+52=53
Exploring Operation: 1+22=23, Resulting Numbers: [14, 52, 23]
Generated Node #0,4: 61:[14, 52, 23] Operation: 1+22=23
Moving to Node #0,1
Current State: 61:[1, 52, 36], Operations: ['14+22=36']
Exploring Operation: 1+52=53, Resulting Numbers: [36, 53]
Generated Node #0,1,0: 61:[36, 53] Operation: 1+52=53
Exploring Operation: 1*52=52, Resulting Numbers: [36, 52]
Generated Node #0,1,1: 61:[36, 52] Operation: 1*52=52
Exploring Operation: 1*36=36, Resulting Numbers: [52, 36]
Generated Node #0,1,2: 61:[52, 36] Operation: 1*36=36
Exploring Operation: 1+36=37, Resulting Numbers: [52, 37]
Generated Node #0,1,3: 61:[52, 37] Operation: 1+36=37
Exploring Operation: 52/1=52, Resulting Numbers: [36, 52]
Generated Node #0,1,4: 61:[36, 52] Operation: 52/1=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[36, 53], Operations: ['14+22=36', '1+52=53']
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,61 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[52, 37], Operations: ['14+22=36', '1+36=37']
Exploring Operation: 52*37=1924, Resulting Numbers: [1924]
1924,61 unequal: No Solution
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 52+37=89, Resulting Numbers: [89]
89,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[36, 52], Operations: ['14+22=36', '1*52=52']
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,61 unequal: No Solution
Exploring Operation: 36*52=1872, Resulting Numbers: [1872]
1872,61 unequal: No Solution
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[52, 36], Operations: ['14+22=36', '1*36=36']
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,61 unequal: No Solution
Exploring Operation: 52*36=1872, Resulting Numbers: [1872]
1872,61 unequal: No Solution
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 61:[36, 52], Operations: ['14+22=36', '52/1=52']
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Exploring Operation: 36*52=1872, Resulting Numbers: [1872]
1872,61 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,61 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: 61:[14, 22, 53], Operations: ['1+52=53']
Exploring Operation: 22+53=75, Resulting Numbers: [14, 75]
Generated Node #0,3,0: 61:[14, 75] Operation: 22+53=75
Exploring Operation: 14+22=36, Resulting Numbers: [53, 36]
Generated Node #0,3,1: 61:[53, 36] Operation: 14+22=36
Exploring Operation: 22-14=8, Resulting Numbers: [53, 8]
Generated Node #0,3,2: 61:[53, 8] Operation: 22-14=8
Exploring Operation: 53-14=39, Resulting Numbers: [22, 39]
Generated Node #0,3,3: 61:[22, 39] Operation: 53-14=39
Exploring Operation: 14+53=67, Resulting Numbers: [22, 67]
Generated Node #0,3,4: 61:[22, 67] Operation: 14+53=67
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[53, 36], Operations: ['1+52=53', '14+22=36']
Exploring Operation: 53*36=1908, Resulting Numbers: [1908]
1908,61 unequal: No Solution
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,61 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,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,4
Current State: 61:[22, 67], Operations: ['1+52=53', '14+53=67']
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Exploring Operation: 22*67=1474, Resulting Numbers: [1474]
1474,61 unequal: No Solution
Exploring Operation: 22+67=89, Resulting Numbers: [89]
89,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,0
Current State: 61:[14, 75], Operations: ['1+52=53', '22+53=75']
Exploring Operation: 14+75=89, Resulting Numbers: [89]
89,61 unequal: No Solution
Exploring Operation: 14*75=1050, Resulting Numbers: [1050]
1050,61 unequal: No Solution
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[14, 1, 22, 52], Operations: []
Exploring Operation: 1+52=53, Resulting Numbers: [14, 22, 53]
Generated Node #0,3: 61:[14, 22, 53] Operation: 1+52=53
Moving to Node #0,3
Current State: 61:[14, 22, 53], Operations: ['1+52=53']
Exploring Operation: 22+53=75, Resulting Numbers: [14, 75]
Generated Node #0,3,0: 61:[14, 75] Operation: 22+53=75
Moving to Node #0,3,0
Current State: 61:[14, 75], Operations: ['1+52=53', '22+53=75']
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | mult_heuristic |
[
83,
81,
88,
83
] | 81 | [
"83-83=0",
"88*0=0",
"81+0=81"
] | Current State: 81:[83, 81, 88, 83], Operations: []
Exploring Operation: 83-83=0, Resulting Numbers: [81, 88, 0]
Generated Node #2: [81, 88, 0] from Operation: 83-83=0
Current State: 81:[81, 88, 0], Operations: ['83-83=0']
Exploring Operation: 88*0=0, Resulting Numbers: [81, 0]
Generated Node #3: [81, 0] from Operation: 88*0=0
Current State: 81:[81, 0], Operations: ['83-83=0', '88*0=0']
Exploring Operation: 81+0=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[83, 81, 88, 83], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [81, 83, 5]
Generated Node #0,0: 81:[81, 83, 5] Operation: 88-83=5
Moving to Node #0,0
Current State: 81:[81, 83, 5], Operations: ['88-83=5']
Exploring Operation: 83-81=2, Resulting Numbers: [5, 2]
Generated Node #0,0,0: 81:[5, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[5, 2], Operations: ['88-83=5', '83-81=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,81 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 |
[
45,
41,
72,
8
] | 13 | [
"45-41=4",
"72/8=9",
"4+9=13"
] | Current State: 13:[45, 41, 72, 8], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [72, 8, 4]
Generated Node #2: [72, 8, 4] from Operation: 45-41=4
Current State: 13:[72, 8, 4], Operations: ['45-41=4']
Exploring Operation: 72/8=9, Resulting Numbers: [4, 9]
Generated Node #3: [4, 9] from Operation: 72/8=9
Current State: 13:[4, 9], Operations: ['45-41=4', '72/8=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[45, 41, 72, 8], Operations: []
Exploring Operation: 45-8=37, Resulting Numbers: [41, 72, 37]
Generated Node #0,0: 13:[41, 72, 37] Operation: 45-8=37
Exploring Operation: 72-45=27, Resulting Numbers: [41, 8, 27]
Generated Node #0,1: 13:[41, 8, 27] Operation: 72-45=27
Exploring Operation: 45-41=4, Resulting Numbers: [72, 8, 4]
Generated Node #0,2: 13:[72, 8, 4] Operation: 45-41=4
Exploring Operation: 72/8=9, Resulting Numbers: [45, 41, 9]
Generated Node #0,3: 13:[45, 41, 9] Operation: 72/8=9
Exploring Operation: 72-41=31, Resulting Numbers: [45, 8, 31]
Generated Node #0,4: 13:[45, 8, 31] Operation: 72-41=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[41, 8, 27], Operations: ['72-45=27']
Exploring Operation: 8+27=35, Resulting Numbers: [41, 35]
Generated Node #0,1,0: 13:[41, 35] Operation: 8+27=35
Exploring Operation: 41-27=14, Resulting Numbers: [8, 14]
Generated Node #0,1,1: 13:[8, 14] Operation: 41-27=14
Exploring Operation: 41-8=33, Resulting Numbers: [27, 33]
Generated Node #0,1,2: 13:[27, 33] Operation: 41-8=33
Exploring Operation: 27-8=19, Resulting Numbers: [41, 19]
Generated Node #0,1,3: 13:[41, 19] Operation: 27-8=19
Exploring Operation: 41+8=49, Resulting Numbers: [27, 49]
Generated Node #0,1,4: 13:[27, 49] Operation: 41+8=49
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[8, 14], Operations: ['72-45=27', '41-27=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,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:[27, 33], Operations: ['72-45=27', '41-8=33']
Exploring Operation: 27*33=891, Resulting Numbers: [891]
891,13 unequal: No Solution
Exploring Operation: 27+33=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,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:[41, 19], Operations: ['72-45=27', '27-8=19']
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,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:[41, 35], Operations: ['72-45=27', '8+27=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,13 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,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:[27, 49], Operations: ['72-45=27', '41+8=49']
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,13 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,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:[45, 8, 31], Operations: ['72-41=31']
Exploring Operation: 45+8=53, Resulting Numbers: [31, 53]
Generated Node #0,4,0: 13:[31, 53] Operation: 45+8=53
Exploring Operation: 45-8=37, Resulting Numbers: [31, 37]
Generated Node #0,4,1: 13:[31, 37] Operation: 45-8=37
Exploring Operation: 45-31=14, Resulting Numbers: [8, 14]
Generated Node #0,4,2: 13:[8, 14] Operation: 45-31=14
Exploring Operation: 8+31=39, Resulting Numbers: [45, 39]
Generated Node #0,4,3: 13:[45, 39] Operation: 8+31=39
Exploring Operation: 31-8=23, Resulting Numbers: [45, 23]
Generated Node #0,4,4: 13:[45, 23] Operation: 31-8=23
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 13:[8, 14], Operations: ['72-41=31', '45-31=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,13 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,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,4,1
Current State: 13:[31, 37], Operations: ['72-41=31', '45-8=37']
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,13 unequal: No Solution
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,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,4,4
Current State: 13:[45, 23], Operations: ['72-41=31', '31-8=23']
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,13 unequal: No Solution
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,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,4,0
Current State: 13:[31, 53], Operations: ['72-41=31', '45+8=53']
Exploring Operation: 31+53=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 31*53=1643, Resulting Numbers: [1643]
1643,13 unequal: No Solution
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,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,4,3
Current State: 13:[45, 39], Operations: ['72-41=31', '8+31=39']
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,13 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,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,3
Current State: 13:[45, 41, 9], Operations: ['72/8=9']
Exploring Operation: 45/9=5, Resulting Numbers: [41, 5]
Generated Node #0,3,0: 13:[41, 5] Operation: 45/9=5
Exploring Operation: 45-41=4, Resulting Numbers: [9, 4]
Generated Node #0,3,1: 13:[9, 4] Operation: 45-41=4
Exploring Operation: 45+9=54, Resulting Numbers: [41, 54]
Generated Node #0,3,2: 13:[41, 54] Operation: 45+9=54
Exploring Operation: 41-9=32, Resulting Numbers: [45, 32]
Generated Node #0,3,3: 13:[45, 32] Operation: 41-9=32
Exploring Operation: 45-9=36, Resulting Numbers: [41, 36]
Generated Node #0,3,4: 13:[41, 36] Operation: 45-9=36
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 13:[9, 4], Operations: ['72/8=9', '45-41=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[45, 41, 72, 8], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [45, 41, 9]
Generated Node #0,3: 13:[45, 41, 9] Operation: 72/8=9
Moving to Node #0,3
Current State: 13:[45, 41, 9], Operations: ['72/8=9']
Exploring Operation: 45-41=4, Resulting Numbers: [9, 4]
Generated Node #0,3,1: 13:[9, 4] Operation: 45-41=4
Moving to Node #0,3,1
Current State: 13:[9, 4], Operations: ['72/8=9', '45-41=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.952257 | hs_5 | mult_heuristic |
[
2,
29,
62,
23
] | 36 | [
"29+23=52",
"52/2=26",
"62-26=36"
] | Current State: 36:[2, 29, 62, 23], Operations: []
Exploring Operation: 29+23=52, Resulting Numbers: [2, 62, 52]
Generated Node #2: [2, 62, 52] from Operation: 29+23=52
Current State: 36:[2, 62, 52], Operations: ['29+23=52']
Exploring Operation: 52/2=26, Resulting Numbers: [62, 26]
Generated Node #3: [62, 26] from Operation: 52/2=26
Current State: 36:[62, 26], Operations: ['29+23=52', '52/2=26']
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[2, 29, 62, 23], Operations: []
Exploring Operation: 62-29=33, Resulting Numbers: [2, 23, 33]
Generated Node #0,0: 36:[2, 23, 33] Operation: 62-29=33
Exploring Operation: 62/2=31, Resulting Numbers: [29, 23, 31]
Generated Node #0,1: 36:[29, 23, 31] Operation: 62/2=31
Exploring Operation: 62-23=39, Resulting Numbers: [2, 29, 39]
Generated Node #0,2: 36:[2, 29, 39] Operation: 62-23=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[2, 23, 33], Operations: ['62-29=33']
Exploring Operation: 2+33=35, Resulting Numbers: [23, 35]
Generated Node #0,0,0: 36:[23, 35] Operation: 2+33=35
Exploring Operation: 33-23=10, Resulting Numbers: [2, 10]
Generated Node #0,0,1: 36:[2, 10] Operation: 33-23=10
Exploring Operation: 23-2=21, Resulting Numbers: [33, 21]
Generated Node #0,0,2: 36:[33, 21] Operation: 23-2=21
Moving to Node #0,0,1
Current State: 36:[2, 10], Operations: ['62-29=33', '33-23=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[23, 35], Operations: ['62-29=33', '2+33=35']
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[33, 21], Operations: ['62-29=33', '23-2=21']
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,36 unequal: No Solution
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,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:[2, 29, 39], Operations: ['62-23=39']
Exploring Operation: 39-2=37, Resulting Numbers: [29, 37]
Generated Node #0,2,0: 36:[29, 37] Operation: 39-2=37
Exploring Operation: 2+29=31, Resulting Numbers: [39, 31]
Generated Node #0,2,1: 36:[39, 31] Operation: 2+29=31
Exploring Operation: 39-29=10, Resulting Numbers: [2, 10]
Generated Node #0,2,2: 36:[2, 10] Operation: 39-29=10
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[2, 10], Operations: ['62-23=39', '39-29=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,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,2,0
Current State: 36:[29, 37], Operations: ['62-23=39', '39-2=37']
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,36 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,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,2,1
Current State: 36:[39, 31], Operations: ['62-23=39', '2+29=31']
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,36 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,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,1
Current State: 36:[29, 23, 31], Operations: ['62/2=31']
Exploring Operation: 29-23=6, Resulting Numbers: [31, 6]
Generated Node #0,1,0: 36:[31, 6] Operation: 29-23=6
Exploring Operation: 31-29=2, Resulting Numbers: [23, 2]
Generated Node #0,1,1: 36:[23, 2] Operation: 31-29=2
Exploring Operation: 31-23=8, Resulting Numbers: [29, 8]
Generated Node #0,1,2: 36:[29, 8] Operation: 31-23=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[31, 6], Operations: ['62/2=31', '29-23=6']
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[23, 2], Operations: ['62/2=31', '31-29=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 36:[29, 8], Operations: ['62/2=31', '31-23=8']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,36 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
91,
99,
65,
72
] | 56 | [
"99-91=8",
"72-65=7",
"8*7=56"
] | Current State: 56:[91, 99, 65, 72], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [65, 72, 8]
Generated Node #2: [65, 72, 8] from Operation: 99-91=8
Current State: 56:[65, 72, 8], Operations: ['99-91=8']
Exploring Operation: 72-65=7, Resulting Numbers: [8, 7]
Generated Node #3: [8, 7] from Operation: 72-65=7
Current State: 56:[8, 7], Operations: ['99-91=8', '72-65=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[91, 99, 65, 72], Operations: []
Exploring Operation: 91-72=19, Resulting Numbers: [99, 65, 19]
Generated Node #0,0: 56:[99, 65, 19] Operation: 91-72=19
Exploring Operation: 99-91=8, Resulting Numbers: [65, 72, 8]
Generated Node #0,1: 56:[65, 72, 8] Operation: 99-91=8
Exploring Operation: 99-65=34, Resulting Numbers: [91, 72, 34]
Generated Node #0,2: 56:[91, 72, 34] Operation: 99-65=34
Exploring Operation: 99-72=27, Resulting Numbers: [91, 65, 27]
Generated Node #0,3: 56:[91, 65, 27] Operation: 99-72=27
Moving to Node #0,1
Current State: 56:[65, 72, 8], Operations: ['99-91=8']
Exploring Operation: 72-8=64, Resulting Numbers: [65, 64]
Generated Node #0,1,0: 56:[65, 64] Operation: 72-8=64
Exploring Operation: 65-8=57, Resulting Numbers: [72, 57]
Generated Node #0,1,1: 56:[72, 57] Operation: 65-8=57
Exploring Operation: 72-65=7, Resulting Numbers: [8, 7]
Generated Node #0,1,2: 56:[8, 7] Operation: 72-65=7
Exploring Operation: 72/8=9, Resulting Numbers: [65, 9]
Generated Node #0,1,3: 56:[65, 9] Operation: 72/8=9
Moving to Node #0,3
Current State: 56:[91, 65, 27], Operations: ['99-72=27']
Exploring Operation: 91-65=26, Resulting Numbers: [27, 26]
Generated Node #0,3,0: 56:[27, 26] Operation: 91-65=26
Exploring Operation: 91-27=64, Resulting Numbers: [65, 64]
Generated Node #0,3,1: 56:[65, 64] Operation: 91-27=64
Exploring Operation: 65-27=38, Resulting Numbers: [91, 38]
Generated Node #0,3,2: 56:[91, 38] Operation: 65-27=38
Exploring Operation: 91+27=118, Resulting Numbers: [65, 118]
Generated Node #0,3,3: 56:[65, 118] Operation: 91+27=118
Moving to Node #0,2
Current State: 56:[91, 72, 34], Operations: ['99-65=34']
Exploring Operation: 72-34=38, Resulting Numbers: [91, 38]
Generated Node #0,2,0: 56:[91, 38] Operation: 72-34=38
Exploring Operation: 91+34=125, Resulting Numbers: [72, 125]
Generated Node #0,2,1: 56:[72, 125] Operation: 91+34=125
Exploring Operation: 91-72=19, Resulting Numbers: [34, 19]
Generated Node #0,2,2: 56:[34, 19] Operation: 91-72=19
Exploring Operation: 91-34=57, Resulting Numbers: [72, 57]
Generated Node #0,2,3: 56:[72, 57] Operation: 91-34=57
Moving to Node #0,0
Current State: 56:[99, 65, 19], Operations: ['91-72=19']
Exploring Operation: 99-19=80, Resulting Numbers: [65, 80]
Generated Node #0,0,0: 56:[65, 80] Operation: 99-19=80
Exploring Operation: 99+19=118, Resulting Numbers: [65, 118]
Generated Node #0,0,1: 56:[65, 118] Operation: 99+19=118
Exploring Operation: 99-65=34, Resulting Numbers: [19, 34]
Generated Node #0,0,2: 56:[19, 34] Operation: 99-65=34
Exploring Operation: 65-19=46, Resulting Numbers: [99, 46]
Generated Node #0,0,3: 56:[99, 46] Operation: 65-19=46
Moving to Node #0,1,2
Current State: 56:[8, 7], Operations: ['99-91=8', '72-65=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[91, 99, 65, 72], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [65, 72, 8]
Generated Node #0,1: 56:[65, 72, 8] Operation: 99-91=8
Moving to Node #0,1
Current State: 56:[65, 72, 8], Operations: ['99-91=8']
Exploring Operation: 72-65=7, Resulting Numbers: [8, 7]
Generated Node #0,1,2: 56:[8, 7] Operation: 72-65=7
Moving to Node #0,1,2
Current State: 56:[8, 7], Operations: ['99-91=8', '72-65=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.978299 | hs_4 | sum_heuristic |
[
85,
89,
69,
10
] | 71 | [
"85-69=16",
"10*16=160",
"160-89=71"
] | Current State: 71:[85, 89, 69, 10], Operations: []
Exploring Operation: 85-69=16, Resulting Numbers: [89, 10, 16]
Generated Node #2: [89, 10, 16] from Operation: 85-69=16
Current State: 71:[89, 10, 16], Operations: ['85-69=16']
Exploring Operation: 10*16=160, Resulting Numbers: [89, 160]
Generated Node #3: [89, 160] from Operation: 10*16=160
Current State: 71:[89, 160], Operations: ['85-69=16', '10*16=160']
Exploring Operation: 160-89=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[85, 89, 69, 10], Operations: []
Exploring Operation: 85-10=75, Resulting Numbers: [89, 69, 75]
Generated Node #0,0: 71:[89, 69, 75] Operation: 85-10=75
Exploring Operation: 89-10=79, Resulting Numbers: [85, 69, 79]
Generated Node #0,1: 71:[85, 69, 79] Operation: 89-10=79
Exploring Operation: 69+10=79, Resulting Numbers: [85, 89, 79]
Generated Node #0,2: 71:[85, 89, 79] Operation: 69+10=79
Exploring Operation: 85+10=95, Resulting Numbers: [89, 69, 95]
Generated Node #0,3: 71:[89, 69, 95] Operation: 85+10=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[89, 69, 75], Operations: ['85-10=75']
Exploring Operation: 75-69=6, Resulting Numbers: [89, 6]
Generated Node #0,0,0: 71:[89, 6] Operation: 75-69=6
Exploring Operation: 89+69=158, Resulting Numbers: [75, 158]
Generated Node #0,0,1: 71:[75, 158] Operation: 89+69=158
Exploring Operation: 89-75=14, Resulting Numbers: [69, 14]
Generated Node #0,0,2: 71:[69, 14] Operation: 89-75=14
Exploring Operation: 89-69=20, Resulting Numbers: [75, 20]
Generated Node #0,0,3: 71:[75, 20] Operation: 89-69=20
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[75, 20], Operations: ['85-10=75', '89-69=20']
Exploring Operation: 75+20=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 75*20=1500, Resulting Numbers: [1500]
1500,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[69, 14], Operations: ['85-10=75', '89-75=14']
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,71 unequal: No Solution
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[89, 6], Operations: ['85-10=75', '75-69=6']
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,71 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[75, 158], Operations: ['85-10=75', '89+69=158']
Exploring Operation: 158-75=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 75+158=233, Resulting Numbers: [233]
233,71 unequal: No Solution
Exploring Operation: 75*158=11850, Resulting Numbers: [11850]
11850,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[85, 69, 79], Operations: ['89-10=79']
Exploring Operation: 85-69=16, Resulting Numbers: [79, 16]
Generated Node #0,1,0: 71:[79, 16] Operation: 85-69=16
Exploring Operation: 79-69=10, Resulting Numbers: [85, 10]
Generated Node #0,1,1: 71:[85, 10] Operation: 79-69=10
Exploring Operation: 85-79=6, Resulting Numbers: [69, 6]
Generated Node #0,1,2: 71:[69, 6] Operation: 85-79=6
Exploring Operation: 85+69=154, Resulting Numbers: [79, 154]
Generated Node #0,1,3: 71:[79, 154] Operation: 85+69=154
Moving to Node #0,1,0
Current State: 71:[79, 16], Operations: ['89-10=79', '85-69=16']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 79*16=1264, Resulting Numbers: [1264]
1264,71 unequal: No Solution
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[69, 6], Operations: ['89-10=79', '85-79=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,71 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[85, 10], Operations: ['89-10=79', '79-69=10']
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,71 unequal: No Solution
Exploring Operation: 85+10=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 85*10=850, Resulting Numbers: [850]
850,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[79, 154], Operations: ['89-10=79', '85+69=154']
Exploring Operation: 79*154=12166, Resulting Numbers: [12166]
12166,71 unequal: No Solution
Exploring Operation: 79+154=233, Resulting Numbers: [233]
233,71 unequal: No Solution
Exploring Operation: 154-79=75, Resulting Numbers: [75]
75,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[85, 89, 79], Operations: ['69+10=79']
Exploring Operation: 89-85=4, Resulting Numbers: [79, 4]
Generated Node #0,2,0: 71:[79, 4] Operation: 89-85=4
Exploring Operation: 89-79=10, Resulting Numbers: [85, 10]
Generated Node #0,2,1: 71:[85, 10] Operation: 89-79=10
Exploring Operation: 85-79=6, Resulting Numbers: [89, 6]
Generated Node #0,2,2: 71:[89, 6] Operation: 85-79=6
Exploring Operation: 85+89=174, Resulting Numbers: [79, 174]
Generated Node #0,2,3: 71:[79, 174] Operation: 85+89=174
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[79, 4], Operations: ['69+10=79', '89-85=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,71 unequal: No Solution
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[85, 10], Operations: ['69+10=79', '89-79=10']
Exploring Operation: 85*10=850, Resulting Numbers: [850]
850,71 unequal: No Solution
Exploring Operation: 85+10=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[89, 6], Operations: ['69+10=79', '85-79=6']
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,71 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[79, 174], Operations: ['69+10=79', '85+89=174']
Exploring Operation: 79+174=253, Resulting Numbers: [253]
253,71 unequal: No Solution
Exploring Operation: 174-79=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 79*174=13746, Resulting Numbers: [13746]
13746,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[89, 69, 95], Operations: ['85+10=95']
Exploring Operation: 89-69=20, Resulting Numbers: [95, 20]
Generated Node #0,3,0: 71:[95, 20] Operation: 89-69=20
Exploring Operation: 95-89=6, Resulting Numbers: [69, 6]
Generated Node #0,3,1: 71:[69, 6] Operation: 95-89=6
Exploring Operation: 95-69=26, Resulting Numbers: [89, 26]
Generated Node #0,3,2: 71:[89, 26] Operation: 95-69=26
Exploring Operation: 89+69=158, Resulting Numbers: [95, 158]
Generated Node #0,3,3: 71:[95, 158] Operation: 89+69=158
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 71:[89, 26], Operations: ['85+10=95', '95-69=26']
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 89+26=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 89*26=2314, Resulting Numbers: [2314]
2314,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 71:[69, 6], Operations: ['85+10=95', '95-89=6']
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,71 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 71:[95, 20], Operations: ['85+10=95', '89-69=20']
Exploring Operation: 95*20=1900, Resulting Numbers: [1900]
1900,71 unequal: No Solution
Exploring Operation: 95+20=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 71:[95, 158], Operations: ['85+10=95', '89+69=158']
Exploring Operation: 95*158=15010, Resulting Numbers: [15010]
15010,71 unequal: No Solution
Exploring Operation: 95+158=253, Resulting Numbers: [253]
253,71 unequal: No Solution
Exploring Operation: 158-95=63, Resulting Numbers: [63]
63,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
21,
73,
2,
24
] | 17 | [
"21+24=45",
"2*45=90",
"90-73=17"
] | Current State: 17:[21, 73, 2, 24], Operations: []
Exploring Operation: 21+24=45, Resulting Numbers: [73, 2, 45]
Generated Node #2: [73, 2, 45] from Operation: 21+24=45
Current State: 17:[73, 2, 45], Operations: ['21+24=45']
Exploring Operation: 2*45=90, Resulting Numbers: [73, 90]
Generated Node #3: [73, 90] from Operation: 2*45=90
Current State: 17:[73, 90], Operations: ['21+24=45', '2*45=90']
Exploring Operation: 90-73=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[21, 73, 2, 24], Operations: []
Exploring Operation: 73-24=49, Resulting Numbers: [21, 2, 49]
Generated Node #0,0: 17:[21, 2, 49] Operation: 73-24=49
Exploring Operation: 73-2=71, Resulting Numbers: [21, 24, 71]
Generated Node #0,1: 17:[21, 24, 71] Operation: 73-2=71
Exploring Operation: 24-2=22, Resulting Numbers: [21, 73, 22]
Generated Node #0,2: 17:[21, 73, 22] Operation: 24-2=22
Exploring Operation: 21-2=19, Resulting Numbers: [73, 24, 19]
Generated Node #0,3: 17:[73, 24, 19] Operation: 21-2=19
Exploring Operation: 73-21=52, Resulting Numbers: [2, 24, 52]
Generated Node #0,4: 17:[2, 24, 52] Operation: 73-21=52
Moving to Node #0,0
Current State: 17:[21, 2, 49], Operations: ['73-24=49']
Exploring Operation: 21-2=19, Resulting Numbers: [49, 19]
Generated Node #0,0,0: 17:[49, 19] Operation: 21-2=19
Exploring Operation: 21+2=23, Resulting Numbers: [49, 23]
Generated Node #0,0,1: 17:[49, 23] Operation: 21+2=23
Exploring Operation: 2+49=51, Resulting Numbers: [21, 51]
Generated Node #0,0,2: 17:[21, 51] Operation: 2+49=51
Exploring Operation: 49-2=47, Resulting Numbers: [21, 47]
Generated Node #0,0,3: 17:[21, 47] Operation: 49-2=47
Exploring Operation: 49-21=28, Resulting Numbers: [2, 28]
Generated Node #0,0,4: 17:[2, 28] Operation: 49-21=28
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 17:[2, 28], Operations: ['73-24=49', '49-21=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,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:[49, 19], Operations: ['73-24=49', '21-2=19']
Exploring Operation: 49*19=931, Resulting Numbers: [931]
931,17 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 49+19=68, Resulting Numbers: [68]
68,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,3
Current State: 17:[21, 47], Operations: ['73-24=49', '49-2=47']
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,17 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,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,1
Current State: 17:[49, 23], Operations: ['73-24=49', '21+2=23']
Exploring Operation: 49*23=1127, Resulting Numbers: [1127]
1127,17 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,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, 51], Operations: ['73-24=49', '2+49=51']
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 21*51=1071, Resulting Numbers: [1071]
1071,17 unequal: No Solution
Exploring Operation: 21+51=72, Resulting Numbers: [72]
72,17 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: 17:[2, 24, 52], Operations: ['73-21=52']
Exploring Operation: 52-24=28, Resulting Numbers: [2, 28]
Generated Node #0,4,0: 17:[2, 28] Operation: 52-24=28
Exploring Operation: 24/2=12, Resulting Numbers: [52, 12]
Generated Node #0,4,1: 17:[52, 12] Operation: 24/2=12
Exploring Operation: 52/2=26, Resulting Numbers: [24, 26]
Generated Node #0,4,2: 17:[24, 26] Operation: 52/2=26
Exploring Operation: 24-2=22, Resulting Numbers: [52, 22]
Generated Node #0,4,3: 17:[52, 22] Operation: 24-2=22
Exploring Operation: 52-2=50, Resulting Numbers: [24, 50]
Generated Node #0,4,4: 17:[24, 50] Operation: 52-2=50
Moving to Node #0,1
Current State: 17:[21, 24, 71], Operations: ['73-2=71']
Exploring Operation: 21+71=92, Resulting Numbers: [24, 92]
Generated Node #0,1,0: 17:[24, 92] Operation: 21+71=92
Exploring Operation: 21+24=45, Resulting Numbers: [71, 45]
Generated Node #0,1,1: 17:[71, 45] Operation: 21+24=45
Exploring Operation: 71-21=50, Resulting Numbers: [24, 50]
Generated Node #0,1,2: 17:[24, 50] Operation: 71-21=50
Exploring Operation: 24-21=3, Resulting Numbers: [71, 3]
Generated Node #0,1,3: 17:[71, 3] Operation: 24-21=3
Exploring Operation: 71-24=47, Resulting Numbers: [21, 47]
Generated Node #0,1,4: 17:[21, 47] Operation: 71-24=47
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 17:[21, 47], Operations: ['73-2=71', '71-24=47']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,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,1,2
Current State: 17:[24, 50], Operations: ['73-2=71', '71-21=50']
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,17 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,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,1,3
Current State: 17:[71, 3], Operations: ['73-2=71', '24-21=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,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,1,0
Current State: 17:[24, 92], Operations: ['73-2=71', '21+71=92']
Exploring Operation: 24+92=116, Resulting Numbers: [116]
116,17 unequal: No Solution
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 24*92=2208, Resulting Numbers: [2208]
2208,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,1,1
Current State: 17:[71, 45], Operations: ['73-2=71', '21+24=45']
Exploring Operation: 71+45=116, Resulting Numbers: [116]
116,17 unequal: No Solution
Exploring Operation: 71*45=3195, Resulting Numbers: [3195]
3195,17 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,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, 73, 22], Operations: ['24-2=22']
Exploring Operation: 21+22=43, Resulting Numbers: [73, 43]
Generated Node #0,2,0: 17:[73, 43] Operation: 21+22=43
Exploring Operation: 21+73=94, Resulting Numbers: [22, 94]
Generated Node #0,2,1: 17:[22, 94] Operation: 21+73=94
Exploring Operation: 73-21=52, Resulting Numbers: [22, 52]
Generated Node #0,2,2: 17:[22, 52] Operation: 73-21=52
Exploring Operation: 22-21=1, Resulting Numbers: [73, 1]
Generated Node #0,2,3: 17:[73, 1] Operation: 22-21=1
Exploring Operation: 73-22=51, Resulting Numbers: [21, 51]
Generated Node #0,2,4: 17:[21, 51] Operation: 73-22=51
Moving to Node #0,3
Current State: 17:[73, 24, 19], Operations: ['21-2=19']
Exploring Operation: 73-24=49, Resulting Numbers: [19, 49]
Generated Node #0,3,0: 17:[19, 49] Operation: 73-24=49
Exploring Operation: 73+19=92, Resulting Numbers: [24, 92]
Generated Node #0,3,1: 17:[24, 92] Operation: 73+19=92
Exploring Operation: 73-19=54, Resulting Numbers: [24, 54]
Generated Node #0,3,2: 17:[24, 54] Operation: 73-19=54
Exploring Operation: 73+24=97, Resulting Numbers: [19, 97]
Generated Node #0,3,3: 17:[19, 97] Operation: 73+24=97
Exploring Operation: 24-19=5, Resulting Numbers: [73, 5]
Generated Node #0,3,4: 17:[73, 5] Operation: 24-19=5
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 17:[19, 49], Operations: ['21-2=19', '73-24=49']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,17 unequal: No Solution
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,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,3,2
Current State: 17:[24, 54], Operations: ['21-2=19', '73-19=54']
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,17 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,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,3,4
Current State: 17:[73, 5], Operations: ['21-2=19', '24-19=5']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,17 unequal: No Solution
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,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,3,1
Current State: 17:[24, 92], Operations: ['21-2=19', '73+19=92']
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 24*92=2208, Resulting Numbers: [2208]
2208,17 unequal: No Solution
Exploring Operation: 24+92=116, Resulting Numbers: [116]
116,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,3,3
Current State: 17:[19, 97], Operations: ['21-2=19', '73+24=97']
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 19*97=1843, Resulting Numbers: [1843]
1843,17 unequal: No Solution
Exploring Operation: 19+97=116, Resulting Numbers: [116]
116,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 17:[24, 26], Operations: ['73-21=52', '52/2=26']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,17 unequal: No Solution
Moving to Node #0,4,0
Current State: 17:[2, 28], Operations: ['73-21=52', '52-24=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Moving to Node #0,2,4
Current State: 17:[21, 51], Operations: ['24-2=22', '73-22=51']
Exploring Operation: 21*51=1071, Resulting Numbers: [1071]
1071,17 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 21+51=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[22, 52], Operations: ['24-2=22', '73-21=52']
Exploring Operation: 22*52=1144, Resulting Numbers: [1144]
1144,17 unequal: No Solution
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Moving to Node #0,4,1
Current State: 17:[52, 12], Operations: ['73-21=52', '24/2=12']
Exploring Operation: 52*12=624, Resulting Numbers: [624]
624,17 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Moving to Node #0,4,4
Current State: 17:[24, 50], Operations: ['73-21=52', '52-2=50']
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,17 unequal: No Solution
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Moving to Node #0,4,3
Current State: 17:[52, 22], Operations: ['73-21=52', '24-2=22']
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,17 unequal: No Solution
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Moving to Node #0,2,3
Current State: 17:[73, 1], Operations: ['24-2=22', '22-21=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[73, 43], Operations: ['24-2=22', '21+22=43']
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 73+43=116, Resulting Numbers: [116]
116,17 unequal: No Solution
Exploring Operation: 73*43=3139, Resulting Numbers: [3139]
3139,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[22, 94], Operations: ['24-2=22', '21+73=94']
Exploring Operation: 94-22=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 22+94=116, Resulting Numbers: [116]
116,17 unequal: No Solution
Exploring Operation: 22*94=2068, Resulting Numbers: [2068]
2068,17 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
8,
88,
32,
74
] | 94 | [
"8*32=256",
"88+74=162",
"256-162=94"
] | Current State: 94:[8, 88, 32, 74], Operations: []
Exploring Operation: 8*32=256, Resulting Numbers: [88, 74, 256]
Generated Node #2: [88, 74, 256] from Operation: 8*32=256
Current State: 94:[88, 74, 256], Operations: ['8*32=256']
Exploring Operation: 88+74=162, Resulting Numbers: [256, 162]
Generated Node #3: [256, 162] from Operation: 88+74=162
Current State: 94:[256, 162], Operations: ['8*32=256', '88+74=162']
Exploring Operation: 256-162=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[8, 88, 32, 74], Operations: []
Exploring Operation: 32/8=4, Resulting Numbers: [88, 74, 4]
Generated Node #0,0: 94:[88, 74, 4] Operation: 32/8=4
Exploring Operation: 8+32=40, Resulting Numbers: [88, 74, 40]
Generated Node #0,1: 94:[88, 74, 40] Operation: 8+32=40
Exploring Operation: 32+74=106, Resulting Numbers: [8, 88, 106]
Generated Node #0,2: 94:[8, 88, 106] Operation: 32+74=106
Exploring Operation: 8+74=82, Resulting Numbers: [88, 32, 82]
Generated Node #0,3: 94:[88, 32, 82] Operation: 8+74=82
Exploring Operation: 74-32=42, Resulting Numbers: [8, 88, 42]
Generated Node #0,4: 94:[8, 88, 42] Operation: 74-32=42
Start Sub Search at level 1: Moving to Node #0,4
Current State: 94:[8, 88, 42], Operations: ['74-32=42']
Exploring Operation: 8+88=96, Resulting Numbers: [42, 96]
Generated Node #0,4,0: 94:[42, 96] Operation: 8+88=96
Exploring Operation: 88-42=46, Resulting Numbers: [8, 46]
Generated Node #0,4,1: 94:[8, 46] Operation: 88-42=46
Exploring Operation: 88/8=11, Resulting Numbers: [42, 11]
Generated Node #0,4,2: 94:[42, 11] Operation: 88/8=11
Exploring Operation: 8+42=50, Resulting Numbers: [88, 50]
Generated Node #0,4,3: 94:[88, 50] Operation: 8+42=50
Exploring Operation: 88-8=80, Resulting Numbers: [42, 80]
Generated Node #0,4,4: 94:[42, 80] Operation: 88-8=80
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 94:[42, 96], Operations: ['74-32=42', '8+88=96']
Exploring Operation: 42+96=138, Resulting Numbers: [138]
138,94 unequal: No Solution
Exploring Operation: 42*96=4032, Resulting Numbers: [4032]
4032,94 unequal: No Solution
Exploring Operation: 96-42=54, Resulting Numbers: [54]
54,94 unequal: No Solution
No 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: 94:[8, 46], Operations: ['74-32=42', '88-42=46']
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,94 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,94 unequal: No Solution
No 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: 94:[88, 50], Operations: ['74-32=42', '8+42=50']
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 88+50=138, Resulting Numbers: [138]
138,94 unequal: No Solution
Exploring Operation: 88*50=4400, Resulting Numbers: [4400]
4400,94 unequal: No Solution
No 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: 94:[42, 11], Operations: ['74-32=42', '88/8=11']
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,94 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,94 unequal: No Solution
No 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: 94:[42, 80], Operations: ['74-32=42', '88-8=80']
Exploring Operation: 42*80=3360, Resulting Numbers: [3360]
3360,94 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 42+80=122, Resulting Numbers: [122]
122,94 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: 94:[8, 88, 106], Operations: ['32+74=106']
Exploring Operation: 88/8=11, Resulting Numbers: [106, 11]
Generated Node #0,2,0: 94:[106, 11] Operation: 88/8=11
Exploring Operation: 88-8=80, Resulting Numbers: [106, 80]
Generated Node #0,2,1: 94:[106, 80] Operation: 88-8=80
Exploring Operation: 8+88=96, Resulting Numbers: [106, 96]
Generated Node #0,2,2: 94:[106, 96] Operation: 8+88=96
Exploring Operation: 106-88=18, Resulting Numbers: [8, 18]
Generated Node #0,2,3: 94:[8, 18] Operation: 106-88=18
Exploring Operation: 106-8=98, Resulting Numbers: [88, 98]
Generated Node #0,2,4: 94:[88, 98] Operation: 106-8=98
Moving to Node #0,2,4
Current State: 94:[88, 98], Operations: ['32+74=106', '106-8=98']
Exploring Operation: 88*98=8624, Resulting Numbers: [8624]
8624,94 unequal: No Solution
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 88+98=186, Resulting Numbers: [186]
186,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[106, 96], Operations: ['32+74=106', '8+88=96']
Exploring Operation: 106-96=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 106+96=202, Resulting Numbers: [202]
202,94 unequal: No Solution
Exploring Operation: 106*96=10176, Resulting Numbers: [10176]
10176,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[106, 11], Operations: ['32+74=106', '88/8=11']
Exploring Operation: 106*11=1166, Resulting Numbers: [1166]
1166,94 unequal: No Solution
Exploring Operation: 106-11=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 106+11=117, Resulting Numbers: [117]
117,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[8, 18], Operations: ['32+74=106', '106-88=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,94 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[106, 80], Operations: ['32+74=106', '88-8=80']
Exploring Operation: 106-80=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 106+80=186, Resulting Numbers: [186]
186,94 unequal: No Solution
Exploring Operation: 106*80=8480, Resulting Numbers: [8480]
8480,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[88, 74, 4], Operations: ['32/8=4']
Exploring Operation: 74+4=78, Resulting Numbers: [88, 78]
Generated Node #0,0,0: 94:[88, 78] Operation: 74+4=78
Exploring Operation: 74-4=70, Resulting Numbers: [88, 70]
Generated Node #0,0,1: 94:[88, 70] Operation: 74-4=70
Exploring Operation: 88-4=84, Resulting Numbers: [74, 84]
Generated Node #0,0,2: 94:[74, 84] Operation: 88-4=84
Exploring Operation: 88+4=92, Resulting Numbers: [74, 92]
Generated Node #0,0,3: 94:[74, 92] Operation: 88+4=92
Exploring Operation: 88-74=14, Resulting Numbers: [4, 14]
Generated Node #0,0,4: 94:[4, 14] Operation: 88-74=14
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 94:[4, 14], Operations: ['32/8=4', '88-74=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,94 unequal: No Solution
No 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: 94:[88, 78], Operations: ['32/8=4', '74+4=78']
Exploring Operation: 88*78=6864, Resulting Numbers: [6864]
6864,94 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 88+78=166, Resulting Numbers: [166]
166,94 unequal: No Solution
No 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: 94:[74, 92], Operations: ['32/8=4', '88+4=92']
Exploring Operation: 92-74=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 74+92=166, Resulting Numbers: [166]
166,94 unequal: No Solution
Exploring Operation: 74*92=6808, Resulting Numbers: [6808]
6808,94 unequal: No Solution
No 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: 94:[88, 70], Operations: ['32/8=4', '74-4=70']
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 88+70=158, Resulting Numbers: [158]
158,94 unequal: No Solution
Exploring Operation: 88*70=6160, Resulting Numbers: [6160]
6160,94 unequal: No Solution
No 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: 94:[74, 84], Operations: ['32/8=4', '88-4=84']
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 74*84=6216, Resulting Numbers: [6216]
6216,94 unequal: No Solution
Exploring Operation: 74+84=158, Resulting Numbers: [158]
158,94 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: 94:[88, 74, 40], Operations: ['8+32=40']
Exploring Operation: 88-40=48, Resulting Numbers: [74, 48]
Generated Node #0,1,0: 94:[74, 48] Operation: 88-40=48
Exploring Operation: 88+40=128, Resulting Numbers: [74, 128]
Generated Node #0,1,1: 94:[74, 128] Operation: 88+40=128
Exploring Operation: 74-40=34, Resulting Numbers: [88, 34]
Generated Node #0,1,2: 94:[88, 34] Operation: 74-40=34
Exploring Operation: 74+40=114, Resulting Numbers: [88, 114]
Generated Node #0,1,3: 94:[88, 114] Operation: 74+40=114
Exploring Operation: 88-74=14, Resulting Numbers: [40, 14]
Generated Node #0,1,4: 94:[40, 14] Operation: 88-74=14
Moving to Node #0,1,2
Current State: 94:[88, 34], Operations: ['8+32=40', '74-40=34']
Exploring Operation: 88*34=2992, Resulting Numbers: [2992]
2992,94 unequal: No Solution
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 88+34=122, Resulting Numbers: [122]
122,94 unequal: No Solution
Moving to Node #0,1,4
Current State: 94:[40, 14], Operations: ['8+32=40', '88-74=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,94 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[74, 48], Operations: ['8+32=40', '88-40=48']
Exploring Operation: 74*48=3552, Resulting Numbers: [3552]
3552,94 unequal: No Solution
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,94 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[88, 114], Operations: ['8+32=40', '74+40=114']
Exploring Operation: 88+114=202, Resulting Numbers: [202]
202,94 unequal: No Solution
Exploring Operation: 88*114=10032, Resulting Numbers: [10032]
10032,94 unequal: No Solution
Exploring Operation: 114-88=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[74, 128], Operations: ['8+32=40', '88+40=128']
Exploring Operation: 74+128=202, Resulting Numbers: [202]
202,94 unequal: No Solution
Exploring Operation: 128-74=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 74*128=9472, Resulting Numbers: [9472]
9472,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[88, 32, 82], Operations: ['8+74=82']
Exploring Operation: 32+82=114, Resulting Numbers: [88, 114]
Generated Node #0,3,0: 94:[88, 114] Operation: 32+82=114
Exploring Operation: 82-32=50, Resulting Numbers: [88, 50]
Generated Node #0,3,1: 94:[88, 50] Operation: 82-32=50
Exploring Operation: 88+32=120, Resulting Numbers: [82, 120]
Generated Node #0,3,2: 94:[82, 120] Operation: 88+32=120
Exploring Operation: 88-32=56, Resulting Numbers: [82, 56]
Generated Node #0,3,3: 94:[82, 56] Operation: 88-32=56
Exploring Operation: 88-82=6, Resulting Numbers: [32, 6]
Generated Node #0,3,4: 94:[32, 6] Operation: 88-82=6
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 94:[88, 50], Operations: ['8+74=82', '82-32=50']
Exploring Operation: 88+50=138, Resulting Numbers: [138]
138,94 unequal: No Solution
Exploring Operation: 88*50=4400, Resulting Numbers: [4400]
4400,94 unequal: No Solution
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,94 unequal: No Solution
No 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: 94:[32, 6], Operations: ['8+74=82', '88-82=6']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,94 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,94 unequal: No Solution
No 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: 94:[82, 56], Operations: ['8+74=82', '88-32=56']
Exploring Operation: 82+56=138, Resulting Numbers: [138]
138,94 unequal: No Solution
Exploring Operation: 82*56=4592, Resulting Numbers: [4592]
4592,94 unequal: No Solution
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,94 unequal: No Solution
No 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: 94:[88, 114], Operations: ['8+74=82', '32+82=114']
Exploring Operation: 88*114=10032, Resulting Numbers: [10032]
10032,94 unequal: No Solution
Exploring Operation: 88+114=202, Resulting Numbers: [202]
202,94 unequal: No Solution
Exploring Operation: 114-88=26, Resulting Numbers: [26]
26,94 unequal: No Solution
No 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: 94:[82, 120], Operations: ['8+74=82', '88+32=120']
Exploring Operation: 120-82=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 82+120=202, Resulting Numbers: [202]
202,94 unequal: No Solution
Exploring Operation: 82*120=9840, Resulting Numbers: [9840]
9840,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
18,
54,
60,
60
] | 67 | [
"60*60=3600",
"18+3600=3618",
"3618/54=67"
] | Current State: 67:[18, 54, 60, 60], Operations: []
Exploring Operation: 60*60=3600, Resulting Numbers: [18, 54, 3600]
Generated Node #2: [18, 54, 3600] from Operation: 60*60=3600
Current State: 67:[18, 54, 3600], Operations: ['60*60=3600']
Exploring Operation: 18+3600=3618, Resulting Numbers: [54, 3618]
Generated Node #3: [54, 3618] from Operation: 18+3600=3618
Current State: 67:[54, 3618], Operations: ['60*60=3600', '18+3600=3618']
Exploring Operation: 3618/54=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[18, 54, 60, 60], Operations: []
Exploring Operation: 18+54=72, Resulting Numbers: [60, 60, 72]
Generated Node #0,0: 67:[60, 60, 72] Operation: 18+54=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[60, 60, 72], Operations: ['18+54=72']
Exploring Operation: 60+60=120, Resulting Numbers: [72, 120]
Generated Node #0,0,0: 67:[72, 120] Operation: 60+60=120
Moving to Node #0,0,0
Current State: 67:[72, 120], Operations: ['18+54=72', '60+60=120']
Exploring Operation: 120-72=48, Resulting Numbers: [48]
48,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
54,
62,
80,
23
] | 59 | [
"54+62=116",
"80-23=57",
"116-57=59"
] | Current State: 59:[54, 62, 80, 23], Operations: []
Exploring Operation: 54+62=116, Resulting Numbers: [80, 23, 116]
Generated Node #2: [80, 23, 116] from Operation: 54+62=116
Current State: 59:[80, 23, 116], Operations: ['54+62=116']
Exploring Operation: 80-23=57, Resulting Numbers: [116, 57]
Generated Node #3: [116, 57] from Operation: 80-23=57
Current State: 59:[116, 57], Operations: ['54+62=116', '80-23=57']
Exploring Operation: 116-57=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[54, 62, 80, 23], Operations: []
Exploring Operation: 62-23=39, Resulting Numbers: [54, 80, 39]
Generated Node #0,0: 59:[54, 80, 39] Operation: 62-23=39
Exploring Operation: 80-23=57, Resulting Numbers: [54, 62, 57]
Generated Node #0,1: 59:[54, 62, 57] Operation: 80-23=57
Exploring Operation: 54+23=77, Resulting Numbers: [62, 80, 77]
Generated Node #0,2: 59:[62, 80, 77] Operation: 54+23=77
Exploring Operation: 54-23=31, Resulting Numbers: [62, 80, 31]
Generated Node #0,3: 59:[62, 80, 31] Operation: 54-23=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[54, 62, 57], Operations: ['80-23=57']
Exploring Operation: 62-54=8, Resulting Numbers: [57, 8]
Generated Node #0,1,0: 59:[57, 8] Operation: 62-54=8
Exploring Operation: 54+62=116, Resulting Numbers: [57, 116]
Generated Node #0,1,1: 59:[57, 116] Operation: 54+62=116
Exploring Operation: 54+57=111, Resulting Numbers: [62, 111]
Generated Node #0,1,2: 59:[62, 111] Operation: 54+57=111
Exploring Operation: 57-54=3, Resulting Numbers: [62, 3]
Generated Node #0,1,3: 59:[62, 3] Operation: 57-54=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[57, 8], Operations: ['80-23=57', '62-54=8']
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 57*8=456, Resulting Numbers: [456]
456,59 unequal: No Solution
Exploring Operation: 57+8=65, Resulting Numbers: [65]
65,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:[62, 111], Operations: ['80-23=57', '54+57=111']
Exploring Operation: 62+111=173, Resulting Numbers: [173]
173,59 unequal: No Solution
Exploring Operation: 62*111=6882, Resulting Numbers: [6882]
6882,59 unequal: No Solution
Exploring Operation: 111-62=49, Resulting Numbers: [49]
49,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:[57, 116], Operations: ['80-23=57', '54+62=116']
Exploring Operation: 57+116=173, Resulting Numbers: [173]
173,59 unequal: No Solution
Exploring Operation: 116-57=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[54, 62, 80, 23], Operations: []
Exploring Operation: 80-23=57, Resulting Numbers: [54, 62, 57]
Generated Node #0,1: 59:[54, 62, 57] Operation: 80-23=57
Moving to Node #0,1
Current State: 59:[54, 62, 57], Operations: ['80-23=57']
Exploring Operation: 54+62=116, Resulting Numbers: [57, 116]
Generated Node #0,1,1: 59:[57, 116] Operation: 54+62=116
Moving to Node #0,1,1
Current State: 59:[57, 116], Operations: ['80-23=57', '54+62=116']
Exploring Operation: 116-57=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
23,
74,
94,
74
] | 71 | [
"23+74=97",
"94+74=168",
"168-97=71"
] | Current State: 71:[23, 74, 94, 74], Operations: []
Exploring Operation: 23+74=97, Resulting Numbers: [94, 97]
Generated Node #2: [94, 97] from Operation: 23+74=97
Current State: 71:[94, 97], Operations: ['23+74=97']
Exploring Operation: 94+74=168, Resulting Numbers: [97, 168]
Generated Node #3: [97, 168] from Operation: 94+74=168
Current State: 71:[97, 168], Operations: ['23+74=97', '94+74=168']
Exploring Operation: 168-97=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[23, 74, 94, 74], Operations: []
Exploring Operation: 23+74=97, Resulting Numbers: [94, 74, 97]
Generated Node #0,0: 71:[94, 74, 97] Operation: 23+74=97
Exploring Operation: 74-23=51, Resulting Numbers: [94, 74, 51]
Generated Node #0,1: 71:[94, 74, 51] Operation: 74-23=51
Exploring Operation: 94-23=71, Resulting Numbers: [74, 74, 71]
Generated Node #0,2: 71:[74, 74, 71] Operation: 94-23=71
Exploring Operation: 74-23=51, Resulting Numbers: [74, 94, 51]
Generated Node #0,3: 71:[74, 94, 51] Operation: 74-23=51
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[74, 74, 71], Operations: ['94-23=71']
Exploring Operation: 74-74=0, Resulting Numbers: [71, 0]
Generated Node #0,2,0: 71:[71, 0] Operation: 74-74=0
Exploring Operation: 74-71=3, Resulting Numbers: [74, 3]
Generated Node #0,2,1: 71:[74, 3] Operation: 74-71=3
Exploring Operation: 74/74=1, Resulting Numbers: [71, 1]
Generated Node #0,2,2: 71:[71, 1] Operation: 74/74=1
Exploring Operation: 74-71=3, Resulting Numbers: [74, 3]
Generated Node #0,2,3: 71:[74, 3] Operation: 74-71=3
Moving to Node #0,2,2
Current State: 71:[71, 1], Operations: ['94-23=71', '74/74=1']
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,71 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[23, 74, 94, 74], Operations: []
Exploring Operation: 94-23=71, Resulting Numbers: [74, 74, 71]
Generated Node #0,2: 71:[74, 74, 71] Operation: 94-23=71
Moving to Node #0,2
Current State: 71:[74, 74, 71], Operations: ['94-23=71']
Exploring Operation: 74/74=1, Resulting Numbers: [71, 1]
Generated Node #0,2,2: 71:[71, 1] Operation: 74/74=1
Moving to Node #0,2,2
Current State: 71:[71, 1], Operations: ['94-23=71', '74/74=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
47,
39,
40,
60
] | 92 | [
"47-39=8",
"40+60=100",
"100-8=92"
] | Current State: 92:[47, 39, 40, 60], Operations: []
Exploring Operation: 47-39=8, Resulting Numbers: [40, 60, 8]
Generated Node #2: [40, 60, 8] from Operation: 47-39=8
Current State: 92:[40, 60, 8], Operations: ['47-39=8']
Exploring Operation: 40+60=100, Resulting Numbers: [8, 100]
Generated Node #3: [8, 100] from Operation: 40+60=100
Current State: 92:[8, 100], Operations: ['47-39=8', '40+60=100']
Exploring Operation: 100-8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[47, 39, 40, 60], Operations: []
Exploring Operation: 40+60=100, Resulting Numbers: [47, 39, 100]
Generated Node #0,0: 92:[47, 39, 100] Operation: 40+60=100
Exploring Operation: 60-40=20, Resulting Numbers: [47, 39, 20]
Generated Node #0,1: 92:[47, 39, 20] Operation: 60-40=20
Exploring Operation: 39+60=99, Resulting Numbers: [47, 40, 99]
Generated Node #0,2: 92:[47, 40, 99] Operation: 39+60=99
Exploring Operation: 60-39=21, Resulting Numbers: [47, 40, 21]
Generated Node #0,3: 92:[47, 40, 21] Operation: 60-39=21
Exploring Operation: 40-39=1, Resulting Numbers: [47, 60, 1]
Generated Node #0,4: 92:[47, 60, 1] Operation: 40-39=1
Moving to Node #0,3
Current State: 92:[47, 40, 21], Operations: ['60-39=21']
Exploring Operation: 40-21=19, Resulting Numbers: [47, 19]
Generated Node #0,3,0: 92:[47, 19] Operation: 40-21=19
Exploring Operation: 47-21=26, Resulting Numbers: [40, 26]
Generated Node #0,3,1: 92:[40, 26] Operation: 47-21=26
Exploring Operation: 47+40=87, Resulting Numbers: [21, 87]
Generated Node #0,3,2: 92:[21, 87] Operation: 47+40=87
Exploring Operation: 40+21=61, Resulting Numbers: [47, 61]
Generated Node #0,3,3: 92:[47, 61] Operation: 40+21=61
Exploring Operation: 47-40=7, Resulting Numbers: [21, 7]
Generated Node #0,3,4: 92:[21, 7] Operation: 47-40=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[47, 19], Operations: ['60-39=21', '40-21=19']
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,92 unequal: No Solution
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 92:[21, 7], Operations: ['60-39=21', '47-40=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[21, 87], Operations: ['60-39=21', '47+40=87']
Exploring Operation: 21+87=108, Resulting Numbers: [108]
108,92 unequal: No Solution
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 21*87=1827, Resulting Numbers: [1827]
1827,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[40, 26], Operations: ['60-39=21', '47-21=26']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[47, 61], Operations: ['60-39=21', '40+21=61']
Exploring Operation: 47+61=108, Resulting Numbers: [108]
108,92 unequal: No Solution
Exploring Operation: 61-47=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 47*61=2867, Resulting Numbers: [2867]
2867,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 92:[47, 39, 20], Operations: ['60-40=20']
Exploring Operation: 47-20=27, Resulting Numbers: [39, 27]
Generated Node #0,1,0: 92:[39, 27] Operation: 47-20=27
Exploring Operation: 47-39=8, Resulting Numbers: [20, 8]
Generated Node #0,1,1: 92:[20, 8] Operation: 47-39=8
Exploring Operation: 39-20=19, Resulting Numbers: [47, 19]
Generated Node #0,1,2: 92:[47, 19] Operation: 39-20=19
Exploring Operation: 39+20=59, Resulting Numbers: [47, 59]
Generated Node #0,1,3: 92:[47, 59] Operation: 39+20=59
Exploring Operation: 47+39=86, Resulting Numbers: [20, 86]
Generated Node #0,1,4: 92:[20, 86] Operation: 47+39=86
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[47, 19], Operations: ['60-40=20', '39-20=19']
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[20, 8], Operations: ['60-40=20', '47-39=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 92:[20, 86], Operations: ['60-40=20', '47+39=86']
Exploring Operation: 20+86=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 20*86=1720, Resulting Numbers: [1720]
1720,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[39, 27], Operations: ['60-40=20', '47-20=27']
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 92:[47, 59], Operations: ['60-40=20', '39+20=59']
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 47+59=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 47*59=2773, Resulting Numbers: [2773]
2773,92 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: 92:[47, 40, 99], Operations: ['39+60=99']
Exploring Operation: 40+99=139, Resulting Numbers: [47, 139]
Generated Node #0,2,0: 92:[47, 139] Operation: 40+99=139
Exploring Operation: 47+40=87, Resulting Numbers: [99, 87]
Generated Node #0,2,1: 92:[99, 87] Operation: 47+40=87
Exploring Operation: 99-40=59, Resulting Numbers: [47, 59]
Generated Node #0,2,2: 92:[47, 59] Operation: 99-40=59
Exploring Operation: 99-47=52, Resulting Numbers: [40, 52]
Generated Node #0,2,3: 92:[40, 52] Operation: 99-47=52
Exploring Operation: 47-40=7, Resulting Numbers: [99, 7]
Generated Node #0,2,4: 92:[99, 7] Operation: 47-40=7
Moving to Node #0,0
Current State: 92:[47, 39, 100], Operations: ['40+60=100']
Exploring Operation: 47+39=86, Resulting Numbers: [100, 86]
Generated Node #0,0,0: 92:[100, 86] Operation: 47+39=86
Exploring Operation: 47-39=8, Resulting Numbers: [100, 8]
Generated Node #0,0,1: 92:[100, 8] Operation: 47-39=8
Exploring Operation: 100-39=61, Resulting Numbers: [47, 61]
Generated Node #0,0,2: 92:[47, 61] Operation: 100-39=61
Exploring Operation: 39+100=139, Resulting Numbers: [47, 139]
Generated Node #0,0,3: 92:[47, 139] Operation: 39+100=139
Exploring Operation: 100-47=53, Resulting Numbers: [39, 53]
Generated Node #0,0,4: 92:[39, 53] Operation: 100-47=53
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[100, 8], Operations: ['40+60=100', '47-39=8']
Exploring Operation: 100*8=800, Resulting Numbers: [800]
800,92 unequal: No Solution
Exploring Operation: 100+8=108, Resulting Numbers: [108]
108,92 unequal: No Solution
Exploring Operation: 100-8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[47, 39, 40, 60], Operations: []
Exploring Operation: 40+60=100, Resulting Numbers: [47, 39, 100]
Generated Node #0,0: 92:[47, 39, 100] Operation: 40+60=100
Moving to Node #0,0
Current State: 92:[47, 39, 100], Operations: ['40+60=100']
Exploring Operation: 47-39=8, Resulting Numbers: [100, 8]
Generated Node #0,0,1: 92:[100, 8] Operation: 47-39=8
Moving to Node #0,0,1
Current State: 92:[100, 8], Operations: ['40+60=100', '47-39=8']
Exploring Operation: 100-8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | mult_heuristic |
[
46,
64,
83,
38
] | 92 | [
"46*38=1748",
"83-64=19",
"1748/19=92"
] | Current State: 92:[46, 64, 83, 38], Operations: []
Exploring Operation: 46*38=1748, Resulting Numbers: [64, 83, 1748]
Generated Node #2: [64, 83, 1748] from Operation: 46*38=1748
Current State: 92:[64, 83, 1748], Operations: ['46*38=1748']
Exploring Operation: 83-64=19, Resulting Numbers: [1748, 19]
Generated Node #3: [1748, 19] from Operation: 83-64=19
Current State: 92:[1748, 19], Operations: ['46*38=1748', '83-64=19']
Exploring Operation: 1748/19=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[46, 64, 83, 38], Operations: []
Exploring Operation: 64-38=26, Resulting Numbers: [46, 83, 26]
Generated Node #0,0: 92:[46, 83, 26] Operation: 64-38=26
Exploring Operation: 83-64=19, Resulting Numbers: [46, 38, 19]
Generated Node #0,1: 92:[46, 38, 19] Operation: 83-64=19
Exploring Operation: 64+38=102, Resulting Numbers: [46, 83, 102]
Generated Node #0,2: 92:[46, 83, 102] Operation: 64+38=102
Exploring Operation: 83-38=45, Resulting Numbers: [46, 64, 45]
Generated Node #0,3: 92:[46, 64, 45] Operation: 83-38=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[46, 83, 26], Operations: ['64-38=26']
Exploring Operation: 83-26=57, Resulting Numbers: [46, 57]
Generated Node #0,0,0: 92:[46, 57] Operation: 83-26=57
Exploring Operation: 83+26=109, Resulting Numbers: [46, 109]
Generated Node #0,0,1: 92:[46, 109] Operation: 83+26=109
Exploring Operation: 46-26=20, Resulting Numbers: [83, 20]
Generated Node #0,0,2: 92:[83, 20] Operation: 46-26=20
Exploring Operation: 83-46=37, Resulting Numbers: [26, 37]
Generated Node #0,0,3: 92:[26, 37] Operation: 83-46=37
Moving to Node #0,0,0
Current State: 92:[46, 57], Operations: ['64-38=26', '83-26=57']
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,92 unequal: No Solution
Exploring Operation: 46*57=2622, Resulting Numbers: [2622]
2622,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[26, 37], Operations: ['64-38=26', '83-46=37']
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 26*37=962, Resulting Numbers: [962]
962,92 unequal: No Solution
Exploring Operation: 26+37=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[83, 20], Operations: ['64-38=26', '46-26=20']
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 83*20=1660, Resulting Numbers: [1660]
1660,92 unequal: No Solution
Exploring Operation: 83+20=103, Resulting Numbers: [103]
103,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[46, 109], Operations: ['64-38=26', '83+26=109']
Exploring Operation: 46*109=5014, Resulting Numbers: [5014]
5014,92 unequal: No Solution
Exploring Operation: 46+109=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 109-46=63, Resulting Numbers: [63]
63,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[46, 38, 19], Operations: ['83-64=19']
Exploring Operation: 38+19=57, Resulting Numbers: [46, 57]
Generated Node #0,1,0: 92:[46, 57] Operation: 38+19=57
Exploring Operation: 38-19=19, Resulting Numbers: [46, 19]
Generated Node #0,1,1: 92:[46, 19] Operation: 38-19=19
Exploring Operation: 46-38=8, Resulting Numbers: [19, 8]
Generated Node #0,1,2: 92:[19, 8] Operation: 46-38=8
Exploring Operation: 38/19=2, Resulting Numbers: [46, 2]
Generated Node #0,1,3: 92:[46, 2] Operation: 38/19=2
Moving to Node #0,1,3
Current State: 92:[46, 2], Operations: ['83-64=19', '38/19=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[46, 64, 83, 38], Operations: []
Exploring Operation: 83-64=19, Resulting Numbers: [46, 38, 19]
Generated Node #0,1: 92:[46, 38, 19] Operation: 83-64=19
Moving to Node #0,1
Current State: 92:[46, 38, 19], Operations: ['83-64=19']
Exploring Operation: 38/19=2, Resulting Numbers: [46, 2]
Generated Node #0,1,3: 92:[46, 2] Operation: 38/19=2
Moving to Node #0,1,3
Current State: 92:[46, 2], Operations: ['83-64=19', '38/19=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
77,
87,
11,
32
] | 53 | [
"87-77=10",
"11+32=43",
"10+43=53"
] | Current State: 53:[77, 87, 11, 32], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [11, 32, 10]
Generated Node #2: [11, 32, 10] from Operation: 87-77=10
Current State: 53:[11, 32, 10], Operations: ['87-77=10']
Exploring Operation: 11+32=43, Resulting Numbers: [10, 43]
Generated Node #3: [10, 43] from Operation: 11+32=43
Current State: 53:[10, 43], Operations: ['87-77=10', '11+32=43']
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[77, 87, 11, 32], Operations: []
Exploring Operation: 77-11=66, Resulting Numbers: [87, 32, 66]
Generated Node #0,0: 53:[87, 32, 66] Operation: 77-11=66
Exploring Operation: 87-32=55, Resulting Numbers: [77, 11, 55]
Generated Node #0,1: 53:[77, 11, 55] Operation: 87-32=55
Exploring Operation: 87-11=76, Resulting Numbers: [77, 32, 76]
Generated Node #0,2: 53:[77, 32, 76] Operation: 87-11=76
Exploring Operation: 11+32=43, Resulting Numbers: [77, 87, 43]
Generated Node #0,3: 53:[77, 87, 43] Operation: 11+32=43
Exploring Operation: 77-32=45, Resulting Numbers: [87, 11, 45]
Generated Node #0,4: 53:[87, 11, 45] Operation: 77-32=45
Moving to Node #0,0
Current State: 53:[87, 32, 66], Operations: ['77-11=66']
Exploring Operation: 87-66=21, Resulting Numbers: [32, 21]
Generated Node #0,0,0: 53:[32, 21] Operation: 87-66=21
Exploring Operation: 66-32=34, Resulting Numbers: [87, 34]
Generated Node #0,0,1: 53:[87, 34] Operation: 66-32=34
Exploring Operation: 87+32=119, Resulting Numbers: [66, 119]
Generated Node #0,0,2: 53:[66, 119] Operation: 87+32=119
Exploring Operation: 32+66=98, Resulting Numbers: [87, 98]
Generated Node #0,0,3: 53:[87, 98] Operation: 32+66=98
Exploring Operation: 87-32=55, Resulting Numbers: [66, 55]
Generated Node #0,0,4: 53:[66, 55] Operation: 87-32=55
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 53:[66, 55], Operations: ['77-11=66', '87-32=55']
Exploring Operation: 66*55=3630, Resulting Numbers: [3630]
3630,53 unequal: No Solution
Exploring Operation: 66+55=121, Resulting Numbers: [121]
121,53 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,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,0
Current State: 53:[32, 21], Operations: ['77-11=66', '87-66=21']
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[77, 87, 11, 32], Operations: []
Exploring Operation: 77-11=66, Resulting Numbers: [87, 32, 66]
Generated Node #0,0: 53:[87, 32, 66] Operation: 77-11=66
Moving to Node #0,0
Current State: 53:[87, 32, 66], Operations: ['77-11=66']
Exploring Operation: 87-66=21, Resulting Numbers: [32, 21]
Generated Node #0,0,0: 53:[32, 21] Operation: 87-66=21
Moving to Node #0,0,0
Current State: 53:[32, 21], Operations: ['77-11=66', '87-66=21']
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
73,
9,
75,
89
] | 53 | [
"89-75=14",
"9*14=126",
"126-73=53"
] | Current State: 53:[73, 9, 75, 89], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [73, 9, 14]
Generated Node #2: [73, 9, 14] from Operation: 89-75=14
Current State: 53:[73, 9, 14], Operations: ['89-75=14']
Exploring Operation: 9*14=126, Resulting Numbers: [73, 126]
Generated Node #3: [73, 126] from Operation: 9*14=126
Current State: 53:[73, 126], Operations: ['89-75=14', '9*14=126']
Exploring Operation: 126-73=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[73, 9, 75, 89], Operations: []
Exploring Operation: 73-9=64, Resulting Numbers: [75, 89, 64]
Generated Node #0,0: 53:[75, 89, 64] Operation: 73-9=64
Exploring Operation: 75-9=66, Resulting Numbers: [73, 89, 66]
Generated Node #0,1: 53:[73, 89, 66] Operation: 75-9=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[75, 89, 64], Operations: ['73-9=64']
Exploring Operation: 89-75=14, Resulting Numbers: [64, 14]
Generated Node #0,0,0: 53:[64, 14] Operation: 89-75=14
Exploring Operation: 89-64=25, Resulting Numbers: [75, 25]
Generated Node #0,0,1: 53:[75, 25] Operation: 89-64=25
Moving to Node #0,0,0
Current State: 53:[64, 14], Operations: ['73-9=64', '89-75=14']
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[75, 25], Operations: ['73-9=64', '89-64=25']
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[73, 89, 66], Operations: ['75-9=66']
Exploring Operation: 89-73=16, Resulting Numbers: [66, 16]
Generated Node #0,1,0: 53:[66, 16] Operation: 89-73=16
Exploring Operation: 89-66=23, Resulting Numbers: [73, 23]
Generated Node #0,1,1: 53:[73, 23] Operation: 89-66=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[66, 16], Operations: ['75-9=66', '89-73=16']
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,53 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,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:[73, 23], Operations: ['75-9=66', '89-66=23']
Exploring Operation: 73+23=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,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
No solution found.
| 0 | hs_2 | sum_heuristic |
[
47,
75,
47,
35
] | 41 | [
"47/47=1",
"75-35=40",
"1+40=41"
] | Current State: 41:[47, 75, 47, 35], Operations: []
Exploring Operation: 47/47=1, Resulting Numbers: [75, 35, 1]
Generated Node #2: [75, 35, 1] from Operation: 47/47=1
Current State: 41:[75, 35, 1], Operations: ['47/47=1']
Exploring Operation: 75-35=40, Resulting Numbers: [1, 40]
Generated Node #3: [1, 40] from Operation: 75-35=40
Current State: 41:[1, 40], Operations: ['47/47=1', '75-35=40']
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[47, 75, 47, 35], Operations: []
Exploring Operation: 47-35=12, Resulting Numbers: [75, 47, 12]
Generated Node #0,0: 41:[75, 47, 12] Operation: 47-35=12
Exploring Operation: 75-47=28, Resulting Numbers: [47, 35, 28]
Generated Node #0,1: 41:[47, 35, 28] Operation: 75-47=28
Exploring Operation: 75-47=28, Resulting Numbers: [47, 35, 28]
Generated Node #0,2: 41:[47, 35, 28] Operation: 75-47=28
Exploring Operation: 75-35=40, Resulting Numbers: [47, 47, 40]
Generated Node #0,3: 41:[47, 47, 40] Operation: 75-35=40
Moving to Node #0,3
Current State: 41:[47, 47, 40], Operations: ['75-35=40']
Exploring Operation: 47/47=1, Resulting Numbers: [40, 1]
Generated Node #0,3,0: 41:[40, 1] Operation: 47/47=1
Exploring Operation: 47-40=7, Resulting Numbers: [47, 7]
Generated Node #0,3,1: 41:[47, 7] Operation: 47-40=7
Exploring Operation: 47-47=0, Resulting Numbers: [40, 0]
Generated Node #0,3,2: 41:[40, 0] Operation: 47-47=0
Exploring Operation: 47-40=7, Resulting Numbers: [47, 7]
Generated Node #0,3,3: 41:[47, 7] Operation: 47-40=7
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[47, 7], Operations: ['75-35=40', '47-40=7']
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,41 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[47, 7], Operations: ['75-35=40', '47-40=7']
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[40, 1], Operations: ['75-35=40', '47/47=1']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[47, 75, 47, 35], Operations: []
Exploring Operation: 75-35=40, Resulting Numbers: [47, 47, 40]
Generated Node #0,3: 41:[47, 47, 40] Operation: 75-35=40
Moving to Node #0,3
Current State: 41:[47, 47, 40], Operations: ['75-35=40']
Exploring Operation: 47/47=1, Resulting Numbers: [40, 1]
Generated Node #0,3,0: 41:[40, 1] Operation: 47/47=1
Moving to Node #0,3,0
Current State: 41:[40, 1], Operations: ['75-35=40', '47/47=1']
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
33,
16,
86,
16
] | 52 | [
"86-33=53",
"16/16=1",
"53-1=52"
] | Current State: 52:[33, 16, 86, 16], Operations: []
Exploring Operation: 86-33=53, Resulting Numbers: [16, 16, 53]
Generated Node #2: [16, 16, 53] from Operation: 86-33=53
Current State: 52:[16, 16, 53], Operations: ['86-33=53']
Exploring Operation: 16/16=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 16/16=1
Current State: 52:[53, 1], Operations: ['86-33=53', '16/16=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[33, 16, 86, 16], Operations: []
Exploring Operation: 86-33=53, Resulting Numbers: [16, 16, 53]
Generated Node #0,0: 52:[16, 16, 53] Operation: 86-33=53
Exploring Operation: 86-16=70, Resulting Numbers: [33, 16, 70]
Generated Node #0,1: 52:[33, 16, 70] Operation: 86-16=70
Moving to Node #0,0
Current State: 52:[16, 16, 53], Operations: ['86-33=53']
Exploring Operation: 16-16=0, Resulting Numbers: [53, 0]
Generated Node #0,0,0: 52:[53, 0] Operation: 16-16=0
Exploring Operation: 16/16=1, Resulting Numbers: [53, 1]
Generated Node #0,0,1: 52:[53, 1] Operation: 16/16=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[53, 1], Operations: ['86-33=53', '16/16=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[33, 16, 86, 16], Operations: []
Exploring Operation: 86-33=53, Resulting Numbers: [16, 16, 53]
Generated Node #0,0: 52:[16, 16, 53] Operation: 86-33=53
Moving to Node #0,0
Current State: 52:[16, 16, 53], Operations: ['86-33=53']
Exploring Operation: 16/16=1, Resulting Numbers: [53, 1]
Generated Node #0,0,1: 52:[53, 1] Operation: 16/16=1
Moving to Node #0,0,1
Current State: 52:[53, 1], Operations: ['86-33=53', '16/16=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
13,
8,
23,
35
] | 45 | [
"23-13=10",
"8*10=80",
"80-35=45"
] | Current State: 45:[13, 8, 23, 35], Operations: []
Exploring Operation: 23-13=10, Resulting Numbers: [8, 35, 10]
Generated Node #2: [8, 35, 10] from Operation: 23-13=10
Current State: 45:[8, 35, 10], Operations: ['23-13=10']
Exploring Operation: 8*10=80, Resulting Numbers: [35, 80]
Generated Node #3: [35, 80] from Operation: 8*10=80
Current State: 45:[35, 80], Operations: ['23-13=10', '8*10=80']
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[13, 8, 23, 35], Operations: []
Exploring Operation: 13+35=48, Resulting Numbers: [8, 23, 48]
Generated Node #0,0: 45:[8, 23, 48] Operation: 13+35=48
Exploring Operation: 35-23=12, Resulting Numbers: [13, 8, 12]
Generated Node #0,1: 45:[13, 8, 12] Operation: 35-23=12
Exploring Operation: 23-13=10, Resulting Numbers: [8, 35, 10]
Generated Node #0,2: 45:[8, 35, 10] Operation: 23-13=10
Exploring Operation: 23-8=15, Resulting Numbers: [13, 35, 15]
Generated Node #0,3: 45:[13, 35, 15] Operation: 23-8=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[13, 8, 12], Operations: ['35-23=12']
Exploring Operation: 12-8=4, Resulting Numbers: [13, 4]
Generated Node #0,1,0: 45:[13, 4] Operation: 12-8=4
Exploring Operation: 13-12=1, Resulting Numbers: [8, 1]
Generated Node #0,1,1: 45:[8, 1] Operation: 13-12=1
Exploring Operation: 13-8=5, Resulting Numbers: [12, 5]
Generated Node #0,1,2: 45:[12, 5] Operation: 13-8=5
Exploring Operation: 8+12=20, Resulting Numbers: [13, 20]
Generated Node #0,1,3: 45:[13, 20] Operation: 8+12=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[13, 4], Operations: ['35-23=12', '12-8=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,45 unequal: No Solution
No 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: 45:[8, 1], Operations: ['35-23=12', '13-12=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,45 unequal: No Solution
No 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: 45:[12, 5], Operations: ['35-23=12', '13-8=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,45 unequal: No Solution
No 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: 45:[13, 20], Operations: ['35-23=12', '8+12=20']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,45 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: 45:[8, 23, 48], Operations: ['13+35=48']
Exploring Operation: 48-8=40, Resulting Numbers: [23, 40]
Generated Node #0,0,0: 45:[23, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [23, 6]
Generated Node #0,0,1: 45:[23, 6] Operation: 48/8=6
Exploring Operation: 48-23=25, Resulting Numbers: [8, 25]
Generated Node #0,0,2: 45:[8, 25] Operation: 48-23=25
Exploring Operation: 23-8=15, Resulting Numbers: [48, 15]
Generated Node #0,0,3: 45:[48, 15] Operation: 23-8=15
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 45:[48, 15], Operations: ['13+35=48', '23-8=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,45 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,45 unequal: No Solution
No 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: 45:[23, 6], Operations: ['13+35=48', '48/8=6']
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,45 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,45 unequal: No Solution
No 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: 45:[8, 25], Operations: ['13+35=48', '48-23=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,45 unequal: No Solution
No 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: 45:[23, 40], Operations: ['13+35=48', '48-8=40']
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 23*40=920, Resulting Numbers: [920]
920,45 unequal: No Solution
Exploring Operation: 23+40=63, Resulting Numbers: [63]
63,45 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: 45:[8, 35, 10], Operations: ['23-13=10']
Exploring Operation: 8+35=43, Resulting Numbers: [10, 43]
Generated Node #0,2,0: 45:[10, 43] Operation: 8+35=43
Exploring Operation: 35+10=45, Resulting Numbers: [8, 45]
Generated Node #0,2,1: 45:[8, 45] Operation: 35+10=45
Exploring Operation: 10-8=2, Resulting Numbers: [35, 2]
Generated Node #0,2,2: 45:[35, 2] Operation: 10-8=2
Exploring Operation: 35-10=25, Resulting Numbers: [8, 25]
Generated Node #0,2,3: 45:[8, 25] Operation: 35-10=25
Moving to Node #0,2,1
Current State: 45:[8, 45], Operations: ['23-13=10', '35+10=45']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[10, 43], Operations: ['23-13=10', '8+35=43']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[8, 25], Operations: ['23-13=10', '35-10=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,45 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[35, 2], Operations: ['23-13=10', '10-8=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,45 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,45 unequal: No Solution
No 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: 45:[13, 35, 15], Operations: ['23-8=15']
Exploring Operation: 35-15=20, Resulting Numbers: [13, 20]
Generated Node #0,3,0: 45:[13, 20] Operation: 35-15=20
Exploring Operation: 35-13=22, Resulting Numbers: [15, 22]
Generated Node #0,3,1: 45:[15, 22] Operation: 35-13=22
Exploring Operation: 13+35=48, Resulting Numbers: [15, 48]
Generated Node #0,3,2: 45:[15, 48] Operation: 13+35=48
Exploring Operation: 35+15=50, Resulting Numbers: [13, 50]
Generated Node #0,3,3: 45:[13, 50] Operation: 35+15=50
Moving to Node #0,3,2
Current State: 45:[15, 48], Operations: ['23-8=15', '13+35=48']
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,45 unequal: No Solution
Exploring Operation: 15*48=720, Resulting Numbers: [720]
720,45 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[15, 22], Operations: ['23-8=15', '35-13=22']
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,45 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Moving to Node #0,3,0
Current State: 45:[13, 20], Operations: ['23-8=15', '35-15=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,45 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Moving to Node #0,3,3
Current State: 45:[13, 50], Operations: ['23-8=15', '35+15=50']
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,45 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,45 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 |
[
16,
14,
78,
70
] | 96 | [
"78-14=64",
"70-64=6",
"16*6=96"
] | Current State: 96:[16, 14, 78, 70], Operations: []
Exploring Operation: 78-14=64, Resulting Numbers: [16, 70, 64]
Generated Node #2: [16, 70, 64] from Operation: 78-14=64
Current State: 96:[16, 70, 64], Operations: ['78-14=64']
Exploring Operation: 70-64=6, Resulting Numbers: [16, 6]
Generated Node #3: [16, 6] from Operation: 70-64=6
Current State: 96:[16, 6], Operations: ['78-14=64', '70-64=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[16, 14, 78, 70], Operations: []
Exploring Operation: 70/14=5, Resulting Numbers: [16, 78, 5]
Generated Node #0,0: 96:[16, 78, 5] Operation: 70/14=5
Exploring Operation: 14+78=92, Resulting Numbers: [16, 70, 92]
Generated Node #0,1: 96:[16, 70, 92] Operation: 14+78=92
Exploring Operation: 70-16=54, Resulting Numbers: [14, 78, 54]
Generated Node #0,2: 96:[14, 78, 54] Operation: 70-16=54
Exploring Operation: 16+78=94, Resulting Numbers: [14, 70, 94]
Generated Node #0,3: 96:[14, 70, 94] Operation: 16+78=94
Exploring Operation: 78-70=8, Resulting Numbers: [16, 14, 8]
Generated Node #0,4: 96:[16, 14, 8] Operation: 78-70=8
Start Sub Search at level 1: Moving to Node #0,4
Current State: 96:[16, 14, 8], Operations: ['78-70=8']
Exploring Operation: 14-8=6, Resulting Numbers: [16, 6]
Generated Node #0,4,0: 96:[16, 6] Operation: 14-8=6
Exploring Operation: 16+14=30, Resulting Numbers: [8, 30]
Generated Node #0,4,1: 96:[8, 30] Operation: 16+14=30
Exploring Operation: 16+8=24, Resulting Numbers: [14, 24]
Generated Node #0,4,2: 96:[14, 24] Operation: 16+8=24
Exploring Operation: 16-8=8, Resulting Numbers: [14, 8]
Generated Node #0,4,3: 96:[14, 8] Operation: 16-8=8
Exploring Operation: 16-14=2, Resulting Numbers: [8, 2]
Generated Node #0,4,4: 96:[8, 2] Operation: 16-14=2
Moving to Node #0,4,0
Current State: 96:[16, 6], Operations: ['78-70=8', '14-8=6']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[16, 14, 78, 70], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [16, 14, 8]
Generated Node #0,4: 96:[16, 14, 8] Operation: 78-70=8
Moving to Node #0,4
Current State: 96:[16, 14, 8], Operations: ['78-70=8']
Exploring Operation: 14-8=6, Resulting Numbers: [16, 6]
Generated Node #0,4,0: 96:[16, 6] Operation: 14-8=6
Moving to Node #0,4,0
Current State: 96:[16, 6], Operations: ['78-70=8', '14-8=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
15,
18,
96,
76
] | 90 | [
"96-15=81",
"81-76=5",
"18*5=90"
] | Current State: 90:[15, 18, 96, 76], Operations: []
Exploring Operation: 96-15=81, Resulting Numbers: [18, 76, 81]
Generated Node #2: [18, 76, 81] from Operation: 96-15=81
Current State: 90:[18, 76, 81], Operations: ['96-15=81']
Exploring Operation: 81-76=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 81-76=5
Current State: 90:[18, 5], Operations: ['96-15=81', '81-76=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[15, 18, 96, 76], Operations: []
Exploring Operation: 18+76=94, Resulting Numbers: [15, 96, 94]
Generated Node #0,0: 90:[15, 96, 94] Operation: 18+76=94
Exploring Operation: 96-76=20, Resulting Numbers: [15, 18, 20]
Generated Node #0,1: 90:[15, 18, 20] Operation: 96-76=20
Exploring Operation: 76-18=58, Resulting Numbers: [15, 96, 58]
Generated Node #0,2: 90:[15, 96, 58] Operation: 76-18=58
Exploring Operation: 15+76=91, Resulting Numbers: [18, 96, 91]
Generated Node #0,3: 90:[18, 96, 91] Operation: 15+76=91
Exploring Operation: 18-15=3, Resulting Numbers: [96, 76, 3]
Generated Node #0,4: 90:[96, 76, 3] Operation: 18-15=3
Moving to Node #0,1
Current State: 90:[15, 18, 20], Operations: ['96-76=20']
Exploring Operation: 15+18=33, Resulting Numbers: [20, 33]
Generated Node #0,1,0: 90:[20, 33] Operation: 15+18=33
Exploring Operation: 20-18=2, Resulting Numbers: [15, 2]
Generated Node #0,1,1: 90:[15, 2] Operation: 20-18=2
Exploring Operation: 18-15=3, Resulting Numbers: [20, 3]
Generated Node #0,1,2: 90:[20, 3] Operation: 18-15=3
Exploring Operation: 15+20=35, Resulting Numbers: [18, 35]
Generated Node #0,1,3: 90:[18, 35] Operation: 15+20=35
Exploring Operation: 20-15=5, Resulting Numbers: [18, 5]
Generated Node #0,1,4: 90:[18, 5] Operation: 20-15=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[15, 2], Operations: ['96-76=20', '20-18=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 90:[18, 5], Operations: ['96-76=20', '20-15=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[15, 18, 96, 76], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [15, 18, 20]
Generated Node #0,1: 90:[15, 18, 20] Operation: 96-76=20
Moving to Node #0,1
Current State: 90:[15, 18, 20], Operations: ['96-76=20']
Exploring Operation: 20-15=5, Resulting Numbers: [18, 5]
Generated Node #0,1,4: 90:[18, 5] Operation: 20-15=5
Moving to Node #0,1,4
Current State: 90:[18, 5], Operations: ['96-76=20', '20-15=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
2,
36,
77,
99
] | 29 | [
"77-36=41",
"99-41=58",
"58/2=29"
] | Current State: 29:[2, 36, 77, 99], Operations: []
Exploring Operation: 77-36=41, Resulting Numbers: [2, 99, 41]
Generated Node #2: [2, 99, 41] from Operation: 77-36=41
Current State: 29:[2, 99, 41], Operations: ['77-36=41']
Exploring Operation: 99-41=58, Resulting Numbers: [2, 58]
Generated Node #3: [2, 58] from Operation: 99-41=58
Current State: 29:[2, 58], Operations: ['77-36=41', '99-41=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[2, 36, 77, 99], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [2, 36, 22]
Generated Node #0,0: 29:[2, 36, 22] Operation: 99-77=22
Moving to Node #0,0
Current State: 29:[2, 36, 22], Operations: ['99-77=22']
Exploring Operation: 36-2=34, Resulting Numbers: [22, 34]
Generated Node #0,0,0: 29:[22, 34] Operation: 36-2=34
Moving to Node #0,0,0
Current State: 29:[22, 34], Operations: ['99-77=22', '36-2=34']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,29 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
41,
59,
26
] | 91 | [
"41-26=15",
"10*15=150",
"150-59=91"
] | Current State: 91:[10, 41, 59, 26], Operations: []
Exploring Operation: 41-26=15, Resulting Numbers: [10, 59, 15]
Generated Node #2: [10, 59, 15] from Operation: 41-26=15
Current State: 91:[10, 59, 15], Operations: ['41-26=15']
Exploring Operation: 10*15=150, Resulting Numbers: [59, 150]
Generated Node #3: [59, 150] from Operation: 10*15=150
Current State: 91:[59, 150], Operations: ['41-26=15', '10*15=150']
Exploring Operation: 150-59=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[10, 41, 59, 26], Operations: []
Exploring Operation: 41+59=100, Resulting Numbers: [10, 26, 100]
Generated Node #0,0: 91:[10, 26, 100] Operation: 41+59=100
Exploring Operation: 59-41=18, Resulting Numbers: [10, 26, 18]
Generated Node #0,1: 91:[10, 26, 18] Operation: 59-41=18
Moving to Node #0,1
Current State: 91:[10, 26, 18], Operations: ['59-41=18']
Exploring Operation: 26-18=8, Resulting Numbers: [10, 8]
Generated Node #0,1,0: 91:[10, 8] Operation: 26-18=8
Exploring Operation: 26-10=16, Resulting Numbers: [18, 16]
Generated Node #0,1,1: 91:[18, 16] Operation: 26-10=16
Moving to Node #0,0
Current State: 91:[10, 26, 100], Operations: ['41+59=100']
Exploring Operation: 26-10=16, Resulting Numbers: [100, 16]
Generated Node #0,0,0: 91:[100, 16] Operation: 26-10=16
Exploring Operation: 100-10=90, Resulting Numbers: [26, 90]
Generated Node #0,0,1: 91:[26, 90] Operation: 100-10=90
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[100, 16], Operations: ['41+59=100', '26-10=16']
Exploring Operation: 100+16=116, Resulting Numbers: [116]
116,91 unequal: No Solution
Exploring Operation: 100-16=84, Resulting Numbers: [84]
84,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[26, 90], Operations: ['41+59=100', '100-10=90']
Exploring Operation: 26+90=116, Resulting Numbers: [116]
116,91 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 91:[10, 8], Operations: ['59-41=18', '26-18=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[18, 16], Operations: ['59-41=18', '26-10=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,91 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
49,
84,
18,
3
] | 35 | [
"84*3=252",
"252/18=14",
"49-14=35"
] | Current State: 35:[49, 84, 18, 3], Operations: []
Exploring Operation: 84*3=252, Resulting Numbers: [49, 18, 252]
Generated Node #2: [49, 18, 252] from Operation: 84*3=252
Current State: 35:[49, 18, 252], Operations: ['84*3=252']
Exploring Operation: 252/18=14, Resulting Numbers: [49, 14]
Generated Node #3: [49, 14] from Operation: 252/18=14
Current State: 35:[49, 14], Operations: ['84*3=252', '252/18=14']
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[49, 84, 18, 3], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [49, 18, 28]
Generated Node #0,0: 35:[49, 18, 28] Operation: 84/3=28
Exploring Operation: 84-49=35, Resulting Numbers: [18, 3, 35]
Generated Node #0,1: 35:[18, 3, 35] Operation: 84-49=35
Moving to Node #0,1
Current State: 35:[18, 3, 35], Operations: ['84-49=35']
Exploring Operation: 18-3=15, Resulting Numbers: [35, 15]
Generated Node #0,1,0: 35:[35, 15] Operation: 18-3=15
Exploring Operation: 18/3=6, Resulting Numbers: [35, 6]
Generated Node #0,1,1: 35:[35, 6] Operation: 18/3=6
Moving to Node #0,0
Current State: 35:[49, 18, 28], Operations: ['84/3=28']
Exploring Operation: 28-18=10, Resulting Numbers: [49, 10]
Generated Node #0,0,0: 35:[49, 10] Operation: 28-18=10
Exploring Operation: 49-18=31, Resulting Numbers: [28, 31]
Generated Node #0,0,1: 35:[28, 31] Operation: 49-18=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[28, 31], Operations: ['84/3=28', '49-18=31']
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,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:[49, 10], Operations: ['84/3=28', '28-18=10']
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 35:[35, 6], Operations: ['84-49=35', '18/3=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[35, 15], Operations: ['84-49=35', '18-3=15']
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,35 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
54,
57,
46,
76
] | 93 | [
"57*76=4332",
"4332-54=4278",
"4278/46=93"
] | Current State: 93:[54, 57, 46, 76], Operations: []
Exploring Operation: 57*76=4332, Resulting Numbers: [54, 46, 4332]
Generated Node #2: [54, 46, 4332] from Operation: 57*76=4332
Current State: 93:[54, 46, 4332], Operations: ['57*76=4332']
Exploring Operation: 4332-54=4278, Resulting Numbers: [46, 4278]
Generated Node #3: [46, 4278] from Operation: 4332-54=4278
Current State: 93:[46, 4278], Operations: ['57*76=4332', '4332-54=4278']
Exploring Operation: 4278/46=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[54, 57, 46, 76], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [57, 76, 8]
Generated Node #0,0: 93:[57, 76, 8] Operation: 54-46=8
Exploring Operation: 57-54=3, Resulting Numbers: [46, 76, 3]
Generated Node #0,1: 93:[46, 76, 3] Operation: 57-54=3
Exploring Operation: 54+57=111, Resulting Numbers: [46, 76, 111]
Generated Node #0,2: 93:[46, 76, 111] Operation: 54+57=111
Exploring Operation: 57-46=11, Resulting Numbers: [54, 76, 11]
Generated Node #0,3: 93:[54, 76, 11] Operation: 57-46=11
Exploring Operation: 54+46=100, Resulting Numbers: [57, 76, 100]
Generated Node #0,4: 93:[57, 76, 100] Operation: 54+46=100
Moving to Node #0,1
Current State: 93:[46, 76, 3], Operations: ['57-54=3']
Exploring Operation: 76-46=30, Resulting Numbers: [3, 30]
Generated Node #0,1,0: 93:[3, 30] Operation: 76-46=30
Exploring Operation: 76+3=79, Resulting Numbers: [46, 79]
Generated Node #0,1,1: 93:[46, 79] Operation: 76+3=79
Exploring Operation: 46-3=43, Resulting Numbers: [76, 43]
Generated Node #0,1,2: 93:[76, 43] Operation: 46-3=43
Exploring Operation: 46+76=122, Resulting Numbers: [3, 122]
Generated Node #0,1,3: 93:[3, 122] Operation: 46+76=122
Exploring Operation: 46+3=49, Resulting Numbers: [76, 49]
Generated Node #0,1,4: 93:[76, 49] Operation: 46+3=49
Moving to Node #0,3
Current State: 93:[54, 76, 11], Operations: ['57-46=11']
Exploring Operation: 54+76=130, Resulting Numbers: [11, 130]
Generated Node #0,3,0: 93:[11, 130] Operation: 54+76=130
Exploring Operation: 76-54=22, Resulting Numbers: [11, 22]
Generated Node #0,3,1: 93:[11, 22] Operation: 76-54=22
Exploring Operation: 54-11=43, Resulting Numbers: [76, 43]
Generated Node #0,3,2: 93:[76, 43] Operation: 54-11=43
Exploring Operation: 76+11=87, Resulting Numbers: [54, 87]
Generated Node #0,3,3: 93:[54, 87] Operation: 76+11=87
Exploring Operation: 54+11=65, Resulting Numbers: [76, 65]
Generated Node #0,3,4: 93:[76, 65] Operation: 54+11=65
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 93:[11, 22], Operations: ['57-46=11', '76-54=22']
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,93 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 93:[76, 43], Operations: ['57-46=11', '54-11=43']
Exploring Operation: 76*43=3268, Resulting Numbers: [3268]
3268,93 unequal: No Solution
Exploring Operation: 76-43=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 76+43=119, Resulting Numbers: [119]
119,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 93:[54, 87], Operations: ['57-46=11', '76+11=87']
Exploring Operation: 54+87=141, Resulting Numbers: [141]
141,93 unequal: No Solution
Exploring Operation: 54*87=4698, Resulting Numbers: [4698]
4698,93 unequal: No Solution
Exploring Operation: 87-54=33, Resulting Numbers: [33]
33,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[11, 130], Operations: ['57-46=11', '54+76=130']
Exploring Operation: 11*130=1430, Resulting Numbers: [1430]
1430,93 unequal: No Solution
Exploring Operation: 130-11=119, Resulting Numbers: [119]
119,93 unequal: No Solution
Exploring Operation: 11+130=141, Resulting Numbers: [141]
141,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 93:[76, 65], Operations: ['57-46=11', '54+11=65']
Exploring Operation: 76+65=141, Resulting Numbers: [141]
141,93 unequal: No Solution
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 76*65=4940, Resulting Numbers: [4940]
4940,93 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: 93:[57, 76, 8], Operations: ['54-46=8']
Exploring Operation: 57-8=49, Resulting Numbers: [76, 49]
Generated Node #0,0,0: 93:[76, 49] Operation: 57-8=49
Exploring Operation: 57+76=133, Resulting Numbers: [8, 133]
Generated Node #0,0,1: 93:[8, 133] Operation: 57+76=133
Exploring Operation: 57+8=65, Resulting Numbers: [76, 65]
Generated Node #0,0,2: 93:[76, 65] Operation: 57+8=65
Exploring Operation: 76-57=19, Resulting Numbers: [8, 19]
Generated Node #0,0,3: 93:[8, 19] Operation: 76-57=19
Exploring Operation: 76+8=84, Resulting Numbers: [57, 84]
Generated Node #0,0,4: 93:[57, 84] Operation: 76+8=84
Moving to Node #0,2
Current State: 93:[46, 76, 111], Operations: ['54+57=111']
Exploring Operation: 111-46=65, Resulting Numbers: [76, 65]
Generated Node #0,2,0: 93:[76, 65] Operation: 111-46=65
Exploring Operation: 111-76=35, Resulting Numbers: [46, 35]
Generated Node #0,2,1: 93:[46, 35] Operation: 111-76=35
Exploring Operation: 46+111=157, Resulting Numbers: [76, 157]
Generated Node #0,2,2: 93:[76, 157] Operation: 46+111=157
Exploring Operation: 76-46=30, Resulting Numbers: [111, 30]
Generated Node #0,2,3: 93:[111, 30] Operation: 76-46=30
Exploring Operation: 46+76=122, Resulting Numbers: [111, 122]
Generated Node #0,2,4: 93:[111, 122] Operation: 46+76=122
Moving to Node #0,4
Current State: 93:[57, 76, 100], Operations: ['54+46=100']
Exploring Operation: 100-76=24, Resulting Numbers: [57, 24]
Generated Node #0,4,0: 93:[57, 24] Operation: 100-76=24
Exploring Operation: 57+76=133, Resulting Numbers: [100, 133]
Generated Node #0,4,1: 93:[100, 133] Operation: 57+76=133
Exploring Operation: 76-57=19, Resulting Numbers: [100, 19]
Generated Node #0,4,2: 93:[100, 19] Operation: 76-57=19
Exploring Operation: 100-57=43, Resulting Numbers: [76, 43]
Generated Node #0,4,3: 93:[76, 43] Operation: 100-57=43
Exploring Operation: 57+100=157, Resulting Numbers: [76, 157]
Generated Node #0,4,4: 93:[76, 157] Operation: 57+100=157
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 93:[100, 19], Operations: ['54+46=100', '76-57=19']
Exploring Operation: 100*19=1900, Resulting Numbers: [1900]
1900,93 unequal: No Solution
Exploring Operation: 100-19=81, Resulting Numbers: [81]
81,93 unequal: No Solution
Exploring Operation: 100+19=119, Resulting Numbers: [119]
119,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 93:[76, 43], Operations: ['54+46=100', '100-57=43']
Exploring Operation: 76-43=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 76+43=119, Resulting Numbers: [119]
119,93 unequal: No Solution
Exploring Operation: 76*43=3268, Resulting Numbers: [3268]
3268,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 93:[57, 24], Operations: ['54+46=100', '100-76=24']
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,93 unequal: No Solution
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,93 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 93:[100, 133], Operations: ['54+46=100', '57+76=133']
Exploring Operation: 100*133=13300, Resulting Numbers: [13300]
13300,93 unequal: No Solution
Exploring Operation: 100+133=233, Resulting Numbers: [233]
233,93 unequal: No Solution
Exploring Operation: 133-100=33, Resulting Numbers: [33]
33,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 93:[76, 157], Operations: ['54+46=100', '57+100=157']
Exploring Operation: 157-76=81, Resulting Numbers: [81]
81,93 unequal: No Solution
Exploring Operation: 76*157=11932, Resulting Numbers: [11932]
11932,93 unequal: No Solution
Exploring Operation: 76+157=233, Resulting Numbers: [233]
233,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 93:[3, 30], Operations: ['57-54=3', '76-46=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,93 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[8, 19], Operations: ['54-46=8', '76-57=19']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,93 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[111, 30], Operations: ['54+57=111', '76-46=30']
Exploring Operation: 111+30=141, Resulting Numbers: [141]
141,93 unequal: No Solution
Exploring Operation: 111-30=81, Resulting Numbers: [81]
81,93 unequal: No Solution
Exploring Operation: 111*30=3330, Resulting Numbers: [3330]
3330,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[46, 35], Operations: ['54+57=111', '111-76=35']
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,93 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[76, 43], Operations: ['57-54=3', '46-3=43']
Exploring Operation: 76+43=119, Resulting Numbers: [119]
119,93 unequal: No Solution
Exploring Operation: 76*43=3268, Resulting Numbers: [3268]
3268,93 unequal: No Solution
Exploring Operation: 76-43=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[46, 79], Operations: ['57-54=3', '76+3=79']
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 46*79=3634, Resulting Numbers: [3634]
3634,93 unequal: No Solution
Exploring Operation: 46+79=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[3, 122], Operations: ['57-54=3', '46+76=122']
Exploring Operation: 122-3=119, Resulting Numbers: [119]
119,93 unequal: No Solution
Exploring Operation: 3*122=366, Resulting Numbers: [366]
366,93 unequal: No Solution
Exploring Operation: 3+122=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[76, 49], Operations: ['54-46=8', '57-8=49']
Exploring Operation: 76*49=3724, Resulting Numbers: [3724]
3724,93 unequal: No Solution
Exploring Operation: 76+49=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Exploring Operation: 76-49=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Moving to Node #0,1,4
Current State: 93:[76, 49], Operations: ['57-54=3', '46+3=49']
Exploring Operation: 76-49=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Exploring Operation: 76*49=3724, Resulting Numbers: [3724]
3724,93 unequal: No Solution
Exploring Operation: 76+49=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Moving to Node #0,0,4
Current State: 93:[57, 84], Operations: ['54-46=8', '76+8=84']
Exploring Operation: 57+84=141, Resulting Numbers: [141]
141,93 unequal: No Solution
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Exploring Operation: 57*84=4788, Resulting Numbers: [4788]
4788,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[76, 65], Operations: ['54+57=111', '111-46=65']
Exploring Operation: 76*65=4940, Resulting Numbers: [4940]
4940,93 unequal: No Solution
Exploring Operation: 76+65=141, Resulting Numbers: [141]
141,93 unequal: No Solution
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[8, 133], Operations: ['54-46=8', '57+76=133']
Exploring Operation: 8*133=1064, Resulting Numbers: [1064]
1064,93 unequal: No Solution
Exploring Operation: 133-8=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Exploring Operation: 8+133=141, Resulting Numbers: [141]
141,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[76, 65], Operations: ['54-46=8', '57+8=65']
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 76*65=4940, Resulting Numbers: [4940]
4940,93 unequal: No Solution
Exploring Operation: 76+65=141, Resulting Numbers: [141]
141,93 unequal: No Solution
Moving to Node #0,2,4
Current State: 93:[111, 122], Operations: ['54+57=111', '46+76=122']
Exploring Operation: 111+122=233, Resulting Numbers: [233]
233,93 unequal: No Solution
Exploring Operation: 111*122=13542, Resulting Numbers: [13542]
13542,93 unequal: No Solution
Exploring Operation: 122-111=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[76, 157], Operations: ['54+57=111', '46+111=157']
Exploring Operation: 76+157=233, Resulting Numbers: [233]
233,93 unequal: No Solution
Exploring Operation: 76*157=11932, Resulting Numbers: [11932]
11932,93 unequal: No Solution
Exploring Operation: 157-76=81, Resulting Numbers: [81]
81,93 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
12,
76,
92,
44
] | 94 | [
"12+76=88",
"88/44=2",
"92+2=94"
] | Current State: 94:[12, 76, 92, 44], Operations: []
Exploring Operation: 12+76=88, Resulting Numbers: [92, 44, 88]
Generated Node #2: [92, 44, 88] from Operation: 12+76=88
Current State: 94:[92, 44, 88], Operations: ['12+76=88']
Exploring Operation: 88/44=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 88/44=2
Current State: 94:[92, 2], Operations: ['12+76=88', '88/44=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[12, 76, 92, 44], Operations: []
Exploring Operation: 76-12=64, Resulting Numbers: [92, 44, 64]
Generated Node #0,0: 94:[92, 44, 64] Operation: 76-12=64
Exploring Operation: 12+76=88, Resulting Numbers: [92, 44, 88]
Generated Node #0,1: 94:[92, 44, 88] Operation: 12+76=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[92, 44, 88], Operations: ['12+76=88']
Exploring Operation: 88/44=2, Resulting Numbers: [92, 2]
Generated Node #0,1,0: 94:[92, 2] Operation: 88/44=2
Exploring Operation: 92-88=4, Resulting Numbers: [44, 4]
Generated Node #0,1,1: 94:[44, 4] Operation: 92-88=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[92, 2], Operations: ['12+76=88', '88/44=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[12, 76, 92, 44], Operations: []
Exploring Operation: 12+76=88, Resulting Numbers: [92, 44, 88]
Generated Node #0,1: 94:[92, 44, 88] Operation: 12+76=88
Moving to Node #0,1
Current State: 94:[92, 44, 88], Operations: ['12+76=88']
Exploring Operation: 88/44=2, Resulting Numbers: [92, 2]
Generated Node #0,1,0: 94:[92, 2] Operation: 88/44=2
Moving to Node #0,1,0
Current State: 94:[92, 2], Operations: ['12+76=88', '88/44=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
65,
90,
8,
16
] | 49 | [
"90-65=25",
"8+16=24",
"25+24=49"
] | Current State: 49:[65, 90, 8, 16], Operations: []
Exploring Operation: 90-65=25, Resulting Numbers: [8, 16, 25]
Generated Node #2: [8, 16, 25] from Operation: 90-65=25
Current State: 49:[8, 16, 25], Operations: ['90-65=25']
Exploring Operation: 8+16=24, Resulting Numbers: [25, 24]
Generated Node #3: [25, 24] from Operation: 8+16=24
Current State: 49:[25, 24], Operations: ['90-65=25', '8+16=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[65, 90, 8, 16], Operations: []
Exploring Operation: 65-16=49, Resulting Numbers: [90, 8, 49]
Generated Node #0,0: 49:[90, 8, 49] Operation: 65-16=49
Exploring Operation: 90-65=25, Resulting Numbers: [8, 16, 25]
Generated Node #0,1: 49:[8, 16, 25] Operation: 90-65=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[8, 16, 25], Operations: ['90-65=25']
Exploring Operation: 16+25=41, Resulting Numbers: [8, 41]
Generated Node #0,1,0: 49:[8, 41] Operation: 16+25=41
Exploring Operation: 25-16=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 49:[8, 9] Operation: 25-16=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[8, 9], Operations: ['90-65=25', '25-16=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,49 unequal: No Solution
No 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: 49:[8, 41], Operations: ['90-65=25', '16+25=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[65, 90, 8, 16], Operations: []
Exploring Operation: 90-65=25, Resulting Numbers: [8, 16, 25]
Generated Node #0,1: 49:[8, 16, 25] Operation: 90-65=25
Moving to Node #0,1
Current State: 49:[8, 16, 25], Operations: ['90-65=25']
Exploring Operation: 16+25=41, Resulting Numbers: [8, 41]
Generated Node #0,1,0: 49:[8, 41] Operation: 16+25=41
Moving to Node #0,1,0
Current State: 49:[8, 41], Operations: ['90-65=25', '16+25=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
72,
42,
80,
9
] | 52 | [
"72/9=8",
"80/8=10",
"42+10=52"
] | Current State: 52:[72, 42, 80, 9], Operations: []
Exploring Operation: 72/9=8, Resulting Numbers: [42, 80, 8]
Generated Node #2: [42, 80, 8] from Operation: 72/9=8
Current State: 52:[42, 80, 8], Operations: ['72/9=8']
Exploring Operation: 80/8=10, Resulting Numbers: [42, 10]
Generated Node #3: [42, 10] from Operation: 80/8=10
Current State: 52:[42, 10], Operations: ['72/9=8', '80/8=10']
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[72, 42, 80, 9], Operations: []
Exploring Operation: 72/9=8, Resulting Numbers: [42, 80, 8]
Generated Node #0,0: 52:[42, 80, 8] Operation: 72/9=8
Exploring Operation: 72-42=30, Resulting Numbers: [80, 9, 30]
Generated Node #0,1: 52:[80, 9, 30] Operation: 72-42=30
Exploring Operation: 80-72=8, Resulting Numbers: [42, 9, 8]
Generated Node #0,2: 52:[42, 9, 8] Operation: 80-72=8
Exploring Operation: 72-9=63, Resulting Numbers: [42, 80, 63]
Generated Node #0,3: 52:[42, 80, 63] Operation: 72-9=63
Exploring Operation: 80-42=38, Resulting Numbers: [72, 9, 38]
Generated Node #0,4: 52:[72, 9, 38] Operation: 80-42=38
Moving to Node #0,2
Current State: 52:[42, 9, 8], Operations: ['80-72=8']
Exploring Operation: 42+9=51, Resulting Numbers: [8, 51]
Generated Node #0,2,0: 52:[8, 51] Operation: 42+9=51
Exploring Operation: 42-8=34, Resulting Numbers: [9, 34]
Generated Node #0,2,1: 52:[9, 34] Operation: 42-8=34
Exploring Operation: 9-8=1, Resulting Numbers: [42, 1]
Generated Node #0,2,2: 52:[42, 1] Operation: 9-8=1
Exploring Operation: 42+8=50, Resulting Numbers: [9, 50]
Generated Node #0,2,3: 52:[9, 50] Operation: 42+8=50
Exploring Operation: 42-9=33, Resulting Numbers: [8, 33]
Generated Node #0,2,4: 52:[8, 33] Operation: 42-9=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[8, 51], Operations: ['80-72=8', '42+9=51']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 8*51=408, Resulting Numbers: [408]
408,52 unequal: No Solution
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 52:[9, 50], Operations: ['80-72=8', '42+8=50']
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Exploring Operation: 9*50=450, Resulting Numbers: [450]
450,52 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[42, 1], Operations: ['80-72=8', '9-8=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 52:[8, 33], Operations: ['80-72=8', '42-9=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[9, 34], Operations: ['80-72=8', '42-8=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,52 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,52 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: 52:[72, 9, 38], Operations: ['80-42=38']
Exploring Operation: 38-9=29, Resulting Numbers: [72, 29]
Generated Node #0,4,0: 52:[72, 29] Operation: 38-9=29
Exploring Operation: 72-9=63, Resulting Numbers: [38, 63]
Generated Node #0,4,1: 52:[38, 63] Operation: 72-9=63
Exploring Operation: 72-38=34, Resulting Numbers: [9, 34]
Generated Node #0,4,2: 52:[9, 34] Operation: 72-38=34
Exploring Operation: 72/9=8, Resulting Numbers: [38, 8]
Generated Node #0,4,3: 52:[38, 8] Operation: 72/9=8
Exploring Operation: 9+38=47, Resulting Numbers: [72, 47]
Generated Node #0,4,4: 52:[72, 47] Operation: 9+38=47
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 52:[9, 34], Operations: ['80-42=38', '72-38=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 52:[38, 8], Operations: ['80-42=38', '72/9=8']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,52 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,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,0
Current State: 52:[72, 29], Operations: ['80-42=38', '38-9=29']
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,52 unequal: No Solution
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 52:[38, 63], Operations: ['80-42=38', '72-9=63']
Exploring Operation: 38+63=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 38*63=2394, Resulting Numbers: [2394]
2394,52 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 52:[72, 47], Operations: ['80-42=38', '9+38=47']
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,52 unequal: No Solution
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,52 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: 52:[80, 9, 30], Operations: ['72-42=30']
Exploring Operation: 80-30=50, Resulting Numbers: [9, 50]
Generated Node #0,1,0: 52:[9, 50] Operation: 80-30=50
Exploring Operation: 9+30=39, Resulting Numbers: [80, 39]
Generated Node #0,1,1: 52:[80, 39] Operation: 9+30=39
Exploring Operation: 80-9=71, Resulting Numbers: [30, 71]
Generated Node #0,1,2: 52:[30, 71] Operation: 80-9=71
Exploring Operation: 80+9=89, Resulting Numbers: [30, 89]
Generated Node #0,1,3: 52:[30, 89] Operation: 80+9=89
Exploring Operation: 30-9=21, Resulting Numbers: [80, 21]
Generated Node #0,1,4: 52:[80, 21] Operation: 30-9=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[9, 50], Operations: ['72-42=30', '80-30=50']
Exploring Operation: 9*50=450, Resulting Numbers: [450]
450,52 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[30, 71], Operations: ['72-42=30', '80-9=71']
Exploring Operation: 30*71=2130, Resulting Numbers: [2130]
2130,52 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 30+71=101, Resulting Numbers: [101]
101,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,4
Current State: 52:[80, 21], Operations: ['72-42=30', '30-9=21']
Exploring Operation: 80*21=1680, Resulting Numbers: [1680]
1680,52 unequal: No Solution
Exploring Operation: 80+21=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,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,1
Current State: 52:[80, 39], Operations: ['72-42=30', '9+30=39']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,52 unequal: No Solution
Exploring Operation: 80*39=3120, Resulting Numbers: [3120]
3120,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,3
Current State: 52:[30, 89], Operations: ['72-42=30', '80+9=89']
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Exploring Operation: 30*89=2670, Resulting Numbers: [2670]
2670,52 unequal: No Solution
Exploring Operation: 30+89=119, Resulting Numbers: [119]
119,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[42, 80, 8], Operations: ['72/9=8']
Exploring Operation: 80-8=72, Resulting Numbers: [42, 72]
Generated Node #0,0,0: 52:[42, 72] Operation: 80-8=72
Exploring Operation: 80-42=38, Resulting Numbers: [8, 38]
Generated Node #0,0,1: 52:[8, 38] Operation: 80-42=38
Exploring Operation: 42+8=50, Resulting Numbers: [80, 50]
Generated Node #0,0,2: 52:[80, 50] Operation: 42+8=50
Exploring Operation: 42-8=34, Resulting Numbers: [80, 34]
Generated Node #0,0,3: 52:[80, 34] Operation: 42-8=34
Exploring Operation: 80/8=10, Resulting Numbers: [42, 10]
Generated Node #0,0,4: 52:[42, 10] Operation: 80/8=10
Moving to Node #0,3
Current State: 52:[42, 80, 63], Operations: ['72-9=63']
Exploring Operation: 80-63=17, Resulting Numbers: [42, 17]
Generated Node #0,3,0: 52:[42, 17] Operation: 80-63=17
Exploring Operation: 42+63=105, Resulting Numbers: [80, 105]
Generated Node #0,3,1: 52:[80, 105] Operation: 42+63=105
Exploring Operation: 80-42=38, Resulting Numbers: [63, 38]
Generated Node #0,3,2: 52:[63, 38] Operation: 80-42=38
Exploring Operation: 63-42=21, Resulting Numbers: [80, 21]
Generated Node #0,3,3: 52:[80, 21] Operation: 63-42=21
Exploring Operation: 42+80=122, Resulting Numbers: [63, 122]
Generated Node #0,3,4: 52:[63, 122] Operation: 42+80=122
Moving to Node #0,0,4
Current State: 52:[42, 10], Operations: ['72/9=8', '80/8=10']
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,52 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[72, 42, 80, 9], Operations: []
Exploring Operation: 72/9=8, Resulting Numbers: [42, 80, 8]
Generated Node #0,0: 52:[42, 80, 8] Operation: 72/9=8
Moving to Node #0,0
Current State: 52:[42, 80, 8], Operations: ['72/9=8']
Exploring Operation: 80/8=10, Resulting Numbers: [42, 10]
Generated Node #0,0,4: 52:[42, 10] Operation: 80/8=10
Moving to Node #0,0,4
Current State: 52:[42, 10], Operations: ['72/9=8', '80/8=10']
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.928819 | hs_5 | sum_heuristic |
[
55,
37,
28,
4
] | 94 | [
"55-37=18",
"28*4=112",
"112-18=94"
] | Current State: 94:[55, 37, 28, 4], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [28, 4, 18]
Generated Node #2: [28, 4, 18] from Operation: 55-37=18
Current State: 94:[28, 4, 18], Operations: ['55-37=18']
Exploring Operation: 28*4=112, Resulting Numbers: [18, 112]
Generated Node #3: [18, 112] from Operation: 28*4=112
Current State: 94:[18, 112], Operations: ['55-37=18', '28*4=112']
Exploring Operation: 112-18=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[55, 37, 28, 4], Operations: []
Exploring Operation: 55+28=83, Resulting Numbers: [37, 4, 83]
Generated Node #0,0: 94:[37, 4, 83] Operation: 55+28=83
Exploring Operation: 37-28=9, Resulting Numbers: [55, 4, 9]
Generated Node #0,1: 94:[55, 4, 9] Operation: 37-28=9
Exploring Operation: 55+37=92, Resulting Numbers: [28, 4, 92]
Generated Node #0,2: 94:[28, 4, 92] Operation: 55+37=92
Exploring Operation: 28/4=7, Resulting Numbers: [55, 37, 7]
Generated Node #0,3: 94:[55, 37, 7] Operation: 28/4=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[55, 4, 9], Operations: ['37-28=9']
Exploring Operation: 55+4=59, Resulting Numbers: [9, 59]
Generated Node #0,1,0: 94:[9, 59] Operation: 55+4=59
Exploring Operation: 55-4=51, Resulting Numbers: [9, 51]
Generated Node #0,1,1: 94:[9, 51] Operation: 55-4=51
Exploring Operation: 9-4=5, Resulting Numbers: [55, 5]
Generated Node #0,1,2: 94:[55, 5] Operation: 9-4=5
Exploring Operation: 55-9=46, Resulting Numbers: [4, 46]
Generated Node #0,1,3: 94:[4, 46] Operation: 55-9=46
Moving to Node #0,1,3
Current State: 94:[4, 46], Operations: ['37-28=9', '55-9=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,94 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[55, 5], Operations: ['37-28=9', '9-4=5']
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,94 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[9, 51], Operations: ['37-28=9', '55-4=51']
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,94 unequal: No Solution
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[9, 59], Operations: ['37-28=9', '55+4=59']
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,94 unequal: No Solution
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,94 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[37, 4, 83], Operations: ['55+28=83']
Exploring Operation: 37+4=41, Resulting Numbers: [83, 41]
Generated Node #0,0,0: 94:[83, 41] Operation: 37+4=41
Exploring Operation: 83-37=46, Resulting Numbers: [4, 46]
Generated Node #0,0,1: 94:[4, 46] Operation: 83-37=46
Exploring Operation: 4+83=87, Resulting Numbers: [37, 87]
Generated Node #0,0,2: 94:[37, 87] Operation: 4+83=87
Exploring Operation: 37-4=33, Resulting Numbers: [83, 33]
Generated Node #0,0,3: 94:[83, 33] Operation: 37-4=33
Moving to Node #0,0,1
Current State: 94:[4, 46], Operations: ['55+28=83', '83-37=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,94 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[37, 87], Operations: ['55+28=83', '4+83=87']
Exploring Operation: 37*87=3219, Resulting Numbers: [3219]
3219,94 unequal: No Solution
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 37+87=124, Resulting Numbers: [124]
124,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[83, 41], Operations: ['55+28=83', '37+4=41']
Exploring Operation: 83*41=3403, Resulting Numbers: [3403]
3403,94 unequal: No Solution
Exploring Operation: 83+41=124, Resulting Numbers: [124]
124,94 unequal: No Solution
Exploring Operation: 83-41=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[83, 33], Operations: ['55+28=83', '37-4=33']
Exploring Operation: 83+33=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 83*33=2739, Resulting Numbers: [2739]
2739,94 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[28, 4, 92], Operations: ['55+37=92']
Exploring Operation: 92-28=64, Resulting Numbers: [4, 64]
Generated Node #0,2,0: 94:[4, 64] Operation: 92-28=64
Exploring Operation: 28/4=7, Resulting Numbers: [92, 7]
Generated Node #0,2,1: 94:[92, 7] Operation: 28/4=7
Exploring Operation: 28+4=32, Resulting Numbers: [92, 32]
Generated Node #0,2,2: 94:[92, 32] Operation: 28+4=32
Exploring Operation: 28*4=112, Resulting Numbers: [92, 112]
Generated Node #0,2,3: 94:[92, 112] Operation: 28*4=112
Moving to Node #0,2,1
Current State: 94:[92, 7], Operations: ['55+37=92', '28/4=7']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Exploring Operation: 92*7=644, Resulting Numbers: [644]
644,94 unequal: No Solution
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[92, 32], Operations: ['55+37=92', '28+4=32']
Exploring Operation: 92+32=124, Resulting Numbers: [124]
124,94 unequal: No Solution
Exploring Operation: 92*32=2944, Resulting Numbers: [2944]
2944,94 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[4, 64], Operations: ['55+37=92', '92-28=64']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,94 unequal: No Solution
Exploring Operation: 4*64=256, Resulting Numbers: [256]
256,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[92, 112], Operations: ['55+37=92', '28*4=112']
Exploring Operation: 112-92=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 92+112=204, Resulting Numbers: [204]
204,94 unequal: No Solution
Exploring Operation: 92*112=10304, Resulting Numbers: [10304]
10304,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[55, 37, 7], Operations: ['28/4=7']
Exploring Operation: 55-37=18, Resulting Numbers: [7, 18]
Generated Node #0,3,0: 94:[7, 18] Operation: 55-37=18
Exploring Operation: 55+37=92, Resulting Numbers: [7, 92]
Generated Node #0,3,1: 94:[7, 92] Operation: 55+37=92
Exploring Operation: 55-7=48, Resulting Numbers: [37, 48]
Generated Node #0,3,2: 94:[37, 48] Operation: 55-7=48
Exploring Operation: 37+7=44, Resulting Numbers: [55, 44]
Generated Node #0,3,3: 94:[55, 44] Operation: 37+7=44
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 94:[7, 92], Operations: ['28/4=7', '55+37=92']
Exploring Operation: 7*92=644, Resulting Numbers: [644]
644,94 unequal: No Solution
Exploring Operation: 7+92=99, Resulting Numbers: [99]
99,94 unequal: No Solution
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,94 unequal: No Solution
No 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: 94:[37, 48], Operations: ['28/4=7', '55-7=48']
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Exploring Operation: 37*48=1776, Resulting Numbers: [1776]
1776,94 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,94 unequal: No Solution
No 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: 94:[55, 44], Operations: ['28/4=7', '37+7=44']
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 55+44=99, Resulting Numbers: [99]
99,94 unequal: No Solution
Exploring Operation: 55*44=2420, Resulting Numbers: [2420]
2420,94 unequal: No Solution
No 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: 94:[7, 18], Operations: ['28/4=7', '55-37=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,94 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,94 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 |
[
66,
51,
69,
33
] | 54 | [
"69-66=3",
"51-33=18",
"3*18=54"
] | Current State: 54:[66, 51, 69, 33], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [51, 33, 3]
Generated Node #2: [51, 33, 3] from Operation: 69-66=3
Current State: 54:[51, 33, 3], Operations: ['69-66=3']
Exploring Operation: 51-33=18, Resulting Numbers: [3, 18]
Generated Node #3: [3, 18] from Operation: 51-33=18
Current State: 54:[3, 18], Operations: ['69-66=3', '51-33=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[66, 51, 69, 33], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [51, 33, 3]
Generated Node #0,0: 54:[51, 33, 3] Operation: 69-66=3
Exploring Operation: 66/33=2, Resulting Numbers: [51, 69, 2]
Generated Node #0,1: 54:[51, 69, 2] Operation: 66/33=2
Exploring Operation: 69-51=18, Resulting Numbers: [66, 33, 18]
Generated Node #0,2: 54:[66, 33, 18] Operation: 69-51=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[51, 33, 3], Operations: ['69-66=3']
Exploring Operation: 51+3=54, Resulting Numbers: [33, 54]
Generated Node #0,0,0: 54:[33, 54] Operation: 51+3=54
Exploring Operation: 33/3=11, Resulting Numbers: [51, 11]
Generated Node #0,0,1: 54:[51, 11] Operation: 33/3=11
Exploring Operation: 51-33=18, Resulting Numbers: [3, 18]
Generated Node #0,0,2: 54:[3, 18] Operation: 51-33=18
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 54:[3, 18], Operations: ['69-66=3', '51-33=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[66, 51, 69, 33], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [51, 33, 3]
Generated Node #0,0: 54:[51, 33, 3] Operation: 69-66=3
Moving to Node #0,0
Current State: 54:[51, 33, 3], Operations: ['69-66=3']
Exploring Operation: 51-33=18, Resulting Numbers: [3, 18]
Generated Node #0,0,2: 54:[3, 18] Operation: 51-33=18
Moving to Node #0,0,2
Current State: 54:[3, 18], Operations: ['69-66=3', '51-33=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
98,
20,
2,
92
] | 72 | [
"98+20=118",
"92/2=46",
"118-46=72"
] | Current State: 72:[98, 20, 2, 92], Operations: []
Exploring Operation: 98+20=118, Resulting Numbers: [2, 92, 118]
Generated Node #2: [2, 92, 118] from Operation: 98+20=118
Current State: 72:[2, 92, 118], Operations: ['98+20=118']
Exploring Operation: 92/2=46, Resulting Numbers: [118, 46]
Generated Node #3: [118, 46] from Operation: 92/2=46
Current State: 72:[118, 46], Operations: ['98+20=118', '92/2=46']
Exploring Operation: 118-46=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[98, 20, 2, 92], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [20, 2, 6]
Generated Node #0,0: 72:[20, 2, 6] Operation: 98-92=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[20, 2, 6], Operations: ['98-92=6']
Exploring Operation: 20-2=18, Resulting Numbers: [6, 18]
Generated Node #0,0,0: 72:[6, 18] Operation: 20-2=18
Moving to Node #0,0,0
Current State: 72:[6, 18], Operations: ['98-92=6', '20-2=18']
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,72 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 |
[
20,
56,
6,
65
] | 26 | [
"20*65=1300",
"56-6=50",
"1300/50=26"
] | Current State: 26:[20, 56, 6, 65], Operations: []
Exploring Operation: 20*65=1300, Resulting Numbers: [56, 6, 1300]
Generated Node #2: [56, 6, 1300] from Operation: 20*65=1300
Current State: 26:[56, 6, 1300], Operations: ['20*65=1300']
Exploring Operation: 56-6=50, Resulting Numbers: [1300, 50]
Generated Node #3: [1300, 50] from Operation: 56-6=50
Current State: 26:[1300, 50], Operations: ['20*65=1300', '56-6=50']
Exploring Operation: 1300/50=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[20, 56, 6, 65], Operations: []
Exploring Operation: 65-56=9, Resulting Numbers: [20, 6, 9]
Generated Node #0,0: 26:[20, 6, 9] Operation: 65-56=9
Exploring Operation: 56-20=36, Resulting Numbers: [6, 65, 36]
Generated Node #0,1: 26:[6, 65, 36] Operation: 56-20=36
Exploring Operation: 20+6=26, Resulting Numbers: [56, 65, 26]
Generated Node #0,2: 26:[56, 65, 26] Operation: 20+6=26
Exploring Operation: 65-20=45, Resulting Numbers: [56, 6, 45]
Generated Node #0,3: 26:[56, 6, 45] Operation: 65-20=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[20, 6, 9], Operations: ['65-56=9']
Exploring Operation: 20-6=14, Resulting Numbers: [9, 14]
Generated Node #0,0,0: 26:[9, 14] Operation: 20-6=14
Exploring Operation: 20+6=26, Resulting Numbers: [9, 26]
Generated Node #0,0,1: 26:[9, 26] Operation: 20+6=26
Exploring Operation: 20-9=11, Resulting Numbers: [6, 11]
Generated Node #0,0,2: 26:[6, 11] Operation: 20-9=11
Exploring Operation: 20+9=29, Resulting Numbers: [6, 29]
Generated Node #0,0,3: 26:[6, 29] Operation: 20+9=29
Moving to Node #0,0,1
Current State: 26:[9, 26], Operations: ['65-56=9', '20+6=26']
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[9, 14], Operations: ['65-56=9', '20-6=14']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[6, 11], Operations: ['65-56=9', '20-9=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[6, 29], Operations: ['65-56=9', '20+9=29']
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,26 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[6, 65, 36], Operations: ['56-20=36']
Exploring Operation: 36/6=6, Resulting Numbers: [65, 6]
Generated Node #0,1,0: 26:[65, 6] Operation: 36/6=6
Exploring Operation: 65-6=59, Resulting Numbers: [36, 59]
Generated Node #0,1,1: 26:[36, 59] Operation: 65-6=59
Exploring Operation: 65-36=29, Resulting Numbers: [6, 29]
Generated Node #0,1,2: 26:[6, 29] Operation: 65-36=29
Exploring Operation: 36-6=30, Resulting Numbers: [65, 30]
Generated Node #0,1,3: 26:[65, 30] Operation: 36-6=30
Moving to Node #0,1,2
Current State: 26:[6, 29], Operations: ['56-20=36', '65-36=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[36, 59], Operations: ['56-20=36', '65-6=59']
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,26 unequal: No Solution
Exploring Operation: 36*59=2124, Resulting Numbers: [2124]
2124,26 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[65, 6], Operations: ['56-20=36', '36/6=6']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,26 unequal: No Solution
Exploring Operation: 65*6=390, Resulting Numbers: [390]
390,26 unequal: No Solution
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[65, 30], Operations: ['56-20=36', '36-6=30']
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 65+30=95, Resulting Numbers: [95]
95,26 unequal: No Solution
Exploring Operation: 65*30=1950, Resulting Numbers: [1950]
1950,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[56, 6, 45], Operations: ['65-20=45']
Exploring Operation: 45-6=39, Resulting Numbers: [56, 39]
Generated Node #0,3,0: 26:[56, 39] Operation: 45-6=39
Exploring Operation: 56-6=50, Resulting Numbers: [45, 50]
Generated Node #0,3,1: 26:[45, 50] Operation: 56-6=50
Exploring Operation: 56+6=62, Resulting Numbers: [45, 62]
Generated Node #0,3,2: 26:[45, 62] Operation: 56+6=62
Exploring Operation: 56-45=11, Resulting Numbers: [6, 11]
Generated Node #0,3,3: 26:[6, 11] Operation: 56-45=11
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 26:[6, 11], Operations: ['65-20=45', '56-45=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,26 unequal: No Solution
No 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: 26:[56, 39], Operations: ['65-20=45', '45-6=39']
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 56*39=2184, Resulting Numbers: [2184]
2184,26 unequal: No Solution
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,26 unequal: No Solution
No 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: 26:[45, 50], Operations: ['65-20=45', '56-6=50']
Exploring Operation: 45*50=2250, Resulting Numbers: [2250]
2250,26 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,26 unequal: No Solution
No 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: 26:[45, 62], Operations: ['65-20=45', '56+6=62']
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,26 unequal: No Solution
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,26 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: 26:[56, 65, 26], Operations: ['20+6=26']
Exploring Operation: 56+65=121, Resulting Numbers: [26, 121]
Generated Node #0,2,0: 26:[26, 121] Operation: 56+65=121
Exploring Operation: 56-26=30, Resulting Numbers: [65, 30]
Generated Node #0,2,1: 26:[65, 30] Operation: 56-26=30
Exploring Operation: 65-56=9, Resulting Numbers: [26, 9]
Generated Node #0,2,2: 26:[26, 9] Operation: 65-56=9
Exploring Operation: 65-26=39, Resulting Numbers: [56, 39]
Generated Node #0,2,3: 26:[56, 39] Operation: 65-26=39
Moving to Node #0,2,2
Current State: 26:[26, 9], Operations: ['20+6=26', '65-56=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 26*9=234, Resulting Numbers: [234]
234,26 unequal: No Solution
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[56, 39], Operations: ['20+6=26', '65-26=39']
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,26 unequal: No Solution
Exploring Operation: 56*39=2184, Resulting Numbers: [2184]
2184,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[65, 30], Operations: ['20+6=26', '56-26=30']
Exploring Operation: 65*30=1950, Resulting Numbers: [1950]
1950,26 unequal: No Solution
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 65+30=95, Resulting Numbers: [95]
95,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[26, 121], Operations: ['20+6=26', '56+65=121']
Exploring Operation: 26*121=3146, Resulting Numbers: [3146]
3146,26 unequal: No Solution
Exploring Operation: 121-26=95, Resulting Numbers: [95]
95,26 unequal: No Solution
Exploring Operation: 26+121=147, Resulting Numbers: [147]
147,26 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 |
[
91,
6,
53,
97
] | 54 | [
"91+6=97",
"97/97=1",
"53+1=54"
] | Current State: 54:[91, 6, 53, 97], Operations: []
Exploring Operation: 91+6=97, Resulting Numbers: [53, 97, 97]
Generated Node #2: [53, 97, 97] from Operation: 91+6=97
Current State: 54:[53, 97, 97], Operations: ['91+6=97']
Exploring Operation: 97/97=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 97/97=1
Current State: 54:[53, 1], Operations: ['91+6=97', '97/97=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[91, 6, 53, 97], Operations: []
Exploring Operation: 91-6=85, Resulting Numbers: [53, 97, 85]
Generated Node #0,0: 54:[53, 97, 85] Operation: 91-6=85
Exploring Operation: 91-53=38, Resulting Numbers: [6, 97, 38]
Generated Node #0,1: 54:[6, 97, 38] Operation: 91-53=38
Exploring Operation: 97-53=44, Resulting Numbers: [91, 6, 44]
Generated Node #0,2: 54:[91, 6, 44] Operation: 97-53=44
Exploring Operation: 97-91=6, Resulting Numbers: [6, 53, 6]
Generated Node #0,3: 54:[6, 53, 6] Operation: 97-91=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[6, 53, 6], Operations: ['97-91=6']
Exploring Operation: 6+53=59, Resulting Numbers: [6, 59]
Generated Node #0,3,0: 54:[6, 59] Operation: 6+53=59
Exploring Operation: 6-6=0, Resulting Numbers: [53, 0]
Generated Node #0,3,1: 54:[53, 0] Operation: 6-6=0
Exploring Operation: 6+6=12, Resulting Numbers: [53, 12]
Generated Node #0,3,2: 54:[53, 12] Operation: 6+6=12
Exploring Operation: 6/6=1, Resulting Numbers: [53, 1]
Generated Node #0,3,3: 54:[53, 1] Operation: 6/6=1
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 54:[53, 1], Operations: ['97-91=6', '6/6=1']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[91, 6, 53, 97], Operations: []
Exploring Operation: 97-91=6, Resulting Numbers: [6, 53, 6]
Generated Node #0,3: 54:[6, 53, 6] Operation: 97-91=6
Moving to Node #0,3
Current State: 54:[6, 53, 6], Operations: ['97-91=6']
Exploring Operation: 6/6=1, Resulting Numbers: [53, 1]
Generated Node #0,3,3: 54:[53, 1] Operation: 6/6=1
Moving to Node #0,3,3
Current State: 54:[53, 1], Operations: ['97-91=6', '6/6=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
15,
10,
32,
18
] | 86 | [
"18-15=3",
"32*3=96",
"96-10=86"
] | Current State: 86:[15, 10, 32, 18], Operations: []
Exploring Operation: 18-15=3, Resulting Numbers: [10, 32, 3]
Generated Node #2: [10, 32, 3] from Operation: 18-15=3
Current State: 86:[10, 32, 3], Operations: ['18-15=3']
Exploring Operation: 32*3=96, Resulting Numbers: [10, 96]
Generated Node #3: [10, 96] from Operation: 32*3=96
Current State: 86:[10, 96], Operations: ['18-15=3', '32*3=96']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[15, 10, 32, 18], Operations: []
Exploring Operation: 15+18=33, Resulting Numbers: [10, 32, 33]
Generated Node #0,0: 86:[10, 32, 33] Operation: 15+18=33
Exploring Operation: 18-15=3, Resulting Numbers: [10, 32, 3]
Generated Node #0,1: 86:[10, 32, 3] Operation: 18-15=3
Exploring Operation: 15-10=5, Resulting Numbers: [32, 18, 5]
Generated Node #0,2: 86:[32, 18, 5] Operation: 15-10=5
Exploring Operation: 15+32=47, Resulting Numbers: [10, 18, 47]
Generated Node #0,3: 86:[10, 18, 47] Operation: 15+32=47
Exploring Operation: 32+18=50, Resulting Numbers: [15, 10, 50]
Generated Node #0,4: 86:[15, 10, 50] Operation: 32+18=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[10, 32, 3], Operations: ['18-15=3']
Exploring Operation: 10+32=42, Resulting Numbers: [3, 42]
Generated Node #0,1,0: 86:[3, 42] Operation: 10+32=42
Exploring Operation: 10-3=7, Resulting Numbers: [32, 7]
Generated Node #0,1,1: 86:[32, 7] Operation: 10-3=7
Exploring Operation: 32+3=35, Resulting Numbers: [10, 35]
Generated Node #0,1,2: 86:[10, 35] Operation: 32+3=35
Exploring Operation: 32*3=96, Resulting Numbers: [10, 96]
Generated Node #0,1,3: 86:[10, 96] Operation: 32*3=96
Exploring Operation: 32-10=22, Resulting Numbers: [3, 22]
Generated Node #0,1,4: 86:[3, 22] Operation: 32-10=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[3, 42], Operations: ['18-15=3', '10+32=42']
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[32, 7], Operations: ['18-15=3', '10-3=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,86 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 86:[10, 35], Operations: ['18-15=3', '32+3=35']
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,86 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 86:[10, 96], Operations: ['18-15=3', '32*3=96']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[15, 10, 32, 18], Operations: []
Exploring Operation: 18-15=3, Resulting Numbers: [10, 32, 3]
Generated Node #0,1: 86:[10, 32, 3] Operation: 18-15=3
Moving to Node #0,1
Current State: 86:[10, 32, 3], Operations: ['18-15=3']
Exploring Operation: 32*3=96, Resulting Numbers: [10, 96]
Generated Node #0,1,3: 86:[10, 96] Operation: 32*3=96
Moving to Node #0,1,3
Current State: 86:[10, 96], Operations: ['18-15=3', '32*3=96']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
13,
7,
61,
26
] | 30 | [
"26-13=13",
"7*13=91",
"91-61=30"
] | Current State: 30:[13, 7, 61, 26], Operations: []
Exploring Operation: 26-13=13, Resulting Numbers: [7, 61, 13]
Generated Node #2: [7, 61, 13] from Operation: 26-13=13
Current State: 30:[7, 61, 13], Operations: ['26-13=13']
Exploring Operation: 7*13=91, Resulting Numbers: [61, 91]
Generated Node #3: [61, 91] from Operation: 7*13=91
Current State: 30:[61, 91], Operations: ['26-13=13', '7*13=91']
Exploring Operation: 91-61=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[13, 7, 61, 26], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [7, 61, 2]
Generated Node #0,0: 30:[7, 61, 2] Operation: 26/13=2
Exploring Operation: 61-26=35, Resulting Numbers: [13, 7, 35]
Generated Node #0,1: 30:[13, 7, 35] Operation: 61-26=35
Exploring Operation: 61-13=48, Resulting Numbers: [7, 26, 48]
Generated Node #0,2: 30:[7, 26, 48] Operation: 61-13=48
Exploring Operation: 26-13=13, Resulting Numbers: [7, 61, 13]
Generated Node #0,3: 30:[7, 61, 13] Operation: 26-13=13
Exploring Operation: 61-7=54, Resulting Numbers: [13, 26, 54]
Generated Node #0,4: 30:[13, 26, 54] Operation: 61-7=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[13, 7, 35], Operations: ['61-26=35']
Exploring Operation: 35/7=5, Resulting Numbers: [13, 5]
Generated Node #0,1,0: 30:[13, 5] Operation: 35/7=5
Exploring Operation: 13-7=6, Resulting Numbers: [35, 6]
Generated Node #0,1,1: 30:[35, 6] Operation: 13-7=6
Exploring Operation: 35-13=22, Resulting Numbers: [7, 22]
Generated Node #0,1,2: 30:[7, 22] Operation: 35-13=22
Exploring Operation: 13+7=20, Resulting Numbers: [35, 20]
Generated Node #0,1,3: 30:[35, 20] Operation: 13+7=20
Exploring Operation: 35-7=28, Resulting Numbers: [13, 28]
Generated Node #0,1,4: 30:[13, 28] Operation: 35-7=28
Moving to Node #0,1,0
Current State: 30:[13, 5], Operations: ['61-26=35', '35/7=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Moving to Node #0,1,4
Current State: 30:[13, 28], Operations: ['61-26=35', '35-7=28']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[35, 6], Operations: ['61-26=35', '13-7=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[7, 22], Operations: ['61-26=35', '35-13=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[35, 20], Operations: ['61-26=35', '13+7=20']
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,30 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,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:[7, 26, 48], Operations: ['61-13=48']
Exploring Operation: 48-7=41, Resulting Numbers: [26, 41]
Generated Node #0,2,0: 30:[26, 41] Operation: 48-7=41
Exploring Operation: 7+48=55, Resulting Numbers: [26, 55]
Generated Node #0,2,1: 30:[26, 55] Operation: 7+48=55
Exploring Operation: 26-7=19, Resulting Numbers: [48, 19]
Generated Node #0,2,2: 30:[48, 19] Operation: 26-7=19
Exploring Operation: 48-26=22, Resulting Numbers: [7, 22]
Generated Node #0,2,3: 30:[7, 22] Operation: 48-26=22
Exploring Operation: 7+26=33, Resulting Numbers: [48, 33]
Generated Node #0,2,4: 30:[48, 33] Operation: 7+26=33
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 30:[7, 22], Operations: ['61-13=48', '48-26=22']
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,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:[26, 41], Operations: ['61-13=48', '48-7=41']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,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,4
Current State: 30:[48, 33], Operations: ['61-13=48', '7+26=33']
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,30 unequal: No Solution
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,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:[48, 19], Operations: ['61-13=48', '26-7=19']
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,30 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 30:[26, 55], Operations: ['61-13=48', '7+48=55']
Exploring Operation: 26+55=81, Resulting Numbers: [81]
81,30 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 26*55=1430, Resulting Numbers: [1430]
1430,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,4
Current State: 30:[13, 26, 54], Operations: ['61-7=54']
Exploring Operation: 26-13=13, Resulting Numbers: [54, 13]
Generated Node #0,4,0: 30:[54, 13] Operation: 26-13=13
Exploring Operation: 26/13=2, Resulting Numbers: [54, 2]
Generated Node #0,4,1: 30:[54, 2] Operation: 26/13=2
Exploring Operation: 13+26=39, Resulting Numbers: [54, 39]
Generated Node #0,4,2: 30:[54, 39] Operation: 13+26=39
Exploring Operation: 54-13=41, Resulting Numbers: [26, 41]
Generated Node #0,4,3: 30:[26, 41] Operation: 54-13=41
Exploring Operation: 54-26=28, Resulting Numbers: [13, 28]
Generated Node #0,4,4: 30:[13, 28] Operation: 54-26=28
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 30:[13, 28], Operations: ['61-7=54', '54-26=28']
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,30 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 30:[26, 41], Operations: ['61-7=54', '54-13=41']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,30 unequal: No Solution
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 30:[54, 2], Operations: ['61-7=54', '26/13=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 30:[54, 13], Operations: ['61-7=54', '26-13=13']
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 54*13=702, Resulting Numbers: [702]
702,30 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 30:[54, 39], Operations: ['61-7=54', '13+26=39']
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 54*39=2106, Resulting Numbers: [2106]
2106,30 unequal: No Solution
Exploring Operation: 54+39=93, Resulting Numbers: [93]
93,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:[7, 61, 2], Operations: ['26/13=2']
Exploring Operation: 61-2=59, Resulting Numbers: [7, 59]
Generated Node #0,0,0: 30:[7, 59] Operation: 61-2=59
Exploring Operation: 61-7=54, Resulting Numbers: [2, 54]
Generated Node #0,0,1: 30:[2, 54] Operation: 61-7=54
Exploring Operation: 7*2=14, Resulting Numbers: [61, 14]
Generated Node #0,0,2: 30:[61, 14] Operation: 7*2=14
Exploring Operation: 7-2=5, Resulting Numbers: [61, 5]
Generated Node #0,0,3: 30:[61, 5] Operation: 7-2=5
Exploring Operation: 7+2=9, Resulting Numbers: [61, 9]
Generated Node #0,0,4: 30:[61, 9] Operation: 7+2=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 30:[2, 54], Operations: ['26/13=2', '61-7=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[7, 59], Operations: ['26/13=2', '61-2=59']
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 30:[61, 5], Operations: ['26/13=2', '7-2=5']
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,30 unequal: No Solution
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 30:[61, 14], Operations: ['26/13=2', '7*2=14']
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,30 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 30:[61, 9], Operations: ['26/13=2', '7+2=9']
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 61*9=549, Resulting Numbers: [549]
549,30 unequal: No Solution
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[7, 61, 13], Operations: ['26-13=13']
Exploring Operation: 61-7=54, Resulting Numbers: [13, 54]
Generated Node #0,3,0: 30:[13, 54] Operation: 61-7=54
Exploring Operation: 13-7=6, Resulting Numbers: [61, 6]
Generated Node #0,3,1: 30:[61, 6] Operation: 13-7=6
Exploring Operation: 61-13=48, Resulting Numbers: [7, 48]
Generated Node #0,3,2: 30:[7, 48] Operation: 61-13=48
Exploring Operation: 7+61=68, Resulting Numbers: [13, 68]
Generated Node #0,3,3: 30:[13, 68] Operation: 7+61=68
Exploring Operation: 7+13=20, Resulting Numbers: [61, 20]
Generated Node #0,3,4: 30:[61, 20] Operation: 7+13=20
Moving to Node #0,3,2
Current State: 30:[7, 48], Operations: ['26-13=13', '61-13=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 7*48=336, Resulting Numbers: [336]
336,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[13, 54], Operations: ['26-13=13', '61-7=54']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[61, 6], Operations: ['26-13=13', '13-7=6']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 61*6=366, Resulting Numbers: [366]
366,30 unequal: No Solution
Moving to Node #0,3,4
Current State: 30:[61, 20], Operations: ['26-13=13', '7+13=20']
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,30 unequal: No Solution
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[13, 68], Operations: ['26-13=13', '7+61=68']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 13*68=884, Resulting Numbers: [884]
884,30 unequal: No Solution
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
7,
45,
48,
44
] | 56 | [
"7+45=52",
"48-44=4",
"52+4=56"
] | Current State: 56:[7, 45, 48, 44], Operations: []
Exploring Operation: 7+45=52, Resulting Numbers: [48, 44, 52]
Generated Node #2: [48, 44, 52] from Operation: 7+45=52
Current State: 56:[48, 44, 52], Operations: ['7+45=52']
Exploring Operation: 48-44=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 48-44=4
Current State: 56:[52, 4], Operations: ['7+45=52', '48-44=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[7, 45, 48, 44], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [7, 44, 3]
Generated Node #0,0: 56:[7, 44, 3] Operation: 48-45=3
Exploring Operation: 45-44=1, Resulting Numbers: [7, 48, 1]
Generated Node #0,1: 56:[7, 48, 1] Operation: 45-44=1
Exploring Operation: 48-44=4, Resulting Numbers: [7, 45, 4]
Generated Node #0,2: 56:[7, 45, 4] Operation: 48-44=4
Moving to Node #0,1
Current State: 56:[7, 48, 1], Operations: ['45-44=1']
Exploring Operation: 48+1=49, Resulting Numbers: [7, 49]
Generated Node #0,1,0: 56:[7, 49] Operation: 48+1=49
Exploring Operation: 7+48=55, Resulting Numbers: [1, 55]
Generated Node #0,1,1: 56:[1, 55] Operation: 7+48=55
Exploring Operation: 7+1=8, Resulting Numbers: [48, 8]
Generated Node #0,1,2: 56:[48, 8] Operation: 7+1=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[1, 55], Operations: ['45-44=1', '7+48=55']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[7, 45, 48, 44], Operations: []
Exploring Operation: 45-44=1, Resulting Numbers: [7, 48, 1]
Generated Node #0,1: 56:[7, 48, 1] Operation: 45-44=1
Moving to Node #0,1
Current State: 56:[7, 48, 1], Operations: ['45-44=1']
Exploring Operation: 7+48=55, Resulting Numbers: [1, 55]
Generated Node #0,1,1: 56:[1, 55] Operation: 7+48=55
Moving to Node #0,1,1
Current State: 56:[1, 55], Operations: ['45-44=1', '7+48=55']
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
92,
30,
81,
2
] | 78 | [
"92-2=90",
"90/30=3",
"81-3=78"
] | Current State: 78:[92, 30, 81, 2], Operations: []
Exploring Operation: 92-2=90, Resulting Numbers: [30, 81, 90]
Generated Node #2: [30, 81, 90] from Operation: 92-2=90
Current State: 78:[30, 81, 90], Operations: ['92-2=90']
Exploring Operation: 90/30=3, Resulting Numbers: [81, 3]
Generated Node #3: [81, 3] from Operation: 90/30=3
Current State: 78:[81, 3], Operations: ['92-2=90', '90/30=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[92, 30, 81, 2], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [30, 81, 46]
Generated Node #0,0: 78:[30, 81, 46] Operation: 92/2=46
Exploring Operation: 92-30=62, Resulting Numbers: [81, 2, 62]
Generated Node #0,1: 78:[81, 2, 62] Operation: 92-30=62
Exploring Operation: 92-81=11, Resulting Numbers: [30, 2, 11]
Generated Node #0,2: 78:[30, 2, 11] Operation: 92-81=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[30, 2, 11], Operations: ['92-81=11']
Exploring Operation: 30-2=28, Resulting Numbers: [11, 28]
Generated Node #0,2,0: 78:[11, 28] Operation: 30-2=28
Exploring Operation: 30+11=41, Resulting Numbers: [2, 41]
Generated Node #0,2,1: 78:[2, 41] Operation: 30+11=41
Exploring Operation: 30/2=15, Resulting Numbers: [11, 15]
Generated Node #0,2,2: 78:[11, 15] Operation: 30/2=15
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[2, 41], Operations: ['92-81=11', '30+11=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,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:[11, 28], Operations: ['92-81=11', '30-2=28']
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,78 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,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:[11, 15], Operations: ['92-81=11', '30/2=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,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:[30, 81, 46], Operations: ['92/2=46']
Exploring Operation: 46-30=16, Resulting Numbers: [81, 16]
Generated Node #0,0,0: 78:[81, 16] Operation: 46-30=16
Exploring Operation: 81-46=35, Resulting Numbers: [30, 35]
Generated Node #0,0,1: 78:[30, 35] Operation: 81-46=35
Exploring Operation: 30+46=76, Resulting Numbers: [81, 76]
Generated Node #0,0,2: 78:[81, 76] Operation: 30+46=76
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[81, 76], Operations: ['92/2=46', '30+46=76']
Exploring Operation: 81-76=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 81*76=6156, Resulting Numbers: [6156]
6156,78 unequal: No Solution
Exploring Operation: 81+76=157, Resulting Numbers: [157]
157,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,0,0
Current State: 78:[81, 16], Operations: ['92/2=46', '46-30=16']
Exploring Operation: 81*16=1296, Resulting Numbers: [1296]
1296,78 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,78 unequal: No Solution
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,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,0,1
Current State: 78:[30, 35], Operations: ['92/2=46', '81-46=35']
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,78 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,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,1
Current State: 78:[81, 2, 62], Operations: ['92-30=62']
Exploring Operation: 81-62=19, Resulting Numbers: [2, 19]
Generated Node #0,1,0: 78:[2, 19] Operation: 81-62=19
Exploring Operation: 81-2=79, Resulting Numbers: [62, 79]
Generated Node #0,1,1: 78:[62, 79] Operation: 81-2=79
Exploring Operation: 62/2=31, Resulting Numbers: [81, 31]
Generated Node #0,1,2: 78:[81, 31] Operation: 62/2=31
Moving to Node #0,1,0
Current State: 78:[2, 19], Operations: ['92-30=62', '81-62=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[81, 31], Operations: ['92-30=62', '62/2=31']
Exploring Operation: 81*31=2511, Resulting Numbers: [2511]
2511,78 unequal: No Solution
Exploring Operation: 81+31=112, Resulting Numbers: [112]
112,78 unequal: No Solution
Exploring Operation: 81-31=50, Resulting Numbers: [50]
50,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[62, 79], Operations: ['92-30=62', '81-2=79']
Exploring Operation: 79-62=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 62*79=4898, Resulting Numbers: [4898]
4898,78 unequal: No Solution
Exploring Operation: 62+79=141, Resulting Numbers: [141]
141,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 | mult_heuristic |
[
63,
65,
43,
12
] | 67 | [
"65-63=2",
"12*2=24",
"43+24=67"
] | Current State: 67:[63, 65, 43, 12], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [43, 12, 2]
Generated Node #2: [43, 12, 2] from Operation: 65-63=2
Current State: 67:[43, 12, 2], Operations: ['65-63=2']
Exploring Operation: 12*2=24, Resulting Numbers: [43, 24]
Generated Node #3: [43, 24] from Operation: 12*2=24
Current State: 67:[43, 24], Operations: ['65-63=2', '12*2=24']
Exploring Operation: 43+24=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[63, 65, 43, 12], Operations: []
Exploring Operation: 63-12=51, Resulting Numbers: [65, 43, 51]
Generated Node #0,0: 67:[65, 43, 51] Operation: 63-12=51
Exploring Operation: 43+12=55, Resulting Numbers: [63, 65, 55]
Generated Node #0,1: 67:[63, 65, 55] Operation: 43+12=55
Exploring Operation: 63+12=75, Resulting Numbers: [65, 43, 75]
Generated Node #0,2: 67:[65, 43, 75] Operation: 63+12=75
Exploring Operation: 65+12=77, Resulting Numbers: [63, 43, 77]
Generated Node #0,3: 67:[63, 43, 77] Operation: 65+12=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[63, 65, 55], Operations: ['43+12=55']
Exploring Operation: 63-55=8, Resulting Numbers: [65, 8]
Generated Node #0,1,0: 67:[65, 8] Operation: 63-55=8
Exploring Operation: 65-55=10, Resulting Numbers: [63, 10]
Generated Node #0,1,1: 67:[63, 10] Operation: 65-55=10
Exploring Operation: 63+55=118, Resulting Numbers: [65, 118]
Generated Node #0,1,2: 67:[65, 118] Operation: 63+55=118
Exploring Operation: 65+55=120, Resulting Numbers: [63, 120]
Generated Node #0,1,3: 67:[63, 120] Operation: 65+55=120
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[65, 118], Operations: ['43+12=55', '63+55=118']
Exploring Operation: 65*118=7670, Resulting Numbers: [7670]
7670,67 unequal: No Solution
Exploring Operation: 118-65=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 65+118=183, Resulting Numbers: [183]
183,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[63, 120], Operations: ['43+12=55', '65+55=120']
Exploring Operation: 63+120=183, Resulting Numbers: [183]
183,67 unequal: No Solution
Exploring Operation: 120-63=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 63*120=7560, Resulting Numbers: [7560]
7560,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[65, 8], Operations: ['43+12=55', '63-55=8']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[63, 10], Operations: ['43+12=55', '65-55=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,67 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[65, 43, 75], Operations: ['63+12=75']
Exploring Operation: 43+75=118, Resulting Numbers: [65, 118]
Generated Node #0,2,0: 67:[65, 118] Operation: 43+75=118
Exploring Operation: 65+43=108, Resulting Numbers: [75, 108]
Generated Node #0,2,1: 67:[75, 108] Operation: 65+43=108
Exploring Operation: 65-43=22, Resulting Numbers: [75, 22]
Generated Node #0,2,2: 67:[75, 22] Operation: 65-43=22
Exploring Operation: 75-43=32, Resulting Numbers: [65, 32]
Generated Node #0,2,3: 67:[65, 32] Operation: 75-43=32
Moving to Node #0,2,3
Current State: 67:[65, 32], Operations: ['63+12=75', '75-43=32']
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 65*32=2080, Resulting Numbers: [2080]
2080,67 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[75, 108], Operations: ['63+12=75', '65+43=108']
Exploring Operation: 108-75=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 75+108=183, Resulting Numbers: [183]
183,67 unequal: No Solution
Exploring Operation: 75*108=8100, Resulting Numbers: [8100]
8100,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[75, 22], Operations: ['63+12=75', '65-43=22']
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,67 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[65, 118], Operations: ['63+12=75', '43+75=118']
Exploring Operation: 65+118=183, Resulting Numbers: [183]
183,67 unequal: No Solution
Exploring Operation: 118-65=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 65*118=7670, Resulting Numbers: [7670]
7670,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[63, 43, 77], Operations: ['65+12=77']
Exploring Operation: 43+77=120, Resulting Numbers: [63, 120]
Generated Node #0,3,0: 67:[63, 120] Operation: 43+77=120
Exploring Operation: 63-43=20, Resulting Numbers: [77, 20]
Generated Node #0,3,1: 67:[77, 20] Operation: 63-43=20
Exploring Operation: 77-43=34, Resulting Numbers: [63, 34]
Generated Node #0,3,2: 67:[63, 34] Operation: 77-43=34
Exploring Operation: 63+43=106, Resulting Numbers: [77, 106]
Generated Node #0,3,3: 67:[77, 106] Operation: 63+43=106
Moving to Node #0,3,2
Current State: 67:[63, 34], Operations: ['65+12=77', '77-43=34']
Exploring Operation: 63*34=2142, Resulting Numbers: [2142]
2142,67 unequal: No Solution
Exploring Operation: 63+34=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[77, 106], Operations: ['65+12=77', '63+43=106']
Exploring Operation: 77*106=8162, Resulting Numbers: [8162]
8162,67 unequal: No Solution
Exploring Operation: 77+106=183, Resulting Numbers: [183]
183,67 unequal: No Solution
Exploring Operation: 106-77=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[77, 20], Operations: ['65+12=77', '63-43=20']
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[63, 120], Operations: ['65+12=77', '43+77=120']
Exploring Operation: 63+120=183, Resulting Numbers: [183]
183,67 unequal: No Solution
Exploring Operation: 120-63=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 63*120=7560, Resulting Numbers: [7560]
7560,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[65, 43, 51], Operations: ['63-12=51']
Exploring Operation: 65-43=22, Resulting Numbers: [51, 22]
Generated Node #0,0,0: 67:[51, 22] Operation: 65-43=22
Exploring Operation: 51-43=8, Resulting Numbers: [65, 8]
Generated Node #0,0,1: 67:[65, 8] Operation: 51-43=8
Exploring Operation: 65+43=108, Resulting Numbers: [51, 108]
Generated Node #0,0,2: 67:[51, 108] Operation: 65+43=108
Exploring Operation: 43+51=94, Resulting Numbers: [65, 94]
Generated Node #0,0,3: 67:[65, 94] Operation: 43+51=94
Moving to Node #0,0,3
Current State: 67:[65, 94], Operations: ['63-12=51', '43+51=94']
Exploring Operation: 65+94=159, Resulting Numbers: [159]
159,67 unequal: No Solution
Exploring Operation: 65*94=6110, Resulting Numbers: [6110]
6110,67 unequal: No Solution
Exploring Operation: 94-65=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[51, 108], Operations: ['63-12=51', '65+43=108']
Exploring Operation: 108-51=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 51+108=159, Resulting Numbers: [159]
159,67 unequal: No Solution
Exploring Operation: 51*108=5508, Resulting Numbers: [5508]
5508,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[65, 8], Operations: ['63-12=51', '51-43=8']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,67 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[51, 22], Operations: ['63-12=51', '65-43=22']
Exploring Operation: 51*22=1122, Resulting Numbers: [1122]
1122,67 unequal: No Solution
Exploring Operation: 51+22=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
64,
10,
4,
91
] | 98 | [
"91-64=27",
"4*27=108",
"108-10=98"
] | Current State: 98:[64, 10, 4, 91], Operations: []
Exploring Operation: 91-64=27, Resulting Numbers: [10, 4, 27]
Generated Node #2: [10, 4, 27] from Operation: 91-64=27
Current State: 98:[10, 4, 27], Operations: ['91-64=27']
Exploring Operation: 4*27=108, Resulting Numbers: [10, 108]
Generated Node #3: [10, 108] from Operation: 4*27=108
Current State: 98:[10, 108], Operations: ['91-64=27', '4*27=108']
Exploring Operation: 108-10=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[64, 10, 4, 91], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [10, 91, 16]
Generated Node #0,0: 98:[10, 91, 16] Operation: 64/4=16
Exploring Operation: 64-10=54, Resulting Numbers: [4, 91, 54]
Generated Node #0,1: 98:[4, 91, 54] Operation: 64-10=54
Moving to Node #0,0
Current State: 98:[10, 91, 16], Operations: ['64/4=16']
Exploring Operation: 16-10=6, Resulting Numbers: [91, 6]
Generated Node #0,0,0: 98:[91, 6] Operation: 16-10=6
Exploring Operation: 10+91=101, Resulting Numbers: [16, 101]
Generated Node #0,0,1: 98:[16, 101] Operation: 10+91=101
Moving to Node #0,1
Current State: 98:[4, 91, 54], Operations: ['64-10=54']
Exploring Operation: 4+91=95, Resulting Numbers: [54, 95]
Generated Node #0,1,0: 98:[54, 95] Operation: 4+91=95
Exploring Operation: 54-4=50, Resulting Numbers: [91, 50]
Generated Node #0,1,1: 98:[91, 50] Operation: 54-4=50
Moving to Node #0,0,1
Current State: 98:[16, 101], Operations: ['64/4=16', '10+91=101']
Exploring Operation: 101-16=85, Resulting Numbers: [85]
85,98 unequal: No Solution
Exploring Operation: 16+101=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[54, 95], Operations: ['64-10=54', '4+91=95']
Exploring Operation: 54+95=149, Resulting Numbers: [149]
149,98 unequal: No Solution
Exploring Operation: 95-54=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[91, 6], Operations: ['64/4=16', '16-10=6']
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[91, 50], Operations: ['64-10=54', '54-4=50']
Exploring Operation: 91+50=141, Resulting Numbers: [141]
141,98 unequal: No Solution
Exploring Operation: 91-50=41, Resulting Numbers: [41]
41,98 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
23,
74,
11,
15
] | 55 | [
"74-23=51",
"15-11=4",
"51+4=55"
] | Current State: 55:[23, 74, 11, 15], Operations: []
Exploring Operation: 74-23=51, Resulting Numbers: [11, 15, 51]
Generated Node #2: [11, 15, 51] from Operation: 74-23=51
Current State: 55:[11, 15, 51], Operations: ['74-23=51']
Exploring Operation: 15-11=4, Resulting Numbers: [51, 4]
Generated Node #3: [51, 4] from Operation: 15-11=4
Current State: 55:[51, 4], Operations: ['74-23=51', '15-11=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[23, 74, 11, 15], Operations: []
Exploring Operation: 23-15=8, Resulting Numbers: [74, 11, 8]
Generated Node #0,0: 55:[74, 11, 8] Operation: 23-15=8
Exploring Operation: 74-23=51, Resulting Numbers: [11, 15, 51]
Generated Node #0,1: 55:[11, 15, 51] Operation: 74-23=51
Exploring Operation: 74-15=59, Resulting Numbers: [23, 11, 59]
Generated Node #0,2: 55:[23, 11, 59] Operation: 74-15=59
Exploring Operation: 23-11=12, Resulting Numbers: [74, 15, 12]
Generated Node #0,3: 55:[74, 15, 12] Operation: 23-11=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[11, 15, 51], Operations: ['74-23=51']
Exploring Operation: 15+51=66, Resulting Numbers: [11, 66]
Generated Node #0,1,0: 55:[11, 66] Operation: 15+51=66
Exploring Operation: 11+51=62, Resulting Numbers: [15, 62]
Generated Node #0,1,1: 55:[15, 62] Operation: 11+51=62
Exploring Operation: 15-11=4, Resulting Numbers: [51, 4]
Generated Node #0,1,2: 55:[51, 4] Operation: 15-11=4
Exploring Operation: 11+15=26, Resulting Numbers: [51, 26]
Generated Node #0,1,3: 55:[51, 26] Operation: 11+15=26
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 55:[51, 4], Operations: ['74-23=51', '15-11=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[23, 74, 11, 15], Operations: []
Exploring Operation: 74-23=51, Resulting Numbers: [11, 15, 51]
Generated Node #0,1: 55:[11, 15, 51] Operation: 74-23=51
Moving to Node #0,1
Current State: 55:[11, 15, 51], Operations: ['74-23=51']
Exploring Operation: 15-11=4, Resulting Numbers: [51, 4]
Generated Node #0,1,2: 55:[51, 4] Operation: 15-11=4
Moving to Node #0,1,2
Current State: 55:[51, 4], Operations: ['74-23=51', '15-11=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
39,
13,
2,
54
] | 40 | [
"39-13=26",
"54+26=80",
"80/2=40"
] | Current State: 40:[39, 13, 2, 54], Operations: []
Exploring Operation: 39-13=26, Resulting Numbers: [2, 54, 26]
Generated Node #2: [2, 54, 26] from Operation: 39-13=26
Current State: 40:[2, 54, 26], Operations: ['39-13=26']
Exploring Operation: 54+26=80, Resulting Numbers: [2, 80]
Generated Node #3: [2, 80] from Operation: 54+26=80
Current State: 40:[2, 80], Operations: ['39-13=26', '54+26=80']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[39, 13, 2, 54], Operations: []
Exploring Operation: 54-13=41, Resulting Numbers: [39, 2, 41]
Generated Node #0,0: 40:[39, 2, 41] Operation: 54-13=41
Moving to Node #0,0
Current State: 40:[39, 2, 41], Operations: ['54-13=41']
Exploring Operation: 41-39=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 40:[2, 2] Operation: 41-39=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[2, 2], Operations: ['54-13=41', '41-39=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
56,
45,
37,
8
] | 18 | [
"56-45=11",
"37-8=29",
"29-11=18"
] | Current State: 18:[56, 45, 37, 8], Operations: []
Exploring Operation: 56-45=11, Resulting Numbers: [37, 8, 11]
Generated Node #2: [37, 8, 11] from Operation: 56-45=11
Current State: 18:[37, 8, 11], Operations: ['56-45=11']
Exploring Operation: 37-8=29, Resulting Numbers: [11, 29]
Generated Node #3: [11, 29] from Operation: 37-8=29
Current State: 18:[11, 29], Operations: ['56-45=11', '37-8=29']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[56, 45, 37, 8], Operations: []
Exploring Operation: 56-45=11, Resulting Numbers: [37, 8, 11]
Generated Node #0,0: 18:[37, 8, 11] Operation: 56-45=11
Exploring Operation: 45-37=8, Resulting Numbers: [56, 8, 8]
Generated Node #0,1: 18:[56, 8, 8] Operation: 45-37=8
Exploring Operation: 56-37=19, Resulting Numbers: [45, 8, 19]
Generated Node #0,2: 18:[45, 8, 19] Operation: 56-37=19
Moving to Node #0,0
Current State: 18:[37, 8, 11], Operations: ['56-45=11']
Exploring Operation: 37-8=29, Resulting Numbers: [11, 29]
Generated Node #0,0,0: 18:[11, 29] Operation: 37-8=29
Exploring Operation: 11-8=3, Resulting Numbers: [37, 3]
Generated Node #0,0,1: 18:[37, 3] Operation: 11-8=3
Exploring Operation: 37-11=26, Resulting Numbers: [8, 26]
Generated Node #0,0,2: 18:[8, 26] Operation: 37-11=26
Moving to Node #0,2
Current State: 18:[45, 8, 19], Operations: ['56-37=19']
Exploring Operation: 19-8=11, Resulting Numbers: [45, 11]
Generated Node #0,2,0: 18:[45, 11] Operation: 19-8=11
Exploring Operation: 45-8=37, Resulting Numbers: [19, 37]
Generated Node #0,2,1: 18:[19, 37] Operation: 45-8=37
Exploring Operation: 45-19=26, Resulting Numbers: [8, 26]
Generated Node #0,2,2: 18:[8, 26] Operation: 45-19=26
Moving to Node #0,1
Current State: 18:[56, 8, 8], Operations: ['45-37=8']
Exploring Operation: 56/8=7, Resulting Numbers: [8, 7]
Generated Node #0,1,0: 18:[8, 7] Operation: 56/8=7
Exploring Operation: 56/8=7, Resulting Numbers: [8, 7]
Generated Node #0,1,1: 18:[8, 7] Operation: 56/8=7
Exploring Operation: 56-8=48, Resulting Numbers: [8, 48]
Generated Node #0,1,2: 18:[8, 48] Operation: 56-8=48
Moving to Node #0,1,0
Current State: 18:[8, 7], Operations: ['45-37=8', '56/8=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,18 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[8, 7], Operations: ['45-37=8', '56/8=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,18 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[8, 26], Operations: ['56-45=11', '37-11=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[56, 45, 37, 8], Operations: []
Exploring Operation: 56-45=11, Resulting Numbers: [37, 8, 11]
Generated Node #0,0: 18:[37, 8, 11] Operation: 56-45=11
Moving to Node #0,0
Current State: 18:[37, 8, 11], Operations: ['56-45=11']
Exploring Operation: 37-11=26, Resulting Numbers: [8, 26]
Generated Node #0,0,2: 18:[8, 26] Operation: 37-11=26
Moving to Node #0,0,2
Current State: 18:[8, 26], Operations: ['56-45=11', '37-11=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.980035 | hs_3 | sum_heuristic |
[
48,
21,
90,
16
] | 79 | [
"48-21=27",
"90+16=106",
"106-27=79"
] | Current State: 79:[48, 21, 90, 16], Operations: []
Exploring Operation: 48-21=27, Resulting Numbers: [90, 16, 27]
Generated Node #2: [90, 16, 27] from Operation: 48-21=27
Current State: 79:[90, 16, 27], Operations: ['48-21=27']
Exploring Operation: 90+16=106, Resulting Numbers: [27, 106]
Generated Node #3: [27, 106] from Operation: 90+16=106
Current State: 79:[27, 106], Operations: ['48-21=27', '90+16=106']
Exploring Operation: 106-27=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[48, 21, 90, 16], Operations: []
Exploring Operation: 48+21=69, Resulting Numbers: [90, 16, 69]
Generated Node #0,0: 79:[90, 16, 69] Operation: 48+21=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[90, 16, 69], Operations: ['48+21=69']
Exploring Operation: 90-16=74, Resulting Numbers: [69, 74]
Generated Node #0,0,0: 79:[69, 74] Operation: 90-16=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[69, 74], Operations: ['48+21=69', '90-16=74']
Exploring Operation: 69+74=143, Resulting Numbers: [143]
143,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
47,
64,
19
] | 88 | [
"64-19=45",
"3*45=135",
"135-47=88"
] | Current State: 88:[3, 47, 64, 19], Operations: []
Exploring Operation: 64-19=45, Resulting Numbers: [3, 47, 45]
Generated Node #2: [3, 47, 45] from Operation: 64-19=45
Current State: 88:[3, 47, 45], Operations: ['64-19=45']
Exploring Operation: 3*45=135, Resulting Numbers: [47, 135]
Generated Node #3: [47, 135] from Operation: 3*45=135
Current State: 88:[47, 135], Operations: ['64-19=45', '3*45=135']
Exploring Operation: 135-47=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[3, 47, 64, 19], Operations: []
Exploring Operation: 64-47=17, Resulting Numbers: [3, 19, 17]
Generated Node #0,0: 88:[3, 19, 17] Operation: 64-47=17
Exploring Operation: 64-19=45, Resulting Numbers: [3, 47, 45]
Generated Node #0,1: 88:[3, 47, 45] Operation: 64-19=45
Exploring Operation: 47-3=44, Resulting Numbers: [64, 19, 44]
Generated Node #0,2: 88:[64, 19, 44] Operation: 47-3=44
Exploring Operation: 64+19=83, Resulting Numbers: [3, 47, 83]
Generated Node #0,3: 88:[3, 47, 83] Operation: 64+19=83
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[3, 47, 45], Operations: ['64-19=45']
Exploring Operation: 47-45=2, Resulting Numbers: [3, 2]
Generated Node #0,1,0: 88:[3, 2] Operation: 47-45=2
Exploring Operation: 47-3=44, Resulting Numbers: [45, 44]
Generated Node #0,1,1: 88:[45, 44] Operation: 47-3=44
Exploring Operation: 47+45=92, Resulting Numbers: [3, 92]
Generated Node #0,1,2: 88:[3, 92] Operation: 47+45=92
Exploring Operation: 45-3=42, Resulting Numbers: [47, 42]
Generated Node #0,1,3: 88:[47, 42] Operation: 45-3=42
Moving to Node #0,1,0
Current State: 88:[3, 2], Operations: ['64-19=45', '47-45=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[45, 44], Operations: ['64-19=45', '47-3=44']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 45*44=1980, Resulting Numbers: [1980]
1980,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[47, 42], Operations: ['64-19=45', '45-3=42']
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[3, 92], Operations: ['64-19=45', '47+45=92']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 3*92=276, Resulting Numbers: [276]
276,88 unequal: No Solution
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[3, 19, 17], Operations: ['64-47=17']
Exploring Operation: 3+17=20, Resulting Numbers: [19, 20]
Generated Node #0,0,0: 88:[19, 20] Operation: 3+17=20
Exploring Operation: 19-17=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 88:[3, 2] Operation: 19-17=2
Exploring Operation: 3+19=22, Resulting Numbers: [17, 22]
Generated Node #0,0,2: 88:[17, 22] Operation: 3+19=22
Exploring Operation: 17-3=14, Resulting Numbers: [19, 14]
Generated Node #0,0,3: 88:[19, 14] Operation: 17-3=14
Moving to Node #0,0,1
Current State: 88:[3, 2], Operations: ['64-47=17', '19-17=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[17, 22], Operations: ['64-47=17', '3+19=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,88 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[19, 20], Operations: ['64-47=17', '3+17=20']
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,88 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[19, 14], Operations: ['64-47=17', '17-3=14']
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[3, 47, 83], Operations: ['64+19=83']
Exploring Operation: 83-47=36, Resulting Numbers: [3, 36]
Generated Node #0,3,0: 88:[3, 36] Operation: 83-47=36
Exploring Operation: 3+47=50, Resulting Numbers: [83, 50]
Generated Node #0,3,1: 88:[83, 50] Operation: 3+47=50
Exploring Operation: 47-3=44, Resulting Numbers: [83, 44]
Generated Node #0,3,2: 88:[83, 44] Operation: 47-3=44
Exploring Operation: 3+83=86, Resulting Numbers: [47, 86]
Generated Node #0,3,3: 88:[47, 86] Operation: 3+83=86
Moving to Node #0,3,2
Current State: 88:[83, 44], Operations: ['64+19=83', '47-3=44']
Exploring Operation: 83+44=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 83*44=3652, Resulting Numbers: [3652]
3652,88 unequal: No Solution
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[47, 86], Operations: ['64+19=83', '3+83=86']
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 47+86=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Exploring Operation: 47*86=4042, Resulting Numbers: [4042]
4042,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[3, 36], Operations: ['64+19=83', '83-47=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[83, 50], Operations: ['64+19=83', '3+47=50']
Exploring Operation: 83+50=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 83*50=4150, Resulting Numbers: [4150]
4150,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[64, 19, 44], Operations: ['47-3=44']
Exploring Operation: 64-44=20, Resulting Numbers: [19, 20]
Generated Node #0,2,0: 88:[19, 20] Operation: 64-44=20
Exploring Operation: 64+19=83, Resulting Numbers: [44, 83]
Generated Node #0,2,1: 88:[44, 83] Operation: 64+19=83
Exploring Operation: 64+44=108, Resulting Numbers: [19, 108]
Generated Node #0,2,2: 88:[19, 108] Operation: 64+44=108
Exploring Operation: 64-19=45, Resulting Numbers: [44, 45]
Generated Node #0,2,3: 88:[44, 45] Operation: 64-19=45
Moving to Node #0,2,3
Current State: 88:[44, 45], Operations: ['47-3=44', '64-19=45']
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,88 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[44, 83], Operations: ['47-3=44', '64+19=83']
Exploring Operation: 44*83=3652, Resulting Numbers: [3652]
3652,88 unequal: No Solution
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 44+83=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[19, 20], Operations: ['47-3=44', '64-44=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,88 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[19, 108], Operations: ['47-3=44', '64+44=108']
Exploring Operation: 19*108=2052, Resulting Numbers: [2052]
2052,88 unequal: No Solution
Exploring Operation: 19+108=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 108-19=89, Resulting Numbers: [89]
89,88 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 |
[
16,
14,
50,
45
] | 93 | [
"16-14=2",
"50+45=95",
"95-2=93"
] | Current State: 93:[16, 14, 50, 45], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [50, 45, 2]
Generated Node #2: [50, 45, 2] from Operation: 16-14=2
Current State: 93:[50, 45, 2], Operations: ['16-14=2']
Exploring Operation: 50+45=95, Resulting Numbers: [2, 95]
Generated Node #3: [2, 95] from Operation: 50+45=95
Current State: 93:[2, 95], Operations: ['16-14=2', '50+45=95']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[16, 14, 50, 45], Operations: []
Exploring Operation: 50+45=95, Resulting Numbers: [16, 14, 95]
Generated Node #0,0: 93:[16, 14, 95] Operation: 50+45=95
Exploring Operation: 50-45=5, Resulting Numbers: [16, 14, 5]
Generated Node #0,1: 93:[16, 14, 5] Operation: 50-45=5
Exploring Operation: 50-16=34, Resulting Numbers: [14, 45, 34]
Generated Node #0,2: 93:[14, 45, 34] Operation: 50-16=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[16, 14, 95], Operations: ['50+45=95']
Exploring Operation: 16+14=30, Resulting Numbers: [95, 30]
Generated Node #0,0,0: 93:[95, 30] Operation: 16+14=30
Exploring Operation: 95-16=79, Resulting Numbers: [14, 79]
Generated Node #0,0,1: 93:[14, 79] Operation: 95-16=79
Exploring Operation: 16-14=2, Resulting Numbers: [95, 2]
Generated Node #0,0,2: 93:[95, 2] Operation: 16-14=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[95, 30], Operations: ['50+45=95', '16+14=30']
Exploring Operation: 95*30=2850, Resulting Numbers: [2850]
2850,93 unequal: No Solution
Exploring Operation: 95+30=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 93:[95, 2], Operations: ['50+45=95', '16-14=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[16, 14, 50, 45], Operations: []
Exploring Operation: 50+45=95, Resulting Numbers: [16, 14, 95]
Generated Node #0,0: 93:[16, 14, 95] Operation: 50+45=95
Moving to Node #0,0
Current State: 93:[16, 14, 95], Operations: ['50+45=95']
Exploring Operation: 16-14=2, Resulting Numbers: [95, 2]
Generated Node #0,0,2: 93:[95, 2] Operation: 16-14=2
Moving to Node #0,0,2
Current State: 93:[95, 2], Operations: ['50+45=95', '16-14=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
38,
20,
24,
89
] | 83 | [
"38-20=18",
"89-24=65",
"18+65=83"
] | Current State: 83:[38, 20, 24, 89], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [24, 89, 18]
Generated Node #2: [24, 89, 18] from Operation: 38-20=18
Current State: 83:[24, 89, 18], Operations: ['38-20=18']
Exploring Operation: 89-24=65, Resulting Numbers: [18, 65]
Generated Node #3: [18, 65] from Operation: 89-24=65
Current State: 83:[18, 65], Operations: ['38-20=18', '89-24=65']
Exploring Operation: 18+65=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[38, 20, 24, 89], Operations: []
Exploring Operation: 38+20=58, Resulting Numbers: [24, 89, 58]
Generated Node #0,0: 83:[24, 89, 58] Operation: 38+20=58
Exploring Operation: 38+24=62, Resulting Numbers: [20, 89, 62]
Generated Node #0,1: 83:[20, 89, 62] Operation: 38+24=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[24, 89, 58], Operations: ['38+20=58']
Exploring Operation: 24+58=82, Resulting Numbers: [89, 82]
Generated Node #0,0,0: 83:[89, 82] Operation: 24+58=82
Exploring Operation: 89-24=65, Resulting Numbers: [58, 65]
Generated Node #0,0,1: 83:[58, 65] Operation: 89-24=65
Moving to Node #0,0,0
Current State: 83:[89, 82], Operations: ['38+20=58', '24+58=82']
Exploring Operation: 89+82=171, Resulting Numbers: [171]
171,83 unequal: No Solution
Exploring Operation: 89-82=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[58, 65], Operations: ['38+20=58', '89-24=65']
Exploring Operation: 65-58=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 58+65=123, Resulting Numbers: [123]
123,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:[20, 89, 62], Operations: ['38+24=62']
Exploring Operation: 89-20=69, Resulting Numbers: [62, 69]
Generated Node #0,1,0: 83:[62, 69] Operation: 89-20=69
Exploring Operation: 20+62=82, Resulting Numbers: [89, 82]
Generated Node #0,1,1: 83:[89, 82] Operation: 20+62=82
Moving to Node #0,1,1
Current State: 83:[89, 82], Operations: ['38+24=62', '20+62=82']
Exploring Operation: 89+82=171, Resulting Numbers: [171]
171,83 unequal: No Solution
Exploring Operation: 89-82=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[62, 69], Operations: ['38+24=62', '89-20=69']
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 62+69=131, Resulting Numbers: [131]
131,83 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 |
[
41,
70,
79,
82
] | 50 | [
"41+70=111",
"79+82=161",
"161-111=50"
] | Current State: 50:[41, 70, 79, 82], Operations: []
Exploring Operation: 41+70=111, Resulting Numbers: [79, 82, 111]
Generated Node #2: [79, 82, 111] from Operation: 41+70=111
Current State: 50:[79, 82, 111], Operations: ['41+70=111']
Exploring Operation: 79+82=161, Resulting Numbers: [111, 161]
Generated Node #3: [111, 161] from Operation: 79+82=161
Current State: 50:[111, 161], Operations: ['41+70=111', '79+82=161']
Exploring Operation: 161-111=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[41, 70, 79, 82], Operations: []
Exploring Operation: 79-70=9, Resulting Numbers: [41, 82, 9]
Generated Node #0,0: 50:[41, 82, 9] Operation: 79-70=9
Exploring Operation: 82/41=2, Resulting Numbers: [70, 79, 2]
Generated Node #0,1: 50:[70, 79, 2] Operation: 82/41=2
Exploring Operation: 82-70=12, Resulting Numbers: [41, 79, 12]
Generated Node #0,2: 50:[41, 79, 12] Operation: 82-70=12
Exploring Operation: 82-79=3, Resulting Numbers: [41, 70, 3]
Generated Node #0,3: 50:[41, 70, 3] Operation: 82-79=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[41, 70, 3], Operations: ['82-79=3']
Exploring Operation: 41-3=38, Resulting Numbers: [70, 38]
Generated Node #0,3,0: 50:[70, 38] Operation: 41-3=38
Exploring Operation: 70-41=29, Resulting Numbers: [3, 29]
Generated Node #0,3,1: 50:[3, 29] Operation: 70-41=29
Exploring Operation: 70-3=67, Resulting Numbers: [41, 67]
Generated Node #0,3,2: 50:[41, 67] Operation: 70-3=67
Exploring Operation: 41+3=44, Resulting Numbers: [70, 44]
Generated Node #0,3,3: 50:[70, 44] Operation: 41+3=44
Moving to Node #0,3,1
Current State: 50:[3, 29], Operations: ['82-79=3', '70-41=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Moving to Node #0,3,3
Current State: 50:[70, 44], Operations: ['82-79=3', '41+3=44']
Exploring Operation: 70*44=3080, Resulting Numbers: [3080]
3080,50 unequal: No Solution
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 70+44=114, Resulting Numbers: [114]
114,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[41, 67], Operations: ['82-79=3', '70-3=67']
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,50 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[70, 38], Operations: ['82-79=3', '41-3=38']
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,50 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[41, 79, 12], Operations: ['82-70=12']
Exploring Operation: 41-12=29, Resulting Numbers: [79, 29]
Generated Node #0,2,0: 50:[79, 29] Operation: 41-12=29
Exploring Operation: 41+12=53, Resulting Numbers: [79, 53]
Generated Node #0,2,1: 50:[79, 53] Operation: 41+12=53
Exploring Operation: 79-12=67, Resulting Numbers: [41, 67]
Generated Node #0,2,2: 50:[41, 67] Operation: 79-12=67
Exploring Operation: 79-41=38, Resulting Numbers: [12, 38]
Generated Node #0,2,3: 50:[12, 38] Operation: 79-41=38
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 50:[12, 38], Operations: ['82-70=12', '79-41=38']
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[41, 70, 79, 82], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [41, 79, 12]
Generated Node #0,2: 50:[41, 79, 12] Operation: 82-70=12
Moving to Node #0,2
Current State: 50:[41, 79, 12], Operations: ['82-70=12']
Exploring Operation: 79-41=38, Resulting Numbers: [12, 38]
Generated Node #0,2,3: 50:[12, 38] Operation: 79-41=38
Moving to Node #0,2,3
Current State: 50:[12, 38], Operations: ['82-70=12', '79-41=38']
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
17,
95,
88,
67
] | 57 | [
"95-17=78",
"88-67=21",
"78-21=57"
] | Current State: 57:[17, 95, 88, 67], Operations: []
Exploring Operation: 95-17=78, Resulting Numbers: [88, 67, 78]
Generated Node #2: [88, 67, 78] from Operation: 95-17=78
Current State: 57:[88, 67, 78], Operations: ['95-17=78']
Exploring Operation: 88-67=21, Resulting Numbers: [78, 21]
Generated Node #3: [78, 21] from Operation: 88-67=21
Current State: 57:[78, 21], Operations: ['95-17=78', '88-67=21']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[17, 95, 88, 67], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [17, 67, 7]
Generated Node #0,0: 57:[17, 67, 7] Operation: 95-88=7
Exploring Operation: 95-17=78, Resulting Numbers: [88, 67, 78]
Generated Node #0,1: 57:[88, 67, 78] Operation: 95-17=78
Exploring Operation: 88-67=21, Resulting Numbers: [17, 95, 21]
Generated Node #0,2: 57:[17, 95, 21] Operation: 88-67=21
Exploring Operation: 95-67=28, Resulting Numbers: [17, 88, 28]
Generated Node #0,3: 57:[17, 88, 28] Operation: 95-67=28
Moving to Node #0,0
Current State: 57:[17, 67, 7], Operations: ['95-88=7']
Exploring Operation: 67-17=50, Resulting Numbers: [7, 50]
Generated Node #0,0,0: 57:[7, 50] Operation: 67-17=50
Exploring Operation: 17-7=10, Resulting Numbers: [67, 10]
Generated Node #0,0,1: 57:[67, 10] Operation: 17-7=10
Exploring Operation: 67-7=60, Resulting Numbers: [17, 60]
Generated Node #0,0,2: 57:[17, 60] Operation: 67-7=60
Exploring Operation: 17+7=24, Resulting Numbers: [67, 24]
Generated Node #0,0,3: 57:[67, 24] Operation: 17+7=24
Moving to Node #0,3
Current State: 57:[17, 88, 28], Operations: ['95-67=28']
Exploring Operation: 28-17=11, Resulting Numbers: [88, 11]
Generated Node #0,3,0: 57:[88, 11] Operation: 28-17=11
Exploring Operation: 17+28=45, Resulting Numbers: [88, 45]
Generated Node #0,3,1: 57:[88, 45] Operation: 17+28=45
Exploring Operation: 88-28=60, Resulting Numbers: [17, 60]
Generated Node #0,3,2: 57:[17, 60] Operation: 88-28=60
Exploring Operation: 88-17=71, Resulting Numbers: [28, 71]
Generated Node #0,3,3: 57:[28, 71] Operation: 88-17=71
Moving to Node #0,2
Current State: 57:[17, 95, 21], Operations: ['88-67=21']
Exploring Operation: 17+95=112, Resulting Numbers: [21, 112]
Generated Node #0,2,0: 57:[21, 112] Operation: 17+95=112
Exploring Operation: 95-21=74, Resulting Numbers: [17, 74]
Generated Node #0,2,1: 57:[17, 74] Operation: 95-21=74
Exploring Operation: 21-17=4, Resulting Numbers: [95, 4]
Generated Node #0,2,2: 57:[95, 4] Operation: 21-17=4
Exploring Operation: 95-17=78, Resulting Numbers: [21, 78]
Generated Node #0,2,3: 57:[21, 78] Operation: 95-17=78
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[17, 74], Operations: ['88-67=21', '95-21=74']
Exploring Operation: 17*74=1258, Resulting Numbers: [1258]
1258,57 unequal: No Solution
Exploring Operation: 17+74=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[17, 95, 88, 67], Operations: []
Exploring Operation: 88-67=21, Resulting Numbers: [17, 95, 21]
Generated Node #0,2: 57:[17, 95, 21] Operation: 88-67=21
Moving to Node #0,2
Current State: 57:[17, 95, 21], Operations: ['88-67=21']
Exploring Operation: 95-21=74, Resulting Numbers: [17, 74]
Generated Node #0,2,1: 57:[17, 74] Operation: 95-21=74
Moving to Node #0,2,1
Current State: 57:[17, 74], Operations: ['88-67=21', '95-21=74']
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
52,
3,
73,
82
] | 17 | [
"82-52=30",
"3*30=90",
"90-73=17"
] | Current State: 17:[52, 3, 73, 82], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [3, 73, 30]
Generated Node #2: [3, 73, 30] from Operation: 82-52=30
Current State: 17:[3, 73, 30], Operations: ['82-52=30']
Exploring Operation: 3*30=90, Resulting Numbers: [73, 90]
Generated Node #3: [73, 90] from Operation: 3*30=90
Current State: 17:[73, 90], Operations: ['82-52=30', '3*30=90']
Exploring Operation: 90-73=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[52, 3, 73, 82], Operations: []
Exploring Operation: 82-73=9, Resulting Numbers: [52, 3, 9]
Generated Node #0,0: 17:[52, 3, 9] Operation: 82-73=9
Moving to Node #0,0
Current State: 17:[52, 3, 9], Operations: ['82-73=9']
Exploring Operation: 52-3=49, Resulting Numbers: [9, 49]
Generated Node #0,0,0: 17:[9, 49] Operation: 52-3=49
Moving to Node #0,0,0
Current State: 17:[9, 49], Operations: ['82-73=9', '52-3=49']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,17 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
87,
90,
13
] | 74 | [
"64+87=151",
"90-13=77",
"151-77=74"
] | Current State: 74:[64, 87, 90, 13], Operations: []
Exploring Operation: 64+87=151, Resulting Numbers: [90, 13, 151]
Generated Node #2: [90, 13, 151] from Operation: 64+87=151
Current State: 74:[90, 13, 151], Operations: ['64+87=151']
Exploring Operation: 90-13=77, Resulting Numbers: [151, 77]
Generated Node #3: [151, 77] from Operation: 90-13=77
Current State: 74:[151, 77], Operations: ['64+87=151', '90-13=77']
Exploring Operation: 151-77=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[64, 87, 90, 13], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [64, 13, 3]
Generated Node #0,0: 74:[64, 13, 3] Operation: 90-87=3
Moving to Node #0,0
Current State: 74:[64, 13, 3], Operations: ['90-87=3']
Exploring Operation: 64+13=77, Resulting Numbers: [3, 77]
Generated Node #0,0,0: 74:[3, 77] Operation: 64+13=77
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[3, 77], Operations: ['90-87=3', '64+13=77']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[64, 87, 90, 13], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [64, 13, 3]
Generated Node #0,0: 74:[64, 13, 3] Operation: 90-87=3
Moving to Node #0,0
Current State: 74:[64, 13, 3], Operations: ['90-87=3']
Exploring Operation: 64+13=77, Resulting Numbers: [3, 77]
Generated Node #0,0,0: 74:[3, 77] Operation: 64+13=77
Moving to Node #0,0,0
Current State: 74:[3, 77], Operations: ['90-87=3', '64+13=77']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
45,
18,
8,
48
] | 62 | [
"48-45=3",
"18*3=54",
"8+54=62"
] | Current State: 62:[45, 18, 8, 48], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [18, 8, 3]
Generated Node #2: [18, 8, 3] from Operation: 48-45=3
Current State: 62:[18, 8, 3], Operations: ['48-45=3']
Exploring Operation: 18*3=54, Resulting Numbers: [8, 54]
Generated Node #3: [8, 54] from Operation: 18*3=54
Current State: 62:[8, 54], Operations: ['48-45=3', '18*3=54']
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[45, 18, 8, 48], Operations: []
Exploring Operation: 45-18=27, Resulting Numbers: [8, 48, 27]
Generated Node #0,0: 62:[8, 48, 27] Operation: 45-18=27
Exploring Operation: 48-45=3, Resulting Numbers: [18, 8, 3]
Generated Node #0,1: 62:[18, 8, 3] Operation: 48-45=3
Exploring Operation: 48-18=30, Resulting Numbers: [45, 8, 30]
Generated Node #0,2: 62:[45, 8, 30] Operation: 48-18=30
Exploring Operation: 45+18=63, Resulting Numbers: [8, 48, 63]
Generated Node #0,3: 62:[8, 48, 63] Operation: 45+18=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[18, 8, 3], Operations: ['48-45=3']
Exploring Operation: 18+8=26, Resulting Numbers: [3, 26]
Generated Node #0,1,0: 62:[3, 26] Operation: 18+8=26
Exploring Operation: 18-8=10, Resulting Numbers: [3, 10]
Generated Node #0,1,1: 62:[3, 10] Operation: 18-8=10
Exploring Operation: 18/3=6, Resulting Numbers: [8, 6]
Generated Node #0,1,2: 62:[8, 6] Operation: 18/3=6
Exploring Operation: 18*3=54, Resulting Numbers: [8, 54]
Generated Node #0,1,3: 62:[8, 54] Operation: 18*3=54
Moving to Node #0,1,0
Current State: 62:[3, 26], Operations: ['48-45=3', '18+8=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[3, 10], Operations: ['48-45=3', '18-8=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[8, 6], Operations: ['48-45=3', '18/3=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[8, 54], Operations: ['48-45=3', '18*3=54']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[45, 18, 8, 48], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [18, 8, 3]
Generated Node #0,1: 62:[18, 8, 3] Operation: 48-45=3
Moving to Node #0,1
Current State: 62:[18, 8, 3], Operations: ['48-45=3']
Exploring Operation: 18*3=54, Resulting Numbers: [8, 54]
Generated Node #0,1,3: 62:[8, 54] Operation: 18*3=54
Moving to Node #0,1,3
Current State: 62:[8, 54], Operations: ['48-45=3', '18*3=54']
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
63,
35,
11,
4
] | 54 | [
"63+35=98",
"11*4=44",
"98-44=54"
] | Current State: 54:[63, 35, 11, 4], Operations: []
Exploring Operation: 63+35=98, Resulting Numbers: [11, 4, 98]
Generated Node #2: [11, 4, 98] from Operation: 63+35=98
Current State: 54:[11, 4, 98], Operations: ['63+35=98']
Exploring Operation: 11*4=44, Resulting Numbers: [98, 44]
Generated Node #3: [98, 44] from Operation: 11*4=44
Current State: 54:[98, 44], Operations: ['63+35=98', '11*4=44']
Exploring Operation: 98-44=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[63, 35, 11, 4], Operations: []
Exploring Operation: 35-11=24, Resulting Numbers: [63, 4, 24]
Generated Node #0,0: 54:[63, 4, 24] Operation: 35-11=24
Exploring Operation: 63-11=52, Resulting Numbers: [35, 4, 52]
Generated Node #0,1: 54:[35, 4, 52] Operation: 63-11=52
Exploring Operation: 63-35=28, Resulting Numbers: [11, 4, 28]
Generated Node #0,2: 54:[11, 4, 28] Operation: 63-35=28
Exploring Operation: 63-4=59, Resulting Numbers: [35, 11, 59]
Generated Node #0,3: 54:[35, 11, 59] Operation: 63-4=59
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[11, 4, 28], Operations: ['63-35=28']
Exploring Operation: 11+4=15, Resulting Numbers: [28, 15]
Generated Node #0,2,0: 54:[28, 15] Operation: 11+4=15
Exploring Operation: 28/4=7, Resulting Numbers: [11, 7]
Generated Node #0,2,1: 54:[11, 7] Operation: 28/4=7
Exploring Operation: 11-4=7, Resulting Numbers: [28, 7]
Generated Node #0,2,2: 54:[28, 7] Operation: 11-4=7
Exploring Operation: 28-11=17, Resulting Numbers: [4, 17]
Generated Node #0,2,3: 54:[4, 17] Operation: 28-11=17
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[28, 7], Operations: ['63-35=28', '11-4=7']
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,54 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 54:[4, 17], Operations: ['63-35=28', '28-11=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 54:[11, 7], Operations: ['63-35=28', '28/4=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 54:[28, 15], Operations: ['63-35=28', '11+4=15']
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,54 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[35, 4, 52], Operations: ['63-11=52']
Exploring Operation: 35-4=31, Resulting Numbers: [52, 31]
Generated Node #0,1,0: 54:[52, 31] Operation: 35-4=31
Exploring Operation: 52/4=13, Resulting Numbers: [35, 13]
Generated Node #0,1,1: 54:[35, 13] Operation: 52/4=13
Exploring Operation: 4+52=56, Resulting Numbers: [35, 56]
Generated Node #0,1,2: 54:[35, 56] Operation: 4+52=56
Exploring Operation: 52-35=17, Resulting Numbers: [4, 17]
Generated Node #0,1,3: 54:[4, 17] Operation: 52-35=17
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 54:[4, 17], Operations: ['63-11=52', '52-35=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[52, 31], Operations: ['63-11=52', '35-4=31']
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,54 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 52*31=1612, Resulting Numbers: [1612]
1612,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[35, 56], Operations: ['63-11=52', '4+52=56']
Exploring Operation: 35*56=1960, Resulting Numbers: [1960]
1960,54 unequal: No Solution
Exploring Operation: 35+56=91, Resulting Numbers: [91]
91,54 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[35, 13], Operations: ['63-11=52', '52/4=13']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,54 unequal: No Solution
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[63, 4, 24], Operations: ['35-11=24']
Exploring Operation: 63-4=59, Resulting Numbers: [24, 59]
Generated Node #0,0,0: 54:[24, 59] Operation: 63-4=59
Exploring Operation: 24/4=6, Resulting Numbers: [63, 6]
Generated Node #0,0,1: 54:[63, 6] Operation: 24/4=6
Exploring Operation: 24-4=20, Resulting Numbers: [63, 20]
Generated Node #0,0,2: 54:[63, 20] Operation: 24-4=20
Exploring Operation: 4+24=28, Resulting Numbers: [63, 28]
Generated Node #0,0,3: 54:[63, 28] Operation: 4+24=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[24, 59], Operations: ['35-11=24', '63-4=59']
Exploring Operation: 24*59=1416, Resulting Numbers: [1416]
1416,54 unequal: No Solution
Exploring Operation: 24+59=83, Resulting Numbers: [83]
83,54 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[63, 6], Operations: ['35-11=24', '24/4=6']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,54 unequal: No Solution
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 54:[63, 28], Operations: ['35-11=24', '4+24=28']
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,54 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 54:[63, 20], Operations: ['35-11=24', '24-4=20']
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,54 unequal: No Solution
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,54 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[35, 11, 59], Operations: ['63-4=59']
Exploring Operation: 59-35=24, Resulting Numbers: [11, 24]
Generated Node #0,3,0: 54:[11, 24] Operation: 59-35=24
Exploring Operation: 35+11=46, Resulting Numbers: [59, 46]
Generated Node #0,3,1: 54:[59, 46] Operation: 35+11=46
Exploring Operation: 59-11=48, Resulting Numbers: [35, 48]
Generated Node #0,3,2: 54:[35, 48] Operation: 59-11=48
Exploring Operation: 35-11=24, Resulting Numbers: [59, 24]
Generated Node #0,3,3: 54:[59, 24] Operation: 35-11=24
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 54:[11, 24], Operations: ['63-4=59', '59-35=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,54 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 54:[59, 24], Operations: ['63-4=59', '35-11=24']
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,54 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 59*24=1416, Resulting Numbers: [1416]
1416,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 54:[59, 46], Operations: ['63-4=59', '35+11=46']
Exploring Operation: 59+46=105, Resulting Numbers: [105]
105,54 unequal: No Solution
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 59*46=2714, Resulting Numbers: [2714]
2714,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 54:[35, 48], Operations: ['63-4=59', '59-11=48']
Exploring Operation: 35*48=1680, Resulting Numbers: [1680]
1680,54 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
16,
11,
75,
16
] | 85 | [
"16*11=176",
"75+16=91",
"176-91=85"
] | Current State: 85:[16, 11, 75, 16], Operations: []
Exploring Operation: 16*11=176, Resulting Numbers: [75, 176]
Generated Node #2: [75, 176] from Operation: 16*11=176
Current State: 85:[75, 176], Operations: ['16*11=176']
Exploring Operation: 75+16=91, Resulting Numbers: [176, 91]
Generated Node #3: [176, 91] from Operation: 75+16=91
Current State: 85:[176, 91], Operations: ['16*11=176', '75+16=91']
Exploring Operation: 176-91=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[16, 11, 75, 16], Operations: []
Exploring Operation: 16-11=5, Resulting Numbers: [16, 75, 5]
Generated Node #0,0: 85:[16, 75, 5] Operation: 16-11=5
Exploring Operation: 16+75=91, Resulting Numbers: [11, 16, 91]
Generated Node #0,1: 85:[11, 16, 91] Operation: 16+75=91
Exploring Operation: 11+75=86, Resulting Numbers: [16, 16, 86]
Generated Node #0,2: 85:[16, 16, 86] Operation: 11+75=86
Exploring Operation: 16-11=5, Resulting Numbers: [75, 16, 5]
Generated Node #0,3: 85:[75, 16, 5] Operation: 16-11=5
Moving to Node #0,2
Current State: 85:[16, 16, 86], Operations: ['11+75=86']
Exploring Operation: 16+16=32, Resulting Numbers: [86, 32]
Generated Node #0,2,0: 85:[86, 32] Operation: 16+16=32
Exploring Operation: 16/16=1, Resulting Numbers: [86, 1]
Generated Node #0,2,1: 85:[86, 1] Operation: 16/16=1
Exploring Operation: 86-16=70, Resulting Numbers: [16, 70]
Generated Node #0,2,2: 85:[16, 70] Operation: 86-16=70
Exploring Operation: 16-16=0, Resulting Numbers: [86, 0]
Generated Node #0,2,3: 85:[86, 0] Operation: 16-16=0
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[86, 1], Operations: ['11+75=86', '16/16=1']
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[16, 11, 75, 16], Operations: []
Exploring Operation: 11+75=86, Resulting Numbers: [16, 16, 86]
Generated Node #0,2: 85:[16, 16, 86] Operation: 11+75=86
Moving to Node #0,2
Current State: 85:[16, 16, 86], Operations: ['11+75=86']
Exploring Operation: 16/16=1, Resulting Numbers: [86, 1]
Generated Node #0,2,1: 85:[86, 1] Operation: 16/16=1
Moving to Node #0,2,1
Current State: 85:[86, 1], Operations: ['11+75=86', '16/16=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
33,
89,
6,
53
] | 39 | [
"89-53=36",
"36/6=6",
"33+6=39"
] | Current State: 39:[33, 89, 6, 53], Operations: []
Exploring Operation: 89-53=36, Resulting Numbers: [33, 6, 36]
Generated Node #2: [33, 6, 36] from Operation: 89-53=36
Current State: 39:[33, 6, 36], Operations: ['89-53=36']
Exploring Operation: 36/6=6, Resulting Numbers: [33, 6]
Generated Node #3: [33, 6] from Operation: 36/6=6
Current State: 39:[33, 6], Operations: ['89-53=36', '36/6=6']
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[33, 89, 6, 53], Operations: []
Exploring Operation: 89-53=36, Resulting Numbers: [33, 6, 36]
Generated Node #0,0: 39:[33, 6, 36] Operation: 89-53=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[33, 6, 36], Operations: ['89-53=36']
Exploring Operation: 33+6=39, Resulting Numbers: [36, 39]
Generated Node #0,0,0: 39:[36, 39] Operation: 33+6=39
Moving to Node #0,0,0
Current State: 39:[36, 39], Operations: ['89-53=36', '33+6=39']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,39 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 |
[
71,
33,
35,
19
] | 26 | [
"71-19=52",
"35-33=2",
"52/2=26"
] | Current State: 26:[71, 33, 35, 19], Operations: []
Exploring Operation: 71-19=52, Resulting Numbers: [33, 35, 52]
Generated Node #2: [33, 35, 52] from Operation: 71-19=52
Current State: 26:[33, 35, 52], Operations: ['71-19=52']
Exploring Operation: 35-33=2, Resulting Numbers: [52, 2]
Generated Node #3: [52, 2] from Operation: 35-33=2
Current State: 26:[52, 2], Operations: ['71-19=52', '35-33=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[71, 33, 35, 19], Operations: []
Exploring Operation: 71-35=36, Resulting Numbers: [33, 19, 36]
Generated Node #0,0: 26:[33, 19, 36] Operation: 71-35=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[33, 19, 36], Operations: ['71-35=36']
Exploring Operation: 36-33=3, Resulting Numbers: [19, 3]
Generated Node #0,0,0: 26:[19, 3] Operation: 36-33=3
Moving to Node #0,0,0
Current State: 26:[19, 3], Operations: ['71-35=36', '36-33=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,26 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 |
[
32,
6,
23,
91
] | 79 | [
"91-32=59",
"6*23=138",
"138-59=79"
] | Current State: 79:[32, 6, 23, 91], Operations: []
Exploring Operation: 91-32=59, Resulting Numbers: [6, 23, 59]
Generated Node #2: [6, 23, 59] from Operation: 91-32=59
Current State: 79:[6, 23, 59], Operations: ['91-32=59']
Exploring Operation: 6*23=138, Resulting Numbers: [59, 138]
Generated Node #3: [59, 138] from Operation: 6*23=138
Current State: 79:[59, 138], Operations: ['91-32=59', '6*23=138']
Exploring Operation: 138-59=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[32, 6, 23, 91], Operations: []
Exploring Operation: 32+23=55, Resulting Numbers: [6, 91, 55]
Generated Node #0,0: 79:[6, 91, 55] Operation: 32+23=55
Exploring Operation: 32+6=38, Resulting Numbers: [23, 91, 38]
Generated Node #0,1: 79:[23, 91, 38] Operation: 32+6=38
Exploring Operation: 6*23=138, Resulting Numbers: [32, 91, 138]
Generated Node #0,2: 79:[32, 91, 138] Operation: 6*23=138
Exploring Operation: 6+23=29, Resulting Numbers: [32, 91, 29]
Generated Node #0,3: 79:[32, 91, 29] Operation: 6+23=29
Exploring Operation: 91-6=85, Resulting Numbers: [32, 23, 85]
Generated Node #0,4: 79:[32, 23, 85] Operation: 91-6=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[6, 91, 55], Operations: ['32+23=55']
Exploring Operation: 91-55=36, Resulting Numbers: [6, 36]
Generated Node #0,0,0: 79:[6, 36] Operation: 91-55=36
Exploring Operation: 55-6=49, Resulting Numbers: [91, 49]
Generated Node #0,0,1: 79:[91, 49] Operation: 55-6=49
Exploring Operation: 6+55=61, Resulting Numbers: [91, 61]
Generated Node #0,0,2: 79:[91, 61] Operation: 6+55=61
Exploring Operation: 91-6=85, Resulting Numbers: [55, 85]
Generated Node #0,0,3: 79:[55, 85] Operation: 91-6=85
Exploring Operation: 6+91=97, Resulting Numbers: [55, 97]
Generated Node #0,0,4: 79:[55, 97] Operation: 6+91=97
Moving to Node #0,0,2
Current State: 79:[91, 61], Operations: ['32+23=55', '6+55=61']
Exploring Operation: 91+61=152, Resulting Numbers: [152]
152,79 unequal: No Solution
Exploring Operation: 91*61=5551, Resulting Numbers: [5551]
5551,79 unequal: No Solution
Exploring Operation: 91-61=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[55, 85], Operations: ['32+23=55', '91-6=85']
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 55*85=4675, Resulting Numbers: [4675]
4675,79 unequal: No Solution
Exploring Operation: 55+85=140, Resulting Numbers: [140]
140,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[91, 49], Operations: ['32+23=55', '55-6=49']
Exploring Operation: 91*49=4459, Resulting Numbers: [4459]
4459,79 unequal: No Solution
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Exploring Operation: 91+49=140, Resulting Numbers: [140]
140,79 unequal: No Solution
Moving to Node #0,0,4
Current State: 79:[55, 97], Operations: ['32+23=55', '6+91=97']
Exploring Operation: 97-55=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Exploring Operation: 55*97=5335, Resulting Numbers: [5335]
5335,79 unequal: No Solution
Exploring Operation: 55+97=152, Resulting Numbers: [152]
152,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[6, 36], Operations: ['32+23=55', '91-55=36']
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,79 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[23, 91, 38], Operations: ['32+6=38']
Exploring Operation: 91-38=53, Resulting Numbers: [23, 53]
Generated Node #0,1,0: 79:[23, 53] Operation: 91-38=53
Exploring Operation: 23+38=61, Resulting Numbers: [91, 61]
Generated Node #0,1,1: 79:[91, 61] Operation: 23+38=61
Exploring Operation: 91-23=68, Resulting Numbers: [38, 68]
Generated Node #0,1,2: 79:[38, 68] Operation: 91-23=68
Exploring Operation: 23+91=114, Resulting Numbers: [38, 114]
Generated Node #0,1,3: 79:[38, 114] Operation: 23+91=114
Exploring Operation: 38-23=15, Resulting Numbers: [91, 15]
Generated Node #0,1,4: 79:[91, 15] Operation: 38-23=15
Moving to Node #0,1,1
Current State: 79:[91, 61], Operations: ['32+6=38', '23+38=61']
Exploring Operation: 91+61=152, Resulting Numbers: [152]
152,79 unequal: No Solution
Exploring Operation: 91*61=5551, Resulting Numbers: [5551]
5551,79 unequal: No Solution
Exploring Operation: 91-61=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[38, 68], Operations: ['32+6=38', '91-23=68']
Exploring Operation: 38*68=2584, Resulting Numbers: [2584]
2584,79 unequal: No Solution
Exploring Operation: 38+68=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[38, 114], Operations: ['32+6=38', '23+91=114']
Exploring Operation: 38*114=4332, Resulting Numbers: [4332]
4332,79 unequal: No Solution
Exploring Operation: 114-38=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Exploring Operation: 38+114=152, Resulting Numbers: [152]
152,79 unequal: No Solution
Exploring Operation: 114/38=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[91, 15], Operations: ['32+6=38', '38-23=15']
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[23, 53], Operations: ['32+6=38', '91-38=53']
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 23*53=1219, Resulting Numbers: [1219]
1219,79 unequal: No Solution
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[32, 91, 29], Operations: ['6+23=29']
Exploring Operation: 32+29=61, Resulting Numbers: [91, 61]
Generated Node #0,3,0: 79:[91, 61] Operation: 32+29=61
Exploring Operation: 32-29=3, Resulting Numbers: [91, 3]
Generated Node #0,3,1: 79:[91, 3] Operation: 32-29=3
Exploring Operation: 91-32=59, Resulting Numbers: [29, 59]
Generated Node #0,3,2: 79:[29, 59] Operation: 91-32=59
Exploring Operation: 91-29=62, Resulting Numbers: [32, 62]
Generated Node #0,3,3: 79:[32, 62] Operation: 91-29=62
Exploring Operation: 91+29=120, Resulting Numbers: [32, 120]
Generated Node #0,3,4: 79:[32, 120] Operation: 91+29=120
Moving to Node #0,3,0
Current State: 79:[91, 61], Operations: ['6+23=29', '32+29=61']
Exploring Operation: 91*61=5551, Resulting Numbers: [5551]
5551,79 unequal: No Solution
Exploring Operation: 91+61=152, Resulting Numbers: [152]
152,79 unequal: No Solution
Exploring Operation: 91-61=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[32, 62], Operations: ['6+23=29', '91-29=62']
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[29, 59], Operations: ['6+23=29', '91-32=59']
Exploring Operation: 29*59=1711, Resulting Numbers: [1711]
1711,79 unequal: No Solution
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[91, 3], Operations: ['6+23=29', '32-29=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[32, 120], Operations: ['6+23=29', '91+29=120']
Exploring Operation: 120-32=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 32*120=3840, Resulting Numbers: [3840]
3840,79 unequal: No Solution
Exploring Operation: 32+120=152, Resulting Numbers: [152]
152,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,4
Current State: 79:[32, 23, 85], Operations: ['91-6=85']
Exploring Operation: 23+85=108, Resulting Numbers: [32, 108]
Generated Node #0,4,0: 79:[32, 108] Operation: 23+85=108
Exploring Operation: 32-23=9, Resulting Numbers: [85, 9]
Generated Node #0,4,1: 79:[85, 9] Operation: 32-23=9
Exploring Operation: 85-32=53, Resulting Numbers: [23, 53]
Generated Node #0,4,2: 79:[23, 53] Operation: 85-32=53
Exploring Operation: 32+23=55, Resulting Numbers: [85, 55]
Generated Node #0,4,3: 79:[85, 55] Operation: 32+23=55
Exploring Operation: 85-23=62, Resulting Numbers: [32, 62]
Generated Node #0,4,4: 79:[32, 62] Operation: 85-23=62
Moving to Node #0,4,3
Current State: 79:[85, 55], Operations: ['91-6=85', '32+23=55']
Exploring Operation: 85+55=140, Resulting Numbers: [140]
140,79 unequal: No Solution
Exploring Operation: 85*55=4675, Resulting Numbers: [4675]
4675,79 unequal: No Solution
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[32, 62], Operations: ['91-6=85', '85-23=62']
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,79 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[32, 108], Operations: ['91-6=85', '23+85=108']
Exploring Operation: 32*108=3456, Resulting Numbers: [3456]
3456,79 unequal: No Solution
Exploring Operation: 32+108=140, Resulting Numbers: [140]
140,79 unequal: No Solution
Exploring Operation: 108-32=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[85, 9], Operations: ['91-6=85', '32-23=9']
Exploring Operation: 85*9=765, Resulting Numbers: [765]
765,79 unequal: No Solution
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[23, 53], Operations: ['91-6=85', '85-32=53']
Exploring Operation: 23*53=1219, Resulting Numbers: [1219]
1219,79 unequal: No Solution
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,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
Current State: 79:[32, 91, 138], Operations: ['6*23=138']
Exploring Operation: 138-91=47, Resulting Numbers: [32, 47]
Generated Node #0,2,0: 79:[32, 47] Operation: 138-91=47
Exploring Operation: 138-32=106, Resulting Numbers: [91, 106]
Generated Node #0,2,1: 79:[91, 106] Operation: 138-32=106
Exploring Operation: 91-32=59, Resulting Numbers: [138, 59]
Generated Node #0,2,2: 79:[138, 59] Operation: 91-32=59
Exploring Operation: 32+138=170, Resulting Numbers: [91, 170]
Generated Node #0,2,3: 79:[91, 170] Operation: 32+138=170
Exploring Operation: 32+91=123, Resulting Numbers: [138, 123]
Generated Node #0,2,4: 79:[138, 123] Operation: 32+91=123
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[91, 106], Operations: ['6*23=138', '138-32=106']
Exploring Operation: 91*106=9646, Resulting Numbers: [9646]
9646,79 unequal: No Solution
Exploring Operation: 91+106=197, Resulting Numbers: [197]
197,79 unequal: No Solution
Exploring Operation: 106-91=15, Resulting Numbers: [15]
15,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[32, 47], Operations: ['6*23=138', '138-91=47']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,79 unequal: No Solution
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[32, 6, 23, 91], Operations: []
Exploring Operation: 6*23=138, Resulting Numbers: [32, 91, 138]
Generated Node #0,2: 79:[32, 91, 138] Operation: 6*23=138
Moving to Node #0,2
Current State: 79:[32, 91, 138], Operations: ['6*23=138']
Exploring Operation: 138-91=47, Resulting Numbers: [32, 47]
Generated Node #0,2,0: 79:[32, 47] Operation: 138-91=47
Moving to Node #0,2,0
Current State: 79:[32, 47], Operations: ['6*23=138', '138-91=47']
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.912326 | hs_5 | mult_heuristic |
[
35,
50,
12,
43
] | 70 | [
"50-35=15",
"12+43=55",
"15+55=70"
] | Current State: 70:[35, 50, 12, 43], Operations: []
Exploring Operation: 50-35=15, Resulting Numbers: [12, 43, 15]
Generated Node #2: [12, 43, 15] from Operation: 50-35=15
Current State: 70:[12, 43, 15], Operations: ['50-35=15']
Exploring Operation: 12+43=55, Resulting Numbers: [15, 55]
Generated Node #3: [15, 55] from Operation: 12+43=55
Current State: 70:[15, 55], Operations: ['50-35=15', '12+43=55']
Exploring Operation: 15+55=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[35, 50, 12, 43], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [35, 12, 7]
Generated Node #0,0: 70:[35, 12, 7] Operation: 50-43=7
Exploring Operation: 50-35=15, Resulting Numbers: [12, 43, 15]
Generated Node #0,1: 70:[12, 43, 15] Operation: 50-35=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[35, 12, 7], Operations: ['50-43=7']
Exploring Operation: 35/7=5, Resulting Numbers: [12, 5]
Generated Node #0,0,0: 70:[12, 5] Operation: 35/7=5
Exploring Operation: 12-7=5, Resulting Numbers: [35, 5]
Generated Node #0,0,1: 70:[35, 5] Operation: 12-7=5
Moving to Node #0,0,1
Current State: 70:[35, 5], Operations: ['50-43=7', '12-7=5']
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[12, 5], Operations: ['50-43=7', '35/7=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,70 unequal: No Solution
No solution 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: 70:[12, 43, 15], Operations: ['50-35=15']
Exploring Operation: 15-12=3, Resulting Numbers: [43, 3]
Generated Node #0,1,0: 70:[43, 3] Operation: 15-12=3
Exploring Operation: 43-12=31, Resulting Numbers: [15, 31]
Generated Node #0,1,1: 70:[15, 31] Operation: 43-12=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[15, 31], Operations: ['50-35=15', '43-12=31']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[43, 3], Operations: ['50-35=15', '15-12=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
88,
90,
7,
89
] | 95 | [
"88+7=95",
"90-89=1",
"95*1=95"
] | Current State: 95:[88, 90, 7, 89], Operations: []
Exploring Operation: 88+7=95, Resulting Numbers: [90, 89, 95]
Generated Node #2: [90, 89, 95] from Operation: 88+7=95
Current State: 95:[90, 89, 95], Operations: ['88+7=95']
Exploring Operation: 90-89=1, Resulting Numbers: [95, 1]
Generated Node #3: [95, 1] from Operation: 90-89=1
Current State: 95:[95, 1], Operations: ['88+7=95', '90-89=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[88, 90, 7, 89], Operations: []
Exploring Operation: 89-88=1, Resulting Numbers: [90, 7, 1]
Generated Node #0,0: 95:[90, 7, 1] Operation: 89-88=1
Exploring Operation: 88+7=95, Resulting Numbers: [90, 89, 95]
Generated Node #0,1: 95:[90, 89, 95] Operation: 88+7=95
Exploring Operation: 90-88=2, Resulting Numbers: [7, 89, 2]
Generated Node #0,2: 95:[7, 89, 2] Operation: 90-88=2
Moving to Node #0,0
Current State: 95:[90, 7, 1], Operations: ['89-88=1']
Exploring Operation: 90+1=91, Resulting Numbers: [7, 91]
Generated Node #0,0,0: 95:[7, 91] Operation: 90+1=91
Exploring Operation: 7-1=6, Resulting Numbers: [90, 6]
Generated Node #0,0,1: 95:[90, 6] Operation: 7-1=6
Exploring Operation: 90+7=97, Resulting Numbers: [1, 97]
Generated Node #0,0,2: 95:[1, 97] Operation: 90+7=97
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[7, 91], Operations: ['89-88=1', '90+1=91']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,95 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[90, 6], Operations: ['89-88=1', '7-1=6']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[1, 97], Operations: ['89-88=1', '90+7=97']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 1*97=97, Resulting Numbers: [97]
97,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 95:[90, 89, 95], Operations: ['88+7=95']
Exploring Operation: 95-89=6, Resulting Numbers: [90, 6]
Generated Node #0,1,0: 95:[90, 6] Operation: 95-89=6
Exploring Operation: 95-90=5, Resulting Numbers: [89, 5]
Generated Node #0,1,1: 95:[89, 5] Operation: 95-90=5
Exploring Operation: 90-89=1, Resulting Numbers: [95, 1]
Generated Node #0,1,2: 95:[95, 1] Operation: 90-89=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[95, 1], Operations: ['88+7=95', '90-89=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[88, 90, 7, 89], Operations: []
Exploring Operation: 88+7=95, Resulting Numbers: [90, 89, 95]
Generated Node #0,1: 95:[90, 89, 95] Operation: 88+7=95
Moving to Node #0,1
Current State: 95:[90, 89, 95], Operations: ['88+7=95']
Exploring Operation: 90-89=1, Resulting Numbers: [95, 1]
Generated Node #0,1,2: 95:[95, 1] Operation: 90-89=1
Moving to Node #0,1,2
Current State: 95:[95, 1], Operations: ['88+7=95', '90-89=1']
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
6,
1,
43,
29
] | 67 | [
"6-1=5",
"43+29=72",
"72-5=67"
] | Current State: 67:[6, 1, 43, 29], Operations: []
Exploring Operation: 6-1=5, Resulting Numbers: [43, 29, 5]
Generated Node #2: [43, 29, 5] from Operation: 6-1=5
Current State: 67:[43, 29, 5], Operations: ['6-1=5']
Exploring Operation: 43+29=72, Resulting Numbers: [5, 72]
Generated Node #3: [5, 72] from Operation: 43+29=72
Current State: 67:[5, 72], Operations: ['6-1=5', '43+29=72']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[6, 1, 43, 29], Operations: []
Exploring Operation: 6+29=35, Resulting Numbers: [1, 43, 35]
Generated Node #0,0: 67:[1, 43, 35] Operation: 6+29=35
Exploring Operation: 1+43=44, Resulting Numbers: [6, 29, 44]
Generated Node #0,1: 67:[6, 29, 44] Operation: 1+43=44
Exploring Operation: 6+1=7, Resulting Numbers: [43, 29, 7]
Generated Node #0,2: 67:[43, 29, 7] Operation: 6+1=7
Exploring Operation: 6+43=49, Resulting Numbers: [1, 29, 49]
Generated Node #0,3: 67:[1, 29, 49] Operation: 6+43=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[1, 43, 35], Operations: ['6+29=35']
Exploring Operation: 1+43=44, Resulting Numbers: [35, 44]
Generated Node #0,0,0: 67:[35, 44] Operation: 1+43=44
Exploring Operation: 1+35=36, Resulting Numbers: [43, 36]
Generated Node #0,0,1: 67:[43, 36] Operation: 1+35=36
Exploring Operation: 43/1=43, Resulting Numbers: [35, 43]
Generated Node #0,0,2: 67:[35, 43] Operation: 43/1=43
Exploring Operation: 1*43=43, Resulting Numbers: [35, 43]
Generated Node #0,0,3: 67:[35, 43] Operation: 1*43=43
Moving to Node #0,0,0
Current State: 67:[35, 44], Operations: ['6+29=35', '1+43=44']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,67 unequal: No Solution
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[43, 36], Operations: ['6+29=35', '1+35=36']
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,67 unequal: No Solution
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[35, 43], Operations: ['6+29=35', '1*43=43']
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,67 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[35, 43], Operations: ['6+29=35', '43/1=43']
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,67 unequal: No Solution
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[6, 29, 44], Operations: ['1+43=44']
Exploring Operation: 29-6=23, Resulting Numbers: [44, 23]
Generated Node #0,1,0: 67:[44, 23] Operation: 29-6=23
Exploring Operation: 44-6=38, Resulting Numbers: [29, 38]
Generated Node #0,1,1: 67:[29, 38] Operation: 44-6=38
Exploring Operation: 6+29=35, Resulting Numbers: [44, 35]
Generated Node #0,1,2: 67:[44, 35] Operation: 6+29=35
Exploring Operation: 6+44=50, Resulting Numbers: [29, 50]
Generated Node #0,1,3: 67:[29, 50] Operation: 6+44=50
Moving to Node #0,1,2
Current State: 67:[44, 35], Operations: ['1+43=44', '6+29=35']
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,67 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,67 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[29, 50], Operations: ['1+43=44', '6+44=50']
Exploring Operation: 29*50=1450, Resulting Numbers: [1450]
1450,67 unequal: No Solution
Exploring Operation: 29+50=79, Resulting Numbers: [79]
79,67 unequal: No Solution
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[29, 38], Operations: ['1+43=44', '44-6=38']
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[6, 1, 43, 29], Operations: []
Exploring Operation: 1+43=44, Resulting Numbers: [6, 29, 44]
Generated Node #0,1: 67:[6, 29, 44] Operation: 1+43=44
Moving to Node #0,1
Current State: 67:[6, 29, 44], Operations: ['1+43=44']
Exploring Operation: 44-6=38, Resulting Numbers: [29, 38]
Generated Node #0,1,1: 67:[29, 38] Operation: 44-6=38
Moving to Node #0,1,1
Current State: 67:[29, 38], Operations: ['1+43=44', '44-6=38']
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
23,
57,
11,
10
] | 60 | [
"23+10=33",
"33/11=3",
"57+3=60"
] | Current State: 60:[23, 57, 11, 10], Operations: []
Exploring Operation: 23+10=33, Resulting Numbers: [57, 11, 33]
Generated Node #2: [57, 11, 33] from Operation: 23+10=33
Current State: 60:[57, 11, 33], Operations: ['23+10=33']
Exploring Operation: 33/11=3, Resulting Numbers: [57, 3]
Generated Node #3: [57, 3] from Operation: 33/11=3
Current State: 60:[57, 3], Operations: ['23+10=33', '33/11=3']
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[23, 57, 11, 10], Operations: []
Exploring Operation: 23-11=12, Resulting Numbers: [57, 10, 12]
Generated Node #0,0: 60:[57, 10, 12] Operation: 23-11=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[57, 10, 12], Operations: ['23-11=12']
Exploring Operation: 12-10=2, Resulting Numbers: [57, 2]
Generated Node #0,0,0: 60:[57, 2] Operation: 12-10=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[57, 2], Operations: ['23-11=12', '12-10=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,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 | sum_heuristic |
[
12,
89,
60,
57
] | 27 | [
"60/12=5",
"89-57=32",
"32-5=27"
] | Current State: 27:[12, 89, 60, 57], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [89, 57, 5]
Generated Node #2: [89, 57, 5] from Operation: 60/12=5
Current State: 27:[89, 57, 5], Operations: ['60/12=5']
Exploring Operation: 89-57=32, Resulting Numbers: [5, 32]
Generated Node #3: [5, 32] from Operation: 89-57=32
Current State: 27:[5, 32], Operations: ['60/12=5', '89-57=32']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[12, 89, 60, 57], Operations: []
Exploring Operation: 89-60=29, Resulting Numbers: [12, 57, 29]
Generated Node #0,0: 27:[12, 57, 29] Operation: 89-60=29
Exploring Operation: 89-57=32, Resulting Numbers: [12, 60, 32]
Generated Node #0,1: 27:[12, 60, 32] Operation: 89-57=32
Exploring Operation: 60-57=3, Resulting Numbers: [12, 89, 3]
Generated Node #0,2: 27:[12, 89, 3] Operation: 60-57=3
Exploring Operation: 89-12=77, Resulting Numbers: [60, 57, 77]
Generated Node #0,3: 27:[60, 57, 77] Operation: 89-12=77
Exploring Operation: 60/12=5, Resulting Numbers: [89, 57, 5]
Generated Node #0,4: 27:[89, 57, 5] Operation: 60/12=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[12, 57, 29], Operations: ['89-60=29']
Exploring Operation: 29-12=17, Resulting Numbers: [57, 17]
Generated Node #0,0,0: 27:[57, 17] Operation: 29-12=17
Exploring Operation: 57-29=28, Resulting Numbers: [12, 28]
Generated Node #0,0,1: 27:[12, 28] Operation: 57-29=28
Exploring Operation: 57-12=45, Resulting Numbers: [29, 45]
Generated Node #0,0,2: 27:[29, 45] Operation: 57-12=45
Exploring Operation: 12+57=69, Resulting Numbers: [29, 69]
Generated Node #0,0,3: 27:[29, 69] Operation: 12+57=69
Exploring Operation: 12+29=41, Resulting Numbers: [57, 41]
Generated Node #0,0,4: 27:[57, 41] Operation: 12+29=41
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[12, 28], Operations: ['89-60=29', '57-29=28']
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,27 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,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,2
Current State: 27:[29, 45], Operations: ['89-60=29', '57-12=45']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 29*45=1305, Resulting Numbers: [1305]
1305,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:[57, 17], Operations: ['89-60=29', '29-12=17']
Exploring Operation: 57*17=969, Resulting Numbers: [969]
969,27 unequal: No Solution
Exploring Operation: 57+17=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,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,3
Current State: 27:[29, 69], Operations: ['89-60=29', '12+57=69']
Exploring Operation: 29+69=98, Resulting Numbers: [98]
98,27 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 29*69=2001, Resulting Numbers: [2001]
2001,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,4
Current State: 27:[57, 41], Operations: ['89-60=29', '12+29=41']
Exploring Operation: 57+41=98, Resulting Numbers: [98]
98,27 unequal: No Solution
Exploring Operation: 57*41=2337, Resulting Numbers: [2337]
2337,27 unequal: No Solution
Exploring Operation: 57-41=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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[12, 60, 32], Operations: ['89-57=32']
Exploring Operation: 60-32=28, Resulting Numbers: [12, 28]
Generated Node #0,1,0: 27:[12, 28] Operation: 60-32=28
Exploring Operation: 12+60=72, Resulting Numbers: [32, 72]
Generated Node #0,1,1: 27:[32, 72] Operation: 12+60=72
Exploring Operation: 60-12=48, Resulting Numbers: [32, 48]
Generated Node #0,1,2: 27:[32, 48] Operation: 60-12=48
Exploring Operation: 60/12=5, Resulting Numbers: [32, 5]
Generated Node #0,1,3: 27:[32, 5] Operation: 60/12=5
Exploring Operation: 32-12=20, Resulting Numbers: [60, 20]
Generated Node #0,1,4: 27:[60, 20] Operation: 32-12=20
Moving to Node #0,1,0
Current State: 27:[12, 28], Operations: ['89-57=32', '60-32=28']
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,27 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[32, 5], Operations: ['89-57=32', '60/12=5']
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,27 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,27 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[12, 89, 60, 57], Operations: []
Exploring Operation: 89-57=32, Resulting Numbers: [12, 60, 32]
Generated Node #0,1: 27:[12, 60, 32] Operation: 89-57=32
Moving to Node #0,1
Current State: 27:[12, 60, 32], Operations: ['89-57=32']
Exploring Operation: 60/12=5, Resulting Numbers: [32, 5]
Generated Node #0,1,3: 27:[32, 5] Operation: 60/12=5
Moving to Node #0,1,3
Current State: 27:[32, 5], Operations: ['89-57=32', '60/12=5']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
10,
15,
83,
78
] | 65 | [
"83-78=5",
"10*5=50",
"15+50=65"
] | Current State: 65:[10, 15, 83, 78], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [10, 15, 5]
Generated Node #2: [10, 15, 5] from Operation: 83-78=5
Current State: 65:[10, 15, 5], Operations: ['83-78=5']
Exploring Operation: 10*5=50, Resulting Numbers: [15, 50]
Generated Node #3: [15, 50] from Operation: 10*5=50
Current State: 65:[15, 50], Operations: ['83-78=5', '10*5=50']
Exploring Operation: 15+50=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[10, 15, 83, 78], Operations: []
Exploring Operation: 83-10=73, Resulting Numbers: [15, 78, 73]
Generated Node #0,0: 65:[15, 78, 73] Operation: 83-10=73
Exploring Operation: 78-15=63, Resulting Numbers: [10, 83, 63]
Generated Node #0,1: 65:[10, 83, 63] Operation: 78-15=63
Exploring Operation: 78-10=68, Resulting Numbers: [15, 83, 68]
Generated Node #0,2: 65:[15, 83, 68] Operation: 78-10=68
Exploring Operation: 83-78=5, Resulting Numbers: [10, 15, 5]
Generated Node #0,3: 65:[10, 15, 5] Operation: 83-78=5
Exploring Operation: 83-15=68, Resulting Numbers: [10, 78, 68]
Generated Node #0,4: 65:[10, 78, 68] Operation: 83-15=68
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[10, 15, 5], Operations: ['83-78=5']
Exploring Operation: 15-10=5, Resulting Numbers: [5, 5]
Generated Node #0,3,0: 65:[5, 5] Operation: 15-10=5
Exploring Operation: 10-5=5, Resulting Numbers: [15, 5]
Generated Node #0,3,1: 65:[15, 5] Operation: 10-5=5
Exploring Operation: 10+5=15, Resulting Numbers: [15, 15]
Generated Node #0,3,2: 65:[15, 15] Operation: 10+5=15
Exploring Operation: 15/5=3, Resulting Numbers: [10, 3]
Generated Node #0,3,3: 65:[10, 3] Operation: 15/5=3
Exploring Operation: 10/5=2, Resulting Numbers: [15, 2]
Generated Node #0,3,4: 65:[15, 2] Operation: 10/5=2
Moving to Node #0,3,0
Current State: 65:[5, 5], Operations: ['83-78=5', '15-10=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[15, 5], Operations: ['83-78=5', '10-5=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[15, 15], Operations: ['83-78=5', '10+5=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[10, 3], Operations: ['83-78=5', '15/5=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Moving to Node #0,3,4
Current State: 65:[15, 2], Operations: ['83-78=5', '10/5=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[10, 78, 68], Operations: ['83-15=68']
Exploring Operation: 68-10=58, Resulting Numbers: [78, 58]
Generated Node #0,4,0: 65:[78, 58] Operation: 68-10=58
Exploring Operation: 78-68=10, Resulting Numbers: [10, 10]
Generated Node #0,4,1: 65:[10, 10] Operation: 78-68=10
Exploring Operation: 10+78=88, Resulting Numbers: [68, 88]
Generated Node #0,4,2: 65:[68, 88] Operation: 10+78=88
Exploring Operation: 10+68=78, Resulting Numbers: [78, 78]
Generated Node #0,4,3: 65:[78, 78] Operation: 10+68=78
Exploring Operation: 78-10=68, Resulting Numbers: [68, 68]
Generated Node #0,4,4: 65:[68, 68] Operation: 78-10=68
Moving to Node #0,4,1
Current State: 65:[10, 10], Operations: ['83-15=68', '78-68=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,65 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Moving to Node #0,4,4
Current State: 65:[68, 68], Operations: ['83-15=68', '78-10=68']
Exploring Operation: 68*68=4624, Resulting Numbers: [4624]
4624,65 unequal: No Solution
Exploring Operation: 68-68=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 68+68=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 68/68=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Moving to Node #0,4,0
Current State: 65:[78, 58], Operations: ['83-15=68', '68-10=58']
Exploring Operation: 78+58=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 78*58=4524, Resulting Numbers: [4524]
4524,65 unequal: No Solution
Moving to Node #0,4,2
Current State: 65:[68, 88], Operations: ['83-15=68', '10+78=88']
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 68+88=156, Resulting Numbers: [156]
156,65 unequal: No Solution
Exploring Operation: 68*88=5984, Resulting Numbers: [5984]
5984,65 unequal: No Solution
Moving to Node #0,4,3
Current State: 65:[78, 78], Operations: ['83-15=68', '10+68=78']
Exploring Operation: 78/78=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 78*78=6084, Resulting Numbers: [6084]
6084,65 unequal: No Solution
Exploring Operation: 78+78=156, Resulting Numbers: [156]
156,65 unequal: No Solution
Exploring Operation: 78-78=0, Resulting Numbers: [0]
0,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[15, 78, 73], Operations: ['83-10=73']
Exploring Operation: 78-15=63, Resulting Numbers: [73, 63]
Generated Node #0,0,0: 65:[73, 63] Operation: 78-15=63
Exploring Operation: 73-15=58, Resulting Numbers: [78, 58]
Generated Node #0,0,1: 65:[78, 58] Operation: 73-15=58
Exploring Operation: 15+78=93, Resulting Numbers: [73, 93]
Generated Node #0,0,2: 65:[73, 93] Operation: 15+78=93
Exploring Operation: 15+73=88, Resulting Numbers: [78, 88]
Generated Node #0,0,3: 65:[78, 88] Operation: 15+73=88
Exploring Operation: 78-73=5, Resulting Numbers: [15, 5]
Generated Node #0,0,4: 65:[15, 5] Operation: 78-73=5
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 65:[15, 5], Operations: ['83-10=73', '78-73=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[73, 63], Operations: ['83-10=73', '78-15=63']
Exploring Operation: 73*63=4599, Resulting Numbers: [4599]
4599,65 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 73+63=136, Resulting Numbers: [136]
136,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[78, 58], Operations: ['83-10=73', '73-15=58']
Exploring Operation: 78*58=4524, Resulting Numbers: [4524]
4524,65 unequal: No Solution
Exploring Operation: 78+58=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[73, 93], Operations: ['83-10=73', '15+78=93']
Exploring Operation: 93-73=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 73*93=6789, Resulting Numbers: [6789]
6789,65 unequal: No Solution
Exploring Operation: 73+93=166, Resulting Numbers: [166]
166,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 65:[78, 88], Operations: ['83-10=73', '15+73=88']
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 78*88=6864, Resulting Numbers: [6864]
6864,65 unequal: No Solution
Exploring Operation: 78+88=166, Resulting Numbers: [166]
166,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[10, 83, 63], Operations: ['78-15=63']
Exploring Operation: 10+83=93, Resulting Numbers: [63, 93]
Generated Node #0,1,0: 65:[63, 93] Operation: 10+83=93
Exploring Operation: 83-63=20, Resulting Numbers: [10, 20]
Generated Node #0,1,1: 65:[10, 20] Operation: 83-63=20
Exploring Operation: 63-10=53, Resulting Numbers: [83, 53]
Generated Node #0,1,2: 65:[83, 53] Operation: 63-10=53
Exploring Operation: 10+63=73, Resulting Numbers: [83, 73]
Generated Node #0,1,3: 65:[83, 73] Operation: 10+63=73
Exploring Operation: 83-10=73, Resulting Numbers: [63, 73]
Generated Node #0,1,4: 65:[63, 73] Operation: 83-10=73
Moving to Node #0,1,1
Current State: 65:[10, 20], Operations: ['78-15=63', '83-63=20']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,65 unequal: No Solution
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Moving to Node #0,1,4
Current State: 65:[63, 73], Operations: ['78-15=63', '83-10=73']
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 63+73=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 63*73=4599, Resulting Numbers: [4599]
4599,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[83, 73], Operations: ['78-15=63', '10+63=73']
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 83*73=6059, Resulting Numbers: [6059]
6059,65 unequal: No Solution
Exploring Operation: 83+73=156, Resulting Numbers: [156]
156,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[63, 93], Operations: ['78-15=63', '10+83=93']
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 63*93=5859, Resulting Numbers: [5859]
5859,65 unequal: No Solution
Exploring Operation: 63+93=156, Resulting Numbers: [156]
156,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[83, 53], Operations: ['78-15=63', '63-10=53']
Exploring Operation: 83+53=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 83*53=4399, Resulting Numbers: [4399]
4399,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[15, 83, 68], Operations: ['78-10=68']
Exploring Operation: 83-68=15, Resulting Numbers: [15, 15]
Generated Node #0,2,0: 65:[15, 15] Operation: 83-68=15
Exploring Operation: 15+68=83, Resulting Numbers: [83, 83]
Generated Node #0,2,1: 65:[83, 83] Operation: 15+68=83
Exploring Operation: 83-15=68, Resulting Numbers: [68, 68]
Generated Node #0,2,2: 65:[68, 68] Operation: 83-15=68
Exploring Operation: 68-15=53, Resulting Numbers: [83, 53]
Generated Node #0,2,3: 65:[83, 53] Operation: 68-15=53
Exploring Operation: 15+83=98, Resulting Numbers: [68, 98]
Generated Node #0,2,4: 65:[68, 98] Operation: 15+83=98
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[15, 15], Operations: ['78-10=68', '83-68=15']
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[68, 68], Operations: ['78-10=68', '83-15=68']
Exploring Operation: 68+68=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 68/68=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 68*68=4624, Resulting Numbers: [4624]
4624,65 unequal: No Solution
Exploring Operation: 68-68=0, Resulting Numbers: [0]
0,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 65:[83, 53], Operations: ['78-10=68', '68-15=53']
Exploring Operation: 83+53=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 83*53=4399, Resulting Numbers: [4399]
4399,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[83, 83], Operations: ['78-10=68', '15+68=83']
Exploring Operation: 83-83=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 83/83=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 83*83=6889, Resulting Numbers: [6889]
6889,65 unequal: No Solution
Exploring Operation: 83+83=166, Resulting Numbers: [166]
166,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 65:[68, 98], Operations: ['78-10=68', '15+83=98']
Exploring Operation: 68*98=6664, Resulting Numbers: [6664]
6664,65 unequal: No Solution
Exploring Operation: 68+98=166, Resulting Numbers: [166]
166,65 unequal: No Solution
Exploring Operation: 98-68=30, Resulting Numbers: [30]
30,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
44,
25,
58,
49
] | 28 | [
"44-25=19",
"58-49=9",
"19+9=28"
] | Current State: 28:[44, 25, 58, 49], Operations: []
Exploring Operation: 44-25=19, Resulting Numbers: [58, 49, 19]
Generated Node #2: [58, 49, 19] from Operation: 44-25=19
Current State: 28:[58, 49, 19], Operations: ['44-25=19']
Exploring Operation: 58-49=9, Resulting Numbers: [19, 9]
Generated Node #3: [19, 9] from Operation: 58-49=9
Current State: 28:[19, 9], Operations: ['44-25=19', '58-49=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[44, 25, 58, 49], Operations: []
Exploring Operation: 58-49=9, Resulting Numbers: [44, 25, 9]
Generated Node #0,0: 28:[44, 25, 9] Operation: 58-49=9
Moving to Node #0,0
Current State: 28:[44, 25, 9], Operations: ['58-49=9']
Exploring Operation: 44-25=19, Resulting Numbers: [9, 19]
Generated Node #0,0,0: 28:[9, 19] Operation: 44-25=19
Moving to Node #0,0,0
Current State: 28:[9, 19], Operations: ['58-49=9', '44-25=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[44, 25, 58, 49], Operations: []
Exploring Operation: 58-49=9, Resulting Numbers: [44, 25, 9]
Generated Node #0,0: 28:[44, 25, 9] Operation: 58-49=9
Moving to Node #0,0
Current State: 28:[44, 25, 9], Operations: ['58-49=9']
Exploring Operation: 44-25=19, Resulting Numbers: [9, 19]
Generated Node #0,0,0: 28:[9, 19] Operation: 44-25=19
Moving to Node #0,0,0
Current State: 28:[9, 19], Operations: ['58-49=9', '44-25=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
71,
85,
71,
3
] | 89 | [
"71/71=1",
"85+3=88",
"1+88=89"
] | Current State: 89:[71, 85, 71, 3], Operations: []
Exploring Operation: 71/71=1, Resulting Numbers: [85, 3, 1]
Generated Node #2: [85, 3, 1] from Operation: 71/71=1
Current State: 89:[85, 3, 1], Operations: ['71/71=1']
Exploring Operation: 85+3=88, Resulting Numbers: [1, 88]
Generated Node #3: [1, 88] from Operation: 85+3=88
Current State: 89:[1, 88], Operations: ['71/71=1', '85+3=88']
Exploring Operation: 1+88=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[71, 85, 71, 3], Operations: []
Exploring Operation: 71-3=68, Resulting Numbers: [85, 71, 68]
Generated Node #0,0: 89:[85, 71, 68] Operation: 71-3=68
Exploring Operation: 71+3=74, Resulting Numbers: [85, 71, 74]
Generated Node #0,1: 89:[85, 71, 74] Operation: 71+3=74
Exploring Operation: 71+3=74, Resulting Numbers: [71, 85, 74]
Generated Node #0,2: 89:[71, 85, 74] Operation: 71+3=74
Exploring Operation: 85+3=88, Resulting Numbers: [71, 71, 88]
Generated Node #0,3: 89:[71, 71, 88] Operation: 85+3=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[85, 71, 74], Operations: ['71+3=74']
Exploring Operation: 85-71=14, Resulting Numbers: [74, 14]
Generated Node #0,1,0: 89:[74, 14] Operation: 85-71=14
Exploring Operation: 71+74=145, Resulting Numbers: [85, 145]
Generated Node #0,1,1: 89:[85, 145] Operation: 71+74=145
Exploring Operation: 85+74=159, Resulting Numbers: [71, 159]
Generated Node #0,1,2: 89:[71, 159] Operation: 85+74=159
Exploring Operation: 85+71=156, Resulting Numbers: [74, 156]
Generated Node #0,1,3: 89:[74, 156] Operation: 85+71=156
Moving to Node #0,1,1
Current State: 89:[85, 145], Operations: ['71+3=74', '71+74=145']
Exploring Operation: 85+145=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Exploring Operation: 85*145=12325, Resulting Numbers: [12325]
12325,89 unequal: No Solution
Exploring Operation: 145-85=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[74, 156], Operations: ['71+3=74', '85+71=156']
Exploring Operation: 74+156=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Exploring Operation: 74*156=11544, Resulting Numbers: [11544]
11544,89 unequal: No Solution
Exploring Operation: 156-74=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[71, 159], Operations: ['71+3=74', '85+74=159']
Exploring Operation: 71*159=11289, Resulting Numbers: [11289]
11289,89 unequal: No Solution
Exploring Operation: 159-71=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 71+159=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[74, 14], Operations: ['71+3=74', '85-71=14']
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,89 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[71, 85, 74], Operations: ['71+3=74']
Exploring Operation: 85+74=159, Resulting Numbers: [71, 159]
Generated Node #0,2,0: 89:[71, 159] Operation: 85+74=159
Exploring Operation: 71+74=145, Resulting Numbers: [85, 145]
Generated Node #0,2,1: 89:[85, 145] Operation: 71+74=145
Exploring Operation: 71+85=156, Resulting Numbers: [74, 156]
Generated Node #0,2,2: 89:[74, 156] Operation: 71+85=156
Exploring Operation: 85-71=14, Resulting Numbers: [74, 14]
Generated Node #0,2,3: 89:[74, 14] Operation: 85-71=14
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[85, 145], Operations: ['71+3=74', '71+74=145']
Exploring Operation: 85+145=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Exploring Operation: 145-85=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Exploring Operation: 85*145=12325, Resulting Numbers: [12325]
12325,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[74, 156], Operations: ['71+3=74', '71+85=156']
Exploring Operation: 74*156=11544, Resulting Numbers: [11544]
11544,89 unequal: No Solution
Exploring Operation: 74+156=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Exploring Operation: 156-74=82, Resulting Numbers: [82]
82,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[71, 159], Operations: ['71+3=74', '85+74=159']
Exploring Operation: 71*159=11289, Resulting Numbers: [11289]
11289,89 unequal: No Solution
Exploring Operation: 159-71=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 71+159=230, Resulting Numbers: [230]
230,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 89:[74, 14], Operations: ['71+3=74', '85-71=14']
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,89 unequal: No Solution
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,89 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: 89:[71, 71, 88], Operations: ['85+3=88']
Exploring Operation: 71+88=159, Resulting Numbers: [71, 159]
Generated Node #0,3,0: 89:[71, 159] Operation: 71+88=159
Exploring Operation: 71+71=142, Resulting Numbers: [88, 142]
Generated Node #0,3,1: 89:[88, 142] Operation: 71+71=142
Exploring Operation: 71/71=1, Resulting Numbers: [88, 1]
Generated Node #0,3,2: 89:[88, 1] Operation: 71/71=1
Exploring Operation: 71+88=159, Resulting Numbers: [71, 159]
Generated Node #0,3,3: 89:[71, 159] Operation: 71+88=159
Moving to Node #0,3,1
Current State: 89:[88, 142], Operations: ['85+3=88', '71+71=142']
Exploring Operation: 88*142=12496, Resulting Numbers: [12496]
12496,89 unequal: No Solution
Exploring Operation: 88+142=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Exploring Operation: 142-88=54, Resulting Numbers: [54]
54,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[71, 159], Operations: ['85+3=88', '71+88=159']
Exploring Operation: 71+159=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Exploring Operation: 71*159=11289, Resulting Numbers: [11289]
11289,89 unequal: No Solution
Exploring Operation: 159-71=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[71, 159], Operations: ['85+3=88', '71+88=159']
Exploring Operation: 71+159=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Exploring Operation: 159-71=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 71*159=11289, Resulting Numbers: [11289]
11289,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[88, 1], Operations: ['85+3=88', '71/71=1']
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[71, 85, 71, 3], Operations: []
Exploring Operation: 85+3=88, Resulting Numbers: [71, 71, 88]
Generated Node #0,3: 89:[71, 71, 88] Operation: 85+3=88
Moving to Node #0,3
Current State: 89:[71, 71, 88], Operations: ['85+3=88']
Exploring Operation: 71/71=1, Resulting Numbers: [88, 1]
Generated Node #0,3,2: 89:[88, 1] Operation: 71/71=1
Moving to Node #0,3,2
Current State: 89:[88, 1], Operations: ['85+3=88', '71/71=1']
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_4 | mult_heuristic |
[
40,
82,
6,
85
] | 58 | [
"85-82=3",
"6*3=18",
"40+18=58"
] | Current State: 58:[40, 82, 6, 85], Operations: []
Exploring Operation: 85-82=3, Resulting Numbers: [40, 6, 3]
Generated Node #2: [40, 6, 3] from Operation: 85-82=3
Current State: 58:[40, 6, 3], Operations: ['85-82=3']
Exploring Operation: 6*3=18, Resulting Numbers: [40, 18]
Generated Node #3: [40, 18] from Operation: 6*3=18
Current State: 58:[40, 18], Operations: ['85-82=3', '6*3=18']
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[40, 82, 6, 85], Operations: []
Exploring Operation: 85-82=3, Resulting Numbers: [40, 6, 3]
Generated Node #0,0: 58:[40, 6, 3] Operation: 85-82=3
Exploring Operation: 85-40=45, Resulting Numbers: [82, 6, 45]
Generated Node #0,1: 58:[82, 6, 45] Operation: 85-40=45
Moving to Node #0,0
Current State: 58:[40, 6, 3], Operations: ['85-82=3']
Exploring Operation: 40-6=34, Resulting Numbers: [3, 34]
Generated Node #0,0,0: 58:[3, 34] Operation: 40-6=34
Exploring Operation: 6/3=2, Resulting Numbers: [40, 2]
Generated Node #0,0,1: 58:[40, 2] Operation: 6/3=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[3, 34], Operations: ['85-82=3', '40-6=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[40, 2], Operations: ['85-82=3', '6/3=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,58 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: 58:[82, 6, 45], Operations: ['85-40=45']
Exploring Operation: 82-45=37, Resulting Numbers: [6, 37]
Generated Node #0,1,0: 58:[6, 37] Operation: 82-45=37
Exploring Operation: 82-6=76, Resulting Numbers: [45, 76]
Generated Node #0,1,1: 58:[45, 76] Operation: 82-6=76
Moving to Node #0,1,0
Current State: 58:[6, 37], Operations: ['85-40=45', '82-45=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[45, 76], Operations: ['85-40=45', '82-6=76']
Exploring Operation: 45+76=121, Resulting Numbers: [121]
121,58 unequal: No Solution
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,58 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
24,
63,
42,
65
] | 64 | [
"24+63=87",
"65-42=23",
"87-23=64"
] | Current State: 64:[24, 63, 42, 65], Operations: []
Exploring Operation: 24+63=87, Resulting Numbers: [42, 65, 87]
Generated Node #2: [42, 65, 87] from Operation: 24+63=87
Current State: 64:[42, 65, 87], Operations: ['24+63=87']
Exploring Operation: 65-42=23, Resulting Numbers: [87, 23]
Generated Node #3: [87, 23] from Operation: 65-42=23
Current State: 64:[87, 23], Operations: ['24+63=87', '65-42=23']
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[24, 63, 42, 65], Operations: []
Exploring Operation: 24+42=66, Resulting Numbers: [63, 65, 66]
Generated Node #0,0: 64:[63, 65, 66] Operation: 24+42=66
Moving to Node #0,0
Current State: 64:[63, 65, 66], Operations: ['24+42=66']
Exploring Operation: 65-63=2, Resulting Numbers: [66, 2]
Generated Node #0,0,0: 64:[66, 2] Operation: 65-63=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[66, 2], Operations: ['24+42=66', '65-63=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[24, 63, 42, 65], Operations: []
Exploring Operation: 24+42=66, Resulting Numbers: [63, 65, 66]
Generated Node #0,0: 64:[63, 65, 66] Operation: 24+42=66
Moving to Node #0,0
Current State: 64:[63, 65, 66], Operations: ['24+42=66']
Exploring Operation: 65-63=2, Resulting Numbers: [66, 2]
Generated Node #0,0,0: 64:[66, 2] Operation: 65-63=2
Moving to Node #0,0,0
Current State: 64:[66, 2], Operations: ['24+42=66', '65-63=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
3,
76,
73,
17
] | 60 | [
"3+17=20",
"76-73=3",
"20*3=60"
] | Current State: 60:[3, 76, 73, 17], Operations: []
Exploring Operation: 3+17=20, Resulting Numbers: [76, 73, 20]
Generated Node #2: [76, 73, 20] from Operation: 3+17=20
Current State: 60:[76, 73, 20], Operations: ['3+17=20']
Exploring Operation: 76-73=3, Resulting Numbers: [20, 3]
Generated Node #3: [20, 3] from Operation: 76-73=3
Current State: 60:[20, 3], Operations: ['3+17=20', '76-73=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[3, 76, 73, 17], Operations: []
Exploring Operation: 73-17=56, Resulting Numbers: [3, 76, 56]
Generated Node #0,0: 60:[3, 76, 56] Operation: 73-17=56
Exploring Operation: 76-73=3, Resulting Numbers: [3, 17, 3]
Generated Node #0,1: 60:[3, 17, 3] Operation: 76-73=3
Exploring Operation: 76-17=59, Resulting Numbers: [3, 73, 59]
Generated Node #0,2: 60:[3, 73, 59] Operation: 76-17=59
Moving to Node #0,1
Current State: 60:[3, 17, 3], Operations: ['76-73=3']
Exploring Operation: 17+3=20, Resulting Numbers: [3, 20]
Generated Node #0,1,0: 60:[3, 20] Operation: 17+3=20
Exploring Operation: 17-3=14, Resulting Numbers: [3, 14]
Generated Node #0,1,1: 60:[3, 14] Operation: 17-3=14
Exploring Operation: 3+17=20, Resulting Numbers: [3, 20]
Generated Node #0,1,2: 60:[3, 20] Operation: 3+17=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[3, 20], Operations: ['76-73=3', '17+3=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[3, 76, 73, 17], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [3, 17, 3]
Generated Node #0,1: 60:[3, 17, 3] Operation: 76-73=3
Moving to Node #0,1
Current State: 60:[3, 17, 3], Operations: ['76-73=3']
Exploring Operation: 17+3=20, Resulting Numbers: [3, 20]
Generated Node #0,1,0: 60:[3, 20] Operation: 17+3=20
Moving to Node #0,1,0
Current State: 60:[3, 20], Operations: ['76-73=3', '17+3=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
40,
94,
2,
23
] | 32 | [
"40+23=63",
"2*63=126",
"126-94=32"
] | Current State: 32:[40, 94, 2, 23], Operations: []
Exploring Operation: 40+23=63, Resulting Numbers: [94, 2, 63]
Generated Node #2: [94, 2, 63] from Operation: 40+23=63
Current State: 32:[94, 2, 63], Operations: ['40+23=63']
Exploring Operation: 2*63=126, Resulting Numbers: [94, 126]
Generated Node #3: [94, 126] from Operation: 2*63=126
Current State: 32:[94, 126], Operations: ['40+23=63', '2*63=126']
Exploring Operation: 126-94=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[40, 94, 2, 23], Operations: []
Exploring Operation: 94-40=54, Resulting Numbers: [2, 23, 54]
Generated Node #0,0: 32:[2, 23, 54] Operation: 94-40=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[2, 23, 54], Operations: ['94-40=54']
Exploring Operation: 54-23=31, Resulting Numbers: [2, 31]
Generated Node #0,0,0: 32:[2, 31] Operation: 54-23=31
Moving to Node #0,0,0
Current State: 32:[2, 31], Operations: ['94-40=54', '54-23=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
10,
11,
54,
3
] | 11 | [
"10+11=21",
"54-21=33",
"33/3=11"
] | Current State: 11:[10, 11, 54, 3], Operations: []
Exploring Operation: 10+11=21, Resulting Numbers: [54, 3, 21]
Generated Node #2: [54, 3, 21] from Operation: 10+11=21
Current State: 11:[54, 3, 21], Operations: ['10+11=21']
Exploring Operation: 54-21=33, Resulting Numbers: [3, 33]
Generated Node #3: [3, 33] from Operation: 54-21=33
Current State: 11:[3, 33], Operations: ['10+11=21', '54-21=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[10, 11, 54, 3], Operations: []
Exploring Operation: 54-10=44, Resulting Numbers: [11, 3, 44]
Generated Node #0,0: 11:[11, 3, 44] Operation: 54-10=44
Exploring Operation: 54/3=18, Resulting Numbers: [10, 11, 18]
Generated Node #0,1: 11:[10, 11, 18] Operation: 54/3=18
Exploring Operation: 54-11=43, Resulting Numbers: [10, 3, 43]
Generated Node #0,2: 11:[10, 3, 43] Operation: 54-11=43
Exploring Operation: 54-3=51, Resulting Numbers: [10, 11, 51]
Generated Node #0,3: 11:[10, 11, 51] Operation: 54-3=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[10, 11, 18], Operations: ['54/3=18']
Exploring Operation: 18-10=8, Resulting Numbers: [11, 8]
Generated Node #0,1,0: 11:[11, 8] Operation: 18-10=8
Exploring Operation: 11-10=1, Resulting Numbers: [18, 1]
Generated Node #0,1,1: 11:[18, 1] Operation: 11-10=1
Exploring Operation: 10+11=21, Resulting Numbers: [18, 21]
Generated Node #0,1,2: 11:[18, 21] Operation: 10+11=21
Exploring Operation: 18-11=7, Resulting Numbers: [10, 7]
Generated Node #0,1,3: 11:[10, 7] Operation: 18-11=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[11, 8], Operations: ['54/3=18', '18-10=8']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,11 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,11 unequal: No Solution
No 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: 11:[10, 7], Operations: ['54/3=18', '18-11=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,11 unequal: No Solution
No 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: 11:[18, 1], Operations: ['54/3=18', '11-10=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,11 unequal: No Solution
No 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: 11:[18, 21], Operations: ['54/3=18', '10+11=21']
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,11 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,11 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: 11:[11, 3, 44], Operations: ['54-10=44']
Exploring Operation: 44-3=41, Resulting Numbers: [11, 41]
Generated Node #0,0,0: 11:[11, 41] Operation: 44-3=41
Exploring Operation: 44-11=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 11:[3, 33] Operation: 44-11=33
Exploring Operation: 44/11=4, Resulting Numbers: [3, 4]
Generated Node #0,0,2: 11:[3, 4] Operation: 44/11=4
Exploring Operation: 11+3=14, Resulting Numbers: [44, 14]
Generated Node #0,0,3: 11:[44, 14] Operation: 11+3=14
Moving to Node #0,0,2
Current State: 11:[3, 4], Operations: ['54-10=44', '44/11=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[3, 33], Operations: ['54-10=44', '44-11=33']
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[10, 11, 54, 3], Operations: []
Exploring Operation: 54-10=44, Resulting Numbers: [11, 3, 44]
Generated Node #0,0: 11:[11, 3, 44] Operation: 54-10=44
Moving to Node #0,0
Current State: 11:[11, 3, 44], Operations: ['54-10=44']
Exploring Operation: 44-11=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 11:[3, 33] Operation: 44-11=33
Moving to Node #0,0,1
Current State: 11:[3, 33], Operations: ['54-10=44', '44-11=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
11,
62,
77,
6
] | 32 | [
"62-11=51",
"77+6=83",
"83-51=32"
] | Current State: 32:[11, 62, 77, 6], Operations: []
Exploring Operation: 62-11=51, Resulting Numbers: [77, 6, 51]
Generated Node #2: [77, 6, 51] from Operation: 62-11=51
Current State: 32:[77, 6, 51], Operations: ['62-11=51']
Exploring Operation: 77+6=83, Resulting Numbers: [51, 83]
Generated Node #3: [51, 83] from Operation: 77+6=83
Current State: 32:[51, 83], Operations: ['62-11=51', '77+6=83']
Exploring Operation: 83-51=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[11, 62, 77, 6], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [11, 6, 15]
Generated Node #0,0: 32:[11, 6, 15] Operation: 77-62=15
Exploring Operation: 77/11=7, Resulting Numbers: [62, 6, 7]
Generated Node #0,1: 32:[62, 6, 7] Operation: 77/11=7
Moving to Node #0,0
Current State: 32:[11, 6, 15], Operations: ['77-62=15']
Exploring Operation: 11+6=17, Resulting Numbers: [15, 17]
Generated Node #0,0,0: 32:[15, 17] Operation: 11+6=17
Exploring Operation: 11-6=5, Resulting Numbers: [15, 5]
Generated Node #0,0,1: 32:[15, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[15, 17], Operations: ['77-62=15', '11+6=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[11, 62, 77, 6], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [11, 6, 15]
Generated Node #0,0: 32:[11, 6, 15] Operation: 77-62=15
Moving to Node #0,0
Current State: 32:[11, 6, 15], Operations: ['77-62=15']
Exploring Operation: 11+6=17, Resulting Numbers: [15, 17]
Generated Node #0,0,0: 32:[15, 17] Operation: 11+6=17
Moving to Node #0,0,0
Current State: 32:[15, 17], Operations: ['77-62=15', '11+6=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
54,
12,
73,
92
] | 24 | [
"54+92=146",
"12*146=1752",
"1752/73=24"
] | Current State: 24:[54, 12, 73, 92], Operations: []
Exploring Operation: 54+92=146, Resulting Numbers: [12, 73, 146]
Generated Node #2: [12, 73, 146] from Operation: 54+92=146
Current State: 24:[12, 73, 146], Operations: ['54+92=146']
Exploring Operation: 12*146=1752, Resulting Numbers: [73, 1752]
Generated Node #3: [73, 1752] from Operation: 12*146=1752
Current State: 24:[73, 1752], Operations: ['54+92=146', '12*146=1752']
Exploring Operation: 1752/73=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[54, 12, 73, 92], Operations: []
Exploring Operation: 73-12=61, Resulting Numbers: [54, 92, 61]
Generated Node #0,0: 24:[54, 92, 61] Operation: 73-12=61
Exploring Operation: 73-54=19, Resulting Numbers: [12, 92, 19]
Generated Node #0,1: 24:[12, 92, 19] Operation: 73-54=19
Exploring Operation: 54-12=42, Resulting Numbers: [73, 92, 42]
Generated Node #0,2: 24:[73, 92, 42] Operation: 54-12=42
Exploring Operation: 92-54=38, Resulting Numbers: [12, 73, 38]
Generated Node #0,3: 24:[12, 73, 38] Operation: 92-54=38
Exploring Operation: 92-73=19, Resulting Numbers: [54, 12, 19]
Generated Node #0,4: 24:[54, 12, 19] Operation: 92-73=19
Start Sub Search at level 1: Moving to Node #0,4
Current State: 24:[54, 12, 19], Operations: ['92-73=19']
Exploring Operation: 54+12=66, Resulting Numbers: [19, 66]
Generated Node #0,4,0: 24:[19, 66] Operation: 54+12=66
Exploring Operation: 19-12=7, Resulting Numbers: [54, 7]
Generated Node #0,4,1: 24:[54, 7] Operation: 19-12=7
Exploring Operation: 54-12=42, Resulting Numbers: [19, 42]
Generated Node #0,4,2: 24:[19, 42] Operation: 54-12=42
Exploring Operation: 54-19=35, Resulting Numbers: [12, 35]
Generated Node #0,4,3: 24:[12, 35] Operation: 54-19=35
Exploring Operation: 12+19=31, Resulting Numbers: [54, 31]
Generated Node #0,4,4: 24:[54, 31] Operation: 12+19=31
Moving to Node #0,4,3
Current State: 24:[12, 35], Operations: ['92-73=19', '54-19=35']
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,24 unequal: No Solution
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Moving to Node #0,4,2
Current State: 24:[19, 42], Operations: ['92-73=19', '54-12=42']
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,24 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Moving to Node #0,4,1
Current State: 24:[54, 7], Operations: ['92-73=19', '19-12=7']
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,24 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Moving to Node #0,4,4
Current State: 24:[54, 31], Operations: ['92-73=19', '12+19=31']
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,24 unequal: No Solution
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 54*31=1674, Resulting Numbers: [1674]
1674,24 unequal: No Solution
Moving to Node #0,4,0
Current State: 24:[19, 66], Operations: ['92-73=19', '54+12=66']
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,24 unequal: No Solution
Exploring Operation: 19*66=1254, Resulting Numbers: [1254]
1254,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[12, 73, 38], Operations: ['92-54=38']
Exploring Operation: 12+38=50, Resulting Numbers: [73, 50]
Generated Node #0,3,0: 24:[73, 50] Operation: 12+38=50
Exploring Operation: 38-12=26, Resulting Numbers: [73, 26]
Generated Node #0,3,1: 24:[73, 26] Operation: 38-12=26
Exploring Operation: 73-12=61, Resulting Numbers: [38, 61]
Generated Node #0,3,2: 24:[38, 61] Operation: 73-12=61
Exploring Operation: 12+73=85, Resulting Numbers: [38, 85]
Generated Node #0,3,3: 24:[38, 85] Operation: 12+73=85
Exploring Operation: 73-38=35, Resulting Numbers: [12, 35]
Generated Node #0,3,4: 24:[12, 35] Operation: 73-38=35
Moving to Node #0,3,4
Current State: 24:[12, 35], Operations: ['92-54=38', '73-38=35']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[38, 61], Operations: ['92-54=38', '73-12=61']
Exploring Operation: 38*61=2318, Resulting Numbers: [2318]
2318,24 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 38+61=99, Resulting Numbers: [99]
99,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[73, 26], Operations: ['92-54=38', '38-12=26']
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,24 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[73, 50], Operations: ['92-54=38', '12+38=50']
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 73+50=123, Resulting Numbers: [123]
123,24 unequal: No Solution
Exploring Operation: 73*50=3650, Resulting Numbers: [3650]
3650,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[38, 85], Operations: ['92-54=38', '12+73=85']
Exploring Operation: 38*85=3230, Resulting Numbers: [3230]
3230,24 unequal: No Solution
Exploring Operation: 38+85=123, Resulting Numbers: [123]
123,24 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[12, 92, 19], Operations: ['73-54=19']
Exploring Operation: 12+92=104, Resulting Numbers: [19, 104]
Generated Node #0,1,0: 24:[19, 104] Operation: 12+92=104
Exploring Operation: 92-19=73, Resulting Numbers: [12, 73]
Generated Node #0,1,1: 24:[12, 73] Operation: 92-19=73
Exploring Operation: 19-12=7, Resulting Numbers: [92, 7]
Generated Node #0,1,2: 24:[92, 7] Operation: 19-12=7
Exploring Operation: 12+19=31, Resulting Numbers: [92, 31]
Generated Node #0,1,3: 24:[92, 31] Operation: 12+19=31
Exploring Operation: 92-12=80, Resulting Numbers: [19, 80]
Generated Node #0,1,4: 24:[19, 80] Operation: 92-12=80
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[12, 73], Operations: ['73-54=19', '92-19=73']
Exploring Operation: 12*73=876, Resulting Numbers: [876]
876,24 unequal: No Solution
Exploring Operation: 12+73=85, Resulting Numbers: [85]
85,24 unequal: No Solution
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,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,1,4
Current State: 24:[19, 80], Operations: ['73-54=19', '92-12=80']
Exploring Operation: 19*80=1520, Resulting Numbers: [1520]
1520,24 unequal: No Solution
Exploring Operation: 19+80=99, Resulting Numbers: [99]
99,24 unequal: No Solution
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,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,1,2
Current State: 24:[92, 7], Operations: ['73-54=19', '19-12=7']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,24 unequal: No Solution
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,24 unequal: No Solution
Exploring Operation: 92*7=644, Resulting Numbers: [644]
644,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,1,3
Current State: 24:[92, 31], Operations: ['73-54=19', '12+19=31']
Exploring Operation: 92*31=2852, Resulting Numbers: [2852]
2852,24 unequal: No Solution
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 92+31=123, Resulting Numbers: [123]
123,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,1,0
Current State: 24:[19, 104], Operations: ['73-54=19', '12+92=104']
Exploring Operation: 104-19=85, Resulting Numbers: [85]
85,24 unequal: No Solution
Exploring Operation: 19*104=1976, Resulting Numbers: [1976]
1976,24 unequal: No Solution
Exploring Operation: 19+104=123, Resulting Numbers: [123]
123,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:[54, 92, 61], Operations: ['73-12=61']
Exploring Operation: 61-54=7, Resulting Numbers: [92, 7]
Generated Node #0,0,0: 24:[92, 7] Operation: 61-54=7
Exploring Operation: 92-61=31, Resulting Numbers: [54, 31]
Generated Node #0,0,1: 24:[54, 31] Operation: 92-61=31
Exploring Operation: 92-54=38, Resulting Numbers: [61, 38]
Generated Node #0,0,2: 24:[61, 38] Operation: 92-54=38
Exploring Operation: 54+92=146, Resulting Numbers: [61, 146]
Generated Node #0,0,3: 24:[61, 146] Operation: 54+92=146
Exploring Operation: 54+61=115, Resulting Numbers: [92, 115]
Generated Node #0,0,4: 24:[92, 115] Operation: 54+61=115
Moving to Node #0,0,1
Current State: 24:[54, 31], Operations: ['73-12=61', '92-61=31']
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,24 unequal: No Solution
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 54*31=1674, Resulting Numbers: [1674]
1674,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[61, 38], Operations: ['73-12=61', '92-54=38']
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,24 unequal: No Solution
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,24 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[92, 7], Operations: ['73-12=61', '61-54=7']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,24 unequal: No Solution
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,24 unequal: No Solution
Exploring Operation: 92*7=644, Resulting Numbers: [644]
644,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[61, 146], Operations: ['73-12=61', '54+92=146']
Exploring Operation: 61+146=207, Resulting Numbers: [207]
207,24 unequal: No Solution
Exploring Operation: 146-61=85, Resulting Numbers: [85]
85,24 unequal: No Solution
Exploring Operation: 61*146=8906, Resulting Numbers: [8906]
8906,24 unequal: No Solution
Moving to Node #0,0,4
Current State: 24:[92, 115], Operations: ['73-12=61', '54+61=115']
Exploring Operation: 92+115=207, Resulting Numbers: [207]
207,24 unequal: No Solution
Exploring Operation: 115-92=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 92*115=10580, Resulting Numbers: [10580]
10580,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[73, 92, 42], Operations: ['54-12=42']
Exploring Operation: 73+42=115, Resulting Numbers: [92, 115]
Generated Node #0,2,0: 24:[92, 115] Operation: 73+42=115
Exploring Operation: 92-42=50, Resulting Numbers: [73, 50]
Generated Node #0,2,1: 24:[73, 50] Operation: 92-42=50
Exploring Operation: 73-42=31, Resulting Numbers: [92, 31]
Generated Node #0,2,2: 24:[92, 31] Operation: 73-42=31
Exploring Operation: 73+92=165, Resulting Numbers: [42, 165]
Generated Node #0,2,3: 24:[42, 165] Operation: 73+92=165
Exploring Operation: 92-73=19, Resulting Numbers: [42, 19]
Generated Node #0,2,4: 24:[42, 19] Operation: 92-73=19
Moving to Node #0,2,4
Current State: 24:[42, 19], Operations: ['54-12=42', '92-73=19']
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,24 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[92, 31], Operations: ['54-12=42', '73-42=31']
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 92*31=2852, Resulting Numbers: [2852]
2852,24 unequal: No Solution
Exploring Operation: 92+31=123, Resulting Numbers: [123]
123,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[73, 50], Operations: ['54-12=42', '92-42=50']
Exploring Operation: 73*50=3650, Resulting Numbers: [3650]
3650,24 unequal: No Solution
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 73+50=123, Resulting Numbers: [123]
123,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[92, 115], Operations: ['54-12=42', '73+42=115']
Exploring Operation: 92+115=207, Resulting Numbers: [207]
207,24 unequal: No Solution
Exploring Operation: 92*115=10580, Resulting Numbers: [10580]
10580,24 unequal: No Solution
Exploring Operation: 115-92=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[42, 165], Operations: ['54-12=42', '73+92=165']
Exploring Operation: 42+165=207, Resulting Numbers: [207]
207,24 unequal: No Solution
Exploring Operation: 42*165=6930, Resulting Numbers: [6930]
6930,24 unequal: No Solution
Exploring Operation: 165-42=123, Resulting Numbers: [123]
123,24 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 |
[
92,
38,
3,
37
] | 46 | [
"38-3=35",
"37-35=2",
"92/2=46"
] | Current State: 46:[92, 38, 3, 37], Operations: []
Exploring Operation: 38-3=35, Resulting Numbers: [92, 37, 35]
Generated Node #2: [92, 37, 35] from Operation: 38-3=35
Current State: 46:[92, 37, 35], Operations: ['38-3=35']
Exploring Operation: 37-35=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 37-35=2
Current State: 46:[92, 2], Operations: ['38-3=35', '37-35=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[92, 38, 3, 37], Operations: []
Exploring Operation: 92-38=54, Resulting Numbers: [3, 37, 54]
Generated Node #0,0: 46:[3, 37, 54] Operation: 92-38=54
Moving to Node #0,0
Current State: 46:[3, 37, 54], Operations: ['92-38=54']
Exploring Operation: 54-37=17, Resulting Numbers: [3, 17]
Generated Node #0,0,0: 46:[3, 17] Operation: 54-37=17
Moving to Node #0,0,0
Current State: 46:[3, 17], Operations: ['92-38=54', '54-37=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,46 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
88,
28,
93,
24
] | 71 | [
"28-24=4",
"88/4=22",
"93-22=71"
] | Current State: 71:[88, 28, 93, 24], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [88, 93, 4]
Generated Node #2: [88, 93, 4] from Operation: 28-24=4
Current State: 71:[88, 93, 4], Operations: ['28-24=4']
Exploring Operation: 88/4=22, Resulting Numbers: [93, 22]
Generated Node #3: [93, 22] from Operation: 88/4=22
Current State: 71:[93, 22], Operations: ['28-24=4', '88/4=22']
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[88, 28, 93, 24], Operations: []
Exploring Operation: 93-28=65, Resulting Numbers: [88, 24, 65]
Generated Node #0,0: 71:[88, 24, 65] Operation: 93-28=65
Exploring Operation: 88-24=64, Resulting Numbers: [28, 93, 64]
Generated Node #0,1: 71:[28, 93, 64] Operation: 88-24=64
Exploring Operation: 28+24=52, Resulting Numbers: [88, 93, 52]
Generated Node #0,2: 71:[88, 93, 52] Operation: 28+24=52
Exploring Operation: 93-24=69, Resulting Numbers: [88, 28, 69]
Generated Node #0,3: 71:[88, 28, 69] Operation: 93-24=69
Exploring Operation: 88-28=60, Resulting Numbers: [93, 24, 60]
Generated Node #0,4: 71:[93, 24, 60] Operation: 88-28=60
Moving to Node #0,2
Current State: 71:[88, 93, 52], Operations: ['28+24=52']
Exploring Operation: 88+52=140, Resulting Numbers: [93, 140]
Generated Node #0,2,0: 71:[93, 140] Operation: 88+52=140
Exploring Operation: 93+52=145, Resulting Numbers: [88, 145]
Generated Node #0,2,1: 71:[88, 145] Operation: 93+52=145
Exploring Operation: 93-52=41, Resulting Numbers: [88, 41]
Generated Node #0,2,2: 71:[88, 41] Operation: 93-52=41
Exploring Operation: 88-52=36, Resulting Numbers: [93, 36]
Generated Node #0,2,3: 71:[93, 36] Operation: 88-52=36
Exploring Operation: 93-88=5, Resulting Numbers: [52, 5]
Generated Node #0,2,4: 71:[52, 5] Operation: 93-88=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[88, 41], Operations: ['28+24=52', '93-52=41']
Exploring Operation: 88*41=3608, Resulting Numbers: [3608]
3608,71 unequal: No Solution
Exploring Operation: 88+41=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,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:[93, 36], Operations: ['28+24=52', '88-52=36']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,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:[52, 5], Operations: ['28+24=52', '93-88=5']
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,71 unequal: No Solution
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,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:[93, 140], Operations: ['28+24=52', '88+52=140']
Exploring Operation: 93+140=233, Resulting Numbers: [233]
233,71 unequal: No Solution
Exploring Operation: 93*140=13020, Resulting Numbers: [13020]
13020,71 unequal: No Solution
Exploring Operation: 140-93=47, Resulting Numbers: [47]
47,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:[88, 145], Operations: ['28+24=52', '93+52=145']
Exploring Operation: 88*145=12760, Resulting Numbers: [12760]
12760,71 unequal: No Solution
Exploring Operation: 88+145=233, Resulting Numbers: [233]
233,71 unequal: No Solution
Exploring Operation: 145-88=57, Resulting Numbers: [57]
57,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:[88, 28, 69], Operations: ['93-24=69']
Exploring Operation: 88-28=60, Resulting Numbers: [69, 60]
Generated Node #0,3,0: 71:[69, 60] Operation: 88-28=60
Exploring Operation: 69-28=41, Resulting Numbers: [88, 41]
Generated Node #0,3,1: 71:[88, 41] Operation: 69-28=41
Exploring Operation: 88+28=116, Resulting Numbers: [69, 116]
Generated Node #0,3,2: 71:[69, 116] Operation: 88+28=116
Exploring Operation: 88-69=19, Resulting Numbers: [28, 19]
Generated Node #0,3,3: 71:[28, 19] Operation: 88-69=19
Exploring Operation: 28+69=97, Resulting Numbers: [88, 97]
Generated Node #0,3,4: 71:[88, 97] Operation: 28+69=97
Moving to Node #0,0
Current State: 71:[88, 24, 65], Operations: ['93-28=65']
Exploring Operation: 88-65=23, Resulting Numbers: [24, 23]
Generated Node #0,0,0: 71:[24, 23] Operation: 88-65=23
Exploring Operation: 24+65=89, Resulting Numbers: [88, 89]
Generated Node #0,0,1: 71:[88, 89] Operation: 24+65=89
Exploring Operation: 88-24=64, Resulting Numbers: [65, 64]
Generated Node #0,0,2: 71:[65, 64] Operation: 88-24=64
Exploring Operation: 88+24=112, Resulting Numbers: [65, 112]
Generated Node #0,0,3: 71:[65, 112] Operation: 88+24=112
Exploring Operation: 65-24=41, Resulting Numbers: [88, 41]
Generated Node #0,0,4: 71:[88, 41] Operation: 65-24=41
Moving to Node #0,1
Current State: 71:[28, 93, 64], Operations: ['88-24=64']
Exploring Operation: 28+64=92, Resulting Numbers: [93, 92]
Generated Node #0,1,0: 71:[93, 92] Operation: 28+64=92
Exploring Operation: 93-64=29, Resulting Numbers: [28, 29]
Generated Node #0,1,1: 71:[28, 29] Operation: 93-64=29
Exploring Operation: 64-28=36, Resulting Numbers: [93, 36]
Generated Node #0,1,2: 71:[93, 36] Operation: 64-28=36
Exploring Operation: 28+93=121, Resulting Numbers: [64, 121]
Generated Node #0,1,3: 71:[64, 121] Operation: 28+93=121
Exploring Operation: 93-28=65, Resulting Numbers: [64, 65]
Generated Node #0,1,4: 71:[64, 65] Operation: 93-28=65
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 71:[64, 65], Operations: ['88-24=64', '93-28=65']
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,71 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,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:[93, 92], Operations: ['88-24=64', '28+64=92']
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 93+92=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Exploring Operation: 93*92=8556, Resulting Numbers: [8556]
8556,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[93, 36], Operations: ['88-24=64', '64-28=36']
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,71 unequal: No Solution
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,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:[64, 121], Operations: ['88-24=64', '28+93=121']
Exploring Operation: 64*121=7744, Resulting Numbers: [7744]
7744,71 unequal: No Solution
Exploring Operation: 64+121=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Exploring Operation: 121-64=57, Resulting Numbers: [57]
57,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:[28, 29], Operations: ['88-24=64', '93-64=29']
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,71 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,71 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: 71:[93, 24, 60], Operations: ['88-28=60']
Exploring Operation: 60-24=36, Resulting Numbers: [93, 36]
Generated Node #0,4,0: 71:[93, 36] Operation: 60-24=36
Exploring Operation: 93-24=69, Resulting Numbers: [60, 69]
Generated Node #0,4,1: 71:[60, 69] Operation: 93-24=69
Exploring Operation: 93-60=33, Resulting Numbers: [24, 33]
Generated Node #0,4,2: 71:[24, 33] Operation: 93-60=33
Exploring Operation: 93+24=117, Resulting Numbers: [60, 117]
Generated Node #0,4,3: 71:[60, 117] Operation: 93+24=117
Exploring Operation: 24+60=84, Resulting Numbers: [93, 84]
Generated Node #0,4,4: 71:[93, 84] Operation: 24+60=84
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 71:[60, 69], Operations: ['88-28=60', '93-24=69']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 60*69=4140, Resulting Numbers: [4140]
4140,71 unequal: No Solution
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,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,4
Current State: 71:[93, 84], Operations: ['88-28=60', '24+60=84']
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 93*84=7812, Resulting Numbers: [7812]
7812,71 unequal: No Solution
Exploring Operation: 93+84=177, Resulting Numbers: [177]
177,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:[93, 36], Operations: ['88-28=60', '60-24=36']
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,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:[60, 117], Operations: ['88-28=60', '93+24=117']
Exploring Operation: 117-60=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 60*117=7020, Resulting Numbers: [7020]
7020,71 unequal: No Solution
Exploring Operation: 60+117=177, Resulting Numbers: [177]
177,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:[24, 33], Operations: ['88-28=60', '93-60=33']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 24*33=792, Resulting Numbers: [792]
792,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 71:[69, 60], Operations: ['93-24=69', '88-28=60']
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[65, 64], Operations: ['93-28=65', '88-24=64']
Exploring Operation: 65*64=4160, Resulting Numbers: [4160]
4160,71 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 65+64=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[88, 89], Operations: ['93-28=65', '24+65=89']
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 88*89=7832, Resulting Numbers: [7832]
7832,71 unequal: No Solution
Exploring Operation: 88+89=177, Resulting Numbers: [177]
177,71 unequal: No Solution
Moving to Node #0,3,4
Current State: 71:[88, 97], Operations: ['93-24=69', '28+69=97']
Exploring Operation: 88+97=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Exploring Operation: 88*97=8536, Resulting Numbers: [8536]
8536,71 unequal: No Solution
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[88, 41], Operations: ['93-24=69', '69-28=41']
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 88*41=3608, Resulting Numbers: [3608]
3608,71 unequal: No Solution
Exploring Operation: 88+41=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[88, 41], Operations: ['93-28=65', '65-24=41']
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 88+41=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 88*41=3608, Resulting Numbers: [3608]
3608,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[69, 116], Operations: ['93-24=69', '88+28=116']
Exploring Operation: 116-69=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 69+116=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Exploring Operation: 69*116=8004, Resulting Numbers: [8004]
8004,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[65, 112], Operations: ['93-28=65', '88+24=112']
Exploring Operation: 65*112=7280, Resulting Numbers: [7280]
7280,71 unequal: No Solution
Exploring Operation: 65+112=177, Resulting Numbers: [177]
177,71 unequal: No Solution
Exploring Operation: 112-65=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[28, 19], Operations: ['93-24=69', '88-69=19']
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,71 unequal: No Solution
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[24, 23], Operations: ['93-28=65', '88-65=23']
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,71 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
28,
55,
4,
32
] | 39 | [
"32-28=4",
"4*4=16",
"55-16=39"
] | Current State: 39:[28, 55, 4, 32], Operations: []
Exploring Operation: 32-28=4, Resulting Numbers: [55, 4, 4]
Generated Node #2: [55, 4, 4] from Operation: 32-28=4
Current State: 39:[55, 4, 4], Operations: ['32-28=4']
Exploring Operation: 4*4=16, Resulting Numbers: [55, 16]
Generated Node #3: [55, 16] from Operation: 4*4=16
Current State: 39:[55, 16], Operations: ['32-28=4', '4*4=16']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[28, 55, 4, 32], Operations: []
Exploring Operation: 55-32=23, Resulting Numbers: [28, 4, 23]
Generated Node #0,0: 39:[28, 4, 23] Operation: 55-32=23
Exploring Operation: 28/4=7, Resulting Numbers: [55, 32, 7]
Generated Node #0,1: 39:[55, 32, 7] Operation: 28/4=7
Exploring Operation: 55-28=27, Resulting Numbers: [4, 32, 27]
Generated Node #0,2: 39:[4, 32, 27] Operation: 55-28=27
Exploring Operation: 32-28=4, Resulting Numbers: [55, 4, 4]
Generated Node #0,3: 39:[55, 4, 4] Operation: 32-28=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[55, 4, 4], Operations: ['32-28=4']
Exploring Operation: 4/4=1, Resulting Numbers: [55, 1]
Generated Node #0,3,0: 39:[55, 1] Operation: 4/4=1
Exploring Operation: 4*4=16, Resulting Numbers: [55, 16]
Generated Node #0,3,1: 39:[55, 16] Operation: 4*4=16
Exploring Operation: 55-4=51, Resulting Numbers: [4, 51]
Generated Node #0,3,2: 39:[4, 51] Operation: 55-4=51
Exploring Operation: 55-4=51, Resulting Numbers: [4, 51]
Generated Node #0,3,3: 39:[4, 51] Operation: 55-4=51
Moving to Node #0,3,2
Current State: 39:[4, 51], Operations: ['32-28=4', '55-4=51']
Exploring Operation: 4*51=204, Resulting Numbers: [204]
204,39 unequal: No Solution
Exploring Operation: 4+51=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[4, 51], Operations: ['32-28=4', '55-4=51']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 4+51=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 4*51=204, Resulting Numbers: [204]
204,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[55, 1], Operations: ['32-28=4', '4/4=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,39 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[55, 16], Operations: ['32-28=4', '4*4=16']
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[28, 55, 4, 32], Operations: []
Exploring Operation: 32-28=4, Resulting Numbers: [55, 4, 4]
Generated Node #0,3: 39:[55, 4, 4] Operation: 32-28=4
Moving to Node #0,3
Current State: 39:[55, 4, 4], Operations: ['32-28=4']
Exploring Operation: 4*4=16, Resulting Numbers: [55, 16]
Generated Node #0,3,1: 39:[55, 16] Operation: 4*4=16
Moving to Node #0,3,1
Current State: 39:[55, 16], Operations: ['32-28=4', '4*4=16']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
69,
6,
3,
10
] | 11 | [
"69-6=63",
"63/3=21",
"21-10=11"
] | Current State: 11:[69, 6, 3, 10], Operations: []
Exploring Operation: 69-6=63, Resulting Numbers: [3, 10, 63]
Generated Node #2: [3, 10, 63] from Operation: 69-6=63
Current State: 11:[3, 10, 63], Operations: ['69-6=63']
Exploring Operation: 63/3=21, Resulting Numbers: [10, 21]
Generated Node #3: [10, 21] from Operation: 63/3=21
Current State: 11:[10, 21], Operations: ['69-6=63', '63/3=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[69, 6, 3, 10], Operations: []
Exploring Operation: 69-10=59, Resulting Numbers: [6, 3, 59]
Generated Node #0,0: 11:[6, 3, 59] Operation: 69-10=59
Exploring Operation: 69/3=23, Resulting Numbers: [6, 10, 23]
Generated Node #0,1: 11:[6, 10, 23] Operation: 69/3=23
Exploring Operation: 69-3=66, Resulting Numbers: [6, 10, 66]
Generated Node #0,2: 11:[6, 10, 66] Operation: 69-3=66
Exploring Operation: 69-6=63, Resulting Numbers: [3, 10, 63]
Generated Node #0,3: 11:[3, 10, 63] Operation: 69-6=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[6, 10, 23], Operations: ['69/3=23']
Exploring Operation: 10-6=4, Resulting Numbers: [23, 4]
Generated Node #0,1,0: 11:[23, 4] Operation: 10-6=4
Exploring Operation: 23-6=17, Resulting Numbers: [10, 17]
Generated Node #0,1,1: 11:[10, 17] Operation: 23-6=17
Exploring Operation: 6+10=16, Resulting Numbers: [23, 16]
Generated Node #0,1,2: 11:[23, 16] Operation: 6+10=16
Exploring Operation: 23-10=13, Resulting Numbers: [6, 13]
Generated Node #0,1,3: 11:[6, 13] Operation: 23-10=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[10, 17], Operations: ['69/3=23', '23-6=17']
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,11 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,11 unequal: No Solution
No 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: 11:[6, 13], Operations: ['69/3=23', '23-10=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,11 unequal: No Solution
No 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: 11:[23, 16], Operations: ['69/3=23', '6+10=16']
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,11 unequal: No Solution
No 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: 11:[23, 4], Operations: ['69/3=23', '10-6=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,11 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,11 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: 11:[6, 3, 59], Operations: ['69-10=59']
Exploring Operation: 6+3=9, Resulting Numbers: [59, 9]
Generated Node #0,0,0: 11:[59, 9] Operation: 6+3=9
Exploring Operation: 59-6=53, Resulting Numbers: [3, 53]
Generated Node #0,0,1: 11:[3, 53] Operation: 59-6=53
Exploring Operation: 6*3=18, Resulting Numbers: [59, 18]
Generated Node #0,0,2: 11:[59, 18] Operation: 6*3=18
Exploring Operation: 59-3=56, Resulting Numbers: [6, 56]
Generated Node #0,0,3: 11:[6, 56] Operation: 59-3=56
Moving to Node #0,0,0
Current State: 11:[59, 9], Operations: ['69-10=59', '6+3=9']
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,11 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[6, 56], Operations: ['69-10=59', '59-3=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[3, 53], Operations: ['69-10=59', '59-6=53']
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[59, 18], Operations: ['69-10=59', '6*3=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,11 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[6, 10, 66], Operations: ['69-3=66']
Exploring Operation: 6+10=16, Resulting Numbers: [66, 16]
Generated Node #0,2,0: 11:[66, 16] Operation: 6+10=16
Exploring Operation: 66-6=60, Resulting Numbers: [10, 60]
Generated Node #0,2,1: 11:[10, 60] Operation: 66-6=60
Exploring Operation: 66-10=56, Resulting Numbers: [6, 56]
Generated Node #0,2,2: 11:[6, 56] Operation: 66-10=56
Exploring Operation: 66/6=11, Resulting Numbers: [10, 11]
Generated Node #0,2,3: 11:[10, 11] Operation: 66/6=11
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 11:[10, 11], Operations: ['69-3=66', '66/6=11']
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,11 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,11 unequal: No Solution
No 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: 11:[10, 60], Operations: ['69-3=66', '66-6=60']
Exploring Operation: 10*60=600, Resulting Numbers: [600]
600,11 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,11 unequal: No Solution
No 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: 11:[6, 56], Operations: ['69-3=66', '66-10=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,11 unequal: No Solution
No 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: 11:[66, 16], Operations: ['69-3=66', '6+10=16']
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,11 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,11 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: 11:[3, 10, 63], Operations: ['69-6=63']
Exploring Operation: 63-3=60, Resulting Numbers: [10, 60]
Generated Node #0,3,0: 11:[10, 60] Operation: 63-3=60
Exploring Operation: 63/3=21, Resulting Numbers: [10, 21]
Generated Node #0,3,1: 11:[10, 21] Operation: 63/3=21
Exploring Operation: 63-10=53, Resulting Numbers: [3, 53]
Generated Node #0,3,2: 11:[3, 53] Operation: 63-10=53
Exploring Operation: 3+10=13, Resulting Numbers: [63, 13]
Generated Node #0,3,3: 11:[63, 13] Operation: 3+10=13
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 11:[10, 21], Operations: ['69-6=63', '63/3=21']
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,11 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[69, 6, 3, 10], Operations: []
Exploring Operation: 69-6=63, Resulting Numbers: [3, 10, 63]
Generated Node #0,3: 11:[3, 10, 63] Operation: 69-6=63
Moving to Node #0,3
Current State: 11:[3, 10, 63], Operations: ['69-6=63']
Exploring Operation: 63/3=21, Resulting Numbers: [10, 21]
Generated Node #0,3,1: 11:[10, 21] Operation: 63/3=21
Moving to Node #0,3,1
Current State: 11:[10, 21], Operations: ['69-6=63', '63/3=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.945313 | hs_4 | mult_heuristic |
[
18,
6,
18,
2
] | 52 | [
"18/6=3",
"18*3=54",
"54-2=52"
] | Current State: 52:[18, 6, 18, 2], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [2, 3]
Generated Node #2: [2, 3] from Operation: 18/6=3
Current State: 52:[2, 3], Operations: ['18/6=3']
Exploring Operation: 18*3=54, Resulting Numbers: [2, 54]
Generated Node #3: [2, 54] from Operation: 18*3=54
Current State: 52:[2, 54], Operations: ['18/6=3', '18*3=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[18, 6, 18, 2], Operations: []
Exploring Operation: 18-18=0, Resulting Numbers: [6, 2, 0]
Generated Node #0,0: 52:[6, 2, 0] Operation: 18-18=0
Exploring Operation: 18/18=1, Resulting Numbers: [6, 2, 1]
Generated Node #0,1: 52:[6, 2, 1] Operation: 18/18=1
Exploring Operation: 18-6=12, Resulting Numbers: [18, 2, 12]
Generated Node #0,2: 52:[18, 2, 12] Operation: 18-6=12
Moving to Node #0,1
Current State: 52:[6, 2, 1], Operations: ['18/18=1']
Exploring Operation: 6*2=12, Resulting Numbers: [1, 12]
Generated Node #0,1,0: 52:[1, 12] Operation: 6*2=12
Exploring Operation: 6-1=5, Resulting Numbers: [2, 5]
Generated Node #0,1,1: 52:[2, 5] Operation: 6-1=5
Exploring Operation: 6-2=4, Resulting Numbers: [1, 4]
Generated Node #0,1,2: 52:[1, 4] Operation: 6-2=4
Moving to Node #0,0
Current State: 52:[6, 2, 0], Operations: ['18-18=0']
Exploring Operation: 6*0=0, Resulting Numbers: [2, 0]
Generated Node #0,0,0: 52:[2, 0] Operation: 6*0=0
Exploring Operation: 6+0=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 52:[2, 6] Operation: 6+0=6
Exploring Operation: 6-2=4, Resulting Numbers: [0, 4]
Generated Node #0,0,2: 52:[0, 4] Operation: 6-2=4
Moving to Node #0,2
Current State: 52:[18, 2, 12], Operations: ['18-6=12']
Exploring Operation: 18-12=6, Resulting Numbers: [2, 6]
Generated Node #0,2,0: 52:[2, 6] Operation: 18-12=6
Exploring Operation: 18+12=30, Resulting Numbers: [2, 30]
Generated Node #0,2,1: 52:[2, 30] Operation: 18+12=30
Exploring Operation: 18-2=16, Resulting Numbers: [12, 16]
Generated Node #0,2,2: 52:[12, 16] Operation: 18-2=16
Moving to Node #0,1,1
Current State: 52:[2, 5], Operations: ['18/18=1', '6-1=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[1, 4], Operations: ['18/18=1', '6-2=4']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[1, 12], Operations: ['18/18=1', '6*2=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[2, 6], Operations: ['18-6=12', '18-12=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[0, 4], Operations: ['18-18=0', '6-2=4']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 0+4=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 0*4=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[2, 6], Operations: ['18-18=0', '6+0=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[2, 0], Operations: ['18-18=0', '6*0=0']
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[12, 16], Operations: ['18-6=12', '18-2=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,52 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[2, 30], Operations: ['18-6=12', '18+12=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,52 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
70,
56,
65,
58
] | 98 | [
"70-56=14",
"65-58=7",
"14*7=98"
] | Current State: 98:[70, 56, 65, 58], Operations: []
Exploring Operation: 70-56=14, Resulting Numbers: [65, 58, 14]
Generated Node #2: [65, 58, 14] from Operation: 70-56=14
Current State: 98:[65, 58, 14], Operations: ['70-56=14']
Exploring Operation: 65-58=7, Resulting Numbers: [14, 7]
Generated Node #3: [14, 7] from Operation: 65-58=7
Current State: 98:[14, 7], Operations: ['70-56=14', '65-58=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[70, 56, 65, 58], Operations: []
Exploring Operation: 65-58=7, Resulting Numbers: [70, 56, 7]
Generated Node #0,0: 98:[70, 56, 7] Operation: 65-58=7
Exploring Operation: 70-65=5, Resulting Numbers: [56, 58, 5]
Generated Node #0,1: 98:[56, 58, 5] Operation: 70-65=5
Exploring Operation: 70-58=12, Resulting Numbers: [56, 65, 12]
Generated Node #0,2: 98:[56, 65, 12] Operation: 70-58=12
Exploring Operation: 70-56=14, Resulting Numbers: [65, 58, 14]
Generated Node #0,3: 98:[65, 58, 14] Operation: 70-56=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[56, 58, 5], Operations: ['70-65=5']
Exploring Operation: 56-5=51, Resulting Numbers: [58, 51]
Generated Node #0,1,0: 98:[58, 51] Operation: 56-5=51
Exploring Operation: 58-56=2, Resulting Numbers: [5, 2]
Generated Node #0,1,1: 98:[5, 2] Operation: 58-56=2
Exploring Operation: 58-5=53, Resulting Numbers: [56, 53]
Generated Node #0,1,2: 98:[56, 53] Operation: 58-5=53
Exploring Operation: 56+58=114, Resulting Numbers: [5, 114]
Generated Node #0,1,3: 98:[5, 114] Operation: 56+58=114
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[5, 2], Operations: ['70-65=5', '58-56=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,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,0
Current State: 98:[58, 51], Operations: ['70-65=5', '56-5=51']
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,98 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,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:[56, 53], Operations: ['70-65=5', '58-5=53']
Exploring Operation: 56*53=2968, Resulting Numbers: [2968]
2968,98 unequal: No Solution
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 56+53=109, Resulting Numbers: [109]
109,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,3
Current State: 98:[5, 114], Operations: ['70-65=5', '56+58=114']
Exploring Operation: 5*114=570, Resulting Numbers: [570]
570,98 unequal: No Solution
Exploring Operation: 5+114=119, Resulting Numbers: [119]
119,98 unequal: No Solution
Exploring Operation: 114-5=109, Resulting Numbers: [109]
109,98 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: 98:[56, 65, 12], Operations: ['70-58=12']
Exploring Operation: 65-56=9, Resulting Numbers: [12, 9]
Generated Node #0,2,0: 98:[12, 9] Operation: 65-56=9
Exploring Operation: 56+65=121, Resulting Numbers: [12, 121]
Generated Node #0,2,1: 98:[12, 121] Operation: 56+65=121
Exploring Operation: 65-12=53, Resulting Numbers: [56, 53]
Generated Node #0,2,2: 98:[56, 53] Operation: 65-12=53
Exploring Operation: 56-12=44, Resulting Numbers: [65, 44]
Generated Node #0,2,3: 98:[65, 44] Operation: 56-12=44
Moving to Node #0,2,0
Current State: 98:[12, 9], Operations: ['70-58=12', '65-56=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[56, 53], Operations: ['70-58=12', '65-12=53']
Exploring Operation: 56+53=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 56*53=2968, Resulting Numbers: [2968]
2968,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[65, 44], Operations: ['70-58=12', '56-12=44']
Exploring Operation: 65+44=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 65*44=2860, Resulting Numbers: [2860]
2860,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[12, 121], Operations: ['70-58=12', '56+65=121']
Exploring Operation: 12*121=1452, Resulting Numbers: [1452]
1452,98 unequal: No Solution
Exploring Operation: 121-12=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 12+121=133, Resulting Numbers: [133]
133,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[65, 58, 14], Operations: ['70-56=14']
Exploring Operation: 65-58=7, Resulting Numbers: [14, 7]
Generated Node #0,3,0: 98:[14, 7] Operation: 65-58=7
Exploring Operation: 65-14=51, Resulting Numbers: [58, 51]
Generated Node #0,3,1: 98:[58, 51] Operation: 65-14=51
Exploring Operation: 65+58=123, Resulting Numbers: [14, 123]
Generated Node #0,3,2: 98:[14, 123] Operation: 65+58=123
Exploring Operation: 58-14=44, Resulting Numbers: [65, 44]
Generated Node #0,3,3: 98:[65, 44] Operation: 58-14=44
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 98:[14, 7], Operations: ['70-56=14', '65-58=7']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[70, 56, 65, 58], Operations: []
Exploring Operation: 70-56=14, Resulting Numbers: [65, 58, 14]
Generated Node #0,3: 98:[65, 58, 14] Operation: 70-56=14
Moving to Node #0,3
Current State: 98:[65, 58, 14], Operations: ['70-56=14']
Exploring Operation: 65-58=7, Resulting Numbers: [14, 7]
Generated Node #0,3,0: 98:[14, 7] Operation: 65-58=7
Moving to Node #0,3,0
Current State: 98:[14, 7], Operations: ['70-56=14', '65-58=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.959201 | hs_4 | sum_heuristic |
[
12,
54,
95,
60
] | 97 | [
"60-54=6",
"12/6=2",
"95+2=97"
] | Current State: 97:[12, 54, 95, 60], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [12, 95, 6]
Generated Node #2: [12, 95, 6] from Operation: 60-54=6
Current State: 97:[12, 95, 6], Operations: ['60-54=6']
Exploring Operation: 12/6=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 12/6=2
Current State: 97:[95, 2], Operations: ['60-54=6', '12/6=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[12, 54, 95, 60], Operations: []
Exploring Operation: 12+60=72, Resulting Numbers: [54, 95, 72]
Generated Node #0,0: 97:[54, 95, 72] Operation: 12+60=72
Exploring Operation: 12+54=66, Resulting Numbers: [95, 60, 66]
Generated Node #0,1: 97:[95, 60, 66] Operation: 12+54=66
Exploring Operation: 12+95=107, Resulting Numbers: [54, 60, 107]
Generated Node #0,2: 97:[54, 60, 107] Operation: 12+95=107
Exploring Operation: 54-12=42, Resulting Numbers: [95, 60, 42]
Generated Node #0,3: 97:[95, 60, 42] Operation: 54-12=42
Exploring Operation: 95-12=83, Resulting Numbers: [54, 60, 83]
Generated Node #0,4: 97:[54, 60, 83] Operation: 95-12=83
Moving to Node #0,0
Current State: 97:[54, 95, 72], Operations: ['12+60=72']
Exploring Operation: 95-54=41, Resulting Numbers: [72, 41]
Generated Node #0,0,0: 97:[72, 41] Operation: 95-54=41
Exploring Operation: 54+95=149, Resulting Numbers: [72, 149]
Generated Node #0,0,1: 97:[72, 149] Operation: 54+95=149
Exploring Operation: 95+72=167, Resulting Numbers: [54, 167]
Generated Node #0,0,2: 97:[54, 167] Operation: 95+72=167
Exploring Operation: 72-54=18, Resulting Numbers: [95, 18]
Generated Node #0,0,3: 97:[95, 18] Operation: 72-54=18
Exploring Operation: 54+72=126, Resulting Numbers: [95, 126]
Generated Node #0,0,4: 97:[95, 126] Operation: 54+72=126
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 97:[95, 126], Operations: ['12+60=72', '54+72=126']
Exploring Operation: 126-95=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 95+126=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 95*126=11970, Resulting Numbers: [11970]
11970,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[72, 149], Operations: ['12+60=72', '54+95=149']
Exploring Operation: 72+149=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 149-72=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 72*149=10728, Resulting Numbers: [10728]
10728,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[72, 41], Operations: ['12+60=72', '95-54=41']
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,97 unequal: No Solution
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[95, 18], Operations: ['12+60=72', '72-54=18']
Exploring Operation: 95*18=1710, Resulting Numbers: [1710]
1710,97 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[54, 167], Operations: ['12+60=72', '95+72=167']
Exploring Operation: 54*167=9018, Resulting Numbers: [9018]
9018,97 unequal: No Solution
Exploring Operation: 167-54=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 54+167=221, Resulting Numbers: [221]
221,97 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: 97:[95, 60, 66], Operations: ['12+54=66']
Exploring Operation: 95+60=155, Resulting Numbers: [66, 155]
Generated Node #0,1,0: 97:[66, 155] Operation: 95+60=155
Exploring Operation: 95-60=35, Resulting Numbers: [66, 35]
Generated Node #0,1,1: 97:[66, 35] Operation: 95-60=35
Exploring Operation: 60+66=126, Resulting Numbers: [95, 126]
Generated Node #0,1,2: 97:[95, 126] Operation: 60+66=126
Exploring Operation: 95+66=161, Resulting Numbers: [60, 161]
Generated Node #0,1,3: 97:[60, 161] Operation: 95+66=161
Exploring Operation: 66-60=6, Resulting Numbers: [95, 6]
Generated Node #0,1,4: 97:[95, 6] Operation: 66-60=6
Moving to Node #0,2
Current State: 97:[54, 60, 107], Operations: ['12+95=107']
Exploring Operation: 107-60=47, Resulting Numbers: [54, 47]
Generated Node #0,2,0: 97:[54, 47] Operation: 107-60=47
Exploring Operation: 60-54=6, Resulting Numbers: [107, 6]
Generated Node #0,2,1: 97:[107, 6] Operation: 60-54=6
Exploring Operation: 107-54=53, Resulting Numbers: [60, 53]
Generated Node #0,2,2: 97:[60, 53] Operation: 107-54=53
Exploring Operation: 54+60=114, Resulting Numbers: [107, 114]
Generated Node #0,2,3: 97:[107, 114] Operation: 54+60=114
Exploring Operation: 54+107=161, Resulting Numbers: [60, 161]
Generated Node #0,2,4: 97:[60, 161] Operation: 54+107=161
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[107, 114], Operations: ['12+95=107', '54+60=114']
Exploring Operation: 107+114=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 107*114=12198, Resulting Numbers: [12198]
12198,97 unequal: No Solution
Exploring Operation: 114-107=7, Resulting Numbers: [7]
7,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[60, 53], Operations: ['12+95=107', '107-54=53']
Exploring Operation: 60+53=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 60*53=3180, Resulting Numbers: [3180]
3180,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[54, 47], Operations: ['12+95=107', '107-60=47']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,97 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[107, 6], Operations: ['12+95=107', '60-54=6']
Exploring Operation: 107+6=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 107*6=642, Resulting Numbers: [642]
642,97 unequal: No Solution
Exploring Operation: 107-6=101, Resulting Numbers: [101]
101,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 97:[60, 161], Operations: ['12+95=107', '54+107=161']
Exploring Operation: 161-60=101, Resulting Numbers: [101]
101,97 unequal: No Solution
Exploring Operation: 60+161=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 60*161=9660, Resulting Numbers: [9660]
9660,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 97:[95, 60, 42], Operations: ['54-12=42']
Exploring Operation: 60-42=18, Resulting Numbers: [95, 18]
Generated Node #0,3,0: 97:[95, 18] Operation: 60-42=18
Exploring Operation: 95+60=155, Resulting Numbers: [42, 155]
Generated Node #0,3,1: 97:[42, 155] Operation: 95+60=155
Exploring Operation: 60+42=102, Resulting Numbers: [95, 102]
Generated Node #0,3,2: 97:[95, 102] Operation: 60+42=102
Exploring Operation: 95+42=137, Resulting Numbers: [60, 137]
Generated Node #0,3,3: 97:[60, 137] Operation: 95+42=137
Exploring Operation: 95-42=53, Resulting Numbers: [60, 53]
Generated Node #0,3,4: 97:[60, 53] Operation: 95-42=53
Moving to Node #0,4
Current State: 97:[54, 60, 83], Operations: ['95-12=83']
Exploring Operation: 54+60=114, Resulting Numbers: [83, 114]
Generated Node #0,4,0: 97:[83, 114] Operation: 54+60=114
Exploring Operation: 60-54=6, Resulting Numbers: [83, 6]
Generated Node #0,4,1: 97:[83, 6] Operation: 60-54=6
Exploring Operation: 54+83=137, Resulting Numbers: [60, 137]
Generated Node #0,4,2: 97:[60, 137] Operation: 54+83=137
Exploring Operation: 83-54=29, Resulting Numbers: [60, 29]
Generated Node #0,4,3: 97:[60, 29] Operation: 83-54=29
Exploring Operation: 60+83=143, Resulting Numbers: [54, 143]
Generated Node #0,4,4: 97:[54, 143] Operation: 60+83=143
Moving to Node #0,3,2
Current State: 97:[95, 102], Operations: ['54-12=42', '60+42=102']
Exploring Operation: 95*102=9690, Resulting Numbers: [9690]
9690,97 unequal: No Solution
Exploring Operation: 102-95=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 95+102=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[95, 126], Operations: ['12+54=66', '60+66=126']
Exploring Operation: 95+126=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 126-95=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 95*126=11970, Resulting Numbers: [11970]
11970,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[83, 114], Operations: ['95-12=83', '54+60=114']
Exploring Operation: 114-83=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 83+114=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Exploring Operation: 83*114=9462, Resulting Numbers: [9462]
9462,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[60, 137], Operations: ['54-12=42', '95+42=137']
Exploring Operation: 137-60=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 60*137=8220, Resulting Numbers: [8220]
8220,97 unequal: No Solution
Exploring Operation: 60+137=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Moving to Node #0,4,2
Current State: 97:[60, 137], Operations: ['95-12=83', '54+83=137']
Exploring Operation: 60*137=8220, Resulting Numbers: [8220]
8220,97 unequal: No Solution
Exploring Operation: 60+137=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Exploring Operation: 137-60=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[95, 18], Operations: ['54-12=42', '60-42=18']
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 95*18=1710, Resulting Numbers: [1710]
1710,97 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Moving to Node #0,3,4
Current State: 97:[60, 53], Operations: ['54-12=42', '95-42=53']
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 60+53=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 60*53=3180, Resulting Numbers: [3180]
3180,97 unequal: No Solution
Moving to Node #0,4,4
Current State: 97:[54, 143], Operations: ['95-12=83', '60+83=143']
Exploring Operation: 54+143=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Exploring Operation: 143-54=89, Resulting Numbers: [89]
89,97 unequal: No Solution
Exploring Operation: 54*143=7722, Resulting Numbers: [7722]
7722,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[66, 155], Operations: ['12+54=66', '95+60=155']
Exploring Operation: 66+155=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 66*155=10230, Resulting Numbers: [10230]
10230,97 unequal: No Solution
Exploring Operation: 155-66=89, Resulting Numbers: [89]
89,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[66, 35], Operations: ['12+54=66', '95-60=35']
Exploring Operation: 66*35=2310, Resulting Numbers: [2310]
2310,97 unequal: No Solution
Exploring Operation: 66+35=101, Resulting Numbers: [101]
101,97 unequal: No Solution
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Moving to Node #0,1,4
Current State: 97:[95, 6], Operations: ['12+54=66', '66-60=6']
Exploring Operation: 95+6=101, Resulting Numbers: [101]
101,97 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,97 unequal: No Solution
Exploring Operation: 95*6=570, Resulting Numbers: [570]
570,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[60, 161], Operations: ['12+54=66', '95+66=161']
Exploring Operation: 60+161=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 161-60=101, Resulting Numbers: [101]
101,97 unequal: No Solution
Exploring Operation: 60*161=9660, Resulting Numbers: [9660]
9660,97 unequal: No Solution
Moving to Node #0,4,3
Current State: 97:[60, 29], Operations: ['95-12=83', '83-54=29']
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 60*29=1740, Resulting Numbers: [1740]
1740,97 unequal: No Solution
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[83, 6], Operations: ['95-12=83', '60-54=6']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,97 unequal: No Solution
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[42, 155], Operations: ['54-12=42', '95+60=155']
Exploring Operation: 155-42=113, Resulting Numbers: [113]
113,97 unequal: No Solution
Exploring Operation: 42+155=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Exploring Operation: 42*155=6510, Resulting Numbers: [6510]
6510,97 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
48,
99,
7,
64
] | 90 | [
"48+99=147",
"64-7=57",
"147-57=90"
] | Current State: 90:[48, 99, 7, 64], Operations: []
Exploring Operation: 48+99=147, Resulting Numbers: [7, 64, 147]
Generated Node #2: [7, 64, 147] from Operation: 48+99=147
Current State: 90:[7, 64, 147], Operations: ['48+99=147']
Exploring Operation: 64-7=57, Resulting Numbers: [147, 57]
Generated Node #3: [147, 57] from Operation: 64-7=57
Current State: 90:[147, 57], Operations: ['48+99=147', '64-7=57']
Exploring Operation: 147-57=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[48, 99, 7, 64], Operations: []
Exploring Operation: 99-64=35, Resulting Numbers: [48, 7, 35]
Generated Node #0,0: 90:[48, 7, 35] Operation: 99-64=35
Exploring Operation: 64-48=16, Resulting Numbers: [99, 7, 16]
Generated Node #0,1: 90:[99, 7, 16] Operation: 64-48=16
Exploring Operation: 64-7=57, Resulting Numbers: [48, 99, 57]
Generated Node #0,2: 90:[48, 99, 57] Operation: 64-7=57
Exploring Operation: 99-7=92, Resulting Numbers: [48, 64, 92]
Generated Node #0,3: 90:[48, 64, 92] Operation: 99-7=92
Moving to Node #0,0
Current State: 90:[48, 7, 35], Operations: ['99-64=35']
Exploring Operation: 35/7=5, Resulting Numbers: [48, 5]
Generated Node #0,0,0: 90:[48, 5] Operation: 35/7=5
Exploring Operation: 48-35=13, Resulting Numbers: [7, 13]
Generated Node #0,0,1: 90:[7, 13] Operation: 48-35=13
Exploring Operation: 7+35=42, Resulting Numbers: [48, 42]
Generated Node #0,0,2: 90:[48, 42] Operation: 7+35=42
Exploring Operation: 35-7=28, Resulting Numbers: [48, 28]
Generated Node #0,0,3: 90:[48, 28] Operation: 35-7=28
Moving to Node #0,1
Current State: 90:[99, 7, 16], Operations: ['64-48=16']
Exploring Operation: 99-16=83, Resulting Numbers: [7, 83]
Generated Node #0,1,0: 90:[7, 83] Operation: 99-16=83
Exploring Operation: 16-7=9, Resulting Numbers: [99, 9]
Generated Node #0,1,1: 90:[99, 9] Operation: 16-7=9
Exploring Operation: 99-7=92, Resulting Numbers: [16, 92]
Generated Node #0,1,2: 90:[16, 92] Operation: 99-7=92
Exploring Operation: 7+16=23, Resulting Numbers: [99, 23]
Generated Node #0,1,3: 90:[99, 23] Operation: 7+16=23
Moving to Node #0,3
Current State: 90:[48, 64, 92], Operations: ['99-7=92']
Exploring Operation: 92-64=28, Resulting Numbers: [48, 28]
Generated Node #0,3,0: 90:[48, 28] Operation: 92-64=28
Exploring Operation: 48+64=112, Resulting Numbers: [92, 112]
Generated Node #0,3,1: 90:[92, 112] Operation: 48+64=112
Exploring Operation: 92-48=44, Resulting Numbers: [64, 44]
Generated Node #0,3,2: 90:[64, 44] Operation: 92-48=44
Exploring Operation: 64-48=16, Resulting Numbers: [92, 16]
Generated Node #0,3,3: 90:[92, 16] Operation: 64-48=16
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[92, 16], Operations: ['99-7=92', '64-48=16']
Exploring Operation: 92*16=1472, Resulting Numbers: [1472]
1472,90 unequal: No Solution
Exploring Operation: 92-16=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 92+16=108, Resulting Numbers: [108]
108,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[48, 28], Operations: ['99-7=92', '92-64=28']
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,90 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[64, 44], Operations: ['99-7=92', '92-48=44']
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,90 unequal: No Solution
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,90 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[92, 112], Operations: ['99-7=92', '48+64=112']
Exploring Operation: 92+112=204, Resulting Numbers: [204]
204,90 unequal: No Solution
Exploring Operation: 112-92=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 92*112=10304, Resulting Numbers: [10304]
10304,90 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: 90:[48, 99, 57], Operations: ['64-7=57']
Exploring Operation: 48+57=105, Resulting Numbers: [99, 105]
Generated Node #0,2,0: 90:[99, 105] Operation: 48+57=105
Exploring Operation: 99-57=42, Resulting Numbers: [48, 42]
Generated Node #0,2,1: 90:[48, 42] Operation: 99-57=42
Exploring Operation: 99-48=51, Resulting Numbers: [57, 51]
Generated Node #0,2,2: 90:[57, 51] Operation: 99-48=51
Exploring Operation: 57-48=9, Resulting Numbers: [99, 9]
Generated Node #0,2,3: 90:[99, 9] Operation: 57-48=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[48, 42], Operations: ['64-7=57', '99-57=42']
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[48, 99, 7, 64], Operations: []
Exploring Operation: 64-7=57, Resulting Numbers: [48, 99, 57]
Generated Node #0,2: 90:[48, 99, 57] Operation: 64-7=57
Moving to Node #0,2
Current State: 90:[48, 99, 57], Operations: ['64-7=57']
Exploring Operation: 99-57=42, Resulting Numbers: [48, 42]
Generated Node #0,2,1: 90:[48, 42] Operation: 99-57=42
Moving to Node #0,2,1
Current State: 90:[48, 42], Operations: ['64-7=57', '99-57=42']
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
36,
38,
16,
86
] | 94 | [
"38-36=2",
"16/2=8",
"86+8=94"
] | Current State: 94:[36, 38, 16, 86], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [16, 86, 2]
Generated Node #2: [16, 86, 2] from Operation: 38-36=2
Current State: 94:[16, 86, 2], Operations: ['38-36=2']
Exploring Operation: 16/2=8, Resulting Numbers: [86, 8]
Generated Node #3: [86, 8] from Operation: 16/2=8
Current State: 94:[86, 8], Operations: ['38-36=2', '16/2=8']
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[36, 38, 16, 86], Operations: []
Exploring Operation: 86-36=50, Resulting Numbers: [38, 16, 50]
Generated Node #0,0: 94:[38, 16, 50] Operation: 86-36=50
Exploring Operation: 36+16=52, Resulting Numbers: [38, 86, 52]
Generated Node #0,1: 94:[38, 86, 52] Operation: 36+16=52
Exploring Operation: 38-36=2, Resulting Numbers: [16, 86, 2]
Generated Node #0,2: 94:[16, 86, 2] Operation: 38-36=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[38, 86, 52], Operations: ['36+16=52']
Exploring Operation: 86-38=48, Resulting Numbers: [52, 48]
Generated Node #0,1,0: 94:[52, 48] Operation: 86-38=48
Exploring Operation: 38+52=90, Resulting Numbers: [86, 90]
Generated Node #0,1,1: 94:[86, 90] Operation: 38+52=90
Exploring Operation: 52-38=14, Resulting Numbers: [86, 14]
Generated Node #0,1,2: 94:[86, 14] Operation: 52-38=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[52, 48], Operations: ['36+16=52', '86-38=48']
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,94 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 52*48=2496, Resulting Numbers: [2496]
2496,94 unequal: No Solution
No 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: 94:[86, 90], Operations: ['36+16=52', '38+52=90']
Exploring Operation: 90-86=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 86*90=7740, Resulting Numbers: [7740]
7740,94 unequal: No Solution
Exploring Operation: 86+90=176, Resulting Numbers: [176]
176,94 unequal: No Solution
No 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: 94:[86, 14], Operations: ['36+16=52', '52-38=14']
Exploring Operation: 86*14=1204, Resulting Numbers: [1204]
1204,94 unequal: No Solution
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,94 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,94 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: 94:[16, 86, 2], Operations: ['38-36=2']
Exploring Operation: 16/2=8, Resulting Numbers: [86, 8]
Generated Node #0,2,0: 94:[86, 8] Operation: 16/2=8
Exploring Operation: 86/2=43, Resulting Numbers: [16, 43]
Generated Node #0,2,1: 94:[16, 43] Operation: 86/2=43
Exploring Operation: 16+86=102, Resulting Numbers: [2, 102]
Generated Node #0,2,2: 94:[2, 102] Operation: 16+86=102
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 94:[2, 102], Operations: ['38-36=2', '16+86=102']
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,94 unequal: No Solution
Exploring Operation: 102/2=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 2+102=104, Resulting Numbers: [104]
104,94 unequal: No Solution
No 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: 94:[86, 8], Operations: ['38-36=2', '16/2=8']
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,94 unequal: No Solution
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[36, 38, 16, 86], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [16, 86, 2]
Generated Node #0,2: 94:[16, 86, 2] Operation: 38-36=2
Moving to Node #0,2
Current State: 94:[16, 86, 2], Operations: ['38-36=2']
Exploring Operation: 16/2=8, Resulting Numbers: [86, 8]
Generated Node #0,2,0: 94:[86, 8] Operation: 16/2=8
Moving to Node #0,2,0
Current State: 94:[86, 8], Operations: ['38-36=2', '16/2=8']
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
7,
37,
39,
33
] | 13 | [
"37-7=30",
"33-30=3",
"39/3=13"
] | Current State: 13:[7, 37, 39, 33], Operations: []
Exploring Operation: 37-7=30, Resulting Numbers: [39, 33, 30]
Generated Node #2: [39, 33, 30] from Operation: 37-7=30
Current State: 13:[39, 33, 30], Operations: ['37-7=30']
Exploring Operation: 33-30=3, Resulting Numbers: [39, 3]
Generated Node #3: [39, 3] from Operation: 33-30=3
Current State: 13:[39, 3], Operations: ['37-7=30', '33-30=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[7, 37, 39, 33], Operations: []
Exploring Operation: 37-7=30, Resulting Numbers: [39, 33, 30]
Generated Node #0,0: 13:[39, 33, 30] Operation: 37-7=30
Exploring Operation: 39-37=2, Resulting Numbers: [7, 33, 2]
Generated Node #0,1: 13:[7, 33, 2] Operation: 39-37=2
Exploring Operation: 37-33=4, Resulting Numbers: [7, 39, 4]
Generated Node #0,2: 13:[7, 39, 4] Operation: 37-33=4
Exploring Operation: 39-33=6, Resulting Numbers: [7, 37, 6]
Generated Node #0,3: 13:[7, 37, 6] Operation: 39-33=6
Moving to Node #0,1
Current State: 13:[7, 33, 2], Operations: ['39-37=2']
Exploring Operation: 7+2=9, Resulting Numbers: [33, 9]
Generated Node #0,1,0: 13:[33, 9] Operation: 7+2=9
Exploring Operation: 7*2=14, Resulting Numbers: [33, 14]
Generated Node #0,1,1: 13:[33, 14] Operation: 7*2=14
Exploring Operation: 33-7=26, Resulting Numbers: [2, 26]
Generated Node #0,1,2: 13:[2, 26] Operation: 33-7=26
Exploring Operation: 33-2=31, Resulting Numbers: [7, 31]
Generated Node #0,1,3: 13:[7, 31] Operation: 33-2=31
Moving to Node #0,3
Current State: 13:[7, 37, 6], Operations: ['39-33=6']
Exploring Operation: 7+6=13, Resulting Numbers: [37, 13]
Generated Node #0,3,0: 13:[37, 13] Operation: 7+6=13
Exploring Operation: 37-6=31, Resulting Numbers: [7, 31]
Generated Node #0,3,1: 13:[7, 31] Operation: 37-6=31
Exploring Operation: 7-6=1, Resulting Numbers: [37, 1]
Generated Node #0,3,2: 13:[37, 1] Operation: 7-6=1
Exploring Operation: 37-7=30, Resulting Numbers: [6, 30]
Generated Node #0,3,3: 13:[6, 30] Operation: 37-7=30
Moving to Node #0,2
Current State: 13:[7, 39, 4], Operations: ['37-33=4']
Exploring Operation: 39-7=32, Resulting Numbers: [4, 32]
Generated Node #0,2,0: 13:[4, 32] Operation: 39-7=32
Exploring Operation: 7+4=11, Resulting Numbers: [39, 11]
Generated Node #0,2,1: 13:[39, 11] Operation: 7+4=11
Exploring Operation: 7-4=3, Resulting Numbers: [39, 3]
Generated Node #0,2,2: 13:[39, 3] Operation: 7-4=3
Exploring Operation: 39-4=35, Resulting Numbers: [7, 35]
Generated Node #0,2,3: 13:[7, 35] Operation: 39-4=35
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[4, 32], Operations: ['37-33=4', '39-7=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,13 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[39, 11], Operations: ['37-33=4', '7+4=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[7, 35], Operations: ['37-33=4', '39-4=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,13 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[39, 3], Operations: ['37-33=4', '7-4=3']
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,13 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[7, 37, 39, 33], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [7, 39, 4]
Generated Node #0,2: 13:[7, 39, 4] Operation: 37-33=4
Moving to Node #0,2
Current State: 13:[7, 39, 4], Operations: ['37-33=4']
Exploring Operation: 7-4=3, Resulting Numbers: [39, 3]
Generated Node #0,2,2: 13:[39, 3] Operation: 7-4=3
Moving to Node #0,2,2
Current State: 13:[39, 3], Operations: ['37-33=4', '7-4=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
83,
54,
18,
60
] | 71 | [
"83-54=29",
"60-18=42",
"29+42=71"
] | Current State: 71:[83, 54, 18, 60], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [18, 60, 29]
Generated Node #2: [18, 60, 29] from Operation: 83-54=29
Current State: 71:[18, 60, 29], Operations: ['83-54=29']
Exploring Operation: 60-18=42, Resulting Numbers: [29, 42]
Generated Node #3: [29, 42] from Operation: 60-18=42
Current State: 71:[29, 42], Operations: ['83-54=29', '60-18=42']
Exploring Operation: 29+42=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[83, 54, 18, 60], Operations: []
Exploring Operation: 83+18=101, Resulting Numbers: [54, 60, 101]
Generated Node #0,0: 71:[54, 60, 101] Operation: 83+18=101
Exploring Operation: 83-18=65, Resulting Numbers: [54, 60, 65]
Generated Node #0,1: 71:[54, 60, 65] Operation: 83-18=65
Exploring Operation: 18+60=78, Resulting Numbers: [83, 54, 78]
Generated Node #0,2: 71:[83, 54, 78] Operation: 18+60=78
Exploring Operation: 54-18=36, Resulting Numbers: [83, 60, 36]
Generated Node #0,3: 71:[83, 60, 36] Operation: 54-18=36
Exploring Operation: 54+18=72, Resulting Numbers: [83, 60, 72]
Generated Node #0,4: 71:[83, 60, 72] Operation: 54+18=72
Start Sub Search at level 1: Moving to Node #0,4
Current State: 71:[83, 60, 72], Operations: ['54+18=72']
Exploring Operation: 83-60=23, Resulting Numbers: [72, 23]
Generated Node #0,4,0: 71:[72, 23] Operation: 83-60=23
Exploring Operation: 72-60=12, Resulting Numbers: [83, 12]
Generated Node #0,4,1: 71:[83, 12] Operation: 72-60=12
Exploring Operation: 83-72=11, Resulting Numbers: [60, 11]
Generated Node #0,4,2: 71:[60, 11] Operation: 83-72=11
Exploring Operation: 83+60=143, Resulting Numbers: [72, 143]
Generated Node #0,4,3: 71:[72, 143] Operation: 83+60=143
Exploring Operation: 60+72=132, Resulting Numbers: [83, 132]
Generated Node #0,4,4: 71:[83, 132] Operation: 60+72=132
Moving to Node #0,4,0
Current State: 71:[72, 23], Operations: ['54+18=72', '83-60=23']
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 72*23=1656, Resulting Numbers: [1656]
1656,71 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[60, 11], Operations: ['54+18=72', '83-72=11']
Exploring Operation: 60*11=660, Resulting Numbers: [660]
660,71 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[83, 54, 18, 60], Operations: []
Exploring Operation: 54+18=72, Resulting Numbers: [83, 60, 72]
Generated Node #0,4: 71:[83, 60, 72] Operation: 54+18=72
Moving to Node #0,4
Current State: 71:[83, 60, 72], Operations: ['54+18=72']
Exploring Operation: 83-72=11, Resulting Numbers: [60, 11]
Generated Node #0,4,2: 71:[60, 11] Operation: 83-72=11
Moving to Node #0,4,2
Current State: 71:[60, 11], Operations: ['54+18=72', '83-72=11']
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
99,
64,
2,
48
] | 66 | [
"99*64=6336",
"2*48=96",
"6336/96=66"
] | Current State: 66:[99, 64, 2, 48], Operations: []
Exploring Operation: 99*64=6336, Resulting Numbers: [2, 48, 6336]
Generated Node #2: [2, 48, 6336] from Operation: 99*64=6336
Current State: 66:[2, 48, 6336], Operations: ['99*64=6336']
Exploring Operation: 2*48=96, Resulting Numbers: [6336, 96]
Generated Node #3: [6336, 96] from Operation: 2*48=96
Current State: 66:[6336, 96], Operations: ['99*64=6336', '2*48=96']
Exploring Operation: 6336/96=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[99, 64, 2, 48], Operations: []
Exploring Operation: 99-64=35, Resulting Numbers: [2, 48, 35]
Generated Node #0,0: 66:[2, 48, 35] Operation: 99-64=35
Exploring Operation: 99-48=51, Resulting Numbers: [64, 2, 51]
Generated Node #0,1: 66:[64, 2, 51] Operation: 99-48=51
Moving to Node #0,0
Current State: 66:[2, 48, 35], Operations: ['99-64=35']
Exploring Operation: 48/2=24, Resulting Numbers: [35, 24]
Generated Node #0,0,0: 66:[35, 24] Operation: 48/2=24
Exploring Operation: 48-35=13, Resulting Numbers: [2, 13]
Generated Node #0,0,1: 66:[2, 13] Operation: 48-35=13
Moving to Node #0,1
Current State: 66:[64, 2, 51], Operations: ['99-48=51']
Exploring Operation: 64+2=66, Resulting Numbers: [51, 66]
Generated Node #0,1,0: 66:[51, 66] Operation: 64+2=66
Exploring Operation: 64-51=13, Resulting Numbers: [2, 13]
Generated Node #0,1,1: 66:[2, 13] Operation: 64-51=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[2, 13], Operations: ['99-48=51', '64-51=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[51, 66], Operations: ['99-48=51', '64+2=66']
Exploring Operation: 51+66=117, Resulting Numbers: [117]
117,66 unequal: No Solution
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,66 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: 66:[2, 13], Operations: ['99-64=35', '48-35=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[35, 24], Operations: ['99-64=35', '48/2=24']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,66 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
75,
74,
74,
16
] | 90 | [
"75-74=1",
"74+16=90",
"1*90=90"
] | Current State: 90:[75, 74, 74, 16], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [16, 1]
Generated Node #2: [16, 1] from Operation: 75-74=1
Current State: 90:[16, 1], Operations: ['75-74=1']
Exploring Operation: 74+16=90, Resulting Numbers: [1, 90]
Generated Node #3: [1, 90] from Operation: 74+16=90
Current State: 90:[1, 90], Operations: ['75-74=1', '74+16=90']
Exploring Operation: 1*90=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[75, 74, 74, 16], Operations: []
Exploring Operation: 74-74=0, Resulting Numbers: [75, 16, 0]
Generated Node #0,0: 90:[75, 16, 0] Operation: 74-74=0
Exploring Operation: 75-74=1, Resulting Numbers: [74, 16, 1]
Generated Node #0,1: 90:[74, 16, 1] Operation: 75-74=1
Exploring Operation: 74/74=1, Resulting Numbers: [75, 16, 1]
Generated Node #0,2: 90:[75, 16, 1] Operation: 74/74=1
Exploring Operation: 74+16=90, Resulting Numbers: [75, 74, 90]
Generated Node #0,3: 90:[75, 74, 90] Operation: 74+16=90
Exploring Operation: 75-74=1, Resulting Numbers: [74, 16, 1]
Generated Node #0,4: 90:[74, 16, 1] Operation: 75-74=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[75, 16, 1], Operations: ['74/74=1']
Exploring Operation: 75+16=91, Resulting Numbers: [1, 91]
Generated Node #0,2,0: 90:[1, 91] Operation: 75+16=91
Exploring Operation: 75-16=59, Resulting Numbers: [1, 59]
Generated Node #0,2,1: 90:[1, 59] Operation: 75-16=59
Exploring Operation: 75+1=76, Resulting Numbers: [16, 76]
Generated Node #0,2,2: 90:[16, 76] Operation: 75+1=76
Exploring Operation: 16-1=15, Resulting Numbers: [75, 15]
Generated Node #0,2,3: 90:[75, 15] Operation: 16-1=15
Exploring Operation: 75*1=75, Resulting Numbers: [16, 75]
Generated Node #0,2,4: 90:[16, 75] Operation: 75*1=75
Moving to Node #0,2,0
Current State: 90:[1, 91], Operations: ['74/74=1', '75+16=91']
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 1+91=92, Resulting Numbers: [92]
92,90 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[75, 74, 74, 16], Operations: []
Exploring Operation: 74/74=1, Resulting Numbers: [75, 16, 1]
Generated Node #0,2: 90:[75, 16, 1] Operation: 74/74=1
Moving to Node #0,2
Current State: 90:[75, 16, 1], Operations: ['74/74=1']
Exploring Operation: 75+16=91, Resulting Numbers: [1, 91]
Generated Node #0,2,0: 90:[1, 91] Operation: 75+16=91
Moving to Node #0,2,0
Current State: 90:[1, 91], Operations: ['74/74=1', '75+16=91']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
37,
35,
25,
90
] | 63 | [
"37-35=2",
"90-25=65",
"65-2=63"
] | Current State: 63:[37, 35, 25, 90], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [25, 90, 2]
Generated Node #2: [25, 90, 2] from Operation: 37-35=2
Current State: 63:[25, 90, 2], Operations: ['37-35=2']
Exploring Operation: 90-25=65, Resulting Numbers: [2, 65]
Generated Node #3: [2, 65] from Operation: 90-25=65
Current State: 63:[2, 65], Operations: ['37-35=2', '90-25=65']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[37, 35, 25, 90], Operations: []
Exploring Operation: 90-37=53, Resulting Numbers: [35, 25, 53]
Generated Node #0,0: 63:[35, 25, 53] Operation: 90-37=53
Moving to Node #0,0
Current State: 63:[35, 25, 53], Operations: ['90-37=53']
Exploring Operation: 53-35=18, Resulting Numbers: [25, 18]
Generated Node #0,0,0: 63:[25, 18] Operation: 53-35=18
Moving to Node #0,0,0
Current State: 63:[25, 18], Operations: ['90-37=53', '53-35=18']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,63 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
14,
76,
36
] | 10 | [
"14-10=4",
"76-36=40",
"40/4=10"
] | Current State: 10:[10, 14, 76, 36], Operations: []
Exploring Operation: 14-10=4, Resulting Numbers: [76, 36, 4]
Generated Node #2: [76, 36, 4] from Operation: 14-10=4
Current State: 10:[76, 36, 4], Operations: ['14-10=4']
Exploring Operation: 76-36=40, Resulting Numbers: [4, 40]
Generated Node #3: [4, 40] from Operation: 76-36=40
Current State: 10:[4, 40], Operations: ['14-10=4', '76-36=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[10, 14, 76, 36], Operations: []
Exploring Operation: 76-14=62, Resulting Numbers: [10, 36, 62]
Generated Node #0,0: 10:[10, 36, 62] Operation: 76-14=62
Exploring Operation: 76-36=40, Resulting Numbers: [10, 14, 40]
Generated Node #0,1: 10:[10, 14, 40] Operation: 76-36=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[10, 14, 40], Operations: ['76-36=40']
Exploring Operation: 40/10=4, Resulting Numbers: [14, 4]
Generated Node #0,1,0: 10:[14, 4] Operation: 40/10=4
Exploring Operation: 40-14=26, Resulting Numbers: [10, 26]
Generated Node #0,1,1: 10:[10, 26] Operation: 40-14=26
Moving to Node #0,1,0
Current State: 10:[14, 4], Operations: ['76-36=40', '40/10=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[10, 14, 76, 36], Operations: []
Exploring Operation: 76-36=40, Resulting Numbers: [10, 14, 40]
Generated Node #0,1: 10:[10, 14, 40] Operation: 76-36=40
Moving to Node #0,1
Current State: 10:[10, 14, 40], Operations: ['76-36=40']
Exploring Operation: 40/10=4, Resulting Numbers: [14, 4]
Generated Node #0,1,0: 10:[14, 4] Operation: 40/10=4
Moving to Node #0,1,0
Current State: 10:[14, 4], Operations: ['76-36=40', '40/10=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
81,
69,
53,
2
] | 77 | [
"81-69=12",
"2*12=24",
"53+24=77"
] | Current State: 77:[81, 69, 53, 2], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [53, 2, 12]
Generated Node #2: [53, 2, 12] from Operation: 81-69=12
Current State: 77:[53, 2, 12], Operations: ['81-69=12']
Exploring Operation: 2*12=24, Resulting Numbers: [53, 24]
Generated Node #3: [53, 24] from Operation: 2*12=24
Current State: 77:[53, 24], Operations: ['81-69=12', '2*12=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[81, 69, 53, 2], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [53, 2, 12]
Generated Node #0,0: 77:[53, 2, 12] Operation: 81-69=12
Exploring Operation: 69-53=16, Resulting Numbers: [81, 2, 16]
Generated Node #0,1: 77:[81, 2, 16] Operation: 69-53=16
Moving to Node #0,1
Current State: 77:[81, 2, 16], Operations: ['69-53=16']
Exploring Operation: 16/2=8, Resulting Numbers: [81, 8]
Generated Node #0,1,0: 77:[81, 8] Operation: 16/2=8
Exploring Operation: 81-2=79, Resulting Numbers: [16, 79]
Generated Node #0,1,1: 77:[16, 79] Operation: 81-2=79
Moving to Node #0,0
Current State: 77:[53, 2, 12], Operations: ['81-69=12']
Exploring Operation: 53+2=55, Resulting Numbers: [12, 55]
Generated Node #0,0,0: 77:[12, 55] Operation: 53+2=55
Exploring Operation: 53+12=65, Resulting Numbers: [2, 65]
Generated Node #0,0,1: 77:[2, 65] Operation: 53+12=65
Moving to Node #0,1,0
Current State: 77:[81, 8], Operations: ['69-53=16', '16/2=8']
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,77 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[16, 79], Operations: ['69-53=16', '81-2=79']
Exploring Operation: 16+79=95, Resulting Numbers: [95]
95,77 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[2, 65], Operations: ['81-69=12', '53+12=65']
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[12, 55], Operations: ['81-69=12', '53+2=55']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,77 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
40,
81,
37,
41
] | 79 | [
"41-37=4",
"40*4=160",
"160-81=79"
] | Current State: 79:[40, 81, 37, 41], Operations: []
Exploring Operation: 41-37=4, Resulting Numbers: [40, 81, 4]
Generated Node #2: [40, 81, 4] from Operation: 41-37=4
Current State: 79:[40, 81, 4], Operations: ['41-37=4']
Exploring Operation: 40*4=160, Resulting Numbers: [81, 160]
Generated Node #3: [81, 160] from Operation: 40*4=160
Current State: 79:[81, 160], Operations: ['41-37=4', '40*4=160']
Exploring Operation: 160-81=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[40, 81, 37, 41], Operations: []
Exploring Operation: 37+41=78, Resulting Numbers: [40, 81, 78]
Generated Node #0,0: 79:[40, 81, 78] Operation: 37+41=78
Exploring Operation: 40+37=77, Resulting Numbers: [81, 41, 77]
Generated Node #0,1: 79:[81, 41, 77] Operation: 40+37=77
Exploring Operation: 40+41=81, Resulting Numbers: [81, 37, 81]
Generated Node #0,2: 79:[81, 37, 81] Operation: 40+41=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[40, 81, 78], Operations: ['37+41=78']
Exploring Operation: 40+78=118, Resulting Numbers: [81, 118]
Generated Node #0,0,0: 79:[81, 118] Operation: 40+78=118
Exploring Operation: 81-40=41, Resulting Numbers: [78, 41]
Generated Node #0,0,1: 79:[78, 41] Operation: 81-40=41
Exploring Operation: 40+81=121, Resulting Numbers: [78, 121]
Generated Node #0,0,2: 79:[78, 121] Operation: 40+81=121
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[78, 41], Operations: ['37+41=78', '81-40=41']
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 78*41=3198, Resulting Numbers: [3198]
3198,79 unequal: No Solution
Exploring Operation: 78+41=119, Resulting Numbers: [119]
119,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[81, 118], Operations: ['37+41=78', '40+78=118']
Exploring Operation: 81*118=9558, Resulting Numbers: [9558]
9558,79 unequal: No Solution
Exploring Operation: 81+118=199, Resulting Numbers: [199]
199,79 unequal: No Solution
Exploring Operation: 118-81=37, Resulting Numbers: [37]
37,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[78, 121], Operations: ['37+41=78', '40+81=121']
Exploring Operation: 121-78=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 78*121=9438, Resulting Numbers: [9438]
9438,79 unequal: No Solution
Exploring Operation: 78+121=199, Resulting Numbers: [199]
199,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[81, 41, 77], Operations: ['40+37=77']
Exploring Operation: 41+77=118, Resulting Numbers: [81, 118]
Generated Node #0,1,0: 79:[81, 118] Operation: 41+77=118
Exploring Operation: 81-41=40, Resulting Numbers: [77, 40]
Generated Node #0,1,1: 79:[77, 40] Operation: 81-41=40
Exploring Operation: 81+41=122, Resulting Numbers: [77, 122]
Generated Node #0,1,2: 79:[77, 122] Operation: 81+41=122
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[81, 118], Operations: ['40+37=77', '41+77=118']
Exploring Operation: 81*118=9558, Resulting Numbers: [9558]
9558,79 unequal: No Solution
Exploring Operation: 81+118=199, Resulting Numbers: [199]
199,79 unequal: No Solution
Exploring Operation: 118-81=37, Resulting Numbers: [37]
37,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[77, 40], Operations: ['40+37=77', '81-41=40']
Exploring Operation: 77+40=117, Resulting Numbers: [117]
117,79 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 77*40=3080, Resulting Numbers: [3080]
3080,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[77, 122], Operations: ['40+37=77', '81+41=122']
Exploring Operation: 122-77=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 77*122=9394, Resulting Numbers: [9394]
9394,79 unequal: No Solution
Exploring Operation: 77+122=199, Resulting Numbers: [199]
199,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[81, 37, 81], Operations: ['40+41=81']
Exploring Operation: 81-37=44, Resulting Numbers: [81, 44]
Generated Node #0,2,0: 79:[81, 44] Operation: 81-37=44
Exploring Operation: 81-37=44, Resulting Numbers: [81, 44]
Generated Node #0,2,1: 79:[81, 44] Operation: 81-37=44
Exploring Operation: 81+37=118, Resulting Numbers: [81, 118]
Generated Node #0,2,2: 79:[81, 118] Operation: 81+37=118
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[81, 44], Operations: ['40+41=81', '81-37=44']
Exploring Operation: 81+44=125, Resulting Numbers: [125]
125,79 unequal: No Solution
Exploring Operation: 81*44=3564, Resulting Numbers: [3564]
3564,79 unequal: No Solution
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[81, 44], Operations: ['40+41=81', '81-37=44']
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 81+44=125, Resulting Numbers: [125]
125,79 unequal: No Solution
Exploring Operation: 81*44=3564, Resulting Numbers: [3564]
3564,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[81, 118], Operations: ['40+41=81', '81+37=118']
Exploring Operation: 118-81=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 81*118=9558, Resulting Numbers: [9558]
9558,79 unequal: No Solution
Exploring Operation: 81+118=199, Resulting Numbers: [199]
199,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
98,
2,
95,
89
] | 94 | [
"98+2=100",
"95-89=6",
"100-6=94"
] | Current State: 94:[98, 2, 95, 89], Operations: []
Exploring Operation: 98+2=100, Resulting Numbers: [95, 89, 100]
Generated Node #2: [95, 89, 100] from Operation: 98+2=100
Current State: 94:[95, 89, 100], Operations: ['98+2=100']
Exploring Operation: 95-89=6, Resulting Numbers: [100, 6]
Generated Node #3: [100, 6] from Operation: 95-89=6
Current State: 94:[100, 6], Operations: ['98+2=100', '95-89=6']
Exploring Operation: 100-6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[98, 2, 95, 89], Operations: []
Exploring Operation: 98-2=96, Resulting Numbers: [95, 89, 96]
Generated Node #0,0: 94:[95, 89, 96] Operation: 98-2=96
Exploring Operation: 98/2=49, Resulting Numbers: [95, 89, 49]
Generated Node #0,1: 94:[95, 89, 49] Operation: 98/2=49
Exploring Operation: 2+89=91, Resulting Numbers: [98, 95, 91]
Generated Node #0,2: 94:[98, 95, 91] Operation: 2+89=91
Exploring Operation: 98-95=3, Resulting Numbers: [2, 89, 3]
Generated Node #0,3: 94:[2, 89, 3] Operation: 98-95=3
Exploring Operation: 98-89=9, Resulting Numbers: [2, 95, 9]
Generated Node #0,4: 94:[2, 95, 9] Operation: 98-89=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[2, 89, 3], Operations: ['98-95=3']
Exploring Operation: 2+3=5, Resulting Numbers: [89, 5]
Generated Node #0,3,0: 94:[89, 5] Operation: 2+3=5
Exploring Operation: 89-2=87, Resulting Numbers: [3, 87]
Generated Node #0,3,1: 94:[3, 87] Operation: 89-2=87
Exploring Operation: 2+89=91, Resulting Numbers: [3, 91]
Generated Node #0,3,2: 94:[3, 91] Operation: 2+89=91
Exploring Operation: 3-2=1, Resulting Numbers: [89, 1]
Generated Node #0,3,3: 94:[89, 1] Operation: 3-2=1
Exploring Operation: 89+3=92, Resulting Numbers: [2, 92]
Generated Node #0,3,4: 94:[2, 92] Operation: 89+3=92
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 94:[2, 92], Operations: ['98-95=3', '89+3=92']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[98, 2, 95, 89], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [2, 89, 3]
Generated Node #0,3: 94:[2, 89, 3] Operation: 98-95=3
Moving to Node #0,3
Current State: 94:[2, 89, 3], Operations: ['98-95=3']
Exploring Operation: 89+3=92, Resulting Numbers: [2, 92]
Generated Node #0,3,4: 94:[2, 92] Operation: 89+3=92
Moving to Node #0,3,4
Current State: 94:[2, 92], Operations: ['98-95=3', '89+3=92']
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
42,
3,
14,
32
] | 87 | [
"42/14=3",
"32-3=29",
"3*29=87"
] | Current State: 87:[42, 3, 14, 32], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [3, 32, 3]
Generated Node #2: [3, 32, 3] from Operation: 42/14=3
Current State: 87:[3, 32, 3], Operations: ['42/14=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 equal: Goal Reached
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[42, 3, 14, 32], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [3, 32, 3]
Generated Node #0,0: 87:[3, 32, 3] Operation: 42/14=3
Moving to Node #0,0
Current State: 87:[3, 32, 3], Operations: ['42/14=3']
Exploring Operation: 32-3=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 87:[3, 29] Operation: 32-3=29
Moving to Node #0,0,0
Current State: 87:[3, 29], Operations: ['42/14=3', '32-3=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[42, 3, 14, 32], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [3, 32, 3]
Generated Node #0,0: 87:[3, 32, 3] Operation: 42/14=3
Moving to Node #0,0
Current State: 87:[3, 32, 3], Operations: ['42/14=3']
Exploring Operation: 32-3=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 87:[3, 29] Operation: 32-3=29
Moving to Node #0,0,0
Current State: 87:[3, 29], Operations: ['42/14=3', '32-3=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
42,
2,
91,
30
] | 68 | [
"91-42=49",
"2*49=98",
"98-30=68"
] | Current State: 68:[42, 2, 91, 30], Operations: []
Exploring Operation: 91-42=49, Resulting Numbers: [2, 30, 49]
Generated Node #2: [2, 30, 49] from Operation: 91-42=49
Current State: 68:[2, 30, 49], Operations: ['91-42=49']
Exploring Operation: 2*49=98, Resulting Numbers: [30, 98]
Generated Node #3: [30, 98] from Operation: 2*49=98
Current State: 68:[30, 98], Operations: ['91-42=49', '2*49=98']
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[42, 2, 91, 30], Operations: []
Exploring Operation: 91-30=61, Resulting Numbers: [42, 2, 61]
Generated Node #0,0: 68:[42, 2, 61] Operation: 91-30=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[42, 2, 61], Operations: ['91-30=61']
Exploring Operation: 61-42=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 68:[2, 19] Operation: 61-42=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[2, 19], Operations: ['91-30=61', '61-42=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
32,
17,
7,
38
] | 67 | [
"32-17=15",
"7*15=105",
"105-38=67"
] | Current State: 67:[32, 17, 7, 38], Operations: []
Exploring Operation: 32-17=15, Resulting Numbers: [7, 38, 15]
Generated Node #2: [7, 38, 15] from Operation: 32-17=15
Current State: 67:[7, 38, 15], Operations: ['32-17=15']
Exploring Operation: 7*15=105, Resulting Numbers: [38, 105]
Generated Node #3: [38, 105] from Operation: 7*15=105
Current State: 67:[38, 105], Operations: ['32-17=15', '7*15=105']
Exploring Operation: 105-38=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[32, 17, 7, 38], Operations: []
Exploring Operation: 32+7=39, Resulting Numbers: [17, 38, 39]
Generated Node #0,0: 67:[17, 38, 39] Operation: 32+7=39
Exploring Operation: 17+7=24, Resulting Numbers: [32, 38, 24]
Generated Node #0,1: 67:[32, 38, 24] Operation: 17+7=24
Exploring Operation: 32+17=49, Resulting Numbers: [7, 38, 49]
Generated Node #0,2: 67:[7, 38, 49] Operation: 32+17=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[17, 38, 39], Operations: ['32+7=39']
Exploring Operation: 17+39=56, Resulting Numbers: [38, 56]
Generated Node #0,0,0: 67:[38, 56] Operation: 17+39=56
Exploring Operation: 38+39=77, Resulting Numbers: [17, 77]
Generated Node #0,0,1: 67:[17, 77] Operation: 38+39=77
Exploring Operation: 17+38=55, Resulting Numbers: [39, 55]
Generated Node #0,0,2: 67:[39, 55] Operation: 17+38=55
Moving to Node #0,0,0
Current State: 67:[38, 56], Operations: ['32+7=39', '17+39=56']
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,67 unequal: No Solution
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[39, 55], Operations: ['32+7=39', '17+38=55']
Exploring Operation: 39*55=2145, Resulting Numbers: [2145]
2145,67 unequal: No Solution
Exploring Operation: 39+55=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 55-39=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[17, 77], Operations: ['32+7=39', '38+39=77']
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Exploring Operation: 17*77=1309, Resulting Numbers: [1309]
1309,67 unequal: No Solution
Exploring Operation: 17+77=94, Resulting Numbers: [94]
94,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[32, 38, 24], Operations: ['17+7=24']
Exploring Operation: 32+24=56, Resulting Numbers: [38, 56]
Generated Node #0,1,0: 67:[38, 56] Operation: 32+24=56
Exploring Operation: 32+38=70, Resulting Numbers: [24, 70]
Generated Node #0,1,1: 67:[24, 70] Operation: 32+38=70
Exploring Operation: 38+24=62, Resulting Numbers: [32, 62]
Generated Node #0,1,2: 67:[32, 62] Operation: 38+24=62
Moving to Node #0,1,0
Current State: 67:[38, 56], Operations: ['17+7=24', '32+24=56']
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,67 unequal: No Solution
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[32, 62], Operations: ['17+7=24', '38+24=62']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,67 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[24, 70], Operations: ['17+7=24', '32+38=70']
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,67 unequal: No Solution
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[7, 38, 49], Operations: ['32+17=49']
Exploring Operation: 7+49=56, Resulting Numbers: [38, 56]
Generated Node #0,2,0: 67:[38, 56] Operation: 7+49=56
Exploring Operation: 38-7=31, Resulting Numbers: [49, 31]
Generated Node #0,2,1: 67:[49, 31] Operation: 38-7=31
Exploring Operation: 7+38=45, Resulting Numbers: [49, 45]
Generated Node #0,2,2: 67:[49, 45] Operation: 7+38=45
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[38, 56], Operations: ['32+17=49', '7+49=56']
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,67 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[49, 45], Operations: ['32+17=49', '7+38=45']
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 49*45=2205, Resulting Numbers: [2205]
2205,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[49, 31], Operations: ['32+17=49', '38-7=31']
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
18,
39,
85,
53
] | 81 | [
"18+39=57",
"85+53=138",
"138-57=81"
] | Current State: 81:[18, 39, 85, 53], Operations: []
Exploring Operation: 18+39=57, Resulting Numbers: [85, 53, 57]
Generated Node #2: [85, 53, 57] from Operation: 18+39=57
Current State: 81:[85, 53, 57], Operations: ['18+39=57']
Exploring Operation: 85+53=138, Resulting Numbers: [57, 138]
Generated Node #3: [57, 138] from Operation: 85+53=138
Current State: 81:[57, 138], Operations: ['18+39=57', '85+53=138']
Exploring Operation: 138-57=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[18, 39, 85, 53], Operations: []
Exploring Operation: 53-39=14, Resulting Numbers: [18, 85, 14]
Generated Node #0,0: 81:[18, 85, 14] Operation: 53-39=14
Moving to Node #0,0
Current State: 81:[18, 85, 14], Operations: ['53-39=14']
Exploring Operation: 18-14=4, Resulting Numbers: [85, 4]
Generated Node #0,0,0: 81:[85, 4] Operation: 18-14=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[85, 4], Operations: ['53-39=14', '18-14=4']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[18, 39, 85, 53], Operations: []
Exploring Operation: 53-39=14, Resulting Numbers: [18, 85, 14]
Generated Node #0,0: 81:[18, 85, 14] Operation: 53-39=14
Moving to Node #0,0
Current State: 81:[18, 85, 14], Operations: ['53-39=14']
Exploring Operation: 18-14=4, Resulting Numbers: [85, 4]
Generated Node #0,0,0: 81:[85, 4] Operation: 18-14=4
Moving to Node #0,0,0
Current State: 81:[85, 4], Operations: ['53-39=14', '18-14=4']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.