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 |
|---|---|---|---|---|---|---|---|---|
[
16,
5,
46,
44
] | 90 | [
"16+46=62",
"62-44=18",
"5*18=90"
] | Current State: 90:[16, 5, 46, 44], Operations: []
Exploring Operation: 16+46=62, Resulting Numbers: [5, 44, 62]
Generated Node #2: [5, 44, 62] from Operation: 16+46=62
Current State: 90:[5, 44, 62], Operations: ['16+46=62']
Exploring Operation: 62-44=18, Resulting Numbers: [5, 18]
Generated Node #3: [5, 18] from Operation: 62-44=18
Current State: 90:[5, 18], Operations: ['16+46=62', '62-44=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[16, 5, 46, 44], Operations: []
Exploring Operation: 46+44=90, Resulting Numbers: [16, 5, 90]
Generated Node #0,0: 90:[16, 5, 90] Operation: 46+44=90
Exploring Operation: 16-5=11, Resulting Numbers: [46, 44, 11]
Generated Node #0,1: 90:[46, 44, 11] Operation: 16-5=11
Exploring Operation: 46-16=30, Resulting Numbers: [5, 44, 30]
Generated Node #0,2: 90:[5, 44, 30] Operation: 46-16=30
Exploring Operation: 46-44=2, Resulting Numbers: [16, 5, 2]
Generated Node #0,3: 90:[16, 5, 2] Operation: 46-44=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[16, 5, 90], Operations: ['46+44=90']
Exploring Operation: 16+5=21, Resulting Numbers: [90, 21]
Generated Node #0,0,0: 90:[90, 21] Operation: 16+5=21
Exploring Operation: 5+90=95, Resulting Numbers: [16, 95]
Generated Node #0,0,1: 90:[16, 95] Operation: 5+90=95
Exploring Operation: 16-5=11, Resulting Numbers: [90, 11]
Generated Node #0,0,2: 90:[90, 11] Operation: 16-5=11
Exploring Operation: 90/5=18, Resulting Numbers: [16, 18]
Generated Node #0,0,3: 90:[16, 18] Operation: 90/5=18
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[90, 11], Operations: ['46+44=90', '16-5=11']
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Exploring Operation: 90*11=990, Resulting Numbers: [990]
990,90 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[16, 18], Operations: ['46+44=90', '90/5=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,90 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[90, 21], Operations: ['46+44=90', '16+5=21']
Exploring Operation: 90*21=1890, Resulting Numbers: [1890]
1890,90 unequal: No Solution
Exploring Operation: 90+21=111, Resulting Numbers: [111]
111,90 unequal: No Solution
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[16, 95], Operations: ['46+44=90', '5+90=95']
Exploring Operation: 16*95=1520, Resulting Numbers: [1520]
1520,90 unequal: No Solution
Exploring Operation: 16+95=111, Resulting Numbers: [111]
111,90 unequal: No Solution
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[5, 44, 30], Operations: ['46-16=30']
Exploring Operation: 44-30=14, Resulting Numbers: [5, 14]
Generated Node #0,2,0: 90:[5, 14] Operation: 44-30=14
Exploring Operation: 30/5=6, Resulting Numbers: [44, 6]
Generated Node #0,2,1: 90:[44, 6] Operation: 30/5=6
Exploring Operation: 44-5=39, Resulting Numbers: [30, 39]
Generated Node #0,2,2: 90:[30, 39] Operation: 44-5=39
Exploring Operation: 5+44=49, Resulting Numbers: [30, 49]
Generated Node #0,2,3: 90:[30, 49] Operation: 5+44=49
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[5, 14], Operations: ['46-16=30', '44-30=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[44, 6], Operations: ['46-16=30', '30/5=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 90:[30, 49], Operations: ['46-16=30', '5+44=49']
Exploring Operation: 30*49=1470, Resulting Numbers: [1470]
1470,90 unequal: No Solution
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,90 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[30, 39], Operations: ['46-16=30', '44-5=39']
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 30+39=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 30*39=1170, Resulting Numbers: [1170]
1170,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[16, 5, 2], Operations: ['46-44=2']
Exploring Operation: 16+2=18, Resulting Numbers: [5, 18]
Generated Node #0,3,0: 90:[5, 18] Operation: 16+2=18
Exploring Operation: 16-5=11, Resulting Numbers: [2, 11]
Generated Node #0,3,1: 90:[2, 11] Operation: 16-5=11
Exploring Operation: 16/2=8, Resulting Numbers: [5, 8]
Generated Node #0,3,2: 90:[5, 8] Operation: 16/2=8
Exploring Operation: 16-2=14, Resulting Numbers: [5, 14]
Generated Node #0,3,3: 90:[5, 14] Operation: 16-2=14
Moving to Node #0,3,0
Current State: 90:[5, 18], Operations: ['46-44=2', '16+2=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[16, 5, 46, 44], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [16, 5, 2]
Generated Node #0,3: 90:[16, 5, 2] Operation: 46-44=2
Moving to Node #0,3
Current State: 90:[16, 5, 2], Operations: ['46-44=2']
Exploring Operation: 16+2=18, Resulting Numbers: [5, 18]
Generated Node #0,3,0: 90:[5, 18] Operation: 16+2=18
Moving to Node #0,3,0
Current State: 90:[5, 18], Operations: ['46-44=2', '16+2=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_4 | mult_heuristic |
[
16,
82,
28,
11
] | 83 | [
"82-16=66",
"28-11=17",
"66+17=83"
] | Current State: 83:[16, 82, 28, 11], Operations: []
Exploring Operation: 82-16=66, Resulting Numbers: [28, 11, 66]
Generated Node #2: [28, 11, 66] from Operation: 82-16=66
Current State: 83:[28, 11, 66], Operations: ['82-16=66']
Exploring Operation: 28-11=17, Resulting Numbers: [66, 17]
Generated Node #3: [66, 17] from Operation: 28-11=17
Current State: 83:[66, 17], Operations: ['82-16=66', '28-11=17']
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[16, 82, 28, 11], Operations: []
Exploring Operation: 28+11=39, Resulting Numbers: [16, 82, 39]
Generated Node #0,0: 83:[16, 82, 39] Operation: 28+11=39
Exploring Operation: 16+11=27, Resulting Numbers: [82, 28, 27]
Generated Node #0,1: 83:[82, 28, 27] Operation: 16+11=27
Exploring Operation: 16+28=44, Resulting Numbers: [82, 11, 44]
Generated Node #0,2: 83:[82, 11, 44] Operation: 16+28=44
Moving to Node #0,0
Current State: 83:[16, 82, 39], Operations: ['28+11=39']
Exploring Operation: 16+82=98, Resulting Numbers: [39, 98]
Generated Node #0,0,0: 83:[39, 98] Operation: 16+82=98
Exploring Operation: 16+39=55, Resulting Numbers: [82, 55]
Generated Node #0,0,1: 83:[82, 55] Operation: 16+39=55
Exploring Operation: 82-16=66, Resulting Numbers: [39, 66]
Generated Node #0,0,2: 83:[39, 66] Operation: 82-16=66
Moving to Node #0,1
Current State: 83:[82, 28, 27], Operations: ['16+11=27']
Exploring Operation: 82+27=109, Resulting Numbers: [28, 109]
Generated Node #0,1,0: 83:[28, 109] Operation: 82+27=109
Exploring Operation: 28+27=55, Resulting Numbers: [82, 55]
Generated Node #0,1,1: 83:[82, 55] Operation: 28+27=55
Exploring Operation: 82+28=110, Resulting Numbers: [27, 110]
Generated Node #0,1,2: 83:[27, 110] Operation: 82+28=110
Moving to Node #0,2
Current State: 83:[82, 11, 44], Operations: ['16+28=44']
Exploring Operation: 82+11=93, Resulting Numbers: [44, 93]
Generated Node #0,2,0: 83:[44, 93] Operation: 82+11=93
Exploring Operation: 11+44=55, Resulting Numbers: [82, 55]
Generated Node #0,2,1: 83:[82, 55] Operation: 11+44=55
Exploring Operation: 82-11=71, Resulting Numbers: [44, 71]
Generated Node #0,2,2: 83:[44, 71] Operation: 82-11=71
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[82, 55], Operations: ['16+28=44', '11+44=55']
Exploring Operation: 82+55=137, Resulting Numbers: [137]
137,83 unequal: No Solution
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 82*55=4510, Resulting Numbers: [4510]
4510,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[44, 93], Operations: ['16+28=44', '82+11=93']
Exploring Operation: 44+93=137, Resulting Numbers: [137]
137,83 unequal: No Solution
Exploring Operation: 44*93=4092, Resulting Numbers: [4092]
4092,83 unequal: No Solution
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[44, 71], Operations: ['16+28=44', '82-11=71']
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 44*71=3124, Resulting Numbers: [3124]
3124,83 unequal: No Solution
Exploring Operation: 44+71=115, Resulting Numbers: [115]
115,83 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: 83:[82, 55], Operations: ['28+11=39', '16+39=55']
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 82+55=137, Resulting Numbers: [137]
137,83 unequal: No Solution
Exploring Operation: 82*55=4510, Resulting Numbers: [4510]
4510,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[82, 55], Operations: ['16+11=27', '28+27=55']
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 82*55=4510, Resulting Numbers: [4510]
4510,83 unequal: No Solution
Exploring Operation: 82+55=137, Resulting Numbers: [137]
137,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[39, 98], Operations: ['28+11=39', '16+82=98']
Exploring Operation: 39*98=3822, Resulting Numbers: [3822]
3822,83 unequal: No Solution
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 39+98=137, Resulting Numbers: [137]
137,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[39, 66], Operations: ['28+11=39', '82-16=66']
Exploring Operation: 39*66=2574, Resulting Numbers: [2574]
2574,83 unequal: No Solution
Exploring Operation: 66-39=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 39+66=105, Resulting Numbers: [105]
105,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[28, 109], Operations: ['16+11=27', '82+27=109']
Exploring Operation: 28*109=3052, Resulting Numbers: [3052]
3052,83 unequal: No Solution
Exploring Operation: 109-28=81, Resulting Numbers: [81]
81,83 unequal: No Solution
Exploring Operation: 28+109=137, Resulting Numbers: [137]
137,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[27, 110], Operations: ['16+11=27', '82+28=110']
Exploring Operation: 27*110=2970, Resulting Numbers: [2970]
2970,83 unequal: No Solution
Exploring Operation: 27+110=137, Resulting Numbers: [137]
137,83 unequal: No Solution
Exploring Operation: 110-27=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[16, 82, 28, 11], Operations: []
Exploring Operation: 16+11=27, Resulting Numbers: [82, 28, 27]
Generated Node #0,1: 83:[82, 28, 27] Operation: 16+11=27
Moving to Node #0,1
Current State: 83:[82, 28, 27], Operations: ['16+11=27']
Exploring Operation: 82+28=110, Resulting Numbers: [27, 110]
Generated Node #0,1,2: 83:[27, 110] Operation: 82+28=110
Moving to Node #0,1,2
Current State: 83:[27, 110], Operations: ['16+11=27', '82+28=110']
Exploring Operation: 110-27=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.962674 | hs_3 | sum_heuristic |
[
60,
20,
4,
15
] | 69 | [
"60+20=80",
"15-4=11",
"80-11=69"
] | Current State: 69:[60, 20, 4, 15], Operations: []
Exploring Operation: 60+20=80, Resulting Numbers: [4, 15, 80]
Generated Node #2: [4, 15, 80] from Operation: 60+20=80
Current State: 69:[4, 15, 80], Operations: ['60+20=80']
Exploring Operation: 15-4=11, Resulting Numbers: [80, 11]
Generated Node #3: [80, 11] from Operation: 15-4=11
Current State: 69:[80, 11], Operations: ['60+20=80', '15-4=11']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[60, 20, 4, 15], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [20, 4, 4]
Generated Node #0,0: 69:[20, 4, 4] Operation: 60/15=4
Exploring Operation: 60/20=3, Resulting Numbers: [4, 15, 3]
Generated Node #0,1: 69:[4, 15, 3] Operation: 60/20=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[20, 4, 4], Operations: ['60/15=4']
Exploring Operation: 20+4=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 69:[4, 24] Operation: 20+4=24
Exploring Operation: 20+4=24, Resulting Numbers: [4, 24]
Generated Node #0,0,1: 69:[4, 24] Operation: 20+4=24
Moving to Node #0,0,0
Current State: 69:[4, 24], Operations: ['60/15=4', '20+4=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[4, 24], Operations: ['60/15=4', '20+4=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[4, 15, 3], Operations: ['60/20=3']
Exploring Operation: 4+15=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 69:[3, 19] Operation: 4+15=19
Exploring Operation: 15/3=5, Resulting Numbers: [4, 5]
Generated Node #0,1,1: 69:[4, 5] Operation: 15/3=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[4, 5], Operations: ['60/20=3', '15/3=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No 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: 69:[3, 19], Operations: ['60/20=3', '4+15=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,69 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 |
[
19,
89,
22,
21
] | 95 | [
"89+21=110",
"19*110=2090",
"2090/22=95"
] | Current State: 95:[19, 89, 22, 21], Operations: []
Exploring Operation: 89+21=110, Resulting Numbers: [19, 22, 110]
Generated Node #2: [19, 22, 110] from Operation: 89+21=110
Current State: 95:[19, 22, 110], Operations: ['89+21=110']
Exploring Operation: 19*110=2090, Resulting Numbers: [22, 2090]
Generated Node #3: [22, 2090] from Operation: 19*110=2090
Current State: 95:[22, 2090], Operations: ['89+21=110', '19*110=2090']
Exploring Operation: 2090/22=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[19, 89, 22, 21], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [89, 22, 2]
Generated Node #0,0: 95:[89, 22, 2] Operation: 21-19=2
Exploring Operation: 22-19=3, Resulting Numbers: [89, 21, 3]
Generated Node #0,1: 95:[89, 21, 3] Operation: 22-19=3
Exploring Operation: 22-21=1, Resulting Numbers: [19, 89, 1]
Generated Node #0,2: 95:[19, 89, 1] Operation: 22-21=1
Moving to Node #0,1
Current State: 95:[89, 21, 3], Operations: ['22-19=3']
Exploring Operation: 21/3=7, Resulting Numbers: [89, 7]
Generated Node #0,1,0: 95:[89, 7] Operation: 21/3=7
Exploring Operation: 89+3=92, Resulting Numbers: [21, 92]
Generated Node #0,1,1: 95:[21, 92] Operation: 89+3=92
Exploring Operation: 21-3=18, Resulting Numbers: [89, 18]
Generated Node #0,1,2: 95:[89, 18] Operation: 21-3=18
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[21, 92], Operations: ['22-19=3', '89+3=92']
Exploring Operation: 21*92=1932, Resulting Numbers: [1932]
1932,95 unequal: No Solution
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,95 unequal: No Solution
Exploring Operation: 21+92=113, Resulting Numbers: [113]
113,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,1,2
Current State: 95:[89, 18], Operations: ['22-19=3', '21-3=18']
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,95 unequal: No Solution
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,95 unequal: No Solution
Exploring Operation: 89*18=1602, Resulting Numbers: [1602]
1602,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,1,0
Current State: 95:[89, 7], Operations: ['22-19=3', '21/3=7']
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,95 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,95 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: 95:[19, 89, 1], Operations: ['22-21=1']
Exploring Operation: 19*1=19, Resulting Numbers: [89, 19]
Generated Node #0,2,0: 95:[89, 19] Operation: 19*1=19
Exploring Operation: 89+1=90, Resulting Numbers: [19, 90]
Generated Node #0,2,1: 95:[19, 90] Operation: 89+1=90
Exploring Operation: 19/1=19, Resulting Numbers: [89, 19]
Generated Node #0,2,2: 95:[89, 19] Operation: 19/1=19
Moving to Node #0,0
Current State: 95:[89, 22, 2], Operations: ['21-19=2']
Exploring Operation: 89+2=91, Resulting Numbers: [22, 91]
Generated Node #0,0,0: 95:[22, 91] Operation: 89+2=91
Exploring Operation: 89-2=87, Resulting Numbers: [22, 87]
Generated Node #0,0,1: 95:[22, 87] Operation: 89-2=87
Exploring Operation: 22-2=20, Resulting Numbers: [89, 20]
Generated Node #0,0,2: 95:[89, 20] Operation: 22-2=20
Moving to Node #0,2,1
Current State: 95:[19, 90], Operations: ['22-21=1', '89+1=90']
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,95 unequal: No Solution
Exploring Operation: 19*90=1710, Resulting Numbers: [1710]
1710,95 unequal: No Solution
Exploring Operation: 19+90=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[89, 19], Operations: ['22-21=1', '19/1=19']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,95 unequal: No Solution
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,95 unequal: No Solution
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[89, 19], Operations: ['22-21=1', '19*1=19']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,95 unequal: No Solution
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,95 unequal: No Solution
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[22, 91], Operations: ['21-19=2', '89+2=91']
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 22*91=2002, Resulting Numbers: [2002]
2002,95 unequal: No Solution
Exploring Operation: 22+91=113, Resulting Numbers: [113]
113,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[89, 20], Operations: ['21-19=2', '22-2=20']
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,95 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[22, 87], Operations: ['21-19=2', '89-2=87']
Exploring Operation: 22*87=1914, Resulting Numbers: [1914]
1914,95 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,95 unequal: No Solution
Exploring Operation: 22+87=109, Resulting Numbers: [109]
109,95 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
33,
37,
69,
2
] | 61 | [
"37-33=4",
"2*4=8",
"69-8=61"
] | Current State: 61:[33, 37, 69, 2], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [69, 2, 4]
Generated Node #2: [69, 2, 4] from Operation: 37-33=4
Current State: 61:[69, 2, 4], Operations: ['37-33=4']
Exploring Operation: 2*4=8, Resulting Numbers: [69, 8]
Generated Node #3: [69, 8] from Operation: 2*4=8
Current State: 61:[69, 8], Operations: ['37-33=4', '2*4=8']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[33, 37, 69, 2], Operations: []
Exploring Operation: 37*2=74, Resulting Numbers: [33, 69, 74]
Generated Node #0,0: 61:[33, 69, 74] Operation: 37*2=74
Exploring Operation: 33*2=66, Resulting Numbers: [37, 69, 66]
Generated Node #0,1: 61:[37, 69, 66] Operation: 33*2=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[37, 69, 66], Operations: ['33*2=66']
Exploring Operation: 69-37=32, Resulting Numbers: [66, 32]
Generated Node #0,1,0: 61:[66, 32] Operation: 69-37=32
Exploring Operation: 66-37=29, Resulting Numbers: [69, 29]
Generated Node #0,1,1: 61:[69, 29] Operation: 66-37=29
Moving to Node #0,1,0
Current State: 61:[66, 32], Operations: ['33*2=66', '69-37=32']
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[69, 29], Operations: ['33*2=66', '66-37=29']
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,61 unequal: No Solution
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[33, 69, 74], Operations: ['37*2=74']
Exploring Operation: 74-33=41, Resulting Numbers: [69, 41]
Generated Node #0,0,0: 61:[69, 41] Operation: 74-33=41
Exploring Operation: 69-33=36, Resulting Numbers: [74, 36]
Generated Node #0,0,1: 61:[74, 36] Operation: 69-33=36
Moving to Node #0,0,0
Current State: 61:[69, 41], Operations: ['37*2=74', '74-33=41']
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Exploring Operation: 69+41=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[74, 36], Operations: ['37*2=74', '69-33=36']
Exploring Operation: 74+36=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,61 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 |
[
68,
42,
71,
7
] | 32 | [
"68+42=110",
"71+7=78",
"110-78=32"
] | Current State: 32:[68, 42, 71, 7], Operations: []
Exploring Operation: 68+42=110, Resulting Numbers: [71, 7, 110]
Generated Node #2: [71, 7, 110] from Operation: 68+42=110
Current State: 32:[71, 7, 110], Operations: ['68+42=110']
Exploring Operation: 71+7=78, Resulting Numbers: [110, 78]
Generated Node #3: [110, 78] from Operation: 71+7=78
Current State: 32:[110, 78], Operations: ['68+42=110', '71+7=78']
Exploring Operation: 110-78=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[68, 42, 71, 7], Operations: []
Exploring Operation: 68-42=26, Resulting Numbers: [71, 7, 26]
Generated Node #0,0: 32:[71, 7, 26] Operation: 68-42=26
Exploring Operation: 71-42=29, Resulting Numbers: [68, 7, 29]
Generated Node #0,1: 32:[68, 7, 29] Operation: 71-42=29
Exploring Operation: 71-68=3, Resulting Numbers: [42, 7, 3]
Generated Node #0,2: 32:[42, 7, 3] Operation: 71-68=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[42, 7, 3], Operations: ['71-68=3']
Exploring Operation: 42/7=6, Resulting Numbers: [3, 6]
Generated Node #0,2,0: 32:[3, 6] Operation: 42/7=6
Exploring Operation: 42-7=35, Resulting Numbers: [3, 35]
Generated Node #0,2,1: 32:[3, 35] Operation: 42-7=35
Exploring Operation: 42/3=14, Resulting Numbers: [7, 14]
Generated Node #0,2,2: 32:[7, 14] Operation: 42/3=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[3, 6], Operations: ['71-68=3', '42/7=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,32 unequal: No Solution
No 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: 32:[7, 14], Operations: ['71-68=3', '42/3=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,32 unequal: No Solution
No 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: 32:[3, 35], Operations: ['71-68=3', '42-7=35']
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,32 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[68, 42, 71, 7], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [42, 7, 3]
Generated Node #0,2: 32:[42, 7, 3] Operation: 71-68=3
Moving to Node #0,2
Current State: 32:[42, 7, 3], Operations: ['71-68=3']
Exploring Operation: 42-7=35, Resulting Numbers: [3, 35]
Generated Node #0,2,1: 32:[3, 35] Operation: 42-7=35
Moving to Node #0,2,1
Current State: 32:[3, 35], Operations: ['71-68=3', '42-7=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
3,
9,
19,
59
] | 72 | [
"9-3=6",
"19+59=78",
"78-6=72"
] | Current State: 72:[3, 9, 19, 59], Operations: []
Exploring Operation: 9-3=6, Resulting Numbers: [19, 59, 6]
Generated Node #2: [19, 59, 6] from Operation: 9-3=6
Current State: 72:[19, 59, 6], Operations: ['9-3=6']
Exploring Operation: 19+59=78, Resulting Numbers: [6, 78]
Generated Node #3: [6, 78] from Operation: 19+59=78
Current State: 72:[6, 78], Operations: ['9-3=6', '19+59=78']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[3, 9, 19, 59], Operations: []
Exploring Operation: 19+59=78, Resulting Numbers: [3, 9, 78]
Generated Node #0,0: 72:[3, 9, 78] Operation: 19+59=78
Exploring Operation: 9+59=68, Resulting Numbers: [3, 19, 68]
Generated Node #0,1: 72:[3, 19, 68] Operation: 9+59=68
Exploring Operation: 59-19=40, Resulting Numbers: [3, 9, 40]
Generated Node #0,2: 72:[3, 9, 40] Operation: 59-19=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[3, 9, 40], Operations: ['59-19=40']
Exploring Operation: 40-3=37, Resulting Numbers: [9, 37]
Generated Node #0,2,0: 72:[9, 37] Operation: 40-3=37
Exploring Operation: 3+9=12, Resulting Numbers: [40, 12]
Generated Node #0,2,1: 72:[40, 12] Operation: 3+9=12
Exploring Operation: 9-3=6, Resulting Numbers: [40, 6]
Generated Node #0,2,2: 72:[40, 6] Operation: 9-3=6
Moving to Node #0,2,0
Current State: 72:[9, 37], Operations: ['59-19=40', '40-3=37']
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,72 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[40, 12], Operations: ['59-19=40', '3+9=12']
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[40, 6], Operations: ['59-19=40', '9-3=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,72 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[3, 19, 68], Operations: ['9+59=68']
Exploring Operation: 3+19=22, Resulting Numbers: [68, 22]
Generated Node #0,1,0: 72:[68, 22] Operation: 3+19=22
Exploring Operation: 3+68=71, Resulting Numbers: [19, 71]
Generated Node #0,1,1: 72:[19, 71] Operation: 3+68=71
Exploring Operation: 19-3=16, Resulting Numbers: [68, 16]
Generated Node #0,1,2: 72:[68, 16] Operation: 19-3=16
Moving to Node #0,1,1
Current State: 72:[19, 71], Operations: ['9+59=68', '3+68=71']
Exploring Operation: 19*71=1349, Resulting Numbers: [1349]
1349,72 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 19+71=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[68, 22], Operations: ['9+59=68', '3+19=22']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,72 unequal: No Solution
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[68, 16], Operations: ['9+59=68', '19-3=16']
Exploring Operation: 68+16=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 68*16=1088, Resulting Numbers: [1088]
1088,72 unequal: No Solution
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[3, 9, 78], Operations: ['19+59=78']
Exploring Operation: 78-9=69, Resulting Numbers: [3, 69]
Generated Node #0,0,0: 72:[3, 69] Operation: 78-9=69
Exploring Operation: 78/3=26, Resulting Numbers: [9, 26]
Generated Node #0,0,1: 72:[9, 26] Operation: 78/3=26
Exploring Operation: 78-3=75, Resulting Numbers: [9, 75]
Generated Node #0,0,2: 72:[9, 75] Operation: 78-3=75
Moving to Node #0,0,1
Current State: 72:[9, 26], Operations: ['19+59=78', '78/3=26']
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[3, 69], Operations: ['19+59=78', '78-9=69']
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[3, 9, 19, 59], Operations: []
Exploring Operation: 19+59=78, Resulting Numbers: [3, 9, 78]
Generated Node #0,0: 72:[3, 9, 78] Operation: 19+59=78
Moving to Node #0,0
Current State: 72:[3, 9, 78], Operations: ['19+59=78']
Exploring Operation: 78-9=69, Resulting Numbers: [3, 69]
Generated Node #0,0,0: 72:[3, 69] Operation: 78-9=69
Moving to Node #0,0,0
Current State: 72:[3, 69], Operations: ['19+59=78', '78-9=69']
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_3 | mult_heuristic |
[
19,
8,
94,
15
] | 62 | [
"19-15=4",
"8*4=32",
"94-32=62"
] | Current State: 62:[19, 8, 94, 15], Operations: []
Exploring Operation: 19-15=4, Resulting Numbers: [8, 94, 4]
Generated Node #2: [8, 94, 4] from Operation: 19-15=4
Current State: 62:[8, 94, 4], Operations: ['19-15=4']
Exploring Operation: 8*4=32, Resulting Numbers: [94, 32]
Generated Node #3: [94, 32] from Operation: 8*4=32
Current State: 62:[94, 32], Operations: ['19-15=4', '8*4=32']
Exploring Operation: 94-32=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[19, 8, 94, 15], Operations: []
Exploring Operation: 94-15=79, Resulting Numbers: [19, 8, 79]
Generated Node #0,0: 62:[19, 8, 79] Operation: 94-15=79
Exploring Operation: 19-15=4, Resulting Numbers: [8, 94, 4]
Generated Node #0,1: 62:[8, 94, 4] Operation: 19-15=4
Exploring Operation: 94-19=75, Resulting Numbers: [8, 15, 75]
Generated Node #0,2: 62:[8, 15, 75] Operation: 94-19=75
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[8, 15, 75], Operations: ['94-19=75']
Exploring Operation: 15-8=7, Resulting Numbers: [75, 7]
Generated Node #0,2,0: 62:[75, 7] Operation: 15-8=7
Exploring Operation: 75/15=5, Resulting Numbers: [8, 5]
Generated Node #0,2,1: 62:[8, 5] Operation: 75/15=5
Exploring Operation: 75-15=60, Resulting Numbers: [8, 60]
Generated Node #0,2,2: 62:[8, 60] Operation: 75-15=60
Moving to Node #0,2,2
Current State: 62:[8, 60], Operations: ['94-19=75', '75-15=60']
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,62 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[8, 5], Operations: ['94-19=75', '75/15=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[75, 7], Operations: ['94-19=75', '15-8=7']
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,62 unequal: No Solution
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[19, 8, 79], Operations: ['94-15=79']
Exploring Operation: 79-8=71, Resulting Numbers: [19, 71]
Generated Node #0,0,0: 62:[19, 71] Operation: 79-8=71
Exploring Operation: 19+8=27, Resulting Numbers: [79, 27]
Generated Node #0,0,1: 62:[79, 27] Operation: 19+8=27
Exploring Operation: 79-19=60, Resulting Numbers: [8, 60]
Generated Node #0,0,2: 62:[8, 60] Operation: 79-19=60
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 62:[8, 60], Operations: ['94-15=79', '79-19=60']
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,62 unequal: No Solution
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,62 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,62 unequal: No Solution
No 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: 62:[19, 71], Operations: ['94-15=79', '79-8=71']
Exploring Operation: 19*71=1349, Resulting Numbers: [1349]
1349,62 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 19+71=90, Resulting Numbers: [90]
90,62 unequal: No Solution
No 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: 62:[79, 27], Operations: ['94-15=79', '19+8=27']
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,62 unequal: No Solution
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,62 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,62 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: 62:[8, 94, 4], Operations: ['19-15=4']
Exploring Operation: 8*4=32, Resulting Numbers: [94, 32]
Generated Node #0,1,0: 62:[94, 32] Operation: 8*4=32
Exploring Operation: 94-8=86, Resulting Numbers: [4, 86]
Generated Node #0,1,1: 62:[4, 86] Operation: 94-8=86
Exploring Operation: 8/4=2, Resulting Numbers: [94, 2]
Generated Node #0,1,2: 62:[94, 2] Operation: 8/4=2
Moving to Node #0,1,1
Current State: 62:[4, 86], Operations: ['19-15=4', '94-8=86']
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Exploring Operation: 4*86=344, Resulting Numbers: [344]
344,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[94, 2], Operations: ['19-15=4', '8/4=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,62 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[94, 32], Operations: ['19-15=4', '8*4=32']
Exploring Operation: 94+32=126, Resulting Numbers: [126]
126,62 unequal: No Solution
Exploring Operation: 94*32=3008, Resulting Numbers: [3008]
3008,62 unequal: No Solution
Exploring Operation: 94-32=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[19, 8, 94, 15], Operations: []
Exploring Operation: 19-15=4, Resulting Numbers: [8, 94, 4]
Generated Node #0,1: 62:[8, 94, 4] Operation: 19-15=4
Moving to Node #0,1
Current State: 62:[8, 94, 4], Operations: ['19-15=4']
Exploring Operation: 8*4=32, Resulting Numbers: [94, 32]
Generated Node #0,1,0: 62:[94, 32] Operation: 8*4=32
Moving to Node #0,1,0
Current State: 62:[94, 32], Operations: ['19-15=4', '8*4=32']
Exploring Operation: 94-32=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_3 | mult_heuristic |
[
13,
33,
94,
15
] | 68 | [
"13*15=195",
"33+94=127",
"195-127=68"
] | Current State: 68:[13, 33, 94, 15], Operations: []
Exploring Operation: 13*15=195, Resulting Numbers: [33, 94, 195]
Generated Node #2: [33, 94, 195] from Operation: 13*15=195
Current State: 68:[33, 94, 195], Operations: ['13*15=195']
Exploring Operation: 33+94=127, Resulting Numbers: [195, 127]
Generated Node #3: [195, 127] from Operation: 33+94=127
Current State: 68:[195, 127], Operations: ['13*15=195', '33+94=127']
Exploring Operation: 195-127=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[13, 33, 94, 15], Operations: []
Exploring Operation: 94-13=81, Resulting Numbers: [33, 15, 81]
Generated Node #0,0: 68:[33, 15, 81] Operation: 94-13=81
Exploring Operation: 94-33=61, Resulting Numbers: [13, 15, 61]
Generated Node #0,1: 68:[13, 15, 61] Operation: 94-33=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[13, 15, 61], Operations: ['94-33=61']
Exploring Operation: 13+61=74, Resulting Numbers: [15, 74]
Generated Node #0,1,0: 68:[15, 74] Operation: 13+61=74
Exploring Operation: 15-13=2, Resulting Numbers: [61, 2]
Generated Node #0,1,1: 68:[61, 2] Operation: 15-13=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[61, 2], Operations: ['94-33=61', '15-13=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,68 unequal: No Solution
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[15, 74], Operations: ['94-33=61', '13+61=74']
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,68 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[33, 15, 81], Operations: ['94-13=81']
Exploring Operation: 33-15=18, Resulting Numbers: [81, 18]
Generated Node #0,0,0: 68:[81, 18] Operation: 33-15=18
Exploring Operation: 81-15=66, Resulting Numbers: [33, 66]
Generated Node #0,0,1: 68:[33, 66] Operation: 81-15=66
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[33, 66], Operations: ['94-13=81', '81-15=66']
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[81, 18], Operations: ['94-13=81', '33-15=18']
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,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_2 | sum_heuristic |
[
42,
64,
95,
34
] | 83 | [
"64-42=22",
"95-34=61",
"22+61=83"
] | Current State: 83:[42, 64, 95, 34], Operations: []
Exploring Operation: 64-42=22, Resulting Numbers: [95, 34, 22]
Generated Node #2: [95, 34, 22] from Operation: 64-42=22
Current State: 83:[95, 34, 22], Operations: ['64-42=22']
Exploring Operation: 95-34=61, Resulting Numbers: [22, 61]
Generated Node #3: [22, 61] from Operation: 95-34=61
Current State: 83:[22, 61], Operations: ['64-42=22', '95-34=61']
Exploring Operation: 22+61=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[42, 64, 95, 34], Operations: []
Exploring Operation: 42+34=76, Resulting Numbers: [64, 95, 76]
Generated Node #0,0: 83:[64, 95, 76] Operation: 42+34=76
Exploring Operation: 95-34=61, Resulting Numbers: [42, 64, 61]
Generated Node #0,1: 83:[42, 64, 61] Operation: 95-34=61
Exploring Operation: 42+64=106, Resulting Numbers: [95, 34, 106]
Generated Node #0,2: 83:[95, 34, 106] Operation: 42+64=106
Exploring Operation: 64+34=98, Resulting Numbers: [42, 95, 98]
Generated Node #0,3: 83:[42, 95, 98] Operation: 64+34=98
Moving to Node #0,0
Current State: 83:[64, 95, 76], Operations: ['42+34=76']
Exploring Operation: 95-64=31, Resulting Numbers: [76, 31]
Generated Node #0,0,0: 83:[76, 31] Operation: 95-64=31
Exploring Operation: 64+76=140, Resulting Numbers: [95, 140]
Generated Node #0,0,1: 83:[95, 140] Operation: 64+76=140
Exploring Operation: 64+95=159, Resulting Numbers: [76, 159]
Generated Node #0,0,2: 83:[76, 159] Operation: 64+95=159
Exploring Operation: 76-64=12, Resulting Numbers: [95, 12]
Generated Node #0,0,3: 83:[95, 12] Operation: 76-64=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[76, 31], Operations: ['42+34=76', '95-64=31']
Exploring Operation: 76+31=107, Resulting Numbers: [107]
107,83 unequal: No Solution
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 76*31=2356, Resulting Numbers: [2356]
2356,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:[95, 140], Operations: ['42+34=76', '64+76=140']
Exploring Operation: 140-95=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 95+140=235, Resulting Numbers: [235]
235,83 unequal: No Solution
Exploring Operation: 95*140=13300, Resulting Numbers: [13300]
13300,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[76, 159], Operations: ['42+34=76', '64+95=159']
Exploring Operation: 76*159=12084, Resulting Numbers: [12084]
12084,83 unequal: No Solution
Exploring Operation: 76+159=235, Resulting Numbers: [235]
235,83 unequal: No Solution
Exploring Operation: 159-76=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[42, 64, 95, 34], Operations: []
Exploring Operation: 42+34=76, Resulting Numbers: [64, 95, 76]
Generated Node #0,0: 83:[64, 95, 76] Operation: 42+34=76
Moving to Node #0,0
Current State: 83:[64, 95, 76], Operations: ['42+34=76']
Exploring Operation: 64+95=159, Resulting Numbers: [76, 159]
Generated Node #0,0,2: 83:[76, 159] Operation: 64+95=159
Moving to Node #0,0,2
Current State: 83:[76, 159], Operations: ['42+34=76', '64+95=159']
Exploring Operation: 159-76=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
22,
73,
15,
80
] | 83 | [
"80-73=7",
"15*7=105",
"105-22=83"
] | Current State: 83:[22, 73, 15, 80], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [22, 15, 7]
Generated Node #2: [22, 15, 7] from Operation: 80-73=7
Current State: 83:[22, 15, 7], Operations: ['80-73=7']
Exploring Operation: 15*7=105, Resulting Numbers: [22, 105]
Generated Node #3: [22, 105] from Operation: 15*7=105
Current State: 83:[22, 105], Operations: ['80-73=7', '15*7=105']
Exploring Operation: 105-22=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[22, 73, 15, 80], Operations: []
Exploring Operation: 22+15=37, Resulting Numbers: [73, 80, 37]
Generated Node #0,0: 83:[73, 80, 37] Operation: 22+15=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[73, 80, 37], Operations: ['22+15=37']
Exploring Operation: 73+37=110, Resulting Numbers: [80, 110]
Generated Node #0,0,0: 83:[80, 110] Operation: 73+37=110
Moving to Node #0,0,0
Current State: 83:[80, 110], Operations: ['22+15=37', '73+37=110']
Exploring Operation: 110-80=30, Resulting Numbers: [30]
30,83 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 |
[
3,
51,
74,
21
] | 16 | [
"21/3=7",
"74-51=23",
"23-7=16"
] | Current State: 16:[3, 51, 74, 21], Operations: []
Exploring Operation: 21/3=7, Resulting Numbers: [51, 74, 7]
Generated Node #2: [51, 74, 7] from Operation: 21/3=7
Current State: 16:[51, 74, 7], Operations: ['21/3=7']
Exploring Operation: 74-51=23, Resulting Numbers: [7, 23]
Generated Node #3: [7, 23] from Operation: 74-51=23
Current State: 16:[7, 23], Operations: ['21/3=7', '74-51=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[3, 51, 74, 21], Operations: []
Exploring Operation: 51/3=17, Resulting Numbers: [74, 21, 17]
Generated Node #0,0: 16:[74, 21, 17] Operation: 51/3=17
Exploring Operation: 74-51=23, Resulting Numbers: [3, 21, 23]
Generated Node #0,1: 16:[3, 21, 23] Operation: 74-51=23
Exploring Operation: 51-21=30, Resulting Numbers: [3, 74, 30]
Generated Node #0,2: 16:[3, 74, 30] Operation: 51-21=30
Moving to Node #0,1
Current State: 16:[3, 21, 23], Operations: ['74-51=23']
Exploring Operation: 23-21=2, Resulting Numbers: [3, 2]
Generated Node #0,1,0: 16:[3, 2] Operation: 23-21=2
Exploring Operation: 21/3=7, Resulting Numbers: [23, 7]
Generated Node #0,1,1: 16:[23, 7] Operation: 21/3=7
Exploring Operation: 21-3=18, Resulting Numbers: [23, 18]
Generated Node #0,1,2: 16:[23, 18] Operation: 21-3=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[3, 2], Operations: ['74-51=23', '23-21=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[23, 7], Operations: ['74-51=23', '21/3=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[3, 51, 74, 21], Operations: []
Exploring Operation: 74-51=23, Resulting Numbers: [3, 21, 23]
Generated Node #0,1: 16:[3, 21, 23] Operation: 74-51=23
Moving to Node #0,1
Current State: 16:[3, 21, 23], Operations: ['74-51=23']
Exploring Operation: 21/3=7, Resulting Numbers: [23, 7]
Generated Node #0,1,1: 16:[23, 7] Operation: 21/3=7
Moving to Node #0,1,1
Current State: 16:[23, 7], Operations: ['74-51=23', '21/3=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
2,
42,
38,
34
] | 22 | [
"42-34=8",
"2*8=16",
"38-16=22"
] | Current State: 22:[2, 42, 38, 34], Operations: []
Exploring Operation: 42-34=8, Resulting Numbers: [2, 38, 8]
Generated Node #2: [2, 38, 8] from Operation: 42-34=8
Current State: 22:[2, 38, 8], Operations: ['42-34=8']
Exploring Operation: 2*8=16, Resulting Numbers: [38, 16]
Generated Node #3: [38, 16] from Operation: 2*8=16
Current State: 22:[38, 16], Operations: ['42-34=8', '2*8=16']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[2, 42, 38, 34], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [2, 34, 4]
Generated Node #0,0: 22:[2, 34, 4] Operation: 42-38=4
Exploring Operation: 38-34=4, Resulting Numbers: [2, 42, 4]
Generated Node #0,1: 22:[2, 42, 4] Operation: 38-34=4
Exploring Operation: 42/2=21, Resulting Numbers: [38, 34, 21]
Generated Node #0,2: 22:[38, 34, 21] Operation: 42/2=21
Exploring Operation: 42-34=8, Resulting Numbers: [2, 38, 8]
Generated Node #0,3: 22:[2, 38, 8] Operation: 42-34=8
Moving to Node #0,0
Current State: 22:[2, 34, 4], Operations: ['42-38=4']
Exploring Operation: 34-4=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 22:[2, 30] Operation: 34-4=30
Exploring Operation: 34/2=17, Resulting Numbers: [4, 17]
Generated Node #0,0,1: 22:[4, 17] Operation: 34/2=17
Exploring Operation: 4-2=2, Resulting Numbers: [34, 2]
Generated Node #0,0,2: 22:[34, 2] Operation: 4-2=2
Exploring Operation: 34-2=32, Resulting Numbers: [4, 32]
Generated Node #0,0,3: 22:[4, 32] Operation: 34-2=32
Moving to Node #0,3
Current State: 22:[2, 38, 8], Operations: ['42-34=8']
Exploring Operation: 38/2=19, Resulting Numbers: [8, 19]
Generated Node #0,3,0: 22:[8, 19] Operation: 38/2=19
Exploring Operation: 38-8=30, Resulting Numbers: [2, 30]
Generated Node #0,3,1: 22:[2, 30] Operation: 38-8=30
Exploring Operation: 38-2=36, Resulting Numbers: [8, 36]
Generated Node #0,3,2: 22:[8, 36] Operation: 38-2=36
Exploring Operation: 2+8=10, Resulting Numbers: [38, 10]
Generated Node #0,3,3: 22:[38, 10] Operation: 2+8=10
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 22:[8, 19], Operations: ['42-34=8', '38/2=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 22:[2, 30], Operations: ['42-34=8', '38-8=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 22:[8, 36], Operations: ['42-34=8', '38-2=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 22:[38, 10], Operations: ['42-34=8', '2+8=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,22 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,22 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: 22:[2, 42, 4], Operations: ['38-34=4']
Exploring Operation: 42/2=21, Resulting Numbers: [4, 21]
Generated Node #0,1,0: 22:[4, 21] Operation: 42/2=21
Exploring Operation: 42-4=38, Resulting Numbers: [2, 38]
Generated Node #0,1,1: 22:[2, 38] Operation: 42-4=38
Exploring Operation: 42-2=40, Resulting Numbers: [4, 40]
Generated Node #0,1,2: 22:[4, 40] Operation: 42-2=40
Exploring Operation: 4-2=2, Resulting Numbers: [42, 2]
Generated Node #0,1,3: 22:[42, 2] Operation: 4-2=2
Moving to Node #0,2
Current State: 22:[38, 34, 21], Operations: ['42/2=21']
Exploring Operation: 38-21=17, Resulting Numbers: [34, 17]
Generated Node #0,2,0: 22:[34, 17] Operation: 38-21=17
Exploring Operation: 38+21=59, Resulting Numbers: [34, 59]
Generated Node #0,2,1: 22:[34, 59] Operation: 38+21=59
Exploring Operation: 34-21=13, Resulting Numbers: [38, 13]
Generated Node #0,2,2: 22:[38, 13] Operation: 34-21=13
Exploring Operation: 38-34=4, Resulting Numbers: [21, 4]
Generated Node #0,2,3: 22:[21, 4] Operation: 38-34=4
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 22:[21, 4], Operations: ['42/2=21', '38-34=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[34, 17], Operations: ['42/2=21', '38-21=17']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,22 unequal: No Solution
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[38, 13], Operations: ['42/2=21', '34-21=13']
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[34, 59], Operations: ['42/2=21', '38+21=59']
Exploring Operation: 34+59=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 34*59=2006, Resulting Numbers: [2006]
2006,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 22:[4, 21], Operations: ['38-34=4', '42/2=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[4, 17], Operations: ['42-38=4', '34/2=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,22 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[2, 30], Operations: ['42-38=4', '34-4=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[34, 2], Operations: ['42-38=4', '4-2=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,22 unequal: No Solution
Moving to Node #0,0,3
Current State: 22:[4, 32], Operations: ['42-38=4', '34-2=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,22 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[2, 38], Operations: ['38-34=4', '42-4=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[4, 40], Operations: ['38-34=4', '42-2=40']
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,22 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[42, 2], Operations: ['38-34=4', '4-2=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,22 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
97,
22,
40,
62
] | 27 | [
"97-22=75",
"40+62=102",
"102-75=27"
] | Current State: 27:[97, 22, 40, 62], Operations: []
Exploring Operation: 97-22=75, Resulting Numbers: [40, 62, 75]
Generated Node #2: [40, 62, 75] from Operation: 97-22=75
Current State: 27:[40, 62, 75], Operations: ['97-22=75']
Exploring Operation: 40+62=102, Resulting Numbers: [75, 102]
Generated Node #3: [75, 102] from Operation: 40+62=102
Current State: 27:[75, 102], Operations: ['97-22=75', '40+62=102']
Exploring Operation: 102-75=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[97, 22, 40, 62], Operations: []
Exploring Operation: 62-40=22, Resulting Numbers: [97, 22, 22]
Generated Node #0,0: 27:[97, 22, 22] Operation: 62-40=22
Exploring Operation: 97-40=57, Resulting Numbers: [22, 62, 57]
Generated Node #0,1: 27:[22, 62, 57] Operation: 97-40=57
Exploring Operation: 97-62=35, Resulting Numbers: [22, 40, 35]
Generated Node #0,2: 27:[22, 40, 35] Operation: 97-62=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[22, 40, 35], Operations: ['97-62=35']
Exploring Operation: 40-35=5, Resulting Numbers: [22, 5]
Generated Node #0,2,0: 27:[22, 5] Operation: 40-35=5
Exploring Operation: 40-22=18, Resulting Numbers: [35, 18]
Generated Node #0,2,1: 27:[35, 18] Operation: 40-22=18
Exploring Operation: 35-22=13, Resulting Numbers: [40, 13]
Generated Node #0,2,2: 27:[40, 13] Operation: 35-22=13
Moving to Node #0,2,0
Current State: 27:[22, 5], Operations: ['97-62=35', '40-35=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[97, 22, 40, 62], Operations: []
Exploring Operation: 97-62=35, Resulting Numbers: [22, 40, 35]
Generated Node #0,2: 27:[22, 40, 35] Operation: 97-62=35
Moving to Node #0,2
Current State: 27:[22, 40, 35], Operations: ['97-62=35']
Exploring Operation: 40-35=5, Resulting Numbers: [22, 5]
Generated Node #0,2,0: 27:[22, 5] Operation: 40-35=5
Moving to Node #0,2,0
Current State: 27:[22, 5], Operations: ['97-62=35', '40-35=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
72,
6,
47,
45
] | 69 | [
"47-45=2",
"6/2=3",
"72-3=69"
] | Current State: 69:[72, 6, 47, 45], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [72, 6, 2]
Generated Node #2: [72, 6, 2] from Operation: 47-45=2
Current State: 69:[72, 6, 2], Operations: ['47-45=2']
Exploring Operation: 6/2=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 6/2=3
Current State: 69:[72, 3], Operations: ['47-45=2', '6/2=3']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[72, 6, 47, 45], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [72, 6, 2]
Generated Node #0,0: 69:[72, 6, 2] Operation: 47-45=2
Exploring Operation: 47+45=92, Resulting Numbers: [72, 6, 92]
Generated Node #0,1: 69:[72, 6, 92] Operation: 47+45=92
Exploring Operation: 72-45=27, Resulting Numbers: [6, 47, 27]
Generated Node #0,2: 69:[6, 47, 27] Operation: 72-45=27
Exploring Operation: 72-47=25, Resulting Numbers: [6, 45, 25]
Generated Node #0,3: 69:[6, 45, 25] Operation: 72-47=25
Exploring Operation: 6+47=53, Resulting Numbers: [72, 45, 53]
Generated Node #0,4: 69:[72, 45, 53] Operation: 6+47=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[72, 6, 2], Operations: ['47-45=2']
Exploring Operation: 72+2=74, Resulting Numbers: [6, 74]
Generated Node #0,0,0: 69:[6, 74] Operation: 72+2=74
Exploring Operation: 72-2=70, Resulting Numbers: [6, 70]
Generated Node #0,0,1: 69:[6, 70] Operation: 72-2=70
Exploring Operation: 6/2=3, Resulting Numbers: [72, 3]
Generated Node #0,0,2: 69:[72, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [72, 4]
Generated Node #0,0,3: 69:[72, 4] Operation: 6-2=4
Exploring Operation: 72-6=66, Resulting Numbers: [2, 66]
Generated Node #0,0,4: 69:[2, 66] Operation: 72-6=66
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[72, 3], Operations: ['47-45=2', '6/2=3']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[72, 6, 47, 45], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [72, 6, 2]
Generated Node #0,0: 69:[72, 6, 2] Operation: 47-45=2
Moving to Node #0,0
Current State: 69:[72, 6, 2], Operations: ['47-45=2']
Exploring Operation: 6/2=3, Resulting Numbers: [72, 3]
Generated Node #0,0,2: 69:[72, 3] Operation: 6/2=3
Moving to Node #0,0,2
Current State: 69:[72, 3], Operations: ['47-45=2', '6/2=3']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
24,
30,
3,
45
] | 37 | [
"45-24=21",
"21/3=7",
"30+7=37"
] | Current State: 37:[24, 30, 3, 45], Operations: []
Exploring Operation: 45-24=21, Resulting Numbers: [30, 3, 21]
Generated Node #2: [30, 3, 21] from Operation: 45-24=21
Current State: 37:[30, 3, 21], Operations: ['45-24=21']
Exploring Operation: 21/3=7, Resulting Numbers: [30, 7]
Generated Node #3: [30, 7] from Operation: 21/3=7
Current State: 37:[30, 7], Operations: ['45-24=21', '21/3=7']
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[24, 30, 3, 45], Operations: []
Exploring Operation: 30+3=33, Resulting Numbers: [24, 45, 33]
Generated Node #0,0: 37:[24, 45, 33] Operation: 30+3=33
Exploring Operation: 24+3=27, Resulting Numbers: [30, 45, 27]
Generated Node #0,1: 37:[30, 45, 27] Operation: 24+3=27
Exploring Operation: 45-3=42, Resulting Numbers: [24, 30, 42]
Generated Node #0,2: 37:[24, 30, 42] Operation: 45-3=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[24, 45, 33], Operations: ['30+3=33']
Exploring Operation: 24+45=69, Resulting Numbers: [33, 69]
Generated Node #0,0,0: 37:[33, 69] Operation: 24+45=69
Exploring Operation: 24+33=57, Resulting Numbers: [45, 57]
Generated Node #0,0,1: 37:[45, 57] Operation: 24+33=57
Exploring Operation: 45-24=21, Resulting Numbers: [33, 21]
Generated Node #0,0,2: 37:[33, 21] Operation: 45-24=21
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[33, 21], Operations: ['30+3=33', '45-24=21']
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,37 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[45, 57], Operations: ['30+3=33', '24+33=57']
Exploring Operation: 45+57=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 45*57=2565, Resulting Numbers: [2565]
2565,37 unequal: No Solution
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[33, 69], Operations: ['30+3=33', '24+45=69']
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 33+69=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 33*69=2277, Resulting Numbers: [2277]
2277,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[30, 45, 27], Operations: ['24+3=27']
Exploring Operation: 45-30=15, Resulting Numbers: [27, 15]
Generated Node #0,1,0: 37:[27, 15] Operation: 45-30=15
Exploring Operation: 30+27=57, Resulting Numbers: [45, 57]
Generated Node #0,1,1: 37:[45, 57] Operation: 30+27=57
Exploring Operation: 45-27=18, Resulting Numbers: [30, 18]
Generated Node #0,1,2: 37:[30, 18] Operation: 45-27=18
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[30, 18], Operations: ['24+3=27', '45-27=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[45, 57], Operations: ['24+3=27', '30+27=57']
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 45+57=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 45*57=2565, Resulting Numbers: [2565]
2565,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[27, 15], Operations: ['24+3=27', '45-30=15']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[24, 30, 42], Operations: ['45-3=42']
Exploring Operation: 24+30=54, Resulting Numbers: [42, 54]
Generated Node #0,2,0: 37:[42, 54] Operation: 24+30=54
Exploring Operation: 30-24=6, Resulting Numbers: [42, 6]
Generated Node #0,2,1: 37:[42, 6] Operation: 30-24=6
Exploring Operation: 42-24=18, Resulting Numbers: [30, 18]
Generated Node #0,2,2: 37:[30, 18] Operation: 42-24=18
Moving to Node #0,2,0
Current State: 37:[42, 54], Operations: ['45-3=42', '24+30=54']
Exploring Operation: 42*54=2268, Resulting Numbers: [2268]
2268,37 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[30, 18], Operations: ['45-3=42', '42-24=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,37 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[42, 6], Operations: ['45-3=42', '30-24=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,37 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 |
[
87,
10,
32,
22
] | 67 | [
"87-10=77",
"32-22=10",
"77-10=67"
] | Current State: 67:[87, 10, 32, 22], Operations: []
Exploring Operation: 87-10=77, Resulting Numbers: [32, 22, 77]
Generated Node #2: [32, 22, 77] from Operation: 87-10=77
Current State: 67:[32, 22, 77], Operations: ['87-10=77']
Exploring Operation: 32-22=10, Resulting Numbers: [77, 10]
Generated Node #3: [77, 10] from Operation: 32-22=10
Current State: 67:[77, 10], Operations: ['87-10=77', '32-22=10']
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[87, 10, 32, 22], Operations: []
Exploring Operation: 87-10=77, Resulting Numbers: [32, 22, 77]
Generated Node #0,0: 67:[32, 22, 77] Operation: 87-10=77
Exploring Operation: 32+22=54, Resulting Numbers: [87, 10, 54]
Generated Node #0,1: 67:[87, 10, 54] Operation: 32+22=54
Exploring Operation: 10+32=42, Resulting Numbers: [87, 22, 42]
Generated Node #0,2: 67:[87, 22, 42] Operation: 10+32=42
Exploring Operation: 10+22=32, Resulting Numbers: [87, 32, 32]
Generated Node #0,3: 67:[87, 32, 32] Operation: 10+22=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[32, 22, 77], Operations: ['87-10=77']
Exploring Operation: 32+22=54, Resulting Numbers: [77, 54]
Generated Node #0,0,0: 67:[77, 54] Operation: 32+22=54
Exploring Operation: 32-22=10, Resulting Numbers: [77, 10]
Generated Node #0,0,1: 67:[77, 10] Operation: 32-22=10
Exploring Operation: 77-22=55, Resulting Numbers: [32, 55]
Generated Node #0,0,2: 67:[32, 55] Operation: 77-22=55
Exploring Operation: 77-32=45, Resulting Numbers: [22, 45]
Generated Node #0,0,3: 67:[22, 45] Operation: 77-32=45
Moving to Node #0,0,0
Current State: 67:[77, 54], Operations: ['87-10=77', '32+22=54']
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 77*54=4158, Resulting Numbers: [4158]
4158,67 unequal: No Solution
Exploring Operation: 77+54=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[32, 55], Operations: ['87-10=77', '77-22=55']
Exploring Operation: 32*55=1760, Resulting Numbers: [1760]
1760,67 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 32+55=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[22, 45], Operations: ['87-10=77', '77-32=45']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,67 unequal: No Solution
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[87, 10, 32, 22], Operations: []
Exploring Operation: 87-10=77, Resulting Numbers: [32, 22, 77]
Generated Node #0,0: 67:[32, 22, 77] Operation: 87-10=77
Moving to Node #0,0
Current State: 67:[32, 22, 77], Operations: ['87-10=77']
Exploring Operation: 77-32=45, Resulting Numbers: [22, 45]
Generated Node #0,0,3: 67:[22, 45] Operation: 77-32=45
Moving to Node #0,0,3
Current State: 67:[22, 45], Operations: ['87-10=77', '77-32=45']
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
8,
58,
10,
15
] | 12 | [
"15-8=7",
"10*7=70",
"70-58=12"
] | Current State: 12:[8, 58, 10, 15], Operations: []
Exploring Operation: 15-8=7, Resulting Numbers: [58, 10, 7]
Generated Node #2: [58, 10, 7] from Operation: 15-8=7
Current State: 12:[58, 10, 7], Operations: ['15-8=7']
Exploring Operation: 10*7=70, Resulting Numbers: [58, 70]
Generated Node #3: [58, 70] from Operation: 10*7=70
Current State: 12:[58, 70], Operations: ['15-8=7', '10*7=70']
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[8, 58, 10, 15], Operations: []
Exploring Operation: 58-8=50, Resulting Numbers: [10, 15, 50]
Generated Node #0,0: 12:[10, 15, 50] Operation: 58-8=50
Exploring Operation: 58-15=43, Resulting Numbers: [8, 10, 43]
Generated Node #0,1: 12:[8, 10, 43] Operation: 58-15=43
Exploring Operation: 58-10=48, Resulting Numbers: [8, 15, 48]
Generated Node #0,2: 12:[8, 15, 48] Operation: 58-10=48
Moving to Node #0,1
Current State: 12:[8, 10, 43], Operations: ['58-15=43']
Exploring Operation: 43-10=33, Resulting Numbers: [8, 33]
Generated Node #0,1,0: 12:[8, 33] Operation: 43-10=33
Exploring Operation: 43-8=35, Resulting Numbers: [10, 35]
Generated Node #0,1,1: 12:[10, 35] Operation: 43-8=35
Exploring Operation: 10-8=2, Resulting Numbers: [43, 2]
Generated Node #0,1,2: 12:[43, 2] Operation: 10-8=2
Moving to Node #0,2
Current State: 12:[8, 15, 48], Operations: ['58-10=48']
Exploring Operation: 48-15=33, Resulting Numbers: [8, 33]
Generated Node #0,2,0: 12:[8, 33] Operation: 48-15=33
Exploring Operation: 48-8=40, Resulting Numbers: [15, 40]
Generated Node #0,2,1: 12:[15, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [15, 6]
Generated Node #0,2,2: 12:[15, 6] Operation: 48/8=6
Moving to Node #0,0
Current State: 12:[10, 15, 50], Operations: ['58-8=50']
Exploring Operation: 50-10=40, Resulting Numbers: [15, 40]
Generated Node #0,0,0: 12:[15, 40] Operation: 50-10=40
Exploring Operation: 50/10=5, Resulting Numbers: [15, 5]
Generated Node #0,0,1: 12:[15, 5] Operation: 50/10=5
Exploring Operation: 50-15=35, Resulting Numbers: [10, 35]
Generated Node #0,0,2: 12:[10, 35] Operation: 50-15=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[15, 5], Operations: ['58-8=50', '50/10=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[10, 35], Operations: ['58-8=50', '50-15=35']
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,12 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[15, 40], Operations: ['58-8=50', '50-10=40']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,12 unequal: No Solution
Exploring Operation: 15*40=600, Resulting Numbers: [600]
600,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 12:[15, 6], Operations: ['58-10=48', '48/8=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[8, 33], Operations: ['58-15=43', '43-10=33']
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[8, 33], Operations: ['58-10=48', '48-15=33']
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[10, 35], Operations: ['58-15=43', '43-8=35']
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,12 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[15, 40], Operations: ['58-10=48', '48-8=40']
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,12 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 15*40=600, Resulting Numbers: [600]
600,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[43, 2], Operations: ['58-15=43', '10-8=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,12 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
65,
13,
42
] | 25 | [
"42-12=30",
"65/13=5",
"30-5=25"
] | Current State: 25:[12, 65, 13, 42], Operations: []
Exploring Operation: 42-12=30, Resulting Numbers: [65, 13, 30]
Generated Node #2: [65, 13, 30] from Operation: 42-12=30
Current State: 25:[65, 13, 30], Operations: ['42-12=30']
Exploring Operation: 65/13=5, Resulting Numbers: [30, 5]
Generated Node #3: [30, 5] from Operation: 65/13=5
Current State: 25:[30, 5], Operations: ['42-12=30', '65/13=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[12, 65, 13, 42], Operations: []
Exploring Operation: 65-42=23, Resulting Numbers: [12, 13, 23]
Generated Node #0,0: 25:[12, 13, 23] Operation: 65-42=23
Exploring Operation: 65-13=52, Resulting Numbers: [12, 42, 52]
Generated Node #0,1: 25:[12, 42, 52] Operation: 65-13=52
Exploring Operation: 42-13=29, Resulting Numbers: [12, 65, 29]
Generated Node #0,2: 25:[12, 65, 29] Operation: 42-13=29
Exploring Operation: 65/13=5, Resulting Numbers: [12, 42, 5]
Generated Node #0,3: 25:[12, 42, 5] Operation: 65/13=5
Moving to Node #0,0
Current State: 25:[12, 13, 23], Operations: ['65-42=23']
Exploring Operation: 23-12=11, Resulting Numbers: [13, 11]
Generated Node #0,0,0: 25:[13, 11] Operation: 23-12=11
Exploring Operation: 12+13=25, Resulting Numbers: [23, 25]
Generated Node #0,0,1: 25:[23, 25] Operation: 12+13=25
Exploring Operation: 23-13=10, Resulting Numbers: [12, 10]
Generated Node #0,0,2: 25:[12, 10] Operation: 23-13=10
Exploring Operation: 13-12=1, Resulting Numbers: [23, 1]
Generated Node #0,0,3: 25:[23, 1] Operation: 13-12=1
Moving to Node #0,3
Current State: 25:[12, 42, 5], Operations: ['65/13=5']
Exploring Operation: 42-5=37, Resulting Numbers: [12, 37]
Generated Node #0,3,0: 25:[12, 37] Operation: 42-5=37
Exploring Operation: 42-12=30, Resulting Numbers: [5, 30]
Generated Node #0,3,1: 25:[5, 30] Operation: 42-12=30
Exploring Operation: 12-5=7, Resulting Numbers: [42, 7]
Generated Node #0,3,2: 25:[42, 7] Operation: 12-5=7
Exploring Operation: 12+5=17, Resulting Numbers: [42, 17]
Generated Node #0,3,3: 25:[42, 17] Operation: 12+5=17
Moving to Node #0,2
Current State: 25:[12, 65, 29], Operations: ['42-13=29']
Exploring Operation: 65-29=36, Resulting Numbers: [12, 36]
Generated Node #0,2,0: 25:[12, 36] Operation: 65-29=36
Exploring Operation: 29-12=17, Resulting Numbers: [65, 17]
Generated Node #0,2,1: 25:[65, 17] Operation: 29-12=17
Exploring Operation: 65-12=53, Resulting Numbers: [29, 53]
Generated Node #0,2,2: 25:[29, 53] Operation: 65-12=53
Exploring Operation: 12+65=77, Resulting Numbers: [29, 77]
Generated Node #0,2,3: 25:[29, 77] Operation: 12+65=77
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[12, 36], Operations: ['42-13=29', '65-29=36']
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,25 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[29, 53], Operations: ['42-13=29', '65-12=53']
Exploring Operation: 29+53=82, Resulting Numbers: [82]
82,25 unequal: No Solution
Exploring Operation: 29*53=1537, Resulting Numbers: [1537]
1537,25 unequal: No Solution
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[65, 17], Operations: ['42-13=29', '29-12=17']
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,25 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[29, 77], Operations: ['42-13=29', '12+65=77']
Exploring Operation: 29+77=106, Resulting Numbers: [106]
106,25 unequal: No Solution
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 29*77=2233, Resulting Numbers: [2233]
2233,25 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: 25:[12, 42, 52], Operations: ['65-13=52']
Exploring Operation: 52-12=40, Resulting Numbers: [42, 40]
Generated Node #0,1,0: 25:[42, 40] Operation: 52-12=40
Exploring Operation: 52-42=10, Resulting Numbers: [12, 10]
Generated Node #0,1,1: 25:[12, 10] Operation: 52-42=10
Exploring Operation: 12+42=54, Resulting Numbers: [52, 54]
Generated Node #0,1,2: 25:[52, 54] Operation: 12+42=54
Exploring Operation: 42-12=30, Resulting Numbers: [52, 30]
Generated Node #0,1,3: 25:[52, 30] Operation: 42-12=30
Moving to Node #0,0,1
Current State: 25:[23, 25], Operations: ['65-42=23', '12+13=25']
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,25 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[5, 30], Operations: ['65/13=5', '42-12=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[12, 65, 13, 42], Operations: []
Exploring Operation: 65/13=5, Resulting Numbers: [12, 42, 5]
Generated Node #0,3: 25:[12, 42, 5] Operation: 65/13=5
Moving to Node #0,3
Current State: 25:[12, 42, 5], Operations: ['65/13=5']
Exploring Operation: 42-12=30, Resulting Numbers: [5, 30]
Generated Node #0,3,1: 25:[5, 30] Operation: 42-12=30
Moving to Node #0,3,1
Current State: 25:[5, 30], Operations: ['65/13=5', '42-12=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.96441 | hs_4 | mult_heuristic |
[
29,
47,
78,
2
] | 62 | [
"47-29=18",
"78+2=80",
"80-18=62"
] | Current State: 62:[29, 47, 78, 2], Operations: []
Exploring Operation: 47-29=18, Resulting Numbers: [78, 2, 18]
Generated Node #2: [78, 2, 18] from Operation: 47-29=18
Current State: 62:[78, 2, 18], Operations: ['47-29=18']
Exploring Operation: 78+2=80, Resulting Numbers: [18, 80]
Generated Node #3: [18, 80] from Operation: 78+2=80
Current State: 62:[18, 80], Operations: ['47-29=18', '78+2=80']
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[29, 47, 78, 2], Operations: []
Exploring Operation: 78/2=39, Resulting Numbers: [29, 47, 39]
Generated Node #0,0: 62:[29, 47, 39] Operation: 78/2=39
Exploring Operation: 47-29=18, Resulting Numbers: [78, 2, 18]
Generated Node #0,1: 62:[78, 2, 18] Operation: 47-29=18
Exploring Operation: 78-47=31, Resulting Numbers: [29, 2, 31]
Generated Node #0,2: 62:[29, 2, 31] Operation: 78-47=31
Exploring Operation: 78-29=49, Resulting Numbers: [47, 2, 49]
Generated Node #0,3: 62:[47, 2, 49] Operation: 78-29=49
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[29, 2, 31], Operations: ['78-47=31']
Exploring Operation: 29+31=60, Resulting Numbers: [2, 60]
Generated Node #0,2,0: 62:[2, 60] Operation: 29+31=60
Exploring Operation: 29+2=31, Resulting Numbers: [31, 31]
Generated Node #0,2,1: 62:[31, 31] Operation: 29+2=31
Exploring Operation: 2*31=62, Resulting Numbers: [29, 62]
Generated Node #0,2,2: 62:[29, 62] Operation: 2*31=62
Exploring Operation: 31-29=2, Resulting Numbers: [2, 2]
Generated Node #0,2,3: 62:[2, 2] Operation: 31-29=2
Moving to Node #0,2,1
Current State: 62:[31, 31], Operations: ['78-47=31', '29+2=31']
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 31*31=961, Resulting Numbers: [961]
961,62 unequal: No Solution
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[29, 47, 78, 2], Operations: []
Exploring Operation: 78-47=31, Resulting Numbers: [29, 2, 31]
Generated Node #0,2: 62:[29, 2, 31] Operation: 78-47=31
Moving to Node #0,2
Current State: 62:[29, 2, 31], Operations: ['78-47=31']
Exploring Operation: 29+2=31, Resulting Numbers: [31, 31]
Generated Node #0,2,1: 62:[31, 31] Operation: 29+2=31
Moving to Node #0,2,1
Current State: 62:[31, 31], Operations: ['78-47=31', '29+2=31']
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
27,
15,
45,
37
] | 34 | [
"27+15=42",
"45-37=8",
"42-8=34"
] | Current State: 34:[27, 15, 45, 37], Operations: []
Exploring Operation: 27+15=42, Resulting Numbers: [45, 37, 42]
Generated Node #2: [45, 37, 42] from Operation: 27+15=42
Current State: 34:[45, 37, 42], Operations: ['27+15=42']
Exploring Operation: 45-37=8, Resulting Numbers: [42, 8]
Generated Node #3: [42, 8] from Operation: 45-37=8
Current State: 34:[42, 8], Operations: ['27+15=42', '45-37=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[27, 15, 45, 37], Operations: []
Exploring Operation: 45-27=18, Resulting Numbers: [15, 37, 18]
Generated Node #0,0: 34:[15, 37, 18] Operation: 45-27=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[15, 37, 18], Operations: ['45-27=18']
Exploring Operation: 15+18=33, Resulting Numbers: [37, 33]
Generated Node #0,0,0: 34:[37, 33] Operation: 15+18=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[37, 33], Operations: ['45-27=18', '15+18=33']
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
82,
8,
49,
53
] | 55 | [
"49-8=41",
"82/41=2",
"53+2=55"
] | Current State: 55:[82, 8, 49, 53], Operations: []
Exploring Operation: 49-8=41, Resulting Numbers: [82, 53, 41]
Generated Node #2: [82, 53, 41] from Operation: 49-8=41
Current State: 55:[82, 53, 41], Operations: ['49-8=41']
Exploring Operation: 82/41=2, Resulting Numbers: [53, 2]
Generated Node #3: [53, 2] from Operation: 82/41=2
Current State: 55:[53, 2], Operations: ['49-8=41', '82/41=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[82, 8, 49, 53], Operations: []
Exploring Operation: 82-8=74, Resulting Numbers: [49, 53, 74]
Generated Node #0,0: 55:[49, 53, 74] Operation: 82-8=74
Exploring Operation: 82-49=33, Resulting Numbers: [8, 53, 33]
Generated Node #0,1: 55:[8, 53, 33] Operation: 82-49=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[49, 53, 74], Operations: ['82-8=74']
Exploring Operation: 74-53=21, Resulting Numbers: [49, 21]
Generated Node #0,0,0: 55:[49, 21] Operation: 74-53=21
Exploring Operation: 74-49=25, Resulting Numbers: [53, 25]
Generated Node #0,0,1: 55:[53, 25] Operation: 74-49=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[49, 21], Operations: ['82-8=74', '74-53=21']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,55 unequal: No Solution
No 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: 55:[53, 25], Operations: ['82-8=74', '74-49=25']
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,55 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: 55:[8, 53, 33], Operations: ['82-49=33']
Exploring Operation: 53-33=20, Resulting Numbers: [8, 20]
Generated Node #0,1,0: 55:[8, 20] Operation: 53-33=20
Exploring Operation: 8+33=41, Resulting Numbers: [53, 41]
Generated Node #0,1,1: 55:[53, 41] Operation: 8+33=41
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[8, 20], Operations: ['82-49=33', '53-33=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,55 unequal: No Solution
No 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: 55:[53, 41], Operations: ['82-49=33', '8+33=41']
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 53+41=94, Resulting Numbers: [94]
94,55 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 |
[
87,
5,
35,
84
] | 100 | [
"87-84=3",
"35*3=105",
"105-5=100"
] | Current State: 100:[87, 5, 35, 84], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [5, 35, 3]
Generated Node #2: [5, 35, 3] from Operation: 87-84=3
Current State: 100:[5, 35, 3], Operations: ['87-84=3']
Exploring Operation: 35*3=105, Resulting Numbers: [5, 105]
Generated Node #3: [5, 105] from Operation: 35*3=105
Current State: 100:[5, 105], Operations: ['87-84=3', '35*3=105']
Exploring Operation: 105-5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[87, 5, 35, 84], Operations: []
Exploring Operation: 84-35=49, Resulting Numbers: [87, 5, 49]
Generated Node #0,0: 100:[87, 5, 49] Operation: 84-35=49
Exploring Operation: 35/5=7, Resulting Numbers: [87, 84, 7]
Generated Node #0,1: 100:[87, 84, 7] Operation: 35/5=7
Exploring Operation: 87-84=3, Resulting Numbers: [5, 35, 3]
Generated Node #0,2: 100:[5, 35, 3] Operation: 87-84=3
Exploring Operation: 87-35=52, Resulting Numbers: [5, 84, 52]
Generated Node #0,3: 100:[5, 84, 52] Operation: 87-35=52
Exploring Operation: 35+84=119, Resulting Numbers: [87, 5, 119]
Generated Node #0,4: 100:[87, 5, 119] Operation: 35+84=119
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[5, 35, 3], Operations: ['87-84=3']
Exploring Operation: 35/5=7, Resulting Numbers: [3, 7]
Generated Node #0,2,0: 100:[3, 7] Operation: 35/5=7
Exploring Operation: 35*3=105, Resulting Numbers: [5, 105]
Generated Node #0,2,1: 100:[5, 105] Operation: 35*3=105
Exploring Operation: 5-3=2, Resulting Numbers: [35, 2]
Generated Node #0,2,2: 100:[35, 2] Operation: 5-3=2
Exploring Operation: 35-3=32, Resulting Numbers: [5, 32]
Generated Node #0,2,3: 100:[5, 32] Operation: 35-3=32
Exploring Operation: 35-5=30, Resulting Numbers: [3, 30]
Generated Node #0,2,4: 100:[3, 30] Operation: 35-5=30
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[3, 7], Operations: ['87-84=3', '35/5=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[5, 105], Operations: ['87-84=3', '35*3=105']
Exploring Operation: 5*105=525, Resulting Numbers: [525]
525,100 unequal: No Solution
Exploring Operation: 5+105=110, Resulting Numbers: [110]
110,100 unequal: No Solution
Exploring Operation: 105-5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[87, 5, 35, 84], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [5, 35, 3]
Generated Node #0,2: 100:[5, 35, 3] Operation: 87-84=3
Moving to Node #0,2
Current State: 100:[5, 35, 3], Operations: ['87-84=3']
Exploring Operation: 35*3=105, Resulting Numbers: [5, 105]
Generated Node #0,2,1: 100:[5, 105] Operation: 35*3=105
Moving to Node #0,2,1
Current State: 100:[5, 105], Operations: ['87-84=3', '35*3=105']
Exploring Operation: 105-5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
18,
90,
22,
54
] | 13 | [
"22*54=1188",
"1188-18=1170",
"1170/90=13"
] | Current State: 13:[18, 90, 22, 54], Operations: []
Exploring Operation: 22*54=1188, Resulting Numbers: [18, 90, 1188]
Generated Node #2: [18, 90, 1188] from Operation: 22*54=1188
Current State: 13:[18, 90, 1188], Operations: ['22*54=1188']
Exploring Operation: 1188-18=1170, Resulting Numbers: [90, 1170]
Generated Node #3: [90, 1170] from Operation: 1188-18=1170
Current State: 13:[90, 1170], Operations: ['22*54=1188', '1188-18=1170']
Exploring Operation: 1170/90=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[18, 90, 22, 54], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [90, 22, 3]
Generated Node #0,0: 13:[90, 22, 3] Operation: 54/18=3
Exploring Operation: 90/18=5, Resulting Numbers: [22, 54, 5]
Generated Node #0,1: 13:[22, 54, 5] Operation: 90/18=5
Exploring Operation: 90-54=36, Resulting Numbers: [18, 22, 36]
Generated Node #0,2: 13:[18, 22, 36] Operation: 90-54=36
Moving to Node #0,2
Current State: 13:[18, 22, 36], Operations: ['90-54=36']
Exploring Operation: 36/18=2, Resulting Numbers: [22, 2]
Generated Node #0,2,0: 13:[22, 2] Operation: 36/18=2
Exploring Operation: 36-18=18, Resulting Numbers: [22, 18]
Generated Node #0,2,1: 13:[22, 18] Operation: 36-18=18
Exploring Operation: 36-22=14, Resulting Numbers: [18, 14]
Generated Node #0,2,2: 13:[18, 14] Operation: 36-22=14
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[18, 14], Operations: ['90-54=36', '36-22=14']
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,13 unequal: No Solution
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,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:[22, 18], Operations: ['90-54=36', '36-18=18']
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,13 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[22, 2], Operations: ['90-54=36', '36/18=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 13:[22, 54, 5], Operations: ['90/18=5']
Exploring Operation: 54-5=49, Resulting Numbers: [22, 49]
Generated Node #0,1,0: 13:[22, 49] Operation: 54-5=49
Exploring Operation: 22-5=17, Resulting Numbers: [54, 17]
Generated Node #0,1,1: 13:[54, 17] Operation: 22-5=17
Exploring Operation: 54-22=32, Resulting Numbers: [5, 32]
Generated Node #0,1,2: 13:[5, 32] Operation: 54-22=32
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[5, 32], Operations: ['90/18=5', '54-22=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,13 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,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:[22, 49], Operations: ['90/18=5', '54-5=49']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,13 unequal: No Solution
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,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:[54, 17], Operations: ['90/18=5', '22-5=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,13 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,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:[90, 22, 3], Operations: ['54/18=3']
Exploring Operation: 90-3=87, Resulting Numbers: [22, 87]
Generated Node #0,0,0: 13:[22, 87] Operation: 90-3=87
Exploring Operation: 90-22=68, Resulting Numbers: [3, 68]
Generated Node #0,0,1: 13:[3, 68] Operation: 90-22=68
Exploring Operation: 90/3=30, Resulting Numbers: [22, 30]
Generated Node #0,0,2: 13:[22, 30] Operation: 90/3=30
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[22, 30], Operations: ['54/18=3', '90/3=30']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[3, 68], Operations: ['54/18=3', '90-22=68']
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,13 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[22, 87], Operations: ['54/18=3', '90-3=87']
Exploring Operation: 22+87=109, Resulting Numbers: [109]
109,13 unequal: No Solution
Exploring Operation: 22*87=1914, Resulting Numbers: [1914]
1914,13 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
34,
24,
40,
57
] | 26 | [
"57-40=17",
"34/17=2",
"24+2=26"
] | Current State: 26:[34, 24, 40, 57], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [34, 24, 17]
Generated Node #2: [34, 24, 17] from Operation: 57-40=17
Current State: 26:[34, 24, 17], Operations: ['57-40=17']
Exploring Operation: 34/17=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 34/17=2
Current State: 26:[24, 2], Operations: ['57-40=17', '34/17=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[34, 24, 40, 57], Operations: []
Exploring Operation: 57-34=23, Resulting Numbers: [24, 40, 23]
Generated Node #0,0: 26:[24, 40, 23] Operation: 57-34=23
Exploring Operation: 57-24=33, Resulting Numbers: [34, 40, 33]
Generated Node #0,1: 26:[34, 40, 33] Operation: 57-24=33
Exploring Operation: 57-40=17, Resulting Numbers: [34, 24, 17]
Generated Node #0,2: 26:[34, 24, 17] Operation: 57-40=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[34, 24, 17], Operations: ['57-40=17']
Exploring Operation: 34-24=10, Resulting Numbers: [17, 10]
Generated Node #0,2,0: 26:[17, 10] Operation: 34-24=10
Exploring Operation: 34/17=2, Resulting Numbers: [24, 2]
Generated Node #0,2,1: 26:[24, 2] Operation: 34/17=2
Exploring Operation: 34-17=17, Resulting Numbers: [24, 17]
Generated Node #0,2,2: 26:[24, 17] Operation: 34-17=17
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[24, 2], Operations: ['57-40=17', '34/17=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[34, 24, 40, 57], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [34, 24, 17]
Generated Node #0,2: 26:[34, 24, 17] Operation: 57-40=17
Moving to Node #0,2
Current State: 26:[34, 24, 17], Operations: ['57-40=17']
Exploring Operation: 34/17=2, Resulting Numbers: [24, 2]
Generated Node #0,2,1: 26:[24, 2] Operation: 34/17=2
Moving to Node #0,2,1
Current State: 26:[24, 2], Operations: ['57-40=17', '34/17=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
41,
83,
18,
2
] | 58 | [
"83-41=42",
"18-2=16",
"42+16=58"
] | Current State: 58:[41, 83, 18, 2], Operations: []
Exploring Operation: 83-41=42, Resulting Numbers: [18, 2, 42]
Generated Node #2: [18, 2, 42] from Operation: 83-41=42
Current State: 58:[18, 2, 42], Operations: ['83-41=42']
Exploring Operation: 18-2=16, Resulting Numbers: [42, 16]
Generated Node #3: [42, 16] from Operation: 18-2=16
Current State: 58:[42, 16], Operations: ['83-41=42', '18-2=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[41, 83, 18, 2], Operations: []
Exploring Operation: 83-18=65, Resulting Numbers: [41, 2, 65]
Generated Node #0,0: 58:[41, 2, 65] Operation: 83-18=65
Exploring Operation: 41-18=23, Resulting Numbers: [83, 2, 23]
Generated Node #0,1: 58:[83, 2, 23] Operation: 41-18=23
Exploring Operation: 41+18=59, Resulting Numbers: [83, 2, 59]
Generated Node #0,2: 58:[83, 2, 59] Operation: 41+18=59
Exploring Operation: 83-41=42, Resulting Numbers: [18, 2, 42]
Generated Node #0,3: 58:[18, 2, 42] Operation: 83-41=42
Exploring Operation: 18*2=36, Resulting Numbers: [41, 83, 36]
Generated Node #0,4: 58:[41, 83, 36] Operation: 18*2=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[41, 2, 65], Operations: ['83-18=65']
Exploring Operation: 65-2=63, Resulting Numbers: [41, 63]
Generated Node #0,0,0: 58:[41, 63] Operation: 65-2=63
Exploring Operation: 41+2=43, Resulting Numbers: [65, 43]
Generated Node #0,0,1: 58:[65, 43] Operation: 41+2=43
Exploring Operation: 65-41=24, Resulting Numbers: [2, 24]
Generated Node #0,0,2: 58:[2, 24] Operation: 65-41=24
Exploring Operation: 2+65=67, Resulting Numbers: [41, 67]
Generated Node #0,0,3: 58:[41, 67] Operation: 2+65=67
Exploring Operation: 41-2=39, Resulting Numbers: [65, 39]
Generated Node #0,0,4: 58:[65, 39] Operation: 41-2=39
Moving to Node #0,0,2
Current State: 58:[2, 24], Operations: ['83-18=65', '65-41=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Moving to Node #0,0,4
Current State: 58:[65, 39], Operations: ['83-18=65', '41-2=39']
Exploring Operation: 65+39=104, Resulting Numbers: [104]
104,58 unequal: No Solution
Exploring Operation: 65*39=2535, Resulting Numbers: [2535]
2535,58 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[41, 63], Operations: ['83-18=65', '65-2=63']
Exploring Operation: 41+63=104, Resulting Numbers: [104]
104,58 unequal: No Solution
Exploring Operation: 41*63=2583, Resulting Numbers: [2583]
2583,58 unequal: No Solution
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[65, 43], Operations: ['83-18=65', '41+2=43']
Exploring Operation: 65*43=2795, Resulting Numbers: [2795]
2795,58 unequal: No Solution
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 65+43=108, Resulting Numbers: [108]
108,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[41, 67], Operations: ['83-18=65', '2+65=67']
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,58 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,58 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,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,3
Current State: 58:[18, 2, 42], Operations: ['83-41=42']
Exploring Operation: 42/2=21, Resulting Numbers: [18, 21]
Generated Node #0,3,0: 58:[18, 21] Operation: 42/2=21
Exploring Operation: 42-18=24, Resulting Numbers: [2, 24]
Generated Node #0,3,1: 58:[2, 24] Operation: 42-18=24
Exploring Operation: 18/2=9, Resulting Numbers: [42, 9]
Generated Node #0,3,2: 58:[42, 9] Operation: 18/2=9
Exploring Operation: 18*2=36, Resulting Numbers: [42, 36]
Generated Node #0,3,3: 58:[42, 36] Operation: 18*2=36
Exploring Operation: 18+42=60, Resulting Numbers: [2, 60]
Generated Node #0,3,4: 58:[2, 60] Operation: 18+42=60
Moving to Node #0,3,4
Current State: 58:[2, 60], Operations: ['83-41=42', '18+42=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[41, 83, 18, 2], Operations: []
Exploring Operation: 83-41=42, Resulting Numbers: [18, 2, 42]
Generated Node #0,3: 58:[18, 2, 42] Operation: 83-41=42
Moving to Node #0,3
Current State: 58:[18, 2, 42], Operations: ['83-41=42']
Exploring Operation: 18+42=60, Resulting Numbers: [2, 60]
Generated Node #0,3,4: 58:[2, 60] Operation: 18+42=60
Moving to Node #0,3,4
Current State: 58:[2, 60], Operations: ['83-41=42', '18+42=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
47,
75,
16,
50
] | 23 | [
"75*16=1200",
"1200/50=24",
"47-24=23"
] | Current State: 23:[47, 75, 16, 50], Operations: []
Exploring Operation: 75*16=1200, Resulting Numbers: [47, 50, 1200]
Generated Node #2: [47, 50, 1200] from Operation: 75*16=1200
Current State: 23:[47, 50, 1200], Operations: ['75*16=1200']
Exploring Operation: 1200/50=24, Resulting Numbers: [47, 24]
Generated Node #3: [47, 24] from Operation: 1200/50=24
Current State: 23:[47, 24], Operations: ['75*16=1200', '1200/50=24']
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[47, 75, 16, 50], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [75, 16, 3]
Generated Node #0,0: 23:[75, 16, 3] Operation: 50-47=3
Exploring Operation: 75-47=28, Resulting Numbers: [16, 50, 28]
Generated Node #0,1: 23:[16, 50, 28] Operation: 75-47=28
Exploring Operation: 75-50=25, Resulting Numbers: [47, 16, 25]
Generated Node #0,2: 23:[47, 16, 25] Operation: 75-50=25
Exploring Operation: 47-16=31, Resulting Numbers: [75, 50, 31]
Generated Node #0,3: 23:[75, 50, 31] Operation: 47-16=31
Moving to Node #0,2
Current State: 23:[47, 16, 25], Operations: ['75-50=25']
Exploring Operation: 25-16=9, Resulting Numbers: [47, 9]
Generated Node #0,2,0: 23:[47, 9] Operation: 25-16=9
Exploring Operation: 47-25=22, Resulting Numbers: [16, 22]
Generated Node #0,2,1: 23:[16, 22] Operation: 47-25=22
Exploring Operation: 47+16=63, Resulting Numbers: [25, 63]
Generated Node #0,2,2: 23:[25, 63] Operation: 47+16=63
Exploring Operation: 47-16=31, Resulting Numbers: [25, 31]
Generated Node #0,2,3: 23:[25, 31] Operation: 47-16=31
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[16, 22], Operations: ['75-50=25', '47-25=22']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[25, 31], Operations: ['75-50=25', '47-16=31']
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,23 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[47, 9], Operations: ['75-50=25', '25-16=9']
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,23 unequal: No Solution
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[25, 63], Operations: ['75-50=25', '47+16=63']
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,23 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,23 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: 23:[16, 50, 28], Operations: ['75-47=28']
Exploring Operation: 16+50=66, Resulting Numbers: [28, 66]
Generated Node #0,1,0: 23:[28, 66] Operation: 16+50=66
Exploring Operation: 28-16=12, Resulting Numbers: [50, 12]
Generated Node #0,1,1: 23:[50, 12] Operation: 28-16=12
Exploring Operation: 50-28=22, Resulting Numbers: [16, 22]
Generated Node #0,1,2: 23:[16, 22] Operation: 50-28=22
Exploring Operation: 50-16=34, Resulting Numbers: [28, 34]
Generated Node #0,1,3: 23:[28, 34] Operation: 50-16=34
Moving to Node #0,0
Current State: 23:[75, 16, 3], Operations: ['50-47=3']
Exploring Operation: 75-16=59, Resulting Numbers: [3, 59]
Generated Node #0,0,0: 23:[3, 59] Operation: 75-16=59
Exploring Operation: 75/3=25, Resulting Numbers: [16, 25]
Generated Node #0,0,1: 23:[16, 25] Operation: 75/3=25
Exploring Operation: 75-3=72, Resulting Numbers: [16, 72]
Generated Node #0,0,2: 23:[16, 72] Operation: 75-3=72
Exploring Operation: 16+3=19, Resulting Numbers: [75, 19]
Generated Node #0,0,3: 23:[75, 19] Operation: 16+3=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[16, 25], Operations: ['50-47=3', '75/3=25']
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,23 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[3, 59], Operations: ['50-47=3', '75-16=59']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[16, 72], Operations: ['50-47=3', '75-3=72']
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,23 unequal: No Solution
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,23 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 23:[75, 19], Operations: ['50-47=3', '16+3=19']
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,23 unequal: No Solution
Exploring Operation: 75*19=1425, Resulting Numbers: [1425]
1425,23 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: 23:[75, 50, 31], Operations: ['47-16=31']
Exploring Operation: 50-31=19, Resulting Numbers: [75, 19]
Generated Node #0,3,0: 23:[75, 19] Operation: 50-31=19
Exploring Operation: 75-50=25, Resulting Numbers: [31, 25]
Generated Node #0,3,1: 23:[31, 25] Operation: 75-50=25
Exploring Operation: 75+50=125, Resulting Numbers: [31, 125]
Generated Node #0,3,2: 23:[31, 125] Operation: 75+50=125
Exploring Operation: 75-31=44, Resulting Numbers: [50, 44]
Generated Node #0,3,3: 23:[50, 44] Operation: 75-31=44
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 23:[31, 25], Operations: ['47-16=31', '75-50=25']
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 31+25=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 31*25=775, Resulting Numbers: [775]
775,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 23:[50, 44], Operations: ['47-16=31', '75-31=44']
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 50*44=2200, Resulting Numbers: [2200]
2200,23 unequal: No Solution
Exploring Operation: 50+44=94, Resulting Numbers: [94]
94,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 23:[75, 19], Operations: ['47-16=31', '50-31=19']
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 75*19=1425, Resulting Numbers: [1425]
1425,23 unequal: No Solution
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 23:[31, 125], Operations: ['47-16=31', '75+50=125']
Exploring Operation: 31*125=3875, Resulting Numbers: [3875]
3875,23 unequal: No Solution
Exploring Operation: 31+125=156, Resulting Numbers: [156]
156,23 unequal: No Solution
Exploring Operation: 125-31=94, Resulting Numbers: [94]
94,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 23:[16, 22], Operations: ['75-47=28', '50-28=22']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[28, 34], Operations: ['75-47=28', '50-16=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,23 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[50, 12], Operations: ['75-47=28', '28-16=12']
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,23 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[28, 66], Operations: ['75-47=28', '16+50=66']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,23 unequal: No Solution
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,23 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
84,
20,
86,
21
] | 43 | [
"84-20=64",
"86+21=107",
"107-64=43"
] | Current State: 43:[84, 20, 86, 21], Operations: []
Exploring Operation: 84-20=64, Resulting Numbers: [86, 21, 64]
Generated Node #2: [86, 21, 64] from Operation: 84-20=64
Current State: 43:[86, 21, 64], Operations: ['84-20=64']
Exploring Operation: 86+21=107, Resulting Numbers: [64, 107]
Generated Node #3: [64, 107] from Operation: 86+21=107
Current State: 43:[64, 107], Operations: ['84-20=64', '86+21=107']
Exploring Operation: 107-64=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[84, 20, 86, 21], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [20, 21, 2]
Generated Node #0,0: 43:[20, 21, 2] Operation: 86-84=2
Exploring Operation: 84-20=64, Resulting Numbers: [86, 21, 64]
Generated Node #0,1: 43:[86, 21, 64] Operation: 84-20=64
Moving to Node #0,0
Current State: 43:[20, 21, 2], Operations: ['86-84=2']
Exploring Operation: 20*2=40, Resulting Numbers: [21, 40]
Generated Node #0,0,0: 43:[21, 40] Operation: 20*2=40
Exploring Operation: 21*2=42, Resulting Numbers: [20, 42]
Generated Node #0,0,1: 43:[20, 42] Operation: 21*2=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[20, 42], Operations: ['86-84=2', '21*2=42']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[21, 40], Operations: ['86-84=2', '20*2=40']
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,43 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: 43:[86, 21, 64], Operations: ['84-20=64']
Exploring Operation: 86-64=22, Resulting Numbers: [21, 22]
Generated Node #0,1,0: 43:[21, 22] Operation: 86-64=22
Exploring Operation: 86-21=65, Resulting Numbers: [64, 65]
Generated Node #0,1,1: 43:[64, 65] Operation: 86-21=65
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[21, 22], Operations: ['84-20=64', '86-64=22']
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[84, 20, 86, 21], Operations: []
Exploring Operation: 84-20=64, Resulting Numbers: [86, 21, 64]
Generated Node #0,1: 43:[86, 21, 64] Operation: 84-20=64
Moving to Node #0,1
Current State: 43:[86, 21, 64], Operations: ['84-20=64']
Exploring Operation: 86-64=22, Resulting Numbers: [21, 22]
Generated Node #0,1,0: 43:[21, 22] Operation: 86-64=22
Moving to Node #0,1,0
Current State: 43:[21, 22], Operations: ['84-20=64', '86-64=22']
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
39,
66,
47,
20
] | 78 | [
"39+66=105",
"47-20=27",
"105-27=78"
] | Current State: 78:[39, 66, 47, 20], Operations: []
Exploring Operation: 39+66=105, Resulting Numbers: [47, 20, 105]
Generated Node #2: [47, 20, 105] from Operation: 39+66=105
Current State: 78:[47, 20, 105], Operations: ['39+66=105']
Exploring Operation: 47-20=27, Resulting Numbers: [105, 27]
Generated Node #3: [105, 27] from Operation: 47-20=27
Current State: 78:[105, 27], Operations: ['39+66=105', '47-20=27']
Exploring Operation: 105-27=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[39, 66, 47, 20], Operations: []
Exploring Operation: 66+20=86, Resulting Numbers: [39, 47, 86]
Generated Node #0,0: 78:[39, 47, 86] Operation: 66+20=86
Exploring Operation: 66-39=27, Resulting Numbers: [47, 20, 27]
Generated Node #0,1: 78:[47, 20, 27] Operation: 66-39=27
Exploring Operation: 66-47=19, Resulting Numbers: [39, 20, 19]
Generated Node #0,2: 78:[39, 20, 19] Operation: 66-47=19
Exploring Operation: 47-20=27, Resulting Numbers: [39, 66, 27]
Generated Node #0,3: 78:[39, 66, 27] Operation: 47-20=27
Exploring Operation: 66-20=46, Resulting Numbers: [39, 47, 46]
Generated Node #0,4: 78:[39, 47, 46] Operation: 66-20=46
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[39, 20, 19], Operations: ['66-47=19']
Exploring Operation: 39-20=19, Resulting Numbers: [19, 19]
Generated Node #0,2,0: 78:[19, 19] Operation: 39-20=19
Exploring Operation: 39-19=20, Resulting Numbers: [20, 20]
Generated Node #0,2,1: 78:[20, 20] Operation: 39-19=20
Exploring Operation: 20-19=1, Resulting Numbers: [39, 1]
Generated Node #0,2,2: 78:[39, 1] Operation: 20-19=1
Exploring Operation: 39+20=59, Resulting Numbers: [19, 59]
Generated Node #0,2,3: 78:[19, 59] Operation: 39+20=59
Exploring Operation: 20+19=39, Resulting Numbers: [39, 39]
Generated Node #0,2,4: 78:[39, 39] Operation: 20+19=39
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 78:[39, 39], Operations: ['66-47=19', '20+19=39']
Exploring Operation: 39-39=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 39*39=1521, Resulting Numbers: [1521]
1521,78 unequal: No Solution
Exploring Operation: 39/39=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[39, 66, 47, 20], Operations: []
Exploring Operation: 66-47=19, Resulting Numbers: [39, 20, 19]
Generated Node #0,2: 78:[39, 20, 19] Operation: 66-47=19
Moving to Node #0,2
Current State: 78:[39, 20, 19], Operations: ['66-47=19']
Exploring Operation: 20+19=39, Resulting Numbers: [39, 39]
Generated Node #0,2,4: 78:[39, 39] Operation: 20+19=39
Moving to Node #0,2,4
Current State: 78:[39, 39], Operations: ['66-47=19', '20+19=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
36,
96,
66,
44
] | 54 | [
"44-36=8",
"96/8=12",
"66-12=54"
] | Current State: 54:[36, 96, 66, 44], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [96, 66, 8]
Generated Node #2: [96, 66, 8] from Operation: 44-36=8
Current State: 54:[96, 66, 8], Operations: ['44-36=8']
Exploring Operation: 96/8=12, Resulting Numbers: [66, 12]
Generated Node #3: [66, 12] from Operation: 96/8=12
Current State: 54:[66, 12], Operations: ['44-36=8', '96/8=12']
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[36, 96, 66, 44], Operations: []
Exploring Operation: 96-66=30, Resulting Numbers: [36, 44, 30]
Generated Node #0,0: 54:[36, 44, 30] Operation: 96-66=30
Moving to Node #0,0
Current State: 54:[36, 44, 30], Operations: ['96-66=30']
Exploring Operation: 44-36=8, Resulting Numbers: [30, 8]
Generated Node #0,0,0: 54:[30, 8] Operation: 44-36=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[30, 8], Operations: ['96-66=30', '44-36=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
71,
3,
94,
2
] | 51 | [
"71*2=142",
"94-3=91",
"142-91=51"
] | Current State: 51:[71, 3, 94, 2], Operations: []
Exploring Operation: 71*2=142, Resulting Numbers: [3, 94, 142]
Generated Node #2: [3, 94, 142] from Operation: 71*2=142
Current State: 51:[3, 94, 142], Operations: ['71*2=142']
Exploring Operation: 94-3=91, Resulting Numbers: [142, 91]
Generated Node #3: [142, 91] from Operation: 94-3=91
Current State: 51:[142, 91], Operations: ['71*2=142', '94-3=91']
Exploring Operation: 142-91=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[71, 3, 94, 2], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [3, 2, 23]
Generated Node #0,0: 51:[3, 2, 23] Operation: 94-71=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[3, 2, 23], Operations: ['94-71=23']
Exploring Operation: 23-3=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 51:[2, 20] Operation: 23-3=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[2, 20], Operations: ['94-71=23', '23-3=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
44,
41,
50,
14
] | 82 | [
"50-41=9",
"14*9=126",
"126-44=82"
] | Current State: 82:[44, 41, 50, 14], Operations: []
Exploring Operation: 50-41=9, Resulting Numbers: [44, 14, 9]
Generated Node #2: [44, 14, 9] from Operation: 50-41=9
Current State: 82:[44, 14, 9], Operations: ['50-41=9']
Exploring Operation: 14*9=126, Resulting Numbers: [44, 126]
Generated Node #3: [44, 126] from Operation: 14*9=126
Current State: 82:[44, 126], Operations: ['50-41=9', '14*9=126']
Exploring Operation: 126-44=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[44, 41, 50, 14], Operations: []
Exploring Operation: 50-14=36, Resulting Numbers: [44, 41, 36]
Generated Node #0,0: 82:[44, 41, 36] Operation: 50-14=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[44, 41, 36], Operations: ['50-14=36']
Exploring Operation: 44+36=80, Resulting Numbers: [41, 80]
Generated Node #0,0,0: 82:[41, 80] Operation: 44+36=80
Moving to Node #0,0,0
Current State: 82:[41, 80], Operations: ['50-14=36', '44+36=80']
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,82 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 |
[
77,
56,
95,
17
] | 57 | [
"77-56=21",
"95-17=78",
"78-21=57"
] | Current State: 57:[77, 56, 95, 17], Operations: []
Exploring Operation: 77-56=21, Resulting Numbers: [95, 17, 21]
Generated Node #2: [95, 17, 21] from Operation: 77-56=21
Current State: 57:[95, 17, 21], Operations: ['77-56=21']
Exploring Operation: 95-17=78, Resulting Numbers: [21, 78]
Generated Node #3: [21, 78] from Operation: 95-17=78
Current State: 57:[21, 78], Operations: ['77-56=21', '95-17=78']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[77, 56, 95, 17], Operations: []
Exploring Operation: 77-56=21, Resulting Numbers: [95, 17, 21]
Generated Node #0,0: 57:[95, 17, 21] Operation: 77-56=21
Exploring Operation: 95-56=39, Resulting Numbers: [77, 17, 39]
Generated Node #0,1: 57:[77, 17, 39] Operation: 95-56=39
Exploring Operation: 95-77=18, Resulting Numbers: [56, 17, 18]
Generated Node #0,2: 57:[56, 17, 18] Operation: 95-77=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[56, 17, 18], Operations: ['95-77=18']
Exploring Operation: 56+17=73, Resulting Numbers: [18, 73]
Generated Node #0,2,0: 57:[18, 73] Operation: 56+17=73
Exploring Operation: 18-17=1, Resulting Numbers: [56, 1]
Generated Node #0,2,1: 57:[56, 1] Operation: 18-17=1
Exploring Operation: 17+18=35, Resulting Numbers: [56, 35]
Generated Node #0,2,2: 57:[56, 35] Operation: 17+18=35
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[56, 1], Operations: ['95-77=18', '18-17=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[77, 56, 95, 17], Operations: []
Exploring Operation: 95-77=18, Resulting Numbers: [56, 17, 18]
Generated Node #0,2: 57:[56, 17, 18] Operation: 95-77=18
Moving to Node #0,2
Current State: 57:[56, 17, 18], Operations: ['95-77=18']
Exploring Operation: 18-17=1, Resulting Numbers: [56, 1]
Generated Node #0,2,1: 57:[56, 1] Operation: 18-17=1
Moving to Node #0,2,1
Current State: 57:[56, 1], Operations: ['95-77=18', '18-17=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
74,
18,
22,
12
] | 90 | [
"74-18=56",
"22+12=34",
"56+34=90"
] | Current State: 90:[74, 18, 22, 12], Operations: []
Exploring Operation: 74-18=56, Resulting Numbers: [22, 12, 56]
Generated Node #2: [22, 12, 56] from Operation: 74-18=56
Current State: 90:[22, 12, 56], Operations: ['74-18=56']
Exploring Operation: 22+12=34, Resulting Numbers: [56, 34]
Generated Node #3: [56, 34] from Operation: 22+12=34
Current State: 90:[56, 34], Operations: ['74-18=56', '22+12=34']
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[74, 18, 22, 12], Operations: []
Exploring Operation: 74+18=92, Resulting Numbers: [22, 12, 92]
Generated Node #0,0: 90:[22, 12, 92] Operation: 74+18=92
Exploring Operation: 74+22=96, Resulting Numbers: [18, 12, 96]
Generated Node #0,1: 90:[18, 12, 96] Operation: 74+22=96
Exploring Operation: 74+12=86, Resulting Numbers: [18, 22, 86]
Generated Node #0,2: 90:[18, 22, 86] Operation: 74+12=86
Moving to Node #0,0
Current State: 90:[22, 12, 92], Operations: ['74+18=92']
Exploring Operation: 22-12=10, Resulting Numbers: [92, 10]
Generated Node #0,0,0: 90:[92, 10] Operation: 22-12=10
Exploring Operation: 22+12=34, Resulting Numbers: [92, 34]
Generated Node #0,0,1: 90:[92, 34] Operation: 22+12=34
Exploring Operation: 92-12=80, Resulting Numbers: [22, 80]
Generated Node #0,0,2: 90:[22, 80] Operation: 92-12=80
Moving to Node #0,1
Current State: 90:[18, 12, 96], Operations: ['74+22=96']
Exploring Operation: 96/12=8, Resulting Numbers: [18, 8]
Generated Node #0,1,0: 90:[18, 8] Operation: 96/12=8
Exploring Operation: 18-12=6, Resulting Numbers: [96, 6]
Generated Node #0,1,1: 90:[96, 6] Operation: 18-12=6
Exploring Operation: 18+12=30, Resulting Numbers: [96, 30]
Generated Node #0,1,2: 90:[96, 30] Operation: 18+12=30
Moving to Node #0,2
Current State: 90:[18, 22, 86], Operations: ['74+12=86']
Exploring Operation: 18+86=104, Resulting Numbers: [22, 104]
Generated Node #0,2,0: 90:[22, 104] Operation: 18+86=104
Exploring Operation: 18+22=40, Resulting Numbers: [86, 40]
Generated Node #0,2,1: 90:[86, 40] Operation: 18+22=40
Exploring Operation: 22-18=4, Resulting Numbers: [86, 4]
Generated Node #0,2,2: 90:[86, 4] Operation: 22-18=4
Moving to Node #0,1,0
Current State: 90:[18, 8], Operations: ['74+22=96', '96/12=8']
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,90 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[92, 10], Operations: ['74+18=92', '22-12=10']
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,90 unequal: No Solution
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,90 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[86, 4], Operations: ['74+12=86', '22-18=4']
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[74, 18, 22, 12], Operations: []
Exploring Operation: 74+12=86, Resulting Numbers: [18, 22, 86]
Generated Node #0,2: 90:[18, 22, 86] Operation: 74+12=86
Moving to Node #0,2
Current State: 90:[18, 22, 86], Operations: ['74+12=86']
Exploring Operation: 22-18=4, Resulting Numbers: [86, 4]
Generated Node #0,2,2: 90:[86, 4] Operation: 22-18=4
Moving to Node #0,2,2
Current State: 90:[86, 4], Operations: ['74+12=86', '22-18=4']
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.980035 | hs_3 | sum_heuristic |
[
48,
83,
86,
34
] | 86 | [
"83-48=35",
"35-34=1",
"86*1=86"
] | Current State: 86:[48, 83, 86, 34], Operations: []
Exploring Operation: 83-48=35, Resulting Numbers: [86, 34, 35]
Generated Node #2: [86, 34, 35] from Operation: 83-48=35
Current State: 86:[86, 34, 35], Operations: ['83-48=35']
Exploring Operation: 35-34=1, Resulting Numbers: [86, 1]
Generated Node #3: [86, 1] from Operation: 35-34=1
Current State: 86:[86, 1], Operations: ['83-48=35', '35-34=1']
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[48, 83, 86, 34], Operations: []
Exploring Operation: 48+34=82, Resulting Numbers: [83, 86, 82]
Generated Node #0,0: 86:[83, 86, 82] Operation: 48+34=82
Exploring Operation: 48-34=14, Resulting Numbers: [83, 86, 14]
Generated Node #0,1: 86:[83, 86, 14] Operation: 48-34=14
Exploring Operation: 86-83=3, Resulting Numbers: [48, 34, 3]
Generated Node #0,2: 86:[48, 34, 3] Operation: 86-83=3
Exploring Operation: 83-34=49, Resulting Numbers: [48, 86, 49]
Generated Node #0,3: 86:[48, 86, 49] Operation: 83-34=49
Moving to Node #0,0
Current State: 86:[83, 86, 82], Operations: ['48+34=82']
Exploring Operation: 83-82=1, Resulting Numbers: [86, 1]
Generated Node #0,0,0: 86:[86, 1] Operation: 83-82=1
Exploring Operation: 86-83=3, Resulting Numbers: [82, 3]
Generated Node #0,0,1: 86:[82, 3] Operation: 86-83=3
Exploring Operation: 86-82=4, Resulting Numbers: [83, 4]
Generated Node #0,0,2: 86:[83, 4] Operation: 86-82=4
Exploring Operation: 83+82=165, Resulting Numbers: [86, 165]
Generated Node #0,0,3: 86:[86, 165] Operation: 83+82=165
Moving to Node #0,3
Current State: 86:[48, 86, 49], Operations: ['83-34=49']
Exploring Operation: 86-48=38, Resulting Numbers: [49, 38]
Generated Node #0,3,0: 86:[49, 38] Operation: 86-48=38
Exploring Operation: 49-48=1, Resulting Numbers: [86, 1]
Generated Node #0,3,1: 86:[86, 1] Operation: 49-48=1
Exploring Operation: 86-49=37, Resulting Numbers: [48, 37]
Generated Node #0,3,2: 86:[48, 37] Operation: 86-49=37
Exploring Operation: 48+49=97, Resulting Numbers: [86, 97]
Generated Node #0,3,3: 86:[86, 97] Operation: 48+49=97
Moving to Node #0,2
Current State: 86:[48, 34, 3], Operations: ['86-83=3']
Exploring Operation: 34+3=37, Resulting Numbers: [48, 37]
Generated Node #0,2,0: 86:[48, 37] Operation: 34+3=37
Exploring Operation: 48-3=45, Resulting Numbers: [34, 45]
Generated Node #0,2,1: 86:[34, 45] Operation: 48-3=45
Exploring Operation: 48-34=14, Resulting Numbers: [3, 14]
Generated Node #0,2,2: 86:[3, 14] Operation: 48-34=14
Exploring Operation: 48+34=82, Resulting Numbers: [3, 82]
Generated Node #0,2,3: 86:[3, 82] Operation: 48+34=82
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[3, 82], Operations: ['86-83=3', '48+34=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,86 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[48, 37], Operations: ['86-83=3', '34+3=37']
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,86 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[34, 45], Operations: ['86-83=3', '48-3=45']
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,86 unequal: No Solution
Exploring Operation: 34*45=1530, Resulting Numbers: [1530]
1530,86 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[3, 14], Operations: ['86-83=3', '48-34=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 86:[83, 86, 14], Operations: ['48-34=14']
Exploring Operation: 86-83=3, Resulting Numbers: [14, 3]
Generated Node #0,1,0: 86:[14, 3] Operation: 86-83=3
Exploring Operation: 86+14=100, Resulting Numbers: [83, 100]
Generated Node #0,1,1: 86:[83, 100] Operation: 86+14=100
Exploring Operation: 83-14=69, Resulting Numbers: [86, 69]
Generated Node #0,1,2: 86:[86, 69] Operation: 83-14=69
Exploring Operation: 83+14=97, Resulting Numbers: [86, 97]
Generated Node #0,1,3: 86:[86, 97] Operation: 83+14=97
Moving to Node #0,0,0
Current State: 86:[86, 1], Operations: ['48+34=82', '83-82=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[48, 83, 86, 34], Operations: []
Exploring Operation: 48+34=82, Resulting Numbers: [83, 86, 82]
Generated Node #0,0: 86:[83, 86, 82] Operation: 48+34=82
Moving to Node #0,0
Current State: 86:[83, 86, 82], Operations: ['48+34=82']
Exploring Operation: 83-82=1, Resulting Numbers: [86, 1]
Generated Node #0,0,0: 86:[86, 1] Operation: 83-82=1
Moving to Node #0,0,0
Current State: 86:[86, 1], Operations: ['48+34=82', '83-82=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.967882 | hs_4 | sum_heuristic |
[
28,
35,
23,
93
] | 14 | [
"28*35=980",
"93-23=70",
"980/70=14"
] | Current State: 14:[28, 35, 23, 93], Operations: []
Exploring Operation: 28*35=980, Resulting Numbers: [23, 93, 980]
Generated Node #2: [23, 93, 980] from Operation: 28*35=980
Current State: 14:[23, 93, 980], Operations: ['28*35=980']
Exploring Operation: 93-23=70, Resulting Numbers: [980, 70]
Generated Node #3: [980, 70] from Operation: 93-23=70
Current State: 14:[980, 70], Operations: ['28*35=980', '93-23=70']
Exploring Operation: 980/70=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[28, 35, 23, 93], Operations: []
Exploring Operation: 93-35=58, Resulting Numbers: [28, 23, 58]
Generated Node #0,0: 14:[28, 23, 58] Operation: 93-35=58
Exploring Operation: 93-28=65, Resulting Numbers: [35, 23, 65]
Generated Node #0,1: 14:[35, 23, 65] Operation: 93-28=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[28, 23, 58], Operations: ['93-35=58']
Exploring Operation: 58-28=30, Resulting Numbers: [23, 30]
Generated Node #0,0,0: 14:[23, 30] Operation: 58-28=30
Exploring Operation: 58-23=35, Resulting Numbers: [28, 35]
Generated Node #0,0,1: 14:[28, 35] Operation: 58-23=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[23, 30], Operations: ['93-35=58', '58-28=30']
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,14 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[28, 35], Operations: ['93-35=58', '58-23=35']
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,14 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[35, 23, 65], Operations: ['93-28=65']
Exploring Operation: 65-35=30, Resulting Numbers: [23, 30]
Generated Node #0,1,0: 14:[23, 30] Operation: 65-35=30
Exploring Operation: 65-23=42, Resulting Numbers: [35, 42]
Generated Node #0,1,1: 14:[35, 42] Operation: 65-23=42
Moving to Node #0,1,0
Current State: 14:[23, 30], Operations: ['93-28=65', '65-35=30']
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,14 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[35, 42], Operations: ['93-28=65', '65-23=42']
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
33,
14,
87,
6
] | 11 | [
"14*6=84",
"87-84=3",
"33/3=11"
] | Current State: 11:[33, 14, 87, 6], Operations: []
Exploring Operation: 14*6=84, Resulting Numbers: [33, 87, 84]
Generated Node #2: [33, 87, 84] from Operation: 14*6=84
Current State: 11:[33, 87, 84], Operations: ['14*6=84']
Exploring Operation: 87-84=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 87-84=3
Current State: 11:[33, 3], Operations: ['14*6=84', '87-84=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[33, 14, 87, 6], Operations: []
Exploring Operation: 87-33=54, Resulting Numbers: [14, 6, 54]
Generated Node #0,0: 11:[14, 6, 54] Operation: 87-33=54
Exploring Operation: 33-14=19, Resulting Numbers: [87, 6, 19]
Generated Node #0,1: 11:[87, 6, 19] Operation: 33-14=19
Exploring Operation: 87-14=73, Resulting Numbers: [33, 6, 73]
Generated Node #0,2: 11:[33, 6, 73] Operation: 87-14=73
Moving to Node #0,0
Current State: 11:[14, 6, 54], Operations: ['87-33=54']
Exploring Operation: 54/6=9, Resulting Numbers: [14, 9]
Generated Node #0,0,0: 11:[14, 9] Operation: 54/6=9
Exploring Operation: 54-14=40, Resulting Numbers: [6, 40]
Generated Node #0,0,1: 11:[6, 40] Operation: 54-14=40
Exploring Operation: 54-6=48, Resulting Numbers: [14, 48]
Generated Node #0,0,2: 11:[14, 48] Operation: 54-6=48
Moving to Node #0,1
Current State: 11:[87, 6, 19], Operations: ['33-14=19']
Exploring Operation: 19-6=13, Resulting Numbers: [87, 13]
Generated Node #0,1,0: 11:[87, 13] Operation: 19-6=13
Exploring Operation: 87-19=68, Resulting Numbers: [6, 68]
Generated Node #0,1,1: 11:[6, 68] Operation: 87-19=68
Exploring Operation: 87-6=81, Resulting Numbers: [19, 81]
Generated Node #0,1,2: 11:[19, 81] Operation: 87-6=81
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[6, 68], Operations: ['33-14=19', '87-19=68']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 6*68=408, Resulting Numbers: [408]
408,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,1,0
Current State: 11:[87, 13], Operations: ['33-14=19', '19-6=13']
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 87*13=1131, Resulting Numbers: [1131]
1131,11 unequal: No Solution
Exploring Operation: 87+13=100, Resulting Numbers: [100]
100,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,1,2
Current State: 11:[19, 81], Operations: ['33-14=19', '87-6=81']
Exploring Operation: 19+81=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 19*81=1539, Resulting Numbers: [1539]
1539,11 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 11:[33, 6, 73], Operations: ['87-14=73']
Exploring Operation: 73-33=40, Resulting Numbers: [6, 40]
Generated Node #0,2,0: 11:[6, 40] Operation: 73-33=40
Exploring Operation: 73-6=67, Resulting Numbers: [33, 67]
Generated Node #0,2,1: 11:[33, 67] Operation: 73-6=67
Exploring Operation: 33-6=27, Resulting Numbers: [73, 27]
Generated Node #0,2,2: 11:[73, 27] Operation: 33-6=27
Moving to Node #0,0,0
Current State: 11:[14, 9], Operations: ['87-33=54', '54/6=9']
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,11 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[6, 40], Operations: ['87-33=54', '54-14=40']
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,11 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[6, 40], Operations: ['87-14=73', '73-33=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,11 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[14, 48], Operations: ['87-33=54', '54-6=48']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,11 unequal: No Solution
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[73, 27], Operations: ['87-14=73', '33-6=27']
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 73+27=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 73*27=1971, Resulting Numbers: [1971]
1971,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[33, 67], Operations: ['87-14=73', '73-6=67']
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 33*67=2211, Resulting Numbers: [2211]
2211,11 unequal: No Solution
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,11 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
53,
2,
1,
98
] | 15 | [
"98-53=45",
"2+1=3",
"45/3=15"
] | Current State: 15:[53, 2, 1, 98], Operations: []
Exploring Operation: 98-53=45, Resulting Numbers: [2, 1, 45]
Generated Node #2: [2, 1, 45] from Operation: 98-53=45
Current State: 15:[2, 1, 45], Operations: ['98-53=45']
Exploring Operation: 2+1=3, Resulting Numbers: [45, 3]
Generated Node #3: [45, 3] from Operation: 2+1=3
Current State: 15:[45, 3], Operations: ['98-53=45', '2+1=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[53, 2, 1, 98], Operations: []
Exploring Operation: 53-2=51, Resulting Numbers: [1, 98, 51]
Generated Node #0,0: 15:[1, 98, 51] Operation: 53-2=51
Exploring Operation: 98/2=49, Resulting Numbers: [53, 1, 49]
Generated Node #0,1: 15:[53, 1, 49] Operation: 98/2=49
Exploring Operation: 98-53=45, Resulting Numbers: [2, 1, 45]
Generated Node #0,2: 15:[2, 1, 45] Operation: 98-53=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[2, 1, 45], Operations: ['98-53=45']
Exploring Operation: 45-2=43, Resulting Numbers: [1, 43]
Generated Node #0,2,0: 15:[1, 43] Operation: 45-2=43
Exploring Operation: 2+1=3, Resulting Numbers: [45, 3]
Generated Node #0,2,1: 15:[45, 3] Operation: 2+1=3
Exploring Operation: 45-1=44, Resulting Numbers: [2, 44]
Generated Node #0,2,2: 15:[2, 44] Operation: 45-1=44
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[1, 43], Operations: ['98-53=45', '45-2=43']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,15 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[45, 3], Operations: ['98-53=45', '2+1=3']
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[53, 2, 1, 98], Operations: []
Exploring Operation: 98-53=45, Resulting Numbers: [2, 1, 45]
Generated Node #0,2: 15:[2, 1, 45] Operation: 98-53=45
Moving to Node #0,2
Current State: 15:[2, 1, 45], Operations: ['98-53=45']
Exploring Operation: 2+1=3, Resulting Numbers: [45, 3]
Generated Node #0,2,1: 15:[45, 3] Operation: 2+1=3
Moving to Node #0,2,1
Current State: 15:[45, 3], Operations: ['98-53=45', '2+1=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
91,
28,
56,
43
] | 50 | [
"91-28=63",
"56-43=13",
"63-13=50"
] | Current State: 50:[91, 28, 56, 43], Operations: []
Exploring Operation: 91-28=63, Resulting Numbers: [56, 43, 63]
Generated Node #2: [56, 43, 63] from Operation: 91-28=63
Current State: 50:[56, 43, 63], Operations: ['91-28=63']
Exploring Operation: 56-43=13, Resulting Numbers: [63, 13]
Generated Node #3: [63, 13] from Operation: 56-43=13
Current State: 50:[63, 13], Operations: ['91-28=63', '56-43=13']
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[91, 28, 56, 43], Operations: []
Exploring Operation: 91-43=48, Resulting Numbers: [28, 56, 48]
Generated Node #0,0: 50:[28, 56, 48] Operation: 91-43=48
Exploring Operation: 91-28=63, Resulting Numbers: [56, 43, 63]
Generated Node #0,1: 50:[56, 43, 63] Operation: 91-28=63
Exploring Operation: 91-56=35, Resulting Numbers: [28, 43, 35]
Generated Node #0,2: 50:[28, 43, 35] Operation: 91-56=35
Moving to Node #0,0
Current State: 50:[28, 56, 48], Operations: ['91-43=48']
Exploring Operation: 56-28=28, Resulting Numbers: [48, 28]
Generated Node #0,0,0: 50:[48, 28] Operation: 56-28=28
Exploring Operation: 56/28=2, Resulting Numbers: [48, 2]
Generated Node #0,0,1: 50:[48, 2] Operation: 56/28=2
Exploring Operation: 56-48=8, Resulting Numbers: [28, 8]
Generated Node #0,0,2: 50:[28, 8] Operation: 56-48=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[48, 2], Operations: ['91-43=48', '56/28=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[91, 28, 56, 43], Operations: []
Exploring Operation: 91-43=48, Resulting Numbers: [28, 56, 48]
Generated Node #0,0: 50:[28, 56, 48] Operation: 91-43=48
Moving to Node #0,0
Current State: 50:[28, 56, 48], Operations: ['91-43=48']
Exploring Operation: 56/28=2, Resulting Numbers: [48, 2]
Generated Node #0,0,1: 50:[48, 2] Operation: 56/28=2
Moving to Node #0,0,1
Current State: 50:[48, 2], Operations: ['91-43=48', '56/28=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
76,
66,
33,
29
] | 49 | [
"76-29=47",
"66/33=2",
"47+2=49"
] | Current State: 49:[76, 66, 33, 29], Operations: []
Exploring Operation: 76-29=47, Resulting Numbers: [66, 33, 47]
Generated Node #2: [66, 33, 47] from Operation: 76-29=47
Current State: 49:[66, 33, 47], Operations: ['76-29=47']
Exploring Operation: 66/33=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 66/33=2
Current State: 49:[47, 2], Operations: ['76-29=47', '66/33=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[76, 66, 33, 29], Operations: []
Exploring Operation: 76-29=47, Resulting Numbers: [66, 33, 47]
Generated Node #0,0: 49:[66, 33, 47] Operation: 76-29=47
Exploring Operation: 76-66=10, Resulting Numbers: [33, 29, 10]
Generated Node #0,1: 49:[33, 29, 10] Operation: 76-66=10
Moving to Node #0,0
Current State: 49:[66, 33, 47], Operations: ['76-29=47']
Exploring Operation: 66-33=33, Resulting Numbers: [47, 33]
Generated Node #0,0,0: 49:[47, 33] Operation: 66-33=33
Exploring Operation: 66/33=2, Resulting Numbers: [47, 2]
Generated Node #0,0,1: 49:[47, 2] Operation: 66/33=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[47, 2], Operations: ['76-29=47', '66/33=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[76, 66, 33, 29], Operations: []
Exploring Operation: 76-29=47, Resulting Numbers: [66, 33, 47]
Generated Node #0,0: 49:[66, 33, 47] Operation: 76-29=47
Moving to Node #0,0
Current State: 49:[66, 33, 47], Operations: ['76-29=47']
Exploring Operation: 66/33=2, Resulting Numbers: [47, 2]
Generated Node #0,0,1: 49:[47, 2] Operation: 66/33=2
Moving to Node #0,0,1
Current State: 49:[47, 2], Operations: ['76-29=47', '66/33=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
32,
48,
43,
40
] | 47 | [
"48-40=8",
"32/8=4",
"43+4=47"
] | Current State: 47:[32, 48, 43, 40], Operations: []
Exploring Operation: 48-40=8, Resulting Numbers: [32, 43, 8]
Generated Node #2: [32, 43, 8] from Operation: 48-40=8
Current State: 47:[32, 43, 8], Operations: ['48-40=8']
Exploring Operation: 32/8=4, Resulting Numbers: [43, 4]
Generated Node #3: [43, 4] from Operation: 32/8=4
Current State: 47:[43, 4], Operations: ['48-40=8', '32/8=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[32, 48, 43, 40], Operations: []
Exploring Operation: 32+40=72, Resulting Numbers: [48, 43, 72]
Generated Node #0,0: 47:[48, 43, 72] Operation: 32+40=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[48, 43, 72], Operations: ['32+40=72']
Exploring Operation: 72-43=29, Resulting Numbers: [48, 29]
Generated Node #0,0,0: 47:[48, 29] Operation: 72-43=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[48, 29], Operations: ['32+40=72', '72-43=29']
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
73,
78,
2,
3
] | 71 | [
"73*2=146",
"78-3=75",
"146-75=71"
] | Current State: 71:[73, 78, 2, 3], Operations: []
Exploring Operation: 73*2=146, Resulting Numbers: [78, 3, 146]
Generated Node #2: [78, 3, 146] from Operation: 73*2=146
Current State: 71:[78, 3, 146], Operations: ['73*2=146']
Exploring Operation: 78-3=75, Resulting Numbers: [146, 75]
Generated Node #3: [146, 75] from Operation: 78-3=75
Current State: 71:[146, 75], Operations: ['73*2=146', '78-3=75']
Exploring Operation: 146-75=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[73, 78, 2, 3], Operations: []
Exploring Operation: 2*3=6, Resulting Numbers: [73, 78, 6]
Generated Node #0,0: 71:[73, 78, 6] Operation: 2*3=6
Exploring Operation: 78-2=76, Resulting Numbers: [73, 3, 76]
Generated Node #0,1: 71:[73, 3, 76] Operation: 78-2=76
Exploring Operation: 73-2=71, Resulting Numbers: [78, 3, 71]
Generated Node #0,2: 71:[78, 3, 71] Operation: 73-2=71
Moving to Node #0,0
Current State: 71:[73, 78, 6], Operations: ['2*3=6']
Exploring Operation: 78-6=72, Resulting Numbers: [73, 72]
Generated Node #0,0,0: 71:[73, 72] Operation: 78-6=72
Exploring Operation: 73+6=79, Resulting Numbers: [78, 79]
Generated Node #0,0,1: 71:[78, 79] Operation: 73+6=79
Exploring Operation: 73-6=67, Resulting Numbers: [78, 67]
Generated Node #0,0,2: 71:[78, 67] Operation: 73-6=67
Moving to Node #0,1
Current State: 71:[73, 3, 76], Operations: ['78-2=76']
Exploring Operation: 73+3=76, Resulting Numbers: [76, 76]
Generated Node #0,1,0: 71:[76, 76] Operation: 73+3=76
Exploring Operation: 76-3=73, Resulting Numbers: [73, 73]
Generated Node #0,1,1: 71:[73, 73] Operation: 76-3=73
Exploring Operation: 73-3=70, Resulting Numbers: [76, 70]
Generated Node #0,1,2: 71:[76, 70] Operation: 73-3=70
Moving to Node #0,2
Current State: 71:[78, 3, 71], Operations: ['73-2=71']
Exploring Operation: 78-3=75, Resulting Numbers: [71, 75]
Generated Node #0,2,0: 71:[71, 75] Operation: 78-3=75
Exploring Operation: 3+71=74, Resulting Numbers: [78, 74]
Generated Node #0,2,1: 71:[78, 74] Operation: 3+71=74
Exploring Operation: 78+3=81, Resulting Numbers: [71, 81]
Generated Node #0,2,2: 71:[71, 81] Operation: 78+3=81
Moving to Node #0,0,0
Current State: 71:[73, 72], Operations: ['2*3=6', '78-6=72']
Exploring Operation: 73*72=5256, Resulting Numbers: [5256]
5256,71 unequal: No Solution
Exploring Operation: 73+72=145, Resulting Numbers: [145]
145,71 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[71, 75], Operations: ['73-2=71', '78-3=75']
Exploring Operation: 71+75=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 71*75=5325, Resulting Numbers: [5325]
5325,71 unequal: No Solution
Exploring Operation: 75-71=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[73, 73], Operations: ['78-2=76', '76-3=73']
Exploring Operation: 73+73=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 73-73=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 73/73=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[76, 70], Operations: ['78-2=76', '73-3=70']
Exploring Operation: 76+70=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 76*70=5320, Resulting Numbers: [5320]
5320,71 unequal: No Solution
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[76, 76], Operations: ['78-2=76', '73+3=76']
Exploring Operation: 76/76=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 76+76=152, Resulting Numbers: [152]
152,71 unequal: No Solution
Exploring Operation: 76-76=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[78, 74], Operations: ['73-2=71', '3+71=74']
Exploring Operation: 78+74=152, Resulting Numbers: [152]
152,71 unequal: No Solution
Exploring Operation: 78*74=5772, Resulting Numbers: [5772]
5772,71 unequal: No Solution
Exploring Operation: 78-74=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[71, 81], Operations: ['73-2=71', '78+3=81']
Exploring Operation: 71+81=152, Resulting Numbers: [152]
152,71 unequal: No Solution
Exploring Operation: 71*81=5751, Resulting Numbers: [5751]
5751,71 unequal: No Solution
Exploring Operation: 81-71=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[78, 67], Operations: ['2*3=6', '73-6=67']
Exploring Operation: 78-67=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 78*67=5226, Resulting Numbers: [5226]
5226,71 unequal: No Solution
Exploring Operation: 78+67=145, Resulting Numbers: [145]
145,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[78, 79], Operations: ['2*3=6', '73+6=79']
Exploring Operation: 78*79=6162, Resulting Numbers: [6162]
6162,71 unequal: No Solution
Exploring Operation: 78+79=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,71 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
5,
9,
69,
46
] | 22 | [
"5*9=45",
"69-46=23",
"45-23=22"
] | Current State: 22:[5, 9, 69, 46], Operations: []
Exploring Operation: 5*9=45, Resulting Numbers: [69, 46, 45]
Generated Node #2: [69, 46, 45] from Operation: 5*9=45
Current State: 22:[69, 46, 45], Operations: ['5*9=45']
Exploring Operation: 69-46=23, Resulting Numbers: [45, 23]
Generated Node #3: [45, 23] from Operation: 69-46=23
Current State: 22:[45, 23], Operations: ['5*9=45', '69-46=23']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[5, 9, 69, 46], Operations: []
Exploring Operation: 46-5=41, Resulting Numbers: [9, 69, 41]
Generated Node #0,0: 22:[9, 69, 41] Operation: 46-5=41
Exploring Operation: 69-9=60, Resulting Numbers: [5, 46, 60]
Generated Node #0,1: 22:[5, 46, 60] Operation: 69-9=60
Exploring Operation: 46-9=37, Resulting Numbers: [5, 69, 37]
Generated Node #0,2: 22:[5, 69, 37] Operation: 46-9=37
Exploring Operation: 69-46=23, Resulting Numbers: [5, 9, 23]
Generated Node #0,3: 22:[5, 9, 23] Operation: 69-46=23
Exploring Operation: 69-5=64, Resulting Numbers: [9, 46, 64]
Generated Node #0,4: 22:[9, 46, 64] Operation: 69-5=64
Moving to Node #0,3
Current State: 22:[5, 9, 23], Operations: ['69-46=23']
Exploring Operation: 23-5=18, Resulting Numbers: [9, 18]
Generated Node #0,3,0: 22:[9, 18] Operation: 23-5=18
Exploring Operation: 5+9=14, Resulting Numbers: [23, 14]
Generated Node #0,3,1: 22:[23, 14] Operation: 5+9=14
Exploring Operation: 5+23=28, Resulting Numbers: [9, 28]
Generated Node #0,3,2: 22:[9, 28] Operation: 5+23=28
Exploring Operation: 23-9=14, Resulting Numbers: [5, 14]
Generated Node #0,3,3: 22:[5, 14] Operation: 23-9=14
Exploring Operation: 9-5=4, Resulting Numbers: [23, 4]
Generated Node #0,3,4: 22:[23, 4] Operation: 9-5=4
Moving to Node #0,2
Current State: 22:[5, 69, 37], Operations: ['46-9=37']
Exploring Operation: 5+69=74, Resulting Numbers: [37, 74]
Generated Node #0,2,0: 22:[37, 74] Operation: 5+69=74
Exploring Operation: 69-37=32, Resulting Numbers: [5, 32]
Generated Node #0,2,1: 22:[5, 32] Operation: 69-37=32
Exploring Operation: 37-5=32, Resulting Numbers: [69, 32]
Generated Node #0,2,2: 22:[69, 32] Operation: 37-5=32
Exploring Operation: 69-5=64, Resulting Numbers: [37, 64]
Generated Node #0,2,3: 22:[37, 64] Operation: 69-5=64
Exploring Operation: 5+37=42, Resulting Numbers: [69, 42]
Generated Node #0,2,4: 22:[69, 42] Operation: 5+37=42
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[5, 32], Operations: ['46-9=37', '69-37=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,22 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[69, 32], Operations: ['46-9=37', '37-5=32']
Exploring Operation: 69-32=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 69+32=101, Resulting Numbers: [101]
101,22 unequal: No Solution
Exploring Operation: 69*32=2208, Resulting Numbers: [2208]
2208,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 22:[37, 64], Operations: ['46-9=37', '69-5=64']
Exploring Operation: 37*64=2368, Resulting Numbers: [2368]
2368,22 unequal: No Solution
Exploring Operation: 37+64=101, Resulting Numbers: [101]
101,22 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[37, 74], Operations: ['46-9=37', '5+69=74']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 37*74=2738, Resulting Numbers: [2738]
2738,22 unequal: No Solution
Exploring Operation: 37+74=111, Resulting Numbers: [111]
111,22 unequal: No Solution
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 22:[69, 42], Operations: ['46-9=37', '5+37=42']
Exploring Operation: 69*42=2898, Resulting Numbers: [2898]
2898,22 unequal: No Solution
Exploring Operation: 69+42=111, Resulting Numbers: [111]
111,22 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,22 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: 22:[5, 46, 60], Operations: ['69-9=60']
Exploring Operation: 5+46=51, Resulting Numbers: [60, 51]
Generated Node #0,1,0: 22:[60, 51] Operation: 5+46=51
Exploring Operation: 60/5=12, Resulting Numbers: [46, 12]
Generated Node #0,1,1: 22:[46, 12] Operation: 60/5=12
Exploring Operation: 60-46=14, Resulting Numbers: [5, 14]
Generated Node #0,1,2: 22:[5, 14] Operation: 60-46=14
Exploring Operation: 60-5=55, Resulting Numbers: [46, 55]
Generated Node #0,1,3: 22:[46, 55] Operation: 60-5=55
Exploring Operation: 46-5=41, Resulting Numbers: [60, 41]
Generated Node #0,1,4: 22:[60, 41] Operation: 46-5=41
Moving to Node #0,0
Current State: 22:[9, 69, 41], Operations: ['46-5=41']
Exploring Operation: 9+69=78, Resulting Numbers: [41, 78]
Generated Node #0,0,0: 22:[41, 78] Operation: 9+69=78
Exploring Operation: 69-41=28, Resulting Numbers: [9, 28]
Generated Node #0,0,1: 22:[9, 28] Operation: 69-41=28
Exploring Operation: 69-9=60, Resulting Numbers: [41, 60]
Generated Node #0,0,2: 22:[41, 60] Operation: 69-9=60
Exploring Operation: 9+41=50, Resulting Numbers: [69, 50]
Generated Node #0,0,3: 22:[69, 50] Operation: 9+41=50
Exploring Operation: 41-9=32, Resulting Numbers: [69, 32]
Generated Node #0,0,4: 22:[69, 32] Operation: 41-9=32
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[9, 28], Operations: ['46-5=41', '69-41=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,22 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[41, 60], Operations: ['46-5=41', '69-9=60']
Exploring Operation: 41*60=2460, Resulting Numbers: [2460]
2460,22 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 41+60=101, Resulting Numbers: [101]
101,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 22:[69, 32], Operations: ['46-5=41', '41-9=32']
Exploring Operation: 69-32=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 69*32=2208, Resulting Numbers: [2208]
2208,22 unequal: No Solution
Exploring Operation: 69+32=101, Resulting Numbers: [101]
101,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[41, 78], Operations: ['46-5=41', '9+69=78']
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 41*78=3198, Resulting Numbers: [3198]
3198,22 unequal: No Solution
Exploring Operation: 41+78=119, Resulting Numbers: [119]
119,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 22:[69, 50], Operations: ['46-5=41', '9+41=50']
Exploring Operation: 69+50=119, Resulting Numbers: [119]
119,22 unequal: No Solution
Exploring Operation: 69*50=3450, Resulting Numbers: [3450]
3450,22 unequal: No Solution
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,22 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: 22:[9, 46, 64], Operations: ['69-5=64']
Exploring Operation: 64-9=55, Resulting Numbers: [46, 55]
Generated Node #0,4,0: 22:[46, 55] Operation: 64-9=55
Exploring Operation: 9+64=73, Resulting Numbers: [46, 73]
Generated Node #0,4,1: 22:[46, 73] Operation: 9+64=73
Exploring Operation: 9+46=55, Resulting Numbers: [64, 55]
Generated Node #0,4,2: 22:[64, 55] Operation: 9+46=55
Exploring Operation: 46-9=37, Resulting Numbers: [64, 37]
Generated Node #0,4,3: 22:[64, 37] Operation: 46-9=37
Exploring Operation: 64-46=18, Resulting Numbers: [9, 18]
Generated Node #0,4,4: 22:[9, 18] Operation: 64-46=18
Moving to Node #0,3,4
Current State: 22:[23, 4], Operations: ['69-46=23', '9-5=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,22 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[23, 14], Operations: ['69-46=23', '5+9=14']
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,22 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Moving to Node #0,3,0
Current State: 22:[9, 18], Operations: ['69-46=23', '23-5=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,22 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[5, 14], Operations: ['69-9=60', '60-46=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Moving to Node #0,4,4
Current State: 22:[9, 18], Operations: ['69-5=64', '64-46=18']
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,22 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Moving to Node #0,3,3
Current State: 22:[5, 14], Operations: ['69-46=23', '23-9=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[9, 28], Operations: ['69-46=23', '5+23=28']
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,22 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[46, 12], Operations: ['69-9=60', '60/5=12']
Exploring Operation: 46*12=552, Resulting Numbers: [552]
552,22 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,22 unequal: No Solution
Moving to Node #0,4,3
Current State: 22:[64, 37], Operations: ['69-5=64', '46-9=37']
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,22 unequal: No Solution
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[46, 55], Operations: ['69-9=60', '60-5=55']
Exploring Operation: 46*55=2530, Resulting Numbers: [2530]
2530,22 unequal: No Solution
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 46+55=101, Resulting Numbers: [101]
101,22 unequal: No Solution
Moving to Node #0,1,4
Current State: 22:[60, 41], Operations: ['69-9=60', '46-5=41']
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,22 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,22 unequal: No Solution
Moving to Node #0,4,0
Current State: 22:[46, 55], Operations: ['69-5=64', '64-9=55']
Exploring Operation: 46*55=2530, Resulting Numbers: [2530]
2530,22 unequal: No Solution
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 46+55=101, Resulting Numbers: [101]
101,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[60, 51], Operations: ['69-9=60', '5+46=51']
Exploring Operation: 60*51=3060, Resulting Numbers: [3060]
3060,22 unequal: No Solution
Exploring Operation: 60-51=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 60+51=111, Resulting Numbers: [111]
111,22 unequal: No Solution
Moving to Node #0,4,1
Current State: 22:[46, 73], Operations: ['69-5=64', '9+64=73']
Exploring Operation: 46*73=3358, Resulting Numbers: [3358]
3358,22 unequal: No Solution
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 46+73=119, Resulting Numbers: [119]
119,22 unequal: No Solution
Moving to Node #0,4,2
Current State: 22:[64, 55], Operations: ['69-5=64', '9+46=55']
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,22 unequal: No Solution
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,22 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
37,
38,
2,
79
] | 34 | [
"79-37=42",
"38*2=76",
"76-42=34"
] | Current State: 34:[37, 38, 2, 79], Operations: []
Exploring Operation: 79-37=42, Resulting Numbers: [38, 2, 42]
Generated Node #2: [38, 2, 42] from Operation: 79-37=42
Current State: 34:[38, 2, 42], Operations: ['79-37=42']
Exploring Operation: 38*2=76, Resulting Numbers: [42, 76]
Generated Node #3: [42, 76] from Operation: 38*2=76
Current State: 34:[42, 76], Operations: ['79-37=42', '38*2=76']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[37, 38, 2, 79], Operations: []
Exploring Operation: 79-37=42, Resulting Numbers: [38, 2, 42]
Generated Node #0,0: 34:[38, 2, 42] Operation: 79-37=42
Exploring Operation: 37-2=35, Resulting Numbers: [38, 79, 35]
Generated Node #0,1: 34:[38, 79, 35] Operation: 37-2=35
Exploring Operation: 38-37=1, Resulting Numbers: [2, 79, 1]
Generated Node #0,2: 34:[2, 79, 1] Operation: 38-37=1
Exploring Operation: 79-38=41, Resulting Numbers: [37, 2, 41]
Generated Node #0,3: 34:[37, 2, 41] Operation: 79-38=41
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[37, 2, 41], Operations: ['79-38=41']
Exploring Operation: 37-2=35, Resulting Numbers: [41, 35]
Generated Node #0,3,0: 34:[41, 35] Operation: 37-2=35
Exploring Operation: 37+2=39, Resulting Numbers: [41, 39]
Generated Node #0,3,1: 34:[41, 39] Operation: 37+2=39
Exploring Operation: 41-37=4, Resulting Numbers: [2, 4]
Generated Node #0,3,2: 34:[2, 4] Operation: 41-37=4
Exploring Operation: 41-2=39, Resulting Numbers: [37, 39]
Generated Node #0,3,3: 34:[37, 39] Operation: 41-2=39
Moving to Node #0,3,2
Current State: 34:[2, 4], Operations: ['79-38=41', '41-37=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[37, 39], Operations: ['79-38=41', '41-2=39']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[41, 35], Operations: ['79-38=41', '37-2=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,34 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[41, 39], Operations: ['79-38=41', '37+2=39']
Exploring Operation: 41*39=1599, Resulting Numbers: [1599]
1599,34 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,34 unequal: No Solution
No 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: 34:[38, 2, 42], Operations: ['79-37=42']
Exploring Operation: 42-38=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 34:[2, 4] Operation: 42-38=4
Exploring Operation: 42/2=21, Resulting Numbers: [38, 21]
Generated Node #0,0,1: 34:[38, 21] Operation: 42/2=21
Exploring Operation: 38-2=36, Resulting Numbers: [42, 36]
Generated Node #0,0,2: 34:[42, 36] Operation: 38-2=36
Exploring Operation: 38/2=19, Resulting Numbers: [42, 19]
Generated Node #0,0,3: 34:[42, 19] Operation: 38/2=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[2, 4], Operations: ['79-37=42', '42-38=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[38, 21], Operations: ['79-37=42', '42/2=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,34 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[42, 36], Operations: ['79-37=42', '38-2=36']
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 42*36=1512, Resulting Numbers: [1512]
1512,34 unequal: No Solution
Exploring Operation: 42+36=78, Resulting Numbers: [78]
78,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 34:[42, 19], Operations: ['79-37=42', '38/2=19']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,34 unequal: No Solution
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[2, 79, 1], Operations: ['38-37=1']
Exploring Operation: 2*1=2, Resulting Numbers: [79, 2]
Generated Node #0,2,0: 34:[79, 2] Operation: 2*1=2
Exploring Operation: 79-1=78, Resulting Numbers: [2, 78]
Generated Node #0,2,1: 34:[2, 78] Operation: 79-1=78
Exploring Operation: 2/1=2, Resulting Numbers: [79, 2]
Generated Node #0,2,2: 34:[79, 2] Operation: 2/1=2
Exploring Operation: 79-2=77, Resulting Numbers: [1, 77]
Generated Node #0,2,3: 34:[1, 77] Operation: 79-2=77
Moving to Node #0,2,1
Current State: 34:[2, 78], Operations: ['38-37=1', '79-1=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 2*78=156, Resulting Numbers: [156]
156,34 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[1, 77], Operations: ['38-37=1', '79-2=77']
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 1+77=78, Resulting Numbers: [78]
78,34 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[79, 2], Operations: ['38-37=1', '2/1=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,34 unequal: No Solution
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[79, 2], Operations: ['38-37=1', '2*1=2']
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,34 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,34 unequal: No Solution
No solution 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: 34:[38, 79, 35], Operations: ['37-2=35']
Exploring Operation: 79-38=41, Resulting Numbers: [35, 41]
Generated Node #0,1,0: 34:[35, 41] Operation: 79-38=41
Exploring Operation: 38-35=3, Resulting Numbers: [79, 3]
Generated Node #0,1,1: 34:[79, 3] Operation: 38-35=3
Exploring Operation: 79-35=44, Resulting Numbers: [38, 44]
Generated Node #0,1,2: 34:[38, 44] Operation: 79-35=44
Exploring Operation: 38+79=117, Resulting Numbers: [35, 117]
Generated Node #0,1,3: 34:[35, 117] Operation: 38+79=117
Moving to Node #0,1,0
Current State: 34:[35, 41], Operations: ['37-2=35', '79-38=41']
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 35*41=1435, Resulting Numbers: [1435]
1435,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[38, 44], Operations: ['37-2=35', '79-35=44']
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,34 unequal: No Solution
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,34 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[79, 3], Operations: ['37-2=35', '38-35=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,34 unequal: No Solution
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,34 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[35, 117], Operations: ['37-2=35', '38+79=117']
Exploring Operation: 35+117=152, Resulting Numbers: [152]
152,34 unequal: No Solution
Exploring Operation: 35*117=4095, Resulting Numbers: [4095]
4095,34 unequal: No Solution
Exploring Operation: 117-35=82, Resulting Numbers: [82]
82,34 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 |
[
62,
69,
65,
19
] | 53 | [
"69-62=7",
"65-19=46",
"7+46=53"
] | Current State: 53:[62, 69, 65, 19], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [65, 19, 7]
Generated Node #2: [65, 19, 7] from Operation: 69-62=7
Current State: 53:[65, 19, 7], Operations: ['69-62=7']
Exploring Operation: 65-19=46, Resulting Numbers: [7, 46]
Generated Node #3: [7, 46] from Operation: 65-19=46
Current State: 53:[7, 46], Operations: ['69-62=7', '65-19=46']
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[62, 69, 65, 19], Operations: []
Exploring Operation: 69-19=50, Resulting Numbers: [62, 65, 50]
Generated Node #0,0: 53:[62, 65, 50] Operation: 69-19=50
Exploring Operation: 62-19=43, Resulting Numbers: [69, 65, 43]
Generated Node #0,1: 53:[69, 65, 43] Operation: 62-19=43
Exploring Operation: 65-19=46, Resulting Numbers: [62, 69, 46]
Generated Node #0,2: 53:[62, 69, 46] Operation: 65-19=46
Moving to Node #0,0
Current State: 53:[62, 65, 50], Operations: ['69-19=50']
Exploring Operation: 62-50=12, Resulting Numbers: [65, 12]
Generated Node #0,0,0: 53:[65, 12] Operation: 62-50=12
Exploring Operation: 65-50=15, Resulting Numbers: [62, 15]
Generated Node #0,0,1: 53:[62, 15] Operation: 65-50=15
Exploring Operation: 65-62=3, Resulting Numbers: [50, 3]
Generated Node #0,0,2: 53:[50, 3] Operation: 65-62=3
Moving to Node #0,2
Current State: 53:[62, 69, 46], Operations: ['65-19=46']
Exploring Operation: 69-46=23, Resulting Numbers: [62, 23]
Generated Node #0,2,0: 53:[62, 23] Operation: 69-46=23
Exploring Operation: 62-46=16, Resulting Numbers: [69, 16]
Generated Node #0,2,1: 53:[69, 16] Operation: 62-46=16
Exploring Operation: 69-62=7, Resulting Numbers: [46, 7]
Generated Node #0,2,2: 53:[46, 7] Operation: 69-62=7
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[62, 23], Operations: ['65-19=46', '69-46=23']
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,53 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,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,2,1
Current State: 53:[69, 16], Operations: ['65-19=46', '62-46=16']
Exploring Operation: 69*16=1104, Resulting Numbers: [1104]
1104,53 unequal: No Solution
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[62, 69, 65, 19], Operations: []
Exploring Operation: 65-19=46, Resulting Numbers: [62, 69, 46]
Generated Node #0,2: 53:[62, 69, 46] Operation: 65-19=46
Moving to Node #0,2
Current State: 53:[62, 69, 46], Operations: ['65-19=46']
Exploring Operation: 62-46=16, Resulting Numbers: [69, 16]
Generated Node #0,2,1: 53:[69, 16] Operation: 62-46=16
Moving to Node #0,2,1
Current State: 53:[69, 16], Operations: ['65-19=46', '62-46=16']
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
68,
8,
68,
34
] | 64 | [
"68/34=2",
"8/2=4",
"68-4=64"
] | Current State: 64:[68, 8, 68, 34], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [8, 2]
Generated Node #2: [8, 2] from Operation: 68/34=2
Current State: 64:[8, 2], Operations: ['68/34=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,64 equal: Goal Reached
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[68, 8, 68, 34], Operations: []
Exploring Operation: 68/68=1, Resulting Numbers: [8, 34, 1]
Generated Node #0,0: 64:[8, 34, 1] Operation: 68/68=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[8, 34, 1], Operations: ['68/68=1']
Exploring Operation: 34-1=33, Resulting Numbers: [8, 33]
Generated Node #0,0,0: 64:[8, 33] Operation: 34-1=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[8, 33], Operations: ['68/68=1', '34-1=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,64 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 |
[
57,
68,
68,
2
] | 57 | [
"68-68=0",
"2*0=0",
"57+0=57"
] | Current State: 57:[57, 68, 68, 2], Operations: []
Exploring Operation: 68-68=0, Resulting Numbers: [57, 2, 0]
Generated Node #2: [57, 2, 0] from Operation: 68-68=0
Current State: 57:[57, 2, 0], Operations: ['68-68=0']
Exploring Operation: 2*0=0, Resulting Numbers: [57, 0]
Generated Node #3: [57, 0] from Operation: 2*0=0
Current State: 57:[57, 0], Operations: ['68-68=0', '2*0=0']
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[57, 68, 68, 2], Operations: []
Exploring Operation: 68-57=11, Resulting Numbers: [68, 2, 11]
Generated Node #0,0: 57:[68, 2, 11] Operation: 68-57=11
Exploring Operation: 68-2=66, Resulting Numbers: [57, 68, 66]
Generated Node #0,1: 57:[57, 68, 66] Operation: 68-2=66
Exploring Operation: 68-68=0, Resulting Numbers: [57, 2, 0]
Generated Node #0,2: 57:[57, 2, 0] Operation: 68-68=0
Exploring Operation: 68/68=1, Resulting Numbers: [57, 2, 1]
Generated Node #0,3: 57:[57, 2, 1] Operation: 68/68=1
Exploring Operation: 68-57=11, Resulting Numbers: [68, 2, 11]
Generated Node #0,4: 57:[68, 2, 11] Operation: 68-57=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[57, 2, 1], Operations: ['68/68=1']
Exploring Operation: 57/1=57, Resulting Numbers: [2, 57]
Generated Node #0,3,0: 57:[2, 57] Operation: 57/1=57
Exploring Operation: 2+1=3, Resulting Numbers: [57, 3]
Generated Node #0,3,1: 57:[57, 3] Operation: 2+1=3
Exploring Operation: 2*1=2, Resulting Numbers: [57, 2]
Generated Node #0,3,2: 57:[57, 2] Operation: 2*1=2
Exploring Operation: 2/1=2, Resulting Numbers: [57, 2]
Generated Node #0,3,3: 57:[57, 2] Operation: 2/1=2
Exploring Operation: 57*1=57, Resulting Numbers: [2, 57]
Generated Node #0,3,4: 57:[2, 57] Operation: 57*1=57
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[57, 3], Operations: ['68/68=1', '2+1=3']
Exploring Operation: 57*3=171, Resulting Numbers: [171]
171,57 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[2, 57], Operations: ['68/68=1', '57/1=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 57:[57, 2], Operations: ['68/68=1', '2*1=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[57, 2], Operations: ['68/68=1', '2/1=2']
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 57:[2, 57], Operations: ['68/68=1', '57*1=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[57, 2, 0], Operations: ['68-68=0']
Exploring Operation: 2*0=0, Resulting Numbers: [57, 0]
Generated Node #0,2,0: 57:[57, 0] Operation: 2*0=0
Exploring Operation: 57+0=57, Resulting Numbers: [2, 57]
Generated Node #0,2,1: 57:[2, 57] Operation: 57+0=57
Exploring Operation: 2+0=2, Resulting Numbers: [57, 2]
Generated Node #0,2,2: 57:[57, 2] Operation: 2+0=2
Exploring Operation: 2-0=2, Resulting Numbers: [57, 2]
Generated Node #0,2,3: 57:[57, 2] Operation: 2-0=2
Exploring Operation: 57-0=57, Resulting Numbers: [2, 57]
Generated Node #0,2,4: 57:[2, 57] Operation: 57-0=57
Moving to Node #0,2,1
Current State: 57:[2, 57], Operations: ['68-68=0', '57+0=57']
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[57, 2], Operations: ['68-68=0', '2-0=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[57, 2], Operations: ['68-68=0', '2+0=2']
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[2, 57], Operations: ['68-68=0', '57-0=57']
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[57, 0], Operations: ['68-68=0', '2*0=0']
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[57, 68, 68, 2], Operations: []
Exploring Operation: 68-68=0, Resulting Numbers: [57, 2, 0]
Generated Node #0,2: 57:[57, 2, 0] Operation: 68-68=0
Moving to Node #0,2
Current State: 57:[57, 2, 0], Operations: ['68-68=0']
Exploring Operation: 2*0=0, Resulting Numbers: [57, 0]
Generated Node #0,2,0: 57:[57, 0] Operation: 2*0=0
Moving to Node #0,2,0
Current State: 57:[57, 0], Operations: ['68-68=0', '2*0=0']
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_5 | mult_heuristic |
[
22,
66,
82,
14
] | 93 | [
"66/22=3",
"82+14=96",
"96-3=93"
] | Current State: 93:[22, 66, 82, 14], Operations: []
Exploring Operation: 66/22=3, Resulting Numbers: [82, 14, 3]
Generated Node #2: [82, 14, 3] from Operation: 66/22=3
Current State: 93:[82, 14, 3], Operations: ['66/22=3']
Exploring Operation: 82+14=96, Resulting Numbers: [3, 96]
Generated Node #3: [3, 96] from Operation: 82+14=96
Current State: 93:[3, 96], Operations: ['66/22=3', '82+14=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[22, 66, 82, 14], Operations: []
Exploring Operation: 66+14=80, Resulting Numbers: [22, 82, 80]
Generated Node #0,0: 93:[22, 82, 80] Operation: 66+14=80
Exploring Operation: 22+66=88, Resulting Numbers: [82, 14, 88]
Generated Node #0,1: 93:[82, 14, 88] Operation: 22+66=88
Exploring Operation: 66/22=3, Resulting Numbers: [82, 14, 3]
Generated Node #0,2: 93:[82, 14, 3] Operation: 66/22=3
Exploring Operation: 82-66=16, Resulting Numbers: [22, 14, 16]
Generated Node #0,3: 93:[22, 14, 16] Operation: 82-66=16
Moving to Node #0,2
Current State: 93:[82, 14, 3], Operations: ['66/22=3']
Exploring Operation: 14-3=11, Resulting Numbers: [82, 11]
Generated Node #0,2,0: 93:[82, 11] Operation: 14-3=11
Exploring Operation: 14*3=42, Resulting Numbers: [82, 42]
Generated Node #0,2,1: 93:[82, 42] Operation: 14*3=42
Exploring Operation: 82+3=85, Resulting Numbers: [14, 85]
Generated Node #0,2,2: 93:[14, 85] Operation: 82+3=85
Exploring Operation: 82+14=96, Resulting Numbers: [3, 96]
Generated Node #0,2,3: 93:[3, 96] Operation: 82+14=96
Moving to Node #0,1
Current State: 93:[82, 14, 88], Operations: ['22+66=88']
Exploring Operation: 88-82=6, Resulting Numbers: [14, 6]
Generated Node #0,1,0: 93:[14, 6] Operation: 88-82=6
Exploring Operation: 82+14=96, Resulting Numbers: [88, 96]
Generated Node #0,1,1: 93:[88, 96] Operation: 82+14=96
Exploring Operation: 14+88=102, Resulting Numbers: [82, 102]
Generated Node #0,1,2: 93:[82, 102] Operation: 14+88=102
Exploring Operation: 82-14=68, Resulting Numbers: [88, 68]
Generated Node #0,1,3: 93:[88, 68] Operation: 82-14=68
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[88, 96], Operations: ['22+66=88', '82+14=96']
Exploring Operation: 88*96=8448, Resulting Numbers: [8448]
8448,93 unequal: No Solution
Exploring Operation: 88+96=184, Resulting Numbers: [184]
184,93 unequal: No Solution
Exploring Operation: 96-88=8, Resulting Numbers: [8]
8,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[14, 6], Operations: ['22+66=88', '88-82=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,93 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[82, 102], Operations: ['22+66=88', '14+88=102']
Exploring Operation: 82*102=8364, Resulting Numbers: [8364]
8364,93 unequal: No Solution
Exploring Operation: 82+102=184, Resulting Numbers: [184]
184,93 unequal: No Solution
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[88, 68], Operations: ['22+66=88', '82-14=68']
Exploring Operation: 88+68=156, Resulting Numbers: [156]
156,93 unequal: No Solution
Exploring Operation: 88*68=5984, Resulting Numbers: [5984]
5984,93 unequal: No Solution
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,93 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: 93:[22, 14, 16], Operations: ['82-66=16']
Exploring Operation: 14+16=30, Resulting Numbers: [22, 30]
Generated Node #0,3,0: 93:[22, 30] Operation: 14+16=30
Exploring Operation: 22+14=36, Resulting Numbers: [16, 36]
Generated Node #0,3,1: 93:[16, 36] Operation: 22+14=36
Exploring Operation: 16-14=2, Resulting Numbers: [22, 2]
Generated Node #0,3,2: 93:[22, 2] Operation: 16-14=2
Exploring Operation: 22-16=6, Resulting Numbers: [14, 6]
Generated Node #0,3,3: 93:[14, 6] Operation: 22-16=6
Moving to Node #0,0
Current State: 93:[22, 82, 80], Operations: ['66+14=80']
Exploring Operation: 22+82=104, Resulting Numbers: [80, 104]
Generated Node #0,0,0: 93:[80, 104] Operation: 22+82=104
Exploring Operation: 80-22=58, Resulting Numbers: [82, 58]
Generated Node #0,0,1: 93:[82, 58] Operation: 80-22=58
Exploring Operation: 82-80=2, Resulting Numbers: [22, 2]
Generated Node #0,0,2: 93:[22, 2] Operation: 82-80=2
Exploring Operation: 22+80=102, Resulting Numbers: [82, 102]
Generated Node #0,0,3: 93:[82, 102] Operation: 22+80=102
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[22, 2], Operations: ['66+14=80', '82-80=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[82, 102], Operations: ['66+14=80', '22+80=102']
Exploring Operation: 82*102=8364, Resulting Numbers: [8364]
8364,93 unequal: No Solution
Exploring Operation: 82+102=184, Resulting Numbers: [184]
184,93 unequal: No Solution
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[80, 104], Operations: ['66+14=80', '22+82=104']
Exploring Operation: 104-80=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 80*104=8320, Resulting Numbers: [8320]
8320,93 unequal: No Solution
Exploring Operation: 80+104=184, Resulting Numbers: [184]
184,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[82, 58], Operations: ['66+14=80', '80-22=58']
Exploring Operation: 82+58=140, Resulting Numbers: [140]
140,93 unequal: No Solution
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 82*58=4756, Resulting Numbers: [4756]
4756,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 93:[3, 96], Operations: ['66/22=3', '82+14=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[22, 66, 82, 14], Operations: []
Exploring Operation: 66/22=3, Resulting Numbers: [82, 14, 3]
Generated Node #0,2: 93:[82, 14, 3] Operation: 66/22=3
Moving to Node #0,2
Current State: 93:[82, 14, 3], Operations: ['66/22=3']
Exploring Operation: 82+14=96, Resulting Numbers: [3, 96]
Generated Node #0,2,3: 93:[3, 96] Operation: 82+14=96
Moving to Node #0,2,3
Current State: 93:[3, 96], Operations: ['66/22=3', '82+14=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.956597 | hs_4 | mult_heuristic |
[
34,
61,
24,
44
] | 59 | [
"24+44=68",
"68/34=2",
"61-2=59"
] | Current State: 59:[34, 61, 24, 44], Operations: []
Exploring Operation: 24+44=68, Resulting Numbers: [34, 61, 68]
Generated Node #2: [34, 61, 68] from Operation: 24+44=68
Current State: 59:[34, 61, 68], Operations: ['24+44=68']
Exploring Operation: 68/34=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 68/34=2
Current State: 59:[61, 2], Operations: ['24+44=68', '68/34=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[34, 61, 24, 44], Operations: []
Exploring Operation: 34+24=58, Resulting Numbers: [61, 44, 58]
Generated Node #0,0: 59:[61, 44, 58] Operation: 34+24=58
Exploring Operation: 34+44=78, Resulting Numbers: [61, 24, 78]
Generated Node #0,1: 59:[61, 24, 78] Operation: 34+44=78
Exploring Operation: 24+44=68, Resulting Numbers: [34, 61, 68]
Generated Node #0,2: 59:[34, 61, 68] Operation: 24+44=68
Moving to Node #0,0
Current State: 59:[61, 44, 58], Operations: ['34+24=58']
Exploring Operation: 44+58=102, Resulting Numbers: [61, 102]
Generated Node #0,0,0: 59:[61, 102] Operation: 44+58=102
Exploring Operation: 61-44=17, Resulting Numbers: [58, 17]
Generated Node #0,0,1: 59:[58, 17] Operation: 61-44=17
Exploring Operation: 61+44=105, Resulting Numbers: [58, 105]
Generated Node #0,0,2: 59:[58, 105] Operation: 61+44=105
Moving to Node #0,2
Current State: 59:[34, 61, 68], Operations: ['24+44=68']
Exploring Operation: 61-34=27, Resulting Numbers: [68, 27]
Generated Node #0,2,0: 59:[68, 27] Operation: 61-34=27
Exploring Operation: 34+61=95, Resulting Numbers: [68, 95]
Generated Node #0,2,1: 59:[68, 95] Operation: 34+61=95
Exploring Operation: 68-34=34, Resulting Numbers: [61, 34]
Generated Node #0,2,2: 59:[61, 34] Operation: 68-34=34
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[61, 34], Operations: ['24+44=68', '68-34=34']
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 61*34=2074, Resulting Numbers: [2074]
2074,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[68, 27], Operations: ['24+44=68', '61-34=27']
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,59 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[68, 95], Operations: ['24+44=68', '34+61=95']
Exploring Operation: 68+95=163, Resulting Numbers: [163]
163,59 unequal: No Solution
Exploring Operation: 95-68=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 68*95=6460, Resulting Numbers: [6460]
6460,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 59:[61, 24, 78], Operations: ['34+44=78']
Exploring Operation: 61-24=37, Resulting Numbers: [78, 37]
Generated Node #0,1,0: 59:[78, 37] Operation: 61-24=37
Exploring Operation: 61+24=85, Resulting Numbers: [78, 85]
Generated Node #0,1,1: 59:[78, 85] Operation: 61+24=85
Exploring Operation: 78-24=54, Resulting Numbers: [61, 54]
Generated Node #0,1,2: 59:[61, 54] Operation: 78-24=54
Moving to Node #0,1,2
Current State: 59:[61, 54], Operations: ['34+44=78', '78-24=54']
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,59 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,59 unequal: No Solution
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[78, 37], Operations: ['34+44=78', '61-24=37']
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 78+37=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Exploring Operation: 78*37=2886, Resulting Numbers: [2886]
2886,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[58, 17], Operations: ['34+24=58', '61-44=17']
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,59 unequal: No Solution
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[78, 85], Operations: ['34+44=78', '61+24=85']
Exploring Operation: 78*85=6630, Resulting Numbers: [6630]
6630,59 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,59 unequal: No Solution
Exploring Operation: 78+85=163, Resulting Numbers: [163]
163,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[61, 102], Operations: ['34+24=58', '44+58=102']
Exploring Operation: 102-61=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 61+102=163, Resulting Numbers: [163]
163,59 unequal: No Solution
Exploring Operation: 61*102=6222, Resulting Numbers: [6222]
6222,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[58, 105], Operations: ['34+24=58', '61+44=105']
Exploring Operation: 58*105=6090, Resulting Numbers: [6090]
6090,59 unequal: No Solution
Exploring Operation: 58+105=163, Resulting Numbers: [163]
163,59 unequal: No Solution
Exploring Operation: 105-58=47, Resulting Numbers: [47]
47,59 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
75,
38,
44,
9
] | 50 | [
"44-38=6",
"75*6=450",
"450/9=50"
] | Current State: 50:[75, 38, 44, 9], Operations: []
Exploring Operation: 44-38=6, Resulting Numbers: [75, 9, 6]
Generated Node #2: [75, 9, 6] from Operation: 44-38=6
Current State: 50:[75, 9, 6], Operations: ['44-38=6']
Exploring Operation: 75*6=450, Resulting Numbers: [9, 450]
Generated Node #3: [9, 450] from Operation: 75*6=450
Current State: 50:[9, 450], Operations: ['44-38=6', '75*6=450']
Exploring Operation: 450/9=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[75, 38, 44, 9], Operations: []
Exploring Operation: 75-38=37, Resulting Numbers: [44, 9, 37]
Generated Node #0,0: 50:[44, 9, 37] Operation: 75-38=37
Exploring Operation: 75-44=31, Resulting Numbers: [38, 9, 31]
Generated Node #0,1: 50:[38, 9, 31] Operation: 75-44=31
Moving to Node #0,0
Current State: 50:[44, 9, 37], Operations: ['75-38=37']
Exploring Operation: 44-37=7, Resulting Numbers: [9, 7]
Generated Node #0,0,0: 50:[9, 7] Operation: 44-37=7
Exploring Operation: 37-9=28, Resulting Numbers: [44, 28]
Generated Node #0,0,1: 50:[44, 28] Operation: 37-9=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[9, 7], Operations: ['75-38=37', '44-37=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[44, 28], Operations: ['75-38=37', '37-9=28']
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 44+28=72, Resulting Numbers: [72]
72,50 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: 50:[38, 9, 31], Operations: ['75-44=31']
Exploring Operation: 38-31=7, Resulting Numbers: [9, 7]
Generated Node #0,1,0: 50:[9, 7] Operation: 38-31=7
Exploring Operation: 38+9=47, Resulting Numbers: [31, 47]
Generated Node #0,1,1: 50:[31, 47] Operation: 38+9=47
Moving to Node #0,1,0
Current State: 50:[9, 7], Operations: ['75-44=31', '38-31=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[31, 47], Operations: ['75-44=31', '38+9=47']
Exploring Operation: 31+47=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,50 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
30,
94,
50
] | 56 | [
"86+94=180",
"180/30=6",
"50+6=56"
] | Current State: 56:[86, 30, 94, 50], Operations: []
Exploring Operation: 86+94=180, Resulting Numbers: [30, 50, 180]
Generated Node #2: [30, 50, 180] from Operation: 86+94=180
Current State: 56:[30, 50, 180], Operations: ['86+94=180']
Exploring Operation: 180/30=6, Resulting Numbers: [50, 6]
Generated Node #3: [50, 6] from Operation: 180/30=6
Current State: 56:[50, 6], Operations: ['86+94=180', '180/30=6']
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[86, 30, 94, 50], Operations: []
Exploring Operation: 94-50=44, Resulting Numbers: [86, 30, 44]
Generated Node #0,0: 56:[86, 30, 44] Operation: 94-50=44
Exploring Operation: 94-86=8, Resulting Numbers: [30, 50, 8]
Generated Node #0,1: 56:[30, 50, 8] Operation: 94-86=8
Exploring Operation: 94-30=64, Resulting Numbers: [86, 50, 64]
Generated Node #0,2: 56:[86, 50, 64] Operation: 94-30=64
Exploring Operation: 86-30=56, Resulting Numbers: [94, 50, 56]
Generated Node #0,3: 56:[94, 50, 56] Operation: 86-30=56
Exploring Operation: 86-50=36, Resulting Numbers: [30, 94, 36]
Generated Node #0,4: 56:[30, 94, 36] Operation: 86-50=36
Moving to Node #0,1
Current State: 56:[30, 50, 8], Operations: ['94-86=8']
Exploring Operation: 50+8=58, Resulting Numbers: [30, 58]
Generated Node #0,1,0: 56:[30, 58] Operation: 50+8=58
Exploring Operation: 50-30=20, Resulting Numbers: [8, 20]
Generated Node #0,1,1: 56:[8, 20] Operation: 50-30=20
Exploring Operation: 30+8=38, Resulting Numbers: [50, 38]
Generated Node #0,1,2: 56:[50, 38] Operation: 30+8=38
Exploring Operation: 30-8=22, Resulting Numbers: [50, 22]
Generated Node #0,1,3: 56:[50, 22] Operation: 30-8=22
Exploring Operation: 50-8=42, Resulting Numbers: [30, 42]
Generated Node #0,1,4: 56:[30, 42] Operation: 50-8=42
Moving to Node #0,2
Current State: 56:[86, 50, 64], Operations: ['94-30=64']
Exploring Operation: 86-64=22, Resulting Numbers: [50, 22]
Generated Node #0,2,0: 56:[50, 22] Operation: 86-64=22
Exploring Operation: 64-50=14, Resulting Numbers: [86, 14]
Generated Node #0,2,1: 56:[86, 14] Operation: 64-50=14
Exploring Operation: 86-50=36, Resulting Numbers: [64, 36]
Generated Node #0,2,2: 56:[64, 36] Operation: 86-50=36
Exploring Operation: 50+64=114, Resulting Numbers: [86, 114]
Generated Node #0,2,3: 56:[86, 114] Operation: 50+64=114
Exploring Operation: 86+50=136, Resulting Numbers: [64, 136]
Generated Node #0,2,4: 56:[64, 136] Operation: 86+50=136
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[50, 22], Operations: ['94-30=64', '86-64=22']
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,56 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[64, 36], Operations: ['94-30=64', '86-50=36']
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 64*36=2304, Resulting Numbers: [2304]
2304,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[86, 14], Operations: ['94-30=64', '64-50=14']
Exploring Operation: 86*14=1204, Resulting Numbers: [1204]
1204,56 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 56:[86, 114], Operations: ['94-30=64', '50+64=114']
Exploring Operation: 114-86=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 86*114=9804, Resulting Numbers: [9804]
9804,56 unequal: No Solution
Exploring Operation: 86+114=200, Resulting Numbers: [200]
200,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 56:[64, 136], Operations: ['94-30=64', '86+50=136']
Exploring Operation: 64+136=200, Resulting Numbers: [200]
200,56 unequal: No Solution
Exploring Operation: 64*136=8704, Resulting Numbers: [8704]
8704,56 unequal: No Solution
Exploring Operation: 136-64=72, Resulting Numbers: [72]
72,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 56:[86, 30, 44], Operations: ['94-50=44']
Exploring Operation: 86+30=116, Resulting Numbers: [44, 116]
Generated Node #0,0,0: 56:[44, 116] Operation: 86+30=116
Exploring Operation: 30+44=74, Resulting Numbers: [86, 74]
Generated Node #0,0,1: 56:[86, 74] Operation: 30+44=74
Exploring Operation: 86-44=42, Resulting Numbers: [30, 42]
Generated Node #0,0,2: 56:[30, 42] Operation: 86-44=42
Exploring Operation: 44-30=14, Resulting Numbers: [86, 14]
Generated Node #0,0,3: 56:[86, 14] Operation: 44-30=14
Exploring Operation: 86-30=56, Resulting Numbers: [44, 56]
Generated Node #0,0,4: 56:[44, 56] Operation: 86-30=56
Moving to Node #0,3
Current State: 56:[94, 50, 56], Operations: ['86-30=56']
Exploring Operation: 50+56=106, Resulting Numbers: [94, 106]
Generated Node #0,3,0: 56:[94, 106] Operation: 50+56=106
Exploring Operation: 56-50=6, Resulting Numbers: [94, 6]
Generated Node #0,3,1: 56:[94, 6] Operation: 56-50=6
Exploring Operation: 94-50=44, Resulting Numbers: [56, 44]
Generated Node #0,3,2: 56:[56, 44] Operation: 94-50=44
Exploring Operation: 94-56=38, Resulting Numbers: [50, 38]
Generated Node #0,3,3: 56:[50, 38] Operation: 94-56=38
Exploring Operation: 94+50=144, Resulting Numbers: [56, 144]
Generated Node #0,3,4: 56:[56, 144] Operation: 94+50=144
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[56, 44], Operations: ['86-30=56', '94-50=44']
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,56 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[50, 38], Operations: ['86-30=56', '94-56=38']
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,56 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[94, 6], Operations: ['86-30=56', '56-50=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,56 unequal: No Solution
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 56:[94, 106], Operations: ['86-30=56', '50+56=106']
Exploring Operation: 94*106=9964, Resulting Numbers: [9964]
9964,56 unequal: No Solution
Exploring Operation: 106-94=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 94+106=200, Resulting Numbers: [200]
200,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 56:[56, 144], Operations: ['86-30=56', '94+50=144']
Exploring Operation: 56+144=200, Resulting Numbers: [200]
200,56 unequal: No Solution
Exploring Operation: 56*144=8064, Resulting Numbers: [8064]
8064,56 unequal: No Solution
Exploring Operation: 144-56=88, Resulting Numbers: [88]
88,56 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: 56:[30, 94, 36], Operations: ['86-50=36']
Exploring Operation: 30+94=124, Resulting Numbers: [36, 124]
Generated Node #0,4,0: 56:[36, 124] Operation: 30+94=124
Exploring Operation: 94-36=58, Resulting Numbers: [30, 58]
Generated Node #0,4,1: 56:[30, 58] Operation: 94-36=58
Exploring Operation: 94-30=64, Resulting Numbers: [36, 64]
Generated Node #0,4,2: 56:[36, 64] Operation: 94-30=64
Exploring Operation: 36-30=6, Resulting Numbers: [94, 6]
Generated Node #0,4,3: 56:[94, 6] Operation: 36-30=6
Exploring Operation: 30+36=66, Resulting Numbers: [94, 66]
Generated Node #0,4,4: 56:[94, 66] Operation: 30+36=66
Moving to Node #0,1,0
Current State: 56:[30, 58], Operations: ['94-86=8', '50+8=58']
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 30+58=88, Resulting Numbers: [88]
88,56 unequal: No Solution
Exploring Operation: 30*58=1740, Resulting Numbers: [1740]
1740,56 unequal: No Solution
Moving to Node #0,4,1
Current State: 56:[30, 58], Operations: ['86-50=36', '94-36=58']
Exploring Operation: 30*58=1740, Resulting Numbers: [1740]
1740,56 unequal: No Solution
Exploring Operation: 30+58=88, Resulting Numbers: [88]
88,56 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[8, 20], Operations: ['94-86=8', '50-30=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,56 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[50, 22], Operations: ['94-86=8', '30-8=22']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,56 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Moving to Node #0,0,4
Current State: 56:[44, 56], Operations: ['94-50=44', '86-30=56']
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,56 unequal: No Solution
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[30, 42], Operations: ['94-50=44', '86-44=42']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,56 unequal: No Solution
Moving to Node #0,4,2
Current State: 56:[36, 64], Operations: ['86-50=36', '94-30=64']
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 36*64=2304, Resulting Numbers: [2304]
2304,56 unequal: No Solution
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Moving to Node #0,1,4
Current State: 56:[30, 42], Operations: ['94-86=8', '50-8=42']
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[50, 38], Operations: ['94-86=8', '30+8=38']
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,56 unequal: No Solution
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,56 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[86, 14], Operations: ['94-50=44', '44-30=14']
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 86*14=1204, Resulting Numbers: [1204]
1204,56 unequal: No Solution
Moving to Node #0,4,3
Current State: 56:[94, 6], Operations: ['86-50=36', '36-30=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,56 unequal: No Solution
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,56 unequal: No Solution
Moving to Node #0,4,4
Current State: 56:[94, 66], Operations: ['86-50=36', '30+36=66']
Exploring Operation: 94-66=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 94+66=160, Resulting Numbers: [160]
160,56 unequal: No Solution
Exploring Operation: 94*66=6204, Resulting Numbers: [6204]
6204,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[86, 74], Operations: ['94-50=44', '30+44=74']
Exploring Operation: 86*74=6364, Resulting Numbers: [6364]
6364,56 unequal: No Solution
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 86+74=160, Resulting Numbers: [160]
160,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[44, 116], Operations: ['94-50=44', '86+30=116']
Exploring Operation: 44+116=160, Resulting Numbers: [160]
160,56 unequal: No Solution
Exploring Operation: 116-44=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 44*116=5104, Resulting Numbers: [5104]
5104,56 unequal: No Solution
Moving to Node #0,4,0
Current State: 56:[36, 124], Operations: ['86-50=36', '30+94=124']
Exploring Operation: 36*124=4464, Resulting Numbers: [4464]
4464,56 unequal: No Solution
Exploring Operation: 36+124=160, Resulting Numbers: [160]
160,56 unequal: No Solution
Exploring Operation: 124-36=88, Resulting Numbers: [88]
88,56 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
76,
98,
18,
73
] | 92 | [
"76-73=3",
"18/3=6",
"98-6=92"
] | Current State: 92:[76, 98, 18, 73], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [98, 18, 3]
Generated Node #2: [98, 18, 3] from Operation: 76-73=3
Current State: 92:[98, 18, 3], Operations: ['76-73=3']
Exploring Operation: 18/3=6, Resulting Numbers: [98, 6]
Generated Node #3: [98, 6] from Operation: 18/3=6
Current State: 92:[98, 6], Operations: ['76-73=3', '18/3=6']
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[76, 98, 18, 73], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [98, 18, 3]
Generated Node #0,0: 92:[98, 18, 3] Operation: 76-73=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[98, 18, 3], Operations: ['76-73=3']
Exploring Operation: 98-3=95, Resulting Numbers: [18, 95]
Generated Node #0,0,0: 92:[18, 95] Operation: 98-3=95
Moving to Node #0,0,0
Current State: 92:[18, 95], Operations: ['76-73=3', '98-3=95']
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,92 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,
15,
11,
8
] | 99 | [
"10+11=21",
"15*8=120",
"120-21=99"
] | Current State: 99:[10, 15, 11, 8], Operations: []
Exploring Operation: 10+11=21, Resulting Numbers: [15, 8, 21]
Generated Node #2: [15, 8, 21] from Operation: 10+11=21
Current State: 99:[15, 8, 21], Operations: ['10+11=21']
Exploring Operation: 15*8=120, Resulting Numbers: [21, 120]
Generated Node #3: [21, 120] from Operation: 15*8=120
Current State: 99:[21, 120], Operations: ['10+11=21', '15*8=120']
Exploring Operation: 120-21=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[10, 15, 11, 8], Operations: []
Exploring Operation: 15-11=4, Resulting Numbers: [10, 8, 4]
Generated Node #0,0: 99:[10, 8, 4] Operation: 15-11=4
Exploring Operation: 15-10=5, Resulting Numbers: [11, 8, 5]
Generated Node #0,1: 99:[11, 8, 5] Operation: 15-10=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[10, 8, 4], Operations: ['15-11=4']
Exploring Operation: 10-8=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 99:[4, 2] Operation: 10-8=2
Exploring Operation: 8+4=12, Resulting Numbers: [10, 12]
Generated Node #0,0,1: 99:[10, 12] Operation: 8+4=12
Moving to Node #0,0,0
Current State: 99:[4, 2], Operations: ['15-11=4', '10-8=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[10, 12], Operations: ['15-11=4', '8+4=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[11, 8, 5], Operations: ['15-10=5']
Exploring Operation: 11-8=3, Resulting Numbers: [5, 3]
Generated Node #0,1,0: 99:[5, 3] Operation: 11-8=3
Exploring Operation: 8-5=3, Resulting Numbers: [11, 3]
Generated Node #0,1,1: 99:[11, 3] Operation: 8-5=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[11, 3], Operations: ['15-10=5', '8-5=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,99 unequal: No Solution
No 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: 99:[5, 3], Operations: ['15-10=5', '11-8=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
75,
40,
32,
14
] | 17 | [
"75-40=35",
"32-14=18",
"35-18=17"
] | Current State: 17:[75, 40, 32, 14], Operations: []
Exploring Operation: 75-40=35, Resulting Numbers: [32, 14, 35]
Generated Node #2: [32, 14, 35] from Operation: 75-40=35
Current State: 17:[32, 14, 35], Operations: ['75-40=35']
Exploring Operation: 32-14=18, Resulting Numbers: [35, 18]
Generated Node #3: [35, 18] from Operation: 32-14=18
Current State: 17:[35, 18], Operations: ['75-40=35', '32-14=18']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[75, 40, 32, 14], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [75, 14, 8]
Generated Node #0,0: 17:[75, 14, 8] Operation: 40-32=8
Exploring Operation: 75-40=35, Resulting Numbers: [32, 14, 35]
Generated Node #0,1: 17:[32, 14, 35] Operation: 75-40=35
Exploring Operation: 75-32=43, Resulting Numbers: [40, 14, 43]
Generated Node #0,2: 17:[40, 14, 43] Operation: 75-32=43
Exploring Operation: 75-14=61, Resulting Numbers: [40, 32, 61]
Generated Node #0,3: 17:[40, 32, 61] Operation: 75-14=61
Moving to Node #0,1
Current State: 17:[32, 14, 35], Operations: ['75-40=35']
Exploring Operation: 32+14=46, Resulting Numbers: [35, 46]
Generated Node #0,1,0: 17:[35, 46] Operation: 32+14=46
Exploring Operation: 32-14=18, Resulting Numbers: [35, 18]
Generated Node #0,1,1: 17:[35, 18] Operation: 32-14=18
Exploring Operation: 35-14=21, Resulting Numbers: [32, 21]
Generated Node #0,1,2: 17:[32, 21] Operation: 35-14=21
Exploring Operation: 35-32=3, Resulting Numbers: [14, 3]
Generated Node #0,1,3: 17:[14, 3] Operation: 35-32=3
Moving to Node #0,2
Current State: 17:[40, 14, 43], Operations: ['75-32=43']
Exploring Operation: 43-14=29, Resulting Numbers: [40, 29]
Generated Node #0,2,0: 17:[40, 29] Operation: 43-14=29
Exploring Operation: 43-40=3, Resulting Numbers: [14, 3]
Generated Node #0,2,1: 17:[14, 3] Operation: 43-40=3
Exploring Operation: 40+14=54, Resulting Numbers: [43, 54]
Generated Node #0,2,2: 17:[43, 54] Operation: 40+14=54
Exploring Operation: 40-14=26, Resulting Numbers: [43, 26]
Generated Node #0,2,3: 17:[43, 26] Operation: 40-14=26
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[14, 3], Operations: ['75-32=43', '43-40=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[75, 40, 32, 14], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [40, 14, 43]
Generated Node #0,2: 17:[40, 14, 43] Operation: 75-32=43
Moving to Node #0,2
Current State: 17:[40, 14, 43], Operations: ['75-32=43']
Exploring Operation: 43-40=3, Resulting Numbers: [14, 3]
Generated Node #0,2,1: 17:[14, 3] Operation: 43-40=3
Moving to Node #0,2,1
Current State: 17:[14, 3], Operations: ['75-32=43', '43-40=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
57,
13,
81,
76
] | 87 | [
"57+13=70",
"81+76=157",
"157-70=87"
] | Current State: 87:[57, 13, 81, 76], Operations: []
Exploring Operation: 57+13=70, Resulting Numbers: [81, 76, 70]
Generated Node #2: [81, 76, 70] from Operation: 57+13=70
Current State: 87:[81, 76, 70], Operations: ['57+13=70']
Exploring Operation: 81+76=157, Resulting Numbers: [70, 157]
Generated Node #3: [70, 157] from Operation: 81+76=157
Current State: 87:[70, 157], Operations: ['57+13=70', '81+76=157']
Exploring Operation: 157-70=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[57, 13, 81, 76], Operations: []
Exploring Operation: 81-57=24, Resulting Numbers: [13, 76, 24]
Generated Node #0,0: 87:[13, 76, 24] Operation: 81-57=24
Moving to Node #0,0
Current State: 87:[13, 76, 24], Operations: ['81-57=24']
Exploring Operation: 13+76=89, Resulting Numbers: [24, 89]
Generated Node #0,0,0: 87:[24, 89] Operation: 13+76=89
Moving to Node #0,0,0
Current State: 87:[24, 89], Operations: ['81-57=24', '13+76=89']
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,87 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
4,
19,
20
] | 62 | [
"19-1=18",
"4*20=80",
"80-18=62"
] | Current State: 62:[1, 4, 19, 20], Operations: []
Exploring Operation: 19-1=18, Resulting Numbers: [4, 20, 18]
Generated Node #2: [4, 20, 18] from Operation: 19-1=18
Current State: 62:[4, 20, 18], Operations: ['19-1=18']
Exploring Operation: 4*20=80, Resulting Numbers: [18, 80]
Generated Node #3: [18, 80] from Operation: 4*20=80
Current State: 62:[18, 80], Operations: ['19-1=18', '4*20=80']
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[1, 4, 19, 20], Operations: []
Exploring Operation: 20/4=5, Resulting Numbers: [1, 19, 5]
Generated Node #0,0: 62:[1, 19, 5] Operation: 20/4=5
Exploring Operation: 19+20=39, Resulting Numbers: [1, 4, 39]
Generated Node #0,1: 62:[1, 4, 39] Operation: 19+20=39
Exploring Operation: 20-19=1, Resulting Numbers: [1, 4, 1]
Generated Node #0,2: 62:[1, 4, 1] Operation: 20-19=1
Moving to Node #0,2
Current State: 62:[1, 4, 1], Operations: ['20-19=1']
Exploring Operation: 4-1=3, Resulting Numbers: [1, 3]
Generated Node #0,2,0: 62:[1, 3] Operation: 4-1=3
Exploring Operation: 1+1=2, Resulting Numbers: [4, 2]
Generated Node #0,2,1: 62:[4, 2] Operation: 1+1=2
Exploring Operation: 4-1=3, Resulting Numbers: [1, 3]
Generated Node #0,2,2: 62:[1, 3] Operation: 4-1=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[1, 3], Operations: ['20-19=1', '4-1=3']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[4, 2], Operations: ['20-19=1', '1+1=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[1, 3], Operations: ['20-19=1', '4-1=3']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[1, 4, 39], Operations: ['19+20=39']
Exploring Operation: 39-1=38, Resulting Numbers: [4, 38]
Generated Node #0,1,0: 62:[4, 38] Operation: 39-1=38
Exploring Operation: 39-4=35, Resulting Numbers: [1, 35]
Generated Node #0,1,1: 62:[1, 35] Operation: 39-4=35
Exploring Operation: 4-1=3, Resulting Numbers: [39, 3]
Generated Node #0,1,2: 62:[39, 3] Operation: 4-1=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[1, 35], Operations: ['19+20=39', '39-4=35']
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[4, 38], Operations: ['19+20=39', '39-1=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[39, 3], Operations: ['19+20=39', '4-1=3']
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,62 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: 62:[1, 19, 5], Operations: ['20/4=5']
Exploring Operation: 1+19=20, Resulting Numbers: [5, 20]
Generated Node #0,0,0: 62:[5, 20] Operation: 1+19=20
Exploring Operation: 19+5=24, Resulting Numbers: [1, 24]
Generated Node #0,0,1: 62:[1, 24] Operation: 19+5=24
Exploring Operation: 19-5=14, Resulting Numbers: [1, 14]
Generated Node #0,0,2: 62:[1, 14] Operation: 19-5=14
Moving to Node #0,0,1
Current State: 62:[1, 24], Operations: ['20/4=5', '19+5=24']
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[1, 14], Operations: ['20/4=5', '19-5=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[5, 20], Operations: ['20/4=5', '1+19=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,62 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
1,
12,
76,
74
] | 14 | [
"1*12=12",
"76-74=2",
"12+2=14"
] | Current State: 14:[1, 12, 76, 74], Operations: []
Exploring Operation: 1*12=12, Resulting Numbers: [76, 74, 12]
Generated Node #2: [76, 74, 12] from Operation: 1*12=12
Current State: 14:[76, 74, 12], Operations: ['1*12=12']
Exploring Operation: 76-74=2, Resulting Numbers: [12, 2]
Generated Node #3: [12, 2] from Operation: 76-74=2
Current State: 14:[12, 2], Operations: ['1*12=12', '76-74=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[1, 12, 76, 74], Operations: []
Exploring Operation: 1+12=13, Resulting Numbers: [76, 74, 13]
Generated Node #0,0: 14:[76, 74, 13] Operation: 1+12=13
Exploring Operation: 76-12=64, Resulting Numbers: [1, 74, 64]
Generated Node #0,1: 14:[1, 74, 64] Operation: 76-12=64
Exploring Operation: 74-12=62, Resulting Numbers: [1, 76, 62]
Generated Node #0,2: 14:[1, 76, 62] Operation: 74-12=62
Exploring Operation: 76-74=2, Resulting Numbers: [1, 12, 2]
Generated Node #0,3: 14:[1, 12, 2] Operation: 76-74=2
Moving to Node #0,3
Current State: 14:[1, 12, 2], Operations: ['76-74=2']
Exploring Operation: 12/1=12, Resulting Numbers: [2, 12]
Generated Node #0,3,0: 14:[2, 12] Operation: 12/1=12
Exploring Operation: 1+12=13, Resulting Numbers: [2, 13]
Generated Node #0,3,1: 14:[2, 13] Operation: 1+12=13
Exploring Operation: 12+2=14, Resulting Numbers: [1, 14]
Generated Node #0,3,2: 14:[1, 14] Operation: 12+2=14
Exploring Operation: 1*12=12, Resulting Numbers: [2, 12]
Generated Node #0,3,3: 14:[2, 12] Operation: 1*12=12
Moving to Node #0,2
Current State: 14:[1, 76, 62], Operations: ['74-12=62']
Exploring Operation: 76-1=75, Resulting Numbers: [62, 75]
Generated Node #0,2,0: 14:[62, 75] Operation: 76-1=75
Exploring Operation: 76-62=14, Resulting Numbers: [1, 14]
Generated Node #0,2,1: 14:[1, 14] Operation: 76-62=14
Exploring Operation: 1*76=76, Resulting Numbers: [62, 76]
Generated Node #0,2,2: 14:[62, 76] Operation: 1*76=76
Exploring Operation: 62-1=61, Resulting Numbers: [76, 61]
Generated Node #0,2,3: 14:[76, 61] Operation: 62-1=61
Moving to Node #0,1
Current State: 14:[1, 74, 64], Operations: ['76-12=64']
Exploring Operation: 74-64=10, Resulting Numbers: [1, 10]
Generated Node #0,1,0: 14:[1, 10] Operation: 74-64=10
Exploring Operation: 74-1=73, Resulting Numbers: [64, 73]
Generated Node #0,1,1: 14:[64, 73] Operation: 74-1=73
Exploring Operation: 64-1=63, Resulting Numbers: [74, 63]
Generated Node #0,1,2: 14:[74, 63] Operation: 64-1=63
Exploring Operation: 1*74=74, Resulting Numbers: [64, 74]
Generated Node #0,1,3: 14:[64, 74] Operation: 1*74=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[1, 10], Operations: ['76-12=64', '74-64=10']
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[64, 73], Operations: ['76-12=64', '74-1=73']
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 64*73=4672, Resulting Numbers: [4672]
4672,14 unequal: No Solution
Exploring Operation: 64+73=137, Resulting Numbers: [137]
137,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[74, 63], Operations: ['76-12=64', '64-1=63']
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 74*63=4662, Resulting Numbers: [4662]
4662,14 unequal: No Solution
Exploring Operation: 74+63=137, Resulting Numbers: [137]
137,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[64, 74], Operations: ['76-12=64', '1*74=74']
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Exploring Operation: 64+74=138, Resulting Numbers: [138]
138,14 unequal: No Solution
Exploring Operation: 64*74=4736, Resulting Numbers: [4736]
4736,14 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: 14:[76, 74, 13], Operations: ['1+12=13']
Exploring Operation: 76+13=89, Resulting Numbers: [74, 89]
Generated Node #0,0,0: 14:[74, 89] Operation: 76+13=89
Exploring Operation: 76-13=63, Resulting Numbers: [74, 63]
Generated Node #0,0,1: 14:[74, 63] Operation: 76-13=63
Exploring Operation: 76-74=2, Resulting Numbers: [13, 2]
Generated Node #0,0,2: 14:[13, 2] Operation: 76-74=2
Exploring Operation: 74-13=61, Resulting Numbers: [76, 61]
Generated Node #0,0,3: 14:[76, 61] Operation: 74-13=61
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[13, 2], Operations: ['1+12=13', '76-74=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[74, 63], Operations: ['1+12=13', '76-13=63']
Exploring Operation: 74+63=137, Resulting Numbers: [137]
137,14 unequal: No Solution
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 74*63=4662, Resulting Numbers: [4662]
4662,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 14:[76, 61], Operations: ['1+12=13', '74-13=61']
Exploring Operation: 76+61=137, Resulting Numbers: [137]
137,14 unequal: No Solution
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 76*61=4636, Resulting Numbers: [4636]
4636,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[74, 89], Operations: ['1+12=13', '76+13=89']
Exploring Operation: 89-74=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 74+89=163, Resulting Numbers: [163]
163,14 unequal: No Solution
Exploring Operation: 74*89=6586, Resulting Numbers: [6586]
6586,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 14:[2, 13], Operations: ['76-74=2', '1+12=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[1, 14], Operations: ['76-74=2', '12+2=14']
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[1, 12, 76, 74], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [1, 12, 2]
Generated Node #0,3: 14:[1, 12, 2] Operation: 76-74=2
Moving to Node #0,3
Current State: 14:[1, 12, 2], Operations: ['76-74=2']
Exploring Operation: 12+2=14, Resulting Numbers: [1, 14]
Generated Node #0,3,2: 14:[1, 14] Operation: 12+2=14
Moving to Node #0,3,2
Current State: 14:[1, 14], Operations: ['76-74=2', '12+2=14']
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.953993 | hs_4 | mult_heuristic |
[
21,
38,
50,
16
] | 49 | [
"38-21=17",
"50+16=66",
"66-17=49"
] | Current State: 49:[21, 38, 50, 16], Operations: []
Exploring Operation: 38-21=17, Resulting Numbers: [50, 16, 17]
Generated Node #2: [50, 16, 17] from Operation: 38-21=17
Current State: 49:[50, 16, 17], Operations: ['38-21=17']
Exploring Operation: 50+16=66, Resulting Numbers: [17, 66]
Generated Node #3: [17, 66] from Operation: 50+16=66
Current State: 49:[17, 66], Operations: ['38-21=17', '50+16=66']
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[21, 38, 50, 16], Operations: []
Exploring Operation: 21+38=59, Resulting Numbers: [50, 16, 59]
Generated Node #0,0: 49:[50, 16, 59] Operation: 21+38=59
Exploring Operation: 21-16=5, Resulting Numbers: [38, 50, 5]
Generated Node #0,1: 49:[38, 50, 5] Operation: 21-16=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[38, 50, 5], Operations: ['21-16=5']
Exploring Operation: 38+5=43, Resulting Numbers: [50, 43]
Generated Node #0,1,0: 49:[50, 43] Operation: 38+5=43
Exploring Operation: 50-38=12, Resulting Numbers: [5, 12]
Generated Node #0,1,1: 49:[5, 12] Operation: 50-38=12
Moving to Node #0,1,0
Current State: 49:[50, 43], Operations: ['21-16=5', '38+5=43']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 50+43=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[5, 12], Operations: ['21-16=5', '50-38=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[50, 16, 59], Operations: ['21+38=59']
Exploring Operation: 59-16=43, Resulting Numbers: [50, 43]
Generated Node #0,0,0: 49:[50, 43] Operation: 59-16=43
Exploring Operation: 59-50=9, Resulting Numbers: [16, 9]
Generated Node #0,0,1: 49:[16, 9] Operation: 59-50=9
Moving to Node #0,0,0
Current State: 49:[50, 43], Operations: ['21+38=59', '59-16=43']
Exploring Operation: 50+43=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[16, 9], Operations: ['21+38=59', '59-50=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
8,
14,
55,
90
] | 29 | [
"14-8=6",
"90-55=35",
"35-6=29"
] | Current State: 29:[8, 14, 55, 90], Operations: []
Exploring Operation: 14-8=6, Resulting Numbers: [55, 90, 6]
Generated Node #2: [55, 90, 6] from Operation: 14-8=6
Current State: 29:[55, 90, 6], Operations: ['14-8=6']
Exploring Operation: 90-55=35, Resulting Numbers: [6, 35]
Generated Node #3: [6, 35] from Operation: 90-55=35
Current State: 29:[6, 35], Operations: ['14-8=6', '90-55=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[8, 14, 55, 90], Operations: []
Exploring Operation: 90-55=35, Resulting Numbers: [8, 14, 35]
Generated Node #0,0: 29:[8, 14, 35] Operation: 90-55=35
Exploring Operation: 55-14=41, Resulting Numbers: [8, 90, 41]
Generated Node #0,1: 29:[8, 90, 41] Operation: 55-14=41
Exploring Operation: 90-8=82, Resulting Numbers: [14, 55, 82]
Generated Node #0,2: 29:[14, 55, 82] Operation: 90-8=82
Exploring Operation: 55-8=47, Resulting Numbers: [14, 90, 47]
Generated Node #0,3: 29:[14, 90, 47] Operation: 55-8=47
Exploring Operation: 8+14=22, Resulting Numbers: [55, 90, 22]
Generated Node #0,4: 29:[55, 90, 22] Operation: 8+14=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[8, 14, 35], Operations: ['90-55=35']
Exploring Operation: 35-14=21, Resulting Numbers: [8, 21]
Generated Node #0,0,0: 29:[8, 21] Operation: 35-14=21
Exploring Operation: 8+14=22, Resulting Numbers: [35, 22]
Generated Node #0,0,1: 29:[35, 22] Operation: 8+14=22
Exploring Operation: 8+35=43, Resulting Numbers: [14, 43]
Generated Node #0,0,2: 29:[14, 43] Operation: 8+35=43
Exploring Operation: 35-8=27, Resulting Numbers: [14, 27]
Generated Node #0,0,3: 29:[14, 27] Operation: 35-8=27
Exploring Operation: 14-8=6, Resulting Numbers: [35, 6]
Generated Node #0,0,4: 29:[35, 6] Operation: 14-8=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[35, 22], Operations: ['90-55=35', '8+14=22']
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 35*22=770, Resulting Numbers: [770]
770,29 unequal: No Solution
No 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: 29:[14, 27], Operations: ['90-55=35', '35-8=27']
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,29 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,29 unequal: No Solution
No 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: 29:[8, 21], Operations: ['90-55=35', '35-14=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,29 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[8, 14, 55, 90], Operations: []
Exploring Operation: 90-55=35, Resulting Numbers: [8, 14, 35]
Generated Node #0,0: 29:[8, 14, 35] Operation: 90-55=35
Moving to Node #0,0
Current State: 29:[8, 14, 35], Operations: ['90-55=35']
Exploring Operation: 35-14=21, Resulting Numbers: [8, 21]
Generated Node #0,0,0: 29:[8, 21] Operation: 35-14=21
Moving to Node #0,0,0
Current State: 29:[8, 21], Operations: ['90-55=35', '35-14=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
6,
83,
22,
90
] | 90 | [
"90/6=15",
"83+22=105",
"105-15=90"
] | Current State: 90:[6, 83, 22, 90], Operations: []
Exploring Operation: 90/6=15, Resulting Numbers: [83, 22, 15]
Generated Node #2: [83, 22, 15] from Operation: 90/6=15
Current State: 90:[83, 22, 15], Operations: ['90/6=15']
Exploring Operation: 83+22=105, Resulting Numbers: [15, 105]
Generated Node #3: [15, 105] from Operation: 83+22=105
Current State: 90:[15, 105], Operations: ['90/6=15', '83+22=105']
Exploring Operation: 105-15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[6, 83, 22, 90], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [6, 22, 7]
Generated Node #0,0: 90:[6, 22, 7] Operation: 90-83=7
Exploring Operation: 22-6=16, Resulting Numbers: [83, 90, 16]
Generated Node #0,1: 90:[83, 90, 16] Operation: 22-6=16
Exploring Operation: 6+83=89, Resulting Numbers: [22, 90, 89]
Generated Node #0,2: 90:[22, 90, 89] Operation: 6+83=89
Exploring Operation: 6+22=28, Resulting Numbers: [83, 90, 28]
Generated Node #0,3: 90:[83, 90, 28] Operation: 6+22=28
Exploring Operation: 90/6=15, Resulting Numbers: [83, 22, 15]
Generated Node #0,4: 90:[83, 22, 15] Operation: 90/6=15
Moving to Node #0,0
Current State: 90:[6, 22, 7], Operations: ['90-83=7']
Exploring Operation: 22-7=15, Resulting Numbers: [6, 15]
Generated Node #0,0,0: 90:[6, 15] Operation: 22-7=15
Exploring Operation: 22+7=29, Resulting Numbers: [6, 29]
Generated Node #0,0,1: 90:[6, 29] Operation: 22+7=29
Exploring Operation: 6+22=28, Resulting Numbers: [7, 28]
Generated Node #0,0,2: 90:[7, 28] Operation: 6+22=28
Exploring Operation: 7-6=1, Resulting Numbers: [22, 1]
Generated Node #0,0,3: 90:[22, 1] Operation: 7-6=1
Exploring Operation: 22-6=16, Resulting Numbers: [7, 16]
Generated Node #0,0,4: 90:[7, 16] Operation: 22-6=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[6, 15], Operations: ['90-83=7', '22-7=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[6, 83, 22, 90], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [6, 22, 7]
Generated Node #0,0: 90:[6, 22, 7] Operation: 90-83=7
Moving to Node #0,0
Current State: 90:[6, 22, 7], Operations: ['90-83=7']
Exploring Operation: 22-7=15, Resulting Numbers: [6, 15]
Generated Node #0,0,0: 90:[6, 15] Operation: 22-7=15
Moving to Node #0,0,0
Current State: 90:[6, 15], Operations: ['90-83=7', '22-7=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
11,
4,
26,
82
] | 41 | [
"11+4=15",
"82-26=56",
"56-15=41"
] | Current State: 41:[11, 4, 26, 82], Operations: []
Exploring Operation: 11+4=15, Resulting Numbers: [26, 82, 15]
Generated Node #2: [26, 82, 15] from Operation: 11+4=15
Current State: 41:[26, 82, 15], Operations: ['11+4=15']
Exploring Operation: 82-26=56, Resulting Numbers: [15, 56]
Generated Node #3: [15, 56] from Operation: 82-26=56
Current State: 41:[15, 56], Operations: ['11+4=15', '82-26=56']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[11, 4, 26, 82], Operations: []
Exploring Operation: 11*4=44, Resulting Numbers: [26, 82, 44]
Generated Node #0,0: 41:[26, 82, 44] Operation: 11*4=44
Exploring Operation: 82-11=71, Resulting Numbers: [4, 26, 71]
Generated Node #0,1: 41:[4, 26, 71] Operation: 82-11=71
Exploring Operation: 11+4=15, Resulting Numbers: [26, 82, 15]
Generated Node #0,2: 41:[26, 82, 15] Operation: 11+4=15
Exploring Operation: 4+26=30, Resulting Numbers: [11, 82, 30]
Generated Node #0,3: 41:[11, 82, 30] Operation: 4+26=30
Exploring Operation: 11+26=37, Resulting Numbers: [4, 82, 37]
Generated Node #0,4: 41:[4, 82, 37] Operation: 11+26=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[26, 82, 44], Operations: ['11*4=44']
Exploring Operation: 82-26=56, Resulting Numbers: [44, 56]
Generated Node #0,0,0: 41:[44, 56] Operation: 82-26=56
Exploring Operation: 44-26=18, Resulting Numbers: [82, 18]
Generated Node #0,0,1: 41:[82, 18] Operation: 44-26=18
Exploring Operation: 26+82=108, Resulting Numbers: [44, 108]
Generated Node #0,0,2: 41:[44, 108] Operation: 26+82=108
Exploring Operation: 82-44=38, Resulting Numbers: [26, 38]
Generated Node #0,0,3: 41:[26, 38] Operation: 82-44=38
Exploring Operation: 26+44=70, Resulting Numbers: [82, 70]
Generated Node #0,0,4: 41:[82, 70] Operation: 26+44=70
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[44, 56], Operations: ['11*4=44', '82-26=56']
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,41 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,41 unequal: No Solution
No 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: 41:[26, 38], Operations: ['11*4=44', '82-44=38']
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,41 unequal: No Solution
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,41 unequal: No Solution
No 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: 41:[82, 18], Operations: ['11*4=44', '44-26=18']
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 82*18=1476, Resulting Numbers: [1476]
1476,41 unequal: No Solution
Exploring Operation: 82+18=100, Resulting Numbers: [100]
100,41 unequal: No Solution
No 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: 41:[44, 108], Operations: ['11*4=44', '26+82=108']
Exploring Operation: 44*108=4752, Resulting Numbers: [4752]
4752,41 unequal: No Solution
Exploring Operation: 108-44=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 44+108=152, Resulting Numbers: [152]
152,41 unequal: No Solution
No 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: 41:[82, 70], Operations: ['11*4=44', '26+44=70']
Exploring Operation: 82+70=152, Resulting Numbers: [152]
152,41 unequal: No Solution
Exploring Operation: 82*70=5740, Resulting Numbers: [5740]
5740,41 unequal: No Solution
Exploring Operation: 82-70=12, Resulting Numbers: [12]
12,41 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: 41:[4, 26, 71], Operations: ['82-11=71']
Exploring Operation: 4+26=30, Resulting Numbers: [71, 30]
Generated Node #0,1,0: 41:[71, 30] Operation: 4+26=30
Exploring Operation: 71-4=67, Resulting Numbers: [26, 67]
Generated Node #0,1,1: 41:[26, 67] Operation: 71-4=67
Exploring Operation: 71-26=45, Resulting Numbers: [4, 45]
Generated Node #0,1,2: 41:[4, 45] Operation: 71-26=45
Exploring Operation: 4+71=75, Resulting Numbers: [26, 75]
Generated Node #0,1,3: 41:[26, 75] Operation: 4+71=75
Exploring Operation: 26-4=22, Resulting Numbers: [71, 22]
Generated Node #0,1,4: 41:[71, 22] Operation: 26-4=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[71, 30], Operations: ['82-11=71', '4+26=30']
Exploring Operation: 71+30=101, Resulting Numbers: [101]
101,41 unequal: No Solution
Exploring Operation: 71*30=2130, Resulting Numbers: [2130]
2130,41 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[11, 4, 26, 82], Operations: []
Exploring Operation: 82-11=71, Resulting Numbers: [4, 26, 71]
Generated Node #0,1: 41:[4, 26, 71] Operation: 82-11=71
Moving to Node #0,1
Current State: 41:[4, 26, 71], Operations: ['82-11=71']
Exploring Operation: 4+26=30, Resulting Numbers: [71, 30]
Generated Node #0,1,0: 41:[71, 30] Operation: 4+26=30
Moving to Node #0,1,0
Current State: 41:[71, 30], Operations: ['82-11=71', '4+26=30']
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
3,
57,
3,
7
] | 41 | [
"3*3=9",
"57-7=50",
"50-9=41"
] | Current State: 41:[3, 57, 3, 7], Operations: []
Exploring Operation: 3*3=9, Resulting Numbers: [57, 7, 9]
Generated Node #2: [57, 7, 9] from Operation: 3*3=9
Current State: 41:[57, 7, 9], Operations: ['3*3=9']
Exploring Operation: 57-7=50, Resulting Numbers: [9, 50]
Generated Node #3: [9, 50] from Operation: 57-7=50
Current State: 41:[9, 50], Operations: ['3*3=9', '57-7=50']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[3, 57, 3, 7], Operations: []
Exploring Operation: 3*3=9, Resulting Numbers: [57, 7, 9]
Generated Node #0,0: 41:[57, 7, 9] Operation: 3*3=9
Exploring Operation: 3*7=21, Resulting Numbers: [3, 57, 21]
Generated Node #0,1: 41:[3, 57, 21] Operation: 3*7=21
Exploring Operation: 57-3=54, Resulting Numbers: [3, 7, 54]
Generated Node #0,2: 41:[3, 7, 54] Operation: 57-3=54
Exploring Operation: 3*7=21, Resulting Numbers: [57, 3, 21]
Generated Node #0,3: 41:[57, 3, 21] Operation: 3*7=21
Moving to Node #0,1
Current State: 41:[3, 57, 21], Operations: ['3*7=21']
Exploring Operation: 3*21=63, Resulting Numbers: [57, 63]
Generated Node #0,1,0: 41:[57, 63] Operation: 3*21=63
Exploring Operation: 57-3=54, Resulting Numbers: [21, 54]
Generated Node #0,1,1: 41:[21, 54] Operation: 57-3=54
Exploring Operation: 3+57=60, Resulting Numbers: [21, 60]
Generated Node #0,1,2: 41:[21, 60] Operation: 3+57=60
Exploring Operation: 3+21=24, Resulting Numbers: [57, 24]
Generated Node #0,1,3: 41:[57, 24] Operation: 3+21=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[21, 54], Operations: ['3*7=21', '57-3=54']
Exploring Operation: 21+54=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 21*54=1134, Resulting Numbers: [1134]
1134,41 unequal: No Solution
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[57, 24], Operations: ['3*7=21', '3+21=24']
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,41 unequal: No Solution
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[57, 63], Operations: ['3*7=21', '3*21=63']
Exploring Operation: 57*63=3591, Resulting Numbers: [3591]
3591,41 unequal: No Solution
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 57+63=120, Resulting Numbers: [120]
120,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[21, 60], Operations: ['3*7=21', '3+57=60']
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 21+60=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 21*60=1260, Resulting Numbers: [1260]
1260,41 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: 41:[57, 3, 21], Operations: ['3*7=21']
Exploring Operation: 57-3=54, Resulting Numbers: [21, 54]
Generated Node #0,3,0: 41:[21, 54] Operation: 57-3=54
Exploring Operation: 3*21=63, Resulting Numbers: [57, 63]
Generated Node #0,3,1: 41:[57, 63] Operation: 3*21=63
Exploring Operation: 3+21=24, Resulting Numbers: [57, 24]
Generated Node #0,3,2: 41:[57, 24] Operation: 3+21=24
Exploring Operation: 57+3=60, Resulting Numbers: [21, 60]
Generated Node #0,3,3: 41:[21, 60] Operation: 57+3=60
Moving to Node #0,0
Current State: 41:[57, 7, 9], Operations: ['3*3=9']
Exploring Operation: 57-9=48, Resulting Numbers: [7, 48]
Generated Node #0,0,0: 41:[7, 48] Operation: 57-9=48
Exploring Operation: 7*9=63, Resulting Numbers: [57, 63]
Generated Node #0,0,1: 41:[57, 63] Operation: 7*9=63
Exploring Operation: 57-7=50, Resulting Numbers: [9, 50]
Generated Node #0,0,2: 41:[9, 50] Operation: 57-7=50
Exploring Operation: 7+9=16, Resulting Numbers: [57, 16]
Generated Node #0,0,3: 41:[57, 16] Operation: 7+9=16
Moving to Node #0,2
Current State: 41:[3, 7, 54], Operations: ['57-3=54']
Exploring Operation: 54-3=51, Resulting Numbers: [7, 51]
Generated Node #0,2,0: 41:[7, 51] Operation: 54-3=51
Exploring Operation: 54-7=47, Resulting Numbers: [3, 47]
Generated Node #0,2,1: 41:[3, 47] Operation: 54-7=47
Exploring Operation: 3*7=21, Resulting Numbers: [54, 21]
Generated Node #0,2,2: 41:[54, 21] Operation: 3*7=21
Exploring Operation: 3+7=10, Resulting Numbers: [54, 10]
Generated Node #0,2,3: 41:[54, 10] Operation: 3+7=10
Moving to Node #0,3,0
Current State: 41:[21, 54], Operations: ['3*7=21', '57-3=54']
Exploring Operation: 21+54=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 21*54=1134, Resulting Numbers: [1134]
1134,41 unequal: No Solution
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[57, 24], Operations: ['3*7=21', '3+21=24']
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[54, 21], Operations: ['57-3=54', '3*7=21']
Exploring Operation: 54+21=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 54*21=1134, Resulting Numbers: [1134]
1134,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[57, 63], Operations: ['3*7=21', '3*21=63']
Exploring Operation: 57+63=120, Resulting Numbers: [120]
120,41 unequal: No Solution
Exploring Operation: 57*63=3591, Resulting Numbers: [3591]
3591,41 unequal: No Solution
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[57, 63], Operations: ['3*3=9', '7*9=63']
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 57+63=120, Resulting Numbers: [120]
120,41 unequal: No Solution
Exploring Operation: 57*63=3591, Resulting Numbers: [3591]
3591,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[21, 60], Operations: ['3*7=21', '57+3=60']
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 21+60=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 21*60=1260, Resulting Numbers: [1260]
1260,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[9, 50], Operations: ['3*3=9', '57-7=50']
Exploring Operation: 9*50=450, Resulting Numbers: [450]
450,41 unequal: No Solution
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,41 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[3, 57, 3, 7], Operations: []
Exploring Operation: 3*3=9, Resulting Numbers: [57, 7, 9]
Generated Node #0,0: 41:[57, 7, 9] Operation: 3*3=9
Moving to Node #0,0
Current State: 41:[57, 7, 9], Operations: ['3*3=9']
Exploring Operation: 57-7=50, Resulting Numbers: [9, 50]
Generated Node #0,0,2: 41:[9, 50] Operation: 57-7=50
Moving to Node #0,0,2
Current State: 41:[9, 50], Operations: ['3*3=9', '57-7=50']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.950521 | hs_4 | sum_heuristic |
[
32,
80,
18,
86
] | 77 | [
"86-32=54",
"54/18=3",
"80-3=77"
] | Current State: 77:[32, 80, 18, 86], Operations: []
Exploring Operation: 86-32=54, Resulting Numbers: [80, 18, 54]
Generated Node #2: [80, 18, 54] from Operation: 86-32=54
Current State: 77:[80, 18, 54], Operations: ['86-32=54']
Exploring Operation: 54/18=3, Resulting Numbers: [80, 3]
Generated Node #3: [80, 3] from Operation: 54/18=3
Current State: 77:[80, 3], Operations: ['86-32=54', '54/18=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[32, 80, 18, 86], Operations: []
Exploring Operation: 86-80=6, Resulting Numbers: [32, 18, 6]
Generated Node #0,0: 77:[32, 18, 6] Operation: 86-80=6
Exploring Operation: 86-32=54, Resulting Numbers: [80, 18, 54]
Generated Node #0,1: 77:[80, 18, 54] Operation: 86-32=54
Exploring Operation: 32-18=14, Resulting Numbers: [80, 86, 14]
Generated Node #0,2: 77:[80, 86, 14] Operation: 32-18=14
Moving to Node #0,2
Current State: 77:[80, 86, 14], Operations: ['32-18=14']
Exploring Operation: 86-14=72, Resulting Numbers: [80, 72]
Generated Node #0,2,0: 77:[80, 72] Operation: 86-14=72
Exploring Operation: 80-14=66, Resulting Numbers: [86, 66]
Generated Node #0,2,1: 77:[86, 66] Operation: 80-14=66
Exploring Operation: 86-80=6, Resulting Numbers: [14, 6]
Generated Node #0,2,2: 77:[14, 6] Operation: 86-80=6
Moving to Node #0,0
Current State: 77:[32, 18, 6], Operations: ['86-80=6']
Exploring Operation: 32-18=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 77:[6, 14] Operation: 32-18=14
Exploring Operation: 32-6=26, Resulting Numbers: [18, 26]
Generated Node #0,0,1: 77:[18, 26] Operation: 32-6=26
Exploring Operation: 18-6=12, Resulting Numbers: [32, 12]
Generated Node #0,0,2: 77:[32, 12] Operation: 18-6=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[6, 14], Operations: ['86-80=6', '32-18=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,77 unequal: No Solution
No 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: 77:[18, 26], Operations: ['86-80=6', '32-6=26']
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,77 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,77 unequal: No Solution
No 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: 77:[32, 12], Operations: ['86-80=6', '18-6=12']
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,77 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,77 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: 77:[80, 18, 54], Operations: ['86-32=54']
Exploring Operation: 80-54=26, Resulting Numbers: [18, 26]
Generated Node #0,1,0: 77:[18, 26] Operation: 80-54=26
Exploring Operation: 54/18=3, Resulting Numbers: [80, 3]
Generated Node #0,1,1: 77:[80, 3] Operation: 54/18=3
Exploring Operation: 18+54=72, Resulting Numbers: [80, 72]
Generated Node #0,1,2: 77:[80, 72] Operation: 18+54=72
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[80, 3], Operations: ['86-32=54', '54/18=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[32, 80, 18, 86], Operations: []
Exploring Operation: 86-32=54, Resulting Numbers: [80, 18, 54]
Generated Node #0,1: 77:[80, 18, 54] Operation: 86-32=54
Moving to Node #0,1
Current State: 77:[80, 18, 54], Operations: ['86-32=54']
Exploring Operation: 54/18=3, Resulting Numbers: [80, 3]
Generated Node #0,1,1: 77:[80, 3] Operation: 54/18=3
Moving to Node #0,1,1
Current State: 77:[80, 3], Operations: ['86-32=54', '54/18=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
16,
53,
36,
91
] | 20 | [
"53+91=144",
"144/36=4",
"16+4=20"
] | Current State: 20:[16, 53, 36, 91], Operations: []
Exploring Operation: 53+91=144, Resulting Numbers: [16, 36, 144]
Generated Node #2: [16, 36, 144] from Operation: 53+91=144
Current State: 20:[16, 36, 144], Operations: ['53+91=144']
Exploring Operation: 144/36=4, Resulting Numbers: [16, 4]
Generated Node #3: [16, 4] from Operation: 144/36=4
Current State: 20:[16, 4], Operations: ['53+91=144', '144/36=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[16, 53, 36, 91], Operations: []
Exploring Operation: 91-53=38, Resulting Numbers: [16, 36, 38]
Generated Node #0,0: 20:[16, 36, 38] Operation: 91-53=38
Moving to Node #0,0
Current State: 20:[16, 36, 38], Operations: ['91-53=38']
Exploring Operation: 38-36=2, Resulting Numbers: [16, 2]
Generated Node #0,0,0: 20:[16, 2] Operation: 38-36=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[16, 2], Operations: ['91-53=38', '38-36=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,20 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 |
[
42,
88,
6,
62
] | 74 | [
"42+88=130",
"62-6=56",
"130-56=74"
] | Current State: 74:[42, 88, 6, 62], Operations: []
Exploring Operation: 42+88=130, Resulting Numbers: [6, 62, 130]
Generated Node #2: [6, 62, 130] from Operation: 42+88=130
Current State: 74:[6, 62, 130], Operations: ['42+88=130']
Exploring Operation: 62-6=56, Resulting Numbers: [130, 56]
Generated Node #3: [130, 56] from Operation: 62-6=56
Current State: 74:[130, 56], Operations: ['42+88=130', '62-6=56']
Exploring Operation: 130-56=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[42, 88, 6, 62], Operations: []
Exploring Operation: 88-62=26, Resulting Numbers: [42, 6, 26]
Generated Node #0,0: 74:[42, 6, 26] Operation: 88-62=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[42, 6, 26], Operations: ['88-62=26']
Exploring Operation: 42+26=68, Resulting Numbers: [6, 68]
Generated Node #0,0,0: 74:[6, 68] Operation: 42+26=68
Moving to Node #0,0,0
Current State: 74:[6, 68], Operations: ['88-62=26', '42+26=68']
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[42, 88, 6, 62], Operations: []
Exploring Operation: 88-62=26, Resulting Numbers: [42, 6, 26]
Generated Node #0,0: 74:[42, 6, 26] Operation: 88-62=26
Moving to Node #0,0
Current State: 74:[42, 6, 26], Operations: ['88-62=26']
Exploring Operation: 42+26=68, Resulting Numbers: [6, 68]
Generated Node #0,0,0: 74:[6, 68] Operation: 42+26=68
Moving to Node #0,0,0
Current State: 74:[6, 68], Operations: ['88-62=26', '42+26=68']
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
64,
61,
32,
96
] | 33 | [
"64/32=2",
"96-61=35",
"35-2=33"
] | Current State: 33:[64, 61, 32, 96], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [61, 96, 2]
Generated Node #2: [61, 96, 2] from Operation: 64/32=2
Current State: 33:[61, 96, 2], Operations: ['64/32=2']
Exploring Operation: 96-61=35, Resulting Numbers: [2, 35]
Generated Node #3: [2, 35] from Operation: 96-61=35
Current State: 33:[2, 35], Operations: ['64/32=2', '96-61=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[64, 61, 32, 96], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [64, 32, 35]
Generated Node #0,0: 33:[64, 32, 35] Operation: 96-61=35
Exploring Operation: 64-61=3, Resulting Numbers: [32, 96, 3]
Generated Node #0,1: 33:[32, 96, 3] Operation: 64-61=3
Exploring Operation: 96-32=64, Resulting Numbers: [64, 61, 64]
Generated Node #0,2: 33:[64, 61, 64] Operation: 96-32=64
Exploring Operation: 96/32=3, Resulting Numbers: [64, 61, 3]
Generated Node #0,3: 33:[64, 61, 3] Operation: 96/32=3
Exploring Operation: 96-64=32, Resulting Numbers: [61, 32, 32]
Generated Node #0,4: 33:[61, 32, 32] Operation: 96-64=32
Moving to Node #0,4
Current State: 33:[61, 32, 32], Operations: ['96-64=32']
Exploring Operation: 61-32=29, Resulting Numbers: [32, 29]
Generated Node #0,4,0: 33:[32, 29] Operation: 61-32=29
Exploring Operation: 32+32=64, Resulting Numbers: [61, 64]
Generated Node #0,4,1: 33:[61, 64] Operation: 32+32=64
Exploring Operation: 61-32=29, Resulting Numbers: [32, 29]
Generated Node #0,4,2: 33:[32, 29] Operation: 61-32=29
Exploring Operation: 32-32=0, Resulting Numbers: [61, 0]
Generated Node #0,4,3: 33:[61, 0] Operation: 32-32=0
Exploring Operation: 32/32=1, Resulting Numbers: [61, 1]
Generated Node #0,4,4: 33:[61, 1] Operation: 32/32=1
Moving to Node #0,0
Current State: 33:[64, 32, 35], Operations: ['96-61=35']
Exploring Operation: 64/32=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 33:[35, 2] Operation: 64/32=2
Exploring Operation: 64-32=32, Resulting Numbers: [35, 32]
Generated Node #0,0,1: 33:[35, 32] Operation: 64-32=32
Exploring Operation: 35-32=3, Resulting Numbers: [64, 3]
Generated Node #0,0,2: 33:[64, 3] Operation: 35-32=3
Exploring Operation: 64+32=96, Resulting Numbers: [35, 96]
Generated Node #0,0,3: 33:[35, 96] Operation: 64+32=96
Exploring Operation: 64-35=29, Resulting Numbers: [32, 29]
Generated Node #0,0,4: 33:[32, 29] Operation: 64-35=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[35, 2], Operations: ['96-61=35', '64/32=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[64, 61, 32, 96], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [64, 32, 35]
Generated Node #0,0: 33:[64, 32, 35] Operation: 96-61=35
Moving to Node #0,0
Current State: 33:[64, 32, 35], Operations: ['96-61=35']
Exploring Operation: 64/32=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 33:[35, 2] Operation: 64/32=2
Moving to Node #0,0,0
Current State: 33:[35, 2], Operations: ['96-61=35', '64/32=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
86,
41,
61,
19
] | 85 | [
"86+41=127",
"61-19=42",
"127-42=85"
] | Current State: 85:[86, 41, 61, 19], Operations: []
Exploring Operation: 86+41=127, Resulting Numbers: [61, 19, 127]
Generated Node #2: [61, 19, 127] from Operation: 86+41=127
Current State: 85:[61, 19, 127], Operations: ['86+41=127']
Exploring Operation: 61-19=42, Resulting Numbers: [127, 42]
Generated Node #3: [127, 42] from Operation: 61-19=42
Current State: 85:[127, 42], Operations: ['86+41=127', '61-19=42']
Exploring Operation: 127-42=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[86, 41, 61, 19], Operations: []
Exploring Operation: 61-41=20, Resulting Numbers: [86, 19, 20]
Generated Node #0,0: 85:[86, 19, 20] Operation: 61-41=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[86, 19, 20], Operations: ['61-41=20']
Exploring Operation: 20-19=1, Resulting Numbers: [86, 1]
Generated Node #0,0,0: 85:[86, 1] Operation: 20-19=1
Moving to Node #0,0,0
Current State: 85:[86, 1], Operations: ['61-41=20', '20-19=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[86, 41, 61, 19], Operations: []
Exploring Operation: 61-41=20, Resulting Numbers: [86, 19, 20]
Generated Node #0,0: 85:[86, 19, 20] Operation: 61-41=20
Moving to Node #0,0
Current State: 85:[86, 19, 20], Operations: ['61-41=20']
Exploring Operation: 20-19=1, Resulting Numbers: [86, 1]
Generated Node #0,0,0: 85:[86, 1] Operation: 20-19=1
Moving to Node #0,0,0
Current State: 85:[86, 1], Operations: ['61-41=20', '20-19=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
93,
52,
53,
27
] | 67 | [
"93-52=41",
"53-27=26",
"41+26=67"
] | Current State: 67:[93, 52, 53, 27], Operations: []
Exploring Operation: 93-52=41, Resulting Numbers: [53, 27, 41]
Generated Node #2: [53, 27, 41] from Operation: 93-52=41
Current State: 67:[53, 27, 41], Operations: ['93-52=41']
Exploring Operation: 53-27=26, Resulting Numbers: [41, 26]
Generated Node #3: [41, 26] from Operation: 53-27=26
Current State: 67:[41, 26], Operations: ['93-52=41', '53-27=26']
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[93, 52, 53, 27], Operations: []
Exploring Operation: 52+27=79, Resulting Numbers: [93, 53, 79]
Generated Node #0,0: 67:[93, 53, 79] Operation: 52+27=79
Exploring Operation: 93-52=41, Resulting Numbers: [53, 27, 41]
Generated Node #0,1: 67:[53, 27, 41] Operation: 93-52=41
Exploring Operation: 93-27=66, Resulting Numbers: [52, 53, 66]
Generated Node #0,2: 67:[52, 53, 66] Operation: 93-27=66
Exploring Operation: 53+27=80, Resulting Numbers: [93, 52, 80]
Generated Node #0,3: 67:[93, 52, 80] Operation: 53+27=80
Moving to Node #0,2
Current State: 67:[52, 53, 66], Operations: ['93-27=66']
Exploring Operation: 53-52=1, Resulting Numbers: [66, 1]
Generated Node #0,2,0: 67:[66, 1] Operation: 53-52=1
Exploring Operation: 66-52=14, Resulting Numbers: [53, 14]
Generated Node #0,2,1: 67:[53, 14] Operation: 66-52=14
Exploring Operation: 52+53=105, Resulting Numbers: [66, 105]
Generated Node #0,2,2: 67:[66, 105] Operation: 52+53=105
Exploring Operation: 52+66=118, Resulting Numbers: [53, 118]
Generated Node #0,2,3: 67:[53, 118] Operation: 52+66=118
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[66, 105], Operations: ['93-27=66', '52+53=105']
Exploring Operation: 105-66=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 66+105=171, Resulting Numbers: [171]
171,67 unequal: No Solution
Exploring Operation: 66*105=6930, Resulting Numbers: [6930]
6930,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[53, 118], Operations: ['93-27=66', '52+66=118']
Exploring Operation: 53*118=6254, Resulting Numbers: [6254]
6254,67 unequal: No Solution
Exploring Operation: 118-53=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 53+118=171, Resulting Numbers: [171]
171,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,0
Current State: 67:[66, 1], Operations: ['93-27=66', '53-52=1']
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[93, 52, 53, 27], Operations: []
Exploring Operation: 93-27=66, Resulting Numbers: [52, 53, 66]
Generated Node #0,2: 67:[52, 53, 66] Operation: 93-27=66
Moving to Node #0,2
Current State: 67:[52, 53, 66], Operations: ['93-27=66']
Exploring Operation: 53-52=1, Resulting Numbers: [66, 1]
Generated Node #0,2,0: 67:[66, 1] Operation: 53-52=1
Moving to Node #0,2,0
Current State: 67:[66, 1], Operations: ['93-27=66', '53-52=1']
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
55,
5,
29,
92
] | 38 | [
"55-29=26",
"5*26=130",
"130-92=38"
] | Current State: 38:[55, 5, 29, 92], Operations: []
Exploring Operation: 55-29=26, Resulting Numbers: [5, 92, 26]
Generated Node #2: [5, 92, 26] from Operation: 55-29=26
Current State: 38:[5, 92, 26], Operations: ['55-29=26']
Exploring Operation: 5*26=130, Resulting Numbers: [92, 130]
Generated Node #3: [92, 130] from Operation: 5*26=130
Current State: 38:[92, 130], Operations: ['55-29=26', '5*26=130']
Exploring Operation: 130-92=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[55, 5, 29, 92], Operations: []
Exploring Operation: 92-55=37, Resulting Numbers: [5, 29, 37]
Generated Node #0,0: 38:[5, 29, 37] Operation: 92-55=37
Moving to Node #0,0
Current State: 38:[5, 29, 37], Operations: ['92-55=37']
Exploring Operation: 5+29=34, Resulting Numbers: [37, 34]
Generated Node #0,0,0: 38:[37, 34] Operation: 5+29=34
Moving to Node #0,0,0
Current State: 38:[37, 34], Operations: ['92-55=37', '5+29=34']
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
15,
28,
7,
18
] | 45 | [
"28-7=21",
"21-18=3",
"15*3=45"
] | Current State: 45:[15, 28, 7, 18], Operations: []
Exploring Operation: 28-7=21, Resulting Numbers: [15, 18, 21]
Generated Node #2: [15, 18, 21] from Operation: 28-7=21
Current State: 45:[15, 18, 21], Operations: ['28-7=21']
Exploring Operation: 21-18=3, Resulting Numbers: [15, 3]
Generated Node #3: [15, 3] from Operation: 21-18=3
Current State: 45:[15, 3], Operations: ['28-7=21', '21-18=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[15, 28, 7, 18], Operations: []
Exploring Operation: 15+28=43, Resulting Numbers: [7, 18, 43]
Generated Node #0,0: 45:[7, 18, 43] Operation: 15+28=43
Exploring Operation: 28-18=10, Resulting Numbers: [15, 7, 10]
Generated Node #0,1: 45:[15, 7, 10] Operation: 28-18=10
Exploring Operation: 28/7=4, Resulting Numbers: [15, 18, 4]
Generated Node #0,2: 45:[15, 18, 4] Operation: 28/7=4
Exploring Operation: 28+18=46, Resulting Numbers: [15, 7, 46]
Generated Node #0,3: 45:[15, 7, 46] Operation: 28+18=46
Exploring Operation: 28-15=13, Resulting Numbers: [7, 18, 13]
Generated Node #0,4: 45:[7, 18, 13] Operation: 28-15=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[15, 7, 10], Operations: ['28-18=10']
Exploring Operation: 15-10=5, Resulting Numbers: [7, 5]
Generated Node #0,1,0: 45:[7, 5] Operation: 15-10=5
Exploring Operation: 7+10=17, Resulting Numbers: [15, 17]
Generated Node #0,1,1: 45:[15, 17] Operation: 7+10=17
Exploring Operation: 10-7=3, Resulting Numbers: [15, 3]
Generated Node #0,1,2: 45:[15, 3] Operation: 10-7=3
Exploring Operation: 15-7=8, Resulting Numbers: [10, 8]
Generated Node #0,1,3: 45:[10, 8] Operation: 15-7=8
Exploring Operation: 15+7=22, Resulting Numbers: [10, 22]
Generated Node #0,1,4: 45:[10, 22] Operation: 15+7=22
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[15, 3], Operations: ['28-18=10', '10-7=3']
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[15, 28, 7, 18], Operations: []
Exploring Operation: 28-18=10, Resulting Numbers: [15, 7, 10]
Generated Node #0,1: 45:[15, 7, 10] Operation: 28-18=10
Moving to Node #0,1
Current State: 45:[15, 7, 10], Operations: ['28-18=10']
Exploring Operation: 10-7=3, Resulting Numbers: [15, 3]
Generated Node #0,1,2: 45:[15, 3] Operation: 10-7=3
Moving to Node #0,1,2
Current State: 45:[15, 3], Operations: ['28-18=10', '10-7=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
53,
3,
57,
97
] | 75 | [
"97-53=44",
"3*44=132",
"132-57=75"
] | Current State: 75:[53, 3, 57, 97], Operations: []
Exploring Operation: 97-53=44, Resulting Numbers: [3, 57, 44]
Generated Node #2: [3, 57, 44] from Operation: 97-53=44
Current State: 75:[3, 57, 44], Operations: ['97-53=44']
Exploring Operation: 3*44=132, Resulting Numbers: [57, 132]
Generated Node #3: [57, 132] from Operation: 3*44=132
Current State: 75:[57, 132], Operations: ['97-53=44', '3*44=132']
Exploring Operation: 132-57=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[53, 3, 57, 97], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [53, 97, 19]
Generated Node #0,0: 75:[53, 97, 19] Operation: 57/3=19
Exploring Operation: 97-57=40, Resulting Numbers: [53, 3, 40]
Generated Node #0,1: 75:[53, 3, 40] Operation: 97-57=40
Exploring Operation: 53+57=110, Resulting Numbers: [3, 97, 110]
Generated Node #0,2: 75:[3, 97, 110] Operation: 53+57=110
Exploring Operation: 57-53=4, Resulting Numbers: [3, 97, 4]
Generated Node #0,3: 75:[3, 97, 4] Operation: 57-53=4
Exploring Operation: 97-53=44, Resulting Numbers: [3, 57, 44]
Generated Node #0,4: 75:[3, 57, 44] Operation: 97-53=44
Moving to Node #0,3
Current State: 75:[3, 97, 4], Operations: ['57-53=4']
Exploring Operation: 97-3=94, Resulting Numbers: [4, 94]
Generated Node #0,3,0: 75:[4, 94] Operation: 97-3=94
Exploring Operation: 3*4=12, Resulting Numbers: [97, 12]
Generated Node #0,3,1: 75:[97, 12] Operation: 3*4=12
Exploring Operation: 97-4=93, Resulting Numbers: [3, 93]
Generated Node #0,3,2: 75:[3, 93] Operation: 97-4=93
Exploring Operation: 3+4=7, Resulting Numbers: [97, 7]
Generated Node #0,3,3: 75:[97, 7] Operation: 3+4=7
Exploring Operation: 4-3=1, Resulting Numbers: [97, 1]
Generated Node #0,3,4: 75:[97, 1] Operation: 4-3=1
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 75:[3, 93], Operations: ['57-53=4', '97-4=93']
Exploring Operation: 3*93=279, Resulting Numbers: [279]
279,75 unequal: No Solution
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[4, 94], Operations: ['57-53=4', '97-3=94']
Exploring Operation: 4*94=376, Resulting Numbers: [376]
376,75 unequal: No Solution
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[97, 7], Operations: ['57-53=4', '3+4=7']
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 97*7=679, Resulting Numbers: [679]
679,75 unequal: No Solution
Exploring Operation: 97+7=104, Resulting Numbers: [104]
104,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 75:[97, 1], Operations: ['57-53=4', '4-3=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[97, 12], Operations: ['57-53=4', '3*4=12']
Exploring Operation: 97*12=1164, Resulting Numbers: [1164]
1164,75 unequal: No Solution
Exploring Operation: 97+12=109, Resulting Numbers: [109]
109,75 unequal: No Solution
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,75 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: 75:[3, 57, 44], Operations: ['97-53=44']
Exploring Operation: 57/3=19, Resulting Numbers: [44, 19]
Generated Node #0,4,0: 75:[44, 19] Operation: 57/3=19
Exploring Operation: 57-44=13, Resulting Numbers: [3, 13]
Generated Node #0,4,1: 75:[3, 13] Operation: 57-44=13
Exploring Operation: 3+57=60, Resulting Numbers: [44, 60]
Generated Node #0,4,2: 75:[44, 60] Operation: 3+57=60
Exploring Operation: 44-3=41, Resulting Numbers: [57, 41]
Generated Node #0,4,3: 75:[57, 41] Operation: 44-3=41
Exploring Operation: 57+44=101, Resulting Numbers: [3, 101]
Generated Node #0,4,4: 75:[3, 101] Operation: 57+44=101
Moving to Node #0,1
Current State: 75:[53, 3, 40], Operations: ['97-57=40']
Exploring Operation: 53-3=50, Resulting Numbers: [40, 50]
Generated Node #0,1,0: 75:[40, 50] Operation: 53-3=50
Exploring Operation: 53+3=56, Resulting Numbers: [40, 56]
Generated Node #0,1,1: 75:[40, 56] Operation: 53+3=56
Exploring Operation: 53+40=93, Resulting Numbers: [3, 93]
Generated Node #0,1,2: 75:[3, 93] Operation: 53+40=93
Exploring Operation: 53-40=13, Resulting Numbers: [3, 13]
Generated Node #0,1,3: 75:[3, 13] Operation: 53-40=13
Exploring Operation: 40-3=37, Resulting Numbers: [53, 37]
Generated Node #0,1,4: 75:[53, 37] Operation: 40-3=37
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 75:[3, 13], Operations: ['97-57=40', '53-40=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[3, 93], Operations: ['97-57=40', '53+40=93']
Exploring Operation: 3*93=279, Resulting Numbers: [279]
279,75 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[40, 56], Operations: ['97-57=40', '53+3=56']
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,75 unequal: No Solution
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 75:[53, 37], Operations: ['97-57=40', '40-3=37']
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 53+37=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 53*37=1961, Resulting Numbers: [1961]
1961,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[40, 50], Operations: ['97-57=40', '53-3=50']
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 40*50=2000, Resulting Numbers: [2000]
2000,75 unequal: No Solution
Exploring Operation: 40+50=90, Resulting Numbers: [90]
90,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 75:[53, 97, 19], Operations: ['57/3=19']
Exploring Operation: 97-53=44, Resulting Numbers: [19, 44]
Generated Node #0,0,0: 75:[19, 44] Operation: 97-53=44
Exploring Operation: 53-19=34, Resulting Numbers: [97, 34]
Generated Node #0,0,1: 75:[97, 34] Operation: 53-19=34
Exploring Operation: 97+19=116, Resulting Numbers: [53, 116]
Generated Node #0,0,2: 75:[53, 116] Operation: 97+19=116
Exploring Operation: 53+19=72, Resulting Numbers: [97, 72]
Generated Node #0,0,3: 75:[97, 72] Operation: 53+19=72
Exploring Operation: 97-19=78, Resulting Numbers: [53, 78]
Generated Node #0,0,4: 75:[53, 78] Operation: 97-19=78
Moving to Node #0,2
Current State: 75:[3, 97, 110], Operations: ['53+57=110']
Exploring Operation: 3+97=100, Resulting Numbers: [110, 100]
Generated Node #0,2,0: 75:[110, 100] Operation: 3+97=100
Exploring Operation: 110-97=13, Resulting Numbers: [3, 13]
Generated Node #0,2,1: 75:[3, 13] Operation: 110-97=13
Exploring Operation: 3+110=113, Resulting Numbers: [97, 113]
Generated Node #0,2,2: 75:[97, 113] Operation: 3+110=113
Exploring Operation: 97-3=94, Resulting Numbers: [110, 94]
Generated Node #0,2,3: 75:[110, 94] Operation: 97-3=94
Exploring Operation: 110-3=107, Resulting Numbers: [97, 107]
Generated Node #0,2,4: 75:[97, 107] Operation: 110-3=107
Moving to Node #0,4,1
Current State: 75:[3, 13], Operations: ['97-53=44', '57-44=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[3, 13], Operations: ['53+57=110', '110-97=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[19, 44], Operations: ['57/3=19', '97-53=44']
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,75 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[44, 19], Operations: ['97-53=44', '57/3=19']
Exploring Operation: 44*19=836, Resulting Numbers: [836]
836,75 unequal: No Solution
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[97, 72], Operations: ['57/3=19', '53+19=72']
Exploring Operation: 97-72=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 97+72=169, Resulting Numbers: [169]
169,75 unequal: No Solution
Exploring Operation: 97*72=6984, Resulting Numbers: [6984]
6984,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[53, 78], Operations: ['57/3=19', '97-19=78']
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 53+78=131, Resulting Numbers: [131]
131,75 unequal: No Solution
Exploring Operation: 53*78=4134, Resulting Numbers: [4134]
4134,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[3, 101], Operations: ['97-53=44', '57+44=101']
Exploring Operation: 3*101=303, Resulting Numbers: [303]
303,75 unequal: No Solution
Exploring Operation: 3+101=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 101-3=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[97, 34], Operations: ['57/3=19', '53-19=34']
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 97*34=3298, Resulting Numbers: [3298]
3298,75 unequal: No Solution
Exploring Operation: 97+34=131, Resulting Numbers: [131]
131,75 unequal: No Solution
Moving to Node #0,4,3
Current State: 75:[57, 41], Operations: ['97-53=44', '44-3=41']
Exploring Operation: 57*41=2337, Resulting Numbers: [2337]
2337,75 unequal: No Solution
Exploring Operation: 57+41=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,4,2
Current State: 75:[44, 60], Operations: ['97-53=44', '3+57=60']
Exploring Operation: 44*60=2640, Resulting Numbers: [2640]
2640,75 unequal: No Solution
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[110, 94], Operations: ['53+57=110', '97-3=94']
Exploring Operation: 110*94=10340, Resulting Numbers: [10340]
10340,75 unequal: No Solution
Exploring Operation: 110-94=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 110+94=204, Resulting Numbers: [204]
204,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[97, 107], Operations: ['53+57=110', '110-3=107']
Exploring Operation: 97*107=10379, Resulting Numbers: [10379]
10379,75 unequal: No Solution
Exploring Operation: 97+107=204, Resulting Numbers: [204]
204,75 unequal: No Solution
Exploring Operation: 107-97=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[97, 113], Operations: ['53+57=110', '3+110=113']
Exploring Operation: 97+113=210, Resulting Numbers: [210]
210,75 unequal: No Solution
Exploring Operation: 97*113=10961, Resulting Numbers: [10961]
10961,75 unequal: No Solution
Exploring Operation: 113-97=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[110, 100], Operations: ['53+57=110', '3+97=100']
Exploring Operation: 110+100=210, Resulting Numbers: [210]
210,75 unequal: No Solution
Exploring Operation: 110-100=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 110*100=11000, Resulting Numbers: [11000]
11000,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[53, 116], Operations: ['57/3=19', '97+19=116']
Exploring Operation: 116-53=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 53*116=6148, Resulting Numbers: [6148]
6148,75 unequal: No Solution
Exploring Operation: 53+116=169, Resulting Numbers: [169]
169,75 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
72,
97,
43,
37
] | 55 | [
"97-72=25",
"43+37=80",
"80-25=55"
] | Current State: 55:[72, 97, 43, 37], Operations: []
Exploring Operation: 97-72=25, Resulting Numbers: [43, 37, 25]
Generated Node #2: [43, 37, 25] from Operation: 97-72=25
Current State: 55:[43, 37, 25], Operations: ['97-72=25']
Exploring Operation: 43+37=80, Resulting Numbers: [25, 80]
Generated Node #3: [25, 80] from Operation: 43+37=80
Current State: 55:[25, 80], Operations: ['97-72=25', '43+37=80']
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[72, 97, 43, 37], Operations: []
Exploring Operation: 97-72=25, Resulting Numbers: [43, 37, 25]
Generated Node #0,0: 55:[43, 37, 25] Operation: 97-72=25
Exploring Operation: 97-37=60, Resulting Numbers: [72, 43, 60]
Generated Node #0,1: 55:[72, 43, 60] Operation: 97-37=60
Exploring Operation: 97-43=54, Resulting Numbers: [72, 37, 54]
Generated Node #0,2: 55:[72, 37, 54] Operation: 97-43=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[72, 43, 60], Operations: ['97-37=60']
Exploring Operation: 72-60=12, Resulting Numbers: [43, 12]
Generated Node #0,1,0: 55:[43, 12] Operation: 72-60=12
Exploring Operation: 60-43=17, Resulting Numbers: [72, 17]
Generated Node #0,1,1: 55:[72, 17] Operation: 60-43=17
Exploring Operation: 72-43=29, Resulting Numbers: [60, 29]
Generated Node #0,1,2: 55:[60, 29] Operation: 72-43=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[43, 12], Operations: ['97-37=60', '72-60=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[72, 97, 43, 37], Operations: []
Exploring Operation: 97-37=60, Resulting Numbers: [72, 43, 60]
Generated Node #0,1: 55:[72, 43, 60] Operation: 97-37=60
Moving to Node #0,1
Current State: 55:[72, 43, 60], Operations: ['97-37=60']
Exploring Operation: 72-60=12, Resulting Numbers: [43, 12]
Generated Node #0,1,0: 55:[43, 12] Operation: 72-60=12
Moving to Node #0,1,0
Current State: 55:[43, 12], Operations: ['97-37=60', '72-60=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
7,
98,
96,
70
] | 65 | [
"98-7=91",
"96-70=26",
"91-26=65"
] | Current State: 65:[7, 98, 96, 70], Operations: []
Exploring Operation: 98-7=91, Resulting Numbers: [96, 70, 91]
Generated Node #2: [96, 70, 91] from Operation: 98-7=91
Current State: 65:[96, 70, 91], Operations: ['98-7=91']
Exploring Operation: 96-70=26, Resulting Numbers: [91, 26]
Generated Node #3: [91, 26] from Operation: 96-70=26
Current State: 65:[91, 26], Operations: ['98-7=91', '96-70=26']
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[7, 98, 96, 70], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [7, 70, 2]
Generated Node #0,0: 65:[7, 70, 2] Operation: 98-96=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[7, 70, 2], Operations: ['98-96=2']
Exploring Operation: 70-7=63, Resulting Numbers: [2, 63]
Generated Node #0,0,0: 65:[2, 63] Operation: 70-7=63
Moving to Node #0,0,0
Current State: 65:[2, 63], Operations: ['98-96=2', '70-7=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[7, 98, 96, 70], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [7, 70, 2]
Generated Node #0,0: 65:[7, 70, 2] Operation: 98-96=2
Moving to Node #0,0
Current State: 65:[7, 70, 2], Operations: ['98-96=2']
Exploring Operation: 70-7=63, Resulting Numbers: [2, 63]
Generated Node #0,0,0: 65:[2, 63] Operation: 70-7=63
Moving to Node #0,0,0
Current State: 65:[2, 63], Operations: ['98-96=2', '70-7=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
89,
5,
6,
7
] | 26 | [
"89+6=95",
"95/5=19",
"7+19=26"
] | Current State: 26:[89, 5, 6, 7], Operations: []
Exploring Operation: 89+6=95, Resulting Numbers: [5, 7, 95]
Generated Node #2: [5, 7, 95] from Operation: 89+6=95
Current State: 26:[5, 7, 95], Operations: ['89+6=95']
Exploring Operation: 95/5=19, Resulting Numbers: [7, 19]
Generated Node #3: [7, 19] from Operation: 95/5=19
Current State: 26:[7, 19], Operations: ['89+6=95', '95/5=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[89, 5, 6, 7], Operations: []
Exploring Operation: 89-7=82, Resulting Numbers: [5, 6, 82]
Generated Node #0,0: 26:[5, 6, 82] Operation: 89-7=82
Exploring Operation: 89-6=83, Resulting Numbers: [5, 7, 83]
Generated Node #0,1: 26:[5, 7, 83] Operation: 89-6=83
Moving to Node #0,0
Current State: 26:[5, 6, 82], Operations: ['89-7=82']
Exploring Operation: 82-6=76, Resulting Numbers: [5, 76]
Generated Node #0,0,0: 26:[5, 76] Operation: 82-6=76
Exploring Operation: 82-5=77, Resulting Numbers: [6, 77]
Generated Node #0,0,1: 26:[6, 77] Operation: 82-5=77
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[5, 76], Operations: ['89-7=82', '82-6=76']
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[6, 77], Operations: ['89-7=82', '82-5=77']
Exploring Operation: 6+77=83, Resulting Numbers: [83]
83,26 unequal: No Solution
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,26 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: 26:[5, 7, 83], Operations: ['89-6=83']
Exploring Operation: 83-7=76, Resulting Numbers: [5, 76]
Generated Node #0,1,0: 26:[5, 76] Operation: 83-7=76
Exploring Operation: 7-5=2, Resulting Numbers: [83, 2]
Generated Node #0,1,1: 26:[83, 2] Operation: 7-5=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[5, 76], Operations: ['89-6=83', '83-7=76']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,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,1
Current State: 26:[83, 2], Operations: ['89-6=83', '7-5=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,26 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 |
[
75,
3,
57,
73
] | 27 | [
"75-73=2",
"57-3=54",
"54/2=27"
] | Current State: 27:[75, 3, 57, 73], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [3, 57, 2]
Generated Node #2: [3, 57, 2] from Operation: 75-73=2
Current State: 27:[3, 57, 2], Operations: ['75-73=2']
Exploring Operation: 57-3=54, Resulting Numbers: [2, 54]
Generated Node #3: [2, 54] from Operation: 57-3=54
Current State: 27:[2, 54], Operations: ['75-73=2', '57-3=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[75, 3, 57, 73], Operations: []
Exploring Operation: 75-57=18, Resulting Numbers: [3, 73, 18]
Generated Node #0,0: 27:[3, 73, 18] Operation: 75-57=18
Exploring Operation: 73-57=16, Resulting Numbers: [75, 3, 16]
Generated Node #0,1: 27:[75, 3, 16] Operation: 73-57=16
Exploring Operation: 75-73=2, Resulting Numbers: [3, 57, 2]
Generated Node #0,2: 27:[3, 57, 2] Operation: 75-73=2
Exploring Operation: 75/3=25, Resulting Numbers: [57, 73, 25]
Generated Node #0,3: 27:[57, 73, 25] Operation: 75/3=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[3, 57, 2], Operations: ['75-73=2']
Exploring Operation: 57/3=19, Resulting Numbers: [2, 19]
Generated Node #0,2,0: 27:[2, 19] Operation: 57/3=19
Exploring Operation: 3+2=5, Resulting Numbers: [57, 5]
Generated Node #0,2,1: 27:[57, 5] Operation: 3+2=5
Exploring Operation: 57-3=54, Resulting Numbers: [2, 54]
Generated Node #0,2,2: 27:[2, 54] Operation: 57-3=54
Exploring Operation: 57-2=55, Resulting Numbers: [3, 55]
Generated Node #0,2,3: 27:[3, 55] Operation: 57-2=55
Moving to Node #0,2,0
Current State: 27:[2, 19], Operations: ['75-73=2', '57/3=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[3, 55], Operations: ['75-73=2', '57-2=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[2, 54], Operations: ['75-73=2', '57-3=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[75, 3, 57, 73], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [3, 57, 2]
Generated Node #0,2: 27:[3, 57, 2] Operation: 75-73=2
Moving to Node #0,2
Current State: 27:[3, 57, 2], Operations: ['75-73=2']
Exploring Operation: 57-3=54, Resulting Numbers: [2, 54]
Generated Node #0,2,2: 27:[2, 54] Operation: 57-3=54
Moving to Node #0,2,2
Current State: 27:[2, 54], Operations: ['75-73=2', '57-3=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
25,
68,
71,
20
] | 35 | [
"71-68=3",
"20*3=60",
"60-25=35"
] | Current State: 35:[25, 68, 71, 20], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [25, 20, 3]
Generated Node #2: [25, 20, 3] from Operation: 71-68=3
Current State: 35:[25, 20, 3], Operations: ['71-68=3']
Exploring Operation: 20*3=60, Resulting Numbers: [25, 60]
Generated Node #3: [25, 60] from Operation: 20*3=60
Current State: 35:[25, 60], Operations: ['71-68=3', '20*3=60']
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[25, 68, 71, 20], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [25, 20, 3]
Generated Node #0,0: 35:[25, 20, 3] Operation: 71-68=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[25, 20, 3], Operations: ['71-68=3']
Exploring Operation: 25-20=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 35:[3, 5] Operation: 25-20=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[3, 5], Operations: ['71-68=3', '25-20=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
8,
49,
79,
22
] | 38 | [
"49+79=128",
"128/8=16",
"22+16=38"
] | Current State: 38:[8, 49, 79, 22], Operations: []
Exploring Operation: 49+79=128, Resulting Numbers: [8, 22, 128]
Generated Node #2: [8, 22, 128] from Operation: 49+79=128
Current State: 38:[8, 22, 128], Operations: ['49+79=128']
Exploring Operation: 128/8=16, Resulting Numbers: [22, 16]
Generated Node #3: [22, 16] from Operation: 128/8=16
Current State: 38:[22, 16], Operations: ['49+79=128', '128/8=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[8, 49, 79, 22], Operations: []
Exploring Operation: 49-8=41, Resulting Numbers: [79, 22, 41]
Generated Node #0,0: 38:[79, 22, 41] Operation: 49-8=41
Exploring Operation: 79-49=30, Resulting Numbers: [8, 22, 30]
Generated Node #0,1: 38:[8, 22, 30] Operation: 79-49=30
Exploring Operation: 79-22=57, Resulting Numbers: [8, 49, 57]
Generated Node #0,2: 38:[8, 49, 57] Operation: 79-22=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[8, 22, 30], Operations: ['79-49=30']
Exploring Operation: 8+30=38, Resulting Numbers: [22, 38]
Generated Node #0,1,0: 38:[22, 38] Operation: 8+30=38
Exploring Operation: 30-8=22, Resulting Numbers: [22, 22]
Generated Node #0,1,1: 38:[22, 22] Operation: 30-8=22
Exploring Operation: 30-22=8, Resulting Numbers: [8, 8]
Generated Node #0,1,2: 38:[8, 8] Operation: 30-22=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[22, 38], Operations: ['79-49=30', '8+30=38']
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[22, 22], Operations: ['79-49=30', '30-8=22']
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 38:[8, 8], Operations: ['79-49=30', '30-22=8']
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[8, 49, 57], Operations: ['79-22=57']
Exploring Operation: 57-8=49, Resulting Numbers: [49, 49]
Generated Node #0,2,0: 38:[49, 49] Operation: 57-8=49
Exploring Operation: 49-8=41, Resulting Numbers: [57, 41]
Generated Node #0,2,1: 38:[57, 41] Operation: 49-8=41
Exploring Operation: 57-49=8, Resulting Numbers: [8, 8]
Generated Node #0,2,2: 38:[8, 8] Operation: 57-49=8
Moving to Node #0,2,2
Current State: 38:[8, 8], Operations: ['79-22=57', '57-49=8']
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[49, 49], Operations: ['79-22=57', '57-8=49']
Exploring Operation: 49/49=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 49-49=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 49+49=98, Resulting Numbers: [98]
98,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[57, 41], Operations: ['79-22=57', '49-8=41']
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 57+41=98, Resulting Numbers: [98]
98,38 unequal: No Solution
Exploring Operation: 57*41=2337, Resulting Numbers: [2337]
2337,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[79, 22, 41], Operations: ['49-8=41']
Exploring Operation: 79-41=38, Resulting Numbers: [22, 38]
Generated Node #0,0,0: 38:[22, 38] Operation: 79-41=38
Exploring Operation: 79-22=57, Resulting Numbers: [41, 57]
Generated Node #0,0,1: 38:[41, 57] Operation: 79-22=57
Exploring Operation: 41-22=19, Resulting Numbers: [79, 19]
Generated Node #0,0,2: 38:[79, 19] Operation: 41-22=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[22, 38], Operations: ['49-8=41', '79-41=38']
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,38 unequal: No Solution
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[41, 57], Operations: ['49-8=41', '79-22=57']
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 41+57=98, Resulting Numbers: [98]
98,38 unequal: No Solution
Exploring Operation: 41*57=2337, Resulting Numbers: [2337]
2337,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[79, 19], Operations: ['49-8=41', '41-22=19']
Exploring Operation: 79+19=98, Resulting Numbers: [98]
98,38 unequal: No Solution
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 79*19=1501, Resulting Numbers: [1501]
1501,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
8,
9,
37,
34
] | 39 | [
"8+9=17",
"34/17=2",
"37+2=39"
] | Current State: 39:[8, 9, 37, 34], Operations: []
Exploring Operation: 8+9=17, Resulting Numbers: [37, 34, 17]
Generated Node #2: [37, 34, 17] from Operation: 8+9=17
Current State: 39:[37, 34, 17], Operations: ['8+9=17']
Exploring Operation: 34/17=2, Resulting Numbers: [37, 2]
Generated Node #3: [37, 2] from Operation: 34/17=2
Current State: 39:[37, 2], Operations: ['8+9=17', '34/17=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[8, 9, 37, 34], Operations: []
Exploring Operation: 9+34=43, Resulting Numbers: [8, 37, 43]
Generated Node #0,0: 39:[8, 37, 43] Operation: 9+34=43
Exploring Operation: 8+34=42, Resulting Numbers: [9, 37, 42]
Generated Node #0,1: 39:[9, 37, 42] Operation: 8+34=42
Exploring Operation: 9-8=1, Resulting Numbers: [37, 34, 1]
Generated Node #0,2: 39:[37, 34, 1] Operation: 9-8=1
Exploring Operation: 8+9=17, Resulting Numbers: [37, 34, 17]
Generated Node #0,3: 39:[37, 34, 17] Operation: 8+9=17
Exploring Operation: 37-34=3, Resulting Numbers: [8, 9, 3]
Generated Node #0,4: 39:[8, 9, 3] Operation: 37-34=3
Moving to Node #0,1
Current State: 39:[9, 37, 42], Operations: ['8+34=42']
Exploring Operation: 9+42=51, Resulting Numbers: [37, 51]
Generated Node #0,1,0: 39:[37, 51] Operation: 9+42=51
Exploring Operation: 9+37=46, Resulting Numbers: [42, 46]
Generated Node #0,1,1: 39:[42, 46] Operation: 9+37=46
Exploring Operation: 37-9=28, Resulting Numbers: [42, 28]
Generated Node #0,1,2: 39:[42, 28] Operation: 37-9=28
Exploring Operation: 42-9=33, Resulting Numbers: [37, 33]
Generated Node #0,1,3: 39:[37, 33] Operation: 42-9=33
Exploring Operation: 42-37=5, Resulting Numbers: [9, 5]
Generated Node #0,1,4: 39:[9, 5] Operation: 42-37=5
Moving to Node #0,4
Current State: 39:[8, 9, 3], Operations: ['37-34=3']
Exploring Operation: 8+9=17, Resulting Numbers: [3, 17]
Generated Node #0,4,0: 39:[3, 17] Operation: 8+9=17
Exploring Operation: 8+3=11, Resulting Numbers: [9, 11]
Generated Node #0,4,1: 39:[9, 11] Operation: 8+3=11
Exploring Operation: 8-3=5, Resulting Numbers: [9, 5]
Generated Node #0,4,2: 39:[9, 5] Operation: 8-3=5
Exploring Operation: 9/3=3, Resulting Numbers: [8, 3]
Generated Node #0,4,3: 39:[8, 3] Operation: 9/3=3
Exploring Operation: 9-8=1, Resulting Numbers: [3, 1]
Generated Node #0,4,4: 39:[3, 1] Operation: 9-8=1
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 39:[3, 1], Operations: ['37-34=3', '9-8=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 39:[3, 17], Operations: ['37-34=3', '8+9=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 39:[8, 3], Operations: ['37-34=3', '9/3=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 39:[9, 11], Operations: ['37-34=3', '8+3=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,39 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 39:[9, 5], Operations: ['37-34=3', '8-3=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 39:[37, 34, 1], Operations: ['9-8=1']
Exploring Operation: 34+1=35, Resulting Numbers: [37, 35]
Generated Node #0,2,0: 39:[37, 35] Operation: 34+1=35
Exploring Operation: 37/1=37, Resulting Numbers: [34, 37]
Generated Node #0,2,1: 39:[34, 37] Operation: 37/1=37
Exploring Operation: 37*1=37, Resulting Numbers: [34, 37]
Generated Node #0,2,2: 39:[34, 37] Operation: 37*1=37
Exploring Operation: 37+1=38, Resulting Numbers: [34, 38]
Generated Node #0,2,3: 39:[34, 38] Operation: 37+1=38
Exploring Operation: 37-34=3, Resulting Numbers: [1, 3]
Generated Node #0,2,4: 39:[1, 3] Operation: 37-34=3
Moving to Node #0,0
Current State: 39:[8, 37, 43], Operations: ['9+34=43']
Exploring Operation: 43-37=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 39:[8, 6] Operation: 43-37=6
Exploring Operation: 37-8=29, Resulting Numbers: [43, 29]
Generated Node #0,0,1: 39:[43, 29] Operation: 37-8=29
Exploring Operation: 8+37=45, Resulting Numbers: [43, 45]
Generated Node #0,0,2: 39:[43, 45] Operation: 8+37=45
Exploring Operation: 43-8=35, Resulting Numbers: [37, 35]
Generated Node #0,0,3: 39:[37, 35] Operation: 43-8=35
Exploring Operation: 8+43=51, Resulting Numbers: [37, 51]
Generated Node #0,0,4: 39:[37, 51] Operation: 8+43=51
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 39:[37, 35], Operations: ['9+34=43', '43-8=35']
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,39 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[8, 6], Operations: ['9+34=43', '43-37=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[43, 45], Operations: ['9+34=43', '8+37=45']
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[43, 29], Operations: ['9+34=43', '37-8=29']
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 39:[37, 51], Operations: ['9+34=43', '8+43=51']
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,39 unequal: No Solution
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,39 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: 39:[37, 34, 17], Operations: ['8+9=17']
Exploring Operation: 37-34=3, Resulting Numbers: [17, 3]
Generated Node #0,3,0: 39:[17, 3] Operation: 37-34=3
Exploring Operation: 34+17=51, Resulting Numbers: [37, 51]
Generated Node #0,3,1: 39:[37, 51] Operation: 34+17=51
Exploring Operation: 34/17=2, Resulting Numbers: [37, 2]
Generated Node #0,3,2: 39:[37, 2] Operation: 34/17=2
Exploring Operation: 34-17=17, Resulting Numbers: [37, 17]
Generated Node #0,3,3: 39:[37, 17] Operation: 34-17=17
Exploring Operation: 37-17=20, Resulting Numbers: [34, 20]
Generated Node #0,3,4: 39:[34, 20] Operation: 37-17=20
Moving to Node #0,2,4
Current State: 39:[1, 3], Operations: ['9-8=1', '37-34=3']
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[37, 2], Operations: ['8+9=17', '34/17=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[8, 9, 37, 34], Operations: []
Exploring Operation: 8+9=17, Resulting Numbers: [37, 34, 17]
Generated Node #0,3: 39:[37, 34, 17] Operation: 8+9=17
Moving to Node #0,3
Current State: 39:[37, 34, 17], Operations: ['8+9=17']
Exploring Operation: 34/17=2, Resulting Numbers: [37, 2]
Generated Node #0,3,2: 39:[37, 2] Operation: 34/17=2
Moving to Node #0,3,2
Current State: 39:[37, 2], Operations: ['8+9=17', '34/17=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.939236 | hs_5 | mult_heuristic |
[
22,
51,
36,
73
] | 36 | [
"22+51=73",
"36+73=109",
"109-73=36"
] | Current State: 36:[22, 51, 36, 73], Operations: []
Exploring Operation: 22+51=73, Resulting Numbers: [36, 73, 73]
Generated Node #2: [36, 73, 73] from Operation: 22+51=73
Current State: 36:[36, 73, 73], Operations: ['22+51=73']
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,36 equal: Goal Reached
Exploring Operation: 109-73=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[22, 51, 36, 73], Operations: []
Exploring Operation: 51-22=29, Resulting Numbers: [36, 73, 29]
Generated Node #0,0: 36:[36, 73, 29] Operation: 51-22=29
Exploring Operation: 73-51=22, Resulting Numbers: [22, 36, 22]
Generated Node #0,1: 36:[22, 36, 22] Operation: 73-51=22
Exploring Operation: 73-36=37, Resulting Numbers: [22, 51, 37]
Generated Node #0,2: 36:[22, 51, 37] Operation: 73-36=37
Exploring Operation: 51-36=15, Resulting Numbers: [22, 73, 15]
Generated Node #0,3: 36:[22, 73, 15] Operation: 51-36=15
Exploring Operation: 73-22=51, Resulting Numbers: [51, 36, 51]
Generated Node #0,4: 36:[51, 36, 51] Operation: 73-22=51
Moving to Node #0,1
Current State: 36:[22, 36, 22], Operations: ['73-51=22']
Exploring Operation: 36-22=14, Resulting Numbers: [22, 14]
Generated Node #0,1,0: 36:[22, 14] Operation: 36-22=14
Exploring Operation: 36-22=14, Resulting Numbers: [22, 14]
Generated Node #0,1,1: 36:[22, 14] Operation: 36-22=14
Exploring Operation: 22+22=44, Resulting Numbers: [36, 44]
Generated Node #0,1,2: 36:[36, 44] Operation: 22+22=44
Exploring Operation: 22-22=0, Resulting Numbers: [36, 0]
Generated Node #0,1,3: 36:[36, 0] Operation: 22-22=0
Exploring Operation: 22/22=1, Resulting Numbers: [36, 1]
Generated Node #0,1,4: 36:[36, 1] Operation: 22/22=1
Moving to Node #0,2
Current State: 36:[22, 51, 37], Operations: ['73-36=37']
Exploring Operation: 37-22=15, Resulting Numbers: [51, 15]
Generated Node #0,2,0: 36:[51, 15] Operation: 37-22=15
Exploring Operation: 22+37=59, Resulting Numbers: [51, 59]
Generated Node #0,2,1: 36:[51, 59] Operation: 22+37=59
Exploring Operation: 22+51=73, Resulting Numbers: [37, 73]
Generated Node #0,2,2: 36:[37, 73] Operation: 22+51=73
Exploring Operation: 51-37=14, Resulting Numbers: [22, 14]
Generated Node #0,2,3: 36:[22, 14] Operation: 51-37=14
Exploring Operation: 51-22=29, Resulting Numbers: [37, 29]
Generated Node #0,2,4: 36:[37, 29] Operation: 51-22=29
Moving to Node #0,4
Current State: 36:[51, 36, 51], Operations: ['73-22=51']
Exploring Operation: 51+36=87, Resulting Numbers: [51, 87]
Generated Node #0,4,0: 36:[51, 87] Operation: 51+36=87
Exploring Operation: 51-51=0, Resulting Numbers: [36, 0]
Generated Node #0,4,1: 36:[36, 0] Operation: 51-51=0
Exploring Operation: 51-36=15, Resulting Numbers: [51, 15]
Generated Node #0,4,2: 36:[51, 15] Operation: 51-36=15
Exploring Operation: 51-36=15, Resulting Numbers: [51, 15]
Generated Node #0,4,3: 36:[51, 15] Operation: 51-36=15
Exploring Operation: 51/51=1, Resulting Numbers: [36, 1]
Generated Node #0,4,4: 36:[36, 1] Operation: 51/51=1
Moving to Node #0,0
Current State: 36:[36, 73, 29], Operations: ['51-22=29']
Exploring Operation: 36-29=7, Resulting Numbers: [73, 7]
Generated Node #0,0,0: 36:[73, 7] Operation: 36-29=7
Exploring Operation: 36+29=65, Resulting Numbers: [73, 65]
Generated Node #0,0,1: 36:[73, 65] Operation: 36+29=65
Exploring Operation: 73+29=102, Resulting Numbers: [36, 102]
Generated Node #0,0,2: 36:[36, 102] Operation: 73+29=102
Exploring Operation: 73-29=44, Resulting Numbers: [36, 44]
Generated Node #0,0,3: 36:[36, 44] Operation: 73-29=44
Exploring Operation: 73-36=37, Resulting Numbers: [29, 37]
Generated Node #0,0,4: 36:[29, 37] Operation: 73-36=37
Moving to Node #0,3
Current State: 36:[22, 73, 15], Operations: ['51-36=15']
Exploring Operation: 22-15=7, Resulting Numbers: [73, 7]
Generated Node #0,3,0: 36:[73, 7] Operation: 22-15=7
Exploring Operation: 22+15=37, Resulting Numbers: [73, 37]
Generated Node #0,3,1: 36:[73, 37] Operation: 22+15=37
Exploring Operation: 73+15=88, Resulting Numbers: [22, 88]
Generated Node #0,3,2: 36:[22, 88] Operation: 73+15=88
Exploring Operation: 73-22=51, Resulting Numbers: [15, 51]
Generated Node #0,3,3: 36:[15, 51] Operation: 73-22=51
Exploring Operation: 73-15=58, Resulting Numbers: [22, 58]
Generated Node #0,3,4: 36:[22, 58] Operation: 73-15=58
Moving to Node #0,1,4
Current State: 36:[36, 1], Operations: ['73-51=22', '22/22=1']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[22, 51, 36, 73], Operations: []
Exploring Operation: 73-51=22, Resulting Numbers: [22, 36, 22]
Generated Node #0,1: 36:[22, 36, 22] Operation: 73-51=22
Moving to Node #0,1
Current State: 36:[22, 36, 22], Operations: ['73-51=22']
Exploring Operation: 22/22=1, Resulting Numbers: [36, 1]
Generated Node #0,1,4: 36:[36, 1] Operation: 22/22=1
Moving to Node #0,1,4
Current State: 36:[36, 1], Operations: ['73-51=22', '22/22=1']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.969618 | hs_5 | mult_heuristic |
[
72,
38,
63,
11
] | 18 | [
"72-38=34",
"63-11=52",
"52-34=18"
] | Current State: 18:[72, 38, 63, 11], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [63, 11, 34]
Generated Node #2: [63, 11, 34] from Operation: 72-38=34
Current State: 18:[63, 11, 34], Operations: ['72-38=34']
Exploring Operation: 63-11=52, Resulting Numbers: [34, 52]
Generated Node #3: [34, 52] from Operation: 63-11=52
Current State: 18:[34, 52], Operations: ['72-38=34', '63-11=52']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[72, 38, 63, 11], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [63, 11, 34]
Generated Node #0,0: 18:[63, 11, 34] Operation: 72-38=34
Exploring Operation: 72-63=9, Resulting Numbers: [38, 11, 9]
Generated Node #0,1: 18:[38, 11, 9] Operation: 72-63=9
Exploring Operation: 63-38=25, Resulting Numbers: [72, 11, 25]
Generated Node #0,2: 18:[72, 11, 25] Operation: 63-38=25
Moving to Node #0,1
Current State: 18:[38, 11, 9], Operations: ['72-63=9']
Exploring Operation: 11-9=2, Resulting Numbers: [38, 2]
Generated Node #0,1,0: 18:[38, 2] Operation: 11-9=2
Exploring Operation: 38-9=29, Resulting Numbers: [11, 29]
Generated Node #0,1,1: 18:[11, 29] Operation: 38-9=29
Exploring Operation: 38-11=27, Resulting Numbers: [9, 27]
Generated Node #0,1,2: 18:[9, 27] Operation: 38-11=27
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[9, 27], Operations: ['72-63=9', '38-11=27']
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[72, 38, 63, 11], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [38, 11, 9]
Generated Node #0,1: 18:[38, 11, 9] Operation: 72-63=9
Moving to Node #0,1
Current State: 18:[38, 11, 9], Operations: ['72-63=9']
Exploring Operation: 38-11=27, Resulting Numbers: [9, 27]
Generated Node #0,1,2: 18:[9, 27] Operation: 38-11=27
Moving to Node #0,1,2
Current State: 18:[9, 27], Operations: ['72-63=9', '38-11=27']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
28,
28,
74,
20
] | 94 | [
"28-28=0",
"74+20=94",
"0+94=94"
] | Current State: 94:[28, 28, 74, 20], Operations: []
Exploring Operation: 28-28=0, Resulting Numbers: [74, 20, 0]
Generated Node #2: [74, 20, 0] from Operation: 28-28=0
Current State: 94:[74, 20, 0], Operations: ['28-28=0']
Exploring Operation: 74+20=94, Resulting Numbers: [0, 94]
Generated Node #3: [0, 94] from Operation: 74+20=94
Current State: 94:[0, 94], Operations: ['28-28=0', '74+20=94']
Exploring Operation: 0+94=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[28, 28, 74, 20], Operations: []
Exploring Operation: 74+20=94, Resulting Numbers: [28, 28, 94]
Generated Node #0,0: 94:[28, 28, 94] Operation: 74+20=94
Exploring Operation: 74-28=46, Resulting Numbers: [28, 20, 46]
Generated Node #0,1: 94:[28, 20, 46] Operation: 74-28=46
Exploring Operation: 74-28=46, Resulting Numbers: [28, 20, 46]
Generated Node #0,2: 94:[28, 20, 46] Operation: 74-28=46
Exploring Operation: 28/28=1, Resulting Numbers: [74, 20, 1]
Generated Node #0,3: 94:[74, 20, 1] Operation: 28/28=1
Exploring Operation: 28-28=0, Resulting Numbers: [74, 20, 0]
Generated Node #0,4: 94:[74, 20, 0] Operation: 28-28=0
Moving to Node #0,0
Current State: 94:[28, 28, 94], Operations: ['74+20=94']
Exploring Operation: 94-28=66, Resulting Numbers: [28, 66]
Generated Node #0,0,0: 94:[28, 66] Operation: 94-28=66
Exploring Operation: 94-28=66, Resulting Numbers: [28, 66]
Generated Node #0,0,1: 94:[28, 66] Operation: 94-28=66
Exploring Operation: 28+28=56, Resulting Numbers: [94, 56]
Generated Node #0,0,2: 94:[94, 56] Operation: 28+28=56
Exploring Operation: 28-28=0, Resulting Numbers: [94, 0]
Generated Node #0,0,3: 94:[94, 0] Operation: 28-28=0
Exploring Operation: 28/28=1, Resulting Numbers: [94, 1]
Generated Node #0,0,4: 94:[94, 1] Operation: 28/28=1
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 94:[94, 1], Operations: ['74+20=94', '28/28=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[28, 28, 74, 20], Operations: []
Exploring Operation: 74+20=94, Resulting Numbers: [28, 28, 94]
Generated Node #0,0: 94:[28, 28, 94] Operation: 74+20=94
Moving to Node #0,0
Current State: 94:[28, 28, 94], Operations: ['74+20=94']
Exploring Operation: 28/28=1, Resulting Numbers: [94, 1]
Generated Node #0,0,4: 94:[94, 1] Operation: 28/28=1
Moving to Node #0,0,4
Current State: 94:[94, 1], Operations: ['74+20=94', '28/28=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
86,
81,
2,
44
] | 54 | [
"86-81=5",
"2*5=10",
"44+10=54"
] | Current State: 54:[86, 81, 2, 44], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [2, 44, 5]
Generated Node #2: [2, 44, 5] from Operation: 86-81=5
Current State: 54:[2, 44, 5], Operations: ['86-81=5']
Exploring Operation: 2*5=10, Resulting Numbers: [44, 10]
Generated Node #3: [44, 10] from Operation: 2*5=10
Current State: 54:[44, 10], Operations: ['86-81=5', '2*5=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[86, 81, 2, 44], Operations: []
Exploring Operation: 86/2=43, Resulting Numbers: [81, 44, 43]
Generated Node #0,0: 54:[81, 44, 43] Operation: 86/2=43
Exploring Operation: 81-44=37, Resulting Numbers: [86, 2, 37]
Generated Node #0,1: 54:[86, 2, 37] Operation: 81-44=37
Exploring Operation: 86-81=5, Resulting Numbers: [2, 44, 5]
Generated Node #0,2: 54:[2, 44, 5] Operation: 86-81=5
Exploring Operation: 44/2=22, Resulting Numbers: [86, 81, 22]
Generated Node #0,3: 54:[86, 81, 22] Operation: 44/2=22
Exploring Operation: 86-44=42, Resulting Numbers: [81, 2, 42]
Generated Node #0,4: 54:[81, 2, 42] Operation: 86-44=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[2, 44, 5], Operations: ['86-81=5']
Exploring Operation: 5-2=3, Resulting Numbers: [44, 3]
Generated Node #0,2,0: 54:[44, 3] Operation: 5-2=3
Exploring Operation: 44/2=22, Resulting Numbers: [5, 22]
Generated Node #0,2,1: 54:[5, 22] Operation: 44/2=22
Exploring Operation: 44+5=49, Resulting Numbers: [2, 49]
Generated Node #0,2,2: 54:[2, 49] Operation: 44+5=49
Exploring Operation: 2+5=7, Resulting Numbers: [44, 7]
Generated Node #0,2,3: 54:[44, 7] Operation: 2+5=7
Exploring Operation: 2+44=46, Resulting Numbers: [5, 46]
Generated Node #0,2,4: 54:[5, 46] Operation: 2+44=46
Moving to Node #0,2,1
Current State: 54:[5, 22], Operations: ['86-81=5', '44/2=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,54 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[2, 49], Operations: ['86-81=5', '44+5=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,54 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Moving to Node #0,2,4
Current State: 54:[5, 46], Operations: ['86-81=5', '2+44=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[44, 3], Operations: ['86-81=5', '5-2=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[44, 7], Operations: ['86-81=5', '2+5=7']
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 54:[81, 2, 42], Operations: ['86-44=42']
Exploring Operation: 42-2=40, Resulting Numbers: [81, 40]
Generated Node #0,4,0: 54:[81, 40] Operation: 42-2=40
Exploring Operation: 81-42=39, Resulting Numbers: [2, 39]
Generated Node #0,4,1: 54:[2, 39] Operation: 81-42=39
Exploring Operation: 81-2=79, Resulting Numbers: [42, 79]
Generated Node #0,4,2: 54:[42, 79] Operation: 81-2=79
Exploring Operation: 2+42=44, Resulting Numbers: [81, 44]
Generated Node #0,4,3: 54:[81, 44] Operation: 2+42=44
Exploring Operation: 42/2=21, Resulting Numbers: [81, 21]
Generated Node #0,4,4: 54:[81, 21] Operation: 42/2=21
Moving to Node #0,4,1
Current State: 54:[2, 39], Operations: ['86-44=42', '81-42=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,54 unequal: No Solution
Moving to Node #0,4,4
Current State: 54:[81, 21], Operations: ['86-44=42', '42/2=21']
Exploring Operation: 81*21=1701, Resulting Numbers: [1701]
1701,54 unequal: No Solution
Exploring Operation: 81-21=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Exploring Operation: 81+21=102, Resulting Numbers: [102]
102,54 unequal: No Solution
Moving to Node #0,4,2
Current State: 54:[42, 79], Operations: ['86-44=42', '81-2=79']
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,54 unequal: No Solution
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,54 unequal: No Solution
Moving to Node #0,4,3
Current State: 54:[81, 44], Operations: ['86-44=42', '2+42=44']
Exploring Operation: 81*44=3564, Resulting Numbers: [3564]
3564,54 unequal: No Solution
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 81+44=125, Resulting Numbers: [125]
125,54 unequal: No Solution
Moving to Node #0,4,0
Current State: 54:[81, 40], Operations: ['86-44=42', '42-2=40']
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 81+40=121, Resulting Numbers: [121]
121,54 unequal: No Solution
Exploring Operation: 81*40=3240, Resulting Numbers: [3240]
3240,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[86, 2, 37], Operations: ['81-44=37']
Exploring Operation: 37-2=35, Resulting Numbers: [86, 35]
Generated Node #0,1,0: 54:[86, 35] Operation: 37-2=35
Exploring Operation: 86+2=88, Resulting Numbers: [37, 88]
Generated Node #0,1,1: 54:[37, 88] Operation: 86+2=88
Exploring Operation: 86/2=43, Resulting Numbers: [37, 43]
Generated Node #0,1,2: 54:[37, 43] Operation: 86/2=43
Exploring Operation: 86-2=84, Resulting Numbers: [37, 84]
Generated Node #0,1,3: 54:[37, 84] Operation: 86-2=84
Exploring Operation: 86-37=49, Resulting Numbers: [2, 49]
Generated Node #0,1,4: 54:[2, 49] Operation: 86-37=49
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 54:[2, 49], Operations: ['81-44=37', '86-37=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,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:[37, 43], Operations: ['81-44=37', '86/2=43']
Exploring Operation: 37*43=1591, Resulting Numbers: [1591]
1591,54 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[86, 35], Operations: ['81-44=37', '37-2=35']
Exploring Operation: 86+35=121, Resulting Numbers: [121]
121,54 unequal: No Solution
Exploring Operation: 86*35=3010, Resulting Numbers: [3010]
3010,54 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,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,3
Current State: 54:[37, 84], Operations: ['81-44=37', '86-2=84']
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,54 unequal: No Solution
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,54 unequal: No Solution
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,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:[37, 88], Operations: ['81-44=37', '86+2=88']
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 37+88=125, Resulting Numbers: [125]
125,54 unequal: No Solution
Exploring Operation: 37*88=3256, Resulting Numbers: [3256]
3256,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:[81, 44, 43], Operations: ['86/2=43']
Exploring Operation: 81-43=38, Resulting Numbers: [44, 38]
Generated Node #0,0,0: 54:[44, 38] Operation: 81-43=38
Exploring Operation: 81-44=37, Resulting Numbers: [43, 37]
Generated Node #0,0,1: 54:[43, 37] Operation: 81-44=37
Exploring Operation: 81+43=124, Resulting Numbers: [44, 124]
Generated Node #0,0,2: 54:[44, 124] Operation: 81+43=124
Exploring Operation: 44+43=87, Resulting Numbers: [81, 87]
Generated Node #0,0,3: 54:[81, 87] Operation: 44+43=87
Exploring Operation: 44-43=1, Resulting Numbers: [81, 1]
Generated Node #0,0,4: 54:[81, 1] Operation: 44-43=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[44, 38], Operations: ['86/2=43', '81-43=38']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Exploring Operation: 44*38=1672, Resulting Numbers: [1672]
1672,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:[43, 37], Operations: ['86/2=43', '81-44=37']
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,54 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 54:[81, 1], Operations: ['86/2=43', '44-43=1']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,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:[81, 87], Operations: ['86/2=43', '44+43=87']
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 81*87=7047, Resulting Numbers: [7047]
7047,54 unequal: No Solution
Exploring Operation: 81+87=168, Resulting Numbers: [168]
168,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:[44, 124], Operations: ['86/2=43', '81+43=124']
Exploring Operation: 44+124=168, Resulting Numbers: [168]
168,54 unequal: No Solution
Exploring Operation: 44*124=5456, Resulting Numbers: [5456]
5456,54 unequal: No Solution
Exploring Operation: 124-44=80, Resulting Numbers: [80]
80,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[86, 81, 22], Operations: ['44/2=22']
Exploring Operation: 86+22=108, Resulting Numbers: [81, 108]
Generated Node #0,3,0: 54:[81, 108] Operation: 86+22=108
Exploring Operation: 86-81=5, Resulting Numbers: [22, 5]
Generated Node #0,3,1: 54:[22, 5] Operation: 86-81=5
Exploring Operation: 86-22=64, Resulting Numbers: [81, 64]
Generated Node #0,3,2: 54:[81, 64] Operation: 86-22=64
Exploring Operation: 81-22=59, Resulting Numbers: [86, 59]
Generated Node #0,3,3: 54:[86, 59] Operation: 81-22=59
Exploring Operation: 81+22=103, Resulting Numbers: [86, 103]
Generated Node #0,3,4: 54:[86, 103] Operation: 81+22=103
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 54:[22, 5], Operations: ['44/2=22', '86-81=5']
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,54 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,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:[81, 64], Operations: ['44/2=22', '86-22=64']
Exploring Operation: 81*64=5184, Resulting Numbers: [5184]
5184,54 unequal: No Solution
Exploring Operation: 81+64=145, Resulting Numbers: [145]
145,54 unequal: No Solution
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,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:[86, 59], Operations: ['44/2=22', '81-22=59']
Exploring Operation: 86*59=5074, Resulting Numbers: [5074]
5074,54 unequal: No Solution
Exploring Operation: 86-59=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 86+59=145, Resulting Numbers: [145]
145,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,0
Current State: 54:[81, 108], Operations: ['44/2=22', '86+22=108']
Exploring Operation: 108-81=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 81*108=8748, Resulting Numbers: [8748]
8748,54 unequal: No Solution
Exploring Operation: 81+108=189, Resulting Numbers: [189]
189,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,4
Current State: 54:[86, 103], Operations: ['44/2=22', '81+22=103']
Exploring Operation: 86*103=8858, Resulting Numbers: [8858]
8858,54 unequal: No Solution
Exploring Operation: 103-86=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 86+103=189, Resulting Numbers: [189]
189,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_5 | mult_heuristic |
[
21,
33,
6,
23
] | 78 | [
"23-21=2",
"33+6=39",
"2*39=78"
] | Current State: 78:[21, 33, 6, 23], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [33, 6, 2]
Generated Node #2: [33, 6, 2] from Operation: 23-21=2
Current State: 78:[33, 6, 2], Operations: ['23-21=2']
Exploring Operation: 33+6=39, Resulting Numbers: [2, 39]
Generated Node #3: [2, 39] from Operation: 33+6=39
Current State: 78:[2, 39], Operations: ['23-21=2', '33+6=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[21, 33, 6, 23], Operations: []
Exploring Operation: 33-21=12, Resulting Numbers: [6, 23, 12]
Generated Node #0,0: 78:[6, 23, 12] Operation: 33-21=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[6, 23, 12], Operations: ['33-21=12']
Exploring Operation: 23-12=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 78:[6, 11] Operation: 23-12=11
Moving to Node #0,0,0
Current State: 78:[6, 11], Operations: ['33-21=12', '23-12=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,78 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 |
[
7,
7,
3,
77
] | 84 | [
"7*7=49",
"77-49=28",
"3*28=84"
] | Current State: 84:[7, 7, 3, 77], Operations: []
Exploring Operation: 7*7=49, Resulting Numbers: [3, 77, 49]
Generated Node #2: [3, 77, 49] from Operation: 7*7=49
Current State: 84:[3, 77, 49], Operations: ['7*7=49']
Exploring Operation: 77-49=28, Resulting Numbers: [3, 28]
Generated Node #3: [3, 28] from Operation: 77-49=28
Current State: 84:[3, 28], Operations: ['7*7=49', '77-49=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[7, 7, 3, 77], Operations: []
Exploring Operation: 7+77=84, Resulting Numbers: [7, 3, 84]
Generated Node #0,0: 84:[7, 3, 84] Operation: 7+77=84
Moving to Node #0,0
Current State: 84:[7, 3, 84], Operations: ['7+77=84']
Exploring Operation: 7*3=21, Resulting Numbers: [84, 21]
Generated Node #0,0,0: 84:[84, 21] Operation: 7*3=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[84, 21], Operations: ['7+77=84', '7*3=21']
Exploring Operation: 84/21=4, Resulting Numbers: [4]
4,84 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 |
[
1,
33,
60,
77
] | 15 | [
"33-1=32",
"77-60=17",
"32-17=15"
] | Current State: 15:[1, 33, 60, 77], Operations: []
Exploring Operation: 33-1=32, Resulting Numbers: [60, 77, 32]
Generated Node #2: [60, 77, 32] from Operation: 33-1=32
Current State: 15:[60, 77, 32], Operations: ['33-1=32']
Exploring Operation: 77-60=17, Resulting Numbers: [32, 17]
Generated Node #3: [32, 17] from Operation: 77-60=17
Current State: 15:[32, 17], Operations: ['33-1=32', '77-60=17']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[1, 33, 60, 77], Operations: []
Exploring Operation: 77-33=44, Resulting Numbers: [1, 60, 44]
Generated Node #0,0: 15:[1, 60, 44] Operation: 77-33=44
Exploring Operation: 60-33=27, Resulting Numbers: [1, 77, 27]
Generated Node #0,1: 15:[1, 77, 27] Operation: 60-33=27
Exploring Operation: 77-60=17, Resulting Numbers: [1, 33, 17]
Generated Node #0,2: 15:[1, 33, 17] Operation: 77-60=17
Moving to Node #0,2
Current State: 15:[1, 33, 17], Operations: ['77-60=17']
Exploring Operation: 33-1=32, Resulting Numbers: [17, 32]
Generated Node #0,2,0: 15:[17, 32] Operation: 33-1=32
Exploring Operation: 33-17=16, Resulting Numbers: [1, 16]
Generated Node #0,2,1: 15:[1, 16] Operation: 33-17=16
Exploring Operation: 17-1=16, Resulting Numbers: [33, 16]
Generated Node #0,2,2: 15:[33, 16] Operation: 17-1=16
Moving to Node #0,0
Current State: 15:[1, 60, 44], Operations: ['77-33=44']
Exploring Operation: 60-1=59, Resulting Numbers: [44, 59]
Generated Node #0,0,0: 15:[44, 59] Operation: 60-1=59
Exploring Operation: 60-44=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 15:[1, 16] Operation: 60-44=16
Exploring Operation: 44-1=43, Resulting Numbers: [60, 43]
Generated Node #0,0,2: 15:[60, 43] Operation: 44-1=43
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[1, 16], Operations: ['77-33=44', '60-44=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[1, 33, 60, 77], Operations: []
Exploring Operation: 77-33=44, Resulting Numbers: [1, 60, 44]
Generated Node #0,0: 15:[1, 60, 44] Operation: 77-33=44
Moving to Node #0,0
Current State: 15:[1, 60, 44], Operations: ['77-33=44']
Exploring Operation: 60-44=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 15:[1, 16] Operation: 60-44=16
Moving to Node #0,0,1
Current State: 15:[1, 16], Operations: ['77-33=44', '60-44=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
73,
27,
83,
73
] | 56 | [
"73+27=100",
"83+73=156",
"156-100=56"
] | Current State: 56:[73, 27, 83, 73], Operations: []
Exploring Operation: 73+27=100, Resulting Numbers: [83, 100]
Generated Node #2: [83, 100] from Operation: 73+27=100
Current State: 56:[83, 100], Operations: ['73+27=100']
Exploring Operation: 83+73=156, Resulting Numbers: [100, 156]
Generated Node #3: [100, 156] from Operation: 83+73=156
Current State: 56:[100, 156], Operations: ['73+27=100', '83+73=156']
Exploring Operation: 156-100=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[73, 27, 83, 73], Operations: []
Exploring Operation: 83-73=10, Resulting Numbers: [27, 73, 10]
Generated Node #0,0: 56:[27, 73, 10] Operation: 83-73=10
Exploring Operation: 83-73=10, Resulting Numbers: [73, 27, 10]
Generated Node #0,1: 56:[73, 27, 10] Operation: 83-73=10
Exploring Operation: 73/73=1, Resulting Numbers: [27, 83, 1]
Generated Node #0,2: 56:[27, 83, 1] Operation: 73/73=1
Moving to Node #0,0
Current State: 56:[27, 73, 10], Operations: ['83-73=10']
Exploring Operation: 27-10=17, Resulting Numbers: [73, 17]
Generated Node #0,0,0: 56:[73, 17] Operation: 27-10=17
Exploring Operation: 73-10=63, Resulting Numbers: [27, 63]
Generated Node #0,0,1: 56:[27, 63] Operation: 73-10=63
Exploring Operation: 73-27=46, Resulting Numbers: [10, 46]
Generated Node #0,0,2: 56:[10, 46] Operation: 73-27=46
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[27, 63], Operations: ['83-73=10', '73-10=63']
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 27*63=1701, Resulting Numbers: [1701]
1701,56 unequal: No Solution
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[10, 46], Operations: ['83-73=10', '73-27=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,56 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[73, 27, 83, 73], Operations: []
Exploring Operation: 83-73=10, Resulting Numbers: [27, 73, 10]
Generated Node #0,0: 56:[27, 73, 10] Operation: 83-73=10
Moving to Node #0,0
Current State: 56:[27, 73, 10], Operations: ['83-73=10']
Exploring Operation: 73-27=46, Resulting Numbers: [10, 46]
Generated Node #0,0,2: 56:[10, 46] Operation: 73-27=46
Moving to Node #0,0,2
Current State: 56:[10, 46], Operations: ['83-73=10', '73-27=46']
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
36,
35,
16,
28
] | 83 | [
"36+35=71",
"28-16=12",
"71+12=83"
] | Current State: 83:[36, 35, 16, 28], Operations: []
Exploring Operation: 36+35=71, Resulting Numbers: [16, 28, 71]
Generated Node #2: [16, 28, 71] from Operation: 36+35=71
Current State: 83:[16, 28, 71], Operations: ['36+35=71']
Exploring Operation: 28-16=12, Resulting Numbers: [71, 12]
Generated Node #3: [71, 12] from Operation: 28-16=12
Current State: 83:[71, 12], Operations: ['36+35=71', '28-16=12']
Exploring Operation: 71+12=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[36, 35, 16, 28], Operations: []
Exploring Operation: 36+16=52, Resulting Numbers: [35, 28, 52]
Generated Node #0,0: 83:[35, 28, 52] Operation: 36+16=52
Exploring Operation: 36+28=64, Resulting Numbers: [35, 16, 64]
Generated Node #0,1: 83:[35, 16, 64] Operation: 36+28=64
Exploring Operation: 36+35=71, Resulting Numbers: [16, 28, 71]
Generated Node #0,2: 83:[16, 28, 71] Operation: 36+35=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[35, 28, 52], Operations: ['36+16=52']
Exploring Operation: 35+28=63, Resulting Numbers: [52, 63]
Generated Node #0,0,0: 83:[52, 63] Operation: 35+28=63
Exploring Operation: 35+52=87, Resulting Numbers: [28, 87]
Generated Node #0,0,1: 83:[28, 87] Operation: 35+52=87
Exploring Operation: 28+52=80, Resulting Numbers: [35, 80]
Generated Node #0,0,2: 83:[35, 80] Operation: 28+52=80
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[52, 63], Operations: ['36+16=52', '35+28=63']
Exploring Operation: 52*63=3276, Resulting Numbers: [3276]
3276,83 unequal: No Solution
Exploring Operation: 52+63=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[35, 80], Operations: ['36+16=52', '28+52=80']
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 35*80=2800, Resulting Numbers: [2800]
2800,83 unequal: No Solution
Exploring Operation: 35+80=115, Resulting Numbers: [115]
115,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[28, 87], Operations: ['36+16=52', '35+52=87']
Exploring Operation: 28*87=2436, Resulting Numbers: [2436]
2436,83 unequal: No Solution
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 28+87=115, Resulting Numbers: [115]
115,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[35, 16, 64], Operations: ['36+28=64']
Exploring Operation: 16+64=80, Resulting Numbers: [35, 80]
Generated Node #0,1,0: 83:[35, 80] Operation: 16+64=80
Exploring Operation: 35-16=19, Resulting Numbers: [64, 19]
Generated Node #0,1,1: 83:[64, 19] Operation: 35-16=19
Exploring Operation: 35+16=51, Resulting Numbers: [64, 51]
Generated Node #0,1,2: 83:[64, 51] Operation: 35+16=51
Moving to Node #0,1,0
Current State: 83:[35, 80], Operations: ['36+28=64', '16+64=80']
Exploring Operation: 35+80=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 35*80=2800, Resulting Numbers: [2800]
2800,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[64, 51], Operations: ['36+28=64', '35+16=51']
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 64*51=3264, Resulting Numbers: [3264]
3264,83 unequal: No Solution
Exploring Operation: 64+51=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[64, 19], Operations: ['36+28=64', '35-16=19']
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[36, 35, 16, 28], Operations: []
Exploring Operation: 36+28=64, Resulting Numbers: [35, 16, 64]
Generated Node #0,1: 83:[35, 16, 64] Operation: 36+28=64
Moving to Node #0,1
Current State: 83:[35, 16, 64], Operations: ['36+28=64']
Exploring Operation: 35-16=19, Resulting Numbers: [64, 19]
Generated Node #0,1,1: 83:[64, 19] Operation: 35-16=19
Moving to Node #0,1,1
Current State: 83:[64, 19], Operations: ['36+28=64', '35-16=19']
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_3 | sum_heuristic |
[
70,
39,
31,
5
] | 28 | [
"70+39=109",
"31+109=140",
"140/5=28"
] | Current State: 28:[70, 39, 31, 5], Operations: []
Exploring Operation: 70+39=109, Resulting Numbers: [31, 5, 109]
Generated Node #2: [31, 5, 109] from Operation: 70+39=109
Current State: 28:[31, 5, 109], Operations: ['70+39=109']
Exploring Operation: 31+109=140, Resulting Numbers: [5, 140]
Generated Node #3: [5, 140] from Operation: 31+109=140
Current State: 28:[5, 140], Operations: ['70+39=109', '31+109=140']
Exploring Operation: 140/5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[70, 39, 31, 5], Operations: []
Exploring Operation: 39-31=8, Resulting Numbers: [70, 5, 8]
Generated Node #0,0: 28:[70, 5, 8] Operation: 39-31=8
Exploring Operation: 70/5=14, Resulting Numbers: [39, 31, 14]
Generated Node #0,1: 28:[39, 31, 14] Operation: 70/5=14
Exploring Operation: 70-39=31, Resulting Numbers: [31, 5, 31]
Generated Node #0,2: 28:[31, 5, 31] Operation: 70-39=31
Exploring Operation: 70-31=39, Resulting Numbers: [39, 5, 39]
Generated Node #0,3: 28:[39, 5, 39] Operation: 70-31=39
Moving to Node #0,2
Current State: 28:[31, 5, 31], Operations: ['70-39=31']
Exploring Operation: 31-5=26, Resulting Numbers: [31, 26]
Generated Node #0,2,0: 28:[31, 26] Operation: 31-5=26
Exploring Operation: 31/31=1, Resulting Numbers: [5, 1]
Generated Node #0,2,1: 28:[5, 1] Operation: 31/31=1
Exploring Operation: 31-5=26, Resulting Numbers: [31, 26]
Generated Node #0,2,2: 28:[31, 26] Operation: 31-5=26
Exploring Operation: 31-31=0, Resulting Numbers: [5, 0]
Generated Node #0,2,3: 28:[5, 0] Operation: 31-31=0
Moving to Node #0,1
Current State: 28:[39, 31, 14], Operations: ['70/5=14']
Exploring Operation: 39+14=53, Resulting Numbers: [31, 53]
Generated Node #0,1,0: 28:[31, 53] Operation: 39+14=53
Exploring Operation: 39-14=25, Resulting Numbers: [31, 25]
Generated Node #0,1,1: 28:[31, 25] Operation: 39-14=25
Exploring Operation: 31-14=17, Resulting Numbers: [39, 17]
Generated Node #0,1,2: 28:[39, 17] Operation: 31-14=17
Exploring Operation: 39-31=8, Resulting Numbers: [14, 8]
Generated Node #0,1,3: 28:[14, 8] Operation: 39-31=8
Moving to Node #0,3
Current State: 28:[39, 5, 39], Operations: ['70-31=39']
Exploring Operation: 39/39=1, Resulting Numbers: [5, 1]
Generated Node #0,3,0: 28:[5, 1] Operation: 39/39=1
Exploring Operation: 39-39=0, Resulting Numbers: [5, 0]
Generated Node #0,3,1: 28:[5, 0] Operation: 39-39=0
Exploring Operation: 39-5=34, Resulting Numbers: [39, 34]
Generated Node #0,3,2: 28:[39, 34] Operation: 39-5=34
Exploring Operation: 39-5=34, Resulting Numbers: [39, 34]
Generated Node #0,3,3: 28:[39, 34] Operation: 39-5=34
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[5, 1], Operations: ['70-31=39', '39/39=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,28 unequal: No Solution
No 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: 28:[5, 0], Operations: ['70-31=39', '39-39=0']
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,28 unequal: No Solution
No 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: 28:[39, 34], Operations: ['70-31=39', '39-5=34']
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,28 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,28 unequal: No Solution
No 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: 28:[39, 34], Operations: ['70-31=39', '39-5=34']
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,28 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,28 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: 28:[70, 5, 8], Operations: ['39-31=8']
Exploring Operation: 70-5=65, Resulting Numbers: [8, 65]
Generated Node #0,0,0: 28:[8, 65] Operation: 70-5=65
Exploring Operation: 5+8=13, Resulting Numbers: [70, 13]
Generated Node #0,0,1: 28:[70, 13] Operation: 5+8=13
Exploring Operation: 70-8=62, Resulting Numbers: [5, 62]
Generated Node #0,0,2: 28:[5, 62] Operation: 70-8=62
Exploring Operation: 70/5=14, Resulting Numbers: [8, 14]
Generated Node #0,0,3: 28:[8, 14] Operation: 70/5=14
Moving to Node #0,1,3
Current State: 28:[14, 8], Operations: ['70/5=14', '39-31=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,28 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[8, 14], Operations: ['39-31=8', '70/5=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[5, 1], Operations: ['70-39=31', '31/31=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[5, 0], Operations: ['70-39=31', '31-31=0']
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[31, 26], Operations: ['70-39=31', '31-5=26']
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,28 unequal: No Solution
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[31, 26], Operations: ['70-39=31', '31-5=26']
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[31, 25], Operations: ['70/5=14', '39-14=25']
Exploring Operation: 31+25=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 31*25=775, Resulting Numbers: [775]
775,28 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[39, 17], Operations: ['70/5=14', '31-14=17']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[31, 53], Operations: ['70/5=14', '39+14=53']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 31*53=1643, Resulting Numbers: [1643]
1643,28 unequal: No Solution
Exploring Operation: 31+53=84, Resulting Numbers: [84]
84,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[5, 62], Operations: ['39-31=8', '70-8=62']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Exploring Operation: 5+62=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 5*62=310, Resulting Numbers: [310]
310,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[8, 65], Operations: ['39-31=8', '70-5=65']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 8*65=520, Resulting Numbers: [520]
520,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[70, 13], Operations: ['39-31=8', '5+8=13']
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,28 unequal: No Solution
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,28 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
97,
28,
37,
7
] | 39 | [
"97-28=69",
"37-7=30",
"69-30=39"
] | Current State: 39:[97, 28, 37, 7], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [37, 7, 69]
Generated Node #2: [37, 7, 69] from Operation: 97-28=69
Current State: 39:[37, 7, 69], Operations: ['97-28=69']
Exploring Operation: 37-7=30, Resulting Numbers: [69, 30]
Generated Node #3: [69, 30] from Operation: 37-7=30
Current State: 39:[69, 30], Operations: ['97-28=69', '37-7=30']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[97, 28, 37, 7], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [37, 7, 69]
Generated Node #0,0: 39:[37, 7, 69] Operation: 97-28=69
Exploring Operation: 97-37=60, Resulting Numbers: [28, 7, 60]
Generated Node #0,1: 39:[28, 7, 60] Operation: 97-37=60
Moving to Node #0,0
Current State: 39:[37, 7, 69], Operations: ['97-28=69']
Exploring Operation: 69-37=32, Resulting Numbers: [7, 32]
Generated Node #0,0,0: 39:[7, 32] Operation: 69-37=32
Exploring Operation: 69-7=62, Resulting Numbers: [37, 62]
Generated Node #0,0,1: 39:[37, 62] Operation: 69-7=62
Moving to Node #0,1
Current State: 39:[28, 7, 60], Operations: ['97-37=60']
Exploring Operation: 28/7=4, Resulting Numbers: [60, 4]
Generated Node #0,1,0: 39:[60, 4] Operation: 28/7=4
Exploring Operation: 60-28=32, Resulting Numbers: [7, 32]
Generated Node #0,1,1: 39:[7, 32] Operation: 60-28=32
Moving to Node #0,0,0
Current State: 39:[7, 32], Operations: ['97-28=69', '69-37=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[97, 28, 37, 7], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [37, 7, 69]
Generated Node #0,0: 39:[37, 7, 69] Operation: 97-28=69
Moving to Node #0,0
Current State: 39:[37, 7, 69], Operations: ['97-28=69']
Exploring Operation: 69-37=32, Resulting Numbers: [7, 32]
Generated Node #0,0,0: 39:[7, 32] Operation: 69-37=32
Moving to Node #0,0,0
Current State: 39:[7, 32], Operations: ['97-28=69', '69-37=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
24,
17,
40,
13
] | 46 | [
"24-17=7",
"40+13=53",
"53-7=46"
] | Current State: 46:[24, 17, 40, 13], Operations: []
Exploring Operation: 24-17=7, Resulting Numbers: [40, 13, 7]
Generated Node #2: [40, 13, 7] from Operation: 24-17=7
Current State: 46:[40, 13, 7], Operations: ['24-17=7']
Exploring Operation: 40+13=53, Resulting Numbers: [7, 53]
Generated Node #3: [7, 53] from Operation: 40+13=53
Current State: 46:[7, 53], Operations: ['24-17=7', '40+13=53']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[24, 17, 40, 13], Operations: []
Exploring Operation: 40-13=27, Resulting Numbers: [24, 17, 27]
Generated Node #0,0: 46:[24, 17, 27] Operation: 40-13=27
Exploring Operation: 40-17=23, Resulting Numbers: [24, 13, 23]
Generated Node #0,1: 46:[24, 13, 23] Operation: 40-17=23
Exploring Operation: 17-13=4, Resulting Numbers: [24, 40, 4]
Generated Node #0,2: 46:[24, 40, 4] Operation: 17-13=4
Moving to Node #0,2
Current State: 46:[24, 40, 4], Operations: ['17-13=4']
Exploring Operation: 24-4=20, Resulting Numbers: [40, 20]
Generated Node #0,2,0: 46:[40, 20] Operation: 24-4=20
Exploring Operation: 40-24=16, Resulting Numbers: [4, 16]
Generated Node #0,2,1: 46:[4, 16] Operation: 40-24=16
Exploring Operation: 40+4=44, Resulting Numbers: [24, 44]
Generated Node #0,2,2: 46:[24, 44] Operation: 40+4=44
Moving to Node #0,0
Current State: 46:[24, 17, 27], Operations: ['40-13=27']
Exploring Operation: 24+17=41, Resulting Numbers: [27, 41]
Generated Node #0,0,0: 46:[27, 41] Operation: 24+17=41
Exploring Operation: 17+27=44, Resulting Numbers: [24, 44]
Generated Node #0,0,1: 46:[24, 44] Operation: 17+27=44
Exploring Operation: 27-24=3, Resulting Numbers: [17, 3]
Generated Node #0,0,2: 46:[17, 3] Operation: 27-24=3
Moving to Node #0,1
Current State: 46:[24, 13, 23], Operations: ['40-17=23']
Exploring Operation: 24+13=37, Resulting Numbers: [23, 37]
Generated Node #0,1,0: 46:[23, 37] Operation: 24+13=37
Exploring Operation: 23-13=10, Resulting Numbers: [24, 10]
Generated Node #0,1,1: 46:[24, 10] Operation: 23-13=10
Exploring Operation: 24-13=11, Resulting Numbers: [23, 11]
Generated Node #0,1,2: 46:[23, 11] Operation: 24-13=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[23, 37], Operations: ['40-17=23', '24+13=37']
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[24, 10], Operations: ['40-17=23', '23-13=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[23, 11], Operations: ['40-17=23', '24-13=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 46:[24, 44], Operations: ['17-13=4', '40+4=44']
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[24, 44], Operations: ['40-13=27', '17+27=44']
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,46 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[17, 3], Operations: ['40-13=27', '27-24=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[4, 16], Operations: ['17-13=4', '40-24=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[40, 20], Operations: ['17-13=4', '24-4=20']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[27, 41], Operations: ['40-13=27', '24+17=41']
Exploring Operation: 27*41=1107, Resulting Numbers: [1107]
1107,46 unequal: No Solution
Exploring Operation: 27+41=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,46 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
25,
26,
27
] | 30 | [
"4+25=29",
"27-26=1",
"29+1=30"
] | Current State: 30:[4, 25, 26, 27], Operations: []
Exploring Operation: 4+25=29, Resulting Numbers: [26, 27, 29]
Generated Node #2: [26, 27, 29] from Operation: 4+25=29
Current State: 30:[26, 27, 29], Operations: ['4+25=29']
Exploring Operation: 27-26=1, Resulting Numbers: [29, 1]
Generated Node #3: [29, 1] from Operation: 27-26=1
Current State: 30:[29, 1], Operations: ['4+25=29', '27-26=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[4, 25, 26, 27], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [4, 26, 2]
Generated Node #0,0: 30:[4, 26, 2] Operation: 27-25=2
Exploring Operation: 26-25=1, Resulting Numbers: [4, 27, 1]
Generated Node #0,1: 30:[4, 27, 1] Operation: 26-25=1
Exploring Operation: 4+26=30, Resulting Numbers: [25, 27, 30]
Generated Node #0,2: 30:[25, 27, 30] Operation: 4+26=30
Exploring Operation: 27-26=1, Resulting Numbers: [4, 25, 1]
Generated Node #0,3: 30:[4, 25, 1] Operation: 27-26=1
Exploring Operation: 4+25=29, Resulting Numbers: [26, 27, 29]
Generated Node #0,4: 30:[26, 27, 29] Operation: 4+25=29
Moving to Node #0,0
Current State: 30:[4, 26, 2], Operations: ['27-25=2']
Exploring Operation: 26+2=28, Resulting Numbers: [4, 28]
Generated Node #0,0,0: 30:[4, 28] Operation: 26+2=28
Exploring Operation: 4-2=2, Resulting Numbers: [26, 2]
Generated Node #0,0,1: 30:[26, 2] Operation: 4-2=2
Exploring Operation: 26/2=13, Resulting Numbers: [4, 13]
Generated Node #0,0,2: 30:[4, 13] Operation: 26/2=13
Exploring Operation: 4+26=30, Resulting Numbers: [2, 30]
Generated Node #0,0,3: 30:[2, 30] Operation: 4+26=30
Exploring Operation: 4+2=6, Resulting Numbers: [26, 6]
Generated Node #0,0,4: 30:[26, 6] Operation: 4+2=6
Moving to Node #0,1
Current State: 30:[4, 27, 1], Operations: ['26-25=1']
Exploring Operation: 27+1=28, Resulting Numbers: [4, 28]
Generated Node #0,1,0: 30:[4, 28] Operation: 27+1=28
Exploring Operation: 4-1=3, Resulting Numbers: [27, 3]
Generated Node #0,1,1: 30:[27, 3] Operation: 4-1=3
Exploring Operation: 4+1=5, Resulting Numbers: [27, 5]
Generated Node #0,1,2: 30:[27, 5] Operation: 4+1=5
Exploring Operation: 4+27=31, Resulting Numbers: [1, 31]
Generated Node #0,1,3: 30:[1, 31] Operation: 4+27=31
Exploring Operation: 4*1=4, Resulting Numbers: [27, 4]
Generated Node #0,1,4: 30:[27, 4] Operation: 4*1=4
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 30:[1, 31], Operations: ['26-25=1', '4+27=31']
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[4, 25, 26, 27], Operations: []
Exploring Operation: 26-25=1, Resulting Numbers: [4, 27, 1]
Generated Node #0,1: 30:[4, 27, 1] Operation: 26-25=1
Moving to Node #0,1
Current State: 30:[4, 27, 1], Operations: ['26-25=1']
Exploring Operation: 4+27=31, Resulting Numbers: [1, 31]
Generated Node #0,1,3: 30:[1, 31] Operation: 4+27=31
Moving to Node #0,1,3
Current State: 30:[1, 31], Operations: ['26-25=1', '4+27=31']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
4,
52,
75,
70
] | 97 | [
"52-4=48",
"75+70=145",
"145-48=97"
] | Current State: 97:[4, 52, 75, 70], Operations: []
Exploring Operation: 52-4=48, Resulting Numbers: [75, 70, 48]
Generated Node #2: [75, 70, 48] from Operation: 52-4=48
Current State: 97:[75, 70, 48], Operations: ['52-4=48']
Exploring Operation: 75+70=145, Resulting Numbers: [48, 145]
Generated Node #3: [48, 145] from Operation: 75+70=145
Current State: 97:[48, 145], Operations: ['52-4=48', '75+70=145']
Exploring Operation: 145-48=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[4, 52, 75, 70], Operations: []
Exploring Operation: 75-4=71, Resulting Numbers: [52, 70, 71]
Generated Node #0,0: 97:[52, 70, 71] Operation: 75-4=71
Exploring Operation: 52-4=48, Resulting Numbers: [75, 70, 48]
Generated Node #0,1: 97:[75, 70, 48] Operation: 52-4=48
Exploring Operation: 4+70=74, Resulting Numbers: [52, 75, 74]
Generated Node #0,2: 97:[52, 75, 74] Operation: 4+70=74
Exploring Operation: 4+75=79, Resulting Numbers: [52, 70, 79]
Generated Node #0,3: 97:[52, 70, 79] Operation: 4+75=79
Exploring Operation: 4+52=56, Resulting Numbers: [75, 70, 56]
Generated Node #0,4: 97:[75, 70, 56] Operation: 4+52=56
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[52, 75, 74], Operations: ['4+70=74']
Exploring Operation: 52+75=127, Resulting Numbers: [74, 127]
Generated Node #0,2,0: 97:[74, 127] Operation: 52+75=127
Exploring Operation: 74-52=22, Resulting Numbers: [75, 22]
Generated Node #0,2,1: 97:[75, 22] Operation: 74-52=22
Exploring Operation: 52+74=126, Resulting Numbers: [75, 126]
Generated Node #0,2,2: 97:[75, 126] Operation: 52+74=126
Exploring Operation: 75+74=149, Resulting Numbers: [52, 149]
Generated Node #0,2,3: 97:[52, 149] Operation: 75+74=149
Exploring Operation: 75-52=23, Resulting Numbers: [74, 23]
Generated Node #0,2,4: 97:[74, 23] Operation: 75-52=23
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[75, 126], Operations: ['4+70=74', '52+74=126']
Exploring Operation: 126-75=51, Resulting Numbers: [51]
51,97 unequal: No Solution
Exploring Operation: 75+126=201, Resulting Numbers: [201]
201,97 unequal: No Solution
Exploring Operation: 75*126=9450, Resulting Numbers: [9450]
9450,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[74, 127], Operations: ['4+70=74', '52+75=127']
Exploring Operation: 74+127=201, Resulting Numbers: [201]
201,97 unequal: No Solution
Exploring Operation: 127-74=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 74*127=9398, Resulting Numbers: [9398]
9398,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[75, 22], Operations: ['4+70=74', '74-52=22']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,97 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[4, 52, 75, 70], Operations: []
Exploring Operation: 4+70=74, Resulting Numbers: [52, 75, 74]
Generated Node #0,2: 97:[52, 75, 74] Operation: 4+70=74
Moving to Node #0,2
Current State: 97:[52, 75, 74], Operations: ['4+70=74']
Exploring Operation: 74-52=22, Resulting Numbers: [75, 22]
Generated Node #0,2,1: 97:[75, 22] Operation: 74-52=22
Moving to Node #0,2,1
Current State: 97:[75, 22], Operations: ['4+70=74', '74-52=22']
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
87,
56,
58,
46
] | 68 | [
"56+46=102",
"58*102=5916",
"5916/87=68"
] | Current State: 68:[87, 56, 58, 46], Operations: []
Exploring Operation: 56+46=102, Resulting Numbers: [87, 58, 102]
Generated Node #2: [87, 58, 102] from Operation: 56+46=102
Current State: 68:[87, 58, 102], Operations: ['56+46=102']
Exploring Operation: 58*102=5916, Resulting Numbers: [87, 5916]
Generated Node #3: [87, 5916] from Operation: 58*102=5916
Current State: 68:[87, 5916], Operations: ['56+46=102', '58*102=5916']
Exploring Operation: 5916/87=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[87, 56, 58, 46], Operations: []
Exploring Operation: 87-58=29, Resulting Numbers: [56, 46, 29]
Generated Node #0,0: 68:[56, 46, 29] Operation: 87-58=29
Exploring Operation: 87-56=31, Resulting Numbers: [58, 46, 31]
Generated Node #0,1: 68:[58, 46, 31] Operation: 87-56=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[58, 46, 31], Operations: ['87-56=31']
Exploring Operation: 46-31=15, Resulting Numbers: [58, 15]
Generated Node #0,1,0: 68:[58, 15] Operation: 46-31=15
Exploring Operation: 58-46=12, Resulting Numbers: [31, 12]
Generated Node #0,1,1: 68:[31, 12] Operation: 58-46=12
Moving to Node #0,1,1
Current State: 68:[31, 12], Operations: ['87-56=31', '58-46=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[58, 15], Operations: ['87-56=31', '46-31=15']
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[56, 46, 29], Operations: ['87-58=29']
Exploring Operation: 56-46=10, Resulting Numbers: [29, 10]
Generated Node #0,0,0: 68:[29, 10] Operation: 56-46=10
Exploring Operation: 46-29=17, Resulting Numbers: [56, 17]
Generated Node #0,0,1: 68:[56, 17] Operation: 46-29=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[29, 10], Operations: ['87-58=29', '56-46=10']
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[56, 17], Operations: ['87-58=29', '46-29=17']
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,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_2 | sum_heuristic |
[
46,
12,
90,
59
] | 91 | [
"46+12=58",
"90+59=149",
"149-58=91"
] | Current State: 91:[46, 12, 90, 59], Operations: []
Exploring Operation: 46+12=58, Resulting Numbers: [90, 59, 58]
Generated Node #2: [90, 59, 58] from Operation: 46+12=58
Current State: 91:[90, 59, 58], Operations: ['46+12=58']
Exploring Operation: 90+59=149, Resulting Numbers: [58, 149]
Generated Node #3: [58, 149] from Operation: 90+59=149
Current State: 91:[58, 149], Operations: ['46+12=58', '90+59=149']
Exploring Operation: 149-58=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[46, 12, 90, 59], Operations: []
Exploring Operation: 12+59=71, Resulting Numbers: [46, 90, 71]
Generated Node #0,0: 91:[46, 90, 71] Operation: 12+59=71
Exploring Operation: 59-46=13, Resulting Numbers: [12, 90, 13]
Generated Node #0,1: 91:[12, 90, 13] Operation: 59-46=13
Exploring Operation: 90-59=31, Resulting Numbers: [46, 12, 31]
Generated Node #0,2: 91:[46, 12, 31] Operation: 90-59=31
Exploring Operation: 46+59=105, Resulting Numbers: [12, 90, 105]
Generated Node #0,3: 91:[12, 90, 105] Operation: 46+59=105
Exploring Operation: 46-12=34, Resulting Numbers: [90, 59, 34]
Generated Node #0,4: 91:[90, 59, 34] Operation: 46-12=34
Moving to Node #0,1
Current State: 91:[12, 90, 13], Operations: ['59-46=13']
Exploring Operation: 90+13=103, Resulting Numbers: [12, 103]
Generated Node #0,1,0: 91:[12, 103] Operation: 90+13=103
Exploring Operation: 13-12=1, Resulting Numbers: [90, 1]
Generated Node #0,1,1: 91:[90, 1] Operation: 13-12=1
Exploring Operation: 90-12=78, Resulting Numbers: [13, 78]
Generated Node #0,1,2: 91:[13, 78] Operation: 90-12=78
Exploring Operation: 12+13=25, Resulting Numbers: [90, 25]
Generated Node #0,1,3: 91:[90, 25] Operation: 12+13=25
Exploring Operation: 12+90=102, Resulting Numbers: [13, 102]
Generated Node #0,1,4: 91:[13, 102] Operation: 12+90=102
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[90, 1], Operations: ['59-46=13', '13-12=1']
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[46, 12, 90, 59], Operations: []
Exploring Operation: 59-46=13, Resulting Numbers: [12, 90, 13]
Generated Node #0,1: 91:[12, 90, 13] Operation: 59-46=13
Moving to Node #0,1
Current State: 91:[12, 90, 13], Operations: ['59-46=13']
Exploring Operation: 13-12=1, Resulting Numbers: [90, 1]
Generated Node #0,1,1: 91:[90, 1] Operation: 13-12=1
Moving to Node #0,1,1
Current State: 91:[90, 1], Operations: ['59-46=13', '13-12=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
53,
10,
15,
51
] | 79 | [
"53-10=43",
"51-15=36",
"43+36=79"
] | Current State: 79:[53, 10, 15, 51], Operations: []
Exploring Operation: 53-10=43, Resulting Numbers: [15, 51, 43]
Generated Node #2: [15, 51, 43] from Operation: 53-10=43
Current State: 79:[15, 51, 43], Operations: ['53-10=43']
Exploring Operation: 51-15=36, Resulting Numbers: [43, 36]
Generated Node #3: [43, 36] from Operation: 51-15=36
Current State: 79:[43, 36], Operations: ['53-10=43', '51-15=36']
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[53, 10, 15, 51], Operations: []
Exploring Operation: 53+10=63, Resulting Numbers: [15, 51, 63]
Generated Node #0,0: 79:[15, 51, 63] Operation: 53+10=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[15, 51, 63], Operations: ['53+10=63']
Exploring Operation: 15+51=66, Resulting Numbers: [63, 66]
Generated Node #0,0,0: 79:[63, 66] Operation: 15+51=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[63, 66], Operations: ['53+10=63', '15+51=66']
Exploring Operation: 63+66=129, Resulting Numbers: [129]
129,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 |
[
32,
98,
18,
35
] | 44 | [
"35-32=3",
"18*3=54",
"98-54=44"
] | Current State: 44:[32, 98, 18, 35], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [98, 18, 3]
Generated Node #2: [98, 18, 3] from Operation: 35-32=3
Current State: 44:[98, 18, 3], Operations: ['35-32=3']
Exploring Operation: 18*3=54, Resulting Numbers: [98, 54]
Generated Node #3: [98, 54] from Operation: 18*3=54
Current State: 44:[98, 54], Operations: ['35-32=3', '18*3=54']
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[32, 98, 18, 35], Operations: []
Exploring Operation: 98-35=63, Resulting Numbers: [32, 18, 63]
Generated Node #0,0: 44:[32, 18, 63] Operation: 98-35=63
Moving to Node #0,0
Current State: 44:[32, 18, 63], Operations: ['98-35=63']
Exploring Operation: 63-18=45, Resulting Numbers: [32, 45]
Generated Node #0,0,0: 44:[32, 45] Operation: 63-18=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[32, 45], Operations: ['98-35=63', '63-18=45']
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,44 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 |
[
29,
5,
94,
52
] | 66 | [
"29-5=24",
"94-52=42",
"24+42=66"
] | Current State: 66:[29, 5, 94, 52], Operations: []
Exploring Operation: 29-5=24, Resulting Numbers: [94, 52, 24]
Generated Node #2: [94, 52, 24] from Operation: 29-5=24
Current State: 66:[94, 52, 24], Operations: ['29-5=24']
Exploring Operation: 94-52=42, Resulting Numbers: [24, 42]
Generated Node #3: [24, 42] from Operation: 94-52=42
Current State: 66:[24, 42], Operations: ['29-5=24', '94-52=42']
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[29, 5, 94, 52], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [29, 5, 42]
Generated Node #0,0: 66:[29, 5, 42] Operation: 94-52=42
Exploring Operation: 94-29=65, Resulting Numbers: [5, 52, 65]
Generated Node #0,1: 66:[5, 52, 65] Operation: 94-29=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[29, 5, 42], Operations: ['94-52=42']
Exploring Operation: 29+42=71, Resulting Numbers: [5, 71]
Generated Node #0,0,0: 66:[5, 71] Operation: 29+42=71
Exploring Operation: 42-29=13, Resulting Numbers: [5, 13]
Generated Node #0,0,1: 66:[5, 13] Operation: 42-29=13
Moving to Node #0,0,1
Current State: 66:[5, 13], Operations: ['94-52=42', '42-29=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[5, 71], Operations: ['94-52=42', '29+42=71']
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[29, 5, 94, 52], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [29, 5, 42]
Generated Node #0,0: 66:[29, 5, 42] Operation: 94-52=42
Moving to Node #0,0
Current State: 66:[29, 5, 42], Operations: ['94-52=42']
Exploring Operation: 29+42=71, Resulting Numbers: [5, 71]
Generated Node #0,0,0: 66:[5, 71] Operation: 29+42=71
Moving to Node #0,0,0
Current State: 66:[5, 71], Operations: ['94-52=42', '29+42=71']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
23,
55,
91,
46
] | 72 | [
"46/23=2",
"91-55=36",
"2*36=72"
] | Current State: 72:[23, 55, 91, 46], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [55, 91, 2]
Generated Node #2: [55, 91, 2] from Operation: 46/23=2
Current State: 72:[55, 91, 2], Operations: ['46/23=2']
Exploring Operation: 91-55=36, Resulting Numbers: [2, 36]
Generated Node #3: [2, 36] from Operation: 91-55=36
Current State: 72:[2, 36], Operations: ['46/23=2', '91-55=36']
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[23, 55, 91, 46], Operations: []
Exploring Operation: 91-46=45, Resulting Numbers: [23, 55, 45]
Generated Node #0,0: 72:[23, 55, 45] Operation: 91-46=45
Exploring Operation: 55-46=9, Resulting Numbers: [23, 91, 9]
Generated Node #0,1: 72:[23, 91, 9] Operation: 55-46=9
Exploring Operation: 91-55=36, Resulting Numbers: [23, 46, 36]
Generated Node #0,2: 72:[23, 46, 36] Operation: 91-55=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[23, 46, 36], Operations: ['91-55=36']
Exploring Operation: 46/23=2, Resulting Numbers: [36, 2]
Generated Node #0,2,0: 72:[36, 2] Operation: 46/23=2
Exploring Operation: 46-23=23, Resulting Numbers: [36, 23]
Generated Node #0,2,1: 72:[36, 23] Operation: 46-23=23
Exploring Operation: 46-36=10, Resulting Numbers: [23, 10]
Generated Node #0,2,2: 72:[23, 10] Operation: 46-36=10
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[36, 2], Operations: ['91-55=36', '46/23=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[23, 55, 91, 46], Operations: []
Exploring Operation: 91-55=36, Resulting Numbers: [23, 46, 36]
Generated Node #0,2: 72:[23, 46, 36] Operation: 91-55=36
Moving to Node #0,2
Current State: 72:[23, 46, 36], Operations: ['91-55=36']
Exploring Operation: 46/23=2, Resulting Numbers: [36, 2]
Generated Node #0,2,0: 72:[36, 2] Operation: 46/23=2
Moving to Node #0,2,0
Current State: 72:[36, 2], Operations: ['91-55=36', '46/23=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
52,
33,
61,
65
] | 15 | [
"52-33=19",
"65-61=4",
"19-4=15"
] | Current State: 15:[52, 33, 61, 65], Operations: []
Exploring Operation: 52-33=19, Resulting Numbers: [61, 65, 19]
Generated Node #2: [61, 65, 19] from Operation: 52-33=19
Current State: 15:[61, 65, 19], Operations: ['52-33=19']
Exploring Operation: 65-61=4, Resulting Numbers: [19, 4]
Generated Node #3: [19, 4] from Operation: 65-61=4
Current State: 15:[19, 4], Operations: ['52-33=19', '65-61=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[52, 33, 61, 65], Operations: []
Exploring Operation: 65-52=13, Resulting Numbers: [33, 61, 13]
Generated Node #0,0: 15:[33, 61, 13] Operation: 65-52=13
Exploring Operation: 65-61=4, Resulting Numbers: [52, 33, 4]
Generated Node #0,1: 15:[52, 33, 4] Operation: 65-61=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[52, 33, 4], Operations: ['65-61=4']
Exploring Operation: 52/4=13, Resulting Numbers: [33, 13]
Generated Node #0,1,0: 15:[33, 13] Operation: 52/4=13
Exploring Operation: 52-33=19, Resulting Numbers: [4, 19]
Generated Node #0,1,1: 15:[4, 19] Operation: 52-33=19
Moving to Node #0,1,1
Current State: 15:[4, 19], Operations: ['65-61=4', '52-33=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[52, 33, 61, 65], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [52, 33, 4]
Generated Node #0,1: 15:[52, 33, 4] Operation: 65-61=4
Moving to Node #0,1
Current State: 15:[52, 33, 4], Operations: ['65-61=4']
Exploring Operation: 52-33=19, Resulting Numbers: [4, 19]
Generated Node #0,1,1: 15:[4, 19] Operation: 52-33=19
Moving to Node #0,1,1
Current State: 15:[4, 19], Operations: ['65-61=4', '52-33=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
87,
68,
35,
59
] | 61 | [
"87+68=155",
"35+59=94",
"155-94=61"
] | Current State: 61:[87, 68, 35, 59], Operations: []
Exploring Operation: 87+68=155, Resulting Numbers: [35, 59, 155]
Generated Node #2: [35, 59, 155] from Operation: 87+68=155
Current State: 61:[35, 59, 155], Operations: ['87+68=155']
Exploring Operation: 35+59=94, Resulting Numbers: [155, 94]
Generated Node #3: [155, 94] from Operation: 35+59=94
Current State: 61:[155, 94], Operations: ['87+68=155', '35+59=94']
Exploring Operation: 155-94=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[87, 68, 35, 59], Operations: []
Exploring Operation: 68-35=33, Resulting Numbers: [87, 59, 33]
Generated Node #0,0: 61:[87, 59, 33] Operation: 68-35=33
Exploring Operation: 35+59=94, Resulting Numbers: [87, 68, 94]
Generated Node #0,1: 61:[87, 68, 94] Operation: 35+59=94
Exploring Operation: 87-59=28, Resulting Numbers: [68, 35, 28]
Generated Node #0,2: 61:[68, 35, 28] Operation: 87-59=28
Exploring Operation: 87-35=52, Resulting Numbers: [68, 59, 52]
Generated Node #0,3: 61:[68, 59, 52] Operation: 87-35=52
Moving to Node #0,3
Current State: 61:[68, 59, 52], Operations: ['87-35=52']
Exploring Operation: 68-52=16, Resulting Numbers: [59, 16]
Generated Node #0,3,0: 61:[59, 16] Operation: 68-52=16
Exploring Operation: 59+52=111, Resulting Numbers: [68, 111]
Generated Node #0,3,1: 61:[68, 111] Operation: 59+52=111
Exploring Operation: 68-59=9, Resulting Numbers: [52, 9]
Generated Node #0,3,2: 61:[52, 9] Operation: 68-59=9
Exploring Operation: 68+52=120, Resulting Numbers: [59, 120]
Generated Node #0,3,3: 61:[59, 120] Operation: 68+52=120
Moving to Node #0,0
Current State: 61:[87, 59, 33], Operations: ['68-35=33']
Exploring Operation: 87-33=54, Resulting Numbers: [59, 54]
Generated Node #0,0,0: 61:[59, 54] Operation: 87-33=54
Exploring Operation: 87-59=28, Resulting Numbers: [33, 28]
Generated Node #0,0,1: 61:[33, 28] Operation: 87-59=28
Exploring Operation: 59+33=92, Resulting Numbers: [87, 92]
Generated Node #0,0,2: 61:[87, 92] Operation: 59+33=92
Exploring Operation: 87+33=120, Resulting Numbers: [59, 120]
Generated Node #0,0,3: 61:[59, 120] Operation: 87+33=120
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[59, 54], Operations: ['68-35=33', '87-33=54']
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 59+54=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 59*54=3186, Resulting Numbers: [3186]
3186,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[87, 92], Operations: ['68-35=33', '59+33=92']
Exploring Operation: 87*92=8004, Resulting Numbers: [8004]
8004,61 unequal: No Solution
Exploring Operation: 92-87=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 87+92=179, Resulting Numbers: [179]
179,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[33, 28], Operations: ['68-35=33', '87-59=28']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[87, 68, 35, 59], Operations: []
Exploring Operation: 68-35=33, Resulting Numbers: [87, 59, 33]
Generated Node #0,0: 61:[87, 59, 33] Operation: 68-35=33
Moving to Node #0,0
Current State: 61:[87, 59, 33], Operations: ['68-35=33']
Exploring Operation: 87-59=28, Resulting Numbers: [33, 28]
Generated Node #0,0,1: 61:[33, 28] Operation: 87-59=28
Moving to Node #0,0,1
Current State: 61:[33, 28], Operations: ['68-35=33', '87-59=28']
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.