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 |
|---|---|---|---|---|---|---|---|---|
[
43,
40,
64,
37
] | 47 | [
"43-40=3",
"37*3=111",
"111-64=47"
] | Current State: 47:[43, 40, 64, 37], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [64, 37, 3]
Generated Node #2: [64, 37, 3] from Operation: 43-40=3
Current State: 47:[64, 37, 3], Operations: ['43-40=3']
Exploring Operation: 37*3=111, Resulting Numbers: [64, 111]
Generated Node #3: [64, 111] from Operation: 37*3=111
Current State: 47:[64, 111], Operations: ['43-40=3', '37*3=111']
Exploring Operation: 111-64=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[43, 40, 64, 37], Operations: []
Exploring Operation: 64-37=27, Resulting Numbers: [43, 40, 27]
Generated Node #0,0: 47:[43, 40, 27] Operation: 64-37=27
Exploring Operation: 64-40=24, Resulting Numbers: [43, 37, 24]
Generated Node #0,1: 47:[43, 37, 24] Operation: 64-40=24
Exploring Operation: 64-43=21, Resulting Numbers: [40, 37, 21]
Generated Node #0,2: 47:[40, 37, 21] Operation: 64-43=21
Moving to Node #0,0
Current State: 47:[43, 40, 27], Operations: ['64-37=27']
Exploring Operation: 43+27=70, Resulting Numbers: [40, 70]
Generated Node #0,0,0: 47:[40, 70] Operation: 43+27=70
Exploring Operation: 40+27=67, Resulting Numbers: [43, 67]
Generated Node #0,0,1: 47:[43, 67] Operation: 40+27=67
Exploring Operation: 43-27=16, Resulting Numbers: [40, 16]
Generated Node #0,0,2: 47:[40, 16] Operation: 43-27=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[43, 67], Operations: ['64-37=27', '40+27=67']
Exploring Operation: 43*67=2881, Resulting Numbers: [2881]
2881,47 unequal: No Solution
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 43+67=110, Resulting Numbers: [110]
110,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:[40, 70], Operations: ['64-37=27', '43+27=70']
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Exploring Operation: 40*70=2800, Resulting Numbers: [2800]
2800,47 unequal: No Solution
Exploring Operation: 40+70=110, Resulting Numbers: [110]
110,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:[40, 16], Operations: ['64-37=27', '43-27=16']
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 40*16=640, Resulting Numbers: [640]
640,47 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 47:[43, 37, 24], Operations: ['64-40=24']
Exploring Operation: 37+24=61, Resulting Numbers: [43, 61]
Generated Node #0,1,0: 47:[43, 61] Operation: 37+24=61
Exploring Operation: 43+24=67, Resulting Numbers: [37, 67]
Generated Node #0,1,1: 47:[37, 67] Operation: 43+24=67
Exploring Operation: 43-24=19, Resulting Numbers: [37, 19]
Generated Node #0,1,2: 47:[37, 19] Operation: 43-24=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[43, 61], Operations: ['64-40=24', '37+24=61']
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,47 unequal: No Solution
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,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:[37, 67], Operations: ['64-40=24', '43+24=67']
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Exploring Operation: 37+67=104, Resulting Numbers: [104]
104,47 unequal: No Solution
Exploring Operation: 37*67=2479, Resulting Numbers: [2479]
2479,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:[37, 19], Operations: ['64-40=24', '43-24=19']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 37*19=703, Resulting Numbers: [703]
703,47 unequal: No Solution
Exploring Operation: 37+19=56, Resulting Numbers: [56]
56,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:[40, 37, 21], Operations: ['64-43=21']
Exploring Operation: 40-21=19, Resulting Numbers: [37, 19]
Generated Node #0,2,0: 47:[37, 19] Operation: 40-21=19
Exploring Operation: 37+21=58, Resulting Numbers: [40, 58]
Generated Node #0,2,1: 47:[40, 58] Operation: 37+21=58
Exploring Operation: 40+21=61, Resulting Numbers: [37, 61]
Generated Node #0,2,2: 47:[37, 61] Operation: 40+21=61
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[40, 58], Operations: ['64-43=21', '37+21=58']
Exploring Operation: 40*58=2320, Resulting Numbers: [2320]
2320,47 unequal: No Solution
Exploring Operation: 40+58=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Exploring Operation: 58-40=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,2,2
Current State: 47:[37, 61], Operations: ['64-43=21', '40+21=61']
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,47 unequal: No Solution
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[37, 19], Operations: ['64-43=21', '40-21=19']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 37*19=703, Resulting Numbers: [703]
703,47 unequal: No Solution
Exploring Operation: 37+19=56, Resulting Numbers: [56]
56,47 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 |
[
61,
40,
6,
2
] | 54 | [
"61-40=21",
"6+21=27",
"2*27=54"
] | Current State: 54:[61, 40, 6, 2], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [6, 2, 21]
Generated Node #2: [6, 2, 21] from Operation: 61-40=21
Current State: 54:[6, 2, 21], Operations: ['61-40=21']
Exploring Operation: 6+21=27, Resulting Numbers: [2, 27]
Generated Node #3: [2, 27] from Operation: 6+21=27
Current State: 54:[2, 27], Operations: ['61-40=21', '6+21=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[61, 40, 6, 2], Operations: []
Exploring Operation: 40/2=20, Resulting Numbers: [61, 6, 20]
Generated Node #0,0: 54:[61, 6, 20] Operation: 40/2=20
Exploring Operation: 61-40=21, Resulting Numbers: [6, 2, 21]
Generated Node #0,1: 54:[6, 2, 21] Operation: 61-40=21
Moving to Node #0,1
Current State: 54:[6, 2, 21], Operations: ['61-40=21']
Exploring Operation: 6+21=27, Resulting Numbers: [2, 27]
Generated Node #0,1,0: 54:[2, 27] Operation: 6+21=27
Exploring Operation: 21-2=19, Resulting Numbers: [6, 19]
Generated Node #0,1,1: 54:[6, 19] Operation: 21-2=19
Moving to Node #0,0
Current State: 54:[61, 6, 20], Operations: ['40/2=20']
Exploring Operation: 61-6=55, Resulting Numbers: [20, 55]
Generated Node #0,0,0: 54:[20, 55] Operation: 61-6=55
Exploring Operation: 6+20=26, Resulting Numbers: [61, 26]
Generated Node #0,0,1: 54:[61, 26] Operation: 6+20=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[20, 55], Operations: ['40/2=20', '61-6=55']
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 20+55=75, Resulting Numbers: [75]
75,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[61, 26], Operations: ['40/2=20', '6+20=26']
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,54 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: 54:[2, 27], Operations: ['61-40=21', '6+21=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,54 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[61, 40, 6, 2], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [6, 2, 21]
Generated Node #0,1: 54:[6, 2, 21] Operation: 61-40=21
Moving to Node #0,1
Current State: 54:[6, 2, 21], Operations: ['61-40=21']
Exploring Operation: 6+21=27, Resulting Numbers: [2, 27]
Generated Node #0,1,0: 54:[2, 27] Operation: 6+21=27
Moving to Node #0,1,0
Current State: 54:[2, 27], Operations: ['61-40=21', '6+21=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
82,
2,
35,
25
] | 94 | [
"82+2=84",
"35-25=10",
"84+10=94"
] | Current State: 94:[82, 2, 35, 25], Operations: []
Exploring Operation: 82+2=84, Resulting Numbers: [35, 25, 84]
Generated Node #2: [35, 25, 84] from Operation: 82+2=84
Current State: 94:[35, 25, 84], Operations: ['82+2=84']
Exploring Operation: 35-25=10, Resulting Numbers: [84, 10]
Generated Node #3: [84, 10] from Operation: 35-25=10
Current State: 94:[84, 10], Operations: ['82+2=84', '35-25=10']
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[82, 2, 35, 25], Operations: []
Exploring Operation: 82-35=47, Resulting Numbers: [2, 25, 47]
Generated Node #0,0: 94:[2, 25, 47] Operation: 82-35=47
Exploring Operation: 82+25=107, Resulting Numbers: [2, 35, 107]
Generated Node #0,1: 94:[2, 35, 107] Operation: 82+25=107
Exploring Operation: 35+25=60, Resulting Numbers: [82, 2, 60]
Generated Node #0,2: 94:[82, 2, 60] Operation: 35+25=60
Exploring Operation: 35-25=10, Resulting Numbers: [82, 2, 10]
Generated Node #0,3: 94:[82, 2, 10] Operation: 35-25=10
Exploring Operation: 82-25=57, Resulting Numbers: [2, 35, 57]
Generated Node #0,4: 94:[2, 35, 57] Operation: 82-25=57
Moving to Node #0,3
Current State: 94:[82, 2, 10], Operations: ['35-25=10']
Exploring Operation: 82+10=92, Resulting Numbers: [2, 92]
Generated Node #0,3,0: 94:[2, 92] Operation: 82+10=92
Exploring Operation: 10/2=5, Resulting Numbers: [82, 5]
Generated Node #0,3,1: 94:[82, 5] Operation: 10/2=5
Exploring Operation: 82+2=84, Resulting Numbers: [10, 84]
Generated Node #0,3,2: 94:[10, 84] Operation: 82+2=84
Exploring Operation: 82/2=41, Resulting Numbers: [10, 41]
Generated Node #0,3,3: 94:[10, 41] Operation: 82/2=41
Exploring Operation: 10-2=8, Resulting Numbers: [82, 8]
Generated Node #0,3,4: 94:[82, 8] Operation: 10-2=8
Moving to Node #0,4
Current State: 94:[2, 35, 57], Operations: ['82-25=57']
Exploring Operation: 57-35=22, Resulting Numbers: [2, 22]
Generated Node #0,4,0: 94:[2, 22] Operation: 57-35=22
Exploring Operation: 2+35=37, Resulting Numbers: [57, 37]
Generated Node #0,4,1: 94:[57, 37] Operation: 2+35=37
Exploring Operation: 35-2=33, Resulting Numbers: [57, 33]
Generated Node #0,4,2: 94:[57, 33] Operation: 35-2=33
Exploring Operation: 57-2=55, Resulting Numbers: [35, 55]
Generated Node #0,4,3: 94:[35, 55] Operation: 57-2=55
Exploring Operation: 35+57=92, Resulting Numbers: [2, 92]
Generated Node #0,4,4: 94:[2, 92] Operation: 35+57=92
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 94:[2, 92], Operations: ['82-25=57', '35+57=92']
Exploring Operation: 2*92=184, Resulting Numbers: [184]
184,94 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,94 unequal: No Solution
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[82, 2, 35, 25], Operations: []
Exploring Operation: 82-25=57, Resulting Numbers: [2, 35, 57]
Generated Node #0,4: 94:[2, 35, 57] Operation: 82-25=57
Moving to Node #0,4
Current State: 94:[2, 35, 57], Operations: ['82-25=57']
Exploring Operation: 35+57=92, Resulting Numbers: [2, 92]
Generated Node #0,4,4: 94:[2, 92] Operation: 35+57=92
Moving to Node #0,4,4
Current State: 94:[2, 92], Operations: ['82-25=57', '35+57=92']
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
17,
47,
37,
63
] | 36 | [
"17+47=64",
"37+63=100",
"100-64=36"
] | Current State: 36:[17, 47, 37, 63], Operations: []
Exploring Operation: 17+47=64, Resulting Numbers: [37, 63, 64]
Generated Node #2: [37, 63, 64] from Operation: 17+47=64
Current State: 36:[37, 63, 64], Operations: ['17+47=64']
Exploring Operation: 37+63=100, Resulting Numbers: [64, 100]
Generated Node #3: [64, 100] from Operation: 37+63=100
Current State: 36:[64, 100], Operations: ['17+47=64', '37+63=100']
Exploring Operation: 100-64=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[17, 47, 37, 63], Operations: []
Exploring Operation: 63-47=16, Resulting Numbers: [17, 37, 16]
Generated Node #0,0: 36:[17, 37, 16] Operation: 63-47=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[17, 37, 16], Operations: ['63-47=16']
Exploring Operation: 17-16=1, Resulting Numbers: [37, 1]
Generated Node #0,0,0: 36:[37, 1] Operation: 17-16=1
Moving to Node #0,0,0
Current State: 36:[37, 1], Operations: ['63-47=16', '17-16=1']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[17, 47, 37, 63], Operations: []
Exploring Operation: 63-47=16, Resulting Numbers: [17, 37, 16]
Generated Node #0,0: 36:[17, 37, 16] Operation: 63-47=16
Moving to Node #0,0
Current State: 36:[17, 37, 16], Operations: ['63-47=16']
Exploring Operation: 17-16=1, Resulting Numbers: [37, 1]
Generated Node #0,0,0: 36:[37, 1] Operation: 17-16=1
Moving to Node #0,0,0
Current State: 36:[37, 1], Operations: ['63-47=16', '17-16=1']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
24,
68,
92,
76
] | 82 | [
"68*92=6256",
"6256-24=6232",
"6232/76=82"
] | Current State: 82:[24, 68, 92, 76], Operations: []
Exploring Operation: 68*92=6256, Resulting Numbers: [24, 76, 6256]
Generated Node #2: [24, 76, 6256] from Operation: 68*92=6256
Current State: 82:[24, 76, 6256], Operations: ['68*92=6256']
Exploring Operation: 6256-24=6232, Resulting Numbers: [76, 6232]
Generated Node #3: [76, 6232] from Operation: 6256-24=6232
Current State: 82:[76, 6232], Operations: ['68*92=6256', '6256-24=6232']
Exploring Operation: 6232/76=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[24, 68, 92, 76], Operations: []
Exploring Operation: 68-24=44, Resulting Numbers: [92, 76, 44]
Generated Node #0,0: 82:[92, 76, 44] Operation: 68-24=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[92, 76, 44], Operations: ['68-24=44']
Exploring Operation: 92-44=48, Resulting Numbers: [76, 48]
Generated Node #0,0,0: 82:[76, 48] Operation: 92-44=48
Moving to Node #0,0,0
Current State: 82:[76, 48], Operations: ['68-24=44', '92-44=48']
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
50,
56,
2,
44
] | 74 | [
"56-44=12",
"2*12=24",
"50+24=74"
] | Current State: 74:[50, 56, 2, 44], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [50, 2, 12]
Generated Node #2: [50, 2, 12] from Operation: 56-44=12
Current State: 74:[50, 2, 12], Operations: ['56-44=12']
Exploring Operation: 2*12=24, Resulting Numbers: [50, 24]
Generated Node #3: [50, 24] from Operation: 2*12=24
Current State: 74:[50, 24], Operations: ['56-44=12', '2*12=24']
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[50, 56, 2, 44], Operations: []
Exploring Operation: 56/2=28, Resulting Numbers: [50, 44, 28]
Generated Node #0,0: 74:[50, 44, 28] Operation: 56/2=28
Exploring Operation: 50-44=6, Resulting Numbers: [56, 2, 6]
Generated Node #0,1: 74:[56, 2, 6] Operation: 50-44=6
Exploring Operation: 56-44=12, Resulting Numbers: [50, 2, 12]
Generated Node #0,2: 74:[50, 2, 12] Operation: 56-44=12
Exploring Operation: 56-50=6, Resulting Numbers: [2, 44, 6]
Generated Node #0,3: 74:[2, 44, 6] Operation: 56-50=6
Moving to Node #0,3
Current State: 74:[2, 44, 6], Operations: ['56-50=6']
Exploring Operation: 44-2=42, Resulting Numbers: [6, 42]
Generated Node #0,3,0: 74:[6, 42] Operation: 44-2=42
Exploring Operation: 6/2=3, Resulting Numbers: [44, 3]
Generated Node #0,3,1: 74:[44, 3] Operation: 6/2=3
Exploring Operation: 44-6=38, Resulting Numbers: [2, 38]
Generated Node #0,3,2: 74:[2, 38] Operation: 44-6=38
Exploring Operation: 6-2=4, Resulting Numbers: [44, 4]
Generated Node #0,3,3: 74:[44, 4] Operation: 6-2=4
Moving to Node #0,1
Current State: 74:[56, 2, 6], Operations: ['50-44=6']
Exploring Operation: 56/2=28, Resulting Numbers: [6, 28]
Generated Node #0,1,0: 74:[6, 28] Operation: 56/2=28
Exploring Operation: 56+6=62, Resulting Numbers: [2, 62]
Generated Node #0,1,1: 74:[2, 62] Operation: 56+6=62
Exploring Operation: 56-6=50, Resulting Numbers: [2, 50]
Generated Node #0,1,2: 74:[2, 50] Operation: 56-6=50
Exploring Operation: 6/2=3, Resulting Numbers: [56, 3]
Generated Node #0,1,3: 74:[56, 3] Operation: 6/2=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[2, 62], Operations: ['50-44=6', '56+6=62']
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,74 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,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,1,0
Current State: 74:[6, 28], Operations: ['50-44=6', '56/2=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,74 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,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,1,2
Current State: 74:[2, 50], Operations: ['50-44=6', '56-6=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,74 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,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,1,3
Current State: 74:[56, 3], Operations: ['50-44=6', '6/2=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,74 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,74 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,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:[50, 2, 12], Operations: ['56-44=12']
Exploring Operation: 50-2=48, Resulting Numbers: [12, 48]
Generated Node #0,2,0: 74:[12, 48] Operation: 50-2=48
Exploring Operation: 12/2=6, Resulting Numbers: [50, 6]
Generated Node #0,2,1: 74:[50, 6] Operation: 12/2=6
Exploring Operation: 50+12=62, Resulting Numbers: [2, 62]
Generated Node #0,2,2: 74:[2, 62] Operation: 50+12=62
Exploring Operation: 50-12=38, Resulting Numbers: [2, 38]
Generated Node #0,2,3: 74:[2, 38] Operation: 50-12=38
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 74:[2, 38], Operations: ['56-44=12', '50-12=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,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,2,2
Current State: 74:[2, 62], Operations: ['56-44=12', '50+12=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,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,2,1
Current State: 74:[50, 6], Operations: ['56-44=12', '12/2=6']
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,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,2,0
Current State: 74:[12, 48], Operations: ['56-44=12', '50-2=48']
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,74 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,74 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: 74:[50, 44, 28], Operations: ['56/2=28']
Exploring Operation: 50+28=78, Resulting Numbers: [44, 78]
Generated Node #0,0,0: 74:[44, 78] Operation: 50+28=78
Exploring Operation: 50-44=6, Resulting Numbers: [28, 6]
Generated Node #0,0,1: 74:[28, 6] Operation: 50-44=6
Exploring Operation: 50-28=22, Resulting Numbers: [44, 22]
Generated Node #0,0,2: 74:[44, 22] Operation: 50-28=22
Exploring Operation: 44+28=72, Resulting Numbers: [50, 72]
Generated Node #0,0,3: 74:[50, 72] Operation: 44+28=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[44, 78], Operations: ['56/2=28', '50+28=78']
Exploring Operation: 44+78=122, Resulting Numbers: [122]
122,74 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 44*78=3432, Resulting Numbers: [3432]
3432,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:[28, 6], Operations: ['56/2=28', '50-44=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,74 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,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,3
Current State: 74:[50, 72], Operations: ['56/2=28', '44+28=72']
Exploring Operation: 50+72=122, Resulting Numbers: [122]
122,74 unequal: No Solution
Exploring Operation: 50*72=3600, Resulting Numbers: [3600]
3600,74 unequal: No Solution
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,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,2
Current State: 74:[44, 22], Operations: ['56/2=28', '50-28=22']
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,74 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 74:[2, 38], Operations: ['56-50=6', '44-6=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[44, 3], Operations: ['56-50=6', '6/2=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[44, 4], Operations: ['56-50=6', '6-2=4']
Exploring Operation: 44*4=176, Resulting Numbers: [176]
176,74 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[6, 42], Operations: ['56-50=6', '44-2=42']
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,74 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,74 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
86,
57,
2,
56
] | 44 | [
"86/2=43",
"57-56=1",
"43+1=44"
] | Current State: 44:[86, 57, 2, 56], Operations: []
Exploring Operation: 86/2=43, Resulting Numbers: [57, 56, 43]
Generated Node #2: [57, 56, 43] from Operation: 86/2=43
Current State: 44:[57, 56, 43], Operations: ['86/2=43']
Exploring Operation: 57-56=1, Resulting Numbers: [43, 1]
Generated Node #3: [43, 1] from Operation: 57-56=1
Current State: 44:[43, 1], Operations: ['86/2=43', '57-56=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[86, 57, 2, 56], Operations: []
Exploring Operation: 86-56=30, Resulting Numbers: [57, 2, 30]
Generated Node #0,0: 44:[57, 2, 30] Operation: 86-56=30
Exploring Operation: 86-57=29, Resulting Numbers: [2, 56, 29]
Generated Node #0,1: 44:[2, 56, 29] Operation: 86-57=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[2, 56, 29], Operations: ['86-57=29']
Exploring Operation: 56/2=28, Resulting Numbers: [29, 28]
Generated Node #0,1,0: 44:[29, 28] Operation: 56/2=28
Exploring Operation: 56-29=27, Resulting Numbers: [2, 27]
Generated Node #0,1,1: 44:[2, 27] Operation: 56-29=27
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[2, 27], Operations: ['86-57=29', '56-29=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,44 unequal: No Solution
No 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: 44:[29, 28], Operations: ['86-57=29', '56/2=28']
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,44 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: 44:[57, 2, 30], Operations: ['86-56=30']
Exploring Operation: 30/2=15, Resulting Numbers: [57, 15]
Generated Node #0,0,0: 44:[57, 15] Operation: 30/2=15
Exploring Operation: 57-30=27, Resulting Numbers: [2, 27]
Generated Node #0,0,1: 44:[2, 27] Operation: 57-30=27
Moving to Node #0,0,1
Current State: 44:[2, 27], Operations: ['86-56=30', '57-30=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[57, 15], Operations: ['86-56=30', '30/2=15']
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 57+15=72, Resulting Numbers: [72]
72,44 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 |
[
1,
91,
90,
88
] | 46 | [
"1+91=92",
"90-88=2",
"92/2=46"
] | Current State: 46:[1, 91, 90, 88], Operations: []
Exploring Operation: 1+91=92, Resulting Numbers: [90, 88, 92]
Generated Node #2: [90, 88, 92] from Operation: 1+91=92
Current State: 46:[90, 88, 92], Operations: ['1+91=92']
Exploring Operation: 90-88=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 90-88=2
Current State: 46:[92, 2], Operations: ['1+91=92', '90-88=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[1, 91, 90, 88], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [1, 90, 3]
Generated Node #0,0: 46:[1, 90, 3] Operation: 91-88=3
Exploring Operation: 91-90=1, Resulting Numbers: [1, 88, 1]
Generated Node #0,1: 46:[1, 88, 1] Operation: 91-90=1
Moving to Node #0,1
Current State: 46:[1, 88, 1], Operations: ['91-90=1']
Exploring Operation: 88-1=87, Resulting Numbers: [1, 87]
Generated Node #0,1,0: 46:[1, 87] Operation: 88-1=87
Exploring Operation: 1+1=2, Resulting Numbers: [88, 2]
Generated Node #0,1,1: 46:[88, 2] Operation: 1+1=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[1, 87], Operations: ['91-90=1', '88-1=87']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 1*87=87, Resulting Numbers: [87]
87,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[88, 2], Operations: ['91-90=1', '1+1=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,46 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: 46:[1, 90, 3], Operations: ['91-88=3']
Exploring Operation: 90/3=30, Resulting Numbers: [1, 30]
Generated Node #0,0,0: 46:[1, 30] Operation: 90/3=30
Exploring Operation: 90-3=87, Resulting Numbers: [1, 87]
Generated Node #0,0,1: 46:[1, 87] Operation: 90-3=87
Moving to Node #0,0,0
Current State: 46:[1, 30], Operations: ['91-88=3', '90/3=30']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[1, 87], Operations: ['91-88=3', '90-3=87']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 1*87=87, Resulting Numbers: [87]
87,46 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
29,
61,
59,
65
] | 22 | [
"29+59=88",
"65-61=4",
"88/4=22"
] | Current State: 22:[29, 61, 59, 65], Operations: []
Exploring Operation: 29+59=88, Resulting Numbers: [61, 65, 88]
Generated Node #2: [61, 65, 88] from Operation: 29+59=88
Current State: 22:[61, 65, 88], Operations: ['29+59=88']
Exploring Operation: 65-61=4, Resulting Numbers: [88, 4]
Generated Node #3: [88, 4] from Operation: 65-61=4
Current State: 22:[88, 4], Operations: ['29+59=88', '65-61=4']
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[29, 61, 59, 65], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [29, 59, 4]
Generated Node #0,0: 22:[29, 59, 4] Operation: 65-61=4
Exploring Operation: 61-59=2, Resulting Numbers: [29, 65, 2]
Generated Node #0,1: 22:[29, 65, 2] Operation: 61-59=2
Exploring Operation: 65-59=6, Resulting Numbers: [29, 61, 6]
Generated Node #0,2: 22:[29, 61, 6] Operation: 65-59=6
Moving to Node #0,0
Current State: 22:[29, 59, 4], Operations: ['65-61=4']
Exploring Operation: 59-4=55, Resulting Numbers: [29, 55]
Generated Node #0,0,0: 22:[29, 55] Operation: 59-4=55
Exploring Operation: 29-4=25, Resulting Numbers: [59, 25]
Generated Node #0,0,1: 22:[59, 25] Operation: 29-4=25
Exploring Operation: 59-29=30, Resulting Numbers: [4, 30]
Generated Node #0,0,2: 22:[4, 30] Operation: 59-29=30
Moving to Node #0,1
Current State: 22:[29, 65, 2], Operations: ['61-59=2']
Exploring Operation: 65-2=63, Resulting Numbers: [29, 63]
Generated Node #0,1,0: 22:[29, 63] Operation: 65-2=63
Exploring Operation: 65-29=36, Resulting Numbers: [2, 36]
Generated Node #0,1,1: 22:[2, 36] Operation: 65-29=36
Exploring Operation: 29-2=27, Resulting Numbers: [65, 27]
Generated Node #0,1,2: 22:[65, 27] Operation: 29-2=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[2, 36], Operations: ['61-59=2', '65-29=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,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,0
Current State: 22:[29, 63], Operations: ['61-59=2', '65-2=63']
Exploring Operation: 29*63=1827, Resulting Numbers: [1827]
1827,22 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[65, 27], Operations: ['61-59=2', '29-2=27']
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,22 unequal: No Solution
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,22 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,22 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: 22:[29, 61, 6], Operations: ['65-59=6']
Exploring Operation: 61-6=55, Resulting Numbers: [29, 55]
Generated Node #0,2,0: 22:[29, 55] Operation: 61-6=55
Exploring Operation: 29-6=23, Resulting Numbers: [61, 23]
Generated Node #0,2,1: 22:[61, 23] Operation: 29-6=23
Exploring Operation: 61-29=32, Resulting Numbers: [6, 32]
Generated Node #0,2,2: 22:[6, 32] Operation: 61-29=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[6, 32], Operations: ['65-59=6', '61-29=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,22 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[29, 55], Operations: ['65-59=6', '61-6=55']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 29*55=1595, Resulting Numbers: [1595]
1595,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[61, 23], Operations: ['65-59=6', '29-6=23']
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 61*23=1403, Resulting Numbers: [1403]
1403,22 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: 22:[4, 30], Operations: ['65-61=4', '59-29=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[29, 55], Operations: ['65-61=4', '59-4=55']
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 29*55=1595, Resulting Numbers: [1595]
1595,22 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[59, 25], Operations: ['65-61=4', '29-4=25']
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,22 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,22 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
21,
99,
67,
73
] | 72 | [
"99-21=78",
"73-67=6",
"78-6=72"
] | Current State: 72:[21, 99, 67, 73], Operations: []
Exploring Operation: 99-21=78, Resulting Numbers: [67, 73, 78]
Generated Node #2: [67, 73, 78] from Operation: 99-21=78
Current State: 72:[67, 73, 78], Operations: ['99-21=78']
Exploring Operation: 73-67=6, Resulting Numbers: [78, 6]
Generated Node #3: [78, 6] from Operation: 73-67=6
Current State: 72:[78, 6], Operations: ['99-21=78', '73-67=6']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[21, 99, 67, 73], Operations: []
Exploring Operation: 99-67=32, Resulting Numbers: [21, 73, 32]
Generated Node #0,0: 72:[21, 73, 32] Operation: 99-67=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[21, 73, 32], Operations: ['99-67=32']
Exploring Operation: 32-21=11, Resulting Numbers: [73, 11]
Generated Node #0,0,0: 72:[73, 11] Operation: 32-21=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[73, 11], Operations: ['99-67=32', '32-21=11']
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,72 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 |
[
48,
90,
48,
51
] | 74 | [
"51-48=3",
"48/3=16",
"90-16=74"
] | Current State: 74:[48, 90, 48, 51], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [90, 3]
Generated Node #2: [90, 3] from Operation: 51-48=3
Current State: 74:[90, 3], Operations: ['51-48=3']
Exploring Operation: 48/3=16, Resulting Numbers: [90, 16]
Generated Node #3: [90, 16] from Operation: 48/3=16
Current State: 74:[90, 16], Operations: ['51-48=3', '48/3=16']
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[48, 90, 48, 51], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [90, 48, 3]
Generated Node #0,0: 74:[90, 48, 3] Operation: 51-48=3
Exploring Operation: 90-51=39, Resulting Numbers: [48, 48, 39]
Generated Node #0,1: 74:[48, 48, 39] Operation: 90-51=39
Exploring Operation: 51-48=3, Resulting Numbers: [48, 90, 3]
Generated Node #0,2: 74:[48, 90, 3] Operation: 51-48=3
Moving to Node #0,1
Current State: 74:[48, 48, 39], Operations: ['90-51=39']
Exploring Operation: 48-39=9, Resulting Numbers: [48, 9]
Generated Node #0,1,0: 74:[48, 9] Operation: 48-39=9
Exploring Operation: 48/48=1, Resulting Numbers: [39, 1]
Generated Node #0,1,1: 74:[39, 1] Operation: 48/48=1
Exploring Operation: 48-48=0, Resulting Numbers: [39, 0]
Generated Node #0,1,2: 74:[39, 0] Operation: 48-48=0
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[39, 1], Operations: ['90-51=39', '48/48=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,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,1,2
Current State: 74:[39, 0], Operations: ['90-51=39', '48-48=0']
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,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,1,0
Current State: 74:[48, 9], Operations: ['90-51=39', '48-39=9']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,74 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: 74:[90, 48, 3], Operations: ['51-48=3']
Exploring Operation: 90/3=30, Resulting Numbers: [48, 30]
Generated Node #0,0,0: 74:[48, 30] Operation: 90/3=30
Exploring Operation: 90-48=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 74:[3, 42] Operation: 90-48=42
Exploring Operation: 90-3=87, Resulting Numbers: [48, 87]
Generated Node #0,0,2: 74:[48, 87] Operation: 90-3=87
Moving to Node #0,2
Current State: 74:[48, 90, 3], Operations: ['51-48=3']
Exploring Operation: 90/3=30, Resulting Numbers: [48, 30]
Generated Node #0,2,0: 74:[48, 30] Operation: 90/3=30
Exploring Operation: 90-48=42, Resulting Numbers: [3, 42]
Generated Node #0,2,1: 74:[3, 42] Operation: 90-48=42
Exploring Operation: 48-3=45, Resulting Numbers: [90, 45]
Generated Node #0,2,2: 74:[90, 45] Operation: 48-3=45
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[3, 42], Operations: ['51-48=3', '90-48=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,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,2,0
Current State: 74:[48, 30], Operations: ['51-48=3', '90/3=30']
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,74 unequal: No Solution
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,74 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,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,2,2
Current State: 74:[90, 45], Operations: ['51-48=3', '48-3=45']
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 90+45=135, Resulting Numbers: [135]
135,74 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: 74:[3, 42], Operations: ['51-48=3', '90-48=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[48, 30], Operations: ['51-48=3', '90/3=30']
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,74 unequal: No Solution
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,74 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[48, 87], Operations: ['51-48=3', '90-3=87']
Exploring Operation: 48*87=4176, Resulting Numbers: [4176]
4176,74 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 48+87=135, Resulting Numbers: [135]
135,74 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
30,
5,
16
] | 18 | [
"44+30=74",
"16+74=90",
"90/5=18"
] | Current State: 18:[44, 30, 5, 16], Operations: []
Exploring Operation: 44+30=74, Resulting Numbers: [5, 16, 74]
Generated Node #2: [5, 16, 74] from Operation: 44+30=74
Current State: 18:[5, 16, 74], Operations: ['44+30=74']
Exploring Operation: 16+74=90, Resulting Numbers: [5, 90]
Generated Node #3: [5, 90] from Operation: 16+74=90
Current State: 18:[5, 90], Operations: ['44+30=74', '16+74=90']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[44, 30, 5, 16], Operations: []
Exploring Operation: 30-16=14, Resulting Numbers: [44, 5, 14]
Generated Node #0,0: 18:[44, 5, 14] Operation: 30-16=14
Exploring Operation: 44-16=28, Resulting Numbers: [30, 5, 28]
Generated Node #0,1: 18:[30, 5, 28] Operation: 44-16=28
Exploring Operation: 44-30=14, Resulting Numbers: [5, 16, 14]
Generated Node #0,2: 18:[5, 16, 14] Operation: 44-30=14
Exploring Operation: 30/5=6, Resulting Numbers: [44, 16, 6]
Generated Node #0,3: 18:[44, 16, 6] Operation: 30/5=6
Moving to Node #0,2
Current State: 18:[5, 16, 14], Operations: ['44-30=14']
Exploring Operation: 14-5=9, Resulting Numbers: [16, 9]
Generated Node #0,2,0: 18:[16, 9] Operation: 14-5=9
Exploring Operation: 5+14=19, Resulting Numbers: [16, 19]
Generated Node #0,2,1: 18:[16, 19] Operation: 5+14=19
Exploring Operation: 16-5=11, Resulting Numbers: [14, 11]
Generated Node #0,2,2: 18:[14, 11] Operation: 16-5=11
Exploring Operation: 16-14=2, Resulting Numbers: [5, 2]
Generated Node #0,2,3: 18:[5, 2] Operation: 16-14=2
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 18:[5, 2], Operations: ['44-30=14', '16-14=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[16, 9], Operations: ['44-30=14', '14-5=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,18 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 18:[16, 19], Operations: ['44-30=14', '5+14=19']
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 18:[14, 11], Operations: ['44-30=14', '16-5=11']
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,18 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,18 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: 18:[30, 5, 28], Operations: ['44-16=28']
Exploring Operation: 28-5=23, Resulting Numbers: [30, 23]
Generated Node #0,1,0: 18:[30, 23] Operation: 28-5=23
Exploring Operation: 30-5=25, Resulting Numbers: [28, 25]
Generated Node #0,1,1: 18:[28, 25] Operation: 30-5=25
Exploring Operation: 30/5=6, Resulting Numbers: [28, 6]
Generated Node #0,1,2: 18:[28, 6] Operation: 30/5=6
Exploring Operation: 30-28=2, Resulting Numbers: [5, 2]
Generated Node #0,1,3: 18:[5, 2] Operation: 30-28=2
Moving to Node #0,3
Current State: 18:[44, 16, 6], Operations: ['30/5=6']
Exploring Operation: 16-6=10, Resulting Numbers: [44, 10]
Generated Node #0,3,0: 18:[44, 10] Operation: 16-6=10
Exploring Operation: 44-16=28, Resulting Numbers: [6, 28]
Generated Node #0,3,1: 18:[6, 28] Operation: 44-16=28
Exploring Operation: 44-6=38, Resulting Numbers: [16, 38]
Generated Node #0,3,2: 18:[16, 38] Operation: 44-6=38
Exploring Operation: 16+6=22, Resulting Numbers: [44, 22]
Generated Node #0,3,3: 18:[44, 22] Operation: 16+6=22
Moving to Node #0,0
Current State: 18:[44, 5, 14], Operations: ['30-16=14']
Exploring Operation: 44-5=39, Resulting Numbers: [14, 39]
Generated Node #0,0,0: 18:[14, 39] Operation: 44-5=39
Exploring Operation: 44-14=30, Resulting Numbers: [5, 30]
Generated Node #0,0,1: 18:[5, 30] Operation: 44-14=30
Exploring Operation: 5+14=19, Resulting Numbers: [44, 19]
Generated Node #0,0,2: 18:[44, 19] Operation: 5+14=19
Exploring Operation: 14-5=9, Resulting Numbers: [44, 9]
Generated Node #0,0,3: 18:[44, 9] Operation: 14-5=9
Moving to Node #0,1,3
Current State: 18:[5, 2], Operations: ['44-16=28', '30-28=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[28, 6], Operations: ['44-16=28', '30/5=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,18 unequal: No Solution
Moving to Node #0,3,1
Current State: 18:[6, 28], Operations: ['30/5=6', '44-16=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,18 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[5, 30], Operations: ['30-16=14', '44-14=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,18 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[30, 23], Operations: ['44-16=28', '28-5=23']
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,18 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[28, 25], Operations: ['44-16=28', '30-5=25']
Exploring Operation: 28*25=700, Resulting Numbers: [700]
700,18 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Moving to Node #0,3,2
Current State: 18:[16, 38], Operations: ['30/5=6', '44-6=38']
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,18 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[14, 39], Operations: ['30-16=14', '44-5=39']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,18 unequal: No Solution
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[44, 9], Operations: ['30-16=14', '14-5=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,18 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[44, 19], Operations: ['30-16=14', '5+14=19']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 44*19=836, Resulting Numbers: [836]
836,18 unequal: No Solution
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,18 unequal: No Solution
Moving to Node #0,3,0
Current State: 18:[44, 10], Operations: ['30/5=6', '16-6=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,18 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,18 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Moving to Node #0,3,3
Current State: 18:[44, 22], Operations: ['30/5=6', '16+6=22']
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,18 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,18 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
77,
98,
45,
17
] | 83 | [
"98-77=21",
"45+17=62",
"21+62=83"
] | Current State: 83:[77, 98, 45, 17], Operations: []
Exploring Operation: 98-77=21, Resulting Numbers: [45, 17, 21]
Generated Node #2: [45, 17, 21] from Operation: 98-77=21
Current State: 83:[45, 17, 21], Operations: ['98-77=21']
Exploring Operation: 45+17=62, Resulting Numbers: [21, 62]
Generated Node #3: [21, 62] from Operation: 45+17=62
Current State: 83:[21, 62], Operations: ['98-77=21', '45+17=62']
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[77, 98, 45, 17], Operations: []
Exploring Operation: 45+17=62, Resulting Numbers: [77, 98, 62]
Generated Node #0,0: 83:[77, 98, 62] Operation: 45+17=62
Moving to Node #0,0
Current State: 83:[77, 98, 62], Operations: ['45+17=62']
Exploring Operation: 98-62=36, Resulting Numbers: [77, 36]
Generated Node #0,0,0: 83:[77, 36] Operation: 98-62=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[77, 36], Operations: ['45+17=62', '98-62=36']
Exploring Operation: 77+36=113, Resulting Numbers: [113]
113,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
39,
78,
83,
57
] | 91 | [
"39+78=117",
"83-57=26",
"117-26=91"
] | Current State: 91:[39, 78, 83, 57], Operations: []
Exploring Operation: 39+78=117, Resulting Numbers: [83, 57, 117]
Generated Node #2: [83, 57, 117] from Operation: 39+78=117
Current State: 91:[83, 57, 117], Operations: ['39+78=117']
Exploring Operation: 83-57=26, Resulting Numbers: [117, 26]
Generated Node #3: [117, 26] from Operation: 83-57=26
Current State: 91:[117, 26], Operations: ['39+78=117', '83-57=26']
Exploring Operation: 117-26=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[39, 78, 83, 57], Operations: []
Exploring Operation: 78-57=21, Resulting Numbers: [39, 83, 21]
Generated Node #0,0: 91:[39, 83, 21] Operation: 78-57=21
Exploring Operation: 39+57=96, Resulting Numbers: [78, 83, 96]
Generated Node #0,1: 91:[78, 83, 96] Operation: 39+57=96
Exploring Operation: 78/39=2, Resulting Numbers: [83, 57, 2]
Generated Node #0,2: 91:[83, 57, 2] Operation: 78/39=2
Exploring Operation: 57-39=18, Resulting Numbers: [78, 83, 18]
Generated Node #0,3: 91:[78, 83, 18] Operation: 57-39=18
Exploring Operation: 83-57=26, Resulting Numbers: [39, 78, 26]
Generated Node #0,4: 91:[39, 78, 26] Operation: 83-57=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[78, 83, 96], Operations: ['39+57=96']
Exploring Operation: 96-83=13, Resulting Numbers: [78, 13]
Generated Node #0,1,0: 91:[78, 13] Operation: 96-83=13
Exploring Operation: 78+96=174, Resulting Numbers: [83, 174]
Generated Node #0,1,1: 91:[83, 174] Operation: 78+96=174
Exploring Operation: 78+83=161, Resulting Numbers: [96, 161]
Generated Node #0,1,2: 91:[96, 161] Operation: 78+83=161
Exploring Operation: 83-78=5, Resulting Numbers: [96, 5]
Generated Node #0,1,3: 91:[96, 5] Operation: 83-78=5
Exploring Operation: 96-78=18, Resulting Numbers: [83, 18]
Generated Node #0,1,4: 91:[83, 18] Operation: 96-78=18
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 91:[96, 5], Operations: ['39+57=96', '83-78=5']
Exploring Operation: 96+5=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Exploring Operation: 96*5=480, Resulting Numbers: [480]
480,91 unequal: No Solution
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[39, 78, 83, 57], Operations: []
Exploring Operation: 39+57=96, Resulting Numbers: [78, 83, 96]
Generated Node #0,1: 91:[78, 83, 96] Operation: 39+57=96
Moving to Node #0,1
Current State: 91:[78, 83, 96], Operations: ['39+57=96']
Exploring Operation: 83-78=5, Resulting Numbers: [96, 5]
Generated Node #0,1,3: 91:[96, 5] Operation: 83-78=5
Moving to Node #0,1,3
Current State: 91:[96, 5], Operations: ['39+57=96', '83-78=5']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
25,
28,
38,
24
] | 62 | [
"28-24=4",
"25*4=100",
"100-38=62"
] | Current State: 62:[25, 28, 38, 24], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [25, 38, 4]
Generated Node #2: [25, 38, 4] from Operation: 28-24=4
Current State: 62:[25, 38, 4], Operations: ['28-24=4']
Exploring Operation: 25*4=100, Resulting Numbers: [38, 100]
Generated Node #3: [38, 100] from Operation: 25*4=100
Current State: 62:[38, 100], Operations: ['28-24=4', '25*4=100']
Exploring Operation: 100-38=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[25, 28, 38, 24], Operations: []
Exploring Operation: 38+24=62, Resulting Numbers: [25, 28, 62]
Generated Node #0,0: 62:[25, 28, 62] Operation: 38+24=62
Exploring Operation: 25+38=63, Resulting Numbers: [28, 24, 63]
Generated Node #0,1: 62:[28, 24, 63] Operation: 25+38=63
Exploring Operation: 25-24=1, Resulting Numbers: [28, 38, 1]
Generated Node #0,2: 62:[28, 38, 1] Operation: 25-24=1
Moving to Node #0,0
Current State: 62:[25, 28, 62], Operations: ['38+24=62']
Exploring Operation: 28-25=3, Resulting Numbers: [62, 3]
Generated Node #0,0,0: 62:[62, 3] Operation: 28-25=3
Exploring Operation: 62-25=37, Resulting Numbers: [28, 37]
Generated Node #0,0,1: 62:[28, 37] Operation: 62-25=37
Exploring Operation: 25+28=53, Resulting Numbers: [62, 53]
Generated Node #0,0,2: 62:[62, 53] Operation: 25+28=53
Moving to Node #0,1
Current State: 62:[28, 24, 63], Operations: ['25+38=63']
Exploring Operation: 28-24=4, Resulting Numbers: [63, 4]
Generated Node #0,1,0: 62:[63, 4] Operation: 28-24=4
Exploring Operation: 28+24=52, Resulting Numbers: [63, 52]
Generated Node #0,1,1: 62:[63, 52] Operation: 28+24=52
Exploring Operation: 63-28=35, Resulting Numbers: [24, 35]
Generated Node #0,1,2: 62:[24, 35] Operation: 63-28=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[63, 4], Operations: ['25+38=63', '28-24=4']
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,62 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[63, 52], Operations: ['25+38=63', '28+24=52']
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 63*52=3276, Resulting Numbers: [3276]
3276,62 unequal: No Solution
Exploring Operation: 63+52=115, Resulting Numbers: [115]
115,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[24, 35], Operations: ['25+38=63', '63-28=35']
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,62 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,62 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: 62:[28, 38, 1], Operations: ['25-24=1']
Exploring Operation: 28+38=66, Resulting Numbers: [1, 66]
Generated Node #0,2,0: 62:[1, 66] Operation: 28+38=66
Exploring Operation: 28+1=29, Resulting Numbers: [38, 29]
Generated Node #0,2,1: 62:[38, 29] Operation: 28+1=29
Exploring Operation: 38-28=10, Resulting Numbers: [1, 10]
Generated Node #0,2,2: 62:[1, 10] Operation: 38-28=10
Moving to Node #0,0,0
Current State: 62:[62, 3], Operations: ['38+24=62', '28-25=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[1, 66], Operations: ['25-24=1', '28+38=66']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[62, 53], Operations: ['38+24=62', '25+28=53']
Exploring Operation: 62-53=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 62*53=3286, Resulting Numbers: [3286]
3286,62 unequal: No Solution
Exploring Operation: 62+53=115, Resulting Numbers: [115]
115,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[1, 10], Operations: ['25-24=1', '38-28=10']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[38, 29], Operations: ['25-24=1', '28+1=29']
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[28, 37], Operations: ['38+24=62', '62-25=37']
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 28*37=1036, Resulting Numbers: [1036]
1036,62 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,62 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
4,
70,
44,
83
] | 21 | [
"70-44=26",
"4*26=104",
"104-83=21"
] | Current State: 21:[4, 70, 44, 83], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [4, 83, 26]
Generated Node #2: [4, 83, 26] from Operation: 70-44=26
Current State: 21:[4, 83, 26], Operations: ['70-44=26']
Exploring Operation: 4*26=104, Resulting Numbers: [83, 104]
Generated Node #3: [83, 104] from Operation: 4*26=104
Current State: 21:[83, 104], Operations: ['70-44=26', '4*26=104']
Exploring Operation: 104-83=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[4, 70, 44, 83], Operations: []
Exploring Operation: 83-70=13, Resulting Numbers: [4, 44, 13]
Generated Node #0,0: 21:[4, 44, 13] Operation: 83-70=13
Moving to Node #0,0
Current State: 21:[4, 44, 13], Operations: ['83-70=13']
Exploring Operation: 44/4=11, Resulting Numbers: [13, 11]
Generated Node #0,0,0: 21:[13, 11] Operation: 44/4=11
Moving to Node #0,0,0
Current State: 21:[13, 11], Operations: ['83-70=13', '44/4=11']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,21 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
57,
66,
8,
34
] | 53 | [
"66-34=32",
"32/8=4",
"57-4=53"
] | Current State: 53:[57, 66, 8, 34], Operations: []
Exploring Operation: 66-34=32, Resulting Numbers: [57, 8, 32]
Generated Node #2: [57, 8, 32] from Operation: 66-34=32
Current State: 53:[57, 8, 32], Operations: ['66-34=32']
Exploring Operation: 32/8=4, Resulting Numbers: [57, 4]
Generated Node #3: [57, 4] from Operation: 32/8=4
Current State: 53:[57, 4], Operations: ['66-34=32', '32/8=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[57, 66, 8, 34], Operations: []
Exploring Operation: 57+8=65, Resulting Numbers: [66, 34, 65]
Generated Node #0,0: 53:[66, 34, 65] Operation: 57+8=65
Exploring Operation: 57-8=49, Resulting Numbers: [66, 34, 49]
Generated Node #0,1: 53:[66, 34, 49] Operation: 57-8=49
Exploring Operation: 66-8=58, Resulting Numbers: [57, 34, 58]
Generated Node #0,2: 53:[57, 34, 58] Operation: 66-8=58
Exploring Operation: 8+34=42, Resulting Numbers: [57, 66, 42]
Generated Node #0,3: 53:[57, 66, 42] Operation: 8+34=42
Moving to Node #0,2
Current State: 53:[57, 34, 58], Operations: ['66-8=58']
Exploring Operation: 58-34=24, Resulting Numbers: [57, 24]
Generated Node #0,2,0: 53:[57, 24] Operation: 58-34=24
Exploring Operation: 57+34=91, Resulting Numbers: [58, 91]
Generated Node #0,2,1: 53:[58, 91] Operation: 57+34=91
Exploring Operation: 57-34=23, Resulting Numbers: [58, 23]
Generated Node #0,2,2: 53:[58, 23] Operation: 57-34=23
Exploring Operation: 34+58=92, Resulting Numbers: [57, 92]
Generated Node #0,2,3: 53:[57, 92] Operation: 34+58=92
Moving to Node #0,3
Current State: 53:[57, 66, 42], Operations: ['8+34=42']
Exploring Operation: 66-57=9, Resulting Numbers: [42, 9]
Generated Node #0,3,0: 53:[42, 9] Operation: 66-57=9
Exploring Operation: 66-42=24, Resulting Numbers: [57, 24]
Generated Node #0,3,1: 53:[57, 24] Operation: 66-42=24
Exploring Operation: 57+42=99, Resulting Numbers: [66, 99]
Generated Node #0,3,2: 53:[66, 99] Operation: 57+42=99
Exploring Operation: 57-42=15, Resulting Numbers: [66, 15]
Generated Node #0,3,3: 53:[66, 15] Operation: 57-42=15
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[57, 24], Operations: ['8+34=42', '66-42=24']
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,53 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[66, 15], Operations: ['8+34=42', '57-42=15']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[42, 9], Operations: ['8+34=42', '66-57=9']
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,53 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[66, 99], Operations: ['8+34=42', '57+42=99']
Exploring Operation: 99-66=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 66+99=165, Resulting Numbers: [165]
165,53 unequal: No Solution
Exploring Operation: 66*99=6534, Resulting Numbers: [6534]
6534,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:[66, 34, 49], Operations: ['57-8=49']
Exploring Operation: 66+34=100, Resulting Numbers: [49, 100]
Generated Node #0,1,0: 53:[49, 100] Operation: 66+34=100
Exploring Operation: 34+49=83, Resulting Numbers: [66, 83]
Generated Node #0,1,1: 53:[66, 83] Operation: 34+49=83
Exploring Operation: 66-34=32, Resulting Numbers: [49, 32]
Generated Node #0,1,2: 53:[49, 32] Operation: 66-34=32
Exploring Operation: 49-34=15, Resulting Numbers: [66, 15]
Generated Node #0,1,3: 53:[66, 15] Operation: 49-34=15
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[49, 32], Operations: ['57-8=49', '66-34=32']
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,53 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,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,1,1
Current State: 53:[66, 83], Operations: ['57-8=49', '34+49=83']
Exploring Operation: 66*83=5478, Resulting Numbers: [5478]
5478,53 unequal: No Solution
Exploring Operation: 83-66=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 66+83=149, Resulting Numbers: [149]
149,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,1,0
Current State: 53:[49, 100], Operations: ['57-8=49', '66+34=100']
Exploring Operation: 49*100=4900, Resulting Numbers: [4900]
4900,53 unequal: No Solution
Exploring Operation: 49+100=149, Resulting Numbers: [149]
149,53 unequal: No Solution
Exploring Operation: 100-49=51, Resulting Numbers: [51]
51,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,1,3
Current State: 53:[66, 15], Operations: ['57-8=49', '49-34=15']
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,53 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 53:[66, 34, 65], Operations: ['57+8=65']
Exploring Operation: 34+65=99, Resulting Numbers: [66, 99]
Generated Node #0,0,0: 53:[66, 99] Operation: 34+65=99
Exploring Operation: 66-34=32, Resulting Numbers: [65, 32]
Generated Node #0,0,1: 53:[65, 32] Operation: 66-34=32
Exploring Operation: 66+34=100, Resulting Numbers: [65, 100]
Generated Node #0,0,2: 53:[65, 100] Operation: 66+34=100
Exploring Operation: 65-34=31, Resulting Numbers: [66, 31]
Generated Node #0,0,3: 53:[66, 31] Operation: 65-34=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[65, 32], Operations: ['57+8=65', '66-34=32']
Exploring Operation: 65*32=2080, Resulting Numbers: [2080]
2080,53 unequal: No Solution
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,53 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[66, 31], Operations: ['57+8=65', '65-34=31']
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,53 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,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,0
Current State: 53:[66, 99], Operations: ['57+8=65', '34+65=99']
Exploring Operation: 99-66=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 66+99=165, Resulting Numbers: [165]
165,53 unequal: No Solution
Exploring Operation: 66*99=6534, Resulting Numbers: [6534]
6534,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:[65, 100], Operations: ['57+8=65', '66+34=100']
Exploring Operation: 65+100=165, Resulting Numbers: [165]
165,53 unequal: No Solution
Exploring Operation: 65*100=6500, Resulting Numbers: [6500]
6500,53 unequal: No Solution
Exploring Operation: 100-65=35, Resulting Numbers: [35]
35,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 53:[57, 24], Operations: ['66-8=58', '58-34=24']
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[58, 23], Operations: ['66-8=58', '57-34=23']
Exploring Operation: 58*23=1334, Resulting Numbers: [1334]
1334,53 unequal: No Solution
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[57, 92], Operations: ['66-8=58', '34+58=92']
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 57*92=5244, Resulting Numbers: [5244]
5244,53 unequal: No Solution
Exploring Operation: 57+92=149, Resulting Numbers: [149]
149,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[58, 91], Operations: ['66-8=58', '57+34=91']
Exploring Operation: 58*91=5278, Resulting Numbers: [5278]
5278,53 unequal: No Solution
Exploring Operation: 58+91=149, Resulting Numbers: [149]
149,53 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,53 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
2,
65,
4,
44
] | 86 | [
"4-2=2",
"65*2=130",
"130-44=86"
] | Current State: 86:[2, 65, 4, 44], Operations: []
Exploring Operation: 4-2=2, Resulting Numbers: [65, 44, 2]
Generated Node #2: [65, 44, 2] from Operation: 4-2=2
Current State: 86:[65, 44, 2], Operations: ['4-2=2']
Exploring Operation: 65*2=130, Resulting Numbers: [44, 130]
Generated Node #3: [44, 130] from Operation: 65*2=130
Current State: 86:[44, 130], Operations: ['4-2=2', '65*2=130']
Exploring Operation: 130-44=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[2, 65, 4, 44], Operations: []
Exploring Operation: 65+4=69, Resulting Numbers: [2, 44, 69]
Generated Node #0,0: 86:[2, 44, 69] Operation: 65+4=69
Exploring Operation: 65-4=61, Resulting Numbers: [2, 44, 61]
Generated Node #0,1: 86:[2, 44, 61] Operation: 65-4=61
Exploring Operation: 2+65=67, Resulting Numbers: [4, 44, 67]
Generated Node #0,2: 86:[4, 44, 67] Operation: 2+65=67
Exploring Operation: 65-44=21, Resulting Numbers: [2, 4, 21]
Generated Node #0,3: 86:[2, 4, 21] Operation: 65-44=21
Moving to Node #0,0
Current State: 86:[2, 44, 69], Operations: ['65+4=69']
Exploring Operation: 44-2=42, Resulting Numbers: [69, 42]
Generated Node #0,0,0: 86:[69, 42] Operation: 44-2=42
Exploring Operation: 69-44=25, Resulting Numbers: [2, 25]
Generated Node #0,0,1: 86:[2, 25] Operation: 69-44=25
Exploring Operation: 2+69=71, Resulting Numbers: [44, 71]
Generated Node #0,0,2: 86:[44, 71] Operation: 2+69=71
Exploring Operation: 2*44=88, Resulting Numbers: [69, 88]
Generated Node #0,0,3: 86:[69, 88] Operation: 2*44=88
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[44, 71], Operations: ['65+4=69', '2+69=71']
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 44+71=115, Resulting Numbers: [115]
115,86 unequal: No Solution
Exploring Operation: 44*71=3124, Resulting Numbers: [3124]
3124,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[69, 42], Operations: ['65+4=69', '44-2=42']
Exploring Operation: 69*42=2898, Resulting Numbers: [2898]
2898,86 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 69+42=111, Resulting Numbers: [111]
111,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[2, 25], Operations: ['65+4=69', '69-44=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,86 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[69, 88], Operations: ['65+4=69', '2*44=88']
Exploring Operation: 69*88=6072, Resulting Numbers: [6072]
6072,86 unequal: No Solution
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 69+88=157, Resulting Numbers: [157]
157,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 86:[2, 44, 61], Operations: ['65-4=61']
Exploring Operation: 61-44=17, Resulting Numbers: [2, 17]
Generated Node #0,1,0: 86:[2, 17] Operation: 61-44=17
Exploring Operation: 44-2=42, Resulting Numbers: [61, 42]
Generated Node #0,1,1: 86:[61, 42] Operation: 44-2=42
Exploring Operation: 61-2=59, Resulting Numbers: [44, 59]
Generated Node #0,1,2: 86:[44, 59] Operation: 61-2=59
Exploring Operation: 44+61=105, Resulting Numbers: [2, 105]
Generated Node #0,1,3: 86:[2, 105] Operation: 44+61=105
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[2, 17], Operations: ['65-4=61', '61-44=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[44, 59], Operations: ['65-4=61', '61-2=59']
Exploring Operation: 44+59=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 44*59=2596, Resulting Numbers: [2596]
2596,86 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[61, 42], Operations: ['65-4=61', '44-2=42']
Exploring Operation: 61*42=2562, Resulting Numbers: [2562]
2562,86 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 61+42=103, Resulting Numbers: [103]
103,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[2, 105], Operations: ['65-4=61', '44+61=105']
Exploring Operation: 2*105=210, Resulting Numbers: [210]
210,86 unequal: No Solution
Exploring Operation: 105-2=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 2+105=107, Resulting Numbers: [107]
107,86 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: 86:[2, 4, 21], Operations: ['65-44=21']
Exploring Operation: 4*21=84, Resulting Numbers: [2, 84]
Generated Node #0,3,0: 86:[2, 84] Operation: 4*21=84
Exploring Operation: 2*21=42, Resulting Numbers: [4, 42]
Generated Node #0,3,1: 86:[4, 42] Operation: 2*21=42
Exploring Operation: 4+21=25, Resulting Numbers: [2, 25]
Generated Node #0,3,2: 86:[2, 25] Operation: 4+21=25
Exploring Operation: 21-4=17, Resulting Numbers: [2, 17]
Generated Node #0,3,3: 86:[2, 17] Operation: 21-4=17
Moving to Node #0,2
Current State: 86:[4, 44, 67], Operations: ['2+65=67']
Exploring Operation: 67-4=63, Resulting Numbers: [44, 63]
Generated Node #0,2,0: 86:[44, 63] Operation: 67-4=63
Exploring Operation: 44-4=40, Resulting Numbers: [67, 40]
Generated Node #0,2,1: 86:[67, 40] Operation: 44-4=40
Exploring Operation: 67-44=23, Resulting Numbers: [4, 23]
Generated Node #0,2,2: 86:[4, 23] Operation: 67-44=23
Exploring Operation: 4+67=71, Resulting Numbers: [44, 71]
Generated Node #0,2,3: 86:[44, 71] Operation: 4+67=71
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[44, 71], Operations: ['2+65=67', '4+67=71']
Exploring Operation: 44*71=3124, Resulting Numbers: [3124]
3124,86 unequal: No Solution
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 44+71=115, Resulting Numbers: [115]
115,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[44, 63], Operations: ['2+65=67', '67-4=63']
Exploring Operation: 44*63=2772, Resulting Numbers: [2772]
2772,86 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 44+63=107, Resulting Numbers: [107]
107,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[67, 40], Operations: ['2+65=67', '44-4=40']
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 67*40=2680, Resulting Numbers: [2680]
2680,86 unequal: No Solution
Exploring Operation: 67+40=107, Resulting Numbers: [107]
107,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[4, 23], Operations: ['2+65=67', '67-44=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 86:[2, 84], Operations: ['65-44=21', '4*21=84']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[2, 65, 4, 44], Operations: []
Exploring Operation: 65-44=21, Resulting Numbers: [2, 4, 21]
Generated Node #0,3: 86:[2, 4, 21] Operation: 65-44=21
Moving to Node #0,3
Current State: 86:[2, 4, 21], Operations: ['65-44=21']
Exploring Operation: 4*21=84, Resulting Numbers: [2, 84]
Generated Node #0,3,0: 86:[2, 84] Operation: 4*21=84
Moving to Node #0,3,0
Current State: 86:[2, 84], Operations: ['65-44=21', '4*21=84']
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.946181 | hs_4 | mult_heuristic |
[
14,
91,
85,
66
] | 96 | [
"91-14=77",
"85-66=19",
"77+19=96"
] | Current State: 96:[14, 91, 85, 66], Operations: []
Exploring Operation: 91-14=77, Resulting Numbers: [85, 66, 77]
Generated Node #2: [85, 66, 77] from Operation: 91-14=77
Current State: 96:[85, 66, 77], Operations: ['91-14=77']
Exploring Operation: 85-66=19, Resulting Numbers: [77, 19]
Generated Node #3: [77, 19] from Operation: 85-66=19
Current State: 96:[77, 19], Operations: ['91-14=77', '85-66=19']
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[14, 91, 85, 66], Operations: []
Exploring Operation: 66-14=52, Resulting Numbers: [91, 85, 52]
Generated Node #0,0: 96:[91, 85, 52] Operation: 66-14=52
Exploring Operation: 91-85=6, Resulting Numbers: [14, 66, 6]
Generated Node #0,1: 96:[14, 66, 6] Operation: 91-85=6
Exploring Operation: 91-66=25, Resulting Numbers: [14, 85, 25]
Generated Node #0,2: 96:[14, 85, 25] Operation: 91-66=25
Exploring Operation: 14+85=99, Resulting Numbers: [91, 66, 99]
Generated Node #0,3: 96:[91, 66, 99] Operation: 14+85=99
Exploring Operation: 85-66=19, Resulting Numbers: [14, 91, 19]
Generated Node #0,4: 96:[14, 91, 19] Operation: 85-66=19
Start Sub Search at level 1: Moving to Node #0,4
Current State: 96:[14, 91, 19], Operations: ['85-66=19']
Exploring Operation: 14+91=105, Resulting Numbers: [19, 105]
Generated Node #0,4,0: 96:[19, 105] Operation: 14+91=105
Exploring Operation: 19-14=5, Resulting Numbers: [91, 5]
Generated Node #0,4,1: 96:[91, 5] Operation: 19-14=5
Exploring Operation: 91-14=77, Resulting Numbers: [19, 77]
Generated Node #0,4,2: 96:[19, 77] Operation: 91-14=77
Exploring Operation: 91+19=110, Resulting Numbers: [14, 110]
Generated Node #0,4,3: 96:[14, 110] Operation: 91+19=110
Exploring Operation: 14+19=33, Resulting Numbers: [91, 33]
Generated Node #0,4,4: 96:[91, 33] Operation: 14+19=33
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 96:[91, 5], Operations: ['85-66=19', '19-14=5']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,96 unequal: No Solution
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[14, 91, 85, 66], Operations: []
Exploring Operation: 85-66=19, Resulting Numbers: [14, 91, 19]
Generated Node #0,4: 96:[14, 91, 19] Operation: 85-66=19
Moving to Node #0,4
Current State: 96:[14, 91, 19], Operations: ['85-66=19']
Exploring Operation: 19-14=5, Resulting Numbers: [91, 5]
Generated Node #0,4,1: 96:[91, 5] Operation: 19-14=5
Moving to Node #0,4,1
Current State: 96:[91, 5], Operations: ['85-66=19', '19-14=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
71,
24,
77,
4
] | 34 | [
"71-24=47",
"77+4=81",
"81-47=34"
] | Current State: 34:[71, 24, 77, 4], Operations: []
Exploring Operation: 71-24=47, Resulting Numbers: [77, 4, 47]
Generated Node #2: [77, 4, 47] from Operation: 71-24=47
Current State: 34:[77, 4, 47], Operations: ['71-24=47']
Exploring Operation: 77+4=81, Resulting Numbers: [47, 81]
Generated Node #3: [47, 81] from Operation: 77+4=81
Current State: 34:[47, 81], Operations: ['71-24=47', '77+4=81']
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[71, 24, 77, 4], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [24, 4, 6]
Generated Node #0,0: 34:[24, 4, 6] Operation: 77-71=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[24, 4, 6], Operations: ['77-71=6']
Exploring Operation: 24-6=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 34:[4, 18] Operation: 24-6=18
Moving to Node #0,0,0
Current State: 34:[4, 18], Operations: ['77-71=6', '24-6=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
42,
45,
16,
28
] | 69 | [
"42*16=672",
"672/28=24",
"45+24=69"
] | Current State: 69:[42, 45, 16, 28], Operations: []
Exploring Operation: 42*16=672, Resulting Numbers: [45, 28, 672]
Generated Node #2: [45, 28, 672] from Operation: 42*16=672
Current State: 69:[45, 28, 672], Operations: ['42*16=672']
Exploring Operation: 672/28=24, Resulting Numbers: [45, 24]
Generated Node #3: [45, 24] from Operation: 672/28=24
Current State: 69:[45, 24], Operations: ['42*16=672', '672/28=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[42, 45, 16, 28], Operations: []
Exploring Operation: 42+45=87, Resulting Numbers: [16, 28, 87]
Generated Node #0,0: 69:[16, 28, 87] Operation: 42+45=87
Exploring Operation: 45-42=3, Resulting Numbers: [16, 28, 3]
Generated Node #0,1: 69:[16, 28, 3] Operation: 45-42=3
Exploring Operation: 42-16=26, Resulting Numbers: [45, 28, 26]
Generated Node #0,2: 69:[45, 28, 26] Operation: 42-16=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[16, 28, 3], Operations: ['45-42=3']
Exploring Operation: 28-16=12, Resulting Numbers: [3, 12]
Generated Node #0,1,0: 69:[3, 12] Operation: 28-16=12
Exploring Operation: 28-3=25, Resulting Numbers: [16, 25]
Generated Node #0,1,1: 69:[16, 25] Operation: 28-3=25
Exploring Operation: 16+3=19, Resulting Numbers: [28, 19]
Generated Node #0,1,2: 69:[28, 19] Operation: 16+3=19
Moving to Node #0,1,0
Current State: 69:[3, 12], Operations: ['45-42=3', '28-16=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[16, 25], Operations: ['45-42=3', '28-3=25']
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,69 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[28, 19], Operations: ['45-42=3', '16+3=19']
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,69 unequal: No Solution
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,69 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[16, 28, 87], Operations: ['42+45=87']
Exploring Operation: 87-16=71, Resulting Numbers: [28, 71]
Generated Node #0,0,0: 69:[28, 71] Operation: 87-16=71
Exploring Operation: 87-28=59, Resulting Numbers: [16, 59]
Generated Node #0,0,1: 69:[16, 59] Operation: 87-28=59
Exploring Operation: 28-16=12, Resulting Numbers: [87, 12]
Generated Node #0,0,2: 69:[87, 12] Operation: 28-16=12
Moving to Node #0,0,0
Current State: 69:[28, 71], Operations: ['42+45=87', '87-16=71']
Exploring Operation: 28*71=1988, Resulting Numbers: [1988]
1988,69 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[16, 59], Operations: ['42+45=87', '87-28=59']
Exploring Operation: 16*59=944, Resulting Numbers: [944]
944,69 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[87, 12], Operations: ['42+45=87', '28-16=12']
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,69 unequal: No Solution
Exploring Operation: 87+12=99, Resulting Numbers: [99]
99,69 unequal: No Solution
Exploring Operation: 87*12=1044, Resulting Numbers: [1044]
1044,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[45, 28, 26], Operations: ['42-16=26']
Exploring Operation: 45+28=73, Resulting Numbers: [26, 73]
Generated Node #0,2,0: 69:[26, 73] Operation: 45+28=73
Exploring Operation: 45+26=71, Resulting Numbers: [28, 71]
Generated Node #0,2,1: 69:[28, 71] Operation: 45+26=71
Exploring Operation: 45-28=17, Resulting Numbers: [26, 17]
Generated Node #0,2,2: 69:[26, 17] Operation: 45-28=17
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 69:[26, 73], Operations: ['42-16=26', '45+28=73']
Exploring Operation: 26*73=1898, Resulting Numbers: [1898]
1898,69 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,69 unequal: No Solution
Exploring Operation: 26+73=99, Resulting Numbers: [99]
99,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 69:[28, 71], Operations: ['42-16=26', '45+26=71']
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,69 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 28*71=1988, Resulting Numbers: [1988]
1988,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 69:[26, 17], Operations: ['42-16=26', '45-28=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
22,
26,
31,
25
] | 54 | [
"22+26=48",
"31-25=6",
"48+6=54"
] | Current State: 54:[22, 26, 31, 25], Operations: []
Exploring Operation: 22+26=48, Resulting Numbers: [31, 25, 48]
Generated Node #2: [31, 25, 48] from Operation: 22+26=48
Current State: 54:[31, 25, 48], Operations: ['22+26=48']
Exploring Operation: 31-25=6, Resulting Numbers: [48, 6]
Generated Node #3: [48, 6] from Operation: 31-25=6
Current State: 54:[48, 6], Operations: ['22+26=48', '31-25=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[22, 26, 31, 25], Operations: []
Exploring Operation: 31-22=9, Resulting Numbers: [26, 25, 9]
Generated Node #0,0: 54:[26, 25, 9] Operation: 31-22=9
Exploring Operation: 22+31=53, Resulting Numbers: [26, 25, 53]
Generated Node #0,1: 54:[26, 25, 53] Operation: 22+31=53
Exploring Operation: 25-22=3, Resulting Numbers: [26, 31, 3]
Generated Node #0,2: 54:[26, 31, 3] Operation: 25-22=3
Moving to Node #0,0
Current State: 54:[26, 25, 9], Operations: ['31-22=9']
Exploring Operation: 26-9=17, Resulting Numbers: [25, 17]
Generated Node #0,0,0: 54:[25, 17] Operation: 26-9=17
Exploring Operation: 26+25=51, Resulting Numbers: [9, 51]
Generated Node #0,0,1: 54:[9, 51] Operation: 26+25=51
Exploring Operation: 26-25=1, Resulting Numbers: [9, 1]
Generated Node #0,0,2: 54:[9, 1] Operation: 26-25=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[9, 1], Operations: ['31-22=9', '26-25=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[25, 17], Operations: ['31-22=9', '26-9=17']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,54 unequal: No Solution
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[9, 51], Operations: ['31-22=9', '26+25=51']
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,54 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: 54:[26, 25, 53], Operations: ['22+31=53']
Exploring Operation: 26-25=1, Resulting Numbers: [53, 1]
Generated Node #0,1,0: 54:[53, 1] Operation: 26-25=1
Exploring Operation: 53-26=27, Resulting Numbers: [25, 27]
Generated Node #0,1,1: 54:[25, 27] Operation: 53-26=27
Exploring Operation: 53-25=28, Resulting Numbers: [26, 28]
Generated Node #0,1,2: 54:[26, 28] Operation: 53-25=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[53, 1], Operations: ['22+31=53', '26-25=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[22, 26, 31, 25], Operations: []
Exploring Operation: 22+31=53, Resulting Numbers: [26, 25, 53]
Generated Node #0,1: 54:[26, 25, 53] Operation: 22+31=53
Moving to Node #0,1
Current State: 54:[26, 25, 53], Operations: ['22+31=53']
Exploring Operation: 26-25=1, Resulting Numbers: [53, 1]
Generated Node #0,1,0: 54:[53, 1] Operation: 26-25=1
Moving to Node #0,1,0
Current State: 54:[53, 1], Operations: ['22+31=53', '26-25=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
70,
29,
73,
14
] | 45 | [
"73-70=3",
"29-14=15",
"3*15=45"
] | Current State: 45:[70, 29, 73, 14], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [29, 14, 3]
Generated Node #2: [29, 14, 3] from Operation: 73-70=3
Current State: 45:[29, 14, 3], Operations: ['73-70=3']
Exploring Operation: 29-14=15, Resulting Numbers: [3, 15]
Generated Node #3: [3, 15] from Operation: 29-14=15
Current State: 45:[3, 15], Operations: ['73-70=3', '29-14=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[70, 29, 73, 14], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [29, 14, 3]
Generated Node #0,0: 45:[29, 14, 3] Operation: 73-70=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[29, 14, 3], Operations: ['73-70=3']
Exploring Operation: 29-14=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 45:[3, 15] Operation: 29-14=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[3, 15], Operations: ['73-70=3', '29-14=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[70, 29, 73, 14], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [29, 14, 3]
Generated Node #0,0: 45:[29, 14, 3] Operation: 73-70=3
Moving to Node #0,0
Current State: 45:[29, 14, 3], Operations: ['73-70=3']
Exploring Operation: 29-14=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 45:[3, 15] Operation: 29-14=15
Moving to Node #0,0,0
Current State: 45:[3, 15], Operations: ['73-70=3', '29-14=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
11,
2,
51,
63
] | 68 | [
"51+63=114",
"114/2=57",
"11+57=68"
] | Current State: 68:[11, 2, 51, 63], Operations: []
Exploring Operation: 51+63=114, Resulting Numbers: [11, 2, 114]
Generated Node #2: [11, 2, 114] from Operation: 51+63=114
Current State: 68:[11, 2, 114], Operations: ['51+63=114']
Exploring Operation: 114/2=57, Resulting Numbers: [11, 57]
Generated Node #3: [11, 57] from Operation: 114/2=57
Current State: 68:[11, 57], Operations: ['51+63=114', '114/2=57']
Exploring Operation: 11+57=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[11, 2, 51, 63], Operations: []
Exploring Operation: 51-11=40, Resulting Numbers: [2, 63, 40]
Generated Node #0,0: 68:[2, 63, 40] Operation: 51-11=40
Exploring Operation: 11+51=62, Resulting Numbers: [2, 63, 62]
Generated Node #0,1: 68:[2, 63, 62] Operation: 11+51=62
Moving to Node #0,0
Current State: 68:[2, 63, 40], Operations: ['51-11=40']
Exploring Operation: 63-40=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 68:[2, 23] Operation: 63-40=23
Exploring Operation: 40/2=20, Resulting Numbers: [63, 20]
Generated Node #0,0,1: 68:[63, 20] Operation: 40/2=20
Moving to Node #0,1
Current State: 68:[2, 63, 62], Operations: ['11+51=62']
Exploring Operation: 63-62=1, Resulting Numbers: [2, 1]
Generated Node #0,1,0: 68:[2, 1] Operation: 63-62=1
Exploring Operation: 62/2=31, Resulting Numbers: [63, 31]
Generated Node #0,1,1: 68:[63, 31] Operation: 62/2=31
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[2, 1], Operations: ['11+51=62', '63-62=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[63, 31], Operations: ['11+51=62', '62/2=31']
Exploring Operation: 63+31=94, Resulting Numbers: [94]
94,68 unequal: No Solution
Exploring Operation: 63-31=32, Resulting Numbers: [32]
32,68 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: 68:[2, 23], Operations: ['51-11=40', '63-40=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[63, 20], Operations: ['51-11=40', '40/2=20']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,68 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
15,
6,
77,
34
] | 52 | [
"15-6=9",
"77-34=43",
"9+43=52"
] | Current State: 52:[15, 6, 77, 34], Operations: []
Exploring Operation: 15-6=9, Resulting Numbers: [77, 34, 9]
Generated Node #2: [77, 34, 9] from Operation: 15-6=9
Current State: 52:[77, 34, 9], Operations: ['15-6=9']
Exploring Operation: 77-34=43, Resulting Numbers: [9, 43]
Generated Node #3: [9, 43] from Operation: 77-34=43
Current State: 52:[9, 43], Operations: ['15-6=9', '77-34=43']
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[15, 6, 77, 34], Operations: []
Exploring Operation: 34-6=28, Resulting Numbers: [15, 77, 28]
Generated Node #0,0: 52:[15, 77, 28] Operation: 34-6=28
Exploring Operation: 77-34=43, Resulting Numbers: [15, 6, 43]
Generated Node #0,1: 52:[15, 6, 43] Operation: 77-34=43
Exploring Operation: 77-15=62, Resulting Numbers: [6, 34, 62]
Generated Node #0,2: 52:[6, 34, 62] Operation: 77-15=62
Exploring Operation: 77-6=71, Resulting Numbers: [15, 34, 71]
Generated Node #0,3: 52:[15, 34, 71] Operation: 77-6=71
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[15, 6, 43], Operations: ['77-34=43']
Exploring Operation: 6+43=49, Resulting Numbers: [15, 49]
Generated Node #0,1,0: 52:[15, 49] Operation: 6+43=49
Exploring Operation: 15+43=58, Resulting Numbers: [6, 58]
Generated Node #0,1,1: 52:[6, 58] Operation: 15+43=58
Exploring Operation: 15-6=9, Resulting Numbers: [43, 9]
Generated Node #0,1,2: 52:[43, 9] Operation: 15-6=9
Exploring Operation: 43-15=28, Resulting Numbers: [6, 28]
Generated Node #0,1,3: 52:[6, 28] Operation: 43-15=28
Moving to Node #0,1,3
Current State: 52:[6, 28], Operations: ['77-34=43', '43-15=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,52 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[15, 49], Operations: ['77-34=43', '6+43=49']
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,52 unequal: No Solution
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,52 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[6, 58], Operations: ['77-34=43', '15+43=58']
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,52 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[15, 6, 77, 34], Operations: []
Exploring Operation: 77-34=43, Resulting Numbers: [15, 6, 43]
Generated Node #0,1: 52:[15, 6, 43] Operation: 77-34=43
Moving to Node #0,1
Current State: 52:[15, 6, 43], Operations: ['77-34=43']
Exploring Operation: 15+43=58, Resulting Numbers: [6, 58]
Generated Node #0,1,1: 52:[6, 58] Operation: 15+43=58
Moving to Node #0,1,1
Current State: 52:[6, 58], Operations: ['77-34=43', '15+43=58']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
43,
10,
97,
9
] | 55 | [
"43-10=33",
"97-9=88",
"88-33=55"
] | Current State: 55:[43, 10, 97, 9], Operations: []
Exploring Operation: 43-10=33, Resulting Numbers: [97, 9, 33]
Generated Node #2: [97, 9, 33] from Operation: 43-10=33
Current State: 55:[97, 9, 33], Operations: ['43-10=33']
Exploring Operation: 97-9=88, Resulting Numbers: [33, 88]
Generated Node #3: [33, 88] from Operation: 97-9=88
Current State: 55:[33, 88], Operations: ['43-10=33', '97-9=88']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[43, 10, 97, 9], Operations: []
Exploring Operation: 97-10=87, Resulting Numbers: [43, 9, 87]
Generated Node #0,0: 55:[43, 9, 87] Operation: 97-10=87
Exploring Operation: 97-43=54, Resulting Numbers: [10, 9, 54]
Generated Node #0,1: 55:[10, 9, 54] Operation: 97-43=54
Exploring Operation: 43+10=53, Resulting Numbers: [97, 9, 53]
Generated Node #0,2: 55:[97, 9, 53] Operation: 43+10=53
Exploring Operation: 43+9=52, Resulting Numbers: [10, 97, 52]
Generated Node #0,3: 55:[10, 97, 52] Operation: 43+9=52
Moving to Node #0,1
Current State: 55:[10, 9, 54], Operations: ['97-43=54']
Exploring Operation: 54/9=6, Resulting Numbers: [10, 6]
Generated Node #0,1,0: 55:[10, 6] Operation: 54/9=6
Exploring Operation: 10-9=1, Resulting Numbers: [54, 1]
Generated Node #0,1,1: 55:[54, 1] Operation: 10-9=1
Exploring Operation: 9+54=63, Resulting Numbers: [10, 63]
Generated Node #0,1,2: 55:[10, 63] Operation: 9+54=63
Exploring Operation: 10+9=19, Resulting Numbers: [54, 19]
Generated Node #0,1,3: 55:[54, 19] Operation: 10+9=19
Moving to Node #0,2
Current State: 55:[97, 9, 53], Operations: ['43+10=53']
Exploring Operation: 97-9=88, Resulting Numbers: [53, 88]
Generated Node #0,2,0: 55:[53, 88] Operation: 97-9=88
Exploring Operation: 97+9=106, Resulting Numbers: [53, 106]
Generated Node #0,2,1: 55:[53, 106] Operation: 97+9=106
Exploring Operation: 97-53=44, Resulting Numbers: [9, 44]
Generated Node #0,2,2: 55:[9, 44] Operation: 97-53=44
Exploring Operation: 9+53=62, Resulting Numbers: [97, 62]
Generated Node #0,2,3: 55:[97, 62] Operation: 9+53=62
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[9, 44], Operations: ['43+10=53', '97-53=44']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,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,0
Current State: 55:[53, 88], Operations: ['43+10=53', '97-9=88']
Exploring Operation: 53*88=4664, Resulting Numbers: [4664]
4664,55 unequal: No Solution
Exploring Operation: 88-53=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 53+88=141, Resulting Numbers: [141]
141,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,3
Current State: 55:[97, 62], Operations: ['43+10=53', '9+53=62']
Exploring Operation: 97+62=159, Resulting Numbers: [159]
159,55 unequal: No Solution
Exploring Operation: 97*62=6014, Resulting Numbers: [6014]
6014,55 unequal: No Solution
Exploring Operation: 97-62=35, Resulting Numbers: [35]
35,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,1
Current State: 55:[53, 106], Operations: ['43+10=53', '97+9=106']
Exploring Operation: 53*106=5618, Resulting Numbers: [5618]
5618,55 unequal: No Solution
Exploring Operation: 53+106=159, Resulting Numbers: [159]
159,55 unequal: No Solution
Exploring Operation: 106/53=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 106-53=53, Resulting Numbers: [53]
53,55 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: 55:[43, 9, 87], Operations: ['97-10=87']
Exploring Operation: 87-43=44, Resulting Numbers: [9, 44]
Generated Node #0,0,0: 55:[9, 44] Operation: 87-43=44
Exploring Operation: 87-9=78, Resulting Numbers: [43, 78]
Generated Node #0,0,1: 55:[43, 78] Operation: 87-9=78
Exploring Operation: 43-9=34, Resulting Numbers: [87, 34]
Generated Node #0,0,2: 55:[87, 34] Operation: 43-9=34
Exploring Operation: 43+9=52, Resulting Numbers: [87, 52]
Generated Node #0,0,3: 55:[87, 52] Operation: 43+9=52
Moving to Node #0,3
Current State: 55:[10, 97, 52], Operations: ['43+9=52']
Exploring Operation: 10+97=107, Resulting Numbers: [52, 107]
Generated Node #0,3,0: 55:[52, 107] Operation: 10+97=107
Exploring Operation: 10+52=62, Resulting Numbers: [97, 62]
Generated Node #0,3,1: 55:[97, 62] Operation: 10+52=62
Exploring Operation: 97-10=87, Resulting Numbers: [52, 87]
Generated Node #0,3,2: 55:[52, 87] Operation: 97-10=87
Exploring Operation: 97-52=45, Resulting Numbers: [10, 45]
Generated Node #0,3,3: 55:[10, 45] Operation: 97-52=45
Moving to Node #0,1,0
Current State: 55:[10, 6], Operations: ['97-43=54', '54/9=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[54, 1], Operations: ['97-43=54', '10-9=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[43, 10, 97, 9], Operations: []
Exploring Operation: 97-43=54, Resulting Numbers: [10, 9, 54]
Generated Node #0,1: 55:[10, 9, 54] Operation: 97-43=54
Moving to Node #0,1
Current State: 55:[10, 9, 54], Operations: ['97-43=54']
Exploring Operation: 10-9=1, Resulting Numbers: [54, 1]
Generated Node #0,1,1: 55:[54, 1] Operation: 10-9=1
Moving to Node #0,1,1
Current State: 55:[54, 1], Operations: ['97-43=54', '10-9=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.96441 | hs_4 | mult_heuristic |
[
57,
72,
9,
89
] | 83 | [
"72-57=15",
"9+89=98",
"98-15=83"
] | Current State: 83:[57, 72, 9, 89], Operations: []
Exploring Operation: 72-57=15, Resulting Numbers: [9, 89, 15]
Generated Node #2: [9, 89, 15] from Operation: 72-57=15
Current State: 83:[9, 89, 15], Operations: ['72-57=15']
Exploring Operation: 9+89=98, Resulting Numbers: [15, 98]
Generated Node #3: [15, 98] from Operation: 9+89=98
Current State: 83:[15, 98], Operations: ['72-57=15', '9+89=98']
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[57, 72, 9, 89], Operations: []
Exploring Operation: 57+9=66, Resulting Numbers: [72, 89, 66]
Generated Node #0,0: 83:[72, 89, 66] Operation: 57+9=66
Exploring Operation: 72+9=81, Resulting Numbers: [57, 89, 81]
Generated Node #0,1: 83:[57, 89, 81] Operation: 72+9=81
Moving to Node #0,0
Current State: 83:[72, 89, 66], Operations: ['57+9=66']
Exploring Operation: 89-66=23, Resulting Numbers: [72, 23]
Generated Node #0,0,0: 83:[72, 23] Operation: 89-66=23
Exploring Operation: 72+66=138, Resulting Numbers: [89, 138]
Generated Node #0,0,1: 83:[89, 138] Operation: 72+66=138
Moving to Node #0,1
Current State: 83:[57, 89, 81], Operations: ['72+9=81']
Exploring Operation: 89-57=32, Resulting Numbers: [81, 32]
Generated Node #0,1,0: 83:[81, 32] Operation: 89-57=32
Exploring Operation: 57+81=138, Resulting Numbers: [89, 138]
Generated Node #0,1,1: 83:[89, 138] Operation: 57+81=138
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[81, 32], Operations: ['72+9=81', '89-57=32']
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 81+32=113, Resulting Numbers: [113]
113,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:[89, 138], Operations: ['72+9=81', '57+81=138']
Exploring Operation: 89+138=227, Resulting Numbers: [227]
227,83 unequal: No Solution
Exploring Operation: 138-89=49, Resulting Numbers: [49]
49,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:[89, 138], Operations: ['57+9=66', '72+66=138']
Exploring Operation: 138-89=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 89+138=227, Resulting Numbers: [227]
227,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[72, 23], Operations: ['57+9=66', '89-66=23']
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,83 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
77,
31,
26,
99
] | 17 | [
"77+31=108",
"26+99=125",
"125-108=17"
] | Current State: 17:[77, 31, 26, 99], Operations: []
Exploring Operation: 77+31=108, Resulting Numbers: [26, 99, 108]
Generated Node #2: [26, 99, 108] from Operation: 77+31=108
Current State: 17:[26, 99, 108], Operations: ['77+31=108']
Exploring Operation: 26+99=125, Resulting Numbers: [108, 125]
Generated Node #3: [108, 125] from Operation: 26+99=125
Current State: 17:[108, 125], Operations: ['77+31=108', '26+99=125']
Exploring Operation: 125-108=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[77, 31, 26, 99], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [31, 26, 22]
Generated Node #0,0: 17:[31, 26, 22] Operation: 99-77=22
Exploring Operation: 77-31=46, Resulting Numbers: [26, 99, 46]
Generated Node #0,1: 17:[26, 99, 46] Operation: 77-31=46
Moving to Node #0,0
Current State: 17:[31, 26, 22], Operations: ['99-77=22']
Exploring Operation: 31-22=9, Resulting Numbers: [26, 9]
Generated Node #0,0,0: 17:[26, 9] Operation: 31-22=9
Exploring Operation: 31-26=5, Resulting Numbers: [22, 5]
Generated Node #0,0,1: 17:[22, 5] Operation: 31-26=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[26, 9], Operations: ['99-77=22', '31-22=9']
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[77, 31, 26, 99], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [31, 26, 22]
Generated Node #0,0: 17:[31, 26, 22] Operation: 99-77=22
Moving to Node #0,0
Current State: 17:[31, 26, 22], Operations: ['99-77=22']
Exploring Operation: 31-22=9, Resulting Numbers: [26, 9]
Generated Node #0,0,0: 17:[26, 9] Operation: 31-22=9
Moving to Node #0,0,0
Current State: 17:[26, 9], Operations: ['99-77=22', '31-22=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
59,
26,
70,
74
] | 59 | [
"59+26=85",
"70+74=144",
"144-85=59"
] | Current State: 59:[59, 26, 70, 74], Operations: []
Exploring Operation: 59+26=85, Resulting Numbers: [70, 74, 85]
Generated Node #2: [70, 74, 85] from Operation: 59+26=85
Current State: 59:[70, 74, 85], Operations: ['59+26=85']
Exploring Operation: 70+74=144, Resulting Numbers: [85, 144]
Generated Node #3: [85, 144] from Operation: 70+74=144
Current State: 59:[85, 144], Operations: ['59+26=85', '70+74=144']
Exploring Operation: 144-85=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[59, 26, 70, 74], Operations: []
Exploring Operation: 70-26=44, Resulting Numbers: [59, 74, 44]
Generated Node #0,0: 59:[59, 74, 44] Operation: 70-26=44
Exploring Operation: 74-26=48, Resulting Numbers: [59, 70, 48]
Generated Node #0,1: 59:[59, 70, 48] Operation: 74-26=48
Exploring Operation: 59+26=85, Resulting Numbers: [70, 74, 85]
Generated Node #0,2: 59:[70, 74, 85] Operation: 59+26=85
Moving to Node #0,1
Current State: 59:[59, 70, 48], Operations: ['74-26=48']
Exploring Operation: 59+48=107, Resulting Numbers: [70, 107]
Generated Node #0,1,0: 59:[70, 107] Operation: 59+48=107
Exploring Operation: 70-59=11, Resulting Numbers: [48, 11]
Generated Node #0,1,1: 59:[48, 11] Operation: 70-59=11
Exploring Operation: 70-48=22, Resulting Numbers: [59, 22]
Generated Node #0,1,2: 59:[59, 22] Operation: 70-48=22
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[59, 22], Operations: ['74-26=48', '70-48=22']
Exploring Operation: 59*22=1298, Resulting Numbers: [1298]
1298,59 unequal: No Solution
Exploring Operation: 59+22=81, Resulting Numbers: [81]
81,59 unequal: No Solution
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[70, 107], Operations: ['74-26=48', '59+48=107']
Exploring Operation: 70+107=177, Resulting Numbers: [177]
177,59 unequal: No Solution
Exploring Operation: 70*107=7490, Resulting Numbers: [7490]
7490,59 unequal: No Solution
Exploring Operation: 107-70=37, Resulting Numbers: [37]
37,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[48, 11], Operations: ['74-26=48', '70-59=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[59, 26, 70, 74], Operations: []
Exploring Operation: 74-26=48, Resulting Numbers: [59, 70, 48]
Generated Node #0,1: 59:[59, 70, 48] Operation: 74-26=48
Moving to Node #0,1
Current State: 59:[59, 70, 48], Operations: ['74-26=48']
Exploring Operation: 70-59=11, Resulting Numbers: [48, 11]
Generated Node #0,1,1: 59:[48, 11] Operation: 70-59=11
Moving to Node #0,1,1
Current State: 59:[48, 11], Operations: ['74-26=48', '70-59=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
14,
28,
44,
89
] | 14 | [
"14*89=1246",
"28*44=1232",
"1246-1232=14"
] | Current State: 14:[14, 28, 44, 89], Operations: []
Exploring Operation: 14*89=1246, Resulting Numbers: [28, 44, 1246]
Generated Node #2: [28, 44, 1246] from Operation: 14*89=1246
Current State: 14:[28, 44, 1246], Operations: ['14*89=1246']
Exploring Operation: 28*44=1232, Resulting Numbers: [1246, 1232]
Generated Node #3: [1246, 1232] from Operation: 28*44=1232
Current State: 14:[1246, 1232], Operations: ['14*89=1246', '28*44=1232']
Exploring Operation: 1246-1232=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[14, 28, 44, 89], Operations: []
Exploring Operation: 89-44=45, Resulting Numbers: [14, 28, 45]
Generated Node #0,0: 14:[14, 28, 45] Operation: 89-44=45
Moving to Node #0,0
Current State: 14:[14, 28, 45], Operations: ['89-44=45']
Exploring Operation: 45-28=17, Resulting Numbers: [14, 17]
Generated Node #0,0,0: 14:[14, 17] Operation: 45-28=17
Moving to Node #0,0,0
Current State: 14:[14, 17], Operations: ['89-44=45', '45-28=17']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,14 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
7,
2,
19
] | 80 | [
"56+7=63",
"19-2=17",
"63+17=80"
] | Current State: 80:[56, 7, 2, 19], Operations: []
Exploring Operation: 56+7=63, Resulting Numbers: [2, 19, 63]
Generated Node #2: [2, 19, 63] from Operation: 56+7=63
Current State: 80:[2, 19, 63], Operations: ['56+7=63']
Exploring Operation: 19-2=17, Resulting Numbers: [63, 17]
Generated Node #3: [63, 17] from Operation: 19-2=17
Current State: 80:[63, 17], Operations: ['56+7=63', '19-2=17']
Exploring Operation: 63+17=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[56, 7, 2, 19], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [2, 19, 8]
Generated Node #0,0: 80:[2, 19, 8] Operation: 56/7=8
Exploring Operation: 56/2=28, Resulting Numbers: [7, 19, 28]
Generated Node #0,1: 80:[7, 19, 28] Operation: 56/2=28
Exploring Operation: 56-19=37, Resulting Numbers: [7, 2, 37]
Generated Node #0,2: 80:[7, 2, 37] Operation: 56-19=37
Exploring Operation: 56-7=49, Resulting Numbers: [2, 19, 49]
Generated Node #0,3: 80:[2, 19, 49] Operation: 56-7=49
Exploring Operation: 56+19=75, Resulting Numbers: [7, 2, 75]
Generated Node #0,4: 80:[7, 2, 75] Operation: 56+19=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[2, 19, 8], Operations: ['56/7=8']
Exploring Operation: 8/2=4, Resulting Numbers: [19, 4]
Generated Node #0,0,0: 80:[19, 4] Operation: 8/2=4
Exploring Operation: 2+8=10, Resulting Numbers: [19, 10]
Generated Node #0,0,1: 80:[19, 10] Operation: 2+8=10
Exploring Operation: 2*8=16, Resulting Numbers: [19, 16]
Generated Node #0,0,2: 80:[19, 16] Operation: 2*8=16
Exploring Operation: 19-2=17, Resulting Numbers: [8, 17]
Generated Node #0,0,3: 80:[8, 17] Operation: 19-2=17
Exploring Operation: 2+19=21, Resulting Numbers: [8, 21]
Generated Node #0,0,4: 80:[8, 21] Operation: 2+19=21
Moving to Node #0,0,0
Current State: 80:[19, 4], Operations: ['56/7=8', '8/2=4']
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[19, 16], Operations: ['56/7=8', '2*8=16']
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,80 unequal: No Solution
Exploring Operation: 19*16=304, Resulting Numbers: [304]
304,80 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Moving to Node #0,0,4
Current State: 80:[8, 21], Operations: ['56/7=8', '2+19=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,80 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,80 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[19, 10], Operations: ['56/7=8', '2+8=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,80 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,80 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Moving to Node #0,0,3
Current State: 80:[8, 17], Operations: ['56/7=8', '19-2=17']
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,80 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[7, 2, 37], Operations: ['56-19=37']
Exploring Operation: 2+37=39, Resulting Numbers: [7, 39]
Generated Node #0,2,0: 80:[7, 39] Operation: 2+37=39
Exploring Operation: 7-2=5, Resulting Numbers: [37, 5]
Generated Node #0,2,1: 80:[37, 5] Operation: 7-2=5
Exploring Operation: 7+2=9, Resulting Numbers: [37, 9]
Generated Node #0,2,2: 80:[37, 9] Operation: 7+2=9
Exploring Operation: 7+37=44, Resulting Numbers: [2, 44]
Generated Node #0,2,3: 80:[2, 44] Operation: 7+37=44
Exploring Operation: 7*2=14, Resulting Numbers: [37, 14]
Generated Node #0,2,4: 80:[37, 14] Operation: 7*2=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 80:[7, 39], Operations: ['56-19=37', '2+37=39']
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,80 unequal: No Solution
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,80 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,80 unequal: No Solution
No 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: 80:[37, 5], Operations: ['56-19=37', '7-2=5']
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,80 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,80 unequal: No Solution
No 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: 80:[37, 9], Operations: ['56-19=37', '7+2=9']
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,80 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,80 unequal: No Solution
No 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: 80:[2, 44], Operations: ['56-19=37', '7+37=44']
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,80 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,80 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 80:[37, 14], Operations: ['56-19=37', '7*2=14']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,80 unequal: No Solution
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 80:[7, 2, 75], Operations: ['56+19=75']
Exploring Operation: 7-2=5, Resulting Numbers: [75, 5]
Generated Node #0,4,0: 80:[75, 5] Operation: 7-2=5
Exploring Operation: 7*2=14, Resulting Numbers: [75, 14]
Generated Node #0,4,1: 80:[75, 14] Operation: 7*2=14
Exploring Operation: 7+75=82, Resulting Numbers: [2, 82]
Generated Node #0,4,2: 80:[2, 82] Operation: 7+75=82
Exploring Operation: 7+2=9, Resulting Numbers: [75, 9]
Generated Node #0,4,3: 80:[75, 9] Operation: 7+2=9
Exploring Operation: 2+75=77, Resulting Numbers: [7, 77]
Generated Node #0,4,4: 80:[7, 77] Operation: 2+75=77
Moving to Node #0,4,2
Current State: 80:[2, 82], Operations: ['56+19=75', '7+75=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,80 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[56, 7, 2, 19], Operations: []
Exploring Operation: 56+19=75, Resulting Numbers: [7, 2, 75]
Generated Node #0,4: 80:[7, 2, 75] Operation: 56+19=75
Moving to Node #0,4
Current State: 80:[7, 2, 75], Operations: ['56+19=75']
Exploring Operation: 7+75=82, Resulting Numbers: [2, 82]
Generated Node #0,4,2: 80:[2, 82] Operation: 7+75=82
Moving to Node #0,4,2
Current State: 80:[2, 82], Operations: ['56+19=75', '7+75=82']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 | hs_5 | mult_heuristic |
[
61,
41,
45,
1
] | 15 | [
"61-1=60",
"45-41=4",
"60/4=15"
] | Current State: 15:[61, 41, 45, 1], Operations: []
Exploring Operation: 61-1=60, Resulting Numbers: [41, 45, 60]
Generated Node #2: [41, 45, 60] from Operation: 61-1=60
Current State: 15:[41, 45, 60], Operations: ['61-1=60']
Exploring Operation: 45-41=4, Resulting Numbers: [60, 4]
Generated Node #3: [60, 4] from Operation: 45-41=4
Current State: 15:[60, 4], Operations: ['61-1=60', '45-41=4']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[61, 41, 45, 1], Operations: []
Exploring Operation: 61-45=16, Resulting Numbers: [41, 1, 16]
Generated Node #0,0: 15:[41, 1, 16] Operation: 61-45=16
Exploring Operation: 61-41=20, Resulting Numbers: [45, 1, 20]
Generated Node #0,1: 15:[45, 1, 20] Operation: 61-41=20
Exploring Operation: 45-41=4, Resulting Numbers: [61, 1, 4]
Generated Node #0,2: 15:[61, 1, 4] Operation: 45-41=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[41, 1, 16], Operations: ['61-45=16']
Exploring Operation: 41-1=40, Resulting Numbers: [16, 40]
Generated Node #0,0,0: 15:[16, 40] Operation: 41-1=40
Exploring Operation: 41-16=25, Resulting Numbers: [1, 25]
Generated Node #0,0,1: 15:[1, 25] Operation: 41-16=25
Exploring Operation: 16-1=15, Resulting Numbers: [41, 15]
Generated Node #0,0,2: 15:[41, 15] Operation: 16-1=15
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 15:[1, 25], Operations: ['61-45=16', '41-16=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,15 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[16, 40], Operations: ['61-45=16', '41-1=40']
Exploring Operation: 16*40=640, Resulting Numbers: [640]
640,15 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 15:[41, 15], Operations: ['61-45=16', '16-1=15']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,15 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: 15:[45, 1, 20], Operations: ['61-41=20']
Exploring Operation: 20-1=19, Resulting Numbers: [45, 19]
Generated Node #0,1,0: 15:[45, 19] Operation: 20-1=19
Exploring Operation: 45-20=25, Resulting Numbers: [1, 25]
Generated Node #0,1,1: 15:[1, 25] Operation: 45-20=25
Exploring Operation: 45-1=44, Resulting Numbers: [20, 44]
Generated Node #0,1,2: 15:[20, 44] Operation: 45-1=44
Moving to Node #0,1,1
Current State: 15:[1, 25], Operations: ['61-41=20', '45-20=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,15 unequal: No Solution
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[45, 19], Operations: ['61-41=20', '20-1=19']
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,15 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[20, 44], Operations: ['61-41=20', '45-1=44']
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,15 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,15 unequal: No Solution
No 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: 15:[61, 1, 4], Operations: ['45-41=4']
Exploring Operation: 61-4=57, Resulting Numbers: [1, 57]
Generated Node #0,2,0: 15:[1, 57] Operation: 61-4=57
Exploring Operation: 61-1=60, Resulting Numbers: [4, 60]
Generated Node #0,2,1: 15:[4, 60] Operation: 61-1=60
Exploring Operation: 1+4=5, Resulting Numbers: [61, 5]
Generated Node #0,2,2: 15:[61, 5] Operation: 1+4=5
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[1, 57], Operations: ['45-41=4', '61-4=57']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,15 unequal: No Solution
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,15 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[4, 60], Operations: ['45-41=4', '61-1=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[61, 41, 45, 1], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [61, 1, 4]
Generated Node #0,2: 15:[61, 1, 4] Operation: 45-41=4
Moving to Node #0,2
Current State: 15:[61, 1, 4], Operations: ['45-41=4']
Exploring Operation: 61-1=60, Resulting Numbers: [4, 60]
Generated Node #0,2,1: 15:[4, 60] Operation: 61-1=60
Moving to Node #0,2,1
Current State: 15:[4, 60], Operations: ['45-41=4', '61-1=60']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_3 | sum_heuristic |
[
93,
8,
45,
38
] | 62 | [
"38-8=30",
"93*30=2790",
"2790/45=62"
] | Current State: 62:[93, 8, 45, 38], Operations: []
Exploring Operation: 38-8=30, Resulting Numbers: [93, 45, 30]
Generated Node #2: [93, 45, 30] from Operation: 38-8=30
Current State: 62:[93, 45, 30], Operations: ['38-8=30']
Exploring Operation: 93*30=2790, Resulting Numbers: [45, 2790]
Generated Node #3: [45, 2790] from Operation: 93*30=2790
Current State: 62:[45, 2790], Operations: ['38-8=30', '93*30=2790']
Exploring Operation: 2790/45=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[93, 8, 45, 38], Operations: []
Exploring Operation: 93-8=85, Resulting Numbers: [45, 38, 85]
Generated Node #0,0: 62:[45, 38, 85] Operation: 93-8=85
Exploring Operation: 93-38=55, Resulting Numbers: [8, 45, 55]
Generated Node #0,1: 62:[8, 45, 55] Operation: 93-38=55
Exploring Operation: 93-45=48, Resulting Numbers: [8, 38, 48]
Generated Node #0,2: 62:[8, 38, 48] Operation: 93-45=48
Exploring Operation: 45-38=7, Resulting Numbers: [93, 8, 7]
Generated Node #0,3: 62:[93, 8, 7] Operation: 45-38=7
Moving to Node #0,1
Current State: 62:[8, 45, 55], Operations: ['93-38=55']
Exploring Operation: 55-45=10, Resulting Numbers: [8, 10]
Generated Node #0,1,0: 62:[8, 10] Operation: 55-45=10
Exploring Operation: 45-8=37, Resulting Numbers: [55, 37]
Generated Node #0,1,1: 62:[55, 37] Operation: 45-8=37
Exploring Operation: 8+45=53, Resulting Numbers: [55, 53]
Generated Node #0,1,2: 62:[55, 53] Operation: 8+45=53
Exploring Operation: 8+55=63, Resulting Numbers: [45, 63]
Generated Node #0,1,3: 62:[45, 63] Operation: 8+55=63
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[55, 37], Operations: ['93-38=55', '45-8=37']
Exploring Operation: 55+37=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 55*37=2035, Resulting Numbers: [2035]
2035,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[8, 10], Operations: ['93-38=55', '55-45=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,62 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 62:[45, 63], Operations: ['93-38=55', '8+55=63']
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 45*63=2835, Resulting Numbers: [2835]
2835,62 unequal: No Solution
Exploring Operation: 45+63=108, Resulting Numbers: [108]
108,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[55, 53], Operations: ['93-38=55', '8+45=53']
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 55+53=108, Resulting Numbers: [108]
108,62 unequal: No Solution
Exploring Operation: 55*53=2915, Resulting Numbers: [2915]
2915,62 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: 62:[8, 38, 48], Operations: ['93-45=48']
Exploring Operation: 8+48=56, Resulting Numbers: [38, 56]
Generated Node #0,2,0: 62:[38, 56] Operation: 8+48=56
Exploring Operation: 48/8=6, Resulting Numbers: [38, 6]
Generated Node #0,2,1: 62:[38, 6] Operation: 48/8=6
Exploring Operation: 48-38=10, Resulting Numbers: [8, 10]
Generated Node #0,2,2: 62:[8, 10] Operation: 48-38=10
Exploring Operation: 38-8=30, Resulting Numbers: [48, 30]
Generated Node #0,2,3: 62:[48, 30] Operation: 38-8=30
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[38, 6], Operations: ['93-45=48', '48/8=6']
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,62 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[38, 56], Operations: ['93-45=48', '8+48=56']
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[8, 10], Operations: ['93-45=48', '48-38=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,62 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[48, 30], Operations: ['93-45=48', '38-8=30']
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,62 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 62:[93, 8, 7], Operations: ['45-38=7']
Exploring Operation: 8-7=1, Resulting Numbers: [93, 1]
Generated Node #0,3,0: 62:[93, 1] Operation: 8-7=1
Exploring Operation: 93-8=85, Resulting Numbers: [7, 85]
Generated Node #0,3,1: 62:[7, 85] Operation: 93-8=85
Exploring Operation: 93-7=86, Resulting Numbers: [8, 86]
Generated Node #0,3,2: 62:[8, 86] Operation: 93-7=86
Exploring Operation: 8*7=56, Resulting Numbers: [93, 56]
Generated Node #0,3,3: 62:[93, 56] Operation: 8*7=56
Moving to Node #0,0
Current State: 62:[45, 38, 85], Operations: ['93-8=85']
Exploring Operation: 45-38=7, Resulting Numbers: [85, 7]
Generated Node #0,0,0: 62:[85, 7] Operation: 45-38=7
Exploring Operation: 85-38=47, Resulting Numbers: [45, 47]
Generated Node #0,0,1: 62:[45, 47] Operation: 85-38=47
Exploring Operation: 45+38=83, Resulting Numbers: [85, 83]
Generated Node #0,0,2: 62:[85, 83] Operation: 45+38=83
Exploring Operation: 85-45=40, Resulting Numbers: [38, 40]
Generated Node #0,0,3: 62:[38, 40] Operation: 85-45=40
Moving to Node #0,0,3
Current State: 62:[38, 40], Operations: ['93-8=85', '85-45=40']
Exploring Operation: 38*40=1520, Resulting Numbers: [1520]
1520,62 unequal: No Solution
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[85, 7], Operations: ['93-8=85', '45-38=7']
Exploring Operation: 85*7=595, Resulting Numbers: [595]
595,62 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[7, 85], Operations: ['45-38=7', '93-8=85']
Exploring Operation: 7*85=595, Resulting Numbers: [595]
595,62 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Exploring Operation: 7+85=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[45, 47], Operations: ['93-8=85', '85-38=47']
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,62 unequal: No Solution
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[8, 86], Operations: ['45-38=7', '93-7=86']
Exploring Operation: 8*86=688, Resulting Numbers: [688]
688,62 unequal: No Solution
Exploring Operation: 8+86=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[93, 1], Operations: ['45-38=7', '8-7=1']
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[93, 56], Operations: ['45-38=7', '8*7=56']
Exploring Operation: 93+56=149, Resulting Numbers: [149]
149,62 unequal: No Solution
Exploring Operation: 93-56=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 93*56=5208, Resulting Numbers: [5208]
5208,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[85, 83], Operations: ['93-8=85', '45+38=83']
Exploring Operation: 85+83=168, Resulting Numbers: [168]
168,62 unequal: No Solution
Exploring Operation: 85-83=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 85*83=7055, Resulting Numbers: [7055]
7055,62 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
34,
40,
30,
20
] | 38 | [
"34*40=1360",
"1360/20=68",
"68-30=38"
] | Current State: 38:[34, 40, 30, 20], Operations: []
Exploring Operation: 34*40=1360, Resulting Numbers: [30, 20, 1360]
Generated Node #2: [30, 20, 1360] from Operation: 34*40=1360
Current State: 38:[30, 20, 1360], Operations: ['34*40=1360']
Exploring Operation: 1360/20=68, Resulting Numbers: [30, 68]
Generated Node #3: [30, 68] from Operation: 1360/20=68
Current State: 38:[30, 68], Operations: ['34*40=1360', '1360/20=68']
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[34, 40, 30, 20], Operations: []
Exploring Operation: 40-34=6, Resulting Numbers: [30, 20, 6]
Generated Node #0,0: 38:[30, 20, 6] Operation: 40-34=6
Exploring Operation: 34-30=4, Resulting Numbers: [40, 20, 4]
Generated Node #0,1: 38:[40, 20, 4] Operation: 34-30=4
Exploring Operation: 40/20=2, Resulting Numbers: [34, 30, 2]
Generated Node #0,2: 38:[34, 30, 2] Operation: 40/20=2
Moving to Node #0,1
Current State: 38:[40, 20, 4], Operations: ['34-30=4']
Exploring Operation: 40/20=2, Resulting Numbers: [4, 2]
Generated Node #0,1,0: 38:[4, 2] Operation: 40/20=2
Exploring Operation: 40-4=36, Resulting Numbers: [20, 36]
Generated Node #0,1,1: 38:[20, 36] Operation: 40-4=36
Exploring Operation: 40-20=20, Resulting Numbers: [4, 20]
Generated Node #0,1,2: 38:[4, 20] Operation: 40-20=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[4, 2], Operations: ['34-30=4', '40/20=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[20, 36], Operations: ['34-30=4', '40-4=36']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 20*36=720, Resulting Numbers: [720]
720,38 unequal: No Solution
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[4, 20], Operations: ['34-30=4', '40-20=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,38 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: 38:[34, 30, 2], Operations: ['40/20=2']
Exploring Operation: 34-30=4, Resulting Numbers: [2, 4]
Generated Node #0,2,0: 38:[2, 4] Operation: 34-30=4
Exploring Operation: 34+2=36, Resulting Numbers: [30, 36]
Generated Node #0,2,1: 38:[30, 36] Operation: 34+2=36
Exploring Operation: 30/2=15, Resulting Numbers: [34, 15]
Generated Node #0,2,2: 38:[34, 15] Operation: 30/2=15
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[2, 4], Operations: ['40/20=2', '34-30=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[34, 15], Operations: ['40/20=2', '30/2=15']
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,38 unequal: No Solution
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[30, 36], Operations: ['40/20=2', '34+2=36']
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,38 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,38 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: 38:[30, 20, 6], Operations: ['40-34=6']
Exploring Operation: 30+6=36, Resulting Numbers: [20, 36]
Generated Node #0,0,0: 38:[20, 36] Operation: 30+6=36
Exploring Operation: 30-6=24, Resulting Numbers: [20, 24]
Generated Node #0,0,1: 38:[20, 24] Operation: 30-6=24
Exploring Operation: 30/6=5, Resulting Numbers: [20, 5]
Generated Node #0,0,2: 38:[20, 5] Operation: 30/6=5
Moving to Node #0,0,0
Current State: 38:[20, 36], Operations: ['40-34=6', '30+6=36']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 20*36=720, Resulting Numbers: [720]
720,38 unequal: No Solution
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[20, 5], Operations: ['40-34=6', '30/6=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[20, 24], Operations: ['40-34=6', '30-6=24']
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,38 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,38 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
99,
3,
51,
28
] | 30 | [
"99+3=102",
"102/51=2",
"28+2=30"
] | Current State: 30:[99, 3, 51, 28], Operations: []
Exploring Operation: 99+3=102, Resulting Numbers: [51, 28, 102]
Generated Node #2: [51, 28, 102] from Operation: 99+3=102
Current State: 30:[51, 28, 102], Operations: ['99+3=102']
Exploring Operation: 102/51=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 102/51=2
Current State: 30:[28, 2], Operations: ['99+3=102', '102/51=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[99, 3, 51, 28], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [3, 28, 48]
Generated Node #0,0: 30:[3, 28, 48] Operation: 99-51=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[3, 28, 48], Operations: ['99-51=48']
Exploring Operation: 48/3=16, Resulting Numbers: [28, 16]
Generated Node #0,0,0: 30:[28, 16] Operation: 48/3=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[28, 16], Operations: ['99-51=48', '48/3=16']
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,30 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 |
[
68,
64,
64,
76
] | 56 | [
"76-68=8",
"64/8=8",
"64-8=56"
] | Current State: 56:[68, 64, 64, 76], Operations: []
Exploring Operation: 76-68=8, Resulting Numbers: [64, 64, 8]
Generated Node #2: [64, 64, 8] from Operation: 76-68=8
Current State: 56:[64, 64, 8], Operations: ['76-68=8']
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,56 equal: Goal Reached
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[68, 64, 64, 76], Operations: []
Exploring Operation: 76-68=8, Resulting Numbers: [64, 64, 8]
Generated Node #0,0: 56:[64, 64, 8] Operation: 76-68=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[64, 64, 8], Operations: ['76-68=8']
Exploring Operation: 64/64=1, Resulting Numbers: [8, 1]
Generated Node #0,0,0: 56:[8, 1] Operation: 64/64=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[8, 1], Operations: ['76-68=8', '64/64=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,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_1 | mult_heuristic |
[
75,
88,
4,
89
] | 15 | [
"88-4=84",
"89-84=5",
"75/5=15"
] | Current State: 15:[75, 88, 4, 89], Operations: []
Exploring Operation: 88-4=84, Resulting Numbers: [75, 89, 84]
Generated Node #2: [75, 89, 84] from Operation: 88-4=84
Current State: 15:[75, 89, 84], Operations: ['88-4=84']
Exploring Operation: 89-84=5, Resulting Numbers: [75, 5]
Generated Node #3: [75, 5] from Operation: 89-84=5
Current State: 15:[75, 5], Operations: ['88-4=84', '89-84=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[75, 88, 4, 89], Operations: []
Exploring Operation: 89-88=1, Resulting Numbers: [75, 4, 1]
Generated Node #0,0: 15:[75, 4, 1] Operation: 89-88=1
Exploring Operation: 88-75=13, Resulting Numbers: [4, 89, 13]
Generated Node #0,1: 15:[4, 89, 13] Operation: 88-75=13
Exploring Operation: 75-4=71, Resulting Numbers: [88, 89, 71]
Generated Node #0,2: 15:[88, 89, 71] Operation: 75-4=71
Exploring Operation: 88/4=22, Resulting Numbers: [75, 89, 22]
Generated Node #0,3: 15:[75, 89, 22] Operation: 88/4=22
Exploring Operation: 89-75=14, Resulting Numbers: [88, 4, 14]
Generated Node #0,4: 15:[88, 4, 14] Operation: 89-75=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[75, 4, 1], Operations: ['89-88=1']
Exploring Operation: 75-4=71, Resulting Numbers: [1, 71]
Generated Node #0,0,0: 15:[1, 71] Operation: 75-4=71
Exploring Operation: 75*1=75, Resulting Numbers: [4, 75]
Generated Node #0,0,1: 15:[4, 75] Operation: 75*1=75
Exploring Operation: 4+1=5, Resulting Numbers: [75, 5]
Generated Node #0,0,2: 15:[75, 5] Operation: 4+1=5
Exploring Operation: 4-1=3, Resulting Numbers: [75, 3]
Generated Node #0,0,3: 15:[75, 3] Operation: 4-1=3
Exploring Operation: 75-1=74, Resulting Numbers: [4, 74]
Generated Node #0,0,4: 15:[4, 74] Operation: 75-1=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[1, 71], Operations: ['89-88=1', '75-4=71']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 1*71=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,15 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 15:[75, 5], Operations: ['89-88=1', '4+1=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[75, 88, 4, 89], Operations: []
Exploring Operation: 89-88=1, Resulting Numbers: [75, 4, 1]
Generated Node #0,0: 15:[75, 4, 1] Operation: 89-88=1
Moving to Node #0,0
Current State: 15:[75, 4, 1], Operations: ['89-88=1']
Exploring Operation: 4+1=5, Resulting Numbers: [75, 5]
Generated Node #0,0,2: 15:[75, 5] Operation: 4+1=5
Moving to Node #0,0,2
Current State: 15:[75, 5], Operations: ['89-88=1', '4+1=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
84,
2,
84,
81
] | 78 | [
"84/84=1",
"81-2=79",
"79-1=78"
] | Current State: 78:[84, 2, 84, 81], Operations: []
Exploring Operation: 84/84=1, Resulting Numbers: [2, 81, 1]
Generated Node #2: [2, 81, 1] from Operation: 84/84=1
Current State: 78:[2, 81, 1], Operations: ['84/84=1']
Exploring Operation: 81-2=79, Resulting Numbers: [1, 79]
Generated Node #3: [1, 79] from Operation: 81-2=79
Current State: 78:[1, 79], Operations: ['84/84=1', '81-2=79']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[84, 2, 84, 81], Operations: []
Exploring Operation: 84/84=1, Resulting Numbers: [2, 81, 1]
Generated Node #0,0: 78:[2, 81, 1] Operation: 84/84=1
Moving to Node #0,0
Current State: 78:[2, 81, 1], Operations: ['84/84=1']
Exploring Operation: 81-2=79, Resulting Numbers: [1, 79]
Generated Node #0,0,0: 78:[1, 79] Operation: 81-2=79
Moving to Node #0,0,0
Current State: 78:[1, 79], Operations: ['84/84=1', '81-2=79']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[84, 2, 84, 81], Operations: []
Exploring Operation: 84/84=1, Resulting Numbers: [2, 81, 1]
Generated Node #0,0: 78:[2, 81, 1] Operation: 84/84=1
Moving to Node #0,0
Current State: 78:[2, 81, 1], Operations: ['84/84=1']
Exploring Operation: 81-2=79, Resulting Numbers: [1, 79]
Generated Node #0,0,0: 78:[1, 79] Operation: 81-2=79
Moving to Node #0,0,0
Current State: 78:[1, 79], Operations: ['84/84=1', '81-2=79']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
59,
65,
95,
67
] | 23 | [
"67-65=2",
"59*2=118",
"118-95=23"
] | Current State: 23:[59, 65, 95, 67], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [59, 95, 2]
Generated Node #2: [59, 95, 2] from Operation: 67-65=2
Current State: 23:[59, 95, 2], Operations: ['67-65=2']
Exploring Operation: 59*2=118, Resulting Numbers: [95, 118]
Generated Node #3: [95, 118] from Operation: 59*2=118
Current State: 23:[95, 118], Operations: ['67-65=2', '59*2=118']
Exploring Operation: 118-95=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[59, 65, 95, 67], Operations: []
Exploring Operation: 95-67=28, Resulting Numbers: [59, 65, 28]
Generated Node #0,0: 23:[59, 65, 28] Operation: 95-67=28
Exploring Operation: 95-65=30, Resulting Numbers: [59, 67, 30]
Generated Node #0,1: 23:[59, 67, 30] Operation: 95-65=30
Exploring Operation: 95-59=36, Resulting Numbers: [65, 67, 36]
Generated Node #0,2: 23:[65, 67, 36] Operation: 95-59=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[59, 65, 28], Operations: ['95-67=28']
Exploring Operation: 65-28=37, Resulting Numbers: [59, 37]
Generated Node #0,0,0: 23:[59, 37] Operation: 65-28=37
Exploring Operation: 65-59=6, Resulting Numbers: [28, 6]
Generated Node #0,0,1: 23:[28, 6] Operation: 65-59=6
Exploring Operation: 59-28=31, Resulting Numbers: [65, 31]
Generated Node #0,0,2: 23:[65, 31] Operation: 59-28=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[28, 6], Operations: ['95-67=28', '65-59=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,23 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[59, 37], Operations: ['95-67=28', '65-28=37']
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,23 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[65, 31], Operations: ['95-67=28', '59-28=31']
Exploring Operation: 65+31=96, Resulting Numbers: [96]
96,23 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 65*31=2015, Resulting Numbers: [2015]
2015,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[59, 67, 30], Operations: ['95-65=30']
Exploring Operation: 59-30=29, Resulting Numbers: [67, 29]
Generated Node #0,1,0: 23:[67, 29] Operation: 59-30=29
Exploring Operation: 67-30=37, Resulting Numbers: [59, 37]
Generated Node #0,1,1: 23:[59, 37] Operation: 67-30=37
Exploring Operation: 67-59=8, Resulting Numbers: [30, 8]
Generated Node #0,1,2: 23:[30, 8] Operation: 67-59=8
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 23:[30, 8], Operations: ['95-65=30', '67-59=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[67, 29], Operations: ['95-65=30', '59-30=29']
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 67*29=1943, Resulting Numbers: [1943]
1943,23 unequal: No Solution
Exploring Operation: 67+29=96, Resulting Numbers: [96]
96,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[59, 37], Operations: ['95-65=30', '67-30=37']
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,23 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[65, 67, 36], Operations: ['95-59=36']
Exploring Operation: 65-36=29, Resulting Numbers: [67, 29]
Generated Node #0,2,0: 23:[67, 29] Operation: 65-36=29
Exploring Operation: 67-36=31, Resulting Numbers: [65, 31]
Generated Node #0,2,1: 23:[65, 31] Operation: 67-36=31
Exploring Operation: 67-65=2, Resulting Numbers: [36, 2]
Generated Node #0,2,2: 23:[36, 2] Operation: 67-65=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 23:[36, 2], Operations: ['95-59=36', '67-65=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 23:[67, 29], Operations: ['95-59=36', '65-36=29']
Exploring Operation: 67+29=96, Resulting Numbers: [96]
96,23 unequal: No Solution
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 67*29=1943, Resulting Numbers: [1943]
1943,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[65, 31], Operations: ['95-59=36', '67-36=31']
Exploring Operation: 65+31=96, Resulting Numbers: [96]
96,23 unequal: No Solution
Exploring Operation: 65*31=2015, Resulting Numbers: [2015]
2015,23 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
15,
90,
93,
93
] | 48 | [
"93-90=3",
"15*3=45",
"93-45=48"
] | Current State: 48:[15, 90, 93, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [15, 3]
Generated Node #2: [15, 3] from Operation: 93-90=3
Current State: 48:[15, 3], Operations: ['93-90=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,48 equal: Goal Reached
Exploring Operation: 93-45=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[15, 90, 93, 93], Operations: []
Exploring Operation: 93/93=1, Resulting Numbers: [15, 90, 1]
Generated Node #0,0: 48:[15, 90, 1] Operation: 93/93=1
Exploring Operation: 93-90=3, Resulting Numbers: [15, 93, 3]
Generated Node #0,1: 48:[15, 93, 3] Operation: 93-90=3
Exploring Operation: 93-93=0, Resulting Numbers: [15, 90, 0]
Generated Node #0,2: 48:[15, 90, 0] Operation: 93-93=0
Exploring Operation: 93-90=3, Resulting Numbers: [15, 93, 3]
Generated Node #0,3: 48:[15, 93, 3] Operation: 93-90=3
Exploring Operation: 90/15=6, Resulting Numbers: [93, 93, 6]
Generated Node #0,4: 48:[93, 93, 6] Operation: 90/15=6
Moving to Node #0,0
Current State: 48:[15, 90, 1], Operations: ['93/93=1']
Exploring Operation: 90-1=89, Resulting Numbers: [15, 89]
Generated Node #0,0,0: 48:[15, 89] Operation: 90-1=89
Exploring Operation: 15*1=15, Resulting Numbers: [90, 15]
Generated Node #0,0,1: 48:[90, 15] Operation: 15*1=15
Exploring Operation: 15+1=16, Resulting Numbers: [90, 16]
Generated Node #0,0,2: 48:[90, 16] Operation: 15+1=16
Exploring Operation: 90/15=6, Resulting Numbers: [1, 6]
Generated Node #0,0,3: 48:[1, 6] Operation: 90/15=6
Exploring Operation: 90-15=75, Resulting Numbers: [1, 75]
Generated Node #0,0,4: 48:[1, 75] Operation: 90-15=75
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[1, 6], Operations: ['93/93=1', '90/15=6']
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,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,0,4
Current State: 48:[1, 75], Operations: ['93/93=1', '90-15=75']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,48 unequal: No Solution
Exploring Operation: 1*75=75, Resulting Numbers: [75]
75,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,0,0
Current State: 48:[15, 89], Operations: ['93/93=1', '90-1=89']
Exploring Operation: 15+89=104, Resulting Numbers: [104]
104,48 unequal: No Solution
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Exploring Operation: 15*89=1335, Resulting Numbers: [1335]
1335,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,0,2
Current State: 48:[90, 16], Operations: ['93/93=1', '15+1=16']
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Exploring Operation: 90+16=106, Resulting Numbers: [106]
106,48 unequal: No Solution
Exploring Operation: 90*16=1440, Resulting Numbers: [1440]
1440,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,0,1
Current State: 48:[90, 15], Operations: ['93/93=1', '15*1=15']
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,48 unequal: No Solution
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,48 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,48 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,48 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: 48:[15, 90, 0], Operations: ['93-93=0']
Exploring Operation: 15-0=15, Resulting Numbers: [90, 15]
Generated Node #0,2,0: 48:[90, 15] Operation: 15-0=15
Exploring Operation: 90/15=6, Resulting Numbers: [0, 6]
Generated Node #0,2,1: 48:[0, 6] Operation: 90/15=6
Exploring Operation: 90*0=0, Resulting Numbers: [15, 0]
Generated Node #0,2,2: 48:[15, 0] Operation: 90*0=0
Exploring Operation: 15+0=15, Resulting Numbers: [90, 15]
Generated Node #0,2,3: 48:[90, 15] Operation: 15+0=15
Exploring Operation: 90-15=75, Resulting Numbers: [0, 75]
Generated Node #0,2,4: 48:[0, 75] Operation: 90-15=75
Moving to Node #0,1
Current State: 48:[15, 93, 3], Operations: ['93-90=3']
Exploring Operation: 93-3=90, Resulting Numbers: [15, 90]
Generated Node #0,1,0: 48:[15, 90] Operation: 93-3=90
Exploring Operation: 15-3=12, Resulting Numbers: [93, 12]
Generated Node #0,1,1: 48:[93, 12] Operation: 15-3=12
Exploring Operation: 93-15=78, Resulting Numbers: [3, 78]
Generated Node #0,1,2: 48:[3, 78] Operation: 93-15=78
Exploring Operation: 93/3=31, Resulting Numbers: [15, 31]
Generated Node #0,1,3: 48:[15, 31] Operation: 93/3=31
Exploring Operation: 15/3=5, Resulting Numbers: [93, 5]
Generated Node #0,1,4: 48:[93, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 48:[15, 31], Operations: ['93-90=3', '93/3=31']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[3, 78], Operations: ['93-90=3', '93-15=78']
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,48 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,48 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,48 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[15, 90], Operations: ['93-90=3', '93-3=90']
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,48 unequal: No Solution
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,48 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[93, 12], Operations: ['93-90=3', '15-3=12']
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,48 unequal: No Solution
Exploring Operation: 93*12=1116, Resulting Numbers: [1116]
1116,48 unequal: No Solution
Exploring Operation: 93+12=105, Resulting Numbers: [105]
105,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 48:[93, 5], Operations: ['93-90=3', '15/3=5']
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,48 unequal: No Solution
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,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:[15, 93, 3], Operations: ['93-90=3']
Exploring Operation: 93/3=31, Resulting Numbers: [15, 31]
Generated Node #0,3,0: 48:[15, 31] Operation: 93/3=31
Exploring Operation: 93-3=90, Resulting Numbers: [15, 90]
Generated Node #0,3,1: 48:[15, 90] Operation: 93-3=90
Exploring Operation: 15/3=5, Resulting Numbers: [93, 5]
Generated Node #0,3,2: 48:[93, 5] Operation: 15/3=5
Exploring Operation: 15-3=12, Resulting Numbers: [93, 12]
Generated Node #0,3,3: 48:[93, 12] Operation: 15-3=12
Exploring Operation: 93-15=78, Resulting Numbers: [3, 78]
Generated Node #0,3,4: 48:[3, 78] Operation: 93-15=78
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[15, 31], Operations: ['93-90=3', '93/3=31']
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,48 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,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,3,4
Current State: 48:[3, 78], Operations: ['93-90=3', '93-15=78']
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,48 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,48 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,48 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,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,3,1
Current State: 48:[15, 90], Operations: ['93-90=3', '93-3=90']
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,48 unequal: No Solution
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,48 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,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,3,3
Current State: 48:[93, 12], Operations: ['93-90=3', '15-3=12']
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,48 unequal: No Solution
Exploring Operation: 93*12=1116, Resulting Numbers: [1116]
1116,48 unequal: No Solution
Exploring Operation: 93+12=105, Resulting Numbers: [105]
105,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,3,2
Current State: 48:[93, 5], Operations: ['93-90=3', '15/3=5']
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,48 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,48 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: 48:[93, 93, 6], Operations: ['90/15=6']
Exploring Operation: 93+6=99, Resulting Numbers: [93, 99]
Generated Node #0,4,0: 48:[93, 99] Operation: 93+6=99
Exploring Operation: 93-6=87, Resulting Numbers: [93, 87]
Generated Node #0,4,1: 48:[93, 87] Operation: 93-6=87
Exploring Operation: 93-93=0, Resulting Numbers: [6, 0]
Generated Node #0,4,2: 48:[6, 0] Operation: 93-93=0
Exploring Operation: 93/93=1, Resulting Numbers: [6, 1]
Generated Node #0,4,3: 48:[6, 1] Operation: 93/93=1
Exploring Operation: 93-6=87, Resulting Numbers: [93, 87]
Generated Node #0,4,4: 48:[93, 87] Operation: 93-6=87
Moving to Node #0,4,3
Current State: 48:[6, 1], Operations: ['90/15=6', '93/93=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[0, 6], Operations: ['93-93=0', '90/15=6']
Exploring Operation: 0+6=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 0*6=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Moving to Node #0,4,2
Current State: 48:[6, 0], Operations: ['90/15=6', '93-93=0']
Exploring Operation: 6*0=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 6+0=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[15, 0], Operations: ['93-93=0', '90*0=0']
Exploring Operation: 15-0=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 15*0=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 15+0=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Moving to Node #0,2,4
Current State: 48:[0, 75], Operations: ['93-93=0', '90-15=75']
Exploring Operation: 0+75=75, Resulting Numbers: [75]
75,48 unequal: No Solution
Exploring Operation: 0*75=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 75-0=75, Resulting Numbers: [75]
75,48 unequal: No Solution
Moving to Node #0,2,3
Current State: 48:[90, 15], Operations: ['93-93=0', '15+0=15']
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,48 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,48 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[90, 15], Operations: ['93-93=0', '15-0=15']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,48 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,48 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,48 unequal: No Solution
Moving to Node #0,4,4
Current State: 48:[93, 87], Operations: ['90/15=6', '93-6=87']
Exploring Operation: 93*87=8091, Resulting Numbers: [8091]
8091,48 unequal: No Solution
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 93+87=180, Resulting Numbers: [180]
180,48 unequal: No Solution
Moving to Node #0,4,1
Current State: 48:[93, 87], Operations: ['90/15=6', '93-6=87']
Exploring Operation: 93*87=8091, Resulting Numbers: [8091]
8091,48 unequal: No Solution
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 93+87=180, Resulting Numbers: [180]
180,48 unequal: No Solution
Moving to Node #0,4,0
Current State: 48:[93, 99], Operations: ['90/15=6', '93+6=99']
Exploring Operation: 99-93=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 93*99=9207, Resulting Numbers: [9207]
9207,48 unequal: No Solution
Exploring Operation: 93+99=192, Resulting Numbers: [192]
192,48 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
91,
87,
82,
72
] | 95 | [
"91-82=9",
"72/9=8",
"87+8=95"
] | Current State: 95:[91, 87, 82, 72], Operations: []
Exploring Operation: 91-82=9, Resulting Numbers: [87, 72, 9]
Generated Node #2: [87, 72, 9] from Operation: 91-82=9
Current State: 95:[87, 72, 9], Operations: ['91-82=9']
Exploring Operation: 72/9=8, Resulting Numbers: [87, 8]
Generated Node #3: [87, 8] from Operation: 72/9=8
Current State: 95:[87, 8], Operations: ['91-82=9', '72/9=8']
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[91, 87, 82, 72], Operations: []
Exploring Operation: 82-72=10, Resulting Numbers: [91, 87, 10]
Generated Node #0,0: 95:[91, 87, 10] Operation: 82-72=10
Moving to Node #0,0
Current State: 95:[91, 87, 10], Operations: ['82-72=10']
Exploring Operation: 91-87=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 95:[10, 4] Operation: 91-87=4
Moving to Node #0,0,0
Current State: 95:[10, 4], Operations: ['82-72=10', '91-87=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
92,
79,
1,
95
] | 82 | [
"92-79=13",
"1*95=95",
"95-13=82"
] | Current State: 82:[92, 79, 1, 95], Operations: []
Exploring Operation: 92-79=13, Resulting Numbers: [1, 95, 13]
Generated Node #2: [1, 95, 13] from Operation: 92-79=13
Current State: 82:[1, 95, 13], Operations: ['92-79=13']
Exploring Operation: 1*95=95, Resulting Numbers: [13, 95]
Generated Node #3: [13, 95] from Operation: 1*95=95
Current State: 82:[13, 95], Operations: ['92-79=13', '1*95=95']
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[92, 79, 1, 95], Operations: []
Exploring Operation: 92-79=13, Resulting Numbers: [1, 95, 13]
Generated Node #0,0: 82:[1, 95, 13] Operation: 92-79=13
Exploring Operation: 92-1=91, Resulting Numbers: [79, 95, 91]
Generated Node #0,1: 82:[79, 95, 91] Operation: 92-1=91
Exploring Operation: 95-92=3, Resulting Numbers: [79, 1, 3]
Generated Node #0,2: 82:[79, 1, 3] Operation: 95-92=3
Moving to Node #0,2
Current State: 82:[79, 1, 3], Operations: ['95-92=3']
Exploring Operation: 79+3=82, Resulting Numbers: [1, 82]
Generated Node #0,2,0: 82:[1, 82] Operation: 79+3=82
Exploring Operation: 79+1=80, Resulting Numbers: [3, 80]
Generated Node #0,2,1: 82:[3, 80] Operation: 79+1=80
Exploring Operation: 3-1=2, Resulting Numbers: [79, 2]
Generated Node #0,2,2: 82:[79, 2] Operation: 3-1=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[1, 82], Operations: ['95-92=3', '79+3=82']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[92, 79, 1, 95], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [79, 1, 3]
Generated Node #0,2: 82:[79, 1, 3] Operation: 95-92=3
Moving to Node #0,2
Current State: 82:[79, 1, 3], Operations: ['95-92=3']
Exploring Operation: 79+3=82, Resulting Numbers: [1, 82]
Generated Node #0,2,0: 82:[1, 82] Operation: 79+3=82
Moving to Node #0,2,0
Current State: 82:[1, 82], Operations: ['95-92=3', '79+3=82']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
31,
76,
77,
12
] | 43 | [
"31+12=43",
"77-76=1",
"43*1=43"
] | Current State: 43:[31, 76, 77, 12], Operations: []
Exploring Operation: 31+12=43, Resulting Numbers: [76, 77, 43]
Generated Node #2: [76, 77, 43] from Operation: 31+12=43
Current State: 43:[76, 77, 43], Operations: ['31+12=43']
Exploring Operation: 77-76=1, Resulting Numbers: [43, 1]
Generated Node #3: [43, 1] from Operation: 77-76=1
Current State: 43:[43, 1], Operations: ['31+12=43', '77-76=1']
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[31, 76, 77, 12], Operations: []
Exploring Operation: 76-31=45, Resulting Numbers: [77, 12, 45]
Generated Node #0,0: 43:[77, 12, 45] Operation: 76-31=45
Moving to Node #0,0
Current State: 43:[77, 12, 45], Operations: ['76-31=45']
Exploring Operation: 77-12=65, Resulting Numbers: [45, 65]
Generated Node #0,0,0: 43:[45, 65] Operation: 77-12=65
Moving to Node #0,0,0
Current State: 43:[45, 65], Operations: ['76-31=45', '77-12=65']
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,43 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
51,
15,
4,
3
] | 93 | [
"51*3=153",
"15*4=60",
"153-60=93"
] | Current State: 93:[51, 15, 4, 3], Operations: []
Exploring Operation: 51*3=153, Resulting Numbers: [15, 4, 153]
Generated Node #2: [15, 4, 153] from Operation: 51*3=153
Current State: 93:[15, 4, 153], Operations: ['51*3=153']
Exploring Operation: 15*4=60, Resulting Numbers: [153, 60]
Generated Node #3: [153, 60] from Operation: 15*4=60
Current State: 93:[153, 60], Operations: ['51*3=153', '15*4=60']
Exploring Operation: 153-60=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[51, 15, 4, 3], Operations: []
Exploring Operation: 15/3=5, Resulting Numbers: [51, 4, 5]
Generated Node #0,0: 93:[51, 4, 5] Operation: 15/3=5
Exploring Operation: 51-15=36, Resulting Numbers: [4, 3, 36]
Generated Node #0,1: 93:[4, 3, 36] Operation: 51-15=36
Exploring Operation: 51+15=66, Resulting Numbers: [4, 3, 66]
Generated Node #0,2: 93:[4, 3, 66] Operation: 51+15=66
Exploring Operation: 51/3=17, Resulting Numbers: [15, 4, 17]
Generated Node #0,3: 93:[15, 4, 17] Operation: 51/3=17
Exploring Operation: 51-4=47, Resulting Numbers: [15, 3, 47]
Generated Node #0,4: 93:[15, 3, 47] Operation: 51-4=47
Moving to Node #0,1
Current State: 93:[4, 3, 36], Operations: ['51-15=36']
Exploring Operation: 36/4=9, Resulting Numbers: [3, 9]
Generated Node #0,1,0: 93:[3, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [3, 32]
Generated Node #0,1,1: 93:[3, 32] Operation: 36-4=32
Exploring Operation: 4-3=1, Resulting Numbers: [36, 1]
Generated Node #0,1,2: 93:[36, 1] Operation: 4-3=1
Exploring Operation: 4+3=7, Resulting Numbers: [36, 7]
Generated Node #0,1,3: 93:[36, 7] Operation: 4+3=7
Exploring Operation: 36-3=33, Resulting Numbers: [4, 33]
Generated Node #0,1,4: 93:[4, 33] Operation: 36-3=33
Moving to Node #0,0
Current State: 93:[51, 4, 5], Operations: ['15/3=5']
Exploring Operation: 5-4=1, Resulting Numbers: [51, 1]
Generated Node #0,0,0: 93:[51, 1] Operation: 5-4=1
Exploring Operation: 51+5=56, Resulting Numbers: [4, 56]
Generated Node #0,0,1: 93:[4, 56] Operation: 51+5=56
Exploring Operation: 51-4=47, Resulting Numbers: [5, 47]
Generated Node #0,0,2: 93:[5, 47] Operation: 51-4=47
Exploring Operation: 51-5=46, Resulting Numbers: [4, 46]
Generated Node #0,0,3: 93:[4, 46] Operation: 51-5=46
Exploring Operation: 51+4=55, Resulting Numbers: [5, 55]
Generated Node #0,0,4: 93:[5, 55] Operation: 51+4=55
Moving to Node #0,3
Current State: 93:[15, 4, 17], Operations: ['51/3=17']
Exploring Operation: 17-4=13, Resulting Numbers: [15, 13]
Generated Node #0,3,0: 93:[15, 13] Operation: 17-4=13
Exploring Operation: 17-15=2, Resulting Numbers: [4, 2]
Generated Node #0,3,1: 93:[4, 2] Operation: 17-15=2
Exploring Operation: 4+17=21, Resulting Numbers: [15, 21]
Generated Node #0,3,2: 93:[15, 21] Operation: 4+17=21
Exploring Operation: 15-4=11, Resulting Numbers: [17, 11]
Generated Node #0,3,3: 93:[17, 11] Operation: 15-4=11
Exploring Operation: 15+17=32, Resulting Numbers: [4, 32]
Generated Node #0,3,4: 93:[4, 32] Operation: 15+17=32
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 93:[4, 2], Operations: ['51/3=17', '17-15=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 93:[4, 32], Operations: ['51/3=17', '15+17=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[15, 13], Operations: ['51/3=17', '17-4=13']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 93:[15, 21], Operations: ['51/3=17', '4+17=21']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 93:[17, 11], Operations: ['51/3=17', '15-4=11']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,93 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,93 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: 93:[4, 3, 66], Operations: ['51+15=66']
Exploring Operation: 66/3=22, Resulting Numbers: [4, 22]
Generated Node #0,2,0: 93:[4, 22] Operation: 66/3=22
Exploring Operation: 3+66=69, Resulting Numbers: [4, 69]
Generated Node #0,2,1: 93:[4, 69] Operation: 3+66=69
Exploring Operation: 4+66=70, Resulting Numbers: [3, 70]
Generated Node #0,2,2: 93:[3, 70] Operation: 4+66=70
Exploring Operation: 4+3=7, Resulting Numbers: [66, 7]
Generated Node #0,2,3: 93:[66, 7] Operation: 4+3=7
Exploring Operation: 4-3=1, Resulting Numbers: [66, 1]
Generated Node #0,2,4: 93:[66, 1] Operation: 4-3=1
Moving to Node #0,4
Current State: 93:[15, 3, 47], Operations: ['51-4=47']
Exploring Operation: 47-15=32, Resulting Numbers: [3, 32]
Generated Node #0,4,0: 93:[3, 32] Operation: 47-15=32
Exploring Operation: 15/3=5, Resulting Numbers: [47, 5]
Generated Node #0,4,1: 93:[47, 5] Operation: 15/3=5
Exploring Operation: 15-3=12, Resulting Numbers: [47, 12]
Generated Node #0,4,2: 93:[47, 12] Operation: 15-3=12
Exploring Operation: 47-3=44, Resulting Numbers: [15, 44]
Generated Node #0,4,3: 93:[15, 44] Operation: 47-3=44
Exploring Operation: 15+3=18, Resulting Numbers: [47, 18]
Generated Node #0,4,4: 93:[47, 18] Operation: 15+3=18
Moving to Node #0,1,1
Current State: 93:[3, 32], Operations: ['51-15=36', '36-4=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,93 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Moving to Node #0,4,0
Current State: 93:[3, 32], Operations: ['51-4=47', '47-15=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,93 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Moving to Node #0,1,4
Current State: 93:[4, 33], Operations: ['51-15=36', '36-3=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[3, 9], Operations: ['51-15=36', '36/4=9']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[36, 1], Operations: ['51-15=36', '4-3=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[36, 7], Operations: ['51-15=36', '4+3=7']
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,93 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[4, 22], Operations: ['51+15=66', '66/3=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,93 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[4, 46], Operations: ['15/3=5', '51-5=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,93 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[5, 47], Operations: ['15/3=5', '51-4=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,93 unequal: No Solution
Moving to Node #0,4,1
Current State: 93:[47, 5], Operations: ['51-4=47', '15/3=5']
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,93 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[51, 1], Operations: ['15/3=5', '5-4=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[3, 70], Operations: ['51+15=66', '4+66=70']
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,93 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,93 unequal: No Solution
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[4, 69], Operations: ['51+15=66', '3+66=69']
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Exploring Operation: 4*69=276, Resulting Numbers: [276]
276,93 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,93 unequal: No Solution
Moving to Node #0,4,3
Current State: 93:[15, 44], Operations: ['51-4=47', '47-3=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,93 unequal: No Solution
Moving to Node #0,4,2
Current State: 93:[47, 12], Operations: ['51-4=47', '15-3=12']
Exploring Operation: 47*12=564, Resulting Numbers: [564]
564,93 unequal: No Solution
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[4, 56], Operations: ['15/3=5', '51+5=56']
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,93 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,93 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Moving to Node #0,0,4
Current State: 93:[5, 55], Operations: ['15/3=5', '51+4=55']
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,93 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,93 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Moving to Node #0,4,4
Current State: 93:[47, 18], Operations: ['51-4=47', '15+3=18']
Exploring Operation: 47*18=846, Resulting Numbers: [846]
846,93 unequal: No Solution
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 47+18=65, Resulting Numbers: [65]
65,93 unequal: No Solution
Moving to Node #0,2,4
Current State: 93:[66, 1], Operations: ['51+15=66', '4-3=1']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,93 unequal: No Solution
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,93 unequal: No Solution
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,93 unequal: No Solution
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[66, 7], Operations: ['51+15=66', '4+3=7']
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,93 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,93 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
20,
14,
93,
10
] | 93 | [
"20*10=200",
"14+93=107",
"200-107=93"
] | Current State: 93:[20, 14, 93, 10], Operations: []
Exploring Operation: 20*10=200, Resulting Numbers: [14, 93, 200]
Generated Node #2: [14, 93, 200] from Operation: 20*10=200
Current State: 93:[14, 93, 200], Operations: ['20*10=200']
Exploring Operation: 14+93=107, Resulting Numbers: [200, 107]
Generated Node #3: [200, 107] from Operation: 14+93=107
Current State: 93:[200, 107], Operations: ['20*10=200', '14+93=107']
Exploring Operation: 200-107=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[20, 14, 93, 10], Operations: []
Exploring Operation: 20+14=34, Resulting Numbers: [93, 10, 34]
Generated Node #0,0: 93:[93, 10, 34] Operation: 20+14=34
Exploring Operation: 20/10=2, Resulting Numbers: [14, 93, 2]
Generated Node #0,1: 93:[14, 93, 2] Operation: 20/10=2
Exploring Operation: 20-14=6, Resulting Numbers: [93, 10, 6]
Generated Node #0,2: 93:[93, 10, 6] Operation: 20-14=6
Exploring Operation: 20+10=30, Resulting Numbers: [14, 93, 30]
Generated Node #0,3: 93:[14, 93, 30] Operation: 20+10=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[93, 10, 34], Operations: ['20+14=34']
Exploring Operation: 93-10=83, Resulting Numbers: [34, 83]
Generated Node #0,0,0: 93:[34, 83] Operation: 93-10=83
Exploring Operation: 10+34=44, Resulting Numbers: [93, 44]
Generated Node #0,0,1: 93:[93, 44] Operation: 10+34=44
Exploring Operation: 34-10=24, Resulting Numbers: [93, 24]
Generated Node #0,0,2: 93:[93, 24] Operation: 34-10=24
Exploring Operation: 93+10=103, Resulting Numbers: [34, 103]
Generated Node #0,0,3: 93:[34, 103] Operation: 93+10=103
Moving to Node #0,0,2
Current State: 93:[93, 24], Operations: ['20+14=34', '34-10=24']
Exploring Operation: 93+24=117, Resulting Numbers: [117]
117,93 unequal: No Solution
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 93*24=2232, Resulting Numbers: [2232]
2232,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[93, 44], Operations: ['20+14=34', '10+34=44']
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 93*44=4092, Resulting Numbers: [4092]
4092,93 unequal: No Solution
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[34, 83], Operations: ['20+14=34', '93-10=83']
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 34*83=2822, Resulting Numbers: [2822]
2822,93 unequal: No Solution
Exploring Operation: 34+83=117, Resulting Numbers: [117]
117,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[34, 103], Operations: ['20+14=34', '93+10=103']
Exploring Operation: 34+103=137, Resulting Numbers: [137]
137,93 unequal: No Solution
Exploring Operation: 34*103=3502, Resulting Numbers: [3502]
3502,93 unequal: No Solution
Exploring Operation: 103-34=69, Resulting Numbers: [69]
69,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[93, 10, 6], Operations: ['20-14=6']
Exploring Operation: 10-6=4, Resulting Numbers: [93, 4]
Generated Node #0,2,0: 93:[93, 4] Operation: 10-6=4
Exploring Operation: 93+10=103, Resulting Numbers: [6, 103]
Generated Node #0,2,1: 93:[6, 103] Operation: 93+10=103
Exploring Operation: 93-10=83, Resulting Numbers: [6, 83]
Generated Node #0,2,2: 93:[6, 83] Operation: 93-10=83
Exploring Operation: 93+6=99, Resulting Numbers: [10, 99]
Generated Node #0,2,3: 93:[10, 99] Operation: 93+6=99
Moving to Node #0,2,0
Current State: 93:[93, 4], Operations: ['20-14=6', '10-6=4']
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,93 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[6, 83], Operations: ['20-14=6', '93-10=83']
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 6*83=498, Resulting Numbers: [498]
498,93 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[6, 103], Operations: ['20-14=6', '93+10=103']
Exploring Operation: 6*103=618, Resulting Numbers: [618]
618,93 unequal: No Solution
Exploring Operation: 103-6=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 6+103=109, Resulting Numbers: [109]
109,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[10, 99], Operations: ['20-14=6', '93+6=99']
Exploring Operation: 10+99=109, Resulting Numbers: [109]
109,93 unequal: No Solution
Exploring Operation: 10*99=990, Resulting Numbers: [990]
990,93 unequal: No Solution
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[14, 93, 2], Operations: ['20/10=2']
Exploring Operation: 14+2=16, Resulting Numbers: [93, 16]
Generated Node #0,1,0: 93:[93, 16] Operation: 14+2=16
Exploring Operation: 14-2=12, Resulting Numbers: [93, 12]
Generated Node #0,1,1: 93:[93, 12] Operation: 14-2=12
Exploring Operation: 14*2=28, Resulting Numbers: [93, 28]
Generated Node #0,1,2: 93:[93, 28] Operation: 14*2=28
Exploring Operation: 14/2=7, Resulting Numbers: [93, 7]
Generated Node #0,1,3: 93:[93, 7] Operation: 14/2=7
Moving to Node #0,1,2
Current State: 93:[93, 28], Operations: ['20/10=2', '14*2=28']
Exploring Operation: 93*28=2604, Resulting Numbers: [2604]
2604,93 unequal: No Solution
Exploring Operation: 93+28=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 93-28=65, Resulting Numbers: [65]
65,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[93, 7], Operations: ['20/10=2', '14/2=7']
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,93 unequal: No Solution
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,93 unequal: No Solution
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[93, 12], Operations: ['20/10=2', '14-2=12']
Exploring Operation: 93+12=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,93 unequal: No Solution
Exploring Operation: 93*12=1116, Resulting Numbers: [1116]
1116,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[93, 16], Operations: ['20/10=2', '14+2=16']
Exploring Operation: 93+16=109, Resulting Numbers: [109]
109,93 unequal: No Solution
Exploring Operation: 93*16=1488, Resulting Numbers: [1488]
1488,93 unequal: No Solution
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[14, 93, 30], Operations: ['20+10=30']
Exploring Operation: 93-14=79, Resulting Numbers: [30, 79]
Generated Node #0,3,0: 93:[30, 79] Operation: 93-14=79
Exploring Operation: 14+30=44, Resulting Numbers: [93, 44]
Generated Node #0,3,1: 93:[93, 44] Operation: 14+30=44
Exploring Operation: 30-14=16, Resulting Numbers: [93, 16]
Generated Node #0,3,2: 93:[93, 16] Operation: 30-14=16
Exploring Operation: 14+93=107, Resulting Numbers: [30, 107]
Generated Node #0,3,3: 93:[30, 107] Operation: 14+93=107
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 93:[93, 44], Operations: ['20+10=30', '14+30=44']
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,93 unequal: No Solution
Exploring Operation: 93*44=4092, Resulting Numbers: [4092]
4092,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[93, 16], Operations: ['20+10=30', '30-14=16']
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 93*16=1488, Resulting Numbers: [1488]
1488,93 unequal: No Solution
Exploring Operation: 93+16=109, Resulting Numbers: [109]
109,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 93:[30, 79], Operations: ['20+10=30', '93-14=79']
Exploring Operation: 30+79=109, Resulting Numbers: [109]
109,93 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 30*79=2370, Resulting Numbers: [2370]
2370,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 93:[30, 107], Operations: ['20+10=30', '14+93=107']
Exploring Operation: 30+107=137, Resulting Numbers: [137]
137,93 unequal: No Solution
Exploring Operation: 107-30=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 30*107=3210, Resulting Numbers: [3210]
3210,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
49,
8,
73,
65
] | 62 | [
"73-49=24",
"24/8=3",
"65-3=62"
] | Current State: 62:[49, 8, 73, 65], Operations: []
Exploring Operation: 73-49=24, Resulting Numbers: [8, 65, 24]
Generated Node #2: [8, 65, 24] from Operation: 73-49=24
Current State: 62:[8, 65, 24], Operations: ['73-49=24']
Exploring Operation: 24/8=3, Resulting Numbers: [65, 3]
Generated Node #3: [65, 3] from Operation: 24/8=3
Current State: 62:[65, 3], Operations: ['73-49=24', '24/8=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[49, 8, 73, 65], Operations: []
Exploring Operation: 73-49=24, Resulting Numbers: [8, 65, 24]
Generated Node #0,0: 62:[8, 65, 24] Operation: 73-49=24
Moving to Node #0,0
Current State: 62:[8, 65, 24], Operations: ['73-49=24']
Exploring Operation: 8+24=32, Resulting Numbers: [65, 32]
Generated Node #0,0,0: 62:[65, 32] Operation: 8+24=32
Moving to Node #0,0,0
Current State: 62:[65, 32], Operations: ['73-49=24', '8+24=32']
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,62 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
46,
51,
3,
91
] | 62 | [
"91-46=45",
"51/3=17",
"45+17=62"
] | Current State: 62:[46, 51, 3, 91], Operations: []
Exploring Operation: 91-46=45, Resulting Numbers: [51, 3, 45]
Generated Node #2: [51, 3, 45] from Operation: 91-46=45
Current State: 62:[51, 3, 45], Operations: ['91-46=45']
Exploring Operation: 51/3=17, Resulting Numbers: [45, 17]
Generated Node #3: [45, 17] from Operation: 51/3=17
Current State: 62:[45, 17], Operations: ['91-46=45', '51/3=17']
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[46, 51, 3, 91], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [3, 91, 5]
Generated Node #0,0: 62:[3, 91, 5] Operation: 51-46=5
Exploring Operation: 91-51=40, Resulting Numbers: [46, 3, 40]
Generated Node #0,1: 62:[46, 3, 40] Operation: 91-51=40
Exploring Operation: 91-46=45, Resulting Numbers: [51, 3, 45]
Generated Node #0,2: 62:[51, 3, 45] Operation: 91-46=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[46, 3, 40], Operations: ['91-51=40']
Exploring Operation: 46-3=43, Resulting Numbers: [40, 43]
Generated Node #0,1,0: 62:[40, 43] Operation: 46-3=43
Exploring Operation: 40-3=37, Resulting Numbers: [46, 37]
Generated Node #0,1,1: 62:[46, 37] Operation: 40-3=37
Exploring Operation: 46-40=6, Resulting Numbers: [3, 6]
Generated Node #0,1,2: 62:[3, 6] Operation: 46-40=6
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 62:[3, 6], Operations: ['91-51=40', '46-40=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[40, 43], Operations: ['91-51=40', '46-3=43']
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,62 unequal: No Solution
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[46, 37], Operations: ['91-51=40', '40-3=37']
Exploring Operation: 46*37=1702, Resulting Numbers: [1702]
1702,62 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 46+37=83, Resulting Numbers: [83]
83,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[51, 3, 45], Operations: ['91-46=45']
Exploring Operation: 45-3=42, Resulting Numbers: [51, 42]
Generated Node #0,2,0: 62:[51, 42] Operation: 45-3=42
Exploring Operation: 51-45=6, Resulting Numbers: [3, 6]
Generated Node #0,2,1: 62:[3, 6] Operation: 51-45=6
Exploring Operation: 51+3=54, Resulting Numbers: [45, 54]
Generated Node #0,2,2: 62:[45, 54] Operation: 51+3=54
Moving to Node #0,2,1
Current State: 62:[3, 6], Operations: ['91-46=45', '51-45=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[51, 42], Operations: ['91-46=45', '45-3=42']
Exploring Operation: 51*42=2142, Resulting Numbers: [2142]
2142,62 unequal: No Solution
Exploring Operation: 51+42=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[45, 54], Operations: ['91-46=45', '51+3=54']
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,62 unequal: No Solution
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 45*54=2430, Resulting Numbers: [2430]
2430,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[3, 91, 5], Operations: ['51-46=5']
Exploring Operation: 91-3=88, Resulting Numbers: [5, 88]
Generated Node #0,0,0: 62:[5, 88] Operation: 91-3=88
Exploring Operation: 5-3=2, Resulting Numbers: [91, 2]
Generated Node #0,0,1: 62:[91, 2] Operation: 5-3=2
Exploring Operation: 91-5=86, Resulting Numbers: [3, 86]
Generated Node #0,0,2: 62:[3, 86] Operation: 91-5=86
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 62:[3, 86], Operations: ['51-46=5', '91-5=86']
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 3*86=258, Resulting Numbers: [258]
258,62 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[5, 88], Operations: ['51-46=5', '91-3=88']
Exploring Operation: 5*88=440, Resulting Numbers: [440]
440,62 unequal: No Solution
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[91, 2], Operations: ['51-46=5', '5-3=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
35,
84,
18
] | 83 | [
"2*18=36",
"35+84=119",
"119-36=83"
] | Current State: 83:[2, 35, 84, 18], Operations: []
Exploring Operation: 2*18=36, Resulting Numbers: [35, 84, 36]
Generated Node #2: [35, 84, 36] from Operation: 2*18=36
Current State: 83:[35, 84, 36], Operations: ['2*18=36']
Exploring Operation: 35+84=119, Resulting Numbers: [36, 119]
Generated Node #3: [36, 119] from Operation: 35+84=119
Current State: 83:[36, 119], Operations: ['2*18=36', '35+84=119']
Exploring Operation: 119-36=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[2, 35, 84, 18], Operations: []
Exploring Operation: 2*35=70, Resulting Numbers: [84, 18, 70]
Generated Node #0,0: 83:[84, 18, 70] Operation: 2*35=70
Exploring Operation: 2*18=36, Resulting Numbers: [35, 84, 36]
Generated Node #0,1: 83:[35, 84, 36] Operation: 2*18=36
Moving to Node #0,0
Current State: 83:[84, 18, 70], Operations: ['2*35=70']
Exploring Operation: 18+70=88, Resulting Numbers: [84, 88]
Generated Node #0,0,0: 83:[84, 88] Operation: 18+70=88
Exploring Operation: 84-18=66, Resulting Numbers: [70, 66]
Generated Node #0,0,1: 83:[70, 66] Operation: 84-18=66
Moving to Node #0,1
Current State: 83:[35, 84, 36], Operations: ['2*18=36']
Exploring Operation: 35+36=71, Resulting Numbers: [84, 71]
Generated Node #0,1,0: 83:[84, 71] Operation: 35+36=71
Exploring Operation: 84-35=49, Resulting Numbers: [36, 49]
Generated Node #0,1,1: 83:[36, 49] Operation: 84-35=49
Moving to Node #0,0,0
Current State: 83:[84, 88], Operations: ['2*35=70', '18+70=88']
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 84+88=172, Resulting Numbers: [172]
172,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[84, 71], Operations: ['2*18=36', '35+36=71']
Exploring Operation: 84+71=155, Resulting Numbers: [155]
155,83 unequal: No Solution
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[70, 66], Operations: ['2*35=70', '84-18=66']
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,83 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[36, 49], Operations: ['2*18=36', '84-35=49']
Exploring Operation: 36+49=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,83 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
79,
25,
35
] | 19 | [
"1*79=79",
"25+35=60",
"79-60=19"
] | Current State: 19:[1, 79, 25, 35], Operations: []
Exploring Operation: 1*79=79, Resulting Numbers: [25, 35, 79]
Generated Node #2: [25, 35, 79] from Operation: 1*79=79
Current State: 19:[25, 35, 79], Operations: ['1*79=79']
Exploring Operation: 25+35=60, Resulting Numbers: [79, 60]
Generated Node #3: [79, 60] from Operation: 25+35=60
Current State: 19:[79, 60], Operations: ['1*79=79', '25+35=60']
Exploring Operation: 79-60=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[1, 79, 25, 35], Operations: []
Exploring Operation: 35-1=34, Resulting Numbers: [79, 25, 34]
Generated Node #0,0: 19:[79, 25, 34] Operation: 35-1=34
Exploring Operation: 79-35=44, Resulting Numbers: [1, 25, 44]
Generated Node #0,1: 19:[1, 25, 44] Operation: 79-35=44
Exploring Operation: 79-1=78, Resulting Numbers: [25, 35, 78]
Generated Node #0,2: 19:[25, 35, 78] Operation: 79-1=78
Exploring Operation: 79-25=54, Resulting Numbers: [1, 35, 54]
Generated Node #0,3: 19:[1, 35, 54] Operation: 79-25=54
Exploring Operation: 25-1=24, Resulting Numbers: [79, 35, 24]
Generated Node #0,4: 19:[79, 35, 24] Operation: 25-1=24
Moving to Node #0,1
Current State: 19:[1, 25, 44], Operations: ['79-35=44']
Exploring Operation: 1*25=25, Resulting Numbers: [44, 25]
Generated Node #0,1,0: 19:[44, 25] Operation: 1*25=25
Exploring Operation: 44-25=19, Resulting Numbers: [1, 19]
Generated Node #0,1,1: 19:[1, 19] Operation: 44-25=19
Exploring Operation: 44-1=43, Resulting Numbers: [25, 43]
Generated Node #0,1,2: 19:[25, 43] Operation: 44-1=43
Exploring Operation: 25-1=24, Resulting Numbers: [44, 24]
Generated Node #0,1,3: 19:[44, 24] Operation: 25-1=24
Exploring Operation: 25/1=25, Resulting Numbers: [44, 25]
Generated Node #0,1,4: 19:[44, 25] Operation: 25/1=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[1, 19], Operations: ['79-35=44', '44-25=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[1, 79, 25, 35], Operations: []
Exploring Operation: 79-35=44, Resulting Numbers: [1, 25, 44]
Generated Node #0,1: 19:[1, 25, 44] Operation: 79-35=44
Moving to Node #0,1
Current State: 19:[1, 25, 44], Operations: ['79-35=44']
Exploring Operation: 44-25=19, Resulting Numbers: [1, 19]
Generated Node #0,1,1: 19:[1, 19] Operation: 44-25=19
Moving to Node #0,1,1
Current State: 19:[1, 19], Operations: ['79-35=44', '44-25=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
17,
69,
35,
80
] | 29 | [
"17+69=86",
"35+80=115",
"115-86=29"
] | Current State: 29:[17, 69, 35, 80], Operations: []
Exploring Operation: 17+69=86, Resulting Numbers: [35, 80, 86]
Generated Node #2: [35, 80, 86] from Operation: 17+69=86
Current State: 29:[35, 80, 86], Operations: ['17+69=86']
Exploring Operation: 35+80=115, Resulting Numbers: [86, 115]
Generated Node #3: [86, 115] from Operation: 35+80=115
Current State: 29:[86, 115], Operations: ['17+69=86', '35+80=115']
Exploring Operation: 115-86=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[17, 69, 35, 80], Operations: []
Exploring Operation: 80-17=63, Resulting Numbers: [69, 35, 63]
Generated Node #0,0: 29:[69, 35, 63] Operation: 80-17=63
Exploring Operation: 69-35=34, Resulting Numbers: [17, 80, 34]
Generated Node #0,1: 29:[17, 80, 34] Operation: 69-35=34
Exploring Operation: 80-69=11, Resulting Numbers: [17, 35, 11]
Generated Node #0,2: 29:[17, 35, 11] Operation: 80-69=11
Exploring Operation: 80-35=45, Resulting Numbers: [17, 69, 45]
Generated Node #0,3: 29:[17, 69, 45] Operation: 80-35=45
Exploring Operation: 69-17=52, Resulting Numbers: [35, 80, 52]
Generated Node #0,4: 29:[35, 80, 52] Operation: 69-17=52
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[17, 35, 11], Operations: ['80-69=11']
Exploring Operation: 35+11=46, Resulting Numbers: [17, 46]
Generated Node #0,2,0: 29:[17, 46] Operation: 35+11=46
Exploring Operation: 17+11=28, Resulting Numbers: [35, 28]
Generated Node #0,2,1: 29:[35, 28] Operation: 17+11=28
Exploring Operation: 35-11=24, Resulting Numbers: [17, 24]
Generated Node #0,2,2: 29:[17, 24] Operation: 35-11=24
Exploring Operation: 35-17=18, Resulting Numbers: [11, 18]
Generated Node #0,2,3: 29:[11, 18] Operation: 35-17=18
Exploring Operation: 17-11=6, Resulting Numbers: [35, 6]
Generated Node #0,2,4: 29:[35, 6] Operation: 17-11=6
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[35, 28], Operations: ['80-69=11', '17+11=28']
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,29 unequal: No Solution
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[17, 24], Operations: ['80-69=11', '35-11=24']
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,29 unequal: No Solution
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[17, 46], Operations: ['80-69=11', '35+11=46']
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,29 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[17, 69, 35, 80], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [17, 35, 11]
Generated Node #0,2: 29:[17, 35, 11] Operation: 80-69=11
Moving to Node #0,2
Current State: 29:[17, 35, 11], Operations: ['80-69=11']
Exploring Operation: 35+11=46, Resulting Numbers: [17, 46]
Generated Node #0,2,0: 29:[17, 46] Operation: 35+11=46
Moving to Node #0,2,0
Current State: 29:[17, 46], Operations: ['80-69=11', '35+11=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
11,
68,
90,
78
] | 89 | [
"11+68=79",
"90+78=168",
"168-79=89"
] | Current State: 89:[11, 68, 90, 78], Operations: []
Exploring Operation: 11+68=79, Resulting Numbers: [90, 78, 79]
Generated Node #2: [90, 78, 79] from Operation: 11+68=79
Current State: 89:[90, 78, 79], Operations: ['11+68=79']
Exploring Operation: 90+78=168, Resulting Numbers: [79, 168]
Generated Node #3: [79, 168] from Operation: 90+78=168
Current State: 89:[79, 168], Operations: ['11+68=79', '90+78=168']
Exploring Operation: 168-79=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[11, 68, 90, 78], Operations: []
Exploring Operation: 11+78=89, Resulting Numbers: [68, 90, 89]
Generated Node #0,0: 89:[68, 90, 89] Operation: 11+78=89
Exploring Operation: 11+68=79, Resulting Numbers: [90, 78, 79]
Generated Node #0,1: 89:[90, 78, 79] Operation: 11+68=79
Exploring Operation: 68-11=57, Resulting Numbers: [90, 78, 57]
Generated Node #0,2: 89:[90, 78, 57] Operation: 68-11=57
Exploring Operation: 90-11=79, Resulting Numbers: [68, 78, 79]
Generated Node #0,3: 89:[68, 78, 79] Operation: 90-11=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[68, 90, 89], Operations: ['11+78=89']
Exploring Operation: 68+89=157, Resulting Numbers: [90, 157]
Generated Node #0,0,0: 89:[90, 157] Operation: 68+89=157
Exploring Operation: 90-68=22, Resulting Numbers: [89, 22]
Generated Node #0,0,1: 89:[89, 22] Operation: 90-68=22
Exploring Operation: 89-68=21, Resulting Numbers: [90, 21]
Generated Node #0,0,2: 89:[90, 21] Operation: 89-68=21
Exploring Operation: 68+90=158, Resulting Numbers: [89, 158]
Generated Node #0,0,3: 89:[89, 158] Operation: 68+90=158
Moving to Node #0,0,1
Current State: 89:[89, 22], Operations: ['11+78=89', '90-68=22']
Exploring Operation: 89*22=1958, Resulting Numbers: [1958]
1958,89 unequal: No Solution
Exploring Operation: 89+22=111, Resulting Numbers: [111]
111,89 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[90, 21], Operations: ['11+78=89', '89-68=21']
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,89 unequal: No Solution
Exploring Operation: 90+21=111, Resulting Numbers: [111]
111,89 unequal: No Solution
Exploring Operation: 90*21=1890, Resulting Numbers: [1890]
1890,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[90, 157], Operations: ['11+78=89', '68+89=157']
Exploring Operation: 90+157=247, Resulting Numbers: [247]
247,89 unequal: No Solution
Exploring Operation: 157-90=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 90*157=14130, Resulting Numbers: [14130]
14130,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[89, 158], Operations: ['11+78=89', '68+90=158']
Exploring Operation: 89+158=247, Resulting Numbers: [247]
247,89 unequal: No Solution
Exploring Operation: 89*158=14062, Resulting Numbers: [14062]
14062,89 unequal: No Solution
Exploring Operation: 158-89=69, Resulting Numbers: [69]
69,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,1
Current State: 89:[90, 78, 79], Operations: ['11+68=79']
Exploring Operation: 90-78=12, Resulting Numbers: [79, 12]
Generated Node #0,1,0: 89:[79, 12] Operation: 90-78=12
Exploring Operation: 90+78=168, Resulting Numbers: [79, 168]
Generated Node #0,1,1: 89:[79, 168] Operation: 90+78=168
Exploring Operation: 90-79=11, Resulting Numbers: [78, 11]
Generated Node #0,1,2: 89:[78, 11] Operation: 90-79=11
Exploring Operation: 78+79=157, Resulting Numbers: [90, 157]
Generated Node #0,1,3: 89:[90, 157] Operation: 78+79=157
Moving to Node #0,1,3
Current State: 89:[90, 157], Operations: ['11+68=79', '78+79=157']
Exploring Operation: 157-90=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 90*157=14130, Resulting Numbers: [14130]
14130,89 unequal: No Solution
Exploring Operation: 90+157=247, Resulting Numbers: [247]
247,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[79, 12], Operations: ['11+68=79', '90-78=12']
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,89 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[78, 11], Operations: ['11+68=79', '90-79=11']
Exploring Operation: 78*11=858, Resulting Numbers: [858]
858,89 unequal: No Solution
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 78+11=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[11, 68, 90, 78], Operations: []
Exploring Operation: 11+68=79, Resulting Numbers: [90, 78, 79]
Generated Node #0,1: 89:[90, 78, 79] Operation: 11+68=79
Moving to Node #0,1
Current State: 89:[90, 78, 79], Operations: ['11+68=79']
Exploring Operation: 90-79=11, Resulting Numbers: [78, 11]
Generated Node #0,1,2: 89:[78, 11] Operation: 90-79=11
Moving to Node #0,1,2
Current State: 89:[78, 11], Operations: ['11+68=79', '90-79=11']
Exploring Operation: 78+11=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
30,
3,
20,
92
] | 26 | [
"3+20=23",
"92/23=4",
"30-4=26"
] | Current State: 26:[30, 3, 20, 92], Operations: []
Exploring Operation: 3+20=23, Resulting Numbers: [30, 92, 23]
Generated Node #2: [30, 92, 23] from Operation: 3+20=23
Current State: 26:[30, 92, 23], Operations: ['3+20=23']
Exploring Operation: 92/23=4, Resulting Numbers: [30, 4]
Generated Node #3: [30, 4] from Operation: 92/23=4
Current State: 26:[30, 4], Operations: ['3+20=23', '92/23=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[30, 3, 20, 92], Operations: []
Exploring Operation: 92-20=72, Resulting Numbers: [30, 3, 72]
Generated Node #0,0: 26:[30, 3, 72] Operation: 92-20=72
Exploring Operation: 30-3=27, Resulting Numbers: [20, 92, 27]
Generated Node #0,1: 26:[20, 92, 27] Operation: 30-3=27
Exploring Operation: 3+20=23, Resulting Numbers: [30, 92, 23]
Generated Node #0,2: 26:[30, 92, 23] Operation: 3+20=23
Exploring Operation: 92-30=62, Resulting Numbers: [3, 20, 62]
Generated Node #0,3: 26:[3, 20, 62] Operation: 92-30=62
Exploring Operation: 30-20=10, Resulting Numbers: [3, 92, 10]
Generated Node #0,4: 26:[3, 92, 10] Operation: 30-20=10
Moving to Node #0,3
Current State: 26:[3, 20, 62], Operations: ['92-30=62']
Exploring Operation: 3+20=23, Resulting Numbers: [62, 23]
Generated Node #0,3,0: 26:[62, 23] Operation: 3+20=23
Exploring Operation: 62-3=59, Resulting Numbers: [20, 59]
Generated Node #0,3,1: 26:[20, 59] Operation: 62-3=59
Exploring Operation: 62-20=42, Resulting Numbers: [3, 42]
Generated Node #0,3,2: 26:[3, 42] Operation: 62-20=42
Exploring Operation: 3+62=65, Resulting Numbers: [20, 65]
Generated Node #0,3,3: 26:[20, 65] Operation: 3+62=65
Exploring Operation: 20-3=17, Resulting Numbers: [62, 17]
Generated Node #0,3,4: 26:[62, 17] Operation: 20-3=17
Moving to Node #0,0
Current State: 26:[30, 3, 72], Operations: ['92-20=72']
Exploring Operation: 30-3=27, Resulting Numbers: [72, 27]
Generated Node #0,0,0: 26:[72, 27] Operation: 30-3=27
Exploring Operation: 72-3=69, Resulting Numbers: [30, 69]
Generated Node #0,0,1: 26:[30, 69] Operation: 72-3=69
Exploring Operation: 72-30=42, Resulting Numbers: [3, 42]
Generated Node #0,0,2: 26:[3, 42] Operation: 72-30=42
Exploring Operation: 30/3=10, Resulting Numbers: [72, 10]
Generated Node #0,0,3: 26:[72, 10] Operation: 30/3=10
Exploring Operation: 72/3=24, Resulting Numbers: [30, 24]
Generated Node #0,0,4: 26:[30, 24] Operation: 72/3=24
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 26:[30, 24], Operations: ['92-20=72', '72/3=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,26 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[3, 42], Operations: ['92-20=72', '72-30=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,26 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[72, 27], Operations: ['92-20=72', '30-3=27']
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,26 unequal: No Solution
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,26 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[30, 69], Operations: ['92-20=72', '72-3=69']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,26 unequal: No Solution
Exploring Operation: 30*69=2070, Resulting Numbers: [2070]
2070,26 unequal: No Solution
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[72, 10], Operations: ['92-20=72', '30/3=10']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,26 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,26 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: 26:[3, 92, 10], Operations: ['30-20=10']
Exploring Operation: 3*10=30, Resulting Numbers: [92, 30]
Generated Node #0,4,0: 26:[92, 30] Operation: 3*10=30
Exploring Operation: 3+10=13, Resulting Numbers: [92, 13]
Generated Node #0,4,1: 26:[92, 13] Operation: 3+10=13
Exploring Operation: 10-3=7, Resulting Numbers: [92, 7]
Generated Node #0,4,2: 26:[92, 7] Operation: 10-3=7
Exploring Operation: 92-10=82, Resulting Numbers: [3, 82]
Generated Node #0,4,3: 26:[3, 82] Operation: 92-10=82
Exploring Operation: 92-3=89, Resulting Numbers: [10, 89]
Generated Node #0,4,4: 26:[10, 89] Operation: 92-3=89
Moving to Node #0,1
Current State: 26:[20, 92, 27], Operations: ['30-3=27']
Exploring Operation: 20+27=47, Resulting Numbers: [92, 47]
Generated Node #0,1,0: 26:[92, 47] Operation: 20+27=47
Exploring Operation: 20+92=112, Resulting Numbers: [27, 112]
Generated Node #0,1,1: 26:[27, 112] Operation: 20+92=112
Exploring Operation: 92-20=72, Resulting Numbers: [27, 72]
Generated Node #0,1,2: 26:[27, 72] Operation: 92-20=72
Exploring Operation: 27-20=7, Resulting Numbers: [92, 7]
Generated Node #0,1,3: 26:[92, 7] Operation: 27-20=7
Exploring Operation: 92-27=65, Resulting Numbers: [20, 65]
Generated Node #0,1,4: 26:[20, 65] Operation: 92-27=65
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 26:[20, 65], Operations: ['30-3=27', '92-27=65']
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 20+65=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Exploring Operation: 20*65=1300, Resulting Numbers: [1300]
1300,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[27, 72], Operations: ['30-3=27', '92-20=72']
Exploring Operation: 27+72=99, Resulting Numbers: [99]
99,26 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 27*72=1944, Resulting Numbers: [1944]
1944,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[92, 7], Operations: ['30-3=27', '27-20=7']
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,26 unequal: No Solution
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Exploring Operation: 92*7=644, Resulting Numbers: [644]
644,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[92, 47], Operations: ['30-3=27', '20+27=47']
Exploring Operation: 92*47=4324, Resulting Numbers: [4324]
4324,26 unequal: No Solution
Exploring Operation: 92+47=139, Resulting Numbers: [139]
139,26 unequal: No Solution
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[27, 112], Operations: ['30-3=27', '20+92=112']
Exploring Operation: 112-27=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Exploring Operation: 27*112=3024, Resulting Numbers: [3024]
3024,26 unequal: No Solution
Exploring Operation: 27+112=139, Resulting Numbers: [139]
139,26 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: 26:[30, 92, 23], Operations: ['3+20=23']
Exploring Operation: 30+23=53, Resulting Numbers: [92, 53]
Generated Node #0,2,0: 26:[92, 53] Operation: 30+23=53
Exploring Operation: 92-30=62, Resulting Numbers: [23, 62]
Generated Node #0,2,1: 26:[23, 62] Operation: 92-30=62
Exploring Operation: 30-23=7, Resulting Numbers: [92, 7]
Generated Node #0,2,2: 26:[92, 7] Operation: 30-23=7
Exploring Operation: 92-23=69, Resulting Numbers: [30, 69]
Generated Node #0,2,3: 26:[30, 69] Operation: 92-23=69
Exploring Operation: 92/23=4, Resulting Numbers: [30, 4]
Generated Node #0,2,4: 26:[30, 4] Operation: 92/23=4
Moving to Node #0,2,4
Current State: 26:[30, 4], Operations: ['3+20=23', '92/23=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[30, 3, 20, 92], Operations: []
Exploring Operation: 3+20=23, Resulting Numbers: [30, 92, 23]
Generated Node #0,2: 26:[30, 92, 23] Operation: 3+20=23
Moving to Node #0,2
Current State: 26:[30, 92, 23], Operations: ['3+20=23']
Exploring Operation: 92/23=4, Resulting Numbers: [30, 4]
Generated Node #0,2,4: 26:[30, 4] Operation: 92/23=4
Moving to Node #0,2,4
Current State: 26:[30, 4], Operations: ['3+20=23', '92/23=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.942708 | hs_5 | mult_heuristic |
[
17,
81,
5,
18
] | 99 | [
"17+5=22",
"81*22=1782",
"1782/18=99"
] | Current State: 99:[17, 81, 5, 18], Operations: []
Exploring Operation: 17+5=22, Resulting Numbers: [81, 18, 22]
Generated Node #2: [81, 18, 22] from Operation: 17+5=22
Current State: 99:[81, 18, 22], Operations: ['17+5=22']
Exploring Operation: 81*22=1782, Resulting Numbers: [18, 1782]
Generated Node #3: [18, 1782] from Operation: 81*22=1782
Current State: 99:[18, 1782], Operations: ['17+5=22', '81*22=1782']
Exploring Operation: 1782/18=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[17, 81, 5, 18], Operations: []
Exploring Operation: 17+18=35, Resulting Numbers: [81, 5, 35]
Generated Node #0,0: 99:[81, 5, 35] Operation: 17+18=35
Exploring Operation: 18-17=1, Resulting Numbers: [81, 5, 1]
Generated Node #0,1: 99:[81, 5, 1] Operation: 18-17=1
Exploring Operation: 81+18=99, Resulting Numbers: [17, 5, 99]
Generated Node #0,2: 99:[17, 5, 99] Operation: 81+18=99
Exploring Operation: 17+81=98, Resulting Numbers: [5, 18, 98]
Generated Node #0,3: 99:[5, 18, 98] Operation: 17+81=98
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[17, 5, 99], Operations: ['81+18=99']
Exploring Operation: 99-5=94, Resulting Numbers: [17, 94]
Generated Node #0,2,0: 99:[17, 94] Operation: 99-5=94
Exploring Operation: 17-5=12, Resulting Numbers: [99, 12]
Generated Node #0,2,1: 99:[99, 12] Operation: 17-5=12
Exploring Operation: 17+5=22, Resulting Numbers: [99, 22]
Generated Node #0,2,2: 99:[99, 22] Operation: 17+5=22
Exploring Operation: 5+99=104, Resulting Numbers: [17, 104]
Generated Node #0,2,3: 99:[17, 104] Operation: 5+99=104
Moving to Node #0,2,1
Current State: 99:[99, 12], Operations: ['81+18=99', '17-5=12']
Exploring Operation: 99*12=1188, Resulting Numbers: [1188]
1188,99 unequal: No Solution
Exploring Operation: 99+12=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Exploring Operation: 99-12=87, Resulting Numbers: [87]
87,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[99, 22], Operations: ['81+18=99', '17+5=22']
Exploring Operation: 99*22=2178, Resulting Numbers: [2178]
2178,99 unequal: No Solution
Exploring Operation: 99+22=121, Resulting Numbers: [121]
121,99 unequal: No Solution
Exploring Operation: 99-22=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[17, 94], Operations: ['81+18=99', '99-5=94']
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 17*94=1598, Resulting Numbers: [1598]
1598,99 unequal: No Solution
Exploring Operation: 17+94=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[17, 104], Operations: ['81+18=99', '5+99=104']
Exploring Operation: 104-17=87, Resulting Numbers: [87]
87,99 unequal: No Solution
Exploring Operation: 17+104=121, Resulting Numbers: [121]
121,99 unequal: No Solution
Exploring Operation: 17*104=1768, Resulting Numbers: [1768]
1768,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,3
Current State: 99:[5, 18, 98], Operations: ['17+81=98']
Exploring Operation: 18-5=13, Resulting Numbers: [98, 13]
Generated Node #0,3,0: 99:[98, 13] Operation: 18-5=13
Exploring Operation: 5+18=23, Resulting Numbers: [98, 23]
Generated Node #0,3,1: 99:[98, 23] Operation: 5+18=23
Exploring Operation: 5*18=90, Resulting Numbers: [98, 90]
Generated Node #0,3,2: 99:[98, 90] Operation: 5*18=90
Exploring Operation: 5+98=103, Resulting Numbers: [18, 103]
Generated Node #0,3,3: 99:[18, 103] Operation: 5+98=103
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 99:[98, 13], Operations: ['17+81=98', '18-5=13']
Exploring Operation: 98+13=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 98*13=1274, Resulting Numbers: [1274]
1274,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 99:[98, 90], Operations: ['17+81=98', '5*18=90']
Exploring Operation: 98*90=8820, Resulting Numbers: [8820]
8820,99 unequal: No Solution
Exploring Operation: 98+90=188, Resulting Numbers: [188]
188,99 unequal: No Solution
Exploring Operation: 98-90=8, Resulting Numbers: [8]
8,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 99:[98, 23], Operations: ['17+81=98', '5+18=23']
Exploring Operation: 98+23=121, Resulting Numbers: [121]
121,99 unequal: No Solution
Exploring Operation: 98-23=75, Resulting Numbers: [75]
75,99 unequal: No Solution
Exploring Operation: 98*23=2254, Resulting Numbers: [2254]
2254,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 99:[18, 103], Operations: ['17+81=98', '5+98=103']
Exploring Operation: 18*103=1854, Resulting Numbers: [1854]
1854,99 unequal: No Solution
Exploring Operation: 103-18=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 18+103=121, Resulting Numbers: [121]
121,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[81, 5, 35], Operations: ['17+18=35']
Exploring Operation: 81+5=86, Resulting Numbers: [35, 86]
Generated Node #0,0,0: 99:[35, 86] Operation: 81+5=86
Exploring Operation: 81-35=46, Resulting Numbers: [5, 46]
Generated Node #0,0,1: 99:[5, 46] Operation: 81-35=46
Exploring Operation: 81+35=116, Resulting Numbers: [5, 116]
Generated Node #0,0,2: 99:[5, 116] Operation: 81+35=116
Exploring Operation: 35/5=7, Resulting Numbers: [81, 7]
Generated Node #0,0,3: 99:[81, 7] Operation: 35/5=7
Moving to Node #0,0,0
Current State: 99:[35, 86], Operations: ['17+18=35', '81+5=86']
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,99 unequal: No Solution
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,99 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[5, 46], Operations: ['17+18=35', '81-35=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,99 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[5, 116], Operations: ['17+18=35', '81+35=116']
Exploring Operation: 116-5=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Exploring Operation: 5+116=121, Resulting Numbers: [121]
121,99 unequal: No Solution
Exploring Operation: 5*116=580, Resulting Numbers: [580]
580,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[81, 7], Operations: ['17+18=35', '35/5=7']
Exploring Operation: 81*7=567, Resulting Numbers: [567]
567,99 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,99 unequal: No Solution
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[81, 5, 1], Operations: ['18-17=1']
Exploring Operation: 81*1=81, Resulting Numbers: [5, 81]
Generated Node #0,1,0: 99:[5, 81] Operation: 81*1=81
Exploring Operation: 81+5=86, Resulting Numbers: [1, 86]
Generated Node #0,1,1: 99:[1, 86] Operation: 81+5=86
Exploring Operation: 81+1=82, Resulting Numbers: [5, 82]
Generated Node #0,1,2: 99:[5, 82] Operation: 81+1=82
Exploring Operation: 5-1=4, Resulting Numbers: [81, 4]
Generated Node #0,1,3: 99:[81, 4] Operation: 5-1=4
Moving to Node #0,1,1
Current State: 99:[1, 86], Operations: ['18-17=1', '81+5=86']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,99 unequal: No Solution
Exploring Operation: 1+86=87, Resulting Numbers: [87]
87,99 unequal: No Solution
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[81, 4], Operations: ['18-17=1', '5-1=4']
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,99 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[5, 82], Operations: ['18-17=1', '81+1=82']
Exploring Operation: 5+82=87, Resulting Numbers: [87]
87,99 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 5*82=410, Resulting Numbers: [410]
410,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[5, 81], Operations: ['18-17=1', '81*1=81']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,99 unequal: No Solution
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,99 unequal: No Solution
Exploring Operation: 5*81=405, Resulting Numbers: [405]
405,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 | sum_heuristic |
[
74,
76,
71,
25
] | 79 | [
"76-71=5",
"25/5=5",
"74+5=79"
] | Current State: 79:[74, 76, 71, 25], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [74, 25, 5]
Generated Node #2: [74, 25, 5] from Operation: 76-71=5
Current State: 79:[74, 25, 5], Operations: ['76-71=5']
Exploring Operation: 25/5=5, Resulting Numbers: [74, 5]
Generated Node #3: [74, 5] from Operation: 25/5=5
Current State: 79:[74, 5], Operations: ['76-71=5', '25/5=5']
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[74, 76, 71, 25], Operations: []
Exploring Operation: 71+25=96, Resulting Numbers: [74, 76, 96]
Generated Node #0,0: 79:[74, 76, 96] Operation: 71+25=96
Exploring Operation: 76+25=101, Resulting Numbers: [74, 71, 101]
Generated Node #0,1: 79:[74, 71, 101] Operation: 76+25=101
Exploring Operation: 74+25=99, Resulting Numbers: [76, 71, 99]
Generated Node #0,2: 79:[76, 71, 99] Operation: 74+25=99
Exploring Operation: 74-25=49, Resulting Numbers: [76, 71, 49]
Generated Node #0,3: 79:[76, 71, 49] Operation: 74-25=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[74, 76, 96], Operations: ['71+25=96']
Exploring Operation: 76-74=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 79:[96, 2] Operation: 76-74=2
Exploring Operation: 96-74=22, Resulting Numbers: [76, 22]
Generated Node #0,0,1: 79:[76, 22] Operation: 96-74=22
Exploring Operation: 74+76=150, Resulting Numbers: [96, 150]
Generated Node #0,0,2: 79:[96, 150] Operation: 74+76=150
Exploring Operation: 96-76=20, Resulting Numbers: [74, 20]
Generated Node #0,0,3: 79:[74, 20] Operation: 96-76=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[76, 22], Operations: ['71+25=96', '96-74=22']
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,79 unequal: No Solution
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[74, 20], Operations: ['71+25=96', '96-76=20']
Exploring Operation: 74+20=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 74*20=1480, Resulting Numbers: [1480]
1480,79 unequal: No Solution
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[96, 150], Operations: ['71+25=96', '74+76=150']
Exploring Operation: 96*150=14400, Resulting Numbers: [14400]
14400,79 unequal: No Solution
Exploring Operation: 150-96=54, Resulting Numbers: [54]
54,79 unequal: No Solution
Exploring Operation: 96+150=246, Resulting Numbers: [246]
246,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[96, 2], Operations: ['71+25=96', '76-74=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,79 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[76, 71, 99], Operations: ['74+25=99']
Exploring Operation: 99-76=23, Resulting Numbers: [71, 23]
Generated Node #0,2,0: 79:[71, 23] Operation: 99-76=23
Exploring Operation: 76-71=5, Resulting Numbers: [99, 5]
Generated Node #0,2,1: 79:[99, 5] Operation: 76-71=5
Exploring Operation: 99-71=28, Resulting Numbers: [76, 28]
Generated Node #0,2,2: 79:[76, 28] Operation: 99-71=28
Exploring Operation: 76+71=147, Resulting Numbers: [99, 147]
Generated Node #0,2,3: 79:[99, 147] Operation: 76+71=147
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[76, 28], Operations: ['74+25=99', '99-71=28']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,79 unequal: No Solution
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[71, 23], Operations: ['74+25=99', '99-76=23']
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 79:[99, 147], Operations: ['74+25=99', '76+71=147']
Exploring Operation: 147-99=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 99*147=14553, Resulting Numbers: [14553]
14553,79 unequal: No Solution
Exploring Operation: 99+147=246, Resulting Numbers: [246]
246,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[99, 5], Operations: ['74+25=99', '76-71=5']
Exploring Operation: 99+5=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 99*5=495, Resulting Numbers: [495]
495,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[74, 71, 101], Operations: ['76+25=101']
Exploring Operation: 74+71=145, Resulting Numbers: [101, 145]
Generated Node #0,1,0: 79:[101, 145] Operation: 74+71=145
Exploring Operation: 101-74=27, Resulting Numbers: [71, 27]
Generated Node #0,1,1: 79:[71, 27] Operation: 101-74=27
Exploring Operation: 74-71=3, Resulting Numbers: [101, 3]
Generated Node #0,1,2: 79:[101, 3] Operation: 74-71=3
Exploring Operation: 101-71=30, Resulting Numbers: [74, 30]
Generated Node #0,1,3: 79:[74, 30] Operation: 101-71=30
Moving to Node #0,1,3
Current State: 79:[74, 30], Operations: ['76+25=101', '101-71=30']
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,79 unequal: No Solution
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[71, 27], Operations: ['76+25=101', '101-74=27']
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,79 unequal: No Solution
Exploring Operation: 71+27=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 71*27=1917, Resulting Numbers: [1917]
1917,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[101, 145], Operations: ['76+25=101', '74+71=145']
Exploring Operation: 145-101=44, Resulting Numbers: [44]
44,79 unequal: No Solution
Exploring Operation: 101+145=246, Resulting Numbers: [246]
246,79 unequal: No Solution
Exploring Operation: 101*145=14645, Resulting Numbers: [14645]
14645,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[101, 3], Operations: ['76+25=101', '74-71=3']
Exploring Operation: 101-3=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 101+3=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 101*3=303, Resulting Numbers: [303]
303,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[76, 71, 49], Operations: ['74-25=49']
Exploring Operation: 76+49=125, Resulting Numbers: [71, 125]
Generated Node #0,3,0: 79:[71, 125] Operation: 76+49=125
Exploring Operation: 71+49=120, Resulting Numbers: [76, 120]
Generated Node #0,3,1: 79:[76, 120] Operation: 71+49=120
Exploring Operation: 71-49=22, Resulting Numbers: [76, 22]
Generated Node #0,3,2: 79:[76, 22] Operation: 71-49=22
Exploring Operation: 76-49=27, Resulting Numbers: [71, 27]
Generated Node #0,3,3: 79:[71, 27] Operation: 76-49=27
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 79:[76, 120], Operations: ['74-25=49', '71+49=120']
Exploring Operation: 76*120=9120, Resulting Numbers: [9120]
9120,79 unequal: No Solution
Exploring Operation: 76+120=196, Resulting Numbers: [196]
196,79 unequal: No Solution
Exploring Operation: 120-76=44, Resulting Numbers: [44]
44,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[71, 125], Operations: ['74-25=49', '76+49=125']
Exploring Operation: 125-71=54, Resulting Numbers: [54]
54,79 unequal: No Solution
Exploring Operation: 71+125=196, Resulting Numbers: [196]
196,79 unequal: No Solution
Exploring Operation: 71*125=8875, Resulting Numbers: [8875]
8875,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[76, 22], Operations: ['74-25=49', '71-49=22']
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,79 unequal: No Solution
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 79:[71, 27], Operations: ['74-25=49', '76-49=27']
Exploring Operation: 71*27=1917, Resulting Numbers: [1917]
1917,79 unequal: No Solution
Exploring Operation: 71+27=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
88,
87,
3,
56
] | 58 | [
"88-87=1",
"3+56=59",
"59-1=58"
] | Current State: 58:[88, 87, 3, 56], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [3, 56, 1]
Generated Node #2: [3, 56, 1] from Operation: 88-87=1
Current State: 58:[3, 56, 1], Operations: ['88-87=1']
Exploring Operation: 3+56=59, Resulting Numbers: [1, 59]
Generated Node #3: [1, 59] from Operation: 3+56=59
Current State: 58:[1, 59], Operations: ['88-87=1', '3+56=59']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[88, 87, 3, 56], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [3, 56, 1]
Generated Node #0,0: 58:[3, 56, 1] Operation: 88-87=1
Exploring Operation: 87/3=29, Resulting Numbers: [88, 56, 29]
Generated Node #0,1: 58:[88, 56, 29] Operation: 87/3=29
Moving to Node #0,0
Current State: 58:[3, 56, 1], Operations: ['88-87=1']
Exploring Operation: 3+56=59, Resulting Numbers: [1, 59]
Generated Node #0,0,0: 58:[1, 59] Operation: 3+56=59
Exploring Operation: 3-1=2, Resulting Numbers: [56, 2]
Generated Node #0,0,1: 58:[56, 2] Operation: 3-1=2
Moving to Node #0,1
Current State: 58:[88, 56, 29], Operations: ['87/3=29']
Exploring Operation: 88-56=32, Resulting Numbers: [29, 32]
Generated Node #0,1,0: 58:[29, 32] Operation: 88-56=32
Exploring Operation: 88-29=59, Resulting Numbers: [56, 59]
Generated Node #0,1,1: 58:[56, 59] Operation: 88-29=59
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[29, 32], Operations: ['87/3=29', '88-56=32']
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,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,1,1
Current State: 58:[56, 59], Operations: ['87/3=29', '88-29=59']
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,58 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: 58:[1, 59], Operations: ['88-87=1', '3+56=59']
Exploring Operation: 1*59=59, Resulting Numbers: [59]
59,58 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[88, 87, 3, 56], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [3, 56, 1]
Generated Node #0,0: 58:[3, 56, 1] Operation: 88-87=1
Moving to Node #0,0
Current State: 58:[3, 56, 1], Operations: ['88-87=1']
Exploring Operation: 3+56=59, Resulting Numbers: [1, 59]
Generated Node #0,0,0: 58:[1, 59] Operation: 3+56=59
Moving to Node #0,0,0
Current State: 58:[1, 59], Operations: ['88-87=1', '3+56=59']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
57,
81,
21,
96
] | 32 | [
"81-57=24",
"24-21=3",
"96/3=32"
] | Current State: 32:[57, 81, 21, 96], Operations: []
Exploring Operation: 81-57=24, Resulting Numbers: [21, 96, 24]
Generated Node #2: [21, 96, 24] from Operation: 81-57=24
Current State: 32:[21, 96, 24], Operations: ['81-57=24']
Exploring Operation: 24-21=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 24-21=3
Current State: 32:[96, 3], Operations: ['81-57=24', '24-21=3']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[57, 81, 21, 96], Operations: []
Exploring Operation: 81-57=24, Resulting Numbers: [21, 96, 24]
Generated Node #0,0: 32:[21, 96, 24] Operation: 81-57=24
Exploring Operation: 57-21=36, Resulting Numbers: [81, 96, 36]
Generated Node #0,1: 32:[81, 96, 36] Operation: 57-21=36
Exploring Operation: 96-57=39, Resulting Numbers: [81, 21, 39]
Generated Node #0,2: 32:[81, 21, 39] Operation: 96-57=39
Exploring Operation: 96-81=15, Resulting Numbers: [57, 21, 15]
Generated Node #0,3: 32:[57, 21, 15] Operation: 96-81=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[57, 21, 15], Operations: ['96-81=15']
Exploring Operation: 57-21=36, Resulting Numbers: [15, 36]
Generated Node #0,3,0: 32:[15, 36] Operation: 57-21=36
Exploring Operation: 57-15=42, Resulting Numbers: [21, 42]
Generated Node #0,3,1: 32:[21, 42] Operation: 57-15=42
Exploring Operation: 21-15=6, Resulting Numbers: [57, 6]
Generated Node #0,3,2: 32:[57, 6] Operation: 21-15=6
Exploring Operation: 21+15=36, Resulting Numbers: [57, 36]
Generated Node #0,3,3: 32:[57, 36] Operation: 21+15=36
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 32:[15, 36], Operations: ['96-81=15', '57-21=36']
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 32:[21, 42], Operations: ['96-81=15', '57-15=42']
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 21*42=882, Resulting Numbers: [882]
882,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 32:[57, 6], Operations: ['96-81=15', '21-15=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,32 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 32:[57, 36], Operations: ['96-81=15', '21+15=36']
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 57*36=2052, Resulting Numbers: [2052]
2052,32 unequal: No Solution
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[81, 21, 39], Operations: ['96-57=39']
Exploring Operation: 81+21=102, Resulting Numbers: [39, 102]
Generated Node #0,2,0: 32:[39, 102] Operation: 81+21=102
Exploring Operation: 39-21=18, Resulting Numbers: [81, 18]
Generated Node #0,2,1: 32:[81, 18] Operation: 39-21=18
Exploring Operation: 81-21=60, Resulting Numbers: [39, 60]
Generated Node #0,2,2: 32:[39, 60] Operation: 81-21=60
Exploring Operation: 81-39=42, Resulting Numbers: [21, 42]
Generated Node #0,2,3: 32:[21, 42] Operation: 81-39=42
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 32:[21, 42], Operations: ['96-57=39', '81-39=42']
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 21*42=882, Resulting Numbers: [882]
882,32 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[39, 60], Operations: ['96-57=39', '81-21=60']
Exploring Operation: 39*60=2340, Resulting Numbers: [2340]
2340,32 unequal: No Solution
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[81, 18], Operations: ['96-57=39', '39-21=18']
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[39, 102], Operations: ['96-57=39', '81+21=102']
Exploring Operation: 102-39=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 39*102=3978, Resulting Numbers: [3978]
3978,32 unequal: No Solution
Exploring Operation: 39+102=141, Resulting Numbers: [141]
141,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[21, 96, 24], Operations: ['81-57=24']
Exploring Operation: 96-24=72, Resulting Numbers: [21, 72]
Generated Node #0,0,0: 32:[21, 72] Operation: 96-24=72
Exploring Operation: 96/24=4, Resulting Numbers: [21, 4]
Generated Node #0,0,1: 32:[21, 4] Operation: 96/24=4
Exploring Operation: 24-21=3, Resulting Numbers: [96, 3]
Generated Node #0,0,2: 32:[96, 3] Operation: 24-21=3
Exploring Operation: 96-21=75, Resulting Numbers: [24, 75]
Generated Node #0,0,3: 32:[24, 75] Operation: 96-21=75
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[21, 4], Operations: ['81-57=24', '96/24=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,32 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[21, 72], Operations: ['81-57=24', '96-24=72']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 21*72=1512, Resulting Numbers: [1512]
1512,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 32:[24, 75], Operations: ['81-57=24', '96-21=75']
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 24*75=1800, Resulting Numbers: [1800]
1800,32 unequal: No Solution
Exploring Operation: 24+75=99, Resulting Numbers: [99]
99,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 32:[96, 3], Operations: ['81-57=24', '24-21=3']
Exploring Operation: 96*3=288, Resulting Numbers: [288]
288,32 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[57, 81, 21, 96], Operations: []
Exploring Operation: 81-57=24, Resulting Numbers: [21, 96, 24]
Generated Node #0,0: 32:[21, 96, 24] Operation: 81-57=24
Moving to Node #0,0
Current State: 32:[21, 96, 24], Operations: ['81-57=24']
Exploring Operation: 24-21=3, Resulting Numbers: [96, 3]
Generated Node #0,0,2: 32:[96, 3] Operation: 24-21=3
Moving to Node #0,0,2
Current State: 32:[96, 3], Operations: ['81-57=24', '24-21=3']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.948785 | hs_4 | sum_heuristic |
[
64,
58,
13,
33
] | 45 | [
"64-58=6",
"13*6=78",
"78-33=45"
] | Current State: 45:[64, 58, 13, 33], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [13, 33, 6]
Generated Node #2: [13, 33, 6] from Operation: 64-58=6
Current State: 45:[13, 33, 6], Operations: ['64-58=6']
Exploring Operation: 13*6=78, Resulting Numbers: [33, 78]
Generated Node #3: [33, 78] from Operation: 13*6=78
Current State: 45:[33, 78], Operations: ['64-58=6', '13*6=78']
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[64, 58, 13, 33], Operations: []
Exploring Operation: 64-33=31, Resulting Numbers: [58, 13, 31]
Generated Node #0,0: 45:[58, 13, 31] Operation: 64-33=31
Exploring Operation: 64-58=6, Resulting Numbers: [13, 33, 6]
Generated Node #0,1: 45:[13, 33, 6] Operation: 64-58=6
Exploring Operation: 64-13=51, Resulting Numbers: [58, 33, 51]
Generated Node #0,2: 45:[58, 33, 51] Operation: 64-13=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[13, 33, 6], Operations: ['64-58=6']
Exploring Operation: 13+33=46, Resulting Numbers: [6, 46]
Generated Node #0,1,0: 45:[6, 46] Operation: 13+33=46
Exploring Operation: 33+6=39, Resulting Numbers: [13, 39]
Generated Node #0,1,1: 45:[13, 39] Operation: 33+6=39
Exploring Operation: 33-13=20, Resulting Numbers: [6, 20]
Generated Node #0,1,2: 45:[6, 20] Operation: 33-13=20
Moving to Node #0,1,0
Current State: 45:[6, 46], Operations: ['64-58=6', '13+33=46']
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,45 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[6, 20], Operations: ['64-58=6', '33-13=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[13, 39], Operations: ['64-58=6', '33+6=39']
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,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,0
Current State: 45:[58, 13, 31], Operations: ['64-33=31']
Exploring Operation: 13+31=44, Resulting Numbers: [58, 44]
Generated Node #0,0,0: 45:[58, 44] Operation: 13+31=44
Exploring Operation: 58-31=27, Resulting Numbers: [13, 27]
Generated Node #0,0,1: 45:[13, 27] Operation: 58-31=27
Exploring Operation: 58-13=45, Resulting Numbers: [31, 45]
Generated Node #0,0,2: 45:[31, 45] Operation: 58-13=45
Moving to Node #0,0,0
Current State: 45:[58, 44], Operations: ['64-33=31', '13+31=44']
Exploring Operation: 58+44=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Exploring Operation: 58*44=2552, Resulting Numbers: [2552]
2552,45 unequal: No Solution
Exploring Operation: 58-44=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[13, 27], Operations: ['64-33=31', '58-31=27']
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,45 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[31, 45], Operations: ['64-33=31', '58-13=45']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,45 unequal: No Solution
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,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
Current State: 45:[58, 33, 51], Operations: ['64-13=51']
Exploring Operation: 51-33=18, Resulting Numbers: [58, 18]
Generated Node #0,2,0: 45:[58, 18] Operation: 51-33=18
Exploring Operation: 58-51=7, Resulting Numbers: [33, 7]
Generated Node #0,2,1: 45:[33, 7] Operation: 58-51=7
Exploring Operation: 58-33=25, Resulting Numbers: [51, 25]
Generated Node #0,2,2: 45:[51, 25] Operation: 58-33=25
Moving to Node #0,2,1
Current State: 45:[33, 7], Operations: ['64-13=51', '58-51=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[58, 18], Operations: ['64-13=51', '51-33=18']
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,45 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[51, 25], Operations: ['64-13=51', '58-33=25']
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,45 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
33,
43,
32,
55
] | 99 | [
"33+43=76",
"55-32=23",
"76+23=99"
] | Current State: 99:[33, 43, 32, 55], Operations: []
Exploring Operation: 33+43=76, Resulting Numbers: [32, 55, 76]
Generated Node #2: [32, 55, 76] from Operation: 33+43=76
Current State: 99:[32, 55, 76], Operations: ['33+43=76']
Exploring Operation: 55-32=23, Resulting Numbers: [76, 23]
Generated Node #3: [76, 23] from Operation: 55-32=23
Current State: 99:[76, 23], Operations: ['33+43=76', '55-32=23']
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[33, 43, 32, 55], Operations: []
Exploring Operation: 55-43=12, Resulting Numbers: [33, 32, 12]
Generated Node #0,0: 99:[33, 32, 12] Operation: 55-43=12
Exploring Operation: 43+55=98, Resulting Numbers: [33, 32, 98]
Generated Node #0,1: 99:[33, 32, 98] Operation: 43+55=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[33, 32, 12], Operations: ['55-43=12']
Exploring Operation: 32-12=20, Resulting Numbers: [33, 20]
Generated Node #0,0,0: 99:[33, 20] Operation: 32-12=20
Exploring Operation: 33-32=1, Resulting Numbers: [12, 1]
Generated Node #0,0,1: 99:[12, 1] Operation: 33-32=1
Moving to Node #0,0,1
Current State: 99:[12, 1], Operations: ['55-43=12', '33-32=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[33, 20], Operations: ['55-43=12', '32-12=20']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[33, 32, 98], Operations: ['43+55=98']
Exploring Operation: 33-32=1, Resulting Numbers: [98, 1]
Generated Node #0,1,0: 99:[98, 1] Operation: 33-32=1
Exploring Operation: 32+98=130, Resulting Numbers: [33, 130]
Generated Node #0,1,1: 99:[33, 130] Operation: 32+98=130
Moving to Node #0,1,0
Current State: 99:[98, 1], Operations: ['43+55=98', '33-32=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[33, 43, 32, 55], Operations: []
Exploring Operation: 43+55=98, Resulting Numbers: [33, 32, 98]
Generated Node #0,1: 99:[33, 32, 98] Operation: 43+55=98
Moving to Node #0,1
Current State: 99:[33, 32, 98], Operations: ['43+55=98']
Exploring Operation: 33-32=1, Resulting Numbers: [98, 1]
Generated Node #0,1,0: 99:[98, 1] Operation: 33-32=1
Moving to Node #0,1,0
Current State: 99:[98, 1], Operations: ['43+55=98', '33-32=1']
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
4,
74,
85,
82
] | 46 | [
"74+82=156",
"156/4=39",
"85-39=46"
] | Current State: 46:[4, 74, 85, 82], Operations: []
Exploring Operation: 74+82=156, Resulting Numbers: [4, 85, 156]
Generated Node #2: [4, 85, 156] from Operation: 74+82=156
Current State: 46:[4, 85, 156], Operations: ['74+82=156']
Exploring Operation: 156/4=39, Resulting Numbers: [85, 39]
Generated Node #3: [85, 39] from Operation: 156/4=39
Current State: 46:[85, 39], Operations: ['74+82=156', '156/4=39']
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[4, 74, 85, 82], Operations: []
Exploring Operation: 85-82=3, Resulting Numbers: [4, 74, 3]
Generated Node #0,0: 46:[4, 74, 3] Operation: 85-82=3
Exploring Operation: 82-74=8, Resulting Numbers: [4, 85, 8]
Generated Node #0,1: 46:[4, 85, 8] Operation: 82-74=8
Exploring Operation: 74-4=70, Resulting Numbers: [85, 82, 70]
Generated Node #0,2: 46:[85, 82, 70] Operation: 74-4=70
Exploring Operation: 85-74=11, Resulting Numbers: [4, 82, 11]
Generated Node #0,3: 46:[4, 82, 11] Operation: 85-74=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[4, 74, 3], Operations: ['85-82=3']
Exploring Operation: 4-3=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 46:[74, 1] Operation: 4-3=1
Exploring Operation: 4+74=78, Resulting Numbers: [3, 78]
Generated Node #0,0,1: 46:[3, 78] Operation: 4+74=78
Exploring Operation: 74-4=70, Resulting Numbers: [3, 70]
Generated Node #0,0,2: 46:[3, 70] Operation: 74-4=70
Exploring Operation: 74-3=71, Resulting Numbers: [4, 71]
Generated Node #0,0,3: 46:[4, 71] Operation: 74-3=71
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 46:[3, 70], Operations: ['85-82=3', '74-4=70']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,46 unequal: No Solution
No 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: 46:[4, 71], Operations: ['85-82=3', '74-3=71']
Exploring Operation: 4*71=284, Resulting Numbers: [284]
284,46 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,46 unequal: No Solution
No 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: 46:[74, 1], Operations: ['85-82=3', '4-3=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,46 unequal: No Solution
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,46 unequal: No Solution
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,46 unequal: No Solution
No 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: 46:[3, 78], Operations: ['85-82=3', '4+74=78']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,46 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,46 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[4, 85, 8], Operations: ['82-74=8']
Exploring Operation: 85-4=81, Resulting Numbers: [8, 81]
Generated Node #0,1,0: 46:[8, 81] Operation: 85-4=81
Exploring Operation: 8/4=2, Resulting Numbers: [85, 2]
Generated Node #0,1,1: 46:[85, 2] Operation: 8/4=2
Exploring Operation: 85-8=77, Resulting Numbers: [4, 77]
Generated Node #0,1,2: 46:[4, 77] Operation: 85-8=77
Exploring Operation: 8-4=4, Resulting Numbers: [85, 4]
Generated Node #0,1,3: 46:[85, 4] Operation: 8-4=4
Moving to Node #0,1,2
Current State: 46:[4, 77], Operations: ['82-74=8', '85-8=77']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,46 unequal: No Solution
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[85, 2], Operations: ['82-74=8', '8/4=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[85, 4], Operations: ['82-74=8', '8-4=4']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,46 unequal: No Solution
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 85*4=340, Resulting Numbers: [340]
340,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[8, 81], Operations: ['82-74=8', '85-4=81']
Exploring Operation: 8+81=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 8*81=648, Resulting Numbers: [648]
648,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,3
Current State: 46:[4, 82, 11], Operations: ['85-74=11']
Exploring Operation: 11-4=7, Resulting Numbers: [82, 7]
Generated Node #0,3,0: 46:[82, 7] Operation: 11-4=7
Exploring Operation: 4*11=44, Resulting Numbers: [82, 44]
Generated Node #0,3,1: 46:[82, 44] Operation: 4*11=44
Exploring Operation: 82-4=78, Resulting Numbers: [11, 78]
Generated Node #0,3,2: 46:[11, 78] Operation: 82-4=78
Exploring Operation: 82-11=71, Resulting Numbers: [4, 71]
Generated Node #0,3,3: 46:[4, 71] Operation: 82-11=71
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 46:[4, 71], Operations: ['85-74=11', '82-11=71']
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 4*71=284, Resulting Numbers: [284]
284,46 unequal: No Solution
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,46 unequal: No Solution
No 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: 46:[82, 44], Operations: ['85-74=11', '4*11=44']
Exploring Operation: 82+44=126, Resulting Numbers: [126]
126,46 unequal: No Solution
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 82*44=3608, Resulting Numbers: [3608]
3608,46 unequal: No Solution
No 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: 46:[82, 7], Operations: ['85-74=11', '11-4=7']
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,46 unequal: No Solution
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,46 unequal: No Solution
No 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: 46:[11, 78], Operations: ['85-74=11', '82-4=78']
Exploring Operation: 11*78=858, Resulting Numbers: [858]
858,46 unequal: No Solution
Exploring Operation: 11+78=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[85, 82, 70], Operations: ['74-4=70']
Exploring Operation: 82-70=12, Resulting Numbers: [85, 12]
Generated Node #0,2,0: 46:[85, 12] Operation: 82-70=12
Exploring Operation: 85-82=3, Resulting Numbers: [70, 3]
Generated Node #0,2,1: 46:[70, 3] Operation: 85-82=3
Exploring Operation: 85-70=15, Resulting Numbers: [82, 15]
Generated Node #0,2,2: 46:[82, 15] Operation: 85-70=15
Exploring Operation: 85+82=167, Resulting Numbers: [70, 167]
Generated Node #0,2,3: 46:[70, 167] Operation: 85+82=167
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 46:[70, 3], Operations: ['74-4=70', '85-82=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,46 unequal: No Solution
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,46 unequal: No Solution
No 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: 46:[82, 15], Operations: ['74-4=70', '85-70=15']
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,46 unequal: No Solution
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,46 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,46 unequal: No Solution
No 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: 46:[85, 12], Operations: ['74-4=70', '82-70=12']
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 85+12=97, Resulting Numbers: [97]
97,46 unequal: No Solution
Exploring Operation: 85*12=1020, Resulting Numbers: [1020]
1020,46 unequal: No Solution
No 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: 46:[70, 167], Operations: ['74-4=70', '85+82=167']
Exploring Operation: 70*167=11690, Resulting Numbers: [11690]
11690,46 unequal: No Solution
Exploring Operation: 70+167=237, Resulting Numbers: [237]
237,46 unequal: No Solution
Exploring Operation: 167-70=97, Resulting Numbers: [97]
97,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_4 | mult_heuristic |
[
90,
37,
6,
3
] | 61 | [
"90/3=30",
"37-6=31",
"30+31=61"
] | Current State: 61:[90, 37, 6, 3], Operations: []
Exploring Operation: 90/3=30, Resulting Numbers: [37, 6, 30]
Generated Node #2: [37, 6, 30] from Operation: 90/3=30
Current State: 61:[37, 6, 30], Operations: ['90/3=30']
Exploring Operation: 37-6=31, Resulting Numbers: [30, 31]
Generated Node #3: [30, 31] from Operation: 37-6=31
Current State: 61:[30, 31], Operations: ['90/3=30', '37-6=31']
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[90, 37, 6, 3], Operations: []
Exploring Operation: 6*3=18, Resulting Numbers: [90, 37, 18]
Generated Node #0,0: 61:[90, 37, 18] Operation: 6*3=18
Exploring Operation: 90-6=84, Resulting Numbers: [37, 3, 84]
Generated Node #0,1: 61:[37, 3, 84] Operation: 90-6=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[90, 37, 18], Operations: ['6*3=18']
Exploring Operation: 90-18=72, Resulting Numbers: [37, 72]
Generated Node #0,0,0: 61:[37, 72] Operation: 90-18=72
Exploring Operation: 37+18=55, Resulting Numbers: [90, 55]
Generated Node #0,0,1: 61:[90, 55] Operation: 37+18=55
Moving to Node #0,0,0
Current State: 61:[37, 72], Operations: ['6*3=18', '90-18=72']
Exploring Operation: 37+72=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[90, 55], Operations: ['6*3=18', '37+18=55']
Exploring Operation: 90+55=145, Resulting Numbers: [145]
145,61 unequal: No Solution
Exploring Operation: 90-55=35, Resulting Numbers: [35]
35,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
Current State: 61:[37, 3, 84], Operations: ['90-6=84']
Exploring Operation: 84-3=81, Resulting Numbers: [37, 81]
Generated Node #0,1,0: 61:[37, 81] Operation: 84-3=81
Exploring Operation: 37+3=40, Resulting Numbers: [84, 40]
Generated Node #0,1,1: 61:[84, 40] Operation: 37+3=40
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[37, 81], Operations: ['90-6=84', '84-3=81']
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 37+81=118, Resulting Numbers: [118]
118,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[84, 40], Operations: ['90-6=84', '37+3=40']
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
92,
30,
69,
36
] | 76 | [
"92*30=2760",
"2760/69=40",
"36+40=76"
] | Current State: 76:[92, 30, 69, 36], Operations: []
Exploring Operation: 92*30=2760, Resulting Numbers: [69, 36, 2760]
Generated Node #2: [69, 36, 2760] from Operation: 92*30=2760
Current State: 76:[69, 36, 2760], Operations: ['92*30=2760']
Exploring Operation: 2760/69=40, Resulting Numbers: [36, 40]
Generated Node #3: [36, 40] from Operation: 2760/69=40
Current State: 76:[36, 40], Operations: ['92*30=2760', '2760/69=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[92, 30, 69, 36], Operations: []
Exploring Operation: 92-30=62, Resulting Numbers: [69, 36, 62]
Generated Node #0,0: 76:[69, 36, 62] Operation: 92-30=62
Exploring Operation: 69-30=39, Resulting Numbers: [92, 36, 39]
Generated Node #0,1: 76:[92, 36, 39] Operation: 69-30=39
Exploring Operation: 36-30=6, Resulting Numbers: [92, 69, 6]
Generated Node #0,2: 76:[92, 69, 6] Operation: 36-30=6
Exploring Operation: 92-69=23, Resulting Numbers: [30, 36, 23]
Generated Node #0,3: 76:[30, 36, 23] Operation: 92-69=23
Exploring Operation: 69-36=33, Resulting Numbers: [92, 30, 33]
Generated Node #0,4: 76:[92, 30, 33] Operation: 69-36=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[30, 36, 23], Operations: ['92-69=23']
Exploring Operation: 36-23=13, Resulting Numbers: [30, 13]
Generated Node #0,3,0: 76:[30, 13] Operation: 36-23=13
Exploring Operation: 30-23=7, Resulting Numbers: [36, 7]
Generated Node #0,3,1: 76:[36, 7] Operation: 30-23=7
Exploring Operation: 30+23=53, Resulting Numbers: [36, 53]
Generated Node #0,3,2: 76:[36, 53] Operation: 30+23=53
Exploring Operation: 30+36=66, Resulting Numbers: [23, 66]
Generated Node #0,3,3: 76:[23, 66] Operation: 30+36=66
Exploring Operation: 36-30=6, Resulting Numbers: [23, 6]
Generated Node #0,3,4: 76:[23, 6] Operation: 36-30=6
Moving to Node #0,3,1
Current State: 76:[36, 7], Operations: ['92-69=23', '30-23=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[23, 6], Operations: ['92-69=23', '36-30=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[30, 13], Operations: ['92-69=23', '36-23=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[23, 66], Operations: ['92-69=23', '30+36=66']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 23*66=1518, Resulting Numbers: [1518]
1518,76 unequal: No Solution
Exploring Operation: 23+66=89, Resulting Numbers: [89]
89,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[36, 53], Operations: ['92-69=23', '30+23=53']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,76 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,76 unequal: No Solution
No 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: 76:[92, 36, 39], Operations: ['69-30=39']
Exploring Operation: 39-36=3, Resulting Numbers: [92, 3]
Generated Node #0,1,0: 76:[92, 3] Operation: 39-36=3
Exploring Operation: 92-36=56, Resulting Numbers: [39, 56]
Generated Node #0,1,1: 76:[39, 56] Operation: 92-36=56
Exploring Operation: 36+39=75, Resulting Numbers: [92, 75]
Generated Node #0,1,2: 76:[92, 75] Operation: 36+39=75
Exploring Operation: 92-39=53, Resulting Numbers: [36, 53]
Generated Node #0,1,3: 76:[36, 53] Operation: 92-39=53
Exploring Operation: 92+36=128, Resulting Numbers: [39, 128]
Generated Node #0,1,4: 76:[39, 128] Operation: 92+36=128
Moving to Node #0,1,0
Current State: 76:[92, 3], Operations: ['69-30=39', '39-36=3']
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,76 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,76 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[36, 53], Operations: ['69-30=39', '92-39=53']
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,76 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[92, 75], Operations: ['69-30=39', '36+39=75']
Exploring Operation: 92*75=6900, Resulting Numbers: [6900]
6900,76 unequal: No Solution
Exploring Operation: 92+75=167, Resulting Numbers: [167]
167,76 unequal: No Solution
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[39, 56], Operations: ['69-30=39', '92-36=56']
Exploring Operation: 39+56=95, Resulting Numbers: [95]
95,76 unequal: No Solution
Exploring Operation: 39*56=2184, Resulting Numbers: [2184]
2184,76 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Moving to Node #0,1,4
Current State: 76:[39, 128], Operations: ['69-30=39', '92+36=128']
Exploring Operation: 128-39=89, Resulting Numbers: [89]
89,76 unequal: No Solution
Exploring Operation: 39+128=167, Resulting Numbers: [167]
167,76 unequal: No Solution
Exploring Operation: 39*128=4992, Resulting Numbers: [4992]
4992,76 unequal: No Solution
No 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: 76:[69, 36, 62], Operations: ['92-30=62']
Exploring Operation: 69+36=105, Resulting Numbers: [62, 105]
Generated Node #0,0,0: 76:[62, 105] Operation: 69+36=105
Exploring Operation: 62-36=26, Resulting Numbers: [69, 26]
Generated Node #0,0,1: 76:[69, 26] Operation: 62-36=26
Exploring Operation: 36+62=98, Resulting Numbers: [69, 98]
Generated Node #0,0,2: 76:[69, 98] Operation: 36+62=98
Exploring Operation: 69-62=7, Resulting Numbers: [36, 7]
Generated Node #0,0,3: 76:[36, 7] Operation: 69-62=7
Exploring Operation: 69-36=33, Resulting Numbers: [62, 33]
Generated Node #0,0,4: 76:[62, 33] Operation: 69-36=33
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 76:[36, 7], Operations: ['92-30=62', '69-62=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,76 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,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,0,1
Current State: 76:[69, 26], Operations: ['92-30=62', '62-36=26']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,76 unequal: No Solution
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,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,0,4
Current State: 76:[62, 33], Operations: ['92-30=62', '69-36=33']
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,76 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,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,0,2
Current State: 76:[69, 98], Operations: ['92-30=62', '36+62=98']
Exploring Operation: 98-69=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 69+98=167, Resulting Numbers: [167]
167,76 unequal: No Solution
Exploring Operation: 69*98=6762, Resulting Numbers: [6762]
6762,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,0,0
Current State: 76:[62, 105], Operations: ['92-30=62', '69+36=105']
Exploring Operation: 62*105=6510, Resulting Numbers: [6510]
6510,76 unequal: No Solution
Exploring Operation: 62+105=167, Resulting Numbers: [167]
167,76 unequal: No Solution
Exploring Operation: 105-62=43, Resulting Numbers: [43]
43,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:[92, 69, 6], Operations: ['36-30=6']
Exploring Operation: 69-6=63, Resulting Numbers: [92, 63]
Generated Node #0,2,0: 76:[92, 63] Operation: 69-6=63
Exploring Operation: 92-69=23, Resulting Numbers: [6, 23]
Generated Node #0,2,1: 76:[6, 23] Operation: 92-69=23
Exploring Operation: 92-6=86, Resulting Numbers: [69, 86]
Generated Node #0,2,2: 76:[69, 86] Operation: 92-6=86
Exploring Operation: 92+6=98, Resulting Numbers: [69, 98]
Generated Node #0,2,3: 76:[69, 98] Operation: 92+6=98
Exploring Operation: 69+6=75, Resulting Numbers: [92, 75]
Generated Node #0,2,4: 76:[92, 75] Operation: 69+6=75
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[6, 23], Operations: ['36-30=6', '92-69=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,76 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,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,2,2
Current State: 76:[69, 86], Operations: ['36-30=6', '92-6=86']
Exploring Operation: 69*86=5934, Resulting Numbers: [5934]
5934,76 unequal: No Solution
Exploring Operation: 69+86=155, Resulting Numbers: [155]
155,76 unequal: No Solution
Exploring Operation: 86-69=17, Resulting Numbers: [17]
17,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,2,4
Current State: 76:[92, 75], Operations: ['36-30=6', '69+6=75']
Exploring Operation: 92*75=6900, Resulting Numbers: [6900]
6900,76 unequal: No Solution
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 92+75=167, Resulting Numbers: [167]
167,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,2,0
Current State: 76:[92, 63], Operations: ['36-30=6', '69-6=63']
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 92*63=5796, Resulting Numbers: [5796]
5796,76 unequal: No Solution
Exploring Operation: 92+63=155, Resulting Numbers: [155]
155,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,2,3
Current State: 76:[69, 98], Operations: ['36-30=6', '92+6=98']
Exploring Operation: 69+98=167, Resulting Numbers: [167]
167,76 unequal: No Solution
Exploring Operation: 69*98=6762, Resulting Numbers: [6762]
6762,76 unequal: No Solution
Exploring Operation: 98-69=29, Resulting Numbers: [29]
29,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,4
Current State: 76:[92, 30, 33], Operations: ['69-36=33']
Exploring Operation: 30+33=63, Resulting Numbers: [92, 63]
Generated Node #0,4,0: 76:[92, 63] Operation: 30+33=63
Exploring Operation: 92-30=62, Resulting Numbers: [33, 62]
Generated Node #0,4,1: 76:[33, 62] Operation: 92-30=62
Exploring Operation: 92-33=59, Resulting Numbers: [30, 59]
Generated Node #0,4,2: 76:[30, 59] Operation: 92-33=59
Exploring Operation: 33-30=3, Resulting Numbers: [92, 3]
Generated Node #0,4,3: 76:[92, 3] Operation: 33-30=3
Exploring Operation: 92+30=122, Resulting Numbers: [33, 122]
Generated Node #0,4,4: 76:[33, 122] Operation: 92+30=122
Moving to Node #0,4,3
Current State: 76:[92, 3], Operations: ['69-36=33', '33-30=3']
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,76 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,76 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,76 unequal: No Solution
Moving to Node #0,4,1
Current State: 76:[33, 62], Operations: ['69-36=33', '92-30=62']
Exploring Operation: 33+62=95, Resulting Numbers: [95]
95,76 unequal: No Solution
Exploring Operation: 33*62=2046, Resulting Numbers: [2046]
2046,76 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Moving to Node #0,4,2
Current State: 76:[30, 59], Operations: ['69-36=33', '92-33=59']
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 30*59=1770, Resulting Numbers: [1770]
1770,76 unequal: No Solution
Exploring Operation: 30+59=89, Resulting Numbers: [89]
89,76 unequal: No Solution
Moving to Node #0,4,0
Current State: 76:[92, 63], Operations: ['69-36=33', '30+33=63']
Exploring Operation: 92*63=5796, Resulting Numbers: [5796]
5796,76 unequal: No Solution
Exploring Operation: 92+63=155, Resulting Numbers: [155]
155,76 unequal: No Solution
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Moving to Node #0,4,4
Current State: 76:[33, 122], Operations: ['69-36=33', '92+30=122']
Exploring Operation: 33+122=155, Resulting Numbers: [155]
155,76 unequal: No Solution
Exploring Operation: 122-33=89, Resulting Numbers: [89]
89,76 unequal: No Solution
Exploring Operation: 33*122=4026, Resulting Numbers: [4026]
4026,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
55,
17,
28,
56
] | 100 | [
"55+17=72",
"56-28=28",
"72+28=100"
] | Current State: 100:[55, 17, 28, 56], Operations: []
Exploring Operation: 55+17=72, Resulting Numbers: [28, 56, 72]
Generated Node #2: [28, 56, 72] from Operation: 55+17=72
Current State: 100:[28, 56, 72], Operations: ['55+17=72']
Exploring Operation: 56-28=28, Resulting Numbers: [72, 28]
Generated Node #3: [72, 28] from Operation: 56-28=28
Current State: 100:[72, 28], Operations: ['55+17=72', '56-28=28']
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[55, 17, 28, 56], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [55, 17, 2]
Generated Node #0,0: 100:[55, 17, 2] Operation: 56/28=2
Exploring Operation: 56-55=1, Resulting Numbers: [17, 28, 1]
Generated Node #0,1: 100:[17, 28, 1] Operation: 56-55=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[17, 28, 1], Operations: ['56-55=1']
Exploring Operation: 17+1=18, Resulting Numbers: [28, 18]
Generated Node #0,1,0: 100:[28, 18] Operation: 17+1=18
Exploring Operation: 28-17=11, Resulting Numbers: [1, 11]
Generated Node #0,1,1: 100:[1, 11] Operation: 28-17=11
Moving to Node #0,1,1
Current State: 100:[1, 11], Operations: ['56-55=1', '28-17=11']
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[28, 18], Operations: ['56-55=1', '17+1=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[55, 17, 2], Operations: ['56/28=2']
Exploring Operation: 17+2=19, Resulting Numbers: [55, 19]
Generated Node #0,0,0: 100:[55, 19] Operation: 17+2=19
Exploring Operation: 55-2=53, Resulting Numbers: [17, 53]
Generated Node #0,0,1: 100:[17, 53] Operation: 55-2=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[55, 19], Operations: ['56/28=2', '17+2=19']
Exploring Operation: 55+19=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[17, 53], Operations: ['56/28=2', '55-2=53']
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,100 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 |
[
57,
66,
47,
30
] | 90 | [
"57*30=1710",
"66-47=19",
"1710/19=90"
] | Current State: 90:[57, 66, 47, 30], Operations: []
Exploring Operation: 57*30=1710, Resulting Numbers: [66, 47, 1710]
Generated Node #2: [66, 47, 1710] from Operation: 57*30=1710
Current State: 90:[66, 47, 1710], Operations: ['57*30=1710']
Exploring Operation: 66-47=19, Resulting Numbers: [1710, 19]
Generated Node #3: [1710, 19] from Operation: 66-47=19
Current State: 90:[1710, 19], Operations: ['57*30=1710', '66-47=19']
Exploring Operation: 1710/19=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[57, 66, 47, 30], Operations: []
Exploring Operation: 66-47=19, Resulting Numbers: [57, 30, 19]
Generated Node #0,0: 90:[57, 30, 19] Operation: 66-47=19
Exploring Operation: 66-57=9, Resulting Numbers: [47, 30, 9]
Generated Node #0,1: 90:[47, 30, 9] Operation: 66-57=9
Exploring Operation: 66+30=96, Resulting Numbers: [57, 47, 96]
Generated Node #0,2: 90:[57, 47, 96] Operation: 66+30=96
Moving to Node #0,1
Current State: 90:[47, 30, 9], Operations: ['66-57=9']
Exploring Operation: 47-30=17, Resulting Numbers: [9, 17]
Generated Node #0,1,0: 90:[9, 17] Operation: 47-30=17
Exploring Operation: 47-9=38, Resulting Numbers: [30, 38]
Generated Node #0,1,1: 90:[30, 38] Operation: 47-9=38
Exploring Operation: 30-9=21, Resulting Numbers: [47, 21]
Generated Node #0,1,2: 90:[47, 21] Operation: 30-9=21
Moving to Node #0,0
Current State: 90:[57, 30, 19], Operations: ['66-47=19']
Exploring Operation: 57-30=27, Resulting Numbers: [19, 27]
Generated Node #0,0,0: 90:[19, 27] Operation: 57-30=27
Exploring Operation: 57+30=87, Resulting Numbers: [19, 87]
Generated Node #0,0,1: 90:[19, 87] Operation: 57+30=87
Exploring Operation: 57/19=3, Resulting Numbers: [30, 3]
Generated Node #0,0,2: 90:[30, 3] Operation: 57/19=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[30, 3], Operations: ['66-47=19', '57/19=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[57, 66, 47, 30], Operations: []
Exploring Operation: 66-47=19, Resulting Numbers: [57, 30, 19]
Generated Node #0,0: 90:[57, 30, 19] Operation: 66-47=19
Moving to Node #0,0
Current State: 90:[57, 30, 19], Operations: ['66-47=19']
Exploring Operation: 57/19=3, Resulting Numbers: [30, 3]
Generated Node #0,0,2: 90:[30, 3] Operation: 57/19=3
Moving to Node #0,0,2
Current State: 90:[30, 3], Operations: ['66-47=19', '57/19=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
30,
3,
81,
42
] | 32 | [
"3+81=84",
"84/42=2",
"30+2=32"
] | Current State: 32:[30, 3, 81, 42], Operations: []
Exploring Operation: 3+81=84, Resulting Numbers: [30, 42, 84]
Generated Node #2: [30, 42, 84] from Operation: 3+81=84
Current State: 32:[30, 42, 84], Operations: ['3+81=84']
Exploring Operation: 84/42=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 84/42=2
Current State: 32:[30, 2], Operations: ['3+81=84', '84/42=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[30, 3, 81, 42], Operations: []
Exploring Operation: 81-42=39, Resulting Numbers: [30, 3, 39]
Generated Node #0,0: 32:[30, 3, 39] Operation: 81-42=39
Exploring Operation: 81/3=27, Resulting Numbers: [30, 42, 27]
Generated Node #0,1: 32:[30, 42, 27] Operation: 81/3=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[30, 3, 39], Operations: ['81-42=39']
Exploring Operation: 39-30=9, Resulting Numbers: [3, 9]
Generated Node #0,0,0: 32:[3, 9] Operation: 39-30=9
Exploring Operation: 39/3=13, Resulting Numbers: [30, 13]
Generated Node #0,0,1: 32:[30, 13] Operation: 39/3=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[3, 9], Operations: ['81-42=39', '39-30=9']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[30, 13], Operations: ['81-42=39', '39/3=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[30, 42, 27], Operations: ['81/3=27']
Exploring Operation: 42-27=15, Resulting Numbers: [30, 15]
Generated Node #0,1,0: 32:[30, 15] Operation: 42-27=15
Exploring Operation: 42-30=12, Resulting Numbers: [27, 12]
Generated Node #0,1,1: 32:[27, 12] Operation: 42-30=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 32:[30, 15], Operations: ['81/3=27', '42-27=15']
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 32:[27, 12], Operations: ['81/3=27', '42-30=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
10,
13,
42
] | 69 | [
"42/14=3",
"10+13=23",
"3*23=69"
] | Current State: 69:[14, 10, 13, 42], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [10, 13, 3]
Generated Node #2: [10, 13, 3] from Operation: 42/14=3
Current State: 69:[10, 13, 3], Operations: ['42/14=3']
Exploring Operation: 10+13=23, Resulting Numbers: [3, 23]
Generated Node #3: [3, 23] from Operation: 10+13=23
Current State: 69:[3, 23], Operations: ['42/14=3', '10+13=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[14, 10, 13, 42], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [10, 13, 3]
Generated Node #0,0: 69:[10, 13, 3] Operation: 42/14=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[10, 13, 3], Operations: ['42/14=3']
Exploring Operation: 10+13=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 69:[3, 23] Operation: 10+13=23
Moving to Node #0,0,0
Current State: 69:[3, 23], Operations: ['42/14=3', '10+13=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[14, 10, 13, 42], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [10, 13, 3]
Generated Node #0,0: 69:[10, 13, 3] Operation: 42/14=3
Moving to Node #0,0
Current State: 69:[10, 13, 3], Operations: ['42/14=3']
Exploring Operation: 10+13=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 69:[3, 23] Operation: 10+13=23
Moving to Node #0,0,0
Current State: 69:[3, 23], Operations: ['42/14=3', '10+13=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
43,
48,
70,
19
] | 46 | [
"48-43=5",
"70-19=51",
"51-5=46"
] | Current State: 46:[43, 48, 70, 19], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [70, 19, 5]
Generated Node #2: [70, 19, 5] from Operation: 48-43=5
Current State: 46:[70, 19, 5], Operations: ['48-43=5']
Exploring Operation: 70-19=51, Resulting Numbers: [5, 51]
Generated Node #3: [5, 51] from Operation: 70-19=51
Current State: 46:[5, 51], Operations: ['48-43=5', '70-19=51']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[43, 48, 70, 19], Operations: []
Exploring Operation: 70-48=22, Resulting Numbers: [43, 19, 22]
Generated Node #0,0: 46:[43, 19, 22] Operation: 70-48=22
Exploring Operation: 43-19=24, Resulting Numbers: [48, 70, 24]
Generated Node #0,1: 46:[48, 70, 24] Operation: 43-19=24
Exploring Operation: 48-43=5, Resulting Numbers: [70, 19, 5]
Generated Node #0,2: 46:[70, 19, 5] Operation: 48-43=5
Exploring Operation: 70-19=51, Resulting Numbers: [43, 48, 51]
Generated Node #0,3: 46:[43, 48, 51] Operation: 70-19=51
Exploring Operation: 70-43=27, Resulting Numbers: [48, 19, 27]
Generated Node #0,4: 46:[48, 19, 27] Operation: 70-43=27
Moving to Node #0,0
Current State: 46:[43, 19, 22], Operations: ['70-48=22']
Exploring Operation: 22-19=3, Resulting Numbers: [43, 3]
Generated Node #0,0,0: 46:[43, 3] Operation: 22-19=3
Exploring Operation: 43-22=21, Resulting Numbers: [19, 21]
Generated Node #0,0,1: 46:[19, 21] Operation: 43-22=21
Exploring Operation: 19+22=41, Resulting Numbers: [43, 41]
Generated Node #0,0,2: 46:[43, 41] Operation: 19+22=41
Exploring Operation: 43-19=24, Resulting Numbers: [22, 24]
Generated Node #0,0,3: 46:[22, 24] Operation: 43-19=24
Exploring Operation: 43+19=62, Resulting Numbers: [22, 62]
Generated Node #0,0,4: 46:[22, 62] Operation: 43+19=62
Moving to Node #0,4
Current State: 46:[48, 19, 27], Operations: ['70-43=27']
Exploring Operation: 48-27=21, Resulting Numbers: [19, 21]
Generated Node #0,4,0: 46:[19, 21] Operation: 48-27=21
Exploring Operation: 48+19=67, Resulting Numbers: [27, 67]
Generated Node #0,4,1: 46:[27, 67] Operation: 48+19=67
Exploring Operation: 48-19=29, Resulting Numbers: [27, 29]
Generated Node #0,4,2: 46:[27, 29] Operation: 48-19=29
Exploring Operation: 19+27=46, Resulting Numbers: [48, 46]
Generated Node #0,4,3: 46:[48, 46] Operation: 19+27=46
Exploring Operation: 27-19=8, Resulting Numbers: [48, 8]
Generated Node #0,4,4: 46:[48, 8] Operation: 27-19=8
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 46:[48, 46], Operations: ['70-43=27', '19+27=46']
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,46 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,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,4,0
Current State: 46:[19, 21], Operations: ['70-43=27', '48-27=21']
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,46 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,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,4,4
Current State: 46:[48, 8], Operations: ['70-43=27', '27-19=8']
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 48*8=384, Resulting Numbers: [384]
384,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,4,2
Current State: 46:[27, 29], Operations: ['70-43=27', '48-19=29']
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 27*29=783, Resulting Numbers: [783]
783,46 unequal: No Solution
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,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,4,1
Current State: 46:[27, 67], Operations: ['70-43=27', '48+19=67']
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,46 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,46 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: 46:[43, 48, 51], Operations: ['70-19=51']
Exploring Operation: 43+51=94, Resulting Numbers: [48, 94]
Generated Node #0,3,0: 46:[48, 94] Operation: 43+51=94
Exploring Operation: 43+48=91, Resulting Numbers: [51, 91]
Generated Node #0,3,1: 46:[51, 91] Operation: 43+48=91
Exploring Operation: 51-43=8, Resulting Numbers: [48, 8]
Generated Node #0,3,2: 46:[48, 8] Operation: 51-43=8
Exploring Operation: 48-43=5, Resulting Numbers: [51, 5]
Generated Node #0,3,3: 46:[51, 5] Operation: 48-43=5
Exploring Operation: 51-48=3, Resulting Numbers: [43, 3]
Generated Node #0,3,4: 46:[43, 3] Operation: 51-48=3
Moving to Node #0,1
Current State: 46:[48, 70, 24], Operations: ['43-19=24']
Exploring Operation: 48-24=24, Resulting Numbers: [70, 24]
Generated Node #0,1,0: 46:[70, 24] Operation: 48-24=24
Exploring Operation: 48/24=2, Resulting Numbers: [70, 2]
Generated Node #0,1,1: 46:[70, 2] Operation: 48/24=2
Exploring Operation: 48+24=72, Resulting Numbers: [70, 72]
Generated Node #0,1,2: 46:[70, 72] Operation: 48+24=72
Exploring Operation: 70-48=22, Resulting Numbers: [24, 22]
Generated Node #0,1,3: 46:[24, 22] Operation: 70-48=22
Exploring Operation: 70-24=46, Resulting Numbers: [48, 46]
Generated Node #0,1,4: 46:[48, 46] Operation: 70-24=46
Moving to Node #0,2
Current State: 46:[70, 19, 5], Operations: ['48-43=5']
Exploring Operation: 70-5=65, Resulting Numbers: [19, 65]
Generated Node #0,2,0: 46:[19, 65] Operation: 70-5=65
Exploring Operation: 70+5=75, Resulting Numbers: [19, 75]
Generated Node #0,2,1: 46:[19, 75] Operation: 70+5=75
Exploring Operation: 70/5=14, Resulting Numbers: [19, 14]
Generated Node #0,2,2: 46:[19, 14] Operation: 70/5=14
Exploring Operation: 70-19=51, Resulting Numbers: [5, 51]
Generated Node #0,2,3: 46:[5, 51] Operation: 70-19=51
Exploring Operation: 19+5=24, Resulting Numbers: [70, 24]
Generated Node #0,2,4: 46:[70, 24] Operation: 19+5=24
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 46:[5, 51], Operations: ['48-43=5', '70-19=51']
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[43, 48, 70, 19], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [70, 19, 5]
Generated Node #0,2: 46:[70, 19, 5] Operation: 48-43=5
Moving to Node #0,2
Current State: 46:[70, 19, 5], Operations: ['48-43=5']
Exploring Operation: 70-19=51, Resulting Numbers: [5, 51]
Generated Node #0,2,3: 46:[5, 51] Operation: 70-19=51
Moving to Node #0,2,3
Current State: 46:[5, 51], Operations: ['48-43=5', '70-19=51']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.954861 | hs_5 | sum_heuristic |
[
15,
96,
80,
63
] | 81 | [
"15*96=1440",
"1440/80=18",
"63+18=81"
] | Current State: 81:[15, 96, 80, 63], Operations: []
Exploring Operation: 15*96=1440, Resulting Numbers: [80, 63, 1440]
Generated Node #2: [80, 63, 1440] from Operation: 15*96=1440
Current State: 81:[80, 63, 1440], Operations: ['15*96=1440']
Exploring Operation: 1440/80=18, Resulting Numbers: [63, 18]
Generated Node #3: [63, 18] from Operation: 1440/80=18
Current State: 81:[63, 18], Operations: ['15*96=1440', '1440/80=18']
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[15, 96, 80, 63], Operations: []
Exploring Operation: 96-15=81, Resulting Numbers: [80, 63, 81]
Generated Node #0,0: 81:[80, 63, 81] Operation: 96-15=81
Exploring Operation: 96-63=33, Resulting Numbers: [15, 80, 33]
Generated Node #0,1: 81:[15, 80, 33] Operation: 96-63=33
Moving to Node #0,1
Current State: 81:[15, 80, 33], Operations: ['96-63=33']
Exploring Operation: 15+80=95, Resulting Numbers: [33, 95]
Generated Node #0,1,0: 81:[33, 95] Operation: 15+80=95
Exploring Operation: 33-15=18, Resulting Numbers: [80, 18]
Generated Node #0,1,1: 81:[80, 18] Operation: 33-15=18
Moving to Node #0,0
Current State: 81:[80, 63, 81], Operations: ['96-15=81']
Exploring Operation: 80-63=17, Resulting Numbers: [81, 17]
Generated Node #0,0,0: 81:[81, 17] Operation: 80-63=17
Exploring Operation: 81-63=18, Resulting Numbers: [80, 18]
Generated Node #0,0,1: 81:[80, 18] Operation: 81-63=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[81, 17], Operations: ['96-15=81', '80-63=17']
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[80, 18], Operations: ['96-15=81', '81-63=18']
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,81 unequal: No Solution
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 81:[80, 18], Operations: ['96-63=33', '33-15=18']
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,81 unequal: No Solution
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[33, 95], Operations: ['96-63=33', '15+80=95']
Exploring Operation: 33+95=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Exploring Operation: 95-33=62, Resulting Numbers: [62]
62,81 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
48,
35,
14,
28
] | 20 | [
"48*14=672",
"28+672=700",
"700/35=20"
] | Current State: 20:[48, 35, 14, 28], Operations: []
Exploring Operation: 48*14=672, Resulting Numbers: [35, 28, 672]
Generated Node #2: [35, 28, 672] from Operation: 48*14=672
Current State: 20:[35, 28, 672], Operations: ['48*14=672']
Exploring Operation: 28+672=700, Resulting Numbers: [35, 700]
Generated Node #3: [35, 700] from Operation: 28+672=700
Current State: 20:[35, 700], Operations: ['48*14=672', '28+672=700']
Exploring Operation: 700/35=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[48, 35, 14, 28], Operations: []
Exploring Operation: 48-28=20, Resulting Numbers: [35, 14, 20]
Generated Node #0,0: 20:[35, 14, 20] Operation: 48-28=20
Exploring Operation: 35-28=7, Resulting Numbers: [48, 14, 7]
Generated Node #0,1: 20:[48, 14, 7] Operation: 35-28=7
Exploring Operation: 48-35=13, Resulting Numbers: [14, 28, 13]
Generated Node #0,2: 20:[14, 28, 13] Operation: 48-35=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[14, 28, 13], Operations: ['48-35=13']
Exploring Operation: 14-13=1, Resulting Numbers: [28, 1]
Generated Node #0,2,0: 20:[28, 1] Operation: 14-13=1
Exploring Operation: 28-14=14, Resulting Numbers: [13, 14]
Generated Node #0,2,1: 20:[13, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [13, 2]
Generated Node #0,2,2: 20:[13, 2] Operation: 28/14=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[13, 2], Operations: ['48-35=13', '28/14=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,20 unequal: No Solution
No 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: 20:[13, 14], Operations: ['48-35=13', '28-14=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,20 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,20 unequal: No Solution
No 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: 20:[28, 1], Operations: ['48-35=13', '14-13=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,20 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: 20:[35, 14, 20], Operations: ['48-28=20']
Exploring Operation: 20-14=6, Resulting Numbers: [35, 6]
Generated Node #0,0,0: 20:[35, 6] Operation: 20-14=6
Exploring Operation: 35-20=15, Resulting Numbers: [14, 15]
Generated Node #0,0,1: 20:[14, 15] Operation: 35-20=15
Exploring Operation: 35-14=21, Resulting Numbers: [20, 21]
Generated Node #0,0,2: 20:[20, 21] Operation: 35-14=21
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[20, 21], Operations: ['48-28=20', '35-14=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,20 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,20 unequal: No Solution
No 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: 20:[14, 15], Operations: ['48-28=20', '35-20=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,20 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,20 unequal: No Solution
No 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: 20:[35, 6], Operations: ['48-28=20', '20-14=6']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,20 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: 20:[48, 14, 7], Operations: ['35-28=7']
Exploring Operation: 14/7=2, Resulting Numbers: [48, 2]
Generated Node #0,1,0: 20:[48, 2] Operation: 14/7=2
Exploring Operation: 48-7=41, Resulting Numbers: [14, 41]
Generated Node #0,1,1: 20:[14, 41] Operation: 48-7=41
Exploring Operation: 48-14=34, Resulting Numbers: [7, 34]
Generated Node #0,1,2: 20:[7, 34] Operation: 48-14=34
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[7, 34], Operations: ['35-28=7', '48-14=34']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,20 unequal: No Solution
No 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: 20:[14, 41], Operations: ['35-28=7', '48-7=41']
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 14*41=574, Resulting Numbers: [574]
574,20 unequal: No Solution
No 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: 20:[48, 2], Operations: ['35-28=7', '14/7=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,20 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 |
[
10,
28,
22,
89
] | 93 | [
"28-10=18",
"22+89=111",
"111-18=93"
] | Current State: 93:[10, 28, 22, 89], Operations: []
Exploring Operation: 28-10=18, Resulting Numbers: [22, 89, 18]
Generated Node #2: [22, 89, 18] from Operation: 28-10=18
Current State: 93:[22, 89, 18], Operations: ['28-10=18']
Exploring Operation: 22+89=111, Resulting Numbers: [18, 111]
Generated Node #3: [18, 111] from Operation: 22+89=111
Current State: 93:[18, 111], Operations: ['28-10=18', '22+89=111']
Exploring Operation: 111-18=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[10, 28, 22, 89], Operations: []
Exploring Operation: 10+22=32, Resulting Numbers: [28, 89, 32]
Generated Node #0,0: 93:[28, 89, 32] Operation: 10+22=32
Exploring Operation: 28-22=6, Resulting Numbers: [10, 89, 6]
Generated Node #0,1: 93:[10, 89, 6] Operation: 28-22=6
Moving to Node #0,0
Current State: 93:[28, 89, 32], Operations: ['10+22=32']
Exploring Operation: 28+89=117, Resulting Numbers: [32, 117]
Generated Node #0,0,0: 93:[32, 117] Operation: 28+89=117
Exploring Operation: 32-28=4, Resulting Numbers: [89, 4]
Generated Node #0,0,1: 93:[89, 4] Operation: 32-28=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[89, 4], Operations: ['10+22=32', '32-28=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[10, 28, 22, 89], Operations: []
Exploring Operation: 10+22=32, Resulting Numbers: [28, 89, 32]
Generated Node #0,0: 93:[28, 89, 32] Operation: 10+22=32
Moving to Node #0,0
Current State: 93:[28, 89, 32], Operations: ['10+22=32']
Exploring Operation: 32-28=4, Resulting Numbers: [89, 4]
Generated Node #0,0,1: 93:[89, 4] Operation: 32-28=4
Moving to Node #0,0,1
Current State: 93:[89, 4], Operations: ['10+22=32', '32-28=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
80,
78,
98,
21
] | 81 | [
"80+78=158",
"98-21=77",
"158-77=81"
] | Current State: 81:[80, 78, 98, 21], Operations: []
Exploring Operation: 80+78=158, Resulting Numbers: [98, 21, 158]
Generated Node #2: [98, 21, 158] from Operation: 80+78=158
Current State: 81:[98, 21, 158], Operations: ['80+78=158']
Exploring Operation: 98-21=77, Resulting Numbers: [158, 77]
Generated Node #3: [158, 77] from Operation: 98-21=77
Current State: 81:[158, 77], Operations: ['80+78=158', '98-21=77']
Exploring Operation: 158-77=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[80, 78, 98, 21], Operations: []
Exploring Operation: 98-78=20, Resulting Numbers: [80, 21, 20]
Generated Node #0,0: 81:[80, 21, 20] Operation: 98-78=20
Exploring Operation: 98-21=77, Resulting Numbers: [80, 78, 77]
Generated Node #0,1: 81:[80, 78, 77] Operation: 98-21=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[80, 78, 77], Operations: ['98-21=77']
Exploring Operation: 80-77=3, Resulting Numbers: [78, 3]
Generated Node #0,1,0: 81:[78, 3] Operation: 80-77=3
Exploring Operation: 78-77=1, Resulting Numbers: [80, 1]
Generated Node #0,1,1: 81:[80, 1] Operation: 78-77=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[78, 3], Operations: ['98-21=77', '80-77=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[80, 78, 98, 21], Operations: []
Exploring Operation: 98-21=77, Resulting Numbers: [80, 78, 77]
Generated Node #0,1: 81:[80, 78, 77] Operation: 98-21=77
Moving to Node #0,1
Current State: 81:[80, 78, 77], Operations: ['98-21=77']
Exploring Operation: 80-77=3, Resulting Numbers: [78, 3]
Generated Node #0,1,0: 81:[78, 3] Operation: 80-77=3
Moving to Node #0,1,0
Current State: 81:[78, 3], Operations: ['98-21=77', '80-77=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
17,
9,
69,
8
] | 52 | [
"69-17=52",
"9-8=1",
"52*1=52"
] | Current State: 52:[17, 9, 69, 8], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [9, 8, 52]
Generated Node #2: [9, 8, 52] from Operation: 69-17=52
Current State: 52:[9, 8, 52], Operations: ['69-17=52']
Exploring Operation: 9-8=1, Resulting Numbers: [52, 1]
Generated Node #3: [52, 1] from Operation: 9-8=1
Current State: 52:[52, 1], Operations: ['69-17=52', '9-8=1']
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[17, 9, 69, 8], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [9, 8, 52]
Generated Node #0,0: 52:[9, 8, 52] Operation: 69-17=52
Exploring Operation: 17+9=26, Resulting Numbers: [69, 8, 26]
Generated Node #0,1: 52:[69, 8, 26] Operation: 17+9=26
Exploring Operation: 69-9=60, Resulting Numbers: [17, 8, 60]
Generated Node #0,2: 52:[17, 8, 60] Operation: 69-9=60
Exploring Operation: 69-8=61, Resulting Numbers: [17, 9, 61]
Generated Node #0,3: 52:[17, 9, 61] Operation: 69-8=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[9, 8, 52], Operations: ['69-17=52']
Exploring Operation: 9-8=1, Resulting Numbers: [52, 1]
Generated Node #0,0,0: 52:[52, 1] Operation: 9-8=1
Exploring Operation: 52-8=44, Resulting Numbers: [9, 44]
Generated Node #0,0,1: 52:[9, 44] Operation: 52-8=44
Exploring Operation: 9+8=17, Resulting Numbers: [52, 17]
Generated Node #0,0,2: 52:[52, 17] Operation: 9+8=17
Exploring Operation: 8+52=60, Resulting Numbers: [9, 60]
Generated Node #0,0,3: 52:[9, 60] Operation: 8+52=60
Moving to Node #0,0,0
Current State: 52:[52, 1], Operations: ['69-17=52', '9-8=1']
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[17, 9, 69, 8], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [9, 8, 52]
Generated Node #0,0: 52:[9, 8, 52] Operation: 69-17=52
Moving to Node #0,0
Current State: 52:[9, 8, 52], Operations: ['69-17=52']
Exploring Operation: 9-8=1, Resulting Numbers: [52, 1]
Generated Node #0,0,0: 52:[52, 1] Operation: 9-8=1
Moving to Node #0,0,0
Current State: 52:[52, 1], Operations: ['69-17=52', '9-8=1']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
2,
8,
37,
72
] | 81 | [
"72/2=36",
"8+37=45",
"36+45=81"
] | Current State: 81:[2, 8, 37, 72], Operations: []
Exploring Operation: 72/2=36, Resulting Numbers: [8, 37, 36]
Generated Node #2: [8, 37, 36] from Operation: 72/2=36
Current State: 81:[8, 37, 36], Operations: ['72/2=36']
Exploring Operation: 8+37=45, Resulting Numbers: [36, 45]
Generated Node #3: [36, 45] from Operation: 8+37=45
Current State: 81:[36, 45], Operations: ['72/2=36', '8+37=45']
Exploring Operation: 36+45=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[2, 8, 37, 72], Operations: []
Exploring Operation: 72-37=35, Resulting Numbers: [2, 8, 35]
Generated Node #0,0: 81:[2, 8, 35] Operation: 72-37=35
Exploring Operation: 8+72=80, Resulting Numbers: [2, 37, 80]
Generated Node #0,1: 81:[2, 37, 80] Operation: 8+72=80
Exploring Operation: 37-8=29, Resulting Numbers: [2, 72, 29]
Generated Node #0,2: 81:[2, 72, 29] Operation: 37-8=29
Exploring Operation: 72/8=9, Resulting Numbers: [2, 37, 9]
Generated Node #0,3: 81:[2, 37, 9] Operation: 72/8=9
Moving to Node #0,0
Current State: 81:[2, 8, 35], Operations: ['72-37=35']
Exploring Operation: 8/2=4, Resulting Numbers: [35, 4]
Generated Node #0,0,0: 81:[35, 4] Operation: 8/2=4
Exploring Operation: 35-2=33, Resulting Numbers: [8, 33]
Generated Node #0,0,1: 81:[8, 33] Operation: 35-2=33
Exploring Operation: 35-8=27, Resulting Numbers: [2, 27]
Generated Node #0,0,2: 81:[2, 27] Operation: 35-8=27
Exploring Operation: 2+8=10, Resulting Numbers: [35, 10]
Generated Node #0,0,3: 81:[35, 10] Operation: 2+8=10
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[2, 27], Operations: ['72-37=35', '35-8=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,81 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[8, 33], Operations: ['72-37=35', '35-2=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,81 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,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:[35, 4], Operations: ['72-37=35', '8/2=4']
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,81 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,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,3
Current State: 81:[35, 10], Operations: ['72-37=35', '2+8=10']
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,81 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,81 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: 81:[2, 37, 9], Operations: ['72/8=9']
Exploring Operation: 2*37=74, Resulting Numbers: [9, 74]
Generated Node #0,3,0: 81:[9, 74] Operation: 2*37=74
Exploring Operation: 37-2=35, Resulting Numbers: [9, 35]
Generated Node #0,3,1: 81:[9, 35] Operation: 37-2=35
Exploring Operation: 37-9=28, Resulting Numbers: [2, 28]
Generated Node #0,3,2: 81:[2, 28] Operation: 37-9=28
Exploring Operation: 2+37=39, Resulting Numbers: [9, 39]
Generated Node #0,3,3: 81:[9, 39] Operation: 2+37=39
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[2, 28], Operations: ['72/8=9', '37-9=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,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,3,0
Current State: 81:[9, 74], Operations: ['72/8=9', '2*37=74']
Exploring Operation: 9*74=666, Resulting Numbers: [666]
666,81 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,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,3,1
Current State: 81:[9, 35], Operations: ['72/8=9', '37-2=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,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,3,3
Current State: 81:[9, 39], Operations: ['72/8=9', '2+37=39']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,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:[2, 72, 29], Operations: ['37-8=29']
Exploring Operation: 72-2=70, Resulting Numbers: [29, 70]
Generated Node #0,2,0: 81:[29, 70] Operation: 72-2=70
Exploring Operation: 29-2=27, Resulting Numbers: [72, 27]
Generated Node #0,2,1: 81:[72, 27] Operation: 29-2=27
Exploring Operation: 2+72=74, Resulting Numbers: [29, 74]
Generated Node #0,2,2: 81:[29, 74] Operation: 2+72=74
Exploring Operation: 72/2=36, Resulting Numbers: [29, 36]
Generated Node #0,2,3: 81:[29, 36] Operation: 72/2=36
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[72, 27], Operations: ['37-8=29', '29-2=27']
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,81 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,81 unequal: No Solution
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[29, 74], Operations: ['37-8=29', '2+72=74']
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,81 unequal: No Solution
Exploring Operation: 29*74=2146, Resulting Numbers: [2146]
2146,81 unequal: No Solution
Exploring Operation: 29+74=103, Resulting Numbers: [103]
103,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,3
Current State: 81:[29, 36], Operations: ['37-8=29', '72/2=36']
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[29, 70], Operations: ['37-8=29', '72-2=70']
Exploring Operation: 29*70=2030, Resulting Numbers: [2030]
2030,81 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 29+70=99, Resulting Numbers: [99]
99,81 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: 81:[2, 37, 80], Operations: ['8+72=80']
Exploring Operation: 2+80=82, Resulting Numbers: [37, 82]
Generated Node #0,1,0: 81:[37, 82] Operation: 2+80=82
Exploring Operation: 2*37=74, Resulting Numbers: [80, 74]
Generated Node #0,1,1: 81:[80, 74] Operation: 2*37=74
Exploring Operation: 37-2=35, Resulting Numbers: [80, 35]
Generated Node #0,1,2: 81:[80, 35] Operation: 37-2=35
Exploring Operation: 2+37=39, Resulting Numbers: [80, 39]
Generated Node #0,1,3: 81:[80, 39] Operation: 2+37=39
Moving to Node #0,1,1
Current State: 81:[80, 74], Operations: ['8+72=80', '2*37=74']
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 80*74=5920, Resulting Numbers: [5920]
5920,81 unequal: No Solution
Exploring Operation: 80+74=154, Resulting Numbers: [154]
154,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[80, 35], Operations: ['8+72=80', '37-2=35']
Exploring Operation: 80+35=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 80*35=2800, Resulting Numbers: [2800]
2800,81 unequal: No Solution
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[37, 82], Operations: ['8+72=80', '2+80=82']
Exploring Operation: 37+82=119, Resulting Numbers: [119]
119,81 unequal: No Solution
Exploring Operation: 37*82=3034, Resulting Numbers: [3034]
3034,81 unequal: No Solution
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[80, 39], Operations: ['8+72=80', '2+37=39']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,81 unequal: No Solution
Exploring Operation: 80*39=3120, Resulting Numbers: [3120]
3120,81 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
38,
86,
61,
15
] | 43 | [
"38*86=3268",
"61+15=76",
"3268/76=43"
] | Current State: 43:[38, 86, 61, 15], Operations: []
Exploring Operation: 38*86=3268, Resulting Numbers: [61, 15, 3268]
Generated Node #2: [61, 15, 3268] from Operation: 38*86=3268
Current State: 43:[61, 15, 3268], Operations: ['38*86=3268']
Exploring Operation: 61+15=76, Resulting Numbers: [3268, 76]
Generated Node #3: [3268, 76] from Operation: 61+15=76
Current State: 43:[3268, 76], Operations: ['38*86=3268', '61+15=76']
Exploring Operation: 3268/76=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[38, 86, 61, 15], Operations: []
Exploring Operation: 86-15=71, Resulting Numbers: [38, 61, 71]
Generated Node #0,0: 43:[38, 61, 71] Operation: 86-15=71
Exploring Operation: 86-61=25, Resulting Numbers: [38, 15, 25]
Generated Node #0,1: 43:[38, 15, 25] Operation: 86-61=25
Exploring Operation: 86-38=48, Resulting Numbers: [61, 15, 48]
Generated Node #0,2: 43:[61, 15, 48] Operation: 86-38=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[38, 61, 71], Operations: ['86-15=71']
Exploring Operation: 71-38=33, Resulting Numbers: [61, 33]
Generated Node #0,0,0: 43:[61, 33] Operation: 71-38=33
Exploring Operation: 71-61=10, Resulting Numbers: [38, 10]
Generated Node #0,0,1: 43:[38, 10] Operation: 71-61=10
Exploring Operation: 61-38=23, Resulting Numbers: [71, 23]
Generated Node #0,0,2: 43:[71, 23] Operation: 61-38=23
Moving to Node #0,0,0
Current State: 43:[61, 33], Operations: ['86-15=71', '71-38=33']
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,43 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[38, 10], Operations: ['86-15=71', '71-61=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,43 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[71, 23], Operations: ['86-15=71', '61-38=23']
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,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
Current State: 43:[38, 15, 25], Operations: ['86-61=25']
Exploring Operation: 38+15=53, Resulting Numbers: [25, 53]
Generated Node #0,1,0: 43:[25, 53] Operation: 38+15=53
Exploring Operation: 15+25=40, Resulting Numbers: [38, 40]
Generated Node #0,1,1: 43:[38, 40] Operation: 15+25=40
Exploring Operation: 38-15=23, Resulting Numbers: [25, 23]
Generated Node #0,1,2: 43:[25, 23] Operation: 38-15=23
Moving to Node #0,1,1
Current State: 43:[38, 40], Operations: ['86-61=25', '15+25=40']
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 38*40=1520, Resulting Numbers: [1520]
1520,43 unequal: No Solution
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[25, 53], Operations: ['86-61=25', '38+15=53']
Exploring Operation: 25+53=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 25*53=1325, Resulting Numbers: [1325]
1325,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[25, 23], Operations: ['86-61=25', '38-15=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,43 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,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
Current State: 43:[61, 15, 48], Operations: ['86-38=48']
Exploring Operation: 61-15=46, Resulting Numbers: [48, 46]
Generated Node #0,2,0: 43:[48, 46] Operation: 61-15=46
Exploring Operation: 48-15=33, Resulting Numbers: [61, 33]
Generated Node #0,2,1: 43:[61, 33] Operation: 48-15=33
Exploring Operation: 61+15=76, Resulting Numbers: [48, 76]
Generated Node #0,2,2: 43:[48, 76] Operation: 61+15=76
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[48, 46], Operations: ['86-38=48', '61-15=46']
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,43 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,43 unequal: No Solution
No 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: 43:[61, 33], Operations: ['86-38=48', '48-15=33']
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,43 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,43 unequal: No Solution
No 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: 43:[48, 76], Operations: ['86-38=48', '61+15=76']
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,43 unequal: No Solution
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,43 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,43 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 |
[
3,
59,
6,
40
] | 31 | [
"59-6=53",
"40+53=93",
"93/3=31"
] | Current State: 31:[3, 59, 6, 40], Operations: []
Exploring Operation: 59-6=53, Resulting Numbers: [3, 40, 53]
Generated Node #2: [3, 40, 53] from Operation: 59-6=53
Current State: 31:[3, 40, 53], Operations: ['59-6=53']
Exploring Operation: 40+53=93, Resulting Numbers: [3, 93]
Generated Node #3: [3, 93] from Operation: 40+53=93
Current State: 31:[3, 93], Operations: ['59-6=53', '40+53=93']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[3, 59, 6, 40], Operations: []
Exploring Operation: 59-6=53, Resulting Numbers: [3, 40, 53]
Generated Node #0,0: 31:[3, 40, 53] Operation: 59-6=53
Exploring Operation: 40-3=37, Resulting Numbers: [59, 6, 37]
Generated Node #0,1: 31:[59, 6, 37] Operation: 40-3=37
Exploring Operation: 59-3=56, Resulting Numbers: [6, 40, 56]
Generated Node #0,2: 31:[6, 40, 56] Operation: 59-3=56
Exploring Operation: 3*6=18, Resulting Numbers: [59, 40, 18]
Generated Node #0,3: 31:[59, 40, 18] Operation: 3*6=18
Exploring Operation: 3+6=9, Resulting Numbers: [59, 40, 9]
Generated Node #0,4: 31:[59, 40, 9] Operation: 3+6=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[59, 40, 18], Operations: ['3*6=18']
Exploring Operation: 59-18=41, Resulting Numbers: [40, 41]
Generated Node #0,3,0: 31:[40, 41] Operation: 59-18=41
Exploring Operation: 59+18=77, Resulting Numbers: [40, 77]
Generated Node #0,3,1: 31:[40, 77] Operation: 59+18=77
Exploring Operation: 40-18=22, Resulting Numbers: [59, 22]
Generated Node #0,3,2: 31:[59, 22] Operation: 40-18=22
Exploring Operation: 59-40=19, Resulting Numbers: [18, 19]
Generated Node #0,3,3: 31:[18, 19] Operation: 59-40=19
Exploring Operation: 40+18=58, Resulting Numbers: [59, 58]
Generated Node #0,3,4: 31:[59, 58] Operation: 40+18=58
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 31:[40, 41], Operations: ['3*6=18', '59-18=41']
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,31 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 40+41=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,3,3
Current State: 31:[18, 19], Operations: ['3*6=18', '59-40=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,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,3,2
Current State: 31:[59, 22], Operations: ['3*6=18', '40-18=22']
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Exploring Operation: 59+22=81, Resulting Numbers: [81]
81,31 unequal: No Solution
Exploring Operation: 59*22=1298, Resulting Numbers: [1298]
1298,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,3,1
Current State: 31:[40, 77], Operations: ['3*6=18', '59+18=77']
Exploring Operation: 40*77=3080, Resulting Numbers: [3080]
3080,31 unequal: No Solution
Exploring Operation: 40+77=117, Resulting Numbers: [117]
117,31 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,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,3,4
Current State: 31:[59, 58], Operations: ['3*6=18', '40+18=58']
Exploring Operation: 59-58=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 59+58=117, Resulting Numbers: [117]
117,31 unequal: No Solution
Exploring Operation: 59*58=3422, Resulting Numbers: [3422]
3422,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,0
Current State: 31:[3, 40, 53], Operations: ['59-6=53']
Exploring Operation: 3+40=43, Resulting Numbers: [53, 43]
Generated Node #0,0,0: 31:[53, 43] Operation: 3+40=43
Exploring Operation: 53-3=50, Resulting Numbers: [40, 50]
Generated Node #0,0,1: 31:[40, 50] Operation: 53-3=50
Exploring Operation: 53-40=13, Resulting Numbers: [3, 13]
Generated Node #0,0,2: 31:[3, 13] Operation: 53-40=13
Exploring Operation: 3+53=56, Resulting Numbers: [40, 56]
Generated Node #0,0,3: 31:[40, 56] Operation: 3+53=56
Exploring Operation: 40-3=37, Resulting Numbers: [53, 37]
Generated Node #0,0,4: 31:[53, 37] Operation: 40-3=37
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[40, 50], Operations: ['59-6=53', '53-3=50']
Exploring Operation: 40*50=2000, Resulting Numbers: [2000]
2000,31 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 40+50=90, Resulting Numbers: [90]
90,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,4
Current State: 31:[53, 37], Operations: ['59-6=53', '40-3=37']
Exploring Operation: 53*37=1961, Resulting Numbers: [1961]
1961,31 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 53+37=90, Resulting Numbers: [90]
90,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,0
Current State: 31:[53, 43], Operations: ['59-6=53', '3+40=43']
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,31 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,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,3
Current State: 31:[40, 56], Operations: ['59-6=53', '3+53=56']
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,31 unequal: No Solution
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,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:[3, 13], Operations: ['59-6=53', '53-40=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,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:[59, 6, 37], Operations: ['40-3=37']
Exploring Operation: 59-37=22, Resulting Numbers: [6, 22]
Generated Node #0,1,0: 31:[6, 22] Operation: 59-37=22
Exploring Operation: 59-6=53, Resulting Numbers: [37, 53]
Generated Node #0,1,1: 31:[37, 53] Operation: 59-6=53
Exploring Operation: 6+37=43, Resulting Numbers: [59, 43]
Generated Node #0,1,2: 31:[59, 43] Operation: 6+37=43
Exploring Operation: 37-6=31, Resulting Numbers: [59, 31]
Generated Node #0,1,3: 31:[59, 31] Operation: 37-6=31
Exploring Operation: 59+6=65, Resulting Numbers: [37, 65]
Generated Node #0,1,4: 31:[37, 65] Operation: 59+6=65
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[37, 53], Operations: ['40-3=37', '59-6=53']
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 37*53=1961, Resulting Numbers: [1961]
1961,31 unequal: No Solution
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,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,3
Current State: 31:[59, 31], Operations: ['40-3=37', '37-6=31']
Exploring Operation: 59*31=1829, Resulting Numbers: [1829]
1829,31 unequal: No Solution
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,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,0
Current State: 31:[6, 22], Operations: ['40-3=37', '59-37=22']
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,31 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,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,2
Current State: 31:[59, 43], Operations: ['40-3=37', '6+37=43']
Exploring Operation: 59+43=102, Resulting Numbers: [102]
102,31 unequal: No Solution
Exploring Operation: 59*43=2537, Resulting Numbers: [2537]
2537,31 unequal: No Solution
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,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,4
Current State: 31:[37, 65], Operations: ['40-3=37', '59+6=65']
Exploring Operation: 65-37=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 37*65=2405, Resulting Numbers: [2405]
2405,31 unequal: No Solution
Exploring Operation: 37+65=102, Resulting Numbers: [102]
102,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,2
Current State: 31:[6, 40, 56], Operations: ['59-3=56']
Exploring Operation: 6+40=46, Resulting Numbers: [56, 46]
Generated Node #0,2,0: 31:[56, 46] Operation: 6+40=46
Exploring Operation: 56-6=50, Resulting Numbers: [40, 50]
Generated Node #0,2,1: 31:[40, 50] Operation: 56-6=50
Exploring Operation: 56-40=16, Resulting Numbers: [6, 16]
Generated Node #0,2,2: 31:[6, 16] Operation: 56-40=16
Exploring Operation: 6+56=62, Resulting Numbers: [40, 62]
Generated Node #0,2,3: 31:[40, 62] Operation: 6+56=62
Exploring Operation: 40-6=34, Resulting Numbers: [56, 34]
Generated Node #0,2,4: 31:[56, 34] Operation: 40-6=34
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 31:[40, 50], Operations: ['59-3=56', '56-6=50']
Exploring Operation: 40*50=2000, Resulting Numbers: [2000]
2000,31 unequal: No Solution
Exploring Operation: 40+50=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,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,2,4
Current State: 31:[56, 34], Operations: ['59-3=56', '40-6=34']
Exploring Operation: 56*34=1904, Resulting Numbers: [1904]
1904,31 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,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,2,0
Current State: 31:[56, 46], Operations: ['59-3=56', '6+40=46']
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,31 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,31 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,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,2,2
Current State: 31:[6, 16], Operations: ['59-3=56', '56-40=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,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,2,3
Current State: 31:[40, 62], Operations: ['59-3=56', '6+56=62']
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 40+62=102, Resulting Numbers: [102]
102,31 unequal: No Solution
Exploring Operation: 40*62=2480, Resulting Numbers: [2480]
2480,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,4
Current State: 31:[59, 40, 9], Operations: ['3+6=9']
Exploring Operation: 59-40=19, Resulting Numbers: [9, 19]
Generated Node #0,4,0: 31:[9, 19] Operation: 59-40=19
Exploring Operation: 59+9=68, Resulting Numbers: [40, 68]
Generated Node #0,4,1: 31:[40, 68] Operation: 59+9=68
Exploring Operation: 40+9=49, Resulting Numbers: [59, 49]
Generated Node #0,4,2: 31:[59, 49] Operation: 40+9=49
Exploring Operation: 59-9=50, Resulting Numbers: [40, 50]
Generated Node #0,4,3: 31:[40, 50] Operation: 59-9=50
Exploring Operation: 40-9=31, Resulting Numbers: [59, 31]
Generated Node #0,4,4: 31:[59, 31] Operation: 40-9=31
Moving to Node #0,4,3
Current State: 31:[40, 50], Operations: ['3+6=9', '59-9=50']
Exploring Operation: 40*50=2000, Resulting Numbers: [2000]
2000,31 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 40+50=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[59, 31], Operations: ['3+6=9', '40-9=31']
Exploring Operation: 59*31=1829, Resulting Numbers: [1829]
1829,31 unequal: No Solution
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Moving to Node #0,4,0
Current State: 31:[9, 19], Operations: ['3+6=9', '59-40=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,31 unequal: No Solution
Moving to Node #0,4,1
Current State: 31:[40, 68], Operations: ['3+6=9', '59+9=68']
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,31 unequal: No Solution
Exploring Operation: 40*68=2720, Resulting Numbers: [2720]
2720,31 unequal: No Solution
Moving to Node #0,4,2
Current State: 31:[59, 49], Operations: ['3+6=9', '40+9=49']
Exploring Operation: 59+49=108, Resulting Numbers: [108]
108,31 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 59*49=2891, Resulting Numbers: [2891]
2891,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
88,
64,
66,
24
] | 72 | [
"64*66=4224",
"4224/88=48",
"24+48=72"
] | Current State: 72:[88, 64, 66, 24], Operations: []
Exploring Operation: 64*66=4224, Resulting Numbers: [88, 24, 4224]
Generated Node #2: [88, 24, 4224] from Operation: 64*66=4224
Current State: 72:[88, 24, 4224], Operations: ['64*66=4224']
Exploring Operation: 4224/88=48, Resulting Numbers: [24, 48]
Generated Node #3: [24, 48] from Operation: 4224/88=48
Current State: 72:[24, 48], Operations: ['64*66=4224', '4224/88=48']
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[88, 64, 66, 24], Operations: []
Exploring Operation: 88-64=24, Resulting Numbers: [66, 24, 24]
Generated Node #0,0: 72:[66, 24, 24] Operation: 88-64=24
Exploring Operation: 88-66=22, Resulting Numbers: [64, 24, 22]
Generated Node #0,1: 72:[64, 24, 22] Operation: 88-66=22
Moving to Node #0,0
Current State: 72:[66, 24, 24], Operations: ['88-64=24']
Exploring Operation: 66-24=42, Resulting Numbers: [24, 42]
Generated Node #0,0,0: 72:[24, 42] Operation: 66-24=42
Exploring Operation: 66-24=42, Resulting Numbers: [24, 42]
Generated Node #0,0,1: 72:[24, 42] Operation: 66-24=42
Moving to Node #0,1
Current State: 72:[64, 24, 22], Operations: ['88-66=22']
Exploring Operation: 64-24=40, Resulting Numbers: [22, 40]
Generated Node #0,1,0: 72:[22, 40] Operation: 64-24=40
Exploring Operation: 64-22=42, Resulting Numbers: [24, 42]
Generated Node #0,1,1: 72:[24, 42] Operation: 64-22=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[22, 40], Operations: ['88-66=22', '64-24=40']
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[24, 42], Operations: ['88-66=22', '64-22=42']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,72 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: 72:[24, 42], Operations: ['88-64=24', '66-24=42']
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,72 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[24, 42], Operations: ['88-64=24', '66-24=42']
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,72 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,72 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
28,
38,
48,
34
] | 46 | [
"34-28=6",
"48/6=8",
"38+8=46"
] | Current State: 46:[28, 38, 48, 34], Operations: []
Exploring Operation: 34-28=6, Resulting Numbers: [38, 48, 6]
Generated Node #2: [38, 48, 6] from Operation: 34-28=6
Current State: 46:[38, 48, 6], Operations: ['34-28=6']
Exploring Operation: 48/6=8, Resulting Numbers: [38, 8]
Generated Node #3: [38, 8] from Operation: 48/6=8
Current State: 46:[38, 8], Operations: ['34-28=6', '48/6=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[28, 38, 48, 34], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [28, 48, 4]
Generated Node #0,0: 46:[28, 48, 4] Operation: 38-34=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[28, 48, 4], Operations: ['38-34=4']
Exploring Operation: 28-4=24, Resulting Numbers: [48, 24]
Generated Node #0,0,0: 46:[48, 24] Operation: 28-4=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[48, 24], Operations: ['38-34=4', '28-4=24']
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,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 |
[
61,
63,
72,
79
] | 70 | [
"79-72=7",
"63/7=9",
"61+9=70"
] | Current State: 70:[61, 63, 72, 79], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [61, 63, 7]
Generated Node #2: [61, 63, 7] from Operation: 79-72=7
Current State: 70:[61, 63, 7], Operations: ['79-72=7']
Exploring Operation: 63/7=9, Resulting Numbers: [61, 9]
Generated Node #3: [61, 9] from Operation: 63/7=9
Current State: 70:[61, 9], Operations: ['79-72=7', '63/7=9']
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[61, 63, 72, 79], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [72, 79, 2]
Generated Node #0,0: 70:[72, 79, 2] Operation: 63-61=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[72, 79, 2], Operations: ['63-61=2']
Exploring Operation: 79-72=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 70:[2, 7] Operation: 79-72=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[2, 7], Operations: ['63-61=2', '79-72=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
67,
17,
55
] | 43 | [
"72-67=5",
"55-17=38",
"5+38=43"
] | Current State: 43:[72, 67, 17, 55], Operations: []
Exploring Operation: 72-67=5, Resulting Numbers: [17, 55, 5]
Generated Node #2: [17, 55, 5] from Operation: 72-67=5
Current State: 43:[17, 55, 5], Operations: ['72-67=5']
Exploring Operation: 55-17=38, Resulting Numbers: [5, 38]
Generated Node #3: [5, 38] from Operation: 55-17=38
Current State: 43:[5, 38], Operations: ['72-67=5', '55-17=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[72, 67, 17, 55], Operations: []
Exploring Operation: 72-17=55, Resulting Numbers: [67, 55, 55]
Generated Node #0,0: 43:[67, 55, 55] Operation: 72-17=55
Exploring Operation: 72-55=17, Resulting Numbers: [67, 17, 17]
Generated Node #0,1: 43:[67, 17, 17] Operation: 72-55=17
Exploring Operation: 72-67=5, Resulting Numbers: [17, 55, 5]
Generated Node #0,2: 43:[17, 55, 5] Operation: 72-67=5
Exploring Operation: 55-17=38, Resulting Numbers: [72, 67, 38]
Generated Node #0,3: 43:[72, 67, 38] Operation: 55-17=38
Exploring Operation: 67-17=50, Resulting Numbers: [72, 55, 50]
Generated Node #0,4: 43:[72, 55, 50] Operation: 67-17=50
Moving to Node #0,0
Current State: 43:[67, 55, 55], Operations: ['72-17=55']
Exploring Operation: 55-55=0, Resulting Numbers: [67, 0]
Generated Node #0,0,0: 43:[67, 0] Operation: 55-55=0
Exploring Operation: 67-55=12, Resulting Numbers: [55, 12]
Generated Node #0,0,1: 43:[55, 12] Operation: 67-55=12
Exploring Operation: 67-55=12, Resulting Numbers: [55, 12]
Generated Node #0,0,2: 43:[55, 12] Operation: 67-55=12
Exploring Operation: 55/55=1, Resulting Numbers: [67, 1]
Generated Node #0,0,3: 43:[67, 1] Operation: 55/55=1
Exploring Operation: 67+55=122, Resulting Numbers: [55, 122]
Generated Node #0,0,4: 43:[55, 122] Operation: 67+55=122
Moving to Node #0,4
Current State: 43:[72, 55, 50], Operations: ['67-17=50']
Exploring Operation: 72+50=122, Resulting Numbers: [55, 122]
Generated Node #0,4,0: 43:[55, 122] Operation: 72+50=122
Exploring Operation: 72+55=127, Resulting Numbers: [50, 127]
Generated Node #0,4,1: 43:[50, 127] Operation: 72+55=127
Exploring Operation: 72-50=22, Resulting Numbers: [55, 22]
Generated Node #0,4,2: 43:[55, 22] Operation: 72-50=22
Exploring Operation: 55-50=5, Resulting Numbers: [72, 5]
Generated Node #0,4,3: 43:[72, 5] Operation: 55-50=5
Exploring Operation: 72-55=17, Resulting Numbers: [50, 17]
Generated Node #0,4,4: 43:[50, 17] Operation: 72-55=17
Moving to Node #0,3
Current State: 43:[72, 67, 38], Operations: ['55-17=38']
Exploring Operation: 67+38=105, Resulting Numbers: [72, 105]
Generated Node #0,3,0: 43:[72, 105] Operation: 67+38=105
Exploring Operation: 72-38=34, Resulting Numbers: [67, 34]
Generated Node #0,3,1: 43:[67, 34] Operation: 72-38=34
Exploring Operation: 72+38=110, Resulting Numbers: [67, 110]
Generated Node #0,3,2: 43:[67, 110] Operation: 72+38=110
Exploring Operation: 72-67=5, Resulting Numbers: [38, 5]
Generated Node #0,3,3: 43:[38, 5] Operation: 72-67=5
Exploring Operation: 67-38=29, Resulting Numbers: [72, 29]
Generated Node #0,3,4: 43:[72, 29] Operation: 67-38=29
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 43:[67, 34], Operations: ['55-17=38', '72-38=34']
Exploring Operation: 67+34=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 67*34=2278, Resulting Numbers: [2278]
2278,43 unequal: No Solution
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,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,3,3
Current State: 43:[38, 5], Operations: ['55-17=38', '72-67=5']
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,43 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[72, 67, 17, 55], Operations: []
Exploring Operation: 55-17=38, Resulting Numbers: [72, 67, 38]
Generated Node #0,3: 43:[72, 67, 38] Operation: 55-17=38
Moving to Node #0,3
Current State: 43:[72, 67, 38], Operations: ['55-17=38']
Exploring Operation: 72-67=5, Resulting Numbers: [38, 5]
Generated Node #0,3,3: 43:[38, 5] Operation: 72-67=5
Moving to Node #0,3,3
Current State: 43:[38, 5], Operations: ['55-17=38', '72-67=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
1,
43,
3,
46
] | 80 | [
"43-1=42",
"3*42=126",
"126-46=80"
] | Current State: 80:[1, 43, 3, 46], Operations: []
Exploring Operation: 43-1=42, Resulting Numbers: [3, 46, 42]
Generated Node #2: [3, 46, 42] from Operation: 43-1=42
Current State: 80:[3, 46, 42], Operations: ['43-1=42']
Exploring Operation: 3*42=126, Resulting Numbers: [46, 126]
Generated Node #3: [46, 126] from Operation: 3*42=126
Current State: 80:[46, 126], Operations: ['43-1=42', '3*42=126']
Exploring Operation: 126-46=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[1, 43, 3, 46], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [1, 3, 3]
Generated Node #0,0: 80:[1, 3, 3] Operation: 46-43=3
Moving to Node #0,0
Current State: 80:[1, 3, 3], Operations: ['46-43=3']
Exploring Operation: 1+3=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 80:[3, 4] Operation: 1+3=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[3, 4], Operations: ['46-43=3', '1+3=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
1,
98,
87
] | 94 | [
"14*1=14",
"98/14=7",
"87+7=94"
] | Current State: 94:[14, 1, 98, 87], Operations: []
Exploring Operation: 14*1=14, Resulting Numbers: [98, 87, 14]
Generated Node #2: [98, 87, 14] from Operation: 14*1=14
Current State: 94:[98, 87, 14], Operations: ['14*1=14']
Exploring Operation: 98/14=7, Resulting Numbers: [87, 7]
Generated Node #3: [87, 7] from Operation: 98/14=7
Current State: 94:[87, 7], Operations: ['14*1=14', '98/14=7']
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[14, 1, 98, 87], Operations: []
Exploring Operation: 98-1=97, Resulting Numbers: [14, 87, 97]
Generated Node #0,0: 94:[14, 87, 97] Operation: 98-1=97
Exploring Operation: 14-1=13, Resulting Numbers: [98, 87, 13]
Generated Node #0,1: 94:[98, 87, 13] Operation: 14-1=13
Exploring Operation: 14+87=101, Resulting Numbers: [1, 98, 101]
Generated Node #0,2: 94:[1, 98, 101] Operation: 14+87=101
Exploring Operation: 98/14=7, Resulting Numbers: [1, 87, 7]
Generated Node #0,3: 94:[1, 87, 7] Operation: 98/14=7
Exploring Operation: 98-14=84, Resulting Numbers: [1, 87, 84]
Generated Node #0,4: 94:[1, 87, 84] Operation: 98-14=84
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[1, 98, 101], Operations: ['14+87=101']
Exploring Operation: 98/1=98, Resulting Numbers: [101, 98]
Generated Node #0,2,0: 94:[101, 98] Operation: 98/1=98
Exploring Operation: 101-98=3, Resulting Numbers: [1, 3]
Generated Node #0,2,1: 94:[1, 3] Operation: 101-98=3
Exploring Operation: 101-1=100, Resulting Numbers: [98, 100]
Generated Node #0,2,2: 94:[98, 100] Operation: 101-1=100
Exploring Operation: 1*98=98, Resulting Numbers: [101, 98]
Generated Node #0,2,3: 94:[101, 98] Operation: 1*98=98
Exploring Operation: 98-1=97, Resulting Numbers: [101, 97]
Generated Node #0,2,4: 94:[101, 97] Operation: 98-1=97
Moving to Node #0,2,1
Current State: 94:[1, 3], Operations: ['14+87=101', '101-98=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Moving to Node #0,2,4
Current State: 94:[101, 97], Operations: ['14+87=101', '98-1=97']
Exploring Operation: 101*97=9797, Resulting Numbers: [9797]
9797,94 unequal: No Solution
Exploring Operation: 101-97=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 101+97=198, Resulting Numbers: [198]
198,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[98, 100], Operations: ['14+87=101', '101-1=100']
Exploring Operation: 100-98=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 98*100=9800, Resulting Numbers: [9800]
9800,94 unequal: No Solution
Exploring Operation: 98+100=198, Resulting Numbers: [198]
198,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[101, 98], Operations: ['14+87=101', '98/1=98']
Exploring Operation: 101*98=9898, Resulting Numbers: [9898]
9898,94 unequal: No Solution
Exploring Operation: 101-98=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 101+98=199, Resulting Numbers: [199]
199,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[101, 98], Operations: ['14+87=101', '1*98=98']
Exploring Operation: 101+98=199, Resulting Numbers: [199]
199,94 unequal: No Solution
Exploring Operation: 101-98=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 101*98=9898, Resulting Numbers: [9898]
9898,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,3
Current State: 94:[1, 87, 7], Operations: ['98/14=7']
Exploring Operation: 1*87=87, Resulting Numbers: [7, 87]
Generated Node #0,3,0: 94:[7, 87] Operation: 1*87=87
Exploring Operation: 7-1=6, Resulting Numbers: [87, 6]
Generated Node #0,3,1: 94:[87, 6] Operation: 7-1=6
Exploring Operation: 1+87=88, Resulting Numbers: [7, 88]
Generated Node #0,3,2: 94:[7, 88] Operation: 1+87=88
Exploring Operation: 87+7=94, Resulting Numbers: [1, 94]
Generated Node #0,3,3: 94:[1, 94] Operation: 87+7=94
Exploring Operation: 87/1=87, Resulting Numbers: [7, 87]
Generated Node #0,3,4: 94:[7, 87] Operation: 87/1=87
Moving to Node #0,3,3
Current State: 94:[1, 94], Operations: ['98/14=7', '87+7=94']
Exploring Operation: 1+94=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[14, 1, 98, 87], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [1, 87, 7]
Generated Node #0,3: 94:[1, 87, 7] Operation: 98/14=7
Moving to Node #0,3
Current State: 94:[1, 87, 7], Operations: ['98/14=7']
Exploring Operation: 87+7=94, Resulting Numbers: [1, 94]
Generated Node #0,3,3: 94:[1, 94] Operation: 87+7=94
Moving to Node #0,3,3
Current State: 94:[1, 94], Operations: ['98/14=7', '87+7=94']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
92,
96,
33,
3
] | 71 | [
"96-33=63",
"63/3=21",
"92-21=71"
] | Current State: 71:[92, 96, 33, 3], Operations: []
Exploring Operation: 96-33=63, Resulting Numbers: [92, 3, 63]
Generated Node #2: [92, 3, 63] from Operation: 96-33=63
Current State: 71:[92, 3, 63], Operations: ['96-33=63']
Exploring Operation: 63/3=21, Resulting Numbers: [92, 21]
Generated Node #3: [92, 21] from Operation: 63/3=21
Current State: 71:[92, 21], Operations: ['96-33=63', '63/3=21']
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[92, 96, 33, 3], Operations: []
Exploring Operation: 92-3=89, Resulting Numbers: [96, 33, 89]
Generated Node #0,0: 71:[96, 33, 89] Operation: 92-3=89
Exploring Operation: 96-3=93, Resulting Numbers: [92, 33, 93]
Generated Node #0,1: 71:[92, 33, 93] Operation: 96-3=93
Exploring Operation: 33*3=99, Resulting Numbers: [92, 96, 99]
Generated Node #0,2: 71:[92, 96, 99] Operation: 33*3=99
Moving to Node #0,2
Current State: 71:[92, 96, 99], Operations: ['33*3=99']
Exploring Operation: 99-96=3, Resulting Numbers: [92, 3]
Generated Node #0,2,0: 71:[92, 3] Operation: 99-96=3
Exploring Operation: 96-92=4, Resulting Numbers: [99, 4]
Generated Node #0,2,1: 71:[99, 4] Operation: 96-92=4
Exploring Operation: 99-92=7, Resulting Numbers: [96, 7]
Generated Node #0,2,2: 71:[96, 7] Operation: 99-92=7
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[92, 3], Operations: ['33*3=99', '99-96=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[96, 7], Operations: ['33*3=99', '99-92=7']
Exploring Operation: 96*7=672, Resulting Numbers: [672]
672,71 unequal: No Solution
Exploring Operation: 96+7=103, Resulting Numbers: [103]
103,71 unequal: No Solution
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[99, 4], Operations: ['33*3=99', '96-92=4']
Exploring Operation: 99+4=103, Resulting Numbers: [103]
103,71 unequal: No Solution
Exploring Operation: 99*4=396, Resulting Numbers: [396]
396,71 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,71 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: 71:[96, 33, 89], Operations: ['92-3=89']
Exploring Operation: 89-33=56, Resulting Numbers: [96, 56]
Generated Node #0,0,0: 71:[96, 56] Operation: 89-33=56
Exploring Operation: 96-33=63, Resulting Numbers: [89, 63]
Generated Node #0,0,1: 71:[89, 63] Operation: 96-33=63
Exploring Operation: 96+33=129, Resulting Numbers: [89, 129]
Generated Node #0,0,2: 71:[89, 129] Operation: 96+33=129
Moving to Node #0,1
Current State: 71:[92, 33, 93], Operations: ['96-3=93']
Exploring Operation: 92+33=125, Resulting Numbers: [93, 125]
Generated Node #0,1,0: 71:[93, 125] Operation: 92+33=125
Exploring Operation: 92-33=59, Resulting Numbers: [93, 59]
Generated Node #0,1,1: 71:[93, 59] Operation: 92-33=59
Exploring Operation: 93-33=60, Resulting Numbers: [92, 60]
Generated Node #0,1,2: 71:[92, 60] Operation: 93-33=60
Moving to Node #0,0,1
Current State: 71:[89, 63], Operations: ['92-3=89', '96-33=63']
Exploring Operation: 89+63=152, Resulting Numbers: [152]
152,71 unequal: No Solution
Exploring Operation: 89*63=5607, Resulting Numbers: [5607]
5607,71 unequal: No Solution
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[92, 60], Operations: ['96-3=93', '93-33=60']
Exploring Operation: 92+60=152, Resulting Numbers: [152]
152,71 unequal: No Solution
Exploring Operation: 92-60=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 92*60=5520, Resulting Numbers: [5520]
5520,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[93, 59], Operations: ['96-3=93', '92-33=59']
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,71 unequal: No Solution
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,71 unequal: No Solution
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[96, 56], Operations: ['92-3=89', '89-33=56']
Exploring Operation: 96*56=5376, Resulting Numbers: [5376]
5376,71 unequal: No Solution
Exploring Operation: 96-56=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 96+56=152, Resulting Numbers: [152]
152,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[93, 125], Operations: ['96-3=93', '92+33=125']
Exploring Operation: 125-93=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 93+125=218, Resulting Numbers: [218]
218,71 unequal: No Solution
Exploring Operation: 93*125=11625, Resulting Numbers: [11625]
11625,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[89, 129], Operations: ['92-3=89', '96+33=129']
Exploring Operation: 129-89=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 89*129=11481, Resulting Numbers: [11481]
11481,71 unequal: No Solution
Exploring Operation: 89+129=218, Resulting Numbers: [218]
218,71 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
30,
93,
64
] | 92 | [
"2*93=186",
"30+64=94",
"186-94=92"
] | Current State: 92:[2, 30, 93, 64], Operations: []
Exploring Operation: 2*93=186, Resulting Numbers: [30, 64, 186]
Generated Node #2: [30, 64, 186] from Operation: 2*93=186
Current State: 92:[30, 64, 186], Operations: ['2*93=186']
Exploring Operation: 30+64=94, Resulting Numbers: [186, 94]
Generated Node #3: [186, 94] from Operation: 30+64=94
Current State: 92:[186, 94], Operations: ['2*93=186', '30+64=94']
Exploring Operation: 186-94=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[2, 30, 93, 64], Operations: []
Exploring Operation: 30+64=94, Resulting Numbers: [2, 93, 94]
Generated Node #0,0: 92:[2, 93, 94] Operation: 30+64=94
Exploring Operation: 93-64=29, Resulting Numbers: [2, 30, 29]
Generated Node #0,1: 92:[2, 30, 29] Operation: 93-64=29
Exploring Operation: 30-2=28, Resulting Numbers: [93, 64, 28]
Generated Node #0,2: 92:[93, 64, 28] Operation: 30-2=28
Exploring Operation: 64/2=32, Resulting Numbers: [30, 93, 32]
Generated Node #0,3: 92:[30, 93, 32] Operation: 64/2=32
Exploring Operation: 64-30=34, Resulting Numbers: [2, 93, 34]
Generated Node #0,4: 92:[2, 93, 34] Operation: 64-30=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[2, 93, 94], Operations: ['30+64=94']
Exploring Operation: 2+93=95, Resulting Numbers: [94, 95]
Generated Node #0,0,0: 92:[94, 95] Operation: 2+93=95
Exploring Operation: 94/2=47, Resulting Numbers: [93, 47]
Generated Node #0,0,1: 92:[93, 47] Operation: 94/2=47
Exploring Operation: 94-93=1, Resulting Numbers: [2, 1]
Generated Node #0,0,2: 92:[2, 1] Operation: 94-93=1
Exploring Operation: 94-2=92, Resulting Numbers: [93, 92]
Generated Node #0,0,3: 92:[93, 92] Operation: 94-2=92
Exploring Operation: 93-2=91, Resulting Numbers: [94, 91]
Generated Node #0,0,4: 92:[94, 91] Operation: 93-2=91
Moving to Node #0,0,2
Current State: 92:[2, 1], Operations: ['30+64=94', '94-93=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[93, 92], Operations: ['30+64=94', '94-2=92']
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 93+92=185, Resulting Numbers: [185]
185,92 unequal: No Solution
Exploring Operation: 93*92=8556, Resulting Numbers: [8556]
8556,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[93, 47], Operations: ['30+64=94', '94/2=47']
Exploring Operation: 93*47=4371, Resulting Numbers: [4371]
4371,92 unequal: No Solution
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 93+47=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[94, 91], Operations: ['30+64=94', '93-2=91']
Exploring Operation: 94*91=8554, Resulting Numbers: [8554]
8554,92 unequal: No Solution
Exploring Operation: 94+91=185, Resulting Numbers: [185]
185,92 unequal: No Solution
Exploring Operation: 94-91=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[94, 95], Operations: ['30+64=94', '2+93=95']
Exploring Operation: 94+95=189, Resulting Numbers: [189]
189,92 unequal: No Solution
Exploring Operation: 94*95=8930, Resulting Numbers: [8930]
8930,92 unequal: No Solution
Exploring Operation: 95-94=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 92:[2, 93, 34], Operations: ['64-30=34']
Exploring Operation: 93-2=91, Resulting Numbers: [34, 91]
Generated Node #0,4,0: 92:[34, 91] Operation: 93-2=91
Exploring Operation: 34-2=32, Resulting Numbers: [93, 32]
Generated Node #0,4,1: 92:[93, 32] Operation: 34-2=32
Exploring Operation: 93-34=59, Resulting Numbers: [2, 59]
Generated Node #0,4,2: 92:[2, 59] Operation: 93-34=59
Exploring Operation: 2+34=36, Resulting Numbers: [93, 36]
Generated Node #0,4,3: 92:[93, 36] Operation: 2+34=36
Exploring Operation: 34/2=17, Resulting Numbers: [93, 17]
Generated Node #0,4,4: 92:[93, 17] Operation: 34/2=17
Moving to Node #0,4,4
Current State: 92:[93, 17], Operations: ['64-30=34', '34/2=17']
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,92 unequal: No Solution
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,92 unequal: No Solution
Moving to Node #0,4,1
Current State: 92:[93, 32], Operations: ['64-30=34', '34-2=32']
Exploring Operation: 93+32=125, Resulting Numbers: [125]
125,92 unequal: No Solution
Exploring Operation: 93*32=2976, Resulting Numbers: [2976]
2976,92 unequal: No Solution
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Moving to Node #0,4,3
Current State: 92:[93, 36], Operations: ['64-30=34', '2+34=36']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,92 unequal: No Solution
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,92 unequal: No Solution
Moving to Node #0,4,0
Current State: 92:[34, 91], Operations: ['64-30=34', '93-2=91']
Exploring Operation: 34+91=125, Resulting Numbers: [125]
125,92 unequal: No Solution
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 34*91=3094, Resulting Numbers: [3094]
3094,92 unequal: No Solution
Moving to Node #0,4,2
Current State: 92:[2, 59], Operations: ['64-30=34', '93-34=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,92 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[2, 30, 29], Operations: ['93-64=29']
Exploring Operation: 30+29=59, Resulting Numbers: [2, 59]
Generated Node #0,1,0: 92:[2, 59] Operation: 30+29=59
Exploring Operation: 30/2=15, Resulting Numbers: [29, 15]
Generated Node #0,1,1: 92:[29, 15] Operation: 30/2=15
Exploring Operation: 30-29=1, Resulting Numbers: [2, 1]
Generated Node #0,1,2: 92:[2, 1] Operation: 30-29=1
Exploring Operation: 30-2=28, Resulting Numbers: [29, 28]
Generated Node #0,1,3: 92:[29, 28] Operation: 30-2=28
Exploring Operation: 29-2=27, Resulting Numbers: [30, 27]
Generated Node #0,1,4: 92:[30, 27] Operation: 29-2=27
Moving to Node #0,1,2
Current State: 92:[2, 1], Operations: ['93-64=29', '30-29=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[30, 27], Operations: ['93-64=29', '29-2=27']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[29, 28], Operations: ['93-64=29', '30-2=28']
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,92 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[2, 59], Operations: ['93-64=29', '30+29=59']
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,92 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[29, 15], Operations: ['93-64=29', '30/2=15']
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,92 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[30, 93, 32], Operations: ['64/2=32']
Exploring Operation: 30+32=62, Resulting Numbers: [93, 62]
Generated Node #0,3,0: 92:[93, 62] Operation: 30+32=62
Exploring Operation: 93-30=63, Resulting Numbers: [32, 63]
Generated Node #0,3,1: 92:[32, 63] Operation: 93-30=63
Exploring Operation: 30+93=123, Resulting Numbers: [32, 123]
Generated Node #0,3,2: 92:[32, 123] Operation: 30+93=123
Exploring Operation: 32-30=2, Resulting Numbers: [93, 2]
Generated Node #0,3,3: 92:[93, 2] Operation: 32-30=2
Exploring Operation: 93-32=61, Resulting Numbers: [30, 61]
Generated Node #0,3,4: 92:[30, 61] Operation: 93-32=61
Moving to Node #0,3,3
Current State: 92:[93, 2], Operations: ['64/2=32', '32-30=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,92 unequal: No Solution
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,92 unequal: No Solution
Moving to Node #0,3,0
Current State: 92:[93, 62], Operations: ['64/2=32', '30+32=62']
Exploring Operation: 93*62=5766, Resulting Numbers: [5766]
5766,92 unequal: No Solution
Exploring Operation: 93+62=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 93-62=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Moving to Node #0,3,4
Current State: 92:[30, 61], Operations: ['64/2=32', '93-32=61']
Exploring Operation: 30*61=1830, Resulting Numbers: [1830]
1830,92 unequal: No Solution
Exploring Operation: 30+61=91, Resulting Numbers: [91]
91,92 unequal: No Solution
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[32, 63], Operations: ['64/2=32', '93-30=63']
Exploring Operation: 32*63=2016, Resulting Numbers: [2016]
2016,92 unequal: No Solution
Exploring Operation: 32+63=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[32, 123], Operations: ['64/2=32', '30+93=123']
Exploring Operation: 123-32=91, Resulting Numbers: [91]
91,92 unequal: No Solution
Exploring Operation: 32*123=3936, Resulting Numbers: [3936]
3936,92 unequal: No Solution
Exploring Operation: 32+123=155, Resulting Numbers: [155]
155,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[93, 64, 28], Operations: ['30-2=28']
Exploring Operation: 93+28=121, Resulting Numbers: [64, 121]
Generated Node #0,2,0: 92:[64, 121] Operation: 93+28=121
Exploring Operation: 93-28=65, Resulting Numbers: [64, 65]
Generated Node #0,2,1: 92:[64, 65] Operation: 93-28=65
Exploring Operation: 64-28=36, Resulting Numbers: [93, 36]
Generated Node #0,2,2: 92:[93, 36] Operation: 64-28=36
Exploring Operation: 64+28=92, Resulting Numbers: [93, 92]
Generated Node #0,2,3: 92:[93, 92] Operation: 64+28=92
Exploring Operation: 93-64=29, Resulting Numbers: [28, 29]
Generated Node #0,2,4: 92:[28, 29] Operation: 93-64=29
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 92:[93, 92], Operations: ['30-2=28', '64+28=92']
Exploring Operation: 93*92=8556, Resulting Numbers: [8556]
8556,92 unequal: No Solution
Exploring Operation: 93+92=185, Resulting Numbers: [185]
185,92 unequal: No Solution
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No 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: 92:[93, 36], Operations: ['30-2=28', '64-28=36']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,92 unequal: No Solution
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 92:[28, 29], Operations: ['30-2=28', '93-64=29']
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,92 unequal: No Solution
No 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: 92:[64, 65], Operations: ['30-2=28', '93-28=65']
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,92 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,92 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No 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: 92:[64, 121], Operations: ['30-2=28', '93+28=121']
Exploring Operation: 64*121=7744, Resulting Numbers: [7744]
7744,92 unequal: No Solution
Exploring Operation: 121-64=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 64+121=185, Resulting Numbers: [185]
185,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
40,
39,
77,
31
] | 62 | [
"40+39=79",
"79-77=2",
"31*2=62"
] | Current State: 62:[40, 39, 77, 31], Operations: []
Exploring Operation: 40+39=79, Resulting Numbers: [77, 31, 79]
Generated Node #2: [77, 31, 79] from Operation: 40+39=79
Current State: 62:[77, 31, 79], Operations: ['40+39=79']
Exploring Operation: 79-77=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 79-77=2
Current State: 62:[31, 2], Operations: ['40+39=79', '79-77=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[40, 39, 77, 31], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [39, 31, 37]
Generated Node #0,0: 62:[39, 31, 37] Operation: 77-40=37
Exploring Operation: 40-39=1, Resulting Numbers: [77, 31, 1]
Generated Node #0,1: 62:[77, 31, 1] Operation: 40-39=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[39, 31, 37], Operations: ['77-40=37']
Exploring Operation: 39-37=2, Resulting Numbers: [31, 2]
Generated Node #0,0,0: 62:[31, 2] Operation: 39-37=2
Exploring Operation: 39-31=8, Resulting Numbers: [37, 8]
Generated Node #0,0,1: 62:[37, 8] Operation: 39-31=8
Moving to Node #0,0,0
Current State: 62:[31, 2], Operations: ['77-40=37', '39-37=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[40, 39, 77, 31], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [39, 31, 37]
Generated Node #0,0: 62:[39, 31, 37] Operation: 77-40=37
Moving to Node #0,0
Current State: 62:[39, 31, 37], Operations: ['77-40=37']
Exploring Operation: 39-37=2, Resulting Numbers: [31, 2]
Generated Node #0,0,0: 62:[31, 2] Operation: 39-37=2
Moving to Node #0,0,0
Current State: 62:[31, 2], Operations: ['77-40=37', '39-37=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
72,
50,
24,
45
] | 98 | [
"72/24=3",
"50+45=95",
"3+95=98"
] | Current State: 98:[72, 50, 24, 45], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [50, 45, 3]
Generated Node #2: [50, 45, 3] from Operation: 72/24=3
Current State: 98:[50, 45, 3], Operations: ['72/24=3']
Exploring Operation: 50+45=95, Resulting Numbers: [3, 95]
Generated Node #3: [3, 95] from Operation: 50+45=95
Current State: 98:[3, 95], Operations: ['72/24=3', '50+45=95']
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[72, 50, 24, 45], Operations: []
Exploring Operation: 72-24=48, Resulting Numbers: [50, 45, 48]
Generated Node #0,0: 98:[50, 45, 48] Operation: 72-24=48
Exploring Operation: 72+24=96, Resulting Numbers: [50, 45, 96]
Generated Node #0,1: 98:[50, 45, 96] Operation: 72+24=96
Exploring Operation: 72/24=3, Resulting Numbers: [50, 45, 3]
Generated Node #0,2: 98:[50, 45, 3] Operation: 72/24=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[50, 45, 48], Operations: ['72-24=48']
Exploring Operation: 48-45=3, Resulting Numbers: [50, 3]
Generated Node #0,0,0: 98:[50, 3] Operation: 48-45=3
Exploring Operation: 50+45=95, Resulting Numbers: [48, 95]
Generated Node #0,0,1: 98:[48, 95] Operation: 50+45=95
Exploring Operation: 50-45=5, Resulting Numbers: [48, 5]
Generated Node #0,0,2: 98:[48, 5] Operation: 50-45=5
Moving to Node #0,0,0
Current State: 98:[50, 3], Operations: ['72-24=48', '48-45=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,98 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[48, 5], Operations: ['72-24=48', '50-45=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,98 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[48, 95], Operations: ['72-24=48', '50+45=95']
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 48+95=143, Resulting Numbers: [143]
143,98 unequal: No Solution
Exploring Operation: 48*95=4560, Resulting Numbers: [4560]
4560,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[50, 45, 3], Operations: ['72/24=3']
Exploring Operation: 45/3=15, Resulting Numbers: [50, 15]
Generated Node #0,2,0: 98:[50, 15] Operation: 45/3=15
Exploring Operation: 50-45=5, Resulting Numbers: [3, 5]
Generated Node #0,2,1: 98:[3, 5] Operation: 50-45=5
Exploring Operation: 45+3=48, Resulting Numbers: [50, 48]
Generated Node #0,2,2: 98:[50, 48] Operation: 45+3=48
Moving to Node #0,2,0
Current State: 98:[50, 15], Operations: ['72/24=3', '45/3=15']
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,98 unequal: No Solution
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[50, 48], Operations: ['72/24=3', '45+3=48']
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[72, 50, 24, 45], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [50, 45, 3]
Generated Node #0,2: 98:[50, 45, 3] Operation: 72/24=3
Moving to Node #0,2
Current State: 98:[50, 45, 3], Operations: ['72/24=3']
Exploring Operation: 45+3=48, Resulting Numbers: [50, 48]
Generated Node #0,2,2: 98:[50, 48] Operation: 45+3=48
Moving to Node #0,2,2
Current State: 98:[50, 48], Operations: ['72/24=3', '45+3=48']
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
42,
8,
46,
84
] | 40 | [
"84/42=2",
"46-8=38",
"2+38=40"
] | Current State: 40:[42, 8, 46, 84], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [8, 46, 2]
Generated Node #2: [8, 46, 2] from Operation: 84/42=2
Current State: 40:[8, 46, 2], Operations: ['84/42=2']
Exploring Operation: 46-8=38, Resulting Numbers: [2, 38]
Generated Node #3: [2, 38] from Operation: 46-8=38
Current State: 40:[2, 38], Operations: ['84/42=2', '46-8=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[42, 8, 46, 84], Operations: []
Exploring Operation: 84-46=38, Resulting Numbers: [42, 8, 38]
Generated Node #0,0: 40:[42, 8, 38] Operation: 84-46=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[42, 8, 38], Operations: ['84-46=38']
Exploring Operation: 42-38=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 40:[8, 4] Operation: 42-38=4
Moving to Node #0,0,0
Current State: 40:[8, 4], Operations: ['84-46=38', '42-38=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
15,
35,
28,
31
] | 79 | [
"35-15=20",
"28+31=59",
"20+59=79"
] | Current State: 79:[15, 35, 28, 31], Operations: []
Exploring Operation: 35-15=20, Resulting Numbers: [28, 31, 20]
Generated Node #2: [28, 31, 20] from Operation: 35-15=20
Current State: 79:[28, 31, 20], Operations: ['35-15=20']
Exploring Operation: 28+31=59, Resulting Numbers: [20, 59]
Generated Node #3: [20, 59] from Operation: 28+31=59
Current State: 79:[20, 59], Operations: ['35-15=20', '28+31=59']
Exploring Operation: 20+59=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[15, 35, 28, 31], Operations: []
Exploring Operation: 15+35=50, Resulting Numbers: [28, 31, 50]
Generated Node #0,0: 79:[28, 31, 50] Operation: 15+35=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[28, 31, 50], Operations: ['15+35=50']
Exploring Operation: 28+31=59, Resulting Numbers: [50, 59]
Generated Node #0,0,0: 79:[50, 59] Operation: 28+31=59
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[50, 59], Operations: ['15+35=50', '28+31=59']
Exploring Operation: 50+59=109, Resulting Numbers: [109]
109,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
12,
3,
24,
95
] | 46 | [
"24/12=2",
"95-3=92",
"92/2=46"
] | Current State: 46:[12, 3, 24, 95], Operations: []
Exploring Operation: 24/12=2, Resulting Numbers: [3, 95, 2]
Generated Node #2: [3, 95, 2] from Operation: 24/12=2
Current State: 46:[3, 95, 2], Operations: ['24/12=2']
Exploring Operation: 95-3=92, Resulting Numbers: [2, 92]
Generated Node #3: [2, 92] from Operation: 95-3=92
Current State: 46:[2, 92], Operations: ['24/12=2', '95-3=92']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[12, 3, 24, 95], Operations: []
Exploring Operation: 95-12=83, Resulting Numbers: [3, 24, 83]
Generated Node #0,0: 46:[3, 24, 83] Operation: 95-12=83
Exploring Operation: 95-24=71, Resulting Numbers: [12, 3, 71]
Generated Node #0,1: 46:[12, 3, 71] Operation: 95-24=71
Moving to Node #0,1
Current State: 46:[12, 3, 71], Operations: ['95-24=71']
Exploring Operation: 12/3=4, Resulting Numbers: [71, 4]
Generated Node #0,1,0: 46:[71, 4] Operation: 12/3=4
Exploring Operation: 71-12=59, Resulting Numbers: [3, 59]
Generated Node #0,1,1: 46:[3, 59] Operation: 71-12=59
Moving to Node #0,0
Current State: 46:[3, 24, 83], Operations: ['95-12=83']
Exploring Operation: 83-24=59, Resulting Numbers: [3, 59]
Generated Node #0,0,0: 46:[3, 59] Operation: 83-24=59
Exploring Operation: 83-3=80, Resulting Numbers: [24, 80]
Generated Node #0,0,1: 46:[24, 80] Operation: 83-3=80
Moving to Node #0,1,1
Current State: 46:[3, 59], Operations: ['95-24=71', '71-12=59']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[3, 59], Operations: ['95-12=83', '83-24=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,46 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[71, 4], Operations: ['95-24=71', '12/3=4']
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[24, 80], Operations: ['95-12=83', '83-3=80']
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 24+80=104, Resulting Numbers: [104]
104,46 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
29,
47,
39
] | 58 | [
"47-6=41",
"41-39=2",
"29*2=58"
] | Current State: 58:[6, 29, 47, 39], Operations: []
Exploring Operation: 47-6=41, Resulting Numbers: [29, 39, 41]
Generated Node #2: [29, 39, 41] from Operation: 47-6=41
Current State: 58:[29, 39, 41], Operations: ['47-6=41']
Exploring Operation: 41-39=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 41-39=2
Current State: 58:[29, 2], Operations: ['47-6=41', '41-39=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[6, 29, 47, 39], Operations: []
Exploring Operation: 47-39=8, Resulting Numbers: [6, 29, 8]
Generated Node #0,0: 58:[6, 29, 8] Operation: 47-39=8
Exploring Operation: 6+47=53, Resulting Numbers: [29, 39, 53]
Generated Node #0,1: 58:[29, 39, 53] Operation: 6+47=53
Exploring Operation: 39-6=33, Resulting Numbers: [29, 47, 33]
Generated Node #0,2: 58:[29, 47, 33] Operation: 39-6=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[6, 29, 8], Operations: ['47-39=8']
Exploring Operation: 8-6=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 58:[29, 2] Operation: 8-6=2
Exploring Operation: 6+29=35, Resulting Numbers: [8, 35]
Generated Node #0,0,1: 58:[8, 35] Operation: 6+29=35
Exploring Operation: 6*8=48, Resulting Numbers: [29, 48]
Generated Node #0,0,2: 58:[29, 48] Operation: 6*8=48
Moving to Node #0,0,0
Current State: 58:[29, 2], Operations: ['47-39=8', '8-6=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[6, 29, 47, 39], Operations: []
Exploring Operation: 47-39=8, Resulting Numbers: [6, 29, 8]
Generated Node #0,0: 58:[6, 29, 8] Operation: 47-39=8
Moving to Node #0,0
Current State: 58:[6, 29, 8], Operations: ['47-39=8']
Exploring Operation: 8-6=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 58:[29, 2] Operation: 8-6=2
Moving to Node #0,0,0
Current State: 58:[29, 2], Operations: ['47-39=8', '8-6=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
95,
69,
37,
63
] | 74 | [
"95-69=26",
"37+63=100",
"100-26=74"
] | Current State: 74:[95, 69, 37, 63], Operations: []
Exploring Operation: 95-69=26, Resulting Numbers: [37, 63, 26]
Generated Node #2: [37, 63, 26] from Operation: 95-69=26
Current State: 74:[37, 63, 26], Operations: ['95-69=26']
Exploring Operation: 37+63=100, Resulting Numbers: [26, 100]
Generated Node #3: [26, 100] from Operation: 37+63=100
Current State: 74:[26, 100], Operations: ['95-69=26', '37+63=100']
Exploring Operation: 100-26=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[95, 69, 37, 63], Operations: []
Exploring Operation: 95-63=32, Resulting Numbers: [69, 37, 32]
Generated Node #0,0: 74:[69, 37, 32] Operation: 95-63=32
Exploring Operation: 95-69=26, Resulting Numbers: [37, 63, 26]
Generated Node #0,1: 74:[37, 63, 26] Operation: 95-69=26
Moving to Node #0,0
Current State: 74:[69, 37, 32], Operations: ['95-63=32']
Exploring Operation: 69-32=37, Resulting Numbers: [37, 37]
Generated Node #0,0,0: 74:[37, 37] Operation: 69-32=37
Exploring Operation: 37-32=5, Resulting Numbers: [69, 5]
Generated Node #0,0,1: 74:[69, 5] Operation: 37-32=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[37, 37], Operations: ['95-63=32', '69-32=37']
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[95, 69, 37, 63], Operations: []
Exploring Operation: 95-63=32, Resulting Numbers: [69, 37, 32]
Generated Node #0,0: 74:[69, 37, 32] Operation: 95-63=32
Moving to Node #0,0
Current State: 74:[69, 37, 32], Operations: ['95-63=32']
Exploring Operation: 69-32=37, Resulting Numbers: [37, 37]
Generated Node #0,0,0: 74:[37, 37] Operation: 69-32=37
Moving to Node #0,0,0
Current State: 74:[37, 37], Operations: ['95-63=32', '69-32=37']
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
59,
92,
22,
86
] | 43 | [
"59+92=151",
"22+86=108",
"151-108=43"
] | Current State: 43:[59, 92, 22, 86], Operations: []
Exploring Operation: 59+92=151, Resulting Numbers: [22, 86, 151]
Generated Node #2: [22, 86, 151] from Operation: 59+92=151
Current State: 43:[22, 86, 151], Operations: ['59+92=151']
Exploring Operation: 22+86=108, Resulting Numbers: [151, 108]
Generated Node #3: [151, 108] from Operation: 22+86=108
Current State: 43:[151, 108], Operations: ['59+92=151', '22+86=108']
Exploring Operation: 151-108=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[59, 92, 22, 86], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [22, 86, 33]
Generated Node #0,0: 43:[22, 86, 33] Operation: 92-59=33
Exploring Operation: 92-86=6, Resulting Numbers: [59, 22, 6]
Generated Node #0,1: 43:[59, 22, 6] Operation: 92-86=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[22, 86, 33], Operations: ['92-59=33']
Exploring Operation: 86-33=53, Resulting Numbers: [22, 53]
Generated Node #0,0,0: 43:[22, 53] Operation: 86-33=53
Exploring Operation: 86-22=64, Resulting Numbers: [33, 64]
Generated Node #0,0,1: 43:[33, 64] Operation: 86-22=64
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[22, 53], Operations: ['92-59=33', '86-33=53']
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,43 unequal: No Solution
No 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: 43:[33, 64], Operations: ['92-59=33', '86-22=64']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,43 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: 43:[59, 22, 6], Operations: ['92-86=6']
Exploring Operation: 59-6=53, Resulting Numbers: [22, 53]
Generated Node #0,1,0: 43:[22, 53] Operation: 59-6=53
Exploring Operation: 22+6=28, Resulting Numbers: [59, 28]
Generated Node #0,1,1: 43:[59, 28] Operation: 22+6=28
Moving to Node #0,1,0
Current State: 43:[22, 53], Operations: ['92-86=6', '59-6=53']
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[59, 28], Operations: ['92-86=6', '22+6=28']
Exploring Operation: 59+28=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,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 |
[
34,
14,
76,
60
] | 17 | [
"76-14=62",
"62-60=2",
"34/2=17"
] | Current State: 17:[34, 14, 76, 60], Operations: []
Exploring Operation: 76-14=62, Resulting Numbers: [34, 60, 62]
Generated Node #2: [34, 60, 62] from Operation: 76-14=62
Current State: 17:[34, 60, 62], Operations: ['76-14=62']
Exploring Operation: 62-60=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 62-60=2
Current State: 17:[34, 2], Operations: ['76-14=62', '62-60=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[34, 14, 76, 60], Operations: []
Exploring Operation: 76-60=16, Resulting Numbers: [34, 14, 16]
Generated Node #0,0: 17:[34, 14, 16] Operation: 76-60=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[34, 14, 16], Operations: ['76-60=16']
Exploring Operation: 34-14=20, Resulting Numbers: [16, 20]
Generated Node #0,0,0: 17:[16, 20] Operation: 34-14=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[16, 20], Operations: ['76-60=16', '34-14=20']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,17 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 |
[
57,
83,
5,
69
] | 38 | [
"83-57=26",
"69-5=64",
"64-26=38"
] | Current State: 38:[57, 83, 5, 69], Operations: []
Exploring Operation: 83-57=26, Resulting Numbers: [5, 69, 26]
Generated Node #2: [5, 69, 26] from Operation: 83-57=26
Current State: 38:[5, 69, 26], Operations: ['83-57=26']
Exploring Operation: 69-5=64, Resulting Numbers: [26, 64]
Generated Node #3: [26, 64] from Operation: 69-5=64
Current State: 38:[26, 64], Operations: ['83-57=26', '69-5=64']
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[57, 83, 5, 69], Operations: []
Exploring Operation: 83-69=14, Resulting Numbers: [57, 5, 14]
Generated Node #0,0: 38:[57, 5, 14] Operation: 83-69=14
Exploring Operation: 83-57=26, Resulting Numbers: [5, 69, 26]
Generated Node #0,1: 38:[5, 69, 26] Operation: 83-57=26
Exploring Operation: 69-57=12, Resulting Numbers: [83, 5, 12]
Generated Node #0,2: 38:[83, 5, 12] Operation: 69-57=12
Exploring Operation: 57-5=52, Resulting Numbers: [83, 69, 52]
Generated Node #0,3: 38:[83, 69, 52] Operation: 57-5=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[57, 5, 14], Operations: ['83-69=14']
Exploring Operation: 5+14=19, Resulting Numbers: [57, 19]
Generated Node #0,0,0: 38:[57, 19] Operation: 5+14=19
Exploring Operation: 57-14=43, Resulting Numbers: [5, 43]
Generated Node #0,0,1: 38:[5, 43] Operation: 57-14=43
Exploring Operation: 57-5=52, Resulting Numbers: [14, 52]
Generated Node #0,0,2: 38:[14, 52] Operation: 57-5=52
Exploring Operation: 14-5=9, Resulting Numbers: [57, 9]
Generated Node #0,0,3: 38:[57, 9] Operation: 14-5=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[5, 43], Operations: ['83-69=14', '57-14=43']
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[57, 83, 5, 69], Operations: []
Exploring Operation: 83-69=14, Resulting Numbers: [57, 5, 14]
Generated Node #0,0: 38:[57, 5, 14] Operation: 83-69=14
Moving to Node #0,0
Current State: 38:[57, 5, 14], Operations: ['83-69=14']
Exploring Operation: 57-14=43, Resulting Numbers: [5, 43]
Generated Node #0,0,1: 38:[5, 43] Operation: 57-14=43
Moving to Node #0,0,1
Current State: 38:[5, 43], Operations: ['83-69=14', '57-14=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
16,
69,
21,
48
] | 76 | [
"16*21=336",
"336/48=7",
"69+7=76"
] | Current State: 76:[16, 69, 21, 48], Operations: []
Exploring Operation: 16*21=336, Resulting Numbers: [69, 48, 336]
Generated Node #2: [69, 48, 336] from Operation: 16*21=336
Current State: 76:[69, 48, 336], Operations: ['16*21=336']
Exploring Operation: 336/48=7, Resulting Numbers: [69, 7]
Generated Node #3: [69, 7] from Operation: 336/48=7
Current State: 76:[69, 7], Operations: ['16*21=336', '336/48=7']
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[16, 69, 21, 48], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [69, 21, 3]
Generated Node #0,0: 76:[69, 21, 3] Operation: 48/16=3
Exploring Operation: 69-48=21, Resulting Numbers: [16, 21, 21]
Generated Node #0,1: 76:[16, 21, 21] Operation: 69-48=21
Moving to Node #0,1
Current State: 76:[16, 21, 21], Operations: ['69-48=21']
Exploring Operation: 21-16=5, Resulting Numbers: [21, 5]
Generated Node #0,1,0: 76:[21, 5] Operation: 21-16=5
Exploring Operation: 16+21=37, Resulting Numbers: [21, 37]
Generated Node #0,1,1: 76:[21, 37] Operation: 16+21=37
Moving to Node #0,0
Current State: 76:[69, 21, 3], Operations: ['48/16=3']
Exploring Operation: 69+3=72, Resulting Numbers: [21, 72]
Generated Node #0,0,0: 76:[21, 72] Operation: 69+3=72
Exploring Operation: 69/3=23, Resulting Numbers: [21, 23]
Generated Node #0,0,1: 76:[21, 23] Operation: 69/3=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[21, 72], Operations: ['48/16=3', '69+3=72']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,76 unequal: No Solution
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,76 unequal: No Solution
No 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: 76:[21, 23], Operations: ['48/16=3', '69/3=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,76 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: 76:[21, 5], Operations: ['69-48=21', '21-16=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[21, 37], Operations: ['69-48=21', '16+21=37']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,76 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
9,
42,
19
] | 15 | [
"9-6=3",
"19*3=57",
"57-42=15"
] | Current State: 15:[6, 9, 42, 19], Operations: []
Exploring Operation: 9-6=3, Resulting Numbers: [42, 19, 3]
Generated Node #2: [42, 19, 3] from Operation: 9-6=3
Current State: 15:[42, 19, 3], Operations: ['9-6=3']
Exploring Operation: 19*3=57, Resulting Numbers: [42, 57]
Generated Node #3: [42, 57] from Operation: 19*3=57
Current State: 15:[42, 57], Operations: ['9-6=3', '19*3=57']
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[6, 9, 42, 19], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [9, 19, 7]
Generated Node #0,0: 15:[9, 19, 7] Operation: 42/6=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[9, 19, 7], Operations: ['42/6=7']
Exploring Operation: 9+7=16, Resulting Numbers: [19, 16]
Generated Node #0,0,0: 15:[19, 16] Operation: 9+7=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[19, 16], Operations: ['42/6=7', '9+7=16']
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,15 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 |
[
45,
54,
21,
52
] | 68 | [
"45+54=99",
"52-21=31",
"99-31=68"
] | Current State: 68:[45, 54, 21, 52], Operations: []
Exploring Operation: 45+54=99, Resulting Numbers: [21, 52, 99]
Generated Node #2: [21, 52, 99] from Operation: 45+54=99
Current State: 68:[21, 52, 99], Operations: ['45+54=99']
Exploring Operation: 52-21=31, Resulting Numbers: [99, 31]
Generated Node #3: [99, 31] from Operation: 52-21=31
Current State: 68:[99, 31], Operations: ['45+54=99', '52-21=31']
Exploring Operation: 99-31=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[45, 54, 21, 52], Operations: []
Exploring Operation: 52-45=7, Resulting Numbers: [54, 21, 7]
Generated Node #0,0: 68:[54, 21, 7] Operation: 52-45=7
Exploring Operation: 54-52=2, Resulting Numbers: [45, 21, 2]
Generated Node #0,1: 68:[45, 21, 2] Operation: 54-52=2
Exploring Operation: 54-45=9, Resulting Numbers: [21, 52, 9]
Generated Node #0,2: 68:[21, 52, 9] Operation: 54-45=9
Exploring Operation: 54-21=33, Resulting Numbers: [45, 52, 33]
Generated Node #0,3: 68:[45, 52, 33] Operation: 54-21=33
Moving to Node #0,1
Current State: 68:[45, 21, 2], Operations: ['54-52=2']
Exploring Operation: 45-2=43, Resulting Numbers: [21, 43]
Generated Node #0,1,0: 68:[21, 43] Operation: 45-2=43
Exploring Operation: 21-2=19, Resulting Numbers: [45, 19]
Generated Node #0,1,1: 68:[45, 19] Operation: 21-2=19
Exploring Operation: 45+21=66, Resulting Numbers: [2, 66]
Generated Node #0,1,2: 68:[2, 66] Operation: 45+21=66
Exploring Operation: 45-21=24, Resulting Numbers: [2, 24]
Generated Node #0,1,3: 68:[2, 24] Operation: 45-21=24
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[2, 66], Operations: ['54-52=2', '45+21=66']
Exploring Operation: 2*66=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[45, 54, 21, 52], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [45, 21, 2]
Generated Node #0,1: 68:[45, 21, 2] Operation: 54-52=2
Moving to Node #0,1
Current State: 68:[45, 21, 2], Operations: ['54-52=2']
Exploring Operation: 45+21=66, Resulting Numbers: [2, 66]
Generated Node #0,1,2: 68:[2, 66] Operation: 45+21=66
Moving to Node #0,1,2
Current State: 68:[2, 66], Operations: ['54-52=2', '45+21=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
60,
57,
7,
46
] | 59 | [
"60-46=14",
"14/7=2",
"57+2=59"
] | Current State: 59:[60, 57, 7, 46], Operations: []
Exploring Operation: 60-46=14, Resulting Numbers: [57, 7, 14]
Generated Node #2: [57, 7, 14] from Operation: 60-46=14
Current State: 59:[57, 7, 14], Operations: ['60-46=14']
Exploring Operation: 14/7=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 14/7=2
Current State: 59:[57, 2], Operations: ['60-46=14', '14/7=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[60, 57, 7, 46], Operations: []
Exploring Operation: 60-7=53, Resulting Numbers: [57, 46, 53]
Generated Node #0,0: 59:[57, 46, 53] Operation: 60-7=53
Exploring Operation: 57+7=64, Resulting Numbers: [60, 46, 64]
Generated Node #0,1: 59:[60, 46, 64] Operation: 57+7=64
Exploring Operation: 7+46=53, Resulting Numbers: [60, 57, 53]
Generated Node #0,2: 59:[60, 57, 53] Operation: 7+46=53
Moving to Node #0,2
Current State: 59:[60, 57, 53], Operations: ['7+46=53']
Exploring Operation: 57+53=110, Resulting Numbers: [60, 110]
Generated Node #0,2,0: 59:[60, 110] Operation: 57+53=110
Exploring Operation: 60-53=7, Resulting Numbers: [57, 7]
Generated Node #0,2,1: 59:[57, 7] Operation: 60-53=7
Exploring Operation: 60+53=113, Resulting Numbers: [57, 113]
Generated Node #0,2,2: 59:[57, 113] Operation: 60+53=113
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[60, 110], Operations: ['7+46=53', '57+53=110']
Exploring Operation: 60+110=170, Resulting Numbers: [170]
170,59 unequal: No Solution
Exploring Operation: 110-60=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 60*110=6600, Resulting Numbers: [6600]
6600,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[57, 7], Operations: ['7+46=53', '60-53=7']
Exploring Operation: 57*7=399, Resulting Numbers: [399]
399,59 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[57, 113], Operations: ['7+46=53', '60+53=113']
Exploring Operation: 57+113=170, Resulting Numbers: [170]
170,59 unequal: No Solution
Exploring Operation: 113-57=56, Resulting Numbers: [56]
56,59 unequal: No Solution
Exploring Operation: 57*113=6441, Resulting Numbers: [6441]
6441,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 59:[60, 46, 64], Operations: ['57+7=64']
Exploring Operation: 60+46=106, Resulting Numbers: [64, 106]
Generated Node #0,1,0: 59:[64, 106] Operation: 60+46=106
Exploring Operation: 60-46=14, Resulting Numbers: [64, 14]
Generated Node #0,1,1: 59:[64, 14] Operation: 60-46=14
Exploring Operation: 64-46=18, Resulting Numbers: [60, 18]
Generated Node #0,1,2: 59:[60, 18] Operation: 64-46=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[60, 18], Operations: ['57+7=64', '64-46=18']
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,59 unequal: No Solution
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[64, 14], Operations: ['57+7=64', '60-46=14']
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 64*14=896, Resulting Numbers: [896]
896,59 unequal: No Solution
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[64, 106], Operations: ['57+7=64', '60+46=106']
Exploring Operation: 64*106=6784, Resulting Numbers: [6784]
6784,59 unequal: No Solution
Exploring Operation: 106-64=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 64+106=170, Resulting Numbers: [170]
170,59 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: 59:[57, 46, 53], Operations: ['60-7=53']
Exploring Operation: 57+46=103, Resulting Numbers: [53, 103]
Generated Node #0,0,0: 59:[53, 103] Operation: 57+46=103
Exploring Operation: 46+53=99, Resulting Numbers: [57, 99]
Generated Node #0,0,1: 59:[57, 99] Operation: 46+53=99
Exploring Operation: 57-46=11, Resulting Numbers: [53, 11]
Generated Node #0,0,2: 59:[53, 11] Operation: 57-46=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[57, 99], Operations: ['60-7=53', '46+53=99']
Exploring Operation: 99-57=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 57*99=5643, Resulting Numbers: [5643]
5643,59 unequal: No Solution
Exploring Operation: 57+99=156, Resulting Numbers: [156]
156,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[53, 103], Operations: ['60-7=53', '57+46=103']
Exploring Operation: 53+103=156, Resulting Numbers: [156]
156,59 unequal: No Solution
Exploring Operation: 53*103=5459, Resulting Numbers: [5459]
5459,59 unequal: No Solution
Exploring Operation: 103-53=50, Resulting Numbers: [50]
50,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[53, 11], Operations: ['60-7=53', '57-46=11']
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,59 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
87,
82,
2,
26
] | 72 | [
"87+26=113",
"82/2=41",
"113-41=72"
] | Current State: 72:[87, 82, 2, 26], Operations: []
Exploring Operation: 87+26=113, Resulting Numbers: [82, 2, 113]
Generated Node #2: [82, 2, 113] from Operation: 87+26=113
Current State: 72:[82, 2, 113], Operations: ['87+26=113']
Exploring Operation: 82/2=41, Resulting Numbers: [113, 41]
Generated Node #3: [113, 41] from Operation: 82/2=41
Current State: 72:[113, 41], Operations: ['87+26=113', '82/2=41']
Exploring Operation: 113-41=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[87, 82, 2, 26], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [87, 26, 41]
Generated Node #0,0: 72:[87, 26, 41] Operation: 82/2=41
Exploring Operation: 87-26=61, Resulting Numbers: [82, 2, 61]
Generated Node #0,1: 72:[82, 2, 61] Operation: 87-26=61
Exploring Operation: 82-2=80, Resulting Numbers: [87, 26, 80]
Generated Node #0,2: 72:[87, 26, 80] Operation: 82-2=80
Exploring Operation: 87-2=85, Resulting Numbers: [82, 26, 85]
Generated Node #0,3: 72:[82, 26, 85] Operation: 87-2=85
Exploring Operation: 87-82=5, Resulting Numbers: [2, 26, 5]
Generated Node #0,4: 72:[2, 26, 5] Operation: 87-82=5
Moving to Node #0,4
Current State: 72:[2, 26, 5], Operations: ['87-82=5']
Exploring Operation: 26-2=24, Resulting Numbers: [5, 24]
Generated Node #0,4,0: 72:[5, 24] Operation: 26-2=24
Exploring Operation: 26/2=13, Resulting Numbers: [5, 13]
Generated Node #0,4,1: 72:[5, 13] Operation: 26/2=13
Exploring Operation: 5-2=3, Resulting Numbers: [26, 3]
Generated Node #0,4,2: 72:[26, 3] Operation: 5-2=3
Exploring Operation: 2+5=7, Resulting Numbers: [26, 7]
Generated Node #0,4,3: 72:[26, 7] Operation: 2+5=7
Exploring Operation: 2*5=10, Resulting Numbers: [26, 10]
Generated Node #0,4,4: 72:[26, 10] Operation: 2*5=10
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 72:[5, 24], Operations: ['87-82=5', '26-2=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 72:[5, 13], Operations: ['87-82=5', '26/2=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,72 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 72:[26, 3], Operations: ['87-82=5', '5-2=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 72:[26, 7], Operations: ['87-82=5', '2+5=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,72 unequal: No Solution
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 72:[26, 10], Operations: ['87-82=5', '2*5=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 72:[82, 2, 61], Operations: ['87-26=61']
Exploring Operation: 82/2=41, Resulting Numbers: [61, 41]
Generated Node #0,1,0: 72:[61, 41] Operation: 82/2=41
Exploring Operation: 82-2=80, Resulting Numbers: [61, 80]
Generated Node #0,1,1: 72:[61, 80] Operation: 82-2=80
Exploring Operation: 82-61=21, Resulting Numbers: [2, 21]
Generated Node #0,1,2: 72:[2, 21] Operation: 82-61=21
Exploring Operation: 2+61=63, Resulting Numbers: [82, 63]
Generated Node #0,1,3: 72:[82, 63] Operation: 2+61=63
Exploring Operation: 82+2=84, Resulting Numbers: [61, 84]
Generated Node #0,1,4: 72:[61, 84] Operation: 82+2=84
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[2, 21], Operations: ['87-26=61', '82-61=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[61, 41], Operations: ['87-26=61', '82/2=41']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Exploring Operation: 61*41=2501, Resulting Numbers: [2501]
2501,72 unequal: No Solution
Exploring Operation: 61+41=102, Resulting Numbers: [102]
102,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[61, 80], Operations: ['87-26=61', '82-2=80']
Exploring Operation: 61*80=4880, Resulting Numbers: [4880]
4880,72 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 61+80=141, Resulting Numbers: [141]
141,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 72:[82, 63], Operations: ['87-26=61', '2+61=63']
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 82*63=5166, Resulting Numbers: [5166]
5166,72 unequal: No Solution
Exploring Operation: 82+63=145, Resulting Numbers: [145]
145,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 72:[61, 84], Operations: ['87-26=61', '82+2=84']
Exploring Operation: 61*84=5124, Resulting Numbers: [5124]
5124,72 unequal: No Solution
Exploring Operation: 61+84=145, Resulting Numbers: [145]
145,72 unequal: No Solution
Exploring Operation: 84-61=23, Resulting Numbers: [23]
23,72 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: 72:[87, 26, 41], Operations: ['82/2=41']
Exploring Operation: 87+26=113, Resulting Numbers: [41, 113]
Generated Node #0,0,0: 72:[41, 113] Operation: 87+26=113
Exploring Operation: 41-26=15, Resulting Numbers: [87, 15]
Generated Node #0,0,1: 72:[87, 15] Operation: 41-26=15
Exploring Operation: 87-26=61, Resulting Numbers: [41, 61]
Generated Node #0,0,2: 72:[41, 61] Operation: 87-26=61
Exploring Operation: 87-41=46, Resulting Numbers: [26, 46]
Generated Node #0,0,3: 72:[26, 46] Operation: 87-41=46
Exploring Operation: 26+41=67, Resulting Numbers: [87, 67]
Generated Node #0,0,4: 72:[87, 67] Operation: 26+41=67
Moving to Node #0,2
Current State: 72:[87, 26, 80], Operations: ['82-2=80']
Exploring Operation: 80-26=54, Resulting Numbers: [87, 54]
Generated Node #0,2,0: 72:[87, 54] Operation: 80-26=54
Exploring Operation: 87-80=7, Resulting Numbers: [26, 7]
Generated Node #0,2,1: 72:[26, 7] Operation: 87-80=7
Exploring Operation: 87-26=61, Resulting Numbers: [80, 61]
Generated Node #0,2,2: 72:[80, 61] Operation: 87-26=61
Exploring Operation: 87+26=113, Resulting Numbers: [80, 113]
Generated Node #0,2,3: 72:[80, 113] Operation: 87+26=113
Exploring Operation: 26+80=106, Resulting Numbers: [87, 106]
Generated Node #0,2,4: 72:[87, 106] Operation: 26+80=106
Moving to Node #0,3
Current State: 72:[82, 26, 85], Operations: ['87-2=85']
Exploring Operation: 85-82=3, Resulting Numbers: [26, 3]
Generated Node #0,3,0: 72:[26, 3] Operation: 85-82=3
Exploring Operation: 26+85=111, Resulting Numbers: [82, 111]
Generated Node #0,3,1: 72:[82, 111] Operation: 26+85=111
Exploring Operation: 85-26=59, Resulting Numbers: [82, 59]
Generated Node #0,3,2: 72:[82, 59] Operation: 85-26=59
Exploring Operation: 82+26=108, Resulting Numbers: [85, 108]
Generated Node #0,3,3: 72:[85, 108] Operation: 82+26=108
Exploring Operation: 82-26=56, Resulting Numbers: [85, 56]
Generated Node #0,3,4: 72:[85, 56] Operation: 82-26=56
Moving to Node #0,3,0
Current State: 72:[26, 3], Operations: ['87-2=85', '85-82=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[26, 7], Operations: ['82-2=80', '87-80=7']
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,72 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[26, 46], Operations: ['82/2=41', '87-41=46']
Exploring Operation: 26*46=1196, Resulting Numbers: [1196]
1196,72 unequal: No Solution
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[87, 82, 2, 26], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [87, 26, 41]
Generated Node #0,0: 72:[87, 26, 41] Operation: 82/2=41
Moving to Node #0,0
Current State: 72:[87, 26, 41], Operations: ['82/2=41']
Exploring Operation: 87-41=46, Resulting Numbers: [26, 46]
Generated Node #0,0,3: 72:[26, 46] Operation: 87-41=46
Moving to Node #0,0,3
Current State: 72:[26, 46], Operations: ['82/2=41', '87-41=46']
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.9375 | hs_5 | sum_heuristic |
[
94,
19,
35,
51
] | 11 | [
"94-19=75",
"35+51=86",
"86-75=11"
] | Current State: 11:[94, 19, 35, 51], Operations: []
Exploring Operation: 94-19=75, Resulting Numbers: [35, 51, 75]
Generated Node #2: [35, 51, 75] from Operation: 94-19=75
Current State: 11:[35, 51, 75], Operations: ['94-19=75']
Exploring Operation: 35+51=86, Resulting Numbers: [75, 86]
Generated Node #3: [75, 86] from Operation: 35+51=86
Current State: 11:[75, 86], Operations: ['94-19=75', '35+51=86']
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[94, 19, 35, 51], Operations: []
Exploring Operation: 94-51=43, Resulting Numbers: [19, 35, 43]
Generated Node #0,0: 11:[19, 35, 43] Operation: 94-51=43
Moving to Node #0,0
Current State: 11:[19, 35, 43], Operations: ['94-51=43']
Exploring Operation: 43-35=8, Resulting Numbers: [19, 8]
Generated Node #0,0,0: 11:[19, 8] Operation: 43-35=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[19, 8], Operations: ['94-51=43', '43-35=8']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[94, 19, 35, 51], Operations: []
Exploring Operation: 94-51=43, Resulting Numbers: [19, 35, 43]
Generated Node #0,0: 11:[19, 35, 43] Operation: 94-51=43
Moving to Node #0,0
Current State: 11:[19, 35, 43], Operations: ['94-51=43']
Exploring Operation: 43-35=8, Resulting Numbers: [19, 8]
Generated Node #0,0,0: 11:[19, 8] Operation: 43-35=8
Moving to Node #0,0,0
Current State: 11:[19, 8], Operations: ['94-51=43', '43-35=8']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
56,
80,
23,
26
] | 21 | [
"80-56=24",
"26-23=3",
"24-3=21"
] | Current State: 21:[56, 80, 23, 26], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [23, 26, 24]
Generated Node #2: [23, 26, 24] from Operation: 80-56=24
Current State: 21:[23, 26, 24], Operations: ['80-56=24']
Exploring Operation: 26-23=3, Resulting Numbers: [24, 3]
Generated Node #3: [24, 3] from Operation: 26-23=3
Current State: 21:[24, 3], Operations: ['80-56=24', '26-23=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[56, 80, 23, 26], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [23, 26, 24]
Generated Node #0,0: 21:[23, 26, 24] Operation: 80-56=24
Moving to Node #0,0
Current State: 21:[23, 26, 24], Operations: ['80-56=24']
Exploring Operation: 26-23=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 21:[24, 3] Operation: 26-23=3
Moving to Node #0,0,0
Current State: 21:[24, 3], Operations: ['80-56=24', '26-23=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[56, 80, 23, 26], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [23, 26, 24]
Generated Node #0,0: 21:[23, 26, 24] Operation: 80-56=24
Moving to Node #0,0
Current State: 21:[23, 26, 24], Operations: ['80-56=24']
Exploring Operation: 26-23=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 21:[24, 3] Operation: 26-23=3
Moving to Node #0,0,0
Current State: 21:[24, 3], Operations: ['80-56=24', '26-23=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
74,
35,
67,
34
] | 76 | [
"74+35=109",
"67-34=33",
"109-33=76"
] | Current State: 76:[74, 35, 67, 34], Operations: []
Exploring Operation: 74+35=109, Resulting Numbers: [67, 34, 109]
Generated Node #2: [67, 34, 109] from Operation: 74+35=109
Current State: 76:[67, 34, 109], Operations: ['74+35=109']
Exploring Operation: 67-34=33, Resulting Numbers: [109, 33]
Generated Node #3: [109, 33] from Operation: 67-34=33
Current State: 76:[109, 33], Operations: ['74+35=109', '67-34=33']
Exploring Operation: 109-33=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[74, 35, 67, 34], Operations: []
Exploring Operation: 67-35=32, Resulting Numbers: [74, 34, 32]
Generated Node #0,0: 76:[74, 34, 32] Operation: 67-35=32
Exploring Operation: 74-67=7, Resulting Numbers: [35, 34, 7]
Generated Node #0,1: 76:[35, 34, 7] Operation: 74-67=7
Exploring Operation: 67-34=33, Resulting Numbers: [74, 35, 33]
Generated Node #0,2: 76:[74, 35, 33] Operation: 67-34=33
Moving to Node #0,1
Current State: 76:[35, 34, 7], Operations: ['74-67=7']
Exploring Operation: 35/7=5, Resulting Numbers: [34, 5]
Generated Node #0,1,0: 76:[34, 5] Operation: 35/7=5
Exploring Operation: 34+7=41, Resulting Numbers: [35, 41]
Generated Node #0,1,1: 76:[35, 41] Operation: 34+7=41
Exploring Operation: 35-34=1, Resulting Numbers: [7, 1]
Generated Node #0,1,2: 76:[7, 1] Operation: 35-34=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[7, 1], Operations: ['74-67=7', '35-34=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,76 unequal: No Solution
No 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: 76:[34, 5], Operations: ['74-67=7', '35/7=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,76 unequal: No Solution
No 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: 76:[35, 41], Operations: ['74-67=7', '34+7=41']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 35*41=1435, Resulting Numbers: [1435]
1435,76 unequal: No Solution
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[74, 35, 67, 34], Operations: []
Exploring Operation: 74-67=7, Resulting Numbers: [35, 34, 7]
Generated Node #0,1: 76:[35, 34, 7] Operation: 74-67=7
Moving to Node #0,1
Current State: 76:[35, 34, 7], Operations: ['74-67=7']
Exploring Operation: 34+7=41, Resulting Numbers: [35, 41]
Generated Node #0,1,1: 76:[35, 41] Operation: 34+7=41
Moving to Node #0,1,1
Current State: 76:[35, 41], Operations: ['74-67=7', '34+7=41']
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.