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 |
|---|---|---|---|---|---|---|---|---|
[
41,
1,
37,
67
] | 72 | [
"41+1=42",
"67-37=30",
"42+30=72"
] | Current State: 72:[41, 1, 37, 67], Operations: []
Exploring Operation: 41+1=42, Resulting Numbers: [37, 67, 42]
Generated Node #2: [37, 67, 42] from Operation: 41+1=42
Current State: 72:[37, 67, 42], Operations: ['41+1=42']
Exploring Operation: 67-37=30, Resulting Numbers: [42, 30]
Generated Node #3: [42, 30] from Operation: 67-37=30
Current State: 72:[42, 30], Operations: ['41+1=42', '67-37=30']
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[41, 1, 37, 67], Operations: []
Exploring Operation: 67-41=26, Resulting Numbers: [1, 37, 26]
Generated Node #0,0: 72:[1, 37, 26] Operation: 67-41=26
Moving to Node #0,0
Current State: 72:[1, 37, 26], Operations: ['67-41=26']
Exploring Operation: 37-1=36, Resulting Numbers: [26, 36]
Generated Node #0,0,0: 72:[26, 36] Operation: 37-1=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[26, 36], Operations: ['67-41=26', '37-1=36']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
46,
5,
47,
45
] | 42 | [
"46-45=1",
"47-5=42",
"1*42=42"
] | Current State: 42:[46, 5, 47, 45], Operations: []
Exploring Operation: 46-45=1, Resulting Numbers: [5, 47, 1]
Generated Node #2: [5, 47, 1] from Operation: 46-45=1
Current State: 42:[5, 47, 1], Operations: ['46-45=1']
Exploring Operation: 47-5=42, Resulting Numbers: [1, 42]
Generated Node #3: [1, 42] from Operation: 47-5=42
Current State: 42:[1, 42], Operations: ['46-45=1', '47-5=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[46, 5, 47, 45], Operations: []
Exploring Operation: 47-46=1, Resulting Numbers: [5, 45, 1]
Generated Node #0,0: 42:[5, 45, 1] Operation: 47-46=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[5, 45, 1], Operations: ['47-46=1']
Exploring Operation: 45-5=40, Resulting Numbers: [1, 40]
Generated Node #0,0,0: 42:[1, 40] Operation: 45-5=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[1, 40], Operations: ['47-46=1', '45-5=40']
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
88,
4,
69,
58
] | 35 | [
"88+4=92",
"69+58=127",
"127-92=35"
] | Current State: 35:[88, 4, 69, 58], Operations: []
Exploring Operation: 88+4=92, Resulting Numbers: [69, 58, 92]
Generated Node #2: [69, 58, 92] from Operation: 88+4=92
Current State: 35:[69, 58, 92], Operations: ['88+4=92']
Exploring Operation: 69+58=127, Resulting Numbers: [92, 127]
Generated Node #3: [92, 127] from Operation: 69+58=127
Current State: 35:[92, 127], Operations: ['88+4=92', '69+58=127']
Exploring Operation: 127-92=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[88, 4, 69, 58], Operations: []
Exploring Operation: 88-69=19, Resulting Numbers: [4, 58, 19]
Generated Node #0,0: 35:[4, 58, 19] Operation: 88-69=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[4, 58, 19], Operations: ['88-69=19']
Exploring Operation: 58-19=39, Resulting Numbers: [4, 39]
Generated Node #0,0,0: 35:[4, 39] Operation: 58-19=39
Moving to Node #0,0,0
Current State: 35:[4, 39], Operations: ['88-69=19', '58-19=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[88, 4, 69, 58], Operations: []
Exploring Operation: 88-69=19, Resulting Numbers: [4, 58, 19]
Generated Node #0,0: 35:[4, 58, 19] Operation: 88-69=19
Moving to Node #0,0
Current State: 35:[4, 58, 19], Operations: ['88-69=19']
Exploring Operation: 58-19=39, Resulting Numbers: [4, 39]
Generated Node #0,0,0: 35:[4, 39] Operation: 58-19=39
Moving to Node #0,0,0
Current State: 35:[4, 39], Operations: ['88-69=19', '58-19=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
72,
24,
18,
20
] | 87 | [
"18*20=360",
"360/24=15",
"72+15=87"
] | Current State: 87:[72, 24, 18, 20], Operations: []
Exploring Operation: 18*20=360, Resulting Numbers: [72, 24, 360]
Generated Node #2: [72, 24, 360] from Operation: 18*20=360
Current State: 87:[72, 24, 360], Operations: ['18*20=360']
Exploring Operation: 360/24=15, Resulting Numbers: [72, 15]
Generated Node #3: [72, 15] from Operation: 360/24=15
Current State: 87:[72, 15], Operations: ['18*20=360', '360/24=15']
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[72, 24, 18, 20], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [72, 24, 2]
Generated Node #0,0: 87:[72, 24, 2] Operation: 20-18=2
Exploring Operation: 72/18=4, Resulting Numbers: [24, 20, 4]
Generated Node #0,1: 87:[24, 20, 4] Operation: 72/18=4
Exploring Operation: 72/24=3, Resulting Numbers: [18, 20, 3]
Generated Node #0,2: 87:[18, 20, 3] Operation: 72/24=3
Exploring Operation: 72+18=90, Resulting Numbers: [24, 20, 90]
Generated Node #0,3: 87:[24, 20, 90] Operation: 72+18=90
Exploring Operation: 72+20=92, Resulting Numbers: [24, 18, 92]
Generated Node #0,4: 87:[24, 18, 92] Operation: 72+20=92
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[24, 20, 4], Operations: ['72/18=4']
Exploring Operation: 24-20=4, Resulting Numbers: [4, 4]
Generated Node #0,1,0: 87:[4, 4] Operation: 24-20=4
Exploring Operation: 20+4=24, Resulting Numbers: [24, 24]
Generated Node #0,1,1: 87:[24, 24] Operation: 20+4=24
Exploring Operation: 20/4=5, Resulting Numbers: [24, 5]
Generated Node #0,1,2: 87:[24, 5] Operation: 20/4=5
Exploring Operation: 24/4=6, Resulting Numbers: [20, 6]
Generated Node #0,1,3: 87:[20, 6] Operation: 24/4=6
Exploring Operation: 24+4=28, Resulting Numbers: [20, 28]
Generated Node #0,1,4: 87:[20, 28] Operation: 24+4=28
Moving to Node #0,1,0
Current State: 87:[4, 4], Operations: ['72/18=4', '24-20=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[24, 5], Operations: ['72/18=4', '20/4=5']
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,87 unequal: No Solution
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[24, 24], Operations: ['72/18=4', '20+4=24']
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 24*24=576, Resulting Numbers: [576]
576,87 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Moving to Node #0,1,4
Current State: 87:[20, 28], Operations: ['72/18=4', '24+4=28']
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,87 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[20, 6], Operations: ['72/18=4', '24/4=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,87 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,87 unequal: No Solution
No 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: 87:[24, 20, 90], Operations: ['72+18=90']
Exploring Operation: 90-24=66, Resulting Numbers: [20, 66]
Generated Node #0,3,0: 87:[20, 66] Operation: 90-24=66
Exploring Operation: 90-20=70, Resulting Numbers: [24, 70]
Generated Node #0,3,1: 87:[24, 70] Operation: 90-20=70
Exploring Operation: 24+20=44, Resulting Numbers: [90, 44]
Generated Node #0,3,2: 87:[90, 44] Operation: 24+20=44
Exploring Operation: 20+90=110, Resulting Numbers: [24, 110]
Generated Node #0,3,3: 87:[24, 110] Operation: 20+90=110
Exploring Operation: 24-20=4, Resulting Numbers: [90, 4]
Generated Node #0,3,4: 87:[90, 4] Operation: 24-20=4
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 87:[90, 4], Operations: ['72+18=90', '24-20=4']
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,87 unequal: No Solution
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,87 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 87:[90, 44], Operations: ['72+18=90', '24+20=44']
Exploring Operation: 90*44=3960, Resulting Numbers: [3960]
3960,87 unequal: No Solution
Exploring Operation: 90+44=134, Resulting Numbers: [134]
134,87 unequal: No Solution
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 87:[24, 70], Operations: ['72+18=90', '90-20=70']
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,87 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 87:[24, 110], Operations: ['72+18=90', '20+90=110']
Exploring Operation: 110-24=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 24*110=2640, Resulting Numbers: [2640]
2640,87 unequal: No Solution
Exploring Operation: 24+110=134, Resulting Numbers: [134]
134,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 87:[20, 66], Operations: ['72+18=90', '90-24=66']
Exploring Operation: 20+66=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 20*66=1320, Resulting Numbers: [1320]
1320,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[18, 20, 3], Operations: ['72/24=3']
Exploring Operation: 20+3=23, Resulting Numbers: [18, 23]
Generated Node #0,2,0: 87:[18, 23] Operation: 20+3=23
Exploring Operation: 18+3=21, Resulting Numbers: [20, 21]
Generated Node #0,2,1: 87:[20, 21] Operation: 18+3=21
Exploring Operation: 20-18=2, Resulting Numbers: [3, 2]
Generated Node #0,2,2: 87:[3, 2] Operation: 20-18=2
Exploring Operation: 18+20=38, Resulting Numbers: [3, 38]
Generated Node #0,2,3: 87:[3, 38] Operation: 18+20=38
Exploring Operation: 18/3=6, Resulting Numbers: [20, 6]
Generated Node #0,2,4: 87:[20, 6] Operation: 18/3=6
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 87:[3, 2], Operations: ['72/24=3', '20-18=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 87:[3, 38], Operations: ['72/24=3', '18+20=38']
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,87 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 87:[20, 6], Operations: ['72/24=3', '18/3=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,87 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 87:[18, 23], Operations: ['72/24=3', '20+3=23']
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,87 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 87:[20, 21], Operations: ['72/24=3', '18+3=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,87 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[72, 24, 2], Operations: ['20-18=2']
Exploring Operation: 72+24=96, Resulting Numbers: [2, 96]
Generated Node #0,0,0: 87:[2, 96] Operation: 72+24=96
Exploring Operation: 24+2=26, Resulting Numbers: [72, 26]
Generated Node #0,0,1: 87:[72, 26] Operation: 24+2=26
Exploring Operation: 72+2=74, Resulting Numbers: [24, 74]
Generated Node #0,0,2: 87:[24, 74] Operation: 72+2=74
Exploring Operation: 72/2=36, Resulting Numbers: [24, 36]
Generated Node #0,0,3: 87:[24, 36] Operation: 72/2=36
Exploring Operation: 72/24=3, Resulting Numbers: [2, 3]
Generated Node #0,0,4: 87:[2, 3] Operation: 72/24=3
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 87:[2, 3], Operations: ['20-18=2', '72/24=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[2, 96], Operations: ['20-18=2', '72+24=96']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 2*96=192, Resulting Numbers: [192]
192,87 unequal: No Solution
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 87:[24, 36], Operations: ['20-18=2', '72/2=36']
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,87 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[72, 26], Operations: ['20-18=2', '24+2=26']
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,87 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[24, 74], Operations: ['20-18=2', '72+2=74']
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 24+74=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 24*74=1776, Resulting Numbers: [1776]
1776,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[24, 18, 92], Operations: ['72+20=92']
Exploring Operation: 92-24=68, Resulting Numbers: [18, 68]
Generated Node #0,4,0: 87:[18, 68] Operation: 92-24=68
Exploring Operation: 24-18=6, Resulting Numbers: [92, 6]
Generated Node #0,4,1: 87:[92, 6] Operation: 24-18=6
Exploring Operation: 18+92=110, Resulting Numbers: [24, 110]
Generated Node #0,4,2: 87:[24, 110] Operation: 18+92=110
Exploring Operation: 24+18=42, Resulting Numbers: [92, 42]
Generated Node #0,4,3: 87:[92, 42] Operation: 24+18=42
Exploring Operation: 92-18=74, Resulting Numbers: [24, 74]
Generated Node #0,4,4: 87:[24, 74] Operation: 92-18=74
Moving to Node #0,4,1
Current State: 87:[92, 6], Operations: ['72+20=92', '24-18=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,87 unequal: No Solution
Moving to Node #0,4,4
Current State: 87:[24, 74], Operations: ['72+20=92', '92-18=74']
Exploring Operation: 24*74=1776, Resulting Numbers: [1776]
1776,87 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 24+74=98, Resulting Numbers: [98]
98,87 unequal: No Solution
Moving to Node #0,4,3
Current State: 87:[92, 42], Operations: ['72+20=92', '24+18=42']
Exploring Operation: 92+42=134, Resulting Numbers: [134]
134,87 unequal: No Solution
Exploring Operation: 92-42=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 92*42=3864, Resulting Numbers: [3864]
3864,87 unequal: No Solution
Moving to Node #0,4,2
Current State: 87:[24, 110], Operations: ['72+20=92', '18+92=110']
Exploring Operation: 110-24=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 24+110=134, Resulting Numbers: [134]
134,87 unequal: No Solution
Exploring Operation: 24*110=2640, Resulting Numbers: [2640]
2640,87 unequal: No Solution
Moving to Node #0,4,0
Current State: 87:[18, 68], Operations: ['72+20=92', '92-24=68']
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
51,
90,
39,
96
] | 98 | [
"51-39=12",
"96/12=8",
"90+8=98"
] | Current State: 98:[51, 90, 39, 96], Operations: []
Exploring Operation: 51-39=12, Resulting Numbers: [90, 96, 12]
Generated Node #2: [90, 96, 12] from Operation: 51-39=12
Current State: 98:[90, 96, 12], Operations: ['51-39=12']
Exploring Operation: 96/12=8, Resulting Numbers: [90, 8]
Generated Node #3: [90, 8] from Operation: 96/12=8
Current State: 98:[90, 8], Operations: ['51-39=12', '96/12=8']
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[51, 90, 39, 96], Operations: []
Exploring Operation: 90-39=51, Resulting Numbers: [51, 96, 51]
Generated Node #0,0: 98:[51, 96, 51] Operation: 90-39=51
Exploring Operation: 51-39=12, Resulting Numbers: [90, 96, 12]
Generated Node #0,1: 98:[90, 96, 12] Operation: 51-39=12
Moving to Node #0,0
Current State: 98:[51, 96, 51], Operations: ['90-39=51']
Exploring Operation: 51-51=0, Resulting Numbers: [96, 0]
Generated Node #0,0,0: 98:[96, 0] Operation: 51-51=0
Exploring Operation: 51/51=1, Resulting Numbers: [96, 1]
Generated Node #0,0,1: 98:[96, 1] Operation: 51/51=1
Moving to Node #0,1
Current State: 98:[90, 96, 12], Operations: ['51-39=12']
Exploring Operation: 96-90=6, Resulting Numbers: [12, 6]
Generated Node #0,1,0: 98:[12, 6] Operation: 96-90=6
Exploring Operation: 90+12=102, Resulting Numbers: [96, 102]
Generated Node #0,1,1: 98:[96, 102] Operation: 90+12=102
Moving to Node #0,0,1
Current State: 98:[96, 1], Operations: ['90-39=51', '51/51=1']
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[12, 6], Operations: ['51-39=12', '96-90=6']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[96, 0], Operations: ['90-39=51', '51-51=0']
Exploring Operation: 96*0=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 96+0=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[96, 102], Operations: ['51-39=12', '90+12=102']
Exploring Operation: 96+102=198, Resulting Numbers: [198]
198,98 unequal: No Solution
Exploring Operation: 102-96=6, Resulting Numbers: [6]
6,98 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
40,
59,
67,
6
] | 11 | [
"67-59=8",
"40/8=5",
"6+5=11"
] | Current State: 11:[40, 59, 67, 6], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [40, 6, 8]
Generated Node #2: [40, 6, 8] from Operation: 67-59=8
Current State: 11:[40, 6, 8], Operations: ['67-59=8']
Exploring Operation: 40/8=5, Resulting Numbers: [6, 5]
Generated Node #3: [6, 5] from Operation: 40/8=5
Current State: 11:[6, 5], Operations: ['67-59=8', '40/8=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[40, 59, 67, 6], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [40, 6, 8]
Generated Node #0,0: 11:[40, 6, 8] Operation: 67-59=8
Moving to Node #0,0
Current State: 11:[40, 6, 8], Operations: ['67-59=8']
Exploring Operation: 40/8=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 11:[6, 5] Operation: 40/8=5
Moving to Node #0,0,0
Current State: 11:[6, 5], Operations: ['67-59=8', '40/8=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[40, 59, 67, 6], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [40, 6, 8]
Generated Node #0,0: 11:[40, 6, 8] Operation: 67-59=8
Moving to Node #0,0
Current State: 11:[40, 6, 8], Operations: ['67-59=8']
Exploring Operation: 40/8=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 11:[6, 5] Operation: 40/8=5
Moving to Node #0,0,0
Current State: 11:[6, 5], Operations: ['67-59=8', '40/8=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
54,
52,
22,
56
] | 47 | [
"54+56=110",
"110/22=5",
"52-5=47"
] | Current State: 47:[54, 52, 22, 56], Operations: []
Exploring Operation: 54+56=110, Resulting Numbers: [52, 22, 110]
Generated Node #2: [52, 22, 110] from Operation: 54+56=110
Current State: 47:[52, 22, 110], Operations: ['54+56=110']
Exploring Operation: 110/22=5, Resulting Numbers: [52, 5]
Generated Node #3: [52, 5] from Operation: 110/22=5
Current State: 47:[52, 5], Operations: ['54+56=110', '110/22=5']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[54, 52, 22, 56], Operations: []
Exploring Operation: 54+22=76, Resulting Numbers: [52, 56, 76]
Generated Node #0,0: 47:[52, 56, 76] Operation: 54+22=76
Exploring Operation: 54-22=32, Resulting Numbers: [52, 56, 32]
Generated Node #0,1: 47:[52, 56, 32] Operation: 54-22=32
Exploring Operation: 56-22=34, Resulting Numbers: [54, 52, 34]
Generated Node #0,2: 47:[54, 52, 34] Operation: 56-22=34
Exploring Operation: 52+22=74, Resulting Numbers: [54, 56, 74]
Generated Node #0,3: 47:[54, 56, 74] Operation: 52+22=74
Exploring Operation: 52-22=30, Resulting Numbers: [54, 56, 30]
Generated Node #0,4: 47:[54, 56, 30] Operation: 52-22=30
Moving to Node #0,2
Current State: 47:[54, 52, 34], Operations: ['56-22=34']
Exploring Operation: 54-52=2, Resulting Numbers: [34, 2]
Generated Node #0,2,0: 47:[34, 2] Operation: 54-52=2
Exploring Operation: 52-34=18, Resulting Numbers: [54, 18]
Generated Node #0,2,1: 47:[54, 18] Operation: 52-34=18
Exploring Operation: 54+34=88, Resulting Numbers: [52, 88]
Generated Node #0,2,2: 47:[52, 88] Operation: 54+34=88
Exploring Operation: 52+34=86, Resulting Numbers: [54, 86]
Generated Node #0,2,3: 47:[54, 86] Operation: 52+34=86
Exploring Operation: 54-34=20, Resulting Numbers: [52, 20]
Generated Node #0,2,4: 47:[52, 20] Operation: 54-34=20
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 47:[52, 20], Operations: ['56-22=34', '54-34=20']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 52*20=1040, Resulting Numbers: [1040]
1040,47 unequal: No Solution
Exploring Operation: 52+20=72, Resulting Numbers: [72]
72,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[54, 18], Operations: ['56-22=34', '52-34=18']
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 54*18=972, Resulting Numbers: [972]
972,47 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[52, 88], Operations: ['56-22=34', '54+34=88']
Exploring Operation: 52+88=140, Resulting Numbers: [140]
140,47 unequal: No Solution
Exploring Operation: 88-52=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 52*88=4576, Resulting Numbers: [4576]
4576,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[54, 86], Operations: ['56-22=34', '52+34=86']
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 54+86=140, Resulting Numbers: [140]
140,47 unequal: No Solution
Exploring Operation: 54*86=4644, Resulting Numbers: [4644]
4644,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[34, 2], Operations: ['56-22=34', '54-52=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,47 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,47 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: 47:[52, 56, 32], Operations: ['54-22=32']
Exploring Operation: 56-52=4, Resulting Numbers: [32, 4]
Generated Node #0,1,0: 47:[32, 4] Operation: 56-52=4
Exploring Operation: 52-32=20, Resulting Numbers: [56, 20]
Generated Node #0,1,1: 47:[56, 20] Operation: 52-32=20
Exploring Operation: 56-32=24, Resulting Numbers: [52, 24]
Generated Node #0,1,2: 47:[52, 24] Operation: 56-32=24
Exploring Operation: 56+32=88, Resulting Numbers: [52, 88]
Generated Node #0,1,3: 47:[52, 88] Operation: 56+32=88
Exploring Operation: 52+32=84, Resulting Numbers: [56, 84]
Generated Node #0,1,4: 47:[56, 84] Operation: 52+32=84
Moving to Node #0,4
Current State: 47:[54, 56, 30], Operations: ['52-22=30']
Exploring Operation: 56+30=86, Resulting Numbers: [54, 86]
Generated Node #0,4,0: 47:[54, 86] Operation: 56+30=86
Exploring Operation: 56-54=2, Resulting Numbers: [30, 2]
Generated Node #0,4,1: 47:[30, 2] Operation: 56-54=2
Exploring Operation: 54-30=24, Resulting Numbers: [56, 24]
Generated Node #0,4,2: 47:[56, 24] Operation: 54-30=24
Exploring Operation: 54+30=84, Resulting Numbers: [56, 84]
Generated Node #0,4,3: 47:[56, 84] Operation: 54+30=84
Exploring Operation: 56-30=26, Resulting Numbers: [54, 26]
Generated Node #0,4,4: 47:[54, 26] Operation: 56-30=26
Moving to Node #0,0
Current State: 47:[52, 56, 76], Operations: ['54+22=76']
Exploring Operation: 76-52=24, Resulting Numbers: [56, 24]
Generated Node #0,0,0: 47:[56, 24] Operation: 76-52=24
Exploring Operation: 52+76=128, Resulting Numbers: [56, 128]
Generated Node #0,0,1: 47:[56, 128] Operation: 52+76=128
Exploring Operation: 76-56=20, Resulting Numbers: [52, 20]
Generated Node #0,0,2: 47:[52, 20] Operation: 76-56=20
Exploring Operation: 52+56=108, Resulting Numbers: [76, 108]
Generated Node #0,0,3: 47:[76, 108] Operation: 52+56=108
Exploring Operation: 56-52=4, Resulting Numbers: [76, 4]
Generated Node #0,0,4: 47:[76, 4] Operation: 56-52=4
Moving to Node #0,3
Current State: 47:[54, 56, 74], Operations: ['52+22=74']
Exploring Operation: 74-54=20, Resulting Numbers: [56, 20]
Generated Node #0,3,0: 47:[56, 20] Operation: 74-54=20
Exploring Operation: 56-54=2, Resulting Numbers: [74, 2]
Generated Node #0,3,1: 47:[74, 2] Operation: 56-54=2
Exploring Operation: 54+74=128, Resulting Numbers: [56, 128]
Generated Node #0,3,2: 47:[56, 128] Operation: 54+74=128
Exploring Operation: 54+56=110, Resulting Numbers: [74, 110]
Generated Node #0,3,3: 47:[74, 110] Operation: 54+56=110
Exploring Operation: 74-56=18, Resulting Numbers: [54, 18]
Generated Node #0,3,4: 47:[54, 18] Operation: 74-56=18
Moving to Node #0,1,2
Current State: 47:[52, 24], Operations: ['54-22=32', '56-32=24']
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,47 unequal: No Solution
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Moving to Node #0,4,4
Current State: 47:[54, 26], Operations: ['52-22=30', '56-30=26']
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,47 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Moving to Node #0,4,2
Current State: 47:[56, 24], Operations: ['52-22=30', '54-30=24']
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,47 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[52, 20], Operations: ['54+22=76', '76-56=20']
Exploring Operation: 52*20=1040, Resulting Numbers: [1040]
1040,47 unequal: No Solution
Exploring Operation: 52+20=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[56, 24], Operations: ['54+22=76', '76-52=24']
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,47 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[56, 20], Operations: ['54-22=32', '52-32=20']
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,47 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[56, 20], Operations: ['52+22=74', '74-54=20']
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,47 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,3,4
Current State: 47:[54, 18], Operations: ['52+22=74', '74-56=18']
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 54*18=972, Resulting Numbers: [972]
972,47 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[52, 88], Operations: ['54-22=32', '56+32=88']
Exploring Operation: 52+88=140, Resulting Numbers: [140]
140,47 unequal: No Solution
Exploring Operation: 88-52=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 52*88=4576, Resulting Numbers: [4576]
4576,47 unequal: No Solution
Moving to Node #0,1,4
Current State: 47:[56, 84], Operations: ['54-22=32', '52+32=84']
Exploring Operation: 56*84=4704, Resulting Numbers: [4704]
4704,47 unequal: No Solution
Exploring Operation: 56+84=140, Resulting Numbers: [140]
140,47 unequal: No Solution
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Moving to Node #0,4,3
Current State: 47:[56, 84], Operations: ['52-22=30', '54+30=84']
Exploring Operation: 56*84=4704, Resulting Numbers: [4704]
4704,47 unequal: No Solution
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 56+84=140, Resulting Numbers: [140]
140,47 unequal: No Solution
Moving to Node #0,4,0
Current State: 47:[54, 86], Operations: ['52-22=30', '56+30=86']
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 54*86=4644, Resulting Numbers: [4644]
4644,47 unequal: No Solution
Exploring Operation: 54+86=140, Resulting Numbers: [140]
140,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[32, 4], Operations: ['54-22=32', '56-52=4']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,47 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Moving to Node #0,4,1
Current State: 47:[30, 2], Operations: ['52-22=30', '56-54=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Moving to Node #0,0,4
Current State: 47:[76, 4], Operations: ['54+22=76', '56-52=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,47 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[74, 2], Operations: ['52+22=74', '56-54=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,47 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[76, 108], Operations: ['54+22=76', '52+56=108']
Exploring Operation: 108-76=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 76+108=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 76*108=8208, Resulting Numbers: [8208]
8208,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[56, 128], Operations: ['52+22=74', '54+74=128']
Exploring Operation: 128-56=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 56+128=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 56*128=7168, Resulting Numbers: [7168]
7168,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[56, 128], Operations: ['54+22=76', '52+76=128']
Exploring Operation: 128-56=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 56+128=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 56*128=7168, Resulting Numbers: [7168]
7168,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[74, 110], Operations: ['52+22=74', '54+56=110']
Exploring Operation: 74+110=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 74*110=8140, Resulting Numbers: [8140]
8140,47 unequal: No Solution
Exploring Operation: 110-74=36, Resulting Numbers: [36]
36,47 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
1,
44,
63,
83
] | 64 | [
"1*44=44",
"83-63=20",
"44+20=64"
] | Current State: 64:[1, 44, 63, 83], Operations: []
Exploring Operation: 1*44=44, Resulting Numbers: [63, 83, 44]
Generated Node #2: [63, 83, 44] from Operation: 1*44=44
Current State: 64:[63, 83, 44], Operations: ['1*44=44']
Exploring Operation: 83-63=20, Resulting Numbers: [44, 20]
Generated Node #3: [44, 20] from Operation: 83-63=20
Current State: 64:[44, 20], Operations: ['1*44=44', '83-63=20']
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[1, 44, 63, 83], Operations: []
Exploring Operation: 83-44=39, Resulting Numbers: [1, 63, 39]
Generated Node #0,0: 64:[1, 63, 39] Operation: 83-44=39
Moving to Node #0,0
Current State: 64:[1, 63, 39], Operations: ['83-44=39']
Exploring Operation: 1+63=64, Resulting Numbers: [39, 64]
Generated Node #0,0,0: 64:[39, 64] Operation: 1+63=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[39, 64], Operations: ['83-44=39', '1+63=64']
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
37,
4,
22,
19
] | 30 | [
"37-4=33",
"22-19=3",
"33-3=30"
] | Current State: 30:[37, 4, 22, 19], Operations: []
Exploring Operation: 37-4=33, Resulting Numbers: [22, 19, 33]
Generated Node #2: [22, 19, 33] from Operation: 37-4=33
Current State: 30:[22, 19, 33], Operations: ['37-4=33']
Exploring Operation: 22-19=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 22-19=3
Current State: 30:[33, 3], Operations: ['37-4=33', '22-19=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[37, 4, 22, 19], Operations: []
Exploring Operation: 22-19=3, Resulting Numbers: [37, 4, 3]
Generated Node #0,0: 30:[37, 4, 3] Operation: 22-19=3
Exploring Operation: 37-22=15, Resulting Numbers: [4, 19, 15]
Generated Node #0,1: 30:[4, 19, 15] Operation: 37-22=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[4, 19, 15], Operations: ['37-22=15']
Exploring Operation: 19-15=4, Resulting Numbers: [4, 4]
Generated Node #0,1,0: 30:[4, 4] Operation: 19-15=4
Exploring Operation: 19-4=15, Resulting Numbers: [15, 15]
Generated Node #0,1,1: 30:[15, 15] Operation: 19-4=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[15, 15], Operations: ['37-22=15', '19-4=15']
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[37, 4, 22, 19], Operations: []
Exploring Operation: 37-22=15, Resulting Numbers: [4, 19, 15]
Generated Node #0,1: 30:[4, 19, 15] Operation: 37-22=15
Moving to Node #0,1
Current State: 30:[4, 19, 15], Operations: ['37-22=15']
Exploring Operation: 19-4=15, Resulting Numbers: [15, 15]
Generated Node #0,1,1: 30:[15, 15] Operation: 19-4=15
Moving to Node #0,1,1
Current State: 30:[15, 15], Operations: ['37-22=15', '19-4=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
63,
58,
30,
33
] | 37 | [
"33-30=3",
"63/3=21",
"58-21=37"
] | Current State: 37:[63, 58, 30, 33], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [63, 58, 3]
Generated Node #2: [63, 58, 3] from Operation: 33-30=3
Current State: 37:[63, 58, 3], Operations: ['33-30=3']
Exploring Operation: 63/3=21, Resulting Numbers: [58, 21]
Generated Node #3: [58, 21] from Operation: 63/3=21
Current State: 37:[58, 21], Operations: ['33-30=3', '63/3=21']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[63, 58, 30, 33], Operations: []
Exploring Operation: 58-33=25, Resulting Numbers: [63, 30, 25]
Generated Node #0,0: 37:[63, 30, 25] Operation: 58-33=25
Exploring Operation: 63-30=33, Resulting Numbers: [58, 33, 33]
Generated Node #0,1: 37:[58, 33, 33] Operation: 63-30=33
Exploring Operation: 58-30=28, Resulting Numbers: [63, 33, 28]
Generated Node #0,2: 37:[63, 33, 28] Operation: 58-30=28
Exploring Operation: 63-33=30, Resulting Numbers: [58, 30, 30]
Generated Node #0,3: 37:[58, 30, 30] Operation: 63-33=30
Exploring Operation: 63-58=5, Resulting Numbers: [30, 33, 5]
Generated Node #0,4: 37:[30, 33, 5] Operation: 63-58=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[58, 33, 33], Operations: ['63-30=33']
Exploring Operation: 58-33=25, Resulting Numbers: [33, 25]
Generated Node #0,1,0: 37:[33, 25] Operation: 58-33=25
Exploring Operation: 58-33=25, Resulting Numbers: [33, 25]
Generated Node #0,1,1: 37:[33, 25] Operation: 58-33=25
Exploring Operation: 33+33=66, Resulting Numbers: [58, 66]
Generated Node #0,1,2: 37:[58, 66] Operation: 33+33=66
Exploring Operation: 33/33=1, Resulting Numbers: [58, 1]
Generated Node #0,1,3: 37:[58, 1] Operation: 33/33=1
Exploring Operation: 58+33=91, Resulting Numbers: [33, 91]
Generated Node #0,1,4: 37:[33, 91] Operation: 58+33=91
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[33, 25], Operations: ['63-30=33', '58-33=25']
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,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:[33, 25], Operations: ['63-30=33', '58-33=25']
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,37 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,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,2
Current State: 37:[58, 66], Operations: ['63-30=33', '33+33=66']
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 58*66=3828, Resulting Numbers: [3828]
3828,37 unequal: No Solution
Exploring Operation: 58+66=124, Resulting Numbers: [124]
124,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,3
Current State: 37:[58, 1], Operations: ['63-30=33', '33/33=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,37 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,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,4
Current State: 37:[33, 91], Operations: ['63-30=33', '58+33=91']
Exploring Operation: 33*91=3003, Resulting Numbers: [3003]
3003,37 unequal: No Solution
Exploring Operation: 33+91=124, Resulting Numbers: [124]
124,37 unequal: No Solution
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,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,3
Current State: 37:[58, 30, 30], Operations: ['63-33=30']
Exploring Operation: 58-30=28, Resulting Numbers: [30, 28]
Generated Node #0,3,0: 37:[30, 28] Operation: 58-30=28
Exploring Operation: 30+30=60, Resulting Numbers: [58, 60]
Generated Node #0,3,1: 37:[58, 60] Operation: 30+30=60
Exploring Operation: 58+30=88, Resulting Numbers: [30, 88]
Generated Node #0,3,2: 37:[30, 88] Operation: 58+30=88
Exploring Operation: 30/30=1, Resulting Numbers: [58, 1]
Generated Node #0,3,3: 37:[58, 1] Operation: 30/30=1
Exploring Operation: 58-30=28, Resulting Numbers: [30, 28]
Generated Node #0,3,4: 37:[30, 28] Operation: 58-30=28
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 37:[30, 28], Operations: ['63-33=30', '58-30=28']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,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,3,4
Current State: 37:[30, 28], Operations: ['63-33=30', '58-30=28']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,37 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,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,3,1
Current State: 37:[58, 60], Operations: ['63-33=30', '30+30=60']
Exploring Operation: 58*60=3480, Resulting Numbers: [3480]
3480,37 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,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,3,3
Current State: 37:[58, 1], Operations: ['63-33=30', '30/30=1']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,37 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,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,3,2
Current State: 37:[30, 88], Operations: ['63-33=30', '58+30=88']
Exploring Operation: 30+88=118, Resulting Numbers: [118]
118,37 unequal: No Solution
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 30*88=2640, Resulting Numbers: [2640]
2640,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:[63, 33, 28], Operations: ['58-30=28']
Exploring Operation: 63-33=30, Resulting Numbers: [28, 30]
Generated Node #0,2,0: 37:[28, 30] Operation: 63-33=30
Exploring Operation: 33-28=5, Resulting Numbers: [63, 5]
Generated Node #0,2,1: 37:[63, 5] Operation: 33-28=5
Exploring Operation: 63+28=91, Resulting Numbers: [33, 91]
Generated Node #0,2,2: 37:[33, 91] Operation: 63+28=91
Exploring Operation: 63-28=35, Resulting Numbers: [33, 35]
Generated Node #0,2,3: 37:[33, 35] Operation: 63-28=35
Exploring Operation: 33+28=61, Resulting Numbers: [63, 61]
Generated Node #0,2,4: 37:[63, 61] Operation: 33+28=61
Moving to Node #0,2,3
Current State: 37:[33, 35], Operations: ['58-30=28', '63-28=35']
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[28, 30], Operations: ['58-30=28', '63-33=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,37 unequal: No Solution
Moving to Node #0,2,4
Current State: 37:[63, 61], Operations: ['58-30=28', '33+28=61']
Exploring Operation: 63+61=124, Resulting Numbers: [124]
124,37 unequal: No Solution
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 63*61=3843, Resulting Numbers: [3843]
3843,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[63, 5], Operations: ['58-30=28', '33-28=5']
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,37 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[33, 91], Operations: ['58-30=28', '63+28=91']
Exploring Operation: 33+91=124, Resulting Numbers: [124]
124,37 unequal: No Solution
Exploring Operation: 33*91=3003, Resulting Numbers: [3003]
3003,37 unequal: No Solution
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[30, 33, 5], Operations: ['63-58=5']
Exploring Operation: 33-5=28, Resulting Numbers: [30, 28]
Generated Node #0,4,0: 37:[30, 28] Operation: 33-5=28
Exploring Operation: 33+5=38, Resulting Numbers: [30, 38]
Generated Node #0,4,1: 37:[30, 38] Operation: 33+5=38
Exploring Operation: 30/5=6, Resulting Numbers: [33, 6]
Generated Node #0,4,2: 37:[33, 6] Operation: 30/5=6
Exploring Operation: 30+5=35, Resulting Numbers: [33, 35]
Generated Node #0,4,3: 37:[33, 35] Operation: 30+5=35
Exploring Operation: 30-5=25, Resulting Numbers: [33, 25]
Generated Node #0,4,4: 37:[33, 25] Operation: 30-5=25
Moving to Node #0,4,3
Current State: 37:[33, 35], Operations: ['63-58=5', '30+5=35']
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,37 unequal: No Solution
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Moving to Node #0,4,1
Current State: 37:[30, 38], Operations: ['63-58=5', '33+5=38']
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,37 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Moving to Node #0,4,0
Current State: 37:[30, 28], Operations: ['63-58=5', '33-5=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,37 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Moving to Node #0,4,4
Current State: 37:[33, 25], Operations: ['63-58=5', '30-5=25']
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,37 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Moving to Node #0,4,2
Current State: 37:[33, 6], Operations: ['63-58=5', '30/5=6']
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,37 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[63, 30, 25], Operations: ['58-33=25']
Exploring Operation: 63-25=38, Resulting Numbers: [30, 38]
Generated Node #0,0,0: 37:[30, 38] Operation: 63-25=38
Exploring Operation: 30+25=55, Resulting Numbers: [63, 55]
Generated Node #0,0,1: 37:[63, 55] Operation: 30+25=55
Exploring Operation: 30-25=5, Resulting Numbers: [63, 5]
Generated Node #0,0,2: 37:[63, 5] Operation: 30-25=5
Exploring Operation: 63+25=88, Resulting Numbers: [30, 88]
Generated Node #0,0,3: 37:[30, 88] Operation: 63+25=88
Exploring Operation: 63-30=33, Resulting Numbers: [25, 33]
Generated Node #0,0,4: 37:[25, 33] Operation: 63-30=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[30, 38], Operations: ['58-33=25', '63-25=38']
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,37 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,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,4
Current State: 37:[25, 33], Operations: ['58-33=25', '63-30=33']
Exploring Operation: 25*33=825, Resulting Numbers: [825]
825,37 unequal: No Solution
Exploring Operation: 25+33=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,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:[63, 55], Operations: ['58-33=25', '30+25=55']
Exploring Operation: 63*55=3465, Resulting Numbers: [3465]
3465,37 unequal: No Solution
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 63+55=118, Resulting Numbers: [118]
118,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,2
Current State: 37:[63, 5], Operations: ['58-33=25', '30-25=5']
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,37 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,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,3
Current State: 37:[30, 88], Operations: ['58-33=25', '63+25=88']
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 30*88=2640, Resulting Numbers: [2640]
2640,37 unequal: No Solution
Exploring Operation: 30+88=118, Resulting Numbers: [118]
118,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
80,
95,
28,
57
] | 44 | [
"95-80=15",
"57-28=29",
"15+29=44"
] | Current State: 44:[80, 95, 28, 57], Operations: []
Exploring Operation: 95-80=15, Resulting Numbers: [28, 57, 15]
Generated Node #2: [28, 57, 15] from Operation: 95-80=15
Current State: 44:[28, 57, 15], Operations: ['95-80=15']
Exploring Operation: 57-28=29, Resulting Numbers: [15, 29]
Generated Node #3: [15, 29] from Operation: 57-28=29
Current State: 44:[15, 29], Operations: ['95-80=15', '57-28=29']
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[80, 95, 28, 57], Operations: []
Exploring Operation: 80-57=23, Resulting Numbers: [95, 28, 23]
Generated Node #0,0: 44:[95, 28, 23] Operation: 80-57=23
Exploring Operation: 95-80=15, Resulting Numbers: [28, 57, 15]
Generated Node #0,1: 44:[28, 57, 15] Operation: 95-80=15
Exploring Operation: 95-57=38, Resulting Numbers: [80, 28, 38]
Generated Node #0,2: 44:[80, 28, 38] Operation: 95-57=38
Moving to Node #0,1
Current State: 44:[28, 57, 15], Operations: ['95-80=15']
Exploring Operation: 57-15=42, Resulting Numbers: [28, 42]
Generated Node #0,1,0: 44:[28, 42] Operation: 57-15=42
Exploring Operation: 57-28=29, Resulting Numbers: [15, 29]
Generated Node #0,1,1: 44:[15, 29] Operation: 57-28=29
Exploring Operation: 28+15=43, Resulting Numbers: [57, 43]
Generated Node #0,1,2: 44:[57, 43] Operation: 28+15=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[28, 42], Operations: ['95-80=15', '57-15=42']
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Exploring Operation: 28*42=1176, Resulting Numbers: [1176]
1176,44 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[15, 29], Operations: ['95-80=15', '57-28=29']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 15*29=435, Resulting Numbers: [435]
435,44 unequal: No Solution
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[80, 95, 28, 57], Operations: []
Exploring Operation: 95-80=15, Resulting Numbers: [28, 57, 15]
Generated Node #0,1: 44:[28, 57, 15] Operation: 95-80=15
Moving to Node #0,1
Current State: 44:[28, 57, 15], Operations: ['95-80=15']
Exploring Operation: 57-28=29, Resulting Numbers: [15, 29]
Generated Node #0,1,1: 44:[15, 29] Operation: 57-28=29
Moving to Node #0,1,1
Current State: 44:[15, 29], Operations: ['95-80=15', '57-28=29']
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
14,
50,
72,
66
] | 74 | [
"14+50=64",
"72+66=138",
"138-64=74"
] | Current State: 74:[14, 50, 72, 66], Operations: []
Exploring Operation: 14+50=64, Resulting Numbers: [72, 66, 64]
Generated Node #2: [72, 66, 64] from Operation: 14+50=64
Current State: 74:[72, 66, 64], Operations: ['14+50=64']
Exploring Operation: 72+66=138, Resulting Numbers: [64, 138]
Generated Node #3: [64, 138] from Operation: 72+66=138
Current State: 74:[64, 138], Operations: ['14+50=64', '72+66=138']
Exploring Operation: 138-64=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[14, 50, 72, 66], Operations: []
Exploring Operation: 50-14=36, Resulting Numbers: [72, 66, 36]
Generated Node #0,0: 74:[72, 66, 36] Operation: 50-14=36
Moving to Node #0,0
Current State: 74:[72, 66, 36], Operations: ['50-14=36']
Exploring Operation: 72-66=6, Resulting Numbers: [36, 6]
Generated Node #0,0,0: 74:[36, 6] Operation: 72-66=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[36, 6], Operations: ['50-14=36', '72-66=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,74 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 |
[
3,
3,
56,
24
] | 99 | [
"56-24=32",
"3*32=96",
"3+96=99"
] | Current State: 99:[3, 3, 56, 24], Operations: []
Exploring Operation: 56-24=32, Resulting Numbers: [3, 3, 32]
Generated Node #2: [3, 3, 32] from Operation: 56-24=32
Current State: 99:[3, 3, 32], Operations: ['56-24=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,99 equal: Goal Reached
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[3, 3, 56, 24], Operations: []
Exploring Operation: 56-24=32, Resulting Numbers: [3, 3, 32]
Generated Node #0,0: 99:[3, 3, 32] Operation: 56-24=32
Moving to Node #0,0
Current State: 99:[3, 3, 32], Operations: ['56-24=32']
Exploring Operation: 3*3=9, Resulting Numbers: [32, 9]
Generated Node #0,0,0: 99:[32, 9] Operation: 3*3=9
Moving to Node #0,0,0
Current State: 99:[32, 9], Operations: ['56-24=32', '3*3=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,99 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
46,
62,
53,
2
] | 83 | [
"46*2=92",
"62-53=9",
"92-9=83"
] | Current State: 83:[46, 62, 53, 2], Operations: []
Exploring Operation: 46*2=92, Resulting Numbers: [62, 53, 92]
Generated Node #2: [62, 53, 92] from Operation: 46*2=92
Current State: 83:[62, 53, 92], Operations: ['46*2=92']
Exploring Operation: 62-53=9, Resulting Numbers: [92, 9]
Generated Node #3: [92, 9] from Operation: 62-53=9
Current State: 83:[92, 9], Operations: ['46*2=92', '62-53=9']
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[46, 62, 53, 2], Operations: []
Exploring Operation: 53*2=106, Resulting Numbers: [46, 62, 106]
Generated Node #0,0: 83:[46, 62, 106] Operation: 53*2=106
Exploring Operation: 46*2=92, Resulting Numbers: [62, 53, 92]
Generated Node #0,1: 83:[62, 53, 92] Operation: 46*2=92
Moving to Node #0,1
Current State: 83:[62, 53, 92], Operations: ['46*2=92']
Exploring Operation: 92-53=39, Resulting Numbers: [62, 39]
Generated Node #0,1,0: 83:[62, 39] Operation: 92-53=39
Exploring Operation: 62+53=115, Resulting Numbers: [92, 115]
Generated Node #0,1,1: 83:[92, 115] Operation: 62+53=115
Moving to Node #0,0
Current State: 83:[46, 62, 106], Operations: ['53*2=106']
Exploring Operation: 46+62=108, Resulting Numbers: [106, 108]
Generated Node #0,0,0: 83:[106, 108] Operation: 46+62=108
Exploring Operation: 106-46=60, Resulting Numbers: [62, 60]
Generated Node #0,0,1: 83:[62, 60] Operation: 106-46=60
Moving to Node #0,1,1
Current State: 83:[92, 115], Operations: ['46*2=92', '62+53=115']
Exploring Operation: 115-92=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 92+115=207, Resulting Numbers: [207]
207,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[62, 60], Operations: ['53*2=106', '106-46=60']
Exploring Operation: 62+60=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[106, 108], Operations: ['53*2=106', '46+62=108']
Exploring Operation: 106+108=214, Resulting Numbers: [214]
214,83 unequal: No Solution
Exploring Operation: 108-106=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[62, 39], Operations: ['46*2=92', '92-53=39']
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,83 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
33,
89,
7,
36
] | 32 | [
"36-33=3",
"89+7=96",
"96/3=32"
] | Current State: 32:[33, 89, 7, 36], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [89, 7, 3]
Generated Node #2: [89, 7, 3] from Operation: 36-33=3
Current State: 32:[89, 7, 3], Operations: ['36-33=3']
Exploring Operation: 89+7=96, Resulting Numbers: [3, 96]
Generated Node #3: [3, 96] from Operation: 89+7=96
Current State: 32:[3, 96], Operations: ['36-33=3', '89+7=96']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[33, 89, 7, 36], Operations: []
Exploring Operation: 89-36=53, Resulting Numbers: [33, 7, 53]
Generated Node #0,0: 32:[33, 7, 53] Operation: 89-36=53
Exploring Operation: 89-33=56, Resulting Numbers: [7, 36, 56]
Generated Node #0,1: 32:[7, 36, 56] Operation: 89-33=56
Exploring Operation: 89-7=82, Resulting Numbers: [33, 36, 82]
Generated Node #0,2: 32:[33, 36, 82] Operation: 89-7=82
Exploring Operation: 36-33=3, Resulting Numbers: [89, 7, 3]
Generated Node #0,3: 32:[89, 7, 3] Operation: 36-33=3
Moving to Node #0,0
Current State: 32:[33, 7, 53], Operations: ['89-36=53']
Exploring Operation: 53-33=20, Resulting Numbers: [7, 20]
Generated Node #0,0,0: 32:[7, 20] Operation: 53-33=20
Exploring Operation: 33+7=40, Resulting Numbers: [53, 40]
Generated Node #0,0,1: 32:[53, 40] Operation: 33+7=40
Exploring Operation: 53-7=46, Resulting Numbers: [33, 46]
Generated Node #0,0,2: 32:[33, 46] Operation: 53-7=46
Exploring Operation: 33-7=26, Resulting Numbers: [53, 26]
Generated Node #0,0,3: 32:[53, 26] Operation: 33-7=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[7, 20], Operations: ['89-36=53', '53-33=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,32 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[33, 46], Operations: ['89-36=53', '53-7=46']
Exploring Operation: 33*46=1518, Resulting Numbers: [1518]
1518,32 unequal: No Solution
Exploring Operation: 33+46=79, Resulting Numbers: [79]
79,32 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 32:[53, 26], Operations: ['89-36=53', '33-7=26']
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,32 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[53, 40], Operations: ['89-36=53', '33+7=40']
Exploring Operation: 53+40=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 53*40=2120, Resulting Numbers: [2120]
2120,32 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: 32:[7, 36, 56], Operations: ['89-33=56']
Exploring Operation: 56/7=8, Resulting Numbers: [36, 8]
Generated Node #0,1,0: 32:[36, 8] Operation: 56/7=8
Exploring Operation: 56-7=49, Resulting Numbers: [36, 49]
Generated Node #0,1,1: 32:[36, 49] Operation: 56-7=49
Exploring Operation: 56-36=20, Resulting Numbers: [7, 20]
Generated Node #0,1,2: 32:[7, 20] Operation: 56-36=20
Exploring Operation: 36-7=29, Resulting Numbers: [56, 29]
Generated Node #0,1,3: 32:[56, 29] Operation: 36-7=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[36, 8], Operations: ['89-33=56', '56/7=8']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,32 unequal: No Solution
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 32:[7, 20], Operations: ['89-33=56', '56-36=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,32 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[36, 49], Operations: ['89-33=56', '56-7=49']
Exploring Operation: 36*49=1764, Resulting Numbers: [1764]
1764,32 unequal: No Solution
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 36+49=85, Resulting Numbers: [85]
85,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 32:[56, 29], Operations: ['89-33=56', '36-7=29']
Exploring Operation: 56*29=1624, Resulting Numbers: [1624]
1624,32 unequal: No Solution
Exploring Operation: 56+29=85, Resulting Numbers: [85]
85,32 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,32 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: 32:[33, 36, 82], Operations: ['89-7=82']
Exploring Operation: 82-33=49, Resulting Numbers: [36, 49]
Generated Node #0,2,0: 32:[36, 49] Operation: 82-33=49
Exploring Operation: 82-36=46, Resulting Numbers: [33, 46]
Generated Node #0,2,1: 32:[33, 46] Operation: 82-36=46
Exploring Operation: 36-33=3, Resulting Numbers: [82, 3]
Generated Node #0,2,2: 32:[82, 3] Operation: 36-33=3
Exploring Operation: 33+36=69, Resulting Numbers: [82, 69]
Generated Node #0,2,3: 32:[82, 69] Operation: 33+36=69
Moving to Node #0,3
Current State: 32:[89, 7, 3], Operations: ['36-33=3']
Exploring Operation: 7-3=4, Resulting Numbers: [89, 4]
Generated Node #0,3,0: 32:[89, 4] Operation: 7-3=4
Exploring Operation: 7+3=10, Resulting Numbers: [89, 10]
Generated Node #0,3,1: 32:[89, 10] Operation: 7+3=10
Exploring Operation: 89-7=82, Resulting Numbers: [3, 82]
Generated Node #0,3,2: 32:[3, 82] Operation: 89-7=82
Exploring Operation: 89-3=86, Resulting Numbers: [7, 86]
Generated Node #0,3,3: 32:[7, 86] Operation: 89-3=86
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[3, 82], Operations: ['36-33=3', '89-7=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,32 unequal: No Solution
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,32 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 32:[7, 86], Operations: ['36-33=3', '89-3=86']
Exploring Operation: 7*86=602, Resulting Numbers: [602]
602,32 unequal: No Solution
Exploring Operation: 7+86=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 32:[89, 4], Operations: ['36-33=3', '7-3=4']
Exploring Operation: 89*4=356, Resulting Numbers: [356]
356,32 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,32 unequal: No Solution
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 32:[89, 10], Operations: ['36-33=3', '7+3=10']
Exploring Operation: 89+10=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 89*10=890, Resulting Numbers: [890]
890,32 unequal: No Solution
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 32:[33, 46], Operations: ['89-7=82', '82-36=46']
Exploring Operation: 33+46=79, Resulting Numbers: [79]
79,32 unequal: No Solution
Exploring Operation: 33*46=1518, Resulting Numbers: [1518]
1518,32 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[36, 49], Operations: ['89-7=82', '82-33=49']
Exploring Operation: 36*49=1764, Resulting Numbers: [1764]
1764,32 unequal: No Solution
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 36+49=85, Resulting Numbers: [85]
85,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[82, 3], Operations: ['89-7=82', '36-33=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,32 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,32 unequal: No Solution
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[82, 69], Operations: ['89-7=82', '33+36=69']
Exploring Operation: 82-69=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 82+69=151, Resulting Numbers: [151]
151,32 unequal: No Solution
Exploring Operation: 82*69=5658, Resulting Numbers: [5658]
5658,32 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
71,
17,
19,
75
] | 67 | [
"19-17=2",
"71*2=142",
"142-75=67"
] | Current State: 67:[71, 17, 19, 75], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [71, 75, 2]
Generated Node #2: [71, 75, 2] from Operation: 19-17=2
Current State: 67:[71, 75, 2], Operations: ['19-17=2']
Exploring Operation: 71*2=142, Resulting Numbers: [75, 142]
Generated Node #3: [75, 142] from Operation: 71*2=142
Current State: 67:[75, 142], Operations: ['19-17=2', '71*2=142']
Exploring Operation: 142-75=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[71, 17, 19, 75], Operations: []
Exploring Operation: 17+19=36, Resulting Numbers: [71, 75, 36]
Generated Node #0,0: 67:[71, 75, 36] Operation: 17+19=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[71, 75, 36], Operations: ['17+19=36']
Exploring Operation: 75-36=39, Resulting Numbers: [71, 39]
Generated Node #0,0,0: 67:[71, 39] Operation: 75-36=39
Moving to Node #0,0,0
Current State: 67:[71, 39], Operations: ['17+19=36', '75-36=39']
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
15,
99,
12,
31
] | 93 | [
"31-15=16",
"12*16=192",
"192-99=93"
] | Current State: 93:[15, 99, 12, 31], Operations: []
Exploring Operation: 31-15=16, Resulting Numbers: [99, 12, 16]
Generated Node #2: [99, 12, 16] from Operation: 31-15=16
Current State: 93:[99, 12, 16], Operations: ['31-15=16']
Exploring Operation: 12*16=192, Resulting Numbers: [99, 192]
Generated Node #3: [99, 192] from Operation: 12*16=192
Current State: 93:[99, 192], Operations: ['31-15=16', '12*16=192']
Exploring Operation: 192-99=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[15, 99, 12, 31], Operations: []
Exploring Operation: 31-15=16, Resulting Numbers: [99, 12, 16]
Generated Node #0,0: 93:[99, 12, 16] Operation: 31-15=16
Exploring Operation: 99-12=87, Resulting Numbers: [15, 31, 87]
Generated Node #0,1: 93:[15, 31, 87] Operation: 99-12=87
Exploring Operation: 99-15=84, Resulting Numbers: [12, 31, 84]
Generated Node #0,2: 93:[12, 31, 84] Operation: 99-15=84
Exploring Operation: 15-12=3, Resulting Numbers: [99, 31, 3]
Generated Node #0,3: 93:[99, 31, 3] Operation: 15-12=3
Exploring Operation: 15+12=27, Resulting Numbers: [99, 31, 27]
Generated Node #0,4: 93:[99, 31, 27] Operation: 15+12=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[99, 31, 3], Operations: ['15-12=3']
Exploring Operation: 99/3=33, Resulting Numbers: [31, 33]
Generated Node #0,3,0: 93:[31, 33] Operation: 99/3=33
Exploring Operation: 31*3=93, Resulting Numbers: [99, 93]
Generated Node #0,3,1: 93:[99, 93] Operation: 31*3=93
Exploring Operation: 31+3=34, Resulting Numbers: [99, 34]
Generated Node #0,3,2: 93:[99, 34] Operation: 31+3=34
Exploring Operation: 99-3=96, Resulting Numbers: [31, 96]
Generated Node #0,3,3: 93:[31, 96] Operation: 99-3=96
Exploring Operation: 99+3=102, Resulting Numbers: [31, 102]
Generated Node #0,3,4: 93:[31, 102] Operation: 99+3=102
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 93:[31, 33], Operations: ['15-12=3', '99/3=33']
Exploring Operation: 31*33=1023, Resulting Numbers: [1023]
1023,93 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 93:[31, 96], Operations: ['15-12=3', '99-3=96']
Exploring Operation: 31+96=127, Resulting Numbers: [127]
127,93 unequal: No Solution
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,93 unequal: No Solution
Exploring Operation: 31*96=2976, Resulting Numbers: [2976]
2976,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 93:[99, 93], Operations: ['15-12=3', '31*3=93']
Exploring Operation: 99*93=9207, Resulting Numbers: [9207]
9207,93 unequal: No Solution
Exploring Operation: 99+93=192, Resulting Numbers: [192]
192,93 unequal: No Solution
Exploring Operation: 99-93=6, Resulting Numbers: [6]
6,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[99, 34], Operations: ['15-12=3', '31+3=34']
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,93 unequal: No Solution
Exploring Operation: 99+34=133, Resulting Numbers: [133]
133,93 unequal: No Solution
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 93:[31, 102], Operations: ['15-12=3', '99+3=102']
Exploring Operation: 31+102=133, Resulting Numbers: [133]
133,93 unequal: No Solution
Exploring Operation: 102-31=71, Resulting Numbers: [71]
71,93 unequal: No Solution
Exploring Operation: 31*102=3162, Resulting Numbers: [3162]
3162,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 93:[99, 31, 27], Operations: ['15+12=27']
Exploring Operation: 99+27=126, Resulting Numbers: [31, 126]
Generated Node #0,4,0: 93:[31, 126] Operation: 99+27=126
Exploring Operation: 31+27=58, Resulting Numbers: [99, 58]
Generated Node #0,4,1: 93:[99, 58] Operation: 31+27=58
Exploring Operation: 31-27=4, Resulting Numbers: [99, 4]
Generated Node #0,4,2: 93:[99, 4] Operation: 31-27=4
Exploring Operation: 99-31=68, Resulting Numbers: [27, 68]
Generated Node #0,4,3: 93:[27, 68] Operation: 99-31=68
Exploring Operation: 99-27=72, Resulting Numbers: [31, 72]
Generated Node #0,4,4: 93:[31, 72] Operation: 99-27=72
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 93:[99, 4], Operations: ['15+12=27', '31-27=4']
Exploring Operation: 99*4=396, Resulting Numbers: [396]
396,93 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 99+4=103, Resulting Numbers: [103]
103,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 93:[31, 72], Operations: ['15+12=27', '99-27=72']
Exploring Operation: 31*72=2232, Resulting Numbers: [2232]
2232,93 unequal: No Solution
Exploring Operation: 31+72=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 93:[27, 68], Operations: ['15+12=27', '99-31=68']
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,93 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 93:[31, 126], Operations: ['15+12=27', '99+27=126']
Exploring Operation: 126-31=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 31*126=3906, Resulting Numbers: [3906]
3906,93 unequal: No Solution
Exploring Operation: 31+126=157, Resulting Numbers: [157]
157,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 93:[99, 58], Operations: ['15+12=27', '31+27=58']
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 99+58=157, Resulting Numbers: [157]
157,93 unequal: No Solution
Exploring Operation: 99*58=5742, Resulting Numbers: [5742]
5742,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[15, 31, 87], Operations: ['99-12=87']
Exploring Operation: 87-15=72, Resulting Numbers: [31, 72]
Generated Node #0,1,0: 93:[31, 72] Operation: 87-15=72
Exploring Operation: 31+87=118, Resulting Numbers: [15, 118]
Generated Node #0,1,1: 93:[15, 118] Operation: 31+87=118
Exploring Operation: 31-15=16, Resulting Numbers: [87, 16]
Generated Node #0,1,2: 93:[87, 16] Operation: 31-15=16
Exploring Operation: 15+31=46, Resulting Numbers: [87, 46]
Generated Node #0,1,3: 93:[87, 46] Operation: 15+31=46
Exploring Operation: 15+87=102, Resulting Numbers: [31, 102]
Generated Node #0,1,4: 93:[31, 102] Operation: 15+87=102
Moving to Node #0,1,4
Current State: 93:[31, 102], Operations: ['99-12=87', '15+87=102']
Exploring Operation: 31*102=3162, Resulting Numbers: [3162]
3162,93 unequal: No Solution
Exploring Operation: 31+102=133, Resulting Numbers: [133]
133,93 unequal: No Solution
Exploring Operation: 102-31=71, Resulting Numbers: [71]
71,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[87, 16], Operations: ['99-12=87', '31-15=16']
Exploring Operation: 87+16=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 87*16=1392, Resulting Numbers: [1392]
1392,93 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[31, 72], Operations: ['99-12=87', '87-15=72']
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 31+72=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 31*72=2232, Resulting Numbers: [2232]
2232,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[87, 46], Operations: ['99-12=87', '15+31=46']
Exploring Operation: 87+46=133, Resulting Numbers: [133]
133,93 unequal: No Solution
Exploring Operation: 87-46=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 87*46=4002, Resulting Numbers: [4002]
4002,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[15, 118], Operations: ['99-12=87', '31+87=118']
Exploring Operation: 15+118=133, Resulting Numbers: [133]
133,93 unequal: No Solution
Exploring Operation: 118-15=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 15*118=1770, Resulting Numbers: [1770]
1770,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,2
Current State: 93:[12, 31, 84], Operations: ['99-15=84']
Exploring Operation: 84/12=7, Resulting Numbers: [31, 7]
Generated Node #0,2,0: 93:[31, 7] Operation: 84/12=7
Exploring Operation: 31-12=19, Resulting Numbers: [84, 19]
Generated Node #0,2,1: 93:[84, 19] Operation: 31-12=19
Exploring Operation: 12+84=96, Resulting Numbers: [31, 96]
Generated Node #0,2,2: 93:[31, 96] Operation: 12+84=96
Exploring Operation: 84-12=72, Resulting Numbers: [31, 72]
Generated Node #0,2,3: 93:[31, 72] Operation: 84-12=72
Exploring Operation: 12+31=43, Resulting Numbers: [84, 43]
Generated Node #0,2,4: 93:[84, 43] Operation: 12+31=43
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 93:[31, 96], Operations: ['99-15=84', '12+84=96']
Exploring Operation: 31+96=127, Resulting Numbers: [127]
127,93 unequal: No Solution
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,93 unequal: No Solution
Exploring Operation: 31*96=2976, Resulting Numbers: [2976]
2976,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[31, 7], Operations: ['99-15=84', '84/12=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,93 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 93:[84, 19], Operations: ['99-15=84', '31-12=19']
Exploring Operation: 84+19=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,93 unequal: No Solution
Exploring Operation: 84*19=1596, Resulting Numbers: [1596]
1596,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 93:[31, 72], Operations: ['99-15=84', '84-12=72']
Exploring Operation: 31*72=2232, Resulting Numbers: [2232]
2232,93 unequal: No Solution
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 31+72=103, Resulting Numbers: [103]
103,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 93:[84, 43], Operations: ['99-15=84', '12+31=43']
Exploring Operation: 84+43=127, Resulting Numbers: [127]
127,93 unequal: No Solution
Exploring Operation: 84*43=3612, Resulting Numbers: [3612]
3612,93 unequal: No Solution
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[99, 12, 16], Operations: ['31-15=16']
Exploring Operation: 12+16=28, Resulting Numbers: [99, 28]
Generated Node #0,0,0: 93:[99, 28] Operation: 12+16=28
Exploring Operation: 16-12=4, Resulting Numbers: [99, 4]
Generated Node #0,0,1: 93:[99, 4] Operation: 16-12=4
Exploring Operation: 99+12=111, Resulting Numbers: [16, 111]
Generated Node #0,0,2: 93:[16, 111] Operation: 99+12=111
Exploring Operation: 99-16=83, Resulting Numbers: [12, 83]
Generated Node #0,0,3: 93:[12, 83] Operation: 99-16=83
Exploring Operation: 99-12=87, Resulting Numbers: [16, 87]
Generated Node #0,0,4: 93:[16, 87] Operation: 99-12=87
Moving to Node #0,0,1
Current State: 93:[99, 4], Operations: ['31-15=16', '16-12=4']
Exploring Operation: 99+4=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 99*4=396, Resulting Numbers: [396]
396,93 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[99, 28], Operations: ['31-15=16', '12+16=28']
Exploring Operation: 99-28=71, Resulting Numbers: [71]
71,93 unequal: No Solution
Exploring Operation: 99+28=127, Resulting Numbers: [127]
127,93 unequal: No Solution
Exploring Operation: 99*28=2772, Resulting Numbers: [2772]
2772,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[12, 83], Operations: ['31-15=16', '99-16=83']
Exploring Operation: 12+83=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,93 unequal: No Solution
Exploring Operation: 12*83=996, Resulting Numbers: [996]
996,93 unequal: No Solution
Moving to Node #0,0,4
Current State: 93:[16, 87], Operations: ['31-15=16', '99-12=87']
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,93 unequal: No Solution
Exploring Operation: 16+87=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 16*87=1392, Resulting Numbers: [1392]
1392,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[16, 111], Operations: ['31-15=16', '99+12=111']
Exploring Operation: 16+111=127, Resulting Numbers: [127]
127,93 unequal: No Solution
Exploring Operation: 16*111=1776, Resulting Numbers: [1776]
1776,93 unequal: No Solution
Exploring Operation: 111-16=95, Resulting Numbers: [95]
95,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
33,
33,
2,
92
] | 79 | [
"33+33=66",
"92+66=158",
"158/2=79"
] | Current State: 79:[33, 33, 2, 92], Operations: []
Exploring Operation: 33+33=66, Resulting Numbers: [2, 92, 66]
Generated Node #2: [2, 92, 66] from Operation: 33+33=66
Current State: 79:[2, 92, 66], Operations: ['33+33=66']
Exploring Operation: 92+66=158, Resulting Numbers: [2, 158]
Generated Node #3: [2, 158] from Operation: 92+66=158
Current State: 79:[2, 158], Operations: ['33+33=66', '92+66=158']
Exploring Operation: 158/2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[33, 33, 2, 92], Operations: []
Exploring Operation: 33*2=66, Resulting Numbers: [33, 92, 66]
Generated Node #0,0: 79:[33, 92, 66] Operation: 33*2=66
Exploring Operation: 33*2=66, Resulting Numbers: [33, 92, 66]
Generated Node #0,1: 79:[33, 92, 66] Operation: 33*2=66
Moving to Node #0,0
Current State: 79:[33, 92, 66], Operations: ['33*2=66']
Exploring Operation: 33+66=99, Resulting Numbers: [92, 99]
Generated Node #0,0,0: 79:[92, 99] Operation: 33+66=99
Exploring Operation: 92-33=59, Resulting Numbers: [66, 59]
Generated Node #0,0,1: 79:[66, 59] Operation: 92-33=59
Moving to Node #0,1
Current State: 79:[33, 92, 66], Operations: ['33*2=66']
Exploring Operation: 92-33=59, Resulting Numbers: [66, 59]
Generated Node #0,1,0: 79:[66, 59] Operation: 92-33=59
Exploring Operation: 33+66=99, Resulting Numbers: [92, 99]
Generated Node #0,1,1: 79:[92, 99] Operation: 33+66=99
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[66, 59], Operations: ['33*2=66', '92-33=59']
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 66+59=125, Resulting Numbers: [125]
125,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[92, 99], Operations: ['33*2=66', '33+66=99']
Exploring Operation: 92+99=191, Resulting Numbers: [191]
191,79 unequal: No Solution
Exploring Operation: 99-92=7, Resulting Numbers: [7]
7,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 79:[92, 99], Operations: ['33*2=66', '33+66=99']
Exploring Operation: 92+99=191, Resulting Numbers: [191]
191,79 unequal: No Solution
Exploring Operation: 99-92=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[66, 59], Operations: ['33*2=66', '92-33=59']
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 66+59=125, Resulting Numbers: [125]
125,79 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
73,
52,
63,
30
] | 92 | [
"73+52=125",
"63-30=33",
"125-33=92"
] | Current State: 92:[73, 52, 63, 30], Operations: []
Exploring Operation: 73+52=125, Resulting Numbers: [63, 30, 125]
Generated Node #2: [63, 30, 125] from Operation: 73+52=125
Current State: 92:[63, 30, 125], Operations: ['73+52=125']
Exploring Operation: 63-30=33, Resulting Numbers: [125, 33]
Generated Node #3: [125, 33] from Operation: 63-30=33
Current State: 92:[125, 33], Operations: ['73+52=125', '63-30=33']
Exploring Operation: 125-33=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[73, 52, 63, 30], Operations: []
Exploring Operation: 73-63=10, Resulting Numbers: [52, 30, 10]
Generated Node #0,0: 92:[52, 30, 10] Operation: 73-63=10
Exploring Operation: 73-52=21, Resulting Numbers: [63, 30, 21]
Generated Node #0,1: 92:[63, 30, 21] Operation: 73-52=21
Moving to Node #0,0
Current State: 92:[52, 30, 10], Operations: ['73-63=10']
Exploring Operation: 52-30=22, Resulting Numbers: [10, 22]
Generated Node #0,0,0: 92:[10, 22] Operation: 52-30=22
Exploring Operation: 30/10=3, Resulting Numbers: [52, 3]
Generated Node #0,0,1: 92:[52, 3] Operation: 30/10=3
Moving to Node #0,1
Current State: 92:[63, 30, 21], Operations: ['73-52=21']
Exploring Operation: 63+30=93, Resulting Numbers: [21, 93]
Generated Node #0,1,0: 92:[21, 93] Operation: 63+30=93
Exploring Operation: 63/21=3, Resulting Numbers: [30, 3]
Generated Node #0,1,1: 92:[30, 3] Operation: 63/21=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[21, 93], Operations: ['73-52=21', '63+30=93']
Exploring Operation: 21+93=114, Resulting Numbers: [114]
114,92 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[30, 3], Operations: ['73-52=21', '63/21=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 92:[10, 22], Operations: ['73-63=10', '52-30=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[52, 3], Operations: ['73-63=10', '30/10=3']
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
77,
17,
2
] | 90 | [
"86+77=163",
"17+163=180",
"180/2=90"
] | Current State: 90:[86, 77, 17, 2], Operations: []
Exploring Operation: 86+77=163, Resulting Numbers: [17, 2, 163]
Generated Node #2: [17, 2, 163] from Operation: 86+77=163
Current State: 90:[17, 2, 163], Operations: ['86+77=163']
Exploring Operation: 17+163=180, Resulting Numbers: [2, 180]
Generated Node #3: [2, 180] from Operation: 17+163=180
Current State: 90:[2, 180], Operations: ['86+77=163', '17+163=180']
Exploring Operation: 180/2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[86, 77, 17, 2], Operations: []
Exploring Operation: 86+2=88, Resulting Numbers: [77, 17, 88]
Generated Node #0,0: 90:[77, 17, 88] Operation: 86+2=88
Exploring Operation: 77+17=94, Resulting Numbers: [86, 2, 94]
Generated Node #0,1: 90:[86, 2, 94] Operation: 77+17=94
Exploring Operation: 86-77=9, Resulting Numbers: [17, 2, 9]
Generated Node #0,2: 90:[17, 2, 9] Operation: 86-77=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[17, 2, 9], Operations: ['86-77=9']
Exploring Operation: 17-9=8, Resulting Numbers: [2, 8]
Generated Node #0,2,0: 90:[2, 8] Operation: 17-9=8
Exploring Operation: 17-2=15, Resulting Numbers: [9, 15]
Generated Node #0,2,1: 90:[9, 15] Operation: 17-2=15
Exploring Operation: 17+2=19, Resulting Numbers: [9, 19]
Generated Node #0,2,2: 90:[9, 19] Operation: 17+2=19
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[9, 15], Operations: ['86-77=9', '17-2=15']
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,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,0
Current State: 90:[2, 8], Operations: ['86-77=9', '17-9=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,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:[9, 19], Operations: ['86-77=9', '17+2=19']
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,90 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,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,1
Current State: 90:[86, 2, 94], Operations: ['77+17=94']
Exploring Operation: 94-86=8, Resulting Numbers: [2, 8]
Generated Node #0,1,0: 90:[2, 8] Operation: 94-86=8
Exploring Operation: 86/2=43, Resulting Numbers: [94, 43]
Generated Node #0,1,1: 90:[94, 43] Operation: 86/2=43
Exploring Operation: 86+2=88, Resulting Numbers: [94, 88]
Generated Node #0,1,2: 90:[94, 88] Operation: 86+2=88
Moving to Node #0,1,0
Current State: 90:[2, 8], Operations: ['77+17=94', '94-86=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[94, 43], Operations: ['77+17=94', '86/2=43']
Exploring Operation: 94+43=137, Resulting Numbers: [137]
137,90 unequal: No Solution
Exploring Operation: 94-43=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 94*43=4042, Resulting Numbers: [4042]
4042,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[94, 88], Operations: ['77+17=94', '86+2=88']
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 94+88=182, Resulting Numbers: [182]
182,90 unequal: No Solution
Exploring Operation: 94*88=8272, Resulting Numbers: [8272]
8272,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[77, 17, 88], Operations: ['86+2=88']
Exploring Operation: 77-17=60, Resulting Numbers: [88, 60]
Generated Node #0,0,0: 90:[88, 60] Operation: 77-17=60
Exploring Operation: 88-77=11, Resulting Numbers: [17, 11]
Generated Node #0,0,1: 90:[17, 11] Operation: 88-77=11
Exploring Operation: 77+17=94, Resulting Numbers: [88, 94]
Generated Node #0,0,2: 90:[88, 94] Operation: 77+17=94
Moving to Node #0,0,1
Current State: 90:[17, 11], Operations: ['86+2=88', '88-77=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,90 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[88, 94], Operations: ['86+2=88', '77+17=94']
Exploring Operation: 88+94=182, Resulting Numbers: [182]
182,90 unequal: No Solution
Exploring Operation: 88*94=8272, Resulting Numbers: [8272]
8272,90 unequal: No Solution
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[88, 60], Operations: ['86+2=88', '77-17=60']
Exploring Operation: 88*60=5280, Resulting Numbers: [5280]
5280,90 unequal: No Solution
Exploring Operation: 88+60=148, Resulting Numbers: [148]
148,90 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,90 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 |
[
14,
55,
2,
55
] | 41 | [
"14+55=69",
"2*55=110",
"110-69=41"
] | Current State: 41:[14, 55, 2, 55], Operations: []
Exploring Operation: 14+55=69, Resulting Numbers: [2, 69]
Generated Node #2: [2, 69] from Operation: 14+55=69
Current State: 41:[2, 69], Operations: ['14+55=69']
Exploring Operation: 2*55=110, Resulting Numbers: [69, 110]
Generated Node #3: [69, 110] from Operation: 2*55=110
Current State: 41:[69, 110], Operations: ['14+55=69', '2*55=110']
Exploring Operation: 110-69=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[14, 55, 2, 55], Operations: []
Exploring Operation: 55-14=41, Resulting Numbers: [2, 55, 41]
Generated Node #0,0: 41:[2, 55, 41] Operation: 55-14=41
Exploring Operation: 14*2=28, Resulting Numbers: [55, 55, 28]
Generated Node #0,1: 41:[55, 55, 28] Operation: 14*2=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[55, 55, 28], Operations: ['14*2=28']
Exploring Operation: 55-28=27, Resulting Numbers: [55, 27]
Generated Node #0,1,0: 41:[55, 27] Operation: 55-28=27
Exploring Operation: 55-28=27, Resulting Numbers: [55, 27]
Generated Node #0,1,1: 41:[55, 27] Operation: 55-28=27
Moving to Node #0,1,0
Current State: 41:[55, 27], Operations: ['14*2=28', '55-28=27']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[55, 27], Operations: ['14*2=28', '55-28=27']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,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,0
Current State: 41:[2, 55, 41], Operations: ['55-14=41']
Exploring Operation: 2+55=57, Resulting Numbers: [41, 57]
Generated Node #0,0,0: 41:[41, 57] Operation: 2+55=57
Exploring Operation: 55-2=53, Resulting Numbers: [41, 53]
Generated Node #0,0,1: 41:[41, 53] Operation: 55-2=53
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[41, 53], Operations: ['55-14=41', '55-2=53']
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 41+53=94, Resulting Numbers: [94]
94,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,0
Current State: 41:[41, 57], Operations: ['55-14=41', '2+55=57']
Exploring Operation: 41+57=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
76,
78,
10,
72
] | 67 | [
"78-76=2",
"10/2=5",
"72-5=67"
] | Current State: 67:[76, 78, 10, 72], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [10, 72, 2]
Generated Node #2: [10, 72, 2] from Operation: 78-76=2
Current State: 67:[10, 72, 2], Operations: ['78-76=2']
Exploring Operation: 10/2=5, Resulting Numbers: [72, 5]
Generated Node #3: [72, 5] from Operation: 10/2=5
Current State: 67:[72, 5], Operations: ['78-76=2', '10/2=5']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[76, 78, 10, 72], Operations: []
Exploring Operation: 78-10=68, Resulting Numbers: [76, 72, 68]
Generated Node #0,0: 67:[76, 72, 68] Operation: 78-10=68
Exploring Operation: 76-10=66, Resulting Numbers: [78, 72, 66]
Generated Node #0,1: 67:[78, 72, 66] Operation: 76-10=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[76, 72, 68], Operations: ['78-10=68']
Exploring Operation: 76-72=4, Resulting Numbers: [68, 4]
Generated Node #0,0,0: 67:[68, 4] Operation: 76-72=4
Exploring Operation: 76-68=8, Resulting Numbers: [72, 8]
Generated Node #0,0,1: 67:[72, 8] Operation: 76-68=8
Moving to Node #0,0,0
Current State: 67:[68, 4], Operations: ['78-10=68', '76-72=4']
Exploring Operation: 68+4=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[72, 8], Operations: ['78-10=68', '76-68=8']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[78, 72, 66], Operations: ['76-10=66']
Exploring Operation: 78-66=12, Resulting Numbers: [72, 12]
Generated Node #0,1,0: 67:[72, 12] Operation: 78-66=12
Exploring Operation: 78-72=6, Resulting Numbers: [66, 6]
Generated Node #0,1,1: 67:[66, 6] Operation: 78-72=6
Moving to Node #0,1,0
Current State: 67:[72, 12], Operations: ['76-10=66', '78-66=12']
Exploring Operation: 72+12=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[66, 6], Operations: ['76-10=66', '78-72=6']
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,67 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 |
[
52,
78,
23,
25
] | 22 | [
"78-52=26",
"23+25=48",
"48-26=22"
] | Current State: 22:[52, 78, 23, 25], Operations: []
Exploring Operation: 78-52=26, Resulting Numbers: [23, 25, 26]
Generated Node #2: [23, 25, 26] from Operation: 78-52=26
Current State: 22:[23, 25, 26], Operations: ['78-52=26']
Exploring Operation: 23+25=48, Resulting Numbers: [26, 48]
Generated Node #3: [26, 48] from Operation: 23+25=48
Current State: 22:[26, 48], Operations: ['78-52=26', '23+25=48']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[52, 78, 23, 25], Operations: []
Exploring Operation: 52-25=27, Resulting Numbers: [78, 23, 27]
Generated Node #0,0: 22:[78, 23, 27] Operation: 52-25=27
Exploring Operation: 78-52=26, Resulting Numbers: [23, 25, 26]
Generated Node #0,1: 22:[23, 25, 26] Operation: 78-52=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[23, 25, 26], Operations: ['78-52=26']
Exploring Operation: 25-23=2, Resulting Numbers: [26, 2]
Generated Node #0,1,0: 22:[26, 2] Operation: 25-23=2
Exploring Operation: 26-25=1, Resulting Numbers: [23, 1]
Generated Node #0,1,1: 22:[23, 1] Operation: 26-25=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[23, 1], Operations: ['78-52=26', '26-25=1']
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[52, 78, 23, 25], Operations: []
Exploring Operation: 78-52=26, Resulting Numbers: [23, 25, 26]
Generated Node #0,1: 22:[23, 25, 26] Operation: 78-52=26
Moving to Node #0,1
Current State: 22:[23, 25, 26], Operations: ['78-52=26']
Exploring Operation: 26-25=1, Resulting Numbers: [23, 1]
Generated Node #0,1,1: 22:[23, 1] Operation: 26-25=1
Moving to Node #0,1,1
Current State: 22:[23, 1], Operations: ['78-52=26', '26-25=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
36,
87,
55,
38
] | 23 | [
"38-36=2",
"55*2=110",
"110-87=23"
] | Current State: 23:[36, 87, 55, 38], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [87, 55, 2]
Generated Node #2: [87, 55, 2] from Operation: 38-36=2
Current State: 23:[87, 55, 2], Operations: ['38-36=2']
Exploring Operation: 55*2=110, Resulting Numbers: [87, 110]
Generated Node #3: [87, 110] from Operation: 55*2=110
Current State: 23:[87, 110], Operations: ['38-36=2', '55*2=110']
Exploring Operation: 110-87=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[36, 87, 55, 38], Operations: []
Exploring Operation: 87-55=32, Resulting Numbers: [36, 38, 32]
Generated Node #0,0: 23:[36, 38, 32] Operation: 87-55=32
Exploring Operation: 87-38=49, Resulting Numbers: [36, 55, 49]
Generated Node #0,1: 23:[36, 55, 49] Operation: 87-38=49
Exploring Operation: 55-36=19, Resulting Numbers: [87, 38, 19]
Generated Node #0,2: 23:[87, 38, 19] Operation: 55-36=19
Exploring Operation: 87-36=51, Resulting Numbers: [55, 38, 51]
Generated Node #0,3: 23:[55, 38, 51] Operation: 87-36=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[36, 38, 32], Operations: ['87-55=32']
Exploring Operation: 38-32=6, Resulting Numbers: [36, 6]
Generated Node #0,0,0: 23:[36, 6] Operation: 38-32=6
Exploring Operation: 36+38=74, Resulting Numbers: [32, 74]
Generated Node #0,0,1: 23:[32, 74] Operation: 36+38=74
Exploring Operation: 36-32=4, Resulting Numbers: [38, 4]
Generated Node #0,0,2: 23:[38, 4] Operation: 36-32=4
Exploring Operation: 38-36=2, Resulting Numbers: [32, 2]
Generated Node #0,0,3: 23:[32, 2] Operation: 38-36=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[36, 6], Operations: ['87-55=32', '38-32=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,23 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 23:[32, 2], Operations: ['87-55=32', '38-36=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[38, 4], Operations: ['87-55=32', '36-32=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,23 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[32, 74], Operations: ['87-55=32', '36+38=74']
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 32+74=106, Resulting Numbers: [106]
106,23 unequal: No Solution
Exploring Operation: 32*74=2368, Resulting Numbers: [2368]
2368,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[36, 55, 49], Operations: ['87-38=49']
Exploring Operation: 36+55=91, Resulting Numbers: [49, 91]
Generated Node #0,1,0: 23:[49, 91] Operation: 36+55=91
Exploring Operation: 55-49=6, Resulting Numbers: [36, 6]
Generated Node #0,1,1: 23:[36, 6] Operation: 55-49=6
Exploring Operation: 49-36=13, Resulting Numbers: [55, 13]
Generated Node #0,1,2: 23:[55, 13] Operation: 49-36=13
Exploring Operation: 55-36=19, Resulting Numbers: [49, 19]
Generated Node #0,1,3: 23:[49, 19] Operation: 55-36=19
Moving to Node #0,1,1
Current State: 23:[36, 6], Operations: ['87-38=49', '55-49=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,23 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[49, 19], Operations: ['87-38=49', '55-36=19']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 49+19=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Exploring Operation: 49*19=931, Resulting Numbers: [931]
931,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[55, 13], Operations: ['87-38=49', '49-36=13']
Exploring Operation: 55+13=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Exploring Operation: 55*13=715, Resulting Numbers: [715]
715,23 unequal: No Solution
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[49, 91], Operations: ['87-38=49', '36+55=91']
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 49+91=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 49*91=4459, Resulting Numbers: [4459]
4459,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
Current State: 23:[55, 38, 51], Operations: ['87-36=51']
Exploring Operation: 55-51=4, Resulting Numbers: [38, 4]
Generated Node #0,3,0: 23:[38, 4] Operation: 55-51=4
Exploring Operation: 55+38=93, Resulting Numbers: [51, 93]
Generated Node #0,3,1: 23:[51, 93] Operation: 55+38=93
Exploring Operation: 55-38=17, Resulting Numbers: [51, 17]
Generated Node #0,3,2: 23:[51, 17] Operation: 55-38=17
Exploring Operation: 51-38=13, Resulting Numbers: [55, 13]
Generated Node #0,3,3: 23:[55, 13] Operation: 51-38=13
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 23:[38, 4], Operations: ['87-36=51', '55-51=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,23 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 23:[51, 17], Operations: ['87-36=51', '55-38=17']
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,23 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 23:[55, 13], Operations: ['87-36=51', '51-38=13']
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 55+13=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Exploring Operation: 55*13=715, Resulting Numbers: [715]
715,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 23:[51, 93], Operations: ['87-36=51', '55+38=93']
Exploring Operation: 51+93=144, Resulting Numbers: [144]
144,23 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 51*93=4743, Resulting Numbers: [4743]
4743,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[87, 38, 19], Operations: ['55-36=19']
Exploring Operation: 38-19=19, Resulting Numbers: [87, 19]
Generated Node #0,2,0: 23:[87, 19] Operation: 38-19=19
Exploring Operation: 38/19=2, Resulting Numbers: [87, 2]
Generated Node #0,2,1: 23:[87, 2] Operation: 38/19=2
Exploring Operation: 87-38=49, Resulting Numbers: [19, 49]
Generated Node #0,2,2: 23:[19, 49] Operation: 87-38=49
Exploring Operation: 87-19=68, Resulting Numbers: [38, 68]
Generated Node #0,2,3: 23:[38, 68] Operation: 87-19=68
Moving to Node #0,2,2
Current State: 23:[19, 49], Operations: ['55-36=19', '87-38=49']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[38, 68], Operations: ['55-36=19', '87-19=68']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 38*68=2584, Resulting Numbers: [2584]
2584,23 unequal: No Solution
Exploring Operation: 38+68=106, Resulting Numbers: [106]
106,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[87, 19], Operations: ['55-36=19', '38-19=19']
Exploring Operation: 87*19=1653, Resulting Numbers: [1653]
1653,23 unequal: No Solution
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Exploring Operation: 87+19=106, Resulting Numbers: [106]
106,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[87, 2], Operations: ['55-36=19', '38/19=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,23 unequal: No Solution
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,23 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
43,
27,
7,
2
] | 18 | [
"43-27=16",
"16-7=9",
"2*9=18"
] | Current State: 18:[43, 27, 7, 2], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [7, 2, 16]
Generated Node #2: [7, 2, 16] from Operation: 43-27=16
Current State: 18:[7, 2, 16], Operations: ['43-27=16']
Exploring Operation: 16-7=9, Resulting Numbers: [2, 9]
Generated Node #3: [2, 9] from Operation: 16-7=9
Current State: 18:[2, 9], Operations: ['43-27=16', '16-7=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[43, 27, 7, 2], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [7, 2, 16]
Generated Node #0,0: 18:[7, 2, 16] Operation: 43-27=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[7, 2, 16], Operations: ['43-27=16']
Exploring Operation: 16-7=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 18:[2, 9] Operation: 16-7=9
Moving to Node #0,0,0
Current State: 18:[2, 9], Operations: ['43-27=16', '16-7=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[43, 27, 7, 2], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [7, 2, 16]
Generated Node #0,0: 18:[7, 2, 16] Operation: 43-27=16
Moving to Node #0,0
Current State: 18:[7, 2, 16], Operations: ['43-27=16']
Exploring Operation: 16-7=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 18:[2, 9] Operation: 16-7=9
Moving to Node #0,0,0
Current State: 18:[2, 9], Operations: ['43-27=16', '16-7=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
88,
67,
36,
48
] | 48 | [
"88*36=3168",
"67*48=3216",
"3216-3168=48"
] | Current State: 48:[88, 67, 36, 48], Operations: []
Exploring Operation: 88*36=3168, Resulting Numbers: [67, 48, 3168]
Generated Node #2: [67, 48, 3168] from Operation: 88*36=3168
Current State: 48:[67, 48, 3168], Operations: ['88*36=3168']
Exploring Operation: 67*48=3216, Resulting Numbers: [3168, 3216]
Generated Node #3: [3168, 3216] from Operation: 67*48=3216
Current State: 48:[3168, 3216], Operations: ['88*36=3168', '67*48=3216']
Exploring Operation: 3216-3168=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[88, 67, 36, 48], Operations: []
Exploring Operation: 88-67=21, Resulting Numbers: [36, 48, 21]
Generated Node #0,0: 48:[36, 48, 21] Operation: 88-67=21
Exploring Operation: 88-48=40, Resulting Numbers: [67, 36, 40]
Generated Node #0,1: 48:[67, 36, 40] Operation: 88-48=40
Exploring Operation: 88-36=52, Resulting Numbers: [67, 48, 52]
Generated Node #0,2: 48:[67, 48, 52] Operation: 88-36=52
Moving to Node #0,0
Current State: 48:[36, 48, 21], Operations: ['88-67=21']
Exploring Operation: 36-21=15, Resulting Numbers: [48, 15]
Generated Node #0,0,0: 48:[48, 15] Operation: 36-21=15
Exploring Operation: 36+21=57, Resulting Numbers: [48, 57]
Generated Node #0,0,1: 48:[48, 57] Operation: 36+21=57
Exploring Operation: 48-36=12, Resulting Numbers: [21, 12]
Generated Node #0,0,2: 48:[21, 12] Operation: 48-36=12
Moving to Node #0,2
Current State: 48:[67, 48, 52], Operations: ['88-36=52']
Exploring Operation: 67-52=15, Resulting Numbers: [48, 15]
Generated Node #0,2,0: 48:[48, 15] Operation: 67-52=15
Exploring Operation: 67-48=19, Resulting Numbers: [52, 19]
Generated Node #0,2,1: 48:[52, 19] Operation: 67-48=19
Exploring Operation: 52-48=4, Resulting Numbers: [67, 4]
Generated Node #0,2,2: 48:[67, 4] Operation: 52-48=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[48, 15], Operations: ['88-36=52', '67-52=15']
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,48 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[52, 19], Operations: ['88-36=52', '67-48=19']
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[67, 4], Operations: ['88-36=52', '52-48=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,48 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,48 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: 48:[67, 36, 40], Operations: ['88-48=40']
Exploring Operation: 67-40=27, Resulting Numbers: [36, 27]
Generated Node #0,1,0: 48:[36, 27] Operation: 67-40=27
Exploring Operation: 40-36=4, Resulting Numbers: [67, 4]
Generated Node #0,1,1: 48:[67, 4] Operation: 40-36=4
Exploring Operation: 67-36=31, Resulting Numbers: [40, 31]
Generated Node #0,1,2: 48:[40, 31] Operation: 67-36=31
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[36, 27], Operations: ['88-48=40', '67-40=27']
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[40, 31], Operations: ['88-48=40', '67-36=31']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,48 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[67, 4], Operations: ['88-48=40', '40-36=4']
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,48 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 48:[48, 15], Operations: ['88-67=21', '36-21=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,48 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[21, 12], Operations: ['88-67=21', '48-36=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,48 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[48, 57], Operations: ['88-67=21', '36+21=57']
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,48 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,48 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
40,
32,
60
] | 63 | [
"32+60=92",
"92/4=23",
"40+23=63"
] | Current State: 63:[4, 40, 32, 60], Operations: []
Exploring Operation: 32+60=92, Resulting Numbers: [4, 40, 92]
Generated Node #2: [4, 40, 92] from Operation: 32+60=92
Current State: 63:[4, 40, 92], Operations: ['32+60=92']
Exploring Operation: 92/4=23, Resulting Numbers: [40, 23]
Generated Node #3: [40, 23] from Operation: 92/4=23
Current State: 63:[40, 23], Operations: ['32+60=92', '92/4=23']
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[4, 40, 32, 60], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [4, 60, 8]
Generated Node #0,0: 63:[4, 60, 8] Operation: 40-32=8
Moving to Node #0,0
Current State: 63:[4, 60, 8], Operations: ['40-32=8']
Exploring Operation: 4+60=64, Resulting Numbers: [8, 64]
Generated Node #0,0,0: 63:[8, 64] Operation: 4+60=64
Moving to Node #0,0,0
Current State: 63:[8, 64], Operations: ['40-32=8', '4+60=64']
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,63 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
90,
92,
33,
53
] | 18 | [
"92-90=2",
"53-33=20",
"20-2=18"
] | Current State: 18:[90, 92, 33, 53], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [33, 53, 2]
Generated Node #2: [33, 53, 2] from Operation: 92-90=2
Current State: 18:[33, 53, 2], Operations: ['92-90=2']
Exploring Operation: 53-33=20, Resulting Numbers: [2, 20]
Generated Node #3: [2, 20] from Operation: 53-33=20
Current State: 18:[2, 20], Operations: ['92-90=2', '53-33=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[90, 92, 33, 53], Operations: []
Exploring Operation: 92-53=39, Resulting Numbers: [90, 33, 39]
Generated Node #0,0: 18:[90, 33, 39] Operation: 92-53=39
Exploring Operation: 90-53=37, Resulting Numbers: [92, 33, 37]
Generated Node #0,1: 18:[92, 33, 37] Operation: 90-53=37
Exploring Operation: 92-90=2, Resulting Numbers: [33, 53, 2]
Generated Node #0,2: 18:[33, 53, 2] Operation: 92-90=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[33, 53, 2], Operations: ['92-90=2']
Exploring Operation: 53-2=51, Resulting Numbers: [33, 51]
Generated Node #0,2,0: 18:[33, 51] Operation: 53-2=51
Exploring Operation: 53-33=20, Resulting Numbers: [2, 20]
Generated Node #0,2,1: 18:[2, 20] Operation: 53-33=20
Exploring Operation: 33-2=31, Resulting Numbers: [53, 31]
Generated Node #0,2,2: 18:[53, 31] Operation: 33-2=31
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 18:[2, 20], Operations: ['92-90=2', '53-33=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[90, 92, 33, 53], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [33, 53, 2]
Generated Node #0,2: 18:[33, 53, 2] Operation: 92-90=2
Moving to Node #0,2
Current State: 18:[33, 53, 2], Operations: ['92-90=2']
Exploring Operation: 53-33=20, Resulting Numbers: [2, 20]
Generated Node #0,2,1: 18:[2, 20] Operation: 53-33=20
Moving to Node #0,2,1
Current State: 18:[2, 20], Operations: ['92-90=2', '53-33=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
36,
2,
45,
41
] | 28 | [
"45-41=4",
"2*4=8",
"36-8=28"
] | Current State: 28:[36, 2, 45, 41], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [36, 2, 4]
Generated Node #2: [36, 2, 4] from Operation: 45-41=4
Current State: 28:[36, 2, 4], Operations: ['45-41=4']
Exploring Operation: 2*4=8, Resulting Numbers: [36, 8]
Generated Node #3: [36, 8] from Operation: 2*4=8
Current State: 28:[36, 8], Operations: ['45-41=4', '2*4=8']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[36, 2, 45, 41], Operations: []
Exploring Operation: 41-36=5, Resulting Numbers: [2, 45, 5]
Generated Node #0,0: 28:[2, 45, 5] Operation: 41-36=5
Exploring Operation: 36/2=18, Resulting Numbers: [45, 41, 18]
Generated Node #0,1: 28:[45, 41, 18] Operation: 36/2=18
Exploring Operation: 45-41=4, Resulting Numbers: [36, 2, 4]
Generated Node #0,2: 28:[36, 2, 4] Operation: 45-41=4
Exploring Operation: 45-36=9, Resulting Numbers: [2, 41, 9]
Generated Node #0,3: 28:[2, 41, 9] Operation: 45-36=9
Moving to Node #0,2
Current State: 28:[36, 2, 4], Operations: ['45-41=4']
Exploring Operation: 36/2=18, Resulting Numbers: [4, 18]
Generated Node #0,2,0: 28:[4, 18] Operation: 36/2=18
Exploring Operation: 36/4=9, Resulting Numbers: [2, 9]
Generated Node #0,2,1: 28:[2, 9] Operation: 36/4=9
Exploring Operation: 36-2=34, Resulting Numbers: [4, 34]
Generated Node #0,2,2: 28:[4, 34] Operation: 36-2=34
Exploring Operation: 36-4=32, Resulting Numbers: [2, 32]
Generated Node #0,2,3: 28:[2, 32] Operation: 36-4=32
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[2, 9], Operations: ['45-41=4', '36/4=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,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,2,0
Current State: 28:[4, 18], Operations: ['45-41=4', '36/2=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,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,2,3
Current State: 28:[2, 32], Operations: ['45-41=4', '36-4=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,28 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,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,2,2
Current State: 28:[4, 34], Operations: ['45-41=4', '36-2=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,28 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,28 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: 28:[2, 41, 9], Operations: ['45-36=9']
Exploring Operation: 41-2=39, Resulting Numbers: [9, 39]
Generated Node #0,3,0: 28:[9, 39] Operation: 41-2=39
Exploring Operation: 41-9=32, Resulting Numbers: [2, 32]
Generated Node #0,3,1: 28:[2, 32] Operation: 41-9=32
Exploring Operation: 9-2=7, Resulting Numbers: [41, 7]
Generated Node #0,3,2: 28:[41, 7] Operation: 9-2=7
Exploring Operation: 2+9=11, Resulting Numbers: [41, 11]
Generated Node #0,3,3: 28:[41, 11] Operation: 2+9=11
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[2, 32], Operations: ['45-36=9', '41-9=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,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,0
Current State: 28:[9, 39], Operations: ['45-36=9', '41-2=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,28 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,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:[41, 7], Operations: ['45-36=9', '9-2=7']
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,28 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,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:[41, 11], Operations: ['45-36=9', '2+9=11']
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,28 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,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:[2, 45, 5], Operations: ['41-36=5']
Exploring Operation: 45/5=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 28:[2, 9] Operation: 45/5=9
Exploring Operation: 45-5=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 28:[2, 40] Operation: 45-5=40
Exploring Operation: 2+5=7, Resulting Numbers: [45, 7]
Generated Node #0,0,2: 28:[45, 7] Operation: 2+5=7
Exploring Operation: 45-2=43, Resulting Numbers: [5, 43]
Generated Node #0,0,3: 28:[5, 43] Operation: 45-2=43
Moving to Node #0,1
Current State: 28:[45, 41, 18], Operations: ['36/2=18']
Exploring Operation: 45+18=63, Resulting Numbers: [41, 63]
Generated Node #0,1,0: 28:[41, 63] Operation: 45+18=63
Exploring Operation: 45-41=4, Resulting Numbers: [18, 4]
Generated Node #0,1,1: 28:[18, 4] Operation: 45-41=4
Exploring Operation: 45-18=27, Resulting Numbers: [41, 27]
Generated Node #0,1,2: 28:[41, 27] Operation: 45-18=27
Exploring Operation: 41-18=23, Resulting Numbers: [45, 23]
Generated Node #0,1,3: 28:[45, 23] Operation: 41-18=23
Moving to Node #0,0,0
Current State: 28:[2, 9], Operations: ['41-36=5', '45/5=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[18, 4], Operations: ['36/2=18', '45-41=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[2, 40], Operations: ['41-36=5', '45-5=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[41, 27], Operations: ['36/2=18', '45-18=27']
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,28 unequal: No Solution
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[5, 43], Operations: ['41-36=5', '45-2=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,28 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[45, 7], Operations: ['41-36=5', '2+5=7']
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,28 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[45, 23], Operations: ['36/2=18', '41-18=23']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,28 unequal: No Solution
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[41, 63], Operations: ['36/2=18', '45+18=63']
Exploring Operation: 41*63=2583, Resulting Numbers: [2583]
2583,28 unequal: No Solution
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 41+63=104, Resulting Numbers: [104]
104,28 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
88,
36,
98,
8
] | 51 | [
"88/8=11",
"98-36=62",
"62-11=51"
] | Current State: 51:[88, 36, 98, 8], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [36, 98, 11]
Generated Node #2: [36, 98, 11] from Operation: 88/8=11
Current State: 51:[36, 98, 11], Operations: ['88/8=11']
Exploring Operation: 98-36=62, Resulting Numbers: [11, 62]
Generated Node #3: [11, 62] from Operation: 98-36=62
Current State: 51:[11, 62], Operations: ['88/8=11', '98-36=62']
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[88, 36, 98, 8], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [36, 8, 10]
Generated Node #0,0: 51:[36, 8, 10] Operation: 98-88=10
Exploring Operation: 98-36=62, Resulting Numbers: [88, 8, 62]
Generated Node #0,1: 51:[88, 8, 62] Operation: 98-36=62
Exploring Operation: 88/8=11, Resulting Numbers: [36, 98, 11]
Generated Node #0,2: 51:[36, 98, 11] Operation: 88/8=11
Exploring Operation: 88-36=52, Resulting Numbers: [98, 8, 52]
Generated Node #0,3: 51:[98, 8, 52] Operation: 88-36=52
Moving to Node #0,0
Current State: 51:[36, 8, 10], Operations: ['98-88=10']
Exploring Operation: 8+10=18, Resulting Numbers: [36, 18]
Generated Node #0,0,0: 51:[36, 18] Operation: 8+10=18
Exploring Operation: 36+8=44, Resulting Numbers: [10, 44]
Generated Node #0,0,1: 51:[10, 44] Operation: 36+8=44
Exploring Operation: 36+10=46, Resulting Numbers: [8, 46]
Generated Node #0,0,2: 51:[8, 46] Operation: 36+10=46
Exploring Operation: 36-10=26, Resulting Numbers: [8, 26]
Generated Node #0,0,3: 51:[8, 26] Operation: 36-10=26
Moving to Node #0,3
Current State: 51:[98, 8, 52], Operations: ['88-36=52']
Exploring Operation: 52-8=44, Resulting Numbers: [98, 44]
Generated Node #0,3,0: 51:[98, 44] Operation: 52-8=44
Exploring Operation: 98-52=46, Resulting Numbers: [8, 46]
Generated Node #0,3,1: 51:[8, 46] Operation: 98-52=46
Exploring Operation: 98-8=90, Resulting Numbers: [52, 90]
Generated Node #0,3,2: 51:[52, 90] Operation: 98-8=90
Exploring Operation: 98+8=106, Resulting Numbers: [52, 106]
Generated Node #0,3,3: 51:[52, 106] Operation: 98+8=106
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 51:[8, 46], Operations: ['88-36=52', '98-52=46']
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 51:[52, 90], Operations: ['88-36=52', '98-8=90']
Exploring Operation: 90-52=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 52+90=142, Resulting Numbers: [142]
142,51 unequal: No Solution
Exploring Operation: 52*90=4680, Resulting Numbers: [4680]
4680,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 51:[98, 44], Operations: ['88-36=52', '52-8=44']
Exploring Operation: 98*44=4312, Resulting Numbers: [4312]
4312,51 unequal: No Solution
Exploring Operation: 98+44=142, Resulting Numbers: [142]
142,51 unequal: No Solution
Exploring Operation: 98-44=54, Resulting Numbers: [54]
54,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 51:[52, 106], Operations: ['88-36=52', '98+8=106']
Exploring Operation: 52+106=158, Resulting Numbers: [158]
158,51 unequal: No Solution
Exploring Operation: 106-52=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 52*106=5512, Resulting Numbers: [5512]
5512,51 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: 51:[88, 8, 62], Operations: ['98-36=62']
Exploring Operation: 88-8=80, Resulting Numbers: [62, 80]
Generated Node #0,1,0: 51:[62, 80] Operation: 88-8=80
Exploring Operation: 62-8=54, Resulting Numbers: [88, 54]
Generated Node #0,1,1: 51:[88, 54] Operation: 62-8=54
Exploring Operation: 88/8=11, Resulting Numbers: [62, 11]
Generated Node #0,1,2: 51:[62, 11] Operation: 88/8=11
Exploring Operation: 88-62=26, Resulting Numbers: [8, 26]
Generated Node #0,1,3: 51:[8, 26] Operation: 88-62=26
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[8, 26], Operations: ['98-36=62', '88-62=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,51 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[62, 11], Operations: ['98-36=62', '88/8=11']
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 62*11=682, Resulting Numbers: [682]
682,51 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[88, 36, 98, 8], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [88, 8, 62]
Generated Node #0,1: 51:[88, 8, 62] Operation: 98-36=62
Moving to Node #0,1
Current State: 51:[88, 8, 62], Operations: ['98-36=62']
Exploring Operation: 88/8=11, Resulting Numbers: [62, 11]
Generated Node #0,1,2: 51:[62, 11] Operation: 88/8=11
Moving to Node #0,1,2
Current State: 51:[62, 11], Operations: ['98-36=62', '88/8=11']
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
26,
59,
4,
24
] | 61 | [
"59-26=33",
"4+24=28",
"33+28=61"
] | Current State: 61:[26, 59, 4, 24], Operations: []
Exploring Operation: 59-26=33, Resulting Numbers: [4, 24, 33]
Generated Node #2: [4, 24, 33] from Operation: 59-26=33
Current State: 61:[4, 24, 33], Operations: ['59-26=33']
Exploring Operation: 4+24=28, Resulting Numbers: [33, 28]
Generated Node #3: [33, 28] from Operation: 4+24=28
Current State: 61:[33, 28], Operations: ['59-26=33', '4+24=28']
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[26, 59, 4, 24], Operations: []
Exploring Operation: 4+24=28, Resulting Numbers: [26, 59, 28]
Generated Node #0,0: 61:[26, 59, 28] Operation: 4+24=28
Exploring Operation: 26+24=50, Resulting Numbers: [59, 4, 50]
Generated Node #0,1: 61:[59, 4, 50] Operation: 26+24=50
Exploring Operation: 26+4=30, Resulting Numbers: [59, 24, 30]
Generated Node #0,2: 61:[59, 24, 30] Operation: 26+4=30
Exploring Operation: 59+4=63, Resulting Numbers: [26, 24, 63]
Generated Node #0,3: 61:[26, 24, 63] Operation: 59+4=63
Exploring Operation: 4*24=96, Resulting Numbers: [26, 59, 96]
Generated Node #0,4: 61:[26, 59, 96] Operation: 4*24=96
Moving to Node #0,0
Current State: 61:[26, 59, 28], Operations: ['4+24=28']
Exploring Operation: 59-26=33, Resulting Numbers: [28, 33]
Generated Node #0,0,0: 61:[28, 33] Operation: 59-26=33
Exploring Operation: 59+28=87, Resulting Numbers: [26, 87]
Generated Node #0,0,1: 61:[26, 87] Operation: 59+28=87
Exploring Operation: 28-26=2, Resulting Numbers: [59, 2]
Generated Node #0,0,2: 61:[59, 2] Operation: 28-26=2
Exploring Operation: 26+59=85, Resulting Numbers: [28, 85]
Generated Node #0,0,3: 61:[28, 85] Operation: 26+59=85
Exploring Operation: 26+28=54, Resulting Numbers: [59, 54]
Generated Node #0,0,4: 61:[59, 54] Operation: 26+28=54
Moving to Node #0,2
Current State: 61:[59, 24, 30], Operations: ['26+4=30']
Exploring Operation: 59-24=35, Resulting Numbers: [30, 35]
Generated Node #0,2,0: 61:[30, 35] Operation: 59-24=35
Exploring Operation: 59+30=89, Resulting Numbers: [24, 89]
Generated Node #0,2,1: 61:[24, 89] Operation: 59+30=89
Exploring Operation: 59+24=83, Resulting Numbers: [30, 83]
Generated Node #0,2,2: 61:[30, 83] Operation: 59+24=83
Exploring Operation: 24+30=54, Resulting Numbers: [59, 54]
Generated Node #0,2,3: 61:[59, 54] Operation: 24+30=54
Exploring Operation: 30-24=6, Resulting Numbers: [59, 6]
Generated Node #0,2,4: 61:[59, 6] Operation: 30-24=6
Moving to Node #0,1
Current State: 61:[59, 4, 50], Operations: ['26+24=50']
Exploring Operation: 59-4=55, Resulting Numbers: [50, 55]
Generated Node #0,1,0: 61:[50, 55] Operation: 59-4=55
Exploring Operation: 4+50=54, Resulting Numbers: [59, 54]
Generated Node #0,1,1: 61:[59, 54] Operation: 4+50=54
Exploring Operation: 50-4=46, Resulting Numbers: [59, 46]
Generated Node #0,1,2: 61:[59, 46] Operation: 50-4=46
Exploring Operation: 59+4=63, Resulting Numbers: [50, 63]
Generated Node #0,1,3: 61:[50, 63] Operation: 59+4=63
Exploring Operation: 59+50=109, Resulting Numbers: [4, 109]
Generated Node #0,1,4: 61:[4, 109] Operation: 59+50=109
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[59, 54], Operations: ['26+24=50', '4+50=54']
Exploring Operation: 59*54=3186, Resulting Numbers: [3186]
3186,61 unequal: No Solution
Exploring Operation: 59+54=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[50, 63], Operations: ['26+24=50', '59+4=63']
Exploring Operation: 50+63=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 50*63=3150, Resulting Numbers: [3150]
3150,61 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[50, 55], Operations: ['26+24=50', '59-4=55']
Exploring Operation: 50*55=2750, Resulting Numbers: [2750]
2750,61 unequal: No Solution
Exploring Operation: 50+55=105, Resulting Numbers: [105]
105,61 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[59, 46], Operations: ['26+24=50', '50-4=46']
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 59*46=2714, Resulting Numbers: [2714]
2714,61 unequal: No Solution
Exploring Operation: 59+46=105, Resulting Numbers: [105]
105,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 61:[4, 109], Operations: ['26+24=50', '59+50=109']
Exploring Operation: 4+109=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 4*109=436, Resulting Numbers: [436]
436,61 unequal: No Solution
Exploring Operation: 109-4=105, Resulting Numbers: [105]
105,61 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: 61:[26, 59, 96], Operations: ['4*24=96']
Exploring Operation: 26+96=122, Resulting Numbers: [59, 122]
Generated Node #0,4,0: 61:[59, 122] Operation: 26+96=122
Exploring Operation: 96-26=70, Resulting Numbers: [59, 70]
Generated Node #0,4,1: 61:[59, 70] Operation: 96-26=70
Exploring Operation: 59-26=33, Resulting Numbers: [96, 33]
Generated Node #0,4,2: 61:[96, 33] Operation: 59-26=33
Exploring Operation: 26+59=85, Resulting Numbers: [96, 85]
Generated Node #0,4,3: 61:[96, 85] Operation: 26+59=85
Exploring Operation: 96-59=37, Resulting Numbers: [26, 37]
Generated Node #0,4,4: 61:[26, 37] Operation: 96-59=37
Moving to Node #0,3
Current State: 61:[26, 24, 63], Operations: ['59+4=63']
Exploring Operation: 26-24=2, Resulting Numbers: [63, 2]
Generated Node #0,3,0: 61:[63, 2] Operation: 26-24=2
Exploring Operation: 63-26=37, Resulting Numbers: [24, 37]
Generated Node #0,3,1: 61:[24, 37] Operation: 63-26=37
Exploring Operation: 26+24=50, Resulting Numbers: [63, 50]
Generated Node #0,3,2: 61:[63, 50] Operation: 26+24=50
Exploring Operation: 24+63=87, Resulting Numbers: [26, 87]
Generated Node #0,3,3: 61:[26, 87] Operation: 24+63=87
Exploring Operation: 63-24=39, Resulting Numbers: [26, 39]
Generated Node #0,3,4: 61:[26, 39] Operation: 63-24=39
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 61:[63, 50], Operations: ['59+4=63', '26+24=50']
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 63*50=3150, Resulting Numbers: [3150]
3150,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 61:[26, 39], Operations: ['59+4=63', '63-24=39']
Exploring Operation: 26*39=1014, Resulting Numbers: [1014]
1014,61 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 26+39=65, Resulting Numbers: [65]
65,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[63, 2], Operations: ['59+4=63', '26-24=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[26, 59, 4, 24], Operations: []
Exploring Operation: 59+4=63, Resulting Numbers: [26, 24, 63]
Generated Node #0,3: 61:[26, 24, 63] Operation: 59+4=63
Moving to Node #0,3
Current State: 61:[26, 24, 63], Operations: ['59+4=63']
Exploring Operation: 26-24=2, Resulting Numbers: [63, 2]
Generated Node #0,3,0: 61:[63, 2] Operation: 26-24=2
Moving to Node #0,3,0
Current State: 61:[63, 2], Operations: ['59+4=63', '26-24=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | sum_heuristic |
[
19,
1,
18,
27
] | 54 | [
"19+1=20",
"20-18=2",
"27*2=54"
] | Current State: 54:[19, 1, 18, 27], Operations: []
Exploring Operation: 19+1=20, Resulting Numbers: [18, 27, 20]
Generated Node #2: [18, 27, 20] from Operation: 19+1=20
Current State: 54:[18, 27, 20], Operations: ['19+1=20']
Exploring Operation: 20-18=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 20-18=2
Current State: 54:[27, 2], Operations: ['19+1=20', '20-18=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[19, 1, 18, 27], Operations: []
Exploring Operation: 19-1=18, Resulting Numbers: [18, 27, 18]
Generated Node #0,0: 54:[18, 27, 18] Operation: 19-1=18
Exploring Operation: 19/1=19, Resulting Numbers: [18, 27, 19]
Generated Node #0,1: 54:[18, 27, 19] Operation: 19/1=19
Exploring Operation: 19*1=19, Resulting Numbers: [18, 27, 19]
Generated Node #0,2: 54:[18, 27, 19] Operation: 19*1=19
Moving to Node #0,0
Current State: 54:[18, 27, 18], Operations: ['19-1=18']
Exploring Operation: 27-18=9, Resulting Numbers: [18, 9]
Generated Node #0,0,0: 54:[18, 9] Operation: 27-18=9
Exploring Operation: 18/18=1, Resulting Numbers: [27, 1]
Generated Node #0,0,1: 54:[27, 1] Operation: 18/18=1
Exploring Operation: 27-18=9, Resulting Numbers: [18, 9]
Generated Node #0,0,2: 54:[18, 9] Operation: 27-18=9
Moving to Node #0,1
Current State: 54:[18, 27, 19], Operations: ['19/1=19']
Exploring Operation: 27-19=8, Resulting Numbers: [18, 8]
Generated Node #0,1,0: 54:[18, 8] Operation: 27-19=8
Exploring Operation: 27-18=9, Resulting Numbers: [19, 9]
Generated Node #0,1,1: 54:[19, 9] Operation: 27-18=9
Exploring Operation: 19-18=1, Resulting Numbers: [27, 1]
Generated Node #0,1,2: 54:[27, 1] Operation: 19-18=1
Moving to Node #0,2
Current State: 54:[18, 27, 19], Operations: ['19*1=19']
Exploring Operation: 19-18=1, Resulting Numbers: [27, 1]
Generated Node #0,2,0: 54:[27, 1] Operation: 19-18=1
Exploring Operation: 27-18=9, Resulting Numbers: [19, 9]
Generated Node #0,2,1: 54:[19, 9] Operation: 27-18=9
Exploring Operation: 27-19=8, Resulting Numbers: [18, 8]
Generated Node #0,2,2: 54:[18, 8] Operation: 27-19=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[27, 1], Operations: ['19*1=19', '19-18=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[19, 9], Operations: ['19*1=19', '27-18=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,54 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[18, 8], Operations: ['19*1=19', '27-19=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 54:[18, 9], Operations: ['19-1=18', '27-18=9']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[18, 9], Operations: ['19-1=18', '27-18=9']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[27, 1], Operations: ['19-1=18', '18/18=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[27, 1], Operations: ['19/1=19', '19-18=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[19, 9], Operations: ['19/1=19', '27-18=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,54 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[18, 8], Operations: ['19/1=19', '27-19=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,54 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
40,
12,
3
] | 58 | [
"10*3=30",
"40-12=28",
"30+28=58"
] | Current State: 58:[10, 40, 12, 3], Operations: []
Exploring Operation: 10*3=30, Resulting Numbers: [40, 12, 30]
Generated Node #2: [40, 12, 30] from Operation: 10*3=30
Current State: 58:[40, 12, 30], Operations: ['10*3=30']
Exploring Operation: 40-12=28, Resulting Numbers: [30, 28]
Generated Node #3: [30, 28] from Operation: 40-12=28
Current State: 58:[30, 28], Operations: ['10*3=30', '40-12=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[10, 40, 12, 3], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [40, 3, 2]
Generated Node #0,0: 58:[40, 3, 2] Operation: 12-10=2
Exploring Operation: 40-10=30, Resulting Numbers: [12, 3, 30]
Generated Node #0,1: 58:[12, 3, 30] Operation: 40-10=30
Exploring Operation: 40-12=28, Resulting Numbers: [10, 3, 28]
Generated Node #0,2: 58:[10, 3, 28] Operation: 40-12=28
Exploring Operation: 40/10=4, Resulting Numbers: [12, 3, 4]
Generated Node #0,3: 58:[12, 3, 4] Operation: 40/10=4
Exploring Operation: 40+12=52, Resulting Numbers: [10, 3, 52]
Generated Node #0,4: 58:[10, 3, 52] Operation: 40+12=52
Moving to Node #0,2
Current State: 58:[10, 3, 28], Operations: ['40-12=28']
Exploring Operation: 10+3=13, Resulting Numbers: [28, 13]
Generated Node #0,2,0: 58:[28, 13] Operation: 10+3=13
Exploring Operation: 3+28=31, Resulting Numbers: [10, 31]
Generated Node #0,2,1: 58:[10, 31] Operation: 3+28=31
Exploring Operation: 10*3=30, Resulting Numbers: [28, 30]
Generated Node #0,2,2: 58:[28, 30] Operation: 10*3=30
Exploring Operation: 10+28=38, Resulting Numbers: [3, 38]
Generated Node #0,2,3: 58:[3, 38] Operation: 10+28=38
Exploring Operation: 10-3=7, Resulting Numbers: [28, 7]
Generated Node #0,2,4: 58:[28, 7] Operation: 10-3=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[28, 30], Operations: ['40-12=28', '10*3=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[10, 40, 12, 3], Operations: []
Exploring Operation: 40-12=28, Resulting Numbers: [10, 3, 28]
Generated Node #0,2: 58:[10, 3, 28] Operation: 40-12=28
Moving to Node #0,2
Current State: 58:[10, 3, 28], Operations: ['40-12=28']
Exploring Operation: 10*3=30, Resulting Numbers: [28, 30]
Generated Node #0,2,2: 58:[28, 30] Operation: 10*3=30
Moving to Node #0,2,2
Current State: 58:[28, 30], Operations: ['40-12=28', '10*3=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
13,
37,
17,
71
] | 15 | [
"71-37=34",
"34/17=2",
"13+2=15"
] | Current State: 15:[13, 37, 17, 71], Operations: []
Exploring Operation: 71-37=34, Resulting Numbers: [13, 17, 34]
Generated Node #2: [13, 17, 34] from Operation: 71-37=34
Current State: 15:[13, 17, 34], Operations: ['71-37=34']
Exploring Operation: 34/17=2, Resulting Numbers: [13, 2]
Generated Node #3: [13, 2] from Operation: 34/17=2
Current State: 15:[13, 2], Operations: ['71-37=34', '34/17=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[13, 37, 17, 71], Operations: []
Exploring Operation: 71-13=58, Resulting Numbers: [37, 17, 58]
Generated Node #0,0: 15:[37, 17, 58] Operation: 71-13=58
Exploring Operation: 71-37=34, Resulting Numbers: [13, 17, 34]
Generated Node #0,1: 15:[13, 17, 34] Operation: 71-37=34
Exploring Operation: 37-13=24, Resulting Numbers: [17, 71, 24]
Generated Node #0,2: 15:[17, 71, 24] Operation: 37-13=24
Exploring Operation: 71-17=54, Resulting Numbers: [13, 37, 54]
Generated Node #0,3: 15:[13, 37, 54] Operation: 71-17=54
Exploring Operation: 37-17=20, Resulting Numbers: [13, 71, 20]
Generated Node #0,4: 15:[13, 71, 20] Operation: 37-17=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[13, 17, 34], Operations: ['71-37=34']
Exploring Operation: 17-13=4, Resulting Numbers: [34, 4]
Generated Node #0,1,0: 15:[34, 4] Operation: 17-13=4
Exploring Operation: 34-17=17, Resulting Numbers: [13, 17]
Generated Node #0,1,1: 15:[13, 17] Operation: 34-17=17
Exploring Operation: 34-13=21, Resulting Numbers: [17, 21]
Generated Node #0,1,2: 15:[17, 21] Operation: 34-13=21
Exploring Operation: 34/17=2, Resulting Numbers: [13, 2]
Generated Node #0,1,3: 15:[13, 2] Operation: 34/17=2
Exploring Operation: 13+17=30, Resulting Numbers: [34, 30]
Generated Node #0,1,4: 15:[34, 30] Operation: 13+17=30
Moving to Node #0,1,3
Current State: 15:[13, 2], Operations: ['71-37=34', '34/17=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[13, 37, 17, 71], Operations: []
Exploring Operation: 71-37=34, Resulting Numbers: [13, 17, 34]
Generated Node #0,1: 15:[13, 17, 34] Operation: 71-37=34
Moving to Node #0,1
Current State: 15:[13, 17, 34], Operations: ['71-37=34']
Exploring Operation: 34/17=2, Resulting Numbers: [13, 2]
Generated Node #0,1,3: 15:[13, 2] Operation: 34/17=2
Moving to Node #0,1,3
Current State: 15:[13, 2], Operations: ['71-37=34', '34/17=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
11,
91,
3,
95
] | 87 | [
"91-3=88",
"88/11=8",
"95-8=87"
] | Current State: 87:[11, 91, 3, 95], Operations: []
Exploring Operation: 91-3=88, Resulting Numbers: [11, 95, 88]
Generated Node #2: [11, 95, 88] from Operation: 91-3=88
Current State: 87:[11, 95, 88], Operations: ['91-3=88']
Exploring Operation: 88/11=8, Resulting Numbers: [95, 8]
Generated Node #3: [95, 8] from Operation: 88/11=8
Current State: 87:[95, 8], Operations: ['91-3=88', '88/11=8']
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[11, 91, 3, 95], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [11, 3, 4]
Generated Node #0,0: 87:[11, 3, 4] Operation: 95-91=4
Exploring Operation: 95-11=84, Resulting Numbers: [91, 3, 84]
Generated Node #0,1: 87:[91, 3, 84] Operation: 95-11=84
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[91, 3, 84], Operations: ['95-11=84']
Exploring Operation: 91-84=7, Resulting Numbers: [3, 7]
Generated Node #0,1,0: 87:[3, 7] Operation: 91-84=7
Exploring Operation: 91-3=88, Resulting Numbers: [84, 88]
Generated Node #0,1,1: 87:[84, 88] Operation: 91-3=88
Moving to Node #0,1,0
Current State: 87:[3, 7], Operations: ['95-11=84', '91-84=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[84, 88], Operations: ['95-11=84', '91-3=88']
Exploring Operation: 84+88=172, Resulting Numbers: [172]
172,87 unequal: No Solution
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,87 unequal: No Solution
No 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: 87:[11, 3, 4], Operations: ['95-91=4']
Exploring Operation: 11-4=7, Resulting Numbers: [3, 7]
Generated Node #0,0,0: 87:[3, 7] Operation: 11-4=7
Exploring Operation: 11*3=33, Resulting Numbers: [4, 33]
Generated Node #0,0,1: 87:[4, 33] Operation: 11*3=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[3, 7], Operations: ['95-91=4', '11-4=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[4, 33], Operations: ['95-91=4', '11*3=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
70,
5,
95
] | 82 | [
"70-5=65",
"65/5=13",
"95-13=82"
] | Current State: 82:[5, 70, 5, 95], Operations: []
Exploring Operation: 70-5=65, Resulting Numbers: [95, 65]
Generated Node #2: [95, 65] from Operation: 70-5=65
Current State: 82:[95, 65], Operations: ['70-5=65']
Exploring Operation: 65/5=13, Resulting Numbers: [95, 13]
Generated Node #3: [95, 13] from Operation: 65/5=13
Current State: 82:[95, 13], Operations: ['70-5=65', '65/5=13']
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[5, 70, 5, 95], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [5, 5, 25]
Generated Node #0,0: 82:[5, 5, 25] Operation: 95-70=25
Exploring Operation: 95-5=90, Resulting Numbers: [70, 5, 90]
Generated Node #0,1: 82:[70, 5, 90] Operation: 95-5=90
Exploring Operation: 5+70=75, Resulting Numbers: [5, 95, 75]
Generated Node #0,2: 82:[5, 95, 75] Operation: 5+70=75
Moving to Node #0,0
Current State: 82:[5, 5, 25], Operations: ['95-70=25']
Exploring Operation: 25/5=5, Resulting Numbers: [5, 5]
Generated Node #0,0,0: 82:[5, 5] Operation: 25/5=5
Exploring Operation: 5+25=30, Resulting Numbers: [5, 30]
Generated Node #0,0,1: 82:[5, 30] Operation: 5+25=30
Exploring Operation: 25/5=5, Resulting Numbers: [5, 5]
Generated Node #0,0,2: 82:[5, 5] Operation: 25/5=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[5, 5], Operations: ['95-70=25', '25/5=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,82 unequal: No Solution
No 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: 82:[5, 5], Operations: ['95-70=25', '25/5=5']
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,82 unequal: No Solution
No 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: 82:[5, 30], Operations: ['95-70=25', '5+25=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,82 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,82 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: 82:[70, 5, 90], Operations: ['95-5=90']
Exploring Operation: 70+5=75, Resulting Numbers: [90, 75]
Generated Node #0,1,0: 82:[90, 75] Operation: 70+5=75
Exploring Operation: 70/5=14, Resulting Numbers: [90, 14]
Generated Node #0,1,1: 82:[90, 14] Operation: 70/5=14
Exploring Operation: 90-5=85, Resulting Numbers: [70, 85]
Generated Node #0,1,2: 82:[70, 85] Operation: 90-5=85
Moving to Node #0,2
Current State: 82:[5, 95, 75], Operations: ['5+70=75']
Exploring Operation: 5+75=80, Resulting Numbers: [95, 80]
Generated Node #0,2,0: 82:[95, 80] Operation: 5+75=80
Exploring Operation: 95-75=20, Resulting Numbers: [5, 20]
Generated Node #0,2,1: 82:[5, 20] Operation: 95-75=20
Exploring Operation: 95-5=90, Resulting Numbers: [75, 90]
Generated Node #0,2,2: 82:[75, 90] Operation: 95-5=90
Moving to Node #0,1,0
Current State: 82:[90, 75], Operations: ['95-5=90', '70+5=75']
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 90+75=165, Resulting Numbers: [165]
165,82 unequal: No Solution
Exploring Operation: 90*75=6750, Resulting Numbers: [6750]
6750,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[70, 85], Operations: ['95-5=90', '90-5=85']
Exploring Operation: 70*85=5950, Resulting Numbers: [5950]
5950,82 unequal: No Solution
Exploring Operation: 70+85=155, Resulting Numbers: [155]
155,82 unequal: No Solution
Exploring Operation: 85-70=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[75, 90], Operations: ['5+70=75', '95-5=90']
Exploring Operation: 75+90=165, Resulting Numbers: [165]
165,82 unequal: No Solution
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 75*90=6750, Resulting Numbers: [6750]
6750,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[95, 80], Operations: ['5+70=75', '5+75=80']
Exploring Operation: 95-80=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 95+80=175, Resulting Numbers: [175]
175,82 unequal: No Solution
Exploring Operation: 95*80=7600, Resulting Numbers: [7600]
7600,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[90, 14], Operations: ['95-5=90', '70/5=14']
Exploring Operation: 90*14=1260, Resulting Numbers: [1260]
1260,82 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 90+14=104, Resulting Numbers: [104]
104,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[5, 20], Operations: ['5+70=75', '95-75=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,82 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,82 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
87,
2,
74,
79
] | 77 | [
"79-74=5",
"2*5=10",
"87-10=77"
] | Current State: 77:[87, 2, 74, 79], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [87, 2, 5]
Generated Node #2: [87, 2, 5] from Operation: 79-74=5
Current State: 77:[87, 2, 5], Operations: ['79-74=5']
Exploring Operation: 2*5=10, Resulting Numbers: [87, 10]
Generated Node #3: [87, 10] from Operation: 2*5=10
Current State: 77:[87, 10], Operations: ['79-74=5', '2*5=10']
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[87, 2, 74, 79], Operations: []
Exploring Operation: 87-2=85, Resulting Numbers: [74, 79, 85]
Generated Node #0,0: 77:[74, 79, 85] Operation: 87-2=85
Exploring Operation: 87-74=13, Resulting Numbers: [2, 79, 13]
Generated Node #0,1: 77:[2, 79, 13] Operation: 87-74=13
Exploring Operation: 87-79=8, Resulting Numbers: [2, 74, 8]
Generated Node #0,2: 77:[2, 74, 8] Operation: 87-79=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[2, 79, 13], Operations: ['87-74=13']
Exploring Operation: 2+79=81, Resulting Numbers: [13, 81]
Generated Node #0,1,0: 77:[13, 81] Operation: 2+79=81
Exploring Operation: 79-2=77, Resulting Numbers: [13, 77]
Generated Node #0,1,1: 77:[13, 77] Operation: 79-2=77
Exploring Operation: 13-2=11, Resulting Numbers: [79, 11]
Generated Node #0,1,2: 77:[79, 11] Operation: 13-2=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[13, 77], Operations: ['87-74=13', '79-2=77']
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 13+77=90, Resulting Numbers: [90]
90,77 unequal: No Solution
Exploring Operation: 13*77=1001, Resulting Numbers: [1001]
1001,77 unequal: No Solution
No 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: 77:[79, 11], Operations: ['87-74=13', '13-2=11']
Exploring Operation: 79+11=90, Resulting Numbers: [90]
90,77 unequal: No Solution
Exploring Operation: 79*11=869, Resulting Numbers: [869]
869,77 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,77 unequal: No Solution
No 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: 77:[13, 81], Operations: ['87-74=13', '2+79=81']
Exploring Operation: 13*81=1053, Resulting Numbers: [1053]
1053,77 unequal: No Solution
Exploring Operation: 13+81=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,77 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: 77:[2, 74, 8], Operations: ['87-79=8']
Exploring Operation: 2+74=76, Resulting Numbers: [8, 76]
Generated Node #0,2,0: 77:[8, 76] Operation: 2+74=76
Exploring Operation: 8-2=6, Resulting Numbers: [74, 6]
Generated Node #0,2,1: 77:[74, 6] Operation: 8-2=6
Exploring Operation: 2+8=10, Resulting Numbers: [74, 10]
Generated Node #0,2,2: 77:[74, 10] Operation: 2+8=10
Moving to Node #0,2,0
Current State: 77:[8, 76], Operations: ['87-79=8', '2+74=76']
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 8+76=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 8*76=608, Resulting Numbers: [608]
608,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[74, 6], Operations: ['87-79=8', '8-2=6']
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 74*6=444, Resulting Numbers: [444]
444,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[74, 10], Operations: ['87-79=8', '2+8=10']
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 74*10=740, Resulting Numbers: [740]
740,77 unequal: No Solution
Exploring Operation: 74+10=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
Current State: 77:[74, 79, 85], Operations: ['87-2=85']
Exploring Operation: 79-74=5, Resulting Numbers: [85, 5]
Generated Node #0,0,0: 77:[85, 5] Operation: 79-74=5
Exploring Operation: 85-74=11, Resulting Numbers: [79, 11]
Generated Node #0,0,1: 77:[79, 11] Operation: 85-74=11
Exploring Operation: 85-79=6, Resulting Numbers: [74, 6]
Generated Node #0,0,2: 77:[74, 6] Operation: 85-79=6
Moving to Node #0,0,1
Current State: 77:[79, 11], Operations: ['87-2=85', '85-74=11']
Exploring Operation: 79*11=869, Resulting Numbers: [869]
869,77 unequal: No Solution
Exploring Operation: 79+11=90, Resulting Numbers: [90]
90,77 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[74, 6], Operations: ['87-2=85', '85-79=6']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 74*6=444, Resulting Numbers: [444]
444,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[85, 5], Operations: ['87-2=85', '79-74=5']
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 85+5=90, Resulting Numbers: [90]
90,77 unequal: No Solution
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,77 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 |
[
98,
86,
99,
21
] | 65 | [
"99-98=1",
"86-21=65",
"1*65=65"
] | Current State: 65:[98, 86, 99, 21], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [86, 21, 1]
Generated Node #2: [86, 21, 1] from Operation: 99-98=1
Current State: 65:[86, 21, 1], Operations: ['99-98=1']
Exploring Operation: 86-21=65, Resulting Numbers: [1, 65]
Generated Node #3: [1, 65] from Operation: 86-21=65
Current State: 65:[1, 65], Operations: ['99-98=1', '86-21=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[98, 86, 99, 21], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [86, 21, 1]
Generated Node #0,0: 65:[86, 21, 1] Operation: 99-98=1
Exploring Operation: 98-21=77, Resulting Numbers: [86, 99, 77]
Generated Node #0,1: 65:[86, 99, 77] Operation: 98-21=77
Exploring Operation: 99-86=13, Resulting Numbers: [98, 21, 13]
Generated Node #0,2: 65:[98, 21, 13] Operation: 99-86=13
Exploring Operation: 98-86=12, Resulting Numbers: [99, 21, 12]
Generated Node #0,3: 65:[99, 21, 12] Operation: 98-86=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[86, 21, 1], Operations: ['99-98=1']
Exploring Operation: 86*1=86, Resulting Numbers: [21, 86]
Generated Node #0,0,0: 65:[21, 86] Operation: 86*1=86
Exploring Operation: 86-1=85, Resulting Numbers: [21, 85]
Generated Node #0,0,1: 65:[21, 85] Operation: 86-1=85
Exploring Operation: 86-21=65, Resulting Numbers: [1, 65]
Generated Node #0,0,2: 65:[1, 65] Operation: 86-21=65
Exploring Operation: 21-1=20, Resulting Numbers: [86, 20]
Generated Node #0,0,3: 65:[86, 20] Operation: 21-1=20
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[1, 65], Operations: ['99-98=1', '86-21=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[98, 86, 99, 21], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [86, 21, 1]
Generated Node #0,0: 65:[86, 21, 1] Operation: 99-98=1
Moving to Node #0,0
Current State: 65:[86, 21, 1], Operations: ['99-98=1']
Exploring Operation: 86-21=65, Resulting Numbers: [1, 65]
Generated Node #0,0,2: 65:[1, 65] Operation: 86-21=65
Moving to Node #0,0,2
Current State: 65:[1, 65], Operations: ['99-98=1', '86-21=65']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
76,
34,
50,
87
] | 73 | [
"76+34=110",
"87-50=37",
"110-37=73"
] | Current State: 73:[76, 34, 50, 87], Operations: []
Exploring Operation: 76+34=110, Resulting Numbers: [50, 87, 110]
Generated Node #2: [50, 87, 110] from Operation: 76+34=110
Current State: 73:[50, 87, 110], Operations: ['76+34=110']
Exploring Operation: 87-50=37, Resulting Numbers: [110, 37]
Generated Node #3: [110, 37] from Operation: 87-50=37
Current State: 73:[110, 37], Operations: ['76+34=110', '87-50=37']
Exploring Operation: 110-37=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[76, 34, 50, 87], Operations: []
Exploring Operation: 87-34=53, Resulting Numbers: [76, 50, 53]
Generated Node #0,0: 73:[76, 50, 53] Operation: 87-34=53
Exploring Operation: 34+50=84, Resulting Numbers: [76, 87, 84]
Generated Node #0,1: 73:[76, 87, 84] Operation: 34+50=84
Exploring Operation: 76-34=42, Resulting Numbers: [50, 87, 42]
Generated Node #0,2: 73:[50, 87, 42] Operation: 76-34=42
Exploring Operation: 76+34=110, Resulting Numbers: [50, 87, 110]
Generated Node #0,3: 73:[50, 87, 110] Operation: 76+34=110
Moving to Node #0,1
Current State: 73:[76, 87, 84], Operations: ['34+50=84']
Exploring Operation: 76+87=163, Resulting Numbers: [84, 163]
Generated Node #0,1,0: 73:[84, 163] Operation: 76+87=163
Exploring Operation: 87-76=11, Resulting Numbers: [84, 11]
Generated Node #0,1,1: 73:[84, 11] Operation: 87-76=11
Exploring Operation: 84-76=8, Resulting Numbers: [87, 8]
Generated Node #0,1,2: 73:[87, 8] Operation: 84-76=8
Exploring Operation: 87-84=3, Resulting Numbers: [76, 3]
Generated Node #0,1,3: 73:[76, 3] Operation: 87-84=3
Moving to Node #0,0
Current State: 73:[76, 50, 53], Operations: ['87-34=53']
Exploring Operation: 50+53=103, Resulting Numbers: [76, 103]
Generated Node #0,0,0: 73:[76, 103] Operation: 50+53=103
Exploring Operation: 76-53=23, Resulting Numbers: [50, 23]
Generated Node #0,0,1: 73:[50, 23] Operation: 76-53=23
Exploring Operation: 76-50=26, Resulting Numbers: [53, 26]
Generated Node #0,0,2: 73:[53, 26] Operation: 76-50=26
Exploring Operation: 76+50=126, Resulting Numbers: [53, 126]
Generated Node #0,0,3: 73:[53, 126] Operation: 76+50=126
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[76, 103], Operations: ['87-34=53', '50+53=103']
Exploring Operation: 103-76=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 76*103=7828, Resulting Numbers: [7828]
7828,73 unequal: No Solution
Exploring Operation: 76+103=179, Resulting Numbers: [179]
179,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[53, 26], Operations: ['87-34=53', '76-50=26']
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,73 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,73 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[50, 23], Operations: ['87-34=53', '76-53=23']
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[76, 34, 50, 87], Operations: []
Exploring Operation: 87-34=53, Resulting Numbers: [76, 50, 53]
Generated Node #0,0: 73:[76, 50, 53] Operation: 87-34=53
Moving to Node #0,0
Current State: 73:[76, 50, 53], Operations: ['87-34=53']
Exploring Operation: 76-53=23, Resulting Numbers: [50, 23]
Generated Node #0,0,1: 73:[50, 23] Operation: 76-53=23
Moving to Node #0,0,1
Current State: 73:[50, 23], Operations: ['87-34=53', '76-53=23']
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
10,
98,
20,
17
] | 36 | [
"10+98=108",
"20-17=3",
"108/3=36"
] | Current State: 36:[10, 98, 20, 17], Operations: []
Exploring Operation: 10+98=108, Resulting Numbers: [20, 17, 108]
Generated Node #2: [20, 17, 108] from Operation: 10+98=108
Current State: 36:[20, 17, 108], Operations: ['10+98=108']
Exploring Operation: 20-17=3, Resulting Numbers: [108, 3]
Generated Node #3: [108, 3] from Operation: 20-17=3
Current State: 36:[108, 3], Operations: ['10+98=108', '20-17=3']
Exploring Operation: 108/3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[10, 98, 20, 17], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [10, 98, 3]
Generated Node #0,0: 36:[10, 98, 3] Operation: 20-17=3
Exploring Operation: 98-20=78, Resulting Numbers: [10, 17, 78]
Generated Node #0,1: 36:[10, 17, 78] Operation: 98-20=78
Exploring Operation: 98-10=88, Resulting Numbers: [20, 17, 88]
Generated Node #0,2: 36:[20, 17, 88] Operation: 98-10=88
Exploring Operation: 98-17=81, Resulting Numbers: [10, 20, 81]
Generated Node #0,3: 36:[10, 20, 81] Operation: 98-17=81
Exploring Operation: 20/10=2, Resulting Numbers: [98, 17, 2]
Generated Node #0,4: 36:[98, 17, 2] Operation: 20/10=2
Moving to Node #0,1
Current State: 36:[10, 17, 78], Operations: ['98-20=78']
Exploring Operation: 78-10=68, Resulting Numbers: [17, 68]
Generated Node #0,1,0: 36:[17, 68] Operation: 78-10=68
Exploring Operation: 17-10=7, Resulting Numbers: [78, 7]
Generated Node #0,1,1: 36:[78, 7] Operation: 17-10=7
Exploring Operation: 10+78=88, Resulting Numbers: [17, 88]
Generated Node #0,1,2: 36:[17, 88] Operation: 10+78=88
Exploring Operation: 78-17=61, Resulting Numbers: [10, 61]
Generated Node #0,1,3: 36:[10, 61] Operation: 78-17=61
Exploring Operation: 10+17=27, Resulting Numbers: [78, 27]
Generated Node #0,1,4: 36:[78, 27] Operation: 10+17=27
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 36:[10, 61], Operations: ['98-20=78', '78-17=61']
Exploring Operation: 10*61=610, Resulting Numbers: [610]
610,36 unequal: No Solution
Exploring Operation: 10+61=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[17, 68], Operations: ['98-20=78', '78-10=68']
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 17+68=85, Resulting Numbers: [85]
85,36 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 17*68=1156, Resulting Numbers: [1156]
1156,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[78, 7], Operations: ['98-20=78', '17-10=7']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,36 unequal: No Solution
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 36:[78, 27], Operations: ['98-20=78', '10+17=27']
Exploring Operation: 78*27=2106, Resulting Numbers: [2106]
2106,36 unequal: No Solution
Exploring Operation: 78+27=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 78-27=51, Resulting Numbers: [51]
51,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[17, 88], Operations: ['98-20=78', '10+78=88']
Exploring Operation: 17+88=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 17*88=1496, Resulting Numbers: [1496]
1496,36 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,36 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: 36:[10, 20, 81], Operations: ['98-17=81']
Exploring Operation: 20/10=2, Resulting Numbers: [81, 2]
Generated Node #0,3,0: 36:[81, 2] Operation: 20/10=2
Exploring Operation: 10+20=30, Resulting Numbers: [81, 30]
Generated Node #0,3,1: 36:[81, 30] Operation: 10+20=30
Exploring Operation: 81-10=71, Resulting Numbers: [20, 71]
Generated Node #0,3,2: 36:[20, 71] Operation: 81-10=71
Exploring Operation: 81-20=61, Resulting Numbers: [10, 61]
Generated Node #0,3,3: 36:[10, 61] Operation: 81-20=61
Exploring Operation: 20-10=10, Resulting Numbers: [81, 10]
Generated Node #0,3,4: 36:[81, 10] Operation: 20-10=10
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 36:[10, 61], Operations: ['98-17=81', '81-20=61']
Exploring Operation: 10*61=610, Resulting Numbers: [610]
610,36 unequal: No Solution
Exploring Operation: 10+61=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 36:[20, 71], Operations: ['98-17=81', '81-10=71']
Exploring Operation: 20*71=1420, Resulting Numbers: [1420]
1420,36 unequal: No Solution
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 20+71=91, Resulting Numbers: [91]
91,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 36:[81, 2], Operations: ['98-17=81', '20/10=2']
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,36 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,36 unequal: No Solution
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 36:[81, 10], Operations: ['98-17=81', '20-10=10']
Exploring Operation: 81*10=810, Resulting Numbers: [810]
810,36 unequal: No Solution
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 81+10=91, Resulting Numbers: [91]
91,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 36:[81, 30], Operations: ['98-17=81', '10+20=30']
Exploring Operation: 81+30=111, Resulting Numbers: [111]
111,36 unequal: No Solution
Exploring Operation: 81*30=2430, Resulting Numbers: [2430]
2430,36 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 36:[20, 17, 88], Operations: ['98-10=88']
Exploring Operation: 17+88=105, Resulting Numbers: [20, 105]
Generated Node #0,2,0: 36:[20, 105] Operation: 17+88=105
Exploring Operation: 20+17=37, Resulting Numbers: [88, 37]
Generated Node #0,2,1: 36:[88, 37] Operation: 20+17=37
Exploring Operation: 20-17=3, Resulting Numbers: [88, 3]
Generated Node #0,2,2: 36:[88, 3] Operation: 20-17=3
Exploring Operation: 88-20=68, Resulting Numbers: [17, 68]
Generated Node #0,2,3: 36:[17, 68] Operation: 88-20=68
Exploring Operation: 88-17=71, Resulting Numbers: [20, 71]
Generated Node #0,2,4: 36:[20, 71] Operation: 88-17=71
Moving to Node #0,0
Current State: 36:[10, 98, 3], Operations: ['20-17=3']
Exploring Operation: 98+3=101, Resulting Numbers: [10, 101]
Generated Node #0,0,0: 36:[10, 101] Operation: 98+3=101
Exploring Operation: 98-10=88, Resulting Numbers: [3, 88]
Generated Node #0,0,1: 36:[3, 88] Operation: 98-10=88
Exploring Operation: 10-3=7, Resulting Numbers: [98, 7]
Generated Node #0,0,2: 36:[98, 7] Operation: 10-3=7
Exploring Operation: 10+3=13, Resulting Numbers: [98, 13]
Generated Node #0,0,3: 36:[98, 13] Operation: 10+3=13
Exploring Operation: 98-3=95, Resulting Numbers: [10, 95]
Generated Node #0,0,4: 36:[10, 95] Operation: 98-3=95
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[3, 88], Operations: ['20-17=3', '98-10=88']
Exploring Operation: 3*88=264, Resulting Numbers: [264]
264,36 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,36 unequal: No Solution
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 36:[10, 95], Operations: ['20-17=3', '98-3=95']
Exploring Operation: 10+95=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,36 unequal: No Solution
Exploring Operation: 10*95=950, Resulting Numbers: [950]
950,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[98, 7], Operations: ['20-17=3', '10-3=7']
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 98+7=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 98*7=686, Resulting Numbers: [686]
686,36 unequal: No Solution
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 36:[98, 13], Operations: ['20-17=3', '10+3=13']
Exploring Operation: 98*13=1274, Resulting Numbers: [1274]
1274,36 unequal: No Solution
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,36 unequal: No Solution
Exploring Operation: 98+13=111, Resulting Numbers: [111]
111,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[10, 101], Operations: ['20-17=3', '98+3=101']
Exploring Operation: 10+101=111, Resulting Numbers: [111]
111,36 unequal: No Solution
Exploring Operation: 101-10=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Exploring Operation: 10*101=1010, Resulting Numbers: [1010]
1010,36 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: 36:[98, 17, 2], Operations: ['20/10=2']
Exploring Operation: 17*2=34, Resulting Numbers: [98, 34]
Generated Node #0,4,0: 36:[98, 34] Operation: 17*2=34
Exploring Operation: 98-17=81, Resulting Numbers: [2, 81]
Generated Node #0,4,1: 36:[2, 81] Operation: 98-17=81
Exploring Operation: 98/2=49, Resulting Numbers: [17, 49]
Generated Node #0,4,2: 36:[17, 49] Operation: 98/2=49
Exploring Operation: 98-2=96, Resulting Numbers: [17, 96]
Generated Node #0,4,3: 36:[17, 96] Operation: 98-2=96
Exploring Operation: 17+2=19, Resulting Numbers: [98, 19]
Generated Node #0,4,4: 36:[98, 19] Operation: 17+2=19
Moving to Node #0,4,2
Current State: 36:[17, 49], Operations: ['20/10=2', '98/2=49']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,36 unequal: No Solution
Moving to Node #0,2,3
Current State: 36:[17, 68], Operations: ['98-10=88', '88-20=68']
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 17*68=1156, Resulting Numbers: [1156]
1156,36 unequal: No Solution
Exploring Operation: 17+68=85, Resulting Numbers: [85]
85,36 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Moving to Node #0,2,4
Current State: 36:[20, 71], Operations: ['98-10=88', '88-17=71']
Exploring Operation: 20+71=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Exploring Operation: 20*71=1420, Resulting Numbers: [1420]
1420,36 unequal: No Solution
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Moving to Node #0,4,1
Current State: 36:[2, 81], Operations: ['20/10=2', '98-17=81']
Exploring Operation: 2+81=83, Resulting Numbers: [83]
83,36 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,36 unequal: No Solution
Exploring Operation: 2*81=162, Resulting Numbers: [162]
162,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[88, 3], Operations: ['98-10=88', '20-17=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,36 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[88, 37], Operations: ['98-10=88', '20+17=37']
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,36 unequal: No Solution
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,36 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Moving to Node #0,4,3
Current State: 36:[17, 96], Operations: ['20/10=2', '98-2=96']
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,36 unequal: No Solution
Exploring Operation: 17+96=113, Resulting Numbers: [113]
113,36 unequal: No Solution
Exploring Operation: 17*96=1632, Resulting Numbers: [1632]
1632,36 unequal: No Solution
Moving to Node #0,4,4
Current State: 36:[98, 19], Operations: ['20/10=2', '17+2=19']
Exploring Operation: 98+19=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 98*19=1862, Resulting Numbers: [1862]
1862,36 unequal: No Solution
Exploring Operation: 98-19=79, Resulting Numbers: [79]
79,36 unequal: No Solution
Moving to Node #0,4,0
Current State: 36:[98, 34], Operations: ['20/10=2', '17*2=34']
Exploring Operation: 98+34=132, Resulting Numbers: [132]
132,36 unequal: No Solution
Exploring Operation: 98*34=3332, Resulting Numbers: [3332]
3332,36 unequal: No Solution
Exploring Operation: 98-34=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[20, 105], Operations: ['98-10=88', '17+88=105']
Exploring Operation: 20+105=125, Resulting Numbers: [125]
125,36 unequal: No Solution
Exploring Operation: 105-20=85, Resulting Numbers: [85]
85,36 unequal: No Solution
Exploring Operation: 20*105=2100, Resulting Numbers: [2100]
2100,36 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
17,
49,
60,
40
] | 34 | [
"17+49=66",
"60+40=100",
"100-66=34"
] | Current State: 34:[17, 49, 60, 40], Operations: []
Exploring Operation: 17+49=66, Resulting Numbers: [60, 40, 66]
Generated Node #2: [60, 40, 66] from Operation: 17+49=66
Current State: 34:[60, 40, 66], Operations: ['17+49=66']
Exploring Operation: 60+40=100, Resulting Numbers: [66, 100]
Generated Node #3: [66, 100] from Operation: 60+40=100
Current State: 34:[66, 100], Operations: ['17+49=66', '60+40=100']
Exploring Operation: 100-66=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[17, 49, 60, 40], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [17, 40, 11]
Generated Node #0,0: 34:[17, 40, 11] Operation: 60-49=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[17, 40, 11], Operations: ['60-49=11']
Exploring Operation: 40-11=29, Resulting Numbers: [17, 29]
Generated Node #0,0,0: 34:[17, 29] Operation: 40-11=29
Moving to Node #0,0,0
Current State: 34:[17, 29], Operations: ['60-49=11', '40-11=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,34 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 |
[
87,
77,
82,
3
] | 52 | [
"87-77=10",
"3*10=30",
"82-30=52"
] | Current State: 52:[87, 77, 82, 3], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [82, 3, 10]
Generated Node #2: [82, 3, 10] from Operation: 87-77=10
Current State: 52:[82, 3, 10], Operations: ['87-77=10']
Exploring Operation: 3*10=30, Resulting Numbers: [82, 30]
Generated Node #3: [82, 30] from Operation: 3*10=30
Current State: 52:[82, 30], Operations: ['87-77=10', '3*10=30']
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[87, 77, 82, 3], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [87, 3, 5]
Generated Node #0,0: 52:[87, 3, 5] Operation: 82-77=5
Exploring Operation: 87/3=29, Resulting Numbers: [77, 82, 29]
Generated Node #0,1: 52:[77, 82, 29] Operation: 87/3=29
Exploring Operation: 87-77=10, Resulting Numbers: [82, 3, 10]
Generated Node #0,2: 52:[82, 3, 10] Operation: 87-77=10
Exploring Operation: 87-82=5, Resulting Numbers: [77, 3, 5]
Generated Node #0,3: 52:[77, 3, 5] Operation: 87-82=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[77, 3, 5], Operations: ['87-82=5']
Exploring Operation: 77-3=74, Resulting Numbers: [5, 74]
Generated Node #0,3,0: 52:[5, 74] Operation: 77-3=74
Exploring Operation: 5-3=2, Resulting Numbers: [77, 2]
Generated Node #0,3,1: 52:[77, 2] Operation: 5-3=2
Exploring Operation: 3*5=15, Resulting Numbers: [77, 15]
Generated Node #0,3,2: 52:[77, 15] Operation: 3*5=15
Exploring Operation: 77-5=72, Resulting Numbers: [3, 72]
Generated Node #0,3,3: 52:[3, 72] Operation: 77-5=72
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 52:[3, 72], Operations: ['87-82=5', '77-5=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 3*72=216, Resulting Numbers: [216]
216,52 unequal: No Solution
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 52:[5, 74], Operations: ['87-82=5', '77-3=74']
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,52 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 52:[77, 2], Operations: ['87-82=5', '5-3=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 52:[77, 15], Operations: ['87-82=5', '3*5=15']
Exploring Operation: 77*15=1155, Resulting Numbers: [1155]
1155,52 unequal: No Solution
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[82, 3, 10], Operations: ['87-77=10']
Exploring Operation: 3+10=13, Resulting Numbers: [82, 13]
Generated Node #0,2,0: 52:[82, 13] Operation: 3+10=13
Exploring Operation: 82-10=72, Resulting Numbers: [3, 72]
Generated Node #0,2,1: 52:[3, 72] Operation: 82-10=72
Exploring Operation: 10-3=7, Resulting Numbers: [82, 7]
Generated Node #0,2,2: 52:[82, 7] Operation: 10-3=7
Exploring Operation: 82-3=79, Resulting Numbers: [10, 79]
Generated Node #0,2,3: 52:[10, 79] Operation: 82-3=79
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[3, 72], Operations: ['87-77=10', '82-10=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 3*72=216, Resulting Numbers: [216]
216,52 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[82, 13], Operations: ['87-77=10', '3+10=13']
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,52 unequal: No Solution
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,52 unequal: No Solution
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 52:[10, 79], Operations: ['87-77=10', '82-3=79']
Exploring Operation: 10*79=790, Resulting Numbers: [790]
790,52 unequal: No Solution
Exploring Operation: 10+79=89, Resulting Numbers: [89]
89,52 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 52:[82, 7], Operations: ['87-77=10', '10-3=7']
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,52 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,52 unequal: No Solution
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[87, 3, 5], Operations: ['82-77=5']
Exploring Operation: 87-3=84, Resulting Numbers: [5, 84]
Generated Node #0,0,0: 52:[5, 84] Operation: 87-3=84
Exploring Operation: 5-3=2, Resulting Numbers: [87, 2]
Generated Node #0,0,1: 52:[87, 2] Operation: 5-3=2
Exploring Operation: 87/3=29, Resulting Numbers: [5, 29]
Generated Node #0,0,2: 52:[5, 29] Operation: 87/3=29
Exploring Operation: 87-5=82, Resulting Numbers: [3, 82]
Generated Node #0,0,3: 52:[3, 82] Operation: 87-5=82
Moving to Node #0,0,2
Current State: 52:[5, 29], Operations: ['82-77=5', '87/3=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[3, 82], Operations: ['82-77=5', '87-5=82']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,52 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[5, 84], Operations: ['82-77=5', '87-3=84']
Exploring Operation: 5+84=89, Resulting Numbers: [89]
89,52 unequal: No Solution
Exploring Operation: 5*84=420, Resulting Numbers: [420]
420,52 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[87, 2], Operations: ['82-77=5', '5-3=2']
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,52 unequal: No Solution
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,52 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[77, 82, 29], Operations: ['87/3=29']
Exploring Operation: 77+29=106, Resulting Numbers: [82, 106]
Generated Node #0,1,0: 52:[82, 106] Operation: 77+29=106
Exploring Operation: 82-29=53, Resulting Numbers: [77, 53]
Generated Node #0,1,1: 52:[77, 53] Operation: 82-29=53
Exploring Operation: 77-29=48, Resulting Numbers: [82, 48]
Generated Node #0,1,2: 52:[82, 48] Operation: 77-29=48
Exploring Operation: 82-77=5, Resulting Numbers: [29, 5]
Generated Node #0,1,3: 52:[29, 5] Operation: 82-77=5
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 52:[29, 5], Operations: ['87/3=29', '82-77=5']
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,52 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[77, 53], Operations: ['87/3=29', '82-29=53']
Exploring Operation: 77+53=130, Resulting Numbers: [130]
130,52 unequal: No Solution
Exploring Operation: 77*53=4081, Resulting Numbers: [4081]
4081,52 unequal: No Solution
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 52:[82, 48], Operations: ['87/3=29', '77-29=48']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,52 unequal: No Solution
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[82, 106], Operations: ['87/3=29', '77+29=106']
Exploring Operation: 82+106=188, Resulting Numbers: [188]
188,52 unequal: No Solution
Exploring Operation: 82*106=8692, Resulting Numbers: [8692]
8692,52 unequal: No Solution
Exploring Operation: 106-82=24, Resulting Numbers: [24]
24,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
27,
20,
36,
65
] | 10 | [
"27+36=63",
"65-63=2",
"20/2=10"
] | Current State: 10:[27, 20, 36, 65], Operations: []
Exploring Operation: 27+36=63, Resulting Numbers: [20, 65, 63]
Generated Node #2: [20, 65, 63] from Operation: 27+36=63
Current State: 10:[20, 65, 63], Operations: ['27+36=63']
Exploring Operation: 65-63=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 65-63=2
Current State: 10:[20, 2], Operations: ['27+36=63', '65-63=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[27, 20, 36, 65], Operations: []
Exploring Operation: 36-27=9, Resulting Numbers: [20, 65, 9]
Generated Node #0,0: 10:[20, 65, 9] Operation: 36-27=9
Exploring Operation: 65-36=29, Resulting Numbers: [27, 20, 29]
Generated Node #0,1: 10:[27, 20, 29] Operation: 65-36=29
Exploring Operation: 36-20=16, Resulting Numbers: [27, 65, 16]
Generated Node #0,2: 10:[27, 65, 16] Operation: 36-20=16
Exploring Operation: 65-27=38, Resulting Numbers: [20, 36, 38]
Generated Node #0,3: 10:[20, 36, 38] Operation: 65-27=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[27, 20, 29], Operations: ['65-36=29']
Exploring Operation: 29-20=9, Resulting Numbers: [27, 9]
Generated Node #0,1,0: 10:[27, 9] Operation: 29-20=9
Exploring Operation: 27+20=47, Resulting Numbers: [29, 47]
Generated Node #0,1,1: 10:[29, 47] Operation: 27+20=47
Exploring Operation: 27-20=7, Resulting Numbers: [29, 7]
Generated Node #0,1,2: 10:[29, 7] Operation: 27-20=7
Exploring Operation: 29-27=2, Resulting Numbers: [20, 2]
Generated Node #0,1,3: 10:[20, 2] Operation: 29-27=2
Moving to Node #0,1,3
Current State: 10:[20, 2], Operations: ['65-36=29', '29-27=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[27, 20, 36, 65], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [27, 20, 29]
Generated Node #0,1: 10:[27, 20, 29] Operation: 65-36=29
Moving to Node #0,1
Current State: 10:[27, 20, 29], Operations: ['65-36=29']
Exploring Operation: 29-27=2, Resulting Numbers: [20, 2]
Generated Node #0,1,3: 10:[20, 2] Operation: 29-27=2
Moving to Node #0,1,3
Current State: 10:[20, 2], Operations: ['65-36=29', '29-27=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
81,
56,
39,
2
] | 100 | [
"81+56=137",
"39-2=37",
"137-37=100"
] | Current State: 100:[81, 56, 39, 2], Operations: []
Exploring Operation: 81+56=137, Resulting Numbers: [39, 2, 137]
Generated Node #2: [39, 2, 137] from Operation: 81+56=137
Current State: 100:[39, 2, 137], Operations: ['81+56=137']
Exploring Operation: 39-2=37, Resulting Numbers: [137, 37]
Generated Node #3: [137, 37] from Operation: 39-2=37
Current State: 100:[137, 37], Operations: ['81+56=137', '39-2=37']
Exploring Operation: 137-37=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[81, 56, 39, 2], Operations: []
Exploring Operation: 56-39=17, Resulting Numbers: [81, 2, 17]
Generated Node #0,0: 100:[81, 2, 17] Operation: 56-39=17
Exploring Operation: 56+39=95, Resulting Numbers: [81, 2, 95]
Generated Node #0,1: 100:[81, 2, 95] Operation: 56+39=95
Exploring Operation: 81-39=42, Resulting Numbers: [56, 2, 42]
Generated Node #0,2: 100:[56, 2, 42] Operation: 81-39=42
Exploring Operation: 81-56=25, Resulting Numbers: [39, 2, 25]
Generated Node #0,3: 100:[39, 2, 25] Operation: 81-56=25
Moving to Node #0,3
Current State: 100:[39, 2, 25], Operations: ['81-56=25']
Exploring Operation: 39-2=37, Resulting Numbers: [25, 37]
Generated Node #0,3,0: 100:[25, 37] Operation: 39-2=37
Exploring Operation: 39+2=41, Resulting Numbers: [25, 41]
Generated Node #0,3,1: 100:[25, 41] Operation: 39+2=41
Exploring Operation: 39-25=14, Resulting Numbers: [2, 14]
Generated Node #0,3,2: 100:[2, 14] Operation: 39-25=14
Exploring Operation: 2*25=50, Resulting Numbers: [39, 50]
Generated Node #0,3,3: 100:[39, 50] Operation: 2*25=50
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 100:[2, 14], Operations: ['81-56=25', '39-25=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 100:[25, 41], Operations: ['81-56=25', '39+2=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,100 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 100:[39, 50], Operations: ['81-56=25', '2*25=50']
Exploring Operation: 39*50=1950, Resulting Numbers: [1950]
1950,100 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[25, 37], Operations: ['81-56=25', '39-2=37']
Exploring Operation: 25*37=925, Resulting Numbers: [925]
925,100 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,100 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: 100:[56, 2, 42], Operations: ['81-39=42']
Exploring Operation: 56+42=98, Resulting Numbers: [2, 98]
Generated Node #0,2,0: 100:[2, 98] Operation: 56+42=98
Exploring Operation: 56/2=28, Resulting Numbers: [42, 28]
Generated Node #0,2,1: 100:[42, 28] Operation: 56/2=28
Exploring Operation: 42/2=21, Resulting Numbers: [56, 21]
Generated Node #0,2,2: 100:[56, 21] Operation: 42/2=21
Exploring Operation: 56-42=14, Resulting Numbers: [2, 14]
Generated Node #0,2,3: 100:[2, 14] Operation: 56-42=14
Moving to Node #0,0
Current State: 100:[81, 2, 17], Operations: ['56-39=17']
Exploring Operation: 81+17=98, Resulting Numbers: [2, 98]
Generated Node #0,0,0: 100:[2, 98] Operation: 81+17=98
Exploring Operation: 2+17=19, Resulting Numbers: [81, 19]
Generated Node #0,0,1: 100:[81, 19] Operation: 2+17=19
Exploring Operation: 81-17=64, Resulting Numbers: [2, 64]
Generated Node #0,0,2: 100:[2, 64] Operation: 81-17=64
Exploring Operation: 81+2=83, Resulting Numbers: [17, 83]
Generated Node #0,0,3: 100:[17, 83] Operation: 81+2=83
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[2, 98], Operations: ['56-39=17', '81+17=98']
Exploring Operation: 2*98=196, Resulting Numbers: [196]
196,100 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,100 unequal: No Solution
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,100 unequal: No Solution
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[81, 56, 39, 2], Operations: []
Exploring Operation: 56-39=17, Resulting Numbers: [81, 2, 17]
Generated Node #0,0: 100:[81, 2, 17] Operation: 56-39=17
Moving to Node #0,0
Current State: 100:[81, 2, 17], Operations: ['56-39=17']
Exploring Operation: 81+17=98, Resulting Numbers: [2, 98]
Generated Node #0,0,0: 100:[2, 98] Operation: 81+17=98
Moving to Node #0,0,0
Current State: 100:[2, 98], Operations: ['56-39=17', '81+17=98']
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
14,
31,
13,
29
] | 40 | [
"31-29=2",
"13*2=26",
"14+26=40"
] | Current State: 40:[14, 31, 13, 29], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [14, 13, 2]
Generated Node #2: [14, 13, 2] from Operation: 31-29=2
Current State: 40:[14, 13, 2], Operations: ['31-29=2']
Exploring Operation: 13*2=26, Resulting Numbers: [14, 26]
Generated Node #3: [14, 26] from Operation: 13*2=26
Current State: 40:[14, 26], Operations: ['31-29=2', '13*2=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[14, 31, 13, 29], Operations: []
Exploring Operation: 31-14=17, Resulting Numbers: [13, 29, 17]
Generated Node #0,0: 40:[13, 29, 17] Operation: 31-14=17
Exploring Operation: 14+29=43, Resulting Numbers: [31, 13, 43]
Generated Node #0,1: 40:[31, 13, 43] Operation: 14+29=43
Exploring Operation: 31-29=2, Resulting Numbers: [14, 13, 2]
Generated Node #0,2: 40:[14, 13, 2] Operation: 31-29=2
Exploring Operation: 31-13=18, Resulting Numbers: [14, 29, 18]
Generated Node #0,3: 40:[14, 29, 18] Operation: 31-13=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[14, 13, 2], Operations: ['31-29=2']
Exploring Operation: 14-2=12, Resulting Numbers: [13, 12]
Generated Node #0,2,0: 40:[13, 12] Operation: 14-2=12
Exploring Operation: 14/2=7, Resulting Numbers: [13, 7]
Generated Node #0,2,1: 40:[13, 7] Operation: 14/2=7
Exploring Operation: 14-13=1, Resulting Numbers: [2, 1]
Generated Node #0,2,2: 40:[2, 1] Operation: 14-13=1
Exploring Operation: 13-2=11, Resulting Numbers: [14, 11]
Generated Node #0,2,3: 40:[14, 11] Operation: 13-2=11
Moving to Node #0,2,2
Current State: 40:[2, 1], Operations: ['31-29=2', '14-13=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[13, 7], Operations: ['31-29=2', '14/2=7']
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,40 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[14, 11], Operations: ['31-29=2', '13-2=11']
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,40 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[13, 12], Operations: ['31-29=2', '14-2=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,40 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[13, 29, 17], Operations: ['31-14=17']
Exploring Operation: 13+29=42, Resulting Numbers: [17, 42]
Generated Node #0,0,0: 40:[17, 42] Operation: 13+29=42
Exploring Operation: 29-13=16, Resulting Numbers: [17, 16]
Generated Node #0,0,1: 40:[17, 16] Operation: 29-13=16
Exploring Operation: 29-17=12, Resulting Numbers: [13, 12]
Generated Node #0,0,2: 40:[13, 12] Operation: 29-17=12
Exploring Operation: 17-13=4, Resulting Numbers: [29, 4]
Generated Node #0,0,3: 40:[29, 4] Operation: 17-13=4
Moving to Node #0,0,0
Current State: 40:[17, 42], Operations: ['31-14=17', '13+29=42']
Exploring Operation: 17*42=714, Resulting Numbers: [714]
714,40 unequal: No Solution
Exploring Operation: 17+42=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[13, 12], Operations: ['31-14=17', '29-17=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[17, 16], Operations: ['31-14=17', '29-13=16']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[29, 4], Operations: ['31-14=17', '17-13=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,40 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[31, 13, 43], Operations: ['14+29=43']
Exploring Operation: 31+13=44, Resulting Numbers: [43, 44]
Generated Node #0,1,0: 40:[43, 44] Operation: 31+13=44
Exploring Operation: 31-13=18, Resulting Numbers: [43, 18]
Generated Node #0,1,1: 40:[43, 18] Operation: 31-13=18
Exploring Operation: 43-31=12, Resulting Numbers: [13, 12]
Generated Node #0,1,2: 40:[13, 12] Operation: 43-31=12
Exploring Operation: 43-13=30, Resulting Numbers: [31, 30]
Generated Node #0,1,3: 40:[31, 30] Operation: 43-13=30
Moving to Node #0,1,1
Current State: 40:[43, 18], Operations: ['14+29=43', '31-13=18']
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,40 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[13, 12], Operations: ['14+29=43', '43-31=12']
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,40 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[43, 44], Operations: ['14+29=43', '31+13=44']
Exploring Operation: 43*44=1892, Resulting Numbers: [1892]
1892,40 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,40 unequal: No Solution
Moving to Node #0,1,3
Current State: 40:[31, 30], Operations: ['14+29=43', '43-13=30']
Exploring Operation: 31*30=930, Resulting Numbers: [930]
930,40 unequal: No Solution
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[14, 29, 18], Operations: ['31-13=18']
Exploring Operation: 29-18=11, Resulting Numbers: [14, 11]
Generated Node #0,3,0: 40:[14, 11] Operation: 29-18=11
Exploring Operation: 29-14=15, Resulting Numbers: [18, 15]
Generated Node #0,3,1: 40:[18, 15] Operation: 29-14=15
Exploring Operation: 14+29=43, Resulting Numbers: [18, 43]
Generated Node #0,3,2: 40:[18, 43] Operation: 14+29=43
Exploring Operation: 18-14=4, Resulting Numbers: [29, 4]
Generated Node #0,3,3: 40:[29, 4] Operation: 18-14=4
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 40:[14, 11], Operations: ['31-13=18', '29-18=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,40 unequal: No Solution
No 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: 40:[18, 43], Operations: ['31-13=18', '14+29=43']
Exploring Operation: 18*43=774, Resulting Numbers: [774]
774,40 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 40:[18, 15], Operations: ['31-13=18', '29-14=15']
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,40 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,40 unequal: No Solution
No 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: 40:[29, 4], Operations: ['31-13=18', '18-14=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,40 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
15,
34,
50,
35
] | 35 | [
"15+34=49",
"50-49=1",
"35*1=35"
] | Current State: 35:[15, 34, 50, 35], Operations: []
Exploring Operation: 15+34=49, Resulting Numbers: [50, 35, 49]
Generated Node #2: [50, 35, 49] from Operation: 15+34=49
Current State: 35:[50, 35, 49], Operations: ['15+34=49']
Exploring Operation: 50-49=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 50-49=1
Current State: 35:[35, 1], Operations: ['15+34=49', '50-49=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[15, 34, 50, 35], Operations: []
Exploring Operation: 50-15=35, Resulting Numbers: [34, 35, 35]
Generated Node #0,0: 35:[34, 35, 35] Operation: 50-15=35
Moving to Node #0,0
Current State: 35:[34, 35, 35], Operations: ['50-15=35']
Exploring Operation: 35-34=1, Resulting Numbers: [35, 1]
Generated Node #0,0,0: 35:[35, 1] Operation: 35-34=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[35, 1], Operations: ['50-15=35', '35-34=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[15, 34, 50, 35], Operations: []
Exploring Operation: 50-15=35, Resulting Numbers: [34, 35, 35]
Generated Node #0,0: 35:[34, 35, 35] Operation: 50-15=35
Moving to Node #0,0
Current State: 35:[34, 35, 35], Operations: ['50-15=35']
Exploring Operation: 35-34=1, Resulting Numbers: [35, 1]
Generated Node #0,0,0: 35:[35, 1] Operation: 35-34=1
Moving to Node #0,0,0
Current State: 35:[35, 1], Operations: ['50-15=35', '35-34=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
10,
1,
39,
1
] | 30 | [
"10*1=10",
"39+1=40",
"40-10=30"
] | Current State: 30:[10, 1, 39, 1], Operations: []
Exploring Operation: 10*1=10, Resulting Numbers: [39, 10]
Generated Node #2: [39, 10] from Operation: 10*1=10
Current State: 30:[39, 10], Operations: ['10*1=10']
Exploring Operation: 39+1=40, Resulting Numbers: [10, 40]
Generated Node #3: [10, 40] from Operation: 39+1=40
Current State: 30:[10, 40], Operations: ['10*1=10', '39+1=40']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[10, 1, 39, 1], Operations: []
Exploring Operation: 39-1=38, Resulting Numbers: [10, 1, 38]
Generated Node #0,0: 30:[10, 1, 38] Operation: 39-1=38
Exploring Operation: 39-1=38, Resulting Numbers: [10, 1, 38]
Generated Node #0,1: 30:[10, 1, 38] Operation: 39-1=38
Exploring Operation: 10*1=10, Resulting Numbers: [39, 1, 10]
Generated Node #0,2: 30:[39, 1, 10] Operation: 10*1=10
Exploring Operation: 39-10=29, Resulting Numbers: [1, 1, 29]
Generated Node #0,3: 30:[1, 1, 29] Operation: 39-10=29
Exploring Operation: 1+1=2, Resulting Numbers: [10, 39, 2]
Generated Node #0,4: 30:[10, 39, 2] Operation: 1+1=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[1, 1, 29], Operations: ['39-10=29']
Exploring Operation: 1/1=1, Resulting Numbers: [29, 1]
Generated Node #0,3,0: 30:[29, 1] Operation: 1/1=1
Exploring Operation: 1*1=1, Resulting Numbers: [29, 1]
Generated Node #0,3,1: 30:[29, 1] Operation: 1*1=1
Exploring Operation: 1+29=30, Resulting Numbers: [1, 30]
Generated Node #0,3,2: 30:[1, 30] Operation: 1+29=30
Exploring Operation: 1+1=2, Resulting Numbers: [29, 2]
Generated Node #0,3,3: 30:[29, 2] Operation: 1+1=2
Exploring Operation: 1+29=30, Resulting Numbers: [1, 30]
Generated Node #0,3,4: 30:[1, 30] Operation: 1+29=30
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 30:[1, 30], Operations: ['39-10=29', '1+29=30']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[10, 1, 39, 1], Operations: []
Exploring Operation: 39-10=29, Resulting Numbers: [1, 1, 29]
Generated Node #0,3: 30:[1, 1, 29] Operation: 39-10=29
Moving to Node #0,3
Current State: 30:[1, 1, 29], Operations: ['39-10=29']
Exploring Operation: 1+29=30, Resulting Numbers: [1, 30]
Generated Node #0,3,2: 30:[1, 30] Operation: 1+29=30
Moving to Node #0,3,2
Current State: 30:[1, 30], Operations: ['39-10=29', '1+29=30']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
4,
19,
9,
51
] | 57 | [
"19-4=15",
"51-9=42",
"15+42=57"
] | Current State: 57:[4, 19, 9, 51], Operations: []
Exploring Operation: 19-4=15, Resulting Numbers: [9, 51, 15]
Generated Node #2: [9, 51, 15] from Operation: 19-4=15
Current State: 57:[9, 51, 15], Operations: ['19-4=15']
Exploring Operation: 51-9=42, Resulting Numbers: [15, 42]
Generated Node #3: [15, 42] from Operation: 51-9=42
Current State: 57:[15, 42], Operations: ['19-4=15', '51-9=42']
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[4, 19, 9, 51], Operations: []
Exploring Operation: 9+51=60, Resulting Numbers: [4, 19, 60]
Generated Node #0,0: 57:[4, 19, 60] Operation: 9+51=60
Exploring Operation: 9-4=5, Resulting Numbers: [19, 51, 5]
Generated Node #0,1: 57:[19, 51, 5] Operation: 9-4=5
Exploring Operation: 4+51=55, Resulting Numbers: [19, 9, 55]
Generated Node #0,2: 57:[19, 9, 55] Operation: 4+51=55
Moving to Node #0,0
Current State: 57:[4, 19, 60], Operations: ['9+51=60']
Exploring Operation: 4+19=23, Resulting Numbers: [60, 23]
Generated Node #0,0,0: 57:[60, 23] Operation: 4+19=23
Exploring Operation: 60-4=56, Resulting Numbers: [19, 56]
Generated Node #0,0,1: 57:[19, 56] Operation: 60-4=56
Exploring Operation: 60/4=15, Resulting Numbers: [19, 15]
Generated Node #0,0,2: 57:[19, 15] Operation: 60/4=15
Moving to Node #0,1
Current State: 57:[19, 51, 5], Operations: ['9-4=5']
Exploring Operation: 51+5=56, Resulting Numbers: [19, 56]
Generated Node #0,1,0: 57:[19, 56] Operation: 51+5=56
Exploring Operation: 19-5=14, Resulting Numbers: [51, 14]
Generated Node #0,1,1: 57:[51, 14] Operation: 19-5=14
Exploring Operation: 19+5=24, Resulting Numbers: [51, 24]
Generated Node #0,1,2: 57:[51, 24] Operation: 19+5=24
Moving to Node #0,2
Current State: 57:[19, 9, 55], Operations: ['4+51=55']
Exploring Operation: 19-9=10, Resulting Numbers: [55, 10]
Generated Node #0,2,0: 57:[55, 10] Operation: 19-9=10
Exploring Operation: 19+9=28, Resulting Numbers: [55, 28]
Generated Node #0,2,1: 57:[55, 28] Operation: 19+9=28
Exploring Operation: 9+55=64, Resulting Numbers: [19, 64]
Generated Node #0,2,2: 57:[19, 64] Operation: 9+55=64
Moving to Node #0,0,1
Current State: 57:[19, 56], Operations: ['9+51=60', '60-4=56']
Exploring Operation: 19*56=1064, Resulting Numbers: [1064]
1064,57 unequal: No Solution
Exploring Operation: 19+56=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[19, 56], Operations: ['9-4=5', '51+5=56']
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 19*56=1064, Resulting Numbers: [1064]
1064,57 unequal: No Solution
Exploring Operation: 19+56=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[19, 15], Operations: ['9+51=60', '60/4=15']
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,57 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[60, 23], Operations: ['9+51=60', '4+19=23']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 60*23=1380, Resulting Numbers: [1380]
1380,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[19, 64], Operations: ['4+51=55', '9+55=64']
Exploring Operation: 19*64=1216, Resulting Numbers: [1216]
1216,57 unequal: No Solution
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[55, 10], Operations: ['4+51=55', '19-9=10']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Exploring Operation: 55+10=65, Resulting Numbers: [65]
65,57 unequal: No Solution
Exploring Operation: 55*10=550, Resulting Numbers: [550]
550,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[51, 24], Operations: ['9-4=5', '19+5=24']
Exploring Operation: 51*24=1224, Resulting Numbers: [1224]
1224,57 unequal: No Solution
Exploring Operation: 51+24=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[55, 28], Operations: ['4+51=55', '19+9=28']
Exploring Operation: 55*28=1540, Resulting Numbers: [1540]
1540,57 unequal: No Solution
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[51, 14], Operations: ['9-4=5', '19-5=14']
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,57 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 51*14=714, Resulting Numbers: [714]
714,57 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
95,
68,
24,
79
] | 28 | [
"95-68=27",
"79-24=55",
"55-27=28"
] | Current State: 28:[95, 68, 24, 79], Operations: []
Exploring Operation: 95-68=27, Resulting Numbers: [24, 79, 27]
Generated Node #2: [24, 79, 27] from Operation: 95-68=27
Current State: 28:[24, 79, 27], Operations: ['95-68=27']
Exploring Operation: 79-24=55, Resulting Numbers: [27, 55]
Generated Node #3: [27, 55] from Operation: 79-24=55
Current State: 28:[27, 55], Operations: ['95-68=27', '79-24=55']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[95, 68, 24, 79], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [68, 24, 16]
Generated Node #0,0: 28:[68, 24, 16] Operation: 95-79=16
Moving to Node #0,0
Current State: 28:[68, 24, 16], Operations: ['95-79=16']
Exploring Operation: 68-24=44, Resulting Numbers: [16, 44]
Generated Node #0,0,0: 28:[16, 44] Operation: 68-24=44
Moving to Node #0,0,0
Current State: 28:[16, 44], Operations: ['95-79=16', '68-24=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[95, 68, 24, 79], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [68, 24, 16]
Generated Node #0,0: 28:[68, 24, 16] Operation: 95-79=16
Moving to Node #0,0
Current State: 28:[68, 24, 16], Operations: ['95-79=16']
Exploring Operation: 68-24=44, Resulting Numbers: [16, 44]
Generated Node #0,0,0: 28:[16, 44] Operation: 68-24=44
Moving to Node #0,0,0
Current State: 28:[16, 44], Operations: ['95-79=16', '68-24=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
36,
33,
78,
49
] | 87 | [
"36-33=3",
"78-49=29",
"3*29=87"
] | Current State: 87:[36, 33, 78, 49], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [78, 49, 3]
Generated Node #2: [78, 49, 3] from Operation: 36-33=3
Current State: 87:[78, 49, 3], Operations: ['36-33=3']
Exploring Operation: 78-49=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 78-49=29
Current State: 87:[3, 29], Operations: ['36-33=3', '78-49=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[36, 33, 78, 49], Operations: []
Exploring Operation: 36+49=85, Resulting Numbers: [33, 78, 85]
Generated Node #0,0: 87:[33, 78, 85] Operation: 36+49=85
Exploring Operation: 33+49=82, Resulting Numbers: [36, 78, 82]
Generated Node #0,1: 87:[36, 78, 82] Operation: 33+49=82
Exploring Operation: 36-33=3, Resulting Numbers: [78, 49, 3]
Generated Node #0,2: 87:[78, 49, 3] Operation: 36-33=3
Exploring Operation: 78-49=29, Resulting Numbers: [36, 33, 29]
Generated Node #0,3: 87:[36, 33, 29] Operation: 78-49=29
Exploring Operation: 49-36=13, Resulting Numbers: [33, 78, 13]
Generated Node #0,4: 87:[33, 78, 13] Operation: 49-36=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[36, 33, 29], Operations: ['78-49=29']
Exploring Operation: 36+33=69, Resulting Numbers: [29, 69]
Generated Node #0,3,0: 87:[29, 69] Operation: 36+33=69
Exploring Operation: 36+29=65, Resulting Numbers: [33, 65]
Generated Node #0,3,1: 87:[33, 65] Operation: 36+29=65
Exploring Operation: 36-33=3, Resulting Numbers: [29, 3]
Generated Node #0,3,2: 87:[29, 3] Operation: 36-33=3
Exploring Operation: 36-29=7, Resulting Numbers: [33, 7]
Generated Node #0,3,3: 87:[33, 7] Operation: 36-29=7
Exploring Operation: 33-29=4, Resulting Numbers: [36, 4]
Generated Node #0,3,4: 87:[36, 4] Operation: 33-29=4
Moving to Node #0,3,2
Current State: 87:[29, 3], Operations: ['78-49=29', '36-33=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[36, 33, 78, 49], Operations: []
Exploring Operation: 78-49=29, Resulting Numbers: [36, 33, 29]
Generated Node #0,3: 87:[36, 33, 29] Operation: 78-49=29
Moving to Node #0,3
Current State: 87:[36, 33, 29], Operations: ['78-49=29']
Exploring Operation: 36-33=3, Resulting Numbers: [29, 3]
Generated Node #0,3,2: 87:[29, 3] Operation: 36-33=3
Moving to Node #0,3,2
Current State: 87:[29, 3], Operations: ['78-49=29', '36-33=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
21,
25,
28,
80
] | 27 | [
"25-21=4",
"28+80=108",
"108/4=27"
] | Current State: 27:[21, 25, 28, 80], Operations: []
Exploring Operation: 25-21=4, Resulting Numbers: [28, 80, 4]
Generated Node #2: [28, 80, 4] from Operation: 25-21=4
Current State: 27:[28, 80, 4], Operations: ['25-21=4']
Exploring Operation: 28+80=108, Resulting Numbers: [4, 108]
Generated Node #3: [4, 108] from Operation: 28+80=108
Current State: 27:[4, 108], Operations: ['25-21=4', '28+80=108']
Exploring Operation: 108/4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[21, 25, 28, 80], Operations: []
Exploring Operation: 80-28=52, Resulting Numbers: [21, 25, 52]
Generated Node #0,0: 27:[21, 25, 52] Operation: 80-28=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[21, 25, 52], Operations: ['80-28=52']
Exploring Operation: 52-21=31, Resulting Numbers: [25, 31]
Generated Node #0,0,0: 27:[25, 31] Operation: 52-21=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[25, 31], Operations: ['80-28=52', '52-21=31']
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
86,
37,
48
] | 57 | [
"56+86=142",
"37+48=85",
"142-85=57"
] | Current State: 57:[56, 86, 37, 48], Operations: []
Exploring Operation: 56+86=142, Resulting Numbers: [37, 48, 142]
Generated Node #2: [37, 48, 142] from Operation: 56+86=142
Current State: 57:[37, 48, 142], Operations: ['56+86=142']
Exploring Operation: 37+48=85, Resulting Numbers: [142, 85]
Generated Node #3: [142, 85] from Operation: 37+48=85
Current State: 57:[142, 85], Operations: ['56+86=142', '37+48=85']
Exploring Operation: 142-85=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[56, 86, 37, 48], Operations: []
Exploring Operation: 86-37=49, Resulting Numbers: [56, 48, 49]
Generated Node #0,0: 57:[56, 48, 49] Operation: 86-37=49
Moving to Node #0,0
Current State: 57:[56, 48, 49], Operations: ['86-37=49']
Exploring Operation: 49-48=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 57:[56, 1] Operation: 49-48=1
Moving to Node #0,0,0
Current State: 57:[56, 1], Operations: ['86-37=49', '49-48=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[56, 86, 37, 48], Operations: []
Exploring Operation: 86-37=49, Resulting Numbers: [56, 48, 49]
Generated Node #0,0: 57:[56, 48, 49] Operation: 86-37=49
Moving to Node #0,0
Current State: 57:[56, 48, 49], Operations: ['86-37=49']
Exploring Operation: 49-48=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 57:[56, 1] Operation: 49-48=1
Moving to Node #0,0,0
Current State: 57:[56, 1], Operations: ['86-37=49', '49-48=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
88,
64,
32,
86
] | 98 | [
"88+64=152",
"86-32=54",
"152-54=98"
] | Current State: 98:[88, 64, 32, 86], Operations: []
Exploring Operation: 88+64=152, Resulting Numbers: [32, 86, 152]
Generated Node #2: [32, 86, 152] from Operation: 88+64=152
Current State: 98:[32, 86, 152], Operations: ['88+64=152']
Exploring Operation: 86-32=54, Resulting Numbers: [152, 54]
Generated Node #3: [152, 54] from Operation: 86-32=54
Current State: 98:[152, 54], Operations: ['88+64=152', '86-32=54']
Exploring Operation: 152-54=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[88, 64, 32, 86], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [88, 86, 2]
Generated Node #0,0: 98:[88, 86, 2] Operation: 64/32=2
Exploring Operation: 86-32=54, Resulting Numbers: [88, 64, 54]
Generated Node #0,1: 98:[88, 64, 54] Operation: 86-32=54
Exploring Operation: 64+32=96, Resulting Numbers: [88, 86, 96]
Generated Node #0,2: 98:[88, 86, 96] Operation: 64+32=96
Moving to Node #0,0
Current State: 98:[88, 86, 2], Operations: ['64/32=2']
Exploring Operation: 88-86=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 98:[2, 2] Operation: 88-86=2
Exploring Operation: 86/2=43, Resulting Numbers: [88, 43]
Generated Node #0,0,1: 98:[88, 43] Operation: 86/2=43
Exploring Operation: 88/2=44, Resulting Numbers: [86, 44]
Generated Node #0,0,2: 98:[86, 44] Operation: 88/2=44
Moving to Node #0,2
Current State: 98:[88, 86, 96], Operations: ['64+32=96']
Exploring Operation: 96-86=10, Resulting Numbers: [88, 10]
Generated Node #0,2,0: 98:[88, 10] Operation: 96-86=10
Exploring Operation: 96-88=8, Resulting Numbers: [86, 8]
Generated Node #0,2,1: 98:[86, 8] Operation: 96-88=8
Exploring Operation: 88-86=2, Resulting Numbers: [96, 2]
Generated Node #0,2,2: 98:[96, 2] Operation: 88-86=2
Moving to Node #0,1
Current State: 98:[88, 64, 54], Operations: ['86-32=54']
Exploring Operation: 88-54=34, Resulting Numbers: [64, 34]
Generated Node #0,1,0: 98:[64, 34] Operation: 88-54=34
Exploring Operation: 64-54=10, Resulting Numbers: [88, 10]
Generated Node #0,1,1: 98:[88, 10] Operation: 64-54=10
Exploring Operation: 88-64=24, Resulting Numbers: [54, 24]
Generated Node #0,1,2: 98:[54, 24] Operation: 88-64=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[88, 10], Operations: ['86-32=54', '64-54=10']
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,98 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[88, 64, 32, 86], Operations: []
Exploring Operation: 86-32=54, Resulting Numbers: [88, 64, 54]
Generated Node #0,1: 98:[88, 64, 54] Operation: 86-32=54
Moving to Node #0,1
Current State: 98:[88, 64, 54], Operations: ['86-32=54']
Exploring Operation: 64-54=10, Resulting Numbers: [88, 10]
Generated Node #0,1,1: 98:[88, 10] Operation: 64-54=10
Moving to Node #0,1,1
Current State: 98:[88, 10], Operations: ['86-32=54', '64-54=10']
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
37,
42,
57,
21
] | 83 | [
"42-37=5",
"57+21=78",
"5+78=83"
] | Current State: 83:[37, 42, 57, 21], Operations: []
Exploring Operation: 42-37=5, Resulting Numbers: [57, 21, 5]
Generated Node #2: [57, 21, 5] from Operation: 42-37=5
Current State: 83:[57, 21, 5], Operations: ['42-37=5']
Exploring Operation: 57+21=78, Resulting Numbers: [5, 78]
Generated Node #3: [5, 78] from Operation: 57+21=78
Current State: 83:[5, 78], Operations: ['42-37=5', '57+21=78']
Exploring Operation: 5+78=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[37, 42, 57, 21], Operations: []
Exploring Operation: 42+21=63, Resulting Numbers: [37, 57, 63]
Generated Node #0,0: 83:[37, 57, 63] Operation: 42+21=63
Exploring Operation: 37+42=79, Resulting Numbers: [57, 21, 79]
Generated Node #0,1: 83:[57, 21, 79] Operation: 37+42=79
Exploring Operation: 37+21=58, Resulting Numbers: [42, 57, 58]
Generated Node #0,2: 83:[42, 57, 58] Operation: 37+21=58
Exploring Operation: 57+21=78, Resulting Numbers: [37, 42, 78]
Generated Node #0,3: 83:[37, 42, 78] Operation: 57+21=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[37, 57, 63], Operations: ['42+21=63']
Exploring Operation: 57-37=20, Resulting Numbers: [63, 20]
Generated Node #0,0,0: 83:[63, 20] Operation: 57-37=20
Exploring Operation: 63-37=26, Resulting Numbers: [57, 26]
Generated Node #0,0,1: 83:[57, 26] Operation: 63-37=26
Exploring Operation: 37+57=94, Resulting Numbers: [63, 94]
Generated Node #0,0,2: 83:[63, 94] Operation: 37+57=94
Exploring Operation: 37+63=100, Resulting Numbers: [57, 100]
Generated Node #0,0,3: 83:[57, 100] Operation: 37+63=100
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[63, 94], Operations: ['42+21=63', '37+57=94']
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,83 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,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,3
Current State: 83:[57, 100], Operations: ['42+21=63', '37+63=100']
Exploring Operation: 57*100=5700, Resulting Numbers: [5700]
5700,83 unequal: No Solution
Exploring Operation: 100-57=43, Resulting Numbers: [43]
43,83 unequal: No Solution
Exploring Operation: 57+100=157, Resulting Numbers: [157]
157,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,0
Current State: 83:[63, 20], Operations: ['42+21=63', '57-37=20']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,83 unequal: No Solution
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,83 unequal: No Solution
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[37, 42, 57, 21], Operations: []
Exploring Operation: 42+21=63, Resulting Numbers: [37, 57, 63]
Generated Node #0,0: 83:[37, 57, 63] Operation: 42+21=63
Moving to Node #0,0
Current State: 83:[37, 57, 63], Operations: ['42+21=63']
Exploring Operation: 57-37=20, Resulting Numbers: [63, 20]
Generated Node #0,0,0: 83:[63, 20] Operation: 57-37=20
Moving to Node #0,0,0
Current State: 83:[63, 20], Operations: ['42+21=63', '57-37=20']
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
95,
42,
3,
18
] | 32 | [
"95-42=53",
"3+18=21",
"53-21=32"
] | Current State: 32:[95, 42, 3, 18], Operations: []
Exploring Operation: 95-42=53, Resulting Numbers: [3, 18, 53]
Generated Node #2: [3, 18, 53] from Operation: 95-42=53
Current State: 32:[3, 18, 53], Operations: ['95-42=53']
Exploring Operation: 3+18=21, Resulting Numbers: [53, 21]
Generated Node #3: [53, 21] from Operation: 3+18=21
Current State: 32:[53, 21], Operations: ['95-42=53', '3+18=21']
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[95, 42, 3, 18], Operations: []
Exploring Operation: 95-42=53, Resulting Numbers: [3, 18, 53]
Generated Node #0,0: 32:[3, 18, 53] Operation: 95-42=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[3, 18, 53], Operations: ['95-42=53']
Exploring Operation: 53-18=35, Resulting Numbers: [3, 35]
Generated Node #0,0,0: 32:[3, 35] Operation: 53-18=35
Moving to Node #0,0,0
Current State: 32:[3, 35], Operations: ['95-42=53', '53-18=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[95, 42, 3, 18], Operations: []
Exploring Operation: 95-42=53, Resulting Numbers: [3, 18, 53]
Generated Node #0,0: 32:[3, 18, 53] Operation: 95-42=53
Moving to Node #0,0
Current State: 32:[3, 18, 53], Operations: ['95-42=53']
Exploring Operation: 53-18=35, Resulting Numbers: [3, 35]
Generated Node #0,0,0: 32:[3, 35] Operation: 53-18=35
Moving to Node #0,0,0
Current State: 32:[3, 35], Operations: ['95-42=53', '53-18=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
53,
73,
26,
4
] | 21 | [
"73-53=20",
"20/4=5",
"26-5=21"
] | Current State: 21:[53, 73, 26, 4], Operations: []
Exploring Operation: 73-53=20, Resulting Numbers: [26, 4, 20]
Generated Node #2: [26, 4, 20] from Operation: 73-53=20
Current State: 21:[26, 4, 20], Operations: ['73-53=20']
Exploring Operation: 20/4=5, Resulting Numbers: [26, 5]
Generated Node #3: [26, 5] from Operation: 20/4=5
Current State: 21:[26, 5], Operations: ['73-53=20', '20/4=5']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[53, 73, 26, 4], Operations: []
Exploring Operation: 73-53=20, Resulting Numbers: [26, 4, 20]
Generated Node #0,0: 21:[26, 4, 20] Operation: 73-53=20
Moving to Node #0,0
Current State: 21:[26, 4, 20], Operations: ['73-53=20']
Exploring Operation: 26-4=22, Resulting Numbers: [20, 22]
Generated Node #0,0,0: 21:[20, 22] Operation: 26-4=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[20, 22], Operations: ['73-53=20', '26-4=22']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,21 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 |
[
78,
25,
50,
75
] | 22 | [
"78+25=103",
"50+75=125",
"125-103=22"
] | Current State: 22:[78, 25, 50, 75], Operations: []
Exploring Operation: 78+25=103, Resulting Numbers: [50, 75, 103]
Generated Node #2: [50, 75, 103] from Operation: 78+25=103
Current State: 22:[50, 75, 103], Operations: ['78+25=103']
Exploring Operation: 50+75=125, Resulting Numbers: [103, 125]
Generated Node #3: [103, 125] from Operation: 50+75=125
Current State: 22:[103, 125], Operations: ['78+25=103', '50+75=125']
Exploring Operation: 125-103=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[78, 25, 50, 75], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [25, 50, 3]
Generated Node #0,0: 22:[25, 50, 3] Operation: 78-75=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[25, 50, 3], Operations: ['78-75=3']
Exploring Operation: 50/25=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 22:[3, 2] Operation: 50/25=2
Moving to Node #0,0,0
Current State: 22:[3, 2], Operations: ['78-75=3', '50/25=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,22 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 |
[
1,
34,
18,
36
] | 87 | [
"34-1=33",
"18+36=54",
"33+54=87"
] | Current State: 87:[1, 34, 18, 36], Operations: []
Exploring Operation: 34-1=33, Resulting Numbers: [18, 36, 33]
Generated Node #2: [18, 36, 33] from Operation: 34-1=33
Current State: 87:[18, 36, 33], Operations: ['34-1=33']
Exploring Operation: 18+36=54, Resulting Numbers: [33, 54]
Generated Node #3: [33, 54] from Operation: 18+36=54
Current State: 87:[33, 54], Operations: ['34-1=33', '18+36=54']
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[1, 34, 18, 36], Operations: []
Exploring Operation: 34-1=33, Resulting Numbers: [18, 36, 33]
Generated Node #0,0: 87:[18, 36, 33] Operation: 34-1=33
Exploring Operation: 36-34=2, Resulting Numbers: [1, 18, 2]
Generated Node #0,1: 87:[1, 18, 2] Operation: 36-34=2
Exploring Operation: 1+18=19, Resulting Numbers: [34, 36, 19]
Generated Node #0,2: 87:[34, 36, 19] Operation: 1+18=19
Exploring Operation: 36/18=2, Resulting Numbers: [1, 34, 2]
Generated Node #0,3: 87:[1, 34, 2] Operation: 36/18=2
Exploring Operation: 36-18=18, Resulting Numbers: [1, 34, 18]
Generated Node #0,4: 87:[1, 34, 18] Operation: 36-18=18
Moving to Node #0,3
Current State: 87:[1, 34, 2], Operations: ['36/18=2']
Exploring Operation: 34-2=32, Resulting Numbers: [1, 32]
Generated Node #0,3,0: 87:[1, 32] Operation: 34-2=32
Exploring Operation: 1+2=3, Resulting Numbers: [34, 3]
Generated Node #0,3,1: 87:[34, 3] Operation: 1+2=3
Exploring Operation: 34/1=34, Resulting Numbers: [2, 34]
Generated Node #0,3,2: 87:[2, 34] Operation: 34/1=34
Exploring Operation: 1*34=34, Resulting Numbers: [2, 34]
Generated Node #0,3,3: 87:[2, 34] Operation: 1*34=34
Exploring Operation: 34-1=33, Resulting Numbers: [2, 33]
Generated Node #0,3,4: 87:[2, 33] Operation: 34-1=33
Moving to Node #0,1
Current State: 87:[1, 18, 2], Operations: ['36-34=2']
Exploring Operation: 18*2=36, Resulting Numbers: [1, 36]
Generated Node #0,1,0: 87:[1, 36] Operation: 18*2=36
Exploring Operation: 1+18=19, Resulting Numbers: [2, 19]
Generated Node #0,1,1: 87:[2, 19] Operation: 1+18=19
Exploring Operation: 18+2=20, Resulting Numbers: [1, 20]
Generated Node #0,1,2: 87:[1, 20] Operation: 18+2=20
Exploring Operation: 18/2=9, Resulting Numbers: [1, 9]
Generated Node #0,1,3: 87:[1, 9] Operation: 18/2=9
Exploring Operation: 1+2=3, Resulting Numbers: [18, 3]
Generated Node #0,1,4: 87:[18, 3] Operation: 1+2=3
Moving to Node #0,4
Current State: 87:[1, 34, 18], Operations: ['36-18=18']
Exploring Operation: 34/1=34, Resulting Numbers: [18, 34]
Generated Node #0,4,0: 87:[18, 34] Operation: 34/1=34
Exploring Operation: 1+18=19, Resulting Numbers: [34, 19]
Generated Node #0,4,1: 87:[34, 19] Operation: 1+18=19
Exploring Operation: 1*34=34, Resulting Numbers: [18, 34]
Generated Node #0,4,2: 87:[18, 34] Operation: 1*34=34
Exploring Operation: 34-1=33, Resulting Numbers: [18, 33]
Generated Node #0,4,3: 87:[18, 33] Operation: 34-1=33
Exploring Operation: 34-18=16, Resulting Numbers: [1, 16]
Generated Node #0,4,4: 87:[1, 16] Operation: 34-18=16
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 87:[34, 19], Operations: ['36-18=18', '1+18=19']
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,87 unequal: No Solution
No 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: 87:[18, 33], Operations: ['36-18=18', '34-1=33']
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,87 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 87:[1, 16], Operations: ['36-18=18', '34-18=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,87 unequal: No Solution
No 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: 87:[18, 34], Operations: ['36-18=18', '34/1=34']
Exploring Operation: 18*34=612, Resulting Numbers: [612]
612,87 unequal: No Solution
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,87 unequal: No Solution
No 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: 87:[18, 34], Operations: ['36-18=18', '1*34=34']
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,87 unequal: No Solution
Exploring Operation: 18*34=612, Resulting Numbers: [612]
612,87 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: 87:[18, 36, 33], Operations: ['34-1=33']
Exploring Operation: 18+36=54, Resulting Numbers: [33, 54]
Generated Node #0,0,0: 87:[33, 54] Operation: 18+36=54
Exploring Operation: 36-18=18, Resulting Numbers: [33, 18]
Generated Node #0,0,1: 87:[33, 18] Operation: 36-18=18
Exploring Operation: 36-33=3, Resulting Numbers: [18, 3]
Generated Node #0,0,2: 87:[18, 3] Operation: 36-33=3
Exploring Operation: 33-18=15, Resulting Numbers: [36, 15]
Generated Node #0,0,3: 87:[36, 15] Operation: 33-18=15
Exploring Operation: 36/18=2, Resulting Numbers: [33, 2]
Generated Node #0,0,4: 87:[33, 2] Operation: 36/18=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 87:[33, 2], Operations: ['34-1=33', '36/18=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,87 unequal: No Solution
No 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: 87:[18, 3], Operations: ['34-1=33', '36-33=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,87 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,87 unequal: No Solution
No 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: 87:[33, 18], Operations: ['34-1=33', '36-18=18']
Exploring Operation: 33*18=594, Resulting Numbers: [594]
594,87 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,87 unequal: No Solution
No 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: 87:[36, 15], Operations: ['34-1=33', '33-18=15']
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,87 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,87 unequal: No Solution
No 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: 87:[33, 54], Operations: ['34-1=33', '18+36=54']
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,87 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[1, 34, 18, 36], Operations: []
Exploring Operation: 34-1=33, Resulting Numbers: [18, 36, 33]
Generated Node #0,0: 87:[18, 36, 33] Operation: 34-1=33
Moving to Node #0,0
Current State: 87:[18, 36, 33], Operations: ['34-1=33']
Exploring Operation: 18+36=54, Resulting Numbers: [33, 54]
Generated Node #0,0,0: 87:[33, 54] Operation: 18+36=54
Moving to Node #0,0,0
Current State: 87:[33, 54], Operations: ['34-1=33', '18+36=54']
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | mult_heuristic |
[
12,
28,
57,
47
] | 36 | [
"12*57=684",
"47-28=19",
"684/19=36"
] | Current State: 36:[12, 28, 57, 47], Operations: []
Exploring Operation: 12*57=684, Resulting Numbers: [28, 47, 684]
Generated Node #2: [28, 47, 684] from Operation: 12*57=684
Current State: 36:[28, 47, 684], Operations: ['12*57=684']
Exploring Operation: 47-28=19, Resulting Numbers: [684, 19]
Generated Node #3: [684, 19] from Operation: 47-28=19
Current State: 36:[684, 19], Operations: ['12*57=684', '47-28=19']
Exploring Operation: 684/19=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[12, 28, 57, 47], Operations: []
Exploring Operation: 47-28=19, Resulting Numbers: [12, 57, 19]
Generated Node #0,0: 36:[12, 57, 19] Operation: 47-28=19
Exploring Operation: 47-12=35, Resulting Numbers: [28, 57, 35]
Generated Node #0,1: 36:[28, 57, 35] Operation: 47-12=35
Exploring Operation: 57-28=29, Resulting Numbers: [12, 47, 29]
Generated Node #0,2: 36:[12, 47, 29] Operation: 57-28=29
Exploring Operation: 57-12=45, Resulting Numbers: [28, 47, 45]
Generated Node #0,3: 36:[28, 47, 45] Operation: 57-12=45
Exploring Operation: 57-47=10, Resulting Numbers: [12, 28, 10]
Generated Node #0,4: 36:[12, 28, 10] Operation: 57-47=10
Moving to Node #0,4
Current State: 36:[12, 28, 10], Operations: ['57-47=10']
Exploring Operation: 28+10=38, Resulting Numbers: [12, 38]
Generated Node #0,4,0: 36:[12, 38] Operation: 28+10=38
Exploring Operation: 12-10=2, Resulting Numbers: [28, 2]
Generated Node #0,4,1: 36:[28, 2] Operation: 12-10=2
Exploring Operation: 28-10=18, Resulting Numbers: [12, 18]
Generated Node #0,4,2: 36:[12, 18] Operation: 28-10=18
Exploring Operation: 12+28=40, Resulting Numbers: [10, 40]
Generated Node #0,4,3: 36:[10, 40] Operation: 12+28=40
Exploring Operation: 28-12=16, Resulting Numbers: [10, 16]
Generated Node #0,4,4: 36:[10, 16] Operation: 28-12=16
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 36:[12, 18], Operations: ['57-47=10', '28-10=18']
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,36 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 36:[12, 38], Operations: ['57-47=10', '28+10=38']
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 36:[10, 16], Operations: ['57-47=10', '28-12=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,36 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 36:[10, 40], Operations: ['57-47=10', '12+28=40']
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 36:[28, 2], Operations: ['57-47=10', '12-10=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 36:[12, 47, 29], Operations: ['57-28=29']
Exploring Operation: 47-12=35, Resulting Numbers: [29, 35]
Generated Node #0,2,0: 36:[29, 35] Operation: 47-12=35
Exploring Operation: 47-29=18, Resulting Numbers: [12, 18]
Generated Node #0,2,1: 36:[12, 18] Operation: 47-29=18
Exploring Operation: 29-12=17, Resulting Numbers: [47, 17]
Generated Node #0,2,2: 36:[47, 17] Operation: 29-12=17
Exploring Operation: 12+47=59, Resulting Numbers: [29, 59]
Generated Node #0,2,3: 36:[29, 59] Operation: 12+47=59
Exploring Operation: 12+29=41, Resulting Numbers: [47, 41]
Generated Node #0,2,4: 36:[47, 41] Operation: 12+29=41
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[12, 18], Operations: ['57-28=29', '47-29=18']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[29, 35], Operations: ['57-28=29', '47-12=35']
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,36 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[47, 17], Operations: ['57-28=29', '29-12=17']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 47*17=799, Resulting Numbers: [799]
799,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 36:[47, 41], Operations: ['57-28=29', '12+29=41']
Exploring Operation: 47*41=1927, Resulting Numbers: [1927]
1927,36 unequal: No Solution
Exploring Operation: 47+41=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 47-41=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 36:[29, 59], Operations: ['57-28=29', '12+47=59']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 29*59=1711, Resulting Numbers: [1711]
1711,36 unequal: No Solution
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,36 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: 36:[12, 57, 19], Operations: ['47-28=19']
Exploring Operation: 57-19=38, Resulting Numbers: [12, 38]
Generated Node #0,0,0: 36:[12, 38] Operation: 57-19=38
Exploring Operation: 12+19=31, Resulting Numbers: [57, 31]
Generated Node #0,0,1: 36:[57, 31] Operation: 12+19=31
Exploring Operation: 57-12=45, Resulting Numbers: [19, 45]
Generated Node #0,0,2: 36:[19, 45] Operation: 57-12=45
Exploring Operation: 19-12=7, Resulting Numbers: [57, 7]
Generated Node #0,0,3: 36:[57, 7] Operation: 19-12=7
Exploring Operation: 57/19=3, Resulting Numbers: [12, 3]
Generated Node #0,0,4: 36:[12, 3] Operation: 57/19=3
Moving to Node #0,3
Current State: 36:[28, 47, 45], Operations: ['57-12=45']
Exploring Operation: 28+47=75, Resulting Numbers: [45, 75]
Generated Node #0,3,0: 36:[45, 75] Operation: 28+47=75
Exploring Operation: 47-45=2, Resulting Numbers: [28, 2]
Generated Node #0,3,1: 36:[28, 2] Operation: 47-45=2
Exploring Operation: 28+45=73, Resulting Numbers: [47, 73]
Generated Node #0,3,2: 36:[47, 73] Operation: 28+45=73
Exploring Operation: 47-28=19, Resulting Numbers: [45, 19]
Generated Node #0,3,3: 36:[45, 19] Operation: 47-28=19
Exploring Operation: 45-28=17, Resulting Numbers: [47, 17]
Generated Node #0,3,4: 36:[47, 17] Operation: 45-28=17
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 36:[28, 2], Operations: ['57-12=45', '47-45=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 36:[45, 19], Operations: ['57-12=45', '47-28=19']
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,36 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 36:[47, 17], Operations: ['57-12=45', '45-28=17']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 47*17=799, Resulting Numbers: [799]
799,36 unequal: No Solution
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 36:[45, 75], Operations: ['57-12=45', '28+47=75']
Exploring Operation: 45+75=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Exploring Operation: 45*75=3375, Resulting Numbers: [3375]
3375,36 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 36:[47, 73], Operations: ['57-12=45', '28+45=73']
Exploring Operation: 47*73=3431, Resulting Numbers: [3431]
3431,36 unequal: No Solution
Exploring Operation: 73-47=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 47+73=120, Resulting Numbers: [120]
120,36 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: 36:[28, 57, 35], Operations: ['47-12=35']
Exploring Operation: 28+35=63, Resulting Numbers: [57, 63]
Generated Node #0,1,0: 36:[57, 63] Operation: 28+35=63
Exploring Operation: 35-28=7, Resulting Numbers: [57, 7]
Generated Node #0,1,1: 36:[57, 7] Operation: 35-28=7
Exploring Operation: 57-35=22, Resulting Numbers: [28, 22]
Generated Node #0,1,2: 36:[28, 22] Operation: 57-35=22
Exploring Operation: 28+57=85, Resulting Numbers: [35, 85]
Generated Node #0,1,3: 36:[35, 85] Operation: 28+57=85
Exploring Operation: 57-28=29, Resulting Numbers: [35, 29]
Generated Node #0,1,4: 36:[35, 29] Operation: 57-28=29
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 36:[35, 29], Operations: ['47-12=35', '57-28=29']
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 35+29=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 35*29=1015, Resulting Numbers: [1015]
1015,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[28, 22], Operations: ['47-12=35', '57-35=22']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,36 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[57, 7], Operations: ['47-12=35', '35-28=7']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 57*7=399, Resulting Numbers: [399]
399,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[57, 63], Operations: ['47-12=35', '28+35=63']
Exploring Operation: 57+63=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Exploring Operation: 57*63=3591, Resulting Numbers: [3591]
3591,36 unequal: No Solution
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 36:[35, 85], Operations: ['47-12=35', '28+57=85']
Exploring Operation: 35+85=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 35*85=2975, Resulting Numbers: [2975]
2975,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 36:[12, 3], Operations: ['47-28=19', '57/19=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[12, 28, 57, 47], Operations: []
Exploring Operation: 47-28=19, Resulting Numbers: [12, 57, 19]
Generated Node #0,0: 36:[12, 57, 19] Operation: 47-28=19
Moving to Node #0,0
Current State: 36:[12, 57, 19], Operations: ['47-28=19']
Exploring Operation: 57/19=3, Resulting Numbers: [12, 3]
Generated Node #0,0,4: 36:[12, 3] Operation: 57/19=3
Moving to Node #0,0,4
Current State: 36:[12, 3], Operations: ['47-28=19', '57/19=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.914063 | hs_5 | mult_heuristic |
[
54,
46,
52,
60
] | 32 | [
"54-52=2",
"46*2=92",
"92-60=32"
] | Current State: 32:[54, 46, 52, 60], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [46, 60, 2]
Generated Node #2: [46, 60, 2] from Operation: 54-52=2
Current State: 32:[46, 60, 2], Operations: ['54-52=2']
Exploring Operation: 46*2=92, Resulting Numbers: [60, 92]
Generated Node #3: [60, 92] from Operation: 46*2=92
Current State: 32:[60, 92], Operations: ['54-52=2', '46*2=92']
Exploring Operation: 92-60=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[54, 46, 52, 60], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [46, 52, 6]
Generated Node #0,0: 32:[46, 52, 6] Operation: 60-54=6
Exploring Operation: 54-52=2, Resulting Numbers: [46, 60, 2]
Generated Node #0,1: 32:[46, 60, 2] Operation: 54-52=2
Exploring Operation: 60-46=14, Resulting Numbers: [54, 52, 14]
Generated Node #0,2: 32:[54, 52, 14] Operation: 60-46=14
Exploring Operation: 60-52=8, Resulting Numbers: [54, 46, 8]
Generated Node #0,3: 32:[54, 46, 8] Operation: 60-52=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[46, 52, 6], Operations: ['60-54=6']
Exploring Operation: 52-6=46, Resulting Numbers: [46, 46]
Generated Node #0,0,0: 32:[46, 46] Operation: 52-6=46
Exploring Operation: 52-46=6, Resulting Numbers: [6, 6]
Generated Node #0,0,1: 32:[6, 6] Operation: 52-46=6
Exploring Operation: 46-6=40, Resulting Numbers: [52, 40]
Generated Node #0,0,2: 32:[52, 40] Operation: 46-6=40
Exploring Operation: 46+6=52, Resulting Numbers: [52, 52]
Generated Node #0,0,3: 32:[52, 52] Operation: 46+6=52
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[6, 6], Operations: ['60-54=6', '52-46=6']
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,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,0,0
Current State: 32:[46, 46], Operations: ['60-54=6', '52-6=46']
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,32 unequal: No Solution
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,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,0,2
Current State: 32:[52, 40], Operations: ['60-54=6', '46-6=40']
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,32 unequal: No Solution
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,32 unequal: No Solution
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,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,0,3
Current State: 32:[52, 52], Operations: ['60-54=6', '46+6=52']
Exploring Operation: 52-52=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 52/52=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 52*52=2704, Resulting Numbers: [2704]
2704,32 unequal: No Solution
Exploring Operation: 52+52=104, Resulting Numbers: [104]
104,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[54, 46, 8], Operations: ['60-52=8']
Exploring Operation: 54+8=62, Resulting Numbers: [46, 62]
Generated Node #0,3,0: 32:[46, 62] Operation: 54+8=62
Exploring Operation: 54-46=8, Resulting Numbers: [8, 8]
Generated Node #0,3,1: 32:[8, 8] Operation: 54-46=8
Exploring Operation: 46-8=38, Resulting Numbers: [54, 38]
Generated Node #0,3,2: 32:[54, 38] Operation: 46-8=38
Exploring Operation: 54-8=46, Resulting Numbers: [46, 46]
Generated Node #0,3,3: 32:[46, 46] Operation: 54-8=46
Moving to Node #0,3,1
Current State: 32:[8, 8], Operations: ['60-52=8', '54-46=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,32 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[46, 46], Operations: ['60-52=8', '54-8=46']
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,32 unequal: No Solution
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[54, 38], Operations: ['60-52=8', '46-8=38']
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,32 unequal: No Solution
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[46, 62], Operations: ['60-52=8', '54+8=62']
Exploring Operation: 46*62=2852, Resulting Numbers: [2852]
2852,32 unequal: No Solution
Exploring Operation: 46+62=108, Resulting Numbers: [108]
108,32 unequal: No Solution
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[46, 60, 2], Operations: ['54-52=2']
Exploring Operation: 46/2=23, Resulting Numbers: [60, 23]
Generated Node #0,1,0: 32:[60, 23] Operation: 46/2=23
Exploring Operation: 46-2=44, Resulting Numbers: [60, 44]
Generated Node #0,1,1: 32:[60, 44] Operation: 46-2=44
Exploring Operation: 60-46=14, Resulting Numbers: [2, 14]
Generated Node #0,1,2: 32:[2, 14] Operation: 60-46=14
Exploring Operation: 60/2=30, Resulting Numbers: [46, 30]
Generated Node #0,1,3: 32:[46, 30] Operation: 60/2=30
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 32:[2, 14], Operations: ['54-52=2', '60-46=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,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,1,3
Current State: 32:[46, 30], Operations: ['54-52=2', '60/2=30']
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,32 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,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,1,0
Current State: 32:[60, 23], Operations: ['54-52=2', '46/2=23']
Exploring Operation: 60*23=1380, Resulting Numbers: [1380]
1380,32 unequal: No Solution
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,32 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,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,1,1
Current State: 32:[60, 44], Operations: ['54-52=2', '46-2=44']
Exploring Operation: 60+44=104, Resulting Numbers: [104]
104,32 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 60*44=2640, Resulting Numbers: [2640]
2640,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[54, 52, 14], Operations: ['60-46=14']
Exploring Operation: 54+14=68, Resulting Numbers: [52, 68]
Generated Node #0,2,0: 32:[52, 68] Operation: 54+14=68
Exploring Operation: 52-14=38, Resulting Numbers: [54, 38]
Generated Node #0,2,1: 32:[54, 38] Operation: 52-14=38
Exploring Operation: 54-52=2, Resulting Numbers: [14, 2]
Generated Node #0,2,2: 32:[14, 2] Operation: 54-52=2
Exploring Operation: 54-14=40, Resulting Numbers: [52, 40]
Generated Node #0,2,3: 32:[52, 40] Operation: 54-14=40
Moving to Node #0,2,2
Current State: 32:[14, 2], Operations: ['60-46=14', '54-52=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[52, 40], Operations: ['60-46=14', '54-14=40']
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,32 unequal: No Solution
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[54, 38], Operations: ['60-46=14', '52-14=38']
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,32 unequal: No Solution
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,32 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[52, 68], Operations: ['60-46=14', '54+14=68']
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 52+68=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 52*68=3536, Resulting Numbers: [3536]
3536,32 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 |
[
46,
92,
14,
24
] | 97 | [
"46+24=70",
"70/14=5",
"92+5=97"
] | Current State: 97:[46, 92, 14, 24], Operations: []
Exploring Operation: 46+24=70, Resulting Numbers: [92, 14, 70]
Generated Node #2: [92, 14, 70] from Operation: 46+24=70
Current State: 97:[92, 14, 70], Operations: ['46+24=70']
Exploring Operation: 70/14=5, Resulting Numbers: [92, 5]
Generated Node #3: [92, 5] from Operation: 70/14=5
Current State: 97:[92, 5], Operations: ['46+24=70', '70/14=5']
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[46, 92, 14, 24], Operations: []
Exploring Operation: 46+14=60, Resulting Numbers: [92, 24, 60]
Generated Node #0,0: 97:[92, 24, 60] Operation: 46+14=60
Exploring Operation: 46+24=70, Resulting Numbers: [92, 14, 70]
Generated Node #0,1: 97:[92, 14, 70] Operation: 46+24=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[92, 24, 60], Operations: ['46+14=60']
Exploring Operation: 24+60=84, Resulting Numbers: [92, 84]
Generated Node #0,0,0: 97:[92, 84] Operation: 24+60=84
Exploring Operation: 92+24=116, Resulting Numbers: [60, 116]
Generated Node #0,0,1: 97:[60, 116] Operation: 92+24=116
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[92, 84], Operations: ['46+14=60', '24+60=84']
Exploring Operation: 92+84=176, Resulting Numbers: [176]
176,97 unequal: No Solution
Exploring Operation: 92-84=8, Resulting Numbers: [8]
8,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[60, 116], Operations: ['46+14=60', '92+24=116']
Exploring Operation: 116-60=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 60+116=176, Resulting Numbers: [176]
176,97 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: 97:[92, 14, 70], Operations: ['46+24=70']
Exploring Operation: 92+14=106, Resulting Numbers: [70, 106]
Generated Node #0,1,0: 97:[70, 106] Operation: 92+14=106
Exploring Operation: 14+70=84, Resulting Numbers: [92, 84]
Generated Node #0,1,1: 97:[92, 84] Operation: 14+70=84
Moving to Node #0,1,1
Current State: 97:[92, 84], Operations: ['46+24=70', '14+70=84']
Exploring Operation: 92-84=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 92+84=176, Resulting Numbers: [176]
176,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[70, 106], Operations: ['46+24=70', '92+14=106']
Exploring Operation: 106-70=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 70+106=176, Resulting Numbers: [176]
176,97 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 |
[
29,
50,
56,
49
] | 86 | [
"29+50=79",
"56-49=7",
"79+7=86"
] | Current State: 86:[29, 50, 56, 49], Operations: []
Exploring Operation: 29+50=79, Resulting Numbers: [56, 49, 79]
Generated Node #2: [56, 49, 79] from Operation: 29+50=79
Current State: 86:[56, 49, 79], Operations: ['29+50=79']
Exploring Operation: 56-49=7, Resulting Numbers: [79, 7]
Generated Node #3: [79, 7] from Operation: 56-49=7
Current State: 86:[79, 7], Operations: ['29+50=79', '56-49=7']
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[29, 50, 56, 49], Operations: []
Exploring Operation: 29+56=85, Resulting Numbers: [50, 49, 85]
Generated Node #0,0: 86:[50, 49, 85] Operation: 29+56=85
Moving to Node #0,0
Current State: 86:[50, 49, 85], Operations: ['29+56=85']
Exploring Operation: 50-49=1, Resulting Numbers: [85, 1]
Generated Node #0,0,0: 86:[85, 1] Operation: 50-49=1
Moving to Node #0,0,0
Current State: 86:[85, 1], Operations: ['29+56=85', '50-49=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[29, 50, 56, 49], Operations: []
Exploring Operation: 29+56=85, Resulting Numbers: [50, 49, 85]
Generated Node #0,0: 86:[50, 49, 85] Operation: 29+56=85
Moving to Node #0,0
Current State: 86:[50, 49, 85], Operations: ['29+56=85']
Exploring Operation: 50-49=1, Resulting Numbers: [85, 1]
Generated Node #0,0,0: 86:[85, 1] Operation: 50-49=1
Moving to Node #0,0,0
Current State: 86:[85, 1], Operations: ['29+56=85', '50-49=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
76,
18,
81,
99
] | 75 | [
"18+81=99",
"99/99=1",
"76-1=75"
] | Current State: 75:[76, 18, 81, 99], Operations: []
Exploring Operation: 18+81=99, Resulting Numbers: [76, 99, 99]
Generated Node #2: [76, 99, 99] from Operation: 18+81=99
Current State: 75:[76, 99, 99], Operations: ['18+81=99']
Exploring Operation: 99/99=1, Resulting Numbers: [76, 1]
Generated Node #3: [76, 1] from Operation: 99/99=1
Current State: 75:[76, 1], Operations: ['18+81=99', '99/99=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[76, 18, 81, 99], Operations: []
Exploring Operation: 99-18=81, Resulting Numbers: [76, 81, 81]
Generated Node #0,0: 75:[76, 81, 81] Operation: 99-18=81
Exploring Operation: 81-18=63, Resulting Numbers: [76, 99, 63]
Generated Node #0,1: 75:[76, 99, 63] Operation: 81-18=63
Exploring Operation: 81-76=5, Resulting Numbers: [18, 99, 5]
Generated Node #0,2: 75:[18, 99, 5] Operation: 81-76=5
Exploring Operation: 99-81=18, Resulting Numbers: [76, 18, 18]
Generated Node #0,3: 75:[76, 18, 18] Operation: 99-81=18
Exploring Operation: 99-76=23, Resulting Numbers: [18, 81, 23]
Generated Node #0,4: 75:[18, 81, 23] Operation: 99-76=23
Moving to Node #0,3
Current State: 75:[76, 18, 18], Operations: ['99-81=18']
Exploring Operation: 18/18=1, Resulting Numbers: [76, 1]
Generated Node #0,3,0: 75:[76, 1] Operation: 18/18=1
Exploring Operation: 76-18=58, Resulting Numbers: [18, 58]
Generated Node #0,3,1: 75:[18, 58] Operation: 76-18=58
Exploring Operation: 18+18=36, Resulting Numbers: [76, 36]
Generated Node #0,3,2: 75:[76, 36] Operation: 18+18=36
Exploring Operation: 76-18=58, Resulting Numbers: [18, 58]
Generated Node #0,3,3: 75:[18, 58] Operation: 76-18=58
Exploring Operation: 18-18=0, Resulting Numbers: [76, 0]
Generated Node #0,3,4: 75:[76, 0] Operation: 18-18=0
Moving to Node #0,4
Current State: 75:[18, 81, 23], Operations: ['99-76=23']
Exploring Operation: 23-18=5, Resulting Numbers: [81, 5]
Generated Node #0,4,0: 75:[81, 5] Operation: 23-18=5
Exploring Operation: 81-23=58, Resulting Numbers: [18, 58]
Generated Node #0,4,1: 75:[18, 58] Operation: 81-23=58
Exploring Operation: 81-18=63, Resulting Numbers: [23, 63]
Generated Node #0,4,2: 75:[23, 63] Operation: 81-18=63
Exploring Operation: 18+81=99, Resulting Numbers: [23, 99]
Generated Node #0,4,3: 75:[23, 99] Operation: 18+81=99
Exploring Operation: 18+23=41, Resulting Numbers: [81, 41]
Generated Node #0,4,4: 75:[81, 41] Operation: 18+23=41
Moving to Node #0,0
Current State: 75:[76, 81, 81], Operations: ['99-18=81']
Exploring Operation: 81-76=5, Resulting Numbers: [81, 5]
Generated Node #0,0,0: 75:[81, 5] Operation: 81-76=5
Exploring Operation: 81-81=0, Resulting Numbers: [76, 0]
Generated Node #0,0,1: 75:[76, 0] Operation: 81-81=0
Exploring Operation: 76+81=157, Resulting Numbers: [81, 157]
Generated Node #0,0,2: 75:[81, 157] Operation: 76+81=157
Exploring Operation: 81/81=1, Resulting Numbers: [76, 1]
Generated Node #0,0,3: 75:[76, 1] Operation: 81/81=1
Exploring Operation: 81-76=5, Resulting Numbers: [81, 5]
Generated Node #0,0,4: 75:[81, 5] Operation: 81-76=5
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[76, 1], Operations: ['99-18=81', '81/81=1']
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[76, 18, 81, 99], Operations: []
Exploring Operation: 99-18=81, Resulting Numbers: [76, 81, 81]
Generated Node #0,0: 75:[76, 81, 81] Operation: 99-18=81
Moving to Node #0,0
Current State: 75:[76, 81, 81], Operations: ['99-18=81']
Exploring Operation: 81/81=1, Resulting Numbers: [76, 1]
Generated Node #0,0,3: 75:[76, 1] Operation: 81/81=1
Moving to Node #0,0,3
Current State: 75:[76, 1], Operations: ['99-18=81', '81/81=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
52,
84,
36,
53
] | 49 | [
"84-52=32",
"53-36=17",
"32+17=49"
] | Current State: 49:[52, 84, 36, 53], Operations: []
Exploring Operation: 84-52=32, Resulting Numbers: [36, 53, 32]
Generated Node #2: [36, 53, 32] from Operation: 84-52=32
Current State: 49:[36, 53, 32], Operations: ['84-52=32']
Exploring Operation: 53-36=17, Resulting Numbers: [32, 17]
Generated Node #3: [32, 17] from Operation: 53-36=17
Current State: 49:[32, 17], Operations: ['84-52=32', '53-36=17']
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[52, 84, 36, 53], Operations: []
Exploring Operation: 84-52=32, Resulting Numbers: [36, 53, 32]
Generated Node #0,0: 49:[36, 53, 32] Operation: 84-52=32
Exploring Operation: 84-36=48, Resulting Numbers: [52, 53, 48]
Generated Node #0,1: 49:[52, 53, 48] Operation: 84-36=48
Moving to Node #0,1
Current State: 49:[52, 53, 48], Operations: ['84-36=48']
Exploring Operation: 53-52=1, Resulting Numbers: [48, 1]
Generated Node #0,1,0: 49:[48, 1] Operation: 53-52=1
Exploring Operation: 53-48=5, Resulting Numbers: [52, 5]
Generated Node #0,1,1: 49:[52, 5] Operation: 53-48=5
Moving to Node #0,0
Current State: 49:[36, 53, 32], Operations: ['84-52=32']
Exploring Operation: 36-32=4, Resulting Numbers: [53, 4]
Generated Node #0,0,0: 49:[53, 4] Operation: 36-32=4
Exploring Operation: 36+32=68, Resulting Numbers: [53, 68]
Generated Node #0,0,1: 49:[53, 68] Operation: 36+32=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[53, 4], Operations: ['84-52=32', '36-32=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[52, 84, 36, 53], Operations: []
Exploring Operation: 84-52=32, Resulting Numbers: [36, 53, 32]
Generated Node #0,0: 49:[36, 53, 32] Operation: 84-52=32
Moving to Node #0,0
Current State: 49:[36, 53, 32], Operations: ['84-52=32']
Exploring Operation: 36-32=4, Resulting Numbers: [53, 4]
Generated Node #0,0,0: 49:[53, 4] Operation: 36-32=4
Moving to Node #0,0,0
Current State: 49:[53, 4], Operations: ['84-52=32', '36-32=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
20,
43,
16,
86
] | 34 | [
"20+16=36",
"86/43=2",
"36-2=34"
] | Current State: 34:[20, 43, 16, 86], Operations: []
Exploring Operation: 20+16=36, Resulting Numbers: [43, 86, 36]
Generated Node #2: [43, 86, 36] from Operation: 20+16=36
Current State: 34:[43, 86, 36], Operations: ['20+16=36']
Exploring Operation: 86/43=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 86/43=2
Current State: 34:[36, 2], Operations: ['20+16=36', '86/43=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[20, 43, 16, 86], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [20, 16, 2]
Generated Node #0,0: 34:[20, 16, 2] Operation: 86/43=2
Moving to Node #0,0
Current State: 34:[20, 16, 2], Operations: ['86/43=2']
Exploring Operation: 20+16=36, Resulting Numbers: [2, 36]
Generated Node #0,0,0: 34:[2, 36] Operation: 20+16=36
Moving to Node #0,0,0
Current State: 34:[2, 36], Operations: ['86/43=2', '20+16=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[20, 43, 16, 86], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [20, 16, 2]
Generated Node #0,0: 34:[20, 16, 2] Operation: 86/43=2
Moving to Node #0,0
Current State: 34:[20, 16, 2], Operations: ['86/43=2']
Exploring Operation: 20+16=36, Resulting Numbers: [2, 36]
Generated Node #0,0,0: 34:[2, 36] Operation: 20+16=36
Moving to Node #0,0,0
Current State: 34:[2, 36], Operations: ['86/43=2', '20+16=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
76,
23,
59,
22
] | 16 | [
"76-23=53",
"59-22=37",
"53-37=16"
] | Current State: 16:[76, 23, 59, 22], Operations: []
Exploring Operation: 76-23=53, Resulting Numbers: [59, 22, 53]
Generated Node #2: [59, 22, 53] from Operation: 76-23=53
Current State: 16:[59, 22, 53], Operations: ['76-23=53']
Exploring Operation: 59-22=37, Resulting Numbers: [53, 37]
Generated Node #3: [53, 37] from Operation: 59-22=37
Current State: 16:[53, 37], Operations: ['76-23=53', '59-22=37']
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[76, 23, 59, 22], Operations: []
Exploring Operation: 59-23=36, Resulting Numbers: [76, 22, 36]
Generated Node #0,0: 16:[76, 22, 36] Operation: 59-23=36
Exploring Operation: 76-23=53, Resulting Numbers: [59, 22, 53]
Generated Node #0,1: 16:[59, 22, 53] Operation: 76-23=53
Exploring Operation: 76-59=17, Resulting Numbers: [23, 22, 17]
Generated Node #0,2: 16:[23, 22, 17] Operation: 76-59=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[23, 22, 17], Operations: ['76-59=17']
Exploring Operation: 23-17=6, Resulting Numbers: [22, 6]
Generated Node #0,2,0: 16:[22, 6] Operation: 23-17=6
Exploring Operation: 23-22=1, Resulting Numbers: [17, 1]
Generated Node #0,2,1: 16:[17, 1] Operation: 23-22=1
Exploring Operation: 22-17=5, Resulting Numbers: [23, 5]
Generated Node #0,2,2: 16:[23, 5] Operation: 22-17=5
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 16:[17, 1], Operations: ['76-59=17', '23-22=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[76, 23, 59, 22], Operations: []
Exploring Operation: 76-59=17, Resulting Numbers: [23, 22, 17]
Generated Node #0,2: 16:[23, 22, 17] Operation: 76-59=17
Moving to Node #0,2
Current State: 16:[23, 22, 17], Operations: ['76-59=17']
Exploring Operation: 23-22=1, Resulting Numbers: [17, 1]
Generated Node #0,2,1: 16:[17, 1] Operation: 23-22=1
Moving to Node #0,2,1
Current State: 16:[17, 1], Operations: ['76-59=17', '23-22=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
76,
30,
42,
48
] | 40 | [
"76-30=46",
"48-42=6",
"46-6=40"
] | Current State: 40:[76, 30, 42, 48], Operations: []
Exploring Operation: 76-30=46, Resulting Numbers: [42, 48, 46]
Generated Node #2: [42, 48, 46] from Operation: 76-30=46
Current State: 40:[42, 48, 46], Operations: ['76-30=46']
Exploring Operation: 48-42=6, Resulting Numbers: [46, 6]
Generated Node #3: [46, 6] from Operation: 48-42=6
Current State: 40:[46, 6], Operations: ['76-30=46', '48-42=6']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[76, 30, 42, 48], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [30, 42, 28]
Generated Node #0,0: 40:[30, 42, 28] Operation: 76-48=28
Exploring Operation: 76-30=46, Resulting Numbers: [42, 48, 46]
Generated Node #0,1: 40:[42, 48, 46] Operation: 76-30=46
Exploring Operation: 48-30=18, Resulting Numbers: [76, 42, 18]
Generated Node #0,2: 40:[76, 42, 18] Operation: 48-30=18
Exploring Operation: 76-42=34, Resulting Numbers: [30, 48, 34]
Generated Node #0,3: 40:[30, 48, 34] Operation: 76-42=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[42, 48, 46], Operations: ['76-30=46']
Exploring Operation: 42+48=90, Resulting Numbers: [46, 90]
Generated Node #0,1,0: 40:[46, 90] Operation: 42+48=90
Exploring Operation: 48-42=6, Resulting Numbers: [46, 6]
Generated Node #0,1,1: 40:[46, 6] Operation: 48-42=6
Exploring Operation: 48-46=2, Resulting Numbers: [42, 2]
Generated Node #0,1,2: 40:[42, 2] Operation: 48-46=2
Exploring Operation: 46-42=4, Resulting Numbers: [48, 4]
Generated Node #0,1,3: 40:[48, 4] Operation: 46-42=4
Moving to Node #0,1,2
Current State: 40:[42, 2], Operations: ['76-30=46', '48-46=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[76, 30, 42, 48], Operations: []
Exploring Operation: 76-30=46, Resulting Numbers: [42, 48, 46]
Generated Node #0,1: 40:[42, 48, 46] Operation: 76-30=46
Moving to Node #0,1
Current State: 40:[42, 48, 46], Operations: ['76-30=46']
Exploring Operation: 48-46=2, Resulting Numbers: [42, 2]
Generated Node #0,1,2: 40:[42, 2] Operation: 48-46=2
Moving to Node #0,1,2
Current State: 40:[42, 2], Operations: ['76-30=46', '48-46=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
74,
68,
95,
10
] | 37 | [
"74+68=142",
"95+10=105",
"142-105=37"
] | Current State: 37:[74, 68, 95, 10], Operations: []
Exploring Operation: 74+68=142, Resulting Numbers: [95, 10, 142]
Generated Node #2: [95, 10, 142] from Operation: 74+68=142
Current State: 37:[95, 10, 142], Operations: ['74+68=142']
Exploring Operation: 95+10=105, Resulting Numbers: [142, 105]
Generated Node #3: [142, 105] from Operation: 95+10=105
Current State: 37:[142, 105], Operations: ['74+68=142', '95+10=105']
Exploring Operation: 142-105=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[74, 68, 95, 10], Operations: []
Exploring Operation: 74-68=6, Resulting Numbers: [95, 10, 6]
Generated Node #0,0: 37:[95, 10, 6] Operation: 74-68=6
Exploring Operation: 95-68=27, Resulting Numbers: [74, 10, 27]
Generated Node #0,1: 37:[74, 10, 27] Operation: 95-68=27
Exploring Operation: 95-74=21, Resulting Numbers: [68, 10, 21]
Generated Node #0,2: 37:[68, 10, 21] Operation: 95-74=21
Moving to Node #0,1
Current State: 37:[74, 10, 27], Operations: ['95-68=27']
Exploring Operation: 10+27=37, Resulting Numbers: [74, 37]
Generated Node #0,1,0: 37:[74, 37] Operation: 10+27=37
Exploring Operation: 74-27=47, Resulting Numbers: [10, 47]
Generated Node #0,1,1: 37:[10, 47] Operation: 74-27=47
Exploring Operation: 74-10=64, Resulting Numbers: [27, 64]
Generated Node #0,1,2: 37:[27, 64] Operation: 74-10=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[74, 37], Operations: ['95-68=27', '10+27=37']
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,37 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[74, 68, 95, 10], Operations: []
Exploring Operation: 95-68=27, Resulting Numbers: [74, 10, 27]
Generated Node #0,1: 37:[74, 10, 27] Operation: 95-68=27
Moving to Node #0,1
Current State: 37:[74, 10, 27], Operations: ['95-68=27']
Exploring Operation: 10+27=37, Resulting Numbers: [74, 37]
Generated Node #0,1,0: 37:[74, 37] Operation: 10+27=37
Moving to Node #0,1,0
Current State: 37:[74, 37], Operations: ['95-68=27', '10+27=37']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
73,
59,
21,
44
] | 66 | [
"73-59=14",
"21*44=924",
"924/14=66"
] | Current State: 66:[73, 59, 21, 44], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [21, 44, 14]
Generated Node #2: [21, 44, 14] from Operation: 73-59=14
Current State: 66:[21, 44, 14], Operations: ['73-59=14']
Exploring Operation: 21*44=924, Resulting Numbers: [14, 924]
Generated Node #3: [14, 924] from Operation: 21*44=924
Current State: 66:[14, 924], Operations: ['73-59=14', '21*44=924']
Exploring Operation: 924/14=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[73, 59, 21, 44], Operations: []
Exploring Operation: 73-44=29, Resulting Numbers: [59, 21, 29]
Generated Node #0,0: 66:[59, 21, 29] Operation: 73-44=29
Exploring Operation: 59-44=15, Resulting Numbers: [73, 21, 15]
Generated Node #0,1: 66:[73, 21, 15] Operation: 59-44=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[59, 21, 29], Operations: ['73-44=29']
Exploring Operation: 59-21=38, Resulting Numbers: [29, 38]
Generated Node #0,0,0: 66:[29, 38] Operation: 59-21=38
Exploring Operation: 59-29=30, Resulting Numbers: [21, 30]
Generated Node #0,0,1: 66:[21, 30] Operation: 59-29=30
Moving to Node #0,0,1
Current State: 66:[21, 30], Operations: ['73-44=29', '59-29=30']
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[29, 38], Operations: ['73-44=29', '59-21=38']
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[73, 21, 15], Operations: ['59-44=15']
Exploring Operation: 73-15=58, Resulting Numbers: [21, 58]
Generated Node #0,1,0: 66:[21, 58] Operation: 73-15=58
Exploring Operation: 21-15=6, Resulting Numbers: [73, 6]
Generated Node #0,1,1: 66:[73, 6] Operation: 21-15=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[73, 6], Operations: ['59-44=15', '21-15=6']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,66 unequal: No Solution
No 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: 66:[21, 58], Operations: ['59-44=15', '73-15=58']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 21+58=79, Resulting Numbers: [79]
79,66 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 |
[
14,
93,
5,
2
] | 72 | [
"93-14=79",
"5+2=7",
"79-7=72"
] | Current State: 72:[14, 93, 5, 2], Operations: []
Exploring Operation: 93-14=79, Resulting Numbers: [5, 2, 79]
Generated Node #2: [5, 2, 79] from Operation: 93-14=79
Current State: 72:[5, 2, 79], Operations: ['93-14=79']
Exploring Operation: 5+2=7, Resulting Numbers: [79, 7]
Generated Node #3: [79, 7] from Operation: 5+2=7
Current State: 72:[79, 7], Operations: ['93-14=79', '5+2=7']
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[14, 93, 5, 2], Operations: []
Exploring Operation: 14+5=19, Resulting Numbers: [93, 2, 19]
Generated Node #0,0: 72:[93, 2, 19] Operation: 14+5=19
Exploring Operation: 14-2=12, Resulting Numbers: [93, 5, 12]
Generated Node #0,1: 72:[93, 5, 12] Operation: 14-2=12
Exploring Operation: 14-5=9, Resulting Numbers: [93, 2, 9]
Generated Node #0,2: 72:[93, 2, 9] Operation: 14-5=9
Exploring Operation: 93-14=79, Resulting Numbers: [5, 2, 79]
Generated Node #0,3: 72:[5, 2, 79] Operation: 93-14=79
Exploring Operation: 93-5=88, Resulting Numbers: [14, 2, 88]
Generated Node #0,4: 72:[14, 2, 88] Operation: 93-5=88
Moving to Node #0,3
Current State: 72:[5, 2, 79], Operations: ['93-14=79']
Exploring Operation: 5-2=3, Resulting Numbers: [79, 3]
Generated Node #0,3,0: 72:[79, 3] Operation: 5-2=3
Exploring Operation: 5*2=10, Resulting Numbers: [79, 10]
Generated Node #0,3,1: 72:[79, 10] Operation: 5*2=10
Exploring Operation: 5+2=7, Resulting Numbers: [79, 7]
Generated Node #0,3,2: 72:[79, 7] Operation: 5+2=7
Exploring Operation: 79-2=77, Resulting Numbers: [5, 77]
Generated Node #0,3,3: 72:[5, 77] Operation: 79-2=77
Exploring Operation: 79-5=74, Resulting Numbers: [2, 74]
Generated Node #0,3,4: 72:[2, 74] Operation: 79-5=74
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 72:[2, 74], Operations: ['93-14=79', '79-5=74']
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,72 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,72 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[14, 93, 5, 2], Operations: []
Exploring Operation: 93-14=79, Resulting Numbers: [5, 2, 79]
Generated Node #0,3: 72:[5, 2, 79] Operation: 93-14=79
Moving to Node #0,3
Current State: 72:[5, 2, 79], Operations: ['93-14=79']
Exploring Operation: 79-5=74, Resulting Numbers: [2, 74]
Generated Node #0,3,4: 72:[2, 74] Operation: 79-5=74
Moving to Node #0,3,4
Current State: 72:[2, 74], Operations: ['93-14=79', '79-5=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
45,
24,
40,
27
] | 80 | [
"45*24=1080",
"1080/27=40",
"40+40=80"
] | Current State: 80:[45, 24, 40, 27], Operations: []
Exploring Operation: 45*24=1080, Resulting Numbers: [40, 27, 1080]
Generated Node #2: [40, 27, 1080] from Operation: 45*24=1080
Current State: 80:[40, 27, 1080], Operations: ['45*24=1080']
Exploring Operation: 1080/27=40, Resulting Numbers: [40, 40]
Generated Node #3: [40, 40] from Operation: 1080/27=40
Current State: 80:[40, 40], Operations: ['45*24=1080', '1080/27=40']
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[45, 24, 40, 27], Operations: []
Exploring Operation: 45-27=18, Resulting Numbers: [24, 40, 18]
Generated Node #0,0: 80:[24, 40, 18] Operation: 45-27=18
Moving to Node #0,0
Current State: 80:[24, 40, 18], Operations: ['45-27=18']
Exploring Operation: 24-18=6, Resulting Numbers: [40, 6]
Generated Node #0,0,0: 80:[40, 6] Operation: 24-18=6
Moving to Node #0,0,0
Current State: 80:[40, 6], Operations: ['45-27=18', '24-18=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,80 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
50,
8,
6,
23
] | 80 | [
"50+8=58",
"6*23=138",
"138-58=80"
] | Current State: 80:[50, 8, 6, 23], Operations: []
Exploring Operation: 50+8=58, Resulting Numbers: [6, 23, 58]
Generated Node #2: [6, 23, 58] from Operation: 50+8=58
Current State: 80:[6, 23, 58], Operations: ['50+8=58']
Exploring Operation: 6*23=138, Resulting Numbers: [58, 138]
Generated Node #3: [58, 138] from Operation: 6*23=138
Current State: 80:[58, 138], Operations: ['50+8=58', '6*23=138']
Exploring Operation: 138-58=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[50, 8, 6, 23], Operations: []
Exploring Operation: 50-8=42, Resulting Numbers: [6, 23, 42]
Generated Node #0,0: 80:[6, 23, 42] Operation: 50-8=42
Exploring Operation: 50-23=27, Resulting Numbers: [8, 6, 27]
Generated Node #0,1: 80:[8, 6, 27] Operation: 50-23=27
Exploring Operation: 23-6=17, Resulting Numbers: [50, 8, 17]
Generated Node #0,2: 80:[50, 8, 17] Operation: 23-6=17
Exploring Operation: 50-6=44, Resulting Numbers: [8, 23, 44]
Generated Node #0,3: 80:[8, 23, 44] Operation: 50-6=44
Exploring Operation: 50+23=73, Resulting Numbers: [8, 6, 73]
Generated Node #0,4: 80:[8, 6, 73] Operation: 50+23=73
Moving to Node #0,0
Current State: 80:[6, 23, 42], Operations: ['50-8=42']
Exploring Operation: 42/6=7, Resulting Numbers: [23, 7]
Generated Node #0,0,0: 80:[23, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [23, 36]
Generated Node #0,0,1: 80:[23, 36] Operation: 42-6=36
Exploring Operation: 6+23=29, Resulting Numbers: [42, 29]
Generated Node #0,0,2: 80:[42, 29] Operation: 6+23=29
Exploring Operation: 23-6=17, Resulting Numbers: [42, 17]
Generated Node #0,0,3: 80:[42, 17] Operation: 23-6=17
Exploring Operation: 42-23=19, Resulting Numbers: [6, 19]
Generated Node #0,0,4: 80:[6, 19] Operation: 42-23=19
Moving to Node #0,3
Current State: 80:[8, 23, 44], Operations: ['50-6=44']
Exploring Operation: 23+44=67, Resulting Numbers: [8, 67]
Generated Node #0,3,0: 80:[8, 67] Operation: 23+44=67
Exploring Operation: 44-8=36, Resulting Numbers: [23, 36]
Generated Node #0,3,1: 80:[23, 36] Operation: 44-8=36
Exploring Operation: 23-8=15, Resulting Numbers: [44, 15]
Generated Node #0,3,2: 80:[44, 15] Operation: 23-8=15
Exploring Operation: 8+23=31, Resulting Numbers: [44, 31]
Generated Node #0,3,3: 80:[44, 31] Operation: 8+23=31
Exploring Operation: 44-23=21, Resulting Numbers: [8, 21]
Generated Node #0,3,4: 80:[8, 21] Operation: 44-23=21
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 80:[8, 21], Operations: ['50-6=44', '44-23=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,80 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 80:[44, 15], Operations: ['50-6=44', '23-8=15']
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,80 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 80:[23, 36], Operations: ['50-6=44', '44-8=36']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,80 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[8, 67], Operations: ['50-6=44', '23+44=67']
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,80 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 80:[44, 31], Operations: ['50-6=44', '8+23=31']
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 80:[8, 6, 27], Operations: ['50-23=27']
Exploring Operation: 6+27=33, Resulting Numbers: [8, 33]
Generated Node #0,1,0: 80:[8, 33] Operation: 6+27=33
Exploring Operation: 27-6=21, Resulting Numbers: [8, 21]
Generated Node #0,1,1: 80:[8, 21] Operation: 27-6=21
Exploring Operation: 8-6=2, Resulting Numbers: [27, 2]
Generated Node #0,1,2: 80:[27, 2] Operation: 8-6=2
Exploring Operation: 8+27=35, Resulting Numbers: [6, 35]
Generated Node #0,1,3: 80:[6, 35] Operation: 8+27=35
Exploring Operation: 27-8=19, Resulting Numbers: [6, 19]
Generated Node #0,1,4: 80:[6, 19] Operation: 27-8=19
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[8, 21], Operations: ['50-23=27', '27-6=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,80 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 80:[6, 19], Operations: ['50-23=27', '27-8=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 80:[6, 35], Operations: ['50-23=27', '8+27=35']
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,80 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[8, 33], Operations: ['50-23=27', '6+27=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[27, 2], Operations: ['50-23=27', '8-6=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,80 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,80 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: 80:[8, 6, 73], Operations: ['50+23=73']
Exploring Operation: 8+6=14, Resulting Numbers: [73, 14]
Generated Node #0,4,0: 80:[73, 14] Operation: 8+6=14
Exploring Operation: 6+73=79, Resulting Numbers: [8, 79]
Generated Node #0,4,1: 80:[8, 79] Operation: 6+73=79
Exploring Operation: 8-6=2, Resulting Numbers: [73, 2]
Generated Node #0,4,2: 80:[73, 2] Operation: 8-6=2
Exploring Operation: 73-6=67, Resulting Numbers: [8, 67]
Generated Node #0,4,3: 80:[8, 67] Operation: 73-6=67
Exploring Operation: 8+73=81, Resulting Numbers: [6, 81]
Generated Node #0,4,4: 80:[6, 81] Operation: 8+73=81
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 80:[8, 79], Operations: ['50+23=73', '6+73=79']
Exploring Operation: 8+79=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 8*79=632, Resulting Numbers: [632]
632,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 80:[6, 81], Operations: ['50+23=73', '8+73=81']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 6+81=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 6*81=486, Resulting Numbers: [486]
486,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 80:[73, 2], Operations: ['50+23=73', '8-6=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 80:[73, 14], Operations: ['50+23=73', '8+6=14']
Exploring Operation: 73*14=1022, Resulting Numbers: [1022]
1022,80 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 73+14=87, Resulting Numbers: [87]
87,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 80:[8, 67], Operations: ['50+23=73', '73-6=67']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,80 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,80 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: 80:[50, 8, 17], Operations: ['23-6=17']
Exploring Operation: 50+17=67, Resulting Numbers: [8, 67]
Generated Node #0,2,0: 80:[8, 67] Operation: 50+17=67
Exploring Operation: 17-8=9, Resulting Numbers: [50, 9]
Generated Node #0,2,1: 80:[50, 9] Operation: 17-8=9
Exploring Operation: 50-17=33, Resulting Numbers: [8, 33]
Generated Node #0,2,2: 80:[8, 33] Operation: 50-17=33
Exploring Operation: 50-8=42, Resulting Numbers: [17, 42]
Generated Node #0,2,3: 80:[17, 42] Operation: 50-8=42
Exploring Operation: 8+17=25, Resulting Numbers: [50, 25]
Generated Node #0,2,4: 80:[50, 25] Operation: 8+17=25
Moving to Node #0,0,4
Current State: 80:[6, 19], Operations: ['50-8=42', '42-23=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,80 unequal: No Solution
Moving to Node #0,2,3
Current State: 80:[17, 42], Operations: ['23-6=17', '50-8=42']
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 17*42=714, Resulting Numbers: [714]
714,80 unequal: No Solution
Exploring Operation: 17+42=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Moving to Node #0,0,3
Current State: 80:[42, 17], Operations: ['50-8=42', '23-6=17']
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 42+17=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 42*17=714, Resulting Numbers: [714]
714,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[23, 7], Operations: ['50-8=42', '42/6=7']
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,80 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[8, 33], Operations: ['23-6=17', '50-17=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[23, 36], Operations: ['50-8=42', '42-6=36']
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,80 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[42, 29], Operations: ['50-8=42', '6+23=29']
Exploring Operation: 42*29=1218, Resulting Numbers: [1218]
1218,80 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[50, 9], Operations: ['23-6=17', '17-8=9']
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[8, 67], Operations: ['23-6=17', '50+17=67']
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,80 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Moving to Node #0,2,4
Current State: 80:[50, 25], Operations: ['23-6=17', '8+17=25']
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 50*25=1250, Resulting Numbers: [1250]
1250,80 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
64,
18,
26,
45
] | 53 | [
"26-18=8",
"64/8=8",
"45+8=53"
] | Current State: 53:[64, 18, 26, 45], Operations: []
Exploring Operation: 26-18=8, Resulting Numbers: [64, 45, 8]
Generated Node #2: [64, 45, 8] from Operation: 26-18=8
Current State: 53:[64, 45, 8], Operations: ['26-18=8']
Exploring Operation: 64/8=8, Resulting Numbers: [45, 8]
Generated Node #3: [45, 8] from Operation: 64/8=8
Current State: 53:[45, 8], Operations: ['26-18=8', '64/8=8']
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[64, 18, 26, 45], Operations: []
Exploring Operation: 64-18=46, Resulting Numbers: [26, 45, 46]
Generated Node #0,0: 53:[26, 45, 46] Operation: 64-18=46
Exploring Operation: 18+26=44, Resulting Numbers: [64, 45, 44]
Generated Node #0,1: 53:[64, 45, 44] Operation: 18+26=44
Moving to Node #0,1
Current State: 53:[64, 45, 44], Operations: ['18+26=44']
Exploring Operation: 64-45=19, Resulting Numbers: [44, 19]
Generated Node #0,1,0: 53:[44, 19] Operation: 64-45=19
Exploring Operation: 64-44=20, Resulting Numbers: [45, 20]
Generated Node #0,1,1: 53:[45, 20] Operation: 64-44=20
Moving to Node #0,0
Current State: 53:[26, 45, 46], Operations: ['64-18=46']
Exploring Operation: 26+45=71, Resulting Numbers: [46, 71]
Generated Node #0,0,0: 53:[46, 71] Operation: 26+45=71
Exploring Operation: 26+46=72, Resulting Numbers: [45, 72]
Generated Node #0,0,1: 53:[45, 72] Operation: 26+46=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[46, 71], Operations: ['64-18=46', '26+45=71']
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 46+71=117, Resulting Numbers: [117]
117,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[45, 72], Operations: ['64-18=46', '26+46=72']
Exploring Operation: 45+72=117, Resulting Numbers: [117]
117,53 unequal: No Solution
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 53:[45, 20], Operations: ['18+26=44', '64-44=20']
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 45+20=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[44, 19], Operations: ['18+26=44', '64-45=19']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,53 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
28,
11,
22,
99
] | 25 | [
"11+22=33",
"99/33=3",
"28-3=25"
] | Current State: 25:[28, 11, 22, 99], Operations: []
Exploring Operation: 11+22=33, Resulting Numbers: [28, 99, 33]
Generated Node #2: [28, 99, 33] from Operation: 11+22=33
Current State: 25:[28, 99, 33], Operations: ['11+22=33']
Exploring Operation: 99/33=3, Resulting Numbers: [28, 3]
Generated Node #3: [28, 3] from Operation: 99/33=3
Current State: 25:[28, 3], Operations: ['11+22=33', '99/33=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[28, 11, 22, 99], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [28, 22, 9]
Generated Node #0,0: 25:[28, 22, 9] Operation: 99/11=9
Exploring Operation: 99-22=77, Resulting Numbers: [28, 11, 77]
Generated Node #0,1: 25:[28, 11, 77] Operation: 99-22=77
Exploring Operation: 99-28=71, Resulting Numbers: [11, 22, 71]
Generated Node #0,2: 25:[11, 22, 71] Operation: 99-28=71
Moving to Node #0,0
Current State: 25:[28, 22, 9], Operations: ['99/11=9']
Exploring Operation: 22+9=31, Resulting Numbers: [28, 31]
Generated Node #0,0,0: 25:[28, 31] Operation: 22+9=31
Exploring Operation: 28-22=6, Resulting Numbers: [9, 6]
Generated Node #0,0,1: 25:[9, 6] Operation: 28-22=6
Exploring Operation: 28-9=19, Resulting Numbers: [22, 19]
Generated Node #0,0,2: 25:[22, 19] Operation: 28-9=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[9, 6], Operations: ['99/11=9', '28-22=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[28, 31], Operations: ['99/11=9', '22+9=31']
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,25 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[22, 19], Operations: ['99/11=9', '28-9=19']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 25:[11, 22, 71], Operations: ['99-28=71']
Exploring Operation: 71-22=49, Resulting Numbers: [11, 49]
Generated Node #0,2,0: 25:[11, 49] Operation: 71-22=49
Exploring Operation: 22/11=2, Resulting Numbers: [71, 2]
Generated Node #0,2,1: 25:[71, 2] Operation: 22/11=2
Exploring Operation: 71-11=60, Resulting Numbers: [22, 60]
Generated Node #0,2,2: 25:[22, 60] Operation: 71-11=60
Moving to Node #0,1
Current State: 25:[28, 11, 77], Operations: ['99-22=77']
Exploring Operation: 77-28=49, Resulting Numbers: [11, 49]
Generated Node #0,1,0: 25:[11, 49] Operation: 77-28=49
Exploring Operation: 77/11=7, Resulting Numbers: [28, 7]
Generated Node #0,1,1: 25:[28, 7] Operation: 77/11=7
Exploring Operation: 77-11=66, Resulting Numbers: [28, 66]
Generated Node #0,1,2: 25:[28, 66] Operation: 77-11=66
Moving to Node #0,1,1
Current State: 25:[28, 7], Operations: ['99-22=77', '77/11=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[11, 49], Operations: ['99-28=71', '71-22=49']
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[11, 49], Operations: ['99-22=77', '77-28=49']
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,25 unequal: No Solution
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[22, 60], Operations: ['99-28=71', '71-11=60']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,25 unequal: No Solution
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[28, 66], Operations: ['99-22=77', '77-11=66']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,25 unequal: No Solution
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[71, 2], Operations: ['99-28=71', '22/11=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,25 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
17,
6,
4,
23
] | 67 | [
"17-6=11",
"4*11=44",
"23+44=67"
] | Current State: 67:[17, 6, 4, 23], Operations: []
Exploring Operation: 17-6=11, Resulting Numbers: [4, 23, 11]
Generated Node #2: [4, 23, 11] from Operation: 17-6=11
Current State: 67:[4, 23, 11], Operations: ['17-6=11']
Exploring Operation: 4*11=44, Resulting Numbers: [23, 44]
Generated Node #3: [23, 44] from Operation: 4*11=44
Current State: 67:[23, 44], Operations: ['17-6=11', '4*11=44']
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[17, 6, 4, 23], Operations: []
Exploring Operation: 6*4=24, Resulting Numbers: [17, 23, 24]
Generated Node #0,0: 67:[17, 23, 24] Operation: 6*4=24
Exploring Operation: 17*4=68, Resulting Numbers: [6, 23, 68]
Generated Node #0,1: 67:[6, 23, 68] Operation: 17*4=68
Exploring Operation: 17*6=102, Resulting Numbers: [4, 23, 102]
Generated Node #0,2: 67:[4, 23, 102] Operation: 17*6=102
Exploring Operation: 4*23=92, Resulting Numbers: [17, 6, 92]
Generated Node #0,3: 67:[17, 6, 92] Operation: 4*23=92
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[6, 23, 68], Operations: ['17*4=68']
Exploring Operation: 68-6=62, Resulting Numbers: [23, 62]
Generated Node #0,1,0: 67:[23, 62] Operation: 68-6=62
Exploring Operation: 6+68=74, Resulting Numbers: [23, 74]
Generated Node #0,1,1: 67:[23, 74] Operation: 6+68=74
Exploring Operation: 6+23=29, Resulting Numbers: [68, 29]
Generated Node #0,1,2: 67:[68, 29] Operation: 6+23=29
Exploring Operation: 23-6=17, Resulting Numbers: [68, 17]
Generated Node #0,1,3: 67:[68, 17] Operation: 23-6=17
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[68, 29], Operations: ['17*4=68', '6+23=29']
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 68+29=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 68*29=1972, Resulting Numbers: [1972]
1972,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[23, 62], Operations: ['17*4=68', '68-6=62']
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 23*62=1426, Resulting Numbers: [1426]
1426,67 unequal: No Solution
Exploring Operation: 23+62=85, Resulting Numbers: [85]
85,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[23, 74], Operations: ['17*4=68', '6+68=74']
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Exploring Operation: 23*74=1702, Resulting Numbers: [1702]
1702,67 unequal: No Solution
Exploring Operation: 23+74=97, Resulting Numbers: [97]
97,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[68, 17], Operations: ['17*4=68', '23-6=17']
Exploring Operation: 68+17=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 68*17=1156, Resulting Numbers: [1156]
1156,67 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[17, 6, 92], Operations: ['4*23=92']
Exploring Operation: 92-6=86, Resulting Numbers: [17, 86]
Generated Node #0,3,0: 67:[17, 86] Operation: 92-6=86
Exploring Operation: 17+6=23, Resulting Numbers: [92, 23]
Generated Node #0,3,1: 67:[92, 23] Operation: 17+6=23
Exploring Operation: 17*6=102, Resulting Numbers: [92, 102]
Generated Node #0,3,2: 67:[92, 102] Operation: 17*6=102
Exploring Operation: 92-17=75, Resulting Numbers: [6, 75]
Generated Node #0,3,3: 67:[6, 75] Operation: 92-17=75
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 67:[92, 102], Operations: ['4*23=92', '17*6=102']
Exploring Operation: 92+102=194, Resulting Numbers: [194]
194,67 unequal: No Solution
Exploring Operation: 92*102=9384, Resulting Numbers: [9384]
9384,67 unequal: No Solution
Exploring Operation: 102-92=10, Resulting Numbers: [10]
10,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 67:[17, 86], Operations: ['4*23=92', '92-6=86']
Exploring Operation: 17*86=1462, Resulting Numbers: [1462]
1462,67 unequal: No Solution
Exploring Operation: 17+86=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 67:[92, 23], Operations: ['4*23=92', '17+6=23']
Exploring Operation: 92*23=2116, Resulting Numbers: [2116]
2116,67 unequal: No Solution
Exploring Operation: 92-23=69, Resulting Numbers: [69]
69,67 unequal: No Solution
Exploring Operation: 92+23=115, Resulting Numbers: [115]
115,67 unequal: No Solution
Exploring Operation: 92/23=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 67:[6, 75], Operations: ['4*23=92', '92-17=75']
Exploring Operation: 6*75=450, Resulting Numbers: [450]
450,67 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,67 unequal: No Solution
Exploring Operation: 6+75=81, Resulting Numbers: [81]
81,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[17, 23, 24], Operations: ['6*4=24']
Exploring Operation: 23-17=6, Resulting Numbers: [24, 6]
Generated Node #0,0,0: 67:[24, 6] Operation: 23-17=6
Exploring Operation: 17+24=41, Resulting Numbers: [23, 41]
Generated Node #0,0,1: 67:[23, 41] Operation: 17+24=41
Exploring Operation: 23+24=47, Resulting Numbers: [17, 47]
Generated Node #0,0,2: 67:[17, 47] Operation: 23+24=47
Exploring Operation: 17+23=40, Resulting Numbers: [24, 40]
Generated Node #0,0,3: 67:[24, 40] Operation: 17+23=40
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[23, 41], Operations: ['6*4=24', '17+24=41']
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[17, 47], Operations: ['6*4=24', '23+24=47']
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 17*47=799, Resulting Numbers: [799]
799,67 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 67:[24, 40], Operations: ['6*4=24', '17+23=40']
Exploring Operation: 24+40=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 24*40=960, Resulting Numbers: [960]
960,67 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[24, 6], Operations: ['6*4=24', '23-17=6']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,67 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[4, 23, 102], Operations: ['17*6=102']
Exploring Operation: 4+23=27, Resulting Numbers: [102, 27]
Generated Node #0,2,0: 67:[102, 27] Operation: 4+23=27
Exploring Operation: 4*23=92, Resulting Numbers: [102, 92]
Generated Node #0,2,1: 67:[102, 92] Operation: 4*23=92
Exploring Operation: 102-4=98, Resulting Numbers: [23, 98]
Generated Node #0,2,2: 67:[23, 98] Operation: 102-4=98
Exploring Operation: 102-23=79, Resulting Numbers: [4, 79]
Generated Node #0,2,3: 67:[4, 79] Operation: 102-23=79
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[102, 92], Operations: ['17*6=102', '4*23=92']
Exploring Operation: 102-92=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 102+92=194, Resulting Numbers: [194]
194,67 unequal: No Solution
Exploring Operation: 102*92=9384, Resulting Numbers: [9384]
9384,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[102, 27], Operations: ['17*6=102', '4+23=27']
Exploring Operation: 102+27=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 102*27=2754, Resulting Numbers: [2754]
2754,67 unequal: No Solution
Exploring Operation: 102-27=75, Resulting Numbers: [75]
75,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[23, 98], Operations: ['17*6=102', '102-4=98']
Exploring Operation: 23+98=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Exploring Operation: 98-23=75, Resulting Numbers: [75]
75,67 unequal: No Solution
Exploring Operation: 23*98=2254, Resulting Numbers: [2254]
2254,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[4, 79], Operations: ['17*6=102', '102-23=79']
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,67 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
20,
29,
25,
74
] | 79 | [
"29-25=4",
"20/4=5",
"74+5=79"
] | Current State: 79:[20, 29, 25, 74], Operations: []
Exploring Operation: 29-25=4, Resulting Numbers: [20, 74, 4]
Generated Node #2: [20, 74, 4] from Operation: 29-25=4
Current State: 79:[20, 74, 4], Operations: ['29-25=4']
Exploring Operation: 20/4=5, Resulting Numbers: [74, 5]
Generated Node #3: [74, 5] from Operation: 20/4=5
Current State: 79:[74, 5], Operations: ['29-25=4', '20/4=5']
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[20, 29, 25, 74], Operations: []
Exploring Operation: 20+29=49, Resulting Numbers: [25, 74, 49]
Generated Node #0,0: 79:[25, 74, 49] Operation: 20+29=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[25, 74, 49], Operations: ['20+29=49']
Exploring Operation: 25+49=74, Resulting Numbers: [74, 74]
Generated Node #0,0,0: 79:[74, 74] Operation: 25+49=74
Moving to Node #0,0,0
Current State: 79:[74, 74], Operations: ['20+29=49', '25+49=74']
Exploring Operation: 74+74=148, Resulting Numbers: [148]
148,79 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 |
[
75,
30,
71,
2
] | 88 | [
"75+30=105",
"71+105=176",
"176/2=88"
] | Current State: 88:[75, 30, 71, 2], Operations: []
Exploring Operation: 75+30=105, Resulting Numbers: [71, 2, 105]
Generated Node #2: [71, 2, 105] from Operation: 75+30=105
Current State: 88:[71, 2, 105], Operations: ['75+30=105']
Exploring Operation: 71+105=176, Resulting Numbers: [2, 176]
Generated Node #3: [2, 176] from Operation: 71+105=176
Current State: 88:[2, 176], Operations: ['75+30=105', '71+105=176']
Exploring Operation: 176/2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[75, 30, 71, 2], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [30, 2, 4]
Generated Node #0,0: 88:[30, 2, 4] Operation: 75-71=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[30, 2, 4], Operations: ['75-71=4']
Exploring Operation: 30/2=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 88:[4, 15] Operation: 30/2=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[4, 15], Operations: ['75-71=4', '30/2=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
71,
10,
49
] | 66 | [
"3*49=147",
"71+10=81",
"147-81=66"
] | Current State: 66:[3, 71, 10, 49], Operations: []
Exploring Operation: 3*49=147, Resulting Numbers: [71, 10, 147]
Generated Node #2: [71, 10, 147] from Operation: 3*49=147
Current State: 66:[71, 10, 147], Operations: ['3*49=147']
Exploring Operation: 71+10=81, Resulting Numbers: [147, 81]
Generated Node #3: [147, 81] from Operation: 71+10=81
Current State: 66:[147, 81], Operations: ['3*49=147', '71+10=81']
Exploring Operation: 147-81=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[3, 71, 10, 49], Operations: []
Exploring Operation: 10+49=59, Resulting Numbers: [3, 71, 59]
Generated Node #0,0: 66:[3, 71, 59] Operation: 10+49=59
Exploring Operation: 71-49=22, Resulting Numbers: [3, 10, 22]
Generated Node #0,1: 66:[3, 10, 22] Operation: 71-49=22
Exploring Operation: 49-10=39, Resulting Numbers: [3, 71, 39]
Generated Node #0,2: 66:[3, 71, 39] Operation: 49-10=39
Exploring Operation: 71-3=68, Resulting Numbers: [10, 49, 68]
Generated Node #0,3: 66:[10, 49, 68] Operation: 71-3=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[3, 10, 22], Operations: ['71-49=22']
Exploring Operation: 3*22=66, Resulting Numbers: [10, 66]
Generated Node #0,1,0: 66:[10, 66] Operation: 3*22=66
Exploring Operation: 10+22=32, Resulting Numbers: [3, 32]
Generated Node #0,1,1: 66:[3, 32] Operation: 10+22=32
Exploring Operation: 10-3=7, Resulting Numbers: [22, 7]
Generated Node #0,1,2: 66:[22, 7] Operation: 10-3=7
Exploring Operation: 22-10=12, Resulting Numbers: [3, 12]
Generated Node #0,1,3: 66:[3, 12] Operation: 22-10=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[10, 66], Operations: ['71-49=22', '3*22=66']
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Exploring Operation: 10+66=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 10*66=660, Resulting Numbers: [660]
660,66 unequal: No Solution
No 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: 66:[3, 32], Operations: ['71-49=22', '10+22=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,66 unequal: No Solution
No 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: 66:[22, 7], Operations: ['71-49=22', '10-3=7']
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,66 unequal: No Solution
No 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: 66:[3, 12], Operations: ['71-49=22', '22-10=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,66 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,66 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: 66:[3, 71, 39], Operations: ['49-10=39']
Exploring Operation: 39/3=13, Resulting Numbers: [71, 13]
Generated Node #0,2,0: 66:[71, 13] Operation: 39/3=13
Exploring Operation: 71-39=32, Resulting Numbers: [3, 32]
Generated Node #0,2,1: 66:[3, 32] Operation: 71-39=32
Exploring Operation: 71-3=68, Resulting Numbers: [39, 68]
Generated Node #0,2,2: 66:[39, 68] Operation: 71-3=68
Exploring Operation: 39-3=36, Resulting Numbers: [71, 36]
Generated Node #0,2,3: 66:[71, 36] Operation: 39-3=36
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[3, 32], Operations: ['49-10=39', '71-39=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,66 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,66 unequal: No Solution
No 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: 66:[71, 13], Operations: ['49-10=39', '39/3=13']
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 71+13=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Exploring Operation: 71*13=923, Resulting Numbers: [923]
923,66 unequal: No Solution
No 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: 66:[39, 68], Operations: ['49-10=39', '71-3=68']
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 39+68=107, Resulting Numbers: [107]
107,66 unequal: No Solution
Exploring Operation: 39*68=2652, Resulting Numbers: [2652]
2652,66 unequal: No Solution
No 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: 66:[71, 36], Operations: ['49-10=39', '39-3=36']
Exploring Operation: 71+36=107, Resulting Numbers: [107]
107,66 unequal: No Solution
Exploring Operation: 71*36=2556, Resulting Numbers: [2556]
2556,66 unequal: No Solution
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,66 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: 66:[3, 71, 59], Operations: ['10+49=59']
Exploring Operation: 3+71=74, Resulting Numbers: [59, 74]
Generated Node #0,0,0: 66:[59, 74] Operation: 3+71=74
Exploring Operation: 71-3=68, Resulting Numbers: [59, 68]
Generated Node #0,0,1: 66:[59, 68] Operation: 71-3=68
Exploring Operation: 3+59=62, Resulting Numbers: [71, 62]
Generated Node #0,0,2: 66:[71, 62] Operation: 3+59=62
Exploring Operation: 71-59=12, Resulting Numbers: [3, 12]
Generated Node #0,0,3: 66:[3, 12] Operation: 71-59=12
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 66:[3, 12], Operations: ['10+49=59', '71-59=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,66 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,66 unequal: No Solution
No 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: 66:[59, 68], Operations: ['10+49=59', '71-3=68']
Exploring Operation: 68-59=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 59*68=4012, Resulting Numbers: [4012]
4012,66 unequal: No Solution
Exploring Operation: 59+68=127, Resulting Numbers: [127]
127,66 unequal: No Solution
No 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: 66:[71, 62], Operations: ['10+49=59', '3+59=62']
Exploring Operation: 71+62=133, Resulting Numbers: [133]
133,66 unequal: No Solution
Exploring Operation: 71-62=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 71*62=4402, Resulting Numbers: [4402]
4402,66 unequal: No Solution
No 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: 66:[59, 74], Operations: ['10+49=59', '3+71=74']
Exploring Operation: 59*74=4366, Resulting Numbers: [4366]
4366,66 unequal: No Solution
Exploring Operation: 59+74=133, Resulting Numbers: [133]
133,66 unequal: No Solution
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,66 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: 66:[10, 49, 68], Operations: ['71-3=68']
Exploring Operation: 49-10=39, Resulting Numbers: [68, 39]
Generated Node #0,3,0: 66:[68, 39] Operation: 49-10=39
Exploring Operation: 68-10=58, Resulting Numbers: [49, 58]
Generated Node #0,3,1: 66:[49, 58] Operation: 68-10=58
Exploring Operation: 10+49=59, Resulting Numbers: [68, 59]
Generated Node #0,3,2: 66:[68, 59] Operation: 10+49=59
Exploring Operation: 68-49=19, Resulting Numbers: [10, 19]
Generated Node #0,3,3: 66:[10, 19] Operation: 68-49=19
Moving to Node #0,3,3
Current State: 66:[10, 19], Operations: ['71-3=68', '68-49=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,66 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[68, 39], Operations: ['71-3=68', '49-10=39']
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,66 unequal: No Solution
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[68, 59], Operations: ['71-3=68', '10+49=59']
Exploring Operation: 68-59=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 68*59=4012, Resulting Numbers: [4012]
4012,66 unequal: No Solution
Exploring Operation: 68+59=127, Resulting Numbers: [127]
127,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[49, 58], Operations: ['71-3=68', '68-10=58']
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,66 unequal: No Solution
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 49*58=2842, Resulting Numbers: [2842]
2842,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
42,
72,
23,
55
] | 82 | [
"42+72=114",
"55-23=32",
"114-32=82"
] | Current State: 82:[42, 72, 23, 55], Operations: []
Exploring Operation: 42+72=114, Resulting Numbers: [23, 55, 114]
Generated Node #2: [23, 55, 114] from Operation: 42+72=114
Current State: 82:[23, 55, 114], Operations: ['42+72=114']
Exploring Operation: 55-23=32, Resulting Numbers: [114, 32]
Generated Node #3: [114, 32] from Operation: 55-23=32
Current State: 82:[114, 32], Operations: ['42+72=114', '55-23=32']
Exploring Operation: 114-32=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[42, 72, 23, 55], Operations: []
Exploring Operation: 23+55=78, Resulting Numbers: [42, 72, 78]
Generated Node #0,0: 82:[42, 72, 78] Operation: 23+55=78
Exploring Operation: 55-23=32, Resulting Numbers: [42, 72, 32]
Generated Node #0,1: 82:[42, 72, 32] Operation: 55-23=32
Moving to Node #0,0
Current State: 82:[42, 72, 78], Operations: ['23+55=78']
Exploring Operation: 72-42=30, Resulting Numbers: [78, 30]
Generated Node #0,0,0: 82:[78, 30] Operation: 72-42=30
Exploring Operation: 78-72=6, Resulting Numbers: [42, 6]
Generated Node #0,0,1: 82:[42, 6] Operation: 78-72=6
Moving to Node #0,1
Current State: 82:[42, 72, 32], Operations: ['55-23=32']
Exploring Operation: 72-32=40, Resulting Numbers: [42, 40]
Generated Node #0,1,0: 82:[42, 40] Operation: 72-32=40
Exploring Operation: 42+32=74, Resulting Numbers: [72, 74]
Generated Node #0,1,1: 82:[72, 74] Operation: 42+32=74
Moving to Node #0,1,0
Current State: 82:[42, 40], Operations: ['55-23=32', '72-32=40']
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[42, 72, 23, 55], Operations: []
Exploring Operation: 55-23=32, Resulting Numbers: [42, 72, 32]
Generated Node #0,1: 82:[42, 72, 32] Operation: 55-23=32
Moving to Node #0,1
Current State: 82:[42, 72, 32], Operations: ['55-23=32']
Exploring Operation: 72-32=40, Resulting Numbers: [42, 40]
Generated Node #0,1,0: 82:[42, 40] Operation: 72-32=40
Moving to Node #0,1,0
Current State: 82:[42, 40], Operations: ['55-23=32', '72-32=40']
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
18,
93,
56,
66
] | 11 | [
"18+93=111",
"56+66=122",
"122-111=11"
] | Current State: 11:[18, 93, 56, 66], Operations: []
Exploring Operation: 18+93=111, Resulting Numbers: [56, 66, 111]
Generated Node #2: [56, 66, 111] from Operation: 18+93=111
Current State: 11:[56, 66, 111], Operations: ['18+93=111']
Exploring Operation: 56+66=122, Resulting Numbers: [111, 122]
Generated Node #3: [111, 122] from Operation: 56+66=122
Current State: 11:[111, 122], Operations: ['18+93=111', '56+66=122']
Exploring Operation: 122-111=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[18, 93, 56, 66], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [18, 56, 27]
Generated Node #0,0: 11:[18, 56, 27] Operation: 93-66=27
Exploring Operation: 66-56=10, Resulting Numbers: [18, 93, 10]
Generated Node #0,1: 11:[18, 93, 10] Operation: 66-56=10
Exploring Operation: 93-56=37, Resulting Numbers: [18, 66, 37]
Generated Node #0,2: 11:[18, 66, 37] Operation: 93-56=37
Exploring Operation: 93-18=75, Resulting Numbers: [56, 66, 75]
Generated Node #0,3: 11:[56, 66, 75] Operation: 93-18=75
Moving to Node #0,0
Current State: 11:[18, 56, 27], Operations: ['93-66=27']
Exploring Operation: 56-18=38, Resulting Numbers: [27, 38]
Generated Node #0,0,0: 11:[27, 38] Operation: 56-18=38
Exploring Operation: 56-27=29, Resulting Numbers: [18, 29]
Generated Node #0,0,1: 11:[18, 29] Operation: 56-27=29
Exploring Operation: 18+56=74, Resulting Numbers: [27, 74]
Generated Node #0,0,2: 11:[27, 74] Operation: 18+56=74
Exploring Operation: 27-18=9, Resulting Numbers: [56, 9]
Generated Node #0,0,3: 11:[56, 9] Operation: 27-18=9
Moving to Node #0,2
Current State: 11:[18, 66, 37], Operations: ['93-56=37']
Exploring Operation: 37-18=19, Resulting Numbers: [66, 19]
Generated Node #0,2,0: 11:[66, 19] Operation: 37-18=19
Exploring Operation: 18+66=84, Resulting Numbers: [37, 84]
Generated Node #0,2,1: 11:[37, 84] Operation: 18+66=84
Exploring Operation: 66-37=29, Resulting Numbers: [18, 29]
Generated Node #0,2,2: 11:[18, 29] Operation: 66-37=29
Exploring Operation: 66-18=48, Resulting Numbers: [37, 48]
Generated Node #0,2,3: 11:[37, 48] Operation: 66-18=48
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[18, 29], Operations: ['93-56=37', '66-37=29']
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,11 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[18, 93, 56, 66], Operations: []
Exploring Operation: 93-56=37, Resulting Numbers: [18, 66, 37]
Generated Node #0,2: 11:[18, 66, 37] Operation: 93-56=37
Moving to Node #0,2
Current State: 11:[18, 66, 37], Operations: ['93-56=37']
Exploring Operation: 66-37=29, Resulting Numbers: [18, 29]
Generated Node #0,2,2: 11:[18, 29] Operation: 66-37=29
Moving to Node #0,2,2
Current State: 11:[18, 29], Operations: ['93-56=37', '66-37=29']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
55,
60,
38,
37
] | 70 | [
"60-55=5",
"38+37=75",
"75-5=70"
] | Current State: 70:[55, 60, 38, 37], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [38, 37, 5]
Generated Node #2: [38, 37, 5] from Operation: 60-55=5
Current State: 70:[38, 37, 5], Operations: ['60-55=5']
Exploring Operation: 38+37=75, Resulting Numbers: [5, 75]
Generated Node #3: [5, 75] from Operation: 38+37=75
Current State: 70:[5, 75], Operations: ['60-55=5', '38+37=75']
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[55, 60, 38, 37], Operations: []
Exploring Operation: 55-38=17, Resulting Numbers: [60, 37, 17]
Generated Node #0,0: 70:[60, 37, 17] Operation: 55-38=17
Exploring Operation: 60-55=5, Resulting Numbers: [38, 37, 5]
Generated Node #0,1: 70:[38, 37, 5] Operation: 60-55=5
Exploring Operation: 55-37=18, Resulting Numbers: [60, 38, 18]
Generated Node #0,2: 70:[60, 38, 18] Operation: 55-37=18
Moving to Node #0,1
Current State: 70:[38, 37, 5], Operations: ['60-55=5']
Exploring Operation: 38-5=33, Resulting Numbers: [37, 33]
Generated Node #0,1,0: 70:[37, 33] Operation: 38-5=33
Exploring Operation: 38-37=1, Resulting Numbers: [5, 1]
Generated Node #0,1,1: 70:[5, 1] Operation: 38-37=1
Exploring Operation: 38+37=75, Resulting Numbers: [5, 75]
Generated Node #0,1,2: 70:[5, 75] Operation: 38+37=75
Moving to Node #0,0
Current State: 70:[60, 37, 17], Operations: ['55-38=17']
Exploring Operation: 60-17=43, Resulting Numbers: [37, 43]
Generated Node #0,0,0: 70:[37, 43] Operation: 60-17=43
Exploring Operation: 60+17=77, Resulting Numbers: [37, 77]
Generated Node #0,0,1: 70:[37, 77] Operation: 60+17=77
Exploring Operation: 60-37=23, Resulting Numbers: [17, 23]
Generated Node #0,0,2: 70:[17, 23] Operation: 60-37=23
Moving to Node #0,2
Current State: 70:[60, 38, 18], Operations: ['55-37=18']
Exploring Operation: 60+18=78, Resulting Numbers: [38, 78]
Generated Node #0,2,0: 70:[38, 78] Operation: 60+18=78
Exploring Operation: 60-18=42, Resulting Numbers: [38, 42]
Generated Node #0,2,1: 70:[38, 42] Operation: 60-18=42
Exploring Operation: 60-38=22, Resulting Numbers: [18, 22]
Generated Node #0,2,2: 70:[18, 22] Operation: 60-38=22
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[38, 42], Operations: ['55-37=18', '60-18=42']
Exploring Operation: 38*42=1596, Resulting Numbers: [1596]
1596,70 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[38, 78], Operations: ['55-37=18', '60+18=78']
Exploring Operation: 38*78=2964, Resulting Numbers: [2964]
2964,70 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 38+78=116, Resulting Numbers: [116]
116,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[18, 22], Operations: ['55-37=18', '60-38=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,70 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 70:[5, 1], Operations: ['60-55=5', '38-37=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[37, 33], Operations: ['60-55=5', '38-5=33']
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,70 unequal: No Solution
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[55, 60, 38, 37], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [38, 37, 5]
Generated Node #0,1: 70:[38, 37, 5] Operation: 60-55=5
Moving to Node #0,1
Current State: 70:[38, 37, 5], Operations: ['60-55=5']
Exploring Operation: 38-5=33, Resulting Numbers: [37, 33]
Generated Node #0,1,0: 70:[37, 33] Operation: 38-5=33
Moving to Node #0,1,0
Current State: 70:[37, 33], Operations: ['60-55=5', '38-5=33']
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.973958 | hs_3 | sum_heuristic |
[
21,
72,
16,
20
] | 23 | [
"16+20=36",
"72/36=2",
"21+2=23"
] | Current State: 23:[21, 72, 16, 20], Operations: []
Exploring Operation: 16+20=36, Resulting Numbers: [21, 72, 36]
Generated Node #2: [21, 72, 36] from Operation: 16+20=36
Current State: 23:[21, 72, 36], Operations: ['16+20=36']
Exploring Operation: 72/36=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 72/36=2
Current State: 23:[21, 2], Operations: ['16+20=36', '72/36=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[21, 72, 16, 20], Operations: []
Exploring Operation: 72-21=51, Resulting Numbers: [16, 20, 51]
Generated Node #0,0: 23:[16, 20, 51] Operation: 72-21=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[16, 20, 51], Operations: ['72-21=51']
Exploring Operation: 51-16=35, Resulting Numbers: [20, 35]
Generated Node #0,0,0: 23:[20, 35] Operation: 51-16=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[20, 35], Operations: ['72-21=51', '51-16=35']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
97,
5,
55,
54
] | 93 | [
"97-5=92",
"55-54=1",
"92+1=93"
] | Current State: 93:[97, 5, 55, 54], Operations: []
Exploring Operation: 97-5=92, Resulting Numbers: [55, 54, 92]
Generated Node #2: [55, 54, 92] from Operation: 97-5=92
Current State: 93:[55, 54, 92], Operations: ['97-5=92']
Exploring Operation: 55-54=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 55-54=1
Current State: 93:[92, 1], Operations: ['97-5=92', '55-54=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[97, 5, 55, 54], Operations: []
Exploring Operation: 97-55=42, Resulting Numbers: [5, 54, 42]
Generated Node #0,0: 93:[5, 54, 42] Operation: 97-55=42
Exploring Operation: 55/5=11, Resulting Numbers: [97, 54, 11]
Generated Node #0,1: 93:[97, 54, 11] Operation: 55/5=11
Exploring Operation: 55-54=1, Resulting Numbers: [97, 5, 1]
Generated Node #0,2: 93:[97, 5, 1] Operation: 55-54=1
Exploring Operation: 55+54=109, Resulting Numbers: [97, 5, 109]
Generated Node #0,3: 93:[97, 5, 109] Operation: 55+54=109
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[97, 5, 1], Operations: ['55-54=1']
Exploring Operation: 97*1=97, Resulting Numbers: [5, 97]
Generated Node #0,2,0: 93:[5, 97] Operation: 97*1=97
Exploring Operation: 5-1=4, Resulting Numbers: [97, 4]
Generated Node #0,2,1: 93:[97, 4] Operation: 5-1=4
Exploring Operation: 97-1=96, Resulting Numbers: [5, 96]
Generated Node #0,2,2: 93:[5, 96] Operation: 97-1=96
Exploring Operation: 97-5=92, Resulting Numbers: [1, 92]
Generated Node #0,2,3: 93:[1, 92] Operation: 97-5=92
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 93:[1, 92], Operations: ['55-54=1', '97-5=92']
Exploring Operation: 1*92=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 1+92=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[97, 5, 55, 54], Operations: []
Exploring Operation: 55-54=1, Resulting Numbers: [97, 5, 1]
Generated Node #0,2: 93:[97, 5, 1] Operation: 55-54=1
Moving to Node #0,2
Current State: 93:[97, 5, 1], Operations: ['55-54=1']
Exploring Operation: 97-5=92, Resulting Numbers: [1, 92]
Generated Node #0,2,3: 93:[1, 92] Operation: 97-5=92
Moving to Node #0,2,3
Current State: 93:[1, 92], Operations: ['55-54=1', '97-5=92']
Exploring Operation: 1+92=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
86,
57,
3,
7
] | 19 | [
"86-57=29",
"3+7=10",
"29-10=19"
] | Current State: 19:[86, 57, 3, 7], Operations: []
Exploring Operation: 86-57=29, Resulting Numbers: [3, 7, 29]
Generated Node #2: [3, 7, 29] from Operation: 86-57=29
Current State: 19:[3, 7, 29], Operations: ['86-57=29']
Exploring Operation: 3+7=10, Resulting Numbers: [29, 10]
Generated Node #3: [29, 10] from Operation: 3+7=10
Current State: 19:[29, 10], Operations: ['86-57=29', '3+7=10']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[86, 57, 3, 7], Operations: []
Exploring Operation: 3*7=21, Resulting Numbers: [86, 57, 21]
Generated Node #0,0: 19:[86, 57, 21] Operation: 3*7=21
Exploring Operation: 86-57=29, Resulting Numbers: [3, 7, 29]
Generated Node #0,1: 19:[3, 7, 29] Operation: 86-57=29
Exploring Operation: 57/3=19, Resulting Numbers: [86, 7, 19]
Generated Node #0,2: 19:[86, 7, 19] Operation: 57/3=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[3, 7, 29], Operations: ['86-57=29']
Exploring Operation: 3*7=21, Resulting Numbers: [29, 21]
Generated Node #0,1,0: 19:[29, 21] Operation: 3*7=21
Exploring Operation: 29-3=26, Resulting Numbers: [7, 26]
Generated Node #0,1,1: 19:[7, 26] Operation: 29-3=26
Exploring Operation: 3+7=10, Resulting Numbers: [29, 10]
Generated Node #0,1,2: 19:[29, 10] Operation: 3+7=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[29, 21], Operations: ['86-57=29', '3*7=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,19 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[7, 26], Operations: ['86-57=29', '29-3=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[86, 57, 3, 7], Operations: []
Exploring Operation: 86-57=29, Resulting Numbers: [3, 7, 29]
Generated Node #0,1: 19:[3, 7, 29] Operation: 86-57=29
Moving to Node #0,1
Current State: 19:[3, 7, 29], Operations: ['86-57=29']
Exploring Operation: 29-3=26, Resulting Numbers: [7, 26]
Generated Node #0,1,1: 19:[7, 26] Operation: 29-3=26
Moving to Node #0,1,1
Current State: 19:[7, 26], Operations: ['86-57=29', '29-3=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
54,
71,
3,
62
] | 42 | [
"71-54=17",
"62-3=59",
"59-17=42"
] | Current State: 42:[54, 71, 3, 62], Operations: []
Exploring Operation: 71-54=17, Resulting Numbers: [3, 62, 17]
Generated Node #2: [3, 62, 17] from Operation: 71-54=17
Current State: 42:[3, 62, 17], Operations: ['71-54=17']
Exploring Operation: 62-3=59, Resulting Numbers: [17, 59]
Generated Node #3: [17, 59] from Operation: 62-3=59
Current State: 42:[17, 59], Operations: ['71-54=17', '62-3=59']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[54, 71, 3, 62], Operations: []
Exploring Operation: 71-62=9, Resulting Numbers: [54, 3, 9]
Generated Node #0,0: 42:[54, 3, 9] Operation: 71-62=9
Exploring Operation: 62-54=8, Resulting Numbers: [71, 3, 8]
Generated Node #0,1: 42:[71, 3, 8] Operation: 62-54=8
Exploring Operation: 71-54=17, Resulting Numbers: [3, 62, 17]
Generated Node #0,2: 42:[3, 62, 17] Operation: 71-54=17
Moving to Node #0,0
Current State: 42:[54, 3, 9], Operations: ['71-62=9']
Exploring Operation: 54-9=45, Resulting Numbers: [3, 45]
Generated Node #0,0,0: 42:[3, 45] Operation: 54-9=45
Exploring Operation: 54/3=18, Resulting Numbers: [9, 18]
Generated Node #0,0,1: 42:[9, 18] Operation: 54/3=18
Exploring Operation: 54/9=6, Resulting Numbers: [3, 6]
Generated Node #0,0,2: 42:[3, 6] Operation: 54/9=6
Moving to Node #0,2
Current State: 42:[3, 62, 17], Operations: ['71-54=17']
Exploring Operation: 17-3=14, Resulting Numbers: [62, 14]
Generated Node #0,2,0: 42:[62, 14] Operation: 17-3=14
Exploring Operation: 62-17=45, Resulting Numbers: [3, 45]
Generated Node #0,2,1: 42:[3, 45] Operation: 62-17=45
Exploring Operation: 62-3=59, Resulting Numbers: [17, 59]
Generated Node #0,2,2: 42:[17, 59] Operation: 62-3=59
Moving to Node #0,1
Current State: 42:[71, 3, 8], Operations: ['62-54=8']
Exploring Operation: 71-8=63, Resulting Numbers: [3, 63]
Generated Node #0,1,0: 42:[3, 63] Operation: 71-8=63
Exploring Operation: 8-3=5, Resulting Numbers: [71, 5]
Generated Node #0,1,1: 42:[71, 5] Operation: 8-3=5
Exploring Operation: 71-3=68, Resulting Numbers: [8, 68]
Generated Node #0,1,2: 42:[8, 68] Operation: 71-3=68
Moving to Node #0,0,2
Current State: 42:[3, 6], Operations: ['71-62=9', '54/9=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[3, 45], Operations: ['71-62=9', '54-9=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[54, 71, 3, 62], Operations: []
Exploring Operation: 71-62=9, Resulting Numbers: [54, 3, 9]
Generated Node #0,0: 42:[54, 3, 9] Operation: 71-62=9
Moving to Node #0,0
Current State: 42:[54, 3, 9], Operations: ['71-62=9']
Exploring Operation: 54-9=45, Resulting Numbers: [3, 45]
Generated Node #0,0,0: 42:[3, 45] Operation: 54-9=45
Moving to Node #0,0,0
Current State: 42:[3, 45], Operations: ['71-62=9', '54-9=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.980903 | hs_3 | sum_heuristic |
[
42,
70,
8,
42
] | 70 | [
"42-42=0",
"8*0=0",
"70+0=70"
] | Current State: 70:[42, 70, 8, 42], Operations: []
Exploring Operation: 42-42=0, Resulting Numbers: [70, 8, 0]
Generated Node #2: [70, 8, 0] from Operation: 42-42=0
Current State: 70:[70, 8, 0], Operations: ['42-42=0']
Exploring Operation: 8*0=0, Resulting Numbers: [70, 0]
Generated Node #3: [70, 0] from Operation: 8*0=0
Current State: 70:[70, 0], Operations: ['42-42=0', '8*0=0']
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[42, 70, 8, 42], Operations: []
Exploring Operation: 42/42=1, Resulting Numbers: [70, 8, 1]
Generated Node #0,0: 70:[70, 8, 1] Operation: 42/42=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[70, 8, 1], Operations: ['42/42=1']
Exploring Operation: 8-1=7, Resulting Numbers: [70, 7]
Generated Node #0,0,0: 70:[70, 7] Operation: 8-1=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[70, 7], Operations: ['42/42=1', '8-1=7']
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
71,
2,
10
] | 24 | [
"71-59=12",
"2+10=12",
"12+12=24"
] | Current State: 24:[59, 71, 2, 10], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [2, 10, 12]
Generated Node #2: [2, 10, 12] from Operation: 71-59=12
Current State: 24:[2, 10, 12], Operations: ['71-59=12']
Exploring Operation: 2+10=12, Resulting Numbers: [12, 12]
Generated Node #3: [12, 12] from Operation: 2+10=12
Current State: 24:[12, 12], Operations: ['71-59=12', '2+10=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[59, 71, 2, 10], Operations: []
Exploring Operation: 71-10=61, Resulting Numbers: [59, 2, 61]
Generated Node #0,0: 24:[59, 2, 61] Operation: 71-10=61
Exploring Operation: 59-10=49, Resulting Numbers: [71, 2, 49]
Generated Node #0,1: 24:[71, 2, 49] Operation: 59-10=49
Exploring Operation: 59-2=57, Resulting Numbers: [71, 10, 57]
Generated Node #0,2: 24:[71, 10, 57] Operation: 59-2=57
Exploring Operation: 71-2=69, Resulting Numbers: [59, 10, 69]
Generated Node #0,3: 24:[59, 10, 69] Operation: 71-2=69
Exploring Operation: 71-59=12, Resulting Numbers: [2, 10, 12]
Generated Node #0,4: 24:[2, 10, 12] Operation: 71-59=12
Moving to Node #0,4
Current State: 24:[2, 10, 12], Operations: ['71-59=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2, 2]
Generated Node #0,4,0: 24:[2, 2] Operation: 12-10=2
Exploring Operation: 10/2=5, Resulting Numbers: [12, 5]
Generated Node #0,4,1: 24:[12, 5] Operation: 10/2=5
Exploring Operation: 10-2=8, Resulting Numbers: [12, 8]
Generated Node #0,4,2: 24:[12, 8] Operation: 10-2=8
Exploring Operation: 2+10=12, Resulting Numbers: [12, 12]
Generated Node #0,4,3: 24:[12, 12] Operation: 2+10=12
Exploring Operation: 2*12=24, Resulting Numbers: [10, 24]
Generated Node #0,4,4: 24:[10, 24] Operation: 2*12=24
Moving to Node #0,1
Current State: 24:[71, 2, 49], Operations: ['59-10=49']
Exploring Operation: 71-2=69, Resulting Numbers: [49, 69]
Generated Node #0,1,0: 24:[49, 69] Operation: 71-2=69
Exploring Operation: 71+2=73, Resulting Numbers: [49, 73]
Generated Node #0,1,1: 24:[49, 73] Operation: 71+2=73
Exploring Operation: 71-49=22, Resulting Numbers: [2, 22]
Generated Node #0,1,2: 24:[2, 22] Operation: 71-49=22
Exploring Operation: 49-2=47, Resulting Numbers: [71, 47]
Generated Node #0,1,3: 24:[71, 47] Operation: 49-2=47
Exploring Operation: 2+49=51, Resulting Numbers: [71, 51]
Generated Node #0,1,4: 24:[71, 51] Operation: 2+49=51
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[2, 22], Operations: ['59-10=49', '71-49=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[59, 71, 2, 10], Operations: []
Exploring Operation: 59-10=49, Resulting Numbers: [71, 2, 49]
Generated Node #0,1: 24:[71, 2, 49] Operation: 59-10=49
Moving to Node #0,1
Current State: 24:[71, 2, 49], Operations: ['59-10=49']
Exploring Operation: 71-49=22, Resulting Numbers: [2, 22]
Generated Node #0,1,2: 24:[2, 22] Operation: 71-49=22
Moving to Node #0,1,2
Current State: 24:[2, 22], Operations: ['59-10=49', '71-49=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
10,
98,
72,
64
] | 18 | [
"72-64=8",
"10*8=80",
"98-80=18"
] | Current State: 18:[10, 98, 72, 64], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [10, 98, 8]
Generated Node #2: [10, 98, 8] from Operation: 72-64=8
Current State: 18:[10, 98, 8], Operations: ['72-64=8']
Exploring Operation: 10*8=80, Resulting Numbers: [98, 80]
Generated Node #3: [98, 80] from Operation: 10*8=80
Current State: 18:[98, 80], Operations: ['72-64=8', '10*8=80']
Exploring Operation: 98-80=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[10, 98, 72, 64], Operations: []
Exploring Operation: 98-64=34, Resulting Numbers: [10, 72, 34]
Generated Node #0,0: 18:[10, 72, 34] Operation: 98-64=34
Exploring Operation: 98-72=26, Resulting Numbers: [10, 64, 26]
Generated Node #0,1: 18:[10, 64, 26] Operation: 98-72=26
Moving to Node #0,1
Current State: 18:[10, 64, 26], Operations: ['98-72=26']
Exploring Operation: 64-26=38, Resulting Numbers: [10, 38]
Generated Node #0,1,0: 18:[10, 38] Operation: 64-26=38
Exploring Operation: 64-10=54, Resulting Numbers: [26, 54]
Generated Node #0,1,1: 18:[26, 54] Operation: 64-10=54
Moving to Node #0,0
Current State: 18:[10, 72, 34], Operations: ['98-64=34']
Exploring Operation: 72-34=38, Resulting Numbers: [10, 38]
Generated Node #0,0,0: 18:[10, 38] Operation: 72-34=38
Exploring Operation: 72-10=62, Resulting Numbers: [34, 62]
Generated Node #0,0,1: 18:[34, 62] Operation: 72-10=62
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[10, 38], Operations: ['98-64=34', '72-34=38']
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,18 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,18 unequal: No Solution
No 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: 18:[34, 62], Operations: ['98-64=34', '72-10=62']
Exploring Operation: 34+62=96, Resulting Numbers: [96]
96,18 unequal: No Solution
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,18 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: 18:[10, 38], Operations: ['98-72=26', '64-26=38']
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,18 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[26, 54], Operations: ['98-72=26', '64-10=54']
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,18 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
53,
17,
96,
15
] | 92 | [
"53+15=68",
"68/17=4",
"96-4=92"
] | Current State: 92:[53, 17, 96, 15], Operations: []
Exploring Operation: 53+15=68, Resulting Numbers: [17, 96, 68]
Generated Node #2: [17, 96, 68] from Operation: 53+15=68
Current State: 92:[17, 96, 68], Operations: ['53+15=68']
Exploring Operation: 68/17=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 68/17=4
Current State: 92:[96, 4], Operations: ['53+15=68', '68/17=4']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[53, 17, 96, 15], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [17, 15, 43]
Generated Node #0,0: 92:[17, 15, 43] Operation: 96-53=43
Exploring Operation: 17-15=2, Resulting Numbers: [53, 96, 2]
Generated Node #0,1: 92:[53, 96, 2] Operation: 17-15=2
Exploring Operation: 17+15=32, Resulting Numbers: [53, 96, 32]
Generated Node #0,2: 92:[53, 96, 32] Operation: 17+15=32
Exploring Operation: 53-17=36, Resulting Numbers: [96, 15, 36]
Generated Node #0,3: 92:[96, 15, 36] Operation: 53-17=36
Exploring Operation: 53-15=38, Resulting Numbers: [17, 96, 38]
Generated Node #0,4: 92:[17, 96, 38] Operation: 53-15=38
Moving to Node #0,1
Current State: 92:[53, 96, 2], Operations: ['17-15=2']
Exploring Operation: 96-2=94, Resulting Numbers: [53, 94]
Generated Node #0,1,0: 92:[53, 94] Operation: 96-2=94
Exploring Operation: 53+2=55, Resulting Numbers: [96, 55]
Generated Node #0,1,1: 92:[96, 55] Operation: 53+2=55
Exploring Operation: 96-53=43, Resulting Numbers: [2, 43]
Generated Node #0,1,2: 92:[2, 43] Operation: 96-53=43
Exploring Operation: 96/2=48, Resulting Numbers: [53, 48]
Generated Node #0,1,3: 92:[53, 48] Operation: 96/2=48
Exploring Operation: 53-2=51, Resulting Numbers: [96, 51]
Generated Node #0,1,4: 92:[96, 51] Operation: 53-2=51
Moving to Node #0,0
Current State: 92:[17, 15, 43], Operations: ['96-53=43']
Exploring Operation: 43-15=28, Resulting Numbers: [17, 28]
Generated Node #0,0,0: 92:[17, 28] Operation: 43-15=28
Exploring Operation: 43-17=26, Resulting Numbers: [15, 26]
Generated Node #0,0,1: 92:[15, 26] Operation: 43-17=26
Exploring Operation: 17+15=32, Resulting Numbers: [43, 32]
Generated Node #0,0,2: 92:[43, 32] Operation: 17+15=32
Exploring Operation: 17-15=2, Resulting Numbers: [43, 2]
Generated Node #0,0,3: 92:[43, 2] Operation: 17-15=2
Exploring Operation: 15+43=58, Resulting Numbers: [17, 58]
Generated Node #0,0,4: 92:[17, 58] Operation: 15+43=58
Moving to Node #0,4
Current State: 92:[17, 96, 38], Operations: ['53-15=38']
Exploring Operation: 96-38=58, Resulting Numbers: [17, 58]
Generated Node #0,4,0: 92:[17, 58] Operation: 96-38=58
Exploring Operation: 38-17=21, Resulting Numbers: [96, 21]
Generated Node #0,4,1: 92:[96, 21] Operation: 38-17=21
Exploring Operation: 17+38=55, Resulting Numbers: [96, 55]
Generated Node #0,4,2: 92:[96, 55] Operation: 17+38=55
Exploring Operation: 96-17=79, Resulting Numbers: [38, 79]
Generated Node #0,4,3: 92:[38, 79] Operation: 96-17=79
Exploring Operation: 17+96=113, Resulting Numbers: [38, 113]
Generated Node #0,4,4: 92:[38, 113] Operation: 17+96=113
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 92:[96, 21], Operations: ['53-15=38', '38-17=21']
Exploring Operation: 96+21=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 96-21=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Exploring Operation: 96*21=2016, Resulting Numbers: [2016]
2016,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 92:[96, 55], Operations: ['53-15=38', '17+38=55']
Exploring Operation: 96*55=5280, Resulting Numbers: [5280]
5280,92 unequal: No Solution
Exploring Operation: 96-55=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 96+55=151, Resulting Numbers: [151]
151,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 92:[17, 58], Operations: ['53-15=38', '96-38=58']
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,92 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 92:[38, 79], Operations: ['53-15=38', '96-17=79']
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 38*79=3002, Resulting Numbers: [3002]
3002,92 unequal: No Solution
Exploring Operation: 38+79=117, Resulting Numbers: [117]
117,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 92:[38, 113], Operations: ['53-15=38', '17+96=113']
Exploring Operation: 38+113=151, Resulting Numbers: [151]
151,92 unequal: No Solution
Exploring Operation: 113-38=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Exploring Operation: 38*113=4294, Resulting Numbers: [4294]
4294,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 92:[53, 96, 32], Operations: ['17+15=32']
Exploring Operation: 53+32=85, Resulting Numbers: [96, 85]
Generated Node #0,2,0: 92:[96, 85] Operation: 53+32=85
Exploring Operation: 96-53=43, Resulting Numbers: [32, 43]
Generated Node #0,2,1: 92:[32, 43] Operation: 96-53=43
Exploring Operation: 53-32=21, Resulting Numbers: [96, 21]
Generated Node #0,2,2: 92:[96, 21] Operation: 53-32=21
Exploring Operation: 96-32=64, Resulting Numbers: [53, 64]
Generated Node #0,2,3: 92:[53, 64] Operation: 96-32=64
Exploring Operation: 96/32=3, Resulting Numbers: [53, 3]
Generated Node #0,2,4: 92:[53, 3] Operation: 96/32=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[96, 21], Operations: ['17+15=32', '53-32=21']
Exploring Operation: 96-21=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Exploring Operation: 96+21=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 96*21=2016, Resulting Numbers: [2016]
2016,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 92:[53, 3], Operations: ['17+15=32', '96/32=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,92 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[96, 85], Operations: ['17+15=32', '53+32=85']
Exploring Operation: 96-85=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 96+85=181, Resulting Numbers: [181]
181,92 unequal: No Solution
Exploring Operation: 96*85=8160, Resulting Numbers: [8160]
8160,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[32, 43], Operations: ['17+15=32', '96-53=43']
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,92 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[53, 64], Operations: ['17+15=32', '96-32=64']
Exploring Operation: 53+64=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 53*64=3392, Resulting Numbers: [3392]
3392,92 unequal: No Solution
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,92 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: 92:[96, 15, 36], Operations: ['53-17=36']
Exploring Operation: 36-15=21, Resulting Numbers: [96, 21]
Generated Node #0,3,0: 92:[96, 21] Operation: 36-15=21
Exploring Operation: 96+15=111, Resulting Numbers: [36, 111]
Generated Node #0,3,1: 92:[36, 111] Operation: 96+15=111
Exploring Operation: 96-15=81, Resulting Numbers: [36, 81]
Generated Node #0,3,2: 92:[36, 81] Operation: 96-15=81
Exploring Operation: 15+36=51, Resulting Numbers: [96, 51]
Generated Node #0,3,3: 92:[96, 51] Operation: 15+36=51
Exploring Operation: 96-36=60, Resulting Numbers: [15, 60]
Generated Node #0,3,4: 92:[15, 60] Operation: 96-36=60
Moving to Node #0,1,2
Current State: 92:[2, 43], Operations: ['17-15=2', '96-53=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[43, 2], Operations: ['96-53=43', '17-15=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Moving to Node #0,3,0
Current State: 92:[96, 21], Operations: ['53-17=36', '36-15=21']
Exploring Operation: 96*21=2016, Resulting Numbers: [2016]
2016,92 unequal: No Solution
Exploring Operation: 96+21=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 96-21=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[53, 48], Operations: ['17-15=2', '96/2=48']
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 53*48=2544, Resulting Numbers: [2544]
2544,92 unequal: No Solution
Exploring Operation: 53+48=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[96, 51], Operations: ['53-17=36', '15+36=51']
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,92 unequal: No Solution
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 96*51=4896, Resulting Numbers: [4896]
4896,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[53, 94], Operations: ['17-15=2', '96-2=94']
Exploring Operation: 94-53=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 53*94=4982, Resulting Numbers: [4982]
4982,92 unequal: No Solution
Exploring Operation: 53+94=147, Resulting Numbers: [147]
147,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[96, 51], Operations: ['17-15=2', '53-2=51']
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,92 unequal: No Solution
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 96*51=4896, Resulting Numbers: [4896]
4896,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[17, 28], Operations: ['96-53=43', '43-15=28']
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[15, 26], Operations: ['96-53=43', '43-17=26']
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,92 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[43, 32], Operations: ['96-53=43', '17+15=32']
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,92 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[96, 55], Operations: ['17-15=2', '53+2=55']
Exploring Operation: 96-55=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 96*55=5280, Resulting Numbers: [5280]
5280,92 unequal: No Solution
Exploring Operation: 96+55=151, Resulting Numbers: [151]
151,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[17, 58], Operations: ['96-53=43', '15+43=58']
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,92 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[36, 81], Operations: ['53-17=36', '96-15=81']
Exploring Operation: 36+81=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 36*81=2916, Resulting Numbers: [2916]
2916,92 unequal: No Solution
Moving to Node #0,3,4
Current State: 92:[15, 60], Operations: ['53-17=36', '96-36=60']
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[36, 111], Operations: ['53-17=36', '96+15=111']
Exploring Operation: 36+111=147, Resulting Numbers: [147]
147,92 unequal: No Solution
Exploring Operation: 111-36=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Exploring Operation: 36*111=3996, Resulting Numbers: [3996]
3996,92 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
29,
3,
92,
26
] | 98 | [
"29+3=32",
"92-26=66",
"32+66=98"
] | Current State: 98:[29, 3, 92, 26], Operations: []
Exploring Operation: 29+3=32, Resulting Numbers: [92, 26, 32]
Generated Node #2: [92, 26, 32] from Operation: 29+3=32
Current State: 98:[92, 26, 32], Operations: ['29+3=32']
Exploring Operation: 92-26=66, Resulting Numbers: [32, 66]
Generated Node #3: [32, 66] from Operation: 92-26=66
Current State: 98:[32, 66], Operations: ['29+3=32', '92-26=66']
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[29, 3, 92, 26], Operations: []
Exploring Operation: 29*3=87, Resulting Numbers: [92, 26, 87]
Generated Node #0,0: 98:[92, 26, 87] Operation: 29*3=87
Exploring Operation: 29+26=55, Resulting Numbers: [3, 92, 55]
Generated Node #0,1: 98:[3, 92, 55] Operation: 29+26=55
Exploring Operation: 29-26=3, Resulting Numbers: [3, 92, 3]
Generated Node #0,2: 98:[3, 92, 3] Operation: 29-26=3
Exploring Operation: 92-29=63, Resulting Numbers: [3, 26, 63]
Generated Node #0,3: 98:[3, 26, 63] Operation: 92-29=63
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[3, 92, 3], Operations: ['29-26=3']
Exploring Operation: 92+3=95, Resulting Numbers: [3, 95]
Generated Node #0,2,0: 98:[3, 95] Operation: 92+3=95
Exploring Operation: 3/3=1, Resulting Numbers: [92, 1]
Generated Node #0,2,1: 98:[92, 1] Operation: 3/3=1
Exploring Operation: 3+92=95, Resulting Numbers: [3, 95]
Generated Node #0,2,2: 98:[3, 95] Operation: 3+92=95
Exploring Operation: 3+3=6, Resulting Numbers: [92, 6]
Generated Node #0,2,3: 98:[92, 6] Operation: 3+3=6
Moving to Node #0,2,0
Current State: 98:[3, 95], Operations: ['29-26=3', '92+3=95']
Exploring Operation: 3*95=285, Resulting Numbers: [285]
285,98 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[29, 3, 92, 26], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [3, 92, 3]
Generated Node #0,2: 98:[3, 92, 3] Operation: 29-26=3
Moving to Node #0,2
Current State: 98:[3, 92, 3], Operations: ['29-26=3']
Exploring Operation: 92+3=95, Resulting Numbers: [3, 95]
Generated Node #0,2,0: 98:[3, 95] Operation: 92+3=95
Moving to Node #0,2,0
Current State: 98:[3, 95], Operations: ['29-26=3', '92+3=95']
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
33,
53,
97,
78
] | 89 | [
"33+53=86",
"97+78=175",
"175-86=89"
] | Current State: 89:[33, 53, 97, 78], Operations: []
Exploring Operation: 33+53=86, Resulting Numbers: [97, 78, 86]
Generated Node #2: [97, 78, 86] from Operation: 33+53=86
Current State: 89:[97, 78, 86], Operations: ['33+53=86']
Exploring Operation: 97+78=175, Resulting Numbers: [86, 175]
Generated Node #3: [86, 175] from Operation: 97+78=175
Current State: 89:[86, 175], Operations: ['33+53=86', '97+78=175']
Exploring Operation: 175-86=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[33, 53, 97, 78], Operations: []
Exploring Operation: 33+78=111, Resulting Numbers: [53, 97, 111]
Generated Node #0,0: 89:[53, 97, 111] Operation: 33+78=111
Exploring Operation: 33+53=86, Resulting Numbers: [97, 78, 86]
Generated Node #0,1: 89:[97, 78, 86] Operation: 33+53=86
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[97, 78, 86], Operations: ['33+53=86']
Exploring Operation: 78+86=164, Resulting Numbers: [97, 164]
Generated Node #0,1,0: 89:[97, 164] Operation: 78+86=164
Exploring Operation: 97-78=19, Resulting Numbers: [86, 19]
Generated Node #0,1,1: 89:[86, 19] Operation: 97-78=19
Moving to Node #0,1,1
Current State: 89:[86, 19], Operations: ['33+53=86', '97-78=19']
Exploring Operation: 86-19=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 86+19=105, Resulting Numbers: [105]
105,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[97, 164], Operations: ['33+53=86', '78+86=164']
Exploring Operation: 97+164=261, Resulting Numbers: [261]
261,89 unequal: No Solution
Exploring Operation: 164-97=67, Resulting Numbers: [67]
67,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[53, 97, 111], Operations: ['33+78=111']
Exploring Operation: 111-53=58, Resulting Numbers: [97, 58]
Generated Node #0,0,0: 89:[97, 58] Operation: 111-53=58
Exploring Operation: 97-53=44, Resulting Numbers: [111, 44]
Generated Node #0,0,1: 89:[111, 44] Operation: 97-53=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[97, 58], Operations: ['33+78=111', '111-53=58']
Exploring Operation: 97-58=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Exploring Operation: 97+58=155, Resulting Numbers: [155]
155,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[111, 44], Operations: ['33+78=111', '97-53=44']
Exploring Operation: 111+44=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Exploring Operation: 111-44=67, Resulting Numbers: [67]
67,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
54,
10,
24,
18
] | 57 | [
"18-10=8",
"24/8=3",
"54+3=57"
] | Current State: 57:[54, 10, 24, 18], Operations: []
Exploring Operation: 18-10=8, Resulting Numbers: [54, 24, 8]
Generated Node #2: [54, 24, 8] from Operation: 18-10=8
Current State: 57:[54, 24, 8], Operations: ['18-10=8']
Exploring Operation: 24/8=3, Resulting Numbers: [54, 3]
Generated Node #3: [54, 3] from Operation: 24/8=3
Current State: 57:[54, 3], Operations: ['18-10=8', '24/8=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[54, 10, 24, 18], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [10, 24, 3]
Generated Node #0,0: 57:[10, 24, 3] Operation: 54/18=3
Exploring Operation: 18-10=8, Resulting Numbers: [54, 24, 8]
Generated Node #0,1: 57:[54, 24, 8] Operation: 18-10=8
Exploring Operation: 54+10=64, Resulting Numbers: [24, 18, 64]
Generated Node #0,2: 57:[24, 18, 64] Operation: 54+10=64
Exploring Operation: 24-10=14, Resulting Numbers: [54, 18, 14]
Generated Node #0,3: 57:[54, 18, 14] Operation: 24-10=14
Moving to Node #0,3
Current State: 57:[54, 18, 14], Operations: ['24-10=14']
Exploring Operation: 18+14=32, Resulting Numbers: [54, 32]
Generated Node #0,3,0: 57:[54, 32] Operation: 18+14=32
Exploring Operation: 18-14=4, Resulting Numbers: [54, 4]
Generated Node #0,3,1: 57:[54, 4] Operation: 18-14=4
Exploring Operation: 54+14=68, Resulting Numbers: [18, 68]
Generated Node #0,3,2: 57:[18, 68] Operation: 54+14=68
Exploring Operation: 54/18=3, Resulting Numbers: [14, 3]
Generated Node #0,3,3: 57:[14, 3] Operation: 54/18=3
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 57:[54, 4], Operations: ['24-10=14', '18-14=4']
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,57 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 57:[14, 3], Operations: ['24-10=14', '54/18=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 57:[18, 68], Operations: ['24-10=14', '54+14=68']
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,57 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[54, 32], Operations: ['24-10=14', '18+14=32']
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 54*32=1728, Resulting Numbers: [1728]
1728,57 unequal: No Solution
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,57 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: 57:[10, 24, 3], Operations: ['54/18=3']
Exploring Operation: 24-3=21, Resulting Numbers: [10, 21]
Generated Node #0,0,0: 57:[10, 21] Operation: 24-3=21
Exploring Operation: 10-3=7, Resulting Numbers: [24, 7]
Generated Node #0,0,1: 57:[24, 7] Operation: 10-3=7
Exploring Operation: 10+3=13, Resulting Numbers: [24, 13]
Generated Node #0,0,2: 57:[24, 13] Operation: 10+3=13
Exploring Operation: 24-10=14, Resulting Numbers: [3, 14]
Generated Node #0,0,3: 57:[3, 14] Operation: 24-10=14
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 57:[3, 14], Operations: ['54/18=3', '24-10=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[10, 21], Operations: ['54/18=3', '24-3=21']
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,57 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[24, 7], Operations: ['54/18=3', '10-3=7']
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,57 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 57:[24, 13], Operations: ['54/18=3', '10+3=13']
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,57 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,57 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: 57:[24, 18, 64], Operations: ['54+10=64']
Exploring Operation: 64-24=40, Resulting Numbers: [18, 40]
Generated Node #0,2,0: 57:[18, 40] Operation: 64-24=40
Exploring Operation: 64-18=46, Resulting Numbers: [24, 46]
Generated Node #0,2,1: 57:[24, 46] Operation: 64-18=46
Exploring Operation: 24-18=6, Resulting Numbers: [64, 6]
Generated Node #0,2,2: 57:[64, 6] Operation: 24-18=6
Exploring Operation: 24+18=42, Resulting Numbers: [64, 42]
Generated Node #0,2,3: 57:[64, 42] Operation: 24+18=42
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[64, 6], Operations: ['54+10=64', '24-18=6']
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,57 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 64*6=384, Resulting Numbers: [384]
384,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[24, 46], Operations: ['54+10=64', '64-18=46']
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,57 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[18, 40], Operations: ['54+10=64', '64-24=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 57:[64, 42], Operations: ['54+10=64', '24+18=42']
Exploring Operation: 64+42=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 64*42=2688, Resulting Numbers: [2688]
2688,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 57:[54, 24, 8], Operations: ['18-10=8']
Exploring Operation: 24-8=16, Resulting Numbers: [54, 16]
Generated Node #0,1,0: 57:[54, 16] Operation: 24-8=16
Exploring Operation: 54+8=62, Resulting Numbers: [24, 62]
Generated Node #0,1,1: 57:[24, 62] Operation: 54+8=62
Exploring Operation: 24/8=3, Resulting Numbers: [54, 3]
Generated Node #0,1,2: 57:[54, 3] Operation: 24/8=3
Exploring Operation: 54-24=30, Resulting Numbers: [8, 30]
Generated Node #0,1,3: 57:[8, 30] Operation: 54-24=30
Moving to Node #0,1,2
Current State: 57:[54, 3], Operations: ['18-10=8', '24/8=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,57 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,57 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[54, 10, 24, 18], Operations: []
Exploring Operation: 18-10=8, Resulting Numbers: [54, 24, 8]
Generated Node #0,1: 57:[54, 24, 8] Operation: 18-10=8
Moving to Node #0,1
Current State: 57:[54, 24, 8], Operations: ['18-10=8']
Exploring Operation: 24/8=3, Resulting Numbers: [54, 3]
Generated Node #0,1,2: 57:[54, 3] Operation: 24/8=3
Moving to Node #0,1,2
Current State: 57:[54, 3], Operations: ['18-10=8', '24/8=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.944444 | hs_4 | sum_heuristic |
[
36,
85,
12,
98
] | 39 | [
"36/12=3",
"98-85=13",
"3*13=39"
] | Current State: 39:[36, 85, 12, 98], Operations: []
Exploring Operation: 36/12=3, Resulting Numbers: [85, 98, 3]
Generated Node #2: [85, 98, 3] from Operation: 36/12=3
Current State: 39:[85, 98, 3], Operations: ['36/12=3']
Exploring Operation: 98-85=13, Resulting Numbers: [3, 13]
Generated Node #3: [3, 13] from Operation: 98-85=13
Current State: 39:[3, 13], Operations: ['36/12=3', '98-85=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[36, 85, 12, 98], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [36, 12, 13]
Generated Node #0,0: 39:[36, 12, 13] Operation: 98-85=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[36, 12, 13], Operations: ['98-85=13']
Exploring Operation: 36/12=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 39:[13, 3] Operation: 36/12=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[13, 3], Operations: ['98-85=13', '36/12=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[36, 85, 12, 98], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [36, 12, 13]
Generated Node #0,0: 39:[36, 12, 13] Operation: 98-85=13
Moving to Node #0,0
Current State: 39:[36, 12, 13], Operations: ['98-85=13']
Exploring Operation: 36/12=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 39:[13, 3] Operation: 36/12=3
Moving to Node #0,0,0
Current State: 39:[13, 3], Operations: ['98-85=13', '36/12=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
22,
3,
4,
96
] | 42 | [
"22*3=66",
"96/4=24",
"66-24=42"
] | Current State: 42:[22, 3, 4, 96], Operations: []
Exploring Operation: 22*3=66, Resulting Numbers: [4, 96, 66]
Generated Node #2: [4, 96, 66] from Operation: 22*3=66
Current State: 42:[4, 96, 66], Operations: ['22*3=66']
Exploring Operation: 96/4=24, Resulting Numbers: [66, 24]
Generated Node #3: [66, 24] from Operation: 96/4=24
Current State: 42:[66, 24], Operations: ['22*3=66', '96/4=24']
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[22, 3, 4, 96], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [22, 3, 24]
Generated Node #0,0: 42:[22, 3, 24] Operation: 96/4=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[22, 3, 24], Operations: ['96/4=24']
Exploring Operation: 24-22=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 42:[3, 2] Operation: 24-22=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[3, 2], Operations: ['96/4=24', '24-22=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
31,
74,
50,
70
] | 10 | [
"74-31=43",
"50-43=7",
"70/7=10"
] | Current State: 10:[31, 74, 50, 70], Operations: []
Exploring Operation: 74-31=43, Resulting Numbers: [50, 70, 43]
Generated Node #2: [50, 70, 43] from Operation: 74-31=43
Current State: 10:[50, 70, 43], Operations: ['74-31=43']
Exploring Operation: 50-43=7, Resulting Numbers: [70, 7]
Generated Node #3: [70, 7] from Operation: 50-43=7
Current State: 10:[70, 7], Operations: ['74-31=43', '50-43=7']
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[31, 74, 50, 70], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [31, 50, 4]
Generated Node #0,0: 10:[31, 50, 4] Operation: 74-70=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[31, 50, 4], Operations: ['74-70=4']
Exploring Operation: 50-31=19, Resulting Numbers: [4, 19]
Generated Node #0,0,0: 10:[4, 19] Operation: 50-31=19
Moving to Node #0,0,0
Current State: 10:[4, 19], Operations: ['74-70=4', '50-31=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,10 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 |
[
35,
33,
37,
3
] | 77 | [
"35-33=2",
"37*2=74",
"3+74=77"
] | Current State: 77:[35, 33, 37, 3], Operations: []
Exploring Operation: 35-33=2, Resulting Numbers: [37, 3, 2]
Generated Node #2: [37, 3, 2] from Operation: 35-33=2
Current State: 77:[37, 3, 2], Operations: ['35-33=2']
Exploring Operation: 37*2=74, Resulting Numbers: [3, 74]
Generated Node #3: [3, 74] from Operation: 37*2=74
Current State: 77:[3, 74], Operations: ['35-33=2', '37*2=74']
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[35, 33, 37, 3], Operations: []
Exploring Operation: 35+37=72, Resulting Numbers: [33, 3, 72]
Generated Node #0,0: 77:[33, 3, 72] Operation: 35+37=72
Exploring Operation: 37-35=2, Resulting Numbers: [33, 3, 2]
Generated Node #0,1: 77:[33, 3, 2] Operation: 37-35=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[33, 3, 72], Operations: ['35+37=72']
Exploring Operation: 33-3=30, Resulting Numbers: [72, 30]
Generated Node #0,0,0: 77:[72, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [72, 11]
Generated Node #0,0,1: 77:[72, 11] Operation: 33/3=11
Moving to Node #0,0,1
Current State: 77:[72, 11], Operations: ['35+37=72', '33/3=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[72, 30], Operations: ['35+37=72', '33-3=30']
Exploring Operation: 72-30=42, Resulting Numbers: [42]
42,77 unequal: No Solution
Exploring Operation: 72+30=102, Resulting Numbers: [102]
102,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,1
Current State: 77:[33, 3, 2], Operations: ['37-35=2']
Exploring Operation: 33/3=11, Resulting Numbers: [2, 11]
Generated Node #0,1,0: 77:[2, 11] Operation: 33/3=11
Exploring Operation: 33*2=66, Resulting Numbers: [3, 66]
Generated Node #0,1,1: 77:[3, 66] Operation: 33*2=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[2, 11], Operations: ['37-35=2', '33/3=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,77 unequal: No Solution
No 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: 77:[3, 66], Operations: ['37-35=2', '33*2=66']
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,77 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 |
[
78,
72,
30,
69
] | 12 | [
"72-69=3",
"30*3=90",
"90-78=12"
] | Current State: 12:[78, 72, 30, 69], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [78, 30, 3]
Generated Node #2: [78, 30, 3] from Operation: 72-69=3
Current State: 12:[78, 30, 3], Operations: ['72-69=3']
Exploring Operation: 30*3=90, Resulting Numbers: [78, 90]
Generated Node #3: [78, 90] from Operation: 30*3=90
Current State: 12:[78, 90], Operations: ['72-69=3', '30*3=90']
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[78, 72, 30, 69], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [78, 30, 3]
Generated Node #0,0: 12:[78, 30, 3] Operation: 72-69=3
Exploring Operation: 78-69=9, Resulting Numbers: [72, 30, 9]
Generated Node #0,1: 12:[72, 30, 9] Operation: 78-69=9
Exploring Operation: 78-72=6, Resulting Numbers: [30, 69, 6]
Generated Node #0,2: 12:[30, 69, 6] Operation: 78-72=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[30, 69, 6], Operations: ['78-72=6']
Exploring Operation: 30-6=24, Resulting Numbers: [69, 24]
Generated Node #0,2,0: 12:[69, 24] Operation: 30-6=24
Exploring Operation: 30/6=5, Resulting Numbers: [69, 5]
Generated Node #0,2,1: 12:[69, 5] Operation: 30/6=5
Exploring Operation: 69-30=39, Resulting Numbers: [6, 39]
Generated Node #0,2,2: 12:[6, 39] Operation: 69-30=39
Moving to Node #0,2,2
Current State: 12:[6, 39], Operations: ['78-72=6', '69-30=39']
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[69, 5], Operations: ['78-72=6', '30/6=5']
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,12 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 69*5=345, Resulting Numbers: [345]
345,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[69, 24], Operations: ['78-72=6', '30-6=24']
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,12 unequal: No Solution
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[72, 30, 9], Operations: ['78-69=9']
Exploring Operation: 72-30=42, Resulting Numbers: [9, 42]
Generated Node #0,1,0: 12:[9, 42] Operation: 72-30=42
Exploring Operation: 72/9=8, Resulting Numbers: [30, 8]
Generated Node #0,1,1: 12:[30, 8] Operation: 72/9=8
Exploring Operation: 72-9=63, Resulting Numbers: [30, 63]
Generated Node #0,1,2: 12:[30, 63] Operation: 72-9=63
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 12:[30, 8], Operations: ['78-69=9', '72/9=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,12 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,12 unequal: No Solution
No 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: 12:[9, 42], Operations: ['78-69=9', '72-30=42']
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,12 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,12 unequal: No Solution
No 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: 12:[30, 63], Operations: ['78-69=9', '72-9=63']
Exploring Operation: 30*63=1890, Resulting Numbers: [1890]
1890,12 unequal: No Solution
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 30+63=93, Resulting Numbers: [93]
93,12 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: 12:[78, 30, 3], Operations: ['72-69=3']
Exploring Operation: 30/3=10, Resulting Numbers: [78, 10]
Generated Node #0,0,0: 12:[78, 10] Operation: 30/3=10
Exploring Operation: 78-30=48, Resulting Numbers: [3, 48]
Generated Node #0,0,1: 12:[3, 48] Operation: 78-30=48
Exploring Operation: 78/3=26, Resulting Numbers: [30, 26]
Generated Node #0,0,2: 12:[30, 26] Operation: 78/3=26
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 12:[30, 26], Operations: ['72-69=3', '78/3=26']
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,12 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,12 unequal: No Solution
No 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: 12:[3, 48], Operations: ['72-69=3', '78-30=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,12 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,12 unequal: No Solution
No 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: 12:[78, 10], Operations: ['72-69=3', '30/3=10']
Exploring Operation: 78*10=780, Resulting Numbers: [780]
780,12 unequal: No Solution
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,12 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,12 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 |
[
47,
37,
78,
75
] | 81 | [
"47+37=84",
"78-75=3",
"84-3=81"
] | Current State: 81:[47, 37, 78, 75], Operations: []
Exploring Operation: 47+37=84, Resulting Numbers: [78, 75, 84]
Generated Node #2: [78, 75, 84] from Operation: 47+37=84
Current State: 81:[78, 75, 84], Operations: ['47+37=84']
Exploring Operation: 78-75=3, Resulting Numbers: [84, 3]
Generated Node #3: [84, 3] from Operation: 78-75=3
Current State: 81:[84, 3], Operations: ['47+37=84', '78-75=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[47, 37, 78, 75], Operations: []
Exploring Operation: 47+37=84, Resulting Numbers: [78, 75, 84]
Generated Node #0,0: 81:[78, 75, 84] Operation: 47+37=84
Exploring Operation: 75-47=28, Resulting Numbers: [37, 78, 28]
Generated Node #0,1: 81:[37, 78, 28] Operation: 75-47=28
Exploring Operation: 47-37=10, Resulting Numbers: [78, 75, 10]
Generated Node #0,2: 81:[78, 75, 10] Operation: 47-37=10
Moving to Node #0,2
Current State: 81:[78, 75, 10], Operations: ['47-37=10']
Exploring Operation: 75+10=85, Resulting Numbers: [78, 85]
Generated Node #0,2,0: 81:[78, 85] Operation: 75+10=85
Exploring Operation: 78-75=3, Resulting Numbers: [10, 3]
Generated Node #0,2,1: 81:[10, 3] Operation: 78-75=3
Exploring Operation: 78+10=88, Resulting Numbers: [75, 88]
Generated Node #0,2,2: 81:[75, 88] Operation: 78+10=88
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[10, 3], Operations: ['47-37=10', '78-75=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[78, 85], Operations: ['47-37=10', '75+10=85']
Exploring Operation: 78*85=6630, Resulting Numbers: [6630]
6630,81 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 78+85=163, Resulting Numbers: [163]
163,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[75, 88], Operations: ['47-37=10', '78+10=88']
Exploring Operation: 75+88=163, Resulting Numbers: [163]
163,81 unequal: No Solution
Exploring Operation: 75*88=6600, Resulting Numbers: [6600]
6600,81 unequal: No Solution
Exploring Operation: 88-75=13, Resulting Numbers: [13]
13,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 81:[78, 75, 84], Operations: ['47+37=84']
Exploring Operation: 78-75=3, Resulting Numbers: [84, 3]
Generated Node #0,0,0: 81:[84, 3] Operation: 78-75=3
Exploring Operation: 84-75=9, Resulting Numbers: [78, 9]
Generated Node #0,0,1: 81:[78, 9] Operation: 84-75=9
Exploring Operation: 84-78=6, Resulting Numbers: [75, 6]
Generated Node #0,0,2: 81:[75, 6] Operation: 84-78=6
Moving to Node #0,1
Current State: 81:[37, 78, 28], Operations: ['75-47=28']
Exploring Operation: 78-37=41, Resulting Numbers: [28, 41]
Generated Node #0,1,0: 81:[28, 41] Operation: 78-37=41
Exploring Operation: 37+28=65, Resulting Numbers: [78, 65]
Generated Node #0,1,1: 81:[78, 65] Operation: 37+28=65
Exploring Operation: 37-28=9, Resulting Numbers: [78, 9]
Generated Node #0,1,2: 81:[78, 9] Operation: 37-28=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[78, 9], Operations: ['75-47=28', '37-28=9']
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,81 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,81 unequal: No Solution
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[28, 41], Operations: ['75-47=28', '78-37=41']
Exploring Operation: 28+41=69, Resulting Numbers: [69]
69,81 unequal: No Solution
Exploring Operation: 28*41=1148, Resulting Numbers: [1148]
1148,81 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[78, 65], Operations: ['75-47=28', '37+28=65']
Exploring Operation: 78-65=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 78+65=143, Resulting Numbers: [143]
143,81 unequal: No Solution
Exploring Operation: 78*65=5070, Resulting Numbers: [5070]
5070,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 81:[84, 3], Operations: ['47+37=84', '78-75=3']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,81 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[47, 37, 78, 75], Operations: []
Exploring Operation: 47+37=84, Resulting Numbers: [78, 75, 84]
Generated Node #0,0: 81:[78, 75, 84] Operation: 47+37=84
Moving to Node #0,0
Current State: 81:[78, 75, 84], Operations: ['47+37=84']
Exploring Operation: 78-75=3, Resulting Numbers: [84, 3]
Generated Node #0,0,0: 81:[84, 3] Operation: 78-75=3
Moving to Node #0,0,0
Current State: 81:[84, 3], Operations: ['47+37=84', '78-75=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.967882 | hs_3 | mult_heuristic |
[
56,
6,
54,
38
] | 27 | [
"56-38=18",
"54/6=9",
"18+9=27"
] | Current State: 27:[56, 6, 54, 38], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [6, 54, 18]
Generated Node #2: [6, 54, 18] from Operation: 56-38=18
Current State: 27:[6, 54, 18], Operations: ['56-38=18']
Exploring Operation: 54/6=9, Resulting Numbers: [18, 9]
Generated Node #3: [18, 9] from Operation: 54/6=9
Current State: 27:[18, 9], Operations: ['56-38=18', '54/6=9']
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[56, 6, 54, 38], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [6, 54, 18]
Generated Node #0,0: 27:[6, 54, 18] Operation: 56-38=18
Exploring Operation: 54-38=16, Resulting Numbers: [56, 6, 16]
Generated Node #0,1: 27:[56, 6, 16] Operation: 54-38=16
Exploring Operation: 56-54=2, Resulting Numbers: [6, 38, 2]
Generated Node #0,2: 27:[6, 38, 2] Operation: 56-54=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[6, 38, 2], Operations: ['56-54=2']
Exploring Operation: 38/2=19, Resulting Numbers: [6, 19]
Generated Node #0,2,0: 27:[6, 19] Operation: 38/2=19
Exploring Operation: 6/2=3, Resulting Numbers: [38, 3]
Generated Node #0,2,1: 27:[38, 3] Operation: 6/2=3
Exploring Operation: 38-6=32, Resulting Numbers: [2, 32]
Generated Node #0,2,2: 27:[2, 32] Operation: 38-6=32
Moving to Node #0,2,2
Current State: 27:[2, 32], Operations: ['56-54=2', '38-6=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[6, 19], Operations: ['56-54=2', '38/2=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[38, 3], Operations: ['56-54=2', '6/2=3']
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,27 unequal: No Solution
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,27 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[6, 54, 18], Operations: ['56-38=18']
Exploring Operation: 54/6=9, Resulting Numbers: [18, 9]
Generated Node #0,0,0: 27:[18, 9] Operation: 54/6=9
Exploring Operation: 54-18=36, Resulting Numbers: [6, 36]
Generated Node #0,0,1: 27:[6, 36] Operation: 54-18=36
Exploring Operation: 54/18=3, Resulting Numbers: [6, 3]
Generated Node #0,0,2: 27:[6, 3] Operation: 54/18=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[6, 3], Operations: ['56-38=18', '54/18=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[18, 9], Operations: ['56-38=18', '54/6=9']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[56, 6, 54, 38], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [6, 54, 18]
Generated Node #0,0: 27:[6, 54, 18] Operation: 56-38=18
Moving to Node #0,0
Current State: 27:[6, 54, 18], Operations: ['56-38=18']
Exploring Operation: 54/6=9, Resulting Numbers: [18, 9]
Generated Node #0,0,0: 27:[18, 9] Operation: 54/6=9
Moving to Node #0,0,0
Current State: 27:[18, 9], Operations: ['56-38=18', '54/6=9']
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
80,
42,
16,
6
] | 83 | [
"42+6=48",
"48/16=3",
"80+3=83"
] | Current State: 83:[80, 42, 16, 6], Operations: []
Exploring Operation: 42+6=48, Resulting Numbers: [80, 16, 48]
Generated Node #2: [80, 16, 48] from Operation: 42+6=48
Current State: 83:[80, 16, 48], Operations: ['42+6=48']
Exploring Operation: 48/16=3, Resulting Numbers: [80, 3]
Generated Node #3: [80, 3] from Operation: 48/16=3
Current State: 83:[80, 3], Operations: ['42+6=48', '48/16=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[80, 42, 16, 6], Operations: []
Exploring Operation: 16*6=96, Resulting Numbers: [80, 42, 96]
Generated Node #0,0: 83:[80, 42, 96] Operation: 16*6=96
Moving to Node #0,0
Current State: 83:[80, 42, 96], Operations: ['16*6=96']
Exploring Operation: 96-42=54, Resulting Numbers: [80, 54]
Generated Node #0,0,0: 83:[80, 54] Operation: 96-42=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[80, 54], Operations: ['16*6=96', '96-42=54']
Exploring Operation: 80+54=134, Resulting Numbers: [134]
134,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 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.