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 |
|---|---|---|---|---|---|---|---|---|
[
54,
26,
30,
62
] | 31 | [
"54-26=28",
"30-28=2",
"62/2=31"
] | Current State: 31:[54, 26, 30, 62], Operations: []
Exploring Operation: 54-26=28, Resulting Numbers: [30, 62, 28]
Generated Node #2: [30, 62, 28] from Operation: 54-26=28
Current State: 31:[30, 62, 28], Operations: ['54-26=28']
Exploring Operation: 30-28=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 30-28=2
Current State: 31:[62, 2], Operations: ['54-26=28', '30-28=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[54, 26, 30, 62], Operations: []
Exploring Operation: 62-30=32, Resulting Numbers: [54, 26, 32]
Generated Node #0,0: 31:[54, 26, 32] Operation: 62-30=32
Exploring Operation: 62-26=36, Resulting Numbers: [54, 30, 36]
Generated Node #0,1: 31:[54, 30, 36] Operation: 62-26=36
Exploring Operation: 62-54=8, Resulting Numbers: [26, 30, 8]
Generated Node #0,2: 31:[26, 30, 8] Operation: 62-54=8
Moving to Node #0,0
Current State: 31:[54, 26, 32], Operations: ['62-30=32']
Exploring Operation: 54-32=22, Resulting Numbers: [26, 22]
Generated Node #0,0,0: 31:[26, 22] Operation: 54-32=22
Exploring Operation: 54-26=28, Resulting Numbers: [32, 28]
Generated Node #0,0,1: 31:[32, 28] Operation: 54-26=28
Exploring Operation: 32-26=6, Resulting Numbers: [54, 6]
Generated Node #0,0,2: 31:[54, 6] Operation: 32-26=6
Moving to Node #0,1
Current State: 31:[54, 30, 36], Operations: ['62-26=36']
Exploring Operation: 54-36=18, Resulting Numbers: [30, 18]
Generated Node #0,1,0: 31:[30, 18] Operation: 54-36=18
Exploring Operation: 54-30=24, Resulting Numbers: [36, 24]
Generated Node #0,1,1: 31:[36, 24] Operation: 54-30=24
Exploring Operation: 36-30=6, Resulting Numbers: [54, 6]
Generated Node #0,1,2: 31:[54, 6] Operation: 36-30=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[36, 24], Operations: ['62-26=36', '54-30=24']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,31 unequal: No Solution
No 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: 31:[30, 18], Operations: ['62-26=36', '54-36=18']
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,31 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,31 unequal: No Solution
No 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: 31:[54, 6], Operations: ['62-26=36', '36-30=6']
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,31 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: 31:[26, 30, 8], Operations: ['62-54=8']
Exploring Operation: 26+8=34, Resulting Numbers: [30, 34]
Generated Node #0,2,0: 31:[30, 34] Operation: 26+8=34
Exploring Operation: 30+8=38, Resulting Numbers: [26, 38]
Generated Node #0,2,1: 31:[26, 38] Operation: 30+8=38
Exploring Operation: 26-8=18, Resulting Numbers: [30, 18]
Generated Node #0,2,2: 31:[30, 18] Operation: 26-8=18
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[30, 34], Operations: ['62-54=8', '26+8=34']
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 30*34=1020, Resulting Numbers: [1020]
1020,31 unequal: No Solution
No 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: 31:[26, 38], Operations: ['62-54=8', '30+8=38']
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,31 unequal: No Solution
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,31 unequal: No Solution
No 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: 31:[30, 18], Operations: ['62-54=8', '26-8=18']
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,31 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,31 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: 31:[32, 28], Operations: ['62-30=32', '54-26=28']
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,31 unequal: No Solution
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[26, 22], Operations: ['62-30=32', '54-32=22']
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,31 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[54, 6], Operations: ['62-30=32', '32-26=6']
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,31 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
9,
22,
6,
68
] | 80 | [
"9*68=612",
"612/6=102",
"102-22=80"
] | Current State: 80:[9, 22, 6, 68], Operations: []
Exploring Operation: 9*68=612, Resulting Numbers: [22, 6, 612]
Generated Node #2: [22, 6, 612] from Operation: 9*68=612
Current State: 80:[22, 6, 612], Operations: ['9*68=612']
Exploring Operation: 612/6=102, Resulting Numbers: [22, 102]
Generated Node #3: [22, 102] from Operation: 612/6=102
Current State: 80:[22, 102], Operations: ['9*68=612', '612/6=102']
Exploring Operation: 102-22=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[9, 22, 6, 68], Operations: []
Exploring Operation: 9+68=77, Resulting Numbers: [22, 6, 77]
Generated Node #0,0: 80:[22, 6, 77] Operation: 9+68=77
Exploring Operation: 68-22=46, Resulting Numbers: [9, 6, 46]
Generated Node #0,1: 80:[9, 6, 46] Operation: 68-22=46
Exploring Operation: 6+68=74, Resulting Numbers: [9, 22, 74]
Generated Node #0,2: 80:[9, 22, 74] Operation: 6+68=74
Moving to Node #0,0
Current State: 80:[22, 6, 77], Operations: ['9+68=77']
Exploring Operation: 22+6=28, Resulting Numbers: [77, 28]
Generated Node #0,0,0: 80:[77, 28] Operation: 22+6=28
Exploring Operation: 6+77=83, Resulting Numbers: [22, 83]
Generated Node #0,0,1: 80:[22, 83] Operation: 6+77=83
Exploring Operation: 22-6=16, Resulting Numbers: [77, 16]
Generated Node #0,0,2: 80:[77, 16] Operation: 22-6=16
Moving to Node #0,1
Current State: 80:[9, 6, 46], Operations: ['68-22=46']
Exploring Operation: 46-6=40, Resulting Numbers: [9, 40]
Generated Node #0,1,0: 80:[9, 40] Operation: 46-6=40
Exploring Operation: 46-9=37, Resulting Numbers: [6, 37]
Generated Node #0,1,1: 80:[6, 37] Operation: 46-9=37
Exploring Operation: 9+6=15, Resulting Numbers: [46, 15]
Generated Node #0,1,2: 80:[46, 15] Operation: 9+6=15
Moving to Node #0,2
Current State: 80:[9, 22, 74], Operations: ['6+68=74']
Exploring Operation: 74-22=52, Resulting Numbers: [9, 52]
Generated Node #0,2,0: 80:[9, 52] Operation: 74-22=52
Exploring Operation: 9+74=83, Resulting Numbers: [22, 83]
Generated Node #0,2,1: 80:[22, 83] Operation: 9+74=83
Exploring Operation: 22-9=13, Resulting Numbers: [74, 13]
Generated Node #0,2,2: 80:[74, 13] Operation: 22-9=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[22, 83], Operations: ['6+68=74', '9+74=83']
Exploring Operation: 22*83=1826, Resulting Numbers: [1826]
1826,80 unequal: No Solution
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 22+83=105, Resulting Numbers: [105]
105,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,2,2
Current State: 80:[74, 13], Operations: ['6+68=74', '22-9=13']
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,80 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[9, 52], Operations: ['6+68=74', '74-22=52']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,80 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: 80:[9, 40], Operations: ['68-22=46', '46-6=40']
Exploring Operation: 9*40=360, Resulting Numbers: [360]
360,80 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[77, 16], Operations: ['9+68=77', '22-6=16']
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,80 unequal: No Solution
Exploring Operation: 77*16=1232, Resulting Numbers: [1232]
1232,80 unequal: No Solution
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[6, 37], Operations: ['68-22=46', '46-9=37']
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[22, 83], Operations: ['9+68=77', '6+77=83']
Exploring Operation: 22*83=1826, Resulting Numbers: [1826]
1826,80 unequal: No Solution
Exploring Operation: 22+83=105, Resulting Numbers: [105]
105,80 unequal: No Solution
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[46, 15], Operations: ['68-22=46', '9+6=15']
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,80 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[77, 28], Operations: ['9+68=77', '22+6=28']
Exploring Operation: 77*28=2156, Resulting Numbers: [2156]
2156,80 unequal: No Solution
Exploring Operation: 77+28=105, Resulting Numbers: [105]
105,80 unequal: No Solution
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,80 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
22,
66,
33,
38
] | 98 | [
"66/33=2",
"38*2=76",
"22+76=98"
] | Current State: 98:[22, 66, 33, 38], Operations: []
Exploring Operation: 66/33=2, Resulting Numbers: [22, 38, 2]
Generated Node #2: [22, 38, 2] from Operation: 66/33=2
Current State: 98:[22, 38, 2], Operations: ['66/33=2']
Exploring Operation: 38*2=76, Resulting Numbers: [22, 76]
Generated Node #3: [22, 76] from Operation: 38*2=76
Current State: 98:[22, 76], Operations: ['66/33=2', '38*2=76']
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[22, 66, 33, 38], Operations: []
Exploring Operation: 66+33=99, Resulting Numbers: [22, 38, 99]
Generated Node #0,0: 98:[22, 38, 99] Operation: 66+33=99
Exploring Operation: 38-33=5, Resulting Numbers: [22, 66, 5]
Generated Node #0,1: 98:[22, 66, 5] Operation: 38-33=5
Exploring Operation: 66/33=2, Resulting Numbers: [22, 38, 2]
Generated Node #0,2: 98:[22, 38, 2] Operation: 66/33=2
Exploring Operation: 66+38=104, Resulting Numbers: [22, 33, 104]
Generated Node #0,3: 98:[22, 33, 104] Operation: 66+38=104
Exploring Operation: 66/22=3, Resulting Numbers: [33, 38, 3]
Generated Node #0,4: 98:[33, 38, 3] Operation: 66/22=3
Moving to Node #0,2
Current State: 98:[22, 38, 2], Operations: ['66/33=2']
Exploring Operation: 38-22=16, Resulting Numbers: [2, 16]
Generated Node #0,2,0: 98:[2, 16] Operation: 38-22=16
Exploring Operation: 22+38=60, Resulting Numbers: [2, 60]
Generated Node #0,2,1: 98:[2, 60] Operation: 22+38=60
Exploring Operation: 22*2=44, Resulting Numbers: [38, 44]
Generated Node #0,2,2: 98:[38, 44] Operation: 22*2=44
Exploring Operation: 38/2=19, Resulting Numbers: [22, 19]
Generated Node #0,2,3: 98:[22, 19] Operation: 38/2=19
Exploring Operation: 22/2=11, Resulting Numbers: [38, 11]
Generated Node #0,2,4: 98:[38, 11] Operation: 22/2=11
Moving to Node #0,0
Current State: 98:[22, 38, 99], Operations: ['66+33=99']
Exploring Operation: 38-22=16, Resulting Numbers: [99, 16]
Generated Node #0,0,0: 98:[99, 16] Operation: 38-22=16
Exploring Operation: 99-22=77, Resulting Numbers: [38, 77]
Generated Node #0,0,1: 98:[38, 77] Operation: 99-22=77
Exploring Operation: 99-38=61, Resulting Numbers: [22, 61]
Generated Node #0,0,2: 98:[22, 61] Operation: 99-38=61
Exploring Operation: 22+38=60, Resulting Numbers: [99, 60]
Generated Node #0,0,3: 98:[99, 60] Operation: 22+38=60
Exploring Operation: 22+99=121, Resulting Numbers: [38, 121]
Generated Node #0,0,4: 98:[38, 121] Operation: 22+99=121
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[99, 16], Operations: ['66+33=99', '38-22=16']
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,98 unequal: No Solution
Exploring Operation: 99*16=1584, Resulting Numbers: [1584]
1584,98 unequal: No Solution
Exploring Operation: 99+16=115, Resulting Numbers: [115]
115,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 98:[99, 60], Operations: ['66+33=99', '22+38=60']
Exploring Operation: 99+60=159, Resulting Numbers: [159]
159,98 unequal: No Solution
Exploring Operation: 99*60=5940, Resulting Numbers: [5940]
5940,98 unequal: No Solution
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 98:[22, 61], Operations: ['66+33=99', '99-38=61']
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 22*61=1342, Resulting Numbers: [1342]
1342,98 unequal: No Solution
Exploring Operation: 22+61=83, Resulting Numbers: [83]
83,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[38, 77], Operations: ['66+33=99', '99-22=77']
Exploring Operation: 38+77=115, Resulting Numbers: [115]
115,98 unequal: No Solution
Exploring Operation: 38*77=2926, Resulting Numbers: [2926]
2926,98 unequal: No Solution
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 98:[38, 121], Operations: ['66+33=99', '22+99=121']
Exploring Operation: 38+121=159, Resulting Numbers: [159]
159,98 unequal: No Solution
Exploring Operation: 121-38=83, Resulting Numbers: [83]
83,98 unequal: No Solution
Exploring Operation: 38*121=4598, Resulting Numbers: [4598]
4598,98 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: 98:[22, 66, 5], Operations: ['38-33=5']
Exploring Operation: 66-5=61, Resulting Numbers: [22, 61]
Generated Node #0,1,0: 98:[22, 61] Operation: 66-5=61
Exploring Operation: 66-22=44, Resulting Numbers: [5, 44]
Generated Node #0,1,1: 98:[5, 44] Operation: 66-22=44
Exploring Operation: 66/22=3, Resulting Numbers: [5, 3]
Generated Node #0,1,2: 98:[5, 3] Operation: 66/22=3
Exploring Operation: 22-5=17, Resulting Numbers: [66, 17]
Generated Node #0,1,3: 98:[66, 17] Operation: 22-5=17
Exploring Operation: 22+66=88, Resulting Numbers: [5, 88]
Generated Node #0,1,4: 98:[5, 88] Operation: 22+66=88
Moving to Node #0,4
Current State: 98:[33, 38, 3], Operations: ['66/22=3']
Exploring Operation: 33+3=36, Resulting Numbers: [38, 36]
Generated Node #0,4,0: 98:[38, 36] Operation: 33+3=36
Exploring Operation: 38-33=5, Resulting Numbers: [3, 5]
Generated Node #0,4,1: 98:[3, 5] Operation: 38-33=5
Exploring Operation: 33/3=11, Resulting Numbers: [38, 11]
Generated Node #0,4,2: 98:[38, 11] Operation: 33/3=11
Exploring Operation: 33*3=99, Resulting Numbers: [38, 99]
Generated Node #0,4,3: 98:[38, 99] Operation: 33*3=99
Exploring Operation: 33+38=71, Resulting Numbers: [3, 71]
Generated Node #0,4,4: 98:[3, 71] Operation: 33+38=71
Moving to Node #0,3
Current State: 98:[22, 33, 104], Operations: ['66+38=104']
Exploring Operation: 104-33=71, Resulting Numbers: [22, 71]
Generated Node #0,3,0: 98:[22, 71] Operation: 104-33=71
Exploring Operation: 104-22=82, Resulting Numbers: [33, 82]
Generated Node #0,3,1: 98:[33, 82] Operation: 104-22=82
Exploring Operation: 22+104=126, Resulting Numbers: [33, 126]
Generated Node #0,3,2: 98:[33, 126] Operation: 22+104=126
Exploring Operation: 33-22=11, Resulting Numbers: [104, 11]
Generated Node #0,3,3: 98:[104, 11] Operation: 33-22=11
Exploring Operation: 22+33=55, Resulting Numbers: [104, 55]
Generated Node #0,3,4: 98:[104, 55] Operation: 22+33=55
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[104, 11], Operations: ['66+38=104', '33-22=11']
Exploring Operation: 104+11=115, Resulting Numbers: [115]
115,98 unequal: No Solution
Exploring Operation: 104*11=1144, Resulting Numbers: [1144]
1144,98 unequal: No Solution
Exploring Operation: 104-11=93, Resulting Numbers: [93]
93,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 98:[104, 55], Operations: ['66+38=104', '22+33=55']
Exploring Operation: 104*55=5720, Resulting Numbers: [5720]
5720,98 unequal: No Solution
Exploring Operation: 104+55=159, Resulting Numbers: [159]
159,98 unequal: No Solution
Exploring Operation: 104-55=49, Resulting Numbers: [49]
49,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[22, 71], Operations: ['66+38=104', '104-33=71']
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,98 unequal: No Solution
Exploring Operation: 22*71=1562, Resulting Numbers: [1562]
1562,98 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[33, 82], Operations: ['66+38=104', '104-22=82']
Exploring Operation: 33+82=115, Resulting Numbers: [115]
115,98 unequal: No Solution
Exploring Operation: 33*82=2706, Resulting Numbers: [2706]
2706,98 unequal: No Solution
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[33, 126], Operations: ['66+38=104', '22+104=126']
Exploring Operation: 33*126=4158, Resulting Numbers: [4158]
4158,98 unequal: No Solution
Exploring Operation: 126-33=93, Resulting Numbers: [93]
93,98 unequal: No Solution
Exploring Operation: 33+126=159, Resulting Numbers: [159]
159,98 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: 98:[2, 16], Operations: ['66/33=2', '38-22=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[5, 3], Operations: ['38-33=5', '66/22=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Moving to Node #0,4,1
Current State: 98:[3, 5], Operations: ['66/22=3', '38-33=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[5, 44], Operations: ['38-33=5', '66-22=44']
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,98 unequal: No Solution
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[2, 60], Operations: ['66/33=2', '22+38=60']
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,98 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,98 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[38, 99], Operations: ['66/22=3', '33*3=99']
Exploring Operation: 99-38=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Exploring Operation: 38*99=3762, Resulting Numbers: [3762]
3762,98 unequal: No Solution
Exploring Operation: 38+99=137, Resulting Numbers: [137]
137,98 unequal: No Solution
Moving to Node #0,1,4
Current State: 98:[5, 88], Operations: ['38-33=5', '22+66=88']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,98 unequal: No Solution
Exploring Operation: 5*88=440, Resulting Numbers: [440]
440,98 unequal: No Solution
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[22, 19], Operations: ['66/33=2', '38/2=19']
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,98 unequal: No Solution
Moving to Node #0,2,4
Current State: 98:[38, 11], Operations: ['66/33=2', '22/2=11']
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,98 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[38, 11], Operations: ['66/22=3', '33/3=11']
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[38, 44], Operations: ['66/33=2', '22*2=44']
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,98 unequal: No Solution
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,98 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[22, 61], Operations: ['38-33=5', '66-5=61']
Exploring Operation: 22*61=1342, Resulting Numbers: [1342]
1342,98 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 22+61=83, Resulting Numbers: [83]
83,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[66, 17], Operations: ['38-33=5', '22-5=17']
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,98 unequal: No Solution
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[3, 71], Operations: ['66/22=3', '33+38=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,98 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[38, 36], Operations: ['66/22=3', '33+3=36']
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,98 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,98 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
3,
66,
90,
34
] | 61 | [
"66-3=63",
"90+34=124",
"124-63=61"
] | Current State: 61:[3, 66, 90, 34], Operations: []
Exploring Operation: 66-3=63, Resulting Numbers: [90, 34, 63]
Generated Node #2: [90, 34, 63] from Operation: 66-3=63
Current State: 61:[90, 34, 63], Operations: ['66-3=63']
Exploring Operation: 90+34=124, Resulting Numbers: [63, 124]
Generated Node #3: [63, 124] from Operation: 90+34=124
Current State: 61:[63, 124], Operations: ['66-3=63', '90+34=124']
Exploring Operation: 124-63=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[3, 66, 90, 34], Operations: []
Exploring Operation: 66-3=63, Resulting Numbers: [90, 34, 63]
Generated Node #0,0: 61:[90, 34, 63] Operation: 66-3=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[90, 34, 63], Operations: ['66-3=63']
Exploring Operation: 90-34=56, Resulting Numbers: [63, 56]
Generated Node #0,0,0: 61:[63, 56] Operation: 90-34=56
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[63, 56], Operations: ['66-3=63', '90-34=56']
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
9,
7,
3,
46
] | 59 | [
"9+7=16",
"46-3=43",
"16+43=59"
] | Current State: 59:[9, 7, 3, 46], Operations: []
Exploring Operation: 9+7=16, Resulting Numbers: [3, 46, 16]
Generated Node #2: [3, 46, 16] from Operation: 9+7=16
Current State: 59:[3, 46, 16], Operations: ['9+7=16']
Exploring Operation: 46-3=43, Resulting Numbers: [16, 43]
Generated Node #3: [16, 43] from Operation: 46-3=43
Current State: 59:[16, 43], Operations: ['9+7=16', '46-3=43']
Exploring Operation: 16+43=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[9, 7, 3, 46], Operations: []
Exploring Operation: 9*7=63, Resulting Numbers: [3, 46, 63]
Generated Node #0,0: 59:[3, 46, 63] Operation: 9*7=63
Exploring Operation: 9*3=27, Resulting Numbers: [7, 46, 27]
Generated Node #0,1: 59:[7, 46, 27] Operation: 9*3=27
Exploring Operation: 9+7=16, Resulting Numbers: [3, 46, 16]
Generated Node #0,2: 59:[3, 46, 16] Operation: 9+7=16
Exploring Operation: 7*3=21, Resulting Numbers: [9, 46, 21]
Generated Node #0,3: 59:[9, 46, 21] Operation: 7*3=21
Moving to Node #0,0
Current State: 59:[3, 46, 63], Operations: ['9*7=63']
Exploring Operation: 46-3=43, Resulting Numbers: [63, 43]
Generated Node #0,0,0: 59:[63, 43] Operation: 46-3=43
Exploring Operation: 3+46=49, Resulting Numbers: [63, 49]
Generated Node #0,0,1: 59:[63, 49] Operation: 3+46=49
Exploring Operation: 3+63=66, Resulting Numbers: [46, 66]
Generated Node #0,0,2: 59:[46, 66] Operation: 3+63=66
Exploring Operation: 63-3=60, Resulting Numbers: [46, 60]
Generated Node #0,0,3: 59:[46, 60] Operation: 63-3=60
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[63, 49], Operations: ['9*7=63', '3+46=49']
Exploring Operation: 63*49=3087, Resulting Numbers: [3087]
3087,59 unequal: No Solution
Exploring Operation: 63-49=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 63+49=112, Resulting Numbers: [112]
112,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 59:[46, 60], Operations: ['9*7=63', '63-3=60']
Exploring Operation: 46*60=2760, Resulting Numbers: [2760]
2760,59 unequal: No Solution
Exploring Operation: 46+60=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[63, 43], Operations: ['9*7=63', '46-3=43']
Exploring Operation: 63+43=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 63*43=2709, Resulting Numbers: [2709]
2709,59 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[46, 66], Operations: ['9*7=63', '3+63=66']
Exploring Operation: 46+66=112, Resulting Numbers: [112]
112,59 unequal: No Solution
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 46*66=3036, Resulting Numbers: [3036]
3036,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 59:[7, 46, 27], Operations: ['9*3=27']
Exploring Operation: 27-7=20, Resulting Numbers: [46, 20]
Generated Node #0,1,0: 59:[46, 20] Operation: 27-7=20
Exploring Operation: 7+27=34, Resulting Numbers: [46, 34]
Generated Node #0,1,1: 59:[46, 34] Operation: 7+27=34
Exploring Operation: 7+46=53, Resulting Numbers: [27, 53]
Generated Node #0,1,2: 59:[27, 53] Operation: 7+46=53
Exploring Operation: 46-7=39, Resulting Numbers: [27, 39]
Generated Node #0,1,3: 59:[27, 39] Operation: 46-7=39
Moving to Node #0,3
Current State: 59:[9, 46, 21], Operations: ['7*3=21']
Exploring Operation: 9+21=30, Resulting Numbers: [46, 30]
Generated Node #0,3,0: 59:[46, 30] Operation: 9+21=30
Exploring Operation: 9+46=55, Resulting Numbers: [21, 55]
Generated Node #0,3,1: 59:[21, 55] Operation: 9+46=55
Exploring Operation: 46-9=37, Resulting Numbers: [21, 37]
Generated Node #0,3,2: 59:[21, 37] Operation: 46-9=37
Exploring Operation: 46+21=67, Resulting Numbers: [9, 67]
Generated Node #0,3,3: 59:[9, 67] Operation: 46+21=67
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[46, 30], Operations: ['7*3=21', '9+21=30']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[21, 55], Operations: ['7*3=21', '9+46=55']
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,59 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[9, 67], Operations: ['7*3=21', '46+21=67']
Exploring Operation: 9+67=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 9*67=603, Resulting Numbers: [603]
603,59 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[21, 37], Operations: ['7*3=21', '46-9=37']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 59:[3, 46, 16], Operations: ['9+7=16']
Exploring Operation: 3*16=48, Resulting Numbers: [46, 48]
Generated Node #0,2,0: 59:[46, 48] Operation: 3*16=48
Exploring Operation: 46-3=43, Resulting Numbers: [16, 43]
Generated Node #0,2,1: 59:[16, 43] Operation: 46-3=43
Exploring Operation: 3+16=19, Resulting Numbers: [46, 19]
Generated Node #0,2,2: 59:[46, 19] Operation: 3+16=19
Exploring Operation: 3+46=49, Resulting Numbers: [16, 49]
Generated Node #0,2,3: 59:[16, 49] Operation: 3+46=49
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[46, 48], Operations: ['9+7=16', '3*16=48']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,59 unequal: No Solution
Exploring Operation: 46*48=2208, Resulting Numbers: [2208]
2208,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[46, 19], Operations: ['9+7=16', '3+16=19']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,59 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[16, 49], Operations: ['9+7=16', '3+46=49']
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 16+49=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 16*49=784, Resulting Numbers: [784]
784,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[16, 43], Operations: ['9+7=16', '46-3=43']
Exploring Operation: 16+43=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[9, 7, 3, 46], Operations: []
Exploring Operation: 9+7=16, Resulting Numbers: [3, 46, 16]
Generated Node #0,2: 59:[3, 46, 16] Operation: 9+7=16
Moving to Node #0,2
Current State: 59:[3, 46, 16], Operations: ['9+7=16']
Exploring Operation: 46-3=43, Resulting Numbers: [16, 43]
Generated Node #0,2,1: 59:[16, 43] Operation: 46-3=43
Moving to Node #0,2,1
Current State: 59:[16, 43], Operations: ['9+7=16', '46-3=43']
Exploring Operation: 16+43=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 | hs_4 | mult_heuristic |
[
28,
41,
87,
39
] | 21 | [
"28+41=69",
"87-39=48",
"69-48=21"
] | Current State: 21:[28, 41, 87, 39], Operations: []
Exploring Operation: 28+41=69, Resulting Numbers: [87, 39, 69]
Generated Node #2: [87, 39, 69] from Operation: 28+41=69
Current State: 21:[87, 39, 69], Operations: ['28+41=69']
Exploring Operation: 87-39=48, Resulting Numbers: [69, 48]
Generated Node #3: [69, 48] from Operation: 87-39=48
Current State: 21:[69, 48], Operations: ['28+41=69', '87-39=48']
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[28, 41, 87, 39], Operations: []
Exploring Operation: 87-39=48, Resulting Numbers: [28, 41, 48]
Generated Node #0,0: 21:[28, 41, 48] Operation: 87-39=48
Exploring Operation: 87-41=46, Resulting Numbers: [28, 39, 46]
Generated Node #0,1: 21:[28, 39, 46] Operation: 87-41=46
Exploring Operation: 41-39=2, Resulting Numbers: [28, 87, 2]
Generated Node #0,2: 21:[28, 87, 2] Operation: 41-39=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[28, 39, 46], Operations: ['87-41=46']
Exploring Operation: 46-28=18, Resulting Numbers: [39, 18]
Generated Node #0,1,0: 21:[39, 18] Operation: 46-28=18
Exploring Operation: 46-39=7, Resulting Numbers: [28, 7]
Generated Node #0,1,1: 21:[28, 7] Operation: 46-39=7
Exploring Operation: 39-28=11, Resulting Numbers: [46, 11]
Generated Node #0,1,2: 21:[46, 11] Operation: 39-28=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[28, 7], Operations: ['87-41=46', '46-39=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[28, 41, 87, 39], Operations: []
Exploring Operation: 87-41=46, Resulting Numbers: [28, 39, 46]
Generated Node #0,1: 21:[28, 39, 46] Operation: 87-41=46
Moving to Node #0,1
Current State: 21:[28, 39, 46], Operations: ['87-41=46']
Exploring Operation: 46-39=7, Resulting Numbers: [28, 7]
Generated Node #0,1,1: 21:[28, 7] Operation: 46-39=7
Moving to Node #0,1,1
Current State: 21:[28, 7], Operations: ['87-41=46', '46-39=7']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
8,
81,
68,
4
] | 64 | [
"8-4=4",
"68/4=17",
"81-17=64"
] | Current State: 64:[8, 81, 68, 4], Operations: []
Exploring Operation: 8-4=4, Resulting Numbers: [81, 68, 4]
Generated Node #2: [81, 68, 4] from Operation: 8-4=4
Current State: 64:[81, 68, 4], Operations: ['8-4=4']
Exploring Operation: 68/4=17, Resulting Numbers: [81, 17]
Generated Node #3: [81, 17] from Operation: 68/4=17
Current State: 64:[81, 17], Operations: ['8-4=4', '68/4=17']
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[8, 81, 68, 4], Operations: []
Exploring Operation: 81-4=77, Resulting Numbers: [8, 68, 77]
Generated Node #0,0: 64:[8, 68, 77] Operation: 81-4=77
Exploring Operation: 81-68=13, Resulting Numbers: [8, 4, 13]
Generated Node #0,1: 64:[8, 4, 13] Operation: 81-68=13
Exploring Operation: 68-4=64, Resulting Numbers: [8, 81, 64]
Generated Node #0,2: 64:[8, 81, 64] Operation: 68-4=64
Exploring Operation: 68/4=17, Resulting Numbers: [8, 81, 17]
Generated Node #0,3: 64:[8, 81, 17] Operation: 68/4=17
Exploring Operation: 81-8=73, Resulting Numbers: [68, 4, 73]
Generated Node #0,4: 64:[68, 4, 73] Operation: 81-8=73
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[8, 4, 13], Operations: ['81-68=13']
Exploring Operation: 8-4=4, Resulting Numbers: [13, 4]
Generated Node #0,1,0: 64:[13, 4] Operation: 8-4=4
Exploring Operation: 13-4=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 64:[8, 9] Operation: 13-4=9
Exploring Operation: 13-8=5, Resulting Numbers: [4, 5]
Generated Node #0,1,2: 64:[4, 5] Operation: 13-8=5
Exploring Operation: 4+13=17, Resulting Numbers: [8, 17]
Generated Node #0,1,3: 64:[8, 17] Operation: 4+13=17
Exploring Operation: 8*4=32, Resulting Numbers: [13, 32]
Generated Node #0,1,4: 64:[13, 32] Operation: 8*4=32
Moving to Node #0,1,1
Current State: 64:[8, 9], Operations: ['81-68=13', '13-4=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[8, 17], Operations: ['81-68=13', '4+13=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[4, 5], Operations: ['81-68=13', '13-8=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[13, 4], Operations: ['81-68=13', '8-4=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Moving to Node #0,1,4
Current State: 64:[13, 32], Operations: ['81-68=13', '8*4=32']
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,64 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,64 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 64:[68, 4, 73], Operations: ['81-8=73']
Exploring Operation: 68/4=17, Resulting Numbers: [73, 17]
Generated Node #0,4,0: 64:[73, 17] Operation: 68/4=17
Exploring Operation: 73-4=69, Resulting Numbers: [68, 69]
Generated Node #0,4,1: 64:[68, 69] Operation: 73-4=69
Exploring Operation: 68-4=64, Resulting Numbers: [73, 64]
Generated Node #0,4,2: 64:[73, 64] Operation: 68-4=64
Exploring Operation: 68+4=72, Resulting Numbers: [73, 72]
Generated Node #0,4,3: 64:[73, 72] Operation: 68+4=72
Exploring Operation: 73-68=5, Resulting Numbers: [4, 5]
Generated Node #0,4,4: 64:[4, 5] Operation: 73-68=5
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 64:[4, 5], Operations: ['81-8=73', '73-68=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 64:[68, 69], Operations: ['81-8=73', '73-4=69']
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,64 unequal: No Solution
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 64:[73, 64], Operations: ['81-8=73', '68-4=64']
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 73*64=4672, Resulting Numbers: [4672]
4672,64 unequal: No Solution
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,64 unequal: No Solution
No 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: 64:[73, 17], Operations: ['81-8=73', '68/4=17']
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,64 unequal: No Solution
Exploring Operation: 73*17=1241, Resulting Numbers: [1241]
1241,64 unequal: No Solution
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 64:[73, 72], Operations: ['81-8=73', '68+4=72']
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 73*72=5256, Resulting Numbers: [5256]
5256,64 unequal: No Solution
Exploring Operation: 73+72=145, Resulting Numbers: [145]
145,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[8, 68, 77], Operations: ['81-4=77']
Exploring Operation: 77-68=9, Resulting Numbers: [8, 9]
Generated Node #0,0,0: 64:[8, 9] Operation: 77-68=9
Exploring Operation: 8+77=85, Resulting Numbers: [68, 85]
Generated Node #0,0,1: 64:[68, 85] Operation: 8+77=85
Exploring Operation: 68-8=60, Resulting Numbers: [77, 60]
Generated Node #0,0,2: 64:[77, 60] Operation: 68-8=60
Exploring Operation: 77-8=69, Resulting Numbers: [68, 69]
Generated Node #0,0,3: 64:[68, 69] Operation: 77-8=69
Exploring Operation: 8+68=76, Resulting Numbers: [77, 76]
Generated Node #0,0,4: 64:[77, 76] Operation: 8+68=76
Moving to Node #0,0,0
Current State: 64:[8, 9], Operations: ['81-4=77', '77-68=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[68, 69], Operations: ['81-4=77', '77-8=69']
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,64 unequal: No Solution
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,64 unequal: No Solution
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[77, 60], Operations: ['81-4=77', '68-8=60']
Exploring Operation: 77+60=137, Resulting Numbers: [137]
137,64 unequal: No Solution
Exploring Operation: 77*60=4620, Resulting Numbers: [4620]
4620,64 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[68, 85], Operations: ['81-4=77', '8+77=85']
Exploring Operation: 68+85=153, Resulting Numbers: [153]
153,64 unequal: No Solution
Exploring Operation: 68*85=5780, Resulting Numbers: [5780]
5780,64 unequal: No Solution
Exploring Operation: 85-68=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[77, 76], Operations: ['81-4=77', '8+68=76']
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 77+76=153, Resulting Numbers: [153]
153,64 unequal: No Solution
Exploring Operation: 77*76=5852, Resulting Numbers: [5852]
5852,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[8, 81, 64], Operations: ['68-4=64']
Exploring Operation: 8+64=72, Resulting Numbers: [81, 72]
Generated Node #0,2,0: 64:[81, 72] Operation: 8+64=72
Exploring Operation: 8+81=89, Resulting Numbers: [64, 89]
Generated Node #0,2,1: 64:[64, 89] Operation: 8+81=89
Exploring Operation: 81-64=17, Resulting Numbers: [8, 17]
Generated Node #0,2,2: 64:[8, 17] Operation: 81-64=17
Exploring Operation: 81-8=73, Resulting Numbers: [64, 73]
Generated Node #0,2,3: 64:[64, 73] Operation: 81-8=73
Exploring Operation: 64/8=8, Resulting Numbers: [81, 8]
Generated Node #0,2,4: 64:[81, 8] Operation: 64/8=8
Moving to Node #0,2,2
Current State: 64:[8, 17], Operations: ['68-4=64', '81-64=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[64, 73], Operations: ['68-4=64', '81-8=73']
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 64*73=4672, Resulting Numbers: [4672]
4672,64 unequal: No Solution
Exploring Operation: 64+73=137, Resulting Numbers: [137]
137,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[81, 8], Operations: ['68-4=64', '64/8=8']
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,64 unequal: No Solution
Exploring Operation: 81*8=648, Resulting Numbers: [648]
648,64 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[81, 72], Operations: ['68-4=64', '8+64=72']
Exploring Operation: 81*72=5832, Resulting Numbers: [5832]
5832,64 unequal: No Solution
Exploring Operation: 81+72=153, Resulting Numbers: [153]
153,64 unequal: No Solution
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[64, 89], Operations: ['68-4=64', '8+81=89']
Exploring Operation: 64*89=5696, Resulting Numbers: [5696]
5696,64 unequal: No Solution
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 64+89=153, Resulting Numbers: [153]
153,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[8, 81, 17], Operations: ['68/4=17']
Exploring Operation: 17-8=9, Resulting Numbers: [81, 9]
Generated Node #0,3,0: 64:[81, 9] Operation: 17-8=9
Exploring Operation: 8+81=89, Resulting Numbers: [17, 89]
Generated Node #0,3,1: 64:[17, 89] Operation: 8+81=89
Exploring Operation: 81-17=64, Resulting Numbers: [8, 64]
Generated Node #0,3,2: 64:[8, 64] Operation: 81-17=64
Exploring Operation: 81-8=73, Resulting Numbers: [17, 73]
Generated Node #0,3,3: 64:[17, 73] Operation: 81-8=73
Exploring Operation: 8+17=25, Resulting Numbers: [81, 25]
Generated Node #0,3,4: 64:[81, 25] Operation: 8+17=25
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 64:[8, 64], Operations: ['68/4=17', '81-17=64']
Exploring Operation: 8*64=512, Resulting Numbers: [512]
512,64 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 8+64=72, Resulting Numbers: [72]
72,64 unequal: No Solution
No 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: 64:[17, 73], Operations: ['68/4=17', '81-8=73']
Exploring Operation: 17*73=1241, Resulting Numbers: [1241]
1241,64 unequal: No Solution
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 17+73=90, Resulting Numbers: [90]
90,64 unequal: No Solution
No 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: 64:[81, 9], Operations: ['68/4=17', '17-8=9']
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,64 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 81*9=729, Resulting Numbers: [729]
729,64 unequal: No Solution
No 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: 64:[81, 25], Operations: ['68/4=17', '8+17=25']
Exploring Operation: 81+25=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Exploring Operation: 81*25=2025, Resulting Numbers: [2025]
2025,64 unequal: No Solution
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,64 unequal: No Solution
No 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: 64:[17, 89], Operations: ['68/4=17', '8+81=89']
Exploring Operation: 17+89=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 17*89=1513, Resulting Numbers: [1513]
1513,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
73,
3,
72,
67
] | 30 | [
"73-67=6",
"72/3=24",
"6+24=30"
] | Current State: 30:[73, 3, 72, 67], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [3, 72, 6]
Generated Node #2: [3, 72, 6] from Operation: 73-67=6
Current State: 30:[3, 72, 6], Operations: ['73-67=6']
Exploring Operation: 72/3=24, Resulting Numbers: [6, 24]
Generated Node #3: [6, 24] from Operation: 72/3=24
Current State: 30:[6, 24], Operations: ['73-67=6', '72/3=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[73, 3, 72, 67], Operations: []
Exploring Operation: 72-67=5, Resulting Numbers: [73, 3, 5]
Generated Node #0,0: 30:[73, 3, 5] Operation: 72-67=5
Exploring Operation: 72/3=24, Resulting Numbers: [73, 67, 24]
Generated Node #0,1: 30:[73, 67, 24] Operation: 72/3=24
Exploring Operation: 73-3=70, Resulting Numbers: [72, 67, 70]
Generated Node #0,2: 30:[72, 67, 70] Operation: 73-3=70
Exploring Operation: 73-67=6, Resulting Numbers: [3, 72, 6]
Generated Node #0,3: 30:[3, 72, 6] Operation: 73-67=6
Exploring Operation: 73-72=1, Resulting Numbers: [3, 67, 1]
Generated Node #0,4: 30:[3, 67, 1] Operation: 73-72=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 30:[3, 67, 1], Operations: ['73-72=1']
Exploring Operation: 67-1=66, Resulting Numbers: [3, 66]
Generated Node #0,4,0: 30:[3, 66] Operation: 67-1=66
Exploring Operation: 67-3=64, Resulting Numbers: [1, 64]
Generated Node #0,4,1: 30:[1, 64] Operation: 67-3=64
Exploring Operation: 3/1=3, Resulting Numbers: [67, 3]
Generated Node #0,4,2: 30:[67, 3] Operation: 3/1=3
Exploring Operation: 3*1=3, Resulting Numbers: [67, 3]
Generated Node #0,4,3: 30:[67, 3] Operation: 3*1=3
Exploring Operation: 3-1=2, Resulting Numbers: [67, 2]
Generated Node #0,4,4: 30:[67, 2] Operation: 3-1=2
Moving to Node #0,4,1
Current State: 30:[1, 64], Operations: ['73-72=1', '67-3=64']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,30 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,30 unequal: No Solution
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,30 unequal: No Solution
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Moving to Node #0,4,0
Current State: 30:[3, 66], Operations: ['73-72=1', '67-1=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,30 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 3*66=198, Resulting Numbers: [198]
198,30 unequal: No Solution
Moving to Node #0,4,2
Current State: 30:[67, 3], Operations: ['73-72=1', '3/1=3']
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,30 unequal: No Solution
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,30 unequal: No Solution
Moving to Node #0,4,3
Current State: 30:[67, 3], Operations: ['73-72=1', '3*1=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,30 unequal: No Solution
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,30 unequal: No Solution
Moving to Node #0,4,4
Current State: 30:[67, 2], Operations: ['73-72=1', '3-1=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,30 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[3, 72, 6], Operations: ['73-67=6']
Exploring Operation: 72-6=66, Resulting Numbers: [3, 66]
Generated Node #0,3,0: 30:[3, 66] Operation: 72-6=66
Exploring Operation: 6-3=3, Resulting Numbers: [72, 3]
Generated Node #0,3,1: 30:[72, 3] Operation: 6-3=3
Exploring Operation: 72/6=12, Resulting Numbers: [3, 12]
Generated Node #0,3,2: 30:[3, 12] Operation: 72/6=12
Exploring Operation: 72/3=24, Resulting Numbers: [6, 24]
Generated Node #0,3,3: 30:[6, 24] Operation: 72/3=24
Exploring Operation: 72-3=69, Resulting Numbers: [6, 69]
Generated Node #0,3,4: 30:[6, 69] Operation: 72-3=69
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 30:[3, 12], Operations: ['73-67=6', '72/6=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 30:[6, 24], Operations: ['73-67=6', '72/3=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[73, 3, 72, 67], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [3, 72, 6]
Generated Node #0,3: 30:[3, 72, 6] Operation: 73-67=6
Moving to Node #0,3
Current State: 30:[3, 72, 6], Operations: ['73-67=6']
Exploring Operation: 72/3=24, Resulting Numbers: [6, 24]
Generated Node #0,3,3: 30:[6, 24] Operation: 72/3=24
Moving to Node #0,3,3
Current State: 30:[6, 24], Operations: ['73-67=6', '72/3=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
41,
10,
24,
13
] | 98 | [
"41*10=410",
"24*13=312",
"410-312=98"
] | Current State: 98:[41, 10, 24, 13], Operations: []
Exploring Operation: 41*10=410, Resulting Numbers: [24, 13, 410]
Generated Node #2: [24, 13, 410] from Operation: 41*10=410
Current State: 98:[24, 13, 410], Operations: ['41*10=410']
Exploring Operation: 24*13=312, Resulting Numbers: [410, 312]
Generated Node #3: [410, 312] from Operation: 24*13=312
Current State: 98:[410, 312], Operations: ['41*10=410', '24*13=312']
Exploring Operation: 410-312=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[41, 10, 24, 13], Operations: []
Exploring Operation: 41-24=17, Resulting Numbers: [10, 13, 17]
Generated Node #0,0: 98:[10, 13, 17] Operation: 41-24=17
Exploring Operation: 24-13=11, Resulting Numbers: [41, 10, 11]
Generated Node #0,1: 98:[41, 10, 11] Operation: 24-13=11
Exploring Operation: 24-10=14, Resulting Numbers: [41, 13, 14]
Generated Node #0,2: 98:[41, 13, 14] Operation: 24-10=14
Exploring Operation: 41+10=51, Resulting Numbers: [24, 13, 51]
Generated Node #0,3: 98:[24, 13, 51] Operation: 41+10=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[10, 13, 17], Operations: ['41-24=17']
Exploring Operation: 13-10=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 98:[17, 3] Operation: 13-10=3
Exploring Operation: 17-13=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 98:[10, 4] Operation: 17-13=4
Exploring Operation: 10+13=23, Resulting Numbers: [17, 23]
Generated Node #0,0,2: 98:[17, 23] Operation: 10+13=23
Exploring Operation: 17-10=7, Resulting Numbers: [13, 7]
Generated Node #0,0,3: 98:[13, 7] Operation: 17-10=7
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 98:[13, 7], Operations: ['41-24=17', '17-10=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[17, 3], Operations: ['41-24=17', '13-10=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[10, 4], Operations: ['41-24=17', '17-13=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[17, 23], Operations: ['41-24=17', '10+13=23']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 17*23=391, Resulting Numbers: [391]
391,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[41, 13, 14], Operations: ['24-10=14']
Exploring Operation: 41-13=28, Resulting Numbers: [14, 28]
Generated Node #0,2,0: 98:[14, 28] Operation: 41-13=28
Exploring Operation: 41+14=55, Resulting Numbers: [13, 55]
Generated Node #0,2,1: 98:[13, 55] Operation: 41+14=55
Exploring Operation: 41+13=54, Resulting Numbers: [14, 54]
Generated Node #0,2,2: 98:[14, 54] Operation: 41+13=54
Exploring Operation: 14-13=1, Resulting Numbers: [41, 1]
Generated Node #0,2,3: 98:[41, 1] Operation: 14-13=1
Moving to Node #0,2,2
Current State: 98:[14, 54], Operations: ['24-10=14', '41+13=54']
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 14*54=756, Resulting Numbers: [756]
756,98 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[13, 55], Operations: ['24-10=14', '41+14=55']
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 13*55=715, Resulting Numbers: [715]
715,98 unequal: No Solution
Exploring Operation: 13+55=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[41, 1], Operations: ['24-10=14', '14-13=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[14, 28], Operations: ['24-10=14', '41-13=28']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[24, 13, 51], Operations: ['41+10=51']
Exploring Operation: 24-13=11, Resulting Numbers: [51, 11]
Generated Node #0,3,0: 98:[51, 11] Operation: 24-13=11
Exploring Operation: 51-24=27, Resulting Numbers: [13, 27]
Generated Node #0,3,1: 98:[13, 27] Operation: 51-24=27
Exploring Operation: 51-13=38, Resulting Numbers: [24, 38]
Generated Node #0,3,2: 98:[24, 38] Operation: 51-13=38
Exploring Operation: 24+13=37, Resulting Numbers: [51, 37]
Generated Node #0,3,3: 98:[51, 37] Operation: 24+13=37
Moving to Node #0,3,0
Current State: 98:[51, 11], Operations: ['41+10=51', '24-13=11']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[51, 37], Operations: ['41+10=51', '24+13=37']
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 51+37=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Exploring Operation: 51*37=1887, Resulting Numbers: [1887]
1887,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[13, 27], Operations: ['41+10=51', '51-24=27']
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,98 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[24, 38], Operations: ['41+10=51', '51-13=38']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 24*38=912, Resulting Numbers: [912]
912,98 unequal: No Solution
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[41, 10, 11], Operations: ['24-13=11']
Exploring Operation: 11-10=1, Resulting Numbers: [41, 1]
Generated Node #0,1,0: 98:[41, 1] Operation: 11-10=1
Exploring Operation: 10+11=21, Resulting Numbers: [41, 21]
Generated Node #0,1,1: 98:[41, 21] Operation: 10+11=21
Exploring Operation: 41+10=51, Resulting Numbers: [11, 51]
Generated Node #0,1,2: 98:[11, 51] Operation: 41+10=51
Exploring Operation: 41+11=52, Resulting Numbers: [10, 52]
Generated Node #0,1,3: 98:[10, 52] Operation: 41+11=52
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[11, 51], Operations: ['24-13=11', '41+10=51']
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,98 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 98:[10, 52], Operations: ['24-13=11', '41+11=52']
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,98 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[41, 1], Operations: ['24-13=11', '11-10=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[41, 21], Operations: ['24-13=11', '10+11=21']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
63,
80,
26,
50
] | 93 | [
"80-63=17",
"26+50=76",
"17+76=93"
] | Current State: 93:[63, 80, 26, 50], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [26, 50, 17]
Generated Node #2: [26, 50, 17] from Operation: 80-63=17
Current State: 93:[26, 50, 17], Operations: ['80-63=17']
Exploring Operation: 26+50=76, Resulting Numbers: [17, 76]
Generated Node #3: [17, 76] from Operation: 26+50=76
Current State: 93:[17, 76], Operations: ['80-63=17', '26+50=76']
Exploring Operation: 17+76=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[63, 80, 26, 50], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [26, 50, 17]
Generated Node #0,0: 93:[26, 50, 17] Operation: 80-63=17
Exploring Operation: 63+26=89, Resulting Numbers: [80, 50, 89]
Generated Node #0,1: 93:[80, 50, 89] Operation: 63+26=89
Exploring Operation: 63-50=13, Resulting Numbers: [80, 26, 13]
Generated Node #0,2: 93:[80, 26, 13] Operation: 63-50=13
Exploring Operation: 80-50=30, Resulting Numbers: [63, 26, 30]
Generated Node #0,3: 93:[63, 26, 30] Operation: 80-50=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[80, 26, 13], Operations: ['63-50=13']
Exploring Operation: 26/13=2, Resulting Numbers: [80, 2]
Generated Node #0,2,0: 93:[80, 2] Operation: 26/13=2
Exploring Operation: 26+13=39, Resulting Numbers: [80, 39]
Generated Node #0,2,1: 93:[80, 39] Operation: 26+13=39
Exploring Operation: 80+26=106, Resulting Numbers: [13, 106]
Generated Node #0,2,2: 93:[13, 106] Operation: 80+26=106
Exploring Operation: 80+13=93, Resulting Numbers: [26, 93]
Generated Node #0,2,3: 93:[26, 93] Operation: 80+13=93
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 93:[26, 93], Operations: ['63-50=13', '80+13=93']
Exploring Operation: 26*93=2418, Resulting Numbers: [2418]
2418,93 unequal: No Solution
Exploring Operation: 26+93=119, Resulting Numbers: [119]
119,93 unequal: No Solution
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[80, 2], Operations: ['63-50=13', '26/13=2']
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,93 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,93 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,93 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 93:[80, 39], Operations: ['63-50=13', '26+13=39']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,93 unequal: No Solution
Exploring Operation: 80*39=3120, Resulting Numbers: [3120]
3120,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 93:[13, 106], Operations: ['63-50=13', '80+26=106']
Exploring Operation: 13*106=1378, Resulting Numbers: [1378]
1378,93 unequal: No Solution
Exploring Operation: 13+106=119, Resulting Numbers: [119]
119,93 unequal: No Solution
Exploring Operation: 106-13=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[63, 80, 26, 50], Operations: []
Exploring Operation: 63-50=13, Resulting Numbers: [80, 26, 13]
Generated Node #0,2: 93:[80, 26, 13] Operation: 63-50=13
Moving to Node #0,2
Current State: 93:[80, 26, 13], Operations: ['63-50=13']
Exploring Operation: 80+26=106, Resulting Numbers: [13, 106]
Generated Node #0,2,2: 93:[13, 106] Operation: 80+26=106
Moving to Node #0,2,2
Current State: 93:[13, 106], Operations: ['63-50=13', '80+26=106']
Exploring Operation: 106-13=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_4 | sum_heuristic |
[
41,
22,
75,
31
] | 41 | [
"22*75=1650",
"31+1650=1681",
"1681/41=41"
] | Current State: 41:[41, 22, 75, 31], Operations: []
Exploring Operation: 22*75=1650, Resulting Numbers: [41, 31, 1650]
Generated Node #2: [41, 31, 1650] from Operation: 22*75=1650
Current State: 41:[41, 31, 1650], Operations: ['22*75=1650']
Exploring Operation: 31+1650=1681, Resulting Numbers: [41, 1681]
Generated Node #3: [41, 1681] from Operation: 31+1650=1681
Current State: 41:[41, 1681], Operations: ['22*75=1650', '31+1650=1681']
Exploring Operation: 1681/41=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[41, 22, 75, 31], Operations: []
Exploring Operation: 75-22=53, Resulting Numbers: [41, 31, 53]
Generated Node #0,0: 41:[41, 31, 53] Operation: 75-22=53
Exploring Operation: 41+22=63, Resulting Numbers: [75, 31, 63]
Generated Node #0,1: 41:[75, 31, 63] Operation: 41+22=63
Exploring Operation: 22+31=53, Resulting Numbers: [41, 75, 53]
Generated Node #0,2: 41:[41, 75, 53] Operation: 22+31=53
Exploring Operation: 75-41=34, Resulting Numbers: [22, 31, 34]
Generated Node #0,3: 41:[22, 31, 34] Operation: 75-41=34
Exploring Operation: 75-31=44, Resulting Numbers: [41, 22, 44]
Generated Node #0,4: 41:[41, 22, 44] Operation: 75-31=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[41, 31, 53], Operations: ['75-22=53']
Exploring Operation: 41-31=10, Resulting Numbers: [53, 10]
Generated Node #0,0,0: 41:[53, 10] Operation: 41-31=10
Exploring Operation: 53-31=22, Resulting Numbers: [41, 22]
Generated Node #0,0,1: 41:[41, 22] Operation: 53-31=22
Exploring Operation: 53-41=12, Resulting Numbers: [31, 12]
Generated Node #0,0,2: 41:[31, 12] Operation: 53-41=12
Exploring Operation: 31+53=84, Resulting Numbers: [41, 84]
Generated Node #0,0,3: 41:[41, 84] Operation: 31+53=84
Exploring Operation: 41+31=72, Resulting Numbers: [53, 72]
Generated Node #0,0,4: 41:[53, 72] Operation: 41+31=72
Moving to Node #0,0,1
Current State: 41:[41, 22], Operations: ['75-22=53', '53-31=22']
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,41 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[31, 12], Operations: ['75-22=53', '53-41=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[53, 10], Operations: ['75-22=53', '41-31=10']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,41 unequal: No Solution
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[41, 84], Operations: ['75-22=53', '31+53=84']
Exploring Operation: 41+84=125, Resulting Numbers: [125]
125,41 unequal: No Solution
Exploring Operation: 41*84=3444, Resulting Numbers: [3444]
3444,41 unequal: No Solution
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Moving to Node #0,0,4
Current State: 41:[53, 72], Operations: ['75-22=53', '41+31=72']
Exploring Operation: 53+72=125, Resulting Numbers: [125]
125,41 unequal: No Solution
Exploring Operation: 53*72=3816, Resulting Numbers: [3816]
3816,41 unequal: No Solution
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,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,4
Current State: 41:[41, 22, 44], Operations: ['75-31=44']
Exploring Operation: 22+44=66, Resulting Numbers: [41, 66]
Generated Node #0,4,0: 41:[41, 66] Operation: 22+44=66
Exploring Operation: 41+22=63, Resulting Numbers: [44, 63]
Generated Node #0,4,1: 41:[44, 63] Operation: 41+22=63
Exploring Operation: 44-22=22, Resulting Numbers: [41, 22]
Generated Node #0,4,2: 41:[41, 22] Operation: 44-22=22
Exploring Operation: 41-22=19, Resulting Numbers: [44, 19]
Generated Node #0,4,3: 41:[44, 19] Operation: 41-22=19
Exploring Operation: 44/22=2, Resulting Numbers: [41, 2]
Generated Node #0,4,4: 41:[41, 2] Operation: 44/22=2
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 41:[41, 22], Operations: ['75-31=44', '44-22=22']
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,41 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 41:[41, 66], Operations: ['75-31=44', '22+44=66']
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 41+66=107, Resulting Numbers: [107]
107,41 unequal: No Solution
Exploring Operation: 41*66=2706, Resulting Numbers: [2706]
2706,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 41:[44, 63], Operations: ['75-31=44', '41+22=63']
Exploring Operation: 44+63=107, Resulting Numbers: [107]
107,41 unequal: No Solution
Exploring Operation: 44*63=2772, Resulting Numbers: [2772]
2772,41 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 41:[44, 19], Operations: ['75-31=44', '41-22=19']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 44*19=836, Resulting Numbers: [836]
836,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 41:[41, 2], Operations: ['75-31=44', '44/22=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[22, 31, 34], Operations: ['75-41=34']
Exploring Operation: 22+31=53, Resulting Numbers: [34, 53]
Generated Node #0,3,0: 41:[34, 53] Operation: 22+31=53
Exploring Operation: 34-22=12, Resulting Numbers: [31, 12]
Generated Node #0,3,1: 41:[31, 12] Operation: 34-22=12
Exploring Operation: 31+34=65, Resulting Numbers: [22, 65]
Generated Node #0,3,2: 41:[22, 65] Operation: 31+34=65
Exploring Operation: 31-22=9, Resulting Numbers: [34, 9]
Generated Node #0,3,3: 41:[34, 9] Operation: 31-22=9
Exploring Operation: 22+34=56, Resulting Numbers: [31, 56]
Generated Node #0,3,4: 41:[31, 56] Operation: 22+34=56
Moving to Node #0,3,0
Current State: 41:[34, 53], Operations: ['75-41=34', '22+31=53']
Exploring Operation: 34+53=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 34*53=1802, Resulting Numbers: [1802]
1802,41 unequal: No Solution
Moving to Node #0,3,4
Current State: 41:[31, 56], Operations: ['75-41=34', '22+34=56']
Exploring Operation: 31+56=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 31*56=1736, Resulting Numbers: [1736]
1736,41 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[31, 12], Operations: ['75-41=34', '34-22=12']
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,41 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[34, 9], Operations: ['75-41=34', '31-22=9']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[22, 65], Operations: ['75-41=34', '31+34=65']
Exploring Operation: 22+65=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 22*65=1430, Resulting Numbers: [1430]
1430,41 unequal: No Solution
Exploring Operation: 65-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,2
Current State: 41:[41, 75, 53], Operations: ['22+31=53']
Exploring Operation: 41+75=116, Resulting Numbers: [53, 116]
Generated Node #0,2,0: 41:[53, 116] Operation: 41+75=116
Exploring Operation: 75-53=22, Resulting Numbers: [41, 22]
Generated Node #0,2,1: 41:[41, 22] Operation: 75-53=22
Exploring Operation: 41+53=94, Resulting Numbers: [75, 94]
Generated Node #0,2,2: 41:[75, 94] Operation: 41+53=94
Exploring Operation: 75-41=34, Resulting Numbers: [53, 34]
Generated Node #0,2,3: 41:[53, 34] Operation: 75-41=34
Exploring Operation: 53-41=12, Resulting Numbers: [75, 12]
Generated Node #0,2,4: 41:[75, 12] Operation: 53-41=12
Moving to Node #0,2,1
Current State: 41:[41, 22], Operations: ['22+31=53', '75-53=22']
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,41 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[53, 34], Operations: ['22+31=53', '75-41=34']
Exploring Operation: 53*34=1802, Resulting Numbers: [1802]
1802,41 unequal: No Solution
Exploring Operation: 53+34=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[75, 12], Operations: ['22+31=53', '53-41=12']
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,41 unequal: No Solution
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[53, 116], Operations: ['22+31=53', '41+75=116']
Exploring Operation: 116-53=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 53*116=6148, Resulting Numbers: [6148]
6148,41 unequal: No Solution
Exploring Operation: 53+116=169, Resulting Numbers: [169]
169,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[75, 94], Operations: ['22+31=53', '41+53=94']
Exploring Operation: 75+94=169, Resulting Numbers: [169]
169,41 unequal: No Solution
Exploring Operation: 94-75=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 75*94=7050, Resulting Numbers: [7050]
7050,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[75, 31, 63], Operations: ['41+22=63']
Exploring Operation: 75-31=44, Resulting Numbers: [63, 44]
Generated Node #0,1,0: 41:[63, 44] Operation: 75-31=44
Exploring Operation: 75+31=106, Resulting Numbers: [63, 106]
Generated Node #0,1,1: 41:[63, 106] Operation: 75+31=106
Exploring Operation: 75-63=12, Resulting Numbers: [31, 12]
Generated Node #0,1,2: 41:[31, 12] Operation: 75-63=12
Exploring Operation: 63-31=32, Resulting Numbers: [75, 32]
Generated Node #0,1,3: 41:[75, 32] Operation: 63-31=32
Exploring Operation: 31+63=94, Resulting Numbers: [75, 94]
Generated Node #0,1,4: 41:[75, 94] Operation: 31+63=94
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[63, 44], Operations: ['41+22=63', '75-31=44']
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,41 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[31, 12], Operations: ['41+22=63', '75-63=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 41:[75, 32], Operations: ['41+22=63', '63-31=32']
Exploring Operation: 75*32=2400, Resulting Numbers: [2400]
2400,41 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 75+32=107, Resulting Numbers: [107]
107,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[63, 106], Operations: ['41+22=63', '75+31=106']
Exploring Operation: 106-63=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 63*106=6678, Resulting Numbers: [6678]
6678,41 unequal: No Solution
Exploring Operation: 63+106=169, Resulting Numbers: [169]
169,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 41:[75, 94], Operations: ['41+22=63', '31+63=94']
Exploring Operation: 75*94=7050, Resulting Numbers: [7050]
7050,41 unequal: No Solution
Exploring Operation: 94-75=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 75+94=169, Resulting Numbers: [169]
169,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
10,
11,
9,
26
] | 77 | [
"10+9=19",
"26-19=7",
"11*7=77"
] | Current State: 77:[10, 11, 9, 26], Operations: []
Exploring Operation: 10+9=19, Resulting Numbers: [11, 26, 19]
Generated Node #2: [11, 26, 19] from Operation: 10+9=19
Current State: 77:[11, 26, 19], Operations: ['10+9=19']
Exploring Operation: 26-19=7, Resulting Numbers: [11, 7]
Generated Node #3: [11, 7] from Operation: 26-19=7
Current State: 77:[11, 7], Operations: ['10+9=19', '26-19=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[10, 11, 9, 26], Operations: []
Exploring Operation: 26-10=16, Resulting Numbers: [11, 9, 16]
Generated Node #0,0: 77:[11, 9, 16] Operation: 26-10=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[11, 9, 16], Operations: ['26-10=16']
Exploring Operation: 16-9=7, Resulting Numbers: [11, 7]
Generated Node #0,0,0: 77:[11, 7] Operation: 16-9=7
Moving to Node #0,0,0
Current State: 77:[11, 7], Operations: ['26-10=16', '16-9=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[10, 11, 9, 26], Operations: []
Exploring Operation: 26-10=16, Resulting Numbers: [11, 9, 16]
Generated Node #0,0: 77:[11, 9, 16] Operation: 26-10=16
Moving to Node #0,0
Current State: 77:[11, 9, 16], Operations: ['26-10=16']
Exploring Operation: 16-9=7, Resulting Numbers: [11, 7]
Generated Node #0,0,0: 77:[11, 7] Operation: 16-9=7
Moving to Node #0,0,0
Current State: 77:[11, 7], Operations: ['26-10=16', '16-9=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
64,
92,
40,
49
] | 22 | [
"40*49=1960",
"64+1960=2024",
"2024/92=22"
] | Current State: 22:[64, 92, 40, 49], Operations: []
Exploring Operation: 40*49=1960, Resulting Numbers: [64, 92, 1960]
Generated Node #2: [64, 92, 1960] from Operation: 40*49=1960
Current State: 22:[64, 92, 1960], Operations: ['40*49=1960']
Exploring Operation: 64+1960=2024, Resulting Numbers: [92, 2024]
Generated Node #3: [92, 2024] from Operation: 64+1960=2024
Current State: 22:[92, 2024], Operations: ['40*49=1960', '64+1960=2024']
Exploring Operation: 2024/92=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[64, 92, 40, 49], Operations: []
Exploring Operation: 92-64=28, Resulting Numbers: [40, 49, 28]
Generated Node #0,0: 22:[40, 49, 28] Operation: 92-64=28
Moving to Node #0,0
Current State: 22:[40, 49, 28], Operations: ['92-64=28']
Exploring Operation: 49-40=9, Resulting Numbers: [28, 9]
Generated Node #0,0,0: 22:[28, 9] Operation: 49-40=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[28, 9], Operations: ['92-64=28', '49-40=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
55,
54,
41,
71
] | 99 | [
"55*54=2970",
"71-41=30",
"2970/30=99"
] | Current State: 99:[55, 54, 41, 71], Operations: []
Exploring Operation: 55*54=2970, Resulting Numbers: [41, 71, 2970]
Generated Node #2: [41, 71, 2970] from Operation: 55*54=2970
Current State: 99:[41, 71, 2970], Operations: ['55*54=2970']
Exploring Operation: 71-41=30, Resulting Numbers: [2970, 30]
Generated Node #3: [2970, 30] from Operation: 71-41=30
Current State: 99:[2970, 30], Operations: ['55*54=2970', '71-41=30']
Exploring Operation: 2970/30=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[55, 54, 41, 71], Operations: []
Exploring Operation: 55-54=1, Resulting Numbers: [41, 71, 1]
Generated Node #0,0: 99:[41, 71, 1] Operation: 55-54=1
Exploring Operation: 55+54=109, Resulting Numbers: [41, 71, 109]
Generated Node #0,1: 99:[41, 71, 109] Operation: 55+54=109
Exploring Operation: 71-55=16, Resulting Numbers: [54, 41, 16]
Generated Node #0,2: 99:[54, 41, 16] Operation: 71-55=16
Exploring Operation: 71-54=17, Resulting Numbers: [55, 41, 17]
Generated Node #0,3: 99:[55, 41, 17] Operation: 71-54=17
Moving to Node #0,2
Current State: 99:[54, 41, 16], Operations: ['71-55=16']
Exploring Operation: 54+41=95, Resulting Numbers: [16, 95]
Generated Node #0,2,0: 99:[16, 95] Operation: 54+41=95
Exploring Operation: 54-41=13, Resulting Numbers: [16, 13]
Generated Node #0,2,1: 99:[16, 13] Operation: 54-41=13
Exploring Operation: 41-16=25, Resulting Numbers: [54, 25]
Generated Node #0,2,2: 99:[54, 25] Operation: 41-16=25
Exploring Operation: 54-16=38, Resulting Numbers: [41, 38]
Generated Node #0,2,3: 99:[41, 38] Operation: 54-16=38
Moving to Node #0,3
Current State: 99:[55, 41, 17], Operations: ['71-54=17']
Exploring Operation: 55+41=96, Resulting Numbers: [17, 96]
Generated Node #0,3,0: 99:[17, 96] Operation: 55+41=96
Exploring Operation: 55-17=38, Resulting Numbers: [41, 38]
Generated Node #0,3,1: 99:[41, 38] Operation: 55-17=38
Exploring Operation: 55-41=14, Resulting Numbers: [17, 14]
Generated Node #0,3,2: 99:[17, 14] Operation: 55-41=14
Exploring Operation: 41-17=24, Resulting Numbers: [55, 24]
Generated Node #0,3,3: 99:[55, 24] Operation: 41-17=24
Moving to Node #0,0
Current State: 99:[41, 71, 1], Operations: ['55-54=1']
Exploring Operation: 71+1=72, Resulting Numbers: [41, 72]
Generated Node #0,0,0: 99:[41, 72] Operation: 71+1=72
Exploring Operation: 71-41=30, Resulting Numbers: [1, 30]
Generated Node #0,0,1: 99:[1, 30] Operation: 71-41=30
Exploring Operation: 41-1=40, Resulting Numbers: [71, 40]
Generated Node #0,0,2: 99:[71, 40] Operation: 41-1=40
Exploring Operation: 41+71=112, Resulting Numbers: [1, 112]
Generated Node #0,0,3: 99:[1, 112] Operation: 41+71=112
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[1, 30], Operations: ['55-54=1', '71-41=30']
Exploring Operation: 1+30=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 99:[1, 112], Operations: ['55-54=1', '41+71=112']
Exploring Operation: 112-1=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Exploring Operation: 1*112=112, Resulting Numbers: [112]
112,99 unequal: No Solution
Exploring Operation: 1+112=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Exploring Operation: 112/1=112, Resulting Numbers: [112]
112,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[41, 72], Operations: ['55-54=1', '71+1=72']
Exploring Operation: 41*72=2952, Resulting Numbers: [2952]
2952,99 unequal: No Solution
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 41+72=113, Resulting Numbers: [113]
113,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[71, 40], Operations: ['55-54=1', '41-1=40']
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,99 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: 99:[41, 71, 109], Operations: ['55+54=109']
Exploring Operation: 41+71=112, Resulting Numbers: [109, 112]
Generated Node #0,1,0: 99:[109, 112] Operation: 41+71=112
Exploring Operation: 109-41=68, Resulting Numbers: [71, 68]
Generated Node #0,1,1: 99:[71, 68] Operation: 109-41=68
Exploring Operation: 71-41=30, Resulting Numbers: [109, 30]
Generated Node #0,1,2: 99:[109, 30] Operation: 71-41=30
Exploring Operation: 109-71=38, Resulting Numbers: [41, 38]
Generated Node #0,1,3: 99:[41, 38] Operation: 109-71=38
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[109, 30], Operations: ['55+54=109', '71-41=30']
Exploring Operation: 109+30=139, Resulting Numbers: [139]
139,99 unequal: No Solution
Exploring Operation: 109*30=3270, Resulting Numbers: [3270]
3270,99 unequal: No Solution
Exploring Operation: 109-30=79, Resulting Numbers: [79]
79,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 99:[41, 38], Operations: ['55+54=109', '109-71=38']
Exploring Operation: 41*38=1558, Resulting Numbers: [1558]
1558,99 unequal: No Solution
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[109, 112], Operations: ['55+54=109', '41+71=112']
Exploring Operation: 112-109=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 109+112=221, Resulting Numbers: [221]
221,99 unequal: No Solution
Exploring Operation: 109*112=12208, Resulting Numbers: [12208]
12208,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[71, 68], Operations: ['55+54=109', '109-41=68']
Exploring Operation: 71*68=4828, Resulting Numbers: [4828]
4828,99 unequal: No Solution
Exploring Operation: 71+68=139, Resulting Numbers: [139]
139,99 unequal: No Solution
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 99:[16, 13], Operations: ['71-55=16', '54-41=13']
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,99 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[17, 14], Operations: ['71-54=17', '55-41=14']
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,99 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[16, 95], Operations: ['71-55=16', '54+41=95']
Exploring Operation: 16+95=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Exploring Operation: 16*95=1520, Resulting Numbers: [1520]
1520,99 unequal: No Solution
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Moving to Node #0,3,0
Current State: 99:[17, 96], Operations: ['71-54=17', '55+41=96']
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Exploring Operation: 17+96=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Exploring Operation: 17*96=1632, Resulting Numbers: [1632]
1632,99 unequal: No Solution
Moving to Node #0,3,1
Current State: 99:[41, 38], Operations: ['71-54=17', '55-17=38']
Exploring Operation: 41*38=1558, Resulting Numbers: [1558]
1558,99 unequal: No Solution
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[41, 38], Operations: ['71-55=16', '54-16=38']
Exploring Operation: 41*38=1558, Resulting Numbers: [1558]
1558,99 unequal: No Solution
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[54, 25], Operations: ['71-55=16', '41-16=25']
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Exploring Operation: 54*25=1350, Resulting Numbers: [1350]
1350,99 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[55, 24], Operations: ['71-54=17', '41-17=24']
Exploring Operation: 55*24=1320, Resulting Numbers: [1320]
1320,99 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 55+24=79, Resulting Numbers: [79]
79,99 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
7,
65,
29,
75
] | 49 | [
"65+75=140",
"140/7=20",
"29+20=49"
] | Current State: 49:[7, 65, 29, 75], Operations: []
Exploring Operation: 65+75=140, Resulting Numbers: [7, 29, 140]
Generated Node #2: [7, 29, 140] from Operation: 65+75=140
Current State: 49:[7, 29, 140], Operations: ['65+75=140']
Exploring Operation: 140/7=20, Resulting Numbers: [29, 20]
Generated Node #3: [29, 20] from Operation: 140/7=20
Current State: 49:[29, 20], Operations: ['65+75=140', '140/7=20']
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[7, 65, 29, 75], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [7, 29, 10]
Generated Node #0,0: 49:[7, 29, 10] Operation: 75-65=10
Exploring Operation: 75-29=46, Resulting Numbers: [7, 65, 46]
Generated Node #0,1: 49:[7, 65, 46] Operation: 75-29=46
Moving to Node #0,1
Current State: 49:[7, 65, 46], Operations: ['75-29=46']
Exploring Operation: 65-7=58, Resulting Numbers: [46, 58]
Generated Node #0,1,0: 49:[46, 58] Operation: 65-7=58
Exploring Operation: 65-46=19, Resulting Numbers: [7, 19]
Generated Node #0,1,1: 49:[7, 19] Operation: 65-46=19
Moving to Node #0,0
Current State: 49:[7, 29, 10], Operations: ['75-65=10']
Exploring Operation: 29-10=19, Resulting Numbers: [7, 19]
Generated Node #0,0,0: 49:[7, 19] Operation: 29-10=19
Exploring Operation: 29+10=39, Resulting Numbers: [7, 39]
Generated Node #0,0,1: 49:[7, 39] Operation: 29+10=39
Moving to Node #0,0,1
Current State: 49:[7, 39], Operations: ['75-65=10', '29+10=39']
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,49 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[46, 58], Operations: ['75-29=46', '65-7=58']
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 46+58=104, Resulting Numbers: [104]
104,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[7, 19], Operations: ['75-29=46', '65-46=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[7, 19], Operations: ['75-65=10', '29-10=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,49 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
57,
31,
36,
30
] | 40 | [
"57-31=26",
"36+30=66",
"66-26=40"
] | Current State: 40:[57, 31, 36, 30], Operations: []
Exploring Operation: 57-31=26, Resulting Numbers: [36, 30, 26]
Generated Node #2: [36, 30, 26] from Operation: 57-31=26
Current State: 40:[36, 30, 26], Operations: ['57-31=26']
Exploring Operation: 36+30=66, Resulting Numbers: [26, 66]
Generated Node #3: [26, 66] from Operation: 36+30=66
Current State: 40:[26, 66], Operations: ['57-31=26', '36+30=66']
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[57, 31, 36, 30], Operations: []
Exploring Operation: 57-30=27, Resulting Numbers: [31, 36, 27]
Generated Node #0,0: 40:[31, 36, 27] Operation: 57-30=27
Exploring Operation: 36-31=5, Resulting Numbers: [57, 30, 5]
Generated Node #0,1: 40:[57, 30, 5] Operation: 36-31=5
Exploring Operation: 31-30=1, Resulting Numbers: [57, 36, 1]
Generated Node #0,2: 40:[57, 36, 1] Operation: 31-30=1
Exploring Operation: 57-36=21, Resulting Numbers: [31, 30, 21]
Generated Node #0,3: 40:[31, 30, 21] Operation: 57-36=21
Exploring Operation: 57-31=26, Resulting Numbers: [36, 30, 26]
Generated Node #0,4: 40:[36, 30, 26] Operation: 57-31=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[31, 36, 27], Operations: ['57-30=27']
Exploring Operation: 31-27=4, Resulting Numbers: [36, 4]
Generated Node #0,0,0: 40:[36, 4] Operation: 31-27=4
Exploring Operation: 36-31=5, Resulting Numbers: [27, 5]
Generated Node #0,0,1: 40:[27, 5] Operation: 36-31=5
Exploring Operation: 36+27=63, Resulting Numbers: [31, 63]
Generated Node #0,0,2: 40:[31, 63] Operation: 36+27=63
Exploring Operation: 31+27=58, Resulting Numbers: [36, 58]
Generated Node #0,0,3: 40:[36, 58] Operation: 31+27=58
Exploring Operation: 36-27=9, Resulting Numbers: [31, 9]
Generated Node #0,0,4: 40:[31, 9] Operation: 36-27=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[36, 4], Operations: ['57-30=27', '31-27=4']
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,40 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[57, 31, 36, 30], Operations: []
Exploring Operation: 57-30=27, Resulting Numbers: [31, 36, 27]
Generated Node #0,0: 40:[31, 36, 27] Operation: 57-30=27
Moving to Node #0,0
Current State: 40:[31, 36, 27], Operations: ['57-30=27']
Exploring Operation: 31-27=4, Resulting Numbers: [36, 4]
Generated Node #0,0,0: 40:[36, 4] Operation: 31-27=4
Moving to Node #0,0,0
Current State: 40:[36, 4], Operations: ['57-30=27', '31-27=4']
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
40,
26,
71,
87
] | 30 | [
"40-26=14",
"87-71=16",
"14+16=30"
] | Current State: 30:[40, 26, 71, 87], Operations: []
Exploring Operation: 40-26=14, Resulting Numbers: [71, 87, 14]
Generated Node #2: [71, 87, 14] from Operation: 40-26=14
Current State: 30:[71, 87, 14], Operations: ['40-26=14']
Exploring Operation: 87-71=16, Resulting Numbers: [14, 16]
Generated Node #3: [14, 16] from Operation: 87-71=16
Current State: 30:[14, 16], Operations: ['40-26=14', '87-71=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[40, 26, 71, 87], Operations: []
Exploring Operation: 87-71=16, Resulting Numbers: [40, 26, 16]
Generated Node #0,0: 30:[40, 26, 16] Operation: 87-71=16
Exploring Operation: 87-40=47, Resulting Numbers: [26, 71, 47]
Generated Node #0,1: 30:[26, 71, 47] Operation: 87-40=47
Exploring Operation: 71-40=31, Resulting Numbers: [26, 87, 31]
Generated Node #0,2: 30:[26, 87, 31] Operation: 71-40=31
Moving to Node #0,0
Current State: 30:[40, 26, 16], Operations: ['87-71=16']
Exploring Operation: 26-16=10, Resulting Numbers: [40, 10]
Generated Node #0,0,0: 30:[40, 10] Operation: 26-16=10
Exploring Operation: 40-26=14, Resulting Numbers: [16, 14]
Generated Node #0,0,1: 30:[16, 14] Operation: 40-26=14
Exploring Operation: 40-16=24, Resulting Numbers: [26, 24]
Generated Node #0,0,2: 30:[26, 24] Operation: 40-16=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[16, 14], Operations: ['87-71=16', '40-26=14']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,30 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[40, 26, 71, 87], Operations: []
Exploring Operation: 87-71=16, Resulting Numbers: [40, 26, 16]
Generated Node #0,0: 30:[40, 26, 16] Operation: 87-71=16
Moving to Node #0,0
Current State: 30:[40, 26, 16], Operations: ['87-71=16']
Exploring Operation: 40-26=14, Resulting Numbers: [16, 14]
Generated Node #0,0,1: 30:[16, 14] Operation: 40-26=14
Moving to Node #0,0,1
Current State: 30:[16, 14], Operations: ['87-71=16', '40-26=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
54,
42,
21,
27
] | 25 | [
"54-27=27",
"42/21=2",
"27-2=25"
] | Current State: 25:[54, 42, 21, 27], Operations: []
Exploring Operation: 54-27=27, Resulting Numbers: [42, 21, 27]
Generated Node #2: [42, 21, 27] from Operation: 54-27=27
Current State: 25:[42, 21, 27], Operations: ['54-27=27']
Exploring Operation: 42/21=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 42/21=2
Current State: 25:[27, 2], Operations: ['54-27=27', '42/21=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[54, 42, 21, 27], Operations: []
Exploring Operation: 54-27=27, Resulting Numbers: [42, 21, 27]
Generated Node #0,0: 25:[42, 21, 27] Operation: 54-27=27
Exploring Operation: 54-42=12, Resulting Numbers: [21, 27, 12]
Generated Node #0,1: 25:[21, 27, 12] Operation: 54-42=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[21, 27, 12], Operations: ['54-42=12']
Exploring Operation: 21-12=9, Resulting Numbers: [27, 9]
Generated Node #0,1,0: 25:[27, 9] Operation: 21-12=9
Exploring Operation: 27-21=6, Resulting Numbers: [12, 6]
Generated Node #0,1,1: 25:[12, 6] Operation: 27-21=6
Moving to Node #0,1,0
Current State: 25:[27, 9], Operations: ['54-42=12', '21-12=9']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[12, 6], Operations: ['54-42=12', '27-21=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,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
Current State: 25:[42, 21, 27], Operations: ['54-27=27']
Exploring Operation: 42/21=2, Resulting Numbers: [27, 2]
Generated Node #0,0,0: 25:[27, 2] Operation: 42/21=2
Exploring Operation: 42-21=21, Resulting Numbers: [27, 21]
Generated Node #0,0,1: 25:[27, 21] Operation: 42-21=21
Moving to Node #0,0,0
Current State: 25:[27, 2], Operations: ['54-27=27', '42/21=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[54, 42, 21, 27], Operations: []
Exploring Operation: 54-27=27, Resulting Numbers: [42, 21, 27]
Generated Node #0,0: 25:[42, 21, 27] Operation: 54-27=27
Moving to Node #0,0
Current State: 25:[42, 21, 27], Operations: ['54-27=27']
Exploring Operation: 42/21=2, Resulting Numbers: [27, 2]
Generated Node #0,0,0: 25:[27, 2] Operation: 42/21=2
Moving to Node #0,0,0
Current State: 25:[27, 2], Operations: ['54-27=27', '42/21=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
20,
31,
47,
83
] | 33 | [
"20*47=940",
"83+940=1023",
"1023/31=33"
] | Current State: 33:[20, 31, 47, 83], Operations: []
Exploring Operation: 20*47=940, Resulting Numbers: [31, 83, 940]
Generated Node #2: [31, 83, 940] from Operation: 20*47=940
Current State: 33:[31, 83, 940], Operations: ['20*47=940']
Exploring Operation: 83+940=1023, Resulting Numbers: [31, 1023]
Generated Node #3: [31, 1023] from Operation: 83+940=1023
Current State: 33:[31, 1023], Operations: ['20*47=940', '83+940=1023']
Exploring Operation: 1023/31=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[20, 31, 47, 83], Operations: []
Exploring Operation: 83-47=36, Resulting Numbers: [20, 31, 36]
Generated Node #0,0: 33:[20, 31, 36] Operation: 83-47=36
Exploring Operation: 83-31=52, Resulting Numbers: [20, 47, 52]
Generated Node #0,1: 33:[20, 47, 52] Operation: 83-31=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[20, 31, 36], Operations: ['83-47=36']
Exploring Operation: 36-20=16, Resulting Numbers: [31, 16]
Generated Node #0,0,0: 33:[31, 16] Operation: 36-20=16
Exploring Operation: 31-20=11, Resulting Numbers: [36, 11]
Generated Node #0,0,1: 33:[36, 11] Operation: 31-20=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[36, 11], Operations: ['83-47=36', '31-20=11']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,33 unequal: No Solution
No 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: 33:[31, 16], Operations: ['83-47=36', '36-20=16']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,33 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: 33:[20, 47, 52], Operations: ['83-31=52']
Exploring Operation: 52-47=5, Resulting Numbers: [20, 5]
Generated Node #0,1,0: 33:[20, 5] Operation: 52-47=5
Exploring Operation: 52-20=32, Resulting Numbers: [47, 32]
Generated Node #0,1,1: 33:[47, 32] Operation: 52-20=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[20, 5], Operations: ['83-31=52', '52-47=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No 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: 33:[47, 32], Operations: ['83-31=52', '52-20=32']
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,33 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 |
[
9,
92,
62,
60
] | 85 | [
"92-9=83",
"62-60=2",
"83+2=85"
] | Current State: 85:[9, 92, 62, 60], Operations: []
Exploring Operation: 92-9=83, Resulting Numbers: [62, 60, 83]
Generated Node #2: [62, 60, 83] from Operation: 92-9=83
Current State: 85:[62, 60, 83], Operations: ['92-9=83']
Exploring Operation: 62-60=2, Resulting Numbers: [83, 2]
Generated Node #3: [83, 2] from Operation: 62-60=2
Current State: 85:[83, 2], Operations: ['92-9=83', '62-60=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[9, 92, 62, 60], Operations: []
Exploring Operation: 92-62=30, Resulting Numbers: [9, 60, 30]
Generated Node #0,0: 85:[9, 60, 30] Operation: 92-62=30
Exploring Operation: 62-60=2, Resulting Numbers: [9, 92, 2]
Generated Node #0,1: 85:[9, 92, 2] Operation: 62-60=2
Moving to Node #0,1
Current State: 85:[9, 92, 2], Operations: ['62-60=2']
Exploring Operation: 9*2=18, Resulting Numbers: [92, 18]
Generated Node #0,1,0: 85:[92, 18] Operation: 9*2=18
Exploring Operation: 92-9=83, Resulting Numbers: [2, 83]
Generated Node #0,1,1: 85:[2, 83] Operation: 92-9=83
Moving to Node #0,0
Current State: 85:[9, 60, 30], Operations: ['92-62=30']
Exploring Operation: 60+30=90, Resulting Numbers: [9, 90]
Generated Node #0,0,0: 85:[9, 90] Operation: 60+30=90
Exploring Operation: 60/30=2, Resulting Numbers: [9, 2]
Generated Node #0,0,1: 85:[9, 2] Operation: 60/30=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[9, 2], Operations: ['92-62=30', '60/30=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[9, 90], Operations: ['92-62=30', '60+30=90']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,85 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: 85:[2, 83], Operations: ['62-60=2', '92-9=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[9, 92, 62, 60], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [9, 92, 2]
Generated Node #0,1: 85:[9, 92, 2] Operation: 62-60=2
Moving to Node #0,1
Current State: 85:[9, 92, 2], Operations: ['62-60=2']
Exploring Operation: 92-9=83, Resulting Numbers: [2, 83]
Generated Node #0,1,1: 85:[2, 83] Operation: 92-9=83
Moving to Node #0,1,1
Current State: 85:[2, 83], Operations: ['62-60=2', '92-9=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
64,
24,
44,
8
] | 47 | [
"64+8=72",
"72/24=3",
"44+3=47"
] | Current State: 47:[64, 24, 44, 8], Operations: []
Exploring Operation: 64+8=72, Resulting Numbers: [24, 44, 72]
Generated Node #2: [24, 44, 72] from Operation: 64+8=72
Current State: 47:[24, 44, 72], Operations: ['64+8=72']
Exploring Operation: 72/24=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 72/24=3
Current State: 47:[44, 3], Operations: ['64+8=72', '72/24=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[64, 24, 44, 8], Operations: []
Exploring Operation: 24+8=32, Resulting Numbers: [64, 44, 32]
Generated Node #0,0: 47:[64, 44, 32] Operation: 24+8=32
Exploring Operation: 64-8=56, Resulting Numbers: [24, 44, 56]
Generated Node #0,1: 47:[24, 44, 56] Operation: 64-8=56
Moving to Node #0,0
Current State: 47:[64, 44, 32], Operations: ['24+8=32']
Exploring Operation: 64-32=32, Resulting Numbers: [44, 32]
Generated Node #0,0,0: 47:[44, 32] Operation: 64-32=32
Exploring Operation: 64-44=20, Resulting Numbers: [32, 20]
Generated Node #0,0,1: 47:[32, 20] Operation: 64-44=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[44, 32], Operations: ['24+8=32', '64-32=32']
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,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,1
Current State: 47:[32, 20], Operations: ['24+8=32', '64-44=20']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 47:[24, 44, 56], Operations: ['64-8=56']
Exploring Operation: 24+44=68, Resulting Numbers: [56, 68]
Generated Node #0,1,0: 47:[56, 68] Operation: 24+44=68
Exploring Operation: 56-24=32, Resulting Numbers: [44, 32]
Generated Node #0,1,1: 47:[44, 32] Operation: 56-24=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[44, 32], Operations: ['64-8=56', '56-24=32']
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,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,0
Current State: 47:[56, 68], Operations: ['64-8=56', '24+44=68']
Exploring Operation: 56+68=124, Resulting Numbers: [124]
124,47 unequal: No Solution
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,47 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,
29,
10,
52
] | 12 | [
"29+10=39",
"16*39=624",
"624/52=12"
] | Current State: 12:[16, 29, 10, 52], Operations: []
Exploring Operation: 29+10=39, Resulting Numbers: [16, 52, 39]
Generated Node #2: [16, 52, 39] from Operation: 29+10=39
Current State: 12:[16, 52, 39], Operations: ['29+10=39']
Exploring Operation: 16*39=624, Resulting Numbers: [52, 624]
Generated Node #3: [52, 624] from Operation: 16*39=624
Current State: 12:[52, 624], Operations: ['29+10=39', '16*39=624']
Exploring Operation: 624/52=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[16, 29, 10, 52], Operations: []
Exploring Operation: 52-29=23, Resulting Numbers: [16, 10, 23]
Generated Node #0,0: 12:[16, 10, 23] Operation: 52-29=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[16, 10, 23], Operations: ['52-29=23']
Exploring Operation: 23-16=7, Resulting Numbers: [10, 7]
Generated Node #0,0,0: 12:[10, 7] Operation: 23-16=7
Moving to Node #0,0,0
Current State: 12:[10, 7], Operations: ['52-29=23', '23-16=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,12 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 |
[
89,
9,
72,
73
] | 54 | [
"89+73=162",
"162/9=18",
"72-18=54"
] | Current State: 54:[89, 9, 72, 73], Operations: []
Exploring Operation: 89+73=162, Resulting Numbers: [9, 72, 162]
Generated Node #2: [9, 72, 162] from Operation: 89+73=162
Current State: 54:[9, 72, 162], Operations: ['89+73=162']
Exploring Operation: 162/9=18, Resulting Numbers: [72, 18]
Generated Node #3: [72, 18] from Operation: 162/9=18
Current State: 54:[72, 18], Operations: ['89+73=162', '162/9=18']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[89, 9, 72, 73], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [89, 9, 1]
Generated Node #0,0: 54:[89, 9, 1] Operation: 73-72=1
Exploring Operation: 89-73=16, Resulting Numbers: [9, 72, 16]
Generated Node #0,1: 54:[9, 72, 16] Operation: 89-73=16
Exploring Operation: 89-9=80, Resulting Numbers: [72, 73, 80]
Generated Node #0,2: 54:[72, 73, 80] Operation: 89-9=80
Exploring Operation: 72/9=8, Resulting Numbers: [89, 73, 8]
Generated Node #0,3: 54:[89, 73, 8] Operation: 72/9=8
Exploring Operation: 89-72=17, Resulting Numbers: [9, 73, 17]
Generated Node #0,4: 54:[9, 73, 17] Operation: 89-72=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[9, 72, 16], Operations: ['89-73=16']
Exploring Operation: 16-9=7, Resulting Numbers: [72, 7]
Generated Node #0,1,0: 54:[72, 7] Operation: 16-9=7
Exploring Operation: 9+16=25, Resulting Numbers: [72, 25]
Generated Node #0,1,1: 54:[72, 25] Operation: 9+16=25
Exploring Operation: 72/9=8, Resulting Numbers: [16, 8]
Generated Node #0,1,2: 54:[16, 8] Operation: 72/9=8
Exploring Operation: 72-9=63, Resulting Numbers: [16, 63]
Generated Node #0,1,3: 54:[16, 63] Operation: 72-9=63
Exploring Operation: 72-16=56, Resulting Numbers: [9, 56]
Generated Node #0,1,4: 54:[9, 56] Operation: 72-16=56
Moving to Node #0,1,4
Current State: 54:[9, 56], Operations: ['89-73=16', '72-16=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[16, 8], Operations: ['89-73=16', '72/9=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,54 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[16, 63], Operations: ['89-73=16', '72-9=63']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 16*63=1008, Resulting Numbers: [1008]
1008,54 unequal: No Solution
Exploring Operation: 16+63=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[72, 7], Operations: ['89-73=16', '16-9=7']
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Exploring Operation: 72*7=504, Resulting Numbers: [504]
504,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[72, 25], Operations: ['89-73=16', '9+16=25']
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 54:[9, 73, 17], Operations: ['89-72=17']
Exploring Operation: 9+17=26, Resulting Numbers: [73, 26]
Generated Node #0,4,0: 54:[73, 26] Operation: 9+17=26
Exploring Operation: 17-9=8, Resulting Numbers: [73, 8]
Generated Node #0,4,1: 54:[73, 8] Operation: 17-9=8
Exploring Operation: 73-17=56, Resulting Numbers: [9, 56]
Generated Node #0,4,2: 54:[9, 56] Operation: 73-17=56
Exploring Operation: 9+73=82, Resulting Numbers: [17, 82]
Generated Node #0,4,3: 54:[17, 82] Operation: 9+73=82
Exploring Operation: 73-9=64, Resulting Numbers: [17, 64]
Generated Node #0,4,4: 54:[17, 64] Operation: 73-9=64
Moving to Node #0,4,2
Current State: 54:[9, 56], Operations: ['89-72=17', '73-17=56']
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,54 unequal: No Solution
Moving to Node #0,4,4
Current State: 54:[17, 64], Operations: ['89-72=17', '73-9=64']
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 17+64=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 17*64=1088, Resulting Numbers: [1088]
1088,54 unequal: No Solution
Moving to Node #0,4,0
Current State: 54:[73, 26], Operations: ['89-72=17', '9+17=26']
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,54 unequal: No Solution
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,54 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Moving to Node #0,4,1
Current State: 54:[73, 8], Operations: ['89-72=17', '17-9=8']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,54 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Moving to Node #0,4,3
Current State: 54:[17, 82], Operations: ['89-72=17', '9+73=82']
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 17+82=99, Resulting Numbers: [99]
99,54 unequal: No Solution
Exploring Operation: 17*82=1394, Resulting Numbers: [1394]
1394,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[89, 9, 1], Operations: ['73-72=1']
Exploring Operation: 89*1=89, Resulting Numbers: [9, 89]
Generated Node #0,0,0: 54:[9, 89] Operation: 89*1=89
Exploring Operation: 9*1=9, Resulting Numbers: [89, 9]
Generated Node #0,0,1: 54:[89, 9] Operation: 9*1=9
Exploring Operation: 89-1=88, Resulting Numbers: [9, 88]
Generated Node #0,0,2: 54:[9, 88] Operation: 89-1=88
Exploring Operation: 89-9=80, Resulting Numbers: [1, 80]
Generated Node #0,0,3: 54:[1, 80] Operation: 89-9=80
Exploring Operation: 89/1=89, Resulting Numbers: [9, 89]
Generated Node #0,0,4: 54:[9, 89] Operation: 89/1=89
Moving to Node #0,0,3
Current State: 54:[1, 80], Operations: ['73-72=1', '89-9=80']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[9, 88], Operations: ['73-72=1', '89-1=88']
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,54 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[9, 89], Operations: ['73-72=1', '89*1=89']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 9*89=801, Resulting Numbers: [801]
801,54 unequal: No Solution
Exploring Operation: 9+89=98, Resulting Numbers: [98]
98,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[89, 9], Operations: ['73-72=1', '9*1=9']
Exploring Operation: 89*9=801, Resulting Numbers: [801]
801,54 unequal: No Solution
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 89+9=98, Resulting Numbers: [98]
98,54 unequal: No Solution
Moving to Node #0,0,4
Current State: 54:[9, 89], Operations: ['73-72=1', '89/1=89']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 9+89=98, Resulting Numbers: [98]
98,54 unequal: No Solution
Exploring Operation: 9*89=801, Resulting Numbers: [801]
801,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[89, 73, 8], Operations: ['72/9=8']
Exploring Operation: 89-73=16, Resulting Numbers: [8, 16]
Generated Node #0,3,0: 54:[8, 16] Operation: 89-73=16
Exploring Operation: 73-8=65, Resulting Numbers: [89, 65]
Generated Node #0,3,1: 54:[89, 65] Operation: 73-8=65
Exploring Operation: 89-8=81, Resulting Numbers: [73, 81]
Generated Node #0,3,2: 54:[73, 81] Operation: 89-8=81
Exploring Operation: 73+8=81, Resulting Numbers: [89, 81]
Generated Node #0,3,3: 54:[89, 81] Operation: 73+8=81
Exploring Operation: 89+8=97, Resulting Numbers: [73, 97]
Generated Node #0,3,4: 54:[73, 97] Operation: 89+8=97
Moving to Node #0,3,0
Current State: 54:[8, 16], Operations: ['72/9=8', '89-73=16']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[73, 81], Operations: ['72/9=8', '89-8=81']
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 73+81=154, Resulting Numbers: [154]
154,54 unequal: No Solution
Exploring Operation: 73*81=5913, Resulting Numbers: [5913]
5913,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[89, 65], Operations: ['72/9=8', '73-8=65']
Exploring Operation: 89+65=154, Resulting Numbers: [154]
154,54 unequal: No Solution
Exploring Operation: 89*65=5785, Resulting Numbers: [5785]
5785,54 unequal: No Solution
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[89, 81], Operations: ['72/9=8', '73+8=81']
Exploring Operation: 89+81=170, Resulting Numbers: [170]
170,54 unequal: No Solution
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 89*81=7209, Resulting Numbers: [7209]
7209,54 unequal: No Solution
Moving to Node #0,3,4
Current State: 54:[73, 97], Operations: ['72/9=8', '89+8=97']
Exploring Operation: 97-73=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 73*97=7081, Resulting Numbers: [7081]
7081,54 unequal: No Solution
Exploring Operation: 73+97=170, Resulting Numbers: [170]
170,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[72, 73, 80], Operations: ['89-9=80']
Exploring Operation: 80-72=8, Resulting Numbers: [73, 8]
Generated Node #0,2,0: 54:[73, 8] Operation: 80-72=8
Exploring Operation: 72+73=145, Resulting Numbers: [80, 145]
Generated Node #0,2,1: 54:[80, 145] Operation: 72+73=145
Exploring Operation: 73-72=1, Resulting Numbers: [80, 1]
Generated Node #0,2,2: 54:[80, 1] Operation: 73-72=1
Exploring Operation: 80-73=7, Resulting Numbers: [72, 7]
Generated Node #0,2,3: 54:[72, 7] Operation: 80-73=7
Exploring Operation: 72+80=152, Resulting Numbers: [73, 152]
Generated Node #0,2,4: 54:[73, 152] Operation: 72+80=152
Moving to Node #0,2,3
Current State: 54:[72, 7], Operations: ['89-9=80', '80-73=7']
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Exploring Operation: 72*7=504, Resulting Numbers: [504]
504,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[73, 8], Operations: ['89-9=80', '80-72=8']
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,54 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[80, 1], Operations: ['89-9=80', '73-72=1']
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[80, 145], Operations: ['89-9=80', '72+73=145']
Exploring Operation: 145-80=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 80+145=225, Resulting Numbers: [225]
225,54 unequal: No Solution
Exploring Operation: 80*145=11600, Resulting Numbers: [11600]
11600,54 unequal: No Solution
Moving to Node #0,2,4
Current State: 54:[73, 152], Operations: ['89-9=80', '72+80=152']
Exploring Operation: 73+152=225, Resulting Numbers: [225]
225,54 unequal: No Solution
Exploring Operation: 73*152=11096, Resulting Numbers: [11096]
11096,54 unequal: No Solution
Exploring Operation: 152-73=79, Resulting Numbers: [79]
79,54 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 |
[
56,
8,
54,
18
] | 80 | [
"8*54=432",
"432/18=24",
"56+24=80"
] | Current State: 80:[56, 8, 54, 18], Operations: []
Exploring Operation: 8*54=432, Resulting Numbers: [56, 18, 432]
Generated Node #2: [56, 18, 432] from Operation: 8*54=432
Current State: 80:[56, 18, 432], Operations: ['8*54=432']
Exploring Operation: 432/18=24, Resulting Numbers: [56, 24]
Generated Node #3: [56, 24] from Operation: 432/18=24
Current State: 80:[56, 24], Operations: ['8*54=432', '432/18=24']
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[56, 8, 54, 18], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [56, 8, 3]
Generated Node #0,0: 80:[56, 8, 3] Operation: 54/18=3
Exploring Operation: 56-54=2, Resulting Numbers: [8, 18, 2]
Generated Node #0,1: 80:[8, 18, 2] Operation: 56-54=2
Exploring Operation: 56/8=7, Resulting Numbers: [54, 18, 7]
Generated Node #0,2: 80:[54, 18, 7] Operation: 56/8=7
Exploring Operation: 56+18=74, Resulting Numbers: [8, 54, 74]
Generated Node #0,3: 80:[8, 54, 74] Operation: 56+18=74
Exploring Operation: 56-18=38, Resulting Numbers: [8, 54, 38]
Generated Node #0,4: 80:[8, 54, 38] Operation: 56-18=38
Moving to Node #0,1
Current State: 80:[8, 18, 2], Operations: ['56-54=2']
Exploring Operation: 18/2=9, Resulting Numbers: [8, 9]
Generated Node #0,1,0: 80:[8, 9] Operation: 18/2=9
Exploring Operation: 8+2=10, Resulting Numbers: [18, 10]
Generated Node #0,1,1: 80:[18, 10] Operation: 8+2=10
Exploring Operation: 18-8=10, Resulting Numbers: [2, 10]
Generated Node #0,1,2: 80:[2, 10] Operation: 18-8=10
Exploring Operation: 18+2=20, Resulting Numbers: [8, 20]
Generated Node #0,1,3: 80:[8, 20] Operation: 18+2=20
Exploring Operation: 18-2=16, Resulting Numbers: [8, 16]
Generated Node #0,1,4: 80:[8, 16] Operation: 18-2=16
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[2, 10], Operations: ['56-54=2', '18-8=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 80:[8, 20], Operations: ['56-54=2', '18+2=20']
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,80 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 80:[8, 16], Operations: ['56-54=2', '18-2=16']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,80 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[8, 9], Operations: ['56-54=2', '18/2=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,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,1
Current State: 80:[18, 10], Operations: ['56-54=2', '8+2=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,80 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 80:[8, 54, 38], Operations: ['56-18=38']
Exploring Operation: 8+54=62, Resulting Numbers: [38, 62]
Generated Node #0,4,0: 80:[38, 62] Operation: 8+54=62
Exploring Operation: 54-38=16, Resulting Numbers: [8, 16]
Generated Node #0,4,1: 80:[8, 16] Operation: 54-38=16
Exploring Operation: 54+38=92, Resulting Numbers: [8, 92]
Generated Node #0,4,2: 80:[8, 92] Operation: 54+38=92
Exploring Operation: 8+38=46, Resulting Numbers: [54, 46]
Generated Node #0,4,3: 80:[54, 46] Operation: 8+38=46
Exploring Operation: 54-8=46, Resulting Numbers: [38, 46]
Generated Node #0,4,4: 80:[38, 46] Operation: 54-8=46
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 80:[8, 16], Operations: ['56-18=38', '54-38=16']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,80 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 80:[38, 46], Operations: ['56-18=38', '54-8=46']
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,80 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 80:[8, 92], Operations: ['56-18=38', '54+38=92']
Exploring Operation: 8+92=100, Resulting Numbers: [100]
100,80 unequal: No Solution
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 8*92=736, Resulting Numbers: [736]
736,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 80:[38, 62], Operations: ['56-18=38', '8+54=62']
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,80 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 38*62=2356, Resulting Numbers: [2356]
2356,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 80:[54, 46], Operations: ['56-18=38', '8+38=46']
Exploring Operation: 54*46=2484, Resulting Numbers: [2484]
2484,80 unequal: No Solution
Exploring Operation: 54+46=100, Resulting Numbers: [100]
100,80 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,80 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: 80:[56, 8, 3], Operations: ['54/18=3']
Exploring Operation: 56/8=7, Resulting Numbers: [3, 7]
Generated Node #0,0,0: 80:[3, 7] Operation: 56/8=7
Exploring Operation: 8-3=5, Resulting Numbers: [56, 5]
Generated Node #0,0,1: 80:[56, 5] Operation: 8-3=5
Exploring Operation: 56-8=48, Resulting Numbers: [3, 48]
Generated Node #0,0,2: 80:[3, 48] Operation: 56-8=48
Exploring Operation: 56-3=53, Resulting Numbers: [8, 53]
Generated Node #0,0,3: 80:[8, 53] Operation: 56-3=53
Exploring Operation: 56+8=64, Resulting Numbers: [3, 64]
Generated Node #0,0,4: 80:[3, 64] Operation: 56+8=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[3, 7], Operations: ['54/18=3', '56/8=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,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,0,2
Current State: 80:[3, 48], Operations: ['54/18=3', '56-8=48']
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,80 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,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,0,3
Current State: 80:[8, 53], Operations: ['54/18=3', '56-3=53']
Exploring Operation: 8*53=424, Resulting Numbers: [424]
424,80 unequal: No Solution
Exploring Operation: 8+53=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,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,0,1
Current State: 80:[56, 5], Operations: ['54/18=3', '8-3=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,80 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,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,0,4
Current State: 80:[3, 64], Operations: ['54/18=3', '56+8=64']
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 80:[54, 18, 7], Operations: ['56/8=7']
Exploring Operation: 54+18=72, Resulting Numbers: [7, 72]
Generated Node #0,2,0: 80:[7, 72] Operation: 54+18=72
Exploring Operation: 18-7=11, Resulting Numbers: [54, 11]
Generated Node #0,2,1: 80:[54, 11] Operation: 18-7=11
Exploring Operation: 54/18=3, Resulting Numbers: [7, 3]
Generated Node #0,2,2: 80:[7, 3] Operation: 54/18=3
Exploring Operation: 54-7=47, Resulting Numbers: [18, 47]
Generated Node #0,2,3: 80:[18, 47] Operation: 54-7=47
Exploring Operation: 54-18=36, Resulting Numbers: [7, 36]
Generated Node #0,2,4: 80:[7, 36] Operation: 54-18=36
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[7, 3], Operations: ['56/8=7', '54/18=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,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,2,4
Current State: 80:[7, 36], Operations: ['56/8=7', '54-18=36']
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,80 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[7, 72], Operations: ['56/8=7', '54+18=72']
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,80 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,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,2,3
Current State: 80:[18, 47], Operations: ['56/8=7', '54-7=47']
Exploring Operation: 18+47=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,80 unequal: No Solution
Exploring Operation: 18*47=846, Resulting Numbers: [846]
846,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,2,1
Current State: 80:[54, 11], Operations: ['56/8=7', '18-7=11']
Exploring Operation: 54*11=594, Resulting Numbers: [594]
594,80 unequal: No Solution
Exploring Operation: 54+11=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,80 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: 80:[8, 54, 74], Operations: ['56+18=74']
Exploring Operation: 74-54=20, Resulting Numbers: [8, 20]
Generated Node #0,3,0: 80:[8, 20] Operation: 74-54=20
Exploring Operation: 8+74=82, Resulting Numbers: [54, 82]
Generated Node #0,3,1: 80:[54, 82] Operation: 8+74=82
Exploring Operation: 8+54=62, Resulting Numbers: [74, 62]
Generated Node #0,3,2: 80:[74, 62] Operation: 8+54=62
Exploring Operation: 54-8=46, Resulting Numbers: [74, 46]
Generated Node #0,3,3: 80:[74, 46] Operation: 54-8=46
Exploring Operation: 74-8=66, Resulting Numbers: [54, 66]
Generated Node #0,3,4: 80:[54, 66] Operation: 74-8=66
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[8, 20], Operations: ['56+18=74', '74-54=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,80 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 80:[74, 46], Operations: ['56+18=74', '54-8=46']
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,80 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 80:[54, 82], Operations: ['56+18=74', '8+74=82']
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 54*82=4428, Resulting Numbers: [4428]
4428,80 unequal: No Solution
Exploring Operation: 54+82=136, Resulting Numbers: [136]
136,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 80:[74, 62], Operations: ['56+18=74', '8+54=62']
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Exploring Operation: 74+62=136, Resulting Numbers: [136]
136,80 unequal: No Solution
Exploring Operation: 74*62=4588, Resulting Numbers: [4588]
4588,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 80:[54, 66], Operations: ['56+18=74', '74-8=66']
Exploring Operation: 54*66=3564, Resulting Numbers: [3564]
3564,80 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Exploring Operation: 54+66=120, Resulting Numbers: [120]
120,80 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 |
[
25,
30,
55,
40
] | 53 | [
"40-25=15",
"30/15=2",
"55-2=53"
] | Current State: 53:[25, 30, 55, 40], Operations: []
Exploring Operation: 40-25=15, Resulting Numbers: [30, 55, 15]
Generated Node #2: [30, 55, 15] from Operation: 40-25=15
Current State: 53:[30, 55, 15], Operations: ['40-25=15']
Exploring Operation: 30/15=2, Resulting Numbers: [55, 2]
Generated Node #3: [55, 2] from Operation: 30/15=2
Current State: 53:[55, 2], Operations: ['40-25=15', '30/15=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[25, 30, 55, 40], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [55, 40, 5]
Generated Node #0,0: 53:[55, 40, 5] Operation: 30-25=5
Exploring Operation: 25+40=65, Resulting Numbers: [30, 55, 65]
Generated Node #0,1: 53:[30, 55, 65] Operation: 25+40=65
Exploring Operation: 25+30=55, Resulting Numbers: [55, 40, 55]
Generated Node #0,2: 53:[55, 40, 55] Operation: 25+30=55
Exploring Operation: 30+40=70, Resulting Numbers: [25, 55, 70]
Generated Node #0,3: 53:[25, 55, 70] Operation: 30+40=70
Exploring Operation: 55-25=30, Resulting Numbers: [30, 40, 30]
Generated Node #0,4: 53:[30, 40, 30] Operation: 55-25=30
Moving to Node #0,2
Current State: 53:[55, 40, 55], Operations: ['25+30=55']
Exploring Operation: 55+40=95, Resulting Numbers: [55, 95]
Generated Node #0,2,0: 53:[55, 95] Operation: 55+40=95
Exploring Operation: 55-40=15, Resulting Numbers: [55, 15]
Generated Node #0,2,1: 53:[55, 15] Operation: 55-40=15
Exploring Operation: 40+55=95, Resulting Numbers: [55, 95]
Generated Node #0,2,2: 53:[55, 95] Operation: 40+55=95
Exploring Operation: 55-40=15, Resulting Numbers: [55, 15]
Generated Node #0,2,3: 53:[55, 15] Operation: 55-40=15
Exploring Operation: 55/55=1, Resulting Numbers: [40, 1]
Generated Node #0,2,4: 53:[40, 1] Operation: 55/55=1
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[55, 15], Operations: ['25+30=55', '55-40=15']
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,53 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[55, 15], Operations: ['25+30=55', '55-40=15']
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[55, 95], Operations: ['25+30=55', '55+40=95']
Exploring Operation: 55+95=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 55*95=5225, Resulting Numbers: [5225]
5225,53 unequal: No Solution
Exploring Operation: 95-55=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[55, 95], Operations: ['25+30=55', '40+55=95']
Exploring Operation: 55+95=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 55*95=5225, Resulting Numbers: [5225]
5225,53 unequal: No Solution
Exploring Operation: 95-55=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 53:[40, 1], Operations: ['25+30=55', '55/55=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,53 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: 53:[30, 55, 65], Operations: ['25+40=65']
Exploring Operation: 55-30=25, Resulting Numbers: [65, 25]
Generated Node #0,1,0: 53:[65, 25] Operation: 55-30=25
Exploring Operation: 30+65=95, Resulting Numbers: [55, 95]
Generated Node #0,1,1: 53:[55, 95] Operation: 30+65=95
Exploring Operation: 65-30=35, Resulting Numbers: [55, 35]
Generated Node #0,1,2: 53:[55, 35] Operation: 65-30=35
Exploring Operation: 65-55=10, Resulting Numbers: [30, 10]
Generated Node #0,1,3: 53:[30, 10] Operation: 65-55=10
Exploring Operation: 30+55=85, Resulting Numbers: [65, 85]
Generated Node #0,1,4: 53:[65, 85] Operation: 30+55=85
Moving to Node #0,3
Current State: 53:[25, 55, 70], Operations: ['30+40=70']
Exploring Operation: 55-25=30, Resulting Numbers: [70, 30]
Generated Node #0,3,0: 53:[70, 30] Operation: 55-25=30
Exploring Operation: 25+55=80, Resulting Numbers: [70, 80]
Generated Node #0,3,1: 53:[70, 80] Operation: 25+55=80
Exploring Operation: 70-25=45, Resulting Numbers: [55, 45]
Generated Node #0,3,2: 53:[55, 45] Operation: 70-25=45
Exploring Operation: 70-55=15, Resulting Numbers: [25, 15]
Generated Node #0,3,3: 53:[25, 15] Operation: 70-55=15
Exploring Operation: 25+70=95, Resulting Numbers: [55, 95]
Generated Node #0,3,4: 53:[55, 95] Operation: 25+70=95
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[55, 45], Operations: ['30+40=70', '70-25=45']
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,53 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[70, 30], Operations: ['30+40=70', '55-25=30']
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 70+30=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 70*30=2100, Resulting Numbers: [2100]
2100,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[70, 80], Operations: ['30+40=70', '25+55=80']
Exploring Operation: 70*80=5600, Resulting Numbers: [5600]
5600,53 unequal: No Solution
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 70+80=150, Resulting Numbers: [150]
150,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 53:[55, 95], Operations: ['30+40=70', '25+70=95']
Exploring Operation: 95-55=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 55+95=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 55*95=5225, Resulting Numbers: [5225]
5225,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[25, 15], Operations: ['30+40=70', '70-55=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,53 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,53 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: 53:[30, 40, 30], Operations: ['55-25=30']
Exploring Operation: 30+40=70, Resulting Numbers: [30, 70]
Generated Node #0,4,0: 53:[30, 70] Operation: 30+40=70
Exploring Operation: 40-30=10, Resulting Numbers: [30, 10]
Generated Node #0,4,1: 53:[30, 10] Operation: 40-30=10
Exploring Operation: 30/30=1, Resulting Numbers: [40, 1]
Generated Node #0,4,2: 53:[40, 1] Operation: 30/30=1
Exploring Operation: 40+30=70, Resulting Numbers: [30, 70]
Generated Node #0,4,3: 53:[30, 70] Operation: 40+30=70
Exploring Operation: 30+30=60, Resulting Numbers: [40, 60]
Generated Node #0,4,4: 53:[40, 60] Operation: 30+30=60
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 53:[40, 60], Operations: ['55-25=30', '30+30=60']
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,53 unequal: No Solution
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 53:[30, 70], Operations: ['55-25=30', '30+40=70']
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 30*70=2100, Resulting Numbers: [2100]
2100,53 unequal: No Solution
Exploring Operation: 30+70=100, Resulting Numbers: [100]
100,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 53:[30, 70], Operations: ['55-25=30', '40+30=70']
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 30+70=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 30*70=2100, Resulting Numbers: [2100]
2100,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 53:[40, 1], Operations: ['55-25=30', '30/30=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 53:[30, 10], Operations: ['55-25=30', '40-30=10']
Exploring Operation: 30*10=300, Resulting Numbers: [300]
300,53 unequal: No Solution
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,53 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: 53:[55, 40, 5], Operations: ['30-25=5']
Exploring Operation: 40+5=45, Resulting Numbers: [55, 45]
Generated Node #0,0,0: 53:[55, 45] Operation: 40+5=45
Exploring Operation: 40/5=8, Resulting Numbers: [55, 8]
Generated Node #0,0,1: 53:[55, 8] Operation: 40/5=8
Exploring Operation: 55-5=50, Resulting Numbers: [40, 50]
Generated Node #0,0,2: 53:[40, 50] Operation: 55-5=50
Exploring Operation: 40-5=35, Resulting Numbers: [55, 35]
Generated Node #0,0,3: 53:[55, 35] Operation: 40-5=35
Exploring Operation: 55+5=60, Resulting Numbers: [40, 60]
Generated Node #0,0,4: 53:[40, 60] Operation: 55+5=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[55, 45], Operations: ['30-25=5', '40+5=45']
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[40, 50], Operations: ['30-25=5', '55-5=50']
Exploring Operation: 40+50=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 40*50=2000, Resulting Numbers: [2000]
2000,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[55, 35], Operations: ['30-25=5', '40-5=35']
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 55*35=1925, Resulting Numbers: [1925]
1925,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 53:[40, 60], Operations: ['30-25=5', '55+5=60']
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,53 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[55, 8], Operations: ['30-25=5', '40/5=8']
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,53 unequal: No Solution
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 53:[55, 35], Operations: ['25+40=65', '65-30=35']
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 55*35=1925, Resulting Numbers: [1925]
1925,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[65, 25], Operations: ['25+40=65', '55-30=25']
Exploring Operation: 65*25=1625, Resulting Numbers: [1625]
1625,53 unequal: No Solution
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[55, 95], Operations: ['25+40=65', '30+65=95']
Exploring Operation: 55+95=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 55*95=5225, Resulting Numbers: [5225]
5225,53 unequal: No Solution
Exploring Operation: 95-55=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[65, 85], Operations: ['25+40=65', '30+55=85']
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 65+85=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 65*85=5525, Resulting Numbers: [5525]
5525,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[30, 10], Operations: ['25+40=65', '65-55=10']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 30*10=300, Resulting Numbers: [300]
300,53 unequal: No Solution
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
53,
31,
21,
79
] | 82 | [
"53*31=1643",
"79+1643=1722",
"1722/21=82"
] | Current State: 82:[53, 31, 21, 79], Operations: []
Exploring Operation: 53*31=1643, Resulting Numbers: [21, 79, 1643]
Generated Node #2: [21, 79, 1643] from Operation: 53*31=1643
Current State: 82:[21, 79, 1643], Operations: ['53*31=1643']
Exploring Operation: 79+1643=1722, Resulting Numbers: [21, 1722]
Generated Node #3: [21, 1722] from Operation: 79+1643=1722
Current State: 82:[21, 1722], Operations: ['53*31=1643', '79+1643=1722']
Exploring Operation: 1722/21=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[53, 31, 21, 79], Operations: []
Exploring Operation: 53-21=32, Resulting Numbers: [31, 79, 32]
Generated Node #0,0: 82:[31, 79, 32] Operation: 53-21=32
Exploring Operation: 53+21=74, Resulting Numbers: [31, 79, 74]
Generated Node #0,1: 82:[31, 79, 74] Operation: 53+21=74
Moving to Node #0,1
Current State: 82:[31, 79, 74], Operations: ['53+21=74']
Exploring Operation: 79-74=5, Resulting Numbers: [31, 5]
Generated Node #0,1,0: 82:[31, 5] Operation: 79-74=5
Exploring Operation: 74-31=43, Resulting Numbers: [79, 43]
Generated Node #0,1,1: 82:[79, 43] Operation: 74-31=43
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[79, 43], Operations: ['53+21=74', '74-31=43']
Exploring Operation: 79+43=122, Resulting Numbers: [122]
122,82 unequal: No Solution
Exploring Operation: 79-43=36, Resulting Numbers: [36]
36,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[31, 5], Operations: ['53+21=74', '79-74=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,82 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,82 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: 82:[31, 79, 32], Operations: ['53-21=32']
Exploring Operation: 79-31=48, Resulting Numbers: [32, 48]
Generated Node #0,0,0: 82:[32, 48] Operation: 79-31=48
Exploring Operation: 32-31=1, Resulting Numbers: [79, 1]
Generated Node #0,0,1: 82:[79, 1] Operation: 32-31=1
Moving to Node #0,0,1
Current State: 82:[79, 1], Operations: ['53-21=32', '32-31=1']
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,82 unequal: No Solution
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[32, 48], Operations: ['53-21=32', '79-31=48']
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,82 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,82 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
60,
77,
24
] | 12 | [
"77-60=17",
"34/17=2",
"24/2=12"
] | Current State: 12:[34, 60, 77, 24], Operations: []
Exploring Operation: 77-60=17, Resulting Numbers: [34, 24, 17]
Generated Node #2: [34, 24, 17] from Operation: 77-60=17
Current State: 12:[34, 24, 17], Operations: ['77-60=17']
Exploring Operation: 34/17=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 34/17=2
Current State: 12:[24, 2], Operations: ['77-60=17', '34/17=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[34, 60, 77, 24], Operations: []
Exploring Operation: 77-60=17, Resulting Numbers: [34, 24, 17]
Generated Node #0,0: 12:[34, 24, 17] Operation: 77-60=17
Moving to Node #0,0
Current State: 12:[34, 24, 17], Operations: ['77-60=17']
Exploring Operation: 34-24=10, Resulting Numbers: [17, 10]
Generated Node #0,0,0: 12:[17, 10] Operation: 34-24=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[17, 10], Operations: ['77-60=17', '34-24=10']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,12 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 |
[
72,
54,
65,
59
] | 63 | [
"65-59=6",
"54/6=9",
"72-9=63"
] | Current State: 63:[72, 54, 65, 59], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [72, 54, 6]
Generated Node #2: [72, 54, 6] from Operation: 65-59=6
Current State: 63:[72, 54, 6], Operations: ['65-59=6']
Exploring Operation: 54/6=9, Resulting Numbers: [72, 9]
Generated Node #3: [72, 9] from Operation: 54/6=9
Current State: 63:[72, 9], Operations: ['65-59=6', '54/6=9']
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[72, 54, 65, 59], Operations: []
Exploring Operation: 72-59=13, Resulting Numbers: [54, 65, 13]
Generated Node #0,0: 63:[54, 65, 13] Operation: 72-59=13
Exploring Operation: 72-65=7, Resulting Numbers: [54, 59, 7]
Generated Node #0,1: 63:[54, 59, 7] Operation: 72-65=7
Exploring Operation: 72-54=18, Resulting Numbers: [65, 59, 18]
Generated Node #0,2: 63:[65, 59, 18] Operation: 72-54=18
Exploring Operation: 65-54=11, Resulting Numbers: [72, 59, 11]
Generated Node #0,3: 63:[72, 59, 11] Operation: 65-54=11
Exploring Operation: 59-54=5, Resulting Numbers: [72, 65, 5]
Generated Node #0,4: 63:[72, 65, 5] Operation: 59-54=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[65, 59, 18], Operations: ['72-54=18']
Exploring Operation: 65+18=83, Resulting Numbers: [59, 83]
Generated Node #0,2,0: 63:[59, 83] Operation: 65+18=83
Exploring Operation: 59-18=41, Resulting Numbers: [65, 41]
Generated Node #0,2,1: 63:[65, 41] Operation: 59-18=41
Exploring Operation: 59+18=77, Resulting Numbers: [65, 77]
Generated Node #0,2,2: 63:[65, 77] Operation: 59+18=77
Exploring Operation: 65-18=47, Resulting Numbers: [59, 47]
Generated Node #0,2,3: 63:[59, 47] Operation: 65-18=47
Exploring Operation: 65-59=6, Resulting Numbers: [18, 6]
Generated Node #0,2,4: 63:[18, 6] Operation: 65-59=6
Moving to Node #0,2,4
Current State: 63:[18, 6], Operations: ['72-54=18', '65-59=6']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[65, 77], Operations: ['72-54=18', '59+18=77']
Exploring Operation: 65+77=142, Resulting Numbers: [142]
142,63 unequal: No Solution
Exploring Operation: 65*77=5005, Resulting Numbers: [5005]
5005,63 unequal: No Solution
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[59, 47], Operations: ['72-54=18', '65-18=47']
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,63 unequal: No Solution
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[65, 41], Operations: ['72-54=18', '59-18=41']
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,63 unequal: No Solution
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[59, 83], Operations: ['72-54=18', '65+18=83']
Exploring Operation: 83-59=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 59*83=4897, Resulting Numbers: [4897]
4897,63 unequal: No Solution
Exploring Operation: 59+83=142, Resulting Numbers: [142]
142,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[54, 59, 7], Operations: ['72-65=7']
Exploring Operation: 59-54=5, Resulting Numbers: [7, 5]
Generated Node #0,1,0: 63:[7, 5] Operation: 59-54=5
Exploring Operation: 54-7=47, Resulting Numbers: [59, 47]
Generated Node #0,1,1: 63:[59, 47] Operation: 54-7=47
Exploring Operation: 59+7=66, Resulting Numbers: [54, 66]
Generated Node #0,1,2: 63:[54, 66] Operation: 59+7=66
Exploring Operation: 54+7=61, Resulting Numbers: [59, 61]
Generated Node #0,1,3: 63:[59, 61] Operation: 54+7=61
Exploring Operation: 59-7=52, Resulting Numbers: [54, 52]
Generated Node #0,1,4: 63:[54, 52] Operation: 59-7=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[7, 5], Operations: ['72-65=7', '59-54=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 63:[59, 61], Operations: ['72-65=7', '54+7=61']
Exploring Operation: 59*61=3599, Resulting Numbers: [3599]
3599,63 unequal: No Solution
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 59+61=120, Resulting Numbers: [120]
120,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 63:[54, 66], Operations: ['72-65=7', '59+7=66']
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 54+66=120, Resulting Numbers: [120]
120,63 unequal: No Solution
Exploring Operation: 54*66=3564, Resulting Numbers: [3564]
3564,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[59, 47], Operations: ['72-65=7', '54-7=47']
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,63 unequal: No Solution
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 63:[54, 52], Operations: ['72-65=7', '59-7=52']
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,63 unequal: No Solution
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,63 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 63:[72, 65, 5], Operations: ['59-54=5']
Exploring Operation: 72-5=67, Resulting Numbers: [65, 67]
Generated Node #0,4,0: 63:[65, 67] Operation: 72-5=67
Exploring Operation: 72+5=77, Resulting Numbers: [65, 77]
Generated Node #0,4,1: 63:[65, 77] Operation: 72+5=77
Exploring Operation: 72-65=7, Resulting Numbers: [5, 7]
Generated Node #0,4,2: 63:[5, 7] Operation: 72-65=7
Exploring Operation: 65/5=13, Resulting Numbers: [72, 13]
Generated Node #0,4,3: 63:[72, 13] Operation: 65/5=13
Exploring Operation: 65-5=60, Resulting Numbers: [72, 60]
Generated Node #0,4,4: 63:[72, 60] Operation: 65-5=60
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 63:[5, 7], Operations: ['59-54=5', '72-65=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,63 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 63:[65, 67], Operations: ['59-54=5', '72-5=67']
Exploring Operation: 65*67=4355, Resulting Numbers: [4355]
4355,63 unequal: No Solution
Exploring Operation: 67-65=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 65+67=132, Resulting Numbers: [132]
132,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 63:[72, 60], Operations: ['59-54=5', '65-5=60']
Exploring Operation: 72*60=4320, Resulting Numbers: [4320]
4320,63 unequal: No Solution
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 72+60=132, Resulting Numbers: [132]
132,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 63:[72, 13], Operations: ['59-54=5', '65/5=13']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,63 unequal: No Solution
Exploring Operation: 72*13=936, Resulting Numbers: [936]
936,63 unequal: No Solution
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 63:[65, 77], Operations: ['59-54=5', '72+5=77']
Exploring Operation: 65*77=5005, Resulting Numbers: [5005]
5005,63 unequal: No Solution
Exploring Operation: 65+77=142, Resulting Numbers: [142]
142,63 unequal: No Solution
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[54, 65, 13], Operations: ['72-59=13']
Exploring Operation: 65-13=52, Resulting Numbers: [54, 52]
Generated Node #0,0,0: 63:[54, 52] Operation: 65-13=52
Exploring Operation: 54+13=67, Resulting Numbers: [65, 67]
Generated Node #0,0,1: 63:[65, 67] Operation: 54+13=67
Exploring Operation: 54-13=41, Resulting Numbers: [65, 41]
Generated Node #0,0,2: 63:[65, 41] Operation: 54-13=41
Exploring Operation: 65/13=5, Resulting Numbers: [54, 5]
Generated Node #0,0,3: 63:[54, 5] Operation: 65/13=5
Exploring Operation: 65-54=11, Resulting Numbers: [13, 11]
Generated Node #0,0,4: 63:[13, 11] Operation: 65-54=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[65, 67], Operations: ['72-59=13', '54+13=67']
Exploring Operation: 67-65=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 65+67=132, Resulting Numbers: [132]
132,63 unequal: No Solution
Exploring Operation: 65*67=4355, Resulting Numbers: [4355]
4355,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 63:[13, 11], Operations: ['72-59=13', '65-54=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 63:[54, 5], Operations: ['72-59=13', '65/13=5']
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,63 unequal: No Solution
Exploring Operation: 54*5=270, Resulting Numbers: [270]
270,63 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[54, 52], Operations: ['72-59=13', '65-13=52']
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,63 unequal: No Solution
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,63 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[65, 41], Operations: ['72-59=13', '54-13=41']
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,63 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[72, 59, 11], Operations: ['65-54=11']
Exploring Operation: 72-11=61, Resulting Numbers: [59, 61]
Generated Node #0,3,0: 63:[59, 61] Operation: 72-11=61
Exploring Operation: 59-11=48, Resulting Numbers: [72, 48]
Generated Node #0,3,1: 63:[72, 48] Operation: 59-11=48
Exploring Operation: 72-59=13, Resulting Numbers: [11, 13]
Generated Node #0,3,2: 63:[11, 13] Operation: 72-59=13
Exploring Operation: 72+11=83, Resulting Numbers: [59, 83]
Generated Node #0,3,3: 63:[59, 83] Operation: 72+11=83
Exploring Operation: 59+11=70, Resulting Numbers: [72, 70]
Generated Node #0,3,4: 63:[72, 70] Operation: 59+11=70
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 63:[59, 61], Operations: ['65-54=11', '72-11=61']
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 59*61=3599, Resulting Numbers: [3599]
3599,63 unequal: No Solution
Exploring Operation: 59+61=120, Resulting Numbers: [120]
120,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 63:[11, 13], Operations: ['65-54=11', '72-59=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,63 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 63:[72, 70], Operations: ['65-54=11', '59+11=70']
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,63 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[72, 48], Operations: ['65-54=11', '59-11=48']
Exploring Operation: 72+48=120, Resulting Numbers: [120]
120,63 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 72*48=3456, Resulting Numbers: [3456]
3456,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 63:[59, 83], Operations: ['65-54=11', '72+11=83']
Exploring Operation: 59+83=142, Resulting Numbers: [142]
142,63 unequal: No Solution
Exploring Operation: 83-59=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 59*83=4897, Resulting Numbers: [4897]
4897,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
27,
85,
4,
95
] | 98 | [
"27*4=108",
"95-85=10",
"108-10=98"
] | Current State: 98:[27, 85, 4, 95], Operations: []
Exploring Operation: 27*4=108, Resulting Numbers: [85, 95, 108]
Generated Node #2: [85, 95, 108] from Operation: 27*4=108
Current State: 98:[85, 95, 108], Operations: ['27*4=108']
Exploring Operation: 95-85=10, Resulting Numbers: [108, 10]
Generated Node #3: [108, 10] from Operation: 95-85=10
Current State: 98:[108, 10], Operations: ['27*4=108', '95-85=10']
Exploring Operation: 108-10=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[27, 85, 4, 95], Operations: []
Exploring Operation: 85-27=58, Resulting Numbers: [4, 95, 58]
Generated Node #0,0: 98:[4, 95, 58] Operation: 85-27=58
Exploring Operation: 27+85=112, Resulting Numbers: [4, 95, 112]
Generated Node #0,1: 98:[4, 95, 112] Operation: 27+85=112
Exploring Operation: 95-85=10, Resulting Numbers: [27, 4, 10]
Generated Node #0,2: 98:[27, 4, 10] Operation: 95-85=10
Exploring Operation: 27-4=23, Resulting Numbers: [85, 95, 23]
Generated Node #0,3: 98:[85, 95, 23] Operation: 27-4=23
Exploring Operation: 85+4=89, Resulting Numbers: [27, 95, 89]
Generated Node #0,4: 98:[27, 95, 89] Operation: 85+4=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[4, 95, 58], Operations: ['85-27=58']
Exploring Operation: 4+58=62, Resulting Numbers: [95, 62]
Generated Node #0,0,0: 98:[95, 62] Operation: 4+58=62
Exploring Operation: 4+95=99, Resulting Numbers: [58, 99]
Generated Node #0,0,1: 98:[58, 99] Operation: 4+95=99
Exploring Operation: 95-4=91, Resulting Numbers: [58, 91]
Generated Node #0,0,2: 98:[58, 91] Operation: 95-4=91
Exploring Operation: 58-4=54, Resulting Numbers: [95, 54]
Generated Node #0,0,3: 98:[95, 54] Operation: 58-4=54
Exploring Operation: 95-58=37, Resulting Numbers: [4, 37]
Generated Node #0,0,4: 98:[4, 37] Operation: 95-58=37
Moving to Node #0,0,3
Current State: 98:[95, 54], Operations: ['85-27=58', '58-4=54']
Exploring Operation: 95+54=149, Resulting Numbers: [149]
149,98 unequal: No Solution
Exploring Operation: 95*54=5130, Resulting Numbers: [5130]
5130,98 unequal: No Solution
Exploring Operation: 95-54=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[58, 99], Operations: ['85-27=58', '4+95=99']
Exploring Operation: 58+99=157, Resulting Numbers: [157]
157,98 unequal: No Solution
Exploring Operation: 58*99=5742, Resulting Numbers: [5742]
5742,98 unequal: No Solution
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[4, 37], Operations: ['85-27=58', '95-58=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,98 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[95, 62], Operations: ['85-27=58', '4+58=62']
Exploring Operation: 95*62=5890, Resulting Numbers: [5890]
5890,98 unequal: No Solution
Exploring Operation: 95+62=157, Resulting Numbers: [157]
157,98 unequal: No Solution
Exploring Operation: 95-62=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[58, 91], Operations: ['85-27=58', '95-4=91']
Exploring Operation: 58*91=5278, Resulting Numbers: [5278]
5278,98 unequal: No Solution
Exploring Operation: 58+91=149, Resulting Numbers: [149]
149,98 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[27, 4, 10], Operations: ['95-85=10']
Exploring Operation: 27+10=37, Resulting Numbers: [4, 37]
Generated Node #0,2,0: 98:[4, 37] Operation: 27+10=37
Exploring Operation: 27-4=23, Resulting Numbers: [10, 23]
Generated Node #0,2,1: 98:[10, 23] Operation: 27-4=23
Exploring Operation: 27-10=17, Resulting Numbers: [4, 17]
Generated Node #0,2,2: 98:[4, 17] Operation: 27-10=17
Exploring Operation: 27*4=108, Resulting Numbers: [10, 108]
Generated Node #0,2,3: 98:[10, 108] Operation: 27*4=108
Exploring Operation: 4+10=14, Resulting Numbers: [27, 14]
Generated Node #0,2,4: 98:[27, 14] Operation: 4+10=14
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[4, 17], Operations: ['95-85=10', '27-10=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[10, 23], Operations: ['95-85=10', '27-4=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,98 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 98:[10, 108], Operations: ['95-85=10', '27*4=108']
Exploring Operation: 10*108=1080, Resulting Numbers: [1080]
1080,98 unequal: No Solution
Exploring Operation: 10+108=118, Resulting Numbers: [118]
118,98 unequal: No Solution
Exploring Operation: 108-10=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[27, 85, 4, 95], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [27, 4, 10]
Generated Node #0,2: 98:[27, 4, 10] Operation: 95-85=10
Moving to Node #0,2
Current State: 98:[27, 4, 10], Operations: ['95-85=10']
Exploring Operation: 27*4=108, Resulting Numbers: [10, 108]
Generated Node #0,2,3: 98:[10, 108] Operation: 27*4=108
Moving to Node #0,2,3
Current State: 98:[10, 108], Operations: ['95-85=10', '27*4=108']
Exploring Operation: 108-10=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.962674 | hs_5 | mult_heuristic |
[
74,
79,
14,
11
] | 71 | [
"74+14=88",
"88/11=8",
"79-8=71"
] | Current State: 71:[74, 79, 14, 11], Operations: []
Exploring Operation: 74+14=88, Resulting Numbers: [79, 11, 88]
Generated Node #2: [79, 11, 88] from Operation: 74+14=88
Current State: 71:[79, 11, 88], Operations: ['74+14=88']
Exploring Operation: 88/11=8, Resulting Numbers: [79, 8]
Generated Node #3: [79, 8] from Operation: 88/11=8
Current State: 71:[79, 8], Operations: ['74+14=88', '88/11=8']
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[74, 79, 14, 11], Operations: []
Exploring Operation: 14+11=25, Resulting Numbers: [74, 79, 25]
Generated Node #0,0: 71:[74, 79, 25] Operation: 14+11=25
Exploring Operation: 79-11=68, Resulting Numbers: [74, 14, 68]
Generated Node #0,1: 71:[74, 14, 68] Operation: 79-11=68
Moving to Node #0,0
Current State: 71:[74, 79, 25], Operations: ['14+11=25']
Exploring Operation: 74-25=49, Resulting Numbers: [79, 49]
Generated Node #0,0,0: 71:[79, 49] Operation: 74-25=49
Exploring Operation: 79-25=54, Resulting Numbers: [74, 54]
Generated Node #0,0,1: 71:[74, 54] Operation: 79-25=54
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[74, 54], Operations: ['14+11=25', '79-25=54']
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 74+54=128, Resulting Numbers: [128]
128,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,0,0
Current State: 71:[79, 49], Operations: ['14+11=25', '74-25=49']
Exploring Operation: 79+49=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 79-49=30, Resulting Numbers: [30]
30,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[74, 14, 68], Operations: ['79-11=68']
Exploring Operation: 74-14=60, Resulting Numbers: [68, 60]
Generated Node #0,1,0: 71:[68, 60] Operation: 74-14=60
Exploring Operation: 14+68=82, Resulting Numbers: [74, 82]
Generated Node #0,1,1: 71:[74, 82] Operation: 14+68=82
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[68, 60], Operations: ['79-11=68', '74-14=60']
Exploring Operation: 68+60=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[74, 82], Operations: ['79-11=68', '14+68=82']
Exploring Operation: 82-74=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 74+82=156, Resulting Numbers: [156]
156,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
18,
18,
39
] | 78 | [
"18-18=0",
"39*0=0",
"78+0=78"
] | Current State: 78:[78, 18, 18, 39], Operations: []
Exploring Operation: 18-18=0, Resulting Numbers: [78, 39, 0]
Generated Node #2: [78, 39, 0] from Operation: 18-18=0
Current State: 78:[78, 39, 0], Operations: ['18-18=0']
Exploring Operation: 39*0=0, Resulting Numbers: [78, 0]
Generated Node #3: [78, 0] from Operation: 39*0=0
Current State: 78:[78, 0], Operations: ['18-18=0', '39*0=0']
Exploring Operation: 78+0=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[78, 18, 18, 39], Operations: []
Exploring Operation: 78-39=39, Resulting Numbers: [18, 18, 39]
Generated Node #0,0: 78:[18, 18, 39] Operation: 78-39=39
Exploring Operation: 18-18=0, Resulting Numbers: [78, 39, 0]
Generated Node #0,1: 78:[78, 39, 0] Operation: 18-18=0
Exploring Operation: 18/18=1, Resulting Numbers: [78, 39, 1]
Generated Node #0,2: 78:[78, 39, 1] Operation: 18/18=1
Exploring Operation: 78/39=2, Resulting Numbers: [18, 18, 2]
Generated Node #0,3: 78:[18, 18, 2] Operation: 78/39=2
Exploring Operation: 18+18=36, Resulting Numbers: [78, 39, 36]
Generated Node #0,4: 78:[78, 39, 36] Operation: 18+18=36
Moving to Node #0,2
Current State: 78:[78, 39, 1], Operations: ['18/18=1']
Exploring Operation: 78*1=78, Resulting Numbers: [39, 78]
Generated Node #0,2,0: 78:[39, 78] Operation: 78*1=78
Exploring Operation: 78-39=39, Resulting Numbers: [1, 39]
Generated Node #0,2,1: 78:[1, 39] Operation: 78-39=39
Exploring Operation: 78/1=78, Resulting Numbers: [39, 78]
Generated Node #0,2,2: 78:[39, 78] Operation: 78/1=78
Exploring Operation: 39*1=39, Resulting Numbers: [78, 39]
Generated Node #0,2,3: 78:[78, 39] Operation: 39*1=39
Exploring Operation: 39/1=39, Resulting Numbers: [78, 39]
Generated Node #0,2,4: 78:[78, 39] Operation: 39/1=39
Moving to Node #0,1
Current State: 78:[78, 39, 0], Operations: ['18-18=0']
Exploring Operation: 39-0=39, Resulting Numbers: [78, 39]
Generated Node #0,1,0: 78:[78, 39] Operation: 39-0=39
Exploring Operation: 39+0=39, Resulting Numbers: [78, 39]
Generated Node #0,1,1: 78:[78, 39] Operation: 39+0=39
Exploring Operation: 78+0=78, Resulting Numbers: [39, 78]
Generated Node #0,1,2: 78:[39, 78] Operation: 78+0=78
Exploring Operation: 78-39=39, Resulting Numbers: [0, 39]
Generated Node #0,1,3: 78:[0, 39] Operation: 78-39=39
Exploring Operation: 78-0=78, Resulting Numbers: [39, 78]
Generated Node #0,1,4: 78:[39, 78] Operation: 78-0=78
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[78, 39], Operations: ['18-18=0', '39-0=39']
Exploring Operation: 78+39=117, Resulting Numbers: [117]
117,78 unequal: No Solution
Exploring Operation: 78/39=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 78*39=3042, Resulting Numbers: [3042]
3042,78 unequal: No Solution
Exploring Operation: 78-39=39, Resulting Numbers: [39]
39,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[78, 39], Operations: ['18-18=0', '39+0=39']
Exploring Operation: 78*39=3042, Resulting Numbers: [3042]
3042,78 unequal: No Solution
Exploring Operation: 78+39=117, Resulting Numbers: [117]
117,78 unequal: No Solution
Exploring Operation: 78-39=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 78/39=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 78:[39, 78], Operations: ['18-18=0', '78+0=78']
Exploring Operation: 39+78=117, Resulting Numbers: [117]
117,78 unequal: No Solution
Exploring Operation: 39*78=3042, Resulting Numbers: [3042]
3042,78 unequal: No Solution
Exploring Operation: 78/39=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 78-39=39, Resulting Numbers: [39]
39,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 78:[39, 78], Operations: ['18-18=0', '78-0=78']
Exploring Operation: 78/39=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 78-39=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 39*78=3042, Resulting Numbers: [3042]
3042,78 unequal: No Solution
Exploring Operation: 39+78=117, Resulting Numbers: [117]
117,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 78:[0, 39], Operations: ['18-18=0', '78-39=39']
Exploring Operation: 0+39=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 0*39=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,78 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: 78:[78, 39, 36], Operations: ['18+18=36']
Exploring Operation: 39-36=3, Resulting Numbers: [78, 3]
Generated Node #0,4,0: 78:[78, 3] Operation: 39-36=3
Exploring Operation: 39+36=75, Resulting Numbers: [78, 75]
Generated Node #0,4,1: 78:[78, 75] Operation: 39+36=75
Exploring Operation: 78/39=2, Resulting Numbers: [36, 2]
Generated Node #0,4,2: 78:[36, 2] Operation: 78/39=2
Exploring Operation: 78-39=39, Resulting Numbers: [36, 39]
Generated Node #0,4,3: 78:[36, 39] Operation: 78-39=39
Exploring Operation: 78-36=42, Resulting Numbers: [39, 42]
Generated Node #0,4,4: 78:[39, 42] Operation: 78-36=42
Moving to Node #0,0
Current State: 78:[18, 18, 39], Operations: ['78-39=39']
Exploring Operation: 18-18=0, Resulting Numbers: [39, 0]
Generated Node #0,0,0: 78:[39, 0] Operation: 18-18=0
Exploring Operation: 18+18=36, Resulting Numbers: [39, 36]
Generated Node #0,0,1: 78:[39, 36] Operation: 18+18=36
Exploring Operation: 18/18=1, Resulting Numbers: [39, 1]
Generated Node #0,0,2: 78:[39, 1] Operation: 18/18=1
Exploring Operation: 39-18=21, Resulting Numbers: [18, 21]
Generated Node #0,0,3: 78:[18, 21] Operation: 39-18=21
Exploring Operation: 39-18=21, Resulting Numbers: [18, 21]
Generated Node #0,0,4: 78:[18, 21] Operation: 39-18=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 78:[39, 1], Operations: ['78-39=39', '18/18=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[39, 0], Operations: ['78-39=39', '18-18=0']
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[39, 36], Operations: ['78-39=39', '18+18=36']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,78 unequal: No Solution
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 78:[18, 21], Operations: ['78-39=39', '39-18=21']
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 78:[18, 21], Operations: ['78-39=39', '39-18=21']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,78 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,78 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: 78:[18, 18, 2], Operations: ['78/39=2']
Exploring Operation: 18-2=16, Resulting Numbers: [18, 16]
Generated Node #0,3,0: 78:[18, 16] Operation: 18-2=16
Exploring Operation: 18+18=36, Resulting Numbers: [2, 36]
Generated Node #0,3,1: 78:[2, 36] Operation: 18+18=36
Exploring Operation: 18/18=1, Resulting Numbers: [2, 1]
Generated Node #0,3,2: 78:[2, 1] Operation: 18/18=1
Exploring Operation: 18-18=0, Resulting Numbers: [2, 0]
Generated Node #0,3,3: 78:[2, 0] Operation: 18-18=0
Exploring Operation: 18*2=36, Resulting Numbers: [18, 36]
Generated Node #0,3,4: 78:[18, 36] Operation: 18*2=36
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 78:[2, 1], Operations: ['78/39=2', '18/18=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 78:[2, 0], Operations: ['78/39=2', '18-18=0']
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 78:[2, 36], Operations: ['78/39=2', '18+18=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 78:[18, 16], Operations: ['78/39=2', '18-2=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 78:[18, 36], Operations: ['78/39=2', '18*2=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,78 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,78 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: 78:[39, 78], Operations: ['18/18=1', '78*1=78']
Exploring Operation: 78-39=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 78/39=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 39*78=3042, Resulting Numbers: [3042]
3042,78 unequal: No Solution
Exploring Operation: 39+78=117, Resulting Numbers: [117]
117,78 unequal: No Solution
Moving to Node #0,2,3
Current State: 78:[78, 39], Operations: ['18/18=1', '39*1=39']
Exploring Operation: 78+39=117, Resulting Numbers: [117]
117,78 unequal: No Solution
Exploring Operation: 78-39=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 78/39=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 78*39=3042, Resulting Numbers: [3042]
3042,78 unequal: No Solution
Moving to Node #0,4,0
Current State: 78:[78, 3], Operations: ['18+18=36', '39-36=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,78 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,78 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[39, 78], Operations: ['18/18=1', '78/1=78']
Exploring Operation: 39+78=117, Resulting Numbers: [117]
117,78 unequal: No Solution
Exploring Operation: 78/39=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 39*78=3042, Resulting Numbers: [3042]
3042,78 unequal: No Solution
Exploring Operation: 78-39=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Moving to Node #0,2,4
Current State: 78:[78, 39], Operations: ['18/18=1', '39/1=39']
Exploring Operation: 78+39=117, Resulting Numbers: [117]
117,78 unequal: No Solution
Exploring Operation: 78/39=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 78*39=3042, Resulting Numbers: [3042]
3042,78 unequal: No Solution
Exploring Operation: 78-39=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Moving to Node #0,2,1
Current State: 78:[1, 39], Operations: ['18/18=1', '78-39=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Moving to Node #0,4,1
Current State: 78:[78, 75], Operations: ['18+18=36', '39+36=75']
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 78+75=153, Resulting Numbers: [153]
153,78 unequal: No Solution
Exploring Operation: 78*75=5850, Resulting Numbers: [5850]
5850,78 unequal: No Solution
Moving to Node #0,4,4
Current State: 78:[39, 42], Operations: ['18+18=36', '78-36=42']
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,78 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,78 unequal: No Solution
Moving to Node #0,4,3
Current State: 78:[36, 39], Operations: ['18+18=36', '78-39=39']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,78 unequal: No Solution
Moving to Node #0,4,2
Current State: 78:[36, 2], Operations: ['18+18=36', '78/39=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,78 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
71,
29,
35,
3
] | 74 | [
"71-29=42",
"35-3=32",
"42+32=74"
] | Current State: 74:[71, 29, 35, 3], Operations: []
Exploring Operation: 71-29=42, Resulting Numbers: [35, 3, 42]
Generated Node #2: [35, 3, 42] from Operation: 71-29=42
Current State: 74:[35, 3, 42], Operations: ['71-29=42']
Exploring Operation: 35-3=32, Resulting Numbers: [42, 32]
Generated Node #3: [42, 32] from Operation: 35-3=32
Current State: 74:[42, 32], Operations: ['71-29=42', '35-3=32']
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[71, 29, 35, 3], Operations: []
Exploring Operation: 71-29=42, Resulting Numbers: [35, 3, 42]
Generated Node #0,0: 74:[35, 3, 42] Operation: 71-29=42
Moving to Node #0,0
Current State: 74:[35, 3, 42], Operations: ['71-29=42']
Exploring Operation: 35+42=77, Resulting Numbers: [3, 77]
Generated Node #0,0,0: 74:[3, 77] Operation: 35+42=77
Moving to Node #0,0,0
Current State: 74:[3, 77], Operations: ['71-29=42', '35+42=77']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[71, 29, 35, 3], Operations: []
Exploring Operation: 71-29=42, Resulting Numbers: [35, 3, 42]
Generated Node #0,0: 74:[35, 3, 42] Operation: 71-29=42
Moving to Node #0,0
Current State: 74:[35, 3, 42], Operations: ['71-29=42']
Exploring Operation: 35+42=77, Resulting Numbers: [3, 77]
Generated Node #0,0,0: 74:[3, 77] Operation: 35+42=77
Moving to Node #0,0,0
Current State: 74:[3, 77], Operations: ['71-29=42', '35+42=77']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
84,
74,
28,
21
] | 17 | [
"84-74=10",
"28-21=7",
"10+7=17"
] | Current State: 17:[84, 74, 28, 21], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [28, 21, 10]
Generated Node #2: [28, 21, 10] from Operation: 84-74=10
Current State: 17:[28, 21, 10], Operations: ['84-74=10']
Exploring Operation: 28-21=7, Resulting Numbers: [10, 7]
Generated Node #3: [10, 7] from Operation: 28-21=7
Current State: 17:[10, 7], Operations: ['84-74=10', '28-21=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[84, 74, 28, 21], Operations: []
Exploring Operation: 84-28=56, Resulting Numbers: [74, 21, 56]
Generated Node #0,0: 17:[74, 21, 56] Operation: 84-28=56
Exploring Operation: 84-74=10, Resulting Numbers: [28, 21, 10]
Generated Node #0,1: 17:[28, 21, 10] Operation: 84-74=10
Exploring Operation: 84/28=3, Resulting Numbers: [74, 21, 3]
Generated Node #0,2: 17:[74, 21, 3] Operation: 84/28=3
Exploring Operation: 84/21=4, Resulting Numbers: [74, 28, 4]
Generated Node #0,3: 17:[74, 28, 4] Operation: 84/21=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[28, 21, 10], Operations: ['84-74=10']
Exploring Operation: 28+10=38, Resulting Numbers: [21, 38]
Generated Node #0,1,0: 17:[21, 38] Operation: 28+10=38
Exploring Operation: 28-21=7, Resulting Numbers: [10, 7]
Generated Node #0,1,1: 17:[10, 7] Operation: 28-21=7
Exploring Operation: 28-10=18, Resulting Numbers: [21, 18]
Generated Node #0,1,2: 17:[21, 18] Operation: 28-10=18
Exploring Operation: 21-10=11, Resulting Numbers: [28, 11]
Generated Node #0,1,3: 17:[28, 11] Operation: 21-10=11
Moving to Node #0,1,2
Current State: 17:[21, 18], Operations: ['84-74=10', '28-10=18']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,17 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[28, 11], Operations: ['84-74=10', '21-10=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,17 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,17 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[84, 74, 28, 21], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [28, 21, 10]
Generated Node #0,1: 17:[28, 21, 10] Operation: 84-74=10
Moving to Node #0,1
Current State: 17:[28, 21, 10], Operations: ['84-74=10']
Exploring Operation: 21-10=11, Resulting Numbers: [28, 11]
Generated Node #0,1,3: 17:[28, 11] Operation: 21-10=11
Moving to Node #0,1,3
Current State: 17:[28, 11], Operations: ['84-74=10', '21-10=11']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
65,
22,
32,
5
] | 80 | [
"65-22=43",
"32+5=37",
"43+37=80"
] | Current State: 80:[65, 22, 32, 5], Operations: []
Exploring Operation: 65-22=43, Resulting Numbers: [32, 5, 43]
Generated Node #2: [32, 5, 43] from Operation: 65-22=43
Current State: 80:[32, 5, 43], Operations: ['65-22=43']
Exploring Operation: 32+5=37, Resulting Numbers: [43, 37]
Generated Node #3: [43, 37] from Operation: 32+5=37
Current State: 80:[43, 37], Operations: ['65-22=43', '32+5=37']
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[65, 22, 32, 5], Operations: []
Exploring Operation: 65-32=33, Resulting Numbers: [22, 5, 33]
Generated Node #0,0: 80:[22, 5, 33] Operation: 65-32=33
Moving to Node #0,0
Current State: 80:[22, 5, 33], Operations: ['65-32=33']
Exploring Operation: 33-22=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 80:[5, 11] Operation: 33-22=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[5, 11], Operations: ['65-32=33', '33-22=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,80 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 |
[
61,
7,
54,
18
] | 40 | [
"7*54=378",
"378/18=21",
"61-21=40"
] | Current State: 40:[61, 7, 54, 18], Operations: []
Exploring Operation: 7*54=378, Resulting Numbers: [61, 18, 378]
Generated Node #2: [61, 18, 378] from Operation: 7*54=378
Current State: 40:[61, 18, 378], Operations: ['7*54=378']
Exploring Operation: 378/18=21, Resulting Numbers: [61, 21]
Generated Node #3: [61, 21] from Operation: 378/18=21
Current State: 40:[61, 21], Operations: ['7*54=378', '378/18=21']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[61, 7, 54, 18], Operations: []
Exploring Operation: 61-18=43, Resulting Numbers: [7, 54, 43]
Generated Node #0,0: 40:[7, 54, 43] Operation: 61-18=43
Exploring Operation: 54-18=36, Resulting Numbers: [61, 7, 36]
Generated Node #0,1: 40:[61, 7, 36] Operation: 54-18=36
Exploring Operation: 54/18=3, Resulting Numbers: [61, 7, 3]
Generated Node #0,2: 40:[61, 7, 3] Operation: 54/18=3
Exploring Operation: 61-54=7, Resulting Numbers: [7, 18, 7]
Generated Node #0,3: 40:[7, 18, 7] Operation: 61-54=7
Moving to Node #0,3
Current State: 40:[7, 18, 7], Operations: ['61-54=7']
Exploring Operation: 18-7=11, Resulting Numbers: [7, 11]
Generated Node #0,3,0: 40:[7, 11] Operation: 18-7=11
Exploring Operation: 18-7=11, Resulting Numbers: [7, 11]
Generated Node #0,3,1: 40:[7, 11] Operation: 18-7=11
Exploring Operation: 7-7=0, Resulting Numbers: [18, 0]
Generated Node #0,3,2: 40:[18, 0] Operation: 7-7=0
Exploring Operation: 7/7=1, Resulting Numbers: [18, 1]
Generated Node #0,3,3: 40:[18, 1] Operation: 7/7=1
Moving to Node #0,0
Current State: 40:[7, 54, 43], Operations: ['61-18=43']
Exploring Operation: 54-43=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 40:[7, 11] Operation: 54-43=11
Exploring Operation: 43-7=36, Resulting Numbers: [54, 36]
Generated Node #0,0,1: 40:[54, 36] Operation: 43-7=36
Exploring Operation: 7+54=61, Resulting Numbers: [43, 61]
Generated Node #0,0,2: 40:[43, 61] Operation: 7+54=61
Exploring Operation: 54-7=47, Resulting Numbers: [43, 47]
Generated Node #0,0,3: 40:[43, 47] Operation: 54-7=47
Moving to Node #0,2
Current State: 40:[61, 7, 3], Operations: ['54/18=3']
Exploring Operation: 7-3=4, Resulting Numbers: [61, 4]
Generated Node #0,2,0: 40:[61, 4] Operation: 7-3=4
Exploring Operation: 61-3=58, Resulting Numbers: [7, 58]
Generated Node #0,2,1: 40:[7, 58] Operation: 61-3=58
Exploring Operation: 7+3=10, Resulting Numbers: [61, 10]
Generated Node #0,2,2: 40:[61, 10] Operation: 7+3=10
Exploring Operation: 61-7=54, Resulting Numbers: [3, 54]
Generated Node #0,2,3: 40:[3, 54] Operation: 61-7=54
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 40:[3, 54], Operations: ['54/18=3', '61-7=54']
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,40 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[7, 58], Operations: ['54/18=3', '61-3=58']
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,40 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[61, 4], Operations: ['54/18=3', '7-3=4']
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,40 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[61, 10], Operations: ['54/18=3', '7+3=10']
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,40 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,40 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: 40:[61, 7, 36], Operations: ['54-18=36']
Exploring Operation: 7+36=43, Resulting Numbers: [61, 43]
Generated Node #0,1,0: 40:[61, 43] Operation: 7+36=43
Exploring Operation: 36-7=29, Resulting Numbers: [61, 29]
Generated Node #0,1,1: 40:[61, 29] Operation: 36-7=29
Exploring Operation: 61-7=54, Resulting Numbers: [36, 54]
Generated Node #0,1,2: 40:[36, 54] Operation: 61-7=54
Exploring Operation: 61-36=25, Resulting Numbers: [7, 25]
Generated Node #0,1,3: 40:[7, 25] Operation: 61-36=25
Moving to Node #0,3,0
Current State: 40:[7, 11], Operations: ['61-54=7', '18-7=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[7, 11], Operations: ['61-54=7', '18-7=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,40 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[7, 11], Operations: ['61-18=43', '54-43=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[18, 1], Operations: ['61-54=7', '7/7=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,40 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[18, 0], Operations: ['61-54=7', '7-7=0']
Exploring Operation: 18+0=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 18-0=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 18*0=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Moving to Node #0,1,3
Current State: 40:[7, 25], Operations: ['54-18=36', '61-36=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[43, 47], Operations: ['61-18=43', '54-7=47']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 43+47=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 43*47=2021, Resulting Numbers: [2021]
2021,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[54, 36], Operations: ['61-18=43', '43-7=36']
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 54*36=1944, Resulting Numbers: [1944]
1944,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[36, 54], Operations: ['54-18=36', '61-7=54']
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,40 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[43, 61], Operations: ['61-18=43', '7+54=61']
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,40 unequal: No Solution
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[61, 43], Operations: ['54-18=36', '7+36=43']
Exploring Operation: 61+43=104, Resulting Numbers: [104]
104,40 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 61*43=2623, Resulting Numbers: [2623]
2623,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[61, 29], Operations: ['54-18=36', '36-7=29']
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,40 unequal: No Solution
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,40 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
18,
45,
52,
8
] | 17 | [
"45-18=27",
"52-8=44",
"44-27=17"
] | Current State: 17:[18, 45, 52, 8], Operations: []
Exploring Operation: 45-18=27, Resulting Numbers: [52, 8, 27]
Generated Node #2: [52, 8, 27] from Operation: 45-18=27
Current State: 17:[52, 8, 27], Operations: ['45-18=27']
Exploring Operation: 52-8=44, Resulting Numbers: [27, 44]
Generated Node #3: [27, 44] from Operation: 52-8=44
Current State: 17:[27, 44], Operations: ['45-18=27', '52-8=44']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[18, 45, 52, 8], Operations: []
Exploring Operation: 52-45=7, Resulting Numbers: [18, 8, 7]
Generated Node #0,0: 17:[18, 8, 7] Operation: 52-45=7
Exploring Operation: 45-18=27, Resulting Numbers: [52, 8, 27]
Generated Node #0,1: 17:[52, 8, 27] Operation: 45-18=27
Moving to Node #0,0
Current State: 17:[18, 8, 7], Operations: ['52-45=7']
Exploring Operation: 18-7=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 17:[8, 11] Operation: 18-7=11
Exploring Operation: 8+7=15, Resulting Numbers: [18, 15]
Generated Node #0,0,1: 17:[18, 15] Operation: 8+7=15
Moving to Node #0,1
Current State: 17:[52, 8, 27], Operations: ['45-18=27']
Exploring Operation: 52-8=44, Resulting Numbers: [27, 44]
Generated Node #0,1,0: 17:[27, 44] Operation: 52-8=44
Exploring Operation: 52-27=25, Resulting Numbers: [8, 25]
Generated Node #0,1,1: 17:[8, 25] Operation: 52-27=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[8, 25], Operations: ['45-18=27', '52-27=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[18, 45, 52, 8], Operations: []
Exploring Operation: 45-18=27, Resulting Numbers: [52, 8, 27]
Generated Node #0,1: 17:[52, 8, 27] Operation: 45-18=27
Moving to Node #0,1
Current State: 17:[52, 8, 27], Operations: ['45-18=27']
Exploring Operation: 52-27=25, Resulting Numbers: [8, 25]
Generated Node #0,1,1: 17:[8, 25] Operation: 52-27=25
Moving to Node #0,1,1
Current State: 17:[8, 25], Operations: ['45-18=27', '52-27=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
35,
39,
7,
29
] | 35 | [
"39-29=10",
"7*10=70",
"70-35=35"
] | Current State: 35:[35, 39, 7, 29], Operations: []
Exploring Operation: 39-29=10, Resulting Numbers: [35, 7, 10]
Generated Node #2: [35, 7, 10] from Operation: 39-29=10
Current State: 35:[35, 7, 10], Operations: ['39-29=10']
Exploring Operation: 7*10=70, Resulting Numbers: [35, 70]
Generated Node #3: [35, 70] from Operation: 7*10=70
Current State: 35:[35, 70], Operations: ['39-29=10', '7*10=70']
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[35, 39, 7, 29], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [39, 7, 6]
Generated Node #0,0: 35:[39, 7, 6] Operation: 35-29=6
Exploring Operation: 39-29=10, Resulting Numbers: [35, 7, 10]
Generated Node #0,1: 35:[35, 7, 10] Operation: 39-29=10
Exploring Operation: 7+29=36, Resulting Numbers: [35, 39, 36]
Generated Node #0,2: 35:[35, 39, 36] Operation: 7+29=36
Moving to Node #0,1
Current State: 35:[35, 7, 10], Operations: ['39-29=10']
Exploring Operation: 35/7=5, Resulting Numbers: [10, 5]
Generated Node #0,1,0: 35:[10, 5] Operation: 35/7=5
Exploring Operation: 10-7=3, Resulting Numbers: [35, 3]
Generated Node #0,1,1: 35:[35, 3] Operation: 10-7=3
Exploring Operation: 35+7=42, Resulting Numbers: [10, 42]
Generated Node #0,1,2: 35:[10, 42] Operation: 35+7=42
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[35, 3], Operations: ['39-29=10', '10-7=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,35 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[10, 5], Operations: ['39-29=10', '35/7=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[10, 42], Operations: ['39-29=10', '35+7=42']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,35 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: 35:[39, 7, 6], Operations: ['35-29=6']
Exploring Operation: 39-6=33, Resulting Numbers: [7, 33]
Generated Node #0,0,0: 35:[7, 33] Operation: 39-6=33
Exploring Operation: 7-6=1, Resulting Numbers: [39, 1]
Generated Node #0,0,1: 35:[39, 1] Operation: 7-6=1
Exploring Operation: 39-7=32, Resulting Numbers: [6, 32]
Generated Node #0,0,2: 35:[6, 32] Operation: 39-7=32
Moving to Node #0,2
Current State: 35:[35, 39, 36], Operations: ['7+29=36']
Exploring Operation: 39-36=3, Resulting Numbers: [35, 3]
Generated Node #0,2,0: 35:[35, 3] Operation: 39-36=3
Exploring Operation: 39-35=4, Resulting Numbers: [36, 4]
Generated Node #0,2,1: 35:[36, 4] Operation: 39-35=4
Exploring Operation: 36-35=1, Resulting Numbers: [39, 1]
Generated Node #0,2,2: 35:[39, 1] Operation: 36-35=1
Moving to Node #0,0,0
Current State: 35:[7, 33], Operations: ['35-29=6', '39-6=33']
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,35 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[35, 3], Operations: ['7+29=36', '39-36=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[36, 4], Operations: ['7+29=36', '39-35=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[6, 32], Operations: ['35-29=6', '39-7=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,35 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[39, 1], Operations: ['7+29=36', '36-35=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[39, 1], Operations: ['35-29=6', '7-6=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,35 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
25,
56,
19,
28
] | 46 | [
"25+19=44",
"56/28=2",
"44+2=46"
] | Current State: 46:[25, 56, 19, 28], Operations: []
Exploring Operation: 25+19=44, Resulting Numbers: [56, 28, 44]
Generated Node #2: [56, 28, 44] from Operation: 25+19=44
Current State: 46:[56, 28, 44], Operations: ['25+19=44']
Exploring Operation: 56/28=2, Resulting Numbers: [44, 2]
Generated Node #3: [44, 2] from Operation: 56/28=2
Current State: 46:[44, 2], Operations: ['25+19=44', '56/28=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[25, 56, 19, 28], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [25, 19, 2]
Generated Node #0,0: 46:[25, 19, 2] Operation: 56/28=2
Exploring Operation: 19+28=47, Resulting Numbers: [25, 56, 47]
Generated Node #0,1: 46:[25, 56, 47] Operation: 19+28=47
Exploring Operation: 56-28=28, Resulting Numbers: [25, 19, 28]
Generated Node #0,2: 46:[25, 19, 28] Operation: 56-28=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[25, 19, 2], Operations: ['56/28=2']
Exploring Operation: 25-19=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 46:[2, 6] Operation: 25-19=6
Exploring Operation: 25-2=23, Resulting Numbers: [19, 23]
Generated Node #0,0,1: 46:[19, 23] Operation: 25-2=23
Exploring Operation: 25+19=44, Resulting Numbers: [2, 44]
Generated Node #0,0,2: 46:[2, 44] Operation: 25+19=44
Moving to Node #0,0,2
Current State: 46:[2, 44], Operations: ['56/28=2', '25+19=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[25, 56, 19, 28], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [25, 19, 2]
Generated Node #0,0: 46:[25, 19, 2] Operation: 56/28=2
Moving to Node #0,0
Current State: 46:[25, 19, 2], Operations: ['56/28=2']
Exploring Operation: 25+19=44, Resulting Numbers: [2, 44]
Generated Node #0,0,2: 46:[2, 44] Operation: 25+19=44
Moving to Node #0,0,2
Current State: 46:[2, 44], Operations: ['56/28=2', '25+19=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
2,
20,
37,
23
] | 29 | [
"2*23=46",
"37-20=17",
"46-17=29"
] | Current State: 29:[2, 20, 37, 23], Operations: []
Exploring Operation: 2*23=46, Resulting Numbers: [20, 37, 46]
Generated Node #2: [20, 37, 46] from Operation: 2*23=46
Current State: 29:[20, 37, 46], Operations: ['2*23=46']
Exploring Operation: 37-20=17, Resulting Numbers: [46, 17]
Generated Node #3: [46, 17] from Operation: 37-20=17
Current State: 29:[46, 17], Operations: ['2*23=46', '37-20=17']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[2, 20, 37, 23], Operations: []
Exploring Operation: 37-2=35, Resulting Numbers: [20, 23, 35]
Generated Node #0,0: 29:[20, 23, 35] Operation: 37-2=35
Exploring Operation: 2+20=22, Resulting Numbers: [37, 23, 22]
Generated Node #0,1: 29:[37, 23, 22] Operation: 2+20=22
Exploring Operation: 2+23=25, Resulting Numbers: [20, 37, 25]
Generated Node #0,2: 29:[20, 37, 25] Operation: 2+23=25
Exploring Operation: 2*20=40, Resulting Numbers: [37, 23, 40]
Generated Node #0,3: 29:[37, 23, 40] Operation: 2*20=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[20, 23, 35], Operations: ['37-2=35']
Exploring Operation: 20+23=43, Resulting Numbers: [35, 43]
Generated Node #0,0,0: 29:[35, 43] Operation: 20+23=43
Exploring Operation: 35-20=15, Resulting Numbers: [23, 15]
Generated Node #0,0,1: 29:[23, 15] Operation: 35-20=15
Exploring Operation: 23-20=3, Resulting Numbers: [35, 3]
Generated Node #0,0,2: 29:[35, 3] Operation: 23-20=3
Exploring Operation: 35-23=12, Resulting Numbers: [20, 12]
Generated Node #0,0,3: 29:[20, 12] Operation: 35-23=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[35, 43], Operations: ['37-2=35', '20+23=43']
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,29 unequal: No Solution
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[23, 15], Operations: ['37-2=35', '35-20=15']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,29 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[20, 12], Operations: ['37-2=35', '35-23=12']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,29 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[35, 3], Operations: ['37-2=35', '23-20=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,29 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: 29:[37, 23, 22], Operations: ['2+20=22']
Exploring Operation: 37+22=59, Resulting Numbers: [23, 59]
Generated Node #0,1,0: 29:[23, 59] Operation: 37+22=59
Exploring Operation: 37-22=15, Resulting Numbers: [23, 15]
Generated Node #0,1,1: 29:[23, 15] Operation: 37-22=15
Exploring Operation: 37-23=14, Resulting Numbers: [22, 14]
Generated Node #0,1,2: 29:[22, 14] Operation: 37-23=14
Exploring Operation: 23+22=45, Resulting Numbers: [37, 45]
Generated Node #0,1,3: 29:[37, 45] Operation: 23+22=45
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[23, 15], Operations: ['2+20=22', '37-22=15']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[22, 14], Operations: ['2+20=22', '37-23=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,29 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 29:[37, 45], Operations: ['2+20=22', '23+22=45']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,29 unequal: No Solution
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[23, 59], Operations: ['2+20=22', '37+22=59']
Exploring Operation: 23*59=1357, Resulting Numbers: [1357]
1357,29 unequal: No Solution
Exploring Operation: 23+59=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,29 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: 29:[20, 37, 25], Operations: ['2+23=25']
Exploring Operation: 20+25=45, Resulting Numbers: [37, 45]
Generated Node #0,2,0: 29:[37, 45] Operation: 20+25=45
Exploring Operation: 37-20=17, Resulting Numbers: [25, 17]
Generated Node #0,2,1: 29:[25, 17] Operation: 37-20=17
Exploring Operation: 20+37=57, Resulting Numbers: [25, 57]
Generated Node #0,2,2: 29:[25, 57] Operation: 20+37=57
Exploring Operation: 37-25=12, Resulting Numbers: [20, 12]
Generated Node #0,2,3: 29:[20, 12] Operation: 37-25=12
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[25, 17], Operations: ['2+23=25', '37-20=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[37, 45], Operations: ['2+23=25', '20+25=45']
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,29 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[20, 12], Operations: ['2+23=25', '37-25=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[25, 57], Operations: ['2+23=25', '20+37=57']
Exploring Operation: 25+57=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 25*57=1425, Resulting Numbers: [1425]
1425,29 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: 29:[37, 23, 40], Operations: ['2*20=40']
Exploring Operation: 40-37=3, Resulting Numbers: [23, 3]
Generated Node #0,3,0: 29:[23, 3] Operation: 40-37=3
Exploring Operation: 37+23=60, Resulting Numbers: [40, 60]
Generated Node #0,3,1: 29:[40, 60] Operation: 37+23=60
Exploring Operation: 40-23=17, Resulting Numbers: [37, 17]
Generated Node #0,3,2: 29:[37, 17] Operation: 40-23=17
Exploring Operation: 37-23=14, Resulting Numbers: [40, 14]
Generated Node #0,3,3: 29:[40, 14] Operation: 37-23=14
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 29:[37, 17], Operations: ['2*20=40', '40-23=17']
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,29 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 29:[40, 14], Operations: ['2*20=40', '37-23=14']
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,29 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[23, 3], Operations: ['2*20=40', '40-37=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 29:[40, 60], Operations: ['2*20=40', '37+23=60']
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,29 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 |
[
73,
79,
57,
38
] | 13 | [
"79-73=6",
"57-38=19",
"19-6=13"
] | Current State: 13:[73, 79, 57, 38], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [57, 38, 6]
Generated Node #2: [57, 38, 6] from Operation: 79-73=6
Current State: 13:[57, 38, 6], Operations: ['79-73=6']
Exploring Operation: 57-38=19, Resulting Numbers: [6, 19]
Generated Node #3: [6, 19] from Operation: 57-38=19
Current State: 13:[6, 19], Operations: ['79-73=6', '57-38=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[73, 79, 57, 38], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [57, 38, 6]
Generated Node #0,0: 13:[57, 38, 6] Operation: 79-73=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[57, 38, 6], Operations: ['79-73=6']
Exploring Operation: 57-38=19, Resulting Numbers: [6, 19]
Generated Node #0,0,0: 13:[6, 19] Operation: 57-38=19
Moving to Node #0,0,0
Current State: 13:[6, 19], Operations: ['79-73=6', '57-38=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[73, 79, 57, 38], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [57, 38, 6]
Generated Node #0,0: 13:[57, 38, 6] Operation: 79-73=6
Moving to Node #0,0
Current State: 13:[57, 38, 6], Operations: ['79-73=6']
Exploring Operation: 57-38=19, Resulting Numbers: [6, 19]
Generated Node #0,0,0: 13:[6, 19] Operation: 57-38=19
Moving to Node #0,0,0
Current State: 13:[6, 19], Operations: ['79-73=6', '57-38=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
3,
88,
61,
66
] | 90 | [
"88-3=85",
"66-61=5",
"85+5=90"
] | Current State: 90:[3, 88, 61, 66], Operations: []
Exploring Operation: 88-3=85, Resulting Numbers: [61, 66, 85]
Generated Node #2: [61, 66, 85] from Operation: 88-3=85
Current State: 90:[61, 66, 85], Operations: ['88-3=85']
Exploring Operation: 66-61=5, Resulting Numbers: [85, 5]
Generated Node #3: [85, 5] from Operation: 66-61=5
Current State: 90:[85, 5], Operations: ['88-3=85', '66-61=5']
Exploring Operation: 85+5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[3, 88, 61, 66], Operations: []
Exploring Operation: 66/3=22, Resulting Numbers: [88, 61, 22]
Generated Node #0,0: 90:[88, 61, 22] Operation: 66/3=22
Exploring Operation: 88-66=22, Resulting Numbers: [3, 61, 22]
Generated Node #0,1: 90:[3, 61, 22] Operation: 88-66=22
Exploring Operation: 66-61=5, Resulting Numbers: [3, 88, 5]
Generated Node #0,2: 90:[3, 88, 5] Operation: 66-61=5
Exploring Operation: 61-3=58, Resulting Numbers: [88, 66, 58]
Generated Node #0,3: 90:[88, 66, 58] Operation: 61-3=58
Exploring Operation: 88-61=27, Resulting Numbers: [3, 66, 27]
Generated Node #0,4: 90:[3, 66, 27] Operation: 88-61=27
Moving to Node #0,2
Current State: 90:[3, 88, 5], Operations: ['66-61=5']
Exploring Operation: 3+88=91, Resulting Numbers: [5, 91]
Generated Node #0,2,0: 90:[5, 91] Operation: 3+88=91
Exploring Operation: 88+5=93, Resulting Numbers: [3, 93]
Generated Node #0,2,1: 90:[3, 93] Operation: 88+5=93
Exploring Operation: 5-3=2, Resulting Numbers: [88, 2]
Generated Node #0,2,2: 90:[88, 2] Operation: 5-3=2
Exploring Operation: 3+5=8, Resulting Numbers: [88, 8]
Generated Node #0,2,3: 90:[88, 8] Operation: 3+5=8
Exploring Operation: 3*5=15, Resulting Numbers: [88, 15]
Generated Node #0,2,4: 90:[88, 15] Operation: 3*5=15
Moving to Node #0,1
Current State: 90:[3, 61, 22], Operations: ['88-66=22']
Exploring Operation: 22-3=19, Resulting Numbers: [61, 19]
Generated Node #0,1,0: 90:[61, 19] Operation: 22-3=19
Exploring Operation: 61+22=83, Resulting Numbers: [3, 83]
Generated Node #0,1,1: 90:[3, 83] Operation: 61+22=83
Exploring Operation: 61-22=39, Resulting Numbers: [3, 39]
Generated Node #0,1,2: 90:[3, 39] Operation: 61-22=39
Exploring Operation: 3+22=25, Resulting Numbers: [61, 25]
Generated Node #0,1,3: 90:[61, 25] Operation: 3+22=25
Exploring Operation: 61-3=58, Resulting Numbers: [22, 58]
Generated Node #0,1,4: 90:[22, 58] Operation: 61-3=58
Moving to Node #0,0
Current State: 90:[88, 61, 22], Operations: ['66/3=22']
Exploring Operation: 88+22=110, Resulting Numbers: [61, 110]
Generated Node #0,0,0: 90:[61, 110] Operation: 88+22=110
Exploring Operation: 61+22=83, Resulting Numbers: [88, 83]
Generated Node #0,0,1: 90:[88, 83] Operation: 61+22=83
Exploring Operation: 88/22=4, Resulting Numbers: [61, 4]
Generated Node #0,0,2: 90:[61, 4] Operation: 88/22=4
Exploring Operation: 88-61=27, Resulting Numbers: [22, 27]
Generated Node #0,0,3: 90:[22, 27] Operation: 88-61=27
Exploring Operation: 61-22=39, Resulting Numbers: [88, 39]
Generated Node #0,0,4: 90:[88, 39] Operation: 61-22=39
Moving to Node #0,4
Current State: 90:[3, 66, 27], Operations: ['88-61=27']
Exploring Operation: 66-3=63, Resulting Numbers: [27, 63]
Generated Node #0,4,0: 90:[27, 63] Operation: 66-3=63
Exploring Operation: 3+27=30, Resulting Numbers: [66, 30]
Generated Node #0,4,1: 90:[66, 30] Operation: 3+27=30
Exploring Operation: 66/3=22, Resulting Numbers: [27, 22]
Generated Node #0,4,2: 90:[27, 22] Operation: 66/3=22
Exploring Operation: 66-27=39, Resulting Numbers: [3, 39]
Generated Node #0,4,3: 90:[3, 39] Operation: 66-27=39
Exploring Operation: 66+27=93, Resulting Numbers: [3, 93]
Generated Node #0,4,4: 90:[3, 93] Operation: 66+27=93
Moving to Node #0,3
Current State: 90:[88, 66, 58], Operations: ['61-3=58']
Exploring Operation: 88-58=30, Resulting Numbers: [66, 30]
Generated Node #0,3,0: 90:[66, 30] Operation: 88-58=30
Exploring Operation: 66-58=8, Resulting Numbers: [88, 8]
Generated Node #0,3,1: 90:[88, 8] Operation: 66-58=8
Exploring Operation: 88+66=154, Resulting Numbers: [58, 154]
Generated Node #0,3,2: 90:[58, 154] Operation: 88+66=154
Exploring Operation: 66+58=124, Resulting Numbers: [88, 124]
Generated Node #0,3,3: 90:[88, 124] Operation: 66+58=124
Exploring Operation: 88-66=22, Resulting Numbers: [58, 22]
Generated Node #0,3,4: 90:[58, 22] Operation: 88-66=22
Moving to Node #0,2,0
Current State: 90:[5, 91], Operations: ['66-61=5', '3+88=91']
Exploring Operation: 5+91=96, Resulting Numbers: [96]
96,90 unequal: No Solution
Exploring Operation: 5*91=455, Resulting Numbers: [455]
455,90 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,90 unequal: No Solution
Moving to Node #0,2,4
Current State: 90:[88, 15], Operations: ['66-61=5', '3*5=15']
Exploring Operation: 88*15=1320, Resulting Numbers: [1320]
1320,90 unequal: No Solution
Exploring Operation: 88+15=103, Resulting Numbers: [103]
103,90 unequal: No Solution
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[88, 2], Operations: ['66-61=5', '5-3=2']
Exploring Operation: 88*2=176, Resulting Numbers: [176]
176,90 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[3, 88, 61, 66], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [3, 88, 5]
Generated Node #0,2: 90:[3, 88, 5] Operation: 66-61=5
Moving to Node #0,2
Current State: 90:[3, 88, 5], Operations: ['66-61=5']
Exploring Operation: 5-3=2, Resulting Numbers: [88, 2]
Generated Node #0,2,2: 90:[88, 2] Operation: 5-3=2
Moving to Node #0,2,2
Current State: 90:[88, 2], Operations: ['66-61=5', '5-3=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.962674 | hs_5 | sum_heuristic |
[
15,
55,
76,
49
] | 85 | [
"55-15=40",
"76+49=125",
"125-40=85"
] | Current State: 85:[15, 55, 76, 49], Operations: []
Exploring Operation: 55-15=40, Resulting Numbers: [76, 49, 40]
Generated Node #2: [76, 49, 40] from Operation: 55-15=40
Current State: 85:[76, 49, 40], Operations: ['55-15=40']
Exploring Operation: 76+49=125, Resulting Numbers: [40, 125]
Generated Node #3: [40, 125] from Operation: 76+49=125
Current State: 85:[40, 125], Operations: ['55-15=40', '76+49=125']
Exploring Operation: 125-40=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[15, 55, 76, 49], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [15, 76, 6]
Generated Node #0,0: 85:[15, 76, 6] Operation: 55-49=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[15, 76, 6], Operations: ['55-49=6']
Exploring Operation: 76+6=82, Resulting Numbers: [15, 82]
Generated Node #0,0,0: 85:[15, 82] Operation: 76+6=82
Moving to Node #0,0,0
Current State: 85:[15, 82], Operations: ['55-49=6', '76+6=82']
Exploring Operation: 15+82=97, Resulting Numbers: [97]
97,85 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 |
[
39,
2,
63,
54
] | 91 | [
"39*2=78",
"63*78=4914",
"4914/54=91"
] | Current State: 91:[39, 2, 63, 54], Operations: []
Exploring Operation: 39*2=78, Resulting Numbers: [63, 54, 78]
Generated Node #2: [63, 54, 78] from Operation: 39*2=78
Current State: 91:[63, 54, 78], Operations: ['39*2=78']
Exploring Operation: 63*78=4914, Resulting Numbers: [54, 4914]
Generated Node #3: [54, 4914] from Operation: 63*78=4914
Current State: 91:[54, 4914], Operations: ['39*2=78', '63*78=4914']
Exploring Operation: 4914/54=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[39, 2, 63, 54], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [39, 2, 9]
Generated Node #0,0: 91:[39, 2, 9] Operation: 63-54=9
Exploring Operation: 39+54=93, Resulting Numbers: [2, 63, 93]
Generated Node #0,1: 91:[2, 63, 93] Operation: 39+54=93
Exploring Operation: 54-39=15, Resulting Numbers: [2, 63, 15]
Generated Node #0,2: 91:[2, 63, 15] Operation: 54-39=15
Exploring Operation: 39+63=102, Resulting Numbers: [2, 54, 102]
Generated Node #0,3: 91:[2, 54, 102] Operation: 39+63=102
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[39, 2, 9], Operations: ['63-54=9']
Exploring Operation: 9-2=7, Resulting Numbers: [39, 7]
Generated Node #0,0,0: 91:[39, 7] Operation: 9-2=7
Exploring Operation: 39-2=37, Resulting Numbers: [9, 37]
Generated Node #0,0,1: 91:[9, 37] Operation: 39-2=37
Exploring Operation: 39-9=30, Resulting Numbers: [2, 30]
Generated Node #0,0,2: 91:[2, 30] Operation: 39-9=30
Exploring Operation: 39*2=78, Resulting Numbers: [9, 78]
Generated Node #0,0,3: 91:[9, 78] Operation: 39*2=78
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[9, 78], Operations: ['63-54=9', '39*2=78']
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 9+78=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Exploring Operation: 9*78=702, Resulting Numbers: [702]
702,91 unequal: No Solution
No 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: 91:[2, 30], Operations: ['63-54=9', '39-9=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,91 unequal: No Solution
No 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: 91:[39, 7], Operations: ['63-54=9', '9-2=7']
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,91 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,91 unequal: No Solution
No 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: 91:[9, 37], Operations: ['63-54=9', '39-2=37']
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,91 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,91 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: 91:[2, 63, 93], Operations: ['39+54=93']
Exploring Operation: 2+63=65, Resulting Numbers: [93, 65]
Generated Node #0,1,0: 91:[93, 65] Operation: 2+63=65
Exploring Operation: 93-63=30, Resulting Numbers: [2, 30]
Generated Node #0,1,1: 91:[2, 30] Operation: 93-63=30
Exploring Operation: 93-2=91, Resulting Numbers: [63, 91]
Generated Node #0,1,2: 91:[63, 91] Operation: 93-2=91
Exploring Operation: 63-2=61, Resulting Numbers: [93, 61]
Generated Node #0,1,3: 91:[93, 61] Operation: 63-2=61
Moving to Node #0,1,1
Current State: 91:[2, 30], Operations: ['39+54=93', '93-63=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[63, 91], Operations: ['39+54=93', '93-2=91']
Exploring Operation: 63*91=5733, Resulting Numbers: [5733]
5733,91 unequal: No Solution
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 63+91=154, Resulting Numbers: [154]
154,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[93, 65], Operations: ['39+54=93', '2+63=65']
Exploring Operation: 93+65=158, Resulting Numbers: [158]
158,91 unequal: No Solution
Exploring Operation: 93-65=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 93*65=6045, Resulting Numbers: [6045]
6045,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[93, 61], Operations: ['39+54=93', '63-2=61']
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Exploring Operation: 93*61=5673, Resulting Numbers: [5673]
5673,91 unequal: No Solution
Exploring Operation: 93+61=154, Resulting Numbers: [154]
154,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[2, 63, 15], Operations: ['54-39=15']
Exploring Operation: 15-2=13, Resulting Numbers: [63, 13]
Generated Node #0,2,0: 91:[63, 13] Operation: 15-2=13
Exploring Operation: 63-2=61, Resulting Numbers: [15, 61]
Generated Node #0,2,1: 91:[15, 61] Operation: 63-2=61
Exploring Operation: 63+15=78, Resulting Numbers: [2, 78]
Generated Node #0,2,2: 91:[2, 78] Operation: 63+15=78
Exploring Operation: 2+63=65, Resulting Numbers: [15, 65]
Generated Node #0,2,3: 91:[15, 65] Operation: 2+63=65
Moving to Node #0,2,2
Current State: 91:[2, 78], Operations: ['54-39=15', '63+15=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,91 unequal: No Solution
Exploring Operation: 2*78=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[15, 65], Operations: ['54-39=15', '2+63=65']
Exploring Operation: 15*65=975, Resulting Numbers: [975]
975,91 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 15+65=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[63, 13], Operations: ['54-39=15', '15-2=13']
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,91 unequal: No Solution
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[15, 61], Operations: ['54-39=15', '63-2=61']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 15+61=76, Resulting Numbers: [76]
76,91 unequal: No Solution
Exploring Operation: 15*61=915, Resulting Numbers: [915]
915,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[2, 54, 102], Operations: ['39+63=102']
Exploring Operation: 2+54=56, Resulting Numbers: [102, 56]
Generated Node #0,3,0: 91:[102, 56] Operation: 2+54=56
Exploring Operation: 2*54=108, Resulting Numbers: [102, 108]
Generated Node #0,3,1: 91:[102, 108] Operation: 2*54=108
Exploring Operation: 102-54=48, Resulting Numbers: [2, 48]
Generated Node #0,3,2: 91:[2, 48] Operation: 102-54=48
Exploring Operation: 54/2=27, Resulting Numbers: [102, 27]
Generated Node #0,3,3: 91:[102, 27] Operation: 54/2=27
Moving to Node #0,3,3
Current State: 91:[102, 27], Operations: ['39+63=102', '54/2=27']
Exploring Operation: 102*27=2754, Resulting Numbers: [2754]
2754,91 unequal: No Solution
Exploring Operation: 102+27=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Exploring Operation: 102-27=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[102, 108], Operations: ['39+63=102', '2*54=108']
Exploring Operation: 102+108=210, Resulting Numbers: [210]
210,91 unequal: No Solution
Exploring Operation: 102*108=11016, Resulting Numbers: [11016]
11016,91 unequal: No Solution
Exploring Operation: 108-102=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[2, 48], Operations: ['39+63=102', '102-54=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[102, 56], Operations: ['39+63=102', '2+54=56']
Exploring Operation: 102-56=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 102*56=5712, Resulting Numbers: [5712]
5712,91 unequal: No Solution
Exploring Operation: 102+56=158, Resulting Numbers: [158]
158,91 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,
40,
83,
28
] | 58 | [
"83*28=2324",
"2324-4=2320",
"2320/40=58"
] | Current State: 58:[4, 40, 83, 28], Operations: []
Exploring Operation: 83*28=2324, Resulting Numbers: [4, 40, 2324]
Generated Node #2: [4, 40, 2324] from Operation: 83*28=2324
Current State: 58:[4, 40, 2324], Operations: ['83*28=2324']
Exploring Operation: 2324-4=2320, Resulting Numbers: [40, 2320]
Generated Node #3: [40, 2320] from Operation: 2324-4=2320
Current State: 58:[40, 2320], Operations: ['83*28=2324', '2324-4=2320']
Exploring Operation: 2320/40=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[4, 40, 83, 28], Operations: []
Exploring Operation: 40-4=36, Resulting Numbers: [83, 28, 36]
Generated Node #0,0: 58:[83, 28, 36] Operation: 40-4=36
Exploring Operation: 83-40=43, Resulting Numbers: [4, 28, 43]
Generated Node #0,1: 58:[4, 28, 43] Operation: 83-40=43
Exploring Operation: 83-28=55, Resulting Numbers: [4, 40, 55]
Generated Node #0,2: 58:[4, 40, 55] Operation: 83-28=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[4, 40, 55], Operations: ['83-28=55']
Exploring Operation: 4+55=59, Resulting Numbers: [40, 59]
Generated Node #0,2,0: 58:[40, 59] Operation: 4+55=59
Exploring Operation: 40-4=36, Resulting Numbers: [55, 36]
Generated Node #0,2,1: 58:[55, 36] Operation: 40-4=36
Exploring Operation: 40/4=10, Resulting Numbers: [55, 10]
Generated Node #0,2,2: 58:[55, 10] Operation: 40/4=10
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[55, 36], Operations: ['83-28=55', '40-4=36']
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,58 unequal: No Solution
No 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: 58:[55, 10], Operations: ['83-28=55', '40/4=10']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 55*10=550, Resulting Numbers: [550]
550,58 unequal: No Solution
Exploring Operation: 55+10=65, Resulting Numbers: [65]
65,58 unequal: No Solution
No 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: 58:[40, 59], Operations: ['83-28=55', '4+55=59']
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 40+59=99, Resulting Numbers: [99]
99,58 unequal: No Solution
Exploring Operation: 40*59=2360, Resulting Numbers: [2360]
2360,58 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: 58:[4, 28, 43], Operations: ['83-40=43']
Exploring Operation: 4+43=47, Resulting Numbers: [28, 47]
Generated Node #0,1,0: 58:[28, 47] Operation: 4+43=47
Exploring Operation: 43-4=39, Resulting Numbers: [28, 39]
Generated Node #0,1,1: 58:[28, 39] Operation: 43-4=39
Exploring Operation: 28+43=71, Resulting Numbers: [4, 71]
Generated Node #0,1,2: 58:[4, 71] Operation: 28+43=71
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[28, 39], Operations: ['83-40=43', '43-4=39']
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,58 unequal: No Solution
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,58 unequal: No Solution
No 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: 58:[28, 47], Operations: ['83-40=43', '4+43=47']
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 28+47=75, Resulting Numbers: [75]
75,58 unequal: No Solution
Exploring Operation: 28*47=1316, Resulting Numbers: [1316]
1316,58 unequal: No Solution
No 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: 58:[4, 71], Operations: ['83-40=43', '28+43=71']
Exploring Operation: 4*71=284, Resulting Numbers: [284]
284,58 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,58 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: 58:[83, 28, 36], Operations: ['40-4=36']
Exploring Operation: 83-28=55, Resulting Numbers: [36, 55]
Generated Node #0,0,0: 58:[36, 55] Operation: 83-28=55
Exploring Operation: 83-36=47, Resulting Numbers: [28, 47]
Generated Node #0,0,1: 58:[28, 47] Operation: 83-36=47
Exploring Operation: 28+36=64, Resulting Numbers: [83, 64]
Generated Node #0,0,2: 58:[83, 64] Operation: 28+36=64
Moving to Node #0,0,0
Current State: 58:[36, 55], Operations: ['40-4=36', '83-28=55']
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,58 unequal: No Solution
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[28, 47], Operations: ['40-4=36', '83-36=47']
Exploring Operation: 28*47=1316, Resulting Numbers: [1316]
1316,58 unequal: No Solution
Exploring Operation: 28+47=75, Resulting Numbers: [75]
75,58 unequal: No Solution
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[83, 64], Operations: ['40-4=36', '28+36=64']
Exploring Operation: 83+64=147, Resulting Numbers: [147]
147,58 unequal: No Solution
Exploring Operation: 83*64=5312, Resulting Numbers: [5312]
5312,58 unequal: No Solution
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,58 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 |
[
65,
91,
3,
42
] | 66 | [
"65+91=156",
"42+156=198",
"198/3=66"
] | Current State: 66:[65, 91, 3, 42], Operations: []
Exploring Operation: 65+91=156, Resulting Numbers: [3, 42, 156]
Generated Node #2: [3, 42, 156] from Operation: 65+91=156
Current State: 66:[3, 42, 156], Operations: ['65+91=156']
Exploring Operation: 42+156=198, Resulting Numbers: [3, 198]
Generated Node #3: [3, 198] from Operation: 42+156=198
Current State: 66:[3, 198], Operations: ['65+91=156', '42+156=198']
Exploring Operation: 198/3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[65, 91, 3, 42], Operations: []
Exploring Operation: 91-65=26, Resulting Numbers: [3, 42, 26]
Generated Node #0,0: 66:[3, 42, 26] Operation: 91-65=26
Exploring Operation: 91-42=49, Resulting Numbers: [65, 3, 49]
Generated Node #0,1: 66:[65, 3, 49] Operation: 91-42=49
Moving to Node #0,0
Current State: 66:[3, 42, 26], Operations: ['91-65=26']
Exploring Operation: 42+26=68, Resulting Numbers: [3, 68]
Generated Node #0,0,0: 66:[3, 68] Operation: 42+26=68
Exploring Operation: 42-26=16, Resulting Numbers: [3, 16]
Generated Node #0,0,1: 66:[3, 16] Operation: 42-26=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[3, 68], Operations: ['91-65=26', '42+26=68']
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[3, 16], Operations: ['91-65=26', '42-26=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 66:[65, 3, 49], Operations: ['91-42=49']
Exploring Operation: 49-3=46, Resulting Numbers: [65, 46]
Generated Node #0,1,0: 66:[65, 46] Operation: 49-3=46
Exploring Operation: 65-49=16, Resulting Numbers: [3, 16]
Generated Node #0,1,1: 66:[3, 16] Operation: 65-49=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[3, 16], Operations: ['91-42=49', '65-49=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[65, 46], Operations: ['91-42=49', '49-3=46']
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 65+46=111, Resulting Numbers: [111]
111,66 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 |
[
4,
3,
84,
34
] | 24 | [
"84/3=28",
"34-28=6",
"4*6=24"
] | Current State: 24:[4, 3, 84, 34], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [4, 34, 28]
Generated Node #2: [4, 34, 28] from Operation: 84/3=28
Current State: 24:[4, 34, 28], Operations: ['84/3=28']
Exploring Operation: 34-28=6, Resulting Numbers: [4, 6]
Generated Node #3: [4, 6] from Operation: 34-28=6
Current State: 24:[4, 6], Operations: ['84/3=28', '34-28=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[4, 3, 84, 34], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [4, 34, 28]
Generated Node #0,0: 24:[4, 34, 28] Operation: 84/3=28
Exploring Operation: 84/4=21, Resulting Numbers: [3, 34, 21]
Generated Node #0,1: 24:[3, 34, 21] Operation: 84/4=21
Exploring Operation: 84-34=50, Resulting Numbers: [4, 3, 50]
Generated Node #0,2: 24:[4, 3, 50] Operation: 84-34=50
Moving to Node #0,1
Current State: 24:[3, 34, 21], Operations: ['84/4=21']
Exploring Operation: 34-3=31, Resulting Numbers: [21, 31]
Generated Node #0,1,0: 24:[21, 31] Operation: 34-3=31
Exploring Operation: 3+21=24, Resulting Numbers: [34, 24]
Generated Node #0,1,1: 24:[34, 24] Operation: 3+21=24
Exploring Operation: 34-21=13, Resulting Numbers: [3, 13]
Generated Node #0,1,2: 24:[3, 13] Operation: 34-21=13
Moving to Node #0,0
Current State: 24:[4, 34, 28], Operations: ['84/3=28']
Exploring Operation: 34-4=30, Resulting Numbers: [28, 30]
Generated Node #0,0,0: 24:[28, 30] Operation: 34-4=30
Exploring Operation: 34-28=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 24:[4, 6] Operation: 34-28=6
Exploring Operation: 28-4=24, Resulting Numbers: [34, 24]
Generated Node #0,0,2: 24:[34, 24] Operation: 28-4=24
Moving to Node #0,2
Current State: 24:[4, 3, 50], Operations: ['84-34=50']
Exploring Operation: 4*3=12, Resulting Numbers: [50, 12]
Generated Node #0,2,0: 24:[50, 12] Operation: 4*3=12
Exploring Operation: 50-3=47, Resulting Numbers: [4, 47]
Generated Node #0,2,1: 24:[4, 47] Operation: 50-3=47
Exploring Operation: 50-4=46, Resulting Numbers: [3, 46]
Generated Node #0,2,2: 24:[3, 46] Operation: 50-4=46
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[3, 46], Operations: ['84-34=50', '50-4=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,24 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,24 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[4, 47], Operations: ['84-34=50', '50-3=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,24 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[50, 12], Operations: ['84-34=50', '4*3=12']
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,24 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,24 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: 24:[4, 6], Operations: ['84/3=28', '34-28=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[4, 3, 84, 34], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [4, 34, 28]
Generated Node #0,0: 24:[4, 34, 28] Operation: 84/3=28
Moving to Node #0,0
Current State: 24:[4, 34, 28], Operations: ['84/3=28']
Exploring Operation: 34-28=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 24:[4, 6] Operation: 34-28=6
Moving to Node #0,0,1
Current State: 24:[4, 6], Operations: ['84/3=28', '34-28=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
34,
68,
31,
3
] | 65 | [
"34+68=102",
"102/3=34",
"31+34=65"
] | Current State: 65:[34, 68, 31, 3], Operations: []
Exploring Operation: 34+68=102, Resulting Numbers: [31, 3, 102]
Generated Node #2: [31, 3, 102] from Operation: 34+68=102
Current State: 65:[31, 3, 102], Operations: ['34+68=102']
Exploring Operation: 102/3=34, Resulting Numbers: [31, 34]
Generated Node #3: [31, 34] from Operation: 102/3=34
Current State: 65:[31, 34], Operations: ['34+68=102', '102/3=34']
Exploring Operation: 31+34=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[34, 68, 31, 3], Operations: []
Exploring Operation: 34-3=31, Resulting Numbers: [68, 31, 31]
Generated Node #0,0: 65:[68, 31, 31] Operation: 34-3=31
Exploring Operation: 68/34=2, Resulting Numbers: [31, 3, 2]
Generated Node #0,1: 65:[31, 3, 2] Operation: 68/34=2
Exploring Operation: 34+31=65, Resulting Numbers: [68, 3, 65]
Generated Node #0,2: 65:[68, 3, 65] Operation: 34+31=65
Exploring Operation: 34-31=3, Resulting Numbers: [68, 3, 3]
Generated Node #0,3: 65:[68, 3, 3] Operation: 34-31=3
Moving to Node #0,2
Current State: 65:[68, 3, 65], Operations: ['34+31=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68, 68]
Generated Node #0,2,0: 65:[68, 68] Operation: 3+65=68
Exploring Operation: 68-65=3, Resulting Numbers: [3, 3]
Generated Node #0,2,1: 65:[3, 3] Operation: 68-65=3
Exploring Operation: 68+3=71, Resulting Numbers: [65, 71]
Generated Node #0,2,2: 65:[65, 71] Operation: 68+3=71
Exploring Operation: 68-3=65, Resulting Numbers: [65, 65]
Generated Node #0,2,3: 65:[65, 65] Operation: 68-3=65
Moving to Node #0,3
Current State: 65:[68, 3, 3], Operations: ['34-31=3']
Exploring Operation: 68-3=65, Resulting Numbers: [3, 65]
Generated Node #0,3,0: 65:[3, 65] Operation: 68-3=65
Exploring Operation: 3+3=6, Resulting Numbers: [68, 6]
Generated Node #0,3,1: 65:[68, 6] Operation: 3+3=6
Exploring Operation: 3*3=9, Resulting Numbers: [68, 9]
Generated Node #0,3,2: 65:[68, 9] Operation: 3*3=9
Exploring Operation: 68-3=65, Resulting Numbers: [3, 65]
Generated Node #0,3,3: 65:[3, 65] Operation: 68-3=65
Moving to Node #0,1
Current State: 65:[31, 3, 2], Operations: ['68/34=2']
Exploring Operation: 31*2=62, Resulting Numbers: [3, 62]
Generated Node #0,1,0: 65:[3, 62] Operation: 31*2=62
Exploring Operation: 3+2=5, Resulting Numbers: [31, 5]
Generated Node #0,1,1: 65:[31, 5] Operation: 3+2=5
Exploring Operation: 31-3=28, Resulting Numbers: [2, 28]
Generated Node #0,1,2: 65:[2, 28] Operation: 31-3=28
Exploring Operation: 31-2=29, Resulting Numbers: [3, 29]
Generated Node #0,1,3: 65:[3, 29] Operation: 31-2=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[3, 62], Operations: ['68/34=2', '31*2=62']
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,65 unequal: No Solution
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[34, 68, 31, 3], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [31, 3, 2]
Generated Node #0,1: 65:[31, 3, 2] Operation: 68/34=2
Moving to Node #0,1
Current State: 65:[31, 3, 2], Operations: ['68/34=2']
Exploring Operation: 31*2=62, Resulting Numbers: [3, 62]
Generated Node #0,1,0: 65:[3, 62] Operation: 31*2=62
Moving to Node #0,1,0
Current State: 65:[3, 62], Operations: ['68/34=2', '31*2=62']
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
37,
14,
90,
84
] | 52 | [
"14*90=1260",
"1260/84=15",
"37+15=52"
] | Current State: 52:[37, 14, 90, 84], Operations: []
Exploring Operation: 14*90=1260, Resulting Numbers: [37, 84, 1260]
Generated Node #2: [37, 84, 1260] from Operation: 14*90=1260
Current State: 52:[37, 84, 1260], Operations: ['14*90=1260']
Exploring Operation: 1260/84=15, Resulting Numbers: [37, 15]
Generated Node #3: [37, 15] from Operation: 1260/84=15
Current State: 52:[37, 15], Operations: ['14*90=1260', '1260/84=15']
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[37, 14, 90, 84], Operations: []
Exploring Operation: 90-84=6, Resulting Numbers: [37, 14, 6]
Generated Node #0,0: 52:[37, 14, 6] Operation: 90-84=6
Exploring Operation: 90-14=76, Resulting Numbers: [37, 84, 76]
Generated Node #0,1: 52:[37, 84, 76] Operation: 90-14=76
Exploring Operation: 84/14=6, Resulting Numbers: [37, 90, 6]
Generated Node #0,2: 52:[37, 90, 6] Operation: 84/14=6
Exploring Operation: 84-37=47, Resulting Numbers: [14, 90, 47]
Generated Node #0,3: 52:[14, 90, 47] Operation: 84-37=47
Exploring Operation: 90-37=53, Resulting Numbers: [14, 84, 53]
Generated Node #0,4: 52:[14, 84, 53] Operation: 90-37=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[37, 14, 6], Operations: ['90-84=6']
Exploring Operation: 14-6=8, Resulting Numbers: [37, 8]
Generated Node #0,0,0: 52:[37, 8] Operation: 14-6=8
Exploring Operation: 37-14=23, Resulting Numbers: [6, 23]
Generated Node #0,0,1: 52:[6, 23] Operation: 37-14=23
Exploring Operation: 37-6=31, Resulting Numbers: [14, 31]
Generated Node #0,0,2: 52:[14, 31] Operation: 37-6=31
Exploring Operation: 37+14=51, Resulting Numbers: [6, 51]
Generated Node #0,0,3: 52:[6, 51] Operation: 37+14=51
Exploring Operation: 37+6=43, Resulting Numbers: [14, 43]
Generated Node #0,0,4: 52:[14, 43] Operation: 37+6=43
Moving to Node #0,0,3
Current State: 52:[6, 51], Operations: ['90-84=6', '37+14=51']
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,52 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[6, 23], Operations: ['90-84=6', '37-14=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[14, 31], Operations: ['90-84=6', '37-6=31']
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,52 unequal: No Solution
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Moving to Node #0,0,4
Current State: 52:[14, 43], Operations: ['90-84=6', '37+6=43']
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,52 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[37, 8], Operations: ['90-84=6', '14-6=8']
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,52 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 52:[14, 84, 53], Operations: ['90-37=53']
Exploring Operation: 84-14=70, Resulting Numbers: [53, 70]
Generated Node #0,4,0: 52:[53, 70] Operation: 84-14=70
Exploring Operation: 53-14=39, Resulting Numbers: [84, 39]
Generated Node #0,4,1: 52:[84, 39] Operation: 53-14=39
Exploring Operation: 84/14=6, Resulting Numbers: [53, 6]
Generated Node #0,4,2: 52:[53, 6] Operation: 84/14=6
Exploring Operation: 14+84=98, Resulting Numbers: [53, 98]
Generated Node #0,4,3: 52:[53, 98] Operation: 14+84=98
Exploring Operation: 84-53=31, Resulting Numbers: [14, 31]
Generated Node #0,4,4: 52:[14, 31] Operation: 84-53=31
Moving to Node #0,4,2
Current State: 52:[53, 6], Operations: ['90-37=53', '84/14=6']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,52 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Moving to Node #0,4,4
Current State: 52:[14, 31], Operations: ['90-37=53', '84-53=31']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,52 unequal: No Solution
Moving to Node #0,4,0
Current State: 52:[53, 70], Operations: ['90-37=53', '84-14=70']
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 53*70=3710, Resulting Numbers: [3710]
3710,52 unequal: No Solution
Exploring Operation: 53+70=123, Resulting Numbers: [123]
123,52 unequal: No Solution
Moving to Node #0,4,1
Current State: 52:[84, 39], Operations: ['90-37=53', '53-14=39']
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 84*39=3276, Resulting Numbers: [3276]
3276,52 unequal: No Solution
Exploring Operation: 84+39=123, Resulting Numbers: [123]
123,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[53, 98], Operations: ['90-37=53', '14+84=98']
Exploring Operation: 98-53=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 53*98=5194, Resulting Numbers: [5194]
5194,52 unequal: No Solution
Exploring Operation: 53+98=151, Resulting Numbers: [151]
151,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[14, 90, 47], Operations: ['84-37=47']
Exploring Operation: 90-14=76, Resulting Numbers: [47, 76]
Generated Node #0,3,0: 52:[47, 76] Operation: 90-14=76
Exploring Operation: 90-47=43, Resulting Numbers: [14, 43]
Generated Node #0,3,1: 52:[14, 43] Operation: 90-47=43
Exploring Operation: 14+90=104, Resulting Numbers: [47, 104]
Generated Node #0,3,2: 52:[47, 104] Operation: 14+90=104
Exploring Operation: 47-14=33, Resulting Numbers: [90, 33]
Generated Node #0,3,3: 52:[90, 33] Operation: 47-14=33
Exploring Operation: 14+47=61, Resulting Numbers: [90, 61]
Generated Node #0,3,4: 52:[90, 61] Operation: 14+47=61
Moving to Node #0,3,1
Current State: 52:[14, 43], Operations: ['84-37=47', '90-47=43']
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,52 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[47, 76], Operations: ['84-37=47', '90-14=76']
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 47+76=123, Resulting Numbers: [123]
123,52 unequal: No Solution
Exploring Operation: 47*76=3572, Resulting Numbers: [3572]
3572,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[90, 33], Operations: ['84-37=47', '47-14=33']
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 90*33=2970, Resulting Numbers: [2970]
2970,52 unequal: No Solution
Exploring Operation: 90+33=123, Resulting Numbers: [123]
123,52 unequal: No Solution
Moving to Node #0,3,4
Current State: 52:[90, 61], Operations: ['84-37=47', '14+47=61']
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,52 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[47, 104], Operations: ['84-37=47', '14+90=104']
Exploring Operation: 104-47=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 47+104=151, Resulting Numbers: [151]
151,52 unequal: No Solution
Exploring Operation: 47*104=4888, Resulting Numbers: [4888]
4888,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
Current State: 52:[37, 90, 6], Operations: ['84/14=6']
Exploring Operation: 90-37=53, Resulting Numbers: [6, 53]
Generated Node #0,2,0: 52:[6, 53] Operation: 90-37=53
Exploring Operation: 37-6=31, Resulting Numbers: [90, 31]
Generated Node #0,2,1: 52:[90, 31] Operation: 37-6=31
Exploring Operation: 37+6=43, Resulting Numbers: [90, 43]
Generated Node #0,2,2: 52:[90, 43] Operation: 37+6=43
Exploring Operation: 90-6=84, Resulting Numbers: [37, 84]
Generated Node #0,2,3: 52:[37, 84] Operation: 90-6=84
Exploring Operation: 90/6=15, Resulting Numbers: [37, 15]
Generated Node #0,2,4: 52:[37, 15] Operation: 90/6=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[6, 53], Operations: ['84/14=6', '90-37=53']
Exploring Operation: 6*53=318, Resulting Numbers: [318]
318,52 unequal: No Solution
Exploring Operation: 6+53=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 52:[37, 15], Operations: ['84/14=6', '90/6=15']
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[37, 14, 90, 84], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [37, 90, 6]
Generated Node #0,2: 52:[37, 90, 6] Operation: 84/14=6
Moving to Node #0,2
Current State: 52:[37, 90, 6], Operations: ['84/14=6']
Exploring Operation: 90/6=15, Resulting Numbers: [37, 15]
Generated Node #0,2,4: 52:[37, 15] Operation: 90/6=15
Moving to Node #0,2,4
Current State: 52:[37, 15], Operations: ['84/14=6', '90/6=15']
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.932292 | hs_5 | sum_heuristic |
[
61,
26,
50,
2
] | 17 | [
"61-26=35",
"50+2=52",
"52-35=17"
] | Current State: 17:[61, 26, 50, 2], Operations: []
Exploring Operation: 61-26=35, Resulting Numbers: [50, 2, 35]
Generated Node #2: [50, 2, 35] from Operation: 61-26=35
Current State: 17:[50, 2, 35], Operations: ['61-26=35']
Exploring Operation: 50+2=52, Resulting Numbers: [35, 52]
Generated Node #3: [35, 52] from Operation: 50+2=52
Current State: 17:[35, 52], Operations: ['61-26=35', '50+2=52']
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[61, 26, 50, 2], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [26, 2, 11]
Generated Node #0,0: 17:[26, 2, 11] Operation: 61-50=11
Exploring Operation: 50/2=25, Resulting Numbers: [61, 26, 25]
Generated Node #0,1: 17:[61, 26, 25] Operation: 50/2=25
Moving to Node #0,0
Current State: 17:[26, 2, 11], Operations: ['61-50=11']
Exploring Operation: 26/2=13, Resulting Numbers: [11, 13]
Generated Node #0,0,0: 17:[11, 13] Operation: 26/2=13
Exploring Operation: 26-2=24, Resulting Numbers: [11, 24]
Generated Node #0,0,1: 17:[11, 24] Operation: 26-2=24
Moving to Node #0,1
Current State: 17:[61, 26, 25], Operations: ['50/2=25']
Exploring Operation: 61-25=36, Resulting Numbers: [26, 36]
Generated Node #0,1,0: 17:[26, 36] Operation: 61-25=36
Exploring Operation: 61-26=35, Resulting Numbers: [25, 35]
Generated Node #0,1,1: 17:[25, 35] Operation: 61-26=35
Moving to Node #0,0,0
Current State: 17:[11, 13], Operations: ['61-50=11', '26/2=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[11, 24], Operations: ['61-50=11', '26-2=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[25, 35], Operations: ['50/2=25', '61-26=35']
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,17 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[26, 36], Operations: ['50/2=25', '61-25=36']
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,17 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
67,
6,
88,
90
] | 79 | [
"90-88=2",
"6*2=12",
"67+12=79"
] | Current State: 79:[67, 6, 88, 90], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [67, 6, 2]
Generated Node #2: [67, 6, 2] from Operation: 90-88=2
Current State: 79:[67, 6, 2], Operations: ['90-88=2']
Exploring Operation: 6*2=12, Resulting Numbers: [67, 12]
Generated Node #3: [67, 12] from Operation: 6*2=12
Current State: 79:[67, 12], Operations: ['90-88=2', '6*2=12']
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[67, 6, 88, 90], Operations: []
Exploring Operation: 67+6=73, Resulting Numbers: [88, 90, 73]
Generated Node #0,0: 79:[88, 90, 73] Operation: 67+6=73
Exploring Operation: 88-6=82, Resulting Numbers: [67, 90, 82]
Generated Node #0,1: 79:[67, 90, 82] Operation: 88-6=82
Exploring Operation: 90-6=84, Resulting Numbers: [67, 88, 84]
Generated Node #0,2: 79:[67, 88, 84] Operation: 90-6=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[88, 90, 73], Operations: ['67+6=73']
Exploring Operation: 88-73=15, Resulting Numbers: [90, 15]
Generated Node #0,0,0: 79:[90, 15] Operation: 88-73=15
Exploring Operation: 90-73=17, Resulting Numbers: [88, 17]
Generated Node #0,0,1: 79:[88, 17] Operation: 90-73=17
Exploring Operation: 90-88=2, Resulting Numbers: [73, 2]
Generated Node #0,0,2: 79:[73, 2] Operation: 90-88=2
Moving to Node #0,0,1
Current State: 79:[88, 17], Operations: ['67+6=73', '90-73=17']
Exploring Operation: 88*17=1496, Resulting Numbers: [1496]
1496,79 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,79 unequal: No Solution
Exploring Operation: 88+17=105, Resulting Numbers: [105]
105,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[90, 15], Operations: ['67+6=73', '88-73=15']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[73, 2], Operations: ['67+6=73', '90-88=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,79 unequal: No Solution
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[67, 90, 82], Operations: ['88-6=82']
Exploring Operation: 67+90=157, Resulting Numbers: [82, 157]
Generated Node #0,1,0: 79:[82, 157] Operation: 67+90=157
Exploring Operation: 82-67=15, Resulting Numbers: [90, 15]
Generated Node #0,1,1: 79:[90, 15] Operation: 82-67=15
Exploring Operation: 90-67=23, Resulting Numbers: [82, 23]
Generated Node #0,1,2: 79:[82, 23] Operation: 90-67=23
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[82, 23], Operations: ['88-6=82', '90-67=23']
Exploring Operation: 82*23=1886, Resulting Numbers: [1886]
1886,79 unequal: No Solution
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[90, 15], Operations: ['88-6=82', '82-67=15']
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[82, 157], Operations: ['88-6=82', '67+90=157']
Exploring Operation: 157-82=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 82*157=12874, Resulting Numbers: [12874]
12874,79 unequal: No Solution
Exploring Operation: 82+157=239, Resulting Numbers: [239]
239,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[67, 88, 84], Operations: ['90-6=84']
Exploring Operation: 88-67=21, Resulting Numbers: [84, 21]
Generated Node #0,2,0: 79:[84, 21] Operation: 88-67=21
Exploring Operation: 67+88=155, Resulting Numbers: [84, 155]
Generated Node #0,2,1: 79:[84, 155] Operation: 67+88=155
Exploring Operation: 84-67=17, Resulting Numbers: [88, 17]
Generated Node #0,2,2: 79:[88, 17] Operation: 84-67=17
Moving to Node #0,2,0
Current State: 79:[84, 21], Operations: ['90-6=84', '88-67=21']
Exploring Operation: 84-21=63, Resulting Numbers: [63]
63,79 unequal: No Solution
Exploring Operation: 84+21=105, Resulting Numbers: [105]
105,79 unequal: No Solution
Exploring Operation: 84/21=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[88, 17], Operations: ['90-6=84', '84-67=17']
Exploring Operation: 88+17=105, Resulting Numbers: [105]
105,79 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,79 unequal: No Solution
Exploring Operation: 88*17=1496, Resulting Numbers: [1496]
1496,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[84, 155], Operations: ['90-6=84', '67+88=155']
Exploring Operation: 84*155=13020, Resulting Numbers: [13020]
13020,79 unequal: No Solution
Exploring Operation: 155-84=71, Resulting Numbers: [71]
71,79 unequal: No Solution
Exploring Operation: 84+155=239, Resulting Numbers: [239]
239,79 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 |
[
27,
44,
54,
26
] | 99 | [
"27+44=71",
"54-26=28",
"71+28=99"
] | Current State: 99:[27, 44, 54, 26], Operations: []
Exploring Operation: 27+44=71, Resulting Numbers: [54, 26, 71]
Generated Node #2: [54, 26, 71] from Operation: 27+44=71
Current State: 99:[54, 26, 71], Operations: ['27+44=71']
Exploring Operation: 54-26=28, Resulting Numbers: [71, 28]
Generated Node #3: [71, 28] from Operation: 54-26=28
Current State: 99:[71, 28], Operations: ['27+44=71', '54-26=28']
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[27, 44, 54, 26], Operations: []
Exploring Operation: 44+54=98, Resulting Numbers: [27, 26, 98]
Generated Node #0,0: 99:[27, 26, 98] Operation: 44+54=98
Moving to Node #0,0
Current State: 99:[27, 26, 98], Operations: ['44+54=98']
Exploring Operation: 27-26=1, Resulting Numbers: [98, 1]
Generated Node #0,0,0: 99:[98, 1] Operation: 27-26=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[98, 1], Operations: ['44+54=98', '27-26=1']
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[27, 44, 54, 26], Operations: []
Exploring Operation: 44+54=98, Resulting Numbers: [27, 26, 98]
Generated Node #0,0: 99:[27, 26, 98] Operation: 44+54=98
Moving to Node #0,0
Current State: 99:[27, 26, 98], Operations: ['44+54=98']
Exploring Operation: 27-26=1, Resulting Numbers: [98, 1]
Generated Node #0,0,0: 99:[98, 1] Operation: 27-26=1
Moving to Node #0,0,0
Current State: 99:[98, 1], Operations: ['44+54=98', '27-26=1']
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
69,
43,
87,
74
] | 39 | [
"69-43=26",
"87-74=13",
"26+13=39"
] | Current State: 39:[69, 43, 87, 74], Operations: []
Exploring Operation: 69-43=26, Resulting Numbers: [87, 74, 26]
Generated Node #2: [87, 74, 26] from Operation: 69-43=26
Current State: 39:[87, 74, 26], Operations: ['69-43=26']
Exploring Operation: 87-74=13, Resulting Numbers: [26, 13]
Generated Node #3: [26, 13] from Operation: 87-74=13
Current State: 39:[26, 13], Operations: ['69-43=26', '87-74=13']
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[69, 43, 87, 74], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [43, 87, 5]
Generated Node #0,0: 39:[43, 87, 5] Operation: 74-69=5
Exploring Operation: 87-69=18, Resulting Numbers: [43, 74, 18]
Generated Node #0,1: 39:[43, 74, 18] Operation: 87-69=18
Exploring Operation: 87-74=13, Resulting Numbers: [69, 43, 13]
Generated Node #0,2: 39:[69, 43, 13] Operation: 87-74=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[69, 43, 13], Operations: ['87-74=13']
Exploring Operation: 43-13=30, Resulting Numbers: [69, 30]
Generated Node #0,2,0: 39:[69, 30] Operation: 43-13=30
Exploring Operation: 69-43=26, Resulting Numbers: [13, 26]
Generated Node #0,2,1: 39:[13, 26] Operation: 69-43=26
Exploring Operation: 69-13=56, Resulting Numbers: [43, 56]
Generated Node #0,2,2: 39:[43, 56] Operation: 69-13=56
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[13, 26], Operations: ['87-74=13', '69-43=26']
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[69, 43, 87, 74], Operations: []
Exploring Operation: 87-74=13, Resulting Numbers: [69, 43, 13]
Generated Node #0,2: 39:[69, 43, 13] Operation: 87-74=13
Moving to Node #0,2
Current State: 39:[69, 43, 13], Operations: ['87-74=13']
Exploring Operation: 69-43=26, Resulting Numbers: [13, 26]
Generated Node #0,2,1: 39:[13, 26] Operation: 69-43=26
Moving to Node #0,2,1
Current State: 39:[13, 26], Operations: ['87-74=13', '69-43=26']
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
33,
55,
88,
25
] | 25 | [
"33+55=88",
"88+25=113",
"113-88=25"
] | Current State: 25:[33, 55, 88, 25], Operations: []
Exploring Operation: 33+55=88, Resulting Numbers: [88, 25, 88]
Generated Node #2: [88, 25, 88] from Operation: 33+55=88
Current State: 25:[88, 25, 88], Operations: ['33+55=88']
Exploring Operation: 88+25=113, Resulting Numbers: [113]
113,25 equal: Goal Reached
Exploring Operation: 113-88=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[33, 55, 88, 25], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [33, 25, 33]
Generated Node #0,0: 25:[33, 25, 33] Operation: 88-55=33
Exploring Operation: 88-33=55, Resulting Numbers: [55, 25, 55]
Generated Node #0,1: 25:[55, 25, 55] Operation: 88-33=55
Moving to Node #0,0
Current State: 25:[33, 25, 33], Operations: ['88-55=33']
Exploring Operation: 33-33=0, Resulting Numbers: [25, 0]
Generated Node #0,0,0: 25:[25, 0] Operation: 33-33=0
Exploring Operation: 33/33=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 25:[25, 1] Operation: 33/33=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[25, 1], Operations: ['88-55=33', '33/33=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[33, 55, 88, 25], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [33, 25, 33]
Generated Node #0,0: 25:[33, 25, 33] Operation: 88-55=33
Moving to Node #0,0
Current State: 25:[33, 25, 33], Operations: ['88-55=33']
Exploring Operation: 33/33=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 25:[25, 1] Operation: 33/33=1
Moving to Node #0,0,1
Current State: 25:[25, 1], Operations: ['88-55=33', '33/33=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
38,
33,
85,
47
] | 32 | [
"85-38=47",
"47/47=1",
"33-1=32"
] | Current State: 32:[38, 33, 85, 47], Operations: []
Exploring Operation: 85-38=47, Resulting Numbers: [33, 47, 47]
Generated Node #2: [33, 47, 47] from Operation: 85-38=47
Current State: 32:[33, 47, 47], Operations: ['85-38=47']
Exploring Operation: 47/47=1, Resulting Numbers: [33, 1]
Generated Node #3: [33, 1] from Operation: 47/47=1
Current State: 32:[33, 1], Operations: ['85-38=47', '47/47=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[38, 33, 85, 47], Operations: []
Exploring Operation: 85-38=47, Resulting Numbers: [33, 47, 47]
Generated Node #0,0: 32:[33, 47, 47] Operation: 85-38=47
Exploring Operation: 85-33=52, Resulting Numbers: [38, 47, 52]
Generated Node #0,1: 32:[38, 47, 52] Operation: 85-33=52
Exploring Operation: 85-47=38, Resulting Numbers: [38, 33, 38]
Generated Node #0,2: 32:[38, 33, 38] Operation: 85-47=38
Exploring Operation: 47-38=9, Resulting Numbers: [33, 85, 9]
Generated Node #0,3: 32:[33, 85, 9] Operation: 47-38=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[38, 33, 38], Operations: ['85-47=38']
Exploring Operation: 38/38=1, Resulting Numbers: [33, 1]
Generated Node #0,2,0: 32:[33, 1] Operation: 38/38=1
Exploring Operation: 38-33=5, Resulting Numbers: [38, 5]
Generated Node #0,2,1: 32:[38, 5] Operation: 38-33=5
Exploring Operation: 38-33=5, Resulting Numbers: [38, 5]
Generated Node #0,2,2: 32:[38, 5] Operation: 38-33=5
Exploring Operation: 38-38=0, Resulting Numbers: [33, 0]
Generated Node #0,2,3: 32:[33, 0] Operation: 38-38=0
Moving to Node #0,2,0
Current State: 32:[33, 1], Operations: ['85-47=38', '38/38=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[38, 33, 85, 47], Operations: []
Exploring Operation: 85-47=38, Resulting Numbers: [38, 33, 38]
Generated Node #0,2: 32:[38, 33, 38] Operation: 85-47=38
Moving to Node #0,2
Current State: 32:[38, 33, 38], Operations: ['85-47=38']
Exploring Operation: 38/38=1, Resulting Numbers: [33, 1]
Generated Node #0,2,0: 32:[33, 1] Operation: 38/38=1
Moving to Node #0,2,0
Current State: 32:[33, 1], Operations: ['85-47=38', '38/38=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
31,
58,
68,
2
] | 19 | [
"31+58=89",
"68+2=70",
"89-70=19"
] | Current State: 19:[31, 58, 68, 2], Operations: []
Exploring Operation: 31+58=89, Resulting Numbers: [68, 2, 89]
Generated Node #2: [68, 2, 89] from Operation: 31+58=89
Current State: 19:[68, 2, 89], Operations: ['31+58=89']
Exploring Operation: 68+2=70, Resulting Numbers: [89, 70]
Generated Node #3: [89, 70] from Operation: 68+2=70
Current State: 19:[89, 70], Operations: ['31+58=89', '68+2=70']
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[31, 58, 68, 2], Operations: []
Exploring Operation: 68-58=10, Resulting Numbers: [31, 2, 10]
Generated Node #0,0: 19:[31, 2, 10] Operation: 68-58=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[31, 2, 10], Operations: ['68-58=10']
Exploring Operation: 2*10=20, Resulting Numbers: [31, 20]
Generated Node #0,0,0: 19:[31, 20] Operation: 2*10=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[31, 20], Operations: ['68-58=10', '2*10=20']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,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_1 | sum_heuristic |
[
36,
32,
16,
40
] | 12 | [
"36+32=68",
"16+40=56",
"68-56=12"
] | Current State: 12:[36, 32, 16, 40], Operations: []
Exploring Operation: 36+32=68, Resulting Numbers: [16, 40, 68]
Generated Node #2: [16, 40, 68] from Operation: 36+32=68
Current State: 12:[16, 40, 68], Operations: ['36+32=68']
Exploring Operation: 16+40=56, Resulting Numbers: [68, 56]
Generated Node #3: [68, 56] from Operation: 16+40=56
Current State: 12:[68, 56], Operations: ['36+32=68', '16+40=56']
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[36, 32, 16, 40], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [16, 40, 4]
Generated Node #0,0: 12:[16, 40, 4] Operation: 36-32=4
Exploring Operation: 40-36=4, Resulting Numbers: [32, 16, 4]
Generated Node #0,1: 12:[32, 16, 4] Operation: 40-36=4
Exploring Operation: 32/16=2, Resulting Numbers: [36, 40, 2]
Generated Node #0,2: 12:[36, 40, 2] Operation: 32/16=2
Exploring Operation: 36-16=20, Resulting Numbers: [32, 40, 20]
Generated Node #0,3: 12:[32, 40, 20] Operation: 36-16=20
Exploring Operation: 40-32=8, Resulting Numbers: [36, 16, 8]
Generated Node #0,4: 12:[36, 16, 8] Operation: 40-32=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[32, 16, 4], Operations: ['40-36=4']
Exploring Operation: 32/4=8, Resulting Numbers: [16, 8]
Generated Node #0,1,0: 12:[16, 8] Operation: 32/4=8
Exploring Operation: 16-4=12, Resulting Numbers: [32, 12]
Generated Node #0,1,1: 12:[32, 12] Operation: 16-4=12
Exploring Operation: 32-16=16, Resulting Numbers: [4, 16]
Generated Node #0,1,2: 12:[4, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [4, 2]
Generated Node #0,1,3: 12:[4, 2] Operation: 32/16=2
Exploring Operation: 32-4=28, Resulting Numbers: [16, 28]
Generated Node #0,1,4: 12:[16, 28] Operation: 32-4=28
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 12:[4, 2], Operations: ['40-36=4', '32/16=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 12:[4, 16], Operations: ['40-36=4', '32-16=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[36, 32, 16, 40], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [32, 16, 4]
Generated Node #0,1: 12:[32, 16, 4] Operation: 40-36=4
Moving to Node #0,1
Current State: 12:[32, 16, 4], Operations: ['40-36=4']
Exploring Operation: 32-16=16, Resulting Numbers: [4, 16]
Generated Node #0,1,2: 12:[4, 16] Operation: 32-16=16
Moving to Node #0,1,2
Current State: 12:[4, 16], Operations: ['40-36=4', '32-16=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
18,
3,
21,
67
] | 34 | [
"18*3=54",
"21+67=88",
"88-54=34"
] | Current State: 34:[18, 3, 21, 67], Operations: []
Exploring Operation: 18*3=54, Resulting Numbers: [21, 67, 54]
Generated Node #2: [21, 67, 54] from Operation: 18*3=54
Current State: 34:[21, 67, 54], Operations: ['18*3=54']
Exploring Operation: 21+67=88, Resulting Numbers: [54, 88]
Generated Node #3: [54, 88] from Operation: 21+67=88
Current State: 34:[54, 88], Operations: ['18*3=54', '21+67=88']
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[18, 3, 21, 67], Operations: []
Exploring Operation: 67-21=46, Resulting Numbers: [18, 3, 46]
Generated Node #0,0: 34:[18, 3, 46] Operation: 67-21=46
Exploring Operation: 67-18=49, Resulting Numbers: [3, 21, 49]
Generated Node #0,1: 34:[3, 21, 49] Operation: 67-18=49
Moving to Node #0,0
Current State: 34:[18, 3, 46], Operations: ['67-21=46']
Exploring Operation: 46-18=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 34:[3, 28] Operation: 46-18=28
Exploring Operation: 46-3=43, Resulting Numbers: [18, 43]
Generated Node #0,0,1: 34:[18, 43] Operation: 46-3=43
Moving to Node #0,1
Current State: 34:[3, 21, 49], Operations: ['67-18=49']
Exploring Operation: 49-21=28, Resulting Numbers: [3, 28]
Generated Node #0,1,0: 34:[3, 28] Operation: 49-21=28
Exploring Operation: 21-3=18, Resulting Numbers: [49, 18]
Generated Node #0,1,1: 34:[49, 18] Operation: 21-3=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[3, 28], Operations: ['67-18=49', '49-21=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[49, 18], Operations: ['67-18=49', '21-3=18']
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 34:[3, 28], Operations: ['67-21=46', '46-18=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[18, 43], Operations: ['67-21=46', '46-3=43']
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,34 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,34 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
45,
6,
47,
23
] | 92 | [
"45+6=51",
"51-47=4",
"23*4=92"
] | Current State: 92:[45, 6, 47, 23], Operations: []
Exploring Operation: 45+6=51, Resulting Numbers: [47, 23, 51]
Generated Node #2: [47, 23, 51] from Operation: 45+6=51
Current State: 92:[47, 23, 51], Operations: ['45+6=51']
Exploring Operation: 51-47=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 51-47=4
Current State: 92:[23, 4], Operations: ['45+6=51', '51-47=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[45, 6, 47, 23], Operations: []
Exploring Operation: 45+47=92, Resulting Numbers: [6, 23, 92]
Generated Node #0,0: 92:[6, 23, 92] Operation: 45+47=92
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[6, 23, 92], Operations: ['45+47=92']
Exploring Operation: 92/23=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 92:[6, 4] Operation: 92/23=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[6, 4], Operations: ['45+47=92', '92/23=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,92 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 |
[
36,
64,
4,
48
] | 80 | [
"64-36=28",
"4+48=52",
"28+52=80"
] | Current State: 80:[36, 64, 4, 48], Operations: []
Exploring Operation: 64-36=28, Resulting Numbers: [4, 48, 28]
Generated Node #2: [4, 48, 28] from Operation: 64-36=28
Current State: 80:[4, 48, 28], Operations: ['64-36=28']
Exploring Operation: 4+48=52, Resulting Numbers: [28, 52]
Generated Node #3: [28, 52] from Operation: 4+48=52
Current State: 80:[28, 52], Operations: ['64-36=28', '4+48=52']
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[36, 64, 4, 48], Operations: []
Exploring Operation: 64-48=16, Resulting Numbers: [36, 4, 16]
Generated Node #0,0: 80:[36, 4, 16] Operation: 64-48=16
Exploring Operation: 64/4=16, Resulting Numbers: [36, 48, 16]
Generated Node #0,1: 80:[36, 48, 16] Operation: 64/4=16
Exploring Operation: 64-36=28, Resulting Numbers: [4, 48, 28]
Generated Node #0,2: 80:[4, 48, 28] Operation: 64-36=28
Exploring Operation: 48-36=12, Resulting Numbers: [64, 4, 12]
Generated Node #0,3: 80:[64, 4, 12] Operation: 48-36=12
Moving to Node #0,0
Current State: 80:[36, 4, 16], Operations: ['64-48=16']
Exploring Operation: 36-16=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 80:[4, 20] Operation: 36-16=20
Exploring Operation: 36+4=40, Resulting Numbers: [16, 40]
Generated Node #0,0,1: 80:[16, 40] Operation: 36+4=40
Exploring Operation: 36/4=9, Resulting Numbers: [16, 9]
Generated Node #0,0,2: 80:[16, 9] Operation: 36/4=9
Exploring Operation: 4+16=20, Resulting Numbers: [36, 20]
Generated Node #0,0,3: 80:[36, 20] Operation: 4+16=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[4, 20], Operations: ['64-48=16', '36-16=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[36, 64, 4, 48], Operations: []
Exploring Operation: 64-48=16, Resulting Numbers: [36, 4, 16]
Generated Node #0,0: 80:[36, 4, 16] Operation: 64-48=16
Moving to Node #0,0
Current State: 80:[36, 4, 16], Operations: ['64-48=16']
Exploring Operation: 36-16=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 80:[4, 20] Operation: 36-16=20
Moving to Node #0,0,0
Current State: 80:[4, 20], Operations: ['64-48=16', '36-16=20']
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
2,
25,
18,
38
] | 83 | [
"2+25=27",
"18+38=56",
"27+56=83"
] | Current State: 83:[2, 25, 18, 38], Operations: []
Exploring Operation: 2+25=27, Resulting Numbers: [18, 38, 27]
Generated Node #2: [18, 38, 27] from Operation: 2+25=27
Current State: 83:[18, 38, 27], Operations: ['2+25=27']
Exploring Operation: 18+38=56, Resulting Numbers: [27, 56]
Generated Node #3: [27, 56] from Operation: 18+38=56
Current State: 83:[27, 56], Operations: ['2+25=27', '18+38=56']
Exploring Operation: 27+56=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[2, 25, 18, 38], Operations: []
Exploring Operation: 2*38=76, Resulting Numbers: [25, 18, 76]
Generated Node #0,0: 83:[25, 18, 76] Operation: 2*38=76
Moving to Node #0,0
Current State: 83:[25, 18, 76], Operations: ['2*38=76']
Exploring Operation: 25+18=43, Resulting Numbers: [76, 43]
Generated Node #0,0,0: 83:[76, 43] Operation: 25+18=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[76, 43], Operations: ['2*38=76', '25+18=43']
Exploring Operation: 76+43=119, Resulting Numbers: [119]
119,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
81,
45,
12,
45
] | 68 | [
"81-12=69",
"45/45=1",
"69-1=68"
] | Current State: 68:[81, 45, 12, 45], Operations: []
Exploring Operation: 81-12=69, Resulting Numbers: [45, 45, 69]
Generated Node #2: [45, 45, 69] from Operation: 81-12=69
Current State: 68:[45, 45, 69], Operations: ['81-12=69']
Exploring Operation: 45/45=1, Resulting Numbers: [69, 1]
Generated Node #3: [69, 1] from Operation: 45/45=1
Current State: 68:[69, 1], Operations: ['81-12=69', '45/45=1']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[81, 45, 12, 45], Operations: []
Exploring Operation: 81-45=36, Resulting Numbers: [12, 45, 36]
Generated Node #0,0: 68:[12, 45, 36] Operation: 81-45=36
Moving to Node #0,0
Current State: 68:[12, 45, 36], Operations: ['81-45=36']
Exploring Operation: 45-12=33, Resulting Numbers: [36, 33]
Generated Node #0,0,0: 68:[36, 33] Operation: 45-12=33
Moving to Node #0,0,0
Current State: 68:[36, 33], Operations: ['81-45=36', '45-12=33']
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,68 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
73,
98,
93,
10
] | 78 | [
"98-73=25",
"93+10=103",
"103-25=78"
] | Current State: 78:[73, 98, 93, 10], Operations: []
Exploring Operation: 98-73=25, Resulting Numbers: [93, 10, 25]
Generated Node #2: [93, 10, 25] from Operation: 98-73=25
Current State: 78:[93, 10, 25], Operations: ['98-73=25']
Exploring Operation: 93+10=103, Resulting Numbers: [25, 103]
Generated Node #3: [25, 103] from Operation: 93+10=103
Current State: 78:[25, 103], Operations: ['98-73=25', '93+10=103']
Exploring Operation: 103-25=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[73, 98, 93, 10], Operations: []
Exploring Operation: 93-73=20, Resulting Numbers: [98, 10, 20]
Generated Node #0,0: 78:[98, 10, 20] Operation: 93-73=20
Exploring Operation: 93-10=83, Resulting Numbers: [73, 98, 83]
Generated Node #0,1: 78:[73, 98, 83] Operation: 93-10=83
Exploring Operation: 98-73=25, Resulting Numbers: [93, 10, 25]
Generated Node #0,2: 78:[93, 10, 25] Operation: 98-73=25
Exploring Operation: 98-10=88, Resulting Numbers: [73, 93, 88]
Generated Node #0,3: 78:[73, 93, 88] Operation: 98-10=88
Exploring Operation: 98-93=5, Resulting Numbers: [73, 10, 5]
Generated Node #0,4: 78:[73, 10, 5] Operation: 98-93=5
Moving to Node #0,4
Current State: 78:[73, 10, 5], Operations: ['98-93=5']
Exploring Operation: 10+5=15, Resulting Numbers: [73, 15]
Generated Node #0,4,0: 78:[73, 15] Operation: 10+5=15
Exploring Operation: 10/5=2, Resulting Numbers: [73, 2]
Generated Node #0,4,1: 78:[73, 2] Operation: 10/5=2
Exploring Operation: 73+10=83, Resulting Numbers: [5, 83]
Generated Node #0,4,2: 78:[5, 83] Operation: 73+10=83
Exploring Operation: 73+5=78, Resulting Numbers: [10, 78]
Generated Node #0,4,3: 78:[10, 78] Operation: 73+5=78
Exploring Operation: 10-5=5, Resulting Numbers: [73, 5]
Generated Node #0,4,4: 78:[73, 5] Operation: 10-5=5
Moving to Node #0,2
Current State: 78:[93, 10, 25], Operations: ['98-73=25']
Exploring Operation: 93-10=83, Resulting Numbers: [25, 83]
Generated Node #0,2,0: 78:[25, 83] Operation: 93-10=83
Exploring Operation: 25-10=15, Resulting Numbers: [93, 15]
Generated Node #0,2,1: 78:[93, 15] Operation: 25-10=15
Exploring Operation: 10+25=35, Resulting Numbers: [93, 35]
Generated Node #0,2,2: 78:[93, 35] Operation: 10+25=35
Exploring Operation: 93+10=103, Resulting Numbers: [25, 103]
Generated Node #0,2,3: 78:[25, 103] Operation: 93+10=103
Exploring Operation: 93-25=68, Resulting Numbers: [10, 68]
Generated Node #0,2,4: 78:[10, 68] Operation: 93-25=68
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[25, 83], Operations: ['98-73=25', '93-10=83']
Exploring Operation: 25+83=108, Resulting Numbers: [108]
108,78 unequal: No Solution
Exploring Operation: 25*83=2075, Resulting Numbers: [2075]
2075,78 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 78:[10, 68], Operations: ['98-73=25', '93-25=68']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,78 unequal: No Solution
Exploring Operation: 10+68=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[73, 98, 93, 10], Operations: []
Exploring Operation: 98-73=25, Resulting Numbers: [93, 10, 25]
Generated Node #0,2: 78:[93, 10, 25] Operation: 98-73=25
Moving to Node #0,2
Current State: 78:[93, 10, 25], Operations: ['98-73=25']
Exploring Operation: 93-25=68, Resulting Numbers: [10, 68]
Generated Node #0,2,4: 78:[10, 68] Operation: 93-25=68
Moving to Node #0,2,4
Current State: 78:[10, 68], Operations: ['98-73=25', '93-25=68']
Exploring Operation: 10+68=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
56,
43,
94,
77
] | 82 | [
"56+43=99",
"94-77=17",
"99-17=82"
] | Current State: 82:[56, 43, 94, 77], Operations: []
Exploring Operation: 56+43=99, Resulting Numbers: [94, 77, 99]
Generated Node #2: [94, 77, 99] from Operation: 56+43=99
Current State: 82:[94, 77, 99], Operations: ['56+43=99']
Exploring Operation: 94-77=17, Resulting Numbers: [99, 17]
Generated Node #3: [99, 17] from Operation: 94-77=17
Current State: 82:[99, 17], Operations: ['56+43=99', '94-77=17']
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[56, 43, 94, 77], Operations: []
Exploring Operation: 56-43=13, Resulting Numbers: [94, 77, 13]
Generated Node #0,0: 82:[94, 77, 13] Operation: 56-43=13
Exploring Operation: 94-56=38, Resulting Numbers: [43, 77, 38]
Generated Node #0,1: 82:[43, 77, 38] Operation: 94-56=38
Exploring Operation: 94-43=51, Resulting Numbers: [56, 77, 51]
Generated Node #0,2: 82:[56, 77, 51] Operation: 94-43=51
Exploring Operation: 94-77=17, Resulting Numbers: [56, 43, 17]
Generated Node #0,3: 82:[56, 43, 17] Operation: 94-77=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[43, 77, 38], Operations: ['94-56=38']
Exploring Operation: 43+38=81, Resulting Numbers: [77, 81]
Generated Node #0,1,0: 82:[77, 81] Operation: 43+38=81
Exploring Operation: 43-38=5, Resulting Numbers: [77, 5]
Generated Node #0,1,1: 82:[77, 5] Operation: 43-38=5
Exploring Operation: 77-38=39, Resulting Numbers: [43, 39]
Generated Node #0,1,2: 82:[43, 39] Operation: 77-38=39
Exploring Operation: 77-43=34, Resulting Numbers: [38, 34]
Generated Node #0,1,3: 82:[38, 34] Operation: 77-43=34
Moving to Node #0,1,2
Current State: 82:[43, 39], Operations: ['94-56=38', '77-38=39']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,82 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[56, 43, 94, 77], Operations: []
Exploring Operation: 94-56=38, Resulting Numbers: [43, 77, 38]
Generated Node #0,1: 82:[43, 77, 38] Operation: 94-56=38
Moving to Node #0,1
Current State: 82:[43, 77, 38], Operations: ['94-56=38']
Exploring Operation: 77-38=39, Resulting Numbers: [43, 39]
Generated Node #0,1,2: 82:[43, 39] Operation: 77-38=39
Moving to Node #0,1,2
Current State: 82:[43, 39], Operations: ['94-56=38', '77-38=39']
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
65,
29,
5,
68
] | 52 | [
"65/5=13",
"68-29=39",
"13+39=52"
] | Current State: 52:[65, 29, 5, 68], Operations: []
Exploring Operation: 65/5=13, Resulting Numbers: [29, 68, 13]
Generated Node #2: [29, 68, 13] from Operation: 65/5=13
Current State: 52:[29, 68, 13], Operations: ['65/5=13']
Exploring Operation: 68-29=39, Resulting Numbers: [13, 39]
Generated Node #3: [13, 39] from Operation: 68-29=39
Current State: 52:[13, 39], Operations: ['65/5=13', '68-29=39']
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[65, 29, 5, 68], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [29, 5, 3]
Generated Node #0,0: 52:[29, 5, 3] Operation: 68-65=3
Exploring Operation: 65/5=13, Resulting Numbers: [29, 68, 13]
Generated Node #0,1: 52:[29, 68, 13] Operation: 65/5=13
Moving to Node #0,0
Current State: 52:[29, 5, 3], Operations: ['68-65=3']
Exploring Operation: 29-5=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 52:[3, 24] Operation: 29-5=24
Exploring Operation: 29-3=26, Resulting Numbers: [5, 26]
Generated Node #0,0,1: 52:[5, 26] Operation: 29-3=26
Moving to Node #0,1
Current State: 52:[29, 68, 13], Operations: ['65/5=13']
Exploring Operation: 68-29=39, Resulting Numbers: [13, 39]
Generated Node #0,1,0: 52:[13, 39] Operation: 68-29=39
Exploring Operation: 68-13=55, Resulting Numbers: [29, 55]
Generated Node #0,1,1: 52:[29, 55] Operation: 68-13=55
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[29, 55], Operations: ['65/5=13', '68-13=55']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[13, 39], Operations: ['65/5=13', '68-29=39']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[65, 29, 5, 68], Operations: []
Exploring Operation: 65/5=13, Resulting Numbers: [29, 68, 13]
Generated Node #0,1: 52:[29, 68, 13] Operation: 65/5=13
Moving to Node #0,1
Current State: 52:[29, 68, 13], Operations: ['65/5=13']
Exploring Operation: 68-29=39, Resulting Numbers: [13, 39]
Generated Node #0,1,0: 52:[13, 39] Operation: 68-29=39
Moving to Node #0,1,0
Current State: 52:[13, 39], Operations: ['65/5=13', '68-29=39']
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | mult_heuristic |
[
34,
3,
36,
35
] | 67 | [
"36-34=2",
"35*2=70",
"70-3=67"
] | Current State: 67:[34, 3, 36, 35], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [3, 35, 2]
Generated Node #2: [3, 35, 2] from Operation: 36-34=2
Current State: 67:[3, 35, 2], Operations: ['36-34=2']
Exploring Operation: 35*2=70, Resulting Numbers: [3, 70]
Generated Node #3: [3, 70] from Operation: 35*2=70
Current State: 67:[3, 70], Operations: ['36-34=2', '35*2=70']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[34, 3, 36, 35], Operations: []
Exploring Operation: 34+3=37, Resulting Numbers: [36, 35, 37]
Generated Node #0,0: 67:[36, 35, 37] Operation: 34+3=37
Moving to Node #0,0
Current State: 67:[36, 35, 37], Operations: ['34+3=37']
Exploring Operation: 36+35=71, Resulting Numbers: [37, 71]
Generated Node #0,0,0: 67:[37, 71] Operation: 36+35=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[37, 71], Operations: ['34+3=37', '36+35=71']
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
14,
54,
12
] | 36 | [
"64+14=78",
"54-12=42",
"78-42=36"
] | Current State: 36:[64, 14, 54, 12], Operations: []
Exploring Operation: 64+14=78, Resulting Numbers: [54, 12, 78]
Generated Node #2: [54, 12, 78] from Operation: 64+14=78
Current State: 36:[54, 12, 78], Operations: ['64+14=78']
Exploring Operation: 54-12=42, Resulting Numbers: [78, 42]
Generated Node #3: [78, 42] from Operation: 54-12=42
Current State: 36:[78, 42], Operations: ['64+14=78', '54-12=42']
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[64, 14, 54, 12], Operations: []
Exploring Operation: 54-14=40, Resulting Numbers: [64, 12, 40]
Generated Node #0,0: 36:[64, 12, 40] Operation: 54-14=40
Exploring Operation: 64-12=52, Resulting Numbers: [14, 54, 52]
Generated Node #0,1: 36:[14, 54, 52] Operation: 64-12=52
Exploring Operation: 54-12=42, Resulting Numbers: [64, 14, 42]
Generated Node #0,2: 36:[64, 14, 42] Operation: 54-12=42
Exploring Operation: 64-14=50, Resulting Numbers: [54, 12, 50]
Generated Node #0,3: 36:[54, 12, 50] Operation: 64-14=50
Exploring Operation: 64-54=10, Resulting Numbers: [14, 12, 10]
Generated Node #0,4: 36:[14, 12, 10] Operation: 64-54=10
Moving to Node #0,4
Current State: 36:[14, 12, 10], Operations: ['64-54=10']
Exploring Operation: 14-12=2, Resulting Numbers: [10, 2]
Generated Node #0,4,0: 36:[10, 2] Operation: 14-12=2
Exploring Operation: 12+10=22, Resulting Numbers: [14, 22]
Generated Node #0,4,1: 36:[14, 22] Operation: 12+10=22
Exploring Operation: 14+10=24, Resulting Numbers: [12, 24]
Generated Node #0,4,2: 36:[12, 24] Operation: 14+10=24
Exploring Operation: 14-10=4, Resulting Numbers: [12, 4]
Generated Node #0,4,3: 36:[12, 4] Operation: 14-10=4
Exploring Operation: 12-10=2, Resulting Numbers: [14, 2]
Generated Node #0,4,4: 36:[14, 2] Operation: 12-10=2
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 36:[12, 4], Operations: ['64-54=10', '14-10=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 36:[10, 2], Operations: ['64-54=10', '14-12=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 36:[14, 2], Operations: ['64-54=10', '12-10=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 36:[14, 22], Operations: ['64-54=10', '12+10=22']
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,36 unequal: No Solution
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[64, 14, 54, 12], Operations: []
Exploring Operation: 64-54=10, Resulting Numbers: [14, 12, 10]
Generated Node #0,4: 36:[14, 12, 10] Operation: 64-54=10
Moving to Node #0,4
Current State: 36:[14, 12, 10], Operations: ['64-54=10']
Exploring Operation: 12+10=22, Resulting Numbers: [14, 22]
Generated Node #0,4,1: 36:[14, 22] Operation: 12+10=22
Moving to Node #0,4,1
Current State: 36:[14, 22], Operations: ['64-54=10', '12+10=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | mult_heuristic |
[
72,
43,
73,
79
] | 23 | [
"72-43=29",
"79-73=6",
"29-6=23"
] | Current State: 23:[72, 43, 73, 79], Operations: []
Exploring Operation: 72-43=29, Resulting Numbers: [73, 79, 29]
Generated Node #2: [73, 79, 29] from Operation: 72-43=29
Current State: 23:[73, 79, 29], Operations: ['72-43=29']
Exploring Operation: 79-73=6, Resulting Numbers: [29, 6]
Generated Node #3: [29, 6] from Operation: 79-73=6
Current State: 23:[29, 6], Operations: ['72-43=29', '79-73=6']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[72, 43, 73, 79], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [43, 79, 1]
Generated Node #0,0: 23:[43, 79, 1] Operation: 73-72=1
Exploring Operation: 79-72=7, Resulting Numbers: [43, 73, 7]
Generated Node #0,1: 23:[43, 73, 7] Operation: 79-72=7
Exploring Operation: 79-73=6, Resulting Numbers: [72, 43, 6]
Generated Node #0,2: 23:[72, 43, 6] Operation: 79-73=6
Exploring Operation: 73-43=30, Resulting Numbers: [72, 79, 30]
Generated Node #0,3: 23:[72, 79, 30] Operation: 73-43=30
Exploring Operation: 72-43=29, Resulting Numbers: [73, 79, 29]
Generated Node #0,4: 23:[73, 79, 29] Operation: 72-43=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[43, 73, 7], Operations: ['79-72=7']
Exploring Operation: 73-7=66, Resulting Numbers: [43, 66]
Generated Node #0,1,0: 23:[43, 66] Operation: 73-7=66
Exploring Operation: 43-7=36, Resulting Numbers: [73, 36]
Generated Node #0,1,1: 23:[73, 36] Operation: 43-7=36
Exploring Operation: 43+7=50, Resulting Numbers: [73, 50]
Generated Node #0,1,2: 23:[73, 50] Operation: 43+7=50
Exploring Operation: 73+7=80, Resulting Numbers: [43, 80]
Generated Node #0,1,3: 23:[43, 80] Operation: 73+7=80
Exploring Operation: 73-43=30, Resulting Numbers: [7, 30]
Generated Node #0,1,4: 23:[7, 30] Operation: 73-43=30
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 23:[7, 30], Operations: ['79-72=7', '73-43=30']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[72, 43, 73, 79], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [43, 73, 7]
Generated Node #0,1: 23:[43, 73, 7] Operation: 79-72=7
Moving to Node #0,1
Current State: 23:[43, 73, 7], Operations: ['79-72=7']
Exploring Operation: 73-43=30, Resulting Numbers: [7, 30]
Generated Node #0,1,4: 23:[7, 30] Operation: 73-43=30
Moving to Node #0,1,4
Current State: 23:[7, 30], Operations: ['79-72=7', '73-43=30']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
17,
65,
42,
22
] | 17 | [
"65-42=23",
"23-22=1",
"17*1=17"
] | Current State: 17:[17, 65, 42, 22], Operations: []
Exploring Operation: 65-42=23, Resulting Numbers: [17, 22, 23]
Generated Node #2: [17, 22, 23] from Operation: 65-42=23
Current State: 17:[17, 22, 23], Operations: ['65-42=23']
Exploring Operation: 23-22=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 23-22=1
Current State: 17:[17, 1], Operations: ['65-42=23', '23-22=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[17, 65, 42, 22], Operations: []
Exploring Operation: 65-22=43, Resulting Numbers: [17, 42, 43]
Generated Node #0,0: 17:[17, 42, 43] Operation: 65-22=43
Exploring Operation: 65-42=23, Resulting Numbers: [17, 22, 23]
Generated Node #0,1: 17:[17, 22, 23] Operation: 65-42=23
Exploring Operation: 42-22=20, Resulting Numbers: [17, 65, 20]
Generated Node #0,2: 17:[17, 65, 20] Operation: 42-22=20
Exploring Operation: 65-17=48, Resulting Numbers: [42, 22, 48]
Generated Node #0,3: 17:[42, 22, 48] Operation: 65-17=48
Moving to Node #0,1
Current State: 17:[17, 22, 23], Operations: ['65-42=23']
Exploring Operation: 23-22=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 17:[17, 1] Operation: 23-22=1
Exploring Operation: 22-17=5, Resulting Numbers: [23, 5]
Generated Node #0,1,1: 17:[23, 5] Operation: 22-17=5
Exploring Operation: 17+22=39, Resulting Numbers: [23, 39]
Generated Node #0,1,2: 17:[23, 39] Operation: 17+22=39
Exploring Operation: 23-17=6, Resulting Numbers: [22, 6]
Generated Node #0,1,3: 17:[22, 6] Operation: 23-17=6
Moving to Node #0,2
Current State: 17:[17, 65, 20], Operations: ['42-22=20']
Exploring Operation: 65-20=45, Resulting Numbers: [17, 45]
Generated Node #0,2,0: 17:[17, 45] Operation: 65-20=45
Exploring Operation: 20-17=3, Resulting Numbers: [65, 3]
Generated Node #0,2,1: 17:[65, 3] Operation: 20-17=3
Exploring Operation: 65-17=48, Resulting Numbers: [20, 48]
Generated Node #0,2,2: 17:[20, 48] Operation: 65-17=48
Exploring Operation: 17+65=82, Resulting Numbers: [20, 82]
Generated Node #0,2,3: 17:[20, 82] Operation: 17+65=82
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[17, 45], Operations: ['42-22=20', '65-20=45']
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,17 unequal: No Solution
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[20, 48], Operations: ['42-22=20', '65-17=48']
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 20*48=960, Resulting Numbers: [960]
960,17 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[65, 3], Operations: ['42-22=20', '20-17=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,17 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 17:[20, 82], Operations: ['42-22=20', '17+65=82']
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 20*82=1640, Resulting Numbers: [1640]
1640,17 unequal: No Solution
Exploring Operation: 20+82=102, Resulting Numbers: [102]
102,17 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: 17:[17, 42, 43], Operations: ['65-22=43']
Exploring Operation: 43-17=26, Resulting Numbers: [42, 26]
Generated Node #0,0,0: 17:[42, 26] Operation: 43-17=26
Exploring Operation: 17+42=59, Resulting Numbers: [43, 59]
Generated Node #0,0,1: 17:[43, 59] Operation: 17+42=59
Exploring Operation: 42-17=25, Resulting Numbers: [43, 25]
Generated Node #0,0,2: 17:[43, 25] Operation: 42-17=25
Exploring Operation: 43-42=1, Resulting Numbers: [17, 1]
Generated Node #0,0,3: 17:[17, 1] Operation: 43-42=1
Moving to Node #0,3
Current State: 17:[42, 22, 48], Operations: ['65-17=48']
Exploring Operation: 48-22=26, Resulting Numbers: [42, 26]
Generated Node #0,3,0: 17:[42, 26] Operation: 48-22=26
Exploring Operation: 42-22=20, Resulting Numbers: [48, 20]
Generated Node #0,3,1: 17:[48, 20] Operation: 42-22=20
Exploring Operation: 48-42=6, Resulting Numbers: [22, 6]
Generated Node #0,3,2: 17:[22, 6] Operation: 48-42=6
Exploring Operation: 42+22=64, Resulting Numbers: [48, 64]
Generated Node #0,3,3: 17:[48, 64] Operation: 42+22=64
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 17:[22, 6], Operations: ['65-17=48', '48-42=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,17 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 17:[42, 26], Operations: ['65-17=48', '48-22=26']
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,17 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 17:[48, 20], Operations: ['65-17=48', '42-22=20']
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,17 unequal: No Solution
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 17:[48, 64], Operations: ['65-17=48', '42+22=64']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,17 unequal: No Solution
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,17 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: 17:[17, 1], Operations: ['65-42=23', '23-22=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[17, 65, 42, 22], Operations: []
Exploring Operation: 65-42=23, Resulting Numbers: [17, 22, 23]
Generated Node #0,1: 17:[17, 22, 23] Operation: 65-42=23
Moving to Node #0,1
Current State: 17:[17, 22, 23], Operations: ['65-42=23']
Exploring Operation: 23-22=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 17:[17, 1] Operation: 23-22=1
Moving to Node #0,1,0
Current State: 17:[17, 1], Operations: ['65-42=23', '23-22=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.957465 | hs_4 | sum_heuristic |
[
28,
37,
24,
88
] | 59 | [
"28-24=4",
"88/4=22",
"37+22=59"
] | Current State: 59:[28, 37, 24, 88], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [37, 88, 4]
Generated Node #2: [37, 88, 4] from Operation: 28-24=4
Current State: 59:[37, 88, 4], Operations: ['28-24=4']
Exploring Operation: 88/4=22, Resulting Numbers: [37, 22]
Generated Node #3: [37, 22] from Operation: 88/4=22
Current State: 59:[37, 22], Operations: ['28-24=4', '88/4=22']
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[28, 37, 24, 88], Operations: []
Exploring Operation: 88-24=64, Resulting Numbers: [28, 37, 64]
Generated Node #0,0: 59:[28, 37, 64] Operation: 88-24=64
Exploring Operation: 88-28=60, Resulting Numbers: [37, 24, 60]
Generated Node #0,1: 59:[37, 24, 60] Operation: 88-28=60
Exploring Operation: 37+24=61, Resulting Numbers: [28, 88, 61]
Generated Node #0,2: 59:[28, 88, 61] Operation: 37+24=61
Exploring Operation: 28+24=52, Resulting Numbers: [37, 88, 52]
Generated Node #0,3: 59:[37, 88, 52] Operation: 28+24=52
Moving to Node #0,0
Current State: 59:[28, 37, 64], Operations: ['88-24=64']
Exploring Operation: 37-28=9, Resulting Numbers: [64, 9]
Generated Node #0,0,0: 59:[64, 9] Operation: 37-28=9
Exploring Operation: 28+64=92, Resulting Numbers: [37, 92]
Generated Node #0,0,1: 59:[37, 92] Operation: 28+64=92
Exploring Operation: 64-28=36, Resulting Numbers: [37, 36]
Generated Node #0,0,2: 59:[37, 36] Operation: 64-28=36
Exploring Operation: 28+37=65, Resulting Numbers: [64, 65]
Generated Node #0,0,3: 59:[64, 65] Operation: 28+37=65
Moving to Node #0,3
Current State: 59:[37, 88, 52], Operations: ['28+24=52']
Exploring Operation: 37+52=89, Resulting Numbers: [88, 89]
Generated Node #0,3,0: 59:[88, 89] Operation: 37+52=89
Exploring Operation: 88-37=51, Resulting Numbers: [52, 51]
Generated Node #0,3,1: 59:[52, 51] Operation: 88-37=51
Exploring Operation: 37+88=125, Resulting Numbers: [52, 125]
Generated Node #0,3,2: 59:[52, 125] Operation: 37+88=125
Exploring Operation: 88-52=36, Resulting Numbers: [37, 36]
Generated Node #0,3,3: 59:[37, 36] Operation: 88-52=36
Moving to Node #0,1
Current State: 59:[37, 24, 60], Operations: ['88-28=60']
Exploring Operation: 24+60=84, Resulting Numbers: [37, 84]
Generated Node #0,1,0: 59:[37, 84] Operation: 24+60=84
Exploring Operation: 37-24=13, Resulting Numbers: [60, 13]
Generated Node #0,1,1: 59:[60, 13] Operation: 37-24=13
Exploring Operation: 37+24=61, Resulting Numbers: [60, 61]
Generated Node #0,1,2: 59:[60, 61] Operation: 37+24=61
Exploring Operation: 60-24=36, Resulting Numbers: [37, 36]
Generated Node #0,1,3: 59:[37, 36] Operation: 60-24=36
Moving to Node #0,2
Current State: 59:[28, 88, 61], Operations: ['37+24=61']
Exploring Operation: 28+61=89, Resulting Numbers: [88, 89]
Generated Node #0,2,0: 59:[88, 89] Operation: 28+61=89
Exploring Operation: 88-28=60, Resulting Numbers: [61, 60]
Generated Node #0,2,1: 59:[61, 60] Operation: 88-28=60
Exploring Operation: 28+88=116, Resulting Numbers: [61, 116]
Generated Node #0,2,2: 59:[61, 116] Operation: 28+88=116
Exploring Operation: 61-28=33, Resulting Numbers: [88, 33]
Generated Node #0,2,3: 59:[88, 33] Operation: 61-28=33
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[61, 60], Operations: ['37+24=61', '88-28=60']
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 61*60=3660, Resulting Numbers: [3660]
3660,59 unequal: No Solution
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[88, 33], Operations: ['37+24=61', '61-28=33']
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[88, 89], Operations: ['37+24=61', '28+61=89']
Exploring Operation: 88*89=7832, Resulting Numbers: [7832]
7832,59 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 88+89=177, Resulting Numbers: [177]
177,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[61, 116], Operations: ['37+24=61', '28+88=116']
Exploring Operation: 116-61=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 61+116=177, Resulting Numbers: [177]
177,59 unequal: No Solution
Exploring Operation: 61*116=7076, Resulting Numbers: [7076]
7076,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 59:[60, 61], Operations: ['88-28=60', '37+24=61']
Exploring Operation: 60*61=3660, Resulting Numbers: [3660]
3660,59 unequal: No Solution
Exploring Operation: 60+61=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[64, 65], Operations: ['88-24=64', '28+37=65']
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,59 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[52, 51], Operations: ['28+24=52', '88-37=51']
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,59 unequal: No Solution
Exploring Operation: 52*51=2652, Resulting Numbers: [2652]
2652,59 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[37, 36], Operations: ['28+24=52', '88-52=36']
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,59 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[37, 36], Operations: ['88-24=64', '64-28=36']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[37, 36], Operations: ['88-28=60', '60-24=36']
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[60, 13], Operations: ['88-28=60', '37-24=13']
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,59 unequal: No Solution
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[37, 84], Operations: ['88-28=60', '24+60=84']
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,59 unequal: No Solution
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[64, 9], Operations: ['88-24=64', '37-28=9']
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,59 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[37, 92], Operations: ['88-24=64', '28+64=92']
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 37+92=129, Resulting Numbers: [129]
129,59 unequal: No Solution
Exploring Operation: 37*92=3404, Resulting Numbers: [3404]
3404,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[88, 89], Operations: ['28+24=52', '37+52=89']
Exploring Operation: 88+89=177, Resulting Numbers: [177]
177,59 unequal: No Solution
Exploring Operation: 88*89=7832, Resulting Numbers: [7832]
7832,59 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[52, 125], Operations: ['28+24=52', '37+88=125']
Exploring Operation: 52*125=6500, Resulting Numbers: [6500]
6500,59 unequal: No Solution
Exploring Operation: 125-52=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 52+125=177, Resulting Numbers: [177]
177,59 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
45,
88,
8,
38
] | 94 | [
"45+38=83",
"88/8=11",
"83+11=94"
] | Current State: 94:[45, 88, 8, 38], Operations: []
Exploring Operation: 45+38=83, Resulting Numbers: [88, 8, 83]
Generated Node #2: [88, 8, 83] from Operation: 45+38=83
Current State: 94:[88, 8, 83], Operations: ['45+38=83']
Exploring Operation: 88/8=11, Resulting Numbers: [83, 11]
Generated Node #3: [83, 11] from Operation: 88/8=11
Current State: 94:[83, 11], Operations: ['45+38=83', '88/8=11']
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[45, 88, 8, 38], Operations: []
Exploring Operation: 88+8=96, Resulting Numbers: [45, 38, 96]
Generated Node #0,0: 94:[45, 38, 96] Operation: 88+8=96
Exploring Operation: 88-38=50, Resulting Numbers: [45, 8, 50]
Generated Node #0,1: 94:[45, 8, 50] Operation: 88-38=50
Exploring Operation: 8+38=46, Resulting Numbers: [45, 88, 46]
Generated Node #0,2: 94:[45, 88, 46] Operation: 8+38=46
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[45, 88, 46], Operations: ['8+38=46']
Exploring Operation: 46-45=1, Resulting Numbers: [88, 1]
Generated Node #0,2,0: 94:[88, 1] Operation: 46-45=1
Exploring Operation: 88-46=42, Resulting Numbers: [45, 42]
Generated Node #0,2,1: 94:[45, 42] Operation: 88-46=42
Exploring Operation: 88-45=43, Resulting Numbers: [46, 43]
Generated Node #0,2,2: 94:[46, 43] Operation: 88-45=43
Moving to Node #0,2,2
Current State: 94:[46, 43], Operations: ['8+38=46', '88-45=43']
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 46*43=1978, Resulting Numbers: [1978]
1978,94 unequal: No Solution
Exploring Operation: 46+43=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[88, 1], Operations: ['8+38=46', '46-45=1']
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,94 unequal: No Solution
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,94 unequal: No Solution
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[45, 42], Operations: ['8+38=46', '88-46=42']
Exploring Operation: 45*42=1890, Resulting Numbers: [1890]
1890,94 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[45, 8, 50], Operations: ['88-38=50']
Exploring Operation: 50-8=42, Resulting Numbers: [45, 42]
Generated Node #0,1,0: 94:[45, 42] Operation: 50-8=42
Exploring Operation: 45+50=95, Resulting Numbers: [8, 95]
Generated Node #0,1,1: 94:[8, 95] Operation: 45+50=95
Exploring Operation: 45+8=53, Resulting Numbers: [50, 53]
Generated Node #0,1,2: 94:[50, 53] Operation: 45+8=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[45, 42], Operations: ['88-38=50', '50-8=42']
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,94 unequal: No Solution
Exploring Operation: 45*42=1890, Resulting Numbers: [1890]
1890,94 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[8, 95], Operations: ['88-38=50', '45+50=95']
Exploring Operation: 8+95=103, Resulting Numbers: [103]
103,94 unequal: No Solution
Exploring Operation: 8*95=760, Resulting Numbers: [760]
760,94 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[50, 53], Operations: ['88-38=50', '45+8=53']
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 50+53=103, Resulting Numbers: [103]
103,94 unequal: No Solution
Exploring Operation: 50*53=2650, Resulting Numbers: [2650]
2650,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[45, 38, 96], Operations: ['88+8=96']
Exploring Operation: 96-45=51, Resulting Numbers: [38, 51]
Generated Node #0,0,0: 94:[38, 51] Operation: 96-45=51
Exploring Operation: 45-38=7, Resulting Numbers: [96, 7]
Generated Node #0,0,1: 94:[96, 7] Operation: 45-38=7
Exploring Operation: 45+38=83, Resulting Numbers: [96, 83]
Generated Node #0,0,2: 94:[96, 83] Operation: 45+38=83
Moving to Node #0,0,1
Current State: 94:[96, 7], Operations: ['88+8=96', '45-38=7']
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 96*7=672, Resulting Numbers: [672]
672,94 unequal: No Solution
Exploring Operation: 96+7=103, Resulting Numbers: [103]
103,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[38, 51], Operations: ['88+8=96', '96-45=51']
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 38*51=1938, Resulting Numbers: [1938]
1938,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[96, 83], Operations: ['88+8=96', '45+38=83']
Exploring Operation: 96-83=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 96*83=7968, Resulting Numbers: [7968]
7968,94 unequal: No Solution
Exploring Operation: 96+83=179, Resulting Numbers: [179]
179,94 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 |
[
13,
23,
7,
6
] | 35 | [
"13+23=36",
"7-6=1",
"36-1=35"
] | Current State: 35:[13, 23, 7, 6], Operations: []
Exploring Operation: 13+23=36, Resulting Numbers: [7, 6, 36]
Generated Node #2: [7, 6, 36] from Operation: 13+23=36
Current State: 35:[7, 6, 36], Operations: ['13+23=36']
Exploring Operation: 7-6=1, Resulting Numbers: [36, 1]
Generated Node #3: [36, 1] from Operation: 7-6=1
Current State: 35:[36, 1], Operations: ['13+23=36', '7-6=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[13, 23, 7, 6], Operations: []
Exploring Operation: 23-13=10, Resulting Numbers: [7, 6, 10]
Generated Node #0,0: 35:[7, 6, 10] Operation: 23-13=10
Exploring Operation: 13+23=36, Resulting Numbers: [7, 6, 36]
Generated Node #0,1: 35:[7, 6, 36] Operation: 13+23=36
Exploring Operation: 13-6=7, Resulting Numbers: [23, 7, 7]
Generated Node #0,2: 35:[23, 7, 7] Operation: 13-6=7
Moving to Node #0,1
Current State: 35:[7, 6, 36], Operations: ['13+23=36']
Exploring Operation: 36/6=6, Resulting Numbers: [7, 6]
Generated Node #0,1,0: 35:[7, 6] Operation: 36/6=6
Exploring Operation: 7-6=1, Resulting Numbers: [36, 1]
Generated Node #0,1,1: 35:[36, 1] Operation: 7-6=1
Exploring Operation: 36-6=30, Resulting Numbers: [7, 30]
Generated Node #0,1,2: 35:[7, 30] Operation: 36-6=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[7, 6], Operations: ['13+23=36', '36/6=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[36, 1], Operations: ['13+23=36', '7-6=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[13, 23, 7, 6], Operations: []
Exploring Operation: 13+23=36, Resulting Numbers: [7, 6, 36]
Generated Node #0,1: 35:[7, 6, 36] Operation: 13+23=36
Moving to Node #0,1
Current State: 35:[7, 6, 36], Operations: ['13+23=36']
Exploring Operation: 7-6=1, Resulting Numbers: [36, 1]
Generated Node #0,1,1: 35:[36, 1] Operation: 7-6=1
Moving to Node #0,1,1
Current State: 35:[36, 1], Operations: ['13+23=36', '7-6=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
70,
80,
70,
28
] | 80 | [
"70-70=0",
"28*0=0",
"80+0=80"
] | Current State: 80:[70, 80, 70, 28], Operations: []
Exploring Operation: 70-70=0, Resulting Numbers: [80, 28, 0]
Generated Node #2: [80, 28, 0] from Operation: 70-70=0
Current State: 80:[80, 28, 0], Operations: ['70-70=0']
Exploring Operation: 28*0=0, Resulting Numbers: [80, 0]
Generated Node #3: [80, 0] from Operation: 28*0=0
Current State: 80:[80, 0], Operations: ['70-70=0', '28*0=0']
Exploring Operation: 80+0=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[70, 80, 70, 28], Operations: []
Exploring Operation: 70-28=42, Resulting Numbers: [80, 70, 42]
Generated Node #0,0: 80:[80, 70, 42] Operation: 70-28=42
Exploring Operation: 70/70=1, Resulting Numbers: [80, 28, 1]
Generated Node #0,1: 80:[80, 28, 1] Operation: 70/70=1
Exploring Operation: 70-70=0, Resulting Numbers: [80, 28, 0]
Generated Node #0,2: 80:[80, 28, 0] Operation: 70-70=0
Exploring Operation: 70-28=42, Resulting Numbers: [70, 80, 42]
Generated Node #0,3: 80:[70, 80, 42] Operation: 70-28=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[80, 28, 1], Operations: ['70/70=1']
Exploring Operation: 28-1=27, Resulting Numbers: [80, 27]
Generated Node #0,1,0: 80:[80, 27] Operation: 28-1=27
Exploring Operation: 80*1=80, Resulting Numbers: [28, 80]
Generated Node #0,1,1: 80:[28, 80] Operation: 80*1=80
Exploring Operation: 80/1=80, Resulting Numbers: [28, 80]
Generated Node #0,1,2: 80:[28, 80] Operation: 80/1=80
Exploring Operation: 28*1=28, Resulting Numbers: [80, 28]
Generated Node #0,1,3: 80:[80, 28] Operation: 28*1=28
Moving to Node #0,1,0
Current State: 80:[80, 27], Operations: ['70/70=1', '28-1=27']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 80+27=107, Resulting Numbers: [107]
107,80 unequal: No Solution
Exploring Operation: 80*27=2160, Resulting Numbers: [2160]
2160,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[28, 80], Operations: ['70/70=1', '80/1=80']
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 28*80=2240, Resulting Numbers: [2240]
2240,80 unequal: No Solution
Exploring Operation: 28+80=108, Resulting Numbers: [108]
108,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[28, 80], Operations: ['70/70=1', '80*1=80']
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 28*80=2240, Resulting Numbers: [2240]
2240,80 unequal: No Solution
Exploring Operation: 28+80=108, Resulting Numbers: [108]
108,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[80, 28], Operations: ['70/70=1', '28*1=28']
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,80 unequal: No Solution
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,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,2
Current State: 80:[80, 28, 0], Operations: ['70-70=0']
Exploring Operation: 28*0=0, Resulting Numbers: [80, 0]
Generated Node #0,2,0: 80:[80, 0] Operation: 28*0=0
Exploring Operation: 80+0=80, Resulting Numbers: [28, 80]
Generated Node #0,2,1: 80:[28, 80] Operation: 80+0=80
Exploring Operation: 80-0=80, Resulting Numbers: [28, 80]
Generated Node #0,2,2: 80:[28, 80] Operation: 80-0=80
Exploring Operation: 28+0=28, Resulting Numbers: [80, 28]
Generated Node #0,2,3: 80:[80, 28] Operation: 28+0=28
Moving to Node #0,2,0
Current State: 80:[80, 0], Operations: ['70-70=0', '28*0=0']
Exploring Operation: 80+0=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[70, 80, 70, 28], Operations: []
Exploring Operation: 70-70=0, Resulting Numbers: [80, 28, 0]
Generated Node #0,2: 80:[80, 28, 0] Operation: 70-70=0
Moving to Node #0,2
Current State: 80:[80, 28, 0], Operations: ['70-70=0']
Exploring Operation: 28*0=0, Resulting Numbers: [80, 0]
Generated Node #0,2,0: 80:[80, 0] Operation: 28*0=0
Moving to Node #0,2,0
Current State: 80:[80, 0], Operations: ['70-70=0', '28*0=0']
Exploring Operation: 80+0=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
16,
1,
10,
63
] | 36 | [
"16+1=17",
"63-10=53",
"53-17=36"
] | Current State: 36:[16, 1, 10, 63], Operations: []
Exploring Operation: 16+1=17, Resulting Numbers: [10, 63, 17]
Generated Node #2: [10, 63, 17] from Operation: 16+1=17
Current State: 36:[10, 63, 17], Operations: ['16+1=17']
Exploring Operation: 63-10=53, Resulting Numbers: [17, 53]
Generated Node #3: [17, 53] from Operation: 63-10=53
Current State: 36:[17, 53], Operations: ['16+1=17', '63-10=53']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[16, 1, 10, 63], Operations: []
Exploring Operation: 63-16=47, Resulting Numbers: [1, 10, 47]
Generated Node #0,0: 36:[1, 10, 47] Operation: 63-16=47
Exploring Operation: 63-10=53, Resulting Numbers: [16, 1, 53]
Generated Node #0,1: 36:[16, 1, 53] Operation: 63-10=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[1, 10, 47], Operations: ['63-16=47']
Exploring Operation: 47-10=37, Resulting Numbers: [1, 37]
Generated Node #0,0,0: 36:[1, 37] Operation: 47-10=37
Exploring Operation: 10-1=9, Resulting Numbers: [47, 9]
Generated Node #0,0,1: 36:[47, 9] Operation: 10-1=9
Moving to Node #0,0,0
Current State: 36:[1, 37], Operations: ['63-16=47', '47-10=37']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[16, 1, 10, 63], Operations: []
Exploring Operation: 63-16=47, Resulting Numbers: [1, 10, 47]
Generated Node #0,0: 36:[1, 10, 47] Operation: 63-16=47
Moving to Node #0,0
Current State: 36:[1, 10, 47], Operations: ['63-16=47']
Exploring Operation: 47-10=37, Resulting Numbers: [1, 37]
Generated Node #0,0,0: 36:[1, 37] Operation: 47-10=37
Moving to Node #0,0,0
Current State: 36:[1, 37], Operations: ['63-16=47', '47-10=37']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
79,
6,
32,
7
] | 48 | [
"79-6=73",
"32-7=25",
"73-25=48"
] | Current State: 48:[79, 6, 32, 7], Operations: []
Exploring Operation: 79-6=73, Resulting Numbers: [32, 7, 73]
Generated Node #2: [32, 7, 73] from Operation: 79-6=73
Current State: 48:[32, 7, 73], Operations: ['79-6=73']
Exploring Operation: 32-7=25, Resulting Numbers: [73, 25]
Generated Node #3: [73, 25] from Operation: 32-7=25
Current State: 48:[73, 25], Operations: ['79-6=73', '32-7=25']
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[79, 6, 32, 7], Operations: []
Exploring Operation: 79-7=72, Resulting Numbers: [6, 32, 72]
Generated Node #0,0: 48:[6, 32, 72] Operation: 79-7=72
Exploring Operation: 32-7=25, Resulting Numbers: [79, 6, 25]
Generated Node #0,1: 48:[79, 6, 25] Operation: 32-7=25
Exploring Operation: 79-32=47, Resulting Numbers: [6, 7, 47]
Generated Node #0,2: 48:[6, 7, 47] Operation: 79-32=47
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[6, 7, 47], Operations: ['79-32=47']
Exploring Operation: 6+47=53, Resulting Numbers: [7, 53]
Generated Node #0,2,0: 48:[7, 53] Operation: 6+47=53
Exploring Operation: 7-6=1, Resulting Numbers: [47, 1]
Generated Node #0,2,1: 48:[47, 1] Operation: 7-6=1
Exploring Operation: 6+7=13, Resulting Numbers: [47, 13]
Generated Node #0,2,2: 48:[47, 13] Operation: 6+7=13
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 48:[47, 1], Operations: ['79-32=47', '7-6=1']
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[79, 6, 32, 7], Operations: []
Exploring Operation: 79-32=47, Resulting Numbers: [6, 7, 47]
Generated Node #0,2: 48:[6, 7, 47] Operation: 79-32=47
Moving to Node #0,2
Current State: 48:[6, 7, 47], Operations: ['79-32=47']
Exploring Operation: 7-6=1, Resulting Numbers: [47, 1]
Generated Node #0,2,1: 48:[47, 1] Operation: 7-6=1
Moving to Node #0,2,1
Current State: 48:[47, 1], Operations: ['79-32=47', '7-6=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
96,
91,
30,
47
] | 12 | [
"96-91=5",
"47-30=17",
"17-5=12"
] | Current State: 12:[96, 91, 30, 47], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [30, 47, 5]
Generated Node #2: [30, 47, 5] from Operation: 96-91=5
Current State: 12:[30, 47, 5], Operations: ['96-91=5']
Exploring Operation: 47-30=17, Resulting Numbers: [5, 17]
Generated Node #3: [5, 17] from Operation: 47-30=17
Current State: 12:[5, 17], Operations: ['96-91=5', '47-30=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[96, 91, 30, 47], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [30, 47, 5]
Generated Node #0,0: 12:[30, 47, 5] Operation: 96-91=5
Moving to Node #0,0
Current State: 12:[30, 47, 5], Operations: ['96-91=5']
Exploring Operation: 47-30=17, Resulting Numbers: [5, 17]
Generated Node #0,0,0: 12:[5, 17] Operation: 47-30=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[5, 17], Operations: ['96-91=5', '47-30=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[96, 91, 30, 47], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [30, 47, 5]
Generated Node #0,0: 12:[30, 47, 5] Operation: 96-91=5
Moving to Node #0,0
Current State: 12:[30, 47, 5], Operations: ['96-91=5']
Exploring Operation: 47-30=17, Resulting Numbers: [5, 17]
Generated Node #0,0,0: 12:[5, 17] Operation: 47-30=17
Moving to Node #0,0,0
Current State: 12:[5, 17], Operations: ['96-91=5', '47-30=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
3,
49,
66,
6
] | 75 | [
"3*49=147",
"66+6=72",
"147-72=75"
] | Current State: 75:[3, 49, 66, 6], Operations: []
Exploring Operation: 3*49=147, Resulting Numbers: [66, 6, 147]
Generated Node #2: [66, 6, 147] from Operation: 3*49=147
Current State: 75:[66, 6, 147], Operations: ['3*49=147']
Exploring Operation: 66+6=72, Resulting Numbers: [147, 72]
Generated Node #3: [147, 72] from Operation: 66+6=72
Current State: 75:[147, 72], Operations: ['3*49=147', '66+6=72']
Exploring Operation: 147-72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[3, 49, 66, 6], Operations: []
Exploring Operation: 66-49=17, Resulting Numbers: [3, 6, 17]
Generated Node #0,0: 75:[3, 6, 17] Operation: 66-49=17
Exploring Operation: 66+6=72, Resulting Numbers: [3, 49, 72]
Generated Node #0,1: 75:[3, 49, 72] Operation: 66+6=72
Exploring Operation: 49-6=43, Resulting Numbers: [3, 66, 43]
Generated Node #0,2: 75:[3, 66, 43] Operation: 49-6=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[3, 6, 17], Operations: ['66-49=17']
Exploring Operation: 17-3=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 75:[6, 14] Operation: 17-3=14
Exploring Operation: 6-3=3, Resulting Numbers: [17, 3]
Generated Node #0,0,1: 75:[17, 3] Operation: 6-3=3
Exploring Operation: 6+17=23, Resulting Numbers: [3, 23]
Generated Node #0,0,2: 75:[3, 23] Operation: 6+17=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[6, 14], Operations: ['66-49=17', '17-3=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,75 unequal: No Solution
No 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: 75:[17, 3], Operations: ['66-49=17', '6-3=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,75 unequal: No Solution
No 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: 75:[3, 23], Operations: ['66-49=17', '6+17=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,75 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: 75:[3, 49, 72], Operations: ['66+6=72']
Exploring Operation: 72-49=23, Resulting Numbers: [3, 23]
Generated Node #0,1,0: 75:[3, 23] Operation: 72-49=23
Exploring Operation: 49-3=46, Resulting Numbers: [72, 46]
Generated Node #0,1,1: 75:[72, 46] Operation: 49-3=46
Exploring Operation: 3+72=75, Resulting Numbers: [49, 75]
Generated Node #0,1,2: 75:[49, 75] Operation: 3+72=75
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[3, 23], Operations: ['66+6=72', '72-49=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,75 unequal: No Solution
No 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: 75:[72, 46], Operations: ['66+6=72', '49-3=46']
Exploring Operation: 72*46=3312, Resulting Numbers: [3312]
3312,75 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 72+46=118, Resulting Numbers: [118]
118,75 unequal: No Solution
No 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: 75:[49, 75], Operations: ['66+6=72', '3+72=75']
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 49+75=124, Resulting Numbers: [124]
124,75 unequal: No Solution
Exploring Operation: 49*75=3675, Resulting Numbers: [3675]
3675,75 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: 75:[3, 66, 43], Operations: ['49-6=43']
Exploring Operation: 3+66=69, Resulting Numbers: [43, 69]
Generated Node #0,2,0: 75:[43, 69] Operation: 3+66=69
Exploring Operation: 66-43=23, Resulting Numbers: [3, 23]
Generated Node #0,2,1: 75:[3, 23] Operation: 66-43=23
Exploring Operation: 66/3=22, Resulting Numbers: [43, 22]
Generated Node #0,2,2: 75:[43, 22] Operation: 66/3=22
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[3, 23], Operations: ['49-6=43', '66-43=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,75 unequal: No Solution
No 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: 75:[43, 22], Operations: ['49-6=43', '66/3=22']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,75 unequal: No Solution
No 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: 75:[43, 69], Operations: ['49-6=43', '3+66=69']
Exploring Operation: 43+69=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 43*69=2967, Resulting Numbers: [2967]
2967,75 unequal: No Solution
Exploring Operation: 69-43=26, Resulting Numbers: [26]
26,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
13,
66,
33,
49
] | 60 | [
"13+49=62",
"66/33=2",
"62-2=60"
] | Current State: 60:[13, 66, 33, 49], Operations: []
Exploring Operation: 13+49=62, Resulting Numbers: [66, 33, 62]
Generated Node #2: [66, 33, 62] from Operation: 13+49=62
Current State: 60:[66, 33, 62], Operations: ['13+49=62']
Exploring Operation: 66/33=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 66/33=2
Current State: 60:[62, 2], Operations: ['13+49=62', '66/33=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[13, 66, 33, 49], Operations: []
Exploring Operation: 66-49=17, Resulting Numbers: [13, 33, 17]
Generated Node #0,0: 60:[13, 33, 17] Operation: 66-49=17
Exploring Operation: 49-33=16, Resulting Numbers: [13, 66, 16]
Generated Node #0,1: 60:[13, 66, 16] Operation: 49-33=16
Exploring Operation: 13+49=62, Resulting Numbers: [66, 33, 62]
Generated Node #0,2: 60:[66, 33, 62] Operation: 13+49=62
Exploring Operation: 66/33=2, Resulting Numbers: [13, 49, 2]
Generated Node #0,3: 60:[13, 49, 2] Operation: 66/33=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[13, 33, 17], Operations: ['66-49=17']
Exploring Operation: 17-13=4, Resulting Numbers: [33, 4]
Generated Node #0,0,0: 60:[33, 4] Operation: 17-13=4
Exploring Operation: 33-17=16, Resulting Numbers: [13, 16]
Generated Node #0,0,1: 60:[13, 16] Operation: 33-17=16
Exploring Operation: 13+17=30, Resulting Numbers: [33, 30]
Generated Node #0,0,2: 60:[33, 30] Operation: 13+17=30
Exploring Operation: 33-13=20, Resulting Numbers: [17, 20]
Generated Node #0,0,3: 60:[17, 20] Operation: 33-13=20
Moving to Node #0,0,1
Current State: 60:[13, 16], Operations: ['66-49=17', '33-17=16']
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,60 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[17, 20], Operations: ['66-49=17', '33-13=20']
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,60 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[33, 30], Operations: ['66-49=17', '13+17=30']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,60 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[33, 4], Operations: ['66-49=17', '17-13=4']
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,60 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[13, 66, 16], Operations: ['49-33=16']
Exploring Operation: 13+16=29, Resulting Numbers: [66, 29]
Generated Node #0,1,0: 60:[66, 29] Operation: 13+16=29
Exploring Operation: 66-16=50, Resulting Numbers: [13, 50]
Generated Node #0,1,1: 60:[13, 50] Operation: 66-16=50
Exploring Operation: 66-13=53, Resulting Numbers: [16, 53]
Generated Node #0,1,2: 60:[16, 53] Operation: 66-13=53
Exploring Operation: 16-13=3, Resulting Numbers: [66, 3]
Generated Node #0,1,3: 60:[66, 3] Operation: 16-13=3
Moving to Node #0,1,3
Current State: 60:[66, 3], Operations: ['49-33=16', '16-13=3']
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 66*3=198, Resulting Numbers: [198]
198,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[66, 29], Operations: ['49-33=16', '13+16=29']
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,60 unequal: No Solution
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[16, 53], Operations: ['49-33=16', '66-13=53']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 16*53=848, Resulting Numbers: [848]
848,60 unequal: No Solution
Exploring Operation: 16+53=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[13, 50], Operations: ['49-33=16', '66-16=50']
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,60 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[66, 33, 62], Operations: ['13+49=62']
Exploring Operation: 66-62=4, Resulting Numbers: [33, 4]
Generated Node #0,2,0: 60:[33, 4] Operation: 66-62=4
Exploring Operation: 62-33=29, Resulting Numbers: [66, 29]
Generated Node #0,2,1: 60:[66, 29] Operation: 62-33=29
Exploring Operation: 66-33=33, Resulting Numbers: [62, 33]
Generated Node #0,2,2: 60:[62, 33] Operation: 66-33=33
Exploring Operation: 66/33=2, Resulting Numbers: [62, 2]
Generated Node #0,2,3: 60:[62, 2] Operation: 66/33=2
Moving to Node #0,2,3
Current State: 60:[62, 2], Operations: ['13+49=62', '66/33=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[13, 66, 33, 49], Operations: []
Exploring Operation: 13+49=62, Resulting Numbers: [66, 33, 62]
Generated Node #0,2: 60:[66, 33, 62] Operation: 13+49=62
Moving to Node #0,2
Current State: 60:[66, 33, 62], Operations: ['13+49=62']
Exploring Operation: 66/33=2, Resulting Numbers: [62, 2]
Generated Node #0,2,3: 60:[62, 2] Operation: 66/33=2
Moving to Node #0,2,3
Current State: 60:[62, 2], Operations: ['13+49=62', '66/33=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
82,
33,
88,
56
] | 95 | [
"82-33=49",
"88+56=144",
"144-49=95"
] | Current State: 95:[82, 33, 88, 56], Operations: []
Exploring Operation: 82-33=49, Resulting Numbers: [88, 56, 49]
Generated Node #2: [88, 56, 49] from Operation: 82-33=49
Current State: 95:[88, 56, 49], Operations: ['82-33=49']
Exploring Operation: 88+56=144, Resulting Numbers: [49, 144]
Generated Node #3: [49, 144] from Operation: 88+56=144
Current State: 95:[49, 144], Operations: ['82-33=49', '88+56=144']
Exploring Operation: 144-49=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[82, 33, 88, 56], Operations: []
Exploring Operation: 56-33=23, Resulting Numbers: [82, 88, 23]
Generated Node #0,0: 95:[82, 88, 23] Operation: 56-33=23
Exploring Operation: 33+56=89, Resulting Numbers: [82, 88, 89]
Generated Node #0,1: 95:[82, 88, 89] Operation: 33+56=89
Moving to Node #0,0
Current State: 95:[82, 88, 23], Operations: ['56-33=23']
Exploring Operation: 82+23=105, Resulting Numbers: [88, 105]
Generated Node #0,0,0: 95:[88, 105] Operation: 82+23=105
Exploring Operation: 88-82=6, Resulting Numbers: [23, 6]
Generated Node #0,0,1: 95:[23, 6] Operation: 88-82=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[23, 6], Operations: ['56-33=23', '88-82=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[88, 105], Operations: ['56-33=23', '82+23=105']
Exploring Operation: 105-88=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 88+105=193, Resulting Numbers: [193]
193,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 95:[82, 88, 89], Operations: ['33+56=89']
Exploring Operation: 88-82=6, Resulting Numbers: [89, 6]
Generated Node #0,1,0: 95:[89, 6] Operation: 88-82=6
Exploring Operation: 89-82=7, Resulting Numbers: [88, 7]
Generated Node #0,1,1: 95:[88, 7] Operation: 89-82=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[89, 6], Operations: ['33+56=89', '88-82=6']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[82, 33, 88, 56], Operations: []
Exploring Operation: 33+56=89, Resulting Numbers: [82, 88, 89]
Generated Node #0,1: 95:[82, 88, 89] Operation: 33+56=89
Moving to Node #0,1
Current State: 95:[82, 88, 89], Operations: ['33+56=89']
Exploring Operation: 88-82=6, Resulting Numbers: [89, 6]
Generated Node #0,1,0: 95:[89, 6] Operation: 88-82=6
Moving to Node #0,1,0
Current State: 95:[89, 6], Operations: ['33+56=89', '88-82=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
34,
55,
43,
42
] | 41 | [
"55-34=21",
"42/21=2",
"43-2=41"
] | Current State: 41:[34, 55, 43, 42], Operations: []
Exploring Operation: 55-34=21, Resulting Numbers: [43, 42, 21]
Generated Node #2: [43, 42, 21] from Operation: 55-34=21
Current State: 41:[43, 42, 21], Operations: ['55-34=21']
Exploring Operation: 42/21=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 42/21=2
Current State: 41:[43, 2], Operations: ['55-34=21', '42/21=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[34, 55, 43, 42], Operations: []
Exploring Operation: 55-43=12, Resulting Numbers: [34, 42, 12]
Generated Node #0,0: 41:[34, 42, 12] Operation: 55-43=12
Exploring Operation: 55-34=21, Resulting Numbers: [43, 42, 21]
Generated Node #0,1: 41:[43, 42, 21] Operation: 55-34=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[43, 42, 21], Operations: ['55-34=21']
Exploring Operation: 43-21=22, Resulting Numbers: [42, 22]
Generated Node #0,1,0: 41:[42, 22] Operation: 43-21=22
Exploring Operation: 42-21=21, Resulting Numbers: [43, 21]
Generated Node #0,1,1: 41:[43, 21] Operation: 42-21=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[42, 22], Operations: ['55-34=21', '43-21=22']
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[43, 21], Operations: ['55-34=21', '42-21=21']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 43+21=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[34, 42, 12], Operations: ['55-43=12']
Exploring Operation: 42-12=30, Resulting Numbers: [34, 30]
Generated Node #0,0,0: 41:[34, 30] Operation: 42-12=30
Exploring Operation: 34+12=46, Resulting Numbers: [42, 46]
Generated Node #0,0,1: 41:[42, 46] Operation: 34+12=46
Moving to Node #0,0,1
Current State: 41:[42, 46], Operations: ['55-43=12', '34+12=46']
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[34, 30], Operations: ['55-43=12', '42-12=30']
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,41 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 |
[
2,
55,
21,
40
] | 28 | [
"55-21=34",
"2*34=68",
"68-40=28"
] | Current State: 28:[2, 55, 21, 40], Operations: []
Exploring Operation: 55-21=34, Resulting Numbers: [2, 40, 34]
Generated Node #2: [2, 40, 34] from Operation: 55-21=34
Current State: 28:[2, 40, 34], Operations: ['55-21=34']
Exploring Operation: 2*34=68, Resulting Numbers: [40, 68]
Generated Node #3: [40, 68] from Operation: 2*34=68
Current State: 28:[40, 68], Operations: ['55-21=34', '2*34=68']
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[2, 55, 21, 40], Operations: []
Exploring Operation: 55-40=15, Resulting Numbers: [2, 21, 15]
Generated Node #0,0: 28:[2, 21, 15] Operation: 55-40=15
Moving to Node #0,0
Current State: 28:[2, 21, 15], Operations: ['55-40=15']
Exploring Operation: 21-15=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 28:[2, 6] Operation: 21-15=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[2, 6], Operations: ['55-40=15', '21-15=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,28 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 |
[
13,
39,
43,
2
] | 54 | [
"43-13=30",
"30/2=15",
"39+15=54"
] | Current State: 54:[13, 39, 43, 2], Operations: []
Exploring Operation: 43-13=30, Resulting Numbers: [39, 2, 30]
Generated Node #2: [39, 2, 30] from Operation: 43-13=30
Current State: 54:[39, 2, 30], Operations: ['43-13=30']
Exploring Operation: 30/2=15, Resulting Numbers: [39, 15]
Generated Node #3: [39, 15] from Operation: 30/2=15
Current State: 54:[39, 15], Operations: ['43-13=30', '30/2=15']
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[13, 39, 43, 2], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [13, 2, 4]
Generated Node #0,0: 54:[13, 2, 4] Operation: 43-39=4
Moving to Node #0,0
Current State: 54:[13, 2, 4], Operations: ['43-39=4']
Exploring Operation: 13-4=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 54:[2, 9] Operation: 13-4=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[2, 9], Operations: ['43-39=4', '13-4=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
62,
35,
3,
61
] | 86 | [
"62+35=97",
"3*61=183",
"183-97=86"
] | Current State: 86:[62, 35, 3, 61], Operations: []
Exploring Operation: 62+35=97, Resulting Numbers: [3, 61, 97]
Generated Node #2: [3, 61, 97] from Operation: 62+35=97
Current State: 86:[3, 61, 97], Operations: ['62+35=97']
Exploring Operation: 3*61=183, Resulting Numbers: [97, 183]
Generated Node #3: [97, 183] from Operation: 3*61=183
Current State: 86:[97, 183], Operations: ['62+35=97', '3*61=183']
Exploring Operation: 183-97=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[62, 35, 3, 61], Operations: []
Exploring Operation: 62+35=97, Resulting Numbers: [3, 61, 97]
Generated Node #0,0: 86:[3, 61, 97] Operation: 62+35=97
Exploring Operation: 35+61=96, Resulting Numbers: [62, 3, 96]
Generated Node #0,1: 86:[62, 3, 96] Operation: 35+61=96
Exploring Operation: 62-61=1, Resulting Numbers: [35, 3, 1]
Generated Node #0,2: 86:[35, 3, 1] Operation: 62-61=1
Moving to Node #0,2
Current State: 86:[35, 3, 1], Operations: ['62-61=1']
Exploring Operation: 35+3=38, Resulting Numbers: [1, 38]
Generated Node #0,2,0: 86:[1, 38] Operation: 35+3=38
Exploring Operation: 35+1=36, Resulting Numbers: [3, 36]
Generated Node #0,2,1: 86:[3, 36] Operation: 35+1=36
Exploring Operation: 3-1=2, Resulting Numbers: [35, 2]
Generated Node #0,2,2: 86:[35, 2] Operation: 3-1=2
Moving to Node #0,0
Current State: 86:[3, 61, 97], Operations: ['62+35=97']
Exploring Operation: 61-3=58, Resulting Numbers: [97, 58]
Generated Node #0,0,0: 86:[97, 58] Operation: 61-3=58
Exploring Operation: 97-61=36, Resulting Numbers: [3, 36]
Generated Node #0,0,1: 86:[3, 36] Operation: 97-61=36
Exploring Operation: 97-3=94, Resulting Numbers: [61, 94]
Generated Node #0,0,2: 86:[61, 94] Operation: 97-3=94
Moving to Node #0,1
Current State: 86:[62, 3, 96], Operations: ['35+61=96']
Exploring Operation: 62-3=59, Resulting Numbers: [96, 59]
Generated Node #0,1,0: 86:[96, 59] Operation: 62-3=59
Exploring Operation: 96-3=93, Resulting Numbers: [62, 93]
Generated Node #0,1,1: 86:[62, 93] Operation: 96-3=93
Exploring Operation: 96-62=34, Resulting Numbers: [3, 34]
Generated Node #0,1,2: 86:[3, 34] Operation: 96-62=34
Moving to Node #0,2,0
Current State: 86:[1, 38], Operations: ['62-61=1', '35+3=38']
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[35, 2], Operations: ['62-61=1', '3-1=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,86 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[3, 36], Operations: ['62-61=1', '35+1=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[3, 36], Operations: ['62+35=97', '97-61=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[3, 34], Operations: ['35+61=96', '96-62=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,86 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[61, 94], Operations: ['62+35=97', '97-3=94']
Exploring Operation: 61+94=155, Resulting Numbers: [155]
155,86 unequal: No Solution
Exploring Operation: 94-61=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 61*94=5734, Resulting Numbers: [5734]
5734,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[62, 93], Operations: ['35+61=96', '96-3=93']
Exploring Operation: 93-62=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 62*93=5766, Resulting Numbers: [5766]
5766,86 unequal: No Solution
Exploring Operation: 62+93=155, Resulting Numbers: [155]
155,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[97, 58], Operations: ['62+35=97', '61-3=58']
Exploring Operation: 97*58=5626, Resulting Numbers: [5626]
5626,86 unequal: No Solution
Exploring Operation: 97-58=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 97+58=155, Resulting Numbers: [155]
155,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[96, 59], Operations: ['35+61=96', '62-3=59']
Exploring Operation: 96+59=155, Resulting Numbers: [155]
155,86 unequal: No Solution
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 96*59=5664, Resulting Numbers: [5664]
5664,86 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
97,
83,
61,
69
] | 50 | [
"97+83=180",
"61+69=130",
"180-130=50"
] | Current State: 50:[97, 83, 61, 69], Operations: []
Exploring Operation: 97+83=180, Resulting Numbers: [61, 69, 180]
Generated Node #2: [61, 69, 180] from Operation: 97+83=180
Current State: 50:[61, 69, 180], Operations: ['97+83=180']
Exploring Operation: 61+69=130, Resulting Numbers: [180, 130]
Generated Node #3: [180, 130] from Operation: 61+69=130
Current State: 50:[180, 130], Operations: ['97+83=180', '61+69=130']
Exploring Operation: 180-130=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[97, 83, 61, 69], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [61, 69, 14]
Generated Node #0,0: 50:[61, 69, 14] Operation: 97-83=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[61, 69, 14], Operations: ['97-83=14']
Exploring Operation: 69-61=8, Resulting Numbers: [14, 8]
Generated Node #0,0,0: 50:[14, 8] Operation: 69-61=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[14, 8], Operations: ['97-83=14', '69-61=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,50 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 |
[
61,
4,
81,
49
] | 27 | [
"61-49=12",
"4*81=324",
"324/12=27"
] | Current State: 27:[61, 4, 81, 49], Operations: []
Exploring Operation: 61-49=12, Resulting Numbers: [4, 81, 12]
Generated Node #2: [4, 81, 12] from Operation: 61-49=12
Current State: 27:[4, 81, 12], Operations: ['61-49=12']
Exploring Operation: 4*81=324, Resulting Numbers: [12, 324]
Generated Node #3: [12, 324] from Operation: 4*81=324
Current State: 27:[12, 324], Operations: ['61-49=12', '4*81=324']
Exploring Operation: 324/12=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[61, 4, 81, 49], Operations: []
Exploring Operation: 81-61=20, Resulting Numbers: [4, 49, 20]
Generated Node #0,0: 27:[4, 49, 20] Operation: 81-61=20
Exploring Operation: 61-49=12, Resulting Numbers: [4, 81, 12]
Generated Node #0,1: 27:[4, 81, 12] Operation: 61-49=12
Exploring Operation: 81-49=32, Resulting Numbers: [61, 4, 32]
Generated Node #0,2: 27:[61, 4, 32] Operation: 81-49=32
Exploring Operation: 61-4=57, Resulting Numbers: [81, 49, 57]
Generated Node #0,3: 27:[81, 49, 57] Operation: 61-4=57
Exploring Operation: 81-4=77, Resulting Numbers: [61, 49, 77]
Generated Node #0,4: 27:[61, 49, 77] Operation: 81-4=77
Moving to Node #0,0
Current State: 27:[4, 49, 20], Operations: ['81-61=20']
Exploring Operation: 49-20=29, Resulting Numbers: [4, 29]
Generated Node #0,0,0: 27:[4, 29] Operation: 49-20=29
Exploring Operation: 49-4=45, Resulting Numbers: [20, 45]
Generated Node #0,0,1: 27:[20, 45] Operation: 49-4=45
Exploring Operation: 4+20=24, Resulting Numbers: [49, 24]
Generated Node #0,0,2: 27:[49, 24] Operation: 4+20=24
Exploring Operation: 20-4=16, Resulting Numbers: [49, 16]
Generated Node #0,0,3: 27:[49, 16] Operation: 20-4=16
Exploring Operation: 20/4=5, Resulting Numbers: [49, 5]
Generated Node #0,0,4: 27:[49, 5] Operation: 20/4=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[4, 29], Operations: ['81-61=20', '49-20=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,27 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 27:[49, 5], Operations: ['81-61=20', '20/4=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,27 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[20, 45], Operations: ['81-61=20', '49-4=45']
Exploring Operation: 20+45=65, Resulting Numbers: [65]
65,27 unequal: No Solution
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 20*45=900, Resulting Numbers: [900]
900,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[49, 24], Operations: ['81-61=20', '4+20=24']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,27 unequal: No Solution
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 27:[49, 16], Operations: ['81-61=20', '20-4=16']
Exploring Operation: 49+16=65, Resulting Numbers: [65]
65,27 unequal: No Solution
Exploring Operation: 49*16=784, Resulting Numbers: [784]
784,27 unequal: No Solution
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,27 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: 27:[61, 4, 32], Operations: ['81-49=32']
Exploring Operation: 32/4=8, Resulting Numbers: [61, 8]
Generated Node #0,2,0: 27:[61, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [61, 28]
Generated Node #0,2,1: 27:[61, 28] Operation: 32-4=28
Exploring Operation: 61-4=57, Resulting Numbers: [32, 57]
Generated Node #0,2,2: 27:[32, 57] Operation: 61-4=57
Exploring Operation: 61-32=29, Resulting Numbers: [4, 29]
Generated Node #0,2,3: 27:[4, 29] Operation: 61-32=29
Exploring Operation: 61+4=65, Resulting Numbers: [32, 65]
Generated Node #0,2,4: 27:[32, 65] Operation: 61+4=65
Moving to Node #0,1
Current State: 27:[4, 81, 12], Operations: ['61-49=12']
Exploring Operation: 81-4=77, Resulting Numbers: [12, 77]
Generated Node #0,1,0: 27:[12, 77] Operation: 81-4=77
Exploring Operation: 12-4=8, Resulting Numbers: [81, 8]
Generated Node #0,1,1: 27:[81, 8] Operation: 12-4=8
Exploring Operation: 81-12=69, Resulting Numbers: [4, 69]
Generated Node #0,1,2: 27:[4, 69] Operation: 81-12=69
Exploring Operation: 12/4=3, Resulting Numbers: [81, 3]
Generated Node #0,1,3: 27:[81, 3] Operation: 12/4=3
Exploring Operation: 4+81=85, Resulting Numbers: [12, 85]
Generated Node #0,1,4: 27:[12, 85] Operation: 4+81=85
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 27:[4, 69], Operations: ['61-49=12', '81-12=69']
Exploring Operation: 4*69=276, Resulting Numbers: [276]
276,27 unequal: No Solution
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[12, 77], Operations: ['61-49=12', '81-4=77']
Exploring Operation: 12*77=924, Resulting Numbers: [924]
924,27 unequal: No Solution
Exploring Operation: 12+77=89, Resulting Numbers: [89]
89,27 unequal: No Solution
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 27:[81, 3], Operations: ['61-49=12', '12/4=3']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[61, 4, 81, 49], Operations: []
Exploring Operation: 61-49=12, Resulting Numbers: [4, 81, 12]
Generated Node #0,1: 27:[4, 81, 12] Operation: 61-49=12
Moving to Node #0,1
Current State: 27:[4, 81, 12], Operations: ['61-49=12']
Exploring Operation: 12/4=3, Resulting Numbers: [81, 3]
Generated Node #0,1,3: 27:[81, 3] Operation: 12/4=3
Moving to Node #0,1,3
Current State: 27:[81, 3], Operations: ['61-49=12', '12/4=3']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | mult_heuristic |
[
68,
70,
12,
36
] | 22 | [
"70-68=2",
"36-12=24",
"24-2=22"
] | Current State: 22:[68, 70, 12, 36], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [12, 36, 2]
Generated Node #2: [12, 36, 2] from Operation: 70-68=2
Current State: 22:[12, 36, 2], Operations: ['70-68=2']
Exploring Operation: 36-12=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 36-12=24
Current State: 22:[2, 24], Operations: ['70-68=2', '36-12=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[68, 70, 12, 36], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [12, 36, 2]
Generated Node #0,0: 22:[12, 36, 2] Operation: 70-68=2
Exploring Operation: 70-36=34, Resulting Numbers: [68, 12, 34]
Generated Node #0,1: 22:[68, 12, 34] Operation: 70-36=34
Exploring Operation: 68-36=32, Resulting Numbers: [70, 12, 32]
Generated Node #0,2: 22:[70, 12, 32] Operation: 68-36=32
Moving to Node #0,0
Current State: 22:[12, 36, 2], Operations: ['70-68=2']
Exploring Operation: 36/12=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 22:[2, 3] Operation: 36/12=3
Exploring Operation: 36/2=18, Resulting Numbers: [12, 18]
Generated Node #0,0,1: 22:[12, 18] Operation: 36/2=18
Exploring Operation: 36-12=24, Resulting Numbers: [2, 24]
Generated Node #0,0,2: 22:[2, 24] Operation: 36-12=24
Moving to Node #0,1
Current State: 22:[68, 12, 34], Operations: ['70-36=34']
Exploring Operation: 68-12=56, Resulting Numbers: [34, 56]
Generated Node #0,1,0: 22:[34, 56] Operation: 68-12=56
Exploring Operation: 68/34=2, Resulting Numbers: [12, 2]
Generated Node #0,1,1: 22:[12, 2] Operation: 68/34=2
Exploring Operation: 68-34=34, Resulting Numbers: [12, 34]
Generated Node #0,1,2: 22:[12, 34] Operation: 68-34=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[12, 2], Operations: ['70-36=34', '68/34=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,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,1,2
Current State: 22:[12, 34], Operations: ['70-36=34', '68-34=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[68, 70, 12, 36], Operations: []
Exploring Operation: 70-36=34, Resulting Numbers: [68, 12, 34]
Generated Node #0,1: 22:[68, 12, 34] Operation: 70-36=34
Moving to Node #0,1
Current State: 22:[68, 12, 34], Operations: ['70-36=34']
Exploring Operation: 68-34=34, Resulting Numbers: [12, 34]
Generated Node #0,1,2: 22:[12, 34] Operation: 68-34=34
Moving to Node #0,1,2
Current State: 22:[12, 34], Operations: ['70-36=34', '68-34=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
44,
42,
89,
71
] | 36 | [
"44-42=2",
"89-71=18",
"2*18=36"
] | Current State: 36:[44, 42, 89, 71], Operations: []
Exploring Operation: 44-42=2, Resulting Numbers: [89, 71, 2]
Generated Node #2: [89, 71, 2] from Operation: 44-42=2
Current State: 36:[89, 71, 2], Operations: ['44-42=2']
Exploring Operation: 89-71=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 89-71=18
Current State: 36:[2, 18], Operations: ['44-42=2', '89-71=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[44, 42, 89, 71], Operations: []
Exploring Operation: 71-42=29, Resulting Numbers: [44, 89, 29]
Generated Node #0,0: 36:[44, 89, 29] Operation: 71-42=29
Exploring Operation: 89-44=45, Resulting Numbers: [42, 71, 45]
Generated Node #0,1: 36:[42, 71, 45] Operation: 89-44=45
Exploring Operation: 71-44=27, Resulting Numbers: [42, 89, 27]
Generated Node #0,2: 36:[42, 89, 27] Operation: 71-44=27
Exploring Operation: 89-71=18, Resulting Numbers: [44, 42, 18]
Generated Node #0,3: 36:[44, 42, 18] Operation: 89-71=18
Exploring Operation: 89-42=47, Resulting Numbers: [44, 71, 47]
Generated Node #0,4: 36:[44, 71, 47] Operation: 89-42=47
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[44, 42, 18], Operations: ['89-71=18']
Exploring Operation: 42-18=24, Resulting Numbers: [44, 24]
Generated Node #0,3,0: 36:[44, 24] Operation: 42-18=24
Exploring Operation: 44+18=62, Resulting Numbers: [42, 62]
Generated Node #0,3,1: 36:[42, 62] Operation: 44+18=62
Exploring Operation: 42+18=60, Resulting Numbers: [44, 60]
Generated Node #0,3,2: 36:[44, 60] Operation: 42+18=60
Exploring Operation: 44-42=2, Resulting Numbers: [18, 2]
Generated Node #0,3,3: 36:[18, 2] Operation: 44-42=2
Exploring Operation: 44-18=26, Resulting Numbers: [42, 26]
Generated Node #0,3,4: 36:[42, 26] Operation: 44-18=26
Moving to Node #0,3,3
Current State: 36:[18, 2], Operations: ['89-71=18', '44-42=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[44, 42, 89, 71], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [44, 42, 18]
Generated Node #0,3: 36:[44, 42, 18] Operation: 89-71=18
Moving to Node #0,3
Current State: 36:[44, 42, 18], Operations: ['89-71=18']
Exploring Operation: 44-42=2, Resulting Numbers: [18, 2]
Generated Node #0,3,3: 36:[18, 2] Operation: 44-42=2
Moving to Node #0,3,3
Current State: 36:[18, 2], Operations: ['89-71=18', '44-42=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
1,
59,
2,
38
] | 49 | [
"1+59=60",
"38+60=98",
"98/2=49"
] | Current State: 49:[1, 59, 2, 38], Operations: []
Exploring Operation: 1+59=60, Resulting Numbers: [2, 38, 60]
Generated Node #2: [2, 38, 60] from Operation: 1+59=60
Current State: 49:[2, 38, 60], Operations: ['1+59=60']
Exploring Operation: 38+60=98, Resulting Numbers: [2, 98]
Generated Node #3: [2, 98] from Operation: 38+60=98
Current State: 49:[2, 98], Operations: ['1+59=60', '38+60=98']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[1, 59, 2, 38], Operations: []
Exploring Operation: 1+38=39, Resulting Numbers: [59, 2, 39]
Generated Node #0,0: 49:[59, 2, 39] Operation: 1+38=39
Exploring Operation: 1+2=3, Resulting Numbers: [59, 38, 3]
Generated Node #0,1: 49:[59, 38, 3] Operation: 1+2=3
Exploring Operation: 59-1=58, Resulting Numbers: [2, 38, 58]
Generated Node #0,2: 49:[2, 38, 58] Operation: 59-1=58
Exploring Operation: 59-2=57, Resulting Numbers: [1, 38, 57]
Generated Node #0,3: 49:[1, 38, 57] Operation: 59-2=57
Moving to Node #0,0
Current State: 49:[59, 2, 39], Operations: ['1+38=39']
Exploring Operation: 59-39=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 49:[2, 20] Operation: 59-39=20
Exploring Operation: 59-2=57, Resulting Numbers: [39, 57]
Generated Node #0,0,1: 49:[39, 57] Operation: 59-2=57
Exploring Operation: 59+2=61, Resulting Numbers: [39, 61]
Generated Node #0,0,2: 49:[39, 61] Operation: 59+2=61
Exploring Operation: 2+39=41, Resulting Numbers: [59, 41]
Generated Node #0,0,3: 49:[59, 41] Operation: 2+39=41
Moving to Node #0,2
Current State: 49:[2, 38, 58], Operations: ['59-1=58']
Exploring Operation: 2+38=40, Resulting Numbers: [58, 40]
Generated Node #0,2,0: 49:[58, 40] Operation: 2+38=40
Exploring Operation: 38/2=19, Resulting Numbers: [58, 19]
Generated Node #0,2,1: 49:[58, 19] Operation: 38/2=19
Exploring Operation: 58-2=56, Resulting Numbers: [38, 56]
Generated Node #0,2,2: 49:[38, 56] Operation: 58-2=56
Exploring Operation: 58-38=20, Resulting Numbers: [2, 20]
Generated Node #0,2,3: 49:[2, 20] Operation: 58-38=20
Moving to Node #0,1
Current State: 49:[59, 38, 3], Operations: ['1+2=3']
Exploring Operation: 59+3=62, Resulting Numbers: [38, 62]
Generated Node #0,1,0: 49:[38, 62] Operation: 59+3=62
Exploring Operation: 38+3=41, Resulting Numbers: [59, 41]
Generated Node #0,1,1: 49:[59, 41] Operation: 38+3=41
Exploring Operation: 59-3=56, Resulting Numbers: [38, 56]
Generated Node #0,1,2: 49:[38, 56] Operation: 59-3=56
Exploring Operation: 59-38=21, Resulting Numbers: [3, 21]
Generated Node #0,1,3: 49:[3, 21] Operation: 59-38=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[59, 41], Operations: ['1+2=3', '38+3=41']
Exploring Operation: 59*41=2419, Resulting Numbers: [2419]
2419,49 unequal: No Solution
Exploring Operation: 59+41=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,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,1,2
Current State: 49:[38, 56], Operations: ['1+2=3', '59-3=56']
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,49 unequal: No Solution
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,49 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,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,1,3
Current State: 49:[3, 21], Operations: ['1+2=3', '59-38=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,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,1,0
Current State: 49:[38, 62], Operations: ['1+2=3', '59+3=62']
Exploring Operation: 38*62=2356, Resulting Numbers: [2356]
2356,49 unequal: No Solution
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,49 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: 49:[1, 38, 57], Operations: ['59-2=57']
Exploring Operation: 57-38=19, Resulting Numbers: [1, 19]
Generated Node #0,3,0: 49:[1, 19] Operation: 57-38=19
Exploring Operation: 1+38=39, Resulting Numbers: [57, 39]
Generated Node #0,3,1: 49:[57, 39] Operation: 1+38=39
Exploring Operation: 57-1=56, Resulting Numbers: [38, 56]
Generated Node #0,3,2: 49:[38, 56] Operation: 57-1=56
Exploring Operation: 1*38=38, Resulting Numbers: [57, 38]
Generated Node #0,3,3: 49:[57, 38] Operation: 1*38=38
Moving to Node #0,0,0
Current State: 49:[2, 20], Operations: ['1+38=39', '59-39=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[59, 41], Operations: ['1+38=39', '2+39=41']
Exploring Operation: 59*41=2419, Resulting Numbers: [2419]
2419,49 unequal: No Solution
Exploring Operation: 59+41=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[2, 20], Operations: ['59-1=58', '58-38=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[38, 56], Operations: ['59-1=58', '58-2=56']
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,49 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[38, 56], Operations: ['59-2=57', '57-1=56']
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,49 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[57, 39], Operations: ['59-2=57', '1+38=39']
Exploring Operation: 57*39=2223, Resulting Numbers: [2223]
2223,49 unequal: No Solution
Exploring Operation: 57+39=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[39, 57], Operations: ['1+38=39', '59-2=57']
Exploring Operation: 39*57=2223, Resulting Numbers: [2223]
2223,49 unequal: No Solution
Exploring Operation: 39+57=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[58, 40], Operations: ['59-1=58', '2+38=40']
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 58*40=2320, Resulting Numbers: [2320]
2320,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[1, 19], Operations: ['59-2=57', '57-38=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[57, 38], Operations: ['59-2=57', '1*38=38']
Exploring Operation: 57*38=2166, Resulting Numbers: [2166]
2166,49 unequal: No Solution
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 57+38=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[58, 19], Operations: ['59-1=58', '38/2=19']
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,49 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 58*19=1102, Resulting Numbers: [1102]
1102,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[39, 61], Operations: ['1+38=39', '59+2=61']
Exploring Operation: 39*61=2379, Resulting Numbers: [2379]
2379,49 unequal: No Solution
Exploring Operation: 39+61=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,49 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
30,
24,
1,
26
] | 100 | [
"30-26=4",
"24+1=25",
"4*25=100"
] | Current State: 100:[30, 24, 1, 26], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [24, 1, 4]
Generated Node #2: [24, 1, 4] from Operation: 30-26=4
Current State: 100:[24, 1, 4], Operations: ['30-26=4']
Exploring Operation: 24+1=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 24+1=25
Current State: 100:[4, 25], Operations: ['30-26=4', '24+1=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[30, 24, 1, 26], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [24, 1, 4]
Generated Node #0,0: 100:[24, 1, 4] Operation: 30-26=4
Exploring Operation: 30-24=6, Resulting Numbers: [1, 26, 6]
Generated Node #0,1: 100:[1, 26, 6] Operation: 30-24=6
Moving to Node #0,0
Current State: 100:[24, 1, 4], Operations: ['30-26=4']
Exploring Operation: 24+1=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 100:[4, 25] Operation: 24+1=25
Exploring Operation: 24*1=24, Resulting Numbers: [4, 24]
Generated Node #0,0,1: 100:[4, 24] Operation: 24*1=24
Moving to Node #0,1
Current State: 100:[1, 26, 6], Operations: ['30-24=6']
Exploring Operation: 6-1=5, Resulting Numbers: [26, 5]
Generated Node #0,1,0: 100:[26, 5] Operation: 6-1=5
Exploring Operation: 26-1=25, Resulting Numbers: [6, 25]
Generated Node #0,1,1: 100:[6, 25] Operation: 26-1=25
Moving to Node #0,0,0
Current State: 100:[4, 25], Operations: ['30-26=4', '24+1=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[30, 24, 1, 26], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [24, 1, 4]
Generated Node #0,0: 100:[24, 1, 4] Operation: 30-26=4
Moving to Node #0,0
Current State: 100:[24, 1, 4], Operations: ['30-26=4']
Exploring Operation: 24+1=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 100:[4, 25] Operation: 24+1=25
Moving to Node #0,0,0
Current State: 100:[4, 25], Operations: ['30-26=4', '24+1=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
53,
35,
84,
8
] | 94 | [
"53-35=18",
"84-8=76",
"18+76=94"
] | Current State: 94:[53, 35, 84, 8], Operations: []
Exploring Operation: 53-35=18, Resulting Numbers: [84, 8, 18]
Generated Node #2: [84, 8, 18] from Operation: 53-35=18
Current State: 94:[84, 8, 18], Operations: ['53-35=18']
Exploring Operation: 84-8=76, Resulting Numbers: [18, 76]
Generated Node #3: [18, 76] from Operation: 84-8=76
Current State: 94:[18, 76], Operations: ['53-35=18', '84-8=76']
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[53, 35, 84, 8], Operations: []
Exploring Operation: 35+8=43, Resulting Numbers: [53, 84, 43]
Generated Node #0,0: 94:[53, 84, 43] Operation: 35+8=43
Exploring Operation: 84-35=49, Resulting Numbers: [53, 8, 49]
Generated Node #0,1: 94:[53, 8, 49] Operation: 84-35=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[53, 8, 49], Operations: ['84-35=49']
Exploring Operation: 53-49=4, Resulting Numbers: [8, 4]
Generated Node #0,1,0: 94:[8, 4] Operation: 53-49=4
Exploring Operation: 53-8=45, Resulting Numbers: [49, 45]
Generated Node #0,1,1: 94:[49, 45] Operation: 53-8=45
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[49, 45], Operations: ['84-35=49', '53-8=45']
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[53, 35, 84, 8], Operations: []
Exploring Operation: 84-35=49, Resulting Numbers: [53, 8, 49]
Generated Node #0,1: 94:[53, 8, 49] Operation: 84-35=49
Moving to Node #0,1
Current State: 94:[53, 8, 49], Operations: ['84-35=49']
Exploring Operation: 53-8=45, Resulting Numbers: [49, 45]
Generated Node #0,1,1: 94:[49, 45] Operation: 53-8=45
Moving to Node #0,1,1
Current State: 94:[49, 45], Operations: ['84-35=49', '53-8=45']
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
94,
57,
60,
61
] | 99 | [
"94-61=33",
"60-57=3",
"33*3=99"
] | Current State: 99:[94, 57, 60, 61], Operations: []
Exploring Operation: 94-61=33, Resulting Numbers: [57, 60, 33]
Generated Node #2: [57, 60, 33] from Operation: 94-61=33
Current State: 99:[57, 60, 33], Operations: ['94-61=33']
Exploring Operation: 60-57=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 60-57=3
Current State: 99:[33, 3], Operations: ['94-61=33', '60-57=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[94, 57, 60, 61], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [94, 61, 3]
Generated Node #0,0: 99:[94, 61, 3] Operation: 60-57=3
Exploring Operation: 94-61=33, Resulting Numbers: [57, 60, 33]
Generated Node #0,1: 99:[57, 60, 33] Operation: 94-61=33
Exploring Operation: 61-57=4, Resulting Numbers: [94, 60, 4]
Generated Node #0,2: 99:[94, 60, 4] Operation: 61-57=4
Exploring Operation: 61-60=1, Resulting Numbers: [94, 57, 1]
Generated Node #0,3: 99:[94, 57, 1] Operation: 61-60=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[94, 57, 1], Operations: ['61-60=1']
Exploring Operation: 94*1=94, Resulting Numbers: [57, 94]
Generated Node #0,3,0: 99:[57, 94] Operation: 94*1=94
Exploring Operation: 94+1=95, Resulting Numbers: [57, 95]
Generated Node #0,3,1: 99:[57, 95] Operation: 94+1=95
Exploring Operation: 94-57=37, Resulting Numbers: [1, 37]
Generated Node #0,3,2: 99:[1, 37] Operation: 94-57=37
Exploring Operation: 57-1=56, Resulting Numbers: [94, 56]
Generated Node #0,3,3: 99:[94, 56] Operation: 57-1=56
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 99:[1, 37], Operations: ['61-60=1', '94-57=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 99:[57, 95], Operations: ['61-60=1', '94+1=95']
Exploring Operation: 57*95=5415, Resulting Numbers: [5415]
5415,99 unequal: No Solution
Exploring Operation: 57+95=152, Resulting Numbers: [152]
152,99 unequal: No Solution
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 99:[94, 56], Operations: ['61-60=1', '57-1=56']
Exploring Operation: 94*56=5264, Resulting Numbers: [5264]
5264,99 unequal: No Solution
Exploring Operation: 94+56=150, Resulting Numbers: [150]
150,99 unequal: No Solution
Exploring Operation: 94-56=38, Resulting Numbers: [38]
38,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 99:[57, 94], Operations: ['61-60=1', '94*1=94']
Exploring Operation: 57*94=5358, Resulting Numbers: [5358]
5358,99 unequal: No Solution
Exploring Operation: 57+94=151, Resulting Numbers: [151]
151,99 unequal: No Solution
Exploring Operation: 94-57=37, Resulting Numbers: [37]
37,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[94, 61, 3], Operations: ['60-57=3']
Exploring Operation: 94+3=97, Resulting Numbers: [61, 97]
Generated Node #0,0,0: 99:[61, 97] Operation: 94+3=97
Exploring Operation: 94-61=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 99:[3, 33] Operation: 94-61=33
Exploring Operation: 94-3=91, Resulting Numbers: [61, 91]
Generated Node #0,0,2: 99:[61, 91] Operation: 94-3=91
Exploring Operation: 61-3=58, Resulting Numbers: [94, 58]
Generated Node #0,0,3: 99:[94, 58] Operation: 61-3=58
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[3, 33], Operations: ['60-57=3', '94-61=33']
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[94, 57, 60, 61], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [94, 61, 3]
Generated Node #0,0: 99:[94, 61, 3] Operation: 60-57=3
Moving to Node #0,0
Current State: 99:[94, 61, 3], Operations: ['60-57=3']
Exploring Operation: 94-61=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 99:[3, 33] Operation: 94-61=33
Moving to Node #0,0,1
Current State: 99:[3, 33], Operations: ['60-57=3', '94-61=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
80,
99,
49,
59
] | 29 | [
"99-80=19",
"59-49=10",
"19+10=29"
] | Current State: 29:[80, 99, 49, 59], Operations: []
Exploring Operation: 99-80=19, Resulting Numbers: [49, 59, 19]
Generated Node #2: [49, 59, 19] from Operation: 99-80=19
Current State: 29:[49, 59, 19], Operations: ['99-80=19']
Exploring Operation: 59-49=10, Resulting Numbers: [19, 10]
Generated Node #3: [19, 10] from Operation: 59-49=10
Current State: 29:[19, 10], Operations: ['99-80=19', '59-49=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[80, 99, 49, 59], Operations: []
Exploring Operation: 99-80=19, Resulting Numbers: [49, 59, 19]
Generated Node #0,0: 29:[49, 59, 19] Operation: 99-80=19
Exploring Operation: 99-59=40, Resulting Numbers: [80, 49, 40]
Generated Node #0,1: 29:[80, 49, 40] Operation: 99-59=40
Moving to Node #0,0
Current State: 29:[49, 59, 19], Operations: ['99-80=19']
Exploring Operation: 49-19=30, Resulting Numbers: [59, 30]
Generated Node #0,0,0: 29:[59, 30] Operation: 49-19=30
Exploring Operation: 59-49=10, Resulting Numbers: [19, 10]
Generated Node #0,0,1: 29:[19, 10] Operation: 59-49=10
Moving to Node #0,1
Current State: 29:[80, 49, 40], Operations: ['99-59=40']
Exploring Operation: 80-40=40, Resulting Numbers: [49, 40]
Generated Node #0,1,0: 29:[49, 40] Operation: 80-40=40
Exploring Operation: 80-49=31, Resulting Numbers: [40, 31]
Generated Node #0,1,1: 29:[40, 31] Operation: 80-49=31
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[40, 31], Operations: ['99-59=40', '80-49=31']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[49, 40], Operations: ['99-59=40', '80-40=40']
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,29 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,29 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: 29:[19, 10], Operations: ['99-80=19', '59-49=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[80, 99, 49, 59], Operations: []
Exploring Operation: 99-80=19, Resulting Numbers: [49, 59, 19]
Generated Node #0,0: 29:[49, 59, 19] Operation: 99-80=19
Moving to Node #0,0
Current State: 29:[49, 59, 19], Operations: ['99-80=19']
Exploring Operation: 59-49=10, Resulting Numbers: [19, 10]
Generated Node #0,0,1: 29:[19, 10] Operation: 59-49=10
Moving to Node #0,0,1
Current State: 29:[19, 10], Operations: ['99-80=19', '59-49=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
31,
48,
40,
45
] | 74 | [
"31+48=79",
"45-40=5",
"79-5=74"
] | Current State: 74:[31, 48, 40, 45], Operations: []
Exploring Operation: 31+48=79, Resulting Numbers: [40, 45, 79]
Generated Node #2: [40, 45, 79] from Operation: 31+48=79
Current State: 74:[40, 45, 79], Operations: ['31+48=79']
Exploring Operation: 45-40=5, Resulting Numbers: [79, 5]
Generated Node #3: [79, 5] from Operation: 45-40=5
Current State: 74:[79, 5], Operations: ['31+48=79', '45-40=5']
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[31, 48, 40, 45], Operations: []
Exploring Operation: 31+48=79, Resulting Numbers: [40, 45, 79]
Generated Node #0,0: 74:[40, 45, 79] Operation: 31+48=79
Exploring Operation: 48-45=3, Resulting Numbers: [31, 40, 3]
Generated Node #0,1: 74:[31, 40, 3] Operation: 48-45=3
Exploring Operation: 31+45=76, Resulting Numbers: [48, 40, 76]
Generated Node #0,2: 74:[48, 40, 76] Operation: 31+45=76
Moving to Node #0,1
Current State: 74:[31, 40, 3], Operations: ['48-45=3']
Exploring Operation: 40-3=37, Resulting Numbers: [31, 37]
Generated Node #0,1,0: 74:[31, 37] Operation: 40-3=37
Exploring Operation: 31+40=71, Resulting Numbers: [3, 71]
Generated Node #0,1,1: 74:[3, 71] Operation: 31+40=71
Exploring Operation: 31+3=34, Resulting Numbers: [40, 34]
Generated Node #0,1,2: 74:[40, 34] Operation: 31+3=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[3, 71], Operations: ['48-45=3', '31+40=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[31, 48, 40, 45], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [31, 40, 3]
Generated Node #0,1: 74:[31, 40, 3] Operation: 48-45=3
Moving to Node #0,1
Current State: 74:[31, 40, 3], Operations: ['48-45=3']
Exploring Operation: 31+40=71, Resulting Numbers: [3, 71]
Generated Node #0,1,1: 74:[3, 71] Operation: 31+40=71
Moving to Node #0,1,1
Current State: 74:[3, 71], Operations: ['48-45=3', '31+40=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
8,
2,
40,
62
] | 68 | [
"62-8=54",
"2*54=108",
"108-40=68"
] | Current State: 68:[8, 2, 40, 62], Operations: []
Exploring Operation: 62-8=54, Resulting Numbers: [2, 40, 54]
Generated Node #2: [2, 40, 54] from Operation: 62-8=54
Current State: 68:[2, 40, 54], Operations: ['62-8=54']
Exploring Operation: 2*54=108, Resulting Numbers: [40, 108]
Generated Node #3: [40, 108] from Operation: 2*54=108
Current State: 68:[40, 108], Operations: ['62-8=54', '2*54=108']
Exploring Operation: 108-40=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[8, 2, 40, 62], Operations: []
Exploring Operation: 40/8=5, Resulting Numbers: [2, 62, 5]
Generated Node #0,0: 68:[2, 62, 5] Operation: 40/8=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[2, 62, 5], Operations: ['40/8=5']
Exploring Operation: 62+5=67, Resulting Numbers: [2, 67]
Generated Node #0,0,0: 68:[2, 67] Operation: 62+5=67
Moving to Node #0,0,0
Current State: 68:[2, 67], Operations: ['40/8=5', '62+5=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,68 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 |
[
76,
50,
63,
4
] | 32 | [
"76/4=19",
"63-50=13",
"19+13=32"
] | Current State: 32:[76, 50, 63, 4], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [50, 63, 19]
Generated Node #2: [50, 63, 19] from Operation: 76/4=19
Current State: 32:[50, 63, 19], Operations: ['76/4=19']
Exploring Operation: 63-50=13, Resulting Numbers: [19, 13]
Generated Node #3: [19, 13] from Operation: 63-50=13
Current State: 32:[19, 13], Operations: ['76/4=19', '63-50=13']
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[76, 50, 63, 4], Operations: []
Exploring Operation: 76-4=72, Resulting Numbers: [50, 63, 72]
Generated Node #0,0: 32:[50, 63, 72] Operation: 76-4=72
Exploring Operation: 76/4=19, Resulting Numbers: [50, 63, 19]
Generated Node #0,1: 32:[50, 63, 19] Operation: 76/4=19
Exploring Operation: 76-63=13, Resulting Numbers: [50, 4, 13]
Generated Node #0,2: 32:[50, 4, 13] Operation: 76-63=13
Exploring Operation: 76-50=26, Resulting Numbers: [63, 4, 26]
Generated Node #0,3: 32:[63, 4, 26] Operation: 76-50=26
Exploring Operation: 63-50=13, Resulting Numbers: [76, 4, 13]
Generated Node #0,4: 32:[76, 4, 13] Operation: 63-50=13
Moving to Node #0,2
Current State: 32:[50, 4, 13], Operations: ['76-63=13']
Exploring Operation: 50-4=46, Resulting Numbers: [13, 46]
Generated Node #0,2,0: 32:[13, 46] Operation: 50-4=46
Exploring Operation: 50+4=54, Resulting Numbers: [13, 54]
Generated Node #0,2,1: 32:[13, 54] Operation: 50+4=54
Exploring Operation: 13-4=9, Resulting Numbers: [50, 9]
Generated Node #0,2,2: 32:[50, 9] Operation: 13-4=9
Exploring Operation: 50-13=37, Resulting Numbers: [4, 37]
Generated Node #0,2,3: 32:[4, 37] Operation: 50-13=37
Exploring Operation: 4+13=17, Resulting Numbers: [50, 17]
Generated Node #0,2,4: 32:[50, 17] Operation: 4+13=17
Moving to Node #0,3
Current State: 32:[63, 4, 26], Operations: ['76-50=26']
Exploring Operation: 4+26=30, Resulting Numbers: [63, 30]
Generated Node #0,3,0: 32:[63, 30] Operation: 4+26=30
Exploring Operation: 26-4=22, Resulting Numbers: [63, 22]
Generated Node #0,3,1: 32:[63, 22] Operation: 26-4=22
Exploring Operation: 63-4=59, Resulting Numbers: [26, 59]
Generated Node #0,3,2: 32:[26, 59] Operation: 63-4=59
Exploring Operation: 63+4=67, Resulting Numbers: [26, 67]
Generated Node #0,3,3: 32:[26, 67] Operation: 63+4=67
Exploring Operation: 63-26=37, Resulting Numbers: [4, 37]
Generated Node #0,3,4: 32:[4, 37] Operation: 63-26=37
Moving to Node #0,4
Current State: 32:[76, 4, 13], Operations: ['63-50=13']
Exploring Operation: 76-13=63, Resulting Numbers: [4, 63]
Generated Node #0,4,0: 32:[4, 63] Operation: 76-13=63
Exploring Operation: 13-4=9, Resulting Numbers: [76, 9]
Generated Node #0,4,1: 32:[76, 9] Operation: 13-4=9
Exploring Operation: 4+13=17, Resulting Numbers: [76, 17]
Generated Node #0,4,2: 32:[76, 17] Operation: 4+13=17
Exploring Operation: 76/4=19, Resulting Numbers: [13, 19]
Generated Node #0,4,3: 32:[13, 19] Operation: 76/4=19
Exploring Operation: 76-4=72, Resulting Numbers: [13, 72]
Generated Node #0,4,4: 32:[13, 72] Operation: 76-4=72
Moving to Node #0,1
Current State: 32:[50, 63, 19], Operations: ['76/4=19']
Exploring Operation: 63-19=44, Resulting Numbers: [50, 44]
Generated Node #0,1,0: 32:[50, 44] Operation: 63-19=44
Exploring Operation: 50-19=31, Resulting Numbers: [63, 31]
Generated Node #0,1,1: 32:[63, 31] Operation: 50-19=31
Exploring Operation: 63+19=82, Resulting Numbers: [50, 82]
Generated Node #0,1,2: 32:[50, 82] Operation: 63+19=82
Exploring Operation: 63-50=13, Resulting Numbers: [19, 13]
Generated Node #0,1,3: 32:[19, 13] Operation: 63-50=13
Exploring Operation: 50+19=69, Resulting Numbers: [63, 69]
Generated Node #0,1,4: 32:[63, 69] Operation: 50+19=69
Moving to Node #0,0
Current State: 32:[50, 63, 72], Operations: ['76-4=72']
Exploring Operation: 63-50=13, Resulting Numbers: [72, 13]
Generated Node #0,0,0: 32:[72, 13] Operation: 63-50=13
Exploring Operation: 72-50=22, Resulting Numbers: [63, 22]
Generated Node #0,0,1: 32:[63, 22] Operation: 72-50=22
Exploring Operation: 50+63=113, Resulting Numbers: [72, 113]
Generated Node #0,0,2: 32:[72, 113] Operation: 50+63=113
Exploring Operation: 72-63=9, Resulting Numbers: [50, 9]
Generated Node #0,0,3: 32:[50, 9] Operation: 72-63=9
Exploring Operation: 50+72=122, Resulting Numbers: [63, 122]
Generated Node #0,0,4: 32:[63, 122] Operation: 50+72=122
Moving to Node #0,2,3
Current State: 32:[4, 37], Operations: ['76-63=13', '50-13=37']
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,32 unequal: No Solution
Moving to Node #0,3,4
Current State: 32:[4, 37], Operations: ['76-50=26', '63-26=37']
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,32 unequal: No Solution
Moving to Node #0,4,3
Current State: 32:[13, 19], Operations: ['63-50=13', '76/4=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,32 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[76, 50, 63, 4], Operations: []
Exploring Operation: 63-50=13, Resulting Numbers: [76, 4, 13]
Generated Node #0,4: 32:[76, 4, 13] Operation: 63-50=13
Moving to Node #0,4
Current State: 32:[76, 4, 13], Operations: ['63-50=13']
Exploring Operation: 76/4=19, Resulting Numbers: [13, 19]
Generated Node #0,4,3: 32:[13, 19] Operation: 76/4=19
Moving to Node #0,4,3
Current State: 32:[13, 19], Operations: ['63-50=13', '76/4=19']
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.963542 | hs_5 | mult_heuristic |
[
4,
43,
3,
40
] | 93 | [
"40-4=36",
"43*3=129",
"129-36=93"
] | Current State: 93:[4, 43, 3, 40], Operations: []
Exploring Operation: 40-4=36, Resulting Numbers: [43, 3, 36]
Generated Node #2: [43, 3, 36] from Operation: 40-4=36
Current State: 93:[43, 3, 36], Operations: ['40-4=36']
Exploring Operation: 43*3=129, Resulting Numbers: [36, 129]
Generated Node #3: [36, 129] from Operation: 43*3=129
Current State: 93:[36, 129], Operations: ['40-4=36', '43*3=129']
Exploring Operation: 129-36=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[4, 43, 3, 40], Operations: []
Exploring Operation: 43+40=83, Resulting Numbers: [4, 3, 83]
Generated Node #0,0: 93:[4, 3, 83] Operation: 43+40=83
Exploring Operation: 43-40=3, Resulting Numbers: [4, 3, 3]
Generated Node #0,1: 93:[4, 3, 3] Operation: 43-40=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[4, 3, 3], Operations: ['43-40=3']
Exploring Operation: 4-3=1, Resulting Numbers: [3, 1]
Generated Node #0,1,0: 93:[3, 1] Operation: 4-3=1
Exploring Operation: 4-3=1, Resulting Numbers: [3, 1]
Generated Node #0,1,1: 93:[3, 1] Operation: 4-3=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[3, 1], Operations: ['43-40=3', '4-3=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[3, 1], Operations: ['43-40=3', '4-3=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[4, 3, 83], Operations: ['43+40=83']
Exploring Operation: 3+83=86, Resulting Numbers: [4, 86]
Generated Node #0,0,0: 93:[4, 86] Operation: 3+83=86
Exploring Operation: 4+83=87, Resulting Numbers: [3, 87]
Generated Node #0,0,1: 93:[3, 87] Operation: 4+83=87
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[3, 87], Operations: ['43+40=83', '4+83=87']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[4, 86], Operations: ['43+40=83', '3+83=86']
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,93 unequal: No Solution
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
57,
8,
31,
23
] | 58 | [
"31-8=23",
"23/23=1",
"57+1=58"
] | Current State: 58:[57, 8, 31, 23], Operations: []
Exploring Operation: 31-8=23, Resulting Numbers: [57, 23, 23]
Generated Node #2: [57, 23, 23] from Operation: 31-8=23
Current State: 58:[57, 23, 23], Operations: ['31-8=23']
Exploring Operation: 23/23=1, Resulting Numbers: [57, 1]
Generated Node #3: [57, 1] from Operation: 23/23=1
Current State: 58:[57, 1], Operations: ['31-8=23', '23/23=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[57, 8, 31, 23], Operations: []
Exploring Operation: 31+23=54, Resulting Numbers: [57, 8, 54]
Generated Node #0,0: 58:[57, 8, 54] Operation: 31+23=54
Exploring Operation: 8+23=31, Resulting Numbers: [57, 31, 31]
Generated Node #0,1: 58:[57, 31, 31] Operation: 8+23=31
Moving to Node #0,1
Current State: 58:[57, 31, 31], Operations: ['8+23=31']
Exploring Operation: 31/31=1, Resulting Numbers: [57, 1]
Generated Node #0,1,0: 58:[57, 1] Operation: 31/31=1
Exploring Operation: 31-31=0, Resulting Numbers: [57, 0]
Generated Node #0,1,1: 58:[57, 0] Operation: 31-31=0
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[57, 1], Operations: ['8+23=31', '31/31=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[57, 8, 31, 23], Operations: []
Exploring Operation: 8+23=31, Resulting Numbers: [57, 31, 31]
Generated Node #0,1: 58:[57, 31, 31] Operation: 8+23=31
Moving to Node #0,1
Current State: 58:[57, 31, 31], Operations: ['8+23=31']
Exploring Operation: 31/31=1, Resulting Numbers: [57, 1]
Generated Node #0,1,0: 58:[57, 1] Operation: 31/31=1
Moving to Node #0,1,0
Current State: 58:[57, 1], Operations: ['8+23=31', '31/31=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
64,
2,
1,
12
] | 74 | [
"64-2=62",
"1*12=12",
"62+12=74"
] | Current State: 74:[64, 2, 1, 12], Operations: []
Exploring Operation: 64-2=62, Resulting Numbers: [1, 12, 62]
Generated Node #2: [1, 12, 62] from Operation: 64-2=62
Current State: 74:[1, 12, 62], Operations: ['64-2=62']
Exploring Operation: 1*12=12, Resulting Numbers: [62, 12]
Generated Node #3: [62, 12] from Operation: 1*12=12
Current State: 74:[62, 12], Operations: ['64-2=62', '1*12=12']
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[64, 2, 1, 12], Operations: []
Exploring Operation: 64/2=32, Resulting Numbers: [1, 12, 32]
Generated Node #0,0: 74:[1, 12, 32] Operation: 64/2=32
Exploring Operation: 64+12=76, Resulting Numbers: [2, 1, 76]
Generated Node #0,1: 74:[2, 1, 76] Operation: 64+12=76
Exploring Operation: 12/2=6, Resulting Numbers: [64, 1, 6]
Generated Node #0,2: 74:[64, 1, 6] Operation: 12/2=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[2, 1, 76], Operations: ['64+12=76']
Exploring Operation: 2*1=2, Resulting Numbers: [76, 2]
Generated Node #0,1,0: 74:[76, 2] Operation: 2*1=2
Exploring Operation: 76-2=74, Resulting Numbers: [1, 74]
Generated Node #0,1,1: 74:[1, 74] Operation: 76-2=74
Exploring Operation: 76-1=75, Resulting Numbers: [2, 75]
Generated Node #0,1,2: 74:[2, 75] Operation: 76-1=75
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[1, 74], Operations: ['64+12=76', '76-2=74']
Exploring Operation: 1*74=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[64, 2, 1, 12], Operations: []
Exploring Operation: 64+12=76, Resulting Numbers: [2, 1, 76]
Generated Node #0,1: 74:[2, 1, 76] Operation: 64+12=76
Moving to Node #0,1
Current State: 74:[2, 1, 76], Operations: ['64+12=76']
Exploring Operation: 76-2=74, Resulting Numbers: [1, 74]
Generated Node #0,1,1: 74:[1, 74] Operation: 76-2=74
Moving to Node #0,1,1
Current State: 74:[1, 74], Operations: ['64+12=76', '76-2=74']
Exploring Operation: 1*74=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
46,
1,
85,
49
] | 88 | [
"46*1=46",
"85+49=134",
"134-46=88"
] | Current State: 88:[46, 1, 85, 49], Operations: []
Exploring Operation: 46*1=46, Resulting Numbers: [85, 49, 46]
Generated Node #2: [85, 49, 46] from Operation: 46*1=46
Current State: 88:[85, 49, 46], Operations: ['46*1=46']
Exploring Operation: 85+49=134, Resulting Numbers: [46, 134]
Generated Node #3: [46, 134] from Operation: 85+49=134
Current State: 88:[46, 134], Operations: ['46*1=46', '85+49=134']
Exploring Operation: 134-46=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[46, 1, 85, 49], Operations: []
Exploring Operation: 1+85=86, Resulting Numbers: [46, 49, 86]
Generated Node #0,0: 88:[46, 49, 86] Operation: 1+85=86
Exploring Operation: 46-1=45, Resulting Numbers: [85, 49, 45]
Generated Node #0,1: 88:[85, 49, 45] Operation: 46-1=45
Exploring Operation: 49-46=3, Resulting Numbers: [1, 85, 3]
Generated Node #0,2: 88:[1, 85, 3] Operation: 49-46=3
Moving to Node #0,2
Current State: 88:[1, 85, 3], Operations: ['49-46=3']
Exploring Operation: 1+3=4, Resulting Numbers: [85, 4]
Generated Node #0,2,0: 88:[85, 4] Operation: 1+3=4
Exploring Operation: 85+3=88, Resulting Numbers: [1, 88]
Generated Node #0,2,1: 88:[1, 88] Operation: 85+3=88
Exploring Operation: 1+85=86, Resulting Numbers: [3, 86]
Generated Node #0,2,2: 88:[3, 86] Operation: 1+85=86
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[1, 88], Operations: ['49-46=3', '85+3=88']
Exploring Operation: 1*88=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[46, 1, 85, 49], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [1, 85, 3]
Generated Node #0,2: 88:[1, 85, 3] Operation: 49-46=3
Moving to Node #0,2
Current State: 88:[1, 85, 3], Operations: ['49-46=3']
Exploring Operation: 85+3=88, Resulting Numbers: [1, 88]
Generated Node #0,2,1: 88:[1, 88] Operation: 85+3=88
Moving to Node #0,2,1
Current State: 88:[1, 88], Operations: ['49-46=3', '85+3=88']
Exploring Operation: 1*88=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
72,
80,
49,
32
] | 47 | [
"72-32=40",
"80/40=2",
"49-2=47"
] | Current State: 47:[72, 80, 49, 32], Operations: []
Exploring Operation: 72-32=40, Resulting Numbers: [80, 49, 40]
Generated Node #2: [80, 49, 40] from Operation: 72-32=40
Current State: 47:[80, 49, 40], Operations: ['72-32=40']
Exploring Operation: 80/40=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 80/40=2
Current State: 47:[49, 2], Operations: ['72-32=40', '80/40=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[72, 80, 49, 32], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [49, 32, 8]
Generated Node #0,0: 47:[49, 32, 8] Operation: 80-72=8
Exploring Operation: 80-49=31, Resulting Numbers: [72, 32, 31]
Generated Node #0,1: 47:[72, 32, 31] Operation: 80-49=31
Exploring Operation: 72-32=40, Resulting Numbers: [80, 49, 40]
Generated Node #0,2: 47:[80, 49, 40] Operation: 72-32=40
Exploring Operation: 72-49=23, Resulting Numbers: [80, 32, 23]
Generated Node #0,3: 47:[80, 32, 23] Operation: 72-49=23
Exploring Operation: 80-32=48, Resulting Numbers: [72, 49, 48]
Generated Node #0,4: 47:[72, 49, 48] Operation: 80-32=48
Moving to Node #0,4
Current State: 47:[72, 49, 48], Operations: ['80-32=48']
Exploring Operation: 72-49=23, Resulting Numbers: [48, 23]
Generated Node #0,4,0: 47:[48, 23] Operation: 72-49=23
Exploring Operation: 72-48=24, Resulting Numbers: [49, 24]
Generated Node #0,4,1: 47:[49, 24] Operation: 72-48=24
Exploring Operation: 72+48=120, Resulting Numbers: [49, 120]
Generated Node #0,4,2: 47:[49, 120] Operation: 72+48=120
Exploring Operation: 49-48=1, Resulting Numbers: [72, 1]
Generated Node #0,4,3: 47:[72, 1] Operation: 49-48=1
Exploring Operation: 72+49=121, Resulting Numbers: [48, 121]
Generated Node #0,4,4: 47:[48, 121] Operation: 72+49=121
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 47:[48, 23], Operations: ['80-32=48', '72-49=23']
Exploring Operation: 48+23=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 48*23=1104, Resulting Numbers: [1104]
1104,47 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,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,4,1
Current State: 47:[49, 24], Operations: ['80-32=48', '72-48=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,47 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,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,4,3
Current State: 47:[72, 1], Operations: ['80-32=48', '49-48=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,47 unequal: No Solution
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 47:[49, 120], Operations: ['80-32=48', '72+48=120']
Exploring Operation: 49*120=5880, Resulting Numbers: [5880]
5880,47 unequal: No Solution
Exploring Operation: 120-49=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 49+120=169, Resulting Numbers: [169]
169,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,4,4
Current State: 47:[48, 121], Operations: ['80-32=48', '72+49=121']
Exploring Operation: 48+121=169, Resulting Numbers: [169]
169,47 unequal: No Solution
Exploring Operation: 121-48=73, Resulting Numbers: [73]
73,47 unequal: No Solution
Exploring Operation: 48*121=5808, Resulting Numbers: [5808]
5808,47 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: 47:[80, 49, 40], Operations: ['72-32=40']
Exploring Operation: 49-40=9, Resulting Numbers: [80, 9]
Generated Node #0,2,0: 47:[80, 9] Operation: 49-40=9
Exploring Operation: 80/40=2, Resulting Numbers: [49, 2]
Generated Node #0,2,1: 47:[49, 2] Operation: 80/40=2
Exploring Operation: 80+40=120, Resulting Numbers: [49, 120]
Generated Node #0,2,2: 47:[49, 120] Operation: 80+40=120
Exploring Operation: 80-40=40, Resulting Numbers: [49, 40]
Generated Node #0,2,3: 47:[49, 40] Operation: 80-40=40
Exploring Operation: 80-49=31, Resulting Numbers: [40, 31]
Generated Node #0,2,4: 47:[40, 31] Operation: 80-49=31
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[49, 40], Operations: ['72-32=40', '80-40=40']
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 49*40=1960, Resulting Numbers: [1960]
1960,47 unequal: No Solution
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 47:[40, 31], Operations: ['72-32=40', '80-49=31']
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,47 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[49, 2], Operations: ['72-32=40', '80/40=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[72, 80, 49, 32], Operations: []
Exploring Operation: 72-32=40, Resulting Numbers: [80, 49, 40]
Generated Node #0,2: 47:[80, 49, 40] Operation: 72-32=40
Moving to Node #0,2
Current State: 47:[80, 49, 40], Operations: ['72-32=40']
Exploring Operation: 80/40=2, Resulting Numbers: [49, 2]
Generated Node #0,2,1: 47:[49, 2] Operation: 80/40=2
Moving to Node #0,2,1
Current State: 47:[49, 2], Operations: ['72-32=40', '80/40=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
55,
42,
13,
94
] | 93 | [
"55-42=13",
"13/13=1",
"94-1=93"
] | Current State: 93:[55, 42, 13, 94], Operations: []
Exploring Operation: 55-42=13, Resulting Numbers: [13, 94, 13]
Generated Node #2: [13, 94, 13] from Operation: 55-42=13
Current State: 93:[13, 94, 13], Operations: ['55-42=13']
Exploring Operation: 13/13=1, Resulting Numbers: [94, 1]
Generated Node #3: [94, 1] from Operation: 13/13=1
Current State: 93:[94, 1], Operations: ['55-42=13', '13/13=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[55, 42, 13, 94], Operations: []
Exploring Operation: 55+42=97, Resulting Numbers: [13, 94, 97]
Generated Node #0,0: 93:[13, 94, 97] Operation: 55+42=97
Exploring Operation: 55-42=13, Resulting Numbers: [13, 94, 13]
Generated Node #0,1: 93:[13, 94, 13] Operation: 55-42=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[13, 94, 97], Operations: ['55+42=97']
Exploring Operation: 97-13=84, Resulting Numbers: [94, 84]
Generated Node #0,0,0: 93:[94, 84] Operation: 97-13=84
Exploring Operation: 97-94=3, Resulting Numbers: [13, 3]
Generated Node #0,0,1: 93:[13, 3] Operation: 97-94=3
Moving to Node #0,0,0
Current State: 93:[94, 84], Operations: ['55+42=97', '97-13=84']
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 94+84=178, Resulting Numbers: [178]
178,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[13, 3], Operations: ['55+42=97', '97-94=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[13, 94, 13], Operations: ['55-42=13']
Exploring Operation: 13-13=0, Resulting Numbers: [94, 0]
Generated Node #0,1,0: 93:[94, 0] Operation: 13-13=0
Exploring Operation: 13/13=1, Resulting Numbers: [94, 1]
Generated Node #0,1,1: 93:[94, 1] Operation: 13/13=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[94, 1], Operations: ['55-42=13', '13/13=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[55, 42, 13, 94], Operations: []
Exploring Operation: 55-42=13, Resulting Numbers: [13, 94, 13]
Generated Node #0,1: 93:[13, 94, 13] Operation: 55-42=13
Moving to Node #0,1
Current State: 93:[13, 94, 13], Operations: ['55-42=13']
Exploring Operation: 13/13=1, Resulting Numbers: [94, 1]
Generated Node #0,1,1: 93:[94, 1] Operation: 13/13=1
Moving to Node #0,1,1
Current State: 93:[94, 1], Operations: ['55-42=13', '13/13=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.