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 |
|---|---|---|---|---|---|---|---|---|
[
64,
96,
44,
92
] | 16 | [
"96-64=32",
"92-44=48",
"48-32=16"
] | Current State: 16:[64, 96, 44, 92], Operations: []
Exploring Operation: 96-64=32, Resulting Numbers: [44, 92, 32]
Generated Node #2: [44, 92, 32] from Operation: 96-64=32
Current State: 16:[44, 92, 32], Operations: ['96-64=32']
Exploring Operation: 92-44=48, Resulting Numbers: [32, 48]
Generated Node #3: [32, 48] from Operation: 92-44=48
Current State: 16:[32, 48], Operations: ['96-64=32', '92-44=48']
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[64, 96, 44, 92], Operations: []
Exploring Operation: 96-64=32, Resulting Numbers: [44, 92, 32]
Generated Node #0,0: 16:[44, 92, 32] Operation: 96-64=32
Exploring Operation: 96-92=4, Resulting Numbers: [64, 44, 4]
Generated Node #0,1: 16:[64, 44, 4] Operation: 96-92=4
Moving to Node #0,1
Current State: 16:[64, 44, 4], Operations: ['96-92=4']
Exploring Operation: 64-44=20, Resulting Numbers: [4, 20]
Generated Node #0,1,0: 16:[4, 20] Operation: 64-44=20
Exploring Operation: 64/4=16, Resulting Numbers: [44, 16]
Generated Node #0,1,1: 16:[44, 16] Operation: 64/4=16
Moving to Node #0,0
Current State: 16:[44, 92, 32], Operations: ['96-64=32']
Exploring Operation: 92-44=48, Resulting Numbers: [32, 48]
Generated Node #0,0,0: 16:[32, 48] Operation: 92-44=48
Exploring Operation: 92-32=60, Resulting Numbers: [44, 60]
Generated Node #0,0,1: 16:[44, 60] Operation: 92-32=60
Moving to Node #0,1,0
Current State: 16:[4, 20], Operations: ['96-92=4', '64-44=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[64, 96, 44, 92], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [64, 44, 4]
Generated Node #0,1: 16:[64, 44, 4] Operation: 96-92=4
Moving to Node #0,1
Current State: 16:[64, 44, 4], Operations: ['96-92=4']
Exploring Operation: 64-44=20, Resulting Numbers: [4, 20]
Generated Node #0,1,0: 16:[4, 20] Operation: 64-44=20
Moving to Node #0,1,0
Current State: 16:[4, 20], Operations: ['96-92=4', '64-44=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
18,
82,
22,
98
] | 44 | [
"18+82=100",
"100-98=2",
"22*2=44"
] | Current State: 44:[18, 82, 22, 98], Operations: []
Exploring Operation: 18+82=100, Resulting Numbers: [22, 98, 100]
Generated Node #2: [22, 98, 100] from Operation: 18+82=100
Current State: 44:[22, 98, 100], Operations: ['18+82=100']
Exploring Operation: 100-98=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 100-98=2
Current State: 44:[22, 2], Operations: ['18+82=100', '100-98=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[18, 82, 22, 98], Operations: []
Exploring Operation: 82-18=64, Resulting Numbers: [22, 98, 64]
Generated Node #0,0: 44:[22, 98, 64] Operation: 82-18=64
Exploring Operation: 98-82=16, Resulting Numbers: [18, 22, 16]
Generated Node #0,1: 44:[18, 22, 16] Operation: 98-82=16
Moving to Node #0,1
Current State: 44:[18, 22, 16], Operations: ['98-82=16']
Exploring Operation: 22-18=4, Resulting Numbers: [16, 4]
Generated Node #0,1,0: 44:[16, 4] Operation: 22-18=4
Exploring Operation: 18-16=2, Resulting Numbers: [22, 2]
Generated Node #0,1,1: 44:[22, 2] Operation: 18-16=2
Moving to Node #0,0
Current State: 44:[22, 98, 64], Operations: ['82-18=64']
Exploring Operation: 98-22=76, Resulting Numbers: [64, 76]
Generated Node #0,0,0: 44:[64, 76] Operation: 98-22=76
Exploring Operation: 98-64=34, Resulting Numbers: [22, 34]
Generated Node #0,0,1: 44:[22, 34] Operation: 98-64=34
Moving to Node #0,1,1
Current State: 44:[22, 2], Operations: ['98-82=16', '18-16=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[18, 82, 22, 98], Operations: []
Exploring Operation: 98-82=16, Resulting Numbers: [18, 22, 16]
Generated Node #0,1: 44:[18, 22, 16] Operation: 98-82=16
Moving to Node #0,1
Current State: 44:[18, 22, 16], Operations: ['98-82=16']
Exploring Operation: 18-16=2, Resulting Numbers: [22, 2]
Generated Node #0,1,1: 44:[22, 2] Operation: 18-16=2
Moving to Node #0,1,1
Current State: 44:[22, 2], Operations: ['98-82=16', '18-16=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
82,
25,
41,
67
] | 46 | [
"82/41=2",
"25+67=92",
"92/2=46"
] | Current State: 46:[82, 25, 41, 67], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [25, 67, 2]
Generated Node #2: [25, 67, 2] from Operation: 82/41=2
Current State: 46:[25, 67, 2], Operations: ['82/41=2']
Exploring Operation: 25+67=92, Resulting Numbers: [2, 92]
Generated Node #3: [2, 92] from Operation: 25+67=92
Current State: 46:[2, 92], Operations: ['82/41=2', '25+67=92']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[82, 25, 41, 67], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [25, 41, 15]
Generated Node #0,0: 46:[25, 41, 15] Operation: 82-67=15
Exploring Operation: 82/41=2, Resulting Numbers: [25, 67, 2]
Generated Node #0,1: 46:[25, 67, 2] Operation: 82/41=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[25, 41, 15], Operations: ['82-67=15']
Exploring Operation: 25+15=40, Resulting Numbers: [41, 40]
Generated Node #0,0,0: 46:[41, 40] Operation: 25+15=40
Exploring Operation: 41-15=26, Resulting Numbers: [25, 26]
Generated Node #0,0,1: 46:[25, 26] Operation: 41-15=26
Moving to Node #0,0,1
Current State: 46:[25, 26], Operations: ['82-67=15', '41-15=26']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[41, 40], Operations: ['82-67=15', '25+15=40']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[25, 67, 2], Operations: ['82/41=2']
Exploring Operation: 25-2=23, Resulting Numbers: [67, 23]
Generated Node #0,1,0: 46:[67, 23] Operation: 25-2=23
Exploring Operation: 67-25=42, Resulting Numbers: [2, 42]
Generated Node #0,1,1: 46:[2, 42] Operation: 67-25=42
Moving to Node #0,1,1
Current State: 46:[2, 42], Operations: ['82/41=2', '67-25=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[67, 23], Operations: ['82/41=2', '25-2=23']
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,46 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 |
[
41,
54,
91,
53
] | 31 | [
"54*53=2862",
"2862-41=2821",
"2821/91=31"
] | Current State: 31:[41, 54, 91, 53], Operations: []
Exploring Operation: 54*53=2862, Resulting Numbers: [41, 91, 2862]
Generated Node #2: [41, 91, 2862] from Operation: 54*53=2862
Current State: 31:[41, 91, 2862], Operations: ['54*53=2862']
Exploring Operation: 2862-41=2821, Resulting Numbers: [91, 2821]
Generated Node #3: [91, 2821] from Operation: 2862-41=2821
Current State: 31:[91, 2821], Operations: ['54*53=2862', '2862-41=2821']
Exploring Operation: 2821/91=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[41, 54, 91, 53], Operations: []
Exploring Operation: 54-41=13, Resulting Numbers: [91, 53, 13]
Generated Node #0,0: 31:[91, 53, 13] Operation: 54-41=13
Exploring Operation: 91-53=38, Resulting Numbers: [41, 54, 38]
Generated Node #0,1: 31:[41, 54, 38] Operation: 91-53=38
Exploring Operation: 91-54=37, Resulting Numbers: [41, 53, 37]
Generated Node #0,2: 31:[41, 53, 37] Operation: 91-54=37
Exploring Operation: 91-41=50, Resulting Numbers: [54, 53, 50]
Generated Node #0,3: 31:[54, 53, 50] Operation: 91-41=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[41, 53, 37], Operations: ['91-54=37']
Exploring Operation: 53-41=12, Resulting Numbers: [37, 12]
Generated Node #0,2,0: 31:[37, 12] Operation: 53-41=12
Exploring Operation: 53-37=16, Resulting Numbers: [41, 16]
Generated Node #0,2,1: 31:[41, 16] Operation: 53-37=16
Exploring Operation: 41-37=4, Resulting Numbers: [53, 4]
Generated Node #0,2,2: 31:[53, 4] Operation: 41-37=4
Exploring Operation: 41+53=94, Resulting Numbers: [37, 94]
Generated Node #0,2,3: 31:[37, 94] Operation: 41+53=94
Moving to Node #0,2,0
Current State: 31:[37, 12], Operations: ['91-54=37', '53-41=12']
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,31 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[41, 16], Operations: ['91-54=37', '53-37=16']
Exploring Operation: 41*16=656, Resulting Numbers: [656]
656,31 unequal: No Solution
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[53, 4], Operations: ['91-54=37', '41-37=4']
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,31 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[37, 94], Operations: ['91-54=37', '41+53=94']
Exploring Operation: 37+94=131, Resulting Numbers: [131]
131,31 unequal: No Solution
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 37*94=3478, Resulting Numbers: [3478]
3478,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
Current State: 31:[41, 54, 38], Operations: ['91-53=38']
Exploring Operation: 54-38=16, Resulting Numbers: [41, 16]
Generated Node #0,1,0: 31:[41, 16] Operation: 54-38=16
Exploring Operation: 41-38=3, Resulting Numbers: [54, 3]
Generated Node #0,1,1: 31:[54, 3] Operation: 41-38=3
Exploring Operation: 54-41=13, Resulting Numbers: [38, 13]
Generated Node #0,1,2: 31:[38, 13] Operation: 54-41=13
Exploring Operation: 41+54=95, Resulting Numbers: [38, 95]
Generated Node #0,1,3: 31:[38, 95] Operation: 41+54=95
Moving to Node #0,1,0
Current State: 31:[41, 16], Operations: ['91-53=38', '54-38=16']
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 41*16=656, Resulting Numbers: [656]
656,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[38, 13], Operations: ['91-53=38', '54-41=13']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[54, 3], Operations: ['91-53=38', '41-38=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[38, 95], Operations: ['91-53=38', '41+54=95']
Exploring Operation: 95-38=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 38*95=3610, Resulting Numbers: [3610]
3610,31 unequal: No Solution
Exploring Operation: 38+95=133, Resulting Numbers: [133]
133,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,3
Current State: 31:[54, 53, 50], Operations: ['91-41=50']
Exploring Operation: 53-50=3, Resulting Numbers: [54, 3]
Generated Node #0,3,0: 31:[54, 3] Operation: 53-50=3
Exploring Operation: 54+53=107, Resulting Numbers: [50, 107]
Generated Node #0,3,1: 31:[50, 107] Operation: 54+53=107
Exploring Operation: 54-50=4, Resulting Numbers: [53, 4]
Generated Node #0,3,2: 31:[53, 4] Operation: 54-50=4
Exploring Operation: 54-53=1, Resulting Numbers: [50, 1]
Generated Node #0,3,3: 31:[50, 1] Operation: 54-53=1
Moving to Node #0,3,2
Current State: 31:[53, 4], Operations: ['91-41=50', '54-50=4']
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,31 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[50, 1], Operations: ['91-41=50', '54-53=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[54, 3], Operations: ['91-41=50', '53-50=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[50, 107], Operations: ['91-41=50', '54+53=107']
Exploring Operation: 107-50=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 50*107=5350, Resulting Numbers: [5350]
5350,31 unequal: No Solution
Exploring Operation: 50+107=157, Resulting Numbers: [157]
157,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,0
Current State: 31:[91, 53, 13], Operations: ['54-41=13']
Exploring Operation: 53-13=40, Resulting Numbers: [91, 40]
Generated Node #0,0,0: 31:[91, 40] Operation: 53-13=40
Exploring Operation: 91/13=7, Resulting Numbers: [53, 7]
Generated Node #0,0,1: 31:[53, 7] Operation: 91/13=7
Exploring Operation: 91-53=38, Resulting Numbers: [13, 38]
Generated Node #0,0,2: 31:[13, 38] Operation: 91-53=38
Exploring Operation: 91-13=78, Resulting Numbers: [53, 78]
Generated Node #0,0,3: 31:[53, 78] Operation: 91-13=78
Moving to Node #0,0,2
Current State: 31:[13, 38], Operations: ['54-41=13', '91-53=38']
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,31 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[53, 7], Operations: ['54-41=13', '91/13=7']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[53, 78], Operations: ['54-41=13', '91-13=78']
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 53+78=131, Resulting Numbers: [131]
131,31 unequal: No Solution
Exploring Operation: 53*78=4134, Resulting Numbers: [4134]
4134,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[91, 40], Operations: ['54-41=13', '53-13=40']
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,31 unequal: No Solution
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 91*40=3640, Resulting Numbers: [3640]
3640,31 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 |
[
32,
36,
17,
95
] | 74 | [
"36-32=4",
"95-17=78",
"78-4=74"
] | Current State: 74:[32, 36, 17, 95], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [17, 95, 4]
Generated Node #2: [17, 95, 4] from Operation: 36-32=4
Current State: 74:[17, 95, 4], Operations: ['36-32=4']
Exploring Operation: 95-17=78, Resulting Numbers: [4, 78]
Generated Node #3: [4, 78] from Operation: 95-17=78
Current State: 74:[4, 78], Operations: ['36-32=4', '95-17=78']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[32, 36, 17, 95], Operations: []
Exploring Operation: 95-17=78, Resulting Numbers: [32, 36, 78]
Generated Node #0,0: 74:[32, 36, 78] Operation: 95-17=78
Moving to Node #0,0
Current State: 74:[32, 36, 78], Operations: ['95-17=78']
Exploring Operation: 36-32=4, Resulting Numbers: [78, 4]
Generated Node #0,0,0: 74:[78, 4] Operation: 36-32=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[78, 4], Operations: ['95-17=78', '36-32=4']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[32, 36, 17, 95], Operations: []
Exploring Operation: 95-17=78, Resulting Numbers: [32, 36, 78]
Generated Node #0,0: 74:[32, 36, 78] Operation: 95-17=78
Moving to Node #0,0
Current State: 74:[32, 36, 78], Operations: ['95-17=78']
Exploring Operation: 36-32=4, Resulting Numbers: [78, 4]
Generated Node #0,0,0: 74:[78, 4] Operation: 36-32=4
Moving to Node #0,0,0
Current State: 74:[78, 4], Operations: ['95-17=78', '36-32=4']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
44,
12,
30,
72
] | 48 | [
"30-12=18",
"72/18=4",
"44+4=48"
] | Current State: 48:[44, 12, 30, 72], Operations: []
Exploring Operation: 30-12=18, Resulting Numbers: [44, 72, 18]
Generated Node #2: [44, 72, 18] from Operation: 30-12=18
Current State: 48:[44, 72, 18], Operations: ['30-12=18']
Exploring Operation: 72/18=4, Resulting Numbers: [44, 4]
Generated Node #3: [44, 4] from Operation: 72/18=4
Current State: 48:[44, 4], Operations: ['30-12=18', '72/18=4']
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[44, 12, 30, 72], Operations: []
Exploring Operation: 72-12=60, Resulting Numbers: [44, 30, 60]
Generated Node #0,0: 48:[44, 30, 60] Operation: 72-12=60
Exploring Operation: 72-30=42, Resulting Numbers: [44, 12, 42]
Generated Node #0,1: 48:[44, 12, 42] Operation: 72-30=42
Exploring Operation: 44-30=14, Resulting Numbers: [12, 72, 14]
Generated Node #0,2: 48:[12, 72, 14] Operation: 44-30=14
Exploring Operation: 72-44=28, Resulting Numbers: [12, 30, 28]
Generated Node #0,3: 48:[12, 30, 28] Operation: 72-44=28
Exploring Operation: 72/12=6, Resulting Numbers: [44, 30, 6]
Generated Node #0,4: 48:[44, 30, 6] Operation: 72/12=6
Moving to Node #0,1
Current State: 48:[44, 12, 42], Operations: ['72-30=42']
Exploring Operation: 44-12=32, Resulting Numbers: [42, 32]
Generated Node #0,1,0: 48:[42, 32] Operation: 44-12=32
Exploring Operation: 44+12=56, Resulting Numbers: [42, 56]
Generated Node #0,1,1: 48:[42, 56] Operation: 44+12=56
Exploring Operation: 44-42=2, Resulting Numbers: [12, 2]
Generated Node #0,1,2: 48:[12, 2] Operation: 44-42=2
Exploring Operation: 42-12=30, Resulting Numbers: [44, 30]
Generated Node #0,1,3: 48:[44, 30] Operation: 42-12=30
Exploring Operation: 12+42=54, Resulting Numbers: [44, 54]
Generated Node #0,1,4: 48:[44, 54] Operation: 12+42=54
Moving to Node #0,4
Current State: 48:[44, 30, 6], Operations: ['72/12=6']
Exploring Operation: 44-30=14, Resulting Numbers: [6, 14]
Generated Node #0,4,0: 48:[6, 14] Operation: 44-30=14
Exploring Operation: 30/6=5, Resulting Numbers: [44, 5]
Generated Node #0,4,1: 48:[44, 5] Operation: 30/6=5
Exploring Operation: 30-6=24, Resulting Numbers: [44, 24]
Generated Node #0,4,2: 48:[44, 24] Operation: 30-6=24
Exploring Operation: 44-6=38, Resulting Numbers: [30, 38]
Generated Node #0,4,3: 48:[30, 38] Operation: 44-6=38
Exploring Operation: 44+6=50, Resulting Numbers: [30, 50]
Generated Node #0,4,4: 48:[30, 50] Operation: 44+6=50
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 48:[6, 14], Operations: ['72/12=6', '44-30=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 48:[44, 24], Operations: ['72/12=6', '30-6=24']
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 48:[44, 5], Operations: ['72/12=6', '30/6=5']
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,48 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 48:[30, 50], Operations: ['72/12=6', '44+6=50']
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,48 unequal: No Solution
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 48:[30, 38], Operations: ['72/12=6', '44-6=38']
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,48 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,48 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: 48:[12, 30, 28], Operations: ['72-44=28']
Exploring Operation: 30-28=2, Resulting Numbers: [12, 2]
Generated Node #0,3,0: 48:[12, 2] Operation: 30-28=2
Exploring Operation: 30+28=58, Resulting Numbers: [12, 58]
Generated Node #0,3,1: 48:[12, 58] Operation: 30+28=58
Exploring Operation: 12+30=42, Resulting Numbers: [28, 42]
Generated Node #0,3,2: 48:[28, 42] Operation: 12+30=42
Exploring Operation: 30-12=18, Resulting Numbers: [28, 18]
Generated Node #0,3,3: 48:[28, 18] Operation: 30-12=18
Exploring Operation: 28-12=16, Resulting Numbers: [30, 16]
Generated Node #0,3,4: 48:[30, 16] Operation: 28-12=16
Moving to Node #0,0
Current State: 48:[44, 30, 60], Operations: ['72-12=60']
Exploring Operation: 60-30=30, Resulting Numbers: [44, 30]
Generated Node #0,0,0: 48:[44, 30] Operation: 60-30=30
Exploring Operation: 44+30=74, Resulting Numbers: [60, 74]
Generated Node #0,0,1: 48:[60, 74] Operation: 44+30=74
Exploring Operation: 60-44=16, Resulting Numbers: [30, 16]
Generated Node #0,0,2: 48:[30, 16] Operation: 60-44=16
Exploring Operation: 60/30=2, Resulting Numbers: [44, 2]
Generated Node #0,0,3: 48:[44, 2] Operation: 60/30=2
Exploring Operation: 44-30=14, Resulting Numbers: [60, 14]
Generated Node #0,0,4: 48:[60, 14] Operation: 44-30=14
Moving to Node #0,2
Current State: 48:[12, 72, 14], Operations: ['44-30=14']
Exploring Operation: 72/12=6, Resulting Numbers: [14, 6]
Generated Node #0,2,0: 48:[14, 6] Operation: 72/12=6
Exploring Operation: 72-14=58, Resulting Numbers: [12, 58]
Generated Node #0,2,1: 48:[12, 58] Operation: 72-14=58
Exploring Operation: 72-12=60, Resulting Numbers: [14, 60]
Generated Node #0,2,2: 48:[14, 60] Operation: 72-12=60
Exploring Operation: 12+14=26, Resulting Numbers: [72, 26]
Generated Node #0,2,3: 48:[72, 26] Operation: 12+14=26
Exploring Operation: 14-12=2, Resulting Numbers: [72, 2]
Generated Node #0,2,4: 48:[72, 2] Operation: 14-12=2
Moving to Node #0,1,2
Current State: 48:[12, 2], Operations: ['72-30=42', '44-42=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Moving to Node #0,3,0
Current State: 48:[12, 2], Operations: ['72-44=28', '30-28=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[14, 6], Operations: ['44-30=14', '72/12=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Moving to Node #0,0,3
Current State: 48:[44, 2], Operations: ['72-12=60', '60/30=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,48 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Moving to Node #0,3,3
Current State: 48:[28, 18], Operations: ['72-44=28', '30-12=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[30, 16], Operations: ['72-12=60', '60-44=16']
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,48 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Moving to Node #0,3,4
Current State: 48:[30, 16], Operations: ['72-44=28', '28-12=16']
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[44, 30], Operations: ['72-12=60', '60-30=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,48 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[12, 58], Operations: ['44-30=14', '72-14=58']
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,48 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Moving to Node #0,1,4
Current State: 48:[44, 54], Operations: ['72-30=42', '12+42=54']
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 44*54=2376, Resulting Numbers: [2376]
2376,48 unequal: No Solution
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[28, 42], Operations: ['72-44=28', '12+30=42']
Exploring Operation: 28*42=1176, Resulting Numbers: [1176]
1176,48 unequal: No Solution
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Moving to Node #0,3,1
Current State: 48:[12, 58], Operations: ['72-44=28', '30+28=58']
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,48 unequal: No Solution
Moving to Node #0,1,3
Current State: 48:[44, 30], Operations: ['72-30=42', '42-12=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,48 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Moving to Node #0,0,4
Current State: 48:[60, 14], Operations: ['72-12=60', '44-30=14']
Exploring Operation: 60*14=840, Resulting Numbers: [840]
840,48 unequal: No Solution
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 60+14=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[42, 32], Operations: ['72-30=42', '44-12=32']
Exploring Operation: 42*32=1344, Resulting Numbers: [1344]
1344,48 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[42, 56], Operations: ['72-30=42', '44+12=56']
Exploring Operation: 42*56=2352, Resulting Numbers: [2352]
2352,48 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 42+56=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[14, 60], Operations: ['44-30=14', '72-12=60']
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 14*60=840, Resulting Numbers: [840]
840,48 unequal: No Solution
Exploring Operation: 14+60=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Moving to Node #0,2,4
Current State: 48:[72, 2], Operations: ['44-30=14', '14-12=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Exploring Operation: 72*2=144, Resulting Numbers: [144]
144,48 unequal: No Solution
Moving to Node #0,2,3
Current State: 48:[72, 26], Operations: ['44-30=14', '12+14=26']
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[60, 74], Operations: ['72-12=60', '44+30=74']
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 60*74=4440, Resulting Numbers: [4440]
4440,48 unequal: No Solution
Exploring Operation: 60+74=134, Resulting Numbers: [134]
134,48 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
69,
71,
34,
45
] | 61 | [
"69+71=140",
"34+45=79",
"140-79=61"
] | Current State: 61:[69, 71, 34, 45], Operations: []
Exploring Operation: 69+71=140, Resulting Numbers: [34, 45, 140]
Generated Node #2: [34, 45, 140] from Operation: 69+71=140
Current State: 61:[34, 45, 140], Operations: ['69+71=140']
Exploring Operation: 34+45=79, Resulting Numbers: [140, 79]
Generated Node #3: [140, 79] from Operation: 34+45=79
Current State: 61:[140, 79], Operations: ['69+71=140', '34+45=79']
Exploring Operation: 140-79=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[69, 71, 34, 45], Operations: []
Exploring Operation: 69-34=35, Resulting Numbers: [71, 45, 35]
Generated Node #0,0: 61:[71, 45, 35] Operation: 69-34=35
Exploring Operation: 34+45=79, Resulting Numbers: [69, 71, 79]
Generated Node #0,1: 61:[69, 71, 79] Operation: 34+45=79
Exploring Operation: 71-34=37, Resulting Numbers: [69, 45, 37]
Generated Node #0,2: 61:[69, 45, 37] Operation: 71-34=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[69, 71, 79], Operations: ['34+45=79']
Exploring Operation: 79-71=8, Resulting Numbers: [69, 8]
Generated Node #0,1,0: 61:[69, 8] Operation: 79-71=8
Exploring Operation: 79-69=10, Resulting Numbers: [71, 10]
Generated Node #0,1,1: 61:[71, 10] Operation: 79-69=10
Exploring Operation: 71-69=2, Resulting Numbers: [79, 2]
Generated Node #0,1,2: 61:[79, 2] Operation: 71-69=2
Moving to Node #0,1,0
Current State: 61:[69, 8], Operations: ['34+45=79', '79-71=8']
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,61 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[69, 71, 34, 45], Operations: []
Exploring Operation: 34+45=79, Resulting Numbers: [69, 71, 79]
Generated Node #0,1: 61:[69, 71, 79] Operation: 34+45=79
Moving to Node #0,1
Current State: 61:[69, 71, 79], Operations: ['34+45=79']
Exploring Operation: 79-71=8, Resulting Numbers: [69, 8]
Generated Node #0,1,0: 61:[69, 8] Operation: 79-71=8
Moving to Node #0,1,0
Current State: 61:[69, 8], Operations: ['34+45=79', '79-71=8']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
20,
67,
45,
85
] | 87 | [
"67-20=47",
"85-45=40",
"47+40=87"
] | Current State: 87:[20, 67, 45, 85], Operations: []
Exploring Operation: 67-20=47, Resulting Numbers: [45, 85, 47]
Generated Node #2: [45, 85, 47] from Operation: 67-20=47
Current State: 87:[45, 85, 47], Operations: ['67-20=47']
Exploring Operation: 85-45=40, Resulting Numbers: [47, 40]
Generated Node #3: [47, 40] from Operation: 85-45=40
Current State: 87:[47, 40], Operations: ['67-20=47', '85-45=40']
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[20, 67, 45, 85], Operations: []
Exploring Operation: 20+67=87, Resulting Numbers: [45, 85, 87]
Generated Node #0,0: 87:[45, 85, 87] Operation: 20+67=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[45, 85, 87], Operations: ['20+67=87']
Exploring Operation: 85-45=40, Resulting Numbers: [87, 40]
Generated Node #0,0,0: 87:[87, 40] Operation: 85-45=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[87, 40], Operations: ['20+67=87', '85-45=40']
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
40,
45,
92,
92
] | 85 | [
"40+45=85",
"92-92=0",
"85+0=85"
] | Current State: 85:[40, 45, 92, 92], Operations: []
Exploring Operation: 40+45=85, Resulting Numbers: [92, 92, 85]
Generated Node #2: [92, 92, 85] from Operation: 40+45=85
Current State: 85:[92, 92, 85], Operations: ['40+45=85']
Exploring Operation: 92-92=0, Resulting Numbers: [85, 0]
Generated Node #3: [85, 0] from Operation: 92-92=0
Current State: 85:[85, 0], Operations: ['40+45=85', '92-92=0']
Exploring Operation: 85+0=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[40, 45, 92, 92], Operations: []
Exploring Operation: 92-92=0, Resulting Numbers: [40, 45, 0]
Generated Node #0,0: 85:[40, 45, 0] Operation: 92-92=0
Exploring Operation: 45-40=5, Resulting Numbers: [92, 92, 5]
Generated Node #0,1: 85:[92, 92, 5] Operation: 45-40=5
Exploring Operation: 92/92=1, Resulting Numbers: [40, 45, 1]
Generated Node #0,2: 85:[40, 45, 1] Operation: 92/92=1
Exploring Operation: 40+45=85, Resulting Numbers: [92, 92, 85]
Generated Node #0,3: 85:[92, 92, 85] Operation: 40+45=85
Moving to Node #0,1
Current State: 85:[92, 92, 5], Operations: ['45-40=5']
Exploring Operation: 92-5=87, Resulting Numbers: [92, 87]
Generated Node #0,1,0: 85:[92, 87] Operation: 92-5=87
Exploring Operation: 92/92=1, Resulting Numbers: [5, 1]
Generated Node #0,1,1: 85:[5, 1] Operation: 92/92=1
Exploring Operation: 92-92=0, Resulting Numbers: [5, 0]
Generated Node #0,1,2: 85:[5, 0] Operation: 92-92=0
Exploring Operation: 92-5=87, Resulting Numbers: [92, 87]
Generated Node #0,1,3: 85:[92, 87] Operation: 92-5=87
Moving to Node #0,3
Current State: 85:[92, 92, 85], Operations: ['40+45=85']
Exploring Operation: 92-85=7, Resulting Numbers: [92, 7]
Generated Node #0,3,0: 85:[92, 7] Operation: 92-85=7
Exploring Operation: 92/92=1, Resulting Numbers: [85, 1]
Generated Node #0,3,1: 85:[85, 1] Operation: 92/92=1
Exploring Operation: 92-85=7, Resulting Numbers: [92, 7]
Generated Node #0,3,2: 85:[92, 7] Operation: 92-85=7
Exploring Operation: 92-92=0, Resulting Numbers: [85, 0]
Generated Node #0,3,3: 85:[85, 0] Operation: 92-92=0
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 85:[85, 1], Operations: ['40+45=85', '92/92=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[40, 45, 92, 92], Operations: []
Exploring Operation: 40+45=85, Resulting Numbers: [92, 92, 85]
Generated Node #0,3: 85:[92, 92, 85] Operation: 40+45=85
Moving to Node #0,3
Current State: 85:[92, 92, 85], Operations: ['40+45=85']
Exploring Operation: 92/92=1, Resulting Numbers: [85, 1]
Generated Node #0,3,1: 85:[85, 1] Operation: 92/92=1
Moving to Node #0,3,1
Current State: 85:[85, 1], Operations: ['40+45=85', '92/92=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
98,
81,
47,
45
] | 64 | [
"47-45=2",
"81*2=162",
"162-98=64"
] | Current State: 64:[98, 81, 47, 45], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [98, 81, 2]
Generated Node #2: [98, 81, 2] from Operation: 47-45=2
Current State: 64:[98, 81, 2], Operations: ['47-45=2']
Exploring Operation: 81*2=162, Resulting Numbers: [98, 162]
Generated Node #3: [98, 162] from Operation: 81*2=162
Current State: 64:[98, 162], Operations: ['47-45=2', '81*2=162']
Exploring Operation: 162-98=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[98, 81, 47, 45], Operations: []
Exploring Operation: 98-81=17, Resulting Numbers: [47, 45, 17]
Generated Node #0,0: 64:[47, 45, 17] Operation: 98-81=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[47, 45, 17], Operations: ['98-81=17']
Exploring Operation: 47-45=2, Resulting Numbers: [17, 2]
Generated Node #0,0,0: 64:[17, 2] Operation: 47-45=2
Moving to Node #0,0,0
Current State: 64:[17, 2], Operations: ['98-81=17', '47-45=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
70,
61,
54
] | 56 | [
"61-26=35",
"70/35=2",
"54+2=56"
] | Current State: 56:[26, 70, 61, 54], Operations: []
Exploring Operation: 61-26=35, Resulting Numbers: [70, 54, 35]
Generated Node #2: [70, 54, 35] from Operation: 61-26=35
Current State: 56:[70, 54, 35], Operations: ['61-26=35']
Exploring Operation: 70/35=2, Resulting Numbers: [54, 2]
Generated Node #3: [54, 2] from Operation: 70/35=2
Current State: 56:[54, 2], Operations: ['61-26=35', '70/35=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[26, 70, 61, 54], Operations: []
Exploring Operation: 70-26=44, Resulting Numbers: [61, 54, 44]
Generated Node #0,0: 56:[61, 54, 44] Operation: 70-26=44
Exploring Operation: 70-61=9, Resulting Numbers: [26, 54, 9]
Generated Node #0,1: 56:[26, 54, 9] Operation: 70-61=9
Exploring Operation: 70-54=16, Resulting Numbers: [26, 61, 16]
Generated Node #0,2: 56:[26, 61, 16] Operation: 70-54=16
Exploring Operation: 54-26=28, Resulting Numbers: [70, 61, 28]
Generated Node #0,3: 56:[70, 61, 28] Operation: 54-26=28
Exploring Operation: 61-54=7, Resulting Numbers: [26, 70, 7]
Generated Node #0,4: 56:[26, 70, 7] Operation: 61-54=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[26, 54, 9], Operations: ['70-61=9']
Exploring Operation: 54/9=6, Resulting Numbers: [26, 6]
Generated Node #0,1,0: 56:[26, 6] Operation: 54/9=6
Exploring Operation: 26-9=17, Resulting Numbers: [54, 17]
Generated Node #0,1,1: 56:[54, 17] Operation: 26-9=17
Exploring Operation: 26+9=35, Resulting Numbers: [54, 35]
Generated Node #0,1,2: 56:[54, 35] Operation: 26+9=35
Exploring Operation: 54+9=63, Resulting Numbers: [26, 63]
Generated Node #0,1,3: 56:[26, 63] Operation: 54+9=63
Exploring Operation: 54-26=28, Resulting Numbers: [9, 28]
Generated Node #0,1,4: 56:[9, 28] Operation: 54-26=28
Moving to Node #0,1,4
Current State: 56:[9, 28], Operations: ['70-61=9', '54-26=28']
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,56 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[26, 6], Operations: ['70-61=9', '54/9=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[54, 17], Operations: ['70-61=9', '26-9=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,56 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[54, 35], Operations: ['70-61=9', '26+9=35']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 54*35=1890, Resulting Numbers: [1890]
1890,56 unequal: No Solution
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[26, 63], Operations: ['70-61=9', '54+9=63']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 26*63=1638, Resulting Numbers: [1638]
1638,56 unequal: No Solution
Exploring Operation: 26+63=89, Resulting Numbers: [89]
89,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[26, 61, 16], Operations: ['70-54=16']
Exploring Operation: 26+16=42, Resulting Numbers: [61, 42]
Generated Node #0,2,0: 56:[61, 42] Operation: 26+16=42
Exploring Operation: 26-16=10, Resulting Numbers: [61, 10]
Generated Node #0,2,1: 56:[61, 10] Operation: 26-16=10
Exploring Operation: 61-26=35, Resulting Numbers: [16, 35]
Generated Node #0,2,2: 56:[16, 35] Operation: 61-26=35
Exploring Operation: 61-16=45, Resulting Numbers: [26, 45]
Generated Node #0,2,3: 56:[26, 45] Operation: 61-16=45
Exploring Operation: 61+16=77, Resulting Numbers: [26, 77]
Generated Node #0,2,4: 56:[26, 77] Operation: 61+16=77
Moving to Node #0,2,1
Current State: 56:[61, 10], Operations: ['70-54=16', '26-16=10']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[16, 35], Operations: ['70-54=16', '61-26=35']
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,56 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[26, 45], Operations: ['70-54=16', '61-16=45']
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 26*45=1170, Resulting Numbers: [1170]
1170,56 unequal: No Solution
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[61, 42], Operations: ['70-54=16', '26+16=42']
Exploring Operation: 61+42=103, Resulting Numbers: [103]
103,56 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 61*42=2562, Resulting Numbers: [2562]
2562,56 unequal: No Solution
Moving to Node #0,2,4
Current State: 56:[26, 77], Operations: ['70-54=16', '61+16=77']
Exploring Operation: 26+77=103, Resulting Numbers: [103]
103,56 unequal: No Solution
Exploring Operation: 26*77=2002, Resulting Numbers: [2002]
2002,56 unequal: No Solution
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 56:[26, 70, 7], Operations: ['61-54=7']
Exploring Operation: 26+7=33, Resulting Numbers: [70, 33]
Generated Node #0,4,0: 56:[70, 33] Operation: 26+7=33
Exploring Operation: 70-7=63, Resulting Numbers: [26, 63]
Generated Node #0,4,1: 56:[26, 63] Operation: 70-7=63
Exploring Operation: 26-7=19, Resulting Numbers: [70, 19]
Generated Node #0,4,2: 56:[70, 19] Operation: 26-7=19
Exploring Operation: 70/7=10, Resulting Numbers: [26, 10]
Generated Node #0,4,3: 56:[26, 10] Operation: 70/7=10
Exploring Operation: 70-26=44, Resulting Numbers: [7, 44]
Generated Node #0,4,4: 56:[7, 44] Operation: 70-26=44
Moving to Node #0,4,3
Current State: 56:[26, 10], Operations: ['61-54=7', '70/7=10']
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,56 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Moving to Node #0,4,1
Current State: 56:[26, 63], Operations: ['61-54=7', '70-7=63']
Exploring Operation: 26+63=89, Resulting Numbers: [89]
89,56 unequal: No Solution
Exploring Operation: 26*63=1638, Resulting Numbers: [1638]
1638,56 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,4,4
Current State: 56:[7, 44], Operations: ['61-54=7', '70-26=44']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,56 unequal: No Solution
Moving to Node #0,4,0
Current State: 56:[70, 33], Operations: ['61-54=7', '26+7=33']
Exploring Operation: 70+33=103, Resulting Numbers: [103]
103,56 unequal: No Solution
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 70*33=2310, Resulting Numbers: [2310]
2310,56 unequal: No Solution
Moving to Node #0,4,2
Current State: 56:[70, 19], Operations: ['61-54=7', '26-7=19']
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,56 unequal: No Solution
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,56 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[61, 54, 44], Operations: ['70-26=44']
Exploring Operation: 61+44=105, Resulting Numbers: [54, 105]
Generated Node #0,0,0: 56:[54, 105] Operation: 61+44=105
Exploring Operation: 61-54=7, Resulting Numbers: [44, 7]
Generated Node #0,0,1: 56:[44, 7] Operation: 61-54=7
Exploring Operation: 54-44=10, Resulting Numbers: [61, 10]
Generated Node #0,0,2: 56:[61, 10] Operation: 54-44=10
Exploring Operation: 54+44=98, Resulting Numbers: [61, 98]
Generated Node #0,0,3: 56:[61, 98] Operation: 54+44=98
Exploring Operation: 61-44=17, Resulting Numbers: [54, 17]
Generated Node #0,0,4: 56:[54, 17] Operation: 61-44=17
Moving to Node #0,0,4
Current State: 56:[54, 17], Operations: ['70-26=44', '61-44=17']
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[61, 10], Operations: ['70-26=44', '54-44=10']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,56 unequal: No Solution
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[44, 7], Operations: ['70-26=44', '61-54=7']
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,56 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[61, 98], Operations: ['70-26=44', '54+44=98']
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 61*98=5978, Resulting Numbers: [5978]
5978,56 unequal: No Solution
Exploring Operation: 61+98=159, Resulting Numbers: [159]
159,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[54, 105], Operations: ['70-26=44', '61+44=105']
Exploring Operation: 54*105=5670, Resulting Numbers: [5670]
5670,56 unequal: No Solution
Exploring Operation: 105-54=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 54+105=159, Resulting Numbers: [159]
159,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[70, 61, 28], Operations: ['54-26=28']
Exploring Operation: 70+28=98, Resulting Numbers: [61, 98]
Generated Node #0,3,0: 56:[61, 98] Operation: 70+28=98
Exploring Operation: 70-61=9, Resulting Numbers: [28, 9]
Generated Node #0,3,1: 56:[28, 9] Operation: 70-61=9
Exploring Operation: 61+28=89, Resulting Numbers: [70, 89]
Generated Node #0,3,2: 56:[70, 89] Operation: 61+28=89
Exploring Operation: 61-28=33, Resulting Numbers: [70, 33]
Generated Node #0,3,3: 56:[70, 33] Operation: 61-28=33
Exploring Operation: 70-28=42, Resulting Numbers: [61, 42]
Generated Node #0,3,4: 56:[61, 42] Operation: 70-28=42
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 56:[28, 9], Operations: ['54-26=28', '70-61=9']
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,56 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,56 unequal: No Solution
No 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: 56:[70, 33], Operations: ['54-26=28', '61-28=33']
Exploring Operation: 70*33=2310, Resulting Numbers: [2310]
2310,56 unequal: No Solution
Exploring Operation: 70+33=103, Resulting Numbers: [103]
103,56 unequal: No Solution
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,56 unequal: No Solution
No 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: 56:[61, 42], Operations: ['54-26=28', '70-28=42']
Exploring Operation: 61*42=2562, Resulting Numbers: [2562]
2562,56 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 61+42=103, Resulting Numbers: [103]
103,56 unequal: No Solution
No 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: 56:[61, 98], Operations: ['54-26=28', '70+28=98']
Exploring Operation: 61*98=5978, Resulting Numbers: [5978]
5978,56 unequal: No Solution
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 61+98=159, Resulting Numbers: [159]
159,56 unequal: No Solution
No 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: 56:[70, 89], Operations: ['54-26=28', '61+28=89']
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 70*89=6230, Resulting Numbers: [6230]
6230,56 unequal: No Solution
Exploring Operation: 70+89=159, Resulting Numbers: [159]
159,56 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 |
[
46,
19,
70,
9
] | 67 | [
"46-19=27",
"27/9=3",
"70-3=67"
] | Current State: 67:[46, 19, 70, 9], Operations: []
Exploring Operation: 46-19=27, Resulting Numbers: [70, 9, 27]
Generated Node #2: [70, 9, 27] from Operation: 46-19=27
Current State: 67:[70, 9, 27], Operations: ['46-19=27']
Exploring Operation: 27/9=3, Resulting Numbers: [70, 3]
Generated Node #3: [70, 3] from Operation: 27/9=3
Current State: 67:[70, 3], Operations: ['46-19=27', '27/9=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[46, 19, 70, 9], Operations: []
Exploring Operation: 46+19=65, Resulting Numbers: [70, 9, 65]
Generated Node #0,0: 67:[70, 9, 65] Operation: 46+19=65
Exploring Operation: 46+9=55, Resulting Numbers: [19, 70, 55]
Generated Node #0,1: 67:[19, 70, 55] Operation: 46+9=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[70, 9, 65], Operations: ['46+19=65']
Exploring Operation: 9+65=74, Resulting Numbers: [70, 74]
Generated Node #0,0,0: 67:[70, 74] Operation: 9+65=74
Exploring Operation: 70-9=61, Resulting Numbers: [65, 61]
Generated Node #0,0,1: 67:[65, 61] Operation: 70-9=61
Moving to Node #0,0,1
Current State: 67:[65, 61], Operations: ['46+19=65', '70-9=61']
Exploring Operation: 65+61=126, Resulting Numbers: [126]
126,67 unequal: No Solution
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[70, 74], Operations: ['46+19=65', '9+65=74']
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 70+74=144, Resulting Numbers: [144]
144,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[19, 70, 55], Operations: ['46+9=55']
Exploring Operation: 70-19=51, Resulting Numbers: [55, 51]
Generated Node #0,1,0: 67:[55, 51] Operation: 70-19=51
Exploring Operation: 19+55=74, Resulting Numbers: [70, 74]
Generated Node #0,1,1: 67:[70, 74] Operation: 19+55=74
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[70, 74], Operations: ['46+9=55', '19+55=74']
Exploring Operation: 70+74=144, Resulting Numbers: [144]
144,67 unequal: No Solution
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[55, 51], Operations: ['46+9=55', '70-19=51']
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,67 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
40,
36,
63,
57
] | 43 | [
"57-36=21",
"63/21=3",
"40+3=43"
] | Current State: 43:[40, 36, 63, 57], Operations: []
Exploring Operation: 57-36=21, Resulting Numbers: [40, 63, 21]
Generated Node #2: [40, 63, 21] from Operation: 57-36=21
Current State: 43:[40, 63, 21], Operations: ['57-36=21']
Exploring Operation: 63/21=3, Resulting Numbers: [40, 3]
Generated Node #3: [40, 3] from Operation: 63/21=3
Current State: 43:[40, 3], Operations: ['57-36=21', '63/21=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[40, 36, 63, 57], Operations: []
Exploring Operation: 63-40=23, Resulting Numbers: [36, 57, 23]
Generated Node #0,0: 43:[36, 57, 23] Operation: 63-40=23
Exploring Operation: 63-36=27, Resulting Numbers: [40, 57, 27]
Generated Node #0,1: 43:[40, 57, 27] Operation: 63-36=27
Moving to Node #0,1
Current State: 43:[40, 57, 27], Operations: ['63-36=27']
Exploring Operation: 40+27=67, Resulting Numbers: [57, 67]
Generated Node #0,1,0: 43:[57, 67] Operation: 40+27=67
Exploring Operation: 57-27=30, Resulting Numbers: [40, 30]
Generated Node #0,1,1: 43:[40, 30] Operation: 57-27=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[40, 30], Operations: ['63-36=27', '57-27=30']
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,43 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[57, 67], Operations: ['63-36=27', '40+27=67']
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 57+67=124, Resulting Numbers: [124]
124,43 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: 43:[36, 57, 23], Operations: ['63-40=23']
Exploring Operation: 57-23=34, Resulting Numbers: [36, 34]
Generated Node #0,0,0: 43:[36, 34] Operation: 57-23=34
Exploring Operation: 36+23=59, Resulting Numbers: [57, 59]
Generated Node #0,0,1: 43:[57, 59] Operation: 36+23=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[36, 34], Operations: ['63-40=23', '57-23=34']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[57, 59], Operations: ['63-40=23', '36+23=59']
Exploring Operation: 57+59=116, Resulting Numbers: [116]
116,43 unequal: No Solution
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,43 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 |
[
99,
59,
38,
42
] | 36 | [
"99-59=40",
"42-38=4",
"40-4=36"
] | Current State: 36:[99, 59, 38, 42], Operations: []
Exploring Operation: 99-59=40, Resulting Numbers: [38, 42, 40]
Generated Node #2: [38, 42, 40] from Operation: 99-59=40
Current State: 36:[38, 42, 40], Operations: ['99-59=40']
Exploring Operation: 42-38=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 42-38=4
Current State: 36:[40, 4], Operations: ['99-59=40', '42-38=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[99, 59, 38, 42], Operations: []
Exploring Operation: 99-38=61, Resulting Numbers: [59, 42, 61]
Generated Node #0,0: 36:[59, 42, 61] Operation: 99-38=61
Exploring Operation: 99-42=57, Resulting Numbers: [59, 38, 57]
Generated Node #0,1: 36:[59, 38, 57] Operation: 99-42=57
Exploring Operation: 99-59=40, Resulting Numbers: [38, 42, 40]
Generated Node #0,2: 36:[38, 42, 40] Operation: 99-59=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[38, 42, 40], Operations: ['99-59=40']
Exploring Operation: 42-38=4, Resulting Numbers: [40, 4]
Generated Node #0,2,0: 36:[40, 4] Operation: 42-38=4
Exploring Operation: 42-40=2, Resulting Numbers: [38, 2]
Generated Node #0,2,1: 36:[38, 2] Operation: 42-40=2
Exploring Operation: 40-38=2, Resulting Numbers: [42, 2]
Generated Node #0,2,2: 36:[42, 2] Operation: 40-38=2
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[38, 2], Operations: ['99-59=40', '42-40=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[99, 59, 38, 42], Operations: []
Exploring Operation: 99-59=40, Resulting Numbers: [38, 42, 40]
Generated Node #0,2: 36:[38, 42, 40] Operation: 99-59=40
Moving to Node #0,2
Current State: 36:[38, 42, 40], Operations: ['99-59=40']
Exploring Operation: 42-40=2, Resulting Numbers: [38, 2]
Generated Node #0,2,1: 36:[38, 2] Operation: 42-40=2
Moving to Node #0,2,1
Current State: 36:[38, 2], Operations: ['99-59=40', '42-40=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
80,
75,
93,
8
] | 53 | [
"80-75=5",
"8*5=40",
"93-40=53"
] | Current State: 53:[80, 75, 93, 8], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [93, 8, 5]
Generated Node #2: [93, 8, 5] from Operation: 80-75=5
Current State: 53:[93, 8, 5], Operations: ['80-75=5']
Exploring Operation: 8*5=40, Resulting Numbers: [93, 40]
Generated Node #3: [93, 40] from Operation: 8*5=40
Current State: 53:[93, 40], Operations: ['80-75=5', '8*5=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[80, 75, 93, 8], Operations: []
Exploring Operation: 75-8=67, Resulting Numbers: [80, 93, 67]
Generated Node #0,0: 53:[80, 93, 67] Operation: 75-8=67
Exploring Operation: 93-8=85, Resulting Numbers: [80, 75, 85]
Generated Node #0,1: 53:[80, 75, 85] Operation: 93-8=85
Exploring Operation: 80-8=72, Resulting Numbers: [75, 93, 72]
Generated Node #0,2: 53:[75, 93, 72] Operation: 80-8=72
Moving to Node #0,0
Current State: 53:[80, 93, 67], Operations: ['75-8=67']
Exploring Operation: 93-67=26, Resulting Numbers: [80, 26]
Generated Node #0,0,0: 53:[80, 26] Operation: 93-67=26
Exploring Operation: 80-67=13, Resulting Numbers: [93, 13]
Generated Node #0,0,1: 53:[93, 13] Operation: 80-67=13
Exploring Operation: 93-80=13, Resulting Numbers: [67, 13]
Generated Node #0,0,2: 53:[67, 13] Operation: 93-80=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[80, 26], Operations: ['75-8=67', '93-67=26']
Exploring Operation: 80*26=2080, Resulting Numbers: [2080]
2080,53 unequal: No Solution
Exploring Operation: 80+26=106, Resulting Numbers: [106]
106,53 unequal: No Solution
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,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:[67, 13], Operations: ['75-8=67', '93-80=13']
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,53 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,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:[93, 13], Operations: ['75-8=67', '80-67=13']
Exploring Operation: 93*13=1209, Resulting Numbers: [1209]
1209,53 unequal: No Solution
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 93+13=106, Resulting Numbers: [106]
106,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:[80, 75, 85], Operations: ['93-8=85']
Exploring Operation: 85-75=10, Resulting Numbers: [80, 10]
Generated Node #0,1,0: 53:[80, 10] Operation: 85-75=10
Exploring Operation: 85-80=5, Resulting Numbers: [75, 5]
Generated Node #0,1,1: 53:[75, 5] Operation: 85-80=5
Exploring Operation: 80-75=5, Resulting Numbers: [85, 5]
Generated Node #0,1,2: 53:[85, 5] Operation: 80-75=5
Moving to Node #0,2
Current State: 53:[75, 93, 72], Operations: ['80-8=72']
Exploring Operation: 93-75=18, Resulting Numbers: [72, 18]
Generated Node #0,2,0: 53:[72, 18] Operation: 93-75=18
Exploring Operation: 75-72=3, Resulting Numbers: [93, 3]
Generated Node #0,2,1: 53:[93, 3] Operation: 75-72=3
Exploring Operation: 93-72=21, Resulting Numbers: [75, 21]
Generated Node #0,2,2: 53:[75, 21] Operation: 93-72=21
Moving to Node #0,2,0
Current State: 53:[72, 18], Operations: ['80-8=72', '93-75=18']
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[75, 21], Operations: ['80-8=72', '93-72=21']
Exploring Operation: 75+21=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 75*21=1575, Resulting Numbers: [1575]
1575,53 unequal: No Solution
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[80, 10], Operations: ['93-8=85', '85-75=10']
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[75, 5], Operations: ['93-8=85', '85-80=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[85, 5], Operations: ['93-8=85', '80-75=5']
Exploring Operation: 85+5=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[93, 3], Operations: ['80-8=72', '75-72=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,53 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
87,
95,
77,
67
] | 80 | [
"95-87=8",
"77-67=10",
"8*10=80"
] | Current State: 80:[87, 95, 77, 67], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [77, 67, 8]
Generated Node #2: [77, 67, 8] from Operation: 95-87=8
Current State: 80:[77, 67, 8], Operations: ['95-87=8']
Exploring Operation: 77-67=10, Resulting Numbers: [8, 10]
Generated Node #3: [8, 10] from Operation: 77-67=10
Current State: 80:[8, 10], Operations: ['95-87=8', '77-67=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[87, 95, 77, 67], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [77, 67, 8]
Generated Node #0,0: 80:[77, 67, 8] Operation: 95-87=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[77, 67, 8], Operations: ['95-87=8']
Exploring Operation: 77-67=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 80:[8, 10] Operation: 77-67=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[8, 10], Operations: ['95-87=8', '77-67=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[87, 95, 77, 67], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [77, 67, 8]
Generated Node #0,0: 80:[77, 67, 8] Operation: 95-87=8
Moving to Node #0,0
Current State: 80:[77, 67, 8], Operations: ['95-87=8']
Exploring Operation: 77-67=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 80:[8, 10] Operation: 77-67=10
Moving to Node #0,0,0
Current State: 80:[8, 10], Operations: ['95-87=8', '77-67=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
78,
26,
69,
66
] | 43 | [
"78/26=3",
"69/3=23",
"66-23=43"
] | Current State: 43:[78, 26, 69, 66], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [69, 66, 3]
Generated Node #2: [69, 66, 3] from Operation: 78/26=3
Current State: 43:[69, 66, 3], Operations: ['78/26=3']
Exploring Operation: 69/3=23, Resulting Numbers: [66, 23]
Generated Node #3: [66, 23] from Operation: 69/3=23
Current State: 43:[66, 23], Operations: ['78/26=3', '69/3=23']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[78, 26, 69, 66], Operations: []
Exploring Operation: 66-26=40, Resulting Numbers: [78, 69, 40]
Generated Node #0,0: 43:[78, 69, 40] Operation: 66-26=40
Exploring Operation: 69-26=43, Resulting Numbers: [78, 66, 43]
Generated Node #0,1: 43:[78, 66, 43] Operation: 69-26=43
Exploring Operation: 78-26=52, Resulting Numbers: [69, 66, 52]
Generated Node #0,2: 43:[69, 66, 52] Operation: 78-26=52
Moving to Node #0,1
Current State: 43:[78, 66, 43], Operations: ['69-26=43']
Exploring Operation: 78-66=12, Resulting Numbers: [43, 12]
Generated Node #0,1,0: 43:[43, 12] Operation: 78-66=12
Exploring Operation: 66-43=23, Resulting Numbers: [78, 23]
Generated Node #0,1,1: 43:[78, 23] Operation: 66-43=23
Exploring Operation: 78-43=35, Resulting Numbers: [66, 35]
Generated Node #0,1,2: 43:[66, 35] Operation: 78-43=35
Moving to Node #0,2
Current State: 43:[69, 66, 52], Operations: ['78-26=52']
Exploring Operation: 66-52=14, Resulting Numbers: [69, 14]
Generated Node #0,2,0: 43:[69, 14] Operation: 66-52=14
Exploring Operation: 69-66=3, Resulting Numbers: [52, 3]
Generated Node #0,2,1: 43:[52, 3] Operation: 69-66=3
Exploring Operation: 69-52=17, Resulting Numbers: [66, 17]
Generated Node #0,2,2: 43:[66, 17] Operation: 69-52=17
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[52, 3], Operations: ['78-26=52', '69-66=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[66, 17], Operations: ['78-26=52', '69-52=17']
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,43 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[69, 14], Operations: ['78-26=52', '66-52=14']
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,43 unequal: No Solution
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,43 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: 43:[78, 69, 40], Operations: ['66-26=40']
Exploring Operation: 69-40=29, Resulting Numbers: [78, 29]
Generated Node #0,0,0: 43:[78, 29] Operation: 69-40=29
Exploring Operation: 78-40=38, Resulting Numbers: [69, 38]
Generated Node #0,0,1: 43:[69, 38] Operation: 78-40=38
Exploring Operation: 78-69=9, Resulting Numbers: [40, 9]
Generated Node #0,0,2: 43:[40, 9] Operation: 78-69=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[69, 38], Operations: ['66-26=40', '78-40=38']
Exploring Operation: 69*38=2622, Resulting Numbers: [2622]
2622,43 unequal: No Solution
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,43 unequal: No Solution
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[40, 9], Operations: ['66-26=40', '78-69=9']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Exploring Operation: 40*9=360, Resulting Numbers: [360]
360,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[78, 29], Operations: ['66-26=40', '69-40=29']
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,43 unequal: No Solution
Exploring Operation: 78*29=2262, Resulting Numbers: [2262]
2262,43 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,43 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: 43:[43, 12], Operations: ['69-26=43', '78-66=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[66, 35], Operations: ['69-26=43', '78-43=35']
Exploring Operation: 66*35=2310, Resulting Numbers: [2310]
2310,43 unequal: No Solution
Exploring Operation: 66+35=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[78, 23], Operations: ['69-26=43', '66-43=23']
Exploring Operation: 78*23=1794, Resulting Numbers: [1794]
1794,43 unequal: No Solution
Exploring Operation: 78+23=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,43 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
88,
54,
19
] | 11 | [
"54/2=27",
"27-19=8",
"88/8=11"
] | Current State: 11:[2, 88, 54, 19], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [88, 19, 27]
Generated Node #2: [88, 19, 27] from Operation: 54/2=27
Current State: 11:[88, 19, 27], Operations: ['54/2=27']
Exploring Operation: 27-19=8, Resulting Numbers: [88, 8]
Generated Node #3: [88, 8] from Operation: 27-19=8
Current State: 11:[88, 8], Operations: ['54/2=27', '27-19=8']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[2, 88, 54, 19], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [54, 19, 44]
Generated Node #0,0: 11:[54, 19, 44] Operation: 88/2=44
Exploring Operation: 88-54=34, Resulting Numbers: [2, 19, 34]
Generated Node #0,1: 11:[2, 19, 34] Operation: 88-54=34
Exploring Operation: 54/2=27, Resulting Numbers: [88, 19, 27]
Generated Node #0,2: 11:[88, 19, 27] Operation: 54/2=27
Moving to Node #0,1
Current State: 11:[2, 19, 34], Operations: ['88-54=34']
Exploring Operation: 34/2=17, Resulting Numbers: [19, 17]
Generated Node #0,1,0: 11:[19, 17] Operation: 34/2=17
Exploring Operation: 34-19=15, Resulting Numbers: [2, 15]
Generated Node #0,1,1: 11:[2, 15] Operation: 34-19=15
Exploring Operation: 19-2=17, Resulting Numbers: [34, 17]
Generated Node #0,1,2: 11:[34, 17] Operation: 19-2=17
Moving to Node #0,0
Current State: 11:[54, 19, 44], Operations: ['88/2=44']
Exploring Operation: 44-19=25, Resulting Numbers: [54, 25]
Generated Node #0,0,0: 11:[54, 25] Operation: 44-19=25
Exploring Operation: 54-44=10, Resulting Numbers: [19, 10]
Generated Node #0,0,1: 11:[19, 10] Operation: 54-44=10
Exploring Operation: 54-19=35, Resulting Numbers: [44, 35]
Generated Node #0,0,2: 11:[44, 35] Operation: 54-19=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[19, 10], Operations: ['88/2=44', '54-44=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[54, 25], Operations: ['88/2=44', '44-19=25']
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,11 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 54*25=1350, Resulting Numbers: [1350]
1350,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[44, 35], Operations: ['88/2=44', '54-19=35']
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,11 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 11:[88, 19, 27], Operations: ['54/2=27']
Exploring Operation: 88-19=69, Resulting Numbers: [27, 69]
Generated Node #0,2,0: 11:[27, 69] Operation: 88-19=69
Exploring Operation: 27-19=8, Resulting Numbers: [88, 8]
Generated Node #0,2,1: 11:[88, 8] Operation: 27-19=8
Exploring Operation: 88-27=61, Resulting Numbers: [19, 61]
Generated Node #0,2,2: 11:[19, 61] Operation: 88-27=61
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[19, 61], Operations: ['54/2=27', '88-27=61']
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,11 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 11:[27, 69], Operations: ['54/2=27', '88-19=69']
Exploring Operation: 27*69=1863, Resulting Numbers: [1863]
1863,11 unequal: No Solution
Exploring Operation: 27+69=96, Resulting Numbers: [96]
96,11 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 11:[88, 8], Operations: ['54/2=27', '27-19=8']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[2, 88, 54, 19], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [88, 19, 27]
Generated Node #0,2: 11:[88, 19, 27] Operation: 54/2=27
Moving to Node #0,2
Current State: 11:[88, 19, 27], Operations: ['54/2=27']
Exploring Operation: 27-19=8, Resulting Numbers: [88, 8]
Generated Node #0,2,1: 11:[88, 8] Operation: 27-19=8
Moving to Node #0,2,1
Current State: 11:[88, 8], Operations: ['54/2=27', '27-19=8']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_3 | sum_heuristic |
[
88,
86,
62,
8
] | 39 | [
"88-86=2",
"62/2=31",
"8+31=39"
] | Current State: 39:[88, 86, 62, 8], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [62, 8, 2]
Generated Node #2: [62, 8, 2] from Operation: 88-86=2
Current State: 39:[62, 8, 2], Operations: ['88-86=2']
Exploring Operation: 62/2=31, Resulting Numbers: [8, 31]
Generated Node #3: [8, 31] from Operation: 62/2=31
Current State: 39:[8, 31], Operations: ['88-86=2', '62/2=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[88, 86, 62, 8], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [86, 62, 11]
Generated Node #0,0: 39:[86, 62, 11] Operation: 88/8=11
Exploring Operation: 86-62=24, Resulting Numbers: [88, 8, 24]
Generated Node #0,1: 39:[88, 8, 24] Operation: 86-62=24
Exploring Operation: 88-86=2, Resulting Numbers: [62, 8, 2]
Generated Node #0,2: 39:[62, 8, 2] Operation: 88-86=2
Exploring Operation: 88-62=26, Resulting Numbers: [86, 8, 26]
Generated Node #0,3: 39:[86, 8, 26] Operation: 88-62=26
Moving to Node #0,2
Current State: 39:[62, 8, 2], Operations: ['88-86=2']
Exploring Operation: 62-8=54, Resulting Numbers: [2, 54]
Generated Node #0,2,0: 39:[2, 54] Operation: 62-8=54
Exploring Operation: 8/2=4, Resulting Numbers: [62, 4]
Generated Node #0,2,1: 39:[62, 4] Operation: 8/2=4
Exploring Operation: 62-2=60, Resulting Numbers: [8, 60]
Generated Node #0,2,2: 39:[8, 60] Operation: 62-2=60
Exploring Operation: 62/2=31, Resulting Numbers: [8, 31]
Generated Node #0,2,3: 39:[8, 31] Operation: 62/2=31
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 39:[8, 31], Operations: ['88-86=2', '62/2=31']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[88, 86, 62, 8], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [62, 8, 2]
Generated Node #0,2: 39:[62, 8, 2] Operation: 88-86=2
Moving to Node #0,2
Current State: 39:[62, 8, 2], Operations: ['88-86=2']
Exploring Operation: 62/2=31, Resulting Numbers: [8, 31]
Generated Node #0,2,3: 39:[8, 31] Operation: 62/2=31
Moving to Node #0,2,3
Current State: 39:[8, 31], Operations: ['88-86=2', '62/2=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
98,
2,
12,
98
] | 37 | [
"98/2=49",
"98-12=86",
"86-49=37"
] | Current State: 37:[98, 2, 12, 98], Operations: []
Exploring Operation: 98/2=49, Resulting Numbers: [12, 49]
Generated Node #2: [12, 49] from Operation: 98/2=49
Current State: 37:[12, 49], Operations: ['98/2=49']
Exploring Operation: 98-12=86, Resulting Numbers: [49, 86]
Generated Node #3: [49, 86] from Operation: 98-12=86
Current State: 37:[49, 86], Operations: ['98/2=49', '98-12=86']
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[98, 2, 12, 98], Operations: []
Exploring Operation: 98/98=1, Resulting Numbers: [2, 12, 1]
Generated Node #0,0: 37:[2, 12, 1] Operation: 98/98=1
Exploring Operation: 98-98=0, Resulting Numbers: [2, 12, 0]
Generated Node #0,1: 37:[2, 12, 0] Operation: 98-98=0
Moving to Node #0,0
Current State: 37:[2, 12, 1], Operations: ['98/98=1']
Exploring Operation: 2+12=14, Resulting Numbers: [1, 14]
Generated Node #0,0,0: 37:[1, 14] Operation: 2+12=14
Exploring Operation: 2*12=24, Resulting Numbers: [1, 24]
Generated Node #0,0,1: 37:[1, 24] Operation: 2*12=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[1, 24], Operations: ['98/98=1', '2*12=24']
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[1, 14], Operations: ['98/98=1', '2+12=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,37 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: 37:[2, 12, 0], Operations: ['98-98=0']
Exploring Operation: 2+12=14, Resulting Numbers: [0, 14]
Generated Node #0,1,0: 37:[0, 14] Operation: 2+12=14
Exploring Operation: 2*12=24, Resulting Numbers: [0, 24]
Generated Node #0,1,1: 37:[0, 24] Operation: 2*12=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[0, 24], Operations: ['98-98=0', '2*12=24']
Exploring Operation: 24-0=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 0+24=24, Resulting Numbers: [24]
24,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[0, 14], Operations: ['98-98=0', '2+12=14']
Exploring Operation: 0+14=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 14-0=14, Resulting Numbers: [14]
14,37 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 |
[
58,
84,
24,
74
] | 76 | [
"84-58=26",
"74-24=50",
"26+50=76"
] | Current State: 76:[58, 84, 24, 74], Operations: []
Exploring Operation: 84-58=26, Resulting Numbers: [24, 74, 26]
Generated Node #2: [24, 74, 26] from Operation: 84-58=26
Current State: 76:[24, 74, 26], Operations: ['84-58=26']
Exploring Operation: 74-24=50, Resulting Numbers: [26, 50]
Generated Node #3: [26, 50] from Operation: 74-24=50
Current State: 76:[26, 50], Operations: ['84-58=26', '74-24=50']
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[58, 84, 24, 74], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [58, 24, 10]
Generated Node #0,0: 76:[58, 24, 10] Operation: 84-74=10
Exploring Operation: 58-24=34, Resulting Numbers: [84, 74, 34]
Generated Node #0,1: 76:[84, 74, 34] Operation: 58-24=34
Exploring Operation: 84-58=26, Resulting Numbers: [24, 74, 26]
Generated Node #0,2: 76:[24, 74, 26] Operation: 84-58=26
Exploring Operation: 74-58=16, Resulting Numbers: [84, 24, 16]
Generated Node #0,3: 76:[84, 24, 16] Operation: 74-58=16
Exploring Operation: 58+24=82, Resulting Numbers: [84, 74, 82]
Generated Node #0,4: 76:[84, 74, 82] Operation: 58+24=82
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[84, 74, 34], Operations: ['58-24=34']
Exploring Operation: 84-34=50, Resulting Numbers: [74, 50]
Generated Node #0,1,0: 76:[74, 50] Operation: 84-34=50
Exploring Operation: 84+34=118, Resulting Numbers: [74, 118]
Generated Node #0,1,1: 76:[74, 118] Operation: 84+34=118
Exploring Operation: 74-34=40, Resulting Numbers: [84, 40]
Generated Node #0,1,2: 76:[84, 40] Operation: 74-34=40
Exploring Operation: 84-74=10, Resulting Numbers: [34, 10]
Generated Node #0,1,3: 76:[34, 10] Operation: 84-74=10
Exploring Operation: 74+34=108, Resulting Numbers: [84, 108]
Generated Node #0,1,4: 76:[84, 108] Operation: 74+34=108
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[84, 40], Operations: ['58-24=34', '74-34=40']
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,76 unequal: No Solution
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,76 unequal: No Solution
No 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: 76:[34, 10], Operations: ['58-24=34', '84-74=10']
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,76 unequal: No Solution
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,76 unequal: No Solution
No 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: 76:[74, 50], Operations: ['58-24=34', '84-34=50']
Exploring Operation: 74*50=3700, Resulting Numbers: [3700]
3700,76 unequal: No Solution
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 74+50=124, Resulting Numbers: [124]
124,76 unequal: No Solution
No 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: 76:[84, 108], Operations: ['58-24=34', '74+34=108']
Exploring Operation: 84*108=9072, Resulting Numbers: [9072]
9072,76 unequal: No Solution
Exploring Operation: 84+108=192, Resulting Numbers: [192]
192,76 unequal: No Solution
Exploring Operation: 108-84=24, Resulting Numbers: [24]
24,76 unequal: No Solution
No 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: 76:[74, 118], Operations: ['58-24=34', '84+34=118']
Exploring Operation: 74*118=8732, Resulting Numbers: [8732]
8732,76 unequal: No Solution
Exploring Operation: 74+118=192, Resulting Numbers: [192]
192,76 unequal: No Solution
Exploring Operation: 118-74=44, Resulting Numbers: [44]
44,76 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: 76:[24, 74, 26], Operations: ['84-58=26']
Exploring Operation: 24+74=98, Resulting Numbers: [26, 98]
Generated Node #0,2,0: 76:[26, 98] Operation: 24+74=98
Exploring Operation: 74-26=48, Resulting Numbers: [24, 48]
Generated Node #0,2,1: 76:[24, 48] Operation: 74-26=48
Exploring Operation: 26-24=2, Resulting Numbers: [74, 2]
Generated Node #0,2,2: 76:[74, 2] Operation: 26-24=2
Exploring Operation: 74-24=50, Resulting Numbers: [26, 50]
Generated Node #0,2,3: 76:[26, 50] Operation: 74-24=50
Exploring Operation: 24+26=50, Resulting Numbers: [74, 50]
Generated Node #0,2,4: 76:[74, 50] Operation: 24+26=50
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[74, 2], Operations: ['84-58=26', '26-24=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[58, 84, 24, 74], Operations: []
Exploring Operation: 84-58=26, Resulting Numbers: [24, 74, 26]
Generated Node #0,2: 76:[24, 74, 26] Operation: 84-58=26
Moving to Node #0,2
Current State: 76:[24, 74, 26], Operations: ['84-58=26']
Exploring Operation: 26-24=2, Resulting Numbers: [74, 2]
Generated Node #0,2,2: 76:[74, 2] Operation: 26-24=2
Moving to Node #0,2,2
Current State: 76:[74, 2], Operations: ['84-58=26', '26-24=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
41,
34,
52,
31
] | 14 | [
"41-34=7",
"52-31=21",
"21-7=14"
] | Current State: 14:[41, 34, 52, 31], Operations: []
Exploring Operation: 41-34=7, Resulting Numbers: [52, 31, 7]
Generated Node #2: [52, 31, 7] from Operation: 41-34=7
Current State: 14:[52, 31, 7], Operations: ['41-34=7']
Exploring Operation: 52-31=21, Resulting Numbers: [7, 21]
Generated Node #3: [7, 21] from Operation: 52-31=21
Current State: 14:[7, 21], Operations: ['41-34=7', '52-31=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[41, 34, 52, 31], Operations: []
Exploring Operation: 52-34=18, Resulting Numbers: [41, 31, 18]
Generated Node #0,0: 14:[41, 31, 18] Operation: 52-34=18
Exploring Operation: 52-31=21, Resulting Numbers: [41, 34, 21]
Generated Node #0,1: 14:[41, 34, 21] Operation: 52-31=21
Exploring Operation: 52-41=11, Resulting Numbers: [34, 31, 11]
Generated Node #0,2: 14:[34, 31, 11] Operation: 52-41=11
Moving to Node #0,2
Current State: 14:[34, 31, 11], Operations: ['52-41=11']
Exploring Operation: 31-11=20, Resulting Numbers: [34, 20]
Generated Node #0,2,0: 14:[34, 20] Operation: 31-11=20
Exploring Operation: 34-31=3, Resulting Numbers: [11, 3]
Generated Node #0,2,1: 14:[11, 3] Operation: 34-31=3
Exploring Operation: 34-11=23, Resulting Numbers: [31, 23]
Generated Node #0,2,2: 14:[31, 23] Operation: 34-11=23
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 14:[11, 3], Operations: ['52-41=11', '34-31=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[41, 34, 52, 31], Operations: []
Exploring Operation: 52-41=11, Resulting Numbers: [34, 31, 11]
Generated Node #0,2: 14:[34, 31, 11] Operation: 52-41=11
Moving to Node #0,2
Current State: 14:[34, 31, 11], Operations: ['52-41=11']
Exploring Operation: 34-31=3, Resulting Numbers: [11, 3]
Generated Node #0,2,1: 14:[11, 3] Operation: 34-31=3
Moving to Node #0,2,1
Current State: 14:[11, 3], Operations: ['52-41=11', '34-31=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
15,
44,
97,
21
] | 47 | [
"44-15=29",
"97-21=76",
"76-29=47"
] | Current State: 47:[15, 44, 97, 21], Operations: []
Exploring Operation: 44-15=29, Resulting Numbers: [97, 21, 29]
Generated Node #2: [97, 21, 29] from Operation: 44-15=29
Current State: 47:[97, 21, 29], Operations: ['44-15=29']
Exploring Operation: 97-21=76, Resulting Numbers: [29, 76]
Generated Node #3: [29, 76] from Operation: 97-21=76
Current State: 47:[29, 76], Operations: ['44-15=29', '97-21=76']
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[15, 44, 97, 21], Operations: []
Exploring Operation: 97-15=82, Resulting Numbers: [44, 21, 82]
Generated Node #0,0: 47:[44, 21, 82] Operation: 97-15=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[44, 21, 82], Operations: ['97-15=82']
Exploring Operation: 82-21=61, Resulting Numbers: [44, 61]
Generated Node #0,0,0: 47:[44, 61] Operation: 82-21=61
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[44, 61], Operations: ['97-15=82', '82-21=61']
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
98,
33,
35,
77
] | 19 | [
"98+33=131",
"35+77=112",
"131-112=19"
] | Current State: 19:[98, 33, 35, 77], Operations: []
Exploring Operation: 98+33=131, Resulting Numbers: [35, 77, 131]
Generated Node #2: [35, 77, 131] from Operation: 98+33=131
Current State: 19:[35, 77, 131], Operations: ['98+33=131']
Exploring Operation: 35+77=112, Resulting Numbers: [131, 112]
Generated Node #3: [131, 112] from Operation: 35+77=112
Current State: 19:[131, 112], Operations: ['98+33=131', '35+77=112']
Exploring Operation: 131-112=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[98, 33, 35, 77], Operations: []
Exploring Operation: 98-35=63, Resulting Numbers: [33, 77, 63]
Generated Node #0,0: 19:[33, 77, 63] Operation: 98-35=63
Exploring Operation: 98-77=21, Resulting Numbers: [33, 35, 21]
Generated Node #0,1: 19:[33, 35, 21] Operation: 98-77=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[33, 35, 21], Operations: ['98-77=21']
Exploring Operation: 35-21=14, Resulting Numbers: [33, 14]
Generated Node #0,1,0: 19:[33, 14] Operation: 35-21=14
Exploring Operation: 35-33=2, Resulting Numbers: [21, 2]
Generated Node #0,1,1: 19:[21, 2] Operation: 35-33=2
Moving to Node #0,1,0
Current State: 19:[33, 14], Operations: ['98-77=21', '35-21=14']
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[98, 33, 35, 77], Operations: []
Exploring Operation: 98-77=21, Resulting Numbers: [33, 35, 21]
Generated Node #0,1: 19:[33, 35, 21] Operation: 98-77=21
Moving to Node #0,1
Current State: 19:[33, 35, 21], Operations: ['98-77=21']
Exploring Operation: 35-21=14, Resulting Numbers: [33, 14]
Generated Node #0,1,0: 19:[33, 14] Operation: 35-21=14
Moving to Node #0,1,0
Current State: 19:[33, 14], Operations: ['98-77=21', '35-21=14']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
59,
78,
38,
7
] | 95 | [
"78-59=19",
"7*19=133",
"133-38=95"
] | Current State: 95:[59, 78, 38, 7], Operations: []
Exploring Operation: 78-59=19, Resulting Numbers: [38, 7, 19]
Generated Node #2: [38, 7, 19] from Operation: 78-59=19
Current State: 95:[38, 7, 19], Operations: ['78-59=19']
Exploring Operation: 7*19=133, Resulting Numbers: [38, 133]
Generated Node #3: [38, 133] from Operation: 7*19=133
Current State: 95:[38, 133], Operations: ['78-59=19', '7*19=133']
Exploring Operation: 133-38=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[59, 78, 38, 7], Operations: []
Exploring Operation: 78+38=116, Resulting Numbers: [59, 7, 116]
Generated Node #0,0: 95:[59, 7, 116] Operation: 78+38=116
Exploring Operation: 59+38=97, Resulting Numbers: [78, 7, 97]
Generated Node #0,1: 95:[78, 7, 97] Operation: 59+38=97
Exploring Operation: 78-59=19, Resulting Numbers: [38, 7, 19]
Generated Node #0,2: 95:[38, 7, 19] Operation: 78-59=19
Exploring Operation: 59-38=21, Resulting Numbers: [78, 7, 21]
Generated Node #0,3: 95:[78, 7, 21] Operation: 59-38=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[78, 7, 97], Operations: ['59+38=97']
Exploring Operation: 97-78=19, Resulting Numbers: [7, 19]
Generated Node #0,1,0: 95:[7, 19] Operation: 97-78=19
Exploring Operation: 78-7=71, Resulting Numbers: [97, 71]
Generated Node #0,1,1: 95:[97, 71] Operation: 78-7=71
Exploring Operation: 97-7=90, Resulting Numbers: [78, 90]
Generated Node #0,1,2: 95:[78, 90] Operation: 97-7=90
Exploring Operation: 78+7=85, Resulting Numbers: [97, 85]
Generated Node #0,1,3: 95:[97, 85] Operation: 78+7=85
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[7, 19], Operations: ['59+38=97', '97-78=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,95 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 95:[97, 85], Operations: ['59+38=97', '78+7=85']
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 97*85=8245, Resulting Numbers: [8245]
8245,95 unequal: No Solution
Exploring Operation: 97+85=182, Resulting Numbers: [182]
182,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[78, 90], Operations: ['59+38=97', '97-7=90']
Exploring Operation: 78*90=7020, Resulting Numbers: [7020]
7020,95 unequal: No Solution
Exploring Operation: 78+90=168, Resulting Numbers: [168]
168,95 unequal: No Solution
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[97, 71], Operations: ['59+38=97', '78-7=71']
Exploring Operation: 97+71=168, Resulting Numbers: [168]
168,95 unequal: No Solution
Exploring Operation: 97*71=6887, Resulting Numbers: [6887]
6887,95 unequal: No Solution
Exploring Operation: 97-71=26, Resulting Numbers: [26]
26,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[38, 7, 19], Operations: ['78-59=19']
Exploring Operation: 38/19=2, Resulting Numbers: [7, 2]
Generated Node #0,2,0: 95:[7, 2] Operation: 38/19=2
Exploring Operation: 38+7=45, Resulting Numbers: [19, 45]
Generated Node #0,2,1: 95:[19, 45] Operation: 38+7=45
Exploring Operation: 38-7=31, Resulting Numbers: [19, 31]
Generated Node #0,2,2: 95:[19, 31] Operation: 38-7=31
Exploring Operation: 38-19=19, Resulting Numbers: [7, 19]
Generated Node #0,2,3: 95:[7, 19] Operation: 38-19=19
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 95:[7, 19], Operations: ['78-59=19', '38-19=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,95 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[7, 2], Operations: ['78-59=19', '38/19=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[19, 31], Operations: ['78-59=19', '38-7=31']
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,95 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[19, 45], Operations: ['78-59=19', '38+7=45']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,95 unequal: No Solution
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[78, 7, 21], Operations: ['59-38=21']
Exploring Operation: 21/7=3, Resulting Numbers: [78, 3]
Generated Node #0,3,0: 95:[78, 3] Operation: 21/7=3
Exploring Operation: 78+7=85, Resulting Numbers: [21, 85]
Generated Node #0,3,1: 95:[21, 85] Operation: 78+7=85
Exploring Operation: 21-7=14, Resulting Numbers: [78, 14]
Generated Node #0,3,2: 95:[78, 14] Operation: 21-7=14
Exploring Operation: 78+21=99, Resulting Numbers: [7, 99]
Generated Node #0,3,3: 95:[7, 99] Operation: 78+21=99
Moving to Node #0,3,3
Current State: 95:[7, 99], Operations: ['59-38=21', '78+21=99']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Exploring Operation: 7+99=106, Resulting Numbers: [106]
106,95 unequal: No Solution
Exploring Operation: 7*99=693, Resulting Numbers: [693]
693,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[21, 85], Operations: ['59-38=21', '78+7=85']
Exploring Operation: 21*85=1785, Resulting Numbers: [1785]
1785,95 unequal: No Solution
Exploring Operation: 21+85=106, Resulting Numbers: [106]
106,95 unequal: No Solution
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,95 unequal: No Solution
Moving to Node #0,3,0
Current State: 95:[78, 3], Operations: ['59-38=21', '21/7=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,95 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[78, 14], Operations: ['59-38=21', '21-7=14']
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,95 unequal: No Solution
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,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
Current State: 95:[59, 7, 116], Operations: ['78+38=116']
Exploring Operation: 116-59=57, Resulting Numbers: [7, 57]
Generated Node #0,0,0: 95:[7, 57] Operation: 116-59=57
Exploring Operation: 59-7=52, Resulting Numbers: [116, 52]
Generated Node #0,0,1: 95:[116, 52] Operation: 59-7=52
Exploring Operation: 59+7=66, Resulting Numbers: [116, 66]
Generated Node #0,0,2: 95:[116, 66] Operation: 59+7=66
Exploring Operation: 116-7=109, Resulting Numbers: [59, 109]
Generated Node #0,0,3: 95:[59, 109] Operation: 116-7=109
Moving to Node #0,0,0
Current State: 95:[7, 57], Operations: ['78+38=116', '116-59=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,95 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 7*57=399, Resulting Numbers: [399]
399,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[59, 109], Operations: ['78+38=116', '116-7=109']
Exploring Operation: 59+109=168, Resulting Numbers: [168]
168,95 unequal: No Solution
Exploring Operation: 109-59=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 59*109=6431, Resulting Numbers: [6431]
6431,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[116, 66], Operations: ['78+38=116', '59+7=66']
Exploring Operation: 116+66=182, Resulting Numbers: [182]
182,95 unequal: No Solution
Exploring Operation: 116-66=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 116*66=7656, Resulting Numbers: [7656]
7656,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[116, 52], Operations: ['78+38=116', '59-7=52']
Exploring Operation: 116*52=6032, Resulting Numbers: [6032]
6032,95 unequal: No Solution
Exploring Operation: 116+52=168, Resulting Numbers: [168]
168,95 unequal: No Solution
Exploring Operation: 116-52=64, Resulting Numbers: [64]
64,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
16,
36,
20,
72
] | 81 | [
"20-16=4",
"36/4=9",
"72+9=81"
] | Current State: 81:[16, 36, 20, 72], Operations: []
Exploring Operation: 20-16=4, Resulting Numbers: [36, 72, 4]
Generated Node #2: [36, 72, 4] from Operation: 20-16=4
Current State: 81:[36, 72, 4], Operations: ['20-16=4']
Exploring Operation: 36/4=9, Resulting Numbers: [72, 9]
Generated Node #3: [72, 9] from Operation: 36/4=9
Current State: 81:[72, 9], Operations: ['20-16=4', '36/4=9']
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[16, 36, 20, 72], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [16, 20, 2]
Generated Node #0,0: 81:[16, 20, 2] Operation: 72/36=2
Exploring Operation: 36-16=20, Resulting Numbers: [20, 72, 20]
Generated Node #0,1: 81:[20, 72, 20] Operation: 36-16=20
Exploring Operation: 20-16=4, Resulting Numbers: [36, 72, 4]
Generated Node #0,2: 81:[36, 72, 4] Operation: 20-16=4
Moving to Node #0,0
Current State: 81:[16, 20, 2], Operations: ['72/36=2']
Exploring Operation: 16/2=8, Resulting Numbers: [20, 8]
Generated Node #0,0,0: 81:[20, 8] Operation: 16/2=8
Exploring Operation: 20-16=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 81:[2, 4] Operation: 20-16=4
Exploring Operation: 20/2=10, Resulting Numbers: [16, 10]
Generated Node #0,0,2: 81:[16, 10] Operation: 20/2=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[2, 4], Operations: ['72/36=2', '20-16=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[20, 8], Operations: ['72/36=2', '16/2=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,81 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[16, 10], Operations: ['72/36=2', '20/2=10']
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,81 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,81 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: 81:[36, 72, 4], Operations: ['20-16=4']
Exploring Operation: 72/36=2, Resulting Numbers: [4, 2]
Generated Node #0,2,0: 81:[4, 2] Operation: 72/36=2
Exploring Operation: 36/4=9, Resulting Numbers: [72, 9]
Generated Node #0,2,1: 81:[72, 9] Operation: 36/4=9
Exploring Operation: 72-36=36, Resulting Numbers: [4, 36]
Generated Node #0,2,2: 81:[4, 36] Operation: 72-36=36
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[4, 2], Operations: ['20-16=4', '72/36=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[72, 9], Operations: ['20-16=4', '36/4=9']
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,81 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[16, 36, 20, 72], Operations: []
Exploring Operation: 20-16=4, Resulting Numbers: [36, 72, 4]
Generated Node #0,2: 81:[36, 72, 4] Operation: 20-16=4
Moving to Node #0,2
Current State: 81:[36, 72, 4], Operations: ['20-16=4']
Exploring Operation: 36/4=9, Resulting Numbers: [72, 9]
Generated Node #0,2,1: 81:[72, 9] Operation: 36/4=9
Moving to Node #0,2,1
Current State: 81:[72, 9], Operations: ['20-16=4', '36/4=9']
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
73,
61,
91,
45
] | 58 | [
"73-61=12",
"91-45=46",
"12+46=58"
] | Current State: 58:[73, 61, 91, 45], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [91, 45, 12]
Generated Node #2: [91, 45, 12] from Operation: 73-61=12
Current State: 58:[91, 45, 12], Operations: ['73-61=12']
Exploring Operation: 91-45=46, Resulting Numbers: [12, 46]
Generated Node #3: [12, 46] from Operation: 91-45=46
Current State: 58:[12, 46], Operations: ['73-61=12', '91-45=46']
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[73, 61, 91, 45], Operations: []
Exploring Operation: 91-61=30, Resulting Numbers: [73, 45, 30]
Generated Node #0,0: 58:[73, 45, 30] Operation: 91-61=30
Exploring Operation: 91-73=18, Resulting Numbers: [61, 45, 18]
Generated Node #0,1: 58:[61, 45, 18] Operation: 91-73=18
Exploring Operation: 73-45=28, Resulting Numbers: [61, 91, 28]
Generated Node #0,2: 58:[61, 91, 28] Operation: 73-45=28
Exploring Operation: 91-45=46, Resulting Numbers: [73, 61, 46]
Generated Node #0,3: 58:[73, 61, 46] Operation: 91-45=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[61, 45, 18], Operations: ['91-73=18']
Exploring Operation: 61-45=16, Resulting Numbers: [18, 16]
Generated Node #0,1,0: 58:[18, 16] Operation: 61-45=16
Exploring Operation: 61-18=43, Resulting Numbers: [45, 43]
Generated Node #0,1,1: 58:[45, 43] Operation: 61-18=43
Exploring Operation: 45+18=63, Resulting Numbers: [61, 63]
Generated Node #0,1,2: 58:[61, 63] Operation: 45+18=63
Exploring Operation: 45-18=27, Resulting Numbers: [61, 27]
Generated Node #0,1,3: 58:[61, 27] Operation: 45-18=27
Moving to Node #0,1,3
Current State: 58:[61, 27], Operations: ['91-73=18', '45-18=27']
Exploring Operation: 61*27=1647, Resulting Numbers: [1647]
1647,58 unequal: No Solution
Exploring Operation: 61+27=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[61, 63], Operations: ['91-73=18', '45+18=63']
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 61+63=124, Resulting Numbers: [124]
124,58 unequal: No Solution
Exploring Operation: 61*63=3843, Resulting Numbers: [3843]
3843,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[18, 16], Operations: ['91-73=18', '61-45=16']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[45, 43], Operations: ['91-73=18', '61-18=43']
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,58 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[73, 45, 30], Operations: ['91-61=30']
Exploring Operation: 45+30=75, Resulting Numbers: [73, 75]
Generated Node #0,0,0: 58:[73, 75] Operation: 45+30=75
Exploring Operation: 73-30=43, Resulting Numbers: [45, 43]
Generated Node #0,0,1: 58:[45, 43] Operation: 73-30=43
Exploring Operation: 45-30=15, Resulting Numbers: [73, 15]
Generated Node #0,0,2: 58:[73, 15] Operation: 45-30=15
Exploring Operation: 73-45=28, Resulting Numbers: [30, 28]
Generated Node #0,0,3: 58:[30, 28] Operation: 73-45=28
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 58:[30, 28], Operations: ['91-61=30', '73-45=28']
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,58 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[73, 61, 91, 45], Operations: []
Exploring Operation: 91-61=30, Resulting Numbers: [73, 45, 30]
Generated Node #0,0: 58:[73, 45, 30] Operation: 91-61=30
Moving to Node #0,0
Current State: 58:[73, 45, 30], Operations: ['91-61=30']
Exploring Operation: 73-45=28, Resulting Numbers: [30, 28]
Generated Node #0,0,3: 58:[30, 28] Operation: 73-45=28
Moving to Node #0,0,3
Current State: 58:[30, 28], Operations: ['91-61=30', '73-45=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
90,
88,
69,
42
] | 67 | [
"90+88=178",
"69+42=111",
"178-111=67"
] | Current State: 67:[90, 88, 69, 42], Operations: []
Exploring Operation: 90+88=178, Resulting Numbers: [69, 42, 178]
Generated Node #2: [69, 42, 178] from Operation: 90+88=178
Current State: 67:[69, 42, 178], Operations: ['90+88=178']
Exploring Operation: 69+42=111, Resulting Numbers: [178, 111]
Generated Node #3: [178, 111] from Operation: 69+42=111
Current State: 67:[178, 111], Operations: ['90+88=178', '69+42=111']
Exploring Operation: 178-111=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[90, 88, 69, 42], Operations: []
Exploring Operation: 88-42=46, Resulting Numbers: [90, 69, 46]
Generated Node #0,0: 67:[90, 69, 46] Operation: 88-42=46
Exploring Operation: 90-42=48, Resulting Numbers: [88, 69, 48]
Generated Node #0,1: 67:[88, 69, 48] Operation: 90-42=48
Moving to Node #0,1
Current State: 67:[88, 69, 48], Operations: ['90-42=48']
Exploring Operation: 88-69=19, Resulting Numbers: [48, 19]
Generated Node #0,1,0: 67:[48, 19] Operation: 88-69=19
Exploring Operation: 88-48=40, Resulting Numbers: [69, 40]
Generated Node #0,1,1: 67:[69, 40] Operation: 88-48=40
Moving to Node #0,0
Current State: 67:[90, 69, 46], Operations: ['88-42=46']
Exploring Operation: 90-46=44, Resulting Numbers: [69, 44]
Generated Node #0,0,0: 67:[69, 44] Operation: 90-46=44
Exploring Operation: 90-69=21, Resulting Numbers: [46, 21]
Generated Node #0,0,1: 67:[46, 21] Operation: 90-69=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[69, 44], Operations: ['88-42=46', '90-46=44']
Exploring Operation: 69+44=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[46, 21], Operations: ['88-42=46', '90-69=21']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[90, 88, 69, 42], Operations: []
Exploring Operation: 88-42=46, Resulting Numbers: [90, 69, 46]
Generated Node #0,0: 67:[90, 69, 46] Operation: 88-42=46
Moving to Node #0,0
Current State: 67:[90, 69, 46], Operations: ['88-42=46']
Exploring Operation: 90-69=21, Resulting Numbers: [46, 21]
Generated Node #0,0,1: 67:[46, 21] Operation: 90-69=21
Moving to Node #0,0,1
Current State: 67:[46, 21], Operations: ['88-42=46', '90-69=21']
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | mult_heuristic |
[
61,
11,
4,
83
] | 99 | [
"83-61=22",
"4*22=88",
"11+88=99"
] | Current State: 99:[61, 11, 4, 83], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [11, 4, 22]
Generated Node #2: [11, 4, 22] from Operation: 83-61=22
Current State: 99:[11, 4, 22], Operations: ['83-61=22']
Exploring Operation: 4*22=88, Resulting Numbers: [11, 88]
Generated Node #3: [11, 88] from Operation: 4*22=88
Current State: 99:[11, 88], Operations: ['83-61=22', '4*22=88']
Exploring Operation: 11+88=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[61, 11, 4, 83], Operations: []
Exploring Operation: 11+83=94, Resulting Numbers: [61, 4, 94]
Generated Node #0,0: 99:[61, 4, 94] Operation: 11+83=94
Exploring Operation: 61-11=50, Resulting Numbers: [4, 83, 50]
Generated Node #0,1: 99:[4, 83, 50] Operation: 61-11=50
Exploring Operation: 83-61=22, Resulting Numbers: [11, 4, 22]
Generated Node #0,2: 99:[11, 4, 22] Operation: 83-61=22
Exploring Operation: 61-4=57, Resulting Numbers: [11, 83, 57]
Generated Node #0,3: 99:[11, 83, 57] Operation: 61-4=57
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[11, 4, 22], Operations: ['83-61=22']
Exploring Operation: 22-11=11, Resulting Numbers: [4, 11]
Generated Node #0,2,0: 99:[4, 11] Operation: 22-11=11
Exploring Operation: 11+22=33, Resulting Numbers: [4, 33]
Generated Node #0,2,1: 99:[4, 33] Operation: 11+22=33
Exploring Operation: 22/11=2, Resulting Numbers: [4, 2]
Generated Node #0,2,2: 99:[4, 2] Operation: 22/11=2
Exploring Operation: 4+22=26, Resulting Numbers: [11, 26]
Generated Node #0,2,3: 99:[11, 26] Operation: 4+22=26
Moving to Node #0,2,0
Current State: 99:[4, 11], Operations: ['83-61=22', '22-11=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[4, 33], Operations: ['83-61=22', '11+22=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[4, 2], Operations: ['83-61=22', '22/11=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[11, 26], Operations: ['83-61=22', '4+22=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,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
Current State: 99:[61, 4, 94], Operations: ['11+83=94']
Exploring Operation: 4+94=98, Resulting Numbers: [61, 98]
Generated Node #0,0,0: 99:[61, 98] Operation: 4+94=98
Exploring Operation: 61+4=65, Resulting Numbers: [94, 65]
Generated Node #0,0,1: 99:[94, 65] Operation: 61+4=65
Exploring Operation: 61-4=57, Resulting Numbers: [94, 57]
Generated Node #0,0,2: 99:[94, 57] Operation: 61-4=57
Exploring Operation: 94-61=33, Resulting Numbers: [4, 33]
Generated Node #0,0,3: 99:[4, 33] Operation: 94-61=33
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 99:[4, 33], Operations: ['11+83=94', '94-61=33']
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,99 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,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,0,0
Current State: 99:[61, 98], Operations: ['11+83=94', '4+94=98']
Exploring Operation: 61+98=159, Resulting Numbers: [159]
159,99 unequal: No Solution
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 61*98=5978, Resulting Numbers: [5978]
5978,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,0,2
Current State: 99:[94, 57], Operations: ['11+83=94', '61-4=57']
Exploring Operation: 94*57=5358, Resulting Numbers: [5358]
5358,99 unequal: No Solution
Exploring Operation: 94+57=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
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[94, 65], Operations: ['11+83=94', '61+4=65']
Exploring Operation: 94+65=159, Resulting Numbers: [159]
159,99 unequal: No Solution
Exploring Operation: 94*65=6110, Resulting Numbers: [6110]
6110,99 unequal: No Solution
Exploring Operation: 94-65=29, Resulting Numbers: [29]
29,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,1
Current State: 99:[4, 83, 50], Operations: ['61-11=50']
Exploring Operation: 50-4=46, Resulting Numbers: [83, 46]
Generated Node #0,1,0: 99:[83, 46] Operation: 50-4=46
Exploring Operation: 4+83=87, Resulting Numbers: [50, 87]
Generated Node #0,1,1: 99:[50, 87] Operation: 4+83=87
Exploring Operation: 83+50=133, Resulting Numbers: [4, 133]
Generated Node #0,1,2: 99:[4, 133] Operation: 83+50=133
Exploring Operation: 83-50=33, Resulting Numbers: [4, 33]
Generated Node #0,1,3: 99:[4, 33] Operation: 83-50=33
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[4, 33], Operations: ['61-11=50', '83-50=33']
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,99 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[83, 46], Operations: ['61-11=50', '50-4=46']
Exploring Operation: 83+46=129, Resulting Numbers: [129]
129,99 unequal: No Solution
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 83*46=3818, Resulting Numbers: [3818]
3818,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[50, 87], Operations: ['61-11=50', '4+83=87']
Exploring Operation: 87-50=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 50*87=4350, Resulting Numbers: [4350]
4350,99 unequal: No Solution
Exploring Operation: 50+87=137, Resulting Numbers: [137]
137,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[4, 133], Operations: ['61-11=50', '83+50=133']
Exploring Operation: 133-4=129, Resulting Numbers: [129]
129,99 unequal: No Solution
Exploring Operation: 4*133=532, Resulting Numbers: [532]
532,99 unequal: No Solution
Exploring Operation: 4+133=137, Resulting Numbers: [137]
137,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,3
Current State: 99:[11, 83, 57], Operations: ['61-4=57']
Exploring Operation: 83-57=26, Resulting Numbers: [11, 26]
Generated Node #0,3,0: 99:[11, 26] Operation: 83-57=26
Exploring Operation: 57-11=46, Resulting Numbers: [83, 46]
Generated Node #0,3,1: 99:[83, 46] Operation: 57-11=46
Exploring Operation: 83+57=140, Resulting Numbers: [11, 140]
Generated Node #0,3,2: 99:[11, 140] Operation: 83+57=140
Exploring Operation: 11+83=94, Resulting Numbers: [57, 94]
Generated Node #0,3,3: 99:[57, 94] Operation: 11+83=94
Moving to Node #0,3,0
Current State: 99:[11, 26], Operations: ['61-4=57', '83-57=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[57, 94], Operations: ['61-4=57', '11+83=94']
Exploring Operation: 57+94=151, Resulting Numbers: [151]
151,99 unequal: No Solution
Exploring Operation: 57*94=5358, Resulting Numbers: [5358]
5358,99 unequal: No Solution
Exploring Operation: 94-57=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Moving to Node #0,3,1
Current State: 99:[83, 46], Operations: ['61-4=57', '57-11=46']
Exploring Operation: 83+46=129, Resulting Numbers: [129]
129,99 unequal: No Solution
Exploring Operation: 83*46=3818, Resulting Numbers: [3818]
3818,99 unequal: No Solution
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[11, 140], Operations: ['61-4=57', '83+57=140']
Exploring Operation: 11+140=151, Resulting Numbers: [151]
151,99 unequal: No Solution
Exploring Operation: 140-11=129, Resulting Numbers: [129]
129,99 unequal: No Solution
Exploring Operation: 11*140=1540, Resulting Numbers: [1540]
1540,99 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 |
[
79,
86,
14,
54
] | 52 | [
"86-79=7",
"14/7=2",
"54-2=52"
] | Current State: 52:[79, 86, 14, 54], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [14, 54, 7]
Generated Node #2: [14, 54, 7] from Operation: 86-79=7
Current State: 52:[14, 54, 7], Operations: ['86-79=7']
Exploring Operation: 14/7=2, Resulting Numbers: [54, 2]
Generated Node #3: [54, 2] from Operation: 14/7=2
Current State: 52:[54, 2], Operations: ['86-79=7', '14/7=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[79, 86, 14, 54], Operations: []
Exploring Operation: 79-54=25, Resulting Numbers: [86, 14, 25]
Generated Node #0,0: 52:[86, 14, 25] Operation: 79-54=25
Exploring Operation: 86-79=7, Resulting Numbers: [14, 54, 7]
Generated Node #0,1: 52:[14, 54, 7] Operation: 86-79=7
Exploring Operation: 86-54=32, Resulting Numbers: [79, 14, 32]
Generated Node #0,2: 52:[79, 14, 32] Operation: 86-54=32
Exploring Operation: 79-14=65, Resulting Numbers: [86, 54, 65]
Generated Node #0,3: 52:[86, 54, 65] Operation: 79-14=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[14, 54, 7], Operations: ['86-79=7']
Exploring Operation: 14/7=2, Resulting Numbers: [54, 2]
Generated Node #0,1,0: 52:[54, 2] Operation: 14/7=2
Exploring Operation: 14-7=7, Resulting Numbers: [54, 7]
Generated Node #0,1,1: 52:[54, 7] Operation: 14-7=7
Exploring Operation: 14+7=21, Resulting Numbers: [54, 21]
Generated Node #0,1,2: 52:[54, 21] Operation: 14+7=21
Exploring Operation: 54-7=47, Resulting Numbers: [14, 47]
Generated Node #0,1,3: 52:[14, 47] Operation: 54-7=47
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[54, 2], Operations: ['86-79=7', '14/7=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,52 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[79, 86, 14, 54], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [14, 54, 7]
Generated Node #0,1: 52:[14, 54, 7] Operation: 86-79=7
Moving to Node #0,1
Current State: 52:[14, 54, 7], Operations: ['86-79=7']
Exploring Operation: 14/7=2, Resulting Numbers: [54, 2]
Generated Node #0,1,0: 52:[54, 2] Operation: 14/7=2
Moving to Node #0,1,0
Current State: 52:[54, 2], Operations: ['86-79=7', '14/7=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
22,
89,
70,
70
] | 22 | [
"70-70=0",
"89*0=0",
"22+0=22"
] | Current State: 22:[22, 89, 70, 70], Operations: []
Exploring Operation: 70-70=0, Resulting Numbers: [22, 89, 0]
Generated Node #2: [22, 89, 0] from Operation: 70-70=0
Current State: 22:[22, 89, 0], Operations: ['70-70=0']
Exploring Operation: 89*0=0, Resulting Numbers: [22, 0]
Generated Node #3: [22, 0] from Operation: 89*0=0
Current State: 22:[22, 0], Operations: ['70-70=0', '89*0=0']
Exploring Operation: 22+0=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[22, 89, 70, 70], Operations: []
Exploring Operation: 89-70=19, Resulting Numbers: [22, 70, 19]
Generated Node #0,0: 22:[22, 70, 19] Operation: 89-70=19
Exploring Operation: 89-70=19, Resulting Numbers: [22, 70, 19]
Generated Node #0,1: 22:[22, 70, 19] Operation: 89-70=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[22, 70, 19], Operations: ['89-70=19']
Exploring Operation: 70-22=48, Resulting Numbers: [19, 48]
Generated Node #0,0,0: 22:[19, 48] Operation: 70-22=48
Exploring Operation: 70-19=51, Resulting Numbers: [22, 51]
Generated Node #0,0,1: 22:[22, 51] Operation: 70-19=51
Moving to Node #0,0,0
Current State: 22:[19, 48], Operations: ['89-70=19', '70-22=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[22, 51], Operations: ['89-70=19', '70-19=51']
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,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
Current State: 22:[22, 70, 19], Operations: ['89-70=19']
Exploring Operation: 70-19=51, Resulting Numbers: [22, 51]
Generated Node #0,1,0: 22:[22, 51] Operation: 70-19=51
Exploring Operation: 70-22=48, Resulting Numbers: [19, 48]
Generated Node #0,1,1: 22:[19, 48] Operation: 70-22=48
Moving to Node #0,1,0
Current State: 22:[22, 51], Operations: ['89-70=19', '70-19=51']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[19, 48], Operations: ['89-70=19', '70-22=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,22 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 |
[
52,
72,
78,
27
] | 66 | [
"72+27=99",
"52*99=5148",
"5148/78=66"
] | Current State: 66:[52, 72, 78, 27], Operations: []
Exploring Operation: 72+27=99, Resulting Numbers: [52, 78, 99]
Generated Node #2: [52, 78, 99] from Operation: 72+27=99
Current State: 66:[52, 78, 99], Operations: ['72+27=99']
Exploring Operation: 52*99=5148, Resulting Numbers: [78, 5148]
Generated Node #3: [78, 5148] from Operation: 52*99=5148
Current State: 66:[78, 5148], Operations: ['72+27=99', '52*99=5148']
Exploring Operation: 5148/78=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[52, 72, 78, 27], Operations: []
Exploring Operation: 72-52=20, Resulting Numbers: [78, 27, 20]
Generated Node #0,0: 66:[78, 27, 20] Operation: 72-52=20
Exploring Operation: 78-52=26, Resulting Numbers: [72, 27, 26]
Generated Node #0,1: 66:[72, 27, 26] Operation: 78-52=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[72, 27, 26], Operations: ['78-52=26']
Exploring Operation: 72-27=45, Resulting Numbers: [26, 45]
Generated Node #0,1,0: 66:[26, 45] Operation: 72-27=45
Exploring Operation: 27-26=1, Resulting Numbers: [72, 1]
Generated Node #0,1,1: 66:[72, 1] Operation: 27-26=1
Moving to Node #0,1,1
Current State: 66:[72, 1], Operations: ['78-52=26', '27-26=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[26, 45], Operations: ['78-52=26', '72-27=45']
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,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
Current State: 66:[78, 27, 20], Operations: ['72-52=20']
Exploring Operation: 27-20=7, Resulting Numbers: [78, 7]
Generated Node #0,0,0: 66:[78, 7] Operation: 27-20=7
Exploring Operation: 78-20=58, Resulting Numbers: [27, 58]
Generated Node #0,0,1: 66:[27, 58] Operation: 78-20=58
Moving to Node #0,0,0
Current State: 66:[78, 7], Operations: ['72-52=20', '27-20=7']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[27, 58], Operations: ['72-52=20', '78-20=58']
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,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 | mult_heuristic |
[
4,
91,
63,
28
] | 35 | [
"28/4=7",
"91-63=28",
"7+28=35"
] | Current State: 35:[4, 91, 63, 28], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [91, 63, 7]
Generated Node #2: [91, 63, 7] from Operation: 28/4=7
Current State: 35:[91, 63, 7], Operations: ['28/4=7']
Exploring Operation: 91-63=28, Resulting Numbers: [7, 28]
Generated Node #3: [7, 28] from Operation: 91-63=28
Current State: 35:[7, 28], Operations: ['28/4=7', '91-63=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[4, 91, 63, 28], Operations: []
Exploring Operation: 91-63=28, Resulting Numbers: [4, 28, 28]
Generated Node #0,0: 35:[4, 28, 28] Operation: 91-63=28
Exploring Operation: 91-28=63, Resulting Numbers: [4, 63, 63]
Generated Node #0,1: 35:[4, 63, 63] Operation: 91-28=63
Exploring Operation: 63-28=35, Resulting Numbers: [4, 91, 35]
Generated Node #0,2: 35:[4, 91, 35] Operation: 63-28=35
Moving to Node #0,0
Current State: 35:[4, 28, 28], Operations: ['91-63=28']
Exploring Operation: 28/4=7, Resulting Numbers: [28, 7]
Generated Node #0,0,0: 35:[28, 7] Operation: 28/4=7
Exploring Operation: 28-28=0, Resulting Numbers: [4, 0]
Generated Node #0,0,1: 35:[4, 0] Operation: 28-28=0
Exploring Operation: 28/28=1, Resulting Numbers: [4, 1]
Generated Node #0,0,2: 35:[4, 1] Operation: 28/28=1
Moving to Node #0,1
Current State: 35:[4, 63, 63], Operations: ['91-28=63']
Exploring Operation: 63-63=0, Resulting Numbers: [4, 0]
Generated Node #0,1,0: 35:[4, 0] Operation: 63-63=0
Exploring Operation: 63/63=1, Resulting Numbers: [4, 1]
Generated Node #0,1,1: 35:[4, 1] Operation: 63/63=1
Exploring Operation: 63-4=59, Resulting Numbers: [63, 59]
Generated Node #0,1,2: 35:[63, 59] Operation: 63-4=59
Moving to Node #0,2
Current State: 35:[4, 91, 35], Operations: ['63-28=35']
Exploring Operation: 4+91=95, Resulting Numbers: [35, 95]
Generated Node #0,2,0: 35:[35, 95] Operation: 4+91=95
Exploring Operation: 91-4=87, Resulting Numbers: [35, 87]
Generated Node #0,2,1: 35:[35, 87] Operation: 91-4=87
Exploring Operation: 91-35=56, Resulting Numbers: [4, 56]
Generated Node #0,2,2: 35:[4, 56] Operation: 91-35=56
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[4, 56], Operations: ['63-28=35', '91-35=56']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,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,2,1
Current State: 35:[35, 87], Operations: ['63-28=35', '91-4=87']
Exploring Operation: 35*87=3045, Resulting Numbers: [3045]
3045,35 unequal: No Solution
Exploring Operation: 35+87=122, Resulting Numbers: [122]
122,35 unequal: No Solution
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,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,2,0
Current State: 35:[35, 95], Operations: ['63-28=35', '4+91=95']
Exploring Operation: 35+95=130, Resulting Numbers: [130]
130,35 unequal: No Solution
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 35*95=3325, Resulting Numbers: [3325]
3325,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 35:[4, 1], Operations: ['91-63=28', '28/28=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[4, 1], Operations: ['91-28=63', '63/63=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[4, 0], Operations: ['91-28=63', '63-63=0']
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[4, 0], Operations: ['91-63=28', '28-28=0']
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[28, 7], Operations: ['91-63=28', '28/4=7']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[4, 91, 63, 28], Operations: []
Exploring Operation: 91-63=28, Resulting Numbers: [4, 28, 28]
Generated Node #0,0: 35:[4, 28, 28] Operation: 91-63=28
Moving to Node #0,0
Current State: 35:[4, 28, 28], Operations: ['91-63=28']
Exploring Operation: 28/4=7, Resulting Numbers: [28, 7]
Generated Node #0,0,0: 35:[28, 7] Operation: 28/4=7
Moving to Node #0,0,0
Current State: 35:[28, 7], Operations: ['91-63=28', '28/4=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.966146 | hs_3 | sum_heuristic |
[
67,
10,
64,
65
] | 52 | [
"67+10=77",
"64+65=129",
"129-77=52"
] | Current State: 52:[67, 10, 64, 65], Operations: []
Exploring Operation: 67+10=77, Resulting Numbers: [64, 65, 77]
Generated Node #2: [64, 65, 77] from Operation: 67+10=77
Current State: 52:[64, 65, 77], Operations: ['67+10=77']
Exploring Operation: 64+65=129, Resulting Numbers: [77, 129]
Generated Node #3: [77, 129] from Operation: 64+65=129
Current State: 52:[77, 129], Operations: ['67+10=77', '64+65=129']
Exploring Operation: 129-77=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[67, 10, 64, 65], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [10, 64, 2]
Generated Node #0,0: 52:[10, 64, 2] Operation: 67-65=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[10, 64, 2], Operations: ['67-65=2']
Exploring Operation: 64-10=54, Resulting Numbers: [2, 54]
Generated Node #0,0,0: 52:[2, 54] Operation: 64-10=54
Moving to Node #0,0,0
Current State: 52:[2, 54], Operations: ['67-65=2', '64-10=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[67, 10, 64, 65], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [10, 64, 2]
Generated Node #0,0: 52:[10, 64, 2] Operation: 67-65=2
Moving to Node #0,0
Current State: 52:[10, 64, 2], Operations: ['67-65=2']
Exploring Operation: 64-10=54, Resulting Numbers: [2, 54]
Generated Node #0,0,0: 52:[2, 54] Operation: 64-10=54
Moving to Node #0,0,0
Current State: 52:[2, 54], Operations: ['67-65=2', '64-10=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
80,
80,
19,
71
] | 51 | [
"80/80=1",
"71-19=52",
"52-1=51"
] | Current State: 51:[80, 80, 19, 71], Operations: []
Exploring Operation: 80/80=1, Resulting Numbers: [19, 71, 1]
Generated Node #2: [19, 71, 1] from Operation: 80/80=1
Current State: 51:[19, 71, 1], Operations: ['80/80=1']
Exploring Operation: 71-19=52, Resulting Numbers: [1, 52]
Generated Node #3: [1, 52] from Operation: 71-19=52
Current State: 51:[1, 52], Operations: ['80/80=1', '71-19=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[80, 80, 19, 71], Operations: []
Exploring Operation: 80/80=1, Resulting Numbers: [19, 71, 1]
Generated Node #0,0: 51:[19, 71, 1] Operation: 80/80=1
Exploring Operation: 80-80=0, Resulting Numbers: [19, 71, 0]
Generated Node #0,1: 51:[19, 71, 0] Operation: 80-80=0
Moving to Node #0,0
Current State: 51:[19, 71, 1], Operations: ['80/80=1']
Exploring Operation: 71-19=52, Resulting Numbers: [1, 52]
Generated Node #0,0,0: 51:[1, 52] Operation: 71-19=52
Exploring Operation: 19-1=18, Resulting Numbers: [71, 18]
Generated Node #0,0,1: 51:[71, 18] Operation: 19-1=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[1, 52], Operations: ['80/80=1', '71-19=52']
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[80, 80, 19, 71], Operations: []
Exploring Operation: 80/80=1, Resulting Numbers: [19, 71, 1]
Generated Node #0,0: 51:[19, 71, 1] Operation: 80/80=1
Moving to Node #0,0
Current State: 51:[19, 71, 1], Operations: ['80/80=1']
Exploring Operation: 71-19=52, Resulting Numbers: [1, 52]
Generated Node #0,0,0: 51:[1, 52] Operation: 71-19=52
Moving to Node #0,0,0
Current State: 51:[1, 52], Operations: ['80/80=1', '71-19=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
36,
72,
77,
12
] | 87 | [
"72/36=2",
"77+12=89",
"89-2=87"
] | Current State: 87:[36, 72, 77, 12], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [77, 12, 2]
Generated Node #2: [77, 12, 2] from Operation: 72/36=2
Current State: 87:[77, 12, 2], Operations: ['72/36=2']
Exploring Operation: 77+12=89, Resulting Numbers: [2, 89]
Generated Node #3: [2, 89] from Operation: 77+12=89
Current State: 87:[2, 89], Operations: ['72/36=2', '77+12=89']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[36, 72, 77, 12], Operations: []
Exploring Operation: 77+12=89, Resulting Numbers: [36, 72, 89]
Generated Node #0,0: 87:[36, 72, 89] Operation: 77+12=89
Exploring Operation: 77-72=5, Resulting Numbers: [36, 12, 5]
Generated Node #0,1: 87:[36, 12, 5] Operation: 77-72=5
Exploring Operation: 72+12=84, Resulting Numbers: [36, 77, 84]
Generated Node #0,2: 87:[36, 77, 84] Operation: 72+12=84
Exploring Operation: 72/12=6, Resulting Numbers: [36, 77, 6]
Generated Node #0,3: 87:[36, 77, 6] Operation: 72/12=6
Exploring Operation: 72/36=2, Resulting Numbers: [77, 12, 2]
Generated Node #0,4: 87:[77, 12, 2] Operation: 72/36=2
Moving to Node #0,1
Current State: 87:[36, 12, 5], Operations: ['77-72=5']
Exploring Operation: 12-5=7, Resulting Numbers: [36, 7]
Generated Node #0,1,0: 87:[36, 7] Operation: 12-5=7
Exploring Operation: 36/12=3, Resulting Numbers: [5, 3]
Generated Node #0,1,1: 87:[5, 3] Operation: 36/12=3
Exploring Operation: 12+5=17, Resulting Numbers: [36, 17]
Generated Node #0,1,2: 87:[36, 17] Operation: 12+5=17
Exploring Operation: 36-12=24, Resulting Numbers: [5, 24]
Generated Node #0,1,3: 87:[5, 24] Operation: 36-12=24
Exploring Operation: 36-5=31, Resulting Numbers: [12, 31]
Generated Node #0,1,4: 87:[12, 31] Operation: 36-5=31
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[5, 3], Operations: ['77-72=5', '36/12=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 87:[5, 24], Operations: ['77-72=5', '36-12=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,87 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[36, 7], Operations: ['77-72=5', '12-5=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,87 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 87:[12, 31], Operations: ['77-72=5', '36-5=31']
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,87 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[36, 17], Operations: ['77-72=5', '12+5=17']
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,87 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,87 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: 87:[36, 77, 6], Operations: ['72/12=6']
Exploring Operation: 77+6=83, Resulting Numbers: [36, 83]
Generated Node #0,3,0: 87:[36, 83] Operation: 77+6=83
Exploring Operation: 77-36=41, Resulting Numbers: [6, 41]
Generated Node #0,3,1: 87:[6, 41] Operation: 77-36=41
Exploring Operation: 36/6=6, Resulting Numbers: [77, 6]
Generated Node #0,3,2: 87:[77, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [77, 30]
Generated Node #0,3,3: 87:[77, 30] Operation: 36-6=30
Exploring Operation: 36+6=42, Resulting Numbers: [77, 42]
Generated Node #0,3,4: 87:[77, 42] Operation: 36+6=42
Moving to Node #0,2
Current State: 87:[36, 77, 84], Operations: ['72+12=84']
Exploring Operation: 84-77=7, Resulting Numbers: [36, 7]
Generated Node #0,2,0: 87:[36, 7] Operation: 84-77=7
Exploring Operation: 77-36=41, Resulting Numbers: [84, 41]
Generated Node #0,2,1: 87:[84, 41] Operation: 77-36=41
Exploring Operation: 36+84=120, Resulting Numbers: [77, 120]
Generated Node #0,2,2: 87:[77, 120] Operation: 36+84=120
Exploring Operation: 84-36=48, Resulting Numbers: [77, 48]
Generated Node #0,2,3: 87:[77, 48] Operation: 84-36=48
Exploring Operation: 36+77=113, Resulting Numbers: [84, 113]
Generated Node #0,2,4: 87:[84, 113] Operation: 36+77=113
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[36, 7], Operations: ['72+12=84', '84-77=7']
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,87 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[84, 41], Operations: ['72+12=84', '77-36=41']
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Exploring Operation: 84+41=125, Resulting Numbers: [125]
125,87 unequal: No Solution
Exploring Operation: 84*41=3444, Resulting Numbers: [3444]
3444,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 87:[77, 48], Operations: ['72+12=84', '84-36=48']
Exploring Operation: 77*48=3696, Resulting Numbers: [3696]
3696,87 unequal: No Solution
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,87 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 87:[84, 113], Operations: ['72+12=84', '36+77=113']
Exploring Operation: 84+113=197, Resulting Numbers: [197]
197,87 unequal: No Solution
Exploring Operation: 113-84=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 84*113=9492, Resulting Numbers: [9492]
9492,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[77, 120], Operations: ['72+12=84', '36+84=120']
Exploring Operation: 77+120=197, Resulting Numbers: [197]
197,87 unequal: No Solution
Exploring Operation: 77*120=9240, Resulting Numbers: [9240]
9240,87 unequal: No Solution
Exploring Operation: 120-77=43, Resulting Numbers: [43]
43,87 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: 87:[77, 12, 2], Operations: ['72/36=2']
Exploring Operation: 77+12=89, Resulting Numbers: [2, 89]
Generated Node #0,4,0: 87:[2, 89] Operation: 77+12=89
Exploring Operation: 77+2=79, Resulting Numbers: [12, 79]
Generated Node #0,4,1: 87:[12, 79] Operation: 77+2=79
Exploring Operation: 12/2=6, Resulting Numbers: [77, 6]
Generated Node #0,4,2: 87:[77, 6] Operation: 12/2=6
Exploring Operation: 12*2=24, Resulting Numbers: [77, 24]
Generated Node #0,4,3: 87:[77, 24] Operation: 12*2=24
Exploring Operation: 12-2=10, Resulting Numbers: [77, 10]
Generated Node #0,4,4: 87:[77, 10] Operation: 12-2=10
Moving to Node #0,0
Current State: 87:[36, 72, 89], Operations: ['77+12=89']
Exploring Operation: 72/36=2, Resulting Numbers: [89, 2]
Generated Node #0,0,0: 87:[89, 2] Operation: 72/36=2
Exploring Operation: 72-36=36, Resulting Numbers: [89, 36]
Generated Node #0,0,1: 87:[89, 36] Operation: 72-36=36
Exploring Operation: 89-72=17, Resulting Numbers: [36, 17]
Generated Node #0,0,2: 87:[36, 17] Operation: 89-72=17
Exploring Operation: 36+72=108, Resulting Numbers: [89, 108]
Generated Node #0,0,3: 87:[89, 108] Operation: 36+72=108
Exploring Operation: 89-36=53, Resulting Numbers: [72, 53]
Generated Node #0,0,4: 87:[72, 53] Operation: 89-36=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[89, 2], Operations: ['77+12=89', '72/36=2']
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,87 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[36, 72, 77, 12], Operations: []
Exploring Operation: 77+12=89, Resulting Numbers: [36, 72, 89]
Generated Node #0,0: 87:[36, 72, 89] Operation: 77+12=89
Moving to Node #0,0
Current State: 87:[36, 72, 89], Operations: ['77+12=89']
Exploring Operation: 72/36=2, Resulting Numbers: [89, 2]
Generated Node #0,0,0: 87:[89, 2] Operation: 72/36=2
Moving to Node #0,0,0
Current State: 87:[89, 2], Operations: ['77+12=89', '72/36=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_5 | sum_heuristic |
[
62,
18,
7,
76
] | 39 | [
"62-18=44",
"7+76=83",
"83-44=39"
] | Current State: 39:[62, 18, 7, 76], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [7, 76, 44]
Generated Node #2: [7, 76, 44] from Operation: 62-18=44
Current State: 39:[7, 76, 44], Operations: ['62-18=44']
Exploring Operation: 7+76=83, Resulting Numbers: [44, 83]
Generated Node #3: [44, 83] from Operation: 7+76=83
Current State: 39:[44, 83], Operations: ['62-18=44', '7+76=83']
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[62, 18, 7, 76], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [7, 76, 44]
Generated Node #0,0: 39:[7, 76, 44] Operation: 62-18=44
Exploring Operation: 76-62=14, Resulting Numbers: [18, 7, 14]
Generated Node #0,1: 39:[18, 7, 14] Operation: 76-62=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[18, 7, 14], Operations: ['76-62=14']
Exploring Operation: 18-7=11, Resulting Numbers: [14, 11]
Generated Node #0,1,0: 39:[14, 11] Operation: 18-7=11
Exploring Operation: 18-14=4, Resulting Numbers: [7, 4]
Generated Node #0,1,1: 39:[7, 4] Operation: 18-14=4
Moving to Node #0,1,0
Current State: 39:[14, 11], Operations: ['76-62=14', '18-7=11']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[7, 4], Operations: ['76-62=14', '18-14=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[7, 76, 44], Operations: ['62-18=44']
Exploring Operation: 76-7=69, Resulting Numbers: [44, 69]
Generated Node #0,0,0: 39:[44, 69] Operation: 76-7=69
Exploring Operation: 76-44=32, Resulting Numbers: [7, 32]
Generated Node #0,0,1: 39:[7, 32] Operation: 76-44=32
Moving to Node #0,0,1
Current State: 39:[7, 32], Operations: ['62-18=44', '76-44=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[62, 18, 7, 76], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [7, 76, 44]
Generated Node #0,0: 39:[7, 76, 44] Operation: 62-18=44
Moving to Node #0,0
Current State: 39:[7, 76, 44], Operations: ['62-18=44']
Exploring Operation: 76-44=32, Resulting Numbers: [7, 32]
Generated Node #0,0,1: 39:[7, 32] Operation: 76-44=32
Moving to Node #0,0,1
Current State: 39:[7, 32], Operations: ['62-18=44', '76-44=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
59,
5,
46,
66
] | 41 | [
"66-46=20",
"5*20=100",
"100-59=41"
] | Current State: 41:[59, 5, 46, 66], Operations: []
Exploring Operation: 66-46=20, Resulting Numbers: [59, 5, 20]
Generated Node #2: [59, 5, 20] from Operation: 66-46=20
Current State: 41:[59, 5, 20], Operations: ['66-46=20']
Exploring Operation: 5*20=100, Resulting Numbers: [59, 100]
Generated Node #3: [59, 100] from Operation: 5*20=100
Current State: 41:[59, 100], Operations: ['66-46=20', '5*20=100']
Exploring Operation: 100-59=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[59, 5, 46, 66], Operations: []
Exploring Operation: 66-5=61, Resulting Numbers: [59, 46, 61]
Generated Node #0,0: 41:[59, 46, 61] Operation: 66-5=61
Exploring Operation: 46-5=41, Resulting Numbers: [59, 66, 41]
Generated Node #0,1: 41:[59, 66, 41] Operation: 46-5=41
Exploring Operation: 59-5=54, Resulting Numbers: [46, 66, 54]
Generated Node #0,2: 41:[46, 66, 54] Operation: 59-5=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[59, 46, 61], Operations: ['66-5=61']
Exploring Operation: 59-46=13, Resulting Numbers: [61, 13]
Generated Node #0,0,0: 41:[61, 13] Operation: 59-46=13
Exploring Operation: 61-59=2, Resulting Numbers: [46, 2]
Generated Node #0,0,1: 41:[46, 2] Operation: 61-59=2
Exploring Operation: 61-46=15, Resulting Numbers: [59, 15]
Generated Node #0,0,2: 41:[59, 15] Operation: 61-46=15
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[46, 2], Operations: ['66-5=61', '61-59=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[59, 15], Operations: ['66-5=61', '61-46=15']
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 59+15=74, Resulting Numbers: [74]
74,41 unequal: No Solution
Exploring Operation: 59*15=885, Resulting Numbers: [885]
885,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[61, 13], Operations: ['66-5=61', '59-46=13']
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 61*13=793, Resulting Numbers: [793]
793,41 unequal: No Solution
Exploring Operation: 61+13=74, Resulting Numbers: [74]
74,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[59, 66, 41], Operations: ['46-5=41']
Exploring Operation: 59-41=18, Resulting Numbers: [66, 18]
Generated Node #0,1,0: 41:[66, 18] Operation: 59-41=18
Exploring Operation: 66-41=25, Resulting Numbers: [59, 25]
Generated Node #0,1,1: 41:[59, 25] Operation: 66-41=25
Exploring Operation: 66-59=7, Resulting Numbers: [41, 7]
Generated Node #0,1,2: 41:[41, 7] Operation: 66-59=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[59, 25], Operations: ['46-5=41', '66-41=25']
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,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:[41, 7], Operations: ['46-5=41', '66-59=7']
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,41 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,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,0
Current State: 41:[66, 18], Operations: ['46-5=41', '59-41=18']
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,41 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,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,2
Current State: 41:[46, 66, 54], Operations: ['59-5=54']
Exploring Operation: 66-54=12, Resulting Numbers: [46, 12]
Generated Node #0,2,0: 41:[46, 12] Operation: 66-54=12
Exploring Operation: 54-46=8, Resulting Numbers: [66, 8]
Generated Node #0,2,1: 41:[66, 8] Operation: 54-46=8
Exploring Operation: 66-46=20, Resulting Numbers: [54, 20]
Generated Node #0,2,2: 41:[54, 20] Operation: 66-46=20
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[46, 12], Operations: ['59-5=54', '66-54=12']
Exploring Operation: 46*12=552, Resulting Numbers: [552]
552,41 unequal: No Solution
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,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,2,2
Current State: 41:[54, 20], Operations: ['59-5=54', '66-46=20']
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,41 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,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,2,1
Current State: 41:[66, 8], Operations: ['59-5=54', '54-46=8']
Exploring Operation: 66*8=528, Resulting Numbers: [528]
528,41 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,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_3 | sum_heuristic |
[
95,
46,
88,
37
] | 63 | [
"95-88=7",
"46-37=9",
"7*9=63"
] | Current State: 63:[95, 46, 88, 37], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [46, 37, 7]
Generated Node #2: [46, 37, 7] from Operation: 95-88=7
Current State: 63:[46, 37, 7], Operations: ['95-88=7']
Exploring Operation: 46-37=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 46-37=9
Current State: 63:[7, 9], Operations: ['95-88=7', '46-37=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[95, 46, 88, 37], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [46, 37, 7]
Generated Node #0,0: 63:[46, 37, 7] Operation: 95-88=7
Moving to Node #0,0
Current State: 63:[46, 37, 7], Operations: ['95-88=7']
Exploring Operation: 46-37=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 63:[7, 9] Operation: 46-37=9
Moving to Node #0,0,0
Current State: 63:[7, 9], Operations: ['95-88=7', '46-37=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[95, 46, 88, 37], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [46, 37, 7]
Generated Node #0,0: 63:[46, 37, 7] Operation: 95-88=7
Moving to Node #0,0
Current State: 63:[46, 37, 7], Operations: ['95-88=7']
Exploring Operation: 46-37=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 63:[7, 9] Operation: 46-37=9
Moving to Node #0,0,0
Current State: 63:[7, 9], Operations: ['95-88=7', '46-37=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
48,
37,
60,
58
] | 83 | [
"48+37=85",
"60-58=2",
"85-2=83"
] | Current State: 83:[48, 37, 60, 58], Operations: []
Exploring Operation: 48+37=85, Resulting Numbers: [60, 58, 85]
Generated Node #2: [60, 58, 85] from Operation: 48+37=85
Current State: 83:[60, 58, 85], Operations: ['48+37=85']
Exploring Operation: 60-58=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 60-58=2
Current State: 83:[85, 2], Operations: ['48+37=85', '60-58=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[48, 37, 60, 58], Operations: []
Exploring Operation: 48+37=85, Resulting Numbers: [60, 58, 85]
Generated Node #0,0: 83:[60, 58, 85] Operation: 48+37=85
Exploring Operation: 37+58=95, Resulting Numbers: [48, 60, 95]
Generated Node #0,1: 83:[48, 60, 95] Operation: 37+58=95
Moving to Node #0,0
Current State: 83:[60, 58, 85], Operations: ['48+37=85']
Exploring Operation: 85-58=27, Resulting Numbers: [60, 27]
Generated Node #0,0,0: 83:[60, 27] Operation: 85-58=27
Exploring Operation: 60+58=118, Resulting Numbers: [85, 118]
Generated Node #0,0,1: 83:[85, 118] Operation: 60+58=118
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[85, 118], Operations: ['48+37=85', '60+58=118']
Exploring Operation: 118-85=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 85+118=203, Resulting Numbers: [203]
203,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[60, 27], Operations: ['48+37=85', '85-58=27']
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 83:[48, 60, 95], Operations: ['37+58=95']
Exploring Operation: 95-48=47, Resulting Numbers: [60, 47]
Generated Node #0,1,0: 83:[60, 47] Operation: 95-48=47
Exploring Operation: 48+60=108, Resulting Numbers: [95, 108]
Generated Node #0,1,1: 83:[95, 108] Operation: 48+60=108
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[95, 108], Operations: ['37+58=95', '48+60=108']
Exploring Operation: 95+108=203, Resulting Numbers: [203]
203,83 unequal: No Solution
Exploring Operation: 108-95=13, Resulting Numbers: [13]
13,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[60, 47], Operations: ['37+58=95', '95-48=47']
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,83 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
11,
58,
14
] | 95 | [
"1+58=59",
"11*14=154",
"154-59=95"
] | Current State: 95:[1, 11, 58, 14], Operations: []
Exploring Operation: 1+58=59, Resulting Numbers: [11, 14, 59]
Generated Node #2: [11, 14, 59] from Operation: 1+58=59
Current State: 95:[11, 14, 59], Operations: ['1+58=59']
Exploring Operation: 11*14=154, Resulting Numbers: [59, 154]
Generated Node #3: [59, 154] from Operation: 11*14=154
Current State: 95:[59, 154], Operations: ['1+58=59', '11*14=154']
Exploring Operation: 154-59=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[1, 11, 58, 14], Operations: []
Exploring Operation: 58+14=72, Resulting Numbers: [1, 11, 72]
Generated Node #0,0: 95:[1, 11, 72] Operation: 58+14=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[1, 11, 72], Operations: ['58+14=72']
Exploring Operation: 11+72=83, Resulting Numbers: [1, 83]
Generated Node #0,0,0: 95:[1, 83] Operation: 11+72=83
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[1, 83], Operations: ['58+14=72', '11+72=83']
Exploring Operation: 1+83=84, Resulting Numbers: [84]
84,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
65,
90,
80,
9
] | 63 | [
"65-9=56",
"90*56=5040",
"5040/80=63"
] | Current State: 63:[65, 90, 80, 9], Operations: []
Exploring Operation: 65-9=56, Resulting Numbers: [90, 80, 56]
Generated Node #2: [90, 80, 56] from Operation: 65-9=56
Current State: 63:[90, 80, 56], Operations: ['65-9=56']
Exploring Operation: 90*56=5040, Resulting Numbers: [80, 5040]
Generated Node #3: [80, 5040] from Operation: 90*56=5040
Current State: 63:[80, 5040], Operations: ['65-9=56', '90*56=5040']
Exploring Operation: 5040/80=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[65, 90, 80, 9], Operations: []
Exploring Operation: 90/9=10, Resulting Numbers: [65, 80, 10]
Generated Node #0,0: 63:[65, 80, 10] Operation: 90/9=10
Exploring Operation: 90-80=10, Resulting Numbers: [65, 9, 10]
Generated Node #0,1: 63:[65, 9, 10] Operation: 90-80=10
Exploring Operation: 90-65=25, Resulting Numbers: [80, 9, 25]
Generated Node #0,2: 63:[80, 9, 25] Operation: 90-65=25
Exploring Operation: 80-65=15, Resulting Numbers: [90, 9, 15]
Generated Node #0,3: 63:[90, 9, 15] Operation: 80-65=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[65, 9, 10], Operations: ['90-80=10']
Exploring Operation: 9+10=19, Resulting Numbers: [65, 19]
Generated Node #0,1,0: 63:[65, 19] Operation: 9+10=19
Exploring Operation: 65-9=56, Resulting Numbers: [10, 56]
Generated Node #0,1,1: 63:[10, 56] Operation: 65-9=56
Exploring Operation: 10-9=1, Resulting Numbers: [65, 1]
Generated Node #0,1,2: 63:[65, 1] Operation: 10-9=1
Exploring Operation: 65-10=55, Resulting Numbers: [9, 55]
Generated Node #0,1,3: 63:[9, 55] Operation: 65-10=55
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[65, 19], Operations: ['90-80=10', '9+10=19']
Exploring Operation: 65+19=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 65*19=1235, Resulting Numbers: [1235]
1235,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:[65, 1], Operations: ['90-80=10', '10-9=1']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,63 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,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:[10, 56], Operations: ['90-80=10', '65-9=56']
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,63 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,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:[9, 55], Operations: ['90-80=10', '65-10=55']
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 9*55=495, Resulting Numbers: [495]
495,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:[65, 80, 10], Operations: ['90/9=10']
Exploring Operation: 80-65=15, Resulting Numbers: [10, 15]
Generated Node #0,0,0: 63:[10, 15] Operation: 80-65=15
Exploring Operation: 65-10=55, Resulting Numbers: [80, 55]
Generated Node #0,0,1: 63:[80, 55] Operation: 65-10=55
Exploring Operation: 80-10=70, Resulting Numbers: [65, 70]
Generated Node #0,0,2: 63:[65, 70] Operation: 80-10=70
Exploring Operation: 80/10=8, Resulting Numbers: [65, 8]
Generated Node #0,0,3: 63:[65, 8] Operation: 80/10=8
Moving to Node #0,0,3
Current State: 63:[65, 8], Operations: ['90/9=10', '80/10=8']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,63 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[10, 15], Operations: ['90/9=10', '80-65=15']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[65, 70], Operations: ['90/9=10', '80-10=70']
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,63 unequal: No Solution
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[80, 55], Operations: ['90/9=10', '65-10=55']
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 80+55=135, Resulting Numbers: [135]
135,63 unequal: No Solution
Exploring Operation: 80*55=4400, Resulting Numbers: [4400]
4400,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,2
Current State: 63:[80, 9, 25], Operations: ['90-65=25']
Exploring Operation: 25-9=16, Resulting Numbers: [80, 16]
Generated Node #0,2,0: 63:[80, 16] Operation: 25-9=16
Exploring Operation: 80+9=89, Resulting Numbers: [25, 89]
Generated Node #0,2,1: 63:[25, 89] Operation: 80+9=89
Exploring Operation: 80-9=71, Resulting Numbers: [25, 71]
Generated Node #0,2,2: 63:[25, 71] Operation: 80-9=71
Exploring Operation: 80-25=55, Resulting Numbers: [9, 55]
Generated Node #0,2,3: 63:[9, 55] Operation: 80-25=55
Moving to Node #0,2,3
Current State: 63:[9, 55], Operations: ['90-65=25', '80-25=55']
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 9*55=495, Resulting Numbers: [495]
495,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[25, 71], Operations: ['90-65=25', '80-9=71']
Exploring Operation: 25+71=96, Resulting Numbers: [96]
96,63 unequal: No Solution
Exploring Operation: 25*71=1775, Resulting Numbers: [1775]
1775,63 unequal: No Solution
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[80, 16], Operations: ['90-65=25', '25-9=16']
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,63 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,63 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[25, 89], Operations: ['90-65=25', '80+9=89']
Exploring Operation: 89-25=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 25+89=114, Resulting Numbers: [114]
114,63 unequal: No Solution
Exploring Operation: 25*89=2225, Resulting Numbers: [2225]
2225,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,3
Current State: 63:[90, 9, 15], Operations: ['80-65=15']
Exploring Operation: 90-9=81, Resulting Numbers: [15, 81]
Generated Node #0,3,0: 63:[15, 81] Operation: 90-9=81
Exploring Operation: 90/15=6, Resulting Numbers: [9, 6]
Generated Node #0,3,1: 63:[9, 6] Operation: 90/15=6
Exploring Operation: 90/9=10, Resulting Numbers: [15, 10]
Generated Node #0,3,2: 63:[15, 10] Operation: 90/9=10
Exploring Operation: 90-15=75, Resulting Numbers: [9, 75]
Generated Node #0,3,3: 63:[9, 75] Operation: 90-15=75
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[9, 6], Operations: ['80-65=15', '90/15=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,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:[15, 10], Operations: ['80-65=15', '90/9=10']
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,63 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,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:[9, 75], Operations: ['80-65=15', '90-15=75']
Exploring Operation: 9+75=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Exploring Operation: 9*75=675, Resulting Numbers: [675]
675,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,0
Current State: 63:[15, 81], Operations: ['80-65=15', '90-9=81']
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Exploring Operation: 15+81=96, Resulting Numbers: [96]
96,63 unequal: No Solution
Exploring Operation: 15*81=1215, Resulting Numbers: [1215]
1215,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_4 | sum_heuristic |
[
49,
5,
16,
83
] | 46 | [
"83-49=34",
"5*16=80",
"80-34=46"
] | Current State: 46:[49, 5, 16, 83], Operations: []
Exploring Operation: 83-49=34, Resulting Numbers: [5, 16, 34]
Generated Node #2: [5, 16, 34] from Operation: 83-49=34
Current State: 46:[5, 16, 34], Operations: ['83-49=34']
Exploring Operation: 5*16=80, Resulting Numbers: [34, 80]
Generated Node #3: [34, 80] from Operation: 5*16=80
Current State: 46:[34, 80], Operations: ['83-49=34', '5*16=80']
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[49, 5, 16, 83], Operations: []
Exploring Operation: 83-49=34, Resulting Numbers: [5, 16, 34]
Generated Node #0,0: 46:[5, 16, 34] Operation: 83-49=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[5, 16, 34], Operations: ['83-49=34']
Exploring Operation: 16+34=50, Resulting Numbers: [5, 50]
Generated Node #0,0,0: 46:[5, 50] Operation: 16+34=50
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[5, 50], Operations: ['83-49=34', '16+34=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,46 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 |
[
39,
23,
65,
78
] | 26 | [
"39+23=62",
"65-62=3",
"78/3=26"
] | Current State: 26:[39, 23, 65, 78], Operations: []
Exploring Operation: 39+23=62, Resulting Numbers: [65, 78, 62]
Generated Node #2: [65, 78, 62] from Operation: 39+23=62
Current State: 26:[65, 78, 62], Operations: ['39+23=62']
Exploring Operation: 65-62=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 65-62=3
Current State: 26:[78, 3], Operations: ['39+23=62', '65-62=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[39, 23, 65, 78], Operations: []
Exploring Operation: 78/39=2, Resulting Numbers: [23, 65, 2]
Generated Node #0,0: 26:[23, 65, 2] Operation: 78/39=2
Exploring Operation: 65-23=42, Resulting Numbers: [39, 78, 42]
Generated Node #0,1: 26:[39, 78, 42] Operation: 65-23=42
Exploring Operation: 65-39=26, Resulting Numbers: [23, 78, 26]
Generated Node #0,2: 26:[23, 78, 26] Operation: 65-39=26
Exploring Operation: 78-65=13, Resulting Numbers: [39, 23, 13]
Generated Node #0,3: 26:[39, 23, 13] Operation: 78-65=13
Exploring Operation: 78-39=39, Resulting Numbers: [23, 65, 39]
Generated Node #0,4: 26:[23, 65, 39] Operation: 78-39=39
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[39, 23, 13], Operations: ['78-65=13']
Exploring Operation: 39-13=26, Resulting Numbers: [23, 26]
Generated Node #0,3,0: 26:[23, 26] Operation: 39-13=26
Exploring Operation: 39-23=16, Resulting Numbers: [13, 16]
Generated Node #0,3,1: 26:[13, 16] Operation: 39-23=16
Exploring Operation: 39/13=3, Resulting Numbers: [23, 3]
Generated Node #0,3,2: 26:[23, 3] Operation: 39/13=3
Exploring Operation: 23-13=10, Resulting Numbers: [39, 10]
Generated Node #0,3,3: 26:[39, 10] Operation: 23-13=10
Exploring Operation: 23+13=36, Resulting Numbers: [39, 36]
Generated Node #0,3,4: 26:[39, 36] Operation: 23+13=36
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[23, 26], Operations: ['78-65=13', '39-13=26']
Exploring Operation: 23*26=598, Resulting Numbers: [598]
598,26 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 26:[13, 16], Operations: ['78-65=13', '39-23=16']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 13*16=208, Resulting Numbers: [208]
208,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 26:[23, 3], Operations: ['78-65=13', '39/13=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[39, 23, 65, 78], Operations: []
Exploring Operation: 78-65=13, Resulting Numbers: [39, 23, 13]
Generated Node #0,3: 26:[39, 23, 13] Operation: 78-65=13
Moving to Node #0,3
Current State: 26:[39, 23, 13], Operations: ['78-65=13']
Exploring Operation: 39/13=3, Resulting Numbers: [23, 3]
Generated Node #0,3,2: 26:[23, 3] Operation: 39/13=3
Moving to Node #0,3,2
Current State: 26:[23, 3], Operations: ['78-65=13', '39/13=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
11,
74,
85,
92
] | 91 | [
"11+74=85",
"85/85=1",
"92-1=91"
] | Current State: 91:[11, 74, 85, 92], Operations: []
Exploring Operation: 11+74=85, Resulting Numbers: [85, 92, 85]
Generated Node #2: [85, 92, 85] from Operation: 11+74=85
Current State: 91:[85, 92, 85], Operations: ['11+74=85']
Exploring Operation: 85/85=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 85/85=1
Current State: 91:[92, 1], Operations: ['11+74=85', '85/85=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[11, 74, 85, 92], Operations: []
Exploring Operation: 92-74=18, Resulting Numbers: [11, 85, 18]
Generated Node #0,0: 91:[11, 85, 18] Operation: 92-74=18
Exploring Operation: 85-74=11, Resulting Numbers: [11, 92, 11]
Generated Node #0,1: 91:[11, 92, 11] Operation: 85-74=11
Exploring Operation: 11+74=85, Resulting Numbers: [85, 92, 85]
Generated Node #0,2: 91:[85, 92, 85] Operation: 11+74=85
Moving to Node #0,1
Current State: 91:[11, 92, 11], Operations: ['85-74=11']
Exploring Operation: 11+11=22, Resulting Numbers: [92, 22]
Generated Node #0,1,0: 91:[92, 22] Operation: 11+11=22
Exploring Operation: 11-11=0, Resulting Numbers: [92, 0]
Generated Node #0,1,1: 91:[92, 0] Operation: 11-11=0
Exploring Operation: 11/11=1, Resulting Numbers: [92, 1]
Generated Node #0,1,2: 91:[92, 1] Operation: 11/11=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[92, 1], Operations: ['85-74=11', '11/11=1']
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[11, 74, 85, 92], Operations: []
Exploring Operation: 85-74=11, Resulting Numbers: [11, 92, 11]
Generated Node #0,1: 91:[11, 92, 11] Operation: 85-74=11
Moving to Node #0,1
Current State: 91:[11, 92, 11], Operations: ['85-74=11']
Exploring Operation: 11/11=1, Resulting Numbers: [92, 1]
Generated Node #0,1,2: 91:[92, 1] Operation: 11/11=1
Moving to Node #0,1,2
Current State: 91:[92, 1], Operations: ['85-74=11', '11/11=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
81,
77,
17,
96
] | 28 | [
"81-77=4",
"17*4=68",
"96-68=28"
] | Current State: 28:[81, 77, 17, 96], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [17, 96, 4]
Generated Node #2: [17, 96, 4] from Operation: 81-77=4
Current State: 28:[17, 96, 4], Operations: ['81-77=4']
Exploring Operation: 17*4=68, Resulting Numbers: [96, 68]
Generated Node #3: [96, 68] from Operation: 17*4=68
Current State: 28:[96, 68], Operations: ['81-77=4', '17*4=68']
Exploring Operation: 96-68=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[81, 77, 17, 96], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [17, 96, 4]
Generated Node #0,0: 28:[17, 96, 4] Operation: 81-77=4
Exploring Operation: 96-77=19, Resulting Numbers: [81, 17, 19]
Generated Node #0,1: 28:[81, 17, 19] Operation: 96-77=19
Exploring Operation: 96-81=15, Resulting Numbers: [77, 17, 15]
Generated Node #0,2: 28:[77, 17, 15] Operation: 96-81=15
Exploring Operation: 81-17=64, Resulting Numbers: [77, 96, 64]
Generated Node #0,3: 28:[77, 96, 64] Operation: 81-17=64
Moving to Node #0,2
Current State: 28:[77, 17, 15], Operations: ['96-81=15']
Exploring Operation: 77-15=62, Resulting Numbers: [17, 62]
Generated Node #0,2,0: 28:[17, 62] Operation: 77-15=62
Exploring Operation: 17+15=32, Resulting Numbers: [77, 32]
Generated Node #0,2,1: 28:[77, 32] Operation: 17+15=32
Exploring Operation: 77-17=60, Resulting Numbers: [15, 60]
Generated Node #0,2,2: 28:[15, 60] Operation: 77-17=60
Exploring Operation: 17-15=2, Resulting Numbers: [77, 2]
Generated Node #0,2,3: 28:[77, 2] Operation: 17-15=2
Moving to Node #0,1
Current State: 28:[81, 17, 19], Operations: ['96-77=19']
Exploring Operation: 81-17=64, Resulting Numbers: [19, 64]
Generated Node #0,1,0: 28:[19, 64] Operation: 81-17=64
Exploring Operation: 19-17=2, Resulting Numbers: [81, 2]
Generated Node #0,1,1: 28:[81, 2] Operation: 19-17=2
Exploring Operation: 81-19=62, Resulting Numbers: [17, 62]
Generated Node #0,1,2: 28:[17, 62] Operation: 81-19=62
Exploring Operation: 17+19=36, Resulting Numbers: [81, 36]
Generated Node #0,1,3: 28:[81, 36] Operation: 17+19=36
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[17, 62], Operations: ['96-77=19', '81-19=62']
Exploring Operation: 17*62=1054, Resulting Numbers: [1054]
1054,28 unequal: No Solution
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[19, 64], Operations: ['96-77=19', '81-17=64']
Exploring Operation: 19*64=1216, Resulting Numbers: [1216]
1216,28 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[81, 2], Operations: ['96-77=19', '19-17=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,28 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 28:[81, 36], Operations: ['96-77=19', '17+19=36']
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,28 unequal: No Solution
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,28 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 28:[17, 96, 4], Operations: ['81-77=4']
Exploring Operation: 96/4=24, Resulting Numbers: [17, 24]
Generated Node #0,0,0: 28:[17, 24] Operation: 96/4=24
Exploring Operation: 96-4=92, Resulting Numbers: [17, 92]
Generated Node #0,0,1: 28:[17, 92] Operation: 96-4=92
Exploring Operation: 96-17=79, Resulting Numbers: [4, 79]
Generated Node #0,0,2: 28:[4, 79] Operation: 96-17=79
Exploring Operation: 17-4=13, Resulting Numbers: [96, 13]
Generated Node #0,0,3: 28:[96, 13] Operation: 17-4=13
Moving to Node #0,3
Current State: 28:[77, 96, 64], Operations: ['81-17=64']
Exploring Operation: 96-77=19, Resulting Numbers: [64, 19]
Generated Node #0,3,0: 28:[64, 19] Operation: 96-77=19
Exploring Operation: 77+96=173, Resulting Numbers: [64, 173]
Generated Node #0,3,1: 28:[64, 173] Operation: 77+96=173
Exploring Operation: 77-64=13, Resulting Numbers: [96, 13]
Generated Node #0,3,2: 28:[96, 13] Operation: 77-64=13
Exploring Operation: 96-64=32, Resulting Numbers: [77, 32]
Generated Node #0,3,3: 28:[77, 32] Operation: 96-64=32
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[64, 19], Operations: ['81-17=64', '96-77=19']
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,28 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[77, 32], Operations: ['81-17=64', '96-64=32']
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,28 unequal: No Solution
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 28:[96, 13], Operations: ['81-17=64', '77-64=13']
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 96+13=109, Resulting Numbers: [109]
109,28 unequal: No Solution
Exploring Operation: 96*13=1248, Resulting Numbers: [1248]
1248,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[64, 173], Operations: ['81-17=64', '77+96=173']
Exploring Operation: 64+173=237, Resulting Numbers: [237]
237,28 unequal: No Solution
Exploring Operation: 64*173=11072, Resulting Numbers: [11072]
11072,28 unequal: No Solution
Exploring Operation: 173-64=109, Resulting Numbers: [109]
109,28 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: 28:[17, 24], Operations: ['81-77=4', '96/4=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,28 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[15, 60], Operations: ['96-81=15', '77-17=60']
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,28 unequal: No Solution
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,28 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[17, 62], Operations: ['96-81=15', '77-15=62']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 17*62=1054, Resulting Numbers: [1054]
1054,28 unequal: No Solution
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[77, 2], Operations: ['96-81=15', '17-15=2']
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,28 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,28 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[4, 79], Operations: ['81-77=4', '96-17=79']
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,28 unequal: No Solution
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[77, 32], Operations: ['96-81=15', '17+15=32']
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,28 unequal: No Solution
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[17, 92], Operations: ['81-77=4', '96-4=92']
Exploring Operation: 17*92=1564, Resulting Numbers: [1564]
1564,28 unequal: No Solution
Exploring Operation: 17+92=109, Resulting Numbers: [109]
109,28 unequal: No Solution
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[96, 13], Operations: ['81-77=4', '17-4=13']
Exploring Operation: 96+13=109, Resulting Numbers: [109]
109,28 unequal: No Solution
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 96*13=1248, Resulting Numbers: [1248]
1248,28 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
23,
52,
84,
98
] | 89 | [
"23+52=75",
"98-84=14",
"75+14=89"
] | Current State: 89:[23, 52, 84, 98], Operations: []
Exploring Operation: 23+52=75, Resulting Numbers: [84, 98, 75]
Generated Node #2: [84, 98, 75] from Operation: 23+52=75
Current State: 89:[84, 98, 75], Operations: ['23+52=75']
Exploring Operation: 98-84=14, Resulting Numbers: [75, 14]
Generated Node #3: [75, 14] from Operation: 98-84=14
Current State: 89:[75, 14], Operations: ['23+52=75', '98-84=14']
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[23, 52, 84, 98], Operations: []
Exploring Operation: 52-23=29, Resulting Numbers: [84, 98, 29]
Generated Node #0,0: 89:[84, 98, 29] Operation: 52-23=29
Exploring Operation: 23+84=107, Resulting Numbers: [52, 98, 107]
Generated Node #0,1: 89:[52, 98, 107] Operation: 23+84=107
Exploring Operation: 23+52=75, Resulting Numbers: [84, 98, 75]
Generated Node #0,2: 89:[84, 98, 75] Operation: 23+52=75
Exploring Operation: 84-23=61, Resulting Numbers: [52, 98, 61]
Generated Node #0,3: 89:[52, 98, 61] Operation: 84-23=61
Exploring Operation: 98-23=75, Resulting Numbers: [52, 84, 75]
Generated Node #0,4: 89:[52, 84, 75] Operation: 98-23=75
Moving to Node #0,2
Current State: 89:[84, 98, 75], Operations: ['23+52=75']
Exploring Operation: 98-75=23, Resulting Numbers: [84, 23]
Generated Node #0,2,0: 89:[84, 23] Operation: 98-75=23
Exploring Operation: 84-75=9, Resulting Numbers: [98, 9]
Generated Node #0,2,1: 89:[98, 9] Operation: 84-75=9
Exploring Operation: 98+75=173, Resulting Numbers: [84, 173]
Generated Node #0,2,2: 89:[84, 173] Operation: 98+75=173
Exploring Operation: 98-84=14, Resulting Numbers: [75, 14]
Generated Node #0,2,3: 89:[75, 14] Operation: 98-84=14
Exploring Operation: 84+75=159, Resulting Numbers: [98, 159]
Generated Node #0,2,4: 89:[98, 159] Operation: 84+75=159
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[84, 23], Operations: ['23+52=75', '98-75=23']
Exploring Operation: 84*23=1932, Resulting Numbers: [1932]
1932,89 unequal: No Solution
Exploring Operation: 84+23=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 89:[98, 159], Operations: ['23+52=75', '84+75=159']
Exploring Operation: 98+159=257, Resulting Numbers: [257]
257,89 unequal: No Solution
Exploring Operation: 159-98=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 98*159=15582, Resulting Numbers: [15582]
15582,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[98, 9], Operations: ['23+52=75', '84-75=9']
Exploring Operation: 98+9=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 98*9=882, Resulting Numbers: [882]
882,89 unequal: No Solution
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[23, 52, 84, 98], Operations: []
Exploring Operation: 23+52=75, Resulting Numbers: [84, 98, 75]
Generated Node #0,2: 89:[84, 98, 75] Operation: 23+52=75
Moving to Node #0,2
Current State: 89:[84, 98, 75], Operations: ['23+52=75']
Exploring Operation: 84-75=9, Resulting Numbers: [98, 9]
Generated Node #0,2,1: 89:[98, 9] Operation: 84-75=9
Moving to Node #0,2,1
Current State: 89:[98, 9], Operations: ['23+52=75', '84-75=9']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
57,
56,
43,
6
] | 64 | [
"57+56=113",
"43+6=49",
"113-49=64"
] | Current State: 64:[57, 56, 43, 6], Operations: []
Exploring Operation: 57+56=113, Resulting Numbers: [43, 6, 113]
Generated Node #2: [43, 6, 113] from Operation: 57+56=113
Current State: 64:[43, 6, 113], Operations: ['57+56=113']
Exploring Operation: 43+6=49, Resulting Numbers: [113, 49]
Generated Node #3: [113, 49] from Operation: 43+6=49
Current State: 64:[113, 49], Operations: ['57+56=113', '43+6=49']
Exploring Operation: 113-49=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[57, 56, 43, 6], Operations: []
Exploring Operation: 57-56=1, Resulting Numbers: [43, 6, 1]
Generated Node #0,0: 64:[43, 6, 1] Operation: 57-56=1
Exploring Operation: 56-43=13, Resulting Numbers: [57, 6, 13]
Generated Node #0,1: 64:[57, 6, 13] Operation: 56-43=13
Exploring Operation: 57-43=14, Resulting Numbers: [56, 6, 14]
Generated Node #0,2: 64:[56, 6, 14] Operation: 57-43=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[57, 6, 13], Operations: ['56-43=13']
Exploring Operation: 57+6=63, Resulting Numbers: [13, 63]
Generated Node #0,1,0: 64:[13, 63] Operation: 57+6=63
Exploring Operation: 13-6=7, Resulting Numbers: [57, 7]
Generated Node #0,1,1: 64:[57, 7] Operation: 13-6=7
Exploring Operation: 57+13=70, Resulting Numbers: [6, 70]
Generated Node #0,1,2: 64:[6, 70] Operation: 57+13=70
Moving to Node #0,1,0
Current State: 64:[13, 63], Operations: ['56-43=13', '57+6=63']
Exploring Operation: 13*63=819, Resulting Numbers: [819]
819,64 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[57, 7], Operations: ['56-43=13', '13-6=7']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[57, 56, 43, 6], Operations: []
Exploring Operation: 56-43=13, Resulting Numbers: [57, 6, 13]
Generated Node #0,1: 64:[57, 6, 13] Operation: 56-43=13
Moving to Node #0,1
Current State: 64:[57, 6, 13], Operations: ['56-43=13']
Exploring Operation: 13-6=7, Resulting Numbers: [57, 7]
Generated Node #0,1,1: 64:[57, 7] Operation: 13-6=7
Moving to Node #0,1,1
Current State: 64:[57, 7], Operations: ['56-43=13', '13-6=7']
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
28,
38,
9,
77
] | 20 | [
"28+38=66",
"9+77=86",
"86-66=20"
] | Current State: 20:[28, 38, 9, 77], Operations: []
Exploring Operation: 28+38=66, Resulting Numbers: [9, 77, 66]
Generated Node #2: [9, 77, 66] from Operation: 28+38=66
Current State: 20:[9, 77, 66], Operations: ['28+38=66']
Exploring Operation: 9+77=86, Resulting Numbers: [66, 86]
Generated Node #3: [66, 86] from Operation: 9+77=86
Current State: 20:[66, 86], Operations: ['28+38=66', '9+77=86']
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[28, 38, 9, 77], Operations: []
Exploring Operation: 77-28=49, Resulting Numbers: [38, 9, 49]
Generated Node #0,0: 20:[38, 9, 49] Operation: 77-28=49
Exploring Operation: 38-9=29, Resulting Numbers: [28, 77, 29]
Generated Node #0,1: 20:[28, 77, 29] Operation: 38-9=29
Exploring Operation: 77-9=68, Resulting Numbers: [28, 38, 68]
Generated Node #0,2: 20:[28, 38, 68] Operation: 77-9=68
Exploring Operation: 38-28=10, Resulting Numbers: [9, 77, 10]
Generated Node #0,3: 20:[9, 77, 10] Operation: 38-28=10
Exploring Operation: 77-38=39, Resulting Numbers: [28, 9, 39]
Generated Node #0,4: 20:[28, 9, 39] Operation: 77-38=39
Start Sub Search at level 1: Moving to Node #0,4
Current State: 20:[28, 9, 39], Operations: ['77-38=39']
Exploring Operation: 28+9=37, Resulting Numbers: [39, 37]
Generated Node #0,4,0: 20:[39, 37] Operation: 28+9=37
Exploring Operation: 39-28=11, Resulting Numbers: [9, 11]
Generated Node #0,4,1: 20:[9, 11] Operation: 39-28=11
Exploring Operation: 28-9=19, Resulting Numbers: [39, 19]
Generated Node #0,4,2: 20:[39, 19] Operation: 28-9=19
Exploring Operation: 9+39=48, Resulting Numbers: [28, 48]
Generated Node #0,4,3: 20:[28, 48] Operation: 9+39=48
Exploring Operation: 39-9=30, Resulting Numbers: [28, 30]
Generated Node #0,4,4: 20:[28, 30] Operation: 39-9=30
Moving to Node #0,4,1
Current State: 20:[9, 11], Operations: ['77-38=39', '39-28=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,20 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[28, 38, 9, 77], Operations: []
Exploring Operation: 77-38=39, Resulting Numbers: [28, 9, 39]
Generated Node #0,4: 20:[28, 9, 39] Operation: 77-38=39
Moving to Node #0,4
Current State: 20:[28, 9, 39], Operations: ['77-38=39']
Exploring Operation: 39-28=11, Resulting Numbers: [9, 11]
Generated Node #0,4,1: 20:[9, 11] Operation: 39-28=11
Moving to Node #0,4,1
Current State: 20:[9, 11], Operations: ['77-38=39', '39-28=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
71,
39,
65,
50
] | 83 | [
"71-39=32",
"65+50=115",
"115-32=83"
] | Current State: 83:[71, 39, 65, 50], Operations: []
Exploring Operation: 71-39=32, Resulting Numbers: [65, 50, 32]
Generated Node #2: [65, 50, 32] from Operation: 71-39=32
Current State: 83:[65, 50, 32], Operations: ['71-39=32']
Exploring Operation: 65+50=115, Resulting Numbers: [32, 115]
Generated Node #3: [32, 115] from Operation: 65+50=115
Current State: 83:[32, 115], Operations: ['71-39=32', '65+50=115']
Exploring Operation: 115-32=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[71, 39, 65, 50], Operations: []
Exploring Operation: 39+50=89, Resulting Numbers: [71, 65, 89]
Generated Node #0,0: 83:[71, 65, 89] Operation: 39+50=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[71, 65, 89], Operations: ['39+50=89']
Exploring Operation: 71+65=136, Resulting Numbers: [89, 136]
Generated Node #0,0,0: 83:[89, 136] Operation: 71+65=136
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[89, 136], Operations: ['39+50=89', '71+65=136']
Exploring Operation: 136-89=47, Resulting Numbers: [47]
47,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
80,
69,
4,
70
] | 20 | [
"80/4=20",
"70-69=1",
"20*1=20"
] | Current State: 20:[80, 69, 4, 70], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [69, 70, 20]
Generated Node #2: [69, 70, 20] from Operation: 80/4=20
Current State: 20:[69, 70, 20], Operations: ['80/4=20']
Exploring Operation: 70-69=1, Resulting Numbers: [20, 1]
Generated Node #3: [20, 1] from Operation: 70-69=1
Current State: 20:[20, 1], Operations: ['80/4=20', '70-69=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[80, 69, 4, 70], Operations: []
Exploring Operation: 70-69=1, Resulting Numbers: [80, 4, 1]
Generated Node #0,0: 20:[80, 4, 1] Operation: 70-69=1
Exploring Operation: 80/4=20, Resulting Numbers: [69, 70, 20]
Generated Node #0,1: 20:[69, 70, 20] Operation: 80/4=20
Exploring Operation: 80-70=10, Resulting Numbers: [69, 4, 10]
Generated Node #0,2: 20:[69, 4, 10] Operation: 80-70=10
Exploring Operation: 80-69=11, Resulting Numbers: [4, 70, 11]
Generated Node #0,3: 20:[4, 70, 11] Operation: 80-69=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[69, 4, 10], Operations: ['80-70=10']
Exploring Operation: 69+4=73, Resulting Numbers: [10, 73]
Generated Node #0,2,0: 20:[10, 73] Operation: 69+4=73
Exploring Operation: 69-10=59, Resulting Numbers: [4, 59]
Generated Node #0,2,1: 20:[4, 59] Operation: 69-10=59
Exploring Operation: 69-4=65, Resulting Numbers: [10, 65]
Generated Node #0,2,2: 20:[10, 65] Operation: 69-4=65
Exploring Operation: 10-4=6, Resulting Numbers: [69, 6]
Generated Node #0,2,3: 20:[69, 6] Operation: 10-4=6
Moving to Node #0,2,1
Current State: 20:[4, 59], Operations: ['80-70=10', '69-10=59']
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[10, 65], Operations: ['80-70=10', '69-4=65']
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,20 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[69, 6], Operations: ['80-70=10', '10-4=6']
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[10, 73], Operations: ['80-70=10', '69+4=73']
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[4, 70, 11], Operations: ['80-69=11']
Exploring Operation: 70-4=66, Resulting Numbers: [11, 66]
Generated Node #0,3,0: 20:[11, 66] Operation: 70-4=66
Exploring Operation: 4+70=74, Resulting Numbers: [11, 74]
Generated Node #0,3,1: 20:[11, 74] Operation: 4+70=74
Exploring Operation: 70-11=59, Resulting Numbers: [4, 59]
Generated Node #0,3,2: 20:[4, 59] Operation: 70-11=59
Exploring Operation: 11-4=7, Resulting Numbers: [70, 7]
Generated Node #0,3,3: 20:[70, 7] Operation: 11-4=7
Moving to Node #0,3,2
Current State: 20:[4, 59], Operations: ['80-69=11', '70-11=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,20 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[11, 66], Operations: ['80-69=11', '70-4=66']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 11+66=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 11*66=726, Resulting Numbers: [726]
726,20 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[70, 7], Operations: ['80-69=11', '11-4=7']
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,20 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[11, 74], Operations: ['80-69=11', '4+70=74']
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 11*74=814, Resulting Numbers: [814]
814,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[80, 4, 1], Operations: ['70-69=1']
Exploring Operation: 80/4=20, Resulting Numbers: [1, 20]
Generated Node #0,0,0: 20:[1, 20] Operation: 80/4=20
Exploring Operation: 80*1=80, Resulting Numbers: [4, 80]
Generated Node #0,0,1: 20:[4, 80] Operation: 80*1=80
Exploring Operation: 80-1=79, Resulting Numbers: [4, 79]
Generated Node #0,0,2: 20:[4, 79] Operation: 80-1=79
Exploring Operation: 80-4=76, Resulting Numbers: [1, 76]
Generated Node #0,0,3: 20:[1, 76] Operation: 80-4=76
Moving to Node #0,0,0
Current State: 20:[1, 20], Operations: ['70-69=1', '80/4=20']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[80, 69, 4, 70], Operations: []
Exploring Operation: 70-69=1, Resulting Numbers: [80, 4, 1]
Generated Node #0,0: 20:[80, 4, 1] Operation: 70-69=1
Moving to Node #0,0
Current State: 20:[80, 4, 1], Operations: ['70-69=1']
Exploring Operation: 80/4=20, Resulting Numbers: [1, 20]
Generated Node #0,0,0: 20:[1, 20] Operation: 80/4=20
Moving to Node #0,0,0
Current State: 20:[1, 20], Operations: ['70-69=1', '80/4=20']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_4 | mult_heuristic |
[
93,
68,
20,
25
] | 30 | [
"93-68=25",
"25-20=5",
"25+5=30"
] | Current State: 30:[93, 68, 20, 25], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [20, 25, 25]
Generated Node #2: [20, 25, 25] from Operation: 93-68=25
Current State: 30:[20, 25, 25], Operations: ['93-68=25']
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,30 equal: Goal Reached
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[93, 68, 20, 25], Operations: []
Exploring Operation: 93-25=68, Resulting Numbers: [68, 20, 68]
Generated Node #0,0: 30:[68, 20, 68] Operation: 93-25=68
Exploring Operation: 68-25=43, Resulting Numbers: [93, 20, 43]
Generated Node #0,1: 30:[93, 20, 43] Operation: 68-25=43
Exploring Operation: 93-68=25, Resulting Numbers: [20, 25, 25]
Generated Node #0,2: 30:[20, 25, 25] Operation: 93-68=25
Exploring Operation: 93-20=73, Resulting Numbers: [68, 25, 73]
Generated Node #0,3: 30:[68, 25, 73] Operation: 93-20=73
Moving to Node #0,2
Current State: 30:[20, 25, 25], Operations: ['93-68=25']
Exploring Operation: 25-20=5, Resulting Numbers: [25, 5]
Generated Node #0,2,0: 30:[25, 5] Operation: 25-20=5
Exploring Operation: 25-25=0, Resulting Numbers: [20, 0]
Generated Node #0,2,1: 30:[20, 0] Operation: 25-25=0
Exploring Operation: 25/25=1, Resulting Numbers: [20, 1]
Generated Node #0,2,2: 30:[20, 1] Operation: 25/25=1
Exploring Operation: 25-20=5, Resulting Numbers: [25, 5]
Generated Node #0,2,3: 30:[25, 5] Operation: 25-20=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[25, 5], Operations: ['93-68=25', '25-20=5']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,30 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[93, 68, 20, 25], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [20, 25, 25]
Generated Node #0,2: 30:[20, 25, 25] Operation: 93-68=25
Moving to Node #0,2
Current State: 30:[20, 25, 25], Operations: ['93-68=25']
Exploring Operation: 25-20=5, Resulting Numbers: [25, 5]
Generated Node #0,2,0: 30:[25, 5] Operation: 25-20=5
Moving to Node #0,2,0
Current State: 30:[25, 5], Operations: ['93-68=25', '25-20=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
49,
26,
8,
17
] | 23 | [
"26-17=9",
"8*9=72",
"72-49=23"
] | Current State: 23:[49, 26, 8, 17], Operations: []
Exploring Operation: 26-17=9, Resulting Numbers: [49, 8, 9]
Generated Node #2: [49, 8, 9] from Operation: 26-17=9
Current State: 23:[49, 8, 9], Operations: ['26-17=9']
Exploring Operation: 8*9=72, Resulting Numbers: [49, 72]
Generated Node #3: [49, 72] from Operation: 8*9=72
Current State: 23:[49, 72], Operations: ['26-17=9', '8*9=72']
Exploring Operation: 72-49=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[49, 26, 8, 17], Operations: []
Exploring Operation: 49-26=23, Resulting Numbers: [8, 17, 23]
Generated Node #0,0: 23:[8, 17, 23] Operation: 49-26=23
Exploring Operation: 49-8=41, Resulting Numbers: [26, 17, 41]
Generated Node #0,1: 23:[26, 17, 41] Operation: 49-8=41
Moving to Node #0,0
Current State: 23:[8, 17, 23], Operations: ['49-26=23']
Exploring Operation: 8+17=25, Resulting Numbers: [23, 25]
Generated Node #0,0,0: 23:[23, 25] Operation: 8+17=25
Exploring Operation: 17-8=9, Resulting Numbers: [23, 9]
Generated Node #0,0,1: 23:[23, 9] Operation: 17-8=9
Moving to Node #0,1
Current State: 23:[26, 17, 41], Operations: ['49-8=41']
Exploring Operation: 41-26=15, Resulting Numbers: [17, 15]
Generated Node #0,1,0: 23:[17, 15] Operation: 41-26=15
Exploring Operation: 41-17=24, Resulting Numbers: [26, 24]
Generated Node #0,1,1: 23:[26, 24] Operation: 41-17=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[26, 24], Operations: ['49-8=41', '41-17=24']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[17, 15], Operations: ['49-8=41', '41-26=15']
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,23 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: 23:[23, 25], Operations: ['49-26=23', '8+17=25']
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[23, 9], Operations: ['49-26=23', '17-8=9']
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,23 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
54,
17,
29,
84
] | 47 | [
"29-17=12",
"84/12=7",
"54-7=47"
] | Current State: 47:[54, 17, 29, 84], Operations: []
Exploring Operation: 29-17=12, Resulting Numbers: [54, 84, 12]
Generated Node #2: [54, 84, 12] from Operation: 29-17=12
Current State: 47:[54, 84, 12], Operations: ['29-17=12']
Exploring Operation: 84/12=7, Resulting Numbers: [54, 7]
Generated Node #3: [54, 7] from Operation: 84/12=7
Current State: 47:[54, 7], Operations: ['29-17=12', '84/12=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[54, 17, 29, 84], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [17, 29, 30]
Generated Node #0,0: 47:[17, 29, 30] Operation: 84-54=30
Exploring Operation: 84-17=67, Resulting Numbers: [54, 29, 67]
Generated Node #0,1: 47:[54, 29, 67] Operation: 84-17=67
Exploring Operation: 17+29=46, Resulting Numbers: [54, 84, 46]
Generated Node #0,2: 47:[54, 84, 46] Operation: 17+29=46
Exploring Operation: 84-29=55, Resulting Numbers: [54, 17, 55]
Generated Node #0,3: 47:[54, 17, 55] Operation: 84-29=55
Exploring Operation: 54-17=37, Resulting Numbers: [29, 84, 37]
Generated Node #0,4: 47:[29, 84, 37] Operation: 54-17=37
Moving to Node #0,1
Current State: 47:[54, 29, 67], Operations: ['84-17=67']
Exploring Operation: 67-29=38, Resulting Numbers: [54, 38]
Generated Node #0,1,0: 47:[54, 38] Operation: 67-29=38
Exploring Operation: 54+29=83, Resulting Numbers: [67, 83]
Generated Node #0,1,1: 47:[67, 83] Operation: 54+29=83
Exploring Operation: 54-29=25, Resulting Numbers: [67, 25]
Generated Node #0,1,2: 47:[67, 25] Operation: 54-29=25
Exploring Operation: 67-54=13, Resulting Numbers: [29, 13]
Generated Node #0,1,3: 47:[29, 13] Operation: 67-54=13
Exploring Operation: 29+67=96, Resulting Numbers: [54, 96]
Generated Node #0,1,4: 47:[54, 96] Operation: 29+67=96
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[54, 38], Operations: ['84-17=67', '67-29=38']
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,47 unequal: No Solution
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,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,2
Current State: 47:[67, 25], Operations: ['84-17=67', '54-29=25']
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,47 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,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,3
Current State: 47:[29, 13], Operations: ['84-17=67', '67-54=13']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,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,1
Current State: 47:[67, 83], Operations: ['84-17=67', '54+29=83']
Exploring Operation: 67*83=5561, Resulting Numbers: [5561]
5561,47 unequal: No Solution
Exploring Operation: 67+83=150, Resulting Numbers: [150]
150,47 unequal: No Solution
Exploring Operation: 83-67=16, Resulting Numbers: [16]
16,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,4
Current State: 47:[54, 96], Operations: ['84-17=67', '29+67=96']
Exploring Operation: 54*96=5184, Resulting Numbers: [5184]
5184,47 unequal: No Solution
Exploring Operation: 54+96=150, Resulting Numbers: [150]
150,47 unequal: No Solution
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,47 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: 47:[54, 17, 55], Operations: ['84-29=55']
Exploring Operation: 54+17=71, Resulting Numbers: [55, 71]
Generated Node #0,3,0: 47:[55, 71] Operation: 54+17=71
Exploring Operation: 55-54=1, Resulting Numbers: [17, 1]
Generated Node #0,3,1: 47:[17, 1] Operation: 55-54=1
Exploring Operation: 54-17=37, Resulting Numbers: [55, 37]
Generated Node #0,3,2: 47:[55, 37] Operation: 54-17=37
Exploring Operation: 17+55=72, Resulting Numbers: [54, 72]
Generated Node #0,3,3: 47:[54, 72] Operation: 17+55=72
Exploring Operation: 55-17=38, Resulting Numbers: [54, 38]
Generated Node #0,3,4: 47:[54, 38] Operation: 55-17=38
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 47:[54, 38], Operations: ['84-29=55', '55-17=38']
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,47 unequal: No Solution
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,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,3,2
Current State: 47:[55, 37], Operations: ['84-29=55', '54-17=37']
Exploring Operation: 55*37=2035, Resulting Numbers: [2035]
2035,47 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 55+37=92, Resulting Numbers: [92]
92,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,3,0
Current State: 47:[55, 71], Operations: ['84-29=55', '54+17=71']
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,47 unequal: No Solution
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,47 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,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,3,3
Current State: 47:[54, 72], Operations: ['84-29=55', '17+55=72']
Exploring Operation: 54*72=3888, Resulting Numbers: [3888]
3888,47 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 54+72=126, Resulting Numbers: [126]
126,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,3,1
Current State: 47:[17, 1], Operations: ['84-29=55', '55-54=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,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:[54, 84, 46], Operations: ['17+29=46']
Exploring Operation: 84+46=130, Resulting Numbers: [54, 130]
Generated Node #0,2,0: 47:[54, 130] Operation: 84+46=130
Exploring Operation: 54+46=100, Resulting Numbers: [84, 100]
Generated Node #0,2,1: 47:[84, 100] Operation: 54+46=100
Exploring Operation: 54-46=8, Resulting Numbers: [84, 8]
Generated Node #0,2,2: 47:[84, 8] Operation: 54-46=8
Exploring Operation: 84-54=30, Resulting Numbers: [46, 30]
Generated Node #0,2,3: 47:[46, 30] Operation: 84-54=30
Exploring Operation: 84-46=38, Resulting Numbers: [54, 38]
Generated Node #0,2,4: 47:[54, 38] Operation: 84-46=38
Moving to Node #0,0
Current State: 47:[17, 29, 30], Operations: ['84-54=30']
Exploring Operation: 29-17=12, Resulting Numbers: [30, 12]
Generated Node #0,0,0: 47:[30, 12] Operation: 29-17=12
Exploring Operation: 17+29=46, Resulting Numbers: [30, 46]
Generated Node #0,0,1: 47:[30, 46] Operation: 17+29=46
Exploring Operation: 29+30=59, Resulting Numbers: [17, 59]
Generated Node #0,0,2: 47:[17, 59] Operation: 29+30=59
Exploring Operation: 17+30=47, Resulting Numbers: [29, 47]
Generated Node #0,0,3: 47:[29, 47] Operation: 17+30=47
Exploring Operation: 30-17=13, Resulting Numbers: [29, 13]
Generated Node #0,0,4: 47:[29, 13] Operation: 30-17=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[30, 46], Operations: ['84-54=30', '17+29=46']
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,47 unequal: No Solution
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,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,3
Current State: 47:[29, 47], Operations: ['84-54=30', '17+30=47']
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,47 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[17, 59], Operations: ['84-54=30', '29+30=59']
Exploring Operation: 17+59=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 17*59=1003, Resulting Numbers: [1003]
1003,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[30, 12], Operations: ['84-54=30', '29-17=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,47 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,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,4
Current State: 47:[29, 13], Operations: ['84-54=30', '30-17=13']
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,47 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,47 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: 47:[29, 84, 37], Operations: ['54-17=37']
Exploring Operation: 37-29=8, Resulting Numbers: [84, 8]
Generated Node #0,4,0: 47:[84, 8] Operation: 37-29=8
Exploring Operation: 84-29=55, Resulting Numbers: [37, 55]
Generated Node #0,4,1: 47:[37, 55] Operation: 84-29=55
Exploring Operation: 84-37=47, Resulting Numbers: [29, 47]
Generated Node #0,4,2: 47:[29, 47] Operation: 84-37=47
Exploring Operation: 29+37=66, Resulting Numbers: [84, 66]
Generated Node #0,4,3: 47:[84, 66] Operation: 29+37=66
Exploring Operation: 29+84=113, Resulting Numbers: [37, 113]
Generated Node #0,4,4: 47:[37, 113] Operation: 29+84=113
Moving to Node #0,2,4
Current State: 47:[54, 38], Operations: ['17+29=46', '84-46=38']
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,47 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Moving to Node #0,4,1
Current State: 47:[37, 55], Operations: ['54-17=37', '84-29=55']
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 37*55=2035, Resulting Numbers: [2035]
2035,47 unequal: No Solution
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Moving to Node #0,4,2
Current State: 47:[29, 47], Operations: ['54-17=37', '84-37=47']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[46, 30], Operations: ['17+29=46', '84-54=30']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,47 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,4,3
Current State: 47:[84, 66], Operations: ['54-17=37', '29+37=66']
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 84*66=5544, Resulting Numbers: [5544]
5544,47 unequal: No Solution
Exploring Operation: 84+66=150, Resulting Numbers: [150]
150,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[84, 8], Operations: ['17+29=46', '54-46=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,47 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Moving to Node #0,4,0
Current State: 47:[84, 8], Operations: ['54-17=37', '37-29=8']
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,47 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,4,4
Current State: 47:[37, 113], Operations: ['54-17=37', '29+84=113']
Exploring Operation: 37*113=4181, Resulting Numbers: [4181]
4181,47 unequal: No Solution
Exploring Operation: 113-37=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 37+113=150, Resulting Numbers: [150]
150,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[54, 130], Operations: ['17+29=46', '84+46=130']
Exploring Operation: 54+130=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 130-54=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 54*130=7020, Resulting Numbers: [7020]
7020,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[84, 100], Operations: ['17+29=46', '54+46=100']
Exploring Operation: 84+100=184, Resulting Numbers: [184]
184,47 unequal: No Solution
Exploring Operation: 100-84=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 84*100=8400, Resulting Numbers: [8400]
8400,47 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
21,
66,
64,
99
] | 50 | [
"21*66=1386",
"1386/99=14",
"64-14=50"
] | Current State: 50:[21, 66, 64, 99], Operations: []
Exploring Operation: 21*66=1386, Resulting Numbers: [64, 99, 1386]
Generated Node #2: [64, 99, 1386] from Operation: 21*66=1386
Current State: 50:[64, 99, 1386], Operations: ['21*66=1386']
Exploring Operation: 1386/99=14, Resulting Numbers: [64, 14]
Generated Node #3: [64, 14] from Operation: 1386/99=14
Current State: 50:[64, 14], Operations: ['21*66=1386', '1386/99=14']
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[21, 66, 64, 99], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [21, 99, 2]
Generated Node #0,0: 50:[21, 99, 2] Operation: 66-64=2
Exploring Operation: 99-64=35, Resulting Numbers: [21, 66, 35]
Generated Node #0,1: 50:[21, 66, 35] Operation: 99-64=35
Exploring Operation: 99-66=33, Resulting Numbers: [21, 64, 33]
Generated Node #0,2: 50:[21, 64, 33] Operation: 99-66=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[21, 64, 33], Operations: ['99-66=33']
Exploring Operation: 64-33=31, Resulting Numbers: [21, 31]
Generated Node #0,2,0: 50:[21, 31] Operation: 64-33=31
Exploring Operation: 64-21=43, Resulting Numbers: [33, 43]
Generated Node #0,2,1: 50:[33, 43] Operation: 64-21=43
Exploring Operation: 33-21=12, Resulting Numbers: [64, 12]
Generated Node #0,2,2: 50:[64, 12] Operation: 33-21=12
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 50:[21, 31], Operations: ['99-66=33', '64-33=31']
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,50 unequal: No Solution
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,50 unequal: No Solution
No 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: 50:[33, 43], Operations: ['99-66=33', '64-21=43']
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,50 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,50 unequal: No Solution
No 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: 50:[64, 12], Operations: ['99-66=33', '33-21=12']
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Exploring Operation: 64*12=768, Resulting Numbers: [768]
768,50 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[21, 66, 35], Operations: ['99-64=35']
Exploring Operation: 66-21=45, Resulting Numbers: [35, 45]
Generated Node #0,1,0: 50:[35, 45] Operation: 66-21=45
Exploring Operation: 66-35=31, Resulting Numbers: [21, 31]
Generated Node #0,1,1: 50:[21, 31] Operation: 66-35=31
Exploring Operation: 35-21=14, Resulting Numbers: [66, 14]
Generated Node #0,1,2: 50:[66, 14] Operation: 35-21=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[21, 31], Operations: ['99-64=35', '66-35=31']
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,50 unequal: No Solution
No 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: 50:[35, 45], Operations: ['99-64=35', '66-21=45']
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,50 unequal: No Solution
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,50 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,50 unequal: No Solution
No 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: 50:[66, 14], Operations: ['99-64=35', '35-21=14']
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,50 unequal: No Solution
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,50 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[21, 99, 2], Operations: ['66-64=2']
Exploring Operation: 99-2=97, Resulting Numbers: [21, 97]
Generated Node #0,0,0: 50:[21, 97] Operation: 99-2=97
Exploring Operation: 21+2=23, Resulting Numbers: [99, 23]
Generated Node #0,0,1: 50:[99, 23] Operation: 21+2=23
Exploring Operation: 99-21=78, Resulting Numbers: [2, 78]
Generated Node #0,0,2: 50:[2, 78] Operation: 99-21=78
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 50:[2, 78], Operations: ['66-64=2', '99-21=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,50 unequal: No Solution
No 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: 50:[21, 97], Operations: ['66-64=2', '99-2=97']
Exploring Operation: 21*97=2037, Resulting Numbers: [2037]
2037,50 unequal: No Solution
Exploring Operation: 21+97=118, Resulting Numbers: [118]
118,50 unequal: No Solution
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,50 unequal: No Solution
No 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: 50:[99, 23], Operations: ['66-64=2', '21+2=23']
Exploring Operation: 99+23=122, Resulting Numbers: [122]
122,50 unequal: No Solution
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Exploring Operation: 99*23=2277, Resulting Numbers: [2277]
2277,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_3 | sum_heuristic |
[
45,
22,
13,
50
] | 97 | [
"50-45=5",
"22*5=110",
"110-13=97"
] | Current State: 97:[45, 22, 13, 50], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [22, 13, 5]
Generated Node #2: [22, 13, 5] from Operation: 50-45=5
Current State: 97:[22, 13, 5], Operations: ['50-45=5']
Exploring Operation: 22*5=110, Resulting Numbers: [13, 110]
Generated Node #3: [13, 110] from Operation: 22*5=110
Current State: 97:[13, 110], Operations: ['50-45=5', '22*5=110']
Exploring Operation: 110-13=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[45, 22, 13, 50], Operations: []
Exploring Operation: 45+13=58, Resulting Numbers: [22, 50, 58]
Generated Node #0,0: 97:[22, 50, 58] Operation: 45+13=58
Exploring Operation: 45+22=67, Resulting Numbers: [13, 50, 67]
Generated Node #0,1: 97:[13, 50, 67] Operation: 45+22=67
Moving to Node #0,0
Current State: 97:[22, 50, 58], Operations: ['45+13=58']
Exploring Operation: 22+58=80, Resulting Numbers: [50, 80]
Generated Node #0,0,0: 97:[50, 80] Operation: 22+58=80
Exploring Operation: 22+50=72, Resulting Numbers: [58, 72]
Generated Node #0,0,1: 97:[58, 72] Operation: 22+50=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[50, 80], Operations: ['45+13=58', '22+58=80']
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,97 unequal: No Solution
Exploring Operation: 50+80=130, Resulting Numbers: [130]
130,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[58, 72], Operations: ['45+13=58', '22+50=72']
Exploring Operation: 58+72=130, Resulting Numbers: [130]
130,97 unequal: No Solution
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 97:[13, 50, 67], Operations: ['45+22=67']
Exploring Operation: 13+50=63, Resulting Numbers: [67, 63]
Generated Node #0,1,0: 97:[67, 63] Operation: 13+50=63
Exploring Operation: 13+67=80, Resulting Numbers: [50, 80]
Generated Node #0,1,1: 97:[50, 80] Operation: 13+67=80
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[67, 63], Operations: ['45+22=67', '13+50=63']
Exploring Operation: 67+63=130, Resulting Numbers: [130]
130,97 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[50, 80], Operations: ['45+22=67', '13+67=80']
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,97 unequal: No Solution
Exploring Operation: 50+80=130, Resulting Numbers: [130]
130,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
55,
6,
10,
60
] | 20 | [
"60-55=5",
"10-6=4",
"5*4=20"
] | Current State: 20:[55, 6, 10, 60], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [6, 10, 5]
Generated Node #2: [6, 10, 5] from Operation: 60-55=5
Current State: 20:[6, 10, 5], Operations: ['60-55=5']
Exploring Operation: 10-6=4, Resulting Numbers: [5, 4]
Generated Node #3: [5, 4] from Operation: 10-6=4
Current State: 20:[5, 4], Operations: ['60-55=5', '10-6=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[55, 6, 10, 60], Operations: []
Exploring Operation: 60/6=10, Resulting Numbers: [55, 10, 10]
Generated Node #0,0: 20:[55, 10, 10] Operation: 60/6=10
Exploring Operation: 60-55=5, Resulting Numbers: [6, 10, 5]
Generated Node #0,1: 20:[6, 10, 5] Operation: 60-55=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[6, 10, 5], Operations: ['60-55=5']
Exploring Operation: 10-6=4, Resulting Numbers: [5, 4]
Generated Node #0,1,0: 20:[5, 4] Operation: 10-6=4
Exploring Operation: 6+5=11, Resulting Numbers: [10, 11]
Generated Node #0,1,1: 20:[10, 11] Operation: 6+5=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[5, 4], Operations: ['60-55=5', '10-6=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[55, 6, 10, 60], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [6, 10, 5]
Generated Node #0,1: 20:[6, 10, 5] Operation: 60-55=5
Moving to Node #0,1
Current State: 20:[6, 10, 5], Operations: ['60-55=5']
Exploring Operation: 10-6=4, Resulting Numbers: [5, 4]
Generated Node #0,1,0: 20:[5, 4] Operation: 10-6=4
Moving to Node #0,1,0
Current State: 20:[5, 4], Operations: ['60-55=5', '10-6=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
96,
38,
4,
19
] | 48 | [
"96*38=3648",
"4*19=76",
"3648/76=48"
] | Current State: 48:[96, 38, 4, 19], Operations: []
Exploring Operation: 96*38=3648, Resulting Numbers: [4, 19, 3648]
Generated Node #2: [4, 19, 3648] from Operation: 96*38=3648
Current State: 48:[4, 19, 3648], Operations: ['96*38=3648']
Exploring Operation: 4*19=76, Resulting Numbers: [3648, 76]
Generated Node #3: [3648, 76] from Operation: 4*19=76
Current State: 48:[3648, 76], Operations: ['96*38=3648', '4*19=76']
Exploring Operation: 3648/76=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[96, 38, 4, 19], Operations: []
Exploring Operation: 96-38=58, Resulting Numbers: [4, 19, 58]
Generated Node #0,0: 48:[4, 19, 58] Operation: 96-38=58
Moving to Node #0,0
Current State: 48:[4, 19, 58], Operations: ['96-38=58']
Exploring Operation: 58-4=54, Resulting Numbers: [19, 54]
Generated Node #0,0,0: 48:[19, 54] Operation: 58-4=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[19, 54], Operations: ['96-38=58', '58-4=54']
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,48 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 |
[
54,
7,
55,
49
] | 20 | [
"54-49=5",
"7*5=35",
"55-35=20"
] | Current State: 20:[54, 7, 55, 49], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [7, 55, 5]
Generated Node #2: [7, 55, 5] from Operation: 54-49=5
Current State: 20:[7, 55, 5], Operations: ['54-49=5']
Exploring Operation: 7*5=35, Resulting Numbers: [55, 35]
Generated Node #3: [55, 35] from Operation: 7*5=35
Current State: 20:[55, 35], Operations: ['54-49=5', '7*5=35']
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[54, 7, 55, 49], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [7, 55, 5]
Generated Node #0,0: 20:[7, 55, 5] Operation: 54-49=5
Exploring Operation: 55-54=1, Resulting Numbers: [7, 49, 1]
Generated Node #0,1: 20:[7, 49, 1] Operation: 55-54=1
Moving to Node #0,1
Current State: 20:[7, 49, 1], Operations: ['55-54=1']
Exploring Operation: 49/7=7, Resulting Numbers: [1, 7]
Generated Node #0,1,0: 20:[1, 7] Operation: 49/7=7
Exploring Operation: 49-7=42, Resulting Numbers: [1, 42]
Generated Node #0,1,1: 20:[1, 42] Operation: 49-7=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[1, 7], Operations: ['55-54=1', '49/7=7']
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[1, 42], Operations: ['55-54=1', '49-7=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,20 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: 20:[7, 55, 5], Operations: ['54-49=5']
Exploring Operation: 55/5=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 20:[7, 11] Operation: 55/5=11
Exploring Operation: 55-7=48, Resulting Numbers: [5, 48]
Generated Node #0,0,1: 20:[5, 48] Operation: 55-7=48
Moving to Node #0,0,0
Current State: 20:[7, 11], Operations: ['54-49=5', '55/5=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[5, 48], Operations: ['54-49=5', '55-7=48']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,20 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
12,
40,
56,
55
] | 70 | [
"55-40=15",
"56*15=840",
"840/12=70"
] | Current State: 70:[12, 40, 56, 55], Operations: []
Exploring Operation: 55-40=15, Resulting Numbers: [12, 56, 15]
Generated Node #2: [12, 56, 15] from Operation: 55-40=15
Current State: 70:[12, 56, 15], Operations: ['55-40=15']
Exploring Operation: 56*15=840, Resulting Numbers: [12, 840]
Generated Node #3: [12, 840] from Operation: 56*15=840
Current State: 70:[12, 840], Operations: ['55-40=15', '56*15=840']
Exploring Operation: 840/12=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[12, 40, 56, 55], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [12, 55, 16]
Generated Node #0,0: 70:[12, 55, 16] Operation: 56-40=16
Exploring Operation: 56-55=1, Resulting Numbers: [12, 40, 1]
Generated Node #0,1: 70:[12, 40, 1] Operation: 56-55=1
Exploring Operation: 55-40=15, Resulting Numbers: [12, 56, 15]
Generated Node #0,2: 70:[12, 56, 15] Operation: 55-40=15
Moving to Node #0,1
Current State: 70:[12, 40, 1], Operations: ['56-55=1']
Exploring Operation: 40-1=39, Resulting Numbers: [12, 39]
Generated Node #0,1,0: 70:[12, 39] Operation: 40-1=39
Exploring Operation: 12-1=11, Resulting Numbers: [40, 11]
Generated Node #0,1,1: 70:[40, 11] Operation: 12-1=11
Exploring Operation: 12+1=13, Resulting Numbers: [40, 13]
Generated Node #0,1,2: 70:[40, 13] Operation: 12+1=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[12, 39], Operations: ['56-55=1', '40-1=39']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[40, 11], Operations: ['56-55=1', '12-1=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,70 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[40, 13], Operations: ['56-55=1', '12+1=13']
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,70 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,70 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: 70:[12, 56, 15], Operations: ['55-40=15']
Exploring Operation: 56-15=41, Resulting Numbers: [12, 41]
Generated Node #0,2,0: 70:[12, 41] Operation: 56-15=41
Exploring Operation: 56+15=71, Resulting Numbers: [12, 71]
Generated Node #0,2,1: 70:[12, 71] Operation: 56+15=71
Exploring Operation: 12+56=68, Resulting Numbers: [15, 68]
Generated Node #0,2,2: 70:[15, 68] Operation: 12+56=68
Moving to Node #0,0
Current State: 70:[12, 55, 16], Operations: ['56-40=16']
Exploring Operation: 12+55=67, Resulting Numbers: [16, 67]
Generated Node #0,0,0: 70:[16, 67] Operation: 12+55=67
Exploring Operation: 55+16=71, Resulting Numbers: [12, 71]
Generated Node #0,0,1: 70:[12, 71] Operation: 55+16=71
Exploring Operation: 55-16=39, Resulting Numbers: [12, 39]
Generated Node #0,0,2: 70:[12, 39] Operation: 55-16=39
Moving to Node #0,2,1
Current State: 70:[12, 71], Operations: ['55-40=15', '56+15=71']
Exploring Operation: 12+71=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 12*71=852, Resulting Numbers: [852]
852,70 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[15, 68], Operations: ['55-40=15', '12+56=68']
Exploring Operation: 15*68=1020, Resulting Numbers: [1020]
1020,70 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[12, 71], Operations: ['56-40=16', '55+16=71']
Exploring Operation: 12*71=852, Resulting Numbers: [852]
852,70 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,70 unequal: No Solution
Exploring Operation: 12+71=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[16, 67], Operations: ['56-40=16', '12+55=67']
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 16*67=1072, Resulting Numbers: [1072]
1072,70 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[12, 39], Operations: ['56-40=16', '55-16=39']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[12, 41], Operations: ['55-40=15', '56-15=41']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 12+41=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 12*41=492, Resulting Numbers: [492]
492,70 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
87,
6,
71,
79
] | 73 | [
"87-6=81",
"79-71=8",
"81-8=73"
] | Current State: 73:[87, 6, 71, 79], Operations: []
Exploring Operation: 87-6=81, Resulting Numbers: [71, 79, 81]
Generated Node #2: [71, 79, 81] from Operation: 87-6=81
Current State: 73:[71, 79, 81], Operations: ['87-6=81']
Exploring Operation: 79-71=8, Resulting Numbers: [81, 8]
Generated Node #3: [81, 8] from Operation: 79-71=8
Current State: 73:[81, 8], Operations: ['87-6=81', '79-71=8']
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[87, 6, 71, 79], Operations: []
Exploring Operation: 79-6=73, Resulting Numbers: [87, 71, 73]
Generated Node #0,0: 73:[87, 71, 73] Operation: 79-6=73
Exploring Operation: 6+71=77, Resulting Numbers: [87, 79, 77]
Generated Node #0,1: 73:[87, 79, 77] Operation: 6+71=77
Exploring Operation: 87-6=81, Resulting Numbers: [71, 79, 81]
Generated Node #0,2: 73:[71, 79, 81] Operation: 87-6=81
Moving to Node #0,0
Current State: 73:[87, 71, 73], Operations: ['79-6=73']
Exploring Operation: 87-71=16, Resulting Numbers: [73, 16]
Generated Node #0,0,0: 73:[73, 16] Operation: 87-71=16
Exploring Operation: 87-73=14, Resulting Numbers: [71, 14]
Generated Node #0,0,1: 73:[71, 14] Operation: 87-73=14
Exploring Operation: 87+71=158, Resulting Numbers: [73, 158]
Generated Node #0,0,2: 73:[73, 158] Operation: 87+71=158
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[73, 16], Operations: ['79-6=73', '87-71=16']
Exploring Operation: 73*16=1168, Resulting Numbers: [1168]
1168,73 unequal: No Solution
Exploring Operation: 73+16=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Exploring Operation: 73-16=57, Resulting Numbers: [57]
57,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[71, 14], Operations: ['79-6=73', '87-73=14']
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 71*14=994, Resulting Numbers: [994]
994,73 unequal: No Solution
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[73, 158], Operations: ['79-6=73', '87+71=158']
Exploring Operation: 73+158=231, Resulting Numbers: [231]
231,73 unequal: No Solution
Exploring Operation: 158-73=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 73*158=11534, Resulting Numbers: [11534]
11534,73 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: 73:[71, 79, 81], Operations: ['87-6=81']
Exploring Operation: 79-71=8, Resulting Numbers: [81, 8]
Generated Node #0,2,0: 73:[81, 8] Operation: 79-71=8
Exploring Operation: 81-71=10, Resulting Numbers: [79, 10]
Generated Node #0,2,1: 73:[79, 10] Operation: 81-71=10
Exploring Operation: 81-79=2, Resulting Numbers: [71, 2]
Generated Node #0,2,2: 73:[71, 2] Operation: 81-79=2
Moving to Node #0,1
Current State: 73:[87, 79, 77], Operations: ['6+71=77']
Exploring Operation: 87-79=8, Resulting Numbers: [77, 8]
Generated Node #0,1,0: 73:[77, 8] Operation: 87-79=8
Exploring Operation: 79-77=2, Resulting Numbers: [87, 2]
Generated Node #0,1,1: 73:[87, 2] Operation: 79-77=2
Exploring Operation: 87-77=10, Resulting Numbers: [79, 10]
Generated Node #0,1,2: 73:[79, 10] Operation: 87-77=10
Moving to Node #0,2,1
Current State: 73:[79, 10], Operations: ['87-6=81', '81-71=10']
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,73 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[77, 8], Operations: ['6+71=77', '87-79=8']
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,73 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[79, 10], Operations: ['6+71=77', '87-77=10']
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,73 unequal: No Solution
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[71, 2], Operations: ['87-6=81', '81-79=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[87, 6, 71, 79], Operations: []
Exploring Operation: 87-6=81, Resulting Numbers: [71, 79, 81]
Generated Node #0,2: 73:[71, 79, 81] Operation: 87-6=81
Moving to Node #0,2
Current State: 73:[71, 79, 81], Operations: ['87-6=81']
Exploring Operation: 81-79=2, Resulting Numbers: [71, 2]
Generated Node #0,2,2: 73:[71, 2] Operation: 81-79=2
Moving to Node #0,2,2
Current State: 73:[71, 2], Operations: ['87-6=81', '81-79=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.969618 | hs_3 | mult_heuristic |
[
49,
9,
30,
10
] | 61 | [
"49+9=58",
"30/10=3",
"58+3=61"
] | Current State: 61:[49, 9, 30, 10], Operations: []
Exploring Operation: 49+9=58, Resulting Numbers: [30, 10, 58]
Generated Node #2: [30, 10, 58] from Operation: 49+9=58
Current State: 61:[30, 10, 58], Operations: ['49+9=58']
Exploring Operation: 30/10=3, Resulting Numbers: [58, 3]
Generated Node #3: [58, 3] from Operation: 30/10=3
Current State: 61:[58, 3], Operations: ['49+9=58', '30/10=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[49, 9, 30, 10], Operations: []
Exploring Operation: 9*10=90, Resulting Numbers: [49, 30, 90]
Generated Node #0,0: 61:[49, 30, 90] Operation: 9*10=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[49, 30, 90], Operations: ['9*10=90']
Exploring Operation: 90-30=60, Resulting Numbers: [49, 60]
Generated Node #0,0,0: 61:[49, 60] Operation: 90-30=60
Moving to Node #0,0,0
Current State: 61:[49, 60], Operations: ['9*10=90', '90-30=60']
Exploring Operation: 49+60=109, Resulting Numbers: [109]
109,61 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 |
[
57,
35,
22,
68
] | 68 | [
"57-35=22",
"22+68=90",
"90-22=68"
] | Current State: 68:[57, 35, 22, 68], Operations: []
Exploring Operation: 57-35=22, Resulting Numbers: [22, 68, 22]
Generated Node #2: [22, 68, 22] from Operation: 57-35=22
Current State: 68:[22, 68, 22], Operations: ['57-35=22']
Exploring Operation: 22+68=90, Resulting Numbers: [90]
90,68 equal: Goal Reached
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[57, 35, 22, 68], Operations: []
Exploring Operation: 57-22=35, Resulting Numbers: [35, 68, 35]
Generated Node #0,0: 68:[35, 68, 35] Operation: 57-22=35
Moving to Node #0,0
Current State: 68:[35, 68, 35], Operations: ['57-22=35']
Exploring Operation: 35/35=1, Resulting Numbers: [68, 1]
Generated Node #0,0,0: 68:[68, 1] Operation: 35/35=1
Moving to Node #0,0,0
Current State: 68:[68, 1], Operations: ['57-22=35', '35/35=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[57, 35, 22, 68], Operations: []
Exploring Operation: 57-22=35, Resulting Numbers: [35, 68, 35]
Generated Node #0,0: 68:[35, 68, 35] Operation: 57-22=35
Moving to Node #0,0
Current State: 68:[35, 68, 35], Operations: ['57-22=35']
Exploring Operation: 35/35=1, Resulting Numbers: [68, 1]
Generated Node #0,0,0: 68:[68, 1] Operation: 35/35=1
Moving to Node #0,0,0
Current State: 68:[68, 1], Operations: ['57-22=35', '35/35=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
24,
33,
88,
60
] | 61 | [
"33*88=2904",
"2904/24=121",
"121-60=61"
] | Current State: 61:[24, 33, 88, 60], Operations: []
Exploring Operation: 33*88=2904, Resulting Numbers: [24, 60, 2904]
Generated Node #2: [24, 60, 2904] from Operation: 33*88=2904
Current State: 61:[24, 60, 2904], Operations: ['33*88=2904']
Exploring Operation: 2904/24=121, Resulting Numbers: [60, 121]
Generated Node #3: [60, 121] from Operation: 2904/24=121
Current State: 61:[60, 121], Operations: ['33*88=2904', '2904/24=121']
Exploring Operation: 121-60=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[24, 33, 88, 60], Operations: []
Exploring Operation: 24+60=84, Resulting Numbers: [33, 88, 84]
Generated Node #0,0: 61:[33, 88, 84] Operation: 24+60=84
Exploring Operation: 24+33=57, Resulting Numbers: [88, 60, 57]
Generated Node #0,1: 61:[88, 60, 57] Operation: 24+33=57
Exploring Operation: 88-24=64, Resulting Numbers: [33, 60, 64]
Generated Node #0,2: 61:[33, 60, 64] Operation: 88-24=64
Exploring Operation: 88-33=55, Resulting Numbers: [24, 60, 55]
Generated Node #0,3: 61:[24, 60, 55] Operation: 88-33=55
Exploring Operation: 33-24=9, Resulting Numbers: [88, 60, 9]
Generated Node #0,4: 61:[88, 60, 9] Operation: 33-24=9
Moving to Node #0,1
Current State: 61:[88, 60, 57], Operations: ['24+33=57']
Exploring Operation: 88-57=31, Resulting Numbers: [60, 31]
Generated Node #0,1,0: 61:[60, 31] Operation: 88-57=31
Exploring Operation: 60+57=117, Resulting Numbers: [88, 117]
Generated Node #0,1,1: 61:[88, 117] Operation: 60+57=117
Exploring Operation: 88+57=145, Resulting Numbers: [60, 145]
Generated Node #0,1,2: 61:[60, 145] Operation: 88+57=145
Exploring Operation: 88-60=28, Resulting Numbers: [57, 28]
Generated Node #0,1,3: 61:[57, 28] Operation: 88-60=28
Exploring Operation: 60-57=3, Resulting Numbers: [88, 3]
Generated Node #0,1,4: 61:[88, 3] Operation: 60-57=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[60, 31], Operations: ['24+33=57', '88-57=31']
Exploring Operation: 60*31=1860, Resulting Numbers: [1860]
1860,61 unequal: No Solution
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 60+31=91, Resulting Numbers: [91]
91,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[57, 28], Operations: ['24+33=57', '88-60=28']
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 57*28=1596, Resulting Numbers: [1596]
1596,61 unequal: No Solution
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[88, 117], Operations: ['24+33=57', '60+57=117']
Exploring Operation: 88*117=10296, Resulting Numbers: [10296]
10296,61 unequal: No Solution
Exploring Operation: 88+117=205, Resulting Numbers: [205]
205,61 unequal: No Solution
Exploring Operation: 117-88=29, Resulting Numbers: [29]
29,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[60, 145], Operations: ['24+33=57', '88+57=145']
Exploring Operation: 60+145=205, Resulting Numbers: [205]
205,61 unequal: No Solution
Exploring Operation: 60*145=8700, Resulting Numbers: [8700]
8700,61 unequal: No Solution
Exploring Operation: 145-60=85, Resulting Numbers: [85]
85,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 61:[88, 3], Operations: ['24+33=57', '60-57=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,61 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,61 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,61 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: 61:[33, 60, 64], Operations: ['88-24=64']
Exploring Operation: 64-33=31, Resulting Numbers: [60, 31]
Generated Node #0,2,0: 61:[60, 31] Operation: 64-33=31
Exploring Operation: 33+60=93, Resulting Numbers: [64, 93]
Generated Node #0,2,1: 61:[64, 93] Operation: 33+60=93
Exploring Operation: 64-60=4, Resulting Numbers: [33, 4]
Generated Node #0,2,2: 61:[33, 4] Operation: 64-60=4
Exploring Operation: 33+64=97, Resulting Numbers: [60, 97]
Generated Node #0,2,3: 61:[60, 97] Operation: 33+64=97
Exploring Operation: 60-33=27, Resulting Numbers: [64, 27]
Generated Node #0,2,4: 61:[64, 27] Operation: 60-33=27
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[60, 31], Operations: ['88-24=64', '64-33=31']
Exploring Operation: 60+31=91, Resulting Numbers: [91]
91,61 unequal: No Solution
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 60*31=1860, Resulting Numbers: [1860]
1860,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[64, 93], Operations: ['88-24=64', '33+60=93']
Exploring Operation: 64+93=157, Resulting Numbers: [157]
157,61 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 64*93=5952, Resulting Numbers: [5952]
5952,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[60, 97], Operations: ['88-24=64', '33+64=97']
Exploring Operation: 97-60=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 60+97=157, Resulting Numbers: [157]
157,61 unequal: No Solution
Exploring Operation: 60*97=5820, Resulting Numbers: [5820]
5820,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 61:[64, 27], Operations: ['88-24=64', '60-33=27']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,61 unequal: No Solution
Exploring Operation: 64*27=1728, Resulting Numbers: [1728]
1728,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[33, 4], Operations: ['88-24=64', '64-60=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,61 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 61:[24, 60, 55], Operations: ['88-33=55']
Exploring Operation: 24+55=79, Resulting Numbers: [60, 79]
Generated Node #0,3,0: 61:[60, 79] Operation: 24+55=79
Exploring Operation: 24+60=84, Resulting Numbers: [55, 84]
Generated Node #0,3,1: 61:[55, 84] Operation: 24+60=84
Exploring Operation: 55-24=31, Resulting Numbers: [60, 31]
Generated Node #0,3,2: 61:[60, 31] Operation: 55-24=31
Exploring Operation: 60+55=115, Resulting Numbers: [24, 115]
Generated Node #0,3,3: 61:[24, 115] Operation: 60+55=115
Exploring Operation: 60-24=36, Resulting Numbers: [55, 36]
Generated Node #0,3,4: 61:[55, 36] Operation: 60-24=36
Moving to Node #0,0
Current State: 61:[33, 88, 84], Operations: ['24+60=84']
Exploring Operation: 88-84=4, Resulting Numbers: [33, 4]
Generated Node #0,0,0: 61:[33, 4] Operation: 88-84=4
Exploring Operation: 88-33=55, Resulting Numbers: [84, 55]
Generated Node #0,0,1: 61:[84, 55] Operation: 88-33=55
Exploring Operation: 33+88=121, Resulting Numbers: [84, 121]
Generated Node #0,0,2: 61:[84, 121] Operation: 33+88=121
Exploring Operation: 84-33=51, Resulting Numbers: [88, 51]
Generated Node #0,0,3: 61:[88, 51] Operation: 84-33=51
Exploring Operation: 33+84=117, Resulting Numbers: [88, 117]
Generated Node #0,0,4: 61:[88, 117] Operation: 33+84=117
Moving to Node #0,4
Current State: 61:[88, 60, 9], Operations: ['33-24=9']
Exploring Operation: 88-60=28, Resulting Numbers: [9, 28]
Generated Node #0,4,0: 61:[9, 28] Operation: 88-60=28
Exploring Operation: 60-9=51, Resulting Numbers: [88, 51]
Generated Node #0,4,1: 61:[88, 51] Operation: 60-9=51
Exploring Operation: 88+9=97, Resulting Numbers: [60, 97]
Generated Node #0,4,2: 61:[60, 97] Operation: 88+9=97
Exploring Operation: 88-9=79, Resulting Numbers: [60, 79]
Generated Node #0,4,3: 61:[60, 79] Operation: 88-9=79
Exploring Operation: 60+9=69, Resulting Numbers: [88, 69]
Generated Node #0,4,4: 61:[88, 69] Operation: 60+9=69
Moving to Node #0,3,0
Current State: 61:[60, 79], Operations: ['88-33=55', '24+55=79']
Exploring Operation: 79-60=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 60*79=4740, Resulting Numbers: [4740]
4740,61 unequal: No Solution
Exploring Operation: 60+79=139, Resulting Numbers: [139]
139,61 unequal: No Solution
Moving to Node #0,4,3
Current State: 61:[60, 79], Operations: ['33-24=9', '88-9=79']
Exploring Operation: 79-60=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 60*79=4740, Resulting Numbers: [4740]
4740,61 unequal: No Solution
Exploring Operation: 60+79=139, Resulting Numbers: [139]
139,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[84, 55], Operations: ['24+60=84', '88-33=55']
Exploring Operation: 84+55=139, Resulting Numbers: [139]
139,61 unequal: No Solution
Exploring Operation: 84*55=4620, Resulting Numbers: [4620]
4620,61 unequal: No Solution
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[55, 84], Operations: ['88-33=55', '24+60=84']
Exploring Operation: 55+84=139, Resulting Numbers: [139]
139,61 unequal: No Solution
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 55*84=4620, Resulting Numbers: [4620]
4620,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[60, 31], Operations: ['88-33=55', '55-24=31']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 60*31=1860, Resulting Numbers: [1860]
1860,61 unequal: No Solution
Exploring Operation: 60+31=91, Resulting Numbers: [91]
91,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[55, 36], Operations: ['88-33=55', '60-24=36']
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,61 unequal: No Solution
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[88, 69], Operations: ['33-24=9', '60+9=69']
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 88+69=157, Resulting Numbers: [157]
157,61 unequal: No Solution
Exploring Operation: 88*69=6072, Resulting Numbers: [6072]
6072,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[88, 51], Operations: ['24+60=84', '84-33=51']
Exploring Operation: 88+51=139, Resulting Numbers: [139]
139,61 unequal: No Solution
Exploring Operation: 88-51=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 88*51=4488, Resulting Numbers: [4488]
4488,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[60, 97], Operations: ['33-24=9', '88+9=97']
Exploring Operation: 60*97=5820, Resulting Numbers: [5820]
5820,61 unequal: No Solution
Exploring Operation: 97-60=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 60+97=157, Resulting Numbers: [157]
157,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[88, 51], Operations: ['33-24=9', '60-9=51']
Exploring Operation: 88-51=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 88*51=4488, Resulting Numbers: [4488]
4488,61 unequal: No Solution
Exploring Operation: 88+51=139, Resulting Numbers: [139]
139,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[84, 121], Operations: ['24+60=84', '33+88=121']
Exploring Operation: 84+121=205, Resulting Numbers: [205]
205,61 unequal: No Solution
Exploring Operation: 84*121=10164, Resulting Numbers: [10164]
10164,61 unequal: No Solution
Exploring Operation: 121-84=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[88, 117], Operations: ['24+60=84', '33+84=117']
Exploring Operation: 88*117=10296, Resulting Numbers: [10296]
10296,61 unequal: No Solution
Exploring Operation: 88+117=205, Resulting Numbers: [205]
205,61 unequal: No Solution
Exploring Operation: 117-88=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Moving to Node #0,4,0
Current State: 61:[9, 28], Operations: ['33-24=9', '88-60=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,61 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[33, 4], Operations: ['24+60=84', '88-84=4']
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,61 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[24, 115], Operations: ['88-33=55', '60+55=115']
Exploring Operation: 115-24=91, Resulting Numbers: [91]
91,61 unequal: No Solution
Exploring Operation: 24+115=139, Resulting Numbers: [139]
139,61 unequal: No Solution
Exploring Operation: 24*115=2760, Resulting Numbers: [2760]
2760,61 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
35,
98,
68,
66
] | 49 | [
"68-35=33",
"98*33=3234",
"3234/66=49"
] | Current State: 49:[35, 98, 68, 66], Operations: []
Exploring Operation: 68-35=33, Resulting Numbers: [98, 66, 33]
Generated Node #2: [98, 66, 33] from Operation: 68-35=33
Current State: 49:[98, 66, 33], Operations: ['68-35=33']
Exploring Operation: 98*33=3234, Resulting Numbers: [66, 3234]
Generated Node #3: [66, 3234] from Operation: 98*33=3234
Current State: 49:[66, 3234], Operations: ['68-35=33', '98*33=3234']
Exploring Operation: 3234/66=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[35, 98, 68, 66], Operations: []
Exploring Operation: 98-66=32, Resulting Numbers: [35, 68, 32]
Generated Node #0,0: 49:[35, 68, 32] Operation: 98-66=32
Exploring Operation: 98-68=30, Resulting Numbers: [35, 66, 30]
Generated Node #0,1: 49:[35, 66, 30] Operation: 98-68=30
Exploring Operation: 98-35=63, Resulting Numbers: [68, 66, 63]
Generated Node #0,2: 49:[68, 66, 63] Operation: 98-35=63
Moving to Node #0,0
Current State: 49:[35, 68, 32], Operations: ['98-66=32']
Exploring Operation: 68-32=36, Resulting Numbers: [35, 36]
Generated Node #0,0,0: 49:[35, 36] Operation: 68-32=36
Exploring Operation: 35-32=3, Resulting Numbers: [68, 3]
Generated Node #0,0,1: 49:[68, 3] Operation: 35-32=3
Exploring Operation: 68-35=33, Resulting Numbers: [32, 33]
Generated Node #0,0,2: 49:[32, 33] Operation: 68-35=33
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[68, 3], Operations: ['98-66=32', '35-32=3']
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,49 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[35, 36], Operations: ['98-66=32', '68-32=36']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[32, 33], Operations: ['98-66=32', '68-35=33']
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,49 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 49:[35, 66, 30], Operations: ['98-68=30']
Exploring Operation: 35+30=65, Resulting Numbers: [66, 65]
Generated Node #0,1,0: 49:[66, 65] Operation: 35+30=65
Exploring Operation: 66-30=36, Resulting Numbers: [35, 36]
Generated Node #0,1,1: 49:[35, 36] Operation: 66-30=36
Exploring Operation: 35-30=5, Resulting Numbers: [66, 5]
Generated Node #0,1,2: 49:[66, 5] Operation: 35-30=5
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[66, 5], Operations: ['98-68=30', '35-30=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,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,1
Current State: 49:[35, 36], Operations: ['98-68=30', '66-30=36']
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,49 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,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:[66, 65], Operations: ['98-68=30', '35+30=65']
Exploring Operation: 66+65=131, Resulting Numbers: [131]
131,49 unequal: No Solution
Exploring Operation: 66*65=4290, Resulting Numbers: [4290]
4290,49 unequal: No Solution
Exploring Operation: 66-65=1, Resulting Numbers: [1]
1,49 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: 49:[68, 66, 63], Operations: ['98-35=63']
Exploring Operation: 66-63=3, Resulting Numbers: [68, 3]
Generated Node #0,2,0: 49:[68, 3] Operation: 66-63=3
Exploring Operation: 68-66=2, Resulting Numbers: [63, 2]
Generated Node #0,2,1: 49:[63, 2] Operation: 68-66=2
Exploring Operation: 68-63=5, Resulting Numbers: [66, 5]
Generated Node #0,2,2: 49:[66, 5] Operation: 68-63=5
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[63, 2], Operations: ['98-35=63', '68-66=2']
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,49 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,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,2,2
Current State: 49:[66, 5], Operations: ['98-35=63', '68-63=5']
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,49 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,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,2,0
Current State: 49:[68, 3], Operations: ['98-35=63', '66-63=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,49 unequal: No Solution
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
49,
48,
7,
57
] | 50 | [
"49-48=1",
"57-7=50",
"1*50=50"
] | Current State: 50:[49, 48, 7, 57], Operations: []
Exploring Operation: 49-48=1, Resulting Numbers: [7, 57, 1]
Generated Node #2: [7, 57, 1] from Operation: 49-48=1
Current State: 50:[7, 57, 1], Operations: ['49-48=1']
Exploring Operation: 57-7=50, Resulting Numbers: [1, 50]
Generated Node #3: [1, 50] from Operation: 57-7=50
Current State: 50:[1, 50], Operations: ['49-48=1', '57-7=50']
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[49, 48, 7, 57], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [49, 7, 9]
Generated Node #0,0: 50:[49, 7, 9] Operation: 57-48=9
Exploring Operation: 57-7=50, Resulting Numbers: [49, 48, 50]
Generated Node #0,1: 50:[49, 48, 50] Operation: 57-7=50
Exploring Operation: 57-49=8, Resulting Numbers: [48, 7, 8]
Generated Node #0,2: 50:[48, 7, 8] Operation: 57-49=8
Moving to Node #0,1
Current State: 50:[49, 48, 50], Operations: ['57-7=50']
Exploring Operation: 50-49=1, Resulting Numbers: [48, 1]
Generated Node #0,1,0: 50:[48, 1] Operation: 50-49=1
Exploring Operation: 49-48=1, Resulting Numbers: [50, 1]
Generated Node #0,1,1: 50:[50, 1] Operation: 49-48=1
Exploring Operation: 50-48=2, Resulting Numbers: [49, 2]
Generated Node #0,1,2: 50:[49, 2] Operation: 50-48=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[50, 1], Operations: ['57-7=50', '49-48=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[49, 48, 7, 57], Operations: []
Exploring Operation: 57-7=50, Resulting Numbers: [49, 48, 50]
Generated Node #0,1: 50:[49, 48, 50] Operation: 57-7=50
Moving to Node #0,1
Current State: 50:[49, 48, 50], Operations: ['57-7=50']
Exploring Operation: 49-48=1, Resulting Numbers: [50, 1]
Generated Node #0,1,1: 50:[50, 1] Operation: 49-48=1
Moving to Node #0,1,1
Current State: 50:[50, 1], Operations: ['57-7=50', '49-48=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
32,
29,
10,
32
] | 29 | [
"32-32=0",
"10*0=0",
"29+0=29"
] | Current State: 29:[32, 29, 10, 32], Operations: []
Exploring Operation: 32-32=0, Resulting Numbers: [29, 10, 0]
Generated Node #2: [29, 10, 0] from Operation: 32-32=0
Current State: 29:[29, 10, 0], Operations: ['32-32=0']
Exploring Operation: 10*0=0, Resulting Numbers: [29, 0]
Generated Node #3: [29, 0] from Operation: 10*0=0
Current State: 29:[29, 0], Operations: ['32-32=0', '10*0=0']
Exploring Operation: 29+0=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[32, 29, 10, 32], Operations: []
Exploring Operation: 32-10=22, Resulting Numbers: [29, 32, 22]
Generated Node #0,0: 29:[29, 32, 22] Operation: 32-10=22
Moving to Node #0,0
Current State: 29:[29, 32, 22], Operations: ['32-10=22']
Exploring Operation: 32-22=10, Resulting Numbers: [29, 10]
Generated Node #0,0,0: 29:[29, 10] Operation: 32-22=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[29, 10], Operations: ['32-10=22', '32-22=10']
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,29 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 |
[
57,
11,
67,
83
] | 30 | [
"57-11=46",
"83-67=16",
"46-16=30"
] | Current State: 30:[57, 11, 67, 83], Operations: []
Exploring Operation: 57-11=46, Resulting Numbers: [67, 83, 46]
Generated Node #2: [67, 83, 46] from Operation: 57-11=46
Current State: 30:[67, 83, 46], Operations: ['57-11=46']
Exploring Operation: 83-67=16, Resulting Numbers: [46, 16]
Generated Node #3: [46, 16] from Operation: 83-67=16
Current State: 30:[46, 16], Operations: ['57-11=46', '83-67=16']
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[57, 11, 67, 83], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [57, 11, 16]
Generated Node #0,0: 30:[57, 11, 16] Operation: 83-67=16
Exploring Operation: 83-57=26, Resulting Numbers: [11, 67, 26]
Generated Node #0,1: 30:[11, 67, 26] Operation: 83-57=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[57, 11, 16], Operations: ['83-67=16']
Exploring Operation: 57-11=46, Resulting Numbers: [16, 46]
Generated Node #0,0,0: 30:[16, 46] Operation: 57-11=46
Exploring Operation: 57-16=41, Resulting Numbers: [11, 41]
Generated Node #0,0,1: 30:[11, 41] Operation: 57-16=41
Moving to Node #0,0,1
Current State: 30:[11, 41], Operations: ['83-67=16', '57-16=41']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[57, 11, 67, 83], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [57, 11, 16]
Generated Node #0,0: 30:[57, 11, 16] Operation: 83-67=16
Moving to Node #0,0
Current State: 30:[57, 11, 16], Operations: ['83-67=16']
Exploring Operation: 57-16=41, Resulting Numbers: [11, 41]
Generated Node #0,0,1: 30:[11, 41] Operation: 57-16=41
Moving to Node #0,0,1
Current State: 30:[11, 41], Operations: ['83-67=16', '57-16=41']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
79,
20,
38,
99
] | 38 | [
"79+20=99",
"38+99=137",
"137-99=38"
] | Current State: 38:[79, 20, 38, 99], Operations: []
Exploring Operation: 79+20=99, Resulting Numbers: [38, 99, 99]
Generated Node #2: [38, 99, 99] from Operation: 79+20=99
Current State: 38:[38, 99, 99], Operations: ['79+20=99']
Exploring Operation: 38+99=137, Resulting Numbers: [137]
137,38 equal: Goal Reached
Exploring Operation: 137-99=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[79, 20, 38, 99], Operations: []
Exploring Operation: 99-79=20, Resulting Numbers: [20, 38, 20]
Generated Node #0,0: 38:[20, 38, 20] Operation: 99-79=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[20, 38, 20], Operations: ['99-79=20']
Exploring Operation: 20/20=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 38:[38, 1] Operation: 20/20=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[38, 1], Operations: ['99-79=20', '20/20=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[79, 20, 38, 99], Operations: []
Exploring Operation: 99-79=20, Resulting Numbers: [20, 38, 20]
Generated Node #0,0: 38:[20, 38, 20] Operation: 99-79=20
Moving to Node #0,0
Current State: 38:[20, 38, 20], Operations: ['99-79=20']
Exploring Operation: 20/20=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 38:[38, 1] Operation: 20/20=1
Moving to Node #0,0,0
Current State: 38:[38, 1], Operations: ['99-79=20', '20/20=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
69,
23,
15,
3
] | 28 | [
"69-23=46",
"15+3=18",
"46-18=28"
] | Current State: 28:[69, 23, 15, 3], Operations: []
Exploring Operation: 69-23=46, Resulting Numbers: [15, 3, 46]
Generated Node #2: [15, 3, 46] from Operation: 69-23=46
Current State: 28:[15, 3, 46], Operations: ['69-23=46']
Exploring Operation: 15+3=18, Resulting Numbers: [46, 18]
Generated Node #3: [46, 18] from Operation: 15+3=18
Current State: 28:[46, 18], Operations: ['69-23=46', '15+3=18']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[69, 23, 15, 3], Operations: []
Exploring Operation: 69-23=46, Resulting Numbers: [15, 3, 46]
Generated Node #0,0: 28:[15, 3, 46] Operation: 69-23=46
Exploring Operation: 69/23=3, Resulting Numbers: [15, 3, 3]
Generated Node #0,1: 28:[15, 3, 3] Operation: 69/23=3
Exploring Operation: 69/3=23, Resulting Numbers: [23, 15, 23]
Generated Node #0,2: 28:[23, 15, 23] Operation: 69/3=23
Moving to Node #0,1
Current State: 28:[15, 3, 3], Operations: ['69/23=3']
Exploring Operation: 15/3=5, Resulting Numbers: [3, 5]
Generated Node #0,1,0: 28:[3, 5] Operation: 15/3=5
Exploring Operation: 15/3=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 28:[3, 5] Operation: 15/3=5
Exploring Operation: 3+3=6, Resulting Numbers: [15, 6]
Generated Node #0,1,2: 28:[15, 6] Operation: 3+3=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[3, 5], Operations: ['69/23=3', '15/3=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[3, 5], Operations: ['69/23=3', '15/3=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[15, 6], Operations: ['69/23=3', '3+3=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,28 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: 28:[23, 15, 23], Operations: ['69/3=23']
Exploring Operation: 23/23=1, Resulting Numbers: [15, 1]
Generated Node #0,2,0: 28:[15, 1] Operation: 23/23=1
Exploring Operation: 23-15=8, Resulting Numbers: [23, 8]
Generated Node #0,2,1: 28:[23, 8] Operation: 23-15=8
Exploring Operation: 23-23=0, Resulting Numbers: [15, 0]
Generated Node #0,2,2: 28:[15, 0] Operation: 23-23=0
Moving to Node #0,0
Current State: 28:[15, 3, 46], Operations: ['69-23=46']
Exploring Operation: 46-3=43, Resulting Numbers: [15, 43]
Generated Node #0,0,0: 28:[15, 43] Operation: 46-3=43
Exploring Operation: 15/3=5, Resulting Numbers: [46, 5]
Generated Node #0,0,1: 28:[46, 5] Operation: 15/3=5
Exploring Operation: 46-15=31, Resulting Numbers: [3, 31]
Generated Node #0,0,2: 28:[3, 31] Operation: 46-15=31
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[3, 31], Operations: ['69-23=46', '46-15=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[69, 23, 15, 3], Operations: []
Exploring Operation: 69-23=46, Resulting Numbers: [15, 3, 46]
Generated Node #0,0: 28:[15, 3, 46] Operation: 69-23=46
Moving to Node #0,0
Current State: 28:[15, 3, 46], Operations: ['69-23=46']
Exploring Operation: 46-15=31, Resulting Numbers: [3, 31]
Generated Node #0,0,2: 28:[3, 31] Operation: 46-15=31
Moving to Node #0,0,2
Current State: 28:[3, 31], Operations: ['69-23=46', '46-15=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
48,
87,
13,
45
] | 71 | [
"87-48=39",
"45-13=32",
"39+32=71"
] | Current State: 71:[48, 87, 13, 45], Operations: []
Exploring Operation: 87-48=39, Resulting Numbers: [13, 45, 39]
Generated Node #2: [13, 45, 39] from Operation: 87-48=39
Current State: 71:[13, 45, 39], Operations: ['87-48=39']
Exploring Operation: 45-13=32, Resulting Numbers: [39, 32]
Generated Node #3: [39, 32] from Operation: 45-13=32
Current State: 71:[39, 32], Operations: ['87-48=39', '45-13=32']
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[48, 87, 13, 45], Operations: []
Exploring Operation: 13+45=58, Resulting Numbers: [48, 87, 58]
Generated Node #0,0: 71:[48, 87, 58] Operation: 13+45=58
Exploring Operation: 87-13=74, Resulting Numbers: [48, 45, 74]
Generated Node #0,1: 71:[48, 45, 74] Operation: 87-13=74
Exploring Operation: 48+13=61, Resulting Numbers: [87, 45, 61]
Generated Node #0,2: 71:[87, 45, 61] Operation: 48+13=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[48, 87, 58], Operations: ['13+45=58']
Exploring Operation: 48+58=106, Resulting Numbers: [87, 106]
Generated Node #0,0,0: 71:[87, 106] Operation: 48+58=106
Exploring Operation: 87-58=29, Resulting Numbers: [48, 29]
Generated Node #0,0,1: 71:[48, 29] Operation: 87-58=29
Exploring Operation: 87-48=39, Resulting Numbers: [58, 39]
Generated Node #0,0,2: 71:[58, 39] Operation: 87-48=39
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[58, 39], Operations: ['13+45=58', '87-48=39']
Exploring Operation: 58*39=2262, Resulting Numbers: [2262]
2262,71 unequal: No Solution
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 58+39=97, Resulting Numbers: [97]
97,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[87, 106], Operations: ['13+45=58', '48+58=106']
Exploring Operation: 87+106=193, Resulting Numbers: [193]
193,71 unequal: No Solution
Exploring Operation: 106-87=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 87*106=9222, Resulting Numbers: [9222]
9222,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[48, 29], Operations: ['13+45=58', '87-58=29']
Exploring Operation: 48+29=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 48*29=1392, Resulting Numbers: [1392]
1392,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[48, 45, 74], Operations: ['87-13=74']
Exploring Operation: 74-45=29, Resulting Numbers: [48, 29]
Generated Node #0,1,0: 71:[48, 29] Operation: 74-45=29
Exploring Operation: 48+45=93, Resulting Numbers: [74, 93]
Generated Node #0,1,1: 71:[74, 93] Operation: 48+45=93
Exploring Operation: 48-45=3, Resulting Numbers: [74, 3]
Generated Node #0,1,2: 71:[74, 3] Operation: 48-45=3
Moving to Node #0,1,1
Current State: 71:[74, 93], Operations: ['87-13=74', '48+45=93']
Exploring Operation: 74*93=6882, Resulting Numbers: [6882]
6882,71 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 74+93=167, Resulting Numbers: [167]
167,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[48, 29], Operations: ['87-13=74', '74-45=29']
Exploring Operation: 48+29=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 48*29=1392, Resulting Numbers: [1392]
1392,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[74, 3], Operations: ['87-13=74', '48-45=3']
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[48, 87, 13, 45], Operations: []
Exploring Operation: 87-13=74, Resulting Numbers: [48, 45, 74]
Generated Node #0,1: 71:[48, 45, 74] Operation: 87-13=74
Moving to Node #0,1
Current State: 71:[48, 45, 74], Operations: ['87-13=74']
Exploring Operation: 48-45=3, Resulting Numbers: [74, 3]
Generated Node #0,1,2: 71:[74, 3] Operation: 48-45=3
Moving to Node #0,1,2
Current State: 71:[74, 3], Operations: ['87-13=74', '48-45=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
56,
7,
28,
53
] | 74 | [
"56-7=49",
"53-28=25",
"49+25=74"
] | Current State: 74:[56, 7, 28, 53], Operations: []
Exploring Operation: 56-7=49, Resulting Numbers: [28, 53, 49]
Generated Node #2: [28, 53, 49] from Operation: 56-7=49
Current State: 74:[28, 53, 49], Operations: ['56-7=49']
Exploring Operation: 53-28=25, Resulting Numbers: [49, 25]
Generated Node #3: [49, 25] from Operation: 53-28=25
Current State: 74:[49, 25], Operations: ['56-7=49', '53-28=25']
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[56, 7, 28, 53], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [7, 53, 2]
Generated Node #0,0: 74:[7, 53, 2] Operation: 56/28=2
Exploring Operation: 56-53=3, Resulting Numbers: [7, 28, 3]
Generated Node #0,1: 74:[7, 28, 3] Operation: 56-53=3
Exploring Operation: 56-28=28, Resulting Numbers: [7, 53, 28]
Generated Node #0,2: 74:[7, 53, 28] Operation: 56-28=28
Moving to Node #0,1
Current State: 74:[7, 28, 3], Operations: ['56-53=3']
Exploring Operation: 28/7=4, Resulting Numbers: [3, 4]
Generated Node #0,1,0: 74:[3, 4] Operation: 28/7=4
Exploring Operation: 7+28=35, Resulting Numbers: [3, 35]
Generated Node #0,1,1: 74:[3, 35] Operation: 7+28=35
Exploring Operation: 7-3=4, Resulting Numbers: [28, 4]
Generated Node #0,1,2: 74:[28, 4] Operation: 7-3=4
Moving to Node #0,0
Current State: 74:[7, 53, 2], Operations: ['56/28=2']
Exploring Operation: 7+53=60, Resulting Numbers: [2, 60]
Generated Node #0,0,0: 74:[2, 60] Operation: 7+53=60
Exploring Operation: 7-2=5, Resulting Numbers: [53, 5]
Generated Node #0,0,1: 74:[53, 5] Operation: 7-2=5
Exploring Operation: 53-7=46, Resulting Numbers: [2, 46]
Generated Node #0,0,2: 74:[2, 46] Operation: 53-7=46
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[2, 46], Operations: ['56/28=2', '53-7=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,74 unequal: No Solution
No 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: 74:[2, 60], Operations: ['56/28=2', '7+53=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,74 unequal: No Solution
No 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: 74:[53, 5], Operations: ['56/28=2', '7-2=5']
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,74 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,74 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: 74:[7, 53, 28], Operations: ['56-28=28']
Exploring Operation: 53-7=46, Resulting Numbers: [28, 46]
Generated Node #0,2,0: 74:[28, 46] Operation: 53-7=46
Exploring Operation: 53+28=81, Resulting Numbers: [7, 81]
Generated Node #0,2,1: 74:[7, 81] Operation: 53+28=81
Exploring Operation: 53-28=25, Resulting Numbers: [7, 25]
Generated Node #0,2,2: 74:[7, 25] Operation: 53-28=25
Moving to Node #0,1,0
Current State: 74:[3, 4], Operations: ['56-53=3', '28/7=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[3, 35], Operations: ['56-53=3', '7+28=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[28, 4], Operations: ['56-53=3', '7-3=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[7, 81], Operations: ['56-28=28', '53+28=81']
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 7*81=567, Resulting Numbers: [567]
567,74 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[56, 7, 28, 53], Operations: []
Exploring Operation: 56-28=28, Resulting Numbers: [7, 53, 28]
Generated Node #0,2: 74:[7, 53, 28] Operation: 56-28=28
Moving to Node #0,2
Current State: 74:[7, 53, 28], Operations: ['56-28=28']
Exploring Operation: 53+28=81, Resulting Numbers: [7, 81]
Generated Node #0,2,1: 74:[7, 81] Operation: 53+28=81
Moving to Node #0,2,1
Current State: 74:[7, 81], Operations: ['56-28=28', '53+28=81']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.967882 | hs_3 | sum_heuristic |
[
6,
39,
78,
45
] | 77 | [
"6+39=45",
"45/45=1",
"78-1=77"
] | Current State: 77:[6, 39, 78, 45], Operations: []
Exploring Operation: 6+39=45, Resulting Numbers: [78, 45, 45]
Generated Node #2: [78, 45, 45] from Operation: 6+39=45
Current State: 77:[78, 45, 45], Operations: ['6+39=45']
Exploring Operation: 45/45=1, Resulting Numbers: [78, 1]
Generated Node #3: [78, 1] from Operation: 45/45=1
Current State: 77:[78, 1], Operations: ['6+39=45', '45/45=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[6, 39, 78, 45], Operations: []
Exploring Operation: 45-39=6, Resulting Numbers: [6, 78, 6]
Generated Node #0,0: 77:[6, 78, 6] Operation: 45-39=6
Exploring Operation: 39+45=84, Resulting Numbers: [6, 78, 84]
Generated Node #0,1: 77:[6, 78, 84] Operation: 39+45=84
Exploring Operation: 78/39=2, Resulting Numbers: [6, 45, 2]
Generated Node #0,2: 77:[6, 45, 2] Operation: 78/39=2
Exploring Operation: 78-45=33, Resulting Numbers: [6, 39, 33]
Generated Node #0,3: 77:[6, 39, 33] Operation: 78-45=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[6, 78, 6], Operations: ['45-39=6']
Exploring Operation: 6+6=12, Resulting Numbers: [78, 12]
Generated Node #0,0,0: 77:[78, 12] Operation: 6+6=12
Exploring Operation: 78-6=72, Resulting Numbers: [6, 72]
Generated Node #0,0,1: 77:[6, 72] Operation: 78-6=72
Exploring Operation: 78/6=13, Resulting Numbers: [6, 13]
Generated Node #0,0,2: 77:[6, 13] Operation: 78/6=13
Exploring Operation: 78/6=13, Resulting Numbers: [6, 13]
Generated Node #0,0,3: 77:[6, 13] Operation: 78/6=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[78, 12], Operations: ['45-39=6', '6+6=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,77 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[6, 13], Operations: ['45-39=6', '78/6=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 77:[6, 13], Operations: ['45-39=6', '78/6=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[6, 72], Operations: ['45-39=6', '78-6=72']
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,77 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[6, 78, 84], Operations: ['39+45=84']
Exploring Operation: 78/6=13, Resulting Numbers: [84, 13]
Generated Node #0,1,0: 77:[84, 13] Operation: 78/6=13
Exploring Operation: 84-78=6, Resulting Numbers: [6, 6]
Generated Node #0,1,1: 77:[6, 6] Operation: 84-78=6
Exploring Operation: 84/6=14, Resulting Numbers: [78, 14]
Generated Node #0,1,2: 77:[78, 14] Operation: 84/6=14
Exploring Operation: 84-6=78, Resulting Numbers: [78, 78]
Generated Node #0,1,3: 77:[78, 78] Operation: 84-6=78
Moving to Node #0,1,1
Current State: 77:[6, 6], Operations: ['39+45=84', '84-78=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,77 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[78, 78], Operations: ['39+45=84', '84-6=78']
Exploring Operation: 78-78=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 78*78=6084, Resulting Numbers: [6084]
6084,77 unequal: No Solution
Exploring Operation: 78/78=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 78+78=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[78, 14], Operations: ['39+45=84', '84/6=14']
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[84, 13], Operations: ['39+45=84', '78/6=13']
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 84+13=97, Resulting Numbers: [97]
97,77 unequal: No Solution
Exploring Operation: 84*13=1092, Resulting Numbers: [1092]
1092,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[6, 45, 2], Operations: ['78/39=2']
Exploring Operation: 6+45=51, Resulting Numbers: [2, 51]
Generated Node #0,2,0: 77:[2, 51] Operation: 6+45=51
Exploring Operation: 45-6=39, Resulting Numbers: [2, 39]
Generated Node #0,2,1: 77:[2, 39] Operation: 45-6=39
Exploring Operation: 45*2=90, Resulting Numbers: [6, 90]
Generated Node #0,2,2: 77:[6, 90] Operation: 45*2=90
Exploring Operation: 45+2=47, Resulting Numbers: [6, 47]
Generated Node #0,2,3: 77:[6, 47] Operation: 45+2=47
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 77:[6, 90], Operations: ['78/39=2', '45*2=90']
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 6*90=540, Resulting Numbers: [540]
540,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[2, 51], Operations: ['78/39=2', '6+45=51']
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,77 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 77:[6, 47], Operations: ['78/39=2', '45+2=47']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,77 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 77:[2, 39], Operations: ['78/39=2', '45-6=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[6, 39, 33], Operations: ['78-45=33']
Exploring Operation: 39-33=6, Resulting Numbers: [6, 6]
Generated Node #0,3,0: 77:[6, 6] Operation: 39-33=6
Exploring Operation: 39+33=72, Resulting Numbers: [6, 72]
Generated Node #0,3,1: 77:[6, 72] Operation: 39+33=72
Exploring Operation: 33-6=27, Resulting Numbers: [39, 27]
Generated Node #0,3,2: 77:[39, 27] Operation: 33-6=27
Exploring Operation: 39-6=33, Resulting Numbers: [33, 33]
Generated Node #0,3,3: 77:[33, 33] Operation: 39-6=33
Moving to Node #0,3,0
Current State: 77:[6, 6], Operations: ['78-45=33', '39-33=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,77 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[6, 72], Operations: ['78-45=33', '39+33=72']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[33, 33], Operations: ['78-45=33', '39-6=33']
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,77 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[39, 27], Operations: ['78-45=33', '33-6=27']
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,77 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,77 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 |
[
40,
86,
46,
30
] | 30 | [
"86-40=46",
"46+30=76",
"76-46=30"
] | Current State: 30:[40, 86, 46, 30], Operations: []
Exploring Operation: 86-40=46, Resulting Numbers: [46, 30, 46]
Generated Node #2: [46, 30, 46] from Operation: 86-40=46
Current State: 30:[46, 30, 46], Operations: ['86-40=46']
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,30 equal: Goal Reached
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[40, 86, 46, 30], Operations: []
Exploring Operation: 86-46=40, Resulting Numbers: [40, 30, 40]
Generated Node #0,0: 30:[40, 30, 40] Operation: 86-46=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[40, 30, 40], Operations: ['86-46=40']
Exploring Operation: 40/40=1, Resulting Numbers: [30, 1]
Generated Node #0,0,0: 30:[30, 1] Operation: 40/40=1
Moving to Node #0,0,0
Current State: 30:[30, 1], Operations: ['86-46=40', '40/40=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[40, 86, 46, 30], Operations: []
Exploring Operation: 86-46=40, Resulting Numbers: [40, 30, 40]
Generated Node #0,0: 30:[40, 30, 40] Operation: 86-46=40
Moving to Node #0,0
Current State: 30:[40, 30, 40], Operations: ['86-46=40']
Exploring Operation: 40/40=1, Resulting Numbers: [30, 1]
Generated Node #0,0,0: 30:[30, 1] Operation: 40/40=1
Moving to Node #0,0,0
Current State: 30:[30, 1], Operations: ['86-46=40', '40/40=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
56,
54,
72,
14
] | 50 | [
"56-54=2",
"72/2=36",
"14+36=50"
] | Current State: 50:[56, 54, 72, 14], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [72, 14, 2]
Generated Node #2: [72, 14, 2] from Operation: 56-54=2
Current State: 50:[72, 14, 2], Operations: ['56-54=2']
Exploring Operation: 72/2=36, Resulting Numbers: [14, 36]
Generated Node #3: [14, 36] from Operation: 72/2=36
Current State: 50:[14, 36], Operations: ['56-54=2', '72/2=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[56, 54, 72, 14], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [54, 14, 16]
Generated Node #0,0: 50:[54, 14, 16] Operation: 72-56=16
Exploring Operation: 72-54=18, Resulting Numbers: [56, 14, 18]
Generated Node #0,1: 50:[56, 14, 18] Operation: 72-54=18
Exploring Operation: 72-14=58, Resulting Numbers: [56, 54, 58]
Generated Node #0,2: 50:[56, 54, 58] Operation: 72-14=58
Exploring Operation: 56-54=2, Resulting Numbers: [72, 14, 2]
Generated Node #0,3: 50:[72, 14, 2] Operation: 56-54=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[54, 14, 16], Operations: ['72-56=16']
Exploring Operation: 14+16=30, Resulting Numbers: [54, 30]
Generated Node #0,0,0: 50:[54, 30] Operation: 14+16=30
Exploring Operation: 54-14=40, Resulting Numbers: [16, 40]
Generated Node #0,0,1: 50:[16, 40] Operation: 54-14=40
Exploring Operation: 54-16=38, Resulting Numbers: [14, 38]
Generated Node #0,0,2: 50:[14, 38] Operation: 54-16=38
Exploring Operation: 16-14=2, Resulting Numbers: [54, 2]
Generated Node #0,0,3: 50:[54, 2] Operation: 16-14=2
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 50:[54, 2], Operations: ['72-56=16', '16-14=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,50 unequal: No Solution
No 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: 50:[54, 30], Operations: ['72-56=16', '14+16=30']
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,50 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,50 unequal: No Solution
No 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: 50:[16, 40], Operations: ['72-56=16', '54-14=40']
Exploring Operation: 16*40=640, Resulting Numbers: [640]
640,50 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,50 unequal: No Solution
No 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: 50:[14, 38], Operations: ['72-56=16', '54-16=38']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 14*38=532, Resulting Numbers: [532]
532,50 unequal: No Solution
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[56, 14, 18], Operations: ['72-54=18']
Exploring Operation: 18-14=4, Resulting Numbers: [56, 4]
Generated Node #0,1,0: 50:[56, 4] Operation: 18-14=4
Exploring Operation: 56/14=4, Resulting Numbers: [18, 4]
Generated Node #0,1,1: 50:[18, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [18, 42]
Generated Node #0,1,2: 50:[18, 42] Operation: 56-14=42
Exploring Operation: 14+18=32, Resulting Numbers: [56, 32]
Generated Node #0,1,3: 50:[56, 32] Operation: 14+18=32
Moving to Node #0,1,0
Current State: 50:[56, 4], Operations: ['72-54=18', '18-14=4']
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,50 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[18, 4], Operations: ['72-54=18', '56/14=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[56, 32], Operations: ['72-54=18', '14+18=32']
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,50 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[18, 42], Operations: ['72-54=18', '56-14=42']
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,50 unequal: No Solution
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[56, 54, 58], Operations: ['72-14=58']
Exploring Operation: 58-56=2, Resulting Numbers: [54, 2]
Generated Node #0,2,0: 50:[54, 2] Operation: 58-56=2
Exploring Operation: 58-54=4, Resulting Numbers: [56, 4]
Generated Node #0,2,1: 50:[56, 4] Operation: 58-54=4
Exploring Operation: 56-54=2, Resulting Numbers: [58, 2]
Generated Node #0,2,2: 50:[58, 2] Operation: 56-54=2
Exploring Operation: 56+54=110, Resulting Numbers: [58, 110]
Generated Node #0,2,3: 50:[58, 110] Operation: 56+54=110
Moving to Node #0,2,0
Current State: 50:[54, 2], Operations: ['72-14=58', '58-56=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[56, 4], Operations: ['72-14=58', '58-54=4']
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,50 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[58, 2], Operations: ['72-14=58', '56-54=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[58, 110], Operations: ['72-14=58', '56+54=110']
Exploring Operation: 58+110=168, Resulting Numbers: [168]
168,50 unequal: No Solution
Exploring Operation: 58*110=6380, Resulting Numbers: [6380]
6380,50 unequal: No Solution
Exploring Operation: 110-58=52, Resulting Numbers: [52]
52,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[72, 14, 2], Operations: ['56-54=2']
Exploring Operation: 72-14=58, Resulting Numbers: [2, 58]
Generated Node #0,3,0: 50:[2, 58] Operation: 72-14=58
Exploring Operation: 72/2=36, Resulting Numbers: [14, 36]
Generated Node #0,3,1: 50:[14, 36] Operation: 72/2=36
Exploring Operation: 14-2=12, Resulting Numbers: [72, 12]
Generated Node #0,3,2: 50:[72, 12] Operation: 14-2=12
Exploring Operation: 72-2=70, Resulting Numbers: [14, 70]
Generated Node #0,3,3: 50:[14, 70] Operation: 72-2=70
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 50:[2, 58], Operations: ['56-54=2', '72-14=58']
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,50 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,50 unequal: No Solution
No 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: 50:[14, 36], Operations: ['56-54=2', '72/2=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[56, 54, 72, 14], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [72, 14, 2]
Generated Node #0,3: 50:[72, 14, 2] Operation: 56-54=2
Moving to Node #0,3
Current State: 50:[72, 14, 2], Operations: ['56-54=2']
Exploring Operation: 72/2=36, Resulting Numbers: [14, 36]
Generated Node #0,3,1: 50:[14, 36] Operation: 72/2=36
Moving to Node #0,3,1
Current State: 50:[14, 36], Operations: ['56-54=2', '72/2=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.939236 | hs_4 | mult_heuristic |
[
39,
55,
21,
33
] | 46 | [
"55*33=1815",
"1815-21=1794",
"1794/39=46"
] | Current State: 46:[39, 55, 21, 33], Operations: []
Exploring Operation: 55*33=1815, Resulting Numbers: [39, 21, 1815]
Generated Node #2: [39, 21, 1815] from Operation: 55*33=1815
Current State: 46:[39, 21, 1815], Operations: ['55*33=1815']
Exploring Operation: 1815-21=1794, Resulting Numbers: [39, 1794]
Generated Node #3: [39, 1794] from Operation: 1815-21=1794
Current State: 46:[39, 1794], Operations: ['55*33=1815', '1815-21=1794']
Exploring Operation: 1794/39=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[39, 55, 21, 33], Operations: []
Exploring Operation: 39-33=6, Resulting Numbers: [55, 21, 6]
Generated Node #0,0: 46:[55, 21, 6] Operation: 39-33=6
Exploring Operation: 55-33=22, Resulting Numbers: [39, 21, 22]
Generated Node #0,1: 46:[39, 21, 22] Operation: 55-33=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[39, 21, 22], Operations: ['55-33=22']
Exploring Operation: 39-22=17, Resulting Numbers: [21, 17]
Generated Node #0,1,0: 46:[21, 17] Operation: 39-22=17
Exploring Operation: 39-21=18, Resulting Numbers: [22, 18]
Generated Node #0,1,1: 46:[22, 18] Operation: 39-21=18
Moving to Node #0,1,1
Current State: 46:[22, 18], Operations: ['55-33=22', '39-21=18']
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[21, 17], Operations: ['55-33=22', '39-22=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[55, 21, 6], Operations: ['39-33=6']
Exploring Operation: 21+6=27, Resulting Numbers: [55, 27]
Generated Node #0,0,0: 46:[55, 27] Operation: 21+6=27
Exploring Operation: 55-6=49, Resulting Numbers: [21, 49]
Generated Node #0,0,1: 46:[21, 49] Operation: 55-6=49
Moving to Node #0,0,1
Current State: 46:[21, 49], Operations: ['39-33=6', '55-6=49']
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,46 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[55, 27], Operations: ['39-33=6', '21+6=27']
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,46 unequal: No Solution
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,46 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 |
[
48,
17,
80,
3
] | 83 | [
"80-48=32",
"17*3=51",
"32+51=83"
] | Current State: 83:[48, 17, 80, 3], Operations: []
Exploring Operation: 80-48=32, Resulting Numbers: [17, 3, 32]
Generated Node #2: [17, 3, 32] from Operation: 80-48=32
Current State: 83:[17, 3, 32], Operations: ['80-48=32']
Exploring Operation: 17*3=51, Resulting Numbers: [32, 51]
Generated Node #3: [32, 51] from Operation: 17*3=51
Current State: 83:[32, 51], Operations: ['80-48=32', '17*3=51']
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[48, 17, 80, 3], Operations: []
Exploring Operation: 17*3=51, Resulting Numbers: [48, 80, 51]
Generated Node #0,0: 83:[48, 80, 51] Operation: 17*3=51
Exploring Operation: 48+17=65, Resulting Numbers: [80, 3, 65]
Generated Node #0,1: 83:[80, 3, 65] Operation: 48+17=65
Moving to Node #0,0
Current State: 83:[48, 80, 51], Operations: ['17*3=51']
Exploring Operation: 48+80=128, Resulting Numbers: [51, 128]
Generated Node #0,0,0: 83:[51, 128] Operation: 48+80=128
Exploring Operation: 48+51=99, Resulting Numbers: [80, 99]
Generated Node #0,0,1: 83:[80, 99] Operation: 48+51=99
Moving to Node #0,1
Current State: 83:[80, 3, 65], Operations: ['48+17=65']
Exploring Operation: 3+65=68, Resulting Numbers: [80, 68]
Generated Node #0,1,0: 83:[80, 68] Operation: 3+65=68
Exploring Operation: 80+3=83, Resulting Numbers: [65, 83]
Generated Node #0,1,1: 83:[65, 83] Operation: 80+3=83
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[80, 68], Operations: ['48+17=65', '3+65=68']
Exploring Operation: 80+68=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Exploring Operation: 80-68=12, Resulting Numbers: [12]
12,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[65, 83], Operations: ['48+17=65', '80+3=83']
Exploring Operation: 83-65=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 65+83=148, Resulting Numbers: [148]
148,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 83:[80, 99], Operations: ['17*3=51', '48+51=99']
Exploring Operation: 80+99=179, Resulting Numbers: [179]
179,83 unequal: No Solution
Exploring Operation: 99-80=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[51, 128], Operations: ['17*3=51', '48+80=128']
Exploring Operation: 128-51=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 51+128=179, Resulting Numbers: [179]
179,83 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
43,
93,
77,
82
] | 45 | [
"93-43=50",
"82-77=5",
"50-5=45"
] | Current State: 45:[43, 93, 77, 82], Operations: []
Exploring Operation: 93-43=50, Resulting Numbers: [77, 82, 50]
Generated Node #2: [77, 82, 50] from Operation: 93-43=50
Current State: 45:[77, 82, 50], Operations: ['93-43=50']
Exploring Operation: 82-77=5, Resulting Numbers: [50, 5]
Generated Node #3: [50, 5] from Operation: 82-77=5
Current State: 45:[50, 5], Operations: ['93-43=50', '82-77=5']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[43, 93, 77, 82], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [43, 82, 16]
Generated Node #0,0: 45:[43, 82, 16] Operation: 93-77=16
Exploring Operation: 82-77=5, Resulting Numbers: [43, 93, 5]
Generated Node #0,1: 45:[43, 93, 5] Operation: 82-77=5
Exploring Operation: 93-82=11, Resulting Numbers: [43, 77, 11]
Generated Node #0,2: 45:[43, 77, 11] Operation: 93-82=11
Moving to Node #0,2
Current State: 45:[43, 77, 11], Operations: ['93-82=11']
Exploring Operation: 77/11=7, Resulting Numbers: [43, 7]
Generated Node #0,2,0: 45:[43, 7] Operation: 77/11=7
Exploring Operation: 77-11=66, Resulting Numbers: [43, 66]
Generated Node #0,2,1: 45:[43, 66] Operation: 77-11=66
Exploring Operation: 77-43=34, Resulting Numbers: [11, 34]
Generated Node #0,2,2: 45:[11, 34] Operation: 77-43=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[43, 7], Operations: ['93-82=11', '77/11=7']
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,45 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 45:[11, 34], Operations: ['93-82=11', '77-43=34']
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[43, 93, 77, 82], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [43, 77, 11]
Generated Node #0,2: 45:[43, 77, 11] Operation: 93-82=11
Moving to Node #0,2
Current State: 45:[43, 77, 11], Operations: ['93-82=11']
Exploring Operation: 77-43=34, Resulting Numbers: [11, 34]
Generated Node #0,2,2: 45:[11, 34] Operation: 77-43=34
Moving to Node #0,2,2
Current State: 45:[11, 34], Operations: ['93-82=11', '77-43=34']
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
46,
16,
28,
75
] | 16 | [
"46+28=74",
"75-74=1",
"16*1=16"
] | Current State: 16:[46, 16, 28, 75], Operations: []
Exploring Operation: 46+28=74, Resulting Numbers: [16, 75, 74]
Generated Node #2: [16, 75, 74] from Operation: 46+28=74
Current State: 16:[16, 75, 74], Operations: ['46+28=74']
Exploring Operation: 75-74=1, Resulting Numbers: [16, 1]
Generated Node #3: [16, 1] from Operation: 75-74=1
Current State: 16:[16, 1], Operations: ['46+28=74', '75-74=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[46, 16, 28, 75], Operations: []
Exploring Operation: 75-28=47, Resulting Numbers: [46, 16, 47]
Generated Node #0,0: 16:[46, 16, 47] Operation: 75-28=47
Exploring Operation: 75-16=59, Resulting Numbers: [46, 28, 59]
Generated Node #0,1: 16:[46, 28, 59] Operation: 75-16=59
Exploring Operation: 46-16=30, Resulting Numbers: [28, 75, 30]
Generated Node #0,2: 16:[28, 75, 30] Operation: 46-16=30
Exploring Operation: 46-28=18, Resulting Numbers: [16, 75, 18]
Generated Node #0,3: 16:[16, 75, 18] Operation: 46-28=18
Exploring Operation: 75-46=29, Resulting Numbers: [16, 28, 29]
Generated Node #0,4: 16:[16, 28, 29] Operation: 75-46=29
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[16, 28, 29], Operations: ['75-46=29']
Exploring Operation: 29-16=13, Resulting Numbers: [28, 13]
Generated Node #0,4,0: 16:[28, 13] Operation: 29-16=13
Exploring Operation: 16+28=44, Resulting Numbers: [29, 44]
Generated Node #0,4,1: 16:[29, 44] Operation: 16+28=44
Exploring Operation: 28-16=12, Resulting Numbers: [29, 12]
Generated Node #0,4,2: 16:[29, 12] Operation: 28-16=12
Exploring Operation: 29-28=1, Resulting Numbers: [16, 1]
Generated Node #0,4,3: 16:[16, 1] Operation: 29-28=1
Exploring Operation: 16+29=45, Resulting Numbers: [28, 45]
Generated Node #0,4,4: 16:[28, 45] Operation: 16+29=45
Moving to Node #0,4,3
Current State: 16:[16, 1], Operations: ['75-46=29', '29-28=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[46, 16, 28, 75], Operations: []
Exploring Operation: 75-46=29, Resulting Numbers: [16, 28, 29]
Generated Node #0,4: 16:[16, 28, 29] Operation: 75-46=29
Moving to Node #0,4
Current State: 16:[16, 28, 29], Operations: ['75-46=29']
Exploring Operation: 29-28=1, Resulting Numbers: [16, 1]
Generated Node #0,4,3: 16:[16, 1] Operation: 29-28=1
Moving to Node #0,4,3
Current State: 16:[16, 1], Operations: ['75-46=29', '29-28=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
32,
90,
5,
19
] | 34 | [
"90-32=58",
"5+19=24",
"58-24=34"
] | Current State: 34:[32, 90, 5, 19], Operations: []
Exploring Operation: 90-32=58, Resulting Numbers: [5, 19, 58]
Generated Node #2: [5, 19, 58] from Operation: 90-32=58
Current State: 34:[5, 19, 58], Operations: ['90-32=58']
Exploring Operation: 5+19=24, Resulting Numbers: [58, 24]
Generated Node #3: [58, 24] from Operation: 5+19=24
Current State: 34:[58, 24], Operations: ['90-32=58', '5+19=24']
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[32, 90, 5, 19], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [32, 19, 18]
Generated Node #0,0: 34:[32, 19, 18] Operation: 90/5=18
Exploring Operation: 90-32=58, Resulting Numbers: [5, 19, 58]
Generated Node #0,1: 34:[5, 19, 58] Operation: 90-32=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[32, 19, 18], Operations: ['90/5=18']
Exploring Operation: 19-18=1, Resulting Numbers: [32, 1]
Generated Node #0,0,0: 34:[32, 1] Operation: 19-18=1
Exploring Operation: 32-19=13, Resulting Numbers: [18, 13]
Generated Node #0,0,1: 34:[18, 13] Operation: 32-19=13
Moving to Node #0,0,0
Current State: 34:[32, 1], Operations: ['90/5=18', '19-18=1']
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[18, 13], Operations: ['90/5=18', '32-19=13']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 18+13=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
Current State: 34:[5, 19, 58], Operations: ['90-32=58']
Exploring Operation: 58-5=53, Resulting Numbers: [19, 53]
Generated Node #0,1,0: 34:[19, 53] Operation: 58-5=53
Exploring Operation: 58-19=39, Resulting Numbers: [5, 39]
Generated Node #0,1,1: 34:[5, 39] Operation: 58-19=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[5, 39], Operations: ['90-32=58', '58-19=39']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[32, 90, 5, 19], Operations: []
Exploring Operation: 90-32=58, Resulting Numbers: [5, 19, 58]
Generated Node #0,1: 34:[5, 19, 58] Operation: 90-32=58
Moving to Node #0,1
Current State: 34:[5, 19, 58], Operations: ['90-32=58']
Exploring Operation: 58-19=39, Resulting Numbers: [5, 39]
Generated Node #0,1,1: 34:[5, 39] Operation: 58-19=39
Moving to Node #0,1,1
Current State: 34:[5, 39], Operations: ['90-32=58', '58-19=39']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
7,
65,
6,
6
] | 94 | [
"65-7=58",
"6*6=36",
"58+36=94"
] | Current State: 94:[7, 65, 6, 6], Operations: []
Exploring Operation: 65-7=58, Resulting Numbers: [6, 6, 58]
Generated Node #2: [6, 6, 58] from Operation: 65-7=58
Current State: 94:[6, 6, 58], Operations: ['65-7=58']
Exploring Operation: 6*6=36, Resulting Numbers: [58, 36]
Generated Node #3: [58, 36] from Operation: 6*6=36
Current State: 94:[58, 36], Operations: ['65-7=58', '6*6=36']
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[7, 65, 6, 6], Operations: []
Exploring Operation: 65-6=59, Resulting Numbers: [7, 6, 59]
Generated Node #0,0: 94:[7, 6, 59] Operation: 65-6=59
Exploring Operation: 65-7=58, Resulting Numbers: [6, 6, 58]
Generated Node #0,1: 94:[6, 6, 58] Operation: 65-7=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[6, 6, 58], Operations: ['65-7=58']
Exploring Operation: 58-6=52, Resulting Numbers: [6, 52]
Generated Node #0,1,0: 94:[6, 52] Operation: 58-6=52
Exploring Operation: 58-6=52, Resulting Numbers: [6, 52]
Generated Node #0,1,1: 94:[6, 52] Operation: 58-6=52
Moving to Node #0,1,0
Current State: 94:[6, 52], Operations: ['65-7=58', '58-6=52']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[6, 52], Operations: ['65-7=58', '58-6=52']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[7, 6, 59], Operations: ['65-6=59']
Exploring Operation: 59-6=53, Resulting Numbers: [7, 53]
Generated Node #0,0,0: 94:[7, 53] Operation: 59-6=53
Exploring Operation: 59-7=52, Resulting Numbers: [6, 52]
Generated Node #0,0,1: 94:[6, 52] Operation: 59-7=52
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[6, 52], Operations: ['65-6=59', '59-7=52']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[7, 53], Operations: ['65-6=59', '59-6=53']
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
21,
45,
35,
30
] | 90 | [
"30-21=9",
"45-35=10",
"9*10=90"
] | Current State: 90:[21, 45, 35, 30], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [45, 35, 9]
Generated Node #2: [45, 35, 9] from Operation: 30-21=9
Current State: 90:[45, 35, 9], Operations: ['30-21=9']
Exploring Operation: 45-35=10, Resulting Numbers: [9, 10]
Generated Node #3: [9, 10] from Operation: 45-35=10
Current State: 90:[9, 10], Operations: ['30-21=9', '45-35=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[21, 45, 35, 30], Operations: []
Exploring Operation: 45-35=10, Resulting Numbers: [21, 30, 10]
Generated Node #0,0: 90:[21, 30, 10] Operation: 45-35=10
Exploring Operation: 35-30=5, Resulting Numbers: [21, 45, 5]
Generated Node #0,1: 90:[21, 45, 5] Operation: 35-30=5
Exploring Operation: 35-21=14, Resulting Numbers: [45, 30, 14]
Generated Node #0,2: 90:[45, 30, 14] Operation: 35-21=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[45, 30, 14], Operations: ['35-21=14']
Exploring Operation: 45-30=15, Resulting Numbers: [14, 15]
Generated Node #0,2,0: 90:[14, 15] Operation: 45-30=15
Exploring Operation: 30+14=44, Resulting Numbers: [45, 44]
Generated Node #0,2,1: 90:[45, 44] Operation: 30+14=44
Exploring Operation: 45-14=31, Resulting Numbers: [30, 31]
Generated Node #0,2,2: 90:[30, 31] Operation: 45-14=31
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[14, 15], Operations: ['35-21=14', '45-30=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[45, 44], Operations: ['35-21=14', '30+14=44']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 45*44=1980, Resulting Numbers: [1980]
1980,90 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[30, 31], Operations: ['35-21=14', '45-14=31']
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,90 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[21, 30, 10], Operations: ['45-35=10']
Exploring Operation: 21-10=11, Resulting Numbers: [30, 11]
Generated Node #0,0,0: 90:[30, 11] Operation: 21-10=11
Exploring Operation: 30-21=9, Resulting Numbers: [10, 9]
Generated Node #0,0,1: 90:[10, 9] Operation: 30-21=9
Exploring Operation: 21+10=31, Resulting Numbers: [30, 31]
Generated Node #0,0,2: 90:[30, 31] Operation: 21+10=31
Moving to Node #0,0,1
Current State: 90:[10, 9], Operations: ['45-35=10', '30-21=9']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[21, 45, 35, 30], Operations: []
Exploring Operation: 45-35=10, Resulting Numbers: [21, 30, 10]
Generated Node #0,0: 90:[21, 30, 10] Operation: 45-35=10
Moving to Node #0,0
Current State: 90:[21, 30, 10], Operations: ['45-35=10']
Exploring Operation: 30-21=9, Resulting Numbers: [10, 9]
Generated Node #0,0,1: 90:[10, 9] Operation: 30-21=9
Moving to Node #0,0,1
Current State: 90:[10, 9], Operations: ['45-35=10', '30-21=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
45,
8,
1,
93
] | 55 | [
"45-8=37",
"93-1=92",
"92-37=55"
] | Current State: 55:[45, 8, 1, 93], Operations: []
Exploring Operation: 45-8=37, Resulting Numbers: [1, 93, 37]
Generated Node #2: [1, 93, 37] from Operation: 45-8=37
Current State: 55:[1, 93, 37], Operations: ['45-8=37']
Exploring Operation: 93-1=92, Resulting Numbers: [37, 92]
Generated Node #3: [37, 92] from Operation: 93-1=92
Current State: 55:[37, 92], Operations: ['45-8=37', '93-1=92']
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[45, 8, 1, 93], Operations: []
Exploring Operation: 93-45=48, Resulting Numbers: [8, 1, 48]
Generated Node #0,0: 55:[8, 1, 48] Operation: 93-45=48
Moving to Node #0,0
Current State: 55:[8, 1, 48], Operations: ['93-45=48']
Exploring Operation: 8+48=56, Resulting Numbers: [1, 56]
Generated Node #0,0,0: 55:[1, 56] Operation: 8+48=56
Moving to Node #0,0,0
Current State: 55:[1, 56], Operations: ['93-45=48', '8+48=56']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[45, 8, 1, 93], Operations: []
Exploring Operation: 93-45=48, Resulting Numbers: [8, 1, 48]
Generated Node #0,0: 55:[8, 1, 48] Operation: 93-45=48
Moving to Node #0,0
Current State: 55:[8, 1, 48], Operations: ['93-45=48']
Exploring Operation: 8+48=56, Resulting Numbers: [1, 56]
Generated Node #0,0,0: 55:[1, 56] Operation: 8+48=56
Moving to Node #0,0,0
Current State: 55:[1, 56], Operations: ['93-45=48', '8+48=56']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
5,
64,
27,
11
] | 13 | [
"5+27=32",
"64/32=2",
"11+2=13"
] | Current State: 13:[5, 64, 27, 11], Operations: []
Exploring Operation: 5+27=32, Resulting Numbers: [64, 11, 32]
Generated Node #2: [64, 11, 32] from Operation: 5+27=32
Current State: 13:[64, 11, 32], Operations: ['5+27=32']
Exploring Operation: 64/32=2, Resulting Numbers: [11, 2]
Generated Node #3: [11, 2] from Operation: 64/32=2
Current State: 13:[11, 2], Operations: ['5+27=32', '64/32=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[5, 64, 27, 11], Operations: []
Exploring Operation: 64-5=59, Resulting Numbers: [27, 11, 59]
Generated Node #0,0: 13:[27, 11, 59] Operation: 64-5=59
Exploring Operation: 64-27=37, Resulting Numbers: [5, 11, 37]
Generated Node #0,1: 13:[5, 11, 37] Operation: 64-27=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[5, 11, 37], Operations: ['64-27=37']
Exploring Operation: 37-11=26, Resulting Numbers: [5, 26]
Generated Node #0,1,0: 13:[5, 26] Operation: 37-11=26
Exploring Operation: 37-5=32, Resulting Numbers: [11, 32]
Generated Node #0,1,1: 13:[11, 32] Operation: 37-5=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[5, 26], Operations: ['64-27=37', '37-11=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[11, 32], Operations: ['64-27=37', '37-5=32']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[27, 11, 59], Operations: ['64-5=59']
Exploring Operation: 27-11=16, Resulting Numbers: [59, 16]
Generated Node #0,0,0: 13:[59, 16] Operation: 27-11=16
Exploring Operation: 59-27=32, Resulting Numbers: [11, 32]
Generated Node #0,0,1: 13:[11, 32] Operation: 59-27=32
Moving to Node #0,0,1
Current State: 13:[11, 32], Operations: ['64-5=59', '59-27=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,13 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[59, 16], Operations: ['64-5=59', '27-11=16']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,13 unequal: No Solution
Exploring Operation: 59+16=75, Resulting Numbers: [75]
75,13 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 |
[
2,
62,
80,
24
] | 90 | [
"80-24=56",
"56/2=28",
"62+28=90"
] | Current State: 90:[2, 62, 80, 24], Operations: []
Exploring Operation: 80-24=56, Resulting Numbers: [2, 62, 56]
Generated Node #2: [2, 62, 56] from Operation: 80-24=56
Current State: 90:[2, 62, 56], Operations: ['80-24=56']
Exploring Operation: 56/2=28, Resulting Numbers: [62, 28]
Generated Node #3: [62, 28] from Operation: 56/2=28
Current State: 90:[62, 28], Operations: ['80-24=56', '56/2=28']
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[2, 62, 80, 24], Operations: []
Exploring Operation: 62+24=86, Resulting Numbers: [2, 80, 86]
Generated Node #0,0: 90:[2, 80, 86] Operation: 62+24=86
Exploring Operation: 80-62=18, Resulting Numbers: [2, 24, 18]
Generated Node #0,1: 90:[2, 24, 18] Operation: 80-62=18
Exploring Operation: 62/2=31, Resulting Numbers: [80, 24, 31]
Generated Node #0,2: 90:[80, 24, 31] Operation: 62/2=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[2, 24, 18], Operations: ['80-62=18']
Exploring Operation: 24/2=12, Resulting Numbers: [18, 12]
Generated Node #0,1,0: 90:[18, 12] Operation: 24/2=12
Exploring Operation: 24-18=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 90:[2, 6] Operation: 24-18=6
Exploring Operation: 2*24=48, Resulting Numbers: [18, 48]
Generated Node #0,1,2: 90:[18, 48] Operation: 2*24=48
Moving to Node #0,1,1
Current State: 90:[2, 6], Operations: ['80-62=18', '24-18=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[18, 12], Operations: ['80-62=18', '24/2=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[18, 48], Operations: ['80-62=18', '2*24=48']
Exploring Operation: 18*48=864, Resulting Numbers: [864]
864,90 unequal: No Solution
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[2, 80, 86], Operations: ['62+24=86']
Exploring Operation: 2+80=82, Resulting Numbers: [86, 82]
Generated Node #0,0,0: 90:[86, 82] Operation: 2+80=82
Exploring Operation: 86-80=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 90:[2, 6] Operation: 86-80=6
Exploring Operation: 80/2=40, Resulting Numbers: [86, 40]
Generated Node #0,0,2: 90:[86, 40] Operation: 80/2=40
Moving to Node #0,0,1
Current State: 90:[2, 6], Operations: ['62+24=86', '86-80=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[86, 40], Operations: ['62+24=86', '80/2=40']
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,90 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[86, 82], Operations: ['62+24=86', '2+80=82']
Exploring Operation: 86*82=7052, Resulting Numbers: [7052]
7052,90 unequal: No Solution
Exploring Operation: 86+82=168, Resulting Numbers: [168]
168,90 unequal: No Solution
Exploring Operation: 86-82=4, Resulting Numbers: [4]
4,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[80, 24, 31], Operations: ['62/2=31']
Exploring Operation: 80-31=49, Resulting Numbers: [24, 49]
Generated Node #0,2,0: 90:[24, 49] Operation: 80-31=49
Exploring Operation: 31-24=7, Resulting Numbers: [80, 7]
Generated Node #0,2,1: 90:[80, 7] Operation: 31-24=7
Exploring Operation: 80-24=56, Resulting Numbers: [31, 56]
Generated Node #0,2,2: 90:[31, 56] Operation: 80-24=56
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[24, 49], Operations: ['62/2=31', '80-31=49']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,90 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[80, 7], Operations: ['62/2=31', '31-24=7']
Exploring Operation: 80*7=560, Resulting Numbers: [560]
560,90 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[31, 56], Operations: ['62/2=31', '80-24=56']
Exploring Operation: 31*56=1736, Resulting Numbers: [1736]
1736,90 unequal: No Solution
Exploring Operation: 31+56=87, Resulting Numbers: [87]
87,90 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
89,
73,
91,
29
] | 46 | [
"89-73=16",
"91-29=62",
"62-16=46"
] | Current State: 46:[89, 73, 91, 29], Operations: []
Exploring Operation: 89-73=16, Resulting Numbers: [91, 29, 16]
Generated Node #2: [91, 29, 16] from Operation: 89-73=16
Current State: 46:[91, 29, 16], Operations: ['89-73=16']
Exploring Operation: 91-29=62, Resulting Numbers: [16, 62]
Generated Node #3: [16, 62] from Operation: 91-29=62
Current State: 46:[16, 62], Operations: ['89-73=16', '91-29=62']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[89, 73, 91, 29], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [73, 29, 2]
Generated Node #0,0: 46:[73, 29, 2] Operation: 91-89=2
Exploring Operation: 91-73=18, Resulting Numbers: [89, 29, 18]
Generated Node #0,1: 46:[89, 29, 18] Operation: 91-73=18
Exploring Operation: 89-73=16, Resulting Numbers: [91, 29, 16]
Generated Node #0,2: 46:[91, 29, 16] Operation: 89-73=16
Moving to Node #0,0
Current State: 46:[73, 29, 2], Operations: ['91-89=2']
Exploring Operation: 73-29=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 46:[2, 44] Operation: 73-29=44
Exploring Operation: 73-2=71, Resulting Numbers: [29, 71]
Generated Node #0,0,1: 46:[29, 71] Operation: 73-2=71
Exploring Operation: 29-2=27, Resulting Numbers: [73, 27]
Generated Node #0,0,2: 46:[73, 27] Operation: 29-2=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[2, 44], Operations: ['91-89=2', '73-29=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[89, 73, 91, 29], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [73, 29, 2]
Generated Node #0,0: 46:[73, 29, 2] Operation: 91-89=2
Moving to Node #0,0
Current State: 46:[73, 29, 2], Operations: ['91-89=2']
Exploring Operation: 73-29=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 46:[2, 44] Operation: 73-29=44
Moving to Node #0,0,0
Current State: 46:[2, 44], Operations: ['91-89=2', '73-29=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
27,
22,
48,
13
] | 12 | [
"27+22=49",
"48+13=61",
"61-49=12"
] | Current State: 12:[27, 22, 48, 13], Operations: []
Exploring Operation: 27+22=49, Resulting Numbers: [48, 13, 49]
Generated Node #2: [48, 13, 49] from Operation: 27+22=49
Current State: 12:[48, 13, 49], Operations: ['27+22=49']
Exploring Operation: 48+13=61, Resulting Numbers: [49, 61]
Generated Node #3: [49, 61] from Operation: 48+13=61
Current State: 12:[49, 61], Operations: ['27+22=49', '48+13=61']
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[27, 22, 48, 13], Operations: []
Exploring Operation: 27-22=5, Resulting Numbers: [48, 13, 5]
Generated Node #0,0: 12:[48, 13, 5] Operation: 27-22=5
Exploring Operation: 48-27=21, Resulting Numbers: [22, 13, 21]
Generated Node #0,1: 12:[22, 13, 21] Operation: 48-27=21
Exploring Operation: 27-13=14, Resulting Numbers: [22, 48, 14]
Generated Node #0,2: 12:[22, 48, 14] Operation: 27-13=14
Exploring Operation: 48-22=26, Resulting Numbers: [27, 13, 26]
Generated Node #0,3: 12:[27, 13, 26] Operation: 48-22=26
Exploring Operation: 48-13=35, Resulting Numbers: [27, 22, 35]
Generated Node #0,4: 12:[27, 22, 35] Operation: 48-13=35
Moving to Node #0,1
Current State: 12:[22, 13, 21], Operations: ['48-27=21']
Exploring Operation: 22+21=43, Resulting Numbers: [13, 43]
Generated Node #0,1,0: 12:[13, 43] Operation: 22+21=43
Exploring Operation: 21-13=8, Resulting Numbers: [22, 8]
Generated Node #0,1,1: 12:[22, 8] Operation: 21-13=8
Exploring Operation: 22-13=9, Resulting Numbers: [21, 9]
Generated Node #0,1,2: 12:[21, 9] Operation: 22-13=9
Exploring Operation: 22-21=1, Resulting Numbers: [13, 1]
Generated Node #0,1,3: 12:[13, 1] Operation: 22-21=1
Exploring Operation: 22+13=35, Resulting Numbers: [21, 35]
Generated Node #0,1,4: 12:[21, 35] Operation: 22+13=35
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[13, 1], Operations: ['48-27=21', '22-21=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[27, 22, 48, 13], Operations: []
Exploring Operation: 48-27=21, Resulting Numbers: [22, 13, 21]
Generated Node #0,1: 12:[22, 13, 21] Operation: 48-27=21
Moving to Node #0,1
Current State: 12:[22, 13, 21], Operations: ['48-27=21']
Exploring Operation: 22-21=1, Resulting Numbers: [13, 1]
Generated Node #0,1,3: 12:[13, 1] Operation: 22-21=1
Moving to Node #0,1,3
Current State: 12:[13, 1], Operations: ['48-27=21', '22-21=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
12,
2,
92,
47
] | 31 | [
"12+2=14",
"92-47=45",
"45-14=31"
] | Current State: 31:[12, 2, 92, 47], Operations: []
Exploring Operation: 12+2=14, Resulting Numbers: [92, 47, 14]
Generated Node #2: [92, 47, 14] from Operation: 12+2=14
Current State: 31:[92, 47, 14], Operations: ['12+2=14']
Exploring Operation: 92-47=45, Resulting Numbers: [14, 45]
Generated Node #3: [14, 45] from Operation: 92-47=45
Current State: 31:[14, 45], Operations: ['12+2=14', '92-47=45']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[12, 2, 92, 47], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [12, 47, 46]
Generated Node #0,0: 31:[12, 47, 46] Operation: 92/2=46
Exploring Operation: 92-47=45, Resulting Numbers: [12, 2, 45]
Generated Node #0,1: 31:[12, 2, 45] Operation: 92-47=45
Exploring Operation: 12*2=24, Resulting Numbers: [92, 47, 24]
Generated Node #0,2: 31:[92, 47, 24] Operation: 12*2=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[12, 47, 46], Operations: ['92/2=46']
Exploring Operation: 46-12=34, Resulting Numbers: [47, 34]
Generated Node #0,0,0: 31:[47, 34] Operation: 46-12=34
Exploring Operation: 12+47=59, Resulting Numbers: [46, 59]
Generated Node #0,0,1: 31:[46, 59] Operation: 12+47=59
Exploring Operation: 47-12=35, Resulting Numbers: [46, 35]
Generated Node #0,0,2: 31:[46, 35] Operation: 47-12=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[47, 34], Operations: ['92/2=46', '46-12=34']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Exploring Operation: 47*34=1598, Resulting Numbers: [1598]
1598,31 unequal: No Solution
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,31 unequal: No Solution
No 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: 31:[46, 35], Operations: ['92/2=46', '47-12=35']
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,31 unequal: No Solution
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,31 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,31 unequal: No Solution
No 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: 31:[46, 59], Operations: ['92/2=46', '12+47=59']
Exploring Operation: 46*59=2714, Resulting Numbers: [2714]
2714,31 unequal: No Solution
Exploring Operation: 46+59=105, Resulting Numbers: [105]
105,31 unequal: No Solution
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,31 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: 31:[12, 2, 45], Operations: ['92-47=45']
Exploring Operation: 12*2=24, Resulting Numbers: [45, 24]
Generated Node #0,1,0: 31:[45, 24] Operation: 12*2=24
Exploring Operation: 45-12=33, Resulting Numbers: [2, 33]
Generated Node #0,1,1: 31:[2, 33] Operation: 45-12=33
Exploring Operation: 12+2=14, Resulting Numbers: [45, 14]
Generated Node #0,1,2: 31:[45, 14] Operation: 12+2=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[45, 24], Operations: ['92-47=45', '12*2=24']
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,31 unequal: No Solution
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,31 unequal: No Solution
No 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: 31:[2, 33], Operations: ['92-47=45', '45-12=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[12, 2, 92, 47], Operations: []
Exploring Operation: 92-47=45, Resulting Numbers: [12, 2, 45]
Generated Node #0,1: 31:[12, 2, 45] Operation: 92-47=45
Moving to Node #0,1
Current State: 31:[12, 2, 45], Operations: ['92-47=45']
Exploring Operation: 45-12=33, Resulting Numbers: [2, 33]
Generated Node #0,1,1: 31:[2, 33] Operation: 45-12=33
Moving to Node #0,1,1
Current State: 31:[2, 33], Operations: ['92-47=45', '45-12=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
55,
31,
8,
47
] | 44 | [
"55-31=24",
"24/8=3",
"47-3=44"
] | Current State: 44:[55, 31, 8, 47], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [8, 47, 24]
Generated Node #2: [8, 47, 24] from Operation: 55-31=24
Current State: 44:[8, 47, 24], Operations: ['55-31=24']
Exploring Operation: 24/8=3, Resulting Numbers: [47, 3]
Generated Node #3: [47, 3] from Operation: 24/8=3
Current State: 44:[47, 3], Operations: ['55-31=24', '24/8=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[55, 31, 8, 47], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [8, 47, 24]
Generated Node #0,0: 44:[8, 47, 24] Operation: 55-31=24
Moving to Node #0,0
Current State: 44:[8, 47, 24], Operations: ['55-31=24']
Exploring Operation: 24/8=3, Resulting Numbers: [47, 3]
Generated Node #0,0,0: 44:[47, 3] Operation: 24/8=3
Moving to Node #0,0,0
Current State: 44:[47, 3], Operations: ['55-31=24', '24/8=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[55, 31, 8, 47], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [8, 47, 24]
Generated Node #0,0: 44:[8, 47, 24] Operation: 55-31=24
Moving to Node #0,0
Current State: 44:[8, 47, 24], Operations: ['55-31=24']
Exploring Operation: 24/8=3, Resulting Numbers: [47, 3]
Generated Node #0,0,0: 44:[47, 3] Operation: 24/8=3
Moving to Node #0,0,0
Current State: 44:[47, 3], Operations: ['55-31=24', '24/8=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
93,
34,
9,
43
] | 13 | [
"93+43=136",
"136/34=4",
"9+4=13"
] | Current State: 13:[93, 34, 9, 43], Operations: []
Exploring Operation: 93+43=136, Resulting Numbers: [34, 9, 136]
Generated Node #2: [34, 9, 136] from Operation: 93+43=136
Current State: 13:[34, 9, 136], Operations: ['93+43=136']
Exploring Operation: 136/34=4, Resulting Numbers: [9, 4]
Generated Node #3: [9, 4] from Operation: 136/34=4
Current State: 13:[9, 4], Operations: ['93+43=136', '136/34=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[93, 34, 9, 43], Operations: []
Exploring Operation: 93-9=84, Resulting Numbers: [34, 43, 84]
Generated Node #0,0: 13:[34, 43, 84] Operation: 93-9=84
Exploring Operation: 93-43=50, Resulting Numbers: [34, 9, 50]
Generated Node #0,1: 13:[34, 9, 50] Operation: 93-43=50
Exploring Operation: 93-34=59, Resulting Numbers: [9, 43, 59]
Generated Node #0,2: 13:[9, 43, 59] Operation: 93-34=59
Exploring Operation: 43-34=9, Resulting Numbers: [93, 9, 9]
Generated Node #0,3: 13:[93, 9, 9] Operation: 43-34=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[34, 9, 50], Operations: ['93-43=50']
Exploring Operation: 34-9=25, Resulting Numbers: [50, 25]
Generated Node #0,1,0: 13:[50, 25] Operation: 34-9=25
Exploring Operation: 50-9=41, Resulting Numbers: [34, 41]
Generated Node #0,1,1: 13:[34, 41] Operation: 50-9=41
Exploring Operation: 34+9=43, Resulting Numbers: [50, 43]
Generated Node #0,1,2: 13:[50, 43] Operation: 34+9=43
Exploring Operation: 50-34=16, Resulting Numbers: [9, 16]
Generated Node #0,1,3: 13:[9, 16] Operation: 50-34=16
Moving to Node #0,1,3
Current State: 13:[9, 16], Operations: ['93-43=50', '50-34=16']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[34, 41], Operations: ['93-43=50', '50-9=41']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,13 unequal: No Solution
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[50, 25], Operations: ['93-43=50', '34-9=25']
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 50*25=1250, Resulting Numbers: [1250]
1250,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[50, 43], Operations: ['93-43=50', '34+9=43']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 50+43=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 50*43=2150, Resulting Numbers: [2150]
2150,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[9, 43, 59], Operations: ['93-34=59']
Exploring Operation: 9+43=52, Resulting Numbers: [59, 52]
Generated Node #0,2,0: 13:[59, 52] Operation: 9+43=52
Exploring Operation: 59-43=16, Resulting Numbers: [9, 16]
Generated Node #0,2,1: 13:[9, 16] Operation: 59-43=16
Exploring Operation: 59-9=50, Resulting Numbers: [43, 50]
Generated Node #0,2,2: 13:[43, 50] Operation: 59-9=50
Exploring Operation: 43-9=34, Resulting Numbers: [59, 34]
Generated Node #0,2,3: 13:[59, 34] Operation: 43-9=34
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[9, 16], Operations: ['93-34=59', '59-43=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,13 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[43, 50], Operations: ['93-34=59', '59-9=50']
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,13 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 13:[59, 34], Operations: ['93-34=59', '43-9=34']
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,13 unequal: No Solution
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[59, 52], Operations: ['93-34=59', '9+43=52']
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 59*52=3068, Resulting Numbers: [3068]
3068,13 unequal: No Solution
Exploring Operation: 59+52=111, Resulting Numbers: [111]
111,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[93, 9, 9], Operations: ['43-34=9']
Exploring Operation: 9+9=18, Resulting Numbers: [93, 18]
Generated Node #0,3,0: 13:[93, 18] Operation: 9+9=18
Exploring Operation: 9/9=1, Resulting Numbers: [93, 1]
Generated Node #0,3,1: 13:[93, 1] Operation: 9/9=1
Exploring Operation: 93-9=84, Resulting Numbers: [9, 84]
Generated Node #0,3,2: 13:[9, 84] Operation: 93-9=84
Exploring Operation: 93-9=84, Resulting Numbers: [9, 84]
Generated Node #0,3,3: 13:[9, 84] Operation: 93-9=84
Moving to Node #0,3,2
Current State: 13:[9, 84], Operations: ['43-34=9', '93-9=84']
Exploring Operation: 9+84=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 9*84=756, Resulting Numbers: [756]
756,13 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[9, 84], Operations: ['43-34=9', '93-9=84']
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Exploring Operation: 9+84=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 9*84=756, Resulting Numbers: [756]
756,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[93, 18], Operations: ['43-34=9', '9+9=18']
Exploring Operation: 93+18=111, Resulting Numbers: [111]
111,13 unequal: No Solution
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Exploring Operation: 93*18=1674, Resulting Numbers: [1674]
1674,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[93, 1], Operations: ['43-34=9', '9/9=1']
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[34, 43, 84], Operations: ['93-9=84']
Exploring Operation: 84-43=41, Resulting Numbers: [34, 41]
Generated Node #0,0,0: 13:[34, 41] Operation: 84-43=41
Exploring Operation: 34+43=77, Resulting Numbers: [84, 77]
Generated Node #0,0,1: 13:[84, 77] Operation: 34+43=77
Exploring Operation: 43-34=9, Resulting Numbers: [84, 9]
Generated Node #0,0,2: 13:[84, 9] Operation: 43-34=9
Exploring Operation: 84-34=50, Resulting Numbers: [43, 50]
Generated Node #0,0,3: 13:[43, 50] Operation: 84-34=50
Moving to Node #0,0,0
Current State: 13:[34, 41], Operations: ['93-9=84', '84-43=41']
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,13 unequal: No Solution
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[43, 50], Operations: ['93-9=84', '84-34=50']
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,13 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[84, 9], Operations: ['93-9=84', '43-34=9']
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,13 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[84, 77], Operations: ['93-9=84', '34+43=77']
Exploring Operation: 84*77=6468, Resulting Numbers: [6468]
6468,13 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 84+77=161, Resulting Numbers: [161]
161,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
93,
94,
22,
69
] | 95 | [
"69-22=47",
"94/47=2",
"93+2=95"
] | Current State: 95:[93, 94, 22, 69], Operations: []
Exploring Operation: 69-22=47, Resulting Numbers: [93, 94, 47]
Generated Node #2: [93, 94, 47] from Operation: 69-22=47
Current State: 95:[93, 94, 47], Operations: ['69-22=47']
Exploring Operation: 94/47=2, Resulting Numbers: [93, 2]
Generated Node #3: [93, 2] from Operation: 94/47=2
Current State: 95:[93, 2], Operations: ['69-22=47', '94/47=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[93, 94, 22, 69], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [94, 22, 24]
Generated Node #0,0: 95:[94, 22, 24] Operation: 93-69=24
Exploring Operation: 22+69=91, Resulting Numbers: [93, 94, 91]
Generated Node #0,1: 95:[93, 94, 91] Operation: 22+69=91
Exploring Operation: 94-69=25, Resulting Numbers: [93, 22, 25]
Generated Node #0,2: 95:[93, 22, 25] Operation: 94-69=25
Moving to Node #0,1
Current State: 95:[93, 94, 91], Operations: ['22+69=91']
Exploring Operation: 93-91=2, Resulting Numbers: [94, 2]
Generated Node #0,1,0: 95:[94, 2] Operation: 93-91=2
Exploring Operation: 94-93=1, Resulting Numbers: [91, 1]
Generated Node #0,1,1: 95:[91, 1] Operation: 94-93=1
Exploring Operation: 94-91=3, Resulting Numbers: [93, 3]
Generated Node #0,1,2: 95:[93, 3] Operation: 94-91=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[94, 2], Operations: ['22+69=91', '93-91=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,95 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[93, 3], Operations: ['22+69=91', '94-91=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[91, 1], Operations: ['22+69=91', '94-93=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,95 unequal: No Solution
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,95 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: 95:[94, 22, 24], Operations: ['93-69=24']
Exploring Operation: 94+22=116, Resulting Numbers: [24, 116]
Generated Node #0,0,0: 95:[24, 116] Operation: 94+22=116
Exploring Operation: 24-22=2, Resulting Numbers: [94, 2]
Generated Node #0,0,1: 95:[94, 2] Operation: 24-22=2
Exploring Operation: 94+24=118, Resulting Numbers: [22, 118]
Generated Node #0,0,2: 95:[22, 118] Operation: 94+24=118
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[94, 2], Operations: ['93-69=24', '24-22=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,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:[24, 116], Operations: ['93-69=24', '94+22=116']
Exploring Operation: 24+116=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Exploring Operation: 24*116=2784, Resulting Numbers: [2784]
2784,95 unequal: No Solution
Exploring Operation: 116-24=92, Resulting Numbers: [92]
92,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[22, 118], Operations: ['93-69=24', '94+24=118']
Exploring Operation: 22+118=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Exploring Operation: 22*118=2596, Resulting Numbers: [2596]
2596,95 unequal: No Solution
Exploring Operation: 118-22=96, Resulting Numbers: [96]
96,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 95:[93, 22, 25], Operations: ['94-69=25']
Exploring Operation: 93+22=115, Resulting Numbers: [25, 115]
Generated Node #0,2,0: 95:[25, 115] Operation: 93+22=115
Exploring Operation: 25-22=3, Resulting Numbers: [93, 3]
Generated Node #0,2,1: 95:[93, 3] Operation: 25-22=3
Exploring Operation: 93+25=118, Resulting Numbers: [22, 118]
Generated Node #0,2,2: 95:[22, 118] Operation: 93+25=118
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[93, 3], Operations: ['94-69=25', '25-22=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[25, 115], Operations: ['94-69=25', '93+22=115']
Exploring Operation: 25+115=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Exploring Operation: 25*115=2875, Resulting Numbers: [2875]
2875,95 unequal: No Solution
Exploring Operation: 115-25=90, Resulting Numbers: [90]
90,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[22, 118], Operations: ['94-69=25', '93+25=118']
Exploring Operation: 22*118=2596, Resulting Numbers: [2596]
2596,95 unequal: No Solution
Exploring Operation: 118-22=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 22+118=140, Resulting Numbers: [140]
140,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
30,
37,
99,
38
] | 17 | [
"38-30=8",
"37+99=136",
"136/8=17"
] | Current State: 17:[30, 37, 99, 38], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [37, 99, 8]
Generated Node #2: [37, 99, 8] from Operation: 38-30=8
Current State: 17:[37, 99, 8], Operations: ['38-30=8']
Exploring Operation: 37+99=136, Resulting Numbers: [8, 136]
Generated Node #3: [8, 136] from Operation: 37+99=136
Current State: 17:[8, 136], Operations: ['38-30=8', '37+99=136']
Exploring Operation: 136/8=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[30, 37, 99, 38], Operations: []
Exploring Operation: 99-37=62, Resulting Numbers: [30, 38, 62]
Generated Node #0,0: 17:[30, 38, 62] Operation: 99-37=62
Exploring Operation: 99-38=61, Resulting Numbers: [30, 37, 61]
Generated Node #0,1: 17:[30, 37, 61] Operation: 99-38=61
Moving to Node #0,1
Current State: 17:[30, 37, 61], Operations: ['99-38=61']
Exploring Operation: 61-37=24, Resulting Numbers: [30, 24]
Generated Node #0,1,0: 17:[30, 24] Operation: 61-37=24
Exploring Operation: 61-30=31, Resulting Numbers: [37, 31]
Generated Node #0,1,1: 17:[37, 31] Operation: 61-30=31
Moving to Node #0,0
Current State: 17:[30, 38, 62], Operations: ['99-37=62']
Exploring Operation: 62-38=24, Resulting Numbers: [30, 24]
Generated Node #0,0,0: 17:[30, 24] Operation: 62-38=24
Exploring Operation: 62-30=32, Resulting Numbers: [38, 32]
Generated Node #0,0,1: 17:[38, 32] Operation: 62-30=32
Moving to Node #0,1,0
Current State: 17:[30, 24], Operations: ['99-38=61', '61-37=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[30, 24], Operations: ['99-37=62', '62-38=24']
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[37, 31], Operations: ['99-38=61', '61-30=31']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[38, 32], Operations: ['99-37=62', '62-30=32']
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,17 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,17 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
5,
11,
71
] | 81 | [
"71-11=60",
"60/5=12",
"69+12=81"
] | Current State: 81:[69, 5, 11, 71], Operations: []
Exploring Operation: 71-11=60, Resulting Numbers: [69, 5, 60]
Generated Node #2: [69, 5, 60] from Operation: 71-11=60
Current State: 81:[69, 5, 60], Operations: ['71-11=60']
Exploring Operation: 60/5=12, Resulting Numbers: [69, 12]
Generated Node #3: [69, 12] from Operation: 60/5=12
Current State: 81:[69, 12], Operations: ['71-11=60', '60/5=12']
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[69, 5, 11, 71], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [5, 11, 2]
Generated Node #0,0: 81:[5, 11, 2] Operation: 71-69=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[5, 11, 2], Operations: ['71-69=2']
Exploring Operation: 5-2=3, Resulting Numbers: [11, 3]
Generated Node #0,0,0: 81:[11, 3] Operation: 5-2=3
Moving to Node #0,0,0
Current State: 81:[11, 3], Operations: ['71-69=2', '5-2=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
46,
16,
29,
19
] | 40 | [
"46-16=30",
"29-19=10",
"30+10=40"
] | Current State: 40:[46, 16, 29, 19], Operations: []
Exploring Operation: 46-16=30, Resulting Numbers: [29, 19, 30]
Generated Node #2: [29, 19, 30] from Operation: 46-16=30
Current State: 40:[29, 19, 30], Operations: ['46-16=30']
Exploring Operation: 29-19=10, Resulting Numbers: [30, 10]
Generated Node #3: [30, 10] from Operation: 29-19=10
Current State: 40:[30, 10], Operations: ['46-16=30', '29-19=10']
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[46, 16, 29, 19], Operations: []
Exploring Operation: 29-16=13, Resulting Numbers: [46, 19, 13]
Generated Node #0,0: 40:[46, 19, 13] Operation: 29-16=13
Exploring Operation: 46-29=17, Resulting Numbers: [16, 19, 17]
Generated Node #0,1: 40:[16, 19, 17] Operation: 46-29=17
Moving to Node #0,1
Current State: 40:[16, 19, 17], Operations: ['46-29=17']
Exploring Operation: 19-16=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 40:[17, 3] Operation: 19-16=3
Exploring Operation: 17-16=1, Resulting Numbers: [19, 1]
Generated Node #0,1,1: 40:[19, 1] Operation: 17-16=1
Moving to Node #0,0
Current State: 40:[46, 19, 13], Operations: ['29-16=13']
Exploring Operation: 19-13=6, Resulting Numbers: [46, 6]
Generated Node #0,0,0: 40:[46, 6] Operation: 19-13=6
Exploring Operation: 46-13=33, Resulting Numbers: [19, 33]
Generated Node #0,0,1: 40:[19, 33] Operation: 46-13=33
Moving to Node #0,1,1
Current State: 40:[19, 1], Operations: ['46-29=17', '17-16=1']
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[17, 3], Operations: ['46-29=17', '19-16=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[46, 6], Operations: ['29-16=13', '19-13=6']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[46, 16, 29, 19], Operations: []
Exploring Operation: 29-16=13, Resulting Numbers: [46, 19, 13]
Generated Node #0,0: 40:[46, 19, 13] Operation: 29-16=13
Moving to Node #0,0
Current State: 40:[46, 19, 13], Operations: ['29-16=13']
Exploring Operation: 19-13=6, Resulting Numbers: [46, 6]
Generated Node #0,0,0: 40:[46, 6] Operation: 19-13=6
Moving to Node #0,0,0
Current State: 40:[46, 6], Operations: ['29-16=13', '19-13=6']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
50,
90,
5,
30
] | 39 | [
"50/5=10",
"90/10=9",
"30+9=39"
] | Current State: 39:[50, 90, 5, 30], Operations: []
Exploring Operation: 50/5=10, Resulting Numbers: [90, 30, 10]
Generated Node #2: [90, 30, 10] from Operation: 50/5=10
Current State: 39:[90, 30, 10], Operations: ['50/5=10']
Exploring Operation: 90/10=9, Resulting Numbers: [30, 9]
Generated Node #3: [30, 9] from Operation: 90/10=9
Current State: 39:[30, 9], Operations: ['50/5=10', '90/10=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[50, 90, 5, 30], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [50, 5, 3]
Generated Node #0,0: 39:[50, 5, 3] Operation: 90/30=3
Exploring Operation: 90-50=40, Resulting Numbers: [5, 30, 40]
Generated Node #0,1: 39:[5, 30, 40] Operation: 90-50=40
Moving to Node #0,1
Current State: 39:[5, 30, 40], Operations: ['90-50=40']
Exploring Operation: 5+30=35, Resulting Numbers: [40, 35]
Generated Node #0,1,0: 39:[40, 35] Operation: 5+30=35
Exploring Operation: 30/5=6, Resulting Numbers: [40, 6]
Generated Node #0,1,1: 39:[40, 6] Operation: 30/5=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[40, 6], Operations: ['90-50=40', '30/5=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[40, 35], Operations: ['90-50=40', '5+30=35']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 40+35=75, Resulting Numbers: [75]
75,39 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: 39:[50, 5, 3], Operations: ['90/30=3']
Exploring Operation: 50/5=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 39:[3, 10] Operation: 50/5=10
Exploring Operation: 50-5=45, Resulting Numbers: [3, 45]
Generated Node #0,0,1: 39:[3, 45] Operation: 50-5=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[3, 10], Operations: ['90/30=3', '50/5=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[3, 45], Operations: ['90/30=3', '50-5=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
75,
81,
56,
45
] | 55 | [
"75+81=156",
"56+45=101",
"156-101=55"
] | Current State: 55:[75, 81, 56, 45], Operations: []
Exploring Operation: 75+81=156, Resulting Numbers: [56, 45, 156]
Generated Node #2: [56, 45, 156] from Operation: 75+81=156
Current State: 55:[56, 45, 156], Operations: ['75+81=156']
Exploring Operation: 56+45=101, Resulting Numbers: [156, 101]
Generated Node #3: [156, 101] from Operation: 56+45=101
Current State: 55:[156, 101], Operations: ['75+81=156', '56+45=101']
Exploring Operation: 156-101=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[75, 81, 56, 45], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [56, 45, 6]
Generated Node #0,0: 55:[56, 45, 6] Operation: 81-75=6
Exploring Operation: 81-45=36, Resulting Numbers: [75, 56, 36]
Generated Node #0,1: 55:[75, 56, 36] Operation: 81-45=36
Exploring Operation: 81-56=25, Resulting Numbers: [75, 45, 25]
Generated Node #0,2: 55:[75, 45, 25] Operation: 81-56=25
Exploring Operation: 75-56=19, Resulting Numbers: [81, 45, 19]
Generated Node #0,3: 55:[81, 45, 19] Operation: 75-56=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[56, 45, 6], Operations: ['81-75=6']
Exploring Operation: 56-45=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 55:[6, 11] Operation: 56-45=11
Exploring Operation: 45+6=51, Resulting Numbers: [56, 51]
Generated Node #0,0,1: 55:[56, 51] Operation: 45+6=51
Exploring Operation: 56-6=50, Resulting Numbers: [45, 50]
Generated Node #0,0,2: 55:[45, 50] Operation: 56-6=50
Exploring Operation: 56+6=62, Resulting Numbers: [45, 62]
Generated Node #0,0,3: 55:[45, 62] Operation: 56+6=62
Moving to Node #0,0,0
Current State: 55:[6, 11], Operations: ['81-75=6', '56-45=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[56, 51], Operations: ['81-75=6', '45+6=51']
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,55 unequal: No Solution
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,55 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[45, 50], Operations: ['81-75=6', '56-6=50']
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,55 unequal: No Solution
Exploring Operation: 45*50=2250, Resulting Numbers: [2250]
2250,55 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[45, 62], Operations: ['81-75=6', '56+6=62']
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,55 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[75, 56, 36], Operations: ['81-45=36']
Exploring Operation: 75-56=19, Resulting Numbers: [36, 19]
Generated Node #0,1,0: 55:[36, 19] Operation: 75-56=19
Exploring Operation: 56-36=20, Resulting Numbers: [75, 20]
Generated Node #0,1,1: 55:[75, 20] Operation: 56-36=20
Exploring Operation: 75-36=39, Resulting Numbers: [56, 39]
Generated Node #0,1,2: 55:[56, 39] Operation: 75-36=39
Exploring Operation: 75+36=111, Resulting Numbers: [56, 111]
Generated Node #0,1,3: 55:[56, 111] Operation: 75+36=111
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 55:[56, 39], Operations: ['81-45=36', '75-36=39']
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,55 unequal: No Solution
Exploring Operation: 56*39=2184, Resulting Numbers: [2184]
2184,55 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[36, 19], Operations: ['81-45=36', '75-56=19']
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[75, 81, 56, 45], Operations: []
Exploring Operation: 81-45=36, Resulting Numbers: [75, 56, 36]
Generated Node #0,1: 55:[75, 56, 36] Operation: 81-45=36
Moving to Node #0,1
Current State: 55:[75, 56, 36], Operations: ['81-45=36']
Exploring Operation: 75-56=19, Resulting Numbers: [36, 19]
Generated Node #0,1,0: 55:[36, 19] Operation: 75-56=19
Moving to Node #0,1,0
Current State: 55:[36, 19], Operations: ['81-45=36', '75-56=19']
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
25,
22,
40,
4
] | 55 | [
"25*22=550",
"40/4=10",
"550/10=55"
] | Current State: 55:[25, 22, 40, 4], Operations: []
Exploring Operation: 25*22=550, Resulting Numbers: [40, 4, 550]
Generated Node #2: [40, 4, 550] from Operation: 25*22=550
Current State: 55:[40, 4, 550], Operations: ['25*22=550']
Exploring Operation: 40/4=10, Resulting Numbers: [550, 10]
Generated Node #3: [550, 10] from Operation: 40/4=10
Current State: 55:[550, 10], Operations: ['25*22=550', '40/4=10']
Exploring Operation: 550/10=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[25, 22, 40, 4], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [40, 4, 3]
Generated Node #0,0: 55:[40, 4, 3] Operation: 25-22=3
Exploring Operation: 40-25=15, Resulting Numbers: [22, 4, 15]
Generated Node #0,1: 55:[22, 4, 15] Operation: 40-25=15
Exploring Operation: 25+40=65, Resulting Numbers: [22, 4, 65]
Generated Node #0,2: 55:[22, 4, 65] Operation: 25+40=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[22, 4, 15], Operations: ['40-25=15']
Exploring Operation: 22-4=18, Resulting Numbers: [15, 18]
Generated Node #0,1,0: 55:[15, 18] Operation: 22-4=18
Exploring Operation: 22-15=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 55:[4, 7] Operation: 22-15=7
Exploring Operation: 15-4=11, Resulting Numbers: [22, 11]
Generated Node #0,1,2: 55:[22, 11] Operation: 15-4=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[4, 7], Operations: ['40-25=15', '22-15=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[15, 18], Operations: ['40-25=15', '22-4=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,55 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 55:[22, 11], Operations: ['40-25=15', '15-4=11']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[40, 4, 3], Operations: ['25-22=3']
Exploring Operation: 40+3=43, Resulting Numbers: [4, 43]
Generated Node #0,0,0: 55:[4, 43] Operation: 40+3=43
Exploring Operation: 40/4=10, Resulting Numbers: [3, 10]
Generated Node #0,0,1: 55:[3, 10] Operation: 40/4=10
Exploring Operation: 40+4=44, Resulting Numbers: [3, 44]
Generated Node #0,0,2: 55:[3, 44] Operation: 40+4=44
Moving to Node #0,0,1
Current State: 55:[3, 10], Operations: ['25-22=3', '40/4=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[4, 43], Operations: ['25-22=3', '40+3=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,55 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[3, 44], Operations: ['25-22=3', '40+4=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,55 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,55 unequal: No Solution
No 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: 55:[22, 4, 65], Operations: ['25+40=65']
Exploring Operation: 65-22=43, Resulting Numbers: [4, 43]
Generated Node #0,2,0: 55:[4, 43] Operation: 65-22=43
Exploring Operation: 65-4=61, Resulting Numbers: [22, 61]
Generated Node #0,2,1: 55:[22, 61] Operation: 65-4=61
Exploring Operation: 22-4=18, Resulting Numbers: [65, 18]
Generated Node #0,2,2: 55:[65, 18] Operation: 22-4=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[4, 43], Operations: ['25+40=65', '65-22=43']
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,55 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 55:[22, 61], Operations: ['25+40=65', '65-4=61']
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 22+61=83, Resulting Numbers: [83]
83,55 unequal: No Solution
Exploring Operation: 22*61=1342, Resulting Numbers: [1342]
1342,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 55:[65, 18], Operations: ['25+40=65', '22-4=18']
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,55 unequal: No Solution
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 65*18=1170, Resulting Numbers: [1170]
1170,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
14,
15,
54,
38
] | 16 | [
"15-14=1",
"54-38=16",
"1*16=16"
] | Current State: 16:[14, 15, 54, 38], Operations: []
Exploring Operation: 15-14=1, Resulting Numbers: [54, 38, 1]
Generated Node #2: [54, 38, 1] from Operation: 15-14=1
Current State: 16:[54, 38, 1], Operations: ['15-14=1']
Exploring Operation: 54-38=16, Resulting Numbers: [1, 16]
Generated Node #3: [1, 16] from Operation: 54-38=16
Current State: 16:[1, 16], Operations: ['15-14=1', '54-38=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[14, 15, 54, 38], Operations: []
Exploring Operation: 54-15=39, Resulting Numbers: [14, 38, 39]
Generated Node #0,0: 16:[14, 38, 39] Operation: 54-15=39
Exploring Operation: 38-14=24, Resulting Numbers: [15, 54, 24]
Generated Node #0,1: 16:[15, 54, 24] Operation: 38-14=24
Exploring Operation: 54-38=16, Resulting Numbers: [14, 15, 16]
Generated Node #0,2: 16:[14, 15, 16] Operation: 54-38=16
Exploring Operation: 54-14=40, Resulting Numbers: [15, 38, 40]
Generated Node #0,3: 16:[15, 38, 40] Operation: 54-14=40
Moving to Node #0,2
Current State: 16:[14, 15, 16], Operations: ['54-38=16']
Exploring Operation: 14+15=29, Resulting Numbers: [16, 29]
Generated Node #0,2,0: 16:[16, 29] Operation: 14+15=29
Exploring Operation: 16-15=1, Resulting Numbers: [14, 1]
Generated Node #0,2,1: 16:[14, 1] Operation: 16-15=1
Exploring Operation: 15-14=1, Resulting Numbers: [16, 1]
Generated Node #0,2,2: 16:[16, 1] Operation: 15-14=1
Exploring Operation: 16-14=2, Resulting Numbers: [15, 2]
Generated Node #0,2,3: 16:[15, 2] Operation: 16-14=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[16, 1], Operations: ['54-38=16', '15-14=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[14, 15, 54, 38], Operations: []
Exploring Operation: 54-38=16, Resulting Numbers: [14, 15, 16]
Generated Node #0,2: 16:[14, 15, 16] Operation: 54-38=16
Moving to Node #0,2
Current State: 16:[14, 15, 16], Operations: ['54-38=16']
Exploring Operation: 15-14=1, Resulting Numbers: [16, 1]
Generated Node #0,2,2: 16:[16, 1] Operation: 15-14=1
Moving to Node #0,2,2
Current State: 16:[16, 1], Operations: ['54-38=16', '15-14=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
40,
51,
29,
40
] | 42 | [
"51+29=80",
"80/40=2",
"40+2=42"
] | Current State: 42:[40, 51, 29, 40], Operations: []
Exploring Operation: 51+29=80, Resulting Numbers: [40, 40, 80]
Generated Node #2: [40, 40, 80] from Operation: 51+29=80
Current State: 42:[40, 40, 80], Operations: ['51+29=80']
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,42 equal: Goal Reached
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[40, 51, 29, 40], Operations: []
Exploring Operation: 51-29=22, Resulting Numbers: [40, 40, 22]
Generated Node #0,0: 42:[40, 40, 22] Operation: 51-29=22
Moving to Node #0,0
Current State: 42:[40, 40, 22], Operations: ['51-29=22']
Exploring Operation: 40/40=1, Resulting Numbers: [22, 1]
Generated Node #0,0,0: 42:[22, 1] Operation: 40/40=1
Moving to Node #0,0,0
Current State: 42:[22, 1], Operations: ['51-29=22', '40/40=1']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
59,
44,
41,
20
] | 42 | [
"59+44=103",
"41+20=61",
"103-61=42"
] | Current State: 42:[59, 44, 41, 20], Operations: []
Exploring Operation: 59+44=103, Resulting Numbers: [41, 20, 103]
Generated Node #2: [41, 20, 103] from Operation: 59+44=103
Current State: 42:[41, 20, 103], Operations: ['59+44=103']
Exploring Operation: 41+20=61, Resulting Numbers: [103, 61]
Generated Node #3: [103, 61] from Operation: 41+20=61
Current State: 42:[103, 61], Operations: ['59+44=103', '41+20=61']
Exploring Operation: 103-61=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[59, 44, 41, 20], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [59, 20, 3]
Generated Node #0,0: 42:[59, 20, 3] Operation: 44-41=3
Exploring Operation: 59-44=15, Resulting Numbers: [41, 20, 15]
Generated Node #0,1: 42:[41, 20, 15] Operation: 59-44=15
Exploring Operation: 59-41=18, Resulting Numbers: [44, 20, 18]
Generated Node #0,2: 42:[44, 20, 18] Operation: 59-41=18
Exploring Operation: 59-20=39, Resulting Numbers: [44, 41, 39]
Generated Node #0,3: 42:[44, 41, 39] Operation: 59-20=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[41, 20, 15], Operations: ['59-44=15']
Exploring Operation: 20-15=5, Resulting Numbers: [41, 5]
Generated Node #0,1,0: 42:[41, 5] Operation: 20-15=5
Exploring Operation: 41-20=21, Resulting Numbers: [15, 21]
Generated Node #0,1,1: 42:[15, 21] Operation: 41-20=21
Exploring Operation: 41-15=26, Resulting Numbers: [20, 26]
Generated Node #0,1,2: 42:[20, 26] Operation: 41-15=26
Exploring Operation: 20+15=35, Resulting Numbers: [41, 35]
Generated Node #0,1,3: 42:[41, 35] Operation: 20+15=35
Moving to Node #0,1,1
Current State: 42:[15, 21], Operations: ['59-44=15', '41-20=21']
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[41, 5], Operations: ['59-44=15', '20-15=5']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,42 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[20, 26], Operations: ['59-44=15', '41-15=26']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,42 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[41, 35], Operations: ['59-44=15', '20+15=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[44, 20, 18], Operations: ['59-41=18']
Exploring Operation: 44-18=26, Resulting Numbers: [20, 26]
Generated Node #0,2,0: 42:[20, 26] Operation: 44-18=26
Exploring Operation: 20+18=38, Resulting Numbers: [44, 38]
Generated Node #0,2,1: 42:[44, 38] Operation: 20+18=38
Exploring Operation: 44-20=24, Resulting Numbers: [18, 24]
Generated Node #0,2,2: 42:[18, 24] Operation: 44-20=24
Exploring Operation: 20-18=2, Resulting Numbers: [44, 2]
Generated Node #0,2,3: 42:[44, 2] Operation: 20-18=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 42:[44, 2], Operations: ['59-41=18', '20-18=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,42 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[59, 44, 41, 20], Operations: []
Exploring Operation: 59-41=18, Resulting Numbers: [44, 20, 18]
Generated Node #0,2: 42:[44, 20, 18] Operation: 59-41=18
Moving to Node #0,2
Current State: 42:[44, 20, 18], Operations: ['59-41=18']
Exploring Operation: 20-18=2, Resulting Numbers: [44, 2]
Generated Node #0,2,3: 42:[44, 2] Operation: 20-18=2
Moving to Node #0,2,3
Current State: 42:[44, 2], Operations: ['59-41=18', '20-18=2']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.