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 |
|---|---|---|---|---|---|---|---|---|
[
62,
22,
72,
60
] | 61 | [
"62-60=2",
"22/2=11",
"72-11=61"
] | Current State: 61:[62, 22, 72, 60], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [22, 72, 2]
Generated Node #2: [22, 72, 2] from Operation: 62-60=2
Current State: 61:[22, 72, 2], Operations: ['62-60=2']
Exploring Operation: 22/2=11, Resulting Numbers: [72, 11]
Generated Node #3: [72, 11] from Operation: 22/2=11
Current State: 61:[72, 11], Operations: ['62-60=2', '22/2=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[62, 22, 72, 60], Operations: []
Exploring Operation: 62-22=40, Resulting Numbers: [72, 60, 40]
Generated Node #0,0: 61:[72, 60, 40] Operation: 62-22=40
Exploring Operation: 72-22=50, Resulting Numbers: [62, 60, 50]
Generated Node #0,1: 61:[62, 60, 50] Operation: 72-22=50
Exploring Operation: 22+60=82, Resulting Numbers: [62, 72, 82]
Generated Node #0,2: 61:[62, 72, 82] Operation: 22+60=82
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[62, 60, 50], Operations: ['72-22=50']
Exploring Operation: 62-50=12, Resulting Numbers: [60, 12]
Generated Node #0,1,0: 61:[60, 12] Operation: 62-50=12
Exploring Operation: 62+50=112, Resulting Numbers: [60, 112]
Generated Node #0,1,1: 61:[60, 112] Operation: 62+50=112
Exploring Operation: 60+50=110, Resulting Numbers: [62, 110]
Generated Node #0,1,2: 61:[62, 110] Operation: 60+50=110
Moving to Node #0,1,0
Current State: 61:[60, 12], Operations: ['72-22=50', '62-50=12']
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[62, 110], Operations: ['72-22=50', '60+50=110']
Exploring Operation: 62+110=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 110-62=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 62*110=6820, Resulting Numbers: [6820]
6820,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[60, 112], Operations: ['72-22=50', '62+50=112']
Exploring Operation: 60+112=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 60*112=6720, Resulting Numbers: [6720]
6720,61 unequal: No Solution
Exploring Operation: 112-60=52, Resulting Numbers: [52]
52,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[72, 60, 40], Operations: ['62-22=40']
Exploring Operation: 60+40=100, Resulting Numbers: [72, 100]
Generated Node #0,0,0: 61:[72, 100] Operation: 60+40=100
Exploring Operation: 72+40=112, Resulting Numbers: [60, 112]
Generated Node #0,0,1: 61:[60, 112] Operation: 72+40=112
Exploring Operation: 72-40=32, Resulting Numbers: [60, 32]
Generated Node #0,0,2: 61:[60, 32] Operation: 72-40=32
Moving to Node #0,0,2
Current State: 61:[60, 32], Operations: ['62-22=40', '72-40=32']
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[72, 100], Operations: ['62-22=40', '60+40=100']
Exploring Operation: 72+100=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 72*100=7200, Resulting Numbers: [7200]
7200,61 unequal: No Solution
Exploring Operation: 100-72=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[60, 112], Operations: ['62-22=40', '72+40=112']
Exploring Operation: 60+112=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 60*112=6720, Resulting Numbers: [6720]
6720,61 unequal: No Solution
Exploring Operation: 112-60=52, Resulting Numbers: [52]
52,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,2
Current State: 61:[62, 72, 82], Operations: ['22+60=82']
Exploring Operation: 82-72=10, Resulting Numbers: [62, 10]
Generated Node #0,2,0: 61:[62, 10] Operation: 82-72=10
Exploring Operation: 72-62=10, Resulting Numbers: [82, 10]
Generated Node #0,2,1: 61:[82, 10] Operation: 72-62=10
Exploring Operation: 82-62=20, Resulting Numbers: [72, 20]
Generated Node #0,2,2: 61:[72, 20] Operation: 82-62=20
Moving to Node #0,2,0
Current State: 61:[62, 10], Operations: ['22+60=82', '82-72=10']
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 62*10=620, Resulting Numbers: [620]
620,61 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[72, 20], Operations: ['22+60=82', '82-62=20']
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,61 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[82, 10], Operations: ['22+60=82', '72-62=10']
Exploring Operation: 82*10=820, Resulting Numbers: [820]
820,61 unequal: No Solution
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,61 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 |
[
79,
82,
71,
5
] | 52 | [
"79+71=150",
"150/5=30",
"82-30=52"
] | Current State: 52:[79, 82, 71, 5], Operations: []
Exploring Operation: 79+71=150, Resulting Numbers: [82, 5, 150]
Generated Node #2: [82, 5, 150] from Operation: 79+71=150
Current State: 52:[82, 5, 150], Operations: ['79+71=150']
Exploring Operation: 150/5=30, Resulting Numbers: [82, 30]
Generated Node #3: [82, 30] from Operation: 150/5=30
Current State: 52:[82, 30], Operations: ['79+71=150', '150/5=30']
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[79, 82, 71, 5], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [71, 5, 3]
Generated Node #0,0: 52:[71, 5, 3] Operation: 82-79=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[71, 5, 3], Operations: ['82-79=3']
Exploring Operation: 71-5=66, Resulting Numbers: [3, 66]
Generated Node #0,0,0: 52:[3, 66] Operation: 71-5=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[3, 66], Operations: ['82-79=3', '71-5=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,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_1 | sum_heuristic |
[
60,
28,
52,
52
] | 13 | [
"60+52=112",
"28*52=1456",
"1456/112=13"
] | Current State: 13:[60, 28, 52, 52], Operations: []
Exploring Operation: 60+52=112, Resulting Numbers: [28, 112]
Generated Node #2: [28, 112] from Operation: 60+52=112
Current State: 13:[28, 112], Operations: ['60+52=112']
Exploring Operation: 28*52=1456, Resulting Numbers: [112, 1456]
Generated Node #3: [112, 1456] from Operation: 28*52=1456
Current State: 13:[112, 1456], Operations: ['60+52=112', '28*52=1456']
Exploring Operation: 1456/112=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[60, 28, 52, 52], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [28, 52, 8]
Generated Node #0,0: 13:[28, 52, 8] Operation: 60-52=8
Exploring Operation: 60-52=8, Resulting Numbers: [28, 52, 8]
Generated Node #0,1: 13:[28, 52, 8] Operation: 60-52=8
Moving to Node #0,0
Current State: 13:[28, 52, 8], Operations: ['60-52=8']
Exploring Operation: 28-8=20, Resulting Numbers: [52, 20]
Generated Node #0,0,0: 13:[52, 20] Operation: 28-8=20
Exploring Operation: 52-28=24, Resulting Numbers: [8, 24]
Generated Node #0,0,1: 13:[8, 24] Operation: 52-28=24
Moving to Node #0,1
Current State: 13:[28, 52, 8], Operations: ['60-52=8']
Exploring Operation: 52-28=24, Resulting Numbers: [8, 24]
Generated Node #0,1,0: 13:[8, 24] Operation: 52-28=24
Exploring Operation: 28-8=20, Resulting Numbers: [52, 20]
Generated Node #0,1,1: 13:[52, 20] Operation: 28-8=20
Moving to Node #0,0,1
Current State: 13:[8, 24], Operations: ['60-52=8', '52-28=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[8, 24], Operations: ['60-52=8', '52-28=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[52, 20], Operations: ['60-52=8', '28-8=20']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 52+20=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[52, 20], Operations: ['60-52=8', '28-8=20']
Exploring Operation: 52+20=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,13 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
63,
23,
81,
16
] | 32 | [
"63+81=144",
"144/16=9",
"23+9=32"
] | Current State: 32:[63, 23, 81, 16], Operations: []
Exploring Operation: 63+81=144, Resulting Numbers: [23, 16, 144]
Generated Node #2: [23, 16, 144] from Operation: 63+81=144
Current State: 32:[23, 16, 144], Operations: ['63+81=144']
Exploring Operation: 144/16=9, Resulting Numbers: [23, 9]
Generated Node #3: [23, 9] from Operation: 144/16=9
Current State: 32:[23, 9], Operations: ['63+81=144', '144/16=9']
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[63, 23, 81, 16], Operations: []
Exploring Operation: 81-23=58, Resulting Numbers: [63, 16, 58]
Generated Node #0,0: 32:[63, 16, 58] Operation: 81-23=58
Exploring Operation: 63-23=40, Resulting Numbers: [81, 16, 40]
Generated Node #0,1: 32:[81, 16, 40] Operation: 63-23=40
Exploring Operation: 81-63=18, Resulting Numbers: [23, 16, 18]
Generated Node #0,2: 32:[23, 16, 18] Operation: 81-63=18
Exploring Operation: 63-16=47, Resulting Numbers: [23, 81, 47]
Generated Node #0,3: 32:[23, 81, 47] Operation: 63-16=47
Exploring Operation: 81-16=65, Resulting Numbers: [63, 23, 65]
Generated Node #0,4: 32:[63, 23, 65] Operation: 81-16=65
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[23, 16, 18], Operations: ['81-63=18']
Exploring Operation: 23-18=5, Resulting Numbers: [16, 5]
Generated Node #0,2,0: 32:[16, 5] Operation: 23-18=5
Exploring Operation: 18-16=2, Resulting Numbers: [23, 2]
Generated Node #0,2,1: 32:[23, 2] Operation: 18-16=2
Exploring Operation: 23+16=39, Resulting Numbers: [18, 39]
Generated Node #0,2,2: 32:[18, 39] Operation: 23+16=39
Exploring Operation: 23-16=7, Resulting Numbers: [18, 7]
Generated Node #0,2,3: 32:[18, 7] Operation: 23-16=7
Exploring Operation: 23+18=41, Resulting Numbers: [16, 41]
Generated Node #0,2,4: 32:[16, 41] Operation: 23+18=41
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[16, 5], Operations: ['81-63=18', '23-18=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 32:[18, 7], Operations: ['81-63=18', '23-16=7']
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,32 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[23, 2], Operations: ['81-63=18', '18-16=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[18, 39], Operations: ['81-63=18', '23+16=39']
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,32 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 32:[16, 41], Operations: ['81-63=18', '23+18=41']
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 16*41=656, Resulting Numbers: [656]
656,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,0
Current State: 32:[63, 16, 58], Operations: ['81-23=58']
Exploring Operation: 63+16=79, Resulting Numbers: [58, 79]
Generated Node #0,0,0: 32:[58, 79] Operation: 63+16=79
Exploring Operation: 58-16=42, Resulting Numbers: [63, 42]
Generated Node #0,0,1: 32:[63, 42] Operation: 58-16=42
Exploring Operation: 63-58=5, Resulting Numbers: [16, 5]
Generated Node #0,0,2: 32:[16, 5] Operation: 63-58=5
Exploring Operation: 16+58=74, Resulting Numbers: [63, 74]
Generated Node #0,0,3: 32:[63, 74] Operation: 16+58=74
Exploring Operation: 63-16=47, Resulting Numbers: [58, 47]
Generated Node #0,0,4: 32:[58, 47] Operation: 63-16=47
Moving to Node #0,0,2
Current State: 32:[16, 5], Operations: ['81-23=58', '63-58=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Moving to Node #0,0,4
Current State: 32:[58, 47], Operations: ['81-23=58', '63-16=47']
Exploring Operation: 58*47=2726, Resulting Numbers: [2726]
2726,32 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 58+47=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[63, 42], Operations: ['81-23=58', '58-16=42']
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 63+42=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 63*42=2646, Resulting Numbers: [2646]
2646,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[58, 79], Operations: ['81-23=58', '63+16=79']
Exploring Operation: 79-58=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 58*79=4582, Resulting Numbers: [4582]
4582,32 unequal: No Solution
Exploring Operation: 58+79=137, Resulting Numbers: [137]
137,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[63, 74], Operations: ['81-23=58', '16+58=74']
Exploring Operation: 63+74=137, Resulting Numbers: [137]
137,32 unequal: No Solution
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 63*74=4662, Resulting Numbers: [4662]
4662,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:[81, 16, 40], Operations: ['63-23=40']
Exploring Operation: 81-16=65, Resulting Numbers: [40, 65]
Generated Node #0,1,0: 32:[40, 65] Operation: 81-16=65
Exploring Operation: 81+16=97, Resulting Numbers: [40, 97]
Generated Node #0,1,1: 32:[40, 97] Operation: 81+16=97
Exploring Operation: 81-40=41, Resulting Numbers: [16, 41]
Generated Node #0,1,2: 32:[16, 41] Operation: 81-40=41
Exploring Operation: 40-16=24, Resulting Numbers: [81, 24]
Generated Node #0,1,3: 32:[81, 24] Operation: 40-16=24
Exploring Operation: 16+40=56, Resulting Numbers: [81, 56]
Generated Node #0,1,4: 32:[81, 56] Operation: 16+40=56
Moving to Node #0,1,2
Current State: 32:[16, 41], Operations: ['63-23=40', '81-40=41']
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 16*41=656, Resulting Numbers: [656]
656,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[40, 65], Operations: ['63-23=40', '81-16=65']
Exploring Operation: 40+65=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 40*65=2600, Resulting Numbers: [2600]
2600,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[81, 24], Operations: ['63-23=40', '40-16=24']
Exploring Operation: 81*24=1944, Resulting Numbers: [1944]
1944,32 unequal: No Solution
Exploring Operation: 81+24=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[40, 97], Operations: ['63-23=40', '81+16=97']
Exploring Operation: 40+97=137, Resulting Numbers: [137]
137,32 unequal: No Solution
Exploring Operation: 40*97=3880, Resulting Numbers: [3880]
3880,32 unequal: No Solution
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Moving to Node #0,1,4
Current State: 32:[81, 56], Operations: ['63-23=40', '16+40=56']
Exploring Operation: 81+56=137, Resulting Numbers: [137]
137,32 unequal: No Solution
Exploring Operation: 81*56=4536, Resulting Numbers: [4536]
4536,32 unequal: No Solution
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,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
Current State: 32:[23, 81, 47], Operations: ['63-16=47']
Exploring Operation: 81-23=58, Resulting Numbers: [47, 58]
Generated Node #0,3,0: 32:[47, 58] Operation: 81-23=58
Exploring Operation: 81-47=34, Resulting Numbers: [23, 34]
Generated Node #0,3,1: 32:[23, 34] Operation: 81-47=34
Exploring Operation: 23+47=70, Resulting Numbers: [81, 70]
Generated Node #0,3,2: 32:[81, 70] Operation: 23+47=70
Exploring Operation: 47-23=24, Resulting Numbers: [81, 24]
Generated Node #0,3,3: 32:[81, 24] Operation: 47-23=24
Exploring Operation: 23+81=104, Resulting Numbers: [47, 104]
Generated Node #0,3,4: 32:[47, 104] Operation: 23+81=104
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 32:[23, 34], Operations: ['63-16=47', '81-47=34']
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,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,3,0
Current State: 32:[47, 58], Operations: ['63-16=47', '81-23=58']
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,32 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,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,3,3
Current State: 32:[81, 24], Operations: ['63-16=47', '47-23=24']
Exploring Operation: 81*24=1944, Resulting Numbers: [1944]
1944,32 unequal: No Solution
Exploring Operation: 81+24=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,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,3,2
Current State: 32:[81, 70], Operations: ['63-16=47', '23+47=70']
Exploring Operation: 81+70=151, Resulting Numbers: [151]
151,32 unequal: No Solution
Exploring Operation: 81*70=5670, Resulting Numbers: [5670]
5670,32 unequal: No Solution
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,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,3,4
Current State: 32:[47, 104], Operations: ['63-16=47', '23+81=104']
Exploring Operation: 104-47=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 47*104=4888, Resulting Numbers: [4888]
4888,32 unequal: No Solution
Exploring Operation: 47+104=151, Resulting Numbers: [151]
151,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,4
Current State: 32:[63, 23, 65], Operations: ['81-16=65']
Exploring Operation: 63+23=86, Resulting Numbers: [65, 86]
Generated Node #0,4,0: 32:[65, 86] Operation: 63+23=86
Exploring Operation: 23+65=88, Resulting Numbers: [63, 88]
Generated Node #0,4,1: 32:[63, 88] Operation: 23+65=88
Exploring Operation: 65-23=42, Resulting Numbers: [63, 42]
Generated Node #0,4,2: 32:[63, 42] Operation: 65-23=42
Exploring Operation: 65-63=2, Resulting Numbers: [23, 2]
Generated Node #0,4,3: 32:[23, 2] Operation: 65-63=2
Exploring Operation: 63-23=40, Resulting Numbers: [65, 40]
Generated Node #0,4,4: 32:[65, 40] Operation: 63-23=40
Moving to Node #0,4,3
Current State: 32:[23, 2], Operations: ['81-16=65', '65-63=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[65, 40], Operations: ['81-16=65', '63-23=40']
Exploring Operation: 65*40=2600, Resulting Numbers: [2600]
2600,32 unequal: No Solution
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 65+40=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[63, 42], Operations: ['81-16=65', '65-23=42']
Exploring Operation: 63+42=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 63*42=2646, Resulting Numbers: [2646]
2646,32 unequal: No Solution
Moving to Node #0,4,0
Current State: 32:[65, 86], Operations: ['81-16=65', '63+23=86']
Exploring Operation: 65+86=151, Resulting Numbers: [151]
151,32 unequal: No Solution
Exploring Operation: 86-65=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 65*86=5590, Resulting Numbers: [5590]
5590,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[63, 88], Operations: ['81-16=65', '23+65=88']
Exploring Operation: 63*88=5544, Resulting Numbers: [5544]
5544,32 unequal: No Solution
Exploring Operation: 88-63=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 63+88=151, Resulting Numbers: [151]
151,32 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 |
[
95,
22,
7,
28
] | 95 | [
"22+7=29",
"29-28=1",
"95*1=95"
] | Current State: 95:[95, 22, 7, 28], Operations: []
Exploring Operation: 22+7=29, Resulting Numbers: [95, 28, 29]
Generated Node #2: [95, 28, 29] from Operation: 22+7=29
Current State: 95:[95, 28, 29], Operations: ['22+7=29']
Exploring Operation: 29-28=1, Resulting Numbers: [95, 1]
Generated Node #3: [95, 1] from Operation: 29-28=1
Current State: 95:[95, 1], Operations: ['22+7=29', '29-28=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[95, 22, 7, 28], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [95, 7, 6]
Generated Node #0,0: 95:[95, 7, 6] Operation: 28-22=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[95, 7, 6], Operations: ['28-22=6']
Exploring Operation: 7-6=1, Resulting Numbers: [95, 1]
Generated Node #0,0,0: 95:[95, 1] Operation: 7-6=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[95, 1], Operations: ['28-22=6', '7-6=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[95, 22, 7, 28], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [95, 7, 6]
Generated Node #0,0: 95:[95, 7, 6] Operation: 28-22=6
Moving to Node #0,0
Current State: 95:[95, 7, 6], Operations: ['28-22=6']
Exploring Operation: 7-6=1, Resulting Numbers: [95, 1]
Generated Node #0,0,0: 95:[95, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 95:[95, 1], Operations: ['28-22=6', '7-6=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
57,
58,
43,
43
] | 87 | [
"58-57=1",
"43+43=86",
"1+86=87"
] | Current State: 87:[57, 58, 43, 43], Operations: []
Exploring Operation: 58-57=1, Resulting Numbers: [43, 43, 1]
Generated Node #2: [43, 43, 1] from Operation: 58-57=1
Current State: 87:[43, 43, 1], Operations: ['58-57=1']
Exploring Operation: 43+43=86, Resulting Numbers: [1, 86]
Generated Node #3: [1, 86] from Operation: 43+43=86
Current State: 87:[1, 86], Operations: ['58-57=1', '43+43=86']
Exploring Operation: 1+86=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[57, 58, 43, 43], Operations: []
Exploring Operation: 58-57=1, Resulting Numbers: [43, 43, 1]
Generated Node #0,0: 87:[43, 43, 1] Operation: 58-57=1
Moving to Node #0,0
Current State: 87:[43, 43, 1], Operations: ['58-57=1']
Exploring Operation: 43+43=86, Resulting Numbers: [1, 86]
Generated Node #0,0,0: 87:[1, 86] Operation: 43+43=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[1, 86], Operations: ['58-57=1', '43+43=86']
Exploring Operation: 1+86=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[57, 58, 43, 43], Operations: []
Exploring Operation: 58-57=1, Resulting Numbers: [43, 43, 1]
Generated Node #0,0: 87:[43, 43, 1] Operation: 58-57=1
Moving to Node #0,0
Current State: 87:[43, 43, 1], Operations: ['58-57=1']
Exploring Operation: 43+43=86, Resulting Numbers: [1, 86]
Generated Node #0,0,0: 87:[1, 86] Operation: 43+43=86
Moving to Node #0,0,0
Current State: 87:[1, 86], Operations: ['58-57=1', '43+43=86']
Exploring Operation: 1+86=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
4,
44,
11,
48
] | 12 | [
"4+44=48",
"48/48=1",
"11+1=12"
] | Current State: 12:[4, 44, 11, 48], Operations: []
Exploring Operation: 4+44=48, Resulting Numbers: [11, 48, 48]
Generated Node #2: [11, 48, 48] from Operation: 4+44=48
Current State: 12:[11, 48, 48], Operations: ['4+44=48']
Exploring Operation: 48/48=1, Resulting Numbers: [11, 1]
Generated Node #3: [11, 1] from Operation: 48/48=1
Current State: 12:[11, 1], Operations: ['4+44=48', '48/48=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[4, 44, 11, 48], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [4, 11, 4]
Generated Node #0,0: 12:[4, 11, 4] Operation: 48-44=4
Exploring Operation: 48/4=12, Resulting Numbers: [44, 11, 12]
Generated Node #0,1: 12:[44, 11, 12] Operation: 48/4=12
Exploring Operation: 44/4=11, Resulting Numbers: [11, 48, 11]
Generated Node #0,2: 12:[11, 48, 11] Operation: 44/4=11
Exploring Operation: 44/11=4, Resulting Numbers: [4, 48, 4]
Generated Node #0,3: 12:[4, 48, 4] Operation: 44/11=4
Moving to Node #0,0
Current State: 12:[4, 11, 4], Operations: ['48-44=4']
Exploring Operation: 4+11=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 12:[4, 15] Operation: 4+11=15
Exploring Operation: 4/4=1, Resulting Numbers: [11, 1]
Generated Node #0,0,1: 12:[11, 1] Operation: 4/4=1
Exploring Operation: 11-4=7, Resulting Numbers: [4, 7]
Generated Node #0,0,2: 12:[4, 7] Operation: 11-4=7
Exploring Operation: 11-4=7, Resulting Numbers: [4, 7]
Generated Node #0,0,3: 12:[4, 7] Operation: 11-4=7
Moving to Node #0,1
Current State: 12:[44, 11, 12], Operations: ['48/4=12']
Exploring Operation: 44-11=33, Resulting Numbers: [12, 33]
Generated Node #0,1,0: 12:[12, 33] Operation: 44-11=33
Exploring Operation: 44-12=32, Resulting Numbers: [11, 32]
Generated Node #0,1,1: 12:[11, 32] Operation: 44-12=32
Exploring Operation: 44/11=4, Resulting Numbers: [12, 4]
Generated Node #0,1,2: 12:[12, 4] Operation: 44/11=4
Exploring Operation: 12-11=1, Resulting Numbers: [44, 1]
Generated Node #0,1,3: 12:[44, 1] Operation: 12-11=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[12, 4], Operations: ['48/4=12', '44/11=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[12, 33], Operations: ['48/4=12', '44-11=33']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[11, 32], Operations: ['48/4=12', '44-12=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,12 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[44, 1], Operations: ['48/4=12', '12-11=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,12 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: 12:[4, 48, 4], Operations: ['44/11=4']
Exploring Operation: 48-4=44, Resulting Numbers: [4, 44]
Generated Node #0,3,0: 12:[4, 44] Operation: 48-4=44
Exploring Operation: 48/4=12, Resulting Numbers: [4, 12]
Generated Node #0,3,1: 12:[4, 12] Operation: 48/4=12
Exploring Operation: 48/4=12, Resulting Numbers: [4, 12]
Generated Node #0,3,2: 12:[4, 12] Operation: 48/4=12
Exploring Operation: 48-4=44, Resulting Numbers: [4, 44]
Generated Node #0,3,3: 12:[4, 44] Operation: 48-4=44
Moving to Node #0,2
Current State: 12:[11, 48, 11], Operations: ['44/4=11']
Exploring Operation: 48-11=37, Resulting Numbers: [11, 37]
Generated Node #0,2,0: 12:[11, 37] Operation: 48-11=37
Exploring Operation: 48-11=37, Resulting Numbers: [11, 37]
Generated Node #0,2,1: 12:[11, 37] Operation: 48-11=37
Exploring Operation: 11/11=1, Resulting Numbers: [48, 1]
Generated Node #0,2,2: 12:[48, 1] Operation: 11/11=1
Exploring Operation: 11-11=0, Resulting Numbers: [48, 0]
Generated Node #0,2,3: 12:[48, 0] Operation: 11-11=0
Moving to Node #0,3,1
Current State: 12:[4, 12], Operations: ['44/11=4', '48/4=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[4, 12], Operations: ['44/11=4', '48/4=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,12 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[4, 7], Operations: ['48-44=4', '11-4=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[4, 7], Operations: ['48-44=4', '11-4=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[11, 1], Operations: ['48-44=4', '4/4=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[4, 44, 11, 48], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [4, 11, 4]
Generated Node #0,0: 12:[4, 11, 4] Operation: 48-44=4
Moving to Node #0,0
Current State: 12:[4, 11, 4], Operations: ['48-44=4']
Exploring Operation: 4/4=1, Resulting Numbers: [11, 1]
Generated Node #0,0,1: 12:[11, 1] Operation: 4/4=1
Moving to Node #0,0,1
Current State: 12:[11, 1], Operations: ['48-44=4', '4/4=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.953993 | hs_4 | sum_heuristic |
[
17,
90,
83,
52
] | 42 | [
"90-17=73",
"83-52=31",
"73-31=42"
] | Current State: 42:[17, 90, 83, 52], Operations: []
Exploring Operation: 90-17=73, Resulting Numbers: [83, 52, 73]
Generated Node #2: [83, 52, 73] from Operation: 90-17=73
Current State: 42:[83, 52, 73], Operations: ['90-17=73']
Exploring Operation: 83-52=31, Resulting Numbers: [73, 31]
Generated Node #3: [73, 31] from Operation: 83-52=31
Current State: 42:[73, 31], Operations: ['90-17=73', '83-52=31']
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[17, 90, 83, 52], Operations: []
Exploring Operation: 83-17=66, Resulting Numbers: [90, 52, 66]
Generated Node #0,0: 42:[90, 52, 66] Operation: 83-17=66
Exploring Operation: 90-17=73, Resulting Numbers: [83, 52, 73]
Generated Node #0,1: 42:[83, 52, 73] Operation: 90-17=73
Exploring Operation: 90-83=7, Resulting Numbers: [17, 52, 7]
Generated Node #0,2: 42:[17, 52, 7] Operation: 90-83=7
Exploring Operation: 83-52=31, Resulting Numbers: [17, 90, 31]
Generated Node #0,3: 42:[17, 90, 31] Operation: 83-52=31
Exploring Operation: 90-52=38, Resulting Numbers: [17, 83, 38]
Generated Node #0,4: 42:[17, 83, 38] Operation: 90-52=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[17, 52, 7], Operations: ['90-83=7']
Exploring Operation: 52+7=59, Resulting Numbers: [17, 59]
Generated Node #0,2,0: 42:[17, 59] Operation: 52+7=59
Exploring Operation: 17+7=24, Resulting Numbers: [52, 24]
Generated Node #0,2,1: 42:[52, 24] Operation: 17+7=24
Exploring Operation: 52-7=45, Resulting Numbers: [17, 45]
Generated Node #0,2,2: 42:[17, 45] Operation: 52-7=45
Exploring Operation: 17-7=10, Resulting Numbers: [52, 10]
Generated Node #0,2,3: 42:[52, 10] Operation: 17-7=10
Exploring Operation: 52-17=35, Resulting Numbers: [7, 35]
Generated Node #0,2,4: 42:[7, 35] Operation: 52-17=35
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 42:[17, 45], Operations: ['90-83=7', '52-7=45']
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,42 unequal: No Solution
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,42 unequal: No Solution
No 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: 42:[7, 35], Operations: ['90-83=7', '52-17=35']
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,42 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[17, 90, 83, 52], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [17, 52, 7]
Generated Node #0,2: 42:[17, 52, 7] Operation: 90-83=7
Moving to Node #0,2
Current State: 42:[17, 52, 7], Operations: ['90-83=7']
Exploring Operation: 52-17=35, Resulting Numbers: [7, 35]
Generated Node #0,2,4: 42:[7, 35] Operation: 52-17=35
Moving to Node #0,2,4
Current State: 42:[7, 35], Operations: ['90-83=7', '52-17=35']
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
31,
58,
34,
92
] | 37 | [
"31+58=89",
"34+92=126",
"126-89=37"
] | Current State: 37:[31, 58, 34, 92], Operations: []
Exploring Operation: 31+58=89, Resulting Numbers: [34, 92, 89]
Generated Node #2: [34, 92, 89] from Operation: 31+58=89
Current State: 37:[34, 92, 89], Operations: ['31+58=89']
Exploring Operation: 34+92=126, Resulting Numbers: [89, 126]
Generated Node #3: [89, 126] from Operation: 34+92=126
Current State: 37:[89, 126], Operations: ['31+58=89', '34+92=126']
Exploring Operation: 126-89=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[31, 58, 34, 92], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [31, 34, 34]
Generated Node #0,0: 37:[31, 34, 34] Operation: 92-58=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[31, 34, 34], Operations: ['92-58=34']
Exploring Operation: 31+34=65, Resulting Numbers: [34, 65]
Generated Node #0,0,0: 37:[34, 65] Operation: 31+34=65
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[34, 65], Operations: ['92-58=34', '31+34=65']
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,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_1 | sum_heuristic |
[
80,
85,
90,
30
] | 55 | [
"80+85=165",
"90/30=3",
"165/3=55"
] | Current State: 55:[80, 85, 90, 30], Operations: []
Exploring Operation: 80+85=165, Resulting Numbers: [90, 30, 165]
Generated Node #2: [90, 30, 165] from Operation: 80+85=165
Current State: 55:[90, 30, 165], Operations: ['80+85=165']
Exploring Operation: 90/30=3, Resulting Numbers: [165, 3]
Generated Node #3: [165, 3] from Operation: 90/30=3
Current State: 55:[165, 3], Operations: ['80+85=165', '90/30=3']
Exploring Operation: 165/3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[80, 85, 90, 30], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [85, 30, 10]
Generated Node #0,0: 55:[85, 30, 10] Operation: 90-80=10
Exploring Operation: 85-80=5, Resulting Numbers: [90, 30, 5]
Generated Node #0,1: 55:[90, 30, 5] Operation: 85-80=5
Exploring Operation: 90/30=3, Resulting Numbers: [80, 85, 3]
Generated Node #0,2: 55:[80, 85, 3] Operation: 90/30=3
Exploring Operation: 85-30=55, Resulting Numbers: [80, 90, 55]
Generated Node #0,3: 55:[80, 90, 55] Operation: 85-30=55
Exploring Operation: 90-85=5, Resulting Numbers: [80, 30, 5]
Generated Node #0,4: 55:[80, 30, 5] Operation: 90-85=5
Start Sub Search at level 1: Moving to Node #0,4
Current State: 55:[80, 30, 5], Operations: ['90-85=5']
Exploring Operation: 30/5=6, Resulting Numbers: [80, 6]
Generated Node #0,4,0: 55:[80, 6] Operation: 30/5=6
Exploring Operation: 80-5=75, Resulting Numbers: [30, 75]
Generated Node #0,4,1: 55:[30, 75] Operation: 80-5=75
Exploring Operation: 80-30=50, Resulting Numbers: [5, 50]
Generated Node #0,4,2: 55:[5, 50] Operation: 80-30=50
Exploring Operation: 80/5=16, Resulting Numbers: [30, 16]
Generated Node #0,4,3: 55:[30, 16] Operation: 80/5=16
Exploring Operation: 30-5=25, Resulting Numbers: [80, 25]
Generated Node #0,4,4: 55:[80, 25] Operation: 30-5=25
Moving to Node #0,4,2
Current State: 55:[5, 50], Operations: ['90-85=5', '80-30=50']
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[80, 85, 90, 30], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [80, 30, 5]
Generated Node #0,4: 55:[80, 30, 5] Operation: 90-85=5
Moving to Node #0,4
Current State: 55:[80, 30, 5], Operations: ['90-85=5']
Exploring Operation: 80-30=50, Resulting Numbers: [5, 50]
Generated Node #0,4,2: 55:[5, 50] Operation: 80-30=50
Moving to Node #0,4,2
Current State: 55:[5, 50], Operations: ['90-85=5', '80-30=50']
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
58,
55,
31,
17
] | 99 | [
"58+55=113",
"31-17=14",
"113-14=99"
] | Current State: 99:[58, 55, 31, 17], Operations: []
Exploring Operation: 58+55=113, Resulting Numbers: [31, 17, 113]
Generated Node #2: [31, 17, 113] from Operation: 58+55=113
Current State: 99:[31, 17, 113], Operations: ['58+55=113']
Exploring Operation: 31-17=14, Resulting Numbers: [113, 14]
Generated Node #3: [113, 14] from Operation: 31-17=14
Current State: 99:[113, 14], Operations: ['58+55=113', '31-17=14']
Exploring Operation: 113-14=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[58, 55, 31, 17], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [31, 17, 3]
Generated Node #0,0: 99:[31, 17, 3] Operation: 58-55=3
Moving to Node #0,0
Current State: 99:[31, 17, 3], Operations: ['58-55=3']
Exploring Operation: 31-17=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 99:[3, 14] Operation: 31-17=14
Moving to Node #0,0,0
Current State: 99:[3, 14], Operations: ['58-55=3', '31-17=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,99 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
49,
2,
11,
76
] | 22 | [
"49+11=60",
"76/2=38",
"60-38=22"
] | Current State: 22:[49, 2, 11, 76], Operations: []
Exploring Operation: 49+11=60, Resulting Numbers: [2, 76, 60]
Generated Node #2: [2, 76, 60] from Operation: 49+11=60
Current State: 22:[2, 76, 60], Operations: ['49+11=60']
Exploring Operation: 76/2=38, Resulting Numbers: [60, 38]
Generated Node #3: [60, 38] from Operation: 76/2=38
Current State: 22:[60, 38], Operations: ['49+11=60', '76/2=38']
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[49, 2, 11, 76], Operations: []
Exploring Operation: 49-11=38, Resulting Numbers: [2, 76, 38]
Generated Node #0,0: 22:[2, 76, 38] Operation: 49-11=38
Exploring Operation: 76/2=38, Resulting Numbers: [49, 11, 38]
Generated Node #0,1: 22:[49, 11, 38] Operation: 76/2=38
Exploring Operation: 76-49=27, Resulting Numbers: [2, 11, 27]
Generated Node #0,2: 22:[2, 11, 27] Operation: 76-49=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[2, 11, 27], Operations: ['76-49=27']
Exploring Operation: 2*11=22, Resulting Numbers: [27, 22]
Generated Node #0,2,0: 22:[27, 22] Operation: 2*11=22
Exploring Operation: 27-2=25, Resulting Numbers: [11, 25]
Generated Node #0,2,1: 22:[11, 25] Operation: 27-2=25
Exploring Operation: 27-11=16, Resulting Numbers: [2, 16]
Generated Node #0,2,2: 22:[2, 16] Operation: 27-11=16
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[11, 25], Operations: ['76-49=27', '27-2=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[27, 22], Operations: ['76-49=27', '2*11=22']
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,22 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 22:[2, 16], Operations: ['76-49=27', '27-11=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[49, 11, 38], Operations: ['76/2=38']
Exploring Operation: 49-11=38, Resulting Numbers: [38, 38]
Generated Node #0,1,0: 22:[38, 38] Operation: 49-11=38
Exploring Operation: 38-11=27, Resulting Numbers: [49, 27]
Generated Node #0,1,1: 22:[49, 27] Operation: 38-11=27
Exploring Operation: 49-38=11, Resulting Numbers: [11, 11]
Generated Node #0,1,2: 22:[11, 11] Operation: 49-38=11
Moving to Node #0,1,2
Current State: 22:[11, 11], Operations: ['76/2=38', '49-38=11']
Exploring Operation: 11-11=0, Resulting Numbers: [0]
0,22 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[49, 2, 11, 76], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [49, 11, 38]
Generated Node #0,1: 22:[49, 11, 38] Operation: 76/2=38
Moving to Node #0,1
Current State: 22:[49, 11, 38], Operations: ['76/2=38']
Exploring Operation: 49-38=11, Resulting Numbers: [11, 11]
Generated Node #0,1,2: 22:[11, 11] Operation: 49-38=11
Moving to Node #0,1,2
Current State: 22:[11, 11], Operations: ['76/2=38', '49-38=11']
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
40,
66,
92,
19
] | 33 | [
"40+66=106",
"92-19=73",
"106-73=33"
] | Current State: 33:[40, 66, 92, 19], Operations: []
Exploring Operation: 40+66=106, Resulting Numbers: [92, 19, 106]
Generated Node #2: [92, 19, 106] from Operation: 40+66=106
Current State: 33:[92, 19, 106], Operations: ['40+66=106']
Exploring Operation: 92-19=73, Resulting Numbers: [106, 73]
Generated Node #3: [106, 73] from Operation: 92-19=73
Current State: 33:[106, 73], Operations: ['40+66=106', '92-19=73']
Exploring Operation: 106-73=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[40, 66, 92, 19], Operations: []
Exploring Operation: 92-40=52, Resulting Numbers: [66, 19, 52]
Generated Node #0,0: 33:[66, 19, 52] Operation: 92-40=52
Exploring Operation: 92-66=26, Resulting Numbers: [40, 19, 26]
Generated Node #0,1: 33:[40, 19, 26] Operation: 92-66=26
Moving to Node #0,1
Current State: 33:[40, 19, 26], Operations: ['92-66=26']
Exploring Operation: 26-19=7, Resulting Numbers: [40, 7]
Generated Node #0,1,0: 33:[40, 7] Operation: 26-19=7
Exploring Operation: 40-26=14, Resulting Numbers: [19, 14]
Generated Node #0,1,1: 33:[19, 14] Operation: 40-26=14
Moving to Node #0,0
Current State: 33:[66, 19, 52], Operations: ['92-40=52']
Exploring Operation: 66-52=14, Resulting Numbers: [19, 14]
Generated Node #0,0,0: 33:[19, 14] Operation: 66-52=14
Exploring Operation: 66-19=47, Resulting Numbers: [52, 47]
Generated Node #0,0,1: 33:[52, 47] Operation: 66-19=47
Moving to Node #0,1,0
Current State: 33:[40, 7], Operations: ['92-66=26', '26-19=7']
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,33 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[40, 66, 92, 19], Operations: []
Exploring Operation: 92-66=26, Resulting Numbers: [40, 19, 26]
Generated Node #0,1: 33:[40, 19, 26] Operation: 92-66=26
Moving to Node #0,1
Current State: 33:[40, 19, 26], Operations: ['92-66=26']
Exploring Operation: 26-19=7, Resulting Numbers: [40, 7]
Generated Node #0,1,0: 33:[40, 7] Operation: 26-19=7
Moving to Node #0,1,0
Current State: 33:[40, 7], Operations: ['92-66=26', '26-19=7']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
64,
9,
11,
95
] | 11 | [
"64+9=73",
"95-11=84",
"84-73=11"
] | Current State: 11:[64, 9, 11, 95], Operations: []
Exploring Operation: 64+9=73, Resulting Numbers: [11, 95, 73]
Generated Node #2: [11, 95, 73] from Operation: 64+9=73
Current State: 11:[11, 95, 73], Operations: ['64+9=73']
Exploring Operation: 95-11=84, Resulting Numbers: [73, 84]
Generated Node #3: [73, 84] from Operation: 95-11=84
Current State: 11:[73, 84], Operations: ['64+9=73', '95-11=84']
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[64, 9, 11, 95], Operations: []
Exploring Operation: 64-9=55, Resulting Numbers: [11, 95, 55]
Generated Node #0,0: 11:[11, 95, 55] Operation: 64-9=55
Exploring Operation: 95-11=84, Resulting Numbers: [64, 9, 84]
Generated Node #0,1: 11:[64, 9, 84] Operation: 95-11=84
Exploring Operation: 64-11=53, Resulting Numbers: [9, 95, 53]
Generated Node #0,2: 11:[9, 95, 53] Operation: 64-11=53
Exploring Operation: 95-9=86, Resulting Numbers: [64, 11, 86]
Generated Node #0,3: 11:[64, 11, 86] Operation: 95-9=86
Exploring Operation: 95-64=31, Resulting Numbers: [9, 11, 31]
Generated Node #0,4: 11:[9, 11, 31] Operation: 95-64=31
Moving to Node #0,4
Current State: 11:[9, 11, 31], Operations: ['95-64=31']
Exploring Operation: 11-9=2, Resulting Numbers: [31, 2]
Generated Node #0,4,0: 11:[31, 2] Operation: 11-9=2
Exploring Operation: 9+31=40, Resulting Numbers: [11, 40]
Generated Node #0,4,1: 11:[11, 40] Operation: 9+31=40
Exploring Operation: 31-9=22, Resulting Numbers: [11, 22]
Generated Node #0,4,2: 11:[11, 22] Operation: 31-9=22
Exploring Operation: 9+11=20, Resulting Numbers: [31, 20]
Generated Node #0,4,3: 11:[31, 20] Operation: 9+11=20
Exploring Operation: 31-11=20, Resulting Numbers: [9, 20]
Generated Node #0,4,4: 11:[9, 20] Operation: 31-11=20
Moving to Node #0,1
Current State: 11:[64, 9, 84], Operations: ['95-11=84']
Exploring Operation: 64+9=73, Resulting Numbers: [84, 73]
Generated Node #0,1,0: 11:[84, 73] Operation: 64+9=73
Exploring Operation: 9+84=93, Resulting Numbers: [64, 93]
Generated Node #0,1,1: 11:[64, 93] Operation: 9+84=93
Exploring Operation: 64-9=55, Resulting Numbers: [84, 55]
Generated Node #0,1,2: 11:[84, 55] Operation: 64-9=55
Exploring Operation: 84-9=75, Resulting Numbers: [64, 75]
Generated Node #0,1,3: 11:[64, 75] Operation: 84-9=75
Exploring Operation: 84-64=20, Resulting Numbers: [9, 20]
Generated Node #0,1,4: 11:[9, 20] Operation: 84-64=20
Moving to Node #0,3
Current State: 11:[64, 11, 86], Operations: ['95-9=86']
Exploring Operation: 86-11=75, Resulting Numbers: [64, 75]
Generated Node #0,3,0: 11:[64, 75] Operation: 86-11=75
Exploring Operation: 64+86=150, Resulting Numbers: [11, 150]
Generated Node #0,3,1: 11:[11, 150] Operation: 64+86=150
Exploring Operation: 64+11=75, Resulting Numbers: [86, 75]
Generated Node #0,3,2: 11:[86, 75] Operation: 64+11=75
Exploring Operation: 86-64=22, Resulting Numbers: [11, 22]
Generated Node #0,3,3: 11:[11, 22] Operation: 86-64=22
Exploring Operation: 64-11=53, Resulting Numbers: [86, 53]
Generated Node #0,3,4: 11:[86, 53] Operation: 64-11=53
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 11:[11, 22], Operations: ['95-9=86', '86-64=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[64, 9, 11, 95], Operations: []
Exploring Operation: 95-9=86, Resulting Numbers: [64, 11, 86]
Generated Node #0,3: 11:[64, 11, 86] Operation: 95-9=86
Moving to Node #0,3
Current State: 11:[64, 11, 86], Operations: ['95-9=86']
Exploring Operation: 86-64=22, Resulting Numbers: [11, 22]
Generated Node #0,3,3: 11:[11, 22] Operation: 86-64=22
Moving to Node #0,3,3
Current State: 11:[11, 22], Operations: ['95-9=86', '86-64=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
65,
98,
64,
30
] | 69 | [
"65+98=163",
"64+30=94",
"163-94=69"
] | Current State: 69:[65, 98, 64, 30], Operations: []
Exploring Operation: 65+98=163, Resulting Numbers: [64, 30, 163]
Generated Node #2: [64, 30, 163] from Operation: 65+98=163
Current State: 69:[64, 30, 163], Operations: ['65+98=163']
Exploring Operation: 64+30=94, Resulting Numbers: [163, 94]
Generated Node #3: [163, 94] from Operation: 64+30=94
Current State: 69:[163, 94], Operations: ['65+98=163', '64+30=94']
Exploring Operation: 163-94=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[65, 98, 64, 30], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [64, 30, 33]
Generated Node #0,0: 69:[64, 30, 33] Operation: 98-65=33
Exploring Operation: 64-30=34, Resulting Numbers: [65, 98, 34]
Generated Node #0,1: 69:[65, 98, 34] Operation: 64-30=34
Exploring Operation: 98-64=34, Resulting Numbers: [65, 30, 34]
Generated Node #0,2: 69:[65, 30, 34] Operation: 98-64=34
Exploring Operation: 65-64=1, Resulting Numbers: [98, 30, 1]
Generated Node #0,3: 69:[98, 30, 1] Operation: 65-64=1
Exploring Operation: 98-30=68, Resulting Numbers: [65, 64, 68]
Generated Node #0,4: 69:[65, 64, 68] Operation: 98-30=68
Start Sub Search at level 1: Moving to Node #0,4
Current State: 69:[65, 64, 68], Operations: ['98-30=68']
Exploring Operation: 65-64=1, Resulting Numbers: [68, 1]
Generated Node #0,4,0: 69:[68, 1] Operation: 65-64=1
Exploring Operation: 68-65=3, Resulting Numbers: [64, 3]
Generated Node #0,4,1: 69:[64, 3] Operation: 68-65=3
Exploring Operation: 65+64=129, Resulting Numbers: [68, 129]
Generated Node #0,4,2: 69:[68, 129] Operation: 65+64=129
Exploring Operation: 64+68=132, Resulting Numbers: [65, 132]
Generated Node #0,4,3: 69:[65, 132] Operation: 64+68=132
Exploring Operation: 68-64=4, Resulting Numbers: [65, 4]
Generated Node #0,4,4: 69:[65, 4] Operation: 68-64=4
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 69:[68, 1], Operations: ['98-30=68', '65-64=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[65, 98, 64, 30], Operations: []
Exploring Operation: 98-30=68, Resulting Numbers: [65, 64, 68]
Generated Node #0,4: 69:[65, 64, 68] Operation: 98-30=68
Moving to Node #0,4
Current State: 69:[65, 64, 68], Operations: ['98-30=68']
Exploring Operation: 65-64=1, Resulting Numbers: [68, 1]
Generated Node #0,4,0: 69:[68, 1] Operation: 65-64=1
Moving to Node #0,4,0
Current State: 69:[68, 1], Operations: ['98-30=68', '65-64=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
17,
2,
49,
47
] | 65 | [
"49+47=96",
"96/2=48",
"17+48=65"
] | Current State: 65:[17, 2, 49, 47], Operations: []
Exploring Operation: 49+47=96, Resulting Numbers: [17, 2, 96]
Generated Node #2: [17, 2, 96] from Operation: 49+47=96
Current State: 65:[17, 2, 96], Operations: ['49+47=96']
Exploring Operation: 96/2=48, Resulting Numbers: [17, 48]
Generated Node #3: [17, 48] from Operation: 96/2=48
Current State: 65:[17, 48], Operations: ['49+47=96', '96/2=48']
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[17, 2, 49, 47], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [17, 2, 2]
Generated Node #0,0: 65:[17, 2, 2] Operation: 49-47=2
Exploring Operation: 17+47=64, Resulting Numbers: [2, 49, 64]
Generated Node #0,1: 65:[2, 49, 64] Operation: 17+47=64
Moving to Node #0,0
Current State: 65:[17, 2, 2], Operations: ['49-47=2']
Exploring Operation: 17-2=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 65:[2, 15] Operation: 17-2=15
Exploring Operation: 17-2=15, Resulting Numbers: [2, 15]
Generated Node #0,0,1: 65:[2, 15] Operation: 17-2=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[2, 15], Operations: ['49-47=2', '17-2=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[2, 15], Operations: ['49-47=2', '17-2=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 65:[2, 49, 64], Operations: ['17+47=64']
Exploring Operation: 64-49=15, Resulting Numbers: [2, 15]
Generated Node #0,1,0: 65:[2, 15] Operation: 64-49=15
Exploring Operation: 2+49=51, Resulting Numbers: [64, 51]
Generated Node #0,1,1: 65:[64, 51] Operation: 2+49=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[2, 15], Operations: ['17+47=64', '64-49=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[64, 51], Operations: ['17+47=64', '2+49=51']
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 64+51=115, Resulting Numbers: [115]
115,65 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 |
[
66,
33,
6,
58
] | 80 | [
"66/6=11",
"33+58=91",
"91-11=80"
] | Current State: 80:[66, 33, 6, 58], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [33, 58, 11]
Generated Node #2: [33, 58, 11] from Operation: 66/6=11
Current State: 80:[33, 58, 11], Operations: ['66/6=11']
Exploring Operation: 33+58=91, Resulting Numbers: [11, 91]
Generated Node #3: [11, 91] from Operation: 33+58=91
Current State: 80:[11, 91], Operations: ['66/6=11', '33+58=91']
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[66, 33, 6, 58], Operations: []
Exploring Operation: 66/33=2, Resulting Numbers: [6, 58, 2]
Generated Node #0,0: 80:[6, 58, 2] Operation: 66/33=2
Exploring Operation: 58-33=25, Resulting Numbers: [66, 6, 25]
Generated Node #0,1: 80:[66, 6, 25] Operation: 58-33=25
Exploring Operation: 66-58=8, Resulting Numbers: [33, 6, 8]
Generated Node #0,2: 80:[33, 6, 8] Operation: 66-58=8
Moving to Node #0,2
Current State: 80:[33, 6, 8], Operations: ['66-58=8']
Exploring Operation: 33+6=39, Resulting Numbers: [8, 39]
Generated Node #0,2,0: 80:[8, 39] Operation: 33+6=39
Exploring Operation: 33+8=41, Resulting Numbers: [6, 41]
Generated Node #0,2,1: 80:[6, 41] Operation: 33+8=41
Exploring Operation: 33-8=25, Resulting Numbers: [6, 25]
Generated Node #0,2,2: 80:[6, 25] Operation: 33-8=25
Moving to Node #0,0
Current State: 80:[6, 58, 2], Operations: ['66/33=2']
Exploring Operation: 58-6=52, Resulting Numbers: [2, 52]
Generated Node #0,0,0: 80:[2, 52] Operation: 58-6=52
Exploring Operation: 58/2=29, Resulting Numbers: [6, 29]
Generated Node #0,0,1: 80:[6, 29] Operation: 58/2=29
Exploring Operation: 6+58=64, Resulting Numbers: [2, 64]
Generated Node #0,0,2: 80:[2, 64] Operation: 6+58=64
Moving to Node #0,1
Current State: 80:[66, 6, 25], Operations: ['58-33=25']
Exploring Operation: 66+25=91, Resulting Numbers: [6, 91]
Generated Node #0,1,0: 80:[6, 91] Operation: 66+25=91
Exploring Operation: 66-25=41, Resulting Numbers: [6, 41]
Generated Node #0,1,1: 80:[6, 41] Operation: 66-25=41
Exploring Operation: 66/6=11, Resulting Numbers: [25, 11]
Generated Node #0,1,2: 80:[25, 11] Operation: 66/6=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[6, 41], Operations: ['58-33=25', '66-25=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,80 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,80 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,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:[25, 11], Operations: ['58-33=25', '66/6=11']
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,80 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,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:[6, 91], Operations: ['58-33=25', '66+25=91']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 6+91=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 6*91=546, Resulting Numbers: [546]
546,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 80:[8, 39], Operations: ['66-58=8', '33+6=39']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,80 unequal: No Solution
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[6, 41], Operations: ['66-58=8', '33+8=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,80 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,80 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[6, 25], Operations: ['66-58=8', '33-8=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[6, 29], Operations: ['66/33=2', '58/2=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,80 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,80 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[2, 52], Operations: ['66/33=2', '58-6=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,80 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[2, 64], Operations: ['66/33=2', '6+58=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,80 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,80 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
53,
10,
45,
19
] | 69 | [
"53-10=43",
"45-19=26",
"43+26=69"
] | Current State: 69:[53, 10, 45, 19], Operations: []
Exploring Operation: 53-10=43, Resulting Numbers: [45, 19, 43]
Generated Node #2: [45, 19, 43] from Operation: 53-10=43
Current State: 69:[45, 19, 43], Operations: ['53-10=43']
Exploring Operation: 45-19=26, Resulting Numbers: [43, 26]
Generated Node #3: [43, 26] from Operation: 45-19=26
Current State: 69:[43, 26], Operations: ['53-10=43', '45-19=26']
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[53, 10, 45, 19], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [10, 19, 8]
Generated Node #0,0: 69:[10, 19, 8] Operation: 53-45=8
Moving to Node #0,0
Current State: 69:[10, 19, 8], Operations: ['53-45=8']
Exploring Operation: 10-8=2, Resulting Numbers: [19, 2]
Generated Node #0,0,0: 69:[19, 2] Operation: 10-8=2
Moving to Node #0,0,0
Current State: 69:[19, 2], Operations: ['53-45=8', '10-8=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,69 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
15,
88,
98,
84
] | 56 | [
"98-88=10",
"84*10=840",
"840/15=56"
] | Current State: 56:[15, 88, 98, 84], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [15, 84, 10]
Generated Node #2: [15, 84, 10] from Operation: 98-88=10
Current State: 56:[15, 84, 10], Operations: ['98-88=10']
Exploring Operation: 84*10=840, Resulting Numbers: [15, 840]
Generated Node #3: [15, 840] from Operation: 84*10=840
Current State: 56:[15, 840], Operations: ['98-88=10', '84*10=840']
Exploring Operation: 840/15=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[15, 88, 98, 84], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [15, 84, 10]
Generated Node #0,0: 56:[15, 84, 10] Operation: 98-88=10
Exploring Operation: 98-84=14, Resulting Numbers: [15, 88, 14]
Generated Node #0,1: 56:[15, 88, 14] Operation: 98-84=14
Moving to Node #0,0
Current State: 56:[15, 84, 10], Operations: ['98-88=10']
Exploring Operation: 84-15=69, Resulting Numbers: [10, 69]
Generated Node #0,0,0: 56:[10, 69] Operation: 84-15=69
Exploring Operation: 84-10=74, Resulting Numbers: [15, 74]
Generated Node #0,0,1: 56:[15, 74] Operation: 84-10=74
Moving to Node #0,1
Current State: 56:[15, 88, 14], Operations: ['98-84=14']
Exploring Operation: 88-15=73, Resulting Numbers: [14, 73]
Generated Node #0,1,0: 56:[14, 73] Operation: 88-15=73
Exploring Operation: 88-14=74, Resulting Numbers: [15, 74]
Generated Node #0,1,1: 56:[15, 74] Operation: 88-14=74
Moving to Node #0,0,0
Current State: 56:[10, 69], Operations: ['98-88=10', '84-15=69']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Exploring Operation: 10+69=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[14, 73], Operations: ['98-84=14', '88-15=73']
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,56 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[15, 74], Operations: ['98-88=10', '84-10=74']
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,56 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[15, 74], Operations: ['98-84=14', '88-14=74']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,56 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
52,
18,
57,
16
] | 83 | [
"18-16=2",
"52/2=26",
"57+26=83"
] | Current State: 83:[52, 18, 57, 16], Operations: []
Exploring Operation: 18-16=2, Resulting Numbers: [52, 57, 2]
Generated Node #2: [52, 57, 2] from Operation: 18-16=2
Current State: 83:[52, 57, 2], Operations: ['18-16=2']
Exploring Operation: 52/2=26, Resulting Numbers: [57, 26]
Generated Node #3: [57, 26] from Operation: 52/2=26
Current State: 83:[57, 26], Operations: ['18-16=2', '52/2=26']
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[52, 18, 57, 16], Operations: []
Exploring Operation: 52+16=68, Resulting Numbers: [18, 57, 68]
Generated Node #0,0: 83:[18, 57, 68] Operation: 52+16=68
Exploring Operation: 18+57=75, Resulting Numbers: [52, 16, 75]
Generated Node #0,1: 83:[52, 16, 75] Operation: 18+57=75
Exploring Operation: 52+18=70, Resulting Numbers: [57, 16, 70]
Generated Node #0,2: 83:[57, 16, 70] Operation: 52+18=70
Moving to Node #0,0
Current State: 83:[18, 57, 68], Operations: ['52+16=68']
Exploring Operation: 18+68=86, Resulting Numbers: [57, 86]
Generated Node #0,0,0: 83:[57, 86] Operation: 18+68=86
Exploring Operation: 18+57=75, Resulting Numbers: [68, 75]
Generated Node #0,0,1: 83:[68, 75] Operation: 18+57=75
Exploring Operation: 57-18=39, Resulting Numbers: [68, 39]
Generated Node #0,0,2: 83:[68, 39] Operation: 57-18=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[68, 75], Operations: ['52+16=68', '18+57=75']
Exploring Operation: 68*75=5100, Resulting Numbers: [5100]
5100,83 unequal: No Solution
Exploring Operation: 75-68=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 68+75=143, Resulting Numbers: [143]
143,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[57, 86], Operations: ['52+16=68', '18+68=86']
Exploring Operation: 57*86=4902, Resulting Numbers: [4902]
4902,83 unequal: No Solution
Exploring Operation: 57+86=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[68, 39], Operations: ['52+16=68', '57-18=39']
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,83 unequal: No Solution
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,83 unequal: No Solution
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 83:[52, 16, 75], Operations: ['18+57=75']
Exploring Operation: 52+16=68, Resulting Numbers: [75, 68]
Generated Node #0,1,0: 83:[75, 68] Operation: 52+16=68
Exploring Operation: 52-16=36, Resulting Numbers: [75, 36]
Generated Node #0,1,1: 83:[75, 36] Operation: 52-16=36
Exploring Operation: 16+75=91, Resulting Numbers: [52, 91]
Generated Node #0,1,2: 83:[52, 91] Operation: 16+75=91
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[75, 68], Operations: ['18+57=75', '52+16=68']
Exploring Operation: 75-68=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 75+68=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 75*68=5100, Resulting Numbers: [5100]
5100,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[52, 91], Operations: ['18+57=75', '16+75=91']
Exploring Operation: 52*91=4732, Resulting Numbers: [4732]
4732,83 unequal: No Solution
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 52+91=143, Resulting Numbers: [143]
143,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[75, 36], Operations: ['18+57=75', '52-16=36']
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 75+36=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 75*36=2700, Resulting Numbers: [2700]
2700,83 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: 83:[57, 16, 70], Operations: ['52+18=70']
Exploring Operation: 16+70=86, Resulting Numbers: [57, 86]
Generated Node #0,2,0: 83:[57, 86] Operation: 16+70=86
Exploring Operation: 57+16=73, Resulting Numbers: [70, 73]
Generated Node #0,2,1: 83:[70, 73] Operation: 57+16=73
Exploring Operation: 57-16=41, Resulting Numbers: [70, 41]
Generated Node #0,2,2: 83:[70, 41] Operation: 57-16=41
Moving to Node #0,2,1
Current State: 83:[70, 73], Operations: ['52+18=70', '57+16=73']
Exploring Operation: 73-70=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 70+73=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 70*73=5110, Resulting Numbers: [5110]
5110,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[57, 86], Operations: ['52+18=70', '16+70=86']
Exploring Operation: 57+86=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 57*86=4902, Resulting Numbers: [4902]
4902,83 unequal: No Solution
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[70, 41], Operations: ['52+18=70', '57-16=41']
Exploring Operation: 70+41=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 70*41=2870, Resulting Numbers: [2870]
2870,83 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,83 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
31,
73,
21,
20
] | 41 | [
"73-31=42",
"21-20=1",
"42-1=41"
] | Current State: 41:[31, 73, 21, 20], Operations: []
Exploring Operation: 73-31=42, Resulting Numbers: [21, 20, 42]
Generated Node #2: [21, 20, 42] from Operation: 73-31=42
Current State: 41:[21, 20, 42], Operations: ['73-31=42']
Exploring Operation: 21-20=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 21-20=1
Current State: 41:[42, 1], Operations: ['73-31=42', '21-20=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[31, 73, 21, 20], Operations: []
Exploring Operation: 73-31=42, Resulting Numbers: [21, 20, 42]
Generated Node #0,0: 41:[21, 20, 42] Operation: 73-31=42
Exploring Operation: 73-20=53, Resulting Numbers: [31, 21, 53]
Generated Node #0,1: 41:[31, 21, 53] Operation: 73-20=53
Exploring Operation: 73-21=52, Resulting Numbers: [31, 20, 52]
Generated Node #0,2: 41:[31, 20, 52] Operation: 73-21=52
Exploring Operation: 21+20=41, Resulting Numbers: [31, 73, 41]
Generated Node #0,3: 41:[31, 73, 41] Operation: 21+20=41
Moving to Node #0,0
Current State: 41:[21, 20, 42], Operations: ['73-31=42']
Exploring Operation: 21-20=1, Resulting Numbers: [42, 1]
Generated Node #0,0,0: 41:[42, 1] Operation: 21-20=1
Exploring Operation: 42-21=21, Resulting Numbers: [20, 21]
Generated Node #0,0,1: 41:[20, 21] Operation: 42-21=21
Exploring Operation: 42-20=22, Resulting Numbers: [21, 22]
Generated Node #0,0,2: 41:[21, 22] Operation: 42-20=22
Exploring Operation: 21+20=41, Resulting Numbers: [42, 41]
Generated Node #0,0,3: 41:[42, 41] Operation: 21+20=41
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 41:[42, 41], Operations: ['73-31=42', '21+20=41']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,41 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,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,2
Current State: 41:[21, 22], Operations: ['73-31=42', '42-20=22']
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,41 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,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,0
Current State: 41:[42, 1], Operations: ['73-31=42', '21-20=1']
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[31, 73, 21, 20], Operations: []
Exploring Operation: 73-31=42, Resulting Numbers: [21, 20, 42]
Generated Node #0,0: 41:[21, 20, 42] Operation: 73-31=42
Moving to Node #0,0
Current State: 41:[21, 20, 42], Operations: ['73-31=42']
Exploring Operation: 21-20=1, Resulting Numbers: [42, 1]
Generated Node #0,0,0: 41:[42, 1] Operation: 21-20=1
Moving to Node #0,0,0
Current State: 41:[42, 1], Operations: ['73-31=42', '21-20=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
24,
5,
22,
26
] | 49 | [
"26-24=2",
"22*2=44",
"5+44=49"
] | Current State: 49:[24, 5, 22, 26], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [5, 22, 2]
Generated Node #2: [5, 22, 2] from Operation: 26-24=2
Current State: 49:[5, 22, 2], Operations: ['26-24=2']
Exploring Operation: 22*2=44, Resulting Numbers: [5, 44]
Generated Node #3: [5, 44] from Operation: 22*2=44
Current State: 49:[5, 44], Operations: ['26-24=2', '22*2=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[24, 5, 22, 26], Operations: []
Exploring Operation: 24+26=50, Resulting Numbers: [5, 22, 50]
Generated Node #0,0: 49:[5, 22, 50] Operation: 24+26=50
Exploring Operation: 22+26=48, Resulting Numbers: [24, 5, 48]
Generated Node #0,1: 49:[24, 5, 48] Operation: 22+26=48
Moving to Node #0,0
Current State: 49:[5, 22, 50], Operations: ['24+26=50']
Exploring Operation: 22-5=17, Resulting Numbers: [50, 17]
Generated Node #0,0,0: 49:[50, 17] Operation: 22-5=17
Exploring Operation: 50/5=10, Resulting Numbers: [22, 10]
Generated Node #0,0,1: 49:[22, 10] Operation: 50/5=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[50, 17], Operations: ['24+26=50', '22-5=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[22, 10], Operations: ['24+26=50', '50/5=10']
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,49 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: 49:[24, 5, 48], Operations: ['22+26=48']
Exploring Operation: 48/24=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 49:[5, 2] Operation: 48/24=2
Exploring Operation: 24-5=19, Resulting Numbers: [48, 19]
Generated Node #0,1,1: 49:[48, 19] Operation: 24-5=19
Moving to Node #0,1,0
Current State: 49:[5, 2], Operations: ['22+26=48', '48/24=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[48, 19], Operations: ['22+26=48', '24-5=19']
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,49 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
72,
83,
93,
99
] | 37 | [
"72+83=155",
"93+99=192",
"192-155=37"
] | Current State: 37:[72, 83, 93, 99], Operations: []
Exploring Operation: 72+83=155, Resulting Numbers: [93, 99, 155]
Generated Node #2: [93, 99, 155] from Operation: 72+83=155
Current State: 37:[93, 99, 155], Operations: ['72+83=155']
Exploring Operation: 93+99=192, Resulting Numbers: [155, 192]
Generated Node #3: [155, 192] from Operation: 93+99=192
Current State: 37:[155, 192], Operations: ['72+83=155', '93+99=192']
Exploring Operation: 192-155=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[72, 83, 93, 99], Operations: []
Exploring Operation: 99-83=16, Resulting Numbers: [72, 93, 16]
Generated Node #0,0: 37:[72, 93, 16] Operation: 99-83=16
Exploring Operation: 99-72=27, Resulting Numbers: [83, 93, 27]
Generated Node #0,1: 37:[83, 93, 27] Operation: 99-72=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[72, 93, 16], Operations: ['99-83=16']
Exploring Operation: 93-72=21, Resulting Numbers: [16, 21]
Generated Node #0,0,0: 37:[16, 21] Operation: 93-72=21
Exploring Operation: 72-16=56, Resulting Numbers: [93, 56]
Generated Node #0,0,1: 37:[93, 56] Operation: 72-16=56
Moving to Node #0,0,0
Current State: 37:[16, 21], Operations: ['99-83=16', '93-72=21']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[72, 83, 93, 99], Operations: []
Exploring Operation: 99-83=16, Resulting Numbers: [72, 93, 16]
Generated Node #0,0: 37:[72, 93, 16] Operation: 99-83=16
Moving to Node #0,0
Current State: 37:[72, 93, 16], Operations: ['99-83=16']
Exploring Operation: 93-72=21, Resulting Numbers: [16, 21]
Generated Node #0,0,0: 37:[16, 21] Operation: 93-72=21
Moving to Node #0,0,0
Current State: 37:[16, 21], Operations: ['99-83=16', '93-72=21']
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
54,
23,
72,
5
] | 97 | [
"72-54=18",
"23*5=115",
"115-18=97"
] | Current State: 97:[54, 23, 72, 5], Operations: []
Exploring Operation: 72-54=18, Resulting Numbers: [23, 5, 18]
Generated Node #2: [23, 5, 18] from Operation: 72-54=18
Current State: 97:[23, 5, 18], Operations: ['72-54=18']
Exploring Operation: 23*5=115, Resulting Numbers: [18, 115]
Generated Node #3: [18, 115] from Operation: 23*5=115
Current State: 97:[18, 115], Operations: ['72-54=18', '23*5=115']
Exploring Operation: 115-18=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[54, 23, 72, 5], Operations: []
Exploring Operation: 23*5=115, Resulting Numbers: [54, 72, 115]
Generated Node #0,0: 97:[54, 72, 115] Operation: 23*5=115
Exploring Operation: 54+23=77, Resulting Numbers: [72, 5, 77]
Generated Node #0,1: 97:[72, 5, 77] Operation: 54+23=77
Moving to Node #0,0
Current State: 97:[54, 72, 115], Operations: ['23*5=115']
Exploring Operation: 115-54=61, Resulting Numbers: [72, 61]
Generated Node #0,0,0: 97:[72, 61] Operation: 115-54=61
Exploring Operation: 54+72=126, Resulting Numbers: [115, 126]
Generated Node #0,0,1: 97:[115, 126] Operation: 54+72=126
Moving to Node #0,1
Current State: 97:[72, 5, 77], Operations: ['54+23=77']
Exploring Operation: 72+5=77, Resulting Numbers: [77, 77]
Generated Node #0,1,0: 97:[77, 77] Operation: 72+5=77
Exploring Operation: 5+77=82, Resulting Numbers: [72, 82]
Generated Node #0,1,1: 97:[72, 82] Operation: 5+77=82
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[77, 77], Operations: ['54+23=77', '72+5=77']
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[72, 82], Operations: ['54+23=77', '5+77=82']
Exploring Operation: 72+82=154, Resulting Numbers: [154]
154,97 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 97:[115, 126], Operations: ['23*5=115', '54+72=126']
Exploring Operation: 126-115=11, Resulting Numbers: [11]
11,97 unequal: No Solution
Exploring Operation: 115+126=241, Resulting Numbers: [241]
241,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[72, 61], Operations: ['23*5=115', '115-54=61']
Exploring Operation: 72+61=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,97 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
61,
94,
80,
52
] | 61 | [
"94-61=33",
"80-52=28",
"33+28=61"
] | Current State: 61:[61, 94, 80, 52], Operations: []
Exploring Operation: 94-61=33, Resulting Numbers: [80, 52, 33]
Generated Node #2: [80, 52, 33] from Operation: 94-61=33
Current State: 61:[80, 52, 33], Operations: ['94-61=33']
Exploring Operation: 80-52=28, Resulting Numbers: [33, 28]
Generated Node #3: [33, 28] from Operation: 80-52=28
Current State: 61:[33, 28], Operations: ['94-61=33', '80-52=28']
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[61, 94, 80, 52], Operations: []
Exploring Operation: 80-52=28, Resulting Numbers: [61, 94, 28]
Generated Node #0,0: 61:[61, 94, 28] Operation: 80-52=28
Exploring Operation: 94-52=42, Resulting Numbers: [61, 80, 42]
Generated Node #0,1: 61:[61, 80, 42] Operation: 94-52=42
Exploring Operation: 94-80=14, Resulting Numbers: [61, 52, 14]
Generated Node #0,2: 61:[61, 52, 14] Operation: 94-80=14
Exploring Operation: 94-61=33, Resulting Numbers: [80, 52, 33]
Generated Node #0,3: 61:[80, 52, 33] Operation: 94-61=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[61, 80, 42], Operations: ['94-52=42']
Exploring Operation: 61-42=19, Resulting Numbers: [80, 19]
Generated Node #0,1,0: 61:[80, 19] Operation: 61-42=19
Exploring Operation: 80-42=38, Resulting Numbers: [61, 38]
Generated Node #0,1,1: 61:[61, 38] Operation: 80-42=38
Exploring Operation: 61+42=103, Resulting Numbers: [80, 103]
Generated Node #0,1,2: 61:[80, 103] Operation: 61+42=103
Exploring Operation: 80-61=19, Resulting Numbers: [42, 19]
Generated Node #0,1,3: 61:[42, 19] Operation: 80-61=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[61, 38], Operations: ['94-52=42', '80-42=38']
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,61 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[80, 19], Operations: ['94-52=42', '61-42=19']
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[61, 94, 80, 52], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [61, 80, 42]
Generated Node #0,1: 61:[61, 80, 42] Operation: 94-52=42
Moving to Node #0,1
Current State: 61:[61, 80, 42], Operations: ['94-52=42']
Exploring Operation: 61-42=19, Resulting Numbers: [80, 19]
Generated Node #0,1,0: 61:[80, 19] Operation: 61-42=19
Moving to Node #0,1,0
Current State: 61:[80, 19], Operations: ['94-52=42', '61-42=19']
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
29,
32,
64,
18
] | 94 | [
"29+18=47",
"64/32=2",
"47*2=94"
] | Current State: 94:[29, 32, 64, 18], Operations: []
Exploring Operation: 29+18=47, Resulting Numbers: [32, 64, 47]
Generated Node #2: [32, 64, 47] from Operation: 29+18=47
Current State: 94:[32, 64, 47], Operations: ['29+18=47']
Exploring Operation: 64/32=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 64/32=2
Current State: 94:[47, 2], Operations: ['29+18=47', '64/32=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[29, 32, 64, 18], Operations: []
Exploring Operation: 29+18=47, Resulting Numbers: [32, 64, 47]
Generated Node #0,0: 94:[32, 64, 47] Operation: 29+18=47
Exploring Operation: 64/32=2, Resulting Numbers: [29, 18, 2]
Generated Node #0,1: 94:[29, 18, 2] Operation: 64/32=2
Exploring Operation: 29+64=93, Resulting Numbers: [32, 18, 93]
Generated Node #0,2: 94:[32, 18, 93] Operation: 29+64=93
Exploring Operation: 32-29=3, Resulting Numbers: [64, 18, 3]
Generated Node #0,3: 94:[64, 18, 3] Operation: 32-29=3
Exploring Operation: 64-18=46, Resulting Numbers: [29, 32, 46]
Generated Node #0,4: 94:[29, 32, 46] Operation: 64-18=46
Moving to Node #0,0
Current State: 94:[32, 64, 47], Operations: ['29+18=47']
Exploring Operation: 47-32=15, Resulting Numbers: [64, 15]
Generated Node #0,0,0: 94:[64, 15] Operation: 47-32=15
Exploring Operation: 32+64=96, Resulting Numbers: [47, 96]
Generated Node #0,0,1: 94:[47, 96] Operation: 32+64=96
Exploring Operation: 64-47=17, Resulting Numbers: [32, 17]
Generated Node #0,0,2: 94:[32, 17] Operation: 64-47=17
Exploring Operation: 64/32=2, Resulting Numbers: [47, 2]
Generated Node #0,0,3: 94:[47, 2] Operation: 64/32=2
Exploring Operation: 64-32=32, Resulting Numbers: [47, 32]
Generated Node #0,0,4: 94:[47, 32] Operation: 64-32=32
Moving to Node #0,2
Current State: 94:[32, 18, 93], Operations: ['29+64=93']
Exploring Operation: 93-18=75, Resulting Numbers: [32, 75]
Generated Node #0,2,0: 94:[32, 75] Operation: 93-18=75
Exploring Operation: 93-32=61, Resulting Numbers: [18, 61]
Generated Node #0,2,1: 94:[18, 61] Operation: 93-32=61
Exploring Operation: 18+93=111, Resulting Numbers: [32, 111]
Generated Node #0,2,2: 94:[32, 111] Operation: 18+93=111
Exploring Operation: 32+18=50, Resulting Numbers: [93, 50]
Generated Node #0,2,3: 94:[93, 50] Operation: 32+18=50
Exploring Operation: 32-18=14, Resulting Numbers: [93, 14]
Generated Node #0,2,4: 94:[93, 14] Operation: 32-18=14
Moving to Node #0,1
Current State: 94:[29, 18, 2], Operations: ['64/32=2']
Exploring Operation: 18*2=36, Resulting Numbers: [29, 36]
Generated Node #0,1,0: 94:[29, 36] Operation: 18*2=36
Exploring Operation: 29+18=47, Resulting Numbers: [2, 47]
Generated Node #0,1,1: 94:[2, 47] Operation: 29+18=47
Exploring Operation: 29-18=11, Resulting Numbers: [2, 11]
Generated Node #0,1,2: 94:[2, 11] Operation: 29-18=11
Exploring Operation: 29*2=58, Resulting Numbers: [18, 58]
Generated Node #0,1,3: 94:[18, 58] Operation: 29*2=58
Exploring Operation: 18/2=9, Resulting Numbers: [29, 9]
Generated Node #0,1,4: 94:[29, 9] Operation: 18/2=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[2, 47], Operations: ['64/32=2', '29+18=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[29, 32, 64, 18], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [29, 18, 2]
Generated Node #0,1: 94:[29, 18, 2] Operation: 64/32=2
Moving to Node #0,1
Current State: 94:[29, 18, 2], Operations: ['64/32=2']
Exploring Operation: 29+18=47, Resulting Numbers: [2, 47]
Generated Node #0,1,1: 94:[2, 47] Operation: 29+18=47
Moving to Node #0,1,1
Current State: 94:[2, 47], Operations: ['64/32=2', '29+18=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
38,
87,
45,
33
] | 47 | [
"38+87=125",
"45+33=78",
"125-78=47"
] | Current State: 47:[38, 87, 45, 33], Operations: []
Exploring Operation: 38+87=125, Resulting Numbers: [45, 33, 125]
Generated Node #2: [45, 33, 125] from Operation: 38+87=125
Current State: 47:[45, 33, 125], Operations: ['38+87=125']
Exploring Operation: 45+33=78, Resulting Numbers: [125, 78]
Generated Node #3: [125, 78] from Operation: 45+33=78
Current State: 47:[125, 78], Operations: ['38+87=125', '45+33=78']
Exploring Operation: 125-78=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[38, 87, 45, 33], Operations: []
Exploring Operation: 87-38=49, Resulting Numbers: [45, 33, 49]
Generated Node #0,0: 47:[45, 33, 49] Operation: 87-38=49
Exploring Operation: 87-33=54, Resulting Numbers: [38, 45, 54]
Generated Node #0,1: 47:[38, 45, 54] Operation: 87-33=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[45, 33, 49], Operations: ['87-38=49']
Exploring Operation: 45+33=78, Resulting Numbers: [49, 78]
Generated Node #0,0,0: 47:[49, 78] Operation: 45+33=78
Exploring Operation: 49-33=16, Resulting Numbers: [45, 16]
Generated Node #0,0,1: 47:[45, 16] Operation: 49-33=16
Moving to Node #0,0,0
Current State: 47:[49, 78], Operations: ['87-38=49', '45+33=78']
Exploring Operation: 49+78=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[45, 16], Operations: ['87-38=49', '49-33=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,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,1
Current State: 47:[38, 45, 54], Operations: ['87-33=54']
Exploring Operation: 38+45=83, Resulting Numbers: [54, 83]
Generated Node #0,1,0: 47:[54, 83] Operation: 38+45=83
Exploring Operation: 54-38=16, Resulting Numbers: [45, 16]
Generated Node #0,1,1: 47:[45, 16] Operation: 54-38=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[45, 16], Operations: ['87-33=54', '54-38=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[54, 83], Operations: ['87-33=54', '38+45=83']
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 54+83=137, Resulting Numbers: [137]
137,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
51,
12,
63,
45
] | 34 | [
"51*12=612",
"63-45=18",
"612/18=34"
] | Current State: 34:[51, 12, 63, 45], Operations: []
Exploring Operation: 51*12=612, Resulting Numbers: [63, 45, 612]
Generated Node #2: [63, 45, 612] from Operation: 51*12=612
Current State: 34:[63, 45, 612], Operations: ['51*12=612']
Exploring Operation: 63-45=18, Resulting Numbers: [612, 18]
Generated Node #3: [612, 18] from Operation: 63-45=18
Current State: 34:[612, 18], Operations: ['51*12=612', '63-45=18']
Exploring Operation: 612/18=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[51, 12, 63, 45], Operations: []
Exploring Operation: 51-45=6, Resulting Numbers: [12, 63, 6]
Generated Node #0,0: 34:[12, 63, 6] Operation: 51-45=6
Exploring Operation: 51-12=39, Resulting Numbers: [63, 45, 39]
Generated Node #0,1: 34:[63, 45, 39] Operation: 51-12=39
Exploring Operation: 63-45=18, Resulting Numbers: [51, 12, 18]
Generated Node #0,2: 34:[51, 12, 18] Operation: 63-45=18
Exploring Operation: 63-51=12, Resulting Numbers: [12, 45, 12]
Generated Node #0,3: 34:[12, 45, 12] Operation: 63-51=12
Moving to Node #0,3
Current State: 34:[12, 45, 12], Operations: ['63-51=12']
Exploring Operation: 45-12=33, Resulting Numbers: [12, 33]
Generated Node #0,3,0: 34:[12, 33] Operation: 45-12=33
Exploring Operation: 12/12=1, Resulting Numbers: [45, 1]
Generated Node #0,3,1: 34:[45, 1] Operation: 12/12=1
Exploring Operation: 12-12=0, Resulting Numbers: [45, 0]
Generated Node #0,3,2: 34:[45, 0] Operation: 12-12=0
Exploring Operation: 45-12=33, Resulting Numbers: [12, 33]
Generated Node #0,3,3: 34:[12, 33] Operation: 45-12=33
Moving to Node #0,2
Current State: 34:[51, 12, 18], Operations: ['63-45=18']
Exploring Operation: 18-12=6, Resulting Numbers: [51, 6]
Generated Node #0,2,0: 34:[51, 6] Operation: 18-12=6
Exploring Operation: 51-18=33, Resulting Numbers: [12, 33]
Generated Node #0,2,1: 34:[12, 33] Operation: 51-18=33
Exploring Operation: 12+18=30, Resulting Numbers: [51, 30]
Generated Node #0,2,2: 34:[51, 30] Operation: 12+18=30
Exploring Operation: 51-12=39, Resulting Numbers: [18, 39]
Generated Node #0,2,3: 34:[18, 39] Operation: 51-12=39
Moving to Node #0,0
Current State: 34:[12, 63, 6], Operations: ['51-45=6']
Exploring Operation: 12+6=18, Resulting Numbers: [63, 18]
Generated Node #0,0,0: 34:[63, 18] Operation: 12+6=18
Exploring Operation: 12/6=2, Resulting Numbers: [63, 2]
Generated Node #0,0,1: 34:[63, 2] Operation: 12/6=2
Exploring Operation: 63-6=57, Resulting Numbers: [12, 57]
Generated Node #0,0,2: 34:[12, 57] Operation: 63-6=57
Exploring Operation: 63-12=51, Resulting Numbers: [6, 51]
Generated Node #0,0,3: 34:[6, 51] Operation: 63-12=51
Moving to Node #0,1
Current State: 34:[63, 45, 39], Operations: ['51-12=39']
Exploring Operation: 45-39=6, Resulting Numbers: [63, 6]
Generated Node #0,1,0: 34:[63, 6] Operation: 45-39=6
Exploring Operation: 63+45=108, Resulting Numbers: [39, 108]
Generated Node #0,1,1: 34:[39, 108] Operation: 63+45=108
Exploring Operation: 63-45=18, Resulting Numbers: [39, 18]
Generated Node #0,1,2: 34:[39, 18] Operation: 63-45=18
Exploring Operation: 63-39=24, Resulting Numbers: [45, 24]
Generated Node #0,1,3: 34:[45, 24] Operation: 63-39=24
Moving to Node #0,3,0
Current State: 34:[12, 33], Operations: ['63-51=12', '45-12=33']
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,34 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[18, 39], Operations: ['63-45=18', '51-12=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[39, 18], Operations: ['51-12=39', '63-45=18']
Exploring Operation: 39*18=702, Resulting Numbers: [702]
702,34 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[12, 33], Operations: ['63-51=12', '45-12=33']
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,34 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[12, 33], Operations: ['63-45=18', '51-18=33']
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[45, 1], Operations: ['63-51=12', '12/12=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[45, 0], Operations: ['63-51=12', '12-12=0']
Exploring Operation: 45*0=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 45-0=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 45+0=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[45, 24], Operations: ['51-12=39', '63-39=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,34 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,34 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[51, 6], Operations: ['63-45=18', '18-12=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[6, 51], Operations: ['51-45=6', '63-12=51']
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,34 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[51, 30], Operations: ['63-45=18', '12+18=30']
Exploring Operation: 51*30=1530, Resulting Numbers: [1530]
1530,34 unequal: No Solution
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,34 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[12, 57], Operations: ['51-45=6', '63-6=57']
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,34 unequal: No Solution
Exploring Operation: 12*57=684, Resulting Numbers: [684]
684,34 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[63, 2], Operations: ['51-45=6', '12/6=2']
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,34 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[63, 18], Operations: ['51-45=6', '12+6=18']
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,34 unequal: No Solution
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,34 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[63, 6], Operations: ['51-12=39', '45-39=6']
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,34 unequal: No Solution
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,34 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[39, 108], Operations: ['51-12=39', '63+45=108']
Exploring Operation: 39+108=147, Resulting Numbers: [147]
147,34 unequal: No Solution
Exploring Operation: 39*108=4212, Resulting Numbers: [4212]
4212,34 unequal: No Solution
Exploring Operation: 108-39=69, Resulting Numbers: [69]
69,34 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
16,
37,
79,
65
] | 39 | [
"16+37=53",
"79-65=14",
"53-14=39"
] | Current State: 39:[16, 37, 79, 65], Operations: []
Exploring Operation: 16+37=53, Resulting Numbers: [79, 65, 53]
Generated Node #2: [79, 65, 53] from Operation: 16+37=53
Current State: 39:[79, 65, 53], Operations: ['16+37=53']
Exploring Operation: 79-65=14, Resulting Numbers: [53, 14]
Generated Node #3: [53, 14] from Operation: 79-65=14
Current State: 39:[53, 14], Operations: ['16+37=53', '79-65=14']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[16, 37, 79, 65], Operations: []
Exploring Operation: 65-16=49, Resulting Numbers: [37, 79, 49]
Generated Node #0,0: 39:[37, 79, 49] Operation: 65-16=49
Exploring Operation: 79-65=14, Resulting Numbers: [16, 37, 14]
Generated Node #0,1: 39:[16, 37, 14] Operation: 79-65=14
Exploring Operation: 65-37=28, Resulting Numbers: [16, 79, 28]
Generated Node #0,2: 39:[16, 79, 28] Operation: 65-37=28
Exploring Operation: 79-16=63, Resulting Numbers: [37, 65, 63]
Generated Node #0,3: 39:[37, 65, 63] Operation: 79-16=63
Exploring Operation: 79-37=42, Resulting Numbers: [16, 65, 42]
Generated Node #0,4: 39:[16, 65, 42] Operation: 79-37=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[16, 37, 14], Operations: ['79-65=14']
Exploring Operation: 37-16=21, Resulting Numbers: [14, 21]
Generated Node #0,1,0: 39:[14, 21] Operation: 37-16=21
Exploring Operation: 16+37=53, Resulting Numbers: [14, 53]
Generated Node #0,1,1: 39:[14, 53] Operation: 16+37=53
Exploring Operation: 37-14=23, Resulting Numbers: [16, 23]
Generated Node #0,1,2: 39:[16, 23] Operation: 37-14=23
Exploring Operation: 16-14=2, Resulting Numbers: [37, 2]
Generated Node #0,1,3: 39:[37, 2] Operation: 16-14=2
Exploring Operation: 16+14=30, Resulting Numbers: [37, 30]
Generated Node #0,1,4: 39:[37, 30] Operation: 16+14=30
Moving to Node #0,1,3
Current State: 39:[37, 2], Operations: ['79-65=14', '16-14=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[16, 37, 79, 65], Operations: []
Exploring Operation: 79-65=14, Resulting Numbers: [16, 37, 14]
Generated Node #0,1: 39:[16, 37, 14] Operation: 79-65=14
Moving to Node #0,1
Current State: 39:[16, 37, 14], Operations: ['79-65=14']
Exploring Operation: 16-14=2, Resulting Numbers: [37, 2]
Generated Node #0,1,3: 39:[37, 2] Operation: 16-14=2
Moving to Node #0,1,3
Current State: 39:[37, 2], Operations: ['79-65=14', '16-14=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
81,
13,
50,
28
] | 36 | [
"81*28=2268",
"13+50=63",
"2268/63=36"
] | Current State: 36:[81, 13, 50, 28], Operations: []
Exploring Operation: 81*28=2268, Resulting Numbers: [13, 50, 2268]
Generated Node #2: [13, 50, 2268] from Operation: 81*28=2268
Current State: 36:[13, 50, 2268], Operations: ['81*28=2268']
Exploring Operation: 13+50=63, Resulting Numbers: [2268, 63]
Generated Node #3: [2268, 63] from Operation: 13+50=63
Current State: 36:[2268, 63], Operations: ['81*28=2268', '13+50=63']
Exploring Operation: 2268/63=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[81, 13, 50, 28], Operations: []
Exploring Operation: 81-28=53, Resulting Numbers: [13, 50, 53]
Generated Node #0,0: 36:[13, 50, 53] Operation: 81-28=53
Exploring Operation: 81-50=31, Resulting Numbers: [13, 28, 31]
Generated Node #0,1: 36:[13, 28, 31] Operation: 81-50=31
Exploring Operation: 50-28=22, Resulting Numbers: [81, 13, 22]
Generated Node #0,2: 36:[81, 13, 22] Operation: 50-28=22
Exploring Operation: 81-13=68, Resulting Numbers: [50, 28, 68]
Generated Node #0,3: 36:[50, 28, 68] Operation: 81-13=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[13, 28, 31], Operations: ['81-50=31']
Exploring Operation: 13+28=41, Resulting Numbers: [31, 41]
Generated Node #0,1,0: 36:[31, 41] Operation: 13+28=41
Exploring Operation: 31-28=3, Resulting Numbers: [13, 3]
Generated Node #0,1,1: 36:[13, 3] Operation: 31-28=3
Exploring Operation: 28-13=15, Resulting Numbers: [31, 15]
Generated Node #0,1,2: 36:[31, 15] Operation: 28-13=15
Exploring Operation: 31-13=18, Resulting Numbers: [28, 18]
Generated Node #0,1,3: 36:[28, 18] Operation: 31-13=18
Moving to Node #0,1,1
Current State: 36:[13, 3], Operations: ['81-50=31', '31-28=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[28, 18], Operations: ['81-50=31', '31-13=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,36 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[31, 15], Operations: ['81-50=31', '28-13=15']
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,36 unequal: No Solution
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[31, 41], Operations: ['81-50=31', '13+28=41']
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 31*41=1271, Resulting Numbers: [1271]
1271,36 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,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
Current State: 36:[13, 50, 53], Operations: ['81-28=53']
Exploring Operation: 53-13=40, Resulting Numbers: [50, 40]
Generated Node #0,0,0: 36:[50, 40] Operation: 53-13=40
Exploring Operation: 13+50=63, Resulting Numbers: [53, 63]
Generated Node #0,0,1: 36:[53, 63] Operation: 13+50=63
Exploring Operation: 50-13=37, Resulting Numbers: [53, 37]
Generated Node #0,0,2: 36:[53, 37] Operation: 50-13=37
Exploring Operation: 53-50=3, Resulting Numbers: [13, 3]
Generated Node #0,0,3: 36:[13, 3] Operation: 53-50=3
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 36:[13, 3], Operations: ['81-28=53', '53-50=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,36 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[50, 40], Operations: ['81-28=53', '53-13=40']
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 50*40=2000, Resulting Numbers: [2000]
2000,36 unequal: No Solution
Exploring Operation: 50+40=90, Resulting Numbers: [90]
90,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 36:[53, 37], Operations: ['81-28=53', '50-13=37']
Exploring Operation: 53*37=1961, Resulting Numbers: [1961]
1961,36 unequal: No Solution
Exploring Operation: 53+37=90, Resulting Numbers: [90]
90,36 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[53, 63], Operations: ['81-28=53', '13+50=63']
Exploring Operation: 53*63=3339, Resulting Numbers: [3339]
3339,36 unequal: No Solution
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 53+63=116, Resulting Numbers: [116]
116,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[81, 13, 22], Operations: ['50-28=22']
Exploring Operation: 13+22=35, Resulting Numbers: [81, 35]
Generated Node #0,2,0: 36:[81, 35] Operation: 13+22=35
Exploring Operation: 81-13=68, Resulting Numbers: [22, 68]
Generated Node #0,2,1: 36:[22, 68] Operation: 81-13=68
Exploring Operation: 22-13=9, Resulting Numbers: [81, 9]
Generated Node #0,2,2: 36:[81, 9] Operation: 22-13=9
Exploring Operation: 81-22=59, Resulting Numbers: [13, 59]
Generated Node #0,2,3: 36:[13, 59] Operation: 81-22=59
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 36:[13, 59], Operations: ['50-28=22', '81-22=59']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 13*59=767, Resulting Numbers: [767]
767,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[22, 68], Operations: ['50-28=22', '81-13=68']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 22*68=1496, Resulting Numbers: [1496]
1496,36 unequal: No Solution
Exploring Operation: 22+68=90, Resulting Numbers: [90]
90,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[81, 9], Operations: ['50-28=22', '22-13=9']
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,36 unequal: No Solution
Exploring Operation: 81*9=729, Resulting Numbers: [729]
729,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[81, 35], Operations: ['50-28=22', '13+22=35']
Exploring Operation: 81+35=116, Resulting Numbers: [116]
116,36 unequal: No Solution
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 81*35=2835, Resulting Numbers: [2835]
2835,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[50, 28, 68], Operations: ['81-13=68']
Exploring Operation: 68-28=40, Resulting Numbers: [50, 40]
Generated Node #0,3,0: 36:[50, 40] Operation: 68-28=40
Exploring Operation: 50-28=22, Resulting Numbers: [68, 22]
Generated Node #0,3,1: 36:[68, 22] Operation: 50-28=22
Exploring Operation: 50+28=78, Resulting Numbers: [68, 78]
Generated Node #0,3,2: 36:[68, 78] Operation: 50+28=78
Exploring Operation: 68-50=18, Resulting Numbers: [28, 18]
Generated Node #0,3,3: 36:[28, 18] Operation: 68-50=18
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 36:[28, 18], Operations: ['81-13=68', '68-50=18']
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,36 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 36:[50, 40], Operations: ['81-13=68', '68-28=40']
Exploring Operation: 50*40=2000, Resulting Numbers: [2000]
2000,36 unequal: No Solution
Exploring Operation: 50+40=90, Resulting Numbers: [90]
90,36 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 36:[68, 22], Operations: ['81-13=68', '50-28=22']
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,36 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 36:[68, 78], Operations: ['81-13=68', '50+28=78']
Exploring Operation: 68*78=5304, Resulting Numbers: [5304]
5304,36 unequal: No Solution
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 68+78=146, Resulting Numbers: [146]
146,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
24,
86,
2,
24
] | 67 | [
"24+86=110",
"24+110=134",
"134/2=67"
] | Current State: 67:[24, 86, 2, 24], Operations: []
Exploring Operation: 24+86=110, Resulting Numbers: [2, 110]
Generated Node #2: [2, 110] from Operation: 24+86=110
Current State: 67:[2, 110], Operations: ['24+86=110']
Exploring Operation: 24+110=134, Resulting Numbers: [2, 134]
Generated Node #3: [2, 134] from Operation: 24+110=134
Current State: 67:[2, 134], Operations: ['24+86=110', '24+110=134']
Exploring Operation: 134/2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[24, 86, 2, 24], Operations: []
Exploring Operation: 24*2=48, Resulting Numbers: [86, 24, 48]
Generated Node #0,0: 67:[86, 24, 48] Operation: 24*2=48
Exploring Operation: 2*24=48, Resulting Numbers: [24, 86, 48]
Generated Node #0,1: 67:[24, 86, 48] Operation: 2*24=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[86, 24, 48], Operations: ['24*2=48']
Exploring Operation: 24+48=72, Resulting Numbers: [86, 72]
Generated Node #0,0,0: 67:[86, 72] Operation: 24+48=72
Exploring Operation: 86-24=62, Resulting Numbers: [48, 62]
Generated Node #0,0,1: 67:[48, 62] Operation: 86-24=62
Moving to Node #0,0,0
Current State: 67:[86, 72], Operations: ['24*2=48', '24+48=72']
Exploring Operation: 86+72=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[48, 62], Operations: ['24*2=48', '86-24=62']
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 48+62=110, Resulting Numbers: [110]
110,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:[24, 86, 48], Operations: ['2*24=48']
Exploring Operation: 86-24=62, Resulting Numbers: [48, 62]
Generated Node #0,1,0: 67:[48, 62] Operation: 86-24=62
Exploring Operation: 24+48=72, Resulting Numbers: [86, 72]
Generated Node #0,1,1: 67:[86, 72] Operation: 24+48=72
Moving to Node #0,1,0
Current State: 67:[48, 62], Operations: ['2*24=48', '86-24=62']
Exploring Operation: 48+62=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[86, 72], Operations: ['2*24=48', '24+48=72']
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 86+72=158, Resulting Numbers: [158]
158,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 | sum_heuristic |
[
16,
65,
55,
44
] | 92 | [
"16+65=81",
"55-44=11",
"81+11=92"
] | Current State: 92:[16, 65, 55, 44], Operations: []
Exploring Operation: 16+65=81, Resulting Numbers: [55, 44, 81]
Generated Node #2: [55, 44, 81] from Operation: 16+65=81
Current State: 92:[55, 44, 81], Operations: ['16+65=81']
Exploring Operation: 55-44=11, Resulting Numbers: [81, 11]
Generated Node #3: [81, 11] from Operation: 55-44=11
Current State: 92:[81, 11], Operations: ['16+65=81', '55-44=11']
Exploring Operation: 81+11=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[16, 65, 55, 44], Operations: []
Exploring Operation: 65-16=49, Resulting Numbers: [55, 44, 49]
Generated Node #0,0: 92:[55, 44, 49] Operation: 65-16=49
Moving to Node #0,0
Current State: 92:[55, 44, 49], Operations: ['65-16=49']
Exploring Operation: 55-49=6, Resulting Numbers: [44, 6]
Generated Node #0,0,0: 92:[44, 6] Operation: 55-49=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[44, 6], Operations: ['65-16=49', '55-49=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
8,
28,
70,
42
] | 14 | [
"8*70=560",
"28+560=588",
"588/42=14"
] | Current State: 14:[8, 28, 70, 42], Operations: []
Exploring Operation: 8*70=560, Resulting Numbers: [28, 42, 560]
Generated Node #2: [28, 42, 560] from Operation: 8*70=560
Current State: 14:[28, 42, 560], Operations: ['8*70=560']
Exploring Operation: 28+560=588, Resulting Numbers: [42, 588]
Generated Node #3: [42, 588] from Operation: 28+560=588
Current State: 14:[42, 588], Operations: ['8*70=560', '28+560=588']
Exploring Operation: 588/42=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[8, 28, 70, 42], Operations: []
Exploring Operation: 70-42=28, Resulting Numbers: [8, 28, 28]
Generated Node #0,0: 14:[8, 28, 28] Operation: 70-42=28
Moving to Node #0,0
Current State: 14:[8, 28, 28], Operations: ['70-42=28']
Exploring Operation: 28/28=1, Resulting Numbers: [8, 1]
Generated Node #0,0,0: 14:[8, 1] Operation: 28/28=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[8, 1], Operations: ['70-42=28', '28/28=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
40,
16,
86,
36
] | 74 | [
"40-16=24",
"86-36=50",
"24+50=74"
] | Current State: 74:[40, 16, 86, 36], Operations: []
Exploring Operation: 40-16=24, Resulting Numbers: [86, 36, 24]
Generated Node #2: [86, 36, 24] from Operation: 40-16=24
Current State: 74:[86, 36, 24], Operations: ['40-16=24']
Exploring Operation: 86-36=50, Resulting Numbers: [24, 50]
Generated Node #3: [24, 50] from Operation: 86-36=50
Current State: 74:[24, 50], Operations: ['40-16=24', '86-36=50']
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[40, 16, 86, 36], Operations: []
Exploring Operation: 86-16=70, Resulting Numbers: [40, 36, 70]
Generated Node #0,0: 74:[40, 36, 70] Operation: 86-16=70
Exploring Operation: 86-40=46, Resulting Numbers: [16, 36, 46]
Generated Node #0,1: 74:[16, 36, 46] Operation: 86-40=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[40, 36, 70], Operations: ['86-16=70']
Exploring Operation: 40-36=4, Resulting Numbers: [70, 4]
Generated Node #0,0,0: 74:[70, 4] Operation: 40-36=4
Exploring Operation: 40+36=76, Resulting Numbers: [70, 76]
Generated Node #0,0,1: 74:[70, 76] Operation: 40+36=76
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[70, 4], Operations: ['86-16=70', '40-36=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[40, 16, 86, 36], Operations: []
Exploring Operation: 86-16=70, Resulting Numbers: [40, 36, 70]
Generated Node #0,0: 74:[40, 36, 70] Operation: 86-16=70
Moving to Node #0,0
Current State: 74:[40, 36, 70], Operations: ['86-16=70']
Exploring Operation: 40-36=4, Resulting Numbers: [70, 4]
Generated Node #0,0,0: 74:[70, 4] Operation: 40-36=4
Moving to Node #0,0,0
Current State: 74:[70, 4], Operations: ['86-16=70', '40-36=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
37,
2,
9,
76
] | 57 | [
"76-37=39",
"2*9=18",
"39+18=57"
] | Current State: 57:[37, 2, 9, 76], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [2, 9, 39]
Generated Node #2: [2, 9, 39] from Operation: 76-37=39
Current State: 57:[2, 9, 39], Operations: ['76-37=39']
Exploring Operation: 2*9=18, Resulting Numbers: [39, 18]
Generated Node #3: [39, 18] from Operation: 2*9=18
Current State: 57:[39, 18], Operations: ['76-37=39', '2*9=18']
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[37, 2, 9, 76], Operations: []
Exploring Operation: 37-9=28, Resulting Numbers: [2, 76, 28]
Generated Node #0,0: 57:[2, 76, 28] Operation: 37-9=28
Exploring Operation: 76-37=39, Resulting Numbers: [2, 9, 39]
Generated Node #0,1: 57:[2, 9, 39] Operation: 76-37=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[2, 9, 39], Operations: ['76-37=39']
Exploring Operation: 39-9=30, Resulting Numbers: [2, 30]
Generated Node #0,1,0: 57:[2, 30] Operation: 39-9=30
Exploring Operation: 9+39=48, Resulting Numbers: [2, 48]
Generated Node #0,1,1: 57:[2, 48] Operation: 9+39=48
Moving to Node #0,1,1
Current State: 57:[2, 48], Operations: ['76-37=39', '9+39=48']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[2, 30], Operations: ['76-37=39', '39-9=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[2, 76, 28], Operations: ['37-9=28']
Exploring Operation: 2*28=56, Resulting Numbers: [76, 56]
Generated Node #0,0,0: 57:[76, 56] Operation: 2*28=56
Exploring Operation: 76-28=48, Resulting Numbers: [2, 48]
Generated Node #0,0,1: 57:[2, 48] Operation: 76-28=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[2, 48], Operations: ['37-9=28', '76-28=48']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[76, 56], Operations: ['37-9=28', '2*28=56']
Exploring Operation: 76+56=132, Resulting Numbers: [132]
132,57 unequal: No Solution
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
98,
77,
59,
84
] | 46 | [
"98-77=21",
"84-59=25",
"21+25=46"
] | Current State: 46:[98, 77, 59, 84], Operations: []
Exploring Operation: 98-77=21, Resulting Numbers: [59, 84, 21]
Generated Node #2: [59, 84, 21] from Operation: 98-77=21
Current State: 46:[59, 84, 21], Operations: ['98-77=21']
Exploring Operation: 84-59=25, Resulting Numbers: [21, 25]
Generated Node #3: [21, 25] from Operation: 84-59=25
Current State: 46:[21, 25], Operations: ['98-77=21', '84-59=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[98, 77, 59, 84], Operations: []
Exploring Operation: 98-59=39, Resulting Numbers: [77, 84, 39]
Generated Node #0,0: 46:[77, 84, 39] Operation: 98-59=39
Exploring Operation: 84-77=7, Resulting Numbers: [98, 59, 7]
Generated Node #0,1: 46:[98, 59, 7] Operation: 84-77=7
Exploring Operation: 84-59=25, Resulting Numbers: [98, 77, 25]
Generated Node #0,2: 46:[98, 77, 25] Operation: 84-59=25
Exploring Operation: 98-77=21, Resulting Numbers: [59, 84, 21]
Generated Node #0,3: 46:[59, 84, 21] Operation: 98-77=21
Exploring Operation: 98-84=14, Resulting Numbers: [77, 59, 14]
Generated Node #0,4: 46:[77, 59, 14] Operation: 98-84=14
Moving to Node #0,3
Current State: 46:[59, 84, 21], Operations: ['98-77=21']
Exploring Operation: 84/21=4, Resulting Numbers: [59, 4]
Generated Node #0,3,0: 46:[59, 4] Operation: 84/21=4
Exploring Operation: 59+21=80, Resulting Numbers: [84, 80]
Generated Node #0,3,1: 46:[84, 80] Operation: 59+21=80
Exploring Operation: 59-21=38, Resulting Numbers: [84, 38]
Generated Node #0,3,2: 46:[84, 38] Operation: 59-21=38
Exploring Operation: 84-21=63, Resulting Numbers: [59, 63]
Generated Node #0,3,3: 46:[59, 63] Operation: 84-21=63
Exploring Operation: 84-59=25, Resulting Numbers: [21, 25]
Generated Node #0,3,4: 46:[21, 25] Operation: 84-59=25
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 46:[21, 25], Operations: ['98-77=21', '84-59=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[98, 77, 59, 84], Operations: []
Exploring Operation: 98-77=21, Resulting Numbers: [59, 84, 21]
Generated Node #0,3: 46:[59, 84, 21] Operation: 98-77=21
Moving to Node #0,3
Current State: 46:[59, 84, 21], Operations: ['98-77=21']
Exploring Operation: 84-59=25, Resulting Numbers: [21, 25]
Generated Node #0,3,4: 46:[21, 25] Operation: 84-59=25
Moving to Node #0,3,4
Current State: 46:[21, 25], Operations: ['98-77=21', '84-59=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
94,
53,
67,
42
] | 67 | [
"94-53=41",
"42-41=1",
"67*1=67"
] | Current State: 67:[94, 53, 67, 42], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [67, 42, 41]
Generated Node #2: [67, 42, 41] from Operation: 94-53=41
Current State: 67:[67, 42, 41], Operations: ['94-53=41']
Exploring Operation: 42-41=1, Resulting Numbers: [67, 1]
Generated Node #3: [67, 1] from Operation: 42-41=1
Current State: 67:[67, 1], Operations: ['94-53=41', '42-41=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[94, 53, 67, 42], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [67, 42, 41]
Generated Node #0,0: 67:[67, 42, 41] Operation: 94-53=41
Exploring Operation: 94-42=52, Resulting Numbers: [53, 67, 52]
Generated Node #0,1: 67:[53, 67, 52] Operation: 94-42=52
Exploring Operation: 94-67=27, Resulting Numbers: [53, 42, 27]
Generated Node #0,2: 67:[53, 42, 27] Operation: 94-67=27
Exploring Operation: 53+42=95, Resulting Numbers: [94, 67, 95]
Generated Node #0,3: 67:[94, 67, 95] Operation: 53+42=95
Moving to Node #0,1
Current State: 67:[53, 67, 52], Operations: ['94-42=52']
Exploring Operation: 53-52=1, Resulting Numbers: [67, 1]
Generated Node #0,1,0: 67:[67, 1] Operation: 53-52=1
Exploring Operation: 67+52=119, Resulting Numbers: [53, 119]
Generated Node #0,1,1: 67:[53, 119] Operation: 67+52=119
Exploring Operation: 67-52=15, Resulting Numbers: [53, 15]
Generated Node #0,1,2: 67:[53, 15] Operation: 67-52=15
Exploring Operation: 53+52=105, Resulting Numbers: [67, 105]
Generated Node #0,1,3: 67:[67, 105] Operation: 53+52=105
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[67, 105], Operations: ['94-42=52', '53+52=105']
Exploring Operation: 67+105=172, Resulting Numbers: [172]
172,67 unequal: No Solution
Exploring Operation: 67*105=7035, Resulting Numbers: [7035]
7035,67 unequal: No Solution
Exploring Operation: 105-67=38, Resulting Numbers: [38]
38,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,0
Current State: 67:[67, 1], Operations: ['94-42=52', '53-52=1']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[94, 53, 67, 42], Operations: []
Exploring Operation: 94-42=52, Resulting Numbers: [53, 67, 52]
Generated Node #0,1: 67:[53, 67, 52] Operation: 94-42=52
Moving to Node #0,1
Current State: 67:[53, 67, 52], Operations: ['94-42=52']
Exploring Operation: 53-52=1, Resulting Numbers: [67, 1]
Generated Node #0,1,0: 67:[67, 1] Operation: 53-52=1
Moving to Node #0,1,0
Current State: 67:[67, 1], Operations: ['94-42=52', '53-52=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
33,
16,
6,
87
] | 98 | [
"33-16=17",
"87-6=81",
"17+81=98"
] | Current State: 98:[33, 16, 6, 87], Operations: []
Exploring Operation: 33-16=17, Resulting Numbers: [6, 87, 17]
Generated Node #2: [6, 87, 17] from Operation: 33-16=17
Current State: 98:[6, 87, 17], Operations: ['33-16=17']
Exploring Operation: 87-6=81, Resulting Numbers: [17, 81]
Generated Node #3: [17, 81] from Operation: 87-6=81
Current State: 98:[17, 81], Operations: ['33-16=17', '87-6=81']
Exploring Operation: 17+81=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[33, 16, 6, 87], Operations: []
Exploring Operation: 33+16=49, Resulting Numbers: [6, 87, 49]
Generated Node #0,0: 98:[6, 87, 49] Operation: 33+16=49
Exploring Operation: 87-33=54, Resulting Numbers: [16, 6, 54]
Generated Node #0,1: 98:[16, 6, 54] Operation: 87-33=54
Moving to Node #0,1
Current State: 98:[16, 6, 54], Operations: ['87-33=54']
Exploring Operation: 54-6=48, Resulting Numbers: [16, 48]
Generated Node #0,1,0: 98:[16, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [16, 9]
Generated Node #0,1,1: 98:[16, 9] Operation: 54/6=9
Moving to Node #0,0
Current State: 98:[6, 87, 49], Operations: ['33+16=49']
Exploring Operation: 87-49=38, Resulting Numbers: [6, 38]
Generated Node #0,0,0: 98:[6, 38] Operation: 87-49=38
Exploring Operation: 6+87=93, Resulting Numbers: [49, 93]
Generated Node #0,0,1: 98:[49, 93] Operation: 6+87=93
Moving to Node #0,1,0
Current State: 98:[16, 48], Operations: ['87-33=54', '54-6=48']
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[16, 9], Operations: ['87-33=54', '54/6=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[49, 93], Operations: ['33+16=49', '6+87=93']
Exploring Operation: 93-49=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 49+93=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[6, 38], Operations: ['33+16=49', '87-49=38']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,98 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
90,
96,
19,
92
] | 14 | [
"96-92=4",
"19*4=76",
"90-76=14"
] | Current State: 14:[90, 96, 19, 92], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [90, 19, 4]
Generated Node #2: [90, 19, 4] from Operation: 96-92=4
Current State: 14:[90, 19, 4], Operations: ['96-92=4']
Exploring Operation: 19*4=76, Resulting Numbers: [90, 76]
Generated Node #3: [90, 76] from Operation: 19*4=76
Current State: 14:[90, 76], Operations: ['96-92=4', '19*4=76']
Exploring Operation: 90-76=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[90, 96, 19, 92], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [19, 92, 6]
Generated Node #0,0: 14:[19, 92, 6] Operation: 96-90=6
Exploring Operation: 96-92=4, Resulting Numbers: [90, 19, 4]
Generated Node #0,1: 14:[90, 19, 4] Operation: 96-92=4
Exploring Operation: 92-90=2, Resulting Numbers: [96, 19, 2]
Generated Node #0,2: 14:[96, 19, 2] Operation: 92-90=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[90, 19, 4], Operations: ['96-92=4']
Exploring Operation: 90-19=71, Resulting Numbers: [4, 71]
Generated Node #0,1,0: 14:[4, 71] Operation: 90-19=71
Exploring Operation: 19-4=15, Resulting Numbers: [90, 15]
Generated Node #0,1,1: 14:[90, 15] Operation: 19-4=15
Exploring Operation: 90-4=86, Resulting Numbers: [19, 86]
Generated Node #0,1,2: 14:[19, 86] Operation: 90-4=86
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[4, 71], Operations: ['96-92=4', '90-19=71']
Exploring Operation: 4*71=284, Resulting Numbers: [284]
284,14 unequal: No Solution
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,14 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[90, 15], Operations: ['96-92=4', '19-4=15']
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,14 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 14:[19, 86], Operations: ['96-92=4', '90-4=86']
Exploring Operation: 86-19=67, Resulting Numbers: [67]
67,14 unequal: No Solution
Exploring Operation: 19*86=1634, Resulting Numbers: [1634]
1634,14 unequal: No Solution
Exploring Operation: 19+86=105, Resulting Numbers: [105]
105,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[19, 92, 6], Operations: ['96-90=6']
Exploring Operation: 92-6=86, Resulting Numbers: [19, 86]
Generated Node #0,0,0: 14:[19, 86] Operation: 92-6=86
Exploring Operation: 19-6=13, Resulting Numbers: [92, 13]
Generated Node #0,0,1: 14:[92, 13] Operation: 19-6=13
Exploring Operation: 92-19=73, Resulting Numbers: [6, 73]
Generated Node #0,0,2: 14:[6, 73] Operation: 92-19=73
Moving to Node #0,0,2
Current State: 14:[6, 73], Operations: ['96-90=6', '92-19=73']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,14 unequal: No Solution
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,14 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[19, 86], Operations: ['96-90=6', '92-6=86']
Exploring Operation: 19*86=1634, Resulting Numbers: [1634]
1634,14 unequal: No Solution
Exploring Operation: 86-19=67, Resulting Numbers: [67]
67,14 unequal: No Solution
Exploring Operation: 19+86=105, Resulting Numbers: [105]
105,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[92, 13], Operations: ['96-90=6', '19-6=13']
Exploring Operation: 92*13=1196, Resulting Numbers: [1196]
1196,14 unequal: No Solution
Exploring Operation: 92+13=105, Resulting Numbers: [105]
105,14 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[96, 19, 2], Operations: ['92-90=2']
Exploring Operation: 96-19=77, Resulting Numbers: [2, 77]
Generated Node #0,2,0: 14:[2, 77] Operation: 96-19=77
Exploring Operation: 96/2=48, Resulting Numbers: [19, 48]
Generated Node #0,2,1: 14:[19, 48] Operation: 96/2=48
Exploring Operation: 96-2=94, Resulting Numbers: [19, 94]
Generated Node #0,2,2: 14:[19, 94] Operation: 96-2=94
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 14:[19, 48], Operations: ['92-90=2', '96/2=48']
Exploring Operation: 19*48=912, Resulting Numbers: [912]
912,14 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,14 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 14:[2, 77], Operations: ['92-90=2', '96-19=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,14 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,14 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 14:[19, 94], Operations: ['92-90=2', '96-2=94']
Exploring Operation: 19*94=1786, Resulting Numbers: [1786]
1786,14 unequal: No Solution
Exploring Operation: 94-19=75, Resulting Numbers: [75]
75,14 unequal: No Solution
Exploring Operation: 19+94=113, Resulting Numbers: [113]
113,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
68,
93,
94,
97
] | 29 | [
"97-68=29",
"94-93=1",
"29*1=29"
] | Current State: 29:[68, 93, 94, 97], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [93, 94, 29]
Generated Node #2: [93, 94, 29] from Operation: 97-68=29
Current State: 29:[93, 94, 29], Operations: ['97-68=29']
Exploring Operation: 94-93=1, Resulting Numbers: [29, 1]
Generated Node #3: [29, 1] from Operation: 94-93=1
Current State: 29:[29, 1], Operations: ['97-68=29', '94-93=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[68, 93, 94, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [68, 93, 3]
Generated Node #0,0: 29:[68, 93, 3] Operation: 97-94=3
Exploring Operation: 94-68=26, Resulting Numbers: [93, 97, 26]
Generated Node #0,1: 29:[93, 97, 26] Operation: 94-68=26
Exploring Operation: 97-68=29, Resulting Numbers: [93, 94, 29]
Generated Node #0,2: 29:[93, 94, 29] Operation: 97-68=29
Exploring Operation: 97-93=4, Resulting Numbers: [68, 94, 4]
Generated Node #0,3: 29:[68, 94, 4] Operation: 97-93=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[68, 93, 3], Operations: ['97-94=3']
Exploring Operation: 93/3=31, Resulting Numbers: [68, 31]
Generated Node #0,0,0: 29:[68, 31] Operation: 93/3=31
Exploring Operation: 68-3=65, Resulting Numbers: [93, 65]
Generated Node #0,0,1: 29:[93, 65] Operation: 68-3=65
Exploring Operation: 93-3=90, Resulting Numbers: [68, 90]
Generated Node #0,0,2: 29:[68, 90] Operation: 93-3=90
Exploring Operation: 93-68=25, Resulting Numbers: [3, 25]
Generated Node #0,0,3: 29:[3, 25] Operation: 93-68=25
Moving to Node #0,0,3
Current State: 29:[3, 25], Operations: ['97-94=3', '93-68=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,29 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[68, 31], Operations: ['97-94=3', '93/3=31']
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 68+31=99, Resulting Numbers: [99]
99,29 unequal: No Solution
Exploring Operation: 68*31=2108, Resulting Numbers: [2108]
2108,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[68, 90], Operations: ['97-94=3', '93-3=90']
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 68+90=158, Resulting Numbers: [158]
158,29 unequal: No Solution
Exploring Operation: 68*90=6120, Resulting Numbers: [6120]
6120,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[93, 65], Operations: ['97-94=3', '68-3=65']
Exploring Operation: 93*65=6045, Resulting Numbers: [6045]
6045,29 unequal: No Solution
Exploring Operation: 93-65=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 93+65=158, Resulting Numbers: [158]
158,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[93, 94, 29], Operations: ['97-68=29']
Exploring Operation: 94-93=1, Resulting Numbers: [29, 1]
Generated Node #0,2,0: 29:[29, 1] Operation: 94-93=1
Exploring Operation: 93-29=64, Resulting Numbers: [94, 64]
Generated Node #0,2,1: 29:[94, 64] Operation: 93-29=64
Exploring Operation: 94-29=65, Resulting Numbers: [93, 65]
Generated Node #0,2,2: 29:[93, 65] Operation: 94-29=65
Exploring Operation: 93+94=187, Resulting Numbers: [29, 187]
Generated Node #0,2,3: 29:[29, 187] Operation: 93+94=187
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[29, 1], Operations: ['97-68=29', '94-93=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[68, 93, 94, 97], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [93, 94, 29]
Generated Node #0,2: 29:[93, 94, 29] Operation: 97-68=29
Moving to Node #0,2
Current State: 29:[93, 94, 29], Operations: ['97-68=29']
Exploring Operation: 94-93=1, Resulting Numbers: [29, 1]
Generated Node #0,2,0: 29:[29, 1] Operation: 94-93=1
Moving to Node #0,2,0
Current State: 29:[29, 1], Operations: ['97-68=29', '94-93=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
70,
67,
13,
66
] | 83 | [
"70+13=83",
"67-66=1",
"83*1=83"
] | Current State: 83:[70, 67, 13, 66], Operations: []
Exploring Operation: 70+13=83, Resulting Numbers: [67, 66, 83]
Generated Node #2: [67, 66, 83] from Operation: 70+13=83
Current State: 83:[67, 66, 83], Operations: ['70+13=83']
Exploring Operation: 67-66=1, Resulting Numbers: [83, 1]
Generated Node #3: [83, 1] from Operation: 67-66=1
Current State: 83:[83, 1], Operations: ['70+13=83', '67-66=1']
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[70, 67, 13, 66], Operations: []
Exploring Operation: 13+66=79, Resulting Numbers: [70, 67, 79]
Generated Node #0,0: 83:[70, 67, 79] Operation: 13+66=79
Exploring Operation: 70+13=83, Resulting Numbers: [67, 66, 83]
Generated Node #0,1: 83:[67, 66, 83] Operation: 70+13=83
Exploring Operation: 67+13=80, Resulting Numbers: [70, 66, 80]
Generated Node #0,2: 83:[70, 66, 80] Operation: 67+13=80
Moving to Node #0,0
Current State: 83:[70, 67, 79], Operations: ['13+66=79']
Exploring Operation: 70+67=137, Resulting Numbers: [79, 137]
Generated Node #0,0,0: 83:[79, 137] Operation: 70+67=137
Exploring Operation: 70+79=149, Resulting Numbers: [67, 149]
Generated Node #0,0,1: 83:[67, 149] Operation: 70+79=149
Exploring Operation: 67+79=146, Resulting Numbers: [70, 146]
Generated Node #0,0,2: 83:[70, 146] Operation: 67+79=146
Moving to Node #0,1
Current State: 83:[67, 66, 83], Operations: ['70+13=83']
Exploring Operation: 67-66=1, Resulting Numbers: [83, 1]
Generated Node #0,1,0: 83:[83, 1] Operation: 67-66=1
Exploring Operation: 67+66=133, Resulting Numbers: [83, 133]
Generated Node #0,1,1: 83:[83, 133] Operation: 67+66=133
Exploring Operation: 66+83=149, Resulting Numbers: [67, 149]
Generated Node #0,1,2: 83:[67, 149] Operation: 66+83=149
Moving to Node #0,2
Current State: 83:[70, 66, 80], Operations: ['67+13=80']
Exploring Operation: 70-66=4, Resulting Numbers: [80, 4]
Generated Node #0,2,0: 83:[80, 4] Operation: 70-66=4
Exploring Operation: 66+80=146, Resulting Numbers: [70, 146]
Generated Node #0,2,1: 83:[70, 146] Operation: 66+80=146
Exploring Operation: 70+66=136, Resulting Numbers: [80, 136]
Generated Node #0,2,2: 83:[80, 136] Operation: 70+66=136
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[80, 136], Operations: ['67+13=80', '70+66=136']
Exploring Operation: 80*136=10880, Resulting Numbers: [10880]
10880,83 unequal: No Solution
Exploring Operation: 136-80=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 80+136=216, Resulting Numbers: [216]
216,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[70, 146], Operations: ['67+13=80', '66+80=146']
Exploring Operation: 70*146=10220, Resulting Numbers: [10220]
10220,83 unequal: No Solution
Exploring Operation: 70+146=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Exploring Operation: 146-70=76, Resulting Numbers: [76]
76,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[80, 4], Operations: ['67+13=80', '70-66=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,83 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: 83:[83, 133], Operations: ['70+13=83', '67+66=133']
Exploring Operation: 133-83=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Exploring Operation: 83*133=11039, Resulting Numbers: [11039]
11039,83 unequal: No Solution
Exploring Operation: 83+133=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[79, 137], Operations: ['13+66=79', '70+67=137']
Exploring Operation: 79*137=10823, Resulting Numbers: [10823]
10823,83 unequal: No Solution
Exploring Operation: 137-79=58, Resulting Numbers: [58]
58,83 unequal: No Solution
Exploring Operation: 79+137=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[70, 146], Operations: ['13+66=79', '67+79=146']
Exploring Operation: 146-70=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 70*146=10220, Resulting Numbers: [10220]
10220,83 unequal: No Solution
Exploring Operation: 70+146=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[67, 149], Operations: ['13+66=79', '70+79=149']
Exploring Operation: 149-67=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 67*149=9983, Resulting Numbers: [9983]
9983,83 unequal: No Solution
Exploring Operation: 67+149=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[67, 149], Operations: ['70+13=83', '66+83=149']
Exploring Operation: 67+149=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Exploring Operation: 67*149=9983, Resulting Numbers: [9983]
9983,83 unequal: No Solution
Exploring Operation: 149-67=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[83, 1], Operations: ['70+13=83', '67-66=1']
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[70, 67, 13, 66], Operations: []
Exploring Operation: 70+13=83, Resulting Numbers: [67, 66, 83]
Generated Node #0,1: 83:[67, 66, 83] Operation: 70+13=83
Moving to Node #0,1
Current State: 83:[67, 66, 83], Operations: ['70+13=83']
Exploring Operation: 67-66=1, Resulting Numbers: [83, 1]
Generated Node #0,1,0: 83:[83, 1] Operation: 67-66=1
Moving to Node #0,1,0
Current State: 83:[83, 1], Operations: ['70+13=83', '67-66=1']
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.96441 | hs_3 | mult_heuristic |
[
80,
10,
20,
31
] | 71 | [
"80*10=800",
"800/20=40",
"31+40=71"
] | Current State: 71:[80, 10, 20, 31], Operations: []
Exploring Operation: 80*10=800, Resulting Numbers: [20, 31, 800]
Generated Node #2: [20, 31, 800] from Operation: 80*10=800
Current State: 71:[20, 31, 800], Operations: ['80*10=800']
Exploring Operation: 800/20=40, Resulting Numbers: [31, 40]
Generated Node #3: [31, 40] from Operation: 800/20=40
Current State: 71:[31, 40], Operations: ['80*10=800', '800/20=40']
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[80, 10, 20, 31], Operations: []
Exploring Operation: 80-10=70, Resulting Numbers: [20, 31, 70]
Generated Node #0,0: 71:[20, 31, 70] Operation: 80-10=70
Exploring Operation: 10+31=41, Resulting Numbers: [80, 20, 41]
Generated Node #0,1: 71:[80, 20, 41] Operation: 10+31=41
Exploring Operation: 20+31=51, Resulting Numbers: [80, 10, 51]
Generated Node #0,2: 71:[80, 10, 51] Operation: 20+31=51
Exploring Operation: 10+20=30, Resulting Numbers: [80, 31, 30]
Generated Node #0,3: 71:[80, 31, 30] Operation: 10+20=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[80, 20, 41], Operations: ['10+31=41']
Exploring Operation: 80-20=60, Resulting Numbers: [41, 60]
Generated Node #0,1,0: 71:[41, 60] Operation: 80-20=60
Exploring Operation: 80+20=100, Resulting Numbers: [41, 100]
Generated Node #0,1,1: 71:[41, 100] Operation: 80+20=100
Exploring Operation: 41-20=21, Resulting Numbers: [80, 21]
Generated Node #0,1,2: 71:[80, 21] Operation: 41-20=21
Exploring Operation: 20+41=61, Resulting Numbers: [80, 61]
Generated Node #0,1,3: 71:[80, 61] Operation: 20+41=61
Moving to Node #0,1,3
Current State: 71:[80, 61], Operations: ['10+31=41', '20+41=61']
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 80*61=4880, Resulting Numbers: [4880]
4880,71 unequal: No Solution
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[41, 60], Operations: ['10+31=41', '80-20=60']
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 41*60=2460, Resulting Numbers: [2460]
2460,71 unequal: No Solution
Exploring Operation: 41+60=101, Resulting Numbers: [101]
101,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[80, 21], Operations: ['10+31=41', '41-20=21']
Exploring Operation: 80*21=1680, Resulting Numbers: [1680]
1680,71 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 80+21=101, Resulting Numbers: [101]
101,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[41, 100], Operations: ['10+31=41', '80+20=100']
Exploring Operation: 41*100=4100, Resulting Numbers: [4100]
4100,71 unequal: No Solution
Exploring Operation: 100-41=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 41+100=141, Resulting Numbers: [141]
141,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[80, 10, 51], Operations: ['20+31=51']
Exploring Operation: 51-10=41, Resulting Numbers: [80, 41]
Generated Node #0,2,0: 71:[80, 41] Operation: 51-10=41
Exploring Operation: 80-10=70, Resulting Numbers: [51, 70]
Generated Node #0,2,1: 71:[51, 70] Operation: 80-10=70
Exploring Operation: 10+51=61, Resulting Numbers: [80, 61]
Generated Node #0,2,2: 71:[80, 61] Operation: 10+51=61
Exploring Operation: 80+10=90, Resulting Numbers: [51, 90]
Generated Node #0,2,3: 71:[51, 90] Operation: 80+10=90
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[80, 61], Operations: ['20+31=51', '10+51=61']
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 80*61=4880, Resulting Numbers: [4880]
4880,71 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[51, 70], Operations: ['20+31=51', '80-10=70']
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 51+70=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 51*70=3570, Resulting Numbers: [3570]
3570,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[80, 41], Operations: ['20+31=51', '51-10=41']
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[51, 90], Operations: ['20+31=51', '80+10=90']
Exploring Operation: 51*90=4590, Resulting Numbers: [4590]
4590,71 unequal: No Solution
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 51+90=141, Resulting Numbers: [141]
141,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[80, 31, 30], Operations: ['10+20=30']
Exploring Operation: 31+30=61, Resulting Numbers: [80, 61]
Generated Node #0,3,0: 71:[80, 61] Operation: 31+30=61
Exploring Operation: 80+30=110, Resulting Numbers: [31, 110]
Generated Node #0,3,1: 71:[31, 110] Operation: 80+30=110
Exploring Operation: 80-31=49, Resulting Numbers: [30, 49]
Generated Node #0,3,2: 71:[30, 49] Operation: 80-31=49
Exploring Operation: 80-30=50, Resulting Numbers: [31, 50]
Generated Node #0,3,3: 71:[31, 50] Operation: 80-30=50
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 71:[80, 61], Operations: ['10+20=30', '31+30=61']
Exploring Operation: 80*61=4880, Resulting Numbers: [4880]
4880,71 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 71:[31, 50], Operations: ['10+20=30', '80-30=50']
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,71 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 71:[30, 49], Operations: ['10+20=30', '80-31=49']
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 30*49=1470, Resulting Numbers: [1470]
1470,71 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 71:[31, 110], Operations: ['10+20=30', '80+30=110']
Exploring Operation: 110-31=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 31*110=3410, Resulting Numbers: [3410]
3410,71 unequal: No Solution
Exploring Operation: 31+110=141, Resulting Numbers: [141]
141,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[20, 31, 70], Operations: ['80-10=70']
Exploring Operation: 70-20=50, Resulting Numbers: [31, 50]
Generated Node #0,0,0: 71:[31, 50] Operation: 70-20=50
Exploring Operation: 20+31=51, Resulting Numbers: [70, 51]
Generated Node #0,0,1: 71:[70, 51] Operation: 20+31=51
Exploring Operation: 20+70=90, Resulting Numbers: [31, 90]
Generated Node #0,0,2: 71:[31, 90] Operation: 20+70=90
Exploring Operation: 31-20=11, Resulting Numbers: [70, 11]
Generated Node #0,0,3: 71:[70, 11] Operation: 31-20=11
Moving to Node #0,0,1
Current State: 71:[70, 51], Operations: ['80-10=70', '20+31=51']
Exploring Operation: 70+51=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 70*51=3570, Resulting Numbers: [3570]
3570,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[31, 90], Operations: ['80-10=70', '20+70=90']
Exploring Operation: 31+90=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 31*90=2790, Resulting Numbers: [2790]
2790,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[70, 11], Operations: ['80-10=70', '31-20=11']
Exploring Operation: 70+11=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 70*11=770, Resulting Numbers: [770]
770,71 unequal: No Solution
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[31, 50], Operations: ['80-10=70', '70-20=50']
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,71 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 |
[
4,
89,
27,
21
] | 65 | [
"27-21=6",
"4*6=24",
"89-24=65"
] | Current State: 65:[4, 89, 27, 21], Operations: []
Exploring Operation: 27-21=6, Resulting Numbers: [4, 89, 6]
Generated Node #2: [4, 89, 6] from Operation: 27-21=6
Current State: 65:[4, 89, 6], Operations: ['27-21=6']
Exploring Operation: 4*6=24, Resulting Numbers: [89, 24]
Generated Node #3: [89, 24] from Operation: 4*6=24
Current State: 65:[89, 24], Operations: ['27-21=6', '4*6=24']
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[4, 89, 27, 21], Operations: []
Exploring Operation: 27-21=6, Resulting Numbers: [4, 89, 6]
Generated Node #0,0: 65:[4, 89, 6] Operation: 27-21=6
Exploring Operation: 89-27=62, Resulting Numbers: [4, 21, 62]
Generated Node #0,1: 65:[4, 21, 62] Operation: 89-27=62
Exploring Operation: 89-21=68, Resulting Numbers: [4, 27, 68]
Generated Node #0,2: 65:[4, 27, 68] Operation: 89-21=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[4, 21, 62], Operations: ['89-27=62']
Exploring Operation: 4+62=66, Resulting Numbers: [21, 66]
Generated Node #0,1,0: 65:[21, 66] Operation: 4+62=66
Exploring Operation: 4+21=25, Resulting Numbers: [62, 25]
Generated Node #0,1,1: 65:[62, 25] Operation: 4+21=25
Exploring Operation: 21-4=17, Resulting Numbers: [62, 17]
Generated Node #0,1,2: 65:[62, 17] Operation: 21-4=17
Moving to Node #0,1,2
Current State: 65:[62, 17], Operations: ['89-27=62', '21-4=17']
Exploring Operation: 62*17=1054, Resulting Numbers: [1054]
1054,65 unequal: No Solution
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 62+17=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[21, 66], Operations: ['89-27=62', '4+62=66']
Exploring Operation: 21+66=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 21*66=1386, Resulting Numbers: [1386]
1386,65 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[62, 25], Operations: ['89-27=62', '4+21=25']
Exploring Operation: 62+25=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 62*25=1550, Resulting Numbers: [1550]
1550,65 unequal: No Solution
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[4, 27, 68], Operations: ['89-21=68']
Exploring Operation: 68/4=17, Resulting Numbers: [27, 17]
Generated Node #0,2,0: 65:[27, 17] Operation: 68/4=17
Exploring Operation: 27-4=23, Resulting Numbers: [68, 23]
Generated Node #0,2,1: 65:[68, 23] Operation: 27-4=23
Exploring Operation: 68-4=64, Resulting Numbers: [27, 64]
Generated Node #0,2,2: 65:[27, 64] Operation: 68-4=64
Moving to Node #0,2,1
Current State: 65:[68, 23], Operations: ['89-21=68', '27-4=23']
Exploring Operation: 68*23=1564, Resulting Numbers: [1564]
1564,65 unequal: No Solution
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 68+23=91, Resulting Numbers: [91]
91,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[27, 64], Operations: ['89-21=68', '68-4=64']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,65 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[27, 17], Operations: ['89-21=68', '68/4=17']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,65 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[4, 89, 6], Operations: ['27-21=6']
Exploring Operation: 4+6=10, Resulting Numbers: [89, 10]
Generated Node #0,0,0: 65:[89, 10] Operation: 4+6=10
Exploring Operation: 89-6=83, Resulting Numbers: [4, 83]
Generated Node #0,0,1: 65:[4, 83] Operation: 89-6=83
Exploring Operation: 89-4=85, Resulting Numbers: [6, 85]
Generated Node #0,0,2: 65:[6, 85] Operation: 89-4=85
Moving to Node #0,0,1
Current State: 65:[4, 83], Operations: ['27-21=6', '89-6=83']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 4*83=332, Resulting Numbers: [332]
332,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[6, 85], Operations: ['27-21=6', '89-4=85']
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Exploring Operation: 6+85=91, Resulting Numbers: [91]
91,65 unequal: No Solution
Exploring Operation: 6*85=510, Resulting Numbers: [510]
510,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[89, 10], Operations: ['27-21=6', '4+6=10']
Exploring Operation: 89+10=99, Resulting Numbers: [99]
99,65 unequal: No Solution
Exploring Operation: 89*10=890, Resulting Numbers: [890]
890,65 unequal: No Solution
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
71,
91,
78,
52
] | 65 | [
"78-71=7",
"91/7=13",
"52+13=65"
] | Current State: 65:[71, 91, 78, 52], Operations: []
Exploring Operation: 78-71=7, Resulting Numbers: [91, 52, 7]
Generated Node #2: [91, 52, 7] from Operation: 78-71=7
Current State: 65:[91, 52, 7], Operations: ['78-71=7']
Exploring Operation: 91/7=13, Resulting Numbers: [52, 13]
Generated Node #3: [52, 13] from Operation: 91/7=13
Current State: 65:[52, 13], Operations: ['78-71=7', '91/7=13']
Exploring Operation: 52+13=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[71, 91, 78, 52], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [71, 52, 13]
Generated Node #0,0: 65:[71, 52, 13] Operation: 91-78=13
Exploring Operation: 78-71=7, Resulting Numbers: [91, 52, 7]
Generated Node #0,1: 65:[91, 52, 7] Operation: 78-71=7
Exploring Operation: 91-71=20, Resulting Numbers: [78, 52, 20]
Generated Node #0,2: 65:[78, 52, 20] Operation: 91-71=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[71, 52, 13], Operations: ['91-78=13']
Exploring Operation: 52+13=65, Resulting Numbers: [71, 65]
Generated Node #0,0,0: 65:[71, 65] Operation: 52+13=65
Exploring Operation: 52/13=4, Resulting Numbers: [71, 4]
Generated Node #0,0,1: 65:[71, 4] Operation: 52/13=4
Exploring Operation: 71-52=19, Resulting Numbers: [13, 19]
Generated Node #0,0,2: 65:[13, 19] Operation: 71-52=19
Moving to Node #0,0,0
Current State: 65:[71, 65], Operations: ['91-78=13', '52+13=65']
Exploring Operation: 71*65=4615, Resulting Numbers: [4615]
4615,65 unequal: No Solution
Exploring Operation: 71+65=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[13, 19], Operations: ['91-78=13', '71-52=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,65 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[71, 4], Operations: ['91-78=13', '52/13=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,65 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[78, 52, 20], Operations: ['91-71=20']
Exploring Operation: 52+20=72, Resulting Numbers: [78, 72]
Generated Node #0,2,0: 65:[78, 72] Operation: 52+20=72
Exploring Operation: 78-20=58, Resulting Numbers: [52, 58]
Generated Node #0,2,1: 65:[52, 58] Operation: 78-20=58
Exploring Operation: 78-52=26, Resulting Numbers: [20, 26]
Generated Node #0,2,2: 65:[20, 26] Operation: 78-52=26
Moving to Node #0,2,0
Current State: 65:[78, 72], Operations: ['91-71=20', '52+20=72']
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 78+72=150, Resulting Numbers: [150]
150,65 unequal: No Solution
Exploring Operation: 78*72=5616, Resulting Numbers: [5616]
5616,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[52, 58], Operations: ['91-71=20', '78-20=58']
Exploring Operation: 52*58=3016, Resulting Numbers: [3016]
3016,65 unequal: No Solution
Exploring Operation: 58-52=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 52+58=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[20, 26], Operations: ['91-71=20', '78-52=26']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[91, 52, 7], Operations: ['78-71=7']
Exploring Operation: 91-7=84, Resulting Numbers: [52, 84]
Generated Node #0,1,0: 65:[52, 84] Operation: 91-7=84
Exploring Operation: 91-52=39, Resulting Numbers: [7, 39]
Generated Node #0,1,1: 65:[7, 39] Operation: 91-52=39
Exploring Operation: 91/7=13, Resulting Numbers: [52, 13]
Generated Node #0,1,2: 65:[52, 13] Operation: 91/7=13
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 65:[52, 13], Operations: ['78-71=7', '91/7=13']
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 52+13=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[71, 91, 78, 52], Operations: []
Exploring Operation: 78-71=7, Resulting Numbers: [91, 52, 7]
Generated Node #0,1: 65:[91, 52, 7] Operation: 78-71=7
Moving to Node #0,1
Current State: 65:[91, 52, 7], Operations: ['78-71=7']
Exploring Operation: 91/7=13, Resulting Numbers: [52, 13]
Generated Node #0,1,2: 65:[52, 13] Operation: 91/7=13
Moving to Node #0,1,2
Current State: 65:[52, 13], Operations: ['78-71=7', '91/7=13']
Exploring Operation: 52+13=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
35,
81,
6,
81
] | 40 | [
"35+6=41",
"81/81=1",
"41-1=40"
] | Current State: 40:[35, 81, 6, 81], Operations: []
Exploring Operation: 35+6=41, Resulting Numbers: [81, 81, 41]
Generated Node #2: [81, 81, 41] from Operation: 35+6=41
Current State: 40:[81, 81, 41], Operations: ['35+6=41']
Exploring Operation: 81/81=1, Resulting Numbers: [41, 1]
Generated Node #3: [41, 1] from Operation: 81/81=1
Current State: 40:[41, 1], Operations: ['35+6=41', '81/81=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[35, 81, 6, 81], Operations: []
Exploring Operation: 81/81=1, Resulting Numbers: [35, 6, 1]
Generated Node #0,0: 40:[35, 6, 1] Operation: 81/81=1
Moving to Node #0,0
Current State: 40:[35, 6, 1], Operations: ['81/81=1']
Exploring Operation: 35+6=41, Resulting Numbers: [1, 41]
Generated Node #0,0,0: 40:[1, 41] Operation: 35+6=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[1, 41], Operations: ['81/81=1', '35+6=41']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[35, 81, 6, 81], Operations: []
Exploring Operation: 81/81=1, Resulting Numbers: [35, 6, 1]
Generated Node #0,0: 40:[35, 6, 1] Operation: 81/81=1
Moving to Node #0,0
Current State: 40:[35, 6, 1], Operations: ['81/81=1']
Exploring Operation: 35+6=41, Resulting Numbers: [1, 41]
Generated Node #0,0,0: 40:[1, 41] Operation: 35+6=41
Moving to Node #0,0,0
Current State: 40:[1, 41], Operations: ['81/81=1', '35+6=41']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
97,
20,
71,
7
] | 39 | [
"97+20=117",
"71+7=78",
"117-78=39"
] | Current State: 39:[97, 20, 71, 7], Operations: []
Exploring Operation: 97+20=117, Resulting Numbers: [71, 7, 117]
Generated Node #2: [71, 7, 117] from Operation: 97+20=117
Current State: 39:[71, 7, 117], Operations: ['97+20=117']
Exploring Operation: 71+7=78, Resulting Numbers: [117, 78]
Generated Node #3: [117, 78] from Operation: 71+7=78
Current State: 39:[117, 78], Operations: ['97+20=117', '71+7=78']
Exploring Operation: 117-78=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[97, 20, 71, 7], Operations: []
Exploring Operation: 97-20=77, Resulting Numbers: [71, 7, 77]
Generated Node #0,0: 39:[71, 7, 77] Operation: 97-20=77
Exploring Operation: 20-7=13, Resulting Numbers: [97, 71, 13]
Generated Node #0,1: 39:[97, 71, 13] Operation: 20-7=13
Exploring Operation: 71-20=51, Resulting Numbers: [97, 7, 51]
Generated Node #0,2: 39:[97, 7, 51] Operation: 71-20=51
Exploring Operation: 97-7=90, Resulting Numbers: [20, 71, 90]
Generated Node #0,3: 39:[20, 71, 90] Operation: 97-7=90
Exploring Operation: 97-71=26, Resulting Numbers: [20, 7, 26]
Generated Node #0,4: 39:[20, 7, 26] Operation: 97-71=26
Start Sub Search at level 1: Moving to Node #0,4
Current State: 39:[20, 7, 26], Operations: ['97-71=26']
Exploring Operation: 20+26=46, Resulting Numbers: [7, 46]
Generated Node #0,4,0: 39:[7, 46] Operation: 20+26=46
Exploring Operation: 7+26=33, Resulting Numbers: [20, 33]
Generated Node #0,4,1: 39:[20, 33] Operation: 7+26=33
Exploring Operation: 26-20=6, Resulting Numbers: [7, 6]
Generated Node #0,4,2: 39:[7, 6] Operation: 26-20=6
Exploring Operation: 20-7=13, Resulting Numbers: [26, 13]
Generated Node #0,4,3: 39:[26, 13] Operation: 20-7=13
Exploring Operation: 26-7=19, Resulting Numbers: [20, 19]
Generated Node #0,4,4: 39:[20, 19] Operation: 26-7=19
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 39:[7, 6], Operations: ['97-71=26', '26-20=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 39:[7, 46], Operations: ['97-71=26', '20+26=46']
Exploring Operation: 7*46=322, Resulting Numbers: [322]
322,39 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[97, 20, 71, 7], Operations: []
Exploring Operation: 97-71=26, Resulting Numbers: [20, 7, 26]
Generated Node #0,4: 39:[20, 7, 26] Operation: 97-71=26
Moving to Node #0,4
Current State: 39:[20, 7, 26], Operations: ['97-71=26']
Exploring Operation: 20+26=46, Resulting Numbers: [7, 46]
Generated Node #0,4,0: 39:[7, 46] Operation: 20+26=46
Moving to Node #0,4,0
Current State: 39:[7, 46], Operations: ['97-71=26', '20+26=46']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
98,
84,
3,
85
] | 73 | [
"98+84=182",
"3*85=255",
"255-182=73"
] | Current State: 73:[98, 84, 3, 85], Operations: []
Exploring Operation: 98+84=182, Resulting Numbers: [3, 85, 182]
Generated Node #2: [3, 85, 182] from Operation: 98+84=182
Current State: 73:[3, 85, 182], Operations: ['98+84=182']
Exploring Operation: 3*85=255, Resulting Numbers: [182, 255]
Generated Node #3: [182, 255] from Operation: 3*85=255
Current State: 73:[182, 255], Operations: ['98+84=182', '3*85=255']
Exploring Operation: 255-182=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[98, 84, 3, 85], Operations: []
Exploring Operation: 98-3=95, Resulting Numbers: [84, 85, 95]
Generated Node #0,0: 73:[84, 85, 95] Operation: 98-3=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[84, 85, 95], Operations: ['98-3=95']
Exploring Operation: 95-84=11, Resulting Numbers: [85, 11]
Generated Node #0,0,0: 73:[85, 11] Operation: 95-84=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[85, 11], Operations: ['98-3=95', '95-84=11']
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,73 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 |
[
14,
42,
25,
74
] | 96 | [
"42/14=3",
"25+74=99",
"99-3=96"
] | Current State: 96:[14, 42, 25, 74], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [25, 74, 3]
Generated Node #2: [25, 74, 3] from Operation: 42/14=3
Current State: 96:[25, 74, 3], Operations: ['42/14=3']
Exploring Operation: 25+74=99, Resulting Numbers: [3, 99]
Generated Node #3: [3, 99] from Operation: 25+74=99
Current State: 96:[3, 99], Operations: ['42/14=3', '25+74=99']
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[14, 42, 25, 74], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [14, 25, 32]
Generated Node #0,0: 96:[14, 25, 32] Operation: 74-42=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[14, 25, 32], Operations: ['74-42=32']
Exploring Operation: 25-14=11, Resulting Numbers: [32, 11]
Generated Node #0,0,0: 96:[32, 11] Operation: 25-14=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[32, 11], Operations: ['74-42=32', '25-14=11']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,96 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 |
[
13,
96,
28,
48
] | 82 | [
"13+28=41",
"96/48=2",
"41*2=82"
] | Current State: 82:[13, 96, 28, 48], Operations: []
Exploring Operation: 13+28=41, Resulting Numbers: [96, 48, 41]
Generated Node #2: [96, 48, 41] from Operation: 13+28=41
Current State: 82:[96, 48, 41], Operations: ['13+28=41']
Exploring Operation: 96/48=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 96/48=2
Current State: 82:[41, 2], Operations: ['13+28=41', '96/48=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[13, 96, 28, 48], Operations: []
Exploring Operation: 96-13=83, Resulting Numbers: [28, 48, 83]
Generated Node #0,0: 82:[28, 48, 83] Operation: 96-13=83
Exploring Operation: 13+28=41, Resulting Numbers: [96, 48, 41]
Generated Node #0,1: 82:[96, 48, 41] Operation: 13+28=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[28, 48, 83], Operations: ['96-13=83']
Exploring Operation: 28+48=76, Resulting Numbers: [83, 76]
Generated Node #0,0,0: 82:[83, 76] Operation: 28+48=76
Exploring Operation: 48-28=20, Resulting Numbers: [83, 20]
Generated Node #0,0,1: 82:[83, 20] Operation: 48-28=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[83, 76], Operations: ['96-13=83', '28+48=76']
Exploring Operation: 83-76=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 83+76=159, Resulting Numbers: [159]
159,82 unequal: No Solution
No 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: 82:[83, 20], Operations: ['96-13=83', '48-28=20']
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,82 unequal: No Solution
Exploring Operation: 83+20=103, Resulting Numbers: [103]
103,82 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: 82:[96, 48, 41], Operations: ['13+28=41']
Exploring Operation: 96/48=2, Resulting Numbers: [41, 2]
Generated Node #0,1,0: 82:[41, 2] Operation: 96/48=2
Exploring Operation: 96-48=48, Resulting Numbers: [41, 48]
Generated Node #0,1,1: 82:[41, 48] Operation: 96-48=48
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[41, 2], Operations: ['13+28=41', '96/48=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[13, 96, 28, 48], Operations: []
Exploring Operation: 13+28=41, Resulting Numbers: [96, 48, 41]
Generated Node #0,1: 82:[96, 48, 41] Operation: 13+28=41
Moving to Node #0,1
Current State: 82:[96, 48, 41], Operations: ['13+28=41']
Exploring Operation: 96/48=2, Resulting Numbers: [41, 2]
Generated Node #0,1,0: 82:[41, 2] Operation: 96/48=2
Moving to Node #0,1,0
Current State: 82:[41, 2], Operations: ['13+28=41', '96/48=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
70,
64,
84,
95
] | 45 | [
"70+64=134",
"84+95=179",
"179-134=45"
] | Current State: 45:[70, 64, 84, 95], Operations: []
Exploring Operation: 70+64=134, Resulting Numbers: [84, 95, 134]
Generated Node #2: [84, 95, 134] from Operation: 70+64=134
Current State: 45:[84, 95, 134], Operations: ['70+64=134']
Exploring Operation: 84+95=179, Resulting Numbers: [134, 179]
Generated Node #3: [134, 179] from Operation: 84+95=179
Current State: 45:[134, 179], Operations: ['70+64=134', '84+95=179']
Exploring Operation: 179-134=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[70, 64, 84, 95], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [64, 84, 25]
Generated Node #0,0: 45:[64, 84, 25] Operation: 95-70=25
Exploring Operation: 95-84=11, Resulting Numbers: [70, 64, 11]
Generated Node #0,1: 45:[70, 64, 11] Operation: 95-84=11
Moving to Node #0,1
Current State: 45:[70, 64, 11], Operations: ['95-84=11']
Exploring Operation: 70-64=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 45:[11, 6] Operation: 70-64=6
Exploring Operation: 70-11=59, Resulting Numbers: [64, 59]
Generated Node #0,1,1: 45:[64, 59] Operation: 70-11=59
Moving to Node #0,0
Current State: 45:[64, 84, 25], Operations: ['95-70=25']
Exploring Operation: 84-64=20, Resulting Numbers: [25, 20]
Generated Node #0,0,0: 45:[25, 20] Operation: 84-64=20
Exploring Operation: 84-25=59, Resulting Numbers: [64, 59]
Generated Node #0,0,1: 45:[64, 59] Operation: 84-25=59
Moving to Node #0,1,0
Current State: 45:[11, 6], Operations: ['95-84=11', '70-64=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[25, 20], Operations: ['95-70=25', '84-64=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[70, 64, 84, 95], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [64, 84, 25]
Generated Node #0,0: 45:[64, 84, 25] Operation: 95-70=25
Moving to Node #0,0
Current State: 45:[64, 84, 25], Operations: ['95-70=25']
Exploring Operation: 84-64=20, Resulting Numbers: [25, 20]
Generated Node #0,0,0: 45:[25, 20] Operation: 84-64=20
Moving to Node #0,0,0
Current State: 45:[25, 20], Operations: ['95-70=25', '84-64=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.988715 | hs_2 | mult_heuristic |
[
81,
46,
58,
34
] | 57 | [
"81-46=35",
"58+34=92",
"92-35=57"
] | Current State: 57:[81, 46, 58, 34], Operations: []
Exploring Operation: 81-46=35, Resulting Numbers: [58, 34, 35]
Generated Node #2: [58, 34, 35] from Operation: 81-46=35
Current State: 57:[58, 34, 35], Operations: ['81-46=35']
Exploring Operation: 58+34=92, Resulting Numbers: [35, 92]
Generated Node #3: [35, 92] from Operation: 58+34=92
Current State: 57:[35, 92], Operations: ['81-46=35', '58+34=92']
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[81, 46, 58, 34], Operations: []
Exploring Operation: 81-34=47, Resulting Numbers: [46, 58, 47]
Generated Node #0,0: 57:[46, 58, 47] Operation: 81-34=47
Exploring Operation: 81-46=35, Resulting Numbers: [58, 34, 35]
Generated Node #0,1: 57:[58, 34, 35] Operation: 81-46=35
Exploring Operation: 81-58=23, Resulting Numbers: [46, 34, 23]
Generated Node #0,2: 57:[46, 34, 23] Operation: 81-58=23
Moving to Node #0,0
Current State: 57:[46, 58, 47], Operations: ['81-34=47']
Exploring Operation: 58-46=12, Resulting Numbers: [47, 12]
Generated Node #0,0,0: 57:[47, 12] Operation: 58-46=12
Exploring Operation: 47-46=1, Resulting Numbers: [58, 1]
Generated Node #0,0,1: 57:[58, 1] Operation: 47-46=1
Exploring Operation: 58-47=11, Resulting Numbers: [46, 11]
Generated Node #0,0,2: 57:[46, 11] Operation: 58-47=11
Moving to Node #0,2
Current State: 57:[46, 34, 23], Operations: ['81-58=23']
Exploring Operation: 46/23=2, Resulting Numbers: [34, 2]
Generated Node #0,2,0: 57:[34, 2] Operation: 46/23=2
Exploring Operation: 34+23=57, Resulting Numbers: [46, 57]
Generated Node #0,2,1: 57:[46, 57] Operation: 34+23=57
Exploring Operation: 46-34=12, Resulting Numbers: [23, 12]
Generated Node #0,2,2: 57:[23, 12] Operation: 46-34=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[46, 57], Operations: ['81-58=23', '34+23=57']
Exploring Operation: 46*57=2622, Resulting Numbers: [2622]
2622,57 unequal: No Solution
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,57 unequal: No Solution
Exploring Operation: 57-46=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,2,2
Current State: 57:[23, 12], Operations: ['81-58=23', '46-34=12']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,57 unequal: No Solution
No 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:[34, 2], Operations: ['81-58=23', '46/23=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,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:[58, 34, 35], Operations: ['81-46=35']
Exploring Operation: 34+35=69, Resulting Numbers: [58, 69]
Generated Node #0,1,0: 57:[58, 69] Operation: 34+35=69
Exploring Operation: 35-34=1, Resulting Numbers: [58, 1]
Generated Node #0,1,1: 57:[58, 1] Operation: 35-34=1
Exploring Operation: 58-35=23, Resulting Numbers: [34, 23]
Generated Node #0,1,2: 57:[34, 23] Operation: 58-35=23
Moving to Node #0,0,1
Current State: 57:[58, 1], Operations: ['81-34=47', '47-46=1']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[81, 46, 58, 34], Operations: []
Exploring Operation: 81-34=47, Resulting Numbers: [46, 58, 47]
Generated Node #0,0: 57:[46, 58, 47] Operation: 81-34=47
Moving to Node #0,0
Current State: 57:[46, 58, 47], Operations: ['81-34=47']
Exploring Operation: 47-46=1, Resulting Numbers: [58, 1]
Generated Node #0,0,1: 57:[58, 1] Operation: 47-46=1
Moving to Node #0,0,1
Current State: 57:[58, 1], Operations: ['81-34=47', '47-46=1']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
14,
14,
98,
28
] | 49 | [
"98/14=7",
"14+28=42",
"7+42=49"
] | Current State: 49:[14, 14, 98, 28], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [28, 7]
Generated Node #2: [28, 7] from Operation: 98/14=7
Current State: 49:[28, 7], Operations: ['98/14=7']
Exploring Operation: 14+28=42, Resulting Numbers: [7, 42]
Generated Node #3: [7, 42] from Operation: 14+28=42
Current State: 49:[7, 42], Operations: ['98/14=7', '14+28=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[14, 14, 98, 28], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [14, 28, 7]
Generated Node #0,0: 49:[14, 28, 7] Operation: 98/14=7
Exploring Operation: 98/14=7, Resulting Numbers: [14, 28, 7]
Generated Node #0,1: 49:[14, 28, 7] Operation: 98/14=7
Exploring Operation: 98-28=70, Resulting Numbers: [14, 14, 70]
Generated Node #0,2: 49:[14, 14, 70] Operation: 98-28=70
Moving to Node #0,0
Current State: 49:[14, 28, 7], Operations: ['98/14=7']
Exploring Operation: 28-14=14, Resulting Numbers: [7, 14]
Generated Node #0,0,0: 49:[7, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [7, 2]
Generated Node #0,0,1: 49:[7, 2] Operation: 28/14=2
Exploring Operation: 14+28=42, Resulting Numbers: [7, 42]
Generated Node #0,0,2: 49:[7, 42] Operation: 14+28=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[7, 2], Operations: ['98/14=7', '28/14=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[7, 14], Operations: ['98/14=7', '28-14=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[7, 42], Operations: ['98/14=7', '14+28=42']
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[14, 14, 98, 28], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [14, 28, 7]
Generated Node #0,0: 49:[14, 28, 7] Operation: 98/14=7
Moving to Node #0,0
Current State: 49:[14, 28, 7], Operations: ['98/14=7']
Exploring Operation: 14+28=42, Resulting Numbers: [7, 42]
Generated Node #0,0,2: 49:[7, 42] Operation: 14+28=42
Moving to Node #0,0,2
Current State: 49:[7, 42], Operations: ['98/14=7', '14+28=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
4,
45,
31,
43
] | 24 | [
"45+31=76",
"76/4=19",
"43-19=24"
] | Current State: 24:[4, 45, 31, 43], Operations: []
Exploring Operation: 45+31=76, Resulting Numbers: [4, 43, 76]
Generated Node #2: [4, 43, 76] from Operation: 45+31=76
Current State: 24:[4, 43, 76], Operations: ['45+31=76']
Exploring Operation: 76/4=19, Resulting Numbers: [43, 19]
Generated Node #3: [43, 19] from Operation: 76/4=19
Current State: 24:[43, 19], Operations: ['45+31=76', '76/4=19']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[4, 45, 31, 43], Operations: []
Exploring Operation: 45-31=14, Resulting Numbers: [4, 43, 14]
Generated Node #0,0: 24:[4, 43, 14] Operation: 45-31=14
Exploring Operation: 45-43=2, Resulting Numbers: [4, 31, 2]
Generated Node #0,1: 24:[4, 31, 2] Operation: 45-43=2
Moving to Node #0,1
Current State: 24:[4, 31, 2], Operations: ['45-43=2']
Exploring Operation: 31-4=27, Resulting Numbers: [2, 27]
Generated Node #0,1,0: 24:[2, 27] Operation: 31-4=27
Exploring Operation: 31-2=29, Resulting Numbers: [4, 29]
Generated Node #0,1,1: 24:[4, 29] Operation: 31-2=29
Moving to Node #0,0
Current State: 24:[4, 43, 14], Operations: ['45-31=14']
Exploring Operation: 43-14=29, Resulting Numbers: [4, 29]
Generated Node #0,0,0: 24:[4, 29] Operation: 43-14=29
Exploring Operation: 43-4=39, Resulting Numbers: [14, 39]
Generated Node #0,0,1: 24:[14, 39] Operation: 43-4=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[4, 29], Operations: ['45-31=14', '43-14=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[14, 39], Operations: ['45-31=14', '43-4=39']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,24 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: 24:[2, 27], Operations: ['45-43=2', '31-4=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,24 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[4, 29], Operations: ['45-43=2', '31-2=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,24 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
88,
62,
38,
66
] | 16 | [
"66-62=4",
"88/4=22",
"38-22=16"
] | Current State: 16:[88, 62, 38, 66], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [88, 38, 4]
Generated Node #2: [88, 38, 4] from Operation: 66-62=4
Current State: 16:[88, 38, 4], Operations: ['66-62=4']
Exploring Operation: 88/4=22, Resulting Numbers: [38, 22]
Generated Node #3: [38, 22] from Operation: 88/4=22
Current State: 16:[38, 22], Operations: ['66-62=4', '88/4=22']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[88, 62, 38, 66], Operations: []
Exploring Operation: 88-66=22, Resulting Numbers: [62, 38, 22]
Generated Node #0,0: 16:[62, 38, 22] Operation: 88-66=22
Exploring Operation: 66-62=4, Resulting Numbers: [88, 38, 4]
Generated Node #0,1: 16:[88, 38, 4] Operation: 66-62=4
Exploring Operation: 88-62=26, Resulting Numbers: [38, 66, 26]
Generated Node #0,2: 16:[38, 66, 26] Operation: 88-62=26
Moving to Node #0,0
Current State: 16:[62, 38, 22], Operations: ['88-66=22']
Exploring Operation: 38-22=16, Resulting Numbers: [62, 16]
Generated Node #0,0,0: 16:[62, 16] Operation: 38-22=16
Exploring Operation: 62-38=24, Resulting Numbers: [22, 24]
Generated Node #0,0,1: 16:[22, 24] Operation: 62-38=24
Exploring Operation: 62-22=40, Resulting Numbers: [38, 40]
Generated Node #0,0,2: 16:[38, 40] Operation: 62-22=40
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[22, 24], Operations: ['88-66=22', '62-38=24']
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 22*24=528, Resulting Numbers: [528]
528,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[62, 16], Operations: ['88-66=22', '38-22=16']
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,16 unequal: No Solution
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,16 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[38, 40], Operations: ['88-66=22', '62-22=40']
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,16 unequal: No Solution
Exploring Operation: 38*40=1520, Resulting Numbers: [1520]
1520,16 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: 16:[38, 66, 26], Operations: ['88-62=26']
Exploring Operation: 38-26=12, Resulting Numbers: [66, 12]
Generated Node #0,2,0: 16:[66, 12] Operation: 38-26=12
Exploring Operation: 66-38=28, Resulting Numbers: [26, 28]
Generated Node #0,2,1: 16:[26, 28] Operation: 66-38=28
Exploring Operation: 66-26=40, Resulting Numbers: [38, 40]
Generated Node #0,2,2: 16:[38, 40] Operation: 66-26=40
Moving to Node #0,1
Current State: 16:[88, 38, 4], Operations: ['66-62=4']
Exploring Operation: 88-4=84, Resulting Numbers: [38, 84]
Generated Node #0,1,0: 16:[38, 84] Operation: 88-4=84
Exploring Operation: 88/4=22, Resulting Numbers: [38, 22]
Generated Node #0,1,1: 16:[38, 22] Operation: 88/4=22
Exploring Operation: 88-38=50, Resulting Numbers: [4, 50]
Generated Node #0,1,2: 16:[4, 50] Operation: 88-38=50
Moving to Node #0,2,1
Current State: 16:[26, 28], Operations: ['88-62=26', '66-38=28']
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,16 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[38, 22], Operations: ['66-62=4', '88/4=22']
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,16 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[88, 62, 38, 66], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [88, 38, 4]
Generated Node #0,1: 16:[88, 38, 4] Operation: 66-62=4
Moving to Node #0,1
Current State: 16:[88, 38, 4], Operations: ['66-62=4']
Exploring Operation: 88/4=22, Resulting Numbers: [38, 22]
Generated Node #0,1,1: 16:[38, 22] Operation: 88/4=22
Moving to Node #0,1,1
Current State: 16:[38, 22], Operations: ['66-62=4', '88/4=22']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.97309 | hs_3 | mult_heuristic |
[
71,
95,
68,
38
] | 60 | [
"71+95=166",
"68+38=106",
"166-106=60"
] | Current State: 60:[71, 95, 68, 38], Operations: []
Exploring Operation: 71+95=166, Resulting Numbers: [68, 38, 166]
Generated Node #2: [68, 38, 166] from Operation: 71+95=166
Current State: 60:[68, 38, 166], Operations: ['71+95=166']
Exploring Operation: 68+38=106, Resulting Numbers: [166, 106]
Generated Node #3: [166, 106] from Operation: 68+38=106
Current State: 60:[166, 106], Operations: ['71+95=166', '68+38=106']
Exploring Operation: 166-106=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[71, 95, 68, 38], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [68, 38, 24]
Generated Node #0,0: 60:[68, 38, 24] Operation: 95-71=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[68, 38, 24], Operations: ['95-71=24']
Exploring Operation: 68-38=30, Resulting Numbers: [24, 30]
Generated Node #0,0,0: 60:[24, 30] Operation: 68-38=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[24, 30], Operations: ['95-71=24', '68-38=30']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
74,
16,
68,
70
] | 13 | [
"74-70=4",
"68-16=52",
"52/4=13"
] | Current State: 13:[74, 16, 68, 70], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [16, 68, 4]
Generated Node #2: [16, 68, 4] from Operation: 74-70=4
Current State: 13:[16, 68, 4], Operations: ['74-70=4']
Exploring Operation: 68-16=52, Resulting Numbers: [4, 52]
Generated Node #3: [4, 52] from Operation: 68-16=52
Current State: 13:[4, 52], Operations: ['74-70=4', '68-16=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[74, 16, 68, 70], Operations: []
Exploring Operation: 74-16=58, Resulting Numbers: [68, 70, 58]
Generated Node #0,0: 13:[68, 70, 58] Operation: 74-16=58
Exploring Operation: 74-70=4, Resulting Numbers: [16, 68, 4]
Generated Node #0,1: 13:[16, 68, 4] Operation: 74-70=4
Exploring Operation: 70-68=2, Resulting Numbers: [74, 16, 2]
Generated Node #0,2: 13:[74, 16, 2] Operation: 70-68=2
Exploring Operation: 74-68=6, Resulting Numbers: [16, 70, 6]
Generated Node #0,3: 13:[16, 70, 6] Operation: 74-68=6
Moving to Node #0,1
Current State: 13:[16, 68, 4], Operations: ['74-70=4']
Exploring Operation: 68-4=64, Resulting Numbers: [16, 64]
Generated Node #0,1,0: 13:[16, 64] Operation: 68-4=64
Exploring Operation: 16-4=12, Resulting Numbers: [68, 12]
Generated Node #0,1,1: 13:[68, 12] Operation: 16-4=12
Exploring Operation: 68/4=17, Resulting Numbers: [16, 17]
Generated Node #0,1,2: 13:[16, 17] Operation: 68/4=17
Exploring Operation: 68-16=52, Resulting Numbers: [4, 52]
Generated Node #0,1,3: 13:[4, 52] Operation: 68-16=52
Moving to Node #0,3
Current State: 13:[16, 70, 6], Operations: ['74-68=6']
Exploring Operation: 70-6=64, Resulting Numbers: [16, 64]
Generated Node #0,3,0: 13:[16, 64] Operation: 70-6=64
Exploring Operation: 70-16=54, Resulting Numbers: [6, 54]
Generated Node #0,3,1: 13:[6, 54] Operation: 70-16=54
Exploring Operation: 16+6=22, Resulting Numbers: [70, 22]
Generated Node #0,3,2: 13:[70, 22] Operation: 16+6=22
Exploring Operation: 16-6=10, Resulting Numbers: [70, 10]
Generated Node #0,3,3: 13:[70, 10] Operation: 16-6=10
Moving to Node #0,2
Current State: 13:[74, 16, 2], Operations: ['70-68=2']
Exploring Operation: 74-16=58, Resulting Numbers: [2, 58]
Generated Node #0,2,0: 13:[2, 58] Operation: 74-16=58
Exploring Operation: 74/2=37, Resulting Numbers: [16, 37]
Generated Node #0,2,1: 13:[16, 37] Operation: 74/2=37
Exploring Operation: 16-2=14, Resulting Numbers: [74, 14]
Generated Node #0,2,2: 13:[74, 14] Operation: 16-2=14
Exploring Operation: 74-2=72, Resulting Numbers: [16, 72]
Generated Node #0,2,3: 13:[16, 72] Operation: 74-2=72
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[16, 37], Operations: ['70-68=2', '74/2=37']
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,13 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[2, 58], Operations: ['70-68=2', '74-16=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[74, 14], Operations: ['70-68=2', '16-2=14']
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,13 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[16, 72], Operations: ['70-68=2', '74-2=72']
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,13 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 13:[68, 70, 58], Operations: ['74-16=58']
Exploring Operation: 68+70=138, Resulting Numbers: [58, 138]
Generated Node #0,0,0: 13:[58, 138] Operation: 68+70=138
Exploring Operation: 70-58=12, Resulting Numbers: [68, 12]
Generated Node #0,0,1: 13:[68, 12] Operation: 70-58=12
Exploring Operation: 68-58=10, Resulting Numbers: [70, 10]
Generated Node #0,0,2: 13:[70, 10] Operation: 68-58=10
Exploring Operation: 70-68=2, Resulting Numbers: [58, 2]
Generated Node #0,0,3: 13:[58, 2] Operation: 70-68=2
Moving to Node #0,1,2
Current State: 13:[16, 17], Operations: ['74-70=4', '68/4=17']
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,13 unequal: No Solution
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[4, 52], Operations: ['74-70=4', '68-16=52']
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,13 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[74, 16, 68, 70], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [16, 68, 4]
Generated Node #0,1: 13:[16, 68, 4] Operation: 74-70=4
Moving to Node #0,1
Current State: 13:[16, 68, 4], Operations: ['74-70=4']
Exploring Operation: 68-16=52, Resulting Numbers: [4, 52]
Generated Node #0,1,3: 13:[4, 52] Operation: 68-16=52
Moving to Node #0,1,3
Current State: 13:[4, 52], Operations: ['74-70=4', '68-16=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.962674 | hs_4 | sum_heuristic |
[
66,
33,
91,
74
] | 15 | [
"66/33=2",
"91-74=17",
"17-2=15"
] | Current State: 15:[66, 33, 91, 74], Operations: []
Exploring Operation: 66/33=2, Resulting Numbers: [91, 74, 2]
Generated Node #2: [91, 74, 2] from Operation: 66/33=2
Current State: 15:[91, 74, 2], Operations: ['66/33=2']
Exploring Operation: 91-74=17, Resulting Numbers: [2, 17]
Generated Node #3: [2, 17] from Operation: 91-74=17
Current State: 15:[2, 17], Operations: ['66/33=2', '91-74=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[66, 33, 91, 74], Operations: []
Exploring Operation: 74-66=8, Resulting Numbers: [33, 91, 8]
Generated Node #0,0: 15:[33, 91, 8] Operation: 74-66=8
Exploring Operation: 91-66=25, Resulting Numbers: [33, 74, 25]
Generated Node #0,1: 15:[33, 74, 25] Operation: 91-66=25
Exploring Operation: 66/33=2, Resulting Numbers: [91, 74, 2]
Generated Node #0,2: 15:[91, 74, 2] Operation: 66/33=2
Exploring Operation: 91-74=17, Resulting Numbers: [66, 33, 17]
Generated Node #0,3: 15:[66, 33, 17] Operation: 91-74=17
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[66, 33, 17], Operations: ['91-74=17']
Exploring Operation: 66-17=49, Resulting Numbers: [33, 49]
Generated Node #0,3,0: 15:[33, 49] Operation: 66-17=49
Exploring Operation: 33-17=16, Resulting Numbers: [66, 16]
Generated Node #0,3,1: 15:[66, 16] Operation: 33-17=16
Exploring Operation: 66/33=2, Resulting Numbers: [17, 2]
Generated Node #0,3,2: 15:[17, 2] Operation: 66/33=2
Exploring Operation: 66-33=33, Resulting Numbers: [17, 33]
Generated Node #0,3,3: 15:[17, 33] Operation: 66-33=33
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 15:[17, 2], Operations: ['91-74=17', '66/33=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[66, 33, 91, 74], Operations: []
Exploring Operation: 91-74=17, Resulting Numbers: [66, 33, 17]
Generated Node #0,3: 15:[66, 33, 17] Operation: 91-74=17
Moving to Node #0,3
Current State: 15:[66, 33, 17], Operations: ['91-74=17']
Exploring Operation: 66/33=2, Resulting Numbers: [17, 2]
Generated Node #0,3,2: 15:[17, 2] Operation: 66/33=2
Moving to Node #0,3,2
Current State: 15:[17, 2], Operations: ['91-74=17', '66/33=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
87,
28,
32,
91
] | 25 | [
"91-87=4",
"28/4=7",
"32-7=25"
] | Current State: 25:[87, 28, 32, 91], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [28, 32, 4]
Generated Node #2: [28, 32, 4] from Operation: 91-87=4
Current State: 25:[28, 32, 4], Operations: ['91-87=4']
Exploring Operation: 28/4=7, Resulting Numbers: [32, 7]
Generated Node #3: [32, 7] from Operation: 28/4=7
Current State: 25:[32, 7], Operations: ['91-87=4', '28/4=7']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[87, 28, 32, 91], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [28, 32, 4]
Generated Node #0,0: 25:[28, 32, 4] Operation: 91-87=4
Exploring Operation: 87-32=55, Resulting Numbers: [28, 91, 55]
Generated Node #0,1: 25:[28, 91, 55] Operation: 87-32=55
Moving to Node #0,0
Current State: 25:[28, 32, 4], Operations: ['91-87=4']
Exploring Operation: 32-28=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 25:[4, 4] Operation: 32-28=4
Exploring Operation: 32-4=28, Resulting Numbers: [28, 28]
Generated Node #0,0,1: 25:[28, 28] Operation: 32-4=28
Moving to Node #0,1
Current State: 25:[28, 91, 55], Operations: ['87-32=55']
Exploring Operation: 91-28=63, Resulting Numbers: [55, 63]
Generated Node #0,1,0: 25:[55, 63] Operation: 91-28=63
Exploring Operation: 91-55=36, Resulting Numbers: [28, 36]
Generated Node #0,1,1: 25:[28, 36] Operation: 91-55=36
Moving to Node #0,0,0
Current State: 25:[4, 4], Operations: ['91-87=4', '32-28=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[28, 28], Operations: ['91-87=4', '32-4=28']
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[28, 36], Operations: ['87-32=55', '91-55=36']
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[55, 63], Operations: ['87-32=55', '91-28=63']
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 55+63=118, Resulting Numbers: [118]
118,25 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
80,
32,
97,
2
] | 81 | [
"97-80=17",
"32*2=64",
"17+64=81"
] | Current State: 81:[80, 32, 97, 2], Operations: []
Exploring Operation: 97-80=17, Resulting Numbers: [32, 2, 17]
Generated Node #2: [32, 2, 17] from Operation: 97-80=17
Current State: 81:[32, 2, 17], Operations: ['97-80=17']
Exploring Operation: 32*2=64, Resulting Numbers: [17, 64]
Generated Node #3: [17, 64] from Operation: 32*2=64
Current State: 81:[17, 64], Operations: ['97-80=17', '32*2=64']
Exploring Operation: 17+64=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[80, 32, 97, 2], Operations: []
Exploring Operation: 97-2=95, Resulting Numbers: [80, 32, 95]
Generated Node #0,0: 81:[80, 32, 95] Operation: 97-2=95
Exploring Operation: 97-32=65, Resulting Numbers: [80, 2, 65]
Generated Node #0,1: 81:[80, 2, 65] Operation: 97-32=65
Exploring Operation: 32-2=30, Resulting Numbers: [80, 97, 30]
Generated Node #0,2: 81:[80, 97, 30] Operation: 32-2=30
Exploring Operation: 97-80=17, Resulting Numbers: [32, 2, 17]
Generated Node #0,3: 81:[32, 2, 17] Operation: 97-80=17
Moving to Node #0,3
Current State: 81:[32, 2, 17], Operations: ['97-80=17']
Exploring Operation: 17-2=15, Resulting Numbers: [32, 15]
Generated Node #0,3,0: 81:[32, 15] Operation: 17-2=15
Exploring Operation: 32-17=15, Resulting Numbers: [2, 15]
Generated Node #0,3,1: 81:[2, 15] Operation: 32-17=15
Exploring Operation: 2*17=34, Resulting Numbers: [32, 34]
Generated Node #0,3,2: 81:[32, 34] Operation: 2*17=34
Exploring Operation: 32-2=30, Resulting Numbers: [17, 30]
Generated Node #0,3,3: 81:[17, 30] Operation: 32-2=30
Moving to Node #0,1
Current State: 81:[80, 2, 65], Operations: ['97-32=65']
Exploring Operation: 80+2=82, Resulting Numbers: [65, 82]
Generated Node #0,1,0: 81:[65, 82] Operation: 80+2=82
Exploring Operation: 80-65=15, Resulting Numbers: [2, 15]
Generated Node #0,1,1: 81:[2, 15] Operation: 80-65=15
Exploring Operation: 80-2=78, Resulting Numbers: [65, 78]
Generated Node #0,1,2: 81:[65, 78] Operation: 80-2=78
Exploring Operation: 2+65=67, Resulting Numbers: [80, 67]
Generated Node #0,1,3: 81:[80, 67] Operation: 2+65=67
Moving to Node #0,2
Current State: 81:[80, 97, 30], Operations: ['32-2=30']
Exploring Operation: 80+30=110, Resulting Numbers: [97, 110]
Generated Node #0,2,0: 81:[97, 110] Operation: 80+30=110
Exploring Operation: 97-30=67, Resulting Numbers: [80, 67]
Generated Node #0,2,1: 81:[80, 67] Operation: 97-30=67
Exploring Operation: 97-80=17, Resulting Numbers: [30, 17]
Generated Node #0,2,2: 81:[30, 17] Operation: 97-80=17
Exploring Operation: 80-30=50, Resulting Numbers: [97, 50]
Generated Node #0,2,3: 81:[97, 50] Operation: 80-30=50
Moving to Node #0,0
Current State: 81:[80, 32, 95], Operations: ['97-2=95']
Exploring Operation: 80-32=48, Resulting Numbers: [95, 48]
Generated Node #0,0,0: 81:[95, 48] Operation: 80-32=48
Exploring Operation: 95-32=63, Resulting Numbers: [80, 63]
Generated Node #0,0,1: 81:[80, 63] Operation: 95-32=63
Exploring Operation: 80+32=112, Resulting Numbers: [95, 112]
Generated Node #0,0,2: 81:[95, 112] Operation: 80+32=112
Exploring Operation: 95-80=15, Resulting Numbers: [32, 15]
Generated Node #0,0,3: 81:[32, 15] Operation: 95-80=15
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[32, 15], Operations: ['97-2=95', '95-80=15']
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,81 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[80, 63], Operations: ['97-2=95', '95-32=63']
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 80*63=5040, Resulting Numbers: [5040]
5040,81 unequal: No Solution
Exploring Operation: 80+63=143, Resulting Numbers: [143]
143,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,0,0
Current State: 81:[95, 48], Operations: ['97-2=95', '80-32=48']
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 95*48=4560, Resulting Numbers: [4560]
4560,81 unequal: No Solution
Exploring Operation: 95+48=143, Resulting Numbers: [143]
143,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,0,2
Current State: 81:[95, 112], Operations: ['97-2=95', '80+32=112']
Exploring Operation: 95+112=207, Resulting Numbers: [207]
207,81 unequal: No Solution
Exploring Operation: 112-95=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 95*112=10640, Resulting Numbers: [10640]
10640,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 81:[2, 15], Operations: ['97-80=17', '32-17=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[2, 15], Operations: ['97-32=65', '80-65=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[17, 30], Operations: ['97-80=17', '32-2=30']
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[32, 15], Operations: ['97-80=17', '17-2=15']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[30, 17], Operations: ['32-2=30', '97-80=17']
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,81 unequal: No Solution
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[32, 34], Operations: ['97-80=17', '2*17=34']
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,81 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[80, 67], Operations: ['97-32=65', '2+65=67']
Exploring Operation: 80*67=5360, Resulting Numbers: [5360]
5360,81 unequal: No Solution
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 80+67=147, Resulting Numbers: [147]
147,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[80, 67], Operations: ['32-2=30', '97-30=67']
Exploring Operation: 80+67=147, Resulting Numbers: [147]
147,81 unequal: No Solution
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 80*67=5360, Resulting Numbers: [5360]
5360,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[65, 82], Operations: ['97-32=65', '80+2=82']
Exploring Operation: 65+82=147, Resulting Numbers: [147]
147,81 unequal: No Solution
Exploring Operation: 65*82=5330, Resulting Numbers: [5330]
5330,81 unequal: No Solution
Exploring Operation: 82-65=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[65, 78], Operations: ['97-32=65', '80-2=78']
Exploring Operation: 65*78=5070, Resulting Numbers: [5070]
5070,81 unequal: No Solution
Exploring Operation: 65+78=143, Resulting Numbers: [143]
143,81 unequal: No Solution
Exploring Operation: 78-65=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[97, 50], Operations: ['32-2=30', '80-30=50']
Exploring Operation: 97+50=147, Resulting Numbers: [147]
147,81 unequal: No Solution
Exploring Operation: 97*50=4850, Resulting Numbers: [4850]
4850,81 unequal: No Solution
Exploring Operation: 97-50=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[97, 110], Operations: ['32-2=30', '80+30=110']
Exploring Operation: 97*110=10670, Resulting Numbers: [10670]
10670,81 unequal: No Solution
Exploring Operation: 110-97=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 97+110=207, Resulting Numbers: [207]
207,81 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
53,
45,
6,
45
] | 38 | [
"45+45=90",
"90/6=15",
"53-15=38"
] | Current State: 38:[53, 45, 6, 45], Operations: []
Exploring Operation: 45+45=90, Resulting Numbers: [53, 6, 90]
Generated Node #2: [53, 6, 90] from Operation: 45+45=90
Current State: 38:[53, 6, 90], Operations: ['45+45=90']
Exploring Operation: 90/6=15, Resulting Numbers: [53, 15]
Generated Node #3: [53, 15] from Operation: 90/6=15
Current State: 38:[53, 15], Operations: ['45+45=90', '90/6=15']
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[53, 45, 6, 45], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [6, 45, 8]
Generated Node #0,0: 38:[6, 45, 8] Operation: 53-45=8
Moving to Node #0,0
Current State: 38:[6, 45, 8], Operations: ['53-45=8']
Exploring Operation: 45-8=37, Resulting Numbers: [6, 37]
Generated Node #0,0,0: 38:[6, 37] Operation: 45-8=37
Moving to Node #0,0,0
Current State: 38:[6, 37], Operations: ['53-45=8', '45-8=37']
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,38 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
74,
88,
85,
59
] | 51 | [
"85-74=11",
"88/11=8",
"59-8=51"
] | Current State: 51:[74, 88, 85, 59], Operations: []
Exploring Operation: 85-74=11, Resulting Numbers: [88, 59, 11]
Generated Node #2: [88, 59, 11] from Operation: 85-74=11
Current State: 51:[88, 59, 11], Operations: ['85-74=11']
Exploring Operation: 88/11=8, Resulting Numbers: [59, 8]
Generated Node #3: [59, 8] from Operation: 88/11=8
Current State: 51:[59, 8], Operations: ['85-74=11', '88/11=8']
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[74, 88, 85, 59], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [74, 59, 3]
Generated Node #0,0: 51:[74, 59, 3] Operation: 88-85=3
Exploring Operation: 88-74=14, Resulting Numbers: [85, 59, 14]
Generated Node #0,1: 51:[85, 59, 14] Operation: 88-74=14
Moving to Node #0,0
Current State: 51:[74, 59, 3], Operations: ['88-85=3']
Exploring Operation: 74-3=71, Resulting Numbers: [59, 71]
Generated Node #0,0,0: 51:[59, 71] Operation: 74-3=71
Exploring Operation: 74-59=15, Resulting Numbers: [3, 15]
Generated Node #0,0,1: 51:[3, 15] Operation: 74-59=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[3, 15], Operations: ['88-85=3', '74-59=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[59, 71], Operations: ['88-85=3', '74-3=71']
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 59+71=130, Resulting Numbers: [130]
130,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:[85, 59, 14], Operations: ['88-74=14']
Exploring Operation: 85-14=71, Resulting Numbers: [59, 71]
Generated Node #0,1,0: 51:[59, 71] Operation: 85-14=71
Exploring Operation: 85-59=26, Resulting Numbers: [14, 26]
Generated Node #0,1,1: 51:[14, 26] Operation: 85-59=26
Moving to Node #0,1,1
Current State: 51:[14, 26], Operations: ['88-74=14', '85-59=26']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[59, 71], Operations: ['88-74=14', '85-14=71']
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 59+71=130, Resulting Numbers: [130]
130,51 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
37,
97,
20
] | 95 | [
"37-20=17",
"34/17=2",
"97-2=95"
] | Current State: 95:[34, 37, 97, 20], Operations: []
Exploring Operation: 37-20=17, Resulting Numbers: [34, 97, 17]
Generated Node #2: [34, 97, 17] from Operation: 37-20=17
Current State: 95:[34, 97, 17], Operations: ['37-20=17']
Exploring Operation: 34/17=2, Resulting Numbers: [97, 2]
Generated Node #3: [97, 2] from Operation: 34/17=2
Current State: 95:[97, 2], Operations: ['37-20=17', '34/17=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[34, 37, 97, 20], Operations: []
Exploring Operation: 34+37=71, Resulting Numbers: [97, 20, 71]
Generated Node #0,0: 95:[97, 20, 71] Operation: 34+37=71
Exploring Operation: 34-20=14, Resulting Numbers: [37, 97, 14]
Generated Node #0,1: 95:[37, 97, 14] Operation: 34-20=14
Exploring Operation: 37-34=3, Resulting Numbers: [97, 20, 3]
Generated Node #0,2: 95:[97, 20, 3] Operation: 37-34=3
Exploring Operation: 37-20=17, Resulting Numbers: [34, 97, 17]
Generated Node #0,3: 95:[34, 97, 17] Operation: 37-20=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[97, 20, 3], Operations: ['37-34=3']
Exploring Operation: 20+3=23, Resulting Numbers: [97, 23]
Generated Node #0,2,0: 95:[97, 23] Operation: 20+3=23
Exploring Operation: 97+3=100, Resulting Numbers: [20, 100]
Generated Node #0,2,1: 95:[20, 100] Operation: 97+3=100
Exploring Operation: 20-3=17, Resulting Numbers: [97, 17]
Generated Node #0,2,2: 95:[97, 17] Operation: 20-3=17
Exploring Operation: 97-3=94, Resulting Numbers: [20, 94]
Generated Node #0,2,3: 95:[20, 94] Operation: 97-3=94
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 95:[20, 94], Operations: ['37-34=3', '97-3=94']
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Exploring Operation: 20*94=1880, Resulting Numbers: [1880]
1880,95 unequal: No Solution
Exploring Operation: 20+94=114, Resulting Numbers: [114]
114,95 unequal: No Solution
No 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: 95:[97, 17], Operations: ['37-34=3', '20-3=17']
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Exploring Operation: 97+17=114, Resulting Numbers: [114]
114,95 unequal: No Solution
Exploring Operation: 97*17=1649, Resulting Numbers: [1649]
1649,95 unequal: No Solution
No 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: 95:[97, 23], Operations: ['37-34=3', '20+3=23']
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Exploring Operation: 97*23=2231, Resulting Numbers: [2231]
2231,95 unequal: No Solution
Exploring Operation: 97+23=120, Resulting Numbers: [120]
120,95 unequal: No Solution
No 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: 95:[20, 100], Operations: ['37-34=3', '97+3=100']
Exploring Operation: 20*100=2000, Resulting Numbers: [2000]
2000,95 unequal: No Solution
Exploring Operation: 100/20=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 20+100=120, Resulting Numbers: [120]
120,95 unequal: No Solution
Exploring Operation: 100-20=80, Resulting Numbers: [80]
80,95 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: 95:[34, 97, 17], Operations: ['37-20=17']
Exploring Operation: 97-34=63, Resulting Numbers: [17, 63]
Generated Node #0,3,0: 95:[17, 63] Operation: 97-34=63
Exploring Operation: 97-17=80, Resulting Numbers: [34, 80]
Generated Node #0,3,1: 95:[34, 80] Operation: 97-17=80
Exploring Operation: 34/17=2, Resulting Numbers: [97, 2]
Generated Node #0,3,2: 95:[97, 2] Operation: 34/17=2
Exploring Operation: 34-17=17, Resulting Numbers: [97, 17]
Generated Node #0,3,3: 95:[97, 17] Operation: 34-17=17
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 95:[97, 17], Operations: ['37-20=17', '34-17=17']
Exploring Operation: 97*17=1649, Resulting Numbers: [1649]
1649,95 unequal: No Solution
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Exploring Operation: 97+17=114, Resulting Numbers: [114]
114,95 unequal: No Solution
No 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: 95:[97, 2], Operations: ['37-20=17', '34/17=2']
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,95 unequal: No Solution
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,95 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[34, 37, 97, 20], Operations: []
Exploring Operation: 37-20=17, Resulting Numbers: [34, 97, 17]
Generated Node #0,3: 95:[34, 97, 17] Operation: 37-20=17
Moving to Node #0,3
Current State: 95:[34, 97, 17], Operations: ['37-20=17']
Exploring Operation: 34/17=2, Resulting Numbers: [97, 2]
Generated Node #0,3,2: 95:[97, 2] Operation: 34/17=2
Moving to Node #0,3,2
Current State: 95:[97, 2], Operations: ['37-20=17', '34/17=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
39,
94,
78,
75
] | 52 | [
"94-39=55",
"78-75=3",
"55-3=52"
] | Current State: 52:[39, 94, 78, 75], Operations: []
Exploring Operation: 94-39=55, Resulting Numbers: [78, 75, 55]
Generated Node #2: [78, 75, 55] from Operation: 94-39=55
Current State: 52:[78, 75, 55], Operations: ['94-39=55']
Exploring Operation: 78-75=3, Resulting Numbers: [55, 3]
Generated Node #3: [55, 3] from Operation: 78-75=3
Current State: 52:[55, 3], Operations: ['94-39=55', '78-75=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[39, 94, 78, 75], Operations: []
Exploring Operation: 94-78=16, Resulting Numbers: [39, 75, 16]
Generated Node #0,0: 52:[39, 75, 16] Operation: 94-78=16
Exploring Operation: 94-39=55, Resulting Numbers: [78, 75, 55]
Generated Node #0,1: 52:[78, 75, 55] Operation: 94-39=55
Exploring Operation: 94-75=19, Resulting Numbers: [39, 78, 19]
Generated Node #0,2: 52:[39, 78, 19] Operation: 94-75=19
Moving to Node #0,0
Current State: 52:[39, 75, 16], Operations: ['94-78=16']
Exploring Operation: 75-39=36, Resulting Numbers: [16, 36]
Generated Node #0,0,0: 52:[16, 36] Operation: 75-39=36
Exploring Operation: 39+16=55, Resulting Numbers: [75, 55]
Generated Node #0,0,1: 52:[75, 55] Operation: 39+16=55
Exploring Operation: 75-16=59, Resulting Numbers: [39, 59]
Generated Node #0,0,2: 52:[39, 59] Operation: 75-16=59
Moving to Node #0,2
Current State: 52:[39, 78, 19], Operations: ['94-75=19']
Exploring Operation: 78-19=59, Resulting Numbers: [39, 59]
Generated Node #0,2,0: 52:[39, 59] Operation: 78-19=59
Exploring Operation: 78-39=39, Resulting Numbers: [19, 39]
Generated Node #0,2,1: 52:[19, 39] Operation: 78-39=39
Exploring Operation: 78/39=2, Resulting Numbers: [19, 2]
Generated Node #0,2,2: 52:[19, 2] Operation: 78/39=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[19, 2], Operations: ['94-75=19', '78/39=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[19, 39], Operations: ['94-75=19', '78-39=39']
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[39, 59], Operations: ['94-75=19', '78-19=59']
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,52 unequal: No Solution
Exploring Operation: 39*59=2301, Resulting Numbers: [2301]
2301,52 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 52:[78, 75, 55], Operations: ['94-39=55']
Exploring Operation: 78-75=3, Resulting Numbers: [55, 3]
Generated Node #0,1,0: 52:[55, 3] Operation: 78-75=3
Exploring Operation: 78-55=23, Resulting Numbers: [75, 23]
Generated Node #0,1,1: 52:[75, 23] Operation: 78-55=23
Exploring Operation: 75-55=20, Resulting Numbers: [78, 20]
Generated Node #0,1,2: 52:[78, 20] Operation: 75-55=20
Moving to Node #0,1,0
Current State: 52:[55, 3], Operations: ['94-39=55', '78-75=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[39, 94, 78, 75], Operations: []
Exploring Operation: 94-39=55, Resulting Numbers: [78, 75, 55]
Generated Node #0,1: 52:[78, 75, 55] Operation: 94-39=55
Moving to Node #0,1
Current State: 52:[78, 75, 55], Operations: ['94-39=55']
Exploring Operation: 78-75=3, Resulting Numbers: [55, 3]
Generated Node #0,1,0: 52:[55, 3] Operation: 78-75=3
Moving to Node #0,1,0
Current State: 52:[55, 3], Operations: ['94-39=55', '78-75=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
17,
11,
46,
31
] | 90 | [
"17-11=6",
"46-31=15",
"6*15=90"
] | Current State: 90:[17, 11, 46, 31], Operations: []
Exploring Operation: 17-11=6, Resulting Numbers: [46, 31, 6]
Generated Node #2: [46, 31, 6] from Operation: 17-11=6
Current State: 90:[46, 31, 6], Operations: ['17-11=6']
Exploring Operation: 46-31=15, Resulting Numbers: [6, 15]
Generated Node #3: [6, 15] from Operation: 46-31=15
Current State: 90:[6, 15], Operations: ['17-11=6', '46-31=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[17, 11, 46, 31], Operations: []
Exploring Operation: 17-11=6, Resulting Numbers: [46, 31, 6]
Generated Node #0,0: 90:[46, 31, 6] Operation: 17-11=6
Exploring Operation: 46-31=15, Resulting Numbers: [17, 11, 15]
Generated Node #0,1: 90:[17, 11, 15] Operation: 46-31=15
Exploring Operation: 46-17=29, Resulting Numbers: [11, 31, 29]
Generated Node #0,2: 90:[11, 31, 29] Operation: 46-17=29
Exploring Operation: 31-17=14, Resulting Numbers: [11, 46, 14]
Generated Node #0,3: 90:[11, 46, 14] Operation: 31-17=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[46, 31, 6], Operations: ['17-11=6']
Exploring Operation: 46-6=40, Resulting Numbers: [31, 40]
Generated Node #0,0,0: 90:[31, 40] Operation: 46-6=40
Exploring Operation: 31-6=25, Resulting Numbers: [46, 25]
Generated Node #0,0,1: 90:[46, 25] Operation: 31-6=25
Exploring Operation: 46-31=15, Resulting Numbers: [6, 15]
Generated Node #0,0,2: 90:[6, 15] Operation: 46-31=15
Exploring Operation: 46+6=52, Resulting Numbers: [31, 52]
Generated Node #0,0,3: 90:[31, 52] Operation: 46+6=52
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[6, 15], Operations: ['17-11=6', '46-31=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[17, 11, 46, 31], Operations: []
Exploring Operation: 17-11=6, Resulting Numbers: [46, 31, 6]
Generated Node #0,0: 90:[46, 31, 6] Operation: 17-11=6
Moving to Node #0,0
Current State: 90:[46, 31, 6], Operations: ['17-11=6']
Exploring Operation: 46-31=15, Resulting Numbers: [6, 15]
Generated Node #0,0,2: 90:[6, 15] Operation: 46-31=15
Moving to Node #0,0,2
Current State: 90:[6, 15], Operations: ['17-11=6', '46-31=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
68,
19,
70,
96
] | 23 | [
"68-19=49",
"96-70=26",
"49-26=23"
] | Current State: 23:[68, 19, 70, 96], Operations: []
Exploring Operation: 68-19=49, Resulting Numbers: [70, 96, 49]
Generated Node #2: [70, 96, 49] from Operation: 68-19=49
Current State: 23:[70, 96, 49], Operations: ['68-19=49']
Exploring Operation: 96-70=26, Resulting Numbers: [49, 26]
Generated Node #3: [49, 26] from Operation: 96-70=26
Current State: 23:[49, 26], Operations: ['68-19=49', '96-70=26']
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[68, 19, 70, 96], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [68, 19, 26]
Generated Node #0,0: 23:[68, 19, 26] Operation: 96-70=26
Exploring Operation: 96-68=28, Resulting Numbers: [19, 70, 28]
Generated Node #0,1: 23:[19, 70, 28] Operation: 96-68=28
Moving to Node #0,0
Current State: 23:[68, 19, 26], Operations: ['96-70=26']
Exploring Operation: 68-26=42, Resulting Numbers: [19, 42]
Generated Node #0,0,0: 23:[19, 42] Operation: 68-26=42
Exploring Operation: 68-19=49, Resulting Numbers: [26, 49]
Generated Node #0,0,1: 23:[26, 49] Operation: 68-19=49
Moving to Node #0,1
Current State: 23:[19, 70, 28], Operations: ['96-68=28']
Exploring Operation: 70-28=42, Resulting Numbers: [19, 42]
Generated Node #0,1,0: 23:[19, 42] Operation: 70-28=42
Exploring Operation: 70-19=51, Resulting Numbers: [28, 51]
Generated Node #0,1,1: 23:[28, 51] Operation: 70-19=51
Moving to Node #0,0,0
Current State: 23:[19, 42], Operations: ['96-70=26', '68-26=42']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[68, 19, 70, 96], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [68, 19, 26]
Generated Node #0,0: 23:[68, 19, 26] Operation: 96-70=26
Moving to Node #0,0
Current State: 23:[68, 19, 26], Operations: ['96-70=26']
Exploring Operation: 68-26=42, Resulting Numbers: [19, 42]
Generated Node #0,0,0: 23:[19, 42] Operation: 68-26=42
Moving to Node #0,0,0
Current State: 23:[19, 42], Operations: ['96-70=26', '68-26=42']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
15,
37,
83,
14
] | 91 | [
"37-15=22",
"83-14=69",
"22+69=91"
] | Current State: 91:[15, 37, 83, 14], Operations: []
Exploring Operation: 37-15=22, Resulting Numbers: [83, 14, 22]
Generated Node #2: [83, 14, 22] from Operation: 37-15=22
Current State: 91:[83, 14, 22], Operations: ['37-15=22']
Exploring Operation: 83-14=69, Resulting Numbers: [22, 69]
Generated Node #3: [22, 69] from Operation: 83-14=69
Current State: 91:[22, 69], Operations: ['37-15=22', '83-14=69']
Exploring Operation: 22+69=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[15, 37, 83, 14], Operations: []
Exploring Operation: 37-14=23, Resulting Numbers: [15, 83, 23]
Generated Node #0,0: 91:[15, 83, 23] Operation: 37-14=23
Exploring Operation: 37-15=22, Resulting Numbers: [83, 14, 22]
Generated Node #0,1: 91:[83, 14, 22] Operation: 37-15=22
Exploring Operation: 15+83=98, Resulting Numbers: [37, 14, 98]
Generated Node #0,2: 91:[37, 14, 98] Operation: 15+83=98
Exploring Operation: 83+14=97, Resulting Numbers: [15, 37, 97]
Generated Node #0,3: 91:[15, 37, 97] Operation: 83+14=97
Exploring Operation: 37+83=120, Resulting Numbers: [15, 14, 120]
Generated Node #0,4: 91:[15, 14, 120] Operation: 37+83=120
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[83, 14, 22], Operations: ['37-15=22']
Exploring Operation: 83+22=105, Resulting Numbers: [14, 105]
Generated Node #0,1,0: 91:[14, 105] Operation: 83+22=105
Exploring Operation: 22-14=8, Resulting Numbers: [83, 8]
Generated Node #0,1,1: 91:[83, 8] Operation: 22-14=8
Exploring Operation: 83+14=97, Resulting Numbers: [22, 97]
Generated Node #0,1,2: 91:[22, 97] Operation: 83+14=97
Exploring Operation: 83-14=69, Resulting Numbers: [22, 69]
Generated Node #0,1,3: 91:[22, 69] Operation: 83-14=69
Exploring Operation: 83-22=61, Resulting Numbers: [14, 61]
Generated Node #0,1,4: 91:[14, 61] Operation: 83-22=61
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[83, 8], Operations: ['37-15=22', '22-14=8']
Exploring Operation: 83*8=664, Resulting Numbers: [664]
664,91 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[15, 37, 83, 14], Operations: []
Exploring Operation: 37-15=22, Resulting Numbers: [83, 14, 22]
Generated Node #0,1: 91:[83, 14, 22] Operation: 37-15=22
Moving to Node #0,1
Current State: 91:[83, 14, 22], Operations: ['37-15=22']
Exploring Operation: 22-14=8, Resulting Numbers: [83, 8]
Generated Node #0,1,1: 91:[83, 8] Operation: 22-14=8
Moving to Node #0,1,1
Current State: 91:[83, 8], Operations: ['37-15=22', '22-14=8']
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
62,
84,
45,
10
] | 91 | [
"62+84=146",
"45+10=55",
"146-55=91"
] | Current State: 91:[62, 84, 45, 10], Operations: []
Exploring Operation: 62+84=146, Resulting Numbers: [45, 10, 146]
Generated Node #2: [45, 10, 146] from Operation: 62+84=146
Current State: 91:[45, 10, 146], Operations: ['62+84=146']
Exploring Operation: 45+10=55, Resulting Numbers: [146, 55]
Generated Node #3: [146, 55] from Operation: 45+10=55
Current State: 91:[146, 55], Operations: ['62+84=146', '45+10=55']
Exploring Operation: 146-55=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[62, 84, 45, 10], Operations: []
Exploring Operation: 84-45=39, Resulting Numbers: [62, 10, 39]
Generated Node #0,0: 91:[62, 10, 39] Operation: 84-45=39
Exploring Operation: 62+10=72, Resulting Numbers: [84, 45, 72]
Generated Node #0,1: 91:[84, 45, 72] Operation: 62+10=72
Exploring Operation: 62-45=17, Resulting Numbers: [84, 10, 17]
Generated Node #0,2: 91:[84, 10, 17] Operation: 62-45=17
Exploring Operation: 84-62=22, Resulting Numbers: [45, 10, 22]
Generated Node #0,3: 91:[45, 10, 22] Operation: 84-62=22
Exploring Operation: 62+45=107, Resulting Numbers: [84, 10, 107]
Generated Node #0,4: 91:[84, 10, 107] Operation: 62+45=107
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[84, 10, 17], Operations: ['62-45=17']
Exploring Operation: 10+17=27, Resulting Numbers: [84, 27]
Generated Node #0,2,0: 91:[84, 27] Operation: 10+17=27
Exploring Operation: 17-10=7, Resulting Numbers: [84, 7]
Generated Node #0,2,1: 91:[84, 7] Operation: 17-10=7
Exploring Operation: 84+10=94, Resulting Numbers: [17, 94]
Generated Node #0,2,2: 91:[17, 94] Operation: 84+10=94
Exploring Operation: 84+17=101, Resulting Numbers: [10, 101]
Generated Node #0,2,3: 91:[10, 101] Operation: 84+17=101
Exploring Operation: 84-10=74, Resulting Numbers: [17, 74]
Generated Node #0,2,4: 91:[17, 74] Operation: 84-10=74
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[84, 7], Operations: ['62-45=17', '17-10=7']
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,91 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[62, 84, 45, 10], Operations: []
Exploring Operation: 62-45=17, Resulting Numbers: [84, 10, 17]
Generated Node #0,2: 91:[84, 10, 17] Operation: 62-45=17
Moving to Node #0,2
Current State: 91:[84, 10, 17], Operations: ['62-45=17']
Exploring Operation: 17-10=7, Resulting Numbers: [84, 7]
Generated Node #0,2,1: 91:[84, 7] Operation: 17-10=7
Moving to Node #0,2,1
Current State: 91:[84, 7], Operations: ['62-45=17', '17-10=7']
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
24,
38,
66,
51
] | 47 | [
"24+38=62",
"66-51=15",
"62-15=47"
] | Current State: 47:[24, 38, 66, 51], Operations: []
Exploring Operation: 24+38=62, Resulting Numbers: [66, 51, 62]
Generated Node #2: [66, 51, 62] from Operation: 24+38=62
Current State: 47:[66, 51, 62], Operations: ['24+38=62']
Exploring Operation: 66-51=15, Resulting Numbers: [62, 15]
Generated Node #3: [62, 15] from Operation: 66-51=15
Current State: 47:[62, 15], Operations: ['24+38=62', '66-51=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[24, 38, 66, 51], Operations: []
Exploring Operation: 66-24=42, Resulting Numbers: [38, 51, 42]
Generated Node #0,0: 47:[38, 51, 42] Operation: 66-24=42
Exploring Operation: 24+38=62, Resulting Numbers: [66, 51, 62]
Generated Node #0,1: 47:[66, 51, 62] Operation: 24+38=62
Exploring Operation: 51-24=27, Resulting Numbers: [38, 66, 27]
Generated Node #0,2: 47:[38, 66, 27] Operation: 51-24=27
Exploring Operation: 66-38=28, Resulting Numbers: [24, 51, 28]
Generated Node #0,3: 47:[24, 51, 28] Operation: 66-38=28
Moving to Node #0,0
Current State: 47:[38, 51, 42], Operations: ['66-24=42']
Exploring Operation: 51-38=13, Resulting Numbers: [42, 13]
Generated Node #0,0,0: 47:[42, 13] Operation: 51-38=13
Exploring Operation: 38+42=80, Resulting Numbers: [51, 80]
Generated Node #0,0,1: 47:[51, 80] Operation: 38+42=80
Exploring Operation: 42-38=4, Resulting Numbers: [51, 4]
Generated Node #0,0,2: 47:[51, 4] Operation: 42-38=4
Exploring Operation: 38+51=89, Resulting Numbers: [42, 89]
Generated Node #0,0,3: 47:[42, 89] Operation: 38+51=89
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[51, 80], Operations: ['66-24=42', '38+42=80']
Exploring Operation: 51*80=4080, Resulting Numbers: [4080]
4080,47 unequal: No Solution
Exploring Operation: 51+80=131, Resulting Numbers: [131]
131,47 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[42, 13], Operations: ['66-24=42', '51-38=13']
Exploring Operation: 42*13=546, Resulting Numbers: [546]
546,47 unequal: No Solution
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[51, 4], Operations: ['66-24=42', '42-38=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,47 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[24, 38, 66, 51], Operations: []
Exploring Operation: 66-24=42, Resulting Numbers: [38, 51, 42]
Generated Node #0,0: 47:[38, 51, 42] Operation: 66-24=42
Moving to Node #0,0
Current State: 47:[38, 51, 42], Operations: ['66-24=42']
Exploring Operation: 42-38=4, Resulting Numbers: [51, 4]
Generated Node #0,0,2: 47:[51, 4] Operation: 42-38=4
Moving to Node #0,0,2
Current State: 47:[51, 4], Operations: ['66-24=42', '42-38=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
10,
80,
91,
37
] | 73 | [
"91-80=11",
"10*11=110",
"110-37=73"
] | Current State: 73:[10, 80, 91, 37], Operations: []
Exploring Operation: 91-80=11, Resulting Numbers: [10, 37, 11]
Generated Node #2: [10, 37, 11] from Operation: 91-80=11
Current State: 73:[10, 37, 11], Operations: ['91-80=11']
Exploring Operation: 10*11=110, Resulting Numbers: [37, 110]
Generated Node #3: [37, 110] from Operation: 10*11=110
Current State: 73:[37, 110], Operations: ['91-80=11', '10*11=110']
Exploring Operation: 110-37=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[10, 80, 91, 37], Operations: []
Exploring Operation: 10+37=47, Resulting Numbers: [80, 91, 47]
Generated Node #0,0: 73:[80, 91, 47] Operation: 10+37=47
Exploring Operation: 91-10=81, Resulting Numbers: [80, 37, 81]
Generated Node #0,1: 73:[80, 37, 81] Operation: 91-10=81
Moving to Node #0,0
Current State: 73:[80, 91, 47], Operations: ['10+37=47']
Exploring Operation: 80-47=33, Resulting Numbers: [91, 33]
Generated Node #0,0,0: 73:[91, 33] Operation: 80-47=33
Exploring Operation: 91-47=44, Resulting Numbers: [80, 44]
Generated Node #0,0,1: 73:[80, 44] Operation: 91-47=44
Moving to Node #0,1
Current State: 73:[80, 37, 81], Operations: ['91-10=81']
Exploring Operation: 80-37=43, Resulting Numbers: [81, 43]
Generated Node #0,1,0: 73:[81, 43] Operation: 80-37=43
Exploring Operation: 81-37=44, Resulting Numbers: [80, 44]
Generated Node #0,1,1: 73:[80, 44] Operation: 81-37=44
Moving to Node #0,0,1
Current State: 73:[80, 44], Operations: ['10+37=47', '91-47=44']
Exploring Operation: 80+44=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 80-44=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[80, 44], Operations: ['91-10=81', '81-37=44']
Exploring Operation: 80+44=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 80-44=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[81, 43], Operations: ['91-10=81', '80-37=43']
Exploring Operation: 81+43=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 81-43=38, Resulting Numbers: [38]
38,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[91, 33], Operations: ['10+37=47', '80-47=33']
Exploring Operation: 91+33=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,73 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
33,
12,
73,
55
] | 51 | [
"12+73=85",
"33*85=2805",
"2805/55=51"
] | Current State: 51:[33, 12, 73, 55], Operations: []
Exploring Operation: 12+73=85, Resulting Numbers: [33, 55, 85]
Generated Node #2: [33, 55, 85] from Operation: 12+73=85
Current State: 51:[33, 55, 85], Operations: ['12+73=85']
Exploring Operation: 33*85=2805, Resulting Numbers: [55, 2805]
Generated Node #3: [55, 2805] from Operation: 33*85=2805
Current State: 51:[55, 2805], Operations: ['12+73=85', '33*85=2805']
Exploring Operation: 2805/55=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[33, 12, 73, 55], Operations: []
Exploring Operation: 73-12=61, Resulting Numbers: [33, 55, 61]
Generated Node #0,0: 51:[33, 55, 61] Operation: 73-12=61
Exploring Operation: 33-12=21, Resulting Numbers: [73, 55, 21]
Generated Node #0,1: 51:[73, 55, 21] Operation: 33-12=21
Exploring Operation: 73-33=40, Resulting Numbers: [12, 55, 40]
Generated Node #0,2: 51:[12, 55, 40] Operation: 73-33=40
Exploring Operation: 73-55=18, Resulting Numbers: [33, 12, 18]
Generated Node #0,3: 51:[33, 12, 18] Operation: 73-55=18
Moving to Node #0,2
Current State: 51:[12, 55, 40], Operations: ['73-33=40']
Exploring Operation: 12+40=52, Resulting Numbers: [55, 52]
Generated Node #0,2,0: 51:[55, 52] Operation: 12+40=52
Exploring Operation: 55-40=15, Resulting Numbers: [12, 15]
Generated Node #0,2,1: 51:[12, 15] Operation: 55-40=15
Exploring Operation: 40-12=28, Resulting Numbers: [55, 28]
Generated Node #0,2,2: 51:[55, 28] Operation: 40-12=28
Exploring Operation: 55-12=43, Resulting Numbers: [40, 43]
Generated Node #0,2,3: 51:[40, 43] Operation: 55-12=43
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[55, 52], Operations: ['73-33=40', '12+40=52']
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,51 unequal: No Solution
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,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,2,1
Current State: 51:[12, 15], Operations: ['73-33=40', '55-40=15']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,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,2,2
Current State: 51:[55, 28], Operations: ['73-33=40', '40-12=28']
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,51 unequal: No Solution
Exploring Operation: 55*28=1540, Resulting Numbers: [1540]
1540,51 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,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,2,3
Current State: 51:[40, 43], Operations: ['73-33=40', '55-12=43']
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,51 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,51 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: 51:[33, 12, 18], Operations: ['73-55=18']
Exploring Operation: 33+12=45, Resulting Numbers: [18, 45]
Generated Node #0,3,0: 51:[18, 45] Operation: 33+12=45
Exploring Operation: 33-18=15, Resulting Numbers: [12, 15]
Generated Node #0,3,1: 51:[12, 15] Operation: 33-18=15
Exploring Operation: 33+18=51, Resulting Numbers: [12, 51]
Generated Node #0,3,2: 51:[12, 51] Operation: 33+18=51
Exploring Operation: 33-12=21, Resulting Numbers: [18, 21]
Generated Node #0,3,3: 51:[18, 21] Operation: 33-12=21
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 51:[12, 51], Operations: ['73-55=18', '33+18=51']
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,51 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,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:[18, 21], Operations: ['73-55=18', '33-12=21']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,51 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,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:[18, 45], Operations: ['73-55=18', '33+12=45']
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 18*45=810, Resulting Numbers: [810]
810,51 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,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,1
Current State: 51:[12, 15], Operations: ['73-55=18', '33-18=15']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,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:[73, 55, 21], Operations: ['33-12=21']
Exploring Operation: 55-21=34, Resulting Numbers: [73, 34]
Generated Node #0,1,0: 51:[73, 34] Operation: 55-21=34
Exploring Operation: 73-55=18, Resulting Numbers: [21, 18]
Generated Node #0,1,1: 51:[21, 18] Operation: 73-55=18
Exploring Operation: 73-21=52, Resulting Numbers: [55, 52]
Generated Node #0,1,2: 51:[55, 52] Operation: 73-21=52
Exploring Operation: 73+21=94, Resulting Numbers: [55, 94]
Generated Node #0,1,3: 51:[55, 94] Operation: 73+21=94
Moving to Node #0,0
Current State: 51:[33, 55, 61], Operations: ['73-12=61']
Exploring Operation: 55-33=22, Resulting Numbers: [61, 22]
Generated Node #0,0,0: 51:[61, 22] Operation: 55-33=22
Exploring Operation: 61-33=28, Resulting Numbers: [55, 28]
Generated Node #0,0,1: 51:[55, 28] Operation: 61-33=28
Exploring Operation: 33+55=88, Resulting Numbers: [61, 88]
Generated Node #0,0,2: 51:[61, 88] Operation: 33+55=88
Exploring Operation: 61-55=6, Resulting Numbers: [33, 6]
Generated Node #0,0,3: 51:[33, 6] Operation: 61-55=6
Moving to Node #0,1,1
Current State: 51:[21, 18], Operations: ['33-12=21', '73-55=18']
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[55, 52], Operations: ['33-12=21', '73-21=52']
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,51 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[55, 28], Operations: ['73-12=61', '61-33=28']
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,51 unequal: No Solution
Exploring Operation: 55*28=1540, Resulting Numbers: [1540]
1540,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[61, 22], Operations: ['73-12=61', '55-33=22']
Exploring Operation: 61*22=1342, Resulting Numbers: [1342]
1342,51 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 61+22=83, Resulting Numbers: [83]
83,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[33, 6], Operations: ['73-12=61', '61-55=6']
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,51 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[73, 34], Operations: ['33-12=21', '55-21=34']
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,51 unequal: No Solution
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,51 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[55, 94], Operations: ['33-12=21', '73+21=94']
Exploring Operation: 94-55=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 55*94=5170, Resulting Numbers: [5170]
5170,51 unequal: No Solution
Exploring Operation: 55+94=149, Resulting Numbers: [149]
149,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[61, 88], Operations: ['73-12=61', '33+55=88']
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 61+88=149, Resulting Numbers: [149]
149,51 unequal: No Solution
Exploring Operation: 61*88=5368, Resulting Numbers: [5368]
5368,51 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
13,
19,
51,
45
] | 16 | [
"19-13=6",
"51+45=96",
"96/6=16"
] | Current State: 16:[13, 19, 51, 45], Operations: []
Exploring Operation: 19-13=6, Resulting Numbers: [51, 45, 6]
Generated Node #2: [51, 45, 6] from Operation: 19-13=6
Current State: 16:[51, 45, 6], Operations: ['19-13=6']
Exploring Operation: 51+45=96, Resulting Numbers: [6, 96]
Generated Node #3: [6, 96] from Operation: 51+45=96
Current State: 16:[6, 96], Operations: ['19-13=6', '51+45=96']
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[13, 19, 51, 45], Operations: []
Exploring Operation: 45-19=26, Resulting Numbers: [13, 51, 26]
Generated Node #0,0: 16:[13, 51, 26] Operation: 45-19=26
Exploring Operation: 51-45=6, Resulting Numbers: [13, 19, 6]
Generated Node #0,1: 16:[13, 19, 6] Operation: 51-45=6
Exploring Operation: 51-13=38, Resulting Numbers: [19, 45, 38]
Generated Node #0,2: 16:[19, 45, 38] Operation: 51-13=38
Exploring Operation: 51-19=32, Resulting Numbers: [13, 45, 32]
Generated Node #0,3: 16:[13, 45, 32] Operation: 51-19=32
Moving to Node #0,1
Current State: 16:[13, 19, 6], Operations: ['51-45=6']
Exploring Operation: 19-13=6, Resulting Numbers: [6, 6]
Generated Node #0,1,0: 16:[6, 6] Operation: 19-13=6
Exploring Operation: 13-6=7, Resulting Numbers: [19, 7]
Generated Node #0,1,1: 16:[19, 7] Operation: 13-6=7
Exploring Operation: 13+6=19, Resulting Numbers: [19, 19]
Generated Node #0,1,2: 16:[19, 19] Operation: 13+6=19
Exploring Operation: 19-6=13, Resulting Numbers: [13, 13]
Generated Node #0,1,3: 16:[13, 13] Operation: 19-6=13
Moving to Node #0,3
Current State: 16:[13, 45, 32], Operations: ['51-19=32']
Exploring Operation: 45-32=13, Resulting Numbers: [13, 13]
Generated Node #0,3,0: 16:[13, 13] Operation: 45-32=13
Exploring Operation: 45-13=32, Resulting Numbers: [32, 32]
Generated Node #0,3,1: 16:[32, 32] Operation: 45-13=32
Exploring Operation: 32-13=19, Resulting Numbers: [45, 19]
Generated Node #0,3,2: 16:[45, 19] Operation: 32-13=19
Exploring Operation: 13+45=58, Resulting Numbers: [32, 58]
Generated Node #0,3,3: 16:[32, 58] Operation: 13+45=58
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[13, 13], Operations: ['51-19=32', '45-32=13']
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[32, 32], Operations: ['51-19=32', '45-13=32']
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 32*32=1024, Resulting Numbers: [1024]
1024,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[45, 19], Operations: ['51-19=32', '32-13=19']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,16 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[32, 58], Operations: ['51-19=32', '13+45=58']
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,16 unequal: No Solution
Exploring Operation: 32*58=1856, Resulting Numbers: [1856]
1856,16 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,16 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: 16:[13, 51, 26], Operations: ['45-19=26']
Exploring Operation: 26/13=2, Resulting Numbers: [51, 2]
Generated Node #0,0,0: 16:[51, 2] Operation: 26/13=2
Exploring Operation: 51-13=38, Resulting Numbers: [26, 38]
Generated Node #0,0,1: 16:[26, 38] Operation: 51-13=38
Exploring Operation: 51-26=25, Resulting Numbers: [13, 25]
Generated Node #0,0,2: 16:[13, 25] Operation: 51-26=25
Exploring Operation: 26-13=13, Resulting Numbers: [51, 13]
Generated Node #0,0,3: 16:[51, 13] Operation: 26-13=13
Moving to Node #0,2
Current State: 16:[19, 45, 38], Operations: ['51-13=38']
Exploring Operation: 38-19=19, Resulting Numbers: [45, 19]
Generated Node #0,2,0: 16:[45, 19] Operation: 38-19=19
Exploring Operation: 45-19=26, Resulting Numbers: [38, 26]
Generated Node #0,2,1: 16:[38, 26] Operation: 45-19=26
Exploring Operation: 38/19=2, Resulting Numbers: [45, 2]
Generated Node #0,2,2: 16:[45, 2] Operation: 38/19=2
Exploring Operation: 45-38=7, Resulting Numbers: [19, 7]
Generated Node #0,2,3: 16:[19, 7] Operation: 45-38=7
Moving to Node #0,1,0
Current State: 16:[6, 6], Operations: ['51-45=6', '19-13=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[19, 7], Operations: ['51-45=6', '13-6=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[19, 7], Operations: ['51-13=38', '45-38=7']
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,16 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[19, 19], Operations: ['51-45=6', '13+6=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,16 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[13, 13], Operations: ['51-45=6', '19-6=13']
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,16 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[13, 25], Operations: ['45-19=26', '51-26=25']
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,16 unequal: No Solution
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,16 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[45, 2], Operations: ['51-13=38', '38/19=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,16 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,16 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[26, 38], Operations: ['45-19=26', '51-13=38']
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[45, 19], Operations: ['51-13=38', '38-19=19']
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,16 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[38, 26], Operations: ['51-13=38', '45-19=26']
Exploring Operation: 38*26=988, Resulting Numbers: [988]
988,16 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 38+26=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[51, 2], Operations: ['45-19=26', '26/13=2']
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,16 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,16 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[51, 13], Operations: ['45-19=26', '26-13=13']
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 51*13=663, Resulting Numbers: [663]
663,16 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,16 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
91,
2,
15,
58
] | 96 | [
"91+15=106",
"106-58=48",
"2*48=96"
] | Current State: 96:[91, 2, 15, 58], Operations: []
Exploring Operation: 91+15=106, Resulting Numbers: [2, 58, 106]
Generated Node #2: [2, 58, 106] from Operation: 91+15=106
Current State: 96:[2, 58, 106], Operations: ['91+15=106']
Exploring Operation: 106-58=48, Resulting Numbers: [2, 48]
Generated Node #3: [2, 48] from Operation: 106-58=48
Current State: 96:[2, 48], Operations: ['91+15=106', '106-58=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[91, 2, 15, 58], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [2, 15, 33]
Generated Node #0,0: 96:[2, 15, 33] Operation: 91-58=33
Exploring Operation: 58/2=29, Resulting Numbers: [91, 15, 29]
Generated Node #0,1: 96:[91, 15, 29] Operation: 58/2=29
Exploring Operation: 58-15=43, Resulting Numbers: [91, 2, 43]
Generated Node #0,2: 96:[91, 2, 43] Operation: 58-15=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[2, 15, 33], Operations: ['91-58=33']
Exploring Operation: 15-2=13, Resulting Numbers: [33, 13]
Generated Node #0,0,0: 96:[33, 13] Operation: 15-2=13
Exploring Operation: 2+15=17, Resulting Numbers: [33, 17]
Generated Node #0,0,1: 96:[33, 17] Operation: 2+15=17
Exploring Operation: 15+33=48, Resulting Numbers: [2, 48]
Generated Node #0,0,2: 96:[2, 48] Operation: 15+33=48
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[2, 48], Operations: ['91-58=33', '15+33=48']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[91, 2, 15, 58], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [2, 15, 33]
Generated Node #0,0: 96:[2, 15, 33] Operation: 91-58=33
Moving to Node #0,0
Current State: 96:[2, 15, 33], Operations: ['91-58=33']
Exploring Operation: 15+33=48, Resulting Numbers: [2, 48]
Generated Node #0,0,2: 96:[2, 48] Operation: 15+33=48
Moving to Node #0,0,2
Current State: 96:[2, 48], Operations: ['91-58=33', '15+33=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
25,
25,
76,
4
] | 79 | [
"25/25=1",
"76+4=80",
"80-1=79"
] | Current State: 79:[25, 25, 76, 4], Operations: []
Exploring Operation: 25/25=1, Resulting Numbers: [76, 4, 1]
Generated Node #2: [76, 4, 1] from Operation: 25/25=1
Current State: 79:[76, 4, 1], Operations: ['25/25=1']
Exploring Operation: 76+4=80, Resulting Numbers: [1, 80]
Generated Node #3: [1, 80] from Operation: 76+4=80
Current State: 79:[1, 80], Operations: ['25/25=1', '76+4=80']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[25, 25, 76, 4], Operations: []
Exploring Operation: 25+25=50, Resulting Numbers: [76, 4, 50]
Generated Node #0,0: 79:[76, 4, 50] Operation: 25+25=50
Exploring Operation: 25+4=29, Resulting Numbers: [25, 76, 29]
Generated Node #0,1: 79:[25, 76, 29] Operation: 25+4=29
Exploring Operation: 25+4=29, Resulting Numbers: [25, 76, 29]
Generated Node #0,2: 79:[25, 76, 29] Operation: 25+4=29
Exploring Operation: 25*4=100, Resulting Numbers: [25, 76, 100]
Generated Node #0,3: 79:[25, 76, 100] Operation: 25*4=100
Exploring Operation: 25*4=100, Resulting Numbers: [25, 76, 100]
Generated Node #0,4: 79:[25, 76, 100] Operation: 25*4=100
Moving to Node #0,3
Current State: 79:[25, 76, 100], Operations: ['25*4=100']
Exploring Operation: 100/25=4, Resulting Numbers: [76, 4]
Generated Node #0,3,0: 79:[76, 4] Operation: 100/25=4
Exploring Operation: 76-25=51, Resulting Numbers: [100, 51]
Generated Node #0,3,1: 79:[100, 51] Operation: 76-25=51
Exploring Operation: 100-25=75, Resulting Numbers: [76, 75]
Generated Node #0,3,2: 79:[76, 75] Operation: 100-25=75
Exploring Operation: 25+76=101, Resulting Numbers: [100, 101]
Generated Node #0,3,3: 79:[100, 101] Operation: 25+76=101
Exploring Operation: 25+100=125, Resulting Numbers: [76, 125]
Generated Node #0,3,4: 79:[76, 125] Operation: 25+100=125
Moving to Node #0,4
Current State: 79:[25, 76, 100], Operations: ['25*4=100']
Exploring Operation: 100/25=4, Resulting Numbers: [76, 4]
Generated Node #0,4,0: 79:[76, 4] Operation: 100/25=4
Exploring Operation: 25+100=125, Resulting Numbers: [76, 125]
Generated Node #0,4,1: 79:[76, 125] Operation: 25+100=125
Exploring Operation: 100-25=75, Resulting Numbers: [76, 75]
Generated Node #0,4,2: 79:[76, 75] Operation: 100-25=75
Exploring Operation: 76-25=51, Resulting Numbers: [100, 51]
Generated Node #0,4,3: 79:[100, 51] Operation: 76-25=51
Exploring Operation: 25+76=101, Resulting Numbers: [100, 101]
Generated Node #0,4,4: 79:[100, 101] Operation: 25+76=101
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 79:[76, 75], Operations: ['25*4=100', '100-25=75']
Exploring Operation: 76+75=151, Resulting Numbers: [151]
151,79 unequal: No Solution
Exploring Operation: 76*75=5700, Resulting Numbers: [5700]
5700,79 unequal: No Solution
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 79:[100, 101], Operations: ['25*4=100', '25+76=101']
Exploring Operation: 101-100=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 100*101=10100, Resulting Numbers: [10100]
10100,79 unequal: No Solution
Exploring Operation: 100+101=201, Resulting Numbers: [201]
201,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 79:[76, 125], Operations: ['25*4=100', '25+100=125']
Exploring Operation: 76+125=201, Resulting Numbers: [201]
201,79 unequal: No Solution
Exploring Operation: 125-76=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 76*125=9500, Resulting Numbers: [9500]
9500,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 79:[100, 51], Operations: ['25*4=100', '76-25=51']
Exploring Operation: 100*51=5100, Resulting Numbers: [5100]
5100,79 unequal: No Solution
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 100+51=151, Resulting Numbers: [151]
151,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 79:[76, 4], Operations: ['25*4=100', '100/25=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,79 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,79 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: 79:[76, 4, 50], Operations: ['25+25=50']
Exploring Operation: 76-4=72, Resulting Numbers: [50, 72]
Generated Node #0,0,0: 79:[50, 72] Operation: 76-4=72
Exploring Operation: 4+50=54, Resulting Numbers: [76, 54]
Generated Node #0,0,1: 79:[76, 54] Operation: 4+50=54
Exploring Operation: 50-4=46, Resulting Numbers: [76, 46]
Generated Node #0,0,2: 79:[76, 46] Operation: 50-4=46
Exploring Operation: 76+4=80, Resulting Numbers: [50, 80]
Generated Node #0,0,3: 79:[50, 80] Operation: 76+4=80
Exploring Operation: 76/4=19, Resulting Numbers: [50, 19]
Generated Node #0,0,4: 79:[50, 19] Operation: 76/4=19
Moving to Node #0,1
Current State: 79:[25, 76, 29], Operations: ['25+4=29']
Exploring Operation: 29-25=4, Resulting Numbers: [76, 4]
Generated Node #0,1,0: 79:[76, 4] Operation: 29-25=4
Exploring Operation: 25+29=54, Resulting Numbers: [76, 54]
Generated Node #0,1,1: 79:[76, 54] Operation: 25+29=54
Exploring Operation: 76+29=105, Resulting Numbers: [25, 105]
Generated Node #0,1,2: 79:[25, 105] Operation: 76+29=105
Exploring Operation: 25+76=101, Resulting Numbers: [29, 101]
Generated Node #0,1,3: 79:[29, 101] Operation: 25+76=101
Exploring Operation: 76-25=51, Resulting Numbers: [29, 51]
Generated Node #0,1,4: 79:[29, 51] Operation: 76-25=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[76, 54], Operations: ['25+4=29', '25+29=54']
Exploring Operation: 76*54=4104, Resulting Numbers: [4104]
4104,79 unequal: No Solution
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 76+54=130, Resulting Numbers: [130]
130,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,3
Current State: 79:[29, 101], Operations: ['25+4=29', '25+76=101']
Exploring Operation: 29+101=130, Resulting Numbers: [130]
130,79 unequal: No Solution
Exploring Operation: 101-29=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 29*101=2929, Resulting Numbers: [2929]
2929,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,0
Current State: 79:[76, 4], Operations: ['25+4=29', '29-25=4']
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,79 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,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,4
Current State: 79:[29, 51], Operations: ['25+4=29', '76-25=51']
Exploring Operation: 29*51=1479, Resulting Numbers: [1479]
1479,79 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 29+51=80, Resulting Numbers: [80]
80,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,2
Current State: 79:[25, 105], Operations: ['25+4=29', '76+29=105']
Exploring Operation: 105-25=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 25+105=130, Resulting Numbers: [130]
130,79 unequal: No Solution
Exploring Operation: 25*105=2625, Resulting Numbers: [2625]
2625,79 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: 79:[25, 76, 29], Operations: ['25+4=29']
Exploring Operation: 76-25=51, Resulting Numbers: [29, 51]
Generated Node #0,2,0: 79:[29, 51] Operation: 76-25=51
Exploring Operation: 29-25=4, Resulting Numbers: [76, 4]
Generated Node #0,2,1: 79:[76, 4] Operation: 29-25=4
Exploring Operation: 25+76=101, Resulting Numbers: [29, 101]
Generated Node #0,2,2: 79:[29, 101] Operation: 25+76=101
Exploring Operation: 76+29=105, Resulting Numbers: [25, 105]
Generated Node #0,2,3: 79:[25, 105] Operation: 76+29=105
Exploring Operation: 25+29=54, Resulting Numbers: [76, 54]
Generated Node #0,2,4: 79:[76, 54] Operation: 25+29=54
Moving to Node #0,3,2
Current State: 79:[76, 75], Operations: ['25*4=100', '100-25=75']
Exploring Operation: 76*75=5700, Resulting Numbers: [5700]
5700,79 unequal: No Solution
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 76+75=151, Resulting Numbers: [151]
151,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[76, 54], Operations: ['25+25=50', '4+50=54']
Exploring Operation: 76+54=130, Resulting Numbers: [130]
130,79 unequal: No Solution
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 76*54=4104, Resulting Numbers: [4104]
4104,79 unequal: No Solution
Moving to Node #0,2,4
Current State: 79:[76, 54], Operations: ['25+4=29', '25+29=54']
Exploring Operation: 76+54=130, Resulting Numbers: [130]
130,79 unequal: No Solution
Exploring Operation: 76*54=4104, Resulting Numbers: [4104]
4104,79 unequal: No Solution
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[50, 80], Operations: ['25+25=50', '76+4=80']
Exploring Operation: 50*80=4000, Resulting Numbers: [4000]
4000,79 unequal: No Solution
Exploring Operation: 50+80=130, Resulting Numbers: [130]
130,79 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[50, 72], Operations: ['25+25=50', '76-4=72']
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 50+72=122, Resulting Numbers: [122]
122,79 unequal: No Solution
Exploring Operation: 50*72=3600, Resulting Numbers: [3600]
3600,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[76, 46], Operations: ['25+25=50', '50-4=46']
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,79 unequal: No Solution
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[100, 101], Operations: ['25*4=100', '25+76=101']
Exploring Operation: 100+101=201, Resulting Numbers: [201]
201,79 unequal: No Solution
Exploring Operation: 101-100=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 100*101=10100, Resulting Numbers: [10100]
10100,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[100, 51], Operations: ['25*4=100', '76-25=51']
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 100*51=5100, Resulting Numbers: [5100]
5100,79 unequal: No Solution
Exploring Operation: 100+51=151, Resulting Numbers: [151]
151,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[76, 125], Operations: ['25*4=100', '25+100=125']
Exploring Operation: 125-76=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 76*125=9500, Resulting Numbers: [9500]
9500,79 unequal: No Solution
Exploring Operation: 76+125=201, Resulting Numbers: [201]
201,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[29, 101], Operations: ['25+4=29', '25+76=101']
Exploring Operation: 29*101=2929, Resulting Numbers: [2929]
2929,79 unequal: No Solution
Exploring Operation: 101-29=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 29+101=130, Resulting Numbers: [130]
130,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[76, 4], Operations: ['25+4=29', '29-25=4']
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,79 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[76, 4], Operations: ['25*4=100', '100/25=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,79 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[29, 51], Operations: ['25+4=29', '76-25=51']
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 29*51=1479, Resulting Numbers: [1479]
1479,79 unequal: No Solution
Exploring Operation: 29+51=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[25, 105], Operations: ['25+4=29', '76+29=105']
Exploring Operation: 25+105=130, Resulting Numbers: [130]
130,79 unequal: No Solution
Exploring Operation: 105-25=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 25*105=2625, Resulting Numbers: [2625]
2625,79 unequal: No Solution
Moving to Node #0,0,4
Current State: 79:[50, 19], Operations: ['25+25=50', '76/4=19']
Exploring Operation: 50*19=950, Resulting Numbers: [950]
950,79 unequal: No Solution
Exploring Operation: 50+19=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,79 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
57,
23,
7,
66
] | 93 | [
"57-23=34",
"66-7=59",
"34+59=93"
] | Current State: 93:[57, 23, 7, 66], Operations: []
Exploring Operation: 57-23=34, Resulting Numbers: [7, 66, 34]
Generated Node #2: [7, 66, 34] from Operation: 57-23=34
Current State: 93:[7, 66, 34], Operations: ['57-23=34']
Exploring Operation: 66-7=59, Resulting Numbers: [34, 59]
Generated Node #3: [34, 59] from Operation: 66-7=59
Current State: 93:[34, 59], Operations: ['57-23=34', '66-7=59']
Exploring Operation: 34+59=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[57, 23, 7, 66], Operations: []
Exploring Operation: 57-23=34, Resulting Numbers: [7, 66, 34]
Generated Node #0,0: 93:[7, 66, 34] Operation: 57-23=34
Exploring Operation: 23+66=89, Resulting Numbers: [57, 7, 89]
Generated Node #0,1: 93:[57, 7, 89] Operation: 23+66=89
Exploring Operation: 66-23=43, Resulting Numbers: [57, 7, 43]
Generated Node #0,2: 93:[57, 7, 43] Operation: 66-23=43
Exploring Operation: 57+66=123, Resulting Numbers: [23, 7, 123]
Generated Node #0,3: 93:[23, 7, 123] Operation: 57+66=123
Exploring Operation: 66-57=9, Resulting Numbers: [23, 7, 9]
Generated Node #0,4: 93:[23, 7, 9] Operation: 66-57=9
Moving to Node #0,4
Current State: 93:[23, 7, 9], Operations: ['66-57=9']
Exploring Operation: 23-7=16, Resulting Numbers: [9, 16]
Generated Node #0,4,0: 93:[9, 16] Operation: 23-7=16
Exploring Operation: 23+9=32, Resulting Numbers: [7, 32]
Generated Node #0,4,1: 93:[7, 32] Operation: 23+9=32
Exploring Operation: 23-9=14, Resulting Numbers: [7, 14]
Generated Node #0,4,2: 93:[7, 14] Operation: 23-9=14
Exploring Operation: 23+7=30, Resulting Numbers: [9, 30]
Generated Node #0,4,3: 93:[9, 30] Operation: 23+7=30
Exploring Operation: 9-7=2, Resulting Numbers: [23, 2]
Generated Node #0,4,4: 93:[23, 2] Operation: 9-7=2
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 93:[7, 32], Operations: ['66-57=9', '23+9=32']
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,93 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 93:[9, 30], Operations: ['66-57=9', '23+7=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 93:[23, 2], Operations: ['66-57=9', '9-7=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,93 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 93:[7, 14], Operations: ['66-57=9', '23-9=14']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 93:[9, 16], Operations: ['66-57=9', '23-7=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 93:[57, 7, 89], Operations: ['23+66=89']
Exploring Operation: 57-7=50, Resulting Numbers: [89, 50]
Generated Node #0,1,0: 93:[89, 50] Operation: 57-7=50
Exploring Operation: 57+7=64, Resulting Numbers: [89, 64]
Generated Node #0,1,1: 93:[89, 64] Operation: 57+7=64
Exploring Operation: 89-57=32, Resulting Numbers: [7, 32]
Generated Node #0,1,2: 93:[7, 32] Operation: 89-57=32
Exploring Operation: 7+89=96, Resulting Numbers: [57, 96]
Generated Node #0,1,3: 93:[57, 96] Operation: 7+89=96
Exploring Operation: 89-7=82, Resulting Numbers: [57, 82]
Generated Node #0,1,4: 93:[57, 82] Operation: 89-7=82
Moving to Node #0,0
Current State: 93:[7, 66, 34], Operations: ['57-23=34']
Exploring Operation: 7+66=73, Resulting Numbers: [34, 73]
Generated Node #0,0,0: 93:[34, 73] Operation: 7+66=73
Exploring Operation: 66-34=32, Resulting Numbers: [7, 32]
Generated Node #0,0,1: 93:[7, 32] Operation: 66-34=32
Exploring Operation: 34-7=27, Resulting Numbers: [66, 27]
Generated Node #0,0,2: 93:[66, 27] Operation: 34-7=27
Exploring Operation: 66+34=100, Resulting Numbers: [7, 100]
Generated Node #0,0,3: 93:[7, 100] Operation: 66+34=100
Exploring Operation: 66-7=59, Resulting Numbers: [34, 59]
Generated Node #0,0,4: 93:[34, 59] Operation: 66-7=59
Moving to Node #0,2
Current State: 93:[57, 7, 43], Operations: ['66-23=43']
Exploring Operation: 57-43=14, Resulting Numbers: [7, 14]
Generated Node #0,2,0: 93:[7, 14] Operation: 57-43=14
Exploring Operation: 57+7=64, Resulting Numbers: [43, 64]
Generated Node #0,2,1: 93:[43, 64] Operation: 57+7=64
Exploring Operation: 57-7=50, Resulting Numbers: [43, 50]
Generated Node #0,2,2: 93:[43, 50] Operation: 57-7=50
Exploring Operation: 43-7=36, Resulting Numbers: [57, 36]
Generated Node #0,2,3: 93:[57, 36] Operation: 43-7=36
Exploring Operation: 57+43=100, Resulting Numbers: [7, 100]
Generated Node #0,2,4: 93:[7, 100] Operation: 57+43=100
Moving to Node #0,3
Current State: 93:[23, 7, 123], Operations: ['57+66=123']
Exploring Operation: 123-7=116, Resulting Numbers: [23, 116]
Generated Node #0,3,0: 93:[23, 116] Operation: 123-7=116
Exploring Operation: 7+123=130, Resulting Numbers: [23, 130]
Generated Node #0,3,1: 93:[23, 130] Operation: 7+123=130
Exploring Operation: 123-23=100, Resulting Numbers: [7, 100]
Generated Node #0,3,2: 93:[7, 100] Operation: 123-23=100
Exploring Operation: 23+7=30, Resulting Numbers: [123, 30]
Generated Node #0,3,3: 93:[123, 30] Operation: 23+7=30
Exploring Operation: 23-7=16, Resulting Numbers: [123, 16]
Generated Node #0,3,4: 93:[123, 16] Operation: 23-7=16
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 93:[7, 100], Operations: ['57+66=123', '123-23=100']
Exploring Operation: 7+100=107, Resulting Numbers: [107]
107,93 unequal: No Solution
Exploring Operation: 7*100=700, Resulting Numbers: [700]
700,93 unequal: No Solution
Exploring Operation: 100-7=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[57, 23, 7, 66], Operations: []
Exploring Operation: 57+66=123, Resulting Numbers: [23, 7, 123]
Generated Node #0,3: 93:[23, 7, 123] Operation: 57+66=123
Moving to Node #0,3
Current State: 93:[23, 7, 123], Operations: ['57+66=123']
Exploring Operation: 123-23=100, Resulting Numbers: [7, 100]
Generated Node #0,3,2: 93:[7, 100] Operation: 123-23=100
Moving to Node #0,3,2
Current State: 93:[7, 100], Operations: ['57+66=123', '123-23=100']
Exploring Operation: 100-7=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_5 | sum_heuristic |
[
86,
16,
79,
17
] | 95 | [
"86-79=7",
"16*7=112",
"112-17=95"
] | Current State: 95:[86, 16, 79, 17], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [16, 17, 7]
Generated Node #2: [16, 17, 7] from Operation: 86-79=7
Current State: 95:[16, 17, 7], Operations: ['86-79=7']
Exploring Operation: 16*7=112, Resulting Numbers: [17, 112]
Generated Node #3: [17, 112] from Operation: 16*7=112
Current State: 95:[17, 112], Operations: ['86-79=7', '16*7=112']
Exploring Operation: 112-17=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[86, 16, 79, 17], Operations: []
Exploring Operation: 16+79=95, Resulting Numbers: [86, 17, 95]
Generated Node #0,0: 95:[86, 17, 95] Operation: 16+79=95
Exploring Operation: 86-79=7, Resulting Numbers: [16, 17, 7]
Generated Node #0,1: 95:[16, 17, 7] Operation: 86-79=7
Exploring Operation: 86+16=102, Resulting Numbers: [79, 17, 102]
Generated Node #0,2: 95:[79, 17, 102] Operation: 86+16=102
Exploring Operation: 79+17=96, Resulting Numbers: [86, 16, 96]
Generated Node #0,3: 95:[86, 16, 96] Operation: 79+17=96
Moving to Node #0,1
Current State: 95:[16, 17, 7], Operations: ['86-79=7']
Exploring Operation: 16-7=9, Resulting Numbers: [17, 9]
Generated Node #0,1,0: 95:[17, 9] Operation: 16-7=9
Exploring Operation: 16+7=23, Resulting Numbers: [17, 23]
Generated Node #0,1,1: 95:[17, 23] Operation: 16+7=23
Exploring Operation: 17+7=24, Resulting Numbers: [16, 24]
Generated Node #0,1,2: 95:[16, 24] Operation: 17+7=24
Exploring Operation: 17-16=1, Resulting Numbers: [7, 1]
Generated Node #0,1,3: 95:[7, 1] Operation: 17-16=1
Moving to Node #0,0
Current State: 95:[86, 17, 95], Operations: ['16+79=95']
Exploring Operation: 86+17=103, Resulting Numbers: [95, 103]
Generated Node #0,0,0: 95:[95, 103] Operation: 86+17=103
Exploring Operation: 95-86=9, Resulting Numbers: [17, 9]
Generated Node #0,0,1: 95:[17, 9] Operation: 95-86=9
Exploring Operation: 86-17=69, Resulting Numbers: [95, 69]
Generated Node #0,0,2: 95:[95, 69] Operation: 86-17=69
Exploring Operation: 17+95=112, Resulting Numbers: [86, 112]
Generated Node #0,0,3: 95:[86, 112] Operation: 17+95=112
Moving to Node #0,3
Current State: 95:[86, 16, 96], Operations: ['79+17=96']
Exploring Operation: 96-16=80, Resulting Numbers: [86, 80]
Generated Node #0,3,0: 95:[86, 80] Operation: 96-16=80
Exploring Operation: 96/16=6, Resulting Numbers: [86, 6]
Generated Node #0,3,1: 95:[86, 6] Operation: 96/16=6
Exploring Operation: 86+16=102, Resulting Numbers: [96, 102]
Generated Node #0,3,2: 95:[96, 102] Operation: 86+16=102
Exploring Operation: 96-86=10, Resulting Numbers: [16, 10]
Generated Node #0,3,3: 95:[16, 10] Operation: 96-86=10
Moving to Node #0,2
Current State: 95:[79, 17, 102], Operations: ['86+16=102']
Exploring Operation: 102-79=23, Resulting Numbers: [17, 23]
Generated Node #0,2,0: 95:[17, 23] Operation: 102-79=23
Exploring Operation: 102/17=6, Resulting Numbers: [79, 6]
Generated Node #0,2,1: 95:[79, 6] Operation: 102/17=6
Exploring Operation: 79+17=96, Resulting Numbers: [102, 96]
Generated Node #0,2,2: 95:[102, 96] Operation: 79+17=96
Exploring Operation: 102-17=85, Resulting Numbers: [79, 85]
Generated Node #0,2,3: 95:[79, 85] Operation: 102-17=85
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[17, 23], Operations: ['86+16=102', '102-79=23']
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Exploring Operation: 17*23=391, Resulting Numbers: [391]
391,95 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[102, 96], Operations: ['86+16=102', '79+17=96']
Exploring Operation: 102+96=198, Resulting Numbers: [198]
198,95 unequal: No Solution
Exploring Operation: 102-96=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 102*96=9792, Resulting Numbers: [9792]
9792,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[79, 6], Operations: ['86+16=102', '102/17=6']
Exploring Operation: 79*6=474, Resulting Numbers: [474]
474,95 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 95:[79, 85], Operations: ['86+16=102', '102-17=85']
Exploring Operation: 79*85=6715, Resulting Numbers: [6715]
6715,95 unequal: No Solution
Exploring Operation: 79+85=164, Resulting Numbers: [164]
164,95 unequal: No Solution
Exploring Operation: 85-79=6, Resulting Numbers: [6]
6,95 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: 95:[17, 9], Operations: ['86-79=7', '16-7=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,95 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Moving to Node #0,1,3
Current State: 95:[7, 1], Operations: ['86-79=7', '17-16=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[17, 23], Operations: ['86-79=7', '16+7=23']
Exploring Operation: 17*23=391, Resulting Numbers: [391]
391,95 unequal: No Solution
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[17, 9], Operations: ['16+79=95', '95-86=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,95 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[95, 103], Operations: ['16+79=95', '86+17=103']
Exploring Operation: 95+103=198, Resulting Numbers: [198]
198,95 unequal: No Solution
Exploring Operation: 103-95=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 95*103=9785, Resulting Numbers: [9785]
9785,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[96, 102], Operations: ['79+17=96', '86+16=102']
Exploring Operation: 102-96=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 96+102=198, Resulting Numbers: [198]
198,95 unequal: No Solution
Exploring Operation: 96*102=9792, Resulting Numbers: [9792]
9792,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[16, 10], Operations: ['79+17=96', '96-86=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[16, 24], Operations: ['86-79=7', '17+7=24']
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[86, 6], Operations: ['79+17=96', '96/16=6']
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,95 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Moving to Node #0,3,0
Current State: 95:[86, 80], Operations: ['79+17=96', '96-16=80']
Exploring Operation: 86-80=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 86+80=166, Resulting Numbers: [166]
166,95 unequal: No Solution
Exploring Operation: 86*80=6880, Resulting Numbers: [6880]
6880,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[95, 69], Operations: ['16+79=95', '86-17=69']
Exploring Operation: 95-69=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 95*69=6555, Resulting Numbers: [6555]
6555,95 unequal: No Solution
Exploring Operation: 95+69=164, Resulting Numbers: [164]
164,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[86, 112], Operations: ['16+79=95', '17+95=112']
Exploring Operation: 86+112=198, Resulting Numbers: [198]
198,95 unequal: No Solution
Exploring Operation: 112-86=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 86*112=9632, Resulting Numbers: [9632]
9632,95 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
87,
22,
89,
10
] | 24 | [
"89-87=2",
"22-10=12",
"2*12=24"
] | Current State: 24:[87, 22, 89, 10], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [22, 10, 2]
Generated Node #2: [22, 10, 2] from Operation: 89-87=2
Current State: 24:[22, 10, 2], Operations: ['89-87=2']
Exploring Operation: 22-10=12, Resulting Numbers: [2, 12]
Generated Node #3: [2, 12] from Operation: 22-10=12
Current State: 24:[2, 12], Operations: ['89-87=2', '22-10=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[87, 22, 89, 10], Operations: []
Exploring Operation: 87-22=65, Resulting Numbers: [89, 10, 65]
Generated Node #0,0: 24:[89, 10, 65] Operation: 87-22=65
Exploring Operation: 89-22=67, Resulting Numbers: [87, 10, 67]
Generated Node #0,1: 24:[87, 10, 67] Operation: 89-22=67
Exploring Operation: 89-87=2, Resulting Numbers: [22, 10, 2]
Generated Node #0,2: 24:[22, 10, 2] Operation: 89-87=2
Exploring Operation: 89-10=79, Resulting Numbers: [87, 22, 79]
Generated Node #0,3: 24:[87, 22, 79] Operation: 89-10=79
Exploring Operation: 87-10=77, Resulting Numbers: [22, 89, 77]
Generated Node #0,4: 24:[22, 89, 77] Operation: 87-10=77
Moving to Node #0,2
Current State: 24:[22, 10, 2], Operations: ['89-87=2']
Exploring Operation: 10+2=12, Resulting Numbers: [22, 12]
Generated Node #0,2,0: 24:[22, 12] Operation: 10+2=12
Exploring Operation: 22/2=11, Resulting Numbers: [10, 11]
Generated Node #0,2,1: 24:[10, 11] Operation: 22/2=11
Exploring Operation: 10-2=8, Resulting Numbers: [22, 8]
Generated Node #0,2,2: 24:[22, 8] Operation: 10-2=8
Exploring Operation: 22+2=24, Resulting Numbers: [10, 24]
Generated Node #0,2,3: 24:[10, 24] Operation: 22+2=24
Exploring Operation: 22-10=12, Resulting Numbers: [2, 12]
Generated Node #0,2,4: 24:[2, 12] Operation: 22-10=12
Moving to Node #0,1
Current State: 24:[87, 10, 67], Operations: ['89-22=67']
Exploring Operation: 10+67=77, Resulting Numbers: [87, 77]
Generated Node #0,1,0: 24:[87, 77] Operation: 10+67=77
Exploring Operation: 87+10=97, Resulting Numbers: [67, 97]
Generated Node #0,1,1: 24:[67, 97] Operation: 87+10=97
Exploring Operation: 67-10=57, Resulting Numbers: [87, 57]
Generated Node #0,1,2: 24:[87, 57] Operation: 67-10=57
Exploring Operation: 87-67=20, Resulting Numbers: [10, 20]
Generated Node #0,1,3: 24:[10, 20] Operation: 87-67=20
Exploring Operation: 87-10=77, Resulting Numbers: [67, 77]
Generated Node #0,1,4: 24:[67, 77] Operation: 87-10=77
Moving to Node #0,0
Current State: 24:[89, 10, 65], Operations: ['87-22=65']
Exploring Operation: 89+10=99, Resulting Numbers: [65, 99]
Generated Node #0,0,0: 24:[65, 99] Operation: 89+10=99
Exploring Operation: 10+65=75, Resulting Numbers: [89, 75]
Generated Node #0,0,1: 24:[89, 75] Operation: 10+65=75
Exploring Operation: 89-10=79, Resulting Numbers: [65, 79]
Generated Node #0,0,2: 24:[65, 79] Operation: 89-10=79
Exploring Operation: 89-65=24, Resulting Numbers: [10, 24]
Generated Node #0,0,3: 24:[10, 24] Operation: 89-65=24
Exploring Operation: 65-10=55, Resulting Numbers: [89, 55]
Generated Node #0,0,4: 24:[89, 55] Operation: 65-10=55
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 24:[10, 24], Operations: ['87-22=65', '89-65=24']
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,24 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[65, 79], Operations: ['87-22=65', '89-10=79']
Exploring Operation: 65*79=5135, Resulting Numbers: [5135]
5135,24 unequal: No Solution
Exploring Operation: 65+79=144, Resulting Numbers: [144]
144,24 unequal: No Solution
Exploring Operation: 79-65=14, Resulting Numbers: [14]
14,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 24:[89, 55], Operations: ['87-22=65', '65-10=55']
Exploring Operation: 89+55=144, Resulting Numbers: [144]
144,24 unequal: No Solution
Exploring Operation: 89*55=4895, Resulting Numbers: [4895]
4895,24 unequal: No Solution
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[65, 99], Operations: ['87-22=65', '89+10=99']
Exploring Operation: 65*99=6435, Resulting Numbers: [6435]
6435,24 unequal: No Solution
Exploring Operation: 65+99=164, Resulting Numbers: [164]
164,24 unequal: No Solution
Exploring Operation: 99-65=34, Resulting Numbers: [34]
34,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[89, 75], Operations: ['87-22=65', '10+65=75']
Exploring Operation: 89*75=6675, Resulting Numbers: [6675]
6675,24 unequal: No Solution
Exploring Operation: 89+75=164, Resulting Numbers: [164]
164,24 unequal: No Solution
Exploring Operation: 89-75=14, Resulting Numbers: [14]
14,24 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: 24:[87, 22, 79], Operations: ['89-10=79']
Exploring Operation: 87-79=8, Resulting Numbers: [22, 8]
Generated Node #0,3,0: 24:[22, 8] Operation: 87-79=8
Exploring Operation: 79-22=57, Resulting Numbers: [87, 57]
Generated Node #0,3,1: 24:[87, 57] Operation: 79-22=57
Exploring Operation: 87-22=65, Resulting Numbers: [79, 65]
Generated Node #0,3,2: 24:[79, 65] Operation: 87-22=65
Exploring Operation: 87+22=109, Resulting Numbers: [79, 109]
Generated Node #0,3,3: 24:[79, 109] Operation: 87+22=109
Exploring Operation: 22+79=101, Resulting Numbers: [87, 101]
Generated Node #0,3,4: 24:[87, 101] Operation: 22+79=101
Moving to Node #0,4
Current State: 24:[22, 89, 77], Operations: ['87-10=77']
Exploring Operation: 89-77=12, Resulting Numbers: [22, 12]
Generated Node #0,4,0: 24:[22, 12] Operation: 89-77=12
Exploring Operation: 22+77=99, Resulting Numbers: [89, 99]
Generated Node #0,4,1: 24:[89, 99] Operation: 22+77=99
Exploring Operation: 22+89=111, Resulting Numbers: [77, 111]
Generated Node #0,4,2: 24:[77, 111] Operation: 22+89=111
Exploring Operation: 89-22=67, Resulting Numbers: [77, 67]
Generated Node #0,4,3: 24:[77, 67] Operation: 89-22=67
Exploring Operation: 77-22=55, Resulting Numbers: [89, 55]
Generated Node #0,4,4: 24:[89, 55] Operation: 77-22=55
Moving to Node #0,2,4
Current State: 24:[2, 12], Operations: ['89-87=2', '22-10=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[87, 22, 89, 10], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [22, 10, 2]
Generated Node #0,2: 24:[22, 10, 2] Operation: 89-87=2
Moving to Node #0,2
Current State: 24:[22, 10, 2], Operations: ['89-87=2']
Exploring Operation: 22-10=12, Resulting Numbers: [2, 12]
Generated Node #0,2,4: 24:[2, 12] Operation: 22-10=12
Moving to Node #0,2,4
Current State: 24:[2, 12], Operations: ['89-87=2', '22-10=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.953993 | hs_5 | mult_heuristic |
[
35,
14,
40,
49
] | 42 | [
"40*49=1960",
"1960/35=56",
"56-14=42"
] | Current State: 42:[35, 14, 40, 49], Operations: []
Exploring Operation: 40*49=1960, Resulting Numbers: [35, 14, 1960]
Generated Node #2: [35, 14, 1960] from Operation: 40*49=1960
Current State: 42:[35, 14, 1960], Operations: ['40*49=1960']
Exploring Operation: 1960/35=56, Resulting Numbers: [14, 56]
Generated Node #3: [14, 56] from Operation: 1960/35=56
Current State: 42:[14, 56], Operations: ['40*49=1960', '1960/35=56']
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[35, 14, 40, 49], Operations: []
Exploring Operation: 49-35=14, Resulting Numbers: [14, 40, 14]
Generated Node #0,0: 42:[14, 40, 14] Operation: 49-35=14
Exploring Operation: 40-35=5, Resulting Numbers: [14, 49, 5]
Generated Node #0,1: 42:[14, 49, 5] Operation: 40-35=5
Exploring Operation: 35-14=21, Resulting Numbers: [40, 49, 21]
Generated Node #0,2: 42:[40, 49, 21] Operation: 35-14=21
Exploring Operation: 49-40=9, Resulting Numbers: [35, 14, 9]
Generated Node #0,3: 42:[35, 14, 9] Operation: 49-40=9
Moving to Node #0,0
Current State: 42:[14, 40, 14], Operations: ['49-35=14']
Exploring Operation: 40-14=26, Resulting Numbers: [14, 26]
Generated Node #0,0,0: 42:[14, 26] Operation: 40-14=26
Exploring Operation: 40-14=26, Resulting Numbers: [14, 26]
Generated Node #0,0,1: 42:[14, 26] Operation: 40-14=26
Exploring Operation: 14/14=1, Resulting Numbers: [40, 1]
Generated Node #0,0,2: 42:[40, 1] Operation: 14/14=1
Exploring Operation: 14-14=0, Resulting Numbers: [40, 0]
Generated Node #0,0,3: 42:[40, 0] Operation: 14-14=0
Moving to Node #0,1
Current State: 42:[14, 49, 5], Operations: ['40-35=5']
Exploring Operation: 49-5=44, Resulting Numbers: [14, 44]
Generated Node #0,1,0: 42:[14, 44] Operation: 49-5=44
Exploring Operation: 14+5=19, Resulting Numbers: [49, 19]
Generated Node #0,1,1: 42:[49, 19] Operation: 14+5=19
Exploring Operation: 14-5=9, Resulting Numbers: [49, 9]
Generated Node #0,1,2: 42:[49, 9] Operation: 14-5=9
Exploring Operation: 49-14=35, Resulting Numbers: [5, 35]
Generated Node #0,1,3: 42:[5, 35] Operation: 49-14=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[14, 44], Operations: ['40-35=5', '49-5=44']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Exploring Operation: 14*44=616, Resulting Numbers: [616]
616,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 42:[5, 35], Operations: ['40-35=5', '49-14=35']
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,42 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[49, 19], Operations: ['40-35=5', '14+5=19']
Exploring Operation: 49+19=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Exploring Operation: 49*19=931, Resulting Numbers: [931]
931,42 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[49, 9], Operations: ['40-35=5', '14-5=9']
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,42 unequal: No Solution
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,42 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: 42:[35, 14, 9], Operations: ['49-40=9']
Exploring Operation: 35-14=21, Resulting Numbers: [9, 21]
Generated Node #0,3,0: 42:[9, 21] Operation: 35-14=21
Exploring Operation: 14-9=5, Resulting Numbers: [35, 5]
Generated Node #0,3,1: 42:[35, 5] Operation: 14-9=5
Exploring Operation: 35+9=44, Resulting Numbers: [14, 44]
Generated Node #0,3,2: 42:[14, 44] Operation: 35+9=44
Exploring Operation: 35-9=26, Resulting Numbers: [14, 26]
Generated Node #0,3,3: 42:[14, 26] Operation: 35-9=26
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[9, 21], Operations: ['49-40=9', '35-14=21']
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,42 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[14, 44], Operations: ['49-40=9', '35+9=44']
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Exploring Operation: 14*44=616, Resulting Numbers: [616]
616,42 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[14, 26], Operations: ['49-40=9', '35-9=26']
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,42 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[35, 5], Operations: ['49-40=9', '14-9=5']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,42 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,42 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: 42:[40, 49, 21], Operations: ['35-14=21']
Exploring Operation: 40-21=19, Resulting Numbers: [49, 19]
Generated Node #0,2,0: 42:[49, 19] Operation: 40-21=19
Exploring Operation: 49-21=28, Resulting Numbers: [40, 28]
Generated Node #0,2,1: 42:[40, 28] Operation: 49-21=28
Exploring Operation: 49-40=9, Resulting Numbers: [21, 9]
Generated Node #0,2,2: 42:[21, 9] Operation: 49-40=9
Exploring Operation: 40+21=61, Resulting Numbers: [49, 61]
Generated Node #0,2,3: 42:[49, 61] Operation: 40+21=61
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[21, 9], Operations: ['35-14=21', '49-40=9']
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,42 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[49, 19], Operations: ['35-14=21', '40-21=19']
Exploring Operation: 49+19=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Exploring Operation: 49*19=931, Resulting Numbers: [931]
931,42 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[40, 28], Operations: ['35-14=21', '49-21=28']
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 40*28=1120, Resulting Numbers: [1120]
1120,42 unequal: No Solution
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 42:[49, 61], Operations: ['35-14=21', '40+21=61']
Exploring Operation: 49*61=2989, Resulting Numbers: [2989]
2989,42 unequal: No Solution
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 49+61=110, Resulting Numbers: [110]
110,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 42:[40, 1], Operations: ['49-35=14', '14/14=1']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[40, 0], Operations: ['49-35=14', '14-14=0']
Exploring Operation: 40*0=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 40-0=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 40+0=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[14, 26], Operations: ['49-35=14', '40-14=26']
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,42 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[14, 26], Operations: ['49-35=14', '40-14=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,42 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,42 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
24,
77,
23,
23
] | 52 | [
"77-24=53",
"23/23=1",
"53-1=52"
] | Current State: 52:[24, 77, 23, 23], Operations: []
Exploring Operation: 77-24=53, Resulting Numbers: [23, 23, 53]
Generated Node #2: [23, 23, 53] from Operation: 77-24=53
Current State: 52:[23, 23, 53], Operations: ['77-24=53']
Exploring Operation: 23/23=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 23/23=1
Current State: 52:[53, 1], Operations: ['77-24=53', '23/23=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[24, 77, 23, 23], Operations: []
Exploring Operation: 77-23=54, Resulting Numbers: [24, 23, 54]
Generated Node #0,0: 52:[24, 23, 54] Operation: 77-23=54
Exploring Operation: 77-23=54, Resulting Numbers: [24, 23, 54]
Generated Node #0,1: 52:[24, 23, 54] Operation: 77-23=54
Exploring Operation: 77-24=53, Resulting Numbers: [23, 23, 53]
Generated Node #0,2: 52:[23, 23, 53] Operation: 77-24=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[24, 23, 54], Operations: ['77-23=54']
Exploring Operation: 24-23=1, Resulting Numbers: [54, 1]
Generated Node #0,0,0: 52:[54, 1] Operation: 24-23=1
Exploring Operation: 24+23=47, Resulting Numbers: [54, 47]
Generated Node #0,0,1: 52:[54, 47] Operation: 24+23=47
Exploring Operation: 54-24=30, Resulting Numbers: [23, 30]
Generated Node #0,0,2: 52:[23, 30] Operation: 54-24=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[54, 1], Operations: ['77-23=54', '24-23=1']
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[54, 47], Operations: ['77-23=54', '24+23=47']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,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,0,2
Current State: 52:[23, 30], Operations: ['77-23=54', '54-24=30']
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,52 unequal: No Solution
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,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,1
Current State: 52:[24, 23, 54], Operations: ['77-23=54']
Exploring Operation: 54-24=30, Resulting Numbers: [23, 30]
Generated Node #0,1,0: 52:[23, 30] Operation: 54-24=30
Exploring Operation: 24-23=1, Resulting Numbers: [54, 1]
Generated Node #0,1,1: 52:[54, 1] Operation: 24-23=1
Exploring Operation: 24+23=47, Resulting Numbers: [54, 47]
Generated Node #0,1,2: 52:[54, 47] Operation: 24+23=47
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[54, 1], Operations: ['77-23=54', '24-23=1']
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,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:[23, 30], Operations: ['77-23=54', '54-24=30']
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,52 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,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:[54, 47], Operations: ['77-23=54', '24+23=47']
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,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:[23, 23, 53], Operations: ['77-24=53']
Exploring Operation: 23-23=0, Resulting Numbers: [53, 0]
Generated Node #0,2,0: 52:[53, 0] Operation: 23-23=0
Exploring Operation: 23/23=1, Resulting Numbers: [53, 1]
Generated Node #0,2,1: 52:[53, 1] Operation: 23/23=1
Exploring Operation: 23+23=46, Resulting Numbers: [53, 46]
Generated Node #0,2,2: 52:[53, 46] Operation: 23+23=46
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[53, 1], Operations: ['77-24=53', '23/23=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[24, 77, 23, 23], Operations: []
Exploring Operation: 77-24=53, Resulting Numbers: [23, 23, 53]
Generated Node #0,2: 52:[23, 23, 53] Operation: 77-24=53
Moving to Node #0,2
Current State: 52:[23, 23, 53], Operations: ['77-24=53']
Exploring Operation: 23/23=1, Resulting Numbers: [53, 1]
Generated Node #0,2,1: 52:[53, 1] Operation: 23/23=1
Moving to Node #0,2,1
Current State: 52:[53, 1], Operations: ['77-24=53', '23/23=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
46,
84,
37,
61
] | 62 | [
"84-46=38",
"61-37=24",
"38+24=62"
] | Current State: 62:[46, 84, 37, 61], Operations: []
Exploring Operation: 84-46=38, Resulting Numbers: [37, 61, 38]
Generated Node #2: [37, 61, 38] from Operation: 84-46=38
Current State: 62:[37, 61, 38], Operations: ['84-46=38']
Exploring Operation: 61-37=24, Resulting Numbers: [38, 24]
Generated Node #3: [38, 24] from Operation: 61-37=24
Current State: 62:[38, 24], Operations: ['84-46=38', '61-37=24']
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[46, 84, 37, 61], Operations: []
Exploring Operation: 84-61=23, Resulting Numbers: [46, 37, 23]
Generated Node #0,0: 62:[46, 37, 23] Operation: 84-61=23
Exploring Operation: 84-46=38, Resulting Numbers: [37, 61, 38]
Generated Node #0,1: 62:[37, 61, 38] Operation: 84-46=38
Exploring Operation: 61-46=15, Resulting Numbers: [84, 37, 15]
Generated Node #0,2: 62:[84, 37, 15] Operation: 61-46=15
Exploring Operation: 84-37=47, Resulting Numbers: [46, 61, 47]
Generated Node #0,3: 62:[46, 61, 47] Operation: 84-37=47
Exploring Operation: 46-37=9, Resulting Numbers: [84, 61, 9]
Generated Node #0,4: 62:[84, 61, 9] Operation: 46-37=9
Moving to Node #0,1
Current State: 62:[37, 61, 38], Operations: ['84-46=38']
Exploring Operation: 61-37=24, Resulting Numbers: [38, 24]
Generated Node #0,1,0: 62:[38, 24] Operation: 61-37=24
Exploring Operation: 37+38=75, Resulting Numbers: [61, 75]
Generated Node #0,1,1: 62:[61, 75] Operation: 37+38=75
Exploring Operation: 37+61=98, Resulting Numbers: [38, 98]
Generated Node #0,1,2: 62:[38, 98] Operation: 37+61=98
Exploring Operation: 38-37=1, Resulting Numbers: [61, 1]
Generated Node #0,1,3: 62:[61, 1] Operation: 38-37=1
Exploring Operation: 61-38=23, Resulting Numbers: [37, 23]
Generated Node #0,1,4: 62:[37, 23] Operation: 61-38=23
Moving to Node #0,0
Current State: 62:[46, 37, 23], Operations: ['84-61=23']
Exploring Operation: 46/23=2, Resulting Numbers: [37, 2]
Generated Node #0,0,0: 62:[37, 2] Operation: 46/23=2
Exploring Operation: 46-37=9, Resulting Numbers: [23, 9]
Generated Node #0,0,1: 62:[23, 9] Operation: 46-37=9
Exploring Operation: 37+23=60, Resulting Numbers: [46, 60]
Generated Node #0,0,2: 62:[46, 60] Operation: 37+23=60
Exploring Operation: 46-23=23, Resulting Numbers: [37, 23]
Generated Node #0,0,3: 62:[37, 23] Operation: 46-23=23
Exploring Operation: 46+23=69, Resulting Numbers: [37, 69]
Generated Node #0,0,4: 62:[37, 69] Operation: 46+23=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[37, 2], Operations: ['84-61=23', '46/23=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,62 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 62:[37, 69], Operations: ['84-61=23', '46+23=69']
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 37*69=2553, Resulting Numbers: [2553]
2553,62 unequal: No Solution
Exploring Operation: 37+69=106, Resulting Numbers: [106]
106,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[37, 23], Operations: ['84-61=23', '46-23=23']
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,62 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[23, 9], Operations: ['84-61=23', '46-37=9']
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,62 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[46, 60], Operations: ['84-61=23', '37+23=60']
Exploring Operation: 46+60=106, Resulting Numbers: [106]
106,62 unequal: No Solution
Exploring Operation: 46*60=2760, Resulting Numbers: [2760]
2760,62 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,62 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: 62:[84, 61, 9], Operations: ['46-37=9']
Exploring Operation: 61-9=52, Resulting Numbers: [84, 52]
Generated Node #0,4,0: 62:[84, 52] Operation: 61-9=52
Exploring Operation: 84-61=23, Resulting Numbers: [9, 23]
Generated Node #0,4,1: 62:[9, 23] Operation: 84-61=23
Exploring Operation: 61+9=70, Resulting Numbers: [84, 70]
Generated Node #0,4,2: 62:[84, 70] Operation: 61+9=70
Exploring Operation: 84-9=75, Resulting Numbers: [61, 75]
Generated Node #0,4,3: 62:[61, 75] Operation: 84-9=75
Exploring Operation: 84+9=93, Resulting Numbers: [61, 93]
Generated Node #0,4,4: 62:[61, 93] Operation: 84+9=93
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 62:[61, 75], Operations: ['46-37=9', '84-9=75']
Exploring Operation: 61+75=136, Resulting Numbers: [136]
136,62 unequal: No Solution
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 61*75=4575, Resulting Numbers: [4575]
4575,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 62:[9, 23], Operations: ['46-37=9', '84-61=23']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 9*23=207, Resulting Numbers: [207]
207,62 unequal: No Solution
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 62:[84, 70], Operations: ['46-37=9', '61+9=70']
Exploring Operation: 84+70=154, Resulting Numbers: [154]
154,62 unequal: No Solution
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 84*70=5880, Resulting Numbers: [5880]
5880,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 62:[84, 52], Operations: ['46-37=9', '61-9=52']
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 84*52=4368, Resulting Numbers: [4368]
4368,62 unequal: No Solution
Exploring Operation: 84+52=136, Resulting Numbers: [136]
136,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 62:[61, 93], Operations: ['46-37=9', '84+9=93']
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 61*93=5673, Resulting Numbers: [5673]
5673,62 unequal: No Solution
Exploring Operation: 61+93=154, Resulting Numbers: [154]
154,62 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: 62:[46, 61, 47], Operations: ['84-37=47']
Exploring Operation: 47-46=1, Resulting Numbers: [61, 1]
Generated Node #0,3,0: 62:[61, 1] Operation: 47-46=1
Exploring Operation: 61-46=15, Resulting Numbers: [47, 15]
Generated Node #0,3,1: 62:[47, 15] Operation: 61-46=15
Exploring Operation: 61-47=14, Resulting Numbers: [46, 14]
Generated Node #0,3,2: 62:[46, 14] Operation: 61-47=14
Exploring Operation: 46+47=93, Resulting Numbers: [61, 93]
Generated Node #0,3,3: 62:[61, 93] Operation: 46+47=93
Exploring Operation: 46+61=107, Resulting Numbers: [47, 107]
Generated Node #0,3,4: 62:[47, 107] Operation: 46+61=107
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[61, 1], Operations: ['84-37=47', '47-46=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[46, 84, 37, 61], Operations: []
Exploring Operation: 84-37=47, Resulting Numbers: [46, 61, 47]
Generated Node #0,3: 62:[46, 61, 47] Operation: 84-37=47
Moving to Node #0,3
Current State: 62:[46, 61, 47], Operations: ['84-37=47']
Exploring Operation: 47-46=1, Resulting Numbers: [61, 1]
Generated Node #0,3,0: 62:[61, 1] Operation: 47-46=1
Moving to Node #0,3,0
Current State: 62:[61, 1], Operations: ['84-37=47', '47-46=1']
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | mult_heuristic |
[
68,
28,
65,
73
] | 24 | [
"28*65=1820",
"1820-68=1752",
"1752/73=24"
] | Current State: 24:[68, 28, 65, 73], Operations: []
Exploring Operation: 28*65=1820, Resulting Numbers: [68, 73, 1820]
Generated Node #2: [68, 73, 1820] from Operation: 28*65=1820
Current State: 24:[68, 73, 1820], Operations: ['28*65=1820']
Exploring Operation: 1820-68=1752, Resulting Numbers: [73, 1752]
Generated Node #3: [73, 1752] from Operation: 1820-68=1752
Current State: 24:[73, 1752], Operations: ['28*65=1820', '1820-68=1752']
Exploring Operation: 1752/73=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[68, 28, 65, 73], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [68, 28, 8]
Generated Node #0,0: 24:[68, 28, 8] Operation: 73-65=8
Exploring Operation: 73-68=5, Resulting Numbers: [28, 65, 5]
Generated Node #0,1: 24:[28, 65, 5] Operation: 73-68=5
Exploring Operation: 68-28=40, Resulting Numbers: [65, 73, 40]
Generated Node #0,2: 24:[65, 73, 40] Operation: 68-28=40
Exploring Operation: 68-65=3, Resulting Numbers: [28, 73, 3]
Generated Node #0,3: 24:[28, 73, 3] Operation: 68-65=3
Moving to Node #0,1
Current State: 24:[28, 65, 5], Operations: ['73-68=5']
Exploring Operation: 28-5=23, Resulting Numbers: [65, 23]
Generated Node #0,1,0: 24:[65, 23] Operation: 28-5=23
Exploring Operation: 65-28=37, Resulting Numbers: [5, 37]
Generated Node #0,1,1: 24:[5, 37] Operation: 65-28=37
Exploring Operation: 65-5=60, Resulting Numbers: [28, 60]
Generated Node #0,1,2: 24:[28, 60] Operation: 65-5=60
Exploring Operation: 65/5=13, Resulting Numbers: [28, 13]
Generated Node #0,1,3: 24:[28, 13] Operation: 65/5=13
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[28, 13], Operations: ['73-68=5', '65/5=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,24 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[5, 37], Operations: ['73-68=5', '65-28=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[28, 60], Operations: ['73-68=5', '65-5=60']
Exploring Operation: 28+60=88, Resulting Numbers: [88]
88,24 unequal: No Solution
Exploring Operation: 28*60=1680, Resulting Numbers: [1680]
1680,24 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[65, 23], Operations: ['73-68=5', '28-5=23']
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,24 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,24 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: 24:[68, 28, 8], Operations: ['73-65=8']
Exploring Operation: 68-8=60, Resulting Numbers: [28, 60]
Generated Node #0,0,0: 24:[28, 60] Operation: 68-8=60
Exploring Operation: 68-28=40, Resulting Numbers: [8, 40]
Generated Node #0,0,1: 24:[8, 40] Operation: 68-28=40
Exploring Operation: 28-8=20, Resulting Numbers: [68, 20]
Generated Node #0,0,2: 24:[68, 20] Operation: 28-8=20
Exploring Operation: 68+8=76, Resulting Numbers: [28, 76]
Generated Node #0,0,3: 24:[28, 76] Operation: 68+8=76
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[8, 40], Operations: ['73-65=8', '68-28=40']
Exploring Operation: 8*40=320, Resulting Numbers: [320]
320,24 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[28, 60], Operations: ['73-65=8', '68-8=60']
Exploring Operation: 28*60=1680, Resulting Numbers: [1680]
1680,24 unequal: No Solution
Exploring Operation: 28+60=88, Resulting Numbers: [88]
88,24 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[68, 20], Operations: ['73-65=8', '28-8=20']
Exploring Operation: 68*20=1360, Resulting Numbers: [1360]
1360,24 unequal: No Solution
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 68+20=88, Resulting Numbers: [88]
88,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 24:[28, 76], Operations: ['73-65=8', '68+8=76']
Exploring Operation: 28*76=2128, Resulting Numbers: [2128]
2128,24 unequal: No Solution
Exploring Operation: 28+76=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,24 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: 24:[28, 73, 3], Operations: ['68-65=3']
Exploring Operation: 28+3=31, Resulting Numbers: [73, 31]
Generated Node #0,3,0: 24:[73, 31] Operation: 28+3=31
Exploring Operation: 73-28=45, Resulting Numbers: [3, 45]
Generated Node #0,3,1: 24:[3, 45] Operation: 73-28=45
Exploring Operation: 73-3=70, Resulting Numbers: [28, 70]
Generated Node #0,3,2: 24:[28, 70] Operation: 73-3=70
Exploring Operation: 28-3=25, Resulting Numbers: [73, 25]
Generated Node #0,3,3: 24:[73, 25] Operation: 28-3=25
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[3, 45], Operations: ['68-65=3', '73-28=45']
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,24 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[28, 70], Operations: ['68-65=3', '73-3=70']
Exploring Operation: 28+70=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 28*70=1960, Resulting Numbers: [1960]
1960,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[73, 25], Operations: ['68-65=3', '28-3=25']
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,24 unequal: No Solution
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[73, 31], Operations: ['68-65=3', '28+3=31']
Exploring Operation: 73+31=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 73*31=2263, Resulting Numbers: [2263]
2263,24 unequal: No Solution
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,24 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: 24:[65, 73, 40], Operations: ['68-28=40']
Exploring Operation: 73-40=33, Resulting Numbers: [65, 33]
Generated Node #0,2,0: 24:[65, 33] Operation: 73-40=33
Exploring Operation: 65+73=138, Resulting Numbers: [40, 138]
Generated Node #0,2,1: 24:[40, 138] Operation: 65+73=138
Exploring Operation: 73-65=8, Resulting Numbers: [40, 8]
Generated Node #0,2,2: 24:[40, 8] Operation: 73-65=8
Exploring Operation: 65-40=25, Resulting Numbers: [73, 25]
Generated Node #0,2,3: 24:[73, 25] Operation: 65-40=25
Moving to Node #0,2,2
Current State: 24:[40, 8], Operations: ['68-28=40', '73-65=8']
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 40*8=320, Resulting Numbers: [320]
320,24 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[73, 25], Operations: ['68-28=40', '65-40=25']
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,24 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[65, 33], Operations: ['68-28=40', '73-40=33']
Exploring Operation: 65*33=2145, Resulting Numbers: [2145]
2145,24 unequal: No Solution
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[40, 138], Operations: ['68-28=40', '65+73=138']
Exploring Operation: 40*138=5520, Resulting Numbers: [5520]
5520,24 unequal: No Solution
Exploring Operation: 138-40=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Exploring Operation: 40+138=178, Resulting Numbers: [178]
178,24 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
17,
9,
4,
8
] | 25 | [
"17*8=136",
"136/4=34",
"34-9=25"
] | Current State: 25:[17, 9, 4, 8], Operations: []
Exploring Operation: 17*8=136, Resulting Numbers: [9, 4, 136]
Generated Node #2: [9, 4, 136] from Operation: 17*8=136
Current State: 25:[9, 4, 136], Operations: ['17*8=136']
Exploring Operation: 136/4=34, Resulting Numbers: [9, 34]
Generated Node #3: [9, 34] from Operation: 136/4=34
Current State: 25:[9, 34], Operations: ['17*8=136', '136/4=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[17, 9, 4, 8], Operations: []
Exploring Operation: 17+8=25, Resulting Numbers: [9, 4, 25]
Generated Node #0,0: 25:[9, 4, 25] Operation: 17+8=25
Exploring Operation: 17+9=26, Resulting Numbers: [4, 8, 26]
Generated Node #0,1: 25:[4, 8, 26] Operation: 17+9=26
Moving to Node #0,0
Current State: 25:[9, 4, 25], Operations: ['17+8=25']
Exploring Operation: 9+4=13, Resulting Numbers: [25, 13]
Generated Node #0,0,0: 25:[25, 13] Operation: 9+4=13
Exploring Operation: 9-4=5, Resulting Numbers: [25, 5]
Generated Node #0,0,1: 25:[25, 5] Operation: 9-4=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[25, 5], Operations: ['17+8=25', '9-4=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,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:[25, 13], Operations: ['17+8=25', '9+4=13']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 25:[4, 8, 26], Operations: ['17+9=26']
Exploring Operation: 8-4=4, Resulting Numbers: [26, 4]
Generated Node #0,1,0: 25:[26, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [26, 2]
Generated Node #0,1,1: 25:[26, 2] Operation: 8/4=2
Moving to Node #0,1,0
Current State: 25:[26, 4], Operations: ['17+9=26', '8-4=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[26, 2], Operations: ['17+9=26', '8/4=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,25 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
19,
16,
9,
17
] | 72 | [
"19-17=2",
"16*9=144",
"144/2=72"
] | Current State: 72:[19, 16, 9, 17], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [16, 9, 2]
Generated Node #2: [16, 9, 2] from Operation: 19-17=2
Current State: 72:[16, 9, 2], Operations: ['19-17=2']
Exploring Operation: 16*9=144, Resulting Numbers: [2, 144]
Generated Node #3: [2, 144] from Operation: 16*9=144
Current State: 72:[2, 144], Operations: ['19-17=2', '16*9=144']
Exploring Operation: 144/2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[19, 16, 9, 17], Operations: []
Exploring Operation: 19-16=3, Resulting Numbers: [9, 17, 3]
Generated Node #0,0: 72:[9, 17, 3] Operation: 19-16=3
Exploring Operation: 19+16=35, Resulting Numbers: [9, 17, 35]
Generated Node #0,1: 72:[9, 17, 35] Operation: 19+16=35
Moving to Node #0,0
Current State: 72:[9, 17, 3], Operations: ['19-16=3']
Exploring Operation: 17-9=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 72:[3, 8] Operation: 17-9=8
Exploring Operation: 9+3=12, Resulting Numbers: [17, 12]
Generated Node #0,0,1: 72:[17, 12] Operation: 9+3=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[3, 8], Operations: ['19-16=3', '17-9=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[17, 12], Operations: ['19-16=3', '9+3=12']
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 72:[9, 17, 35], Operations: ['19+16=35']
Exploring Operation: 35-17=18, Resulting Numbers: [9, 18]
Generated Node #0,1,0: 72:[9, 18] Operation: 35-17=18
Exploring Operation: 17-9=8, Resulting Numbers: [35, 8]
Generated Node #0,1,1: 72:[35, 8] Operation: 17-9=8
Moving to Node #0,1,0
Current State: 72:[9, 18], Operations: ['19+16=35', '35-17=18']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[35, 8], Operations: ['19+16=35', '17-9=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,72 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,72 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
47,
6,
59
] | 34 | [
"59-47=12",
"12/6=2",
"36-2=34"
] | Current State: 34:[36, 47, 6, 59], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [36, 6, 12]
Generated Node #2: [36, 6, 12] from Operation: 59-47=12
Current State: 34:[36, 6, 12], Operations: ['59-47=12']
Exploring Operation: 12/6=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 12/6=2
Current State: 34:[36, 2], Operations: ['59-47=12', '12/6=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[36, 47, 6, 59], Operations: []
Exploring Operation: 47-6=41, Resulting Numbers: [36, 59, 41]
Generated Node #0,0: 34:[36, 59, 41] Operation: 47-6=41
Exploring Operation: 59-47=12, Resulting Numbers: [36, 6, 12]
Generated Node #0,1: 34:[36, 6, 12] Operation: 59-47=12
Exploring Operation: 59-6=53, Resulting Numbers: [36, 47, 53]
Generated Node #0,2: 34:[36, 47, 53] Operation: 59-6=53
Exploring Operation: 59-36=23, Resulting Numbers: [47, 6, 23]
Generated Node #0,3: 34:[47, 6, 23] Operation: 59-36=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[36, 6, 12], Operations: ['59-47=12']
Exploring Operation: 36/12=3, Resulting Numbers: [6, 3]
Generated Node #0,1,0: 34:[6, 3] Operation: 36/12=3
Exploring Operation: 12/6=2, Resulting Numbers: [36, 2]
Generated Node #0,1,1: 34:[36, 2] Operation: 12/6=2
Exploring Operation: 6+12=18, Resulting Numbers: [36, 18]
Generated Node #0,1,2: 34:[36, 18] Operation: 6+12=18
Exploring Operation: 12-6=6, Resulting Numbers: [36, 6]
Generated Node #0,1,3: 34:[36, 6] Operation: 12-6=6
Moving to Node #0,1,1
Current State: 34:[36, 2], Operations: ['59-47=12', '12/6=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[36, 47, 6, 59], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [36, 6, 12]
Generated Node #0,1: 34:[36, 6, 12] Operation: 59-47=12
Moving to Node #0,1
Current State: 34:[36, 6, 12], Operations: ['59-47=12']
Exploring Operation: 12/6=2, Resulting Numbers: [36, 2]
Generated Node #0,1,1: 34:[36, 2] Operation: 12/6=2
Moving to Node #0,1,1
Current State: 34:[36, 2], Operations: ['59-47=12', '12/6=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
88,
78,
31,
2
] | 96 | [
"88-31=57",
"78/2=39",
"57+39=96"
] | Current State: 96:[88, 78, 31, 2], Operations: []
Exploring Operation: 88-31=57, Resulting Numbers: [78, 2, 57]
Generated Node #2: [78, 2, 57] from Operation: 88-31=57
Current State: 96:[78, 2, 57], Operations: ['88-31=57']
Exploring Operation: 78/2=39, Resulting Numbers: [57, 39]
Generated Node #3: [57, 39] from Operation: 78/2=39
Current State: 96:[57, 39], Operations: ['88-31=57', '78/2=39']
Exploring Operation: 57+39=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[88, 78, 31, 2], Operations: []
Exploring Operation: 88-78=10, Resulting Numbers: [31, 2, 10]
Generated Node #0,0: 96:[31, 2, 10] Operation: 88-78=10
Exploring Operation: 78-31=47, Resulting Numbers: [88, 2, 47]
Generated Node #0,1: 96:[88, 2, 47] Operation: 78-31=47
Exploring Operation: 78/2=39, Resulting Numbers: [88, 31, 39]
Generated Node #0,2: 96:[88, 31, 39] Operation: 78/2=39
Exploring Operation: 78+31=109, Resulting Numbers: [88, 2, 109]
Generated Node #0,3: 96:[88, 2, 109] Operation: 78+31=109
Moving to Node #0,0
Current State: 96:[31, 2, 10], Operations: ['88-78=10']
Exploring Operation: 2+10=12, Resulting Numbers: [31, 12]
Generated Node #0,0,0: 96:[31, 12] Operation: 2+10=12
Exploring Operation: 10/2=5, Resulting Numbers: [31, 5]
Generated Node #0,0,1: 96:[31, 5] Operation: 10/2=5
Exploring Operation: 10-2=8, Resulting Numbers: [31, 8]
Generated Node #0,0,2: 96:[31, 8] Operation: 10-2=8
Exploring Operation: 31+2=33, Resulting Numbers: [10, 33]
Generated Node #0,0,3: 96:[10, 33] Operation: 31+2=33
Moving to Node #0,1
Current State: 96:[88, 2, 47], Operations: ['78-31=47']
Exploring Operation: 88+2=90, Resulting Numbers: [47, 90]
Generated Node #0,1,0: 96:[47, 90] Operation: 88+2=90
Exploring Operation: 88-47=41, Resulting Numbers: [2, 41]
Generated Node #0,1,1: 96:[2, 41] Operation: 88-47=41
Exploring Operation: 2+47=49, Resulting Numbers: [88, 49]
Generated Node #0,1,2: 96:[88, 49] Operation: 2+47=49
Exploring Operation: 88/2=44, Resulting Numbers: [47, 44]
Generated Node #0,1,3: 96:[47, 44] Operation: 88/2=44
Moving to Node #0,2
Current State: 96:[88, 31, 39], Operations: ['78/2=39']
Exploring Operation: 88-39=49, Resulting Numbers: [31, 49]
Generated Node #0,2,0: 96:[31, 49] Operation: 88-39=49
Exploring Operation: 88-31=57, Resulting Numbers: [39, 57]
Generated Node #0,2,1: 96:[39, 57] Operation: 88-31=57
Exploring Operation: 39-31=8, Resulting Numbers: [88, 8]
Generated Node #0,2,2: 96:[88, 8] Operation: 39-31=8
Exploring Operation: 88+31=119, Resulting Numbers: [39, 119]
Generated Node #0,2,3: 96:[39, 119] Operation: 88+31=119
Moving to Node #0,3
Current State: 96:[88, 2, 109], Operations: ['78+31=109']
Exploring Operation: 109-88=21, Resulting Numbers: [2, 21]
Generated Node #0,3,0: 96:[2, 21] Operation: 109-88=21
Exploring Operation: 88+2=90, Resulting Numbers: [109, 90]
Generated Node #0,3,1: 96:[109, 90] Operation: 88+2=90
Exploring Operation: 88/2=44, Resulting Numbers: [109, 44]
Generated Node #0,3,2: 96:[109, 44] Operation: 88/2=44
Exploring Operation: 109-2=107, Resulting Numbers: [88, 107]
Generated Node #0,3,3: 96:[88, 107] Operation: 109-2=107
Moving to Node #0,0,0
Current State: 96:[31, 12], Operations: ['88-78=10', '2+10=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[31, 8], Operations: ['88-78=10', '10-2=8']
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,96 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[31, 5], Operations: ['88-78=10', '10/2=5']
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,96 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[31, 49], Operations: ['78/2=39', '88-39=49']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,96 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[2, 21], Operations: ['78+31=109', '109-88=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,96 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[10, 33], Operations: ['88-78=10', '31+2=33']
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,96 unequal: No Solution
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[47, 44], Operations: ['78-31=47', '88/2=44']
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 47*44=2068, Resulting Numbers: [2068]
2068,96 unequal: No Solution
Exploring Operation: 47+44=91, Resulting Numbers: [91]
91,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[2, 41], Operations: ['78-31=47', '88-47=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,96 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[47, 90], Operations: ['78-31=47', '88+2=90']
Exploring Operation: 47+90=137, Resulting Numbers: [137]
137,96 unequal: No Solution
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 47*90=4230, Resulting Numbers: [4230]
4230,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[88, 8], Operations: ['78/2=39', '39-31=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[88, 78, 31, 2], Operations: []
Exploring Operation: 78/2=39, Resulting Numbers: [88, 31, 39]
Generated Node #0,2: 96:[88, 31, 39] Operation: 78/2=39
Moving to Node #0,2
Current State: 96:[88, 31, 39], Operations: ['78/2=39']
Exploring Operation: 39-31=8, Resulting Numbers: [88, 8]
Generated Node #0,2,2: 96:[88, 8] Operation: 39-31=8
Moving to Node #0,2,2
Current State: 96:[88, 8], Operations: ['78/2=39', '39-31=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.954861 | hs_4 | mult_heuristic |
[
7,
2,
80,
64
] | 62 | [
"7+64=71",
"2*71=142",
"142-80=62"
] | Current State: 62:[7, 2, 80, 64], Operations: []
Exploring Operation: 7+64=71, Resulting Numbers: [2, 80, 71]
Generated Node #2: [2, 80, 71] from Operation: 7+64=71
Current State: 62:[2, 80, 71], Operations: ['7+64=71']
Exploring Operation: 2*71=142, Resulting Numbers: [80, 142]
Generated Node #3: [80, 142] from Operation: 2*71=142
Current State: 62:[80, 142], Operations: ['7+64=71', '2*71=142']
Exploring Operation: 142-80=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[7, 2, 80, 64], Operations: []
Exploring Operation: 80-7=73, Resulting Numbers: [2, 64, 73]
Generated Node #0,0: 62:[2, 64, 73] Operation: 80-7=73
Moving to Node #0,0
Current State: 62:[2, 64, 73], Operations: ['80-7=73']
Exploring Operation: 73-64=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 62:[2, 9] Operation: 73-64=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[2, 9], Operations: ['80-7=73', '73-64=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,62 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 |
[
25,
48,
48,
95
] | 24 | [
"48-25=23",
"95-48=47",
"47-23=24"
] | Current State: 24:[25, 48, 48, 95], Operations: []
Exploring Operation: 48-25=23, Resulting Numbers: [95, 23]
Generated Node #2: [95, 23] from Operation: 48-25=23
Current State: 24:[95, 23], Operations: ['48-25=23']
Exploring Operation: 95-48=47, Resulting Numbers: [23, 47]
Generated Node #3: [23, 47] from Operation: 95-48=47
Current State: 24:[23, 47], Operations: ['48-25=23', '95-48=47']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[25, 48, 48, 95], Operations: []
Exploring Operation: 95-48=47, Resulting Numbers: [25, 48, 47]
Generated Node #0,0: 24:[25, 48, 47] Operation: 95-48=47
Exploring Operation: 95-48=47, Resulting Numbers: [25, 48, 47]
Generated Node #0,1: 24:[25, 48, 47] Operation: 95-48=47
Exploring Operation: 48-48=0, Resulting Numbers: [25, 95, 0]
Generated Node #0,2: 24:[25, 95, 0] Operation: 48-48=0
Exploring Operation: 48/48=1, Resulting Numbers: [25, 95, 1]
Generated Node #0,3: 24:[25, 95, 1] Operation: 48/48=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[25, 48, 47], Operations: ['95-48=47']
Exploring Operation: 48-47=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 24:[25, 1] Operation: 48-47=1
Exploring Operation: 47-25=22, Resulting Numbers: [48, 22]
Generated Node #0,0,1: 24:[48, 22] Operation: 47-25=22
Exploring Operation: 48-25=23, Resulting Numbers: [47, 23]
Generated Node #0,0,2: 24:[47, 23] Operation: 48-25=23
Exploring Operation: 25+48=73, Resulting Numbers: [47, 73]
Generated Node #0,0,3: 24:[47, 73] Operation: 25+48=73
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[25, 1], Operations: ['95-48=47', '48-47=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[25, 48, 48, 95], Operations: []
Exploring Operation: 95-48=47, Resulting Numbers: [25, 48, 47]
Generated Node #0,0: 24:[25, 48, 47] Operation: 95-48=47
Moving to Node #0,0
Current State: 24:[25, 48, 47], Operations: ['95-48=47']
Exploring Operation: 48-47=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 24:[25, 1] Operation: 48-47=1
Moving to Node #0,0,0
Current State: 24:[25, 1], Operations: ['95-48=47', '48-47=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
4,
57,
80,
20
] | 58 | [
"80/4=20",
"20/20=1",
"57+1=58"
] | Current State: 58:[4, 57, 80, 20], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [57, 20, 20]
Generated Node #2: [57, 20, 20] from Operation: 80/4=20
Current State: 58:[57, 20, 20], Operations: ['80/4=20']
Exploring Operation: 20/20=1, Resulting Numbers: [57, 1]
Generated Node #3: [57, 1] from Operation: 20/20=1
Current State: 58:[57, 1], Operations: ['80/4=20', '20/20=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[4, 57, 80, 20], Operations: []
Exploring Operation: 80-20=60, Resulting Numbers: [4, 57, 60]
Generated Node #0,0: 58:[4, 57, 60] Operation: 80-20=60
Moving to Node #0,0
Current State: 58:[4, 57, 60], Operations: ['80-20=60']
Exploring Operation: 60-4=56, Resulting Numbers: [57, 56]
Generated Node #0,0,0: 58:[57, 56] Operation: 60-4=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[57, 56], Operations: ['80-20=60', '60-4=56']
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,58 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 |
[
63,
98,
68,
3
] | 19 | [
"68-63=5",
"98-3=95",
"95/5=19"
] | Current State: 19:[63, 98, 68, 3], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [98, 3, 5]
Generated Node #2: [98, 3, 5] from Operation: 68-63=5
Current State: 19:[98, 3, 5], Operations: ['68-63=5']
Exploring Operation: 98-3=95, Resulting Numbers: [5, 95]
Generated Node #3: [5, 95] from Operation: 98-3=95
Current State: 19:[5, 95], Operations: ['68-63=5', '98-3=95']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[63, 98, 68, 3], Operations: []
Exploring Operation: 98-68=30, Resulting Numbers: [63, 3, 30]
Generated Node #0,0: 19:[63, 3, 30] Operation: 98-68=30
Exploring Operation: 98-63=35, Resulting Numbers: [68, 3, 35]
Generated Node #0,1: 19:[68, 3, 35] Operation: 98-63=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[63, 3, 30], Operations: ['98-68=30']
Exploring Operation: 63/3=21, Resulting Numbers: [30, 21]
Generated Node #0,0,0: 19:[30, 21] Operation: 63/3=21
Exploring Operation: 63-30=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 19:[3, 33] Operation: 63-30=33
Moving to Node #0,0,0
Current State: 19:[30, 21], Operations: ['98-68=30', '63/3=21']
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[3, 33], Operations: ['98-68=30', '63-30=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[68, 3, 35], Operations: ['98-63=35']
Exploring Operation: 68-3=65, Resulting Numbers: [35, 65]
Generated Node #0,1,0: 19:[35, 65] Operation: 68-3=65
Exploring Operation: 68-35=33, Resulting Numbers: [3, 33]
Generated Node #0,1,1: 19:[3, 33] Operation: 68-35=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[3, 33], Operations: ['98-63=35', '68-35=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[35, 65], Operations: ['98-63=35', '68-3=65']
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 35+65=100, Resulting Numbers: [100]
100,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
45,
26,
69,
2
] | 14 | [
"69-45=24",
"24/2=12",
"26-12=14"
] | Current State: 14:[45, 26, 69, 2], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [26, 2, 24]
Generated Node #2: [26, 2, 24] from Operation: 69-45=24
Current State: 14:[26, 2, 24], Operations: ['69-45=24']
Exploring Operation: 24/2=12, Resulting Numbers: [26, 12]
Generated Node #3: [26, 12] from Operation: 24/2=12
Current State: 14:[26, 12], Operations: ['69-45=24', '24/2=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[45, 26, 69, 2], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [26, 2, 24]
Generated Node #0,0: 14:[26, 2, 24] Operation: 69-45=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[26, 2, 24], Operations: ['69-45=24']
Exploring Operation: 26-24=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 14:[2, 2] Operation: 26-24=2
Moving to Node #0,0,0
Current State: 14:[2, 2], Operations: ['69-45=24', '26-24=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,14 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 |
[
6,
33,
20,
31
] | 52 | [
"6+20=26",
"33-31=2",
"26*2=52"
] | Current State: 52:[6, 33, 20, 31], Operations: []
Exploring Operation: 6+20=26, Resulting Numbers: [33, 31, 26]
Generated Node #2: [33, 31, 26] from Operation: 6+20=26
Current State: 52:[33, 31, 26], Operations: ['6+20=26']
Exploring Operation: 33-31=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 33-31=2
Current State: 52:[26, 2], Operations: ['6+20=26', '33-31=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[6, 33, 20, 31], Operations: []
Exploring Operation: 33+20=53, Resulting Numbers: [6, 31, 53]
Generated Node #0,0: 52:[6, 31, 53] Operation: 33+20=53
Exploring Operation: 33-20=13, Resulting Numbers: [6, 31, 13]
Generated Node #0,1: 52:[6, 31, 13] Operation: 33-20=13
Exploring Operation: 33-31=2, Resulting Numbers: [6, 20, 2]
Generated Node #0,2: 52:[6, 20, 2] Operation: 33-31=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[6, 31, 13], Operations: ['33-20=13']
Exploring Operation: 31-13=18, Resulting Numbers: [6, 18]
Generated Node #0,1,0: 52:[6, 18] Operation: 31-13=18
Exploring Operation: 31-6=25, Resulting Numbers: [13, 25]
Generated Node #0,1,1: 52:[13, 25] Operation: 31-6=25
Exploring Operation: 13-6=7, Resulting Numbers: [31, 7]
Generated Node #0,1,2: 52:[31, 7] Operation: 13-6=7
Moving to Node #0,1,1
Current State: 52:[13, 25], Operations: ['33-20=13', '31-6=25']
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,52 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[6, 18], Operations: ['33-20=13', '31-13=18']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[31, 7], Operations: ['33-20=13', '13-6=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,52 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,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,0
Current State: 52:[6, 31, 53], Operations: ['33+20=53']
Exploring Operation: 53-6=47, Resulting Numbers: [31, 47]
Generated Node #0,0,0: 52:[31, 47] Operation: 53-6=47
Exploring Operation: 31-6=25, Resulting Numbers: [53, 25]
Generated Node #0,0,1: 52:[53, 25] Operation: 31-6=25
Exploring Operation: 53-31=22, Resulting Numbers: [6, 22]
Generated Node #0,0,2: 52:[6, 22] Operation: 53-31=22
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[53, 25], Operations: ['33+20=53', '31-6=25']
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,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,0,2
Current State: 52:[6, 22], Operations: ['33+20=53', '53-31=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,52 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,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,0,0
Current State: 52:[31, 47], Operations: ['33+20=53', '53-6=47']
Exploring Operation: 31+47=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 31*47=1457, Resulting Numbers: [1457]
1457,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:[6, 20, 2], Operations: ['33-31=2']
Exploring Operation: 6+20=26, Resulting Numbers: [2, 26]
Generated Node #0,2,0: 52:[2, 26] Operation: 6+20=26
Exploring Operation: 20/2=10, Resulting Numbers: [6, 10]
Generated Node #0,2,1: 52:[6, 10] Operation: 20/2=10
Exploring Operation: 20-6=14, Resulting Numbers: [2, 14]
Generated Node #0,2,2: 52:[2, 14] Operation: 20-6=14
Moving to Node #0,2,0
Current State: 52:[2, 26], Operations: ['33-31=2', '6+20=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[6, 33, 20, 31], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [6, 20, 2]
Generated Node #0,2: 52:[6, 20, 2] Operation: 33-31=2
Moving to Node #0,2
Current State: 52:[6, 20, 2], Operations: ['33-31=2']
Exploring Operation: 6+20=26, Resulting Numbers: [2, 26]
Generated Node #0,2,0: 52:[2, 26] Operation: 6+20=26
Moving to Node #0,2,0
Current State: 52:[2, 26], Operations: ['33-31=2', '6+20=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | sum_heuristic |
[
7,
25,
88,
50
] | 79 | [
"88-7=81",
"50/25=2",
"81-2=79"
] | Current State: 79:[7, 25, 88, 50], Operations: []
Exploring Operation: 88-7=81, Resulting Numbers: [25, 50, 81]
Generated Node #2: [25, 50, 81] from Operation: 88-7=81
Current State: 79:[25, 50, 81], Operations: ['88-7=81']
Exploring Operation: 50/25=2, Resulting Numbers: [81, 2]
Generated Node #3: [81, 2] from Operation: 50/25=2
Current State: 79:[81, 2], Operations: ['88-7=81', '50/25=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[7, 25, 88, 50], Operations: []
Exploring Operation: 7+25=32, Resulting Numbers: [88, 50, 32]
Generated Node #0,0: 79:[88, 50, 32] Operation: 7+25=32
Exploring Operation: 25-7=18, Resulting Numbers: [88, 50, 18]
Generated Node #0,1: 79:[88, 50, 18] Operation: 25-7=18
Exploring Operation: 88-7=81, Resulting Numbers: [25, 50, 81]
Generated Node #0,2: 79:[25, 50, 81] Operation: 88-7=81
Exploring Operation: 7+50=57, Resulting Numbers: [25, 88, 57]
Generated Node #0,3: 79:[25, 88, 57] Operation: 7+50=57
Exploring Operation: 25+50=75, Resulting Numbers: [7, 88, 75]
Generated Node #0,4: 79:[7, 88, 75] Operation: 25+50=75
Moving to Node #0,0
Current State: 79:[88, 50, 32], Operations: ['7+25=32']
Exploring Operation: 50+32=82, Resulting Numbers: [88, 82]
Generated Node #0,0,0: 79:[88, 82] Operation: 50+32=82
Exploring Operation: 88-32=56, Resulting Numbers: [50, 56]
Generated Node #0,0,1: 79:[50, 56] Operation: 88-32=56
Exploring Operation: 88-50=38, Resulting Numbers: [32, 38]
Generated Node #0,0,2: 79:[32, 38] Operation: 88-50=38
Exploring Operation: 88+32=120, Resulting Numbers: [50, 120]
Generated Node #0,0,3: 79:[50, 120] Operation: 88+32=120
Exploring Operation: 50-32=18, Resulting Numbers: [88, 18]
Generated Node #0,0,4: 79:[88, 18] Operation: 50-32=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[88, 82], Operations: ['7+25=32', '50+32=82']
Exploring Operation: 88*82=7216, Resulting Numbers: [7216]
7216,79 unequal: No Solution
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 88+82=170, Resulting Numbers: [170]
170,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[50, 56], Operations: ['7+25=32', '88-32=56']
Exploring Operation: 50*56=2800, Resulting Numbers: [2800]
2800,79 unequal: No Solution
Exploring Operation: 50+56=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[50, 120], Operations: ['7+25=32', '88+32=120']
Exploring Operation: 50+120=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 50*120=6000, Resulting Numbers: [6000]
6000,79 unequal: No Solution
Exploring Operation: 120-50=70, Resulting Numbers: [70]
70,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 79:[88, 18], Operations: ['7+25=32', '50-32=18']
Exploring Operation: 88*18=1584, Resulting Numbers: [1584]
1584,79 unequal: No Solution
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 88+18=106, Resulting Numbers: [106]
106,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[32, 38], Operations: ['7+25=32', '88-50=38']
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,79 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,79 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: 79:[25, 88, 57], Operations: ['7+50=57']
Exploring Operation: 25+88=113, Resulting Numbers: [57, 113]
Generated Node #0,3,0: 79:[57, 113] Operation: 25+88=113
Exploring Operation: 57-25=32, Resulting Numbers: [88, 32]
Generated Node #0,3,1: 79:[88, 32] Operation: 57-25=32
Exploring Operation: 25+57=82, Resulting Numbers: [88, 82]
Generated Node #0,3,2: 79:[88, 82] Operation: 25+57=82
Exploring Operation: 88-57=31, Resulting Numbers: [25, 31]
Generated Node #0,3,3: 79:[25, 31] Operation: 88-57=31
Exploring Operation: 88-25=63, Resulting Numbers: [57, 63]
Generated Node #0,3,4: 79:[57, 63] Operation: 88-25=63
Moving to Node #0,2
Current State: 79:[25, 50, 81], Operations: ['88-7=81']
Exploring Operation: 25+81=106, Resulting Numbers: [50, 106]
Generated Node #0,2,0: 79:[50, 106] Operation: 25+81=106
Exploring Operation: 50/25=2, Resulting Numbers: [81, 2]
Generated Node #0,2,1: 79:[81, 2] Operation: 50/25=2
Exploring Operation: 81-25=56, Resulting Numbers: [50, 56]
Generated Node #0,2,2: 79:[50, 56] Operation: 81-25=56
Exploring Operation: 25+50=75, Resulting Numbers: [81, 75]
Generated Node #0,2,3: 79:[81, 75] Operation: 25+50=75
Exploring Operation: 50-25=25, Resulting Numbers: [81, 25]
Generated Node #0,2,4: 79:[81, 25] Operation: 50-25=25
Moving to Node #0,4
Current State: 79:[7, 88, 75], Operations: ['25+50=75']
Exploring Operation: 7+75=82, Resulting Numbers: [88, 82]
Generated Node #0,4,0: 79:[88, 82] Operation: 7+75=82
Exploring Operation: 88-75=13, Resulting Numbers: [7, 13]
Generated Node #0,4,1: 79:[7, 13] Operation: 88-75=13
Exploring Operation: 88-7=81, Resulting Numbers: [75, 81]
Generated Node #0,4,2: 79:[75, 81] Operation: 88-7=81
Exploring Operation: 7+88=95, Resulting Numbers: [75, 95]
Generated Node #0,4,3: 79:[75, 95] Operation: 7+88=95
Exploring Operation: 75-7=68, Resulting Numbers: [88, 68]
Generated Node #0,4,4: 79:[88, 68] Operation: 75-7=68
Moving to Node #0,1
Current State: 79:[88, 50, 18], Operations: ['25-7=18']
Exploring Operation: 50+18=68, Resulting Numbers: [88, 68]
Generated Node #0,1,0: 79:[88, 68] Operation: 50+18=68
Exploring Operation: 50-18=32, Resulting Numbers: [88, 32]
Generated Node #0,1,1: 79:[88, 32] Operation: 50-18=32
Exploring Operation: 88+18=106, Resulting Numbers: [50, 106]
Generated Node #0,1,2: 79:[50, 106] Operation: 88+18=106
Exploring Operation: 88-50=38, Resulting Numbers: [18, 38]
Generated Node #0,1,3: 79:[18, 38] Operation: 88-50=38
Exploring Operation: 88-18=70, Resulting Numbers: [50, 70]
Generated Node #0,1,4: 79:[50, 70] Operation: 88-18=70
Moving to Node #0,2,3
Current State: 79:[81, 75], Operations: ['88-7=81', '25+50=75']
Exploring Operation: 81+75=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 81*75=6075, Resulting Numbers: [6075]
6075,79 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[75, 81], Operations: ['25+50=75', '88-7=81']
Exploring Operation: 75+81=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 75*81=6075, Resulting Numbers: [6075]
6075,79 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[88, 82], Operations: ['7+50=57', '25+57=82']
Exploring Operation: 88*82=7216, Resulting Numbers: [7216]
7216,79 unequal: No Solution
Exploring Operation: 88+82=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[88, 82], Operations: ['25+50=75', '7+75=82']
Exploring Operation: 88*82=7216, Resulting Numbers: [7216]
7216,79 unequal: No Solution
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 88+82=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[88, 68], Operations: ['25+50=75', '75-7=68']
Exploring Operation: 88*68=5984, Resulting Numbers: [5984]
5984,79 unequal: No Solution
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 88+68=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[75, 95], Operations: ['25+50=75', '7+88=95']
Exploring Operation: 75*95=7125, Resulting Numbers: [7125]
7125,79 unequal: No Solution
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 75+95=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[88, 68], Operations: ['25-7=18', '50+18=68']
Exploring Operation: 88+68=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 88*68=5984, Resulting Numbers: [5984]
5984,79 unequal: No Solution
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[57, 63], Operations: ['7+50=57', '88-25=63']
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 57+63=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Exploring Operation: 57*63=3591, Resulting Numbers: [3591]
3591,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[50, 70], Operations: ['25-7=18', '88-18=70']
Exploring Operation: 50+70=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 50*70=3500, Resulting Numbers: [3500]
3500,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[50, 56], Operations: ['88-7=81', '81-25=56']
Exploring Operation: 50+56=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 50*56=2800, Resulting Numbers: [2800]
2800,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[88, 32], Operations: ['25-7=18', '50-18=32']
Exploring Operation: 88*32=2816, Resulting Numbers: [2816]
2816,79 unequal: No Solution
Exploring Operation: 88+32=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[57, 113], Operations: ['7+50=57', '25+88=113']
Exploring Operation: 57*113=6441, Resulting Numbers: [6441]
6441,79 unequal: No Solution
Exploring Operation: 113-57=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 57+113=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[50, 106], Operations: ['25-7=18', '88+18=106']
Exploring Operation: 50*106=5300, Resulting Numbers: [5300]
5300,79 unequal: No Solution
Exploring Operation: 50+106=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 106-50=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Moving to Node #0,2,4
Current State: 79:[81, 25], Operations: ['88-7=81', '50-25=25']
Exploring Operation: 81*25=2025, Resulting Numbers: [2025]
2025,79 unequal: No Solution
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 81+25=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[50, 106], Operations: ['88-7=81', '25+81=106']
Exploring Operation: 50+106=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 106-50=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 50*106=5300, Resulting Numbers: [5300]
5300,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[88, 32], Operations: ['7+50=57', '57-25=32']
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 88+32=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Exploring Operation: 88*32=2816, Resulting Numbers: [2816]
2816,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[81, 2], Operations: ['88-7=81', '50/25=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,79 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,79 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[7, 25, 88, 50], Operations: []
Exploring Operation: 88-7=81, Resulting Numbers: [25, 50, 81]
Generated Node #0,2: 79:[25, 50, 81] Operation: 88-7=81
Moving to Node #0,2
Current State: 79:[25, 50, 81], Operations: ['88-7=81']
Exploring Operation: 50/25=2, Resulting Numbers: [81, 2]
Generated Node #0,2,1: 79:[81, 2] Operation: 50/25=2
Moving to Node #0,2,1
Current State: 79:[81, 2], Operations: ['88-7=81', '50/25=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.913194 | hs_5 | sum_heuristic |
[
3,
21,
92,
59
] | 10 | [
"92-59=33",
"33/3=11",
"21-11=10"
] | Current State: 10:[3, 21, 92, 59], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [3, 21, 33]
Generated Node #2: [3, 21, 33] from Operation: 92-59=33
Current State: 10:[3, 21, 33], Operations: ['92-59=33']
Exploring Operation: 33/3=11, Resulting Numbers: [21, 11]
Generated Node #3: [21, 11] from Operation: 33/3=11
Current State: 10:[21, 11], Operations: ['92-59=33', '33/3=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[3, 21, 92, 59], Operations: []
Exploring Operation: 92-21=71, Resulting Numbers: [3, 59, 71]
Generated Node #0,0: 10:[3, 59, 71] Operation: 92-21=71
Exploring Operation: 92-59=33, Resulting Numbers: [3, 21, 33]
Generated Node #0,1: 10:[3, 21, 33] Operation: 92-59=33
Exploring Operation: 59-21=38, Resulting Numbers: [3, 92, 38]
Generated Node #0,2: 10:[3, 92, 38] Operation: 59-21=38
Exploring Operation: 21/3=7, Resulting Numbers: [92, 59, 7]
Generated Node #0,3: 10:[92, 59, 7] Operation: 21/3=7
Moving to Node #0,1
Current State: 10:[3, 21, 33], Operations: ['92-59=33']
Exploring Operation: 21/3=7, Resulting Numbers: [33, 7]
Generated Node #0,1,0: 10:[33, 7] Operation: 21/3=7
Exploring Operation: 33/3=11, Resulting Numbers: [21, 11]
Generated Node #0,1,1: 10:[21, 11] Operation: 33/3=11
Exploring Operation: 21-3=18, Resulting Numbers: [33, 18]
Generated Node #0,1,2: 10:[33, 18] Operation: 21-3=18
Exploring Operation: 33-21=12, Resulting Numbers: [3, 12]
Generated Node #0,1,3: 10:[3, 12] Operation: 33-21=12
Moving to Node #0,2
Current State: 10:[3, 92, 38], Operations: ['59-21=38']
Exploring Operation: 92-3=89, Resulting Numbers: [38, 89]
Generated Node #0,2,0: 10:[38, 89] Operation: 92-3=89
Exploring Operation: 3+92=95, Resulting Numbers: [38, 95]
Generated Node #0,2,1: 10:[38, 95] Operation: 3+92=95
Exploring Operation: 38-3=35, Resulting Numbers: [92, 35]
Generated Node #0,2,2: 10:[92, 35] Operation: 38-3=35
Exploring Operation: 92-38=54, Resulting Numbers: [3, 54]
Generated Node #0,2,3: 10:[3, 54] Operation: 92-38=54
Moving to Node #0,0
Current State: 10:[3, 59, 71], Operations: ['92-21=71']
Exploring Operation: 71-59=12, Resulting Numbers: [3, 12]
Generated Node #0,0,0: 10:[3, 12] Operation: 71-59=12
Exploring Operation: 3+59=62, Resulting Numbers: [71, 62]
Generated Node #0,0,1: 10:[71, 62] Operation: 3+59=62
Exploring Operation: 59-3=56, Resulting Numbers: [71, 56]
Generated Node #0,0,2: 10:[71, 56] Operation: 59-3=56
Exploring Operation: 71-3=68, Resulting Numbers: [59, 68]
Generated Node #0,0,3: 10:[59, 68] Operation: 71-3=68
Moving to Node #0,3
Current State: 10:[92, 59, 7], Operations: ['21/3=7']
Exploring Operation: 59-7=52, Resulting Numbers: [92, 52]
Generated Node #0,3,0: 10:[92, 52] Operation: 59-7=52
Exploring Operation: 92-7=85, Resulting Numbers: [59, 85]
Generated Node #0,3,1: 10:[59, 85] Operation: 92-7=85
Exploring Operation: 92+7=99, Resulting Numbers: [59, 99]
Generated Node #0,3,2: 10:[59, 99] Operation: 92+7=99
Exploring Operation: 92-59=33, Resulting Numbers: [7, 33]
Generated Node #0,3,3: 10:[7, 33] Operation: 92-59=33
Moving to Node #0,1,3
Current State: 10:[3, 12], Operations: ['92-59=33', '33-21=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[3, 12], Operations: ['92-21=71', '71-59=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[21, 11], Operations: ['92-59=33', '33/3=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[3, 21, 92, 59], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [3, 21, 33]
Generated Node #0,1: 10:[3, 21, 33] Operation: 92-59=33
Moving to Node #0,1
Current State: 10:[3, 21, 33], Operations: ['92-59=33']
Exploring Operation: 33/3=11, Resulting Numbers: [21, 11]
Generated Node #0,1,1: 10:[21, 11] Operation: 33/3=11
Moving to Node #0,1,1
Current State: 10:[21, 11], Operations: ['92-59=33', '33/3=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.971354 | hs_4 | mult_heuristic |
[
50,
28,
82,
26
] | 48 | [
"82-26=56",
"56/28=2",
"50-2=48"
] | Current State: 48:[50, 28, 82, 26], Operations: []
Exploring Operation: 82-26=56, Resulting Numbers: [50, 28, 56]
Generated Node #2: [50, 28, 56] from Operation: 82-26=56
Current State: 48:[50, 28, 56], Operations: ['82-26=56']
Exploring Operation: 56/28=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 56/28=2
Current State: 48:[50, 2], Operations: ['82-26=56', '56/28=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[50, 28, 82, 26], Operations: []
Exploring Operation: 82-26=56, Resulting Numbers: [50, 28, 56]
Generated Node #0,0: 48:[50, 28, 56] Operation: 82-26=56
Exploring Operation: 82-28=54, Resulting Numbers: [50, 26, 54]
Generated Node #0,1: 48:[50, 26, 54] Operation: 82-28=54
Exploring Operation: 28-26=2, Resulting Numbers: [50, 82, 2]
Generated Node #0,2: 48:[50, 82, 2] Operation: 28-26=2
Exploring Operation: 82-50=32, Resulting Numbers: [28, 26, 32]
Generated Node #0,3: 48:[28, 26, 32] Operation: 82-50=32
Moving to Node #0,1
Current State: 48:[50, 26, 54], Operations: ['82-28=54']
Exploring Operation: 50+26=76, Resulting Numbers: [54, 76]
Generated Node #0,1,0: 48:[54, 76] Operation: 50+26=76
Exploring Operation: 50-26=24, Resulting Numbers: [54, 24]
Generated Node #0,1,1: 48:[54, 24] Operation: 50-26=24
Exploring Operation: 54-26=28, Resulting Numbers: [50, 28]
Generated Node #0,1,2: 48:[50, 28] Operation: 54-26=28
Exploring Operation: 54-50=4, Resulting Numbers: [26, 4]
Generated Node #0,1,3: 48:[26, 4] Operation: 54-50=4
Moving to Node #0,3
Current State: 48:[28, 26, 32], Operations: ['82-50=32']
Exploring Operation: 28+26=54, Resulting Numbers: [32, 54]
Generated Node #0,3,0: 48:[32, 54] Operation: 28+26=54
Exploring Operation: 28-26=2, Resulting Numbers: [32, 2]
Generated Node #0,3,1: 48:[32, 2] Operation: 28-26=2
Exploring Operation: 32-28=4, Resulting Numbers: [26, 4]
Generated Node #0,3,2: 48:[26, 4] Operation: 32-28=4
Exploring Operation: 32-26=6, Resulting Numbers: [28, 6]
Generated Node #0,3,3: 48:[28, 6] Operation: 32-26=6
Moving to Node #0,0
Current State: 48:[50, 28, 56], Operations: ['82-26=56']
Exploring Operation: 50-28=22, Resulting Numbers: [56, 22]
Generated Node #0,0,0: 48:[56, 22] Operation: 50-28=22
Exploring Operation: 56/28=2, Resulting Numbers: [50, 2]
Generated Node #0,0,1: 48:[50, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [50, 28]
Generated Node #0,0,2: 48:[50, 28] Operation: 56-28=28
Exploring Operation: 56-50=6, Resulting Numbers: [28, 6]
Generated Node #0,0,3: 48:[28, 6] Operation: 56-50=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[50, 2], Operations: ['82-26=56', '56/28=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[50, 28, 82, 26], Operations: []
Exploring Operation: 82-26=56, Resulting Numbers: [50, 28, 56]
Generated Node #0,0: 48:[50, 28, 56] Operation: 82-26=56
Moving to Node #0,0
Current State: 48:[50, 28, 56], Operations: ['82-26=56']
Exploring Operation: 56/28=2, Resulting Numbers: [50, 2]
Generated Node #0,0,1: 48:[50, 2] Operation: 56/28=2
Moving to Node #0,0,1
Current State: 48:[50, 2], Operations: ['82-26=56', '56/28=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
73,
15,
12,
12
] | 58 | [
"73-15=58",
"12-12=0",
"58+0=58"
] | Current State: 58:[73, 15, 12, 12], Operations: []
Exploring Operation: 73-15=58, Resulting Numbers: [12, 12, 58]
Generated Node #2: [12, 12, 58] from Operation: 73-15=58
Current State: 58:[12, 12, 58], Operations: ['73-15=58']
Exploring Operation: 12-12=0, Resulting Numbers: [58, 0]
Generated Node #3: [58, 0] from Operation: 12-12=0
Current State: 58:[58, 0], Operations: ['73-15=58', '12-12=0']
Exploring Operation: 58+0=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[73, 15, 12, 12], Operations: []
Exploring Operation: 73-15=58, Resulting Numbers: [12, 12, 58]
Generated Node #0,0: 58:[12, 12, 58] Operation: 73-15=58
Exploring Operation: 73-12=61, Resulting Numbers: [15, 12, 61]
Generated Node #0,1: 58:[15, 12, 61] Operation: 73-12=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[12, 12, 58], Operations: ['73-15=58']
Exploring Operation: 12-12=0, Resulting Numbers: [58, 0]
Generated Node #0,0,0: 58:[58, 0] Operation: 12-12=0
Exploring Operation: 12/12=1, Resulting Numbers: [58, 1]
Generated Node #0,0,1: 58:[58, 1] Operation: 12/12=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[58, 1], Operations: ['73-15=58', '12/12=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[73, 15, 12, 12], Operations: []
Exploring Operation: 73-15=58, Resulting Numbers: [12, 12, 58]
Generated Node #0,0: 58:[12, 12, 58] Operation: 73-15=58
Moving to Node #0,0
Current State: 58:[12, 12, 58], Operations: ['73-15=58']
Exploring Operation: 12/12=1, Resulting Numbers: [58, 1]
Generated Node #0,0,1: 58:[58, 1] Operation: 12/12=1
Moving to Node #0,0,1
Current State: 58:[58, 1], Operations: ['73-15=58', '12/12=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
19,
4,
30,
18
] | 22 | [
"30-18=12",
"12/4=3",
"19+3=22"
] | Current State: 22:[19, 4, 30, 18], Operations: []
Exploring Operation: 30-18=12, Resulting Numbers: [19, 4, 12]
Generated Node #2: [19, 4, 12] from Operation: 30-18=12
Current State: 22:[19, 4, 12], Operations: ['30-18=12']
Exploring Operation: 12/4=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 12/4=3
Current State: 22:[19, 3], Operations: ['30-18=12', '12/4=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[19, 4, 30, 18], Operations: []
Exploring Operation: 19-18=1, Resulting Numbers: [4, 30, 1]
Generated Node #0,0: 22:[4, 30, 1] Operation: 19-18=1
Exploring Operation: 30-4=26, Resulting Numbers: [19, 18, 26]
Generated Node #0,1: 22:[19, 18, 26] Operation: 30-4=26
Exploring Operation: 30-19=11, Resulting Numbers: [4, 18, 11]
Generated Node #0,2: 22:[4, 18, 11] Operation: 30-19=11
Exploring Operation: 30-18=12, Resulting Numbers: [19, 4, 12]
Generated Node #0,3: 22:[19, 4, 12] Operation: 30-18=12
Moving to Node #0,2
Current State: 22:[4, 18, 11], Operations: ['30-19=11']
Exploring Operation: 4+18=22, Resulting Numbers: [11, 22]
Generated Node #0,2,0: 22:[11, 22] Operation: 4+18=22
Exploring Operation: 18-4=14, Resulting Numbers: [11, 14]
Generated Node #0,2,1: 22:[11, 14] Operation: 18-4=14
Exploring Operation: 4+11=15, Resulting Numbers: [18, 15]
Generated Node #0,2,2: 22:[18, 15] Operation: 4+11=15
Exploring Operation: 18-11=7, Resulting Numbers: [4, 7]
Generated Node #0,2,3: 22:[4, 7] Operation: 18-11=7
Moving to Node #0,3
Current State: 22:[19, 4, 12], Operations: ['30-18=12']
Exploring Operation: 19+4=23, Resulting Numbers: [12, 23]
Generated Node #0,3,0: 22:[12, 23] Operation: 19+4=23
Exploring Operation: 12/4=3, Resulting Numbers: [19, 3]
Generated Node #0,3,1: 22:[19, 3] Operation: 12/4=3
Exploring Operation: 19-12=7, Resulting Numbers: [4, 7]
Generated Node #0,3,2: 22:[4, 7] Operation: 19-12=7
Exploring Operation: 19-4=15, Resulting Numbers: [12, 15]
Generated Node #0,3,3: 22:[12, 15] Operation: 19-4=15
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 22:[12, 23], Operations: ['30-18=12', '19+4=23']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 22:[19, 3], Operations: ['30-18=12', '12/4=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[19, 4, 30, 18], Operations: []
Exploring Operation: 30-18=12, Resulting Numbers: [19, 4, 12]
Generated Node #0,3: 22:[19, 4, 12] Operation: 30-18=12
Moving to Node #0,3
Current State: 22:[19, 4, 12], Operations: ['30-18=12']
Exploring Operation: 12/4=3, Resulting Numbers: [19, 3]
Generated Node #0,3,1: 22:[19, 3] Operation: 12/4=3
Moving to Node #0,3,1
Current State: 22:[19, 3], Operations: ['30-18=12', '12/4=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
9,
36,
19,
31
] | 57 | [
"9+36=45",
"31-19=12",
"45+12=57"
] | Current State: 57:[9, 36, 19, 31], Operations: []
Exploring Operation: 9+36=45, Resulting Numbers: [19, 31, 45]
Generated Node #2: [19, 31, 45] from Operation: 9+36=45
Current State: 57:[19, 31, 45], Operations: ['9+36=45']
Exploring Operation: 31-19=12, Resulting Numbers: [45, 12]
Generated Node #3: [45, 12] from Operation: 31-19=12
Current State: 57:[45, 12], Operations: ['9+36=45', '31-19=12']
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[9, 36, 19, 31], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [19, 31, 4]
Generated Node #0,0: 57:[19, 31, 4] Operation: 36/9=4
Exploring Operation: 36-31=5, Resulting Numbers: [9, 19, 5]
Generated Node #0,1: 57:[9, 19, 5] Operation: 36-31=5
Moving to Node #0,1
Current State: 57:[9, 19, 5], Operations: ['36-31=5']
Exploring Operation: 9+5=14, Resulting Numbers: [19, 14]
Generated Node #0,1,0: 57:[19, 14] Operation: 9+5=14
Exploring Operation: 9-5=4, Resulting Numbers: [19, 4]
Generated Node #0,1,1: 57:[19, 4] Operation: 9-5=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[19, 4], Operations: ['36-31=5', '9-5=4']
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[19, 14], Operations: ['36-31=5', '9+5=14']
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,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:[19, 31, 4], Operations: ['36/9=4']
Exploring Operation: 31-19=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 57:[4, 12] Operation: 31-19=12
Exploring Operation: 19+31=50, Resulting Numbers: [4, 50]
Generated Node #0,0,1: 57:[4, 50] Operation: 19+31=50
Moving to Node #0,0,0
Current State: 57:[4, 12], Operations: ['36/9=4', '31-19=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[4, 50], Operations: ['36/9=4', '19+31=50']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,57 unequal: No Solution
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,57 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
79,
3,
91,
6
] | 69 | [
"91-79=12",
"6*12=72",
"72-3=69"
] | Current State: 69:[79, 3, 91, 6], Operations: []
Exploring Operation: 91-79=12, Resulting Numbers: [3, 6, 12]
Generated Node #2: [3, 6, 12] from Operation: 91-79=12
Current State: 69:[3, 6, 12], Operations: ['91-79=12']
Exploring Operation: 6*12=72, Resulting Numbers: [3, 72]
Generated Node #3: [3, 72] from Operation: 6*12=72
Current State: 69:[3, 72], Operations: ['91-79=12', '6*12=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[79, 3, 91, 6], Operations: []
Exploring Operation: 91-79=12, Resulting Numbers: [3, 6, 12]
Generated Node #0,0: 69:[3, 6, 12] Operation: 91-79=12
Exploring Operation: 79-6=73, Resulting Numbers: [3, 91, 73]
Generated Node #0,1: 69:[3, 91, 73] Operation: 79-6=73
Moving to Node #0,0
Current State: 69:[3, 6, 12], Operations: ['91-79=12']
Exploring Operation: 6*12=72, Resulting Numbers: [3, 72]
Generated Node #0,0,0: 69:[3, 72] Operation: 6*12=72
Exploring Operation: 12/6=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 69:[3, 2] Operation: 12/6=2
Moving to Node #0,1
Current State: 69:[3, 91, 73], Operations: ['79-6=73']
Exploring Operation: 91-73=18, Resulting Numbers: [3, 18]
Generated Node #0,1,0: 69:[3, 18] Operation: 91-73=18
Exploring Operation: 91-3=88, Resulting Numbers: [73, 88]
Generated Node #0,1,1: 69:[73, 88] Operation: 91-3=88
Moving to Node #0,0,1
Current State: 69:[3, 2], Operations: ['91-79=12', '12/6=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[3, 72], Operations: ['91-79=12', '6*12=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[79, 3, 91, 6], Operations: []
Exploring Operation: 91-79=12, Resulting Numbers: [3, 6, 12]
Generated Node #0,0: 69:[3, 6, 12] Operation: 91-79=12
Moving to Node #0,0
Current State: 69:[3, 6, 12], Operations: ['91-79=12']
Exploring Operation: 6*12=72, Resulting Numbers: [3, 72]
Generated Node #0,0,0: 69:[3, 72] Operation: 6*12=72
Moving to Node #0,0,0
Current State: 69:[3, 72], Operations: ['91-79=12', '6*12=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
58,
96,
55,
4
] | 89 | [
"96-58=38",
"55-4=51",
"38+51=89"
] | Current State: 89:[58, 96, 55, 4], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [55, 4, 38]
Generated Node #2: [55, 4, 38] from Operation: 96-58=38
Current State: 89:[55, 4, 38], Operations: ['96-58=38']
Exploring Operation: 55-4=51, Resulting Numbers: [38, 51]
Generated Node #3: [38, 51] from Operation: 55-4=51
Current State: 89:[38, 51], Operations: ['96-58=38', '55-4=51']
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[58, 96, 55, 4], Operations: []
Exploring Operation: 58-4=54, Resulting Numbers: [96, 55, 54]
Generated Node #0,0: 89:[96, 55, 54] Operation: 58-4=54
Exploring Operation: 96-4=92, Resulting Numbers: [58, 55, 92]
Generated Node #0,1: 89:[58, 55, 92] Operation: 96-4=92
Exploring Operation: 58+4=62, Resulting Numbers: [96, 55, 62]
Generated Node #0,2: 89:[96, 55, 62] Operation: 58+4=62
Exploring Operation: 96+4=100, Resulting Numbers: [58, 55, 100]
Generated Node #0,3: 89:[58, 55, 100] Operation: 96+4=100
Exploring Operation: 55+4=59, Resulting Numbers: [58, 96, 59]
Generated Node #0,4: 89:[58, 96, 59] Operation: 55+4=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[58, 55, 92], Operations: ['96-4=92']
Exploring Operation: 92-58=34, Resulting Numbers: [55, 34]
Generated Node #0,1,0: 89:[55, 34] Operation: 92-58=34
Exploring Operation: 92-55=37, Resulting Numbers: [58, 37]
Generated Node #0,1,1: 89:[58, 37] Operation: 92-55=37
Exploring Operation: 58+55=113, Resulting Numbers: [92, 113]
Generated Node #0,1,2: 89:[92, 113] Operation: 58+55=113
Exploring Operation: 58-55=3, Resulting Numbers: [92, 3]
Generated Node #0,1,3: 89:[92, 3] Operation: 58-55=3
Exploring Operation: 55+92=147, Resulting Numbers: [58, 147]
Generated Node #0,1,4: 89:[58, 147] Operation: 55+92=147
Moving to Node #0,1,2
Current State: 89:[92, 113], Operations: ['96-4=92', '58+55=113']
Exploring Operation: 113-92=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 92*113=10396, Resulting Numbers: [10396]
10396,89 unequal: No Solution
Exploring Operation: 92+113=205, Resulting Numbers: [205]
205,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[58, 37], Operations: ['96-4=92', '92-55=37']
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 58*37=2146, Resulting Numbers: [2146]
2146,89 unequal: No Solution
Exploring Operation: 58+37=95, Resulting Numbers: [95]
95,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[55, 34], Operations: ['96-4=92', '92-58=34']
Exploring Operation: 55+34=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[58, 96, 55, 4], Operations: []
Exploring Operation: 96-4=92, Resulting Numbers: [58, 55, 92]
Generated Node #0,1: 89:[58, 55, 92] Operation: 96-4=92
Moving to Node #0,1
Current State: 89:[58, 55, 92], Operations: ['96-4=92']
Exploring Operation: 92-58=34, Resulting Numbers: [55, 34]
Generated Node #0,1,0: 89:[55, 34] Operation: 92-58=34
Moving to Node #0,1,0
Current State: 89:[55, 34], Operations: ['96-4=92', '92-58=34']
Exploring Operation: 55+34=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
78,
13,
35,
55
] | 84 | [
"78/13=6",
"35+55=90",
"90-6=84"
] | Current State: 84:[78, 13, 35, 55], Operations: []
Exploring Operation: 78/13=6, Resulting Numbers: [35, 55, 6]
Generated Node #2: [35, 55, 6] from Operation: 78/13=6
Current State: 84:[35, 55, 6], Operations: ['78/13=6']
Exploring Operation: 35+55=90, Resulting Numbers: [6, 90]
Generated Node #3: [6, 90] from Operation: 35+55=90
Current State: 84:[6, 90], Operations: ['78/13=6', '35+55=90']
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[78, 13, 35, 55], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [78, 13, 20]
Generated Node #0,0: 84:[78, 13, 20] Operation: 55-35=20
Exploring Operation: 78-55=23, Resulting Numbers: [13, 35, 23]
Generated Node #0,1: 84:[13, 35, 23] Operation: 78-55=23
Exploring Operation: 55-13=42, Resulting Numbers: [78, 35, 42]
Generated Node #0,2: 84:[78, 35, 42] Operation: 55-13=42
Exploring Operation: 35+55=90, Resulting Numbers: [78, 13, 90]
Generated Node #0,3: 84:[78, 13, 90] Operation: 35+55=90
Exploring Operation: 78-35=43, Resulting Numbers: [13, 55, 43]
Generated Node #0,4: 84:[13, 55, 43] Operation: 78-35=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[78, 13, 20], Operations: ['55-35=20']
Exploring Operation: 78/13=6, Resulting Numbers: [20, 6]
Generated Node #0,0,0: 84:[20, 6] Operation: 78/13=6
Exploring Operation: 78+13=91, Resulting Numbers: [20, 91]
Generated Node #0,0,1: 84:[20, 91] Operation: 78+13=91
Exploring Operation: 78+20=98, Resulting Numbers: [13, 98]
Generated Node #0,0,2: 84:[13, 98] Operation: 78+20=98
Exploring Operation: 20-13=7, Resulting Numbers: [78, 7]
Generated Node #0,0,3: 84:[78, 7] Operation: 20-13=7
Exploring Operation: 13+20=33, Resulting Numbers: [78, 33]
Generated Node #0,0,4: 84:[78, 33] Operation: 13+20=33
Moving to Node #0,0,0
Current State: 84:[20, 6], Operations: ['55-35=20', '78/13=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,84 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[78, 7], Operations: ['55-35=20', '20-13=7']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,84 unequal: No Solution
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[20, 91], Operations: ['55-35=20', '78+13=91']
Exploring Operation: 20+91=111, Resulting Numbers: [111]
111,84 unequal: No Solution
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 20*91=1820, Resulting Numbers: [1820]
1820,84 unequal: No Solution
Moving to Node #0,0,4
Current State: 84:[78, 33], Operations: ['55-35=20', '13+20=33']
Exploring Operation: 78+33=111, Resulting Numbers: [111]
111,84 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 78*33=2574, Resulting Numbers: [2574]
2574,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[13, 98], Operations: ['55-35=20', '78+20=98']
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 13*98=1274, Resulting Numbers: [1274]
1274,84 unequal: No Solution
Exploring Operation: 13+98=111, Resulting Numbers: [111]
111,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[13, 35, 23], Operations: ['78-55=23']
Exploring Operation: 23-13=10, Resulting Numbers: [35, 10]
Generated Node #0,1,0: 84:[35, 10] Operation: 23-13=10
Exploring Operation: 35-13=22, Resulting Numbers: [23, 22]
Generated Node #0,1,1: 84:[23, 22] Operation: 35-13=22
Exploring Operation: 13+23=36, Resulting Numbers: [35, 36]
Generated Node #0,1,2: 84:[35, 36] Operation: 13+23=36
Exploring Operation: 35-23=12, Resulting Numbers: [13, 12]
Generated Node #0,1,3: 84:[13, 12] Operation: 35-23=12
Exploring Operation: 13+35=48, Resulting Numbers: [23, 48]
Generated Node #0,1,4: 84:[23, 48] Operation: 13+35=48
Moving to Node #0,1,3
Current State: 84:[13, 12], Operations: ['78-55=23', '35-23=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,84 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[23, 22], Operations: ['78-55=23', '35-13=22']
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,84 unequal: No Solution
Moving to Node #0,1,4
Current State: 84:[23, 48], Operations: ['78-55=23', '13+35=48']
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,84 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[35, 10], Operations: ['78-55=23', '23-13=10']
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,84 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[35, 36], Operations: ['78-55=23', '13+23=36']
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[78, 35, 42], Operations: ['55-13=42']
Exploring Operation: 42-35=7, Resulting Numbers: [78, 7]
Generated Node #0,2,0: 84:[78, 7] Operation: 42-35=7
Exploring Operation: 35+42=77, Resulting Numbers: [78, 77]
Generated Node #0,2,1: 84:[78, 77] Operation: 35+42=77
Exploring Operation: 78-42=36, Resulting Numbers: [35, 36]
Generated Node #0,2,2: 84:[35, 36] Operation: 78-42=36
Exploring Operation: 78-35=43, Resulting Numbers: [42, 43]
Generated Node #0,2,3: 84:[42, 43] Operation: 78-35=43
Exploring Operation: 78+35=113, Resulting Numbers: [42, 113]
Generated Node #0,2,4: 84:[42, 113] Operation: 78+35=113
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 84:[42, 43], Operations: ['55-13=42', '78-35=43']
Exploring Operation: 42*43=1806, Resulting Numbers: [1806]
1806,84 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 42+43=85, Resulting Numbers: [85]
85,84 unequal: No Solution
No 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: 84:[78, 7], Operations: ['55-13=42', '42-35=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,84 unequal: No Solution
No 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: 84:[78, 77], Operations: ['55-13=42', '35+42=77']
Exploring Operation: 78+77=155, Resulting Numbers: [155]
155,84 unequal: No Solution
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 78*77=6006, Resulting Numbers: [6006]
6006,84 unequal: No Solution
No 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: 84:[35, 36], Operations: ['55-13=42', '78-42=36']
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,84 unequal: No Solution
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,84 unequal: No Solution
No 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: 84:[42, 113], Operations: ['55-13=42', '78+35=113']
Exploring Operation: 113-42=71, Resulting Numbers: [71]
71,84 unequal: No Solution
Exploring Operation: 42+113=155, Resulting Numbers: [155]
155,84 unequal: No Solution
Exploring Operation: 42*113=4746, Resulting Numbers: [4746]
4746,84 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: 84:[78, 13, 90], Operations: ['35+55=90']
Exploring Operation: 78+13=91, Resulting Numbers: [90, 91]
Generated Node #0,3,0: 84:[90, 91] Operation: 78+13=91
Exploring Operation: 90-13=77, Resulting Numbers: [78, 77]
Generated Node #0,3,1: 84:[78, 77] Operation: 90-13=77
Exploring Operation: 78/13=6, Resulting Numbers: [90, 6]
Generated Node #0,3,2: 84:[90, 6] Operation: 78/13=6
Exploring Operation: 90-78=12, Resulting Numbers: [13, 12]
Generated Node #0,3,3: 84:[13, 12] Operation: 90-78=12
Exploring Operation: 78-13=65, Resulting Numbers: [90, 65]
Generated Node #0,3,4: 84:[90, 65] Operation: 78-13=65
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 84:[13, 12], Operations: ['35+55=90', '90-78=12']
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,84 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,84 unequal: No Solution
No 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: 84:[90, 6], Operations: ['35+55=90', '78/13=6']
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,84 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 90*6=540, Resulting Numbers: [540]
540,84 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[78, 13, 35, 55], Operations: []
Exploring Operation: 35+55=90, Resulting Numbers: [78, 13, 90]
Generated Node #0,3: 84:[78, 13, 90] Operation: 35+55=90
Moving to Node #0,3
Current State: 84:[78, 13, 90], Operations: ['35+55=90']
Exploring Operation: 78/13=6, Resulting Numbers: [90, 6]
Generated Node #0,3,2: 84:[90, 6] Operation: 78/13=6
Moving to Node #0,3,2
Current State: 84:[90, 6], Operations: ['35+55=90', '78/13=6']
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.929688 | hs_5 | sum_heuristic |
[
3,
30,
87,
99
] | 92 | [
"87+99=186",
"186/3=62",
"30+62=92"
] | Current State: 92:[3, 30, 87, 99], Operations: []
Exploring Operation: 87+99=186, Resulting Numbers: [3, 30, 186]
Generated Node #2: [3, 30, 186] from Operation: 87+99=186
Current State: 92:[3, 30, 186], Operations: ['87+99=186']
Exploring Operation: 186/3=62, Resulting Numbers: [30, 62]
Generated Node #3: [30, 62] from Operation: 186/3=62
Current State: 92:[30, 62], Operations: ['87+99=186', '186/3=62']
Exploring Operation: 30+62=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[3, 30, 87, 99], Operations: []
Exploring Operation: 30-3=27, Resulting Numbers: [87, 99, 27]
Generated Node #0,0: 92:[87, 99, 27] Operation: 30-3=27
Exploring Operation: 3*30=90, Resulting Numbers: [87, 99, 90]
Generated Node #0,1: 92:[87, 99, 90] Operation: 3*30=90
Moving to Node #0,1
Current State: 92:[87, 99, 90], Operations: ['3*30=90']
Exploring Operation: 99-87=12, Resulting Numbers: [90, 12]
Generated Node #0,1,0: 92:[90, 12] Operation: 99-87=12
Exploring Operation: 90-87=3, Resulting Numbers: [99, 3]
Generated Node #0,1,1: 92:[99, 3] Operation: 90-87=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[99, 3], Operations: ['3*30=90', '90-87=3']
Exploring Operation: 99+3=102, Resulting Numbers: [102]
102,92 unequal: No Solution
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[90, 12], Operations: ['3*30=90', '99-87=12']
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,92 unequal: No Solution
Exploring Operation: 90+12=102, Resulting Numbers: [102]
102,92 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: 92:[87, 99, 27], Operations: ['30-3=27']
Exploring Operation: 87-27=60, Resulting Numbers: [99, 60]
Generated Node #0,0,0: 92:[99, 60] Operation: 87-27=60
Exploring Operation: 99-87=12, Resulting Numbers: [27, 12]
Generated Node #0,0,1: 92:[27, 12] Operation: 99-87=12
Moving to Node #0,0,1
Current State: 92:[27, 12], Operations: ['30-3=27', '99-87=12']
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[99, 60], Operations: ['30-3=27', '87-27=60']
Exploring Operation: 99+60=159, Resulting Numbers: [159]
159,92 unequal: No Solution
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,92 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.