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 |
|---|---|---|---|---|---|---|---|---|
[
55,
88,
49,
15
] | 97 | [
"88-55=33",
"49+15=64",
"33+64=97"
] | Current State: 97:[55, 88, 49, 15], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [49, 15, 33]
Generated Node #2: [49, 15, 33] from Operation: 88-55=33
Current State: 97:[49, 15, 33], Operations: ['88-55=33']
Exploring Operation: 49+15=64, Resulting Numbers: [33, 64]
Generated Node #3: [33, 64] from Operation: 49+15=64
Current State: 97:[33, 64], Operations: ['88-55=33', '49+15=64']
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[55, 88, 49, 15], Operations: []
Exploring Operation: 55+15=70, Resulting Numbers: [88, 49, 70]
Generated Node #0,0: 97:[88, 49, 70] Operation: 55+15=70
Exploring Operation: 49+15=64, Resulting Numbers: [55, 88, 64]
Generated Node #0,1: 97:[55, 88, 64] Operation: 49+15=64
Exploring Operation: 55+49=104, Resulting Numbers: [88, 15, 104]
Generated Node #0,2: 97:[88, 15, 104] Operation: 55+49=104
Exploring Operation: 88+15=103, Resulting Numbers: [55, 49, 103]
Generated Node #0,3: 97:[55, 49, 103] Operation: 88+15=103
Moving to Node #0,0
Current State: 97:[88, 49, 70], Operations: ['55+15=70']
Exploring Operation: 49+70=119, Resulting Numbers: [88, 119]
Generated Node #0,0,0: 97:[88, 119] Operation: 49+70=119
Exploring Operation: 88-49=39, Resulting Numbers: [70, 39]
Generated Node #0,0,1: 97:[70, 39] Operation: 88-49=39
Exploring Operation: 70-49=21, Resulting Numbers: [88, 21]
Generated Node #0,0,2: 97:[88, 21] Operation: 70-49=21
Exploring Operation: 88+49=137, Resulting Numbers: [70, 137]
Generated Node #0,0,3: 97:[70, 137] Operation: 88+49=137
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[88, 119], Operations: ['55+15=70', '49+70=119']
Exploring Operation: 88*119=10472, Resulting Numbers: [10472]
10472,97 unequal: No Solution
Exploring Operation: 119-88=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 88+119=207, Resulting Numbers: [207]
207,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[70, 137], Operations: ['55+15=70', '88+49=137']
Exploring Operation: 137-70=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 70+137=207, Resulting Numbers: [207]
207,97 unequal: No Solution
Exploring Operation: 70*137=9590, Resulting Numbers: [9590]
9590,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[70, 39], Operations: ['55+15=70', '88-49=39']
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,97 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[88, 21], Operations: ['55+15=70', '70-49=21']
Exploring Operation: 88+21=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 88*21=1848, Resulting Numbers: [1848]
1848,97 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 97:[55, 88, 64], Operations: ['49+15=64']
Exploring Operation: 64-55=9, Resulting Numbers: [88, 9]
Generated Node #0,1,0: 97:[88, 9] Operation: 64-55=9
Exploring Operation: 55+64=119, Resulting Numbers: [88, 119]
Generated Node #0,1,1: 97:[88, 119] Operation: 55+64=119
Exploring Operation: 88-55=33, Resulting Numbers: [64, 33]
Generated Node #0,1,2: 97:[64, 33] Operation: 88-55=33
Exploring Operation: 55+88=143, Resulting Numbers: [64, 143]
Generated Node #0,1,3: 97:[64, 143] Operation: 55+88=143
Moving to Node #0,3
Current State: 97:[55, 49, 103], Operations: ['88+15=103']
Exploring Operation: 55-49=6, Resulting Numbers: [103, 6]
Generated Node #0,3,0: 97:[103, 6] Operation: 55-49=6
Exploring Operation: 55+49=104, Resulting Numbers: [103, 104]
Generated Node #0,3,1: 97:[103, 104] Operation: 55+49=104
Exploring Operation: 103-55=48, Resulting Numbers: [49, 48]
Generated Node #0,3,2: 97:[49, 48] Operation: 103-55=48
Exploring Operation: 103-49=54, Resulting Numbers: [55, 54]
Generated Node #0,3,3: 97:[55, 54] Operation: 103-49=54
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[103, 104], Operations: ['88+15=103', '55+49=104']
Exploring Operation: 104-103=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 103*104=10712, Resulting Numbers: [10712]
10712,97 unequal: No Solution
Exploring Operation: 103+104=207, Resulting Numbers: [207]
207,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[55, 54], Operations: ['88+15=103', '103-49=54']
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[103, 6], Operations: ['88+15=103', '55-49=6']
Exploring Operation: 103*6=618, Resulting Numbers: [618]
618,97 unequal: No Solution
Exploring Operation: 103+6=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 103-6=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[55, 88, 49, 15], Operations: []
Exploring Operation: 88+15=103, Resulting Numbers: [55, 49, 103]
Generated Node #0,3: 97:[55, 49, 103] Operation: 88+15=103
Moving to Node #0,3
Current State: 97:[55, 49, 103], Operations: ['88+15=103']
Exploring Operation: 55-49=6, Resulting Numbers: [103, 6]
Generated Node #0,3,0: 97:[103, 6] Operation: 55-49=6
Moving to Node #0,3,0
Current State: 97:[103, 6], Operations: ['88+15=103', '55-49=6']
Exploring Operation: 103-6=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_4 | mult_heuristic |
[
75,
90,
13,
12
] | 23 | [
"75*12=900",
"900/90=10",
"13+10=23"
] | Current State: 23:[75, 90, 13, 12], Operations: []
Exploring Operation: 75*12=900, Resulting Numbers: [90, 13, 900]
Generated Node #2: [90, 13, 900] from Operation: 75*12=900
Current State: 23:[90, 13, 900], Operations: ['75*12=900']
Exploring Operation: 900/90=10, Resulting Numbers: [13, 10]
Generated Node #3: [13, 10] from Operation: 900/90=10
Current State: 23:[13, 10], Operations: ['75*12=900', '900/90=10']
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[75, 90, 13, 12], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [13, 12, 15]
Generated Node #0,0: 23:[13, 12, 15] Operation: 90-75=15
Exploring Operation: 75-13=62, Resulting Numbers: [90, 12, 62]
Generated Node #0,1: 23:[90, 12, 62] Operation: 75-13=62
Exploring Operation: 75-12=63, Resulting Numbers: [90, 13, 63]
Generated Node #0,2: 23:[90, 13, 63] Operation: 75-12=63
Moving to Node #0,0
Current State: 23:[13, 12, 15], Operations: ['90-75=15']
Exploring Operation: 13+15=28, Resulting Numbers: [12, 28]
Generated Node #0,0,0: 23:[12, 28] Operation: 13+15=28
Exploring Operation: 12+15=27, Resulting Numbers: [13, 27]
Generated Node #0,0,1: 23:[13, 27] Operation: 12+15=27
Exploring Operation: 13+12=25, Resulting Numbers: [15, 25]
Generated Node #0,0,2: 23:[15, 25] Operation: 13+12=25
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[15, 25], Operations: ['90-75=15', '13+12=25']
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[13, 27], Operations: ['90-75=15', '12+15=27']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,23 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[12, 28], Operations: ['90-75=15', '13+15=28']
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,23 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,23 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: 23:[90, 12, 62], Operations: ['75-13=62']
Exploring Operation: 62-12=50, Resulting Numbers: [90, 50]
Generated Node #0,1,0: 23:[90, 50] Operation: 62-12=50
Exploring Operation: 90-62=28, Resulting Numbers: [12, 28]
Generated Node #0,1,1: 23:[12, 28] Operation: 90-62=28
Exploring Operation: 90-12=78, Resulting Numbers: [62, 78]
Generated Node #0,1,2: 23:[62, 78] Operation: 90-12=78
Moving to Node #0,2
Current State: 23:[90, 13, 63], Operations: ['75-12=63']
Exploring Operation: 90-13=77, Resulting Numbers: [63, 77]
Generated Node #0,2,0: 23:[63, 77] Operation: 90-13=77
Exploring Operation: 63-13=50, Resulting Numbers: [90, 50]
Generated Node #0,2,1: 23:[90, 50] Operation: 63-13=50
Exploring Operation: 90-63=27, Resulting Numbers: [13, 27]
Generated Node #0,2,2: 23:[13, 27] Operation: 90-63=27
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[13, 27], Operations: ['75-12=63', '90-63=27']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[63, 77], Operations: ['75-12=63', '90-13=77']
Exploring Operation: 63+77=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 63*77=4851, Resulting Numbers: [4851]
4851,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[90, 50], Operations: ['75-12=63', '63-13=50']
Exploring Operation: 90*50=4500, Resulting Numbers: [4500]
4500,23 unequal: No Solution
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 90+50=140, Resulting Numbers: [140]
140,23 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: 23:[12, 28], Operations: ['75-13=62', '90-62=28']
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,23 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[90, 50], Operations: ['75-13=62', '62-12=50']
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 90+50=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 90*50=4500, Resulting Numbers: [4500]
4500,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[62, 78], Operations: ['75-13=62', '90-12=78']
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 62+78=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 62*78=4836, Resulting Numbers: [4836]
4836,23 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
72,
18,
14
] | 46 | [
"72/18=4",
"14*4=56",
"56-10=46"
] | Current State: 46:[10, 72, 18, 14], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [10, 14, 4]
Generated Node #2: [10, 14, 4] from Operation: 72/18=4
Current State: 46:[10, 14, 4], Operations: ['72/18=4']
Exploring Operation: 14*4=56, Resulting Numbers: [10, 56]
Generated Node #3: [10, 56] from Operation: 14*4=56
Current State: 46:[10, 56], Operations: ['72/18=4', '14*4=56']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[10, 72, 18, 14], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [10, 14, 4]
Generated Node #0,0: 46:[10, 14, 4] Operation: 72/18=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[10, 14, 4], Operations: ['72/18=4']
Exploring Operation: 10+14=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 46:[4, 24] Operation: 10+14=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[4, 24], Operations: ['72/18=4', '10+14=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,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 | mult_heuristic |
[
61,
71,
74,
27
] | 20 | [
"74-71=3",
"27*3=81",
"81-61=20"
] | Current State: 20:[61, 71, 74, 27], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [61, 27, 3]
Generated Node #2: [61, 27, 3] from Operation: 74-71=3
Current State: 20:[61, 27, 3], Operations: ['74-71=3']
Exploring Operation: 27*3=81, Resulting Numbers: [61, 81]
Generated Node #3: [61, 81] from Operation: 27*3=81
Current State: 20:[61, 81], Operations: ['74-71=3', '27*3=81']
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[61, 71, 74, 27], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [61, 27, 3]
Generated Node #0,0: 20:[61, 27, 3] Operation: 74-71=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[61, 27, 3], Operations: ['74-71=3']
Exploring Operation: 61-27=34, Resulting Numbers: [3, 34]
Generated Node #0,0,0: 20:[3, 34] Operation: 61-27=34
Moving to Node #0,0,0
Current State: 20:[3, 34], Operations: ['74-71=3', '61-27=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,20 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 |
[
16,
8,
54,
16
] | 54 | [
"16-16=0",
"8*0=0",
"54+0=54"
] | Current State: 54:[16, 8, 54, 16], Operations: []
Exploring Operation: 16-16=0, Resulting Numbers: [8, 54, 0]
Generated Node #2: [8, 54, 0] from Operation: 16-16=0
Current State: 54:[8, 54, 0], Operations: ['16-16=0']
Exploring Operation: 8*0=0, Resulting Numbers: [54, 0]
Generated Node #3: [54, 0] from Operation: 8*0=0
Current State: 54:[54, 0], Operations: ['16-16=0', '8*0=0']
Exploring Operation: 54+0=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[16, 8, 54, 16], Operations: []
Exploring Operation: 16/16=1, Resulting Numbers: [8, 54, 1]
Generated Node #0,0: 54:[8, 54, 1] Operation: 16/16=1
Exploring Operation: 16/8=2, Resulting Numbers: [16, 54, 2]
Generated Node #0,1: 54:[16, 54, 2] Operation: 16/8=2
Exploring Operation: 16-8=8, Resulting Numbers: [54, 16, 8]
Generated Node #0,2: 54:[54, 16, 8] Operation: 16-8=8
Exploring Operation: 16/8=2, Resulting Numbers: [54, 16, 2]
Generated Node #0,3: 54:[54, 16, 2] Operation: 16/8=2
Exploring Operation: 16-16=0, Resulting Numbers: [8, 54, 0]
Generated Node #0,4: 54:[8, 54, 0] Operation: 16-16=0
Moving to Node #0,0
Current State: 54:[8, 54, 1], Operations: ['16/16=1']
Exploring Operation: 8/1=8, Resulting Numbers: [54, 8]
Generated Node #0,0,0: 54:[54, 8] Operation: 8/1=8
Exploring Operation: 54*1=54, Resulting Numbers: [8, 54]
Generated Node #0,0,1: 54:[8, 54] Operation: 54*1=54
Exploring Operation: 8-1=7, Resulting Numbers: [54, 7]
Generated Node #0,0,2: 54:[54, 7] Operation: 8-1=7
Exploring Operation: 8*1=8, Resulting Numbers: [54, 8]
Generated Node #0,0,3: 54:[54, 8] Operation: 8*1=8
Exploring Operation: 8+1=9, Resulting Numbers: [54, 9]
Generated Node #0,0,4: 54:[54, 9] Operation: 8+1=9
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 54:[54, 9], Operations: ['16/16=1', '8+1=9']
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,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:[54, 8], Operations: ['16/16=1', '8/1=8']
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,54 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,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:[8, 54], Operations: ['16/16=1', '54*1=54']
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,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,2
Current State: 54:[54, 7], Operations: ['16/16=1', '8-1=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,54 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,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,3
Current State: 54:[54, 8], Operations: ['16/16=1', '8*1=8']
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,54 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,54 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: 54:[54, 16, 2], Operations: ['16/8=2']
Exploring Operation: 16+2=18, Resulting Numbers: [54, 18]
Generated Node #0,3,0: 54:[54, 18] Operation: 16+2=18
Exploring Operation: 54/2=27, Resulting Numbers: [16, 27]
Generated Node #0,3,1: 54:[16, 27] Operation: 54/2=27
Exploring Operation: 54-2=52, Resulting Numbers: [16, 52]
Generated Node #0,3,2: 54:[16, 52] Operation: 54-2=52
Exploring Operation: 16/2=8, Resulting Numbers: [54, 8]
Generated Node #0,3,3: 54:[54, 8] Operation: 16/2=8
Exploring Operation: 54+2=56, Resulting Numbers: [16, 56]
Generated Node #0,3,4: 54:[16, 56] Operation: 54+2=56
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 54:[54, 18], Operations: ['16/8=2', '16+2=18']
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 54*18=972, Resulting Numbers: [972]
972,54 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[54, 8], Operations: ['16/8=2', '16/2=8']
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 54:[16, 27], Operations: ['16/8=2', '54/2=27']
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,54 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 54:[16, 52], Operations: ['16/8=2', '54-2=52']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 16*52=832, Resulting Numbers: [832]
832,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 54:[16, 56], Operations: ['16/8=2', '54+2=56']
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,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:[16, 54, 2], Operations: ['16/8=2']
Exploring Operation: 54/2=27, Resulting Numbers: [16, 27]
Generated Node #0,1,0: 54:[16, 27] Operation: 54/2=27
Exploring Operation: 54+2=56, Resulting Numbers: [16, 56]
Generated Node #0,1,1: 54:[16, 56] Operation: 54+2=56
Exploring Operation: 16-2=14, Resulting Numbers: [54, 14]
Generated Node #0,1,2: 54:[54, 14] Operation: 16-2=14
Exploring Operation: 16/2=8, Resulting Numbers: [54, 8]
Generated Node #0,1,3: 54:[54, 8] Operation: 16/2=8
Exploring Operation: 16+2=18, Resulting Numbers: [54, 18]
Generated Node #0,1,4: 54:[54, 18] Operation: 16+2=18
Moving to Node #0,2
Current State: 54:[54, 16, 8], Operations: ['16-8=8']
Exploring Operation: 16/8=2, Resulting Numbers: [54, 2]
Generated Node #0,2,0: 54:[54, 2] Operation: 16/8=2
Exploring Operation: 54+8=62, Resulting Numbers: [16, 62]
Generated Node #0,2,1: 54:[16, 62] Operation: 54+8=62
Exploring Operation: 54-8=46, Resulting Numbers: [16, 46]
Generated Node #0,2,2: 54:[16, 46] Operation: 54-8=46
Exploring Operation: 16-8=8, Resulting Numbers: [54, 8]
Generated Node #0,2,3: 54:[54, 8] Operation: 16-8=8
Exploring Operation: 16+8=24, Resulting Numbers: [54, 24]
Generated Node #0,2,4: 54:[54, 24] Operation: 16+8=24
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[54, 2], Operations: ['16-8=8', '16/8=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,54 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 54:[54, 8], Operations: ['16-8=8', '16-8=8']
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 54:[54, 24], Operations: ['16-8=8', '16+8=24']
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,54 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[16, 62], Operations: ['16-8=8', '54+8=62']
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,54 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[16, 46], Operations: ['16-8=8', '54-8=46']
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,54 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,54 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: 54:[8, 54, 0], Operations: ['16-16=0']
Exploring Operation: 8-0=8, Resulting Numbers: [54, 8]
Generated Node #0,4,0: 54:[54, 8] Operation: 8-0=8
Exploring Operation: 8*0=0, Resulting Numbers: [54, 0]
Generated Node #0,4,1: 54:[54, 0] Operation: 8*0=0
Exploring Operation: 54-0=54, Resulting Numbers: [8, 54]
Generated Node #0,4,2: 54:[8, 54] Operation: 54-0=54
Exploring Operation: 8+0=8, Resulting Numbers: [54, 8]
Generated Node #0,4,3: 54:[54, 8] Operation: 8+0=8
Exploring Operation: 54+0=54, Resulting Numbers: [8, 54]
Generated Node #0,4,4: 54:[8, 54] Operation: 54+0=54
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 54:[54, 8], Operations: ['16-16=0', '8-0=8']
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,54 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 54:[8, 54], Operations: ['16-16=0', '54-0=54']
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,54 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 54:[54, 8], Operations: ['16-16=0', '8+0=8']
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 54:[8, 54], Operations: ['16-16=0', '54+0=54']
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,54 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 54:[54, 0], Operations: ['16-16=0', '8*0=0']
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[16, 8, 54, 16], Operations: []
Exploring Operation: 16-16=0, Resulting Numbers: [8, 54, 0]
Generated Node #0,4: 54:[8, 54, 0] Operation: 16-16=0
Moving to Node #0,4
Current State: 54:[8, 54, 0], Operations: ['16-16=0']
Exploring Operation: 8*0=0, Resulting Numbers: [54, 0]
Generated Node #0,4,1: 54:[54, 0] Operation: 8*0=0
Moving to Node #0,4,1
Current State: 54:[54, 0], Operations: ['16-16=0', '8*0=0']
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.917535 | hs_5 | sum_heuristic |
[
5,
54,
39,
65
] | 76 | [
"5*39=195",
"54+65=119",
"195-119=76"
] | Current State: 76:[5, 54, 39, 65], Operations: []
Exploring Operation: 5*39=195, Resulting Numbers: [54, 65, 195]
Generated Node #2: [54, 65, 195] from Operation: 5*39=195
Current State: 76:[54, 65, 195], Operations: ['5*39=195']
Exploring Operation: 54+65=119, Resulting Numbers: [195, 119]
Generated Node #3: [195, 119] from Operation: 54+65=119
Current State: 76:[195, 119], Operations: ['5*39=195', '54+65=119']
Exploring Operation: 195-119=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[5, 54, 39, 65], Operations: []
Exploring Operation: 54-5=49, Resulting Numbers: [39, 65, 49]
Generated Node #0,0: 76:[39, 65, 49] Operation: 54-5=49
Exploring Operation: 54-39=15, Resulting Numbers: [5, 65, 15]
Generated Node #0,1: 76:[5, 65, 15] Operation: 54-39=15
Exploring Operation: 65-54=11, Resulting Numbers: [5, 39, 11]
Generated Node #0,2: 76:[5, 39, 11] Operation: 65-54=11
Moving to Node #0,2
Current State: 76:[5, 39, 11], Operations: ['65-54=11']
Exploring Operation: 11-5=6, Resulting Numbers: [39, 6]
Generated Node #0,2,0: 76:[39, 6] Operation: 11-5=6
Exploring Operation: 39-11=28, Resulting Numbers: [5, 28]
Generated Node #0,2,1: 76:[5, 28] Operation: 39-11=28
Exploring Operation: 5+11=16, Resulting Numbers: [39, 16]
Generated Node #0,2,2: 76:[39, 16] Operation: 5+11=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[39, 6], Operations: ['65-54=11', '11-5=6']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,76 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,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,2,2
Current State: 76:[39, 16], Operations: ['65-54=11', '5+11=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,76 unequal: No Solution
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,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,2,1
Current State: 76:[5, 28], Operations: ['65-54=11', '39-11=28']
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,76 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,76 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: 76:[5, 65, 15], Operations: ['54-39=15']
Exploring Operation: 65+15=80, Resulting Numbers: [5, 80]
Generated Node #0,1,0: 76:[5, 80] Operation: 65+15=80
Exploring Operation: 5+65=70, Resulting Numbers: [15, 70]
Generated Node #0,1,1: 76:[15, 70] Operation: 5+65=70
Exploring Operation: 65/5=13, Resulting Numbers: [15, 13]
Generated Node #0,1,2: 76:[15, 13] Operation: 65/5=13
Moving to Node #0,0
Current State: 76:[39, 65, 49], Operations: ['54-5=49']
Exploring Operation: 65-49=16, Resulting Numbers: [39, 16]
Generated Node #0,0,0: 76:[39, 16] Operation: 65-49=16
Exploring Operation: 65-39=26, Resulting Numbers: [49, 26]
Generated Node #0,0,1: 76:[49, 26] Operation: 65-39=26
Exploring Operation: 49-39=10, Resulting Numbers: [65, 10]
Generated Node #0,0,2: 76:[65, 10] Operation: 49-39=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[39, 16], Operations: ['54-5=49', '65-49=16']
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,76 unequal: No Solution
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,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,2
Current State: 76:[65, 10], Operations: ['54-5=49', '49-39=10']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,76 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,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:[49, 26], Operations: ['54-5=49', '65-39=26']
Exploring Operation: 49*26=1274, Resulting Numbers: [1274]
1274,76 unequal: No Solution
Exploring Operation: 49+26=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,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:[5, 80], Operations: ['54-39=15', '65+15=80']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[15, 70], Operations: ['54-39=15', '5+65=70']
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 15*70=1050, Resulting Numbers: [1050]
1050,76 unequal: No Solution
Exploring Operation: 15+70=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[15, 13], Operations: ['54-39=15', '65/5=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,76 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
51,
56,
79,
84
] | 56 | [
"51+56=107",
"79+84=163",
"163-107=56"
] | Current State: 56:[51, 56, 79, 84], Operations: []
Exploring Operation: 51+56=107, Resulting Numbers: [79, 84, 107]
Generated Node #2: [79, 84, 107] from Operation: 51+56=107
Current State: 56:[79, 84, 107], Operations: ['51+56=107']
Exploring Operation: 79+84=163, Resulting Numbers: [107, 163]
Generated Node #3: [107, 163] from Operation: 79+84=163
Current State: 56:[107, 163], Operations: ['51+56=107', '79+84=163']
Exploring Operation: 163-107=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[51, 56, 79, 84], Operations: []
Exploring Operation: 79-56=23, Resulting Numbers: [51, 84, 23]
Generated Node #0,0: 56:[51, 84, 23] Operation: 79-56=23
Exploring Operation: 84-56=28, Resulting Numbers: [51, 79, 28]
Generated Node #0,1: 56:[51, 79, 28] Operation: 84-56=28
Exploring Operation: 84-51=33, Resulting Numbers: [56, 79, 33]
Generated Node #0,2: 56:[56, 79, 33] Operation: 84-51=33
Exploring Operation: 84-79=5, Resulting Numbers: [51, 56, 5]
Generated Node #0,3: 56:[51, 56, 5] Operation: 84-79=5
Exploring Operation: 79-51=28, Resulting Numbers: [56, 84, 28]
Generated Node #0,4: 56:[56, 84, 28] Operation: 79-51=28
Moving to Node #0,3
Current State: 56:[51, 56, 5], Operations: ['84-79=5']
Exploring Operation: 56+5=61, Resulting Numbers: [51, 61]
Generated Node #0,3,0: 56:[51, 61] Operation: 56+5=61
Exploring Operation: 51+5=56, Resulting Numbers: [56, 56]
Generated Node #0,3,1: 56:[56, 56] Operation: 51+5=56
Exploring Operation: 56-5=51, Resulting Numbers: [51, 51]
Generated Node #0,3,2: 56:[51, 51] Operation: 56-5=51
Exploring Operation: 51-5=46, Resulting Numbers: [56, 46]
Generated Node #0,3,3: 56:[56, 46] Operation: 51-5=46
Exploring Operation: 56-51=5, Resulting Numbers: [5, 5]
Generated Node #0,3,4: 56:[5, 5] Operation: 56-51=5
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[56, 56], Operations: ['84-79=5', '51+5=56']
Exploring Operation: 56*56=3136, Resulting Numbers: [3136]
3136,56 unequal: No Solution
Exploring Operation: 56+56=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 56-56=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 56/56=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 56:[5, 5], Operations: ['84-79=5', '56-51=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 56:[51, 61], Operations: ['84-79=5', '56+5=61']
Exploring Operation: 51+61=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 51*61=3111, Resulting Numbers: [3111]
3111,56 unequal: No Solution
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[51, 51], Operations: ['84-79=5', '56-5=51']
Exploring Operation: 51-51=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 51+51=102, Resulting Numbers: [102]
102,56 unequal: No Solution
Exploring Operation: 51/51=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 51*51=2601, Resulting Numbers: [2601]
2601,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[56, 46], Operations: ['84-79=5', '51-5=46']
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,56 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,56 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: 56:[56, 79, 33], Operations: ['84-51=33']
Exploring Operation: 79+33=112, Resulting Numbers: [56, 112]
Generated Node #0,2,0: 56:[56, 112] Operation: 79+33=112
Exploring Operation: 56-33=23, Resulting Numbers: [79, 23]
Generated Node #0,2,1: 56:[79, 23] Operation: 56-33=23
Exploring Operation: 79-33=46, Resulting Numbers: [56, 46]
Generated Node #0,2,2: 56:[56, 46] Operation: 79-33=46
Exploring Operation: 79-56=23, Resulting Numbers: [33, 23]
Generated Node #0,2,3: 56:[33, 23] Operation: 79-56=23
Exploring Operation: 56+33=89, Resulting Numbers: [79, 89]
Generated Node #0,2,4: 56:[79, 89] Operation: 56+33=89
Moving to Node #0,1
Current State: 56:[51, 79, 28], Operations: ['84-56=28']
Exploring Operation: 51+28=79, Resulting Numbers: [79, 79]
Generated Node #0,1,0: 56:[79, 79] Operation: 51+28=79
Exploring Operation: 79-51=28, Resulting Numbers: [28, 28]
Generated Node #0,1,1: 56:[28, 28] Operation: 79-51=28
Exploring Operation: 79+28=107, Resulting Numbers: [51, 107]
Generated Node #0,1,2: 56:[51, 107] Operation: 79+28=107
Exploring Operation: 51-28=23, Resulting Numbers: [79, 23]
Generated Node #0,1,3: 56:[79, 23] Operation: 51-28=23
Exploring Operation: 79-28=51, Resulting Numbers: [51, 51]
Generated Node #0,1,4: 56:[51, 51] Operation: 79-28=51
Moving to Node #0,4
Current State: 56:[56, 84, 28], Operations: ['79-51=28']
Exploring Operation: 56-28=28, Resulting Numbers: [84, 28]
Generated Node #0,4,0: 56:[84, 28] Operation: 56-28=28
Exploring Operation: 84/28=3, Resulting Numbers: [56, 3]
Generated Node #0,4,1: 56:[56, 3] Operation: 84/28=3
Exploring Operation: 84-28=56, Resulting Numbers: [56, 56]
Generated Node #0,4,2: 56:[56, 56] Operation: 84-28=56
Exploring Operation: 84-56=28, Resulting Numbers: [28, 28]
Generated Node #0,4,3: 56:[28, 28] Operation: 84-56=28
Exploring Operation: 56/28=2, Resulting Numbers: [84, 2]
Generated Node #0,4,4: 56:[84, 2] Operation: 56/28=2
Moving to Node #0,0
Current State: 56:[51, 84, 23], Operations: ['79-56=23']
Exploring Operation: 51-23=28, Resulting Numbers: [84, 28]
Generated Node #0,0,0: 56:[84, 28] Operation: 51-23=28
Exploring Operation: 84-23=61, Resulting Numbers: [51, 61]
Generated Node #0,0,1: 56:[51, 61] Operation: 84-23=61
Exploring Operation: 84+23=107, Resulting Numbers: [51, 107]
Generated Node #0,0,2: 56:[51, 107] Operation: 84+23=107
Exploring Operation: 84-51=33, Resulting Numbers: [23, 33]
Generated Node #0,0,3: 56:[23, 33] Operation: 84-51=33
Exploring Operation: 51+23=74, Resulting Numbers: [84, 74]
Generated Node #0,0,4: 56:[84, 74] Operation: 51+23=74
Moving to Node #0,1,1
Current State: 56:[28, 28], Operations: ['84-56=28', '79-51=28']
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,56 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[51, 56, 79, 84], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [51, 79, 28]
Generated Node #0,1: 56:[51, 79, 28] Operation: 84-56=28
Moving to Node #0,1
Current State: 56:[51, 79, 28], Operations: ['84-56=28']
Exploring Operation: 79-51=28, Resulting Numbers: [28, 28]
Generated Node #0,1,1: 56:[28, 28] Operation: 79-51=28
Moving to Node #0,1,1
Current State: 56:[28, 28], Operations: ['84-56=28', '79-51=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.951389 | hs_5 | mult_heuristic |
[
52,
31,
57,
88
] | 51 | [
"31+57=88",
"88/88=1",
"52-1=51"
] | Current State: 51:[52, 31, 57, 88], Operations: []
Exploring Operation: 31+57=88, Resulting Numbers: [52, 88, 88]
Generated Node #2: [52, 88, 88] from Operation: 31+57=88
Current State: 51:[52, 88, 88], Operations: ['31+57=88']
Exploring Operation: 88/88=1, Resulting Numbers: [52, 1]
Generated Node #3: [52, 1] from Operation: 88/88=1
Current State: 51:[52, 1], Operations: ['31+57=88', '88/88=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[52, 31, 57, 88], Operations: []
Exploring Operation: 88-31=57, Resulting Numbers: [52, 57, 57]
Generated Node #0,0: 51:[52, 57, 57] Operation: 88-31=57
Moving to Node #0,0
Current State: 51:[52, 57, 57], Operations: ['88-31=57']
Exploring Operation: 57/57=1, Resulting Numbers: [52, 1]
Generated Node #0,0,0: 51:[52, 1] Operation: 57/57=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[52, 1], Operations: ['88-31=57', '57/57=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[52, 31, 57, 88], Operations: []
Exploring Operation: 88-31=57, Resulting Numbers: [52, 57, 57]
Generated Node #0,0: 51:[52, 57, 57] Operation: 88-31=57
Moving to Node #0,0
Current State: 51:[52, 57, 57], Operations: ['88-31=57']
Exploring Operation: 57/57=1, Resulting Numbers: [52, 1]
Generated Node #0,0,0: 51:[52, 1] Operation: 57/57=1
Moving to Node #0,0,0
Current State: 51:[52, 1], Operations: ['88-31=57', '57/57=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
52,
37,
25,
86
] | 96 | [
"52-37=15",
"25+86=111",
"111-15=96"
] | Current State: 96:[52, 37, 25, 86], Operations: []
Exploring Operation: 52-37=15, Resulting Numbers: [25, 86, 15]
Generated Node #2: [25, 86, 15] from Operation: 52-37=15
Current State: 96:[25, 86, 15], Operations: ['52-37=15']
Exploring Operation: 25+86=111, Resulting Numbers: [15, 111]
Generated Node #3: [15, 111] from Operation: 25+86=111
Current State: 96:[15, 111], Operations: ['52-37=15', '25+86=111']
Exploring Operation: 111-15=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[52, 37, 25, 86], Operations: []
Exploring Operation: 86-37=49, Resulting Numbers: [52, 25, 49]
Generated Node #0,0: 96:[52, 25, 49] Operation: 86-37=49
Exploring Operation: 52+37=89, Resulting Numbers: [25, 86, 89]
Generated Node #0,1: 96:[25, 86, 89] Operation: 52+37=89
Exploring Operation: 86-52=34, Resulting Numbers: [37, 25, 34]
Generated Node #0,2: 96:[37, 25, 34] Operation: 86-52=34
Exploring Operation: 37-25=12, Resulting Numbers: [52, 86, 12]
Generated Node #0,3: 96:[52, 86, 12] Operation: 37-25=12
Exploring Operation: 52-37=15, Resulting Numbers: [25, 86, 15]
Generated Node #0,4: 96:[25, 86, 15] Operation: 52-37=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[52, 25, 49], Operations: ['86-37=49']
Exploring Operation: 52+25=77, Resulting Numbers: [49, 77]
Generated Node #0,0,0: 96:[49, 77] Operation: 52+25=77
Exploring Operation: 49-25=24, Resulting Numbers: [52, 24]
Generated Node #0,0,1: 96:[52, 24] Operation: 49-25=24
Exploring Operation: 52+49=101, Resulting Numbers: [25, 101]
Generated Node #0,0,2: 96:[25, 101] Operation: 52+49=101
Exploring Operation: 52-25=27, Resulting Numbers: [49, 27]
Generated Node #0,0,3: 96:[49, 27] Operation: 52-25=27
Exploring Operation: 52-49=3, Resulting Numbers: [25, 3]
Generated Node #0,0,4: 96:[25, 3] Operation: 52-49=3
Moving to Node #0,0,4
Current State: 96:[25, 3], Operations: ['86-37=49', '52-49=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,96 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[49, 27], Operations: ['86-37=49', '52-25=27']
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 49*27=1323, Resulting Numbers: [1323]
1323,96 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[52, 24], Operations: ['86-37=49', '49-25=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,96 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[25, 101], Operations: ['86-37=49', '52+49=101']
Exploring Operation: 101-25=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 25*101=2525, Resulting Numbers: [2525]
2525,96 unequal: No Solution
Exploring Operation: 25+101=126, Resulting Numbers: [126]
126,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[49, 77], Operations: ['86-37=49', '52+25=77']
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,96 unequal: No Solution
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,96 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,96 unequal: No Solution
No 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: 96:[37, 25, 34], Operations: ['86-52=34']
Exploring Operation: 37-34=3, Resulting Numbers: [25, 3]
Generated Node #0,2,0: 96:[25, 3] Operation: 37-34=3
Exploring Operation: 37-25=12, Resulting Numbers: [34, 12]
Generated Node #0,2,1: 96:[34, 12] Operation: 37-25=12
Exploring Operation: 34-25=9, Resulting Numbers: [37, 9]
Generated Node #0,2,2: 96:[37, 9] Operation: 34-25=9
Exploring Operation: 25+34=59, Resulting Numbers: [37, 59]
Generated Node #0,2,3: 96:[37, 59] Operation: 25+34=59
Exploring Operation: 37+25=62, Resulting Numbers: [34, 62]
Generated Node #0,2,4: 96:[34, 62] Operation: 37+25=62
Moving to Node #0,2,0
Current State: 96:[25, 3], Operations: ['86-52=34', '37-34=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,96 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[34, 12], Operations: ['86-52=34', '37-25=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[37, 9], Operations: ['86-52=34', '34-25=9']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,96 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Moving to Node #0,2,3
Current State: 96:[37, 59], Operations: ['86-52=34', '25+34=59']
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 37*59=2183, Resulting Numbers: [2183]
2183,96 unequal: No Solution
Exploring Operation: 37+59=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[52, 37, 25, 86], Operations: []
Exploring Operation: 86-52=34, Resulting Numbers: [37, 25, 34]
Generated Node #0,2: 96:[37, 25, 34] Operation: 86-52=34
Moving to Node #0,2
Current State: 96:[37, 25, 34], Operations: ['86-52=34']
Exploring Operation: 25+34=59, Resulting Numbers: [37, 59]
Generated Node #0,2,3: 96:[37, 59] Operation: 25+34=59
Moving to Node #0,2,3
Current State: 96:[37, 59], Operations: ['86-52=34', '25+34=59']
Exploring Operation: 37+59=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | mult_heuristic |
[
26,
94,
72,
54
] | 90 | [
"26+94=120",
"54*120=6480",
"6480/72=90"
] | Current State: 90:[26, 94, 72, 54], Operations: []
Exploring Operation: 26+94=120, Resulting Numbers: [72, 54, 120]
Generated Node #2: [72, 54, 120] from Operation: 26+94=120
Current State: 90:[72, 54, 120], Operations: ['26+94=120']
Exploring Operation: 54*120=6480, Resulting Numbers: [72, 6480]
Generated Node #3: [72, 6480] from Operation: 54*120=6480
Current State: 90:[72, 6480], Operations: ['26+94=120', '54*120=6480']
Exploring Operation: 6480/72=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[26, 94, 72, 54], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [26, 54, 22]
Generated Node #0,0: 90:[26, 54, 22] Operation: 94-72=22
Exploring Operation: 72-26=46, Resulting Numbers: [94, 54, 46]
Generated Node #0,1: 90:[94, 54, 46] Operation: 72-26=46
Exploring Operation: 72-54=18, Resulting Numbers: [26, 94, 18]
Generated Node #0,2: 90:[26, 94, 18] Operation: 72-54=18
Moving to Node #0,2
Current State: 90:[26, 94, 18], Operations: ['72-54=18']
Exploring Operation: 26-18=8, Resulting Numbers: [94, 8]
Generated Node #0,2,0: 90:[94, 8] Operation: 26-18=8
Exploring Operation: 94-18=76, Resulting Numbers: [26, 76]
Generated Node #0,2,1: 90:[26, 76] Operation: 94-18=76
Exploring Operation: 26+18=44, Resulting Numbers: [94, 44]
Generated Node #0,2,2: 90:[94, 44] Operation: 26+18=44
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[94, 8], Operations: ['72-54=18', '26-18=8']
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,90 unequal: No Solution
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,90 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[94, 44], Operations: ['72-54=18', '26+18=44']
Exploring Operation: 94*44=4136, Resulting Numbers: [4136]
4136,90 unequal: No Solution
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 94+44=138, Resulting Numbers: [138]
138,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[26, 76], Operations: ['72-54=18', '94-18=76']
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 26*76=1976, Resulting Numbers: [1976]
1976,90 unequal: No Solution
Exploring Operation: 26+76=102, Resulting Numbers: [102]
102,90 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: 90:[94, 54, 46], Operations: ['72-26=46']
Exploring Operation: 54-46=8, Resulting Numbers: [94, 8]
Generated Node #0,1,0: 90:[94, 8] Operation: 54-46=8
Exploring Operation: 94-54=40, Resulting Numbers: [46, 40]
Generated Node #0,1,1: 90:[46, 40] Operation: 94-54=40
Exploring Operation: 94-46=48, Resulting Numbers: [54, 48]
Generated Node #0,1,2: 90:[54, 48] Operation: 94-46=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[94, 8], Operations: ['72-26=46', '54-46=8']
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,90 unequal: No Solution
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,90 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[46, 40], Operations: ['72-26=46', '94-54=40']
Exploring Operation: 46*40=1840, Resulting Numbers: [1840]
1840,90 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[54, 48], Operations: ['72-26=46', '94-46=48']
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,90 unequal: No Solution
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,90 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,90 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: 90:[26, 54, 22], Operations: ['94-72=22']
Exploring Operation: 54-26=28, Resulting Numbers: [22, 28]
Generated Node #0,0,0: 90:[22, 28] Operation: 54-26=28
Exploring Operation: 26-22=4, Resulting Numbers: [54, 4]
Generated Node #0,0,1: 90:[54, 4] Operation: 26-22=4
Exploring Operation: 54-22=32, Resulting Numbers: [26, 32]
Generated Node #0,0,2: 90:[26, 32] Operation: 54-22=32
Moving to Node #0,0,0
Current State: 90:[22, 28], Operations: ['94-72=22', '54-26=28']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[26, 32], Operations: ['94-72=22', '54-22=32']
Exploring Operation: 26*32=832, Resulting Numbers: [832]
832,90 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[54, 4], Operations: ['94-72=22', '26-22=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,90 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,90 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
10,
7,
32,
63
] | 93 | [
"10-7=3",
"63-32=31",
"3*31=93"
] | Current State: 93:[10, 7, 32, 63], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [32, 63, 3]
Generated Node #2: [32, 63, 3] from Operation: 10-7=3
Current State: 93:[32, 63, 3], Operations: ['10-7=3']
Exploring Operation: 63-32=31, Resulting Numbers: [3, 31]
Generated Node #3: [3, 31] from Operation: 63-32=31
Current State: 93:[3, 31], Operations: ['10-7=3', '63-32=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[10, 7, 32, 63], Operations: []
Exploring Operation: 32+63=95, Resulting Numbers: [10, 7, 95]
Generated Node #0,0: 93:[10, 7, 95] Operation: 32+63=95
Exploring Operation: 63-32=31, Resulting Numbers: [10, 7, 31]
Generated Node #0,1: 93:[10, 7, 31] Operation: 63-32=31
Moving to Node #0,1
Current State: 93:[10, 7, 31], Operations: ['63-32=31']
Exploring Operation: 10-7=3, Resulting Numbers: [31, 3]
Generated Node #0,1,0: 93:[31, 3] Operation: 10-7=3
Exploring Operation: 10+7=17, Resulting Numbers: [31, 17]
Generated Node #0,1,1: 93:[31, 17] Operation: 10+7=17
Moving to Node #0,0
Current State: 93:[10, 7, 95], Operations: ['32+63=95']
Exploring Operation: 10-7=3, Resulting Numbers: [95, 3]
Generated Node #0,0,0: 93:[95, 3] Operation: 10-7=3
Exploring Operation: 95-10=85, Resulting Numbers: [7, 85]
Generated Node #0,0,1: 93:[7, 85] Operation: 95-10=85
Moving to Node #0,1,0
Current State: 93:[31, 3], Operations: ['63-32=31', '10-7=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[10, 7, 32, 63], Operations: []
Exploring Operation: 63-32=31, Resulting Numbers: [10, 7, 31]
Generated Node #0,1: 93:[10, 7, 31] Operation: 63-32=31
Moving to Node #0,1
Current State: 93:[10, 7, 31], Operations: ['63-32=31']
Exploring Operation: 10-7=3, Resulting Numbers: [31, 3]
Generated Node #0,1,0: 93:[31, 3] Operation: 10-7=3
Moving to Node #0,1,0
Current State: 93:[31, 3], Operations: ['63-32=31', '10-7=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
60,
62,
56,
48
] | 15 | [
"62-48=14",
"60*14=840",
"840/56=15"
] | Current State: 15:[60, 62, 56, 48], Operations: []
Exploring Operation: 62-48=14, Resulting Numbers: [60, 56, 14]
Generated Node #2: [60, 56, 14] from Operation: 62-48=14
Current State: 15:[60, 56, 14], Operations: ['62-48=14']
Exploring Operation: 60*14=840, Resulting Numbers: [56, 840]
Generated Node #3: [56, 840] from Operation: 60*14=840
Current State: 15:[56, 840], Operations: ['62-48=14', '60*14=840']
Exploring Operation: 840/56=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[60, 62, 56, 48], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [60, 48, 6]
Generated Node #0,0: 15:[60, 48, 6] Operation: 62-56=6
Exploring Operation: 62-60=2, Resulting Numbers: [56, 48, 2]
Generated Node #0,1: 15:[56, 48, 2] Operation: 62-60=2
Moving to Node #0,1
Current State: 15:[56, 48, 2], Operations: ['62-60=2']
Exploring Operation: 56-48=8, Resulting Numbers: [2, 8]
Generated Node #0,1,0: 15:[2, 8] Operation: 56-48=8
Exploring Operation: 56/2=28, Resulting Numbers: [48, 28]
Generated Node #0,1,1: 15:[48, 28] Operation: 56/2=28
Moving to Node #0,0
Current State: 15:[60, 48, 6], Operations: ['62-56=6']
Exploring Operation: 60/6=10, Resulting Numbers: [48, 10]
Generated Node #0,0,0: 15:[48, 10] Operation: 60/6=10
Exploring Operation: 60-48=12, Resulting Numbers: [6, 12]
Generated Node #0,0,1: 15:[6, 12] Operation: 60-48=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[6, 12], Operations: ['62-56=6', '60-48=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,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,0,0
Current State: 15:[48, 10], Operations: ['62-56=6', '60/6=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,15 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: 15:[2, 8], Operations: ['62-60=2', '56-48=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[48, 28], Operations: ['62-60=2', '56/2=28']
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,15 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
53,
5,
75,
72
] | 34 | [
"72-53=19",
"75/5=15",
"19+15=34"
] | Current State: 34:[53, 5, 75, 72], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [5, 75, 19]
Generated Node #2: [5, 75, 19] from Operation: 72-53=19
Current State: 34:[5, 75, 19], Operations: ['72-53=19']
Exploring Operation: 75/5=15, Resulting Numbers: [19, 15]
Generated Node #3: [19, 15] from Operation: 75/5=15
Current State: 34:[19, 15], Operations: ['72-53=19', '75/5=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[53, 5, 75, 72], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [53, 5, 3]
Generated Node #0,0: 34:[53, 5, 3] Operation: 75-72=3
Exploring Operation: 75-53=22, Resulting Numbers: [5, 72, 22]
Generated Node #0,1: 34:[5, 72, 22] Operation: 75-53=22
Exploring Operation: 72-53=19, Resulting Numbers: [5, 75, 19]
Generated Node #0,2: 34:[5, 75, 19] Operation: 72-53=19
Exploring Operation: 75/5=15, Resulting Numbers: [53, 72, 15]
Generated Node #0,3: 34:[53, 72, 15] Operation: 75/5=15
Moving to Node #0,0
Current State: 34:[53, 5, 3], Operations: ['75-72=3']
Exploring Operation: 53-3=50, Resulting Numbers: [5, 50]
Generated Node #0,0,0: 34:[5, 50] Operation: 53-3=50
Exploring Operation: 5*3=15, Resulting Numbers: [53, 15]
Generated Node #0,0,1: 34:[53, 15] Operation: 5*3=15
Exploring Operation: 53-5=48, Resulting Numbers: [3, 48]
Generated Node #0,0,2: 34:[3, 48] Operation: 53-5=48
Exploring Operation: 5-3=2, Resulting Numbers: [53, 2]
Generated Node #0,0,3: 34:[53, 2] Operation: 5-3=2
Moving to Node #0,2
Current State: 34:[5, 75, 19], Operations: ['72-53=19']
Exploring Operation: 19-5=14, Resulting Numbers: [75, 14]
Generated Node #0,2,0: 34:[75, 14] Operation: 19-5=14
Exploring Operation: 75-5=70, Resulting Numbers: [19, 70]
Generated Node #0,2,1: 34:[19, 70] Operation: 75-5=70
Exploring Operation: 75/5=15, Resulting Numbers: [19, 15]
Generated Node #0,2,2: 34:[19, 15] Operation: 75/5=15
Exploring Operation: 75-19=56, Resulting Numbers: [5, 56]
Generated Node #0,2,3: 34:[5, 56] Operation: 75-19=56
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[19, 15], Operations: ['72-53=19', '75/5=15']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[53, 5, 75, 72], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [5, 75, 19]
Generated Node #0,2: 34:[5, 75, 19] Operation: 72-53=19
Moving to Node #0,2
Current State: 34:[5, 75, 19], Operations: ['72-53=19']
Exploring Operation: 75/5=15, Resulting Numbers: [19, 15]
Generated Node #0,2,2: 34:[19, 15] Operation: 75/5=15
Moving to Node #0,2,2
Current State: 34:[19, 15], Operations: ['72-53=19', '75/5=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
3,
92,
10,
63
] | 98 | [
"63-3=60",
"60/10=6",
"92+6=98"
] | Current State: 98:[3, 92, 10, 63], Operations: []
Exploring Operation: 63-3=60, Resulting Numbers: [92, 10, 60]
Generated Node #2: [92, 10, 60] from Operation: 63-3=60
Current State: 98:[92, 10, 60], Operations: ['63-3=60']
Exploring Operation: 60/10=6, Resulting Numbers: [92, 6]
Generated Node #3: [92, 6] from Operation: 60/10=6
Current State: 98:[92, 6], Operations: ['63-3=60', '60/10=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[3, 92, 10, 63], Operations: []
Exploring Operation: 63-10=53, Resulting Numbers: [3, 92, 53]
Generated Node #0,0: 98:[3, 92, 53] Operation: 63-10=53
Exploring Operation: 92+10=102, Resulting Numbers: [3, 63, 102]
Generated Node #0,1: 98:[3, 63, 102] Operation: 92+10=102
Exploring Operation: 63/3=21, Resulting Numbers: [92, 10, 21]
Generated Node #0,2: 98:[92, 10, 21] Operation: 63/3=21
Exploring Operation: 92-63=29, Resulting Numbers: [3, 10, 29]
Generated Node #0,3: 98:[3, 10, 29] Operation: 92-63=29
Exploring Operation: 3+92=95, Resulting Numbers: [10, 63, 95]
Generated Node #0,4: 98:[10, 63, 95] Operation: 3+92=95
Moving to Node #0,0
Current State: 98:[3, 92, 53], Operations: ['63-10=53']
Exploring Operation: 53-3=50, Resulting Numbers: [92, 50]
Generated Node #0,0,0: 98:[92, 50] Operation: 53-3=50
Exploring Operation: 92-53=39, Resulting Numbers: [3, 39]
Generated Node #0,0,1: 98:[3, 39] Operation: 92-53=39
Exploring Operation: 3+92=95, Resulting Numbers: [53, 95]
Generated Node #0,0,2: 98:[53, 95] Operation: 3+92=95
Exploring Operation: 92-3=89, Resulting Numbers: [53, 89]
Generated Node #0,0,3: 98:[53, 89] Operation: 92-3=89
Exploring Operation: 3+53=56, Resulting Numbers: [92, 56]
Generated Node #0,0,4: 98:[92, 56] Operation: 3+53=56
Moving to Node #0,2
Current State: 98:[92, 10, 21], Operations: ['63/3=21']
Exploring Operation: 21-10=11, Resulting Numbers: [92, 11]
Generated Node #0,2,0: 98:[92, 11] Operation: 21-10=11
Exploring Operation: 92-10=82, Resulting Numbers: [21, 82]
Generated Node #0,2,1: 98:[21, 82] Operation: 92-10=82
Exploring Operation: 92+10=102, Resulting Numbers: [21, 102]
Generated Node #0,2,2: 98:[21, 102] Operation: 92+10=102
Exploring Operation: 10+21=31, Resulting Numbers: [92, 31]
Generated Node #0,2,3: 98:[92, 31] Operation: 10+21=31
Exploring Operation: 92+21=113, Resulting Numbers: [10, 113]
Generated Node #0,2,4: 98:[10, 113] Operation: 92+21=113
Moving to Node #0,1
Current State: 98:[3, 63, 102], Operations: ['92+10=102']
Exploring Operation: 63-3=60, Resulting Numbers: [102, 60]
Generated Node #0,1,0: 98:[102, 60] Operation: 63-3=60
Exploring Operation: 3+63=66, Resulting Numbers: [102, 66]
Generated Node #0,1,1: 98:[102, 66] Operation: 3+63=66
Exploring Operation: 63/3=21, Resulting Numbers: [102, 21]
Generated Node #0,1,2: 98:[102, 21] Operation: 63/3=21
Exploring Operation: 102-63=39, Resulting Numbers: [3, 39]
Generated Node #0,1,3: 98:[3, 39] Operation: 102-63=39
Exploring Operation: 102-3=99, Resulting Numbers: [63, 99]
Generated Node #0,1,4: 98:[63, 99] Operation: 102-3=99
Moving to Node #0,3
Current State: 98:[3, 10, 29], Operations: ['92-63=29']
Exploring Operation: 10-3=7, Resulting Numbers: [29, 7]
Generated Node #0,3,0: 98:[29, 7] Operation: 10-3=7
Exploring Operation: 10+29=39, Resulting Numbers: [3, 39]
Generated Node #0,3,1: 98:[3, 39] Operation: 10+29=39
Exploring Operation: 29-3=26, Resulting Numbers: [10, 26]
Generated Node #0,3,2: 98:[10, 26] Operation: 29-3=26
Exploring Operation: 3*29=87, Resulting Numbers: [10, 87]
Generated Node #0,3,3: 98:[10, 87] Operation: 3*29=87
Exploring Operation: 29-10=19, Resulting Numbers: [3, 19]
Generated Node #0,3,4: 98:[3, 19] Operation: 29-10=19
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 98:[3, 19], Operations: ['92-63=29', '29-10=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,98 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[3, 39], Operations: ['92-63=29', '10+29=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[10, 87], Operations: ['92-63=29', '3*29=87']
Exploring Operation: 10*87=870, Resulting Numbers: [870]
870,98 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 10+87=97, Resulting Numbers: [97]
97,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[29, 7], Operations: ['92-63=29', '10-3=7']
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,98 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[10, 26], Operations: ['92-63=29', '29-3=26']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,98 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,98 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: 98:[10, 63, 95], Operations: ['3+92=95']
Exploring Operation: 95-63=32, Resulting Numbers: [10, 32]
Generated Node #0,4,0: 98:[10, 32] Operation: 95-63=32
Exploring Operation: 10+95=105, Resulting Numbers: [63, 105]
Generated Node #0,4,1: 98:[63, 105] Operation: 10+95=105
Exploring Operation: 63-10=53, Resulting Numbers: [95, 53]
Generated Node #0,4,2: 98:[95, 53] Operation: 63-10=53
Exploring Operation: 95-10=85, Resulting Numbers: [63, 85]
Generated Node #0,4,3: 98:[63, 85] Operation: 95-10=85
Exploring Operation: 10+63=73, Resulting Numbers: [95, 73]
Generated Node #0,4,4: 98:[95, 73] Operation: 10+63=73
Moving to Node #0,0,0
Current State: 98:[92, 50], Operations: ['63-10=53', '53-3=50']
Exploring Operation: 92*50=4600, Resulting Numbers: [4600]
4600,98 unequal: No Solution
Exploring Operation: 92+50=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Exploring Operation: 92-50=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[53, 95], Operations: ['63-10=53', '3+92=95']
Exploring Operation: 53*95=5035, Resulting Numbers: [5035]
5035,98 unequal: No Solution
Exploring Operation: 53+95=148, Resulting Numbers: [148]
148,98 unequal: No Solution
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[95, 53], Operations: ['3+92=95', '63-10=53']
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 95*53=5035, Resulting Numbers: [5035]
5035,98 unequal: No Solution
Exploring Operation: 95+53=148, Resulting Numbers: [148]
148,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[92, 11], Operations: ['63/3=21', '21-10=11']
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,98 unequal: No Solution
Exploring Operation: 92*11=1012, Resulting Numbers: [1012]
1012,98 unequal: No Solution
Exploring Operation: 92+11=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[21, 102], Operations: ['63/3=21', '92+10=102']
Exploring Operation: 21*102=2142, Resulting Numbers: [2142]
2142,98 unequal: No Solution
Exploring Operation: 102-21=81, Resulting Numbers: [81]
81,98 unequal: No Solution
Exploring Operation: 21+102=123, Resulting Numbers: [123]
123,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[3, 39], Operations: ['63-10=53', '92-53=39']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[3, 39], Operations: ['92+10=102', '102-63=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[102, 21], Operations: ['92+10=102', '63/3=21']
Exploring Operation: 102*21=2142, Resulting Numbers: [2142]
2142,98 unequal: No Solution
Exploring Operation: 102-21=81, Resulting Numbers: [81]
81,98 unequal: No Solution
Exploring Operation: 102+21=123, Resulting Numbers: [123]
123,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[92, 56], Operations: ['63-10=53', '3+53=56']
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 92*56=5152, Resulting Numbers: [5152]
5152,98 unequal: No Solution
Exploring Operation: 92+56=148, Resulting Numbers: [148]
148,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[53, 89], Operations: ['63-10=53', '92-3=89']
Exploring Operation: 89-53=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 53+89=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Exploring Operation: 53*89=4717, Resulting Numbers: [4717]
4717,98 unequal: No Solution
Moving to Node #0,1,4
Current State: 98:[63, 99], Operations: ['92+10=102', '102-3=99']
Exploring Operation: 63*99=6237, Resulting Numbers: [6237]
6237,98 unequal: No Solution
Exploring Operation: 99-63=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 63+99=162, Resulting Numbers: [162]
162,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[102, 60], Operations: ['92+10=102', '63-3=60']
Exploring Operation: 102*60=6120, Resulting Numbers: [6120]
6120,98 unequal: No Solution
Exploring Operation: 102+60=162, Resulting Numbers: [162]
162,98 unequal: No Solution
Exploring Operation: 102-60=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Moving to Node #0,2,4
Current State: 98:[10, 113], Operations: ['63/3=21', '92+21=113']
Exploring Operation: 113-10=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Exploring Operation: 10+113=123, Resulting Numbers: [123]
123,98 unequal: No Solution
Exploring Operation: 10*113=1130, Resulting Numbers: [1130]
1130,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[10, 32], Operations: ['3+92=95', '95-63=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,98 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[102, 66], Operations: ['92+10=102', '3+63=66']
Exploring Operation: 102*66=6732, Resulting Numbers: [6732]
6732,98 unequal: No Solution
Exploring Operation: 102-66=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 102+66=168, Resulting Numbers: [168]
168,98 unequal: No Solution
Moving to Node #0,4,1
Current State: 98:[63, 105], Operations: ['3+92=95', '10+95=105']
Exploring Operation: 63*105=6615, Resulting Numbers: [6615]
6615,98 unequal: No Solution
Exploring Operation: 105-63=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 63+105=168, Resulting Numbers: [168]
168,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[21, 82], Operations: ['63/3=21', '92-10=82']
Exploring Operation: 21+82=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Exploring Operation: 21*82=1722, Resulting Numbers: [1722]
1722,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[92, 31], Operations: ['63/3=21', '10+21=31']
Exploring Operation: 92*31=2852, Resulting Numbers: [2852]
2852,98 unequal: No Solution
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Exploring Operation: 92+31=123, Resulting Numbers: [123]
123,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[95, 73], Operations: ['3+92=95', '10+63=73']
Exploring Operation: 95+73=168, Resulting Numbers: [168]
168,98 unequal: No Solution
Exploring Operation: 95*73=6935, Resulting Numbers: [6935]
6935,98 unequal: No Solution
Exploring Operation: 95-73=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[63, 85], Operations: ['3+92=95', '95-10=85']
Exploring Operation: 63+85=148, Resulting Numbers: [148]
148,98 unequal: No Solution
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 63*85=5355, Resulting Numbers: [5355]
5355,98 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
35,
48,
70,
66
] | 79 | [
"35+48=83",
"70-66=4",
"83-4=79"
] | Current State: 79:[35, 48, 70, 66], Operations: []
Exploring Operation: 35+48=83, Resulting Numbers: [70, 66, 83]
Generated Node #2: [70, 66, 83] from Operation: 35+48=83
Current State: 79:[70, 66, 83], Operations: ['35+48=83']
Exploring Operation: 70-66=4, Resulting Numbers: [83, 4]
Generated Node #3: [83, 4] from Operation: 70-66=4
Current State: 79:[83, 4], Operations: ['35+48=83', '70-66=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[35, 48, 70, 66], Operations: []
Exploring Operation: 35+48=83, Resulting Numbers: [70, 66, 83]
Generated Node #0,0: 79:[70, 66, 83] Operation: 35+48=83
Exploring Operation: 35+70=105, Resulting Numbers: [48, 66, 105]
Generated Node #0,1: 79:[48, 66, 105] Operation: 35+70=105
Exploring Operation: 35+66=101, Resulting Numbers: [48, 70, 101]
Generated Node #0,2: 79:[48, 70, 101] Operation: 35+66=101
Moving to Node #0,0
Current State: 79:[70, 66, 83], Operations: ['35+48=83']
Exploring Operation: 83-66=17, Resulting Numbers: [70, 17]
Generated Node #0,0,0: 79:[70, 17] Operation: 83-66=17
Exploring Operation: 70-66=4, Resulting Numbers: [83, 4]
Generated Node #0,0,1: 79:[83, 4] Operation: 70-66=4
Exploring Operation: 70+66=136, Resulting Numbers: [83, 136]
Generated Node #0,0,2: 79:[83, 136] Operation: 70+66=136
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[83, 136], Operations: ['35+48=83', '70+66=136']
Exploring Operation: 136-83=53, Resulting Numbers: [53]
53,79 unequal: No Solution
Exploring Operation: 83+136=219, Resulting Numbers: [219]
219,79 unequal: No Solution
Exploring Operation: 83*136=11288, Resulting Numbers: [11288]
11288,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[70, 17], Operations: ['35+48=83', '83-66=17']
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,79 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,79 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[83, 4], Operations: ['35+48=83', '70-66=4']
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,79 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,79 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[35, 48, 70, 66], Operations: []
Exploring Operation: 35+48=83, Resulting Numbers: [70, 66, 83]
Generated Node #0,0: 79:[70, 66, 83] Operation: 35+48=83
Moving to Node #0,0
Current State: 79:[70, 66, 83], Operations: ['35+48=83']
Exploring Operation: 70-66=4, Resulting Numbers: [83, 4]
Generated Node #0,0,1: 79:[83, 4] Operation: 70-66=4
Moving to Node #0,0,1
Current State: 79:[83, 4], Operations: ['35+48=83', '70-66=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
94,
33,
54,
95
] | 86 | [
"94+33=127",
"95-54=41",
"127-41=86"
] | Current State: 86:[94, 33, 54, 95], Operations: []
Exploring Operation: 94+33=127, Resulting Numbers: [54, 95, 127]
Generated Node #2: [54, 95, 127] from Operation: 94+33=127
Current State: 86:[54, 95, 127], Operations: ['94+33=127']
Exploring Operation: 95-54=41, Resulting Numbers: [127, 41]
Generated Node #3: [127, 41] from Operation: 95-54=41
Current State: 86:[127, 41], Operations: ['94+33=127', '95-54=41']
Exploring Operation: 127-41=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[94, 33, 54, 95], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [94, 33, 41]
Generated Node #0,0: 86:[94, 33, 41] Operation: 95-54=41
Exploring Operation: 33+54=87, Resulting Numbers: [94, 95, 87]
Generated Node #0,1: 86:[94, 95, 87] Operation: 33+54=87
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[94, 95, 87], Operations: ['33+54=87']
Exploring Operation: 94-87=7, Resulting Numbers: [95, 7]
Generated Node #0,1,0: 86:[95, 7] Operation: 94-87=7
Exploring Operation: 95-94=1, Resulting Numbers: [87, 1]
Generated Node #0,1,1: 86:[87, 1] Operation: 95-94=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[87, 1], Operations: ['33+54=87', '95-94=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[94, 33, 54, 95], Operations: []
Exploring Operation: 33+54=87, Resulting Numbers: [94, 95, 87]
Generated Node #0,1: 86:[94, 95, 87] Operation: 33+54=87
Moving to Node #0,1
Current State: 86:[94, 95, 87], Operations: ['33+54=87']
Exploring Operation: 95-94=1, Resulting Numbers: [87, 1]
Generated Node #0,1,1: 86:[87, 1] Operation: 95-94=1
Moving to Node #0,1,1
Current State: 86:[87, 1], Operations: ['33+54=87', '95-94=1']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
29,
47,
4,
75
] | 61 | [
"47-29=18",
"4+75=79",
"79-18=61"
] | Current State: 61:[29, 47, 4, 75], Operations: []
Exploring Operation: 47-29=18, Resulting Numbers: [4, 75, 18]
Generated Node #2: [4, 75, 18] from Operation: 47-29=18
Current State: 61:[4, 75, 18], Operations: ['47-29=18']
Exploring Operation: 4+75=79, Resulting Numbers: [18, 79]
Generated Node #3: [18, 79] from Operation: 4+75=79
Current State: 61:[18, 79], Operations: ['47-29=18', '4+75=79']
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[29, 47, 4, 75], Operations: []
Exploring Operation: 75-4=71, Resulting Numbers: [29, 47, 71]
Generated Node #0,0: 61:[29, 47, 71] Operation: 75-4=71
Exploring Operation: 47+4=51, Resulting Numbers: [29, 75, 51]
Generated Node #0,1: 61:[29, 75, 51] Operation: 47+4=51
Exploring Operation: 29+4=33, Resulting Numbers: [47, 75, 33]
Generated Node #0,2: 61:[47, 75, 33] Operation: 29+4=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[29, 47, 71], Operations: ['75-4=71']
Exploring Operation: 47-29=18, Resulting Numbers: [71, 18]
Generated Node #0,0,0: 61:[71, 18] Operation: 47-29=18
Exploring Operation: 29+47=76, Resulting Numbers: [71, 76]
Generated Node #0,0,1: 61:[71, 76] Operation: 29+47=76
Exploring Operation: 71-29=42, Resulting Numbers: [47, 42]
Generated Node #0,0,2: 61:[47, 42] Operation: 71-29=42
Moving to Node #0,0,1
Current State: 61:[71, 76], Operations: ['75-4=71', '29+47=76']
Exploring Operation: 76-71=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 71+76=147, Resulting Numbers: [147]
147,61 unequal: No Solution
Exploring Operation: 71*76=5396, Resulting Numbers: [5396]
5396,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[47, 42], Operations: ['75-4=71', '71-29=42']
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,61 unequal: No Solution
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,61 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[71, 18], Operations: ['75-4=71', '47-29=18']
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,61 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Exploring Operation: 71*18=1278, Resulting Numbers: [1278]
1278,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:[29, 75, 51], Operations: ['47+4=51']
Exploring Operation: 29+75=104, Resulting Numbers: [51, 104]
Generated Node #0,1,0: 61:[51, 104] Operation: 29+75=104
Exploring Operation: 29+51=80, Resulting Numbers: [75, 80]
Generated Node #0,1,1: 61:[75, 80] Operation: 29+51=80
Exploring Operation: 75-29=46, Resulting Numbers: [51, 46]
Generated Node #0,1,2: 61:[51, 46] Operation: 75-29=46
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[51, 46], Operations: ['47+4=51', '75-29=46']
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,61 unequal: No Solution
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 51*46=2346, Resulting Numbers: [2346]
2346,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:[75, 80], Operations: ['47+4=51', '29+51=80']
Exploring Operation: 75+80=155, Resulting Numbers: [155]
155,61 unequal: No Solution
Exploring Operation: 80-75=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 75*80=6000, Resulting Numbers: [6000]
6000,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[51, 104], Operations: ['47+4=51', '29+75=104']
Exploring Operation: 51+104=155, Resulting Numbers: [155]
155,61 unequal: No Solution
Exploring Operation: 104-51=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Exploring Operation: 51*104=5304, Resulting Numbers: [5304]
5304,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[47, 75, 33], Operations: ['29+4=33']
Exploring Operation: 75-47=28, Resulting Numbers: [33, 28]
Generated Node #0,2,0: 61:[33, 28] Operation: 75-47=28
Exploring Operation: 47+33=80, Resulting Numbers: [75, 80]
Generated Node #0,2,1: 61:[75, 80] Operation: 47+33=80
Exploring Operation: 75-33=42, Resulting Numbers: [47, 42]
Generated Node #0,2,2: 61:[47, 42] Operation: 75-33=42
Moving to Node #0,2,1
Current State: 61:[75, 80], Operations: ['29+4=33', '47+33=80']
Exploring Operation: 75+80=155, Resulting Numbers: [155]
155,61 unequal: No Solution
Exploring Operation: 75*80=6000, Resulting Numbers: [6000]
6000,61 unequal: No Solution
Exploring Operation: 80-75=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[47, 42], Operations: ['29+4=33', '75-33=42']
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,61 unequal: No Solution
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[33, 28], Operations: ['29+4=33', '75-47=28']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 33*28=924, Resulting Numbers: [924]
924,61 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[29, 47, 4, 75], Operations: []
Exploring Operation: 29+4=33, Resulting Numbers: [47, 75, 33]
Generated Node #0,2: 61:[47, 75, 33] Operation: 29+4=33
Moving to Node #0,2
Current State: 61:[47, 75, 33], Operations: ['29+4=33']
Exploring Operation: 75-47=28, Resulting Numbers: [33, 28]
Generated Node #0,2,0: 61:[33, 28] Operation: 75-47=28
Moving to Node #0,2,0
Current State: 61:[33, 28], Operations: ['29+4=33', '75-47=28']
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_3 | mult_heuristic |
[
36,
29,
14,
3
] | 93 | [
"36*3=108",
"29-14=15",
"108-15=93"
] | Current State: 93:[36, 29, 14, 3], Operations: []
Exploring Operation: 36*3=108, Resulting Numbers: [29, 14, 108]
Generated Node #2: [29, 14, 108] from Operation: 36*3=108
Current State: 93:[29, 14, 108], Operations: ['36*3=108']
Exploring Operation: 29-14=15, Resulting Numbers: [108, 15]
Generated Node #3: [108, 15] from Operation: 29-14=15
Current State: 93:[108, 15], Operations: ['36*3=108', '29-14=15']
Exploring Operation: 108-15=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[36, 29, 14, 3], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [14, 3, 7]
Generated Node #0,0: 93:[14, 3, 7] Operation: 36-29=7
Exploring Operation: 36-3=33, Resulting Numbers: [29, 14, 33]
Generated Node #0,1: 93:[29, 14, 33] Operation: 36-3=33
Exploring Operation: 36-14=22, Resulting Numbers: [29, 3, 22]
Generated Node #0,2: 93:[29, 3, 22] Operation: 36-14=22
Exploring Operation: 29+14=43, Resulting Numbers: [36, 3, 43]
Generated Node #0,3: 93:[36, 3, 43] Operation: 29+14=43
Exploring Operation: 14-3=11, Resulting Numbers: [36, 29, 11]
Generated Node #0,4: 93:[36, 29, 11] Operation: 14-3=11
Moving to Node #0,2
Current State: 93:[29, 3, 22], Operations: ['36-14=22']
Exploring Operation: 22-3=19, Resulting Numbers: [29, 19]
Generated Node #0,2,0: 93:[29, 19] Operation: 22-3=19
Exploring Operation: 3+22=25, Resulting Numbers: [29, 25]
Generated Node #0,2,1: 93:[29, 25] Operation: 3+22=25
Exploring Operation: 29-22=7, Resulting Numbers: [3, 7]
Generated Node #0,2,2: 93:[3, 7] Operation: 29-22=7
Exploring Operation: 29+3=32, Resulting Numbers: [22, 32]
Generated Node #0,2,3: 93:[22, 32] Operation: 29+3=32
Exploring Operation: 29-3=26, Resulting Numbers: [22, 26]
Generated Node #0,2,4: 93:[22, 26] Operation: 29-3=26
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[3, 7], Operations: ['36-14=22', '29-22=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,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,1
Current State: 93:[29, 25], Operations: ['36-14=22', '3+22=25']
Exploring Operation: 29*25=725, Resulting Numbers: [725]
725,93 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,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,3
Current State: 93:[22, 32], Operations: ['36-14=22', '29+3=32']
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,93 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,93 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[29, 19], Operations: ['36-14=22', '22-3=19']
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,93 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 93:[22, 26], Operations: ['36-14=22', '29-3=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 93:[29, 14, 33], Operations: ['36-3=33']
Exploring Operation: 14+33=47, Resulting Numbers: [29, 47]
Generated Node #0,1,0: 93:[29, 47] Operation: 14+33=47
Exploring Operation: 29+14=43, Resulting Numbers: [33, 43]
Generated Node #0,1,1: 93:[33, 43] Operation: 29+14=43
Exploring Operation: 33-29=4, Resulting Numbers: [14, 4]
Generated Node #0,1,2: 93:[14, 4] Operation: 33-29=4
Exploring Operation: 33-14=19, Resulting Numbers: [29, 19]
Generated Node #0,1,3: 93:[29, 19] Operation: 33-14=19
Exploring Operation: 29-14=15, Resulting Numbers: [33, 15]
Generated Node #0,1,4: 93:[33, 15] Operation: 29-14=15
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[14, 4], Operations: ['36-3=33', '33-29=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,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,1
Current State: 93:[33, 43], Operations: ['36-3=33', '29+14=43']
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,93 unequal: No Solution
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[29, 19], Operations: ['36-3=33', '33-14=19']
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,93 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 93:[33, 15], Operations: ['36-3=33', '29-14=15']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,93 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,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,0
Current State: 93:[29, 47], Operations: ['36-3=33', '14+33=47']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,93 unequal: No Solution
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,93 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: 93:[14, 3, 7], Operations: ['36-29=7']
Exploring Operation: 14*7=98, Resulting Numbers: [3, 98]
Generated Node #0,0,0: 93:[3, 98] Operation: 14*7=98
Exploring Operation: 14+7=21, Resulting Numbers: [3, 21]
Generated Node #0,0,1: 93:[3, 21] Operation: 14+7=21
Exploring Operation: 14-7=7, Resulting Numbers: [3, 7]
Generated Node #0,0,2: 93:[3, 7] Operation: 14-7=7
Exploring Operation: 14-3=11, Resulting Numbers: [7, 11]
Generated Node #0,0,3: 93:[7, 11] Operation: 14-3=11
Exploring Operation: 14/7=2, Resulting Numbers: [3, 2]
Generated Node #0,0,4: 93:[3, 2] Operation: 14/7=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 93:[3, 2], Operations: ['36-29=7', '14/7=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,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,0,2
Current State: 93:[3, 7], Operations: ['36-29=7', '14-7=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,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,0,0
Current State: 93:[3, 98], Operations: ['36-29=7', '14*7=98']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 3*98=294, Resulting Numbers: [294]
294,93 unequal: No Solution
Exploring Operation: 3+98=101, Resulting Numbers: [101]
101,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,0,1
Current State: 93:[3, 21], Operations: ['36-29=7', '14+7=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,93 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,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,0,3
Current State: 93:[7, 11], Operations: ['36-29=7', '14-3=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,93 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: 93:[36, 29, 11], Operations: ['14-3=11']
Exploring Operation: 29-11=18, Resulting Numbers: [36, 18]
Generated Node #0,4,0: 93:[36, 18] Operation: 29-11=18
Exploring Operation: 36-29=7, Resulting Numbers: [11, 7]
Generated Node #0,4,1: 93:[11, 7] Operation: 36-29=7
Exploring Operation: 29+11=40, Resulting Numbers: [36, 40]
Generated Node #0,4,2: 93:[36, 40] Operation: 29+11=40
Exploring Operation: 36-11=25, Resulting Numbers: [29, 25]
Generated Node #0,4,3: 93:[29, 25] Operation: 36-11=25
Exploring Operation: 36+11=47, Resulting Numbers: [29, 47]
Generated Node #0,4,4: 93:[29, 47] Operation: 36+11=47
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 93:[29, 25], Operations: ['14-3=11', '36-11=25']
Exploring Operation: 29*25=725, Resulting Numbers: [725]
725,93 unequal: No Solution
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,93 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 93:[11, 7], Operations: ['14-3=11', '36-29=7']
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 93:[36, 40], Operations: ['14-3=11', '29+11=40']
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,93 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 93:[36, 18], Operations: ['14-3=11', '29-11=18']
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,93 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 93:[29, 47], Operations: ['14-3=11', '36+11=47']
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,93 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,93 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: 93:[36, 3, 43], Operations: ['29+14=43']
Exploring Operation: 43-36=7, Resulting Numbers: [3, 7]
Generated Node #0,3,0: 93:[3, 7] Operation: 43-36=7
Exploring Operation: 43-3=40, Resulting Numbers: [36, 40]
Generated Node #0,3,1: 93:[36, 40] Operation: 43-3=40
Exploring Operation: 36+3=39, Resulting Numbers: [43, 39]
Generated Node #0,3,2: 93:[43, 39] Operation: 36+3=39
Exploring Operation: 36+43=79, Resulting Numbers: [3, 79]
Generated Node #0,3,3: 93:[3, 79] Operation: 36+43=79
Exploring Operation: 36-3=33, Resulting Numbers: [43, 33]
Generated Node #0,3,4: 93:[43, 33] Operation: 36-3=33
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[3, 7], Operations: ['29+14=43', '43-36=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,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,1
Current State: 93:[36, 40], Operations: ['29+14=43', '43-3=40']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,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:[3, 79], Operations: ['29+14=43', '36+43=79']
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,93 unequal: No Solution
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,93 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,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:[43, 33], Operations: ['29+14=43', '36-3=33']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Exploring Operation: 43*33=1419, Resulting Numbers: [1419]
1419,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:[43, 39], Operations: ['29+14=43', '36+3=39']
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,93 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,93 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
88,
37,
24,
6
] | 47 | [
"88-37=51",
"24/6=4",
"51-4=47"
] | Current State: 47:[88, 37, 24, 6], Operations: []
Exploring Operation: 88-37=51, Resulting Numbers: [24, 6, 51]
Generated Node #2: [24, 6, 51] from Operation: 88-37=51
Current State: 47:[24, 6, 51], Operations: ['88-37=51']
Exploring Operation: 24/6=4, Resulting Numbers: [51, 4]
Generated Node #3: [51, 4] from Operation: 24/6=4
Current State: 47:[51, 4], Operations: ['88-37=51', '24/6=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[88, 37, 24, 6], Operations: []
Exploring Operation: 88-37=51, Resulting Numbers: [24, 6, 51]
Generated Node #0,0: 47:[24, 6, 51] Operation: 88-37=51
Exploring Operation: 88-24=64, Resulting Numbers: [37, 6, 64]
Generated Node #0,1: 47:[37, 6, 64] Operation: 88-24=64
Moving to Node #0,0
Current State: 47:[24, 6, 51], Operations: ['88-37=51']
Exploring Operation: 24+6=30, Resulting Numbers: [51, 30]
Generated Node #0,0,0: 47:[51, 30] Operation: 24+6=30
Exploring Operation: 51-6=45, Resulting Numbers: [24, 45]
Generated Node #0,0,1: 47:[24, 45] Operation: 51-6=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[51, 30], Operations: ['88-37=51', '24+6=30']
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[24, 45], Operations: ['88-37=51', '51-6=45']
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,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:[37, 6, 64], Operations: ['88-24=64']
Exploring Operation: 37+6=43, Resulting Numbers: [64, 43]
Generated Node #0,1,0: 47:[64, 43] Operation: 37+6=43
Exploring Operation: 64-6=58, Resulting Numbers: [37, 58]
Generated Node #0,1,1: 47:[37, 58] Operation: 64-6=58
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[64, 43], Operations: ['88-24=64', '37+6=43']
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 64+43=107, Resulting Numbers: [107]
107,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, 58], Operations: ['88-24=64', '64-6=58']
Exploring Operation: 37+58=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
41,
29,
87
] | 82 | [
"41-7=34",
"29+87=116",
"116-34=82"
] | Current State: 82:[7, 41, 29, 87], Operations: []
Exploring Operation: 41-7=34, Resulting Numbers: [29, 87, 34]
Generated Node #2: [29, 87, 34] from Operation: 41-7=34
Current State: 82:[29, 87, 34], Operations: ['41-7=34']
Exploring Operation: 29+87=116, Resulting Numbers: [34, 116]
Generated Node #3: [34, 116] from Operation: 29+87=116
Current State: 82:[34, 116], Operations: ['41-7=34', '29+87=116']
Exploring Operation: 116-34=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[7, 41, 29, 87], Operations: []
Exploring Operation: 87-7=80, Resulting Numbers: [41, 29, 80]
Generated Node #0,0: 82:[41, 29, 80] Operation: 87-7=80
Exploring Operation: 7+29=36, Resulting Numbers: [41, 87, 36]
Generated Node #0,1: 82:[41, 87, 36] Operation: 7+29=36
Exploring Operation: 87/29=3, Resulting Numbers: [7, 41, 3]
Generated Node #0,2: 82:[7, 41, 3] Operation: 87/29=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[7, 41, 3], Operations: ['87/29=3']
Exploring Operation: 7-3=4, Resulting Numbers: [41, 4]
Generated Node #0,2,0: 82:[41, 4] Operation: 7-3=4
Exploring Operation: 41-7=34, Resulting Numbers: [3, 34]
Generated Node #0,2,1: 82:[3, 34] Operation: 41-7=34
Exploring Operation: 7+41=48, Resulting Numbers: [3, 48]
Generated Node #0,2,2: 82:[3, 48] Operation: 7+41=48
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[41, 4], Operations: ['87/29=3', '7-3=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,82 unequal: No Solution
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[3, 34], Operations: ['87/29=3', '41-7=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[3, 48], Operations: ['87/29=3', '7+41=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[41, 87, 36], Operations: ['7+29=36']
Exploring Operation: 87-41=46, Resulting Numbers: [36, 46]
Generated Node #0,1,0: 82:[36, 46] Operation: 87-41=46
Exploring Operation: 41+36=77, Resulting Numbers: [87, 77]
Generated Node #0,1,1: 82:[87, 77] Operation: 41+36=77
Exploring Operation: 41-36=5, Resulting Numbers: [87, 5]
Generated Node #0,1,2: 82:[87, 5] Operation: 41-36=5
Moving to Node #0,1,2
Current State: 82:[87, 5], Operations: ['7+29=36', '41-36=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[7, 41, 29, 87], Operations: []
Exploring Operation: 7+29=36, Resulting Numbers: [41, 87, 36]
Generated Node #0,1: 82:[41, 87, 36] Operation: 7+29=36
Moving to Node #0,1
Current State: 82:[41, 87, 36], Operations: ['7+29=36']
Exploring Operation: 41-36=5, Resulting Numbers: [87, 5]
Generated Node #0,1,2: 82:[87, 5] Operation: 41-36=5
Moving to Node #0,1,2
Current State: 82:[87, 5], Operations: ['7+29=36', '41-36=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
86,
20,
16,
70
] | 20 | [
"86+20=106",
"16+70=86",
"106-86=20"
] | Current State: 20:[86, 20, 16, 70], Operations: []
Exploring Operation: 86+20=106, Resulting Numbers: [16, 70, 106]
Generated Node #2: [16, 70, 106] from Operation: 86+20=106
Current State: 20:[16, 70, 106], Operations: ['86+20=106']
Exploring Operation: 16+70=86, Resulting Numbers: [106, 86]
Generated Node #3: [106, 86] from Operation: 16+70=86
Current State: 20:[106, 86], Operations: ['86+20=106', '16+70=86']
Exploring Operation: 106-86=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[86, 20, 16, 70], Operations: []
Exploring Operation: 86-16=70, Resulting Numbers: [20, 70, 70]
Generated Node #0,0: 20:[20, 70, 70] Operation: 86-16=70
Exploring Operation: 86-70=16, Resulting Numbers: [20, 16, 16]
Generated Node #0,1: 20:[20, 16, 16] Operation: 86-70=16
Exploring Operation: 70-16=54, Resulting Numbers: [86, 20, 54]
Generated Node #0,2: 20:[86, 20, 54] Operation: 70-16=54
Exploring Operation: 70-20=50, Resulting Numbers: [86, 16, 50]
Generated Node #0,3: 20:[86, 16, 50] Operation: 70-20=50
Exploring Operation: 86-20=66, Resulting Numbers: [16, 70, 66]
Generated Node #0,4: 20:[16, 70, 66] Operation: 86-20=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[20, 16, 16], Operations: ['86-70=16']
Exploring Operation: 16+16=32, Resulting Numbers: [20, 32]
Generated Node #0,1,0: 20:[20, 32] Operation: 16+16=32
Exploring Operation: 16/16=1, Resulting Numbers: [20, 1]
Generated Node #0,1,1: 20:[20, 1] Operation: 16/16=1
Exploring Operation: 20-16=4, Resulting Numbers: [16, 4]
Generated Node #0,1,2: 20:[16, 4] Operation: 20-16=4
Exploring Operation: 16-16=0, Resulting Numbers: [20, 0]
Generated Node #0,1,3: 20:[20, 0] Operation: 16-16=0
Exploring Operation: 20-16=4, Resulting Numbers: [16, 4]
Generated Node #0,1,4: 20:[16, 4] Operation: 20-16=4
Moving to Node #0,1,1
Current State: 20:[20, 1], Operations: ['86-70=16', '16/16=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[86, 20, 16, 70], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [20, 16, 16]
Generated Node #0,1: 20:[20, 16, 16] Operation: 86-70=16
Moving to Node #0,1
Current State: 20:[20, 16, 16], Operations: ['86-70=16']
Exploring Operation: 16/16=1, Resulting Numbers: [20, 1]
Generated Node #0,1,1: 20:[20, 1] Operation: 16/16=1
Moving to Node #0,1,1
Current State: 20:[20, 1], Operations: ['86-70=16', '16/16=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
4,
90,
20,
32
] | 88 | [
"20-4=16",
"32/16=2",
"90-2=88"
] | Current State: 88:[4, 90, 20, 32], Operations: []
Exploring Operation: 20-4=16, Resulting Numbers: [90, 32, 16]
Generated Node #2: [90, 32, 16] from Operation: 20-4=16
Current State: 88:[90, 32, 16], Operations: ['20-4=16']
Exploring Operation: 32/16=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 32/16=2
Current State: 88:[90, 2], Operations: ['20-4=16', '32/16=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[4, 90, 20, 32], Operations: []
Exploring Operation: 32-20=12, Resulting Numbers: [4, 90, 12]
Generated Node #0,0: 88:[4, 90, 12] Operation: 32-20=12
Exploring Operation: 32-4=28, Resulting Numbers: [90, 20, 28]
Generated Node #0,1: 88:[90, 20, 28] Operation: 32-4=28
Exploring Operation: 20+32=52, Resulting Numbers: [4, 90, 52]
Generated Node #0,2: 88:[4, 90, 52] Operation: 20+32=52
Exploring Operation: 32/4=8, Resulting Numbers: [90, 20, 8]
Generated Node #0,3: 88:[90, 20, 8] Operation: 32/4=8
Exploring Operation: 4+32=36, Resulting Numbers: [90, 20, 36]
Generated Node #0,4: 88:[90, 20, 36] Operation: 4+32=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[4, 90, 12], Operations: ['32-20=12']
Exploring Operation: 4*12=48, Resulting Numbers: [90, 48]
Generated Node #0,0,0: 88:[90, 48] Operation: 4*12=48
Exploring Operation: 4+90=94, Resulting Numbers: [12, 94]
Generated Node #0,0,1: 88:[12, 94] Operation: 4+90=94
Exploring Operation: 12/4=3, Resulting Numbers: [90, 3]
Generated Node #0,0,2: 88:[90, 3] Operation: 12/4=3
Exploring Operation: 90-4=86, Resulting Numbers: [12, 86]
Generated Node #0,0,3: 88:[12, 86] Operation: 90-4=86
Exploring Operation: 12-4=8, Resulting Numbers: [90, 8]
Generated Node #0,0,4: 88:[90, 8] Operation: 12-4=8
Moving to Node #0,0,4
Current State: 88:[90, 8], Operations: ['32-20=12', '12-4=8']
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 90*8=720, Resulting Numbers: [720]
720,88 unequal: No Solution
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[12, 86], Operations: ['32-20=12', '90-4=86']
Exploring Operation: 12*86=1032, Resulting Numbers: [1032]
1032,88 unequal: No Solution
Exploring Operation: 12+86=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[90, 3], Operations: ['32-20=12', '12/4=3']
Exploring Operation: 90*3=270, Resulting Numbers: [270]
270,88 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[90, 48], Operations: ['32-20=12', '4*12=48']
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 90+48=138, Resulting Numbers: [138]
138,88 unequal: No Solution
Exploring Operation: 90*48=4320, Resulting Numbers: [4320]
4320,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[12, 94], Operations: ['32-20=12', '4+90=94']
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 12*94=1128, Resulting Numbers: [1128]
1128,88 unequal: No Solution
Exploring Operation: 12+94=106, Resulting Numbers: [106]
106,88 unequal: No Solution
No 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: 88:[90, 20, 8], Operations: ['32/4=8']
Exploring Operation: 90+8=98, Resulting Numbers: [20, 98]
Generated Node #0,3,0: 88:[20, 98] Operation: 90+8=98
Exploring Operation: 90-8=82, Resulting Numbers: [20, 82]
Generated Node #0,3,1: 88:[20, 82] Operation: 90-8=82
Exploring Operation: 20-8=12, Resulting Numbers: [90, 12]
Generated Node #0,3,2: 88:[90, 12] Operation: 20-8=12
Exploring Operation: 20+8=28, Resulting Numbers: [90, 28]
Generated Node #0,3,3: 88:[90, 28] Operation: 20+8=28
Exploring Operation: 90-20=70, Resulting Numbers: [8, 70]
Generated Node #0,3,4: 88:[8, 70] Operation: 90-20=70
Moving to Node #0,3,2
Current State: 88:[90, 12], Operations: ['32/4=8', '20-8=12']
Exploring Operation: 90+12=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,88 unequal: No Solution
Exploring Operation: 90*12=1080, Resulting Numbers: [1080]
1080,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[90, 28], Operations: ['32/4=8', '20+8=28']
Exploring Operation: 90+28=118, Resulting Numbers: [118]
118,88 unequal: No Solution
Exploring Operation: 90-28=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 90*28=2520, Resulting Numbers: [2520]
2520,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[20, 82], Operations: ['32/4=8', '90-8=82']
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 20*82=1640, Resulting Numbers: [1640]
1640,88 unequal: No Solution
Exploring Operation: 20+82=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[20, 98], Operations: ['32/4=8', '90+8=98']
Exploring Operation: 20+98=118, Resulting Numbers: [118]
118,88 unequal: No Solution
Exploring Operation: 98-20=78, Resulting Numbers: [78]
78,88 unequal: No Solution
Exploring Operation: 20*98=1960, Resulting Numbers: [1960]
1960,88 unequal: No Solution
Moving to Node #0,3,4
Current State: 88:[8, 70], Operations: ['32/4=8', '90-20=70']
Exploring Operation: 8*70=560, Resulting Numbers: [560]
560,88 unequal: No Solution
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 8+70=78, Resulting Numbers: [78]
78,88 unequal: No Solution
No 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: 88:[90, 20, 28], Operations: ['32-4=28']
Exploring Operation: 90-28=62, Resulting Numbers: [20, 62]
Generated Node #0,1,0: 88:[20, 62] Operation: 90-28=62
Exploring Operation: 28-20=8, Resulting Numbers: [90, 8]
Generated Node #0,1,1: 88:[90, 8] Operation: 28-20=8
Exploring Operation: 90+20=110, Resulting Numbers: [28, 110]
Generated Node #0,1,2: 88:[28, 110] Operation: 90+20=110
Exploring Operation: 90-20=70, Resulting Numbers: [28, 70]
Generated Node #0,1,3: 88:[28, 70] Operation: 90-20=70
Exploring Operation: 20+28=48, Resulting Numbers: [90, 48]
Generated Node #0,1,4: 88:[90, 48] Operation: 20+28=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[90, 8], Operations: ['32-4=28', '28-20=8']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 90*8=720, Resulting Numbers: [720]
720,88 unequal: No Solution
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,88 unequal: No Solution
No 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: 88:[90, 48], Operations: ['32-4=28', '20+28=48']
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 90+48=138, Resulting Numbers: [138]
138,88 unequal: No Solution
Exploring Operation: 90*48=4320, Resulting Numbers: [4320]
4320,88 unequal: No Solution
No 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: 88:[20, 62], Operations: ['32-4=28', '90-28=62']
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 20*62=1240, Resulting Numbers: [1240]
1240,88 unequal: No Solution
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,88 unequal: No Solution
No 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: 88:[28, 70], Operations: ['32-4=28', '90-20=70']
Exploring Operation: 28+70=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 28*70=1960, Resulting Numbers: [1960]
1960,88 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,88 unequal: No Solution
No 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: 88:[28, 110], Operations: ['32-4=28', '90+20=110']
Exploring Operation: 110-28=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 28+110=138, Resulting Numbers: [138]
138,88 unequal: No Solution
Exploring Operation: 28*110=3080, Resulting Numbers: [3080]
3080,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[4, 90, 52], Operations: ['20+32=52']
Exploring Operation: 52-4=48, Resulting Numbers: [90, 48]
Generated Node #0,2,0: 88:[90, 48] Operation: 52-4=48
Exploring Operation: 52/4=13, Resulting Numbers: [90, 13]
Generated Node #0,2,1: 88:[90, 13] Operation: 52/4=13
Exploring Operation: 4+90=94, Resulting Numbers: [52, 94]
Generated Node #0,2,2: 88:[52, 94] Operation: 4+90=94
Exploring Operation: 90-4=86, Resulting Numbers: [52, 86]
Generated Node #0,2,3: 88:[52, 86] Operation: 90-4=86
Exploring Operation: 90-52=38, Resulting Numbers: [4, 38]
Generated Node #0,2,4: 88:[4, 38] Operation: 90-52=38
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[90, 13], Operations: ['20+32=52', '52/4=13']
Exploring Operation: 90*13=1170, Resulting Numbers: [1170]
1170,88 unequal: No Solution
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Exploring Operation: 90+13=103, Resulting Numbers: [103]
103,88 unequal: No Solution
No 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: 88:[90, 48], Operations: ['20+32=52', '52-4=48']
Exploring Operation: 90*48=4320, Resulting Numbers: [4320]
4320,88 unequal: No Solution
Exploring Operation: 90+48=138, Resulting Numbers: [138]
138,88 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,88 unequal: No Solution
No 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: 88:[4, 38], Operations: ['20+32=52', '90-52=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,88 unequal: No Solution
No 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: 88:[52, 86], Operations: ['20+32=52', '90-4=86']
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 52+86=138, Resulting Numbers: [138]
138,88 unequal: No Solution
Exploring Operation: 52*86=4472, Resulting Numbers: [4472]
4472,88 unequal: No Solution
No 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: 88:[52, 94], Operations: ['20+32=52', '4+90=94']
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 52*94=4888, Resulting Numbers: [4888]
4888,88 unequal: No Solution
Exploring Operation: 52+94=146, Resulting Numbers: [146]
146,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 88:[90, 20, 36], Operations: ['4+32=36']
Exploring Operation: 36-20=16, Resulting Numbers: [90, 16]
Generated Node #0,4,0: 88:[90, 16] Operation: 36-20=16
Exploring Operation: 90-36=54, Resulting Numbers: [20, 54]
Generated Node #0,4,1: 88:[20, 54] Operation: 90-36=54
Exploring Operation: 20+36=56, Resulting Numbers: [90, 56]
Generated Node #0,4,2: 88:[90, 56] Operation: 20+36=56
Exploring Operation: 90+20=110, Resulting Numbers: [36, 110]
Generated Node #0,4,3: 88:[36, 110] Operation: 90+20=110
Exploring Operation: 90-20=70, Resulting Numbers: [36, 70]
Generated Node #0,4,4: 88:[36, 70] Operation: 90-20=70
Moving to Node #0,4,0
Current State: 88:[90, 16], Operations: ['4+32=36', '36-20=16']
Exploring Operation: 90+16=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Exploring Operation: 90*16=1440, Resulting Numbers: [1440]
1440,88 unequal: No Solution
Moving to Node #0,4,1
Current State: 88:[20, 54], Operations: ['4+32=36', '90-36=54']
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 20*54=1080, Resulting Numbers: [1080]
1080,88 unequal: No Solution
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Moving to Node #0,4,2
Current State: 88:[90, 56], Operations: ['4+32=36', '20+36=56']
Exploring Operation: 90+56=146, Resulting Numbers: [146]
146,88 unequal: No Solution
Exploring Operation: 90*56=5040, Resulting Numbers: [5040]
5040,88 unequal: No Solution
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Moving to Node #0,4,4
Current State: 88:[36, 70], Operations: ['4+32=36', '90-20=70']
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 36+70=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 36*70=2520, Resulting Numbers: [2520]
2520,88 unequal: No Solution
Moving to Node #0,4,3
Current State: 88:[36, 110], Operations: ['4+32=36', '90+20=110']
Exploring Operation: 36+110=146, Resulting Numbers: [146]
146,88 unequal: No Solution
Exploring Operation: 110-36=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Exploring Operation: 36*110=3960, Resulting Numbers: [3960]
3960,88 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 |
[
9,
48,
19,
99
] | 23 | [
"9+48=57",
"99-19=80",
"80-57=23"
] | Current State: 23:[9, 48, 19, 99], Operations: []
Exploring Operation: 9+48=57, Resulting Numbers: [19, 99, 57]
Generated Node #2: [19, 99, 57] from Operation: 9+48=57
Current State: 23:[19, 99, 57], Operations: ['9+48=57']
Exploring Operation: 99-19=80, Resulting Numbers: [57, 80]
Generated Node #3: [57, 80] from Operation: 99-19=80
Current State: 23:[57, 80], Operations: ['9+48=57', '99-19=80']
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[9, 48, 19, 99], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [48, 19, 11]
Generated Node #0,0: 23:[48, 19, 11] Operation: 99/9=11
Moving to Node #0,0
Current State: 23:[48, 19, 11], Operations: ['99/9=11']
Exploring Operation: 48-19=29, Resulting Numbers: [11, 29]
Generated Node #0,0,0: 23:[11, 29] Operation: 48-19=29
Moving to Node #0,0,0
Current State: 23:[11, 29], Operations: ['99/9=11', '48-19=29']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,23 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
44,
39,
38,
18
] | 61 | [
"44-39=5",
"38+18=56",
"5+56=61"
] | Current State: 61:[44, 39, 38, 18], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [38, 18, 5]
Generated Node #2: [38, 18, 5] from Operation: 44-39=5
Current State: 61:[38, 18, 5], Operations: ['44-39=5']
Exploring Operation: 38+18=56, Resulting Numbers: [5, 56]
Generated Node #3: [5, 56] from Operation: 38+18=56
Current State: 61:[5, 56], Operations: ['44-39=5', '38+18=56']
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[44, 39, 38, 18], Operations: []
Exploring Operation: 39+18=57, Resulting Numbers: [44, 38, 57]
Generated Node #0,0: 61:[44, 38, 57] Operation: 39+18=57
Moving to Node #0,0
Current State: 61:[44, 38, 57], Operations: ['39+18=57']
Exploring Operation: 44+38=82, Resulting Numbers: [57, 82]
Generated Node #0,0,0: 61:[57, 82] Operation: 44+38=82
Moving to Node #0,0,0
Current State: 61:[57, 82], Operations: ['39+18=57', '44+38=82']
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,61 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
48,
4,
20,
93
] | 90 | [
"20-4=16",
"48/16=3",
"93-3=90"
] | Current State: 90:[48, 4, 20, 93], Operations: []
Exploring Operation: 20-4=16, Resulting Numbers: [48, 93, 16]
Generated Node #2: [48, 93, 16] from Operation: 20-4=16
Current State: 90:[48, 93, 16], Operations: ['20-4=16']
Exploring Operation: 48/16=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 48/16=3
Current State: 90:[93, 3], Operations: ['20-4=16', '48/16=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[48, 4, 20, 93], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [4, 20, 45]
Generated Node #0,0: 90:[4, 20, 45] Operation: 93-48=45
Exploring Operation: 48-20=28, Resulting Numbers: [4, 93, 28]
Generated Node #0,1: 90:[4, 93, 28] Operation: 48-20=28
Exploring Operation: 48-4=44, Resulting Numbers: [20, 93, 44]
Generated Node #0,2: 90:[20, 93, 44] Operation: 48-4=44
Exploring Operation: 20/4=5, Resulting Numbers: [48, 93, 5]
Generated Node #0,3: 90:[48, 93, 5] Operation: 20/4=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[4, 20, 45], Operations: ['93-48=45']
Exploring Operation: 20/4=5, Resulting Numbers: [45, 5]
Generated Node #0,0,0: 90:[45, 5] Operation: 20/4=5
Exploring Operation: 4+20=24, Resulting Numbers: [45, 24]
Generated Node #0,0,1: 90:[45, 24] Operation: 4+20=24
Exploring Operation: 20-4=16, Resulting Numbers: [45, 16]
Generated Node #0,0,2: 90:[45, 16] Operation: 20-4=16
Exploring Operation: 4+45=49, Resulting Numbers: [20, 49]
Generated Node #0,0,3: 90:[20, 49] Operation: 4+45=49
Moving to Node #0,0,0
Current State: 90:[45, 5], Operations: ['93-48=45', '20/4=5']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,90 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,90 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[45, 16], Operations: ['93-48=45', '20-4=16']
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,90 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[20, 49], Operations: ['93-48=45', '4+45=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 20*49=980, Resulting Numbers: [980]
980,90 unequal: No Solution
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[45, 24], Operations: ['93-48=45', '4+20=24']
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,90 unequal: No Solution
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[4, 93, 28], Operations: ['48-20=28']
Exploring Operation: 93-4=89, Resulting Numbers: [28, 89]
Generated Node #0,1,0: 90:[28, 89] Operation: 93-4=89
Exploring Operation: 4+93=97, Resulting Numbers: [28, 97]
Generated Node #0,1,1: 90:[28, 97] Operation: 4+93=97
Exploring Operation: 4+28=32, Resulting Numbers: [93, 32]
Generated Node #0,1,2: 90:[93, 32] Operation: 4+28=32
Exploring Operation: 28/4=7, Resulting Numbers: [93, 7]
Generated Node #0,1,3: 90:[93, 7] Operation: 28/4=7
Moving to Node #0,1,0
Current State: 90:[28, 89], Operations: ['48-20=28', '93-4=89']
Exploring Operation: 28+89=117, Resulting Numbers: [117]
117,90 unequal: No Solution
Exploring Operation: 28*89=2492, Resulting Numbers: [2492]
2492,90 unequal: No Solution
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[93, 7], Operations: ['48-20=28', '28/4=7']
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,90 unequal: No Solution
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,90 unequal: No Solution
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[93, 32], Operations: ['48-20=28', '4+28=32']
Exploring Operation: 93+32=125, Resulting Numbers: [125]
125,90 unequal: No Solution
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,90 unequal: No Solution
Exploring Operation: 93*32=2976, Resulting Numbers: [2976]
2976,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[28, 97], Operations: ['48-20=28', '4+93=97']
Exploring Operation: 28+97=125, Resulting Numbers: [125]
125,90 unequal: No Solution
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 28*97=2716, Resulting Numbers: [2716]
2716,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[20, 93, 44], Operations: ['48-4=44']
Exploring Operation: 93-44=49, Resulting Numbers: [20, 49]
Generated Node #0,2,0: 90:[20, 49] Operation: 93-44=49
Exploring Operation: 93-20=73, Resulting Numbers: [44, 73]
Generated Node #0,2,1: 90:[44, 73] Operation: 93-20=73
Exploring Operation: 44-20=24, Resulting Numbers: [93, 24]
Generated Node #0,2,2: 90:[93, 24] Operation: 44-20=24
Exploring Operation: 20+44=64, Resulting Numbers: [93, 64]
Generated Node #0,2,3: 90:[93, 64] Operation: 20+44=64
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[20, 49], Operations: ['48-4=44', '93-44=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 20*49=980, Resulting Numbers: [980]
980,90 unequal: No Solution
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[93, 24], Operations: ['48-4=44', '44-20=24']
Exploring Operation: 93*24=2232, Resulting Numbers: [2232]
2232,90 unequal: No Solution
Exploring Operation: 93+24=117, Resulting Numbers: [117]
117,90 unequal: No Solution
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[44, 73], Operations: ['48-4=44', '93-20=73']
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 44+73=117, Resulting Numbers: [117]
117,90 unequal: No Solution
Exploring Operation: 44*73=3212, Resulting Numbers: [3212]
3212,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 90:[93, 64], Operations: ['48-4=44', '20+44=64']
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,90 unequal: No Solution
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[48, 93, 5], Operations: ['20/4=5']
Exploring Operation: 93-48=45, Resulting Numbers: [5, 45]
Generated Node #0,3,0: 90:[5, 45] Operation: 93-48=45
Exploring Operation: 48-5=43, Resulting Numbers: [93, 43]
Generated Node #0,3,1: 90:[93, 43] Operation: 48-5=43
Exploring Operation: 93-5=88, Resulting Numbers: [48, 88]
Generated Node #0,3,2: 90:[48, 88] Operation: 93-5=88
Exploring Operation: 48+5=53, Resulting Numbers: [93, 53]
Generated Node #0,3,3: 90:[93, 53] Operation: 48+5=53
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 90:[5, 45], Operations: ['20/4=5', '93-48=45']
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 5*45=225, Resulting Numbers: [225]
225,90 unequal: No Solution
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[93, 43], Operations: ['20/4=5', '48-5=43']
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,90 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,90 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 90:[48, 88], Operations: ['20/4=5', '93-5=88']
Exploring Operation: 48+88=136, Resulting Numbers: [136]
136,90 unequal: No Solution
Exploring Operation: 48*88=4224, Resulting Numbers: [4224]
4224,90 unequal: No Solution
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[93, 53], Operations: ['20/4=5', '48+5=53']
Exploring Operation: 93+53=146, Resulting Numbers: [146]
146,90 unequal: No Solution
Exploring Operation: 93-53=40, Resulting Numbers: [40]
40,90 unequal: No Solution
Exploring Operation: 93*53=4929, Resulting Numbers: [4929]
4929,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
25,
50,
2,
11
] | 66 | [
"25+50=75",
"11-2=9",
"75-9=66"
] | Current State: 66:[25, 50, 2, 11], Operations: []
Exploring Operation: 25+50=75, Resulting Numbers: [2, 11, 75]
Generated Node #2: [2, 11, 75] from Operation: 25+50=75
Current State: 66:[2, 11, 75], Operations: ['25+50=75']
Exploring Operation: 11-2=9, Resulting Numbers: [75, 9]
Generated Node #3: [75, 9] from Operation: 11-2=9
Current State: 66:[75, 9], Operations: ['25+50=75', '11-2=9']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[25, 50, 2, 11], Operations: []
Exploring Operation: 50-25=25, Resulting Numbers: [2, 11, 25]
Generated Node #0,0: 66:[2, 11, 25] Operation: 50-25=25
Exploring Operation: 50/2=25, Resulting Numbers: [25, 11, 25]
Generated Node #0,1: 66:[25, 11, 25] Operation: 50/2=25
Exploring Operation: 50/25=2, Resulting Numbers: [2, 11, 2]
Generated Node #0,2: 66:[2, 11, 2] Operation: 50/25=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[2, 11, 2], Operations: ['50/25=2']
Exploring Operation: 2*11=22, Resulting Numbers: [2, 22]
Generated Node #0,2,0: 66:[2, 22] Operation: 2*11=22
Exploring Operation: 2+2=4, Resulting Numbers: [11, 4]
Generated Node #0,2,1: 66:[11, 4] Operation: 2+2=4
Exploring Operation: 11*2=22, Resulting Numbers: [2, 22]
Generated Node #0,2,2: 66:[2, 22] Operation: 11*2=22
Moving to Node #0,2,0
Current State: 66:[2, 22], Operations: ['50/25=2', '2*11=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[2, 22], Operations: ['50/25=2', '11*2=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[11, 4], Operations: ['50/25=2', '2+2=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[2, 11, 25], Operations: ['50-25=25']
Exploring Operation: 25-2=23, Resulting Numbers: [11, 23]
Generated Node #0,0,0: 66:[11, 23] Operation: 25-2=23
Exploring Operation: 11+25=36, Resulting Numbers: [2, 36]
Generated Node #0,0,1: 66:[2, 36] Operation: 11+25=36
Exploring Operation: 2*11=22, Resulting Numbers: [25, 22]
Generated Node #0,0,2: 66:[25, 22] Operation: 2*11=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[11, 23], Operations: ['50-25=25', '25-2=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[2, 36], Operations: ['50-25=25', '11+25=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[25, 22], Operations: ['50-25=25', '2*11=22']
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 25*22=550, Resulting Numbers: [550]
550,66 unequal: No Solution
Exploring Operation: 25+22=47, Resulting Numbers: [47]
47,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[25, 11, 25], Operations: ['50/2=25']
Exploring Operation: 25+11=36, Resulting Numbers: [25, 36]
Generated Node #0,1,0: 66:[25, 36] Operation: 25+11=36
Exploring Operation: 25-25=0, Resulting Numbers: [11, 0]
Generated Node #0,1,1: 66:[11, 0] Operation: 25-25=0
Exploring Operation: 25/25=1, Resulting Numbers: [11, 1]
Generated Node #0,1,2: 66:[11, 1] Operation: 25/25=1
Moving to Node #0,1,2
Current State: 66:[11, 1], Operations: ['50/2=25', '25/25=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[11, 0], Operations: ['50/2=25', '25-25=0']
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 11+0=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 11*0=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[25, 36], Operations: ['50/2=25', '25+11=36']
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,66 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,66 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 |
[
37,
39,
16,
27
] | 38 | [
"39-37=2",
"27*2=54",
"54-16=38"
] | Current State: 38:[37, 39, 16, 27], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [16, 27, 2]
Generated Node #2: [16, 27, 2] from Operation: 39-37=2
Current State: 38:[16, 27, 2], Operations: ['39-37=2']
Exploring Operation: 27*2=54, Resulting Numbers: [16, 54]
Generated Node #3: [16, 54] from Operation: 27*2=54
Current State: 38:[16, 54], Operations: ['39-37=2', '27*2=54']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[37, 39, 16, 27], Operations: []
Exploring Operation: 16+27=43, Resulting Numbers: [37, 39, 43]
Generated Node #0,0: 38:[37, 39, 43] Operation: 16+27=43
Exploring Operation: 39-37=2, Resulting Numbers: [16, 27, 2]
Generated Node #0,1: 38:[16, 27, 2] Operation: 39-37=2
Exploring Operation: 37-16=21, Resulting Numbers: [39, 27, 21]
Generated Node #0,2: 38:[39, 27, 21] Operation: 37-16=21
Exploring Operation: 27-16=11, Resulting Numbers: [37, 39, 11]
Generated Node #0,3: 38:[37, 39, 11] Operation: 27-16=11
Moving to Node #0,0
Current State: 38:[37, 39, 43], Operations: ['16+27=43']
Exploring Operation: 43-37=6, Resulting Numbers: [39, 6]
Generated Node #0,0,0: 38:[39, 6] Operation: 43-37=6
Exploring Operation: 39-37=2, Resulting Numbers: [43, 2]
Generated Node #0,0,1: 38:[43, 2] Operation: 39-37=2
Exploring Operation: 43-39=4, Resulting Numbers: [37, 4]
Generated Node #0,0,2: 38:[37, 4] Operation: 43-39=4
Exploring Operation: 37+39=76, Resulting Numbers: [43, 76]
Generated Node #0,0,3: 38:[43, 76] Operation: 37+39=76
Moving to Node #0,3
Current State: 38:[37, 39, 11], Operations: ['27-16=11']
Exploring Operation: 39-37=2, Resulting Numbers: [11, 2]
Generated Node #0,3,0: 38:[11, 2] Operation: 39-37=2
Exploring Operation: 37-11=26, Resulting Numbers: [39, 26]
Generated Node #0,3,1: 38:[39, 26] Operation: 37-11=26
Exploring Operation: 37+11=48, Resulting Numbers: [39, 48]
Generated Node #0,3,2: 38:[39, 48] Operation: 37+11=48
Exploring Operation: 39-11=28, Resulting Numbers: [37, 28]
Generated Node #0,3,3: 38:[37, 28] Operation: 39-11=28
Moving to Node #0,2
Current State: 38:[39, 27, 21], Operations: ['37-16=21']
Exploring Operation: 27+21=48, Resulting Numbers: [39, 48]
Generated Node #0,2,0: 38:[39, 48] Operation: 27+21=48
Exploring Operation: 27-21=6, Resulting Numbers: [39, 6]
Generated Node #0,2,1: 38:[39, 6] Operation: 27-21=6
Exploring Operation: 39-21=18, Resulting Numbers: [27, 18]
Generated Node #0,2,2: 38:[27, 18] Operation: 39-21=18
Exploring Operation: 39-27=12, Resulting Numbers: [21, 12]
Generated Node #0,2,3: 38:[21, 12] Operation: 39-27=12
Moving to Node #0,1
Current State: 38:[16, 27, 2], Operations: ['39-37=2']
Exploring Operation: 16+2=18, Resulting Numbers: [27, 18]
Generated Node #0,1,0: 38:[27, 18] Operation: 16+2=18
Exploring Operation: 16+27=43, Resulting Numbers: [2, 43]
Generated Node #0,1,1: 38:[2, 43] Operation: 16+27=43
Exploring Operation: 27-16=11, Resulting Numbers: [2, 11]
Generated Node #0,1,2: 38:[2, 11] Operation: 27-16=11
Exploring Operation: 27-2=25, Resulting Numbers: [16, 25]
Generated Node #0,1,3: 38:[16, 25] Operation: 27-2=25
Moving to Node #0,0,2
Current State: 38:[37, 4], Operations: ['16+27=43', '43-39=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[43, 2], Operations: ['16+27=43', '39-37=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[2, 43], Operations: ['39-37=2', '16+27=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[39, 6], Operations: ['16+27=43', '43-37=6']
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,38 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[39, 6], Operations: ['37-16=21', '27-21=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,38 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[2, 11], Operations: ['39-37=2', '27-16=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[39, 26], Operations: ['27-16=11', '37-11=26']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,38 unequal: No Solution
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[11, 2], Operations: ['27-16=11', '39-37=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[27, 18], Operations: ['39-37=2', '16+2=18']
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,38 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Moving to Node #0,2,3
Current State: 38:[21, 12], Operations: ['37-16=21', '39-27=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[27, 18], Operations: ['37-16=21', '39-21=18']
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,38 unequal: No Solution
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[16, 25], Operations: ['39-37=2', '27-2=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[37, 28], Operations: ['27-16=11', '39-11=28']
Exploring Operation: 37+28=65, Resulting Numbers: [65]
65,38 unequal: No Solution
Exploring Operation: 37*28=1036, Resulting Numbers: [1036]
1036,38 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[39, 48], Operations: ['37-16=21', '27+21=48']
Exploring Operation: 39*48=1872, Resulting Numbers: [1872]
1872,38 unequal: No Solution
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[39, 48], Operations: ['27-16=11', '37+11=48']
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 39*48=1872, Resulting Numbers: [1872]
1872,38 unequal: No Solution
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[43, 76], Operations: ['16+27=43', '37+39=76']
Exploring Operation: 43*76=3268, Resulting Numbers: [3268]
3268,38 unequal: No Solution
Exploring Operation: 43+76=119, Resulting Numbers: [119]
119,38 unequal: No Solution
Exploring Operation: 76-43=33, Resulting Numbers: [33]
33,38 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
23,
67,
68,
41
] | 17 | [
"67-23=44",
"68-41=27",
"44-27=17"
] | Current State: 17:[23, 67, 68, 41], Operations: []
Exploring Operation: 67-23=44, Resulting Numbers: [68, 41, 44]
Generated Node #2: [68, 41, 44] from Operation: 67-23=44
Current State: 17:[68, 41, 44], Operations: ['67-23=44']
Exploring Operation: 68-41=27, Resulting Numbers: [44, 27]
Generated Node #3: [44, 27] from Operation: 68-41=27
Current State: 17:[44, 27], Operations: ['67-23=44', '68-41=27']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[23, 67, 68, 41], Operations: []
Exploring Operation: 67-41=26, Resulting Numbers: [23, 68, 26]
Generated Node #0,0: 17:[23, 68, 26] Operation: 67-41=26
Exploring Operation: 68-67=1, Resulting Numbers: [23, 41, 1]
Generated Node #0,1: 17:[23, 41, 1] Operation: 68-67=1
Moving to Node #0,1
Current State: 17:[23, 41, 1], Operations: ['68-67=1']
Exploring Operation: 41-23=18, Resulting Numbers: [1, 18]
Generated Node #0,1,0: 17:[1, 18] Operation: 41-23=18
Exploring Operation: 23-1=22, Resulting Numbers: [41, 22]
Generated Node #0,1,1: 17:[41, 22] Operation: 23-1=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[1, 18], Operations: ['68-67=1', '41-23=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[23, 67, 68, 41], Operations: []
Exploring Operation: 68-67=1, Resulting Numbers: [23, 41, 1]
Generated Node #0,1: 17:[23, 41, 1] Operation: 68-67=1
Moving to Node #0,1
Current State: 17:[23, 41, 1], Operations: ['68-67=1']
Exploring Operation: 41-23=18, Resulting Numbers: [1, 18]
Generated Node #0,1,0: 17:[1, 18] Operation: 41-23=18
Moving to Node #0,1,0
Current State: 17:[1, 18], Operations: ['68-67=1', '41-23=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
26,
35,
89,
1
] | 28 | [
"26+35=61",
"89*1=89",
"89-61=28"
] | Current State: 28:[26, 35, 89, 1], Operations: []
Exploring Operation: 26+35=61, Resulting Numbers: [89, 1, 61]
Generated Node #2: [89, 1, 61] from Operation: 26+35=61
Current State: 28:[89, 1, 61], Operations: ['26+35=61']
Exploring Operation: 89*1=89, Resulting Numbers: [61, 89]
Generated Node #3: [61, 89] from Operation: 89*1=89
Current State: 28:[61, 89], Operations: ['26+35=61', '89*1=89']
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[26, 35, 89, 1], Operations: []
Exploring Operation: 89-35=54, Resulting Numbers: [26, 1, 54]
Generated Node #0,0: 28:[26, 1, 54] Operation: 89-35=54
Exploring Operation: 89-26=63, Resulting Numbers: [35, 1, 63]
Generated Node #0,1: 28:[35, 1, 63] Operation: 89-26=63
Exploring Operation: 35-26=9, Resulting Numbers: [89, 1, 9]
Generated Node #0,2: 28:[89, 1, 9] Operation: 35-26=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[26, 1, 54], Operations: ['89-35=54']
Exploring Operation: 54-26=28, Resulting Numbers: [1, 28]
Generated Node #0,0,0: 28:[1, 28] Operation: 54-26=28
Exploring Operation: 54-1=53, Resulting Numbers: [26, 53]
Generated Node #0,0,1: 28:[26, 53] Operation: 54-1=53
Exploring Operation: 26+1=27, Resulting Numbers: [54, 27]
Generated Node #0,0,2: 28:[54, 27] Operation: 26+1=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[1, 28], Operations: ['89-35=54', '54-26=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[26, 35, 89, 1], Operations: []
Exploring Operation: 89-35=54, Resulting Numbers: [26, 1, 54]
Generated Node #0,0: 28:[26, 1, 54] Operation: 89-35=54
Moving to Node #0,0
Current State: 28:[26, 1, 54], Operations: ['89-35=54']
Exploring Operation: 54-26=28, Resulting Numbers: [1, 28]
Generated Node #0,0,0: 28:[1, 28] Operation: 54-26=28
Moving to Node #0,0,0
Current State: 28:[1, 28], Operations: ['89-35=54', '54-26=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
85,
8,
9,
3
] | 17 | [
"9/3=3",
"8-3=5",
"85/5=17"
] | Current State: 17:[85, 8, 9, 3], Operations: []
Exploring Operation: 9/3=3, Resulting Numbers: [85, 8, 3]
Generated Node #2: [85, 8, 3] from Operation: 9/3=3
Current State: 17:[85, 8, 3], Operations: ['9/3=3']
Exploring Operation: 8-3=5, Resulting Numbers: [85, 5]
Generated Node #3: [85, 5] from Operation: 8-3=5
Current State: 17:[85, 5], Operations: ['9/3=3', '8-3=5']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[85, 8, 9, 3], Operations: []
Exploring Operation: 85-8=77, Resulting Numbers: [9, 3, 77]
Generated Node #0,0: 17:[9, 3, 77] Operation: 85-8=77
Exploring Operation: 8+9=17, Resulting Numbers: [85, 3, 17]
Generated Node #0,1: 17:[85, 3, 17] Operation: 8+9=17
Exploring Operation: 85-9=76, Resulting Numbers: [8, 3, 76]
Generated Node #0,2: 17:[8, 3, 76] Operation: 85-9=76
Exploring Operation: 85-3=82, Resulting Numbers: [8, 9, 82]
Generated Node #0,3: 17:[8, 9, 82] Operation: 85-3=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[9, 3, 77], Operations: ['85-8=77']
Exploring Operation: 9*3=27, Resulting Numbers: [77, 27]
Generated Node #0,0,0: 17:[77, 27] Operation: 9*3=27
Exploring Operation: 9+3=12, Resulting Numbers: [77, 12]
Generated Node #0,0,1: 17:[77, 12] Operation: 9+3=12
Exploring Operation: 77-3=74, Resulting Numbers: [9, 74]
Generated Node #0,0,2: 17:[9, 74] Operation: 77-3=74
Exploring Operation: 77-9=68, Resulting Numbers: [3, 68]
Generated Node #0,0,3: 17:[3, 68] Operation: 77-9=68
Moving to Node #0,0,1
Current State: 17:[77, 12], Operations: ['85-8=77', '9+3=12']
Exploring Operation: 77+12=89, Resulting Numbers: [89]
89,17 unequal: No Solution
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,17 unequal: No Solution
Exploring Operation: 77*12=924, Resulting Numbers: [924]
924,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[3, 68], Operations: ['85-8=77', '77-9=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,17 unequal: No Solution
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,17 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[9, 74], Operations: ['85-8=77', '77-3=74']
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,17 unequal: No Solution
Exploring Operation: 9*74=666, Resulting Numbers: [666]
666,17 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[77, 27], Operations: ['85-8=77', '9*3=27']
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 77*27=2079, Resulting Numbers: [2079]
2079,17 unequal: No Solution
Exploring Operation: 77+27=104, Resulting Numbers: [104]
104,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[85, 3, 17], Operations: ['8+9=17']
Exploring Operation: 85/17=5, Resulting Numbers: [3, 5]
Generated Node #0,1,0: 17:[3, 5] Operation: 85/17=5
Exploring Operation: 85+3=88, Resulting Numbers: [17, 88]
Generated Node #0,1,1: 17:[17, 88] Operation: 85+3=88
Exploring Operation: 85-3=82, Resulting Numbers: [17, 82]
Generated Node #0,1,2: 17:[17, 82] Operation: 85-3=82
Exploring Operation: 85-17=68, Resulting Numbers: [3, 68]
Generated Node #0,1,3: 17:[3, 68] Operation: 85-17=68
Moving to Node #0,1,0
Current State: 17:[3, 5], Operations: ['8+9=17', '85/17=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[3, 68], Operations: ['8+9=17', '85-17=68']
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,17 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,17 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[17, 82], Operations: ['8+9=17', '85-3=82']
Exploring Operation: 17+82=99, Resulting Numbers: [99]
99,17 unequal: No Solution
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,17 unequal: No Solution
Exploring Operation: 17*82=1394, Resulting Numbers: [1394]
1394,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[17, 88], Operations: ['8+9=17', '85+3=88']
Exploring Operation: 17+88=105, Resulting Numbers: [105]
105,17 unequal: No Solution
Exploring Operation: 17*88=1496, Resulting Numbers: [1496]
1496,17 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[8, 3, 76], Operations: ['85-9=76']
Exploring Operation: 8+3=11, Resulting Numbers: [76, 11]
Generated Node #0,2,0: 17:[76, 11] Operation: 8+3=11
Exploring Operation: 76-3=73, Resulting Numbers: [8, 73]
Generated Node #0,2,1: 17:[8, 73] Operation: 76-3=73
Exploring Operation: 76-8=68, Resulting Numbers: [3, 68]
Generated Node #0,2,2: 17:[3, 68] Operation: 76-8=68
Exploring Operation: 8*3=24, Resulting Numbers: [76, 24]
Generated Node #0,2,3: 17:[76, 24] Operation: 8*3=24
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[76, 11], Operations: ['85-9=76', '8+3=11']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,17 unequal: No Solution
Exploring Operation: 76*11=836, Resulting Numbers: [836]
836,17 unequal: No Solution
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,17 unequal: No Solution
No 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: 17:[8, 73], Operations: ['85-9=76', '76-3=73']
Exploring Operation: 8+73=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,17 unequal: No Solution
Exploring Operation: 8*73=584, Resulting Numbers: [584]
584,17 unequal: No Solution
No 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: 17:[3, 68], Operations: ['85-9=76', '76-8=68']
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,17 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,17 unequal: No Solution
No 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: 17:[76, 24], Operations: ['85-9=76', '8*3=24']
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,17 unequal: No Solution
Exploring Operation: 76*24=1824, Resulting Numbers: [1824]
1824,17 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[8, 9, 82], Operations: ['85-3=82']
Exploring Operation: 9-8=1, Resulting Numbers: [82, 1]
Generated Node #0,3,0: 17:[82, 1] Operation: 9-8=1
Exploring Operation: 82-9=73, Resulting Numbers: [8, 73]
Generated Node #0,3,1: 17:[8, 73] Operation: 82-9=73
Exploring Operation: 82-8=74, Resulting Numbers: [9, 74]
Generated Node #0,3,2: 17:[9, 74] Operation: 82-8=74
Exploring Operation: 8+9=17, Resulting Numbers: [82, 17]
Generated Node #0,3,3: 17:[82, 17] Operation: 8+9=17
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 17:[8, 73], Operations: ['85-3=82', '82-9=73']
Exploring Operation: 8*73=584, Resulting Numbers: [584]
584,17 unequal: No Solution
Exploring Operation: 8+73=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,17 unequal: No Solution
No 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: 17:[9, 74], Operations: ['85-3=82', '82-8=74']
Exploring Operation: 9*74=666, Resulting Numbers: [666]
666,17 unequal: No Solution
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,17 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,17 unequal: No Solution
No 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: 17:[82, 17], Operations: ['85-3=82', '8+9=17']
Exploring Operation: 82+17=99, Resulting Numbers: [99]
99,17 unequal: No Solution
Exploring Operation: 82*17=1394, Resulting Numbers: [1394]
1394,17 unequal: No Solution
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,17 unequal: No Solution
No 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: 17:[82, 1], Operations: ['85-3=82', '9-8=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,17 unequal: No Solution
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,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_4 | sum_heuristic |
[
53,
18,
89,
60
] | 37 | [
"60-53=7",
"18*7=126",
"126-89=37"
] | Current State: 37:[53, 18, 89, 60], Operations: []
Exploring Operation: 60-53=7, Resulting Numbers: [18, 89, 7]
Generated Node #2: [18, 89, 7] from Operation: 60-53=7
Current State: 37:[18, 89, 7], Operations: ['60-53=7']
Exploring Operation: 18*7=126, Resulting Numbers: [89, 126]
Generated Node #3: [89, 126] from Operation: 18*7=126
Current State: 37:[89, 126], Operations: ['60-53=7', '18*7=126']
Exploring Operation: 126-89=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[53, 18, 89, 60], Operations: []
Exploring Operation: 60-18=42, Resulting Numbers: [53, 89, 42]
Generated Node #0,0: 37:[53, 89, 42] Operation: 60-18=42
Exploring Operation: 89-18=71, Resulting Numbers: [53, 60, 71]
Generated Node #0,1: 37:[53, 60, 71] Operation: 89-18=71
Exploring Operation: 89-53=36, Resulting Numbers: [18, 60, 36]
Generated Node #0,2: 37:[18, 60, 36] Operation: 89-53=36
Exploring Operation: 89-60=29, Resulting Numbers: [53, 18, 29]
Generated Node #0,3: 37:[53, 18, 29] Operation: 89-60=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[18, 60, 36], Operations: ['89-53=36']
Exploring Operation: 18+36=54, Resulting Numbers: [60, 54]
Generated Node #0,2,0: 37:[60, 54] Operation: 18+36=54
Exploring Operation: 60-18=42, Resulting Numbers: [36, 42]
Generated Node #0,2,1: 37:[36, 42] Operation: 60-18=42
Exploring Operation: 18+60=78, Resulting Numbers: [36, 78]
Generated Node #0,2,2: 37:[36, 78] Operation: 18+60=78
Exploring Operation: 60-36=24, Resulting Numbers: [18, 24]
Generated Node #0,2,3: 37:[18, 24] Operation: 60-36=24
Moving to Node #0,2,1
Current State: 37:[36, 42], Operations: ['89-53=36', '60-18=42']
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Exploring Operation: 36*42=1512, Resulting Numbers: [1512]
1512,37 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[18, 24], Operations: ['89-53=36', '60-36=24']
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,37 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[60, 54], Operations: ['89-53=36', '18+36=54']
Exploring Operation: 60+54=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 60*54=3240, Resulting Numbers: [3240]
3240,37 unequal: No Solution
Exploring Operation: 60-54=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[36, 78], Operations: ['89-53=36', '18+60=78']
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 36*78=2808, Resulting Numbers: [2808]
2808,37 unequal: No Solution
Exploring Operation: 36+78=114, Resulting Numbers: [114]
114,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[53, 18, 29], Operations: ['89-60=29']
Exploring Operation: 53-29=24, Resulting Numbers: [18, 24]
Generated Node #0,3,0: 37:[18, 24] Operation: 53-29=24
Exploring Operation: 53-18=35, Resulting Numbers: [29, 35]
Generated Node #0,3,1: 37:[29, 35] Operation: 53-18=35
Exploring Operation: 18+29=47, Resulting Numbers: [53, 47]
Generated Node #0,3,2: 37:[53, 47] Operation: 18+29=47
Exploring Operation: 53+18=71, Resulting Numbers: [29, 71]
Generated Node #0,3,3: 37:[29, 71] Operation: 53+18=71
Moving to Node #0,3,1
Current State: 37:[29, 35], Operations: ['89-60=29', '53-18=35']
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[53, 47], Operations: ['89-60=29', '18+29=47']
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,37 unequal: No Solution
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[18, 24], Operations: ['89-60=29', '53-29=24']
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[29, 71], Operations: ['89-60=29', '53+18=71']
Exploring Operation: 29+71=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 29*71=2059, Resulting Numbers: [2059]
2059,37 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[53, 89, 42], Operations: ['60-18=42']
Exploring Operation: 89-42=47, Resulting Numbers: [53, 47]
Generated Node #0,0,0: 37:[53, 47] Operation: 89-42=47
Exploring Operation: 53-42=11, Resulting Numbers: [89, 11]
Generated Node #0,0,1: 37:[89, 11] Operation: 53-42=11
Exploring Operation: 89-53=36, Resulting Numbers: [42, 36]
Generated Node #0,0,2: 37:[42, 36] Operation: 89-53=36
Exploring Operation: 53+89=142, Resulting Numbers: [42, 142]
Generated Node #0,0,3: 37:[42, 142] Operation: 53+89=142
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[42, 36], Operations: ['60-18=42', '89-53=36']
Exploring Operation: 42*36=1512, Resulting Numbers: [1512]
1512,37 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 42+36=78, Resulting Numbers: [78]
78,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[53, 47], Operations: ['60-18=42', '89-42=47']
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,37 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[89, 11], Operations: ['60-18=42', '53-42=11']
Exploring Operation: 89+11=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 89*11=979, Resulting Numbers: [979]
979,37 unequal: No Solution
Exploring Operation: 89-11=78, Resulting Numbers: [78]
78,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 37:[42, 142], Operations: ['60-18=42', '53+89=142']
Exploring Operation: 142-42=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 42*142=5964, Resulting Numbers: [5964]
5964,37 unequal: No Solution
Exploring Operation: 42+142=184, Resulting Numbers: [184]
184,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[53, 60, 71], Operations: ['89-18=71']
Exploring Operation: 71-53=18, Resulting Numbers: [60, 18]
Generated Node #0,1,0: 37:[60, 18] Operation: 71-53=18
Exploring Operation: 71-60=11, Resulting Numbers: [53, 11]
Generated Node #0,1,1: 37:[53, 11] Operation: 71-60=11
Exploring Operation: 60-53=7, Resulting Numbers: [71, 7]
Generated Node #0,1,2: 37:[71, 7] Operation: 60-53=7
Exploring Operation: 53+60=113, Resulting Numbers: [71, 113]
Generated Node #0,1,3: 37:[71, 113] Operation: 53+60=113
Moving to Node #0,1,0
Current State: 37:[60, 18], Operations: ['89-18=71', '71-53=18']
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,37 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[53, 11], Operations: ['89-18=71', '71-60=11']
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,37 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[71, 7], Operations: ['89-18=71', '60-53=7']
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,37 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[71, 113], Operations: ['89-18=71', '53+60=113']
Exploring Operation: 113-71=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 71+113=184, Resulting Numbers: [184]
184,37 unequal: No Solution
Exploring Operation: 71*113=8023, Resulting Numbers: [8023]
8023,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
5,
88,
91,
48
] | 83 | [
"88-48=40",
"40/5=8",
"91-8=83"
] | Current State: 83:[5, 88, 91, 48], Operations: []
Exploring Operation: 88-48=40, Resulting Numbers: [5, 91, 40]
Generated Node #2: [5, 91, 40] from Operation: 88-48=40
Current State: 83:[5, 91, 40], Operations: ['88-48=40']
Exploring Operation: 40/5=8, Resulting Numbers: [91, 8]
Generated Node #3: [91, 8] from Operation: 40/5=8
Current State: 83:[91, 8], Operations: ['88-48=40', '40/5=8']
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[5, 88, 91, 48], Operations: []
Exploring Operation: 91-5=86, Resulting Numbers: [88, 48, 86]
Generated Node #0,0: 83:[88, 48, 86] Operation: 91-5=86
Exploring Operation: 5+48=53, Resulting Numbers: [88, 91, 53]
Generated Node #0,1: 83:[88, 91, 53] Operation: 5+48=53
Exploring Operation: 88-5=83, Resulting Numbers: [91, 48, 83]
Generated Node #0,2: 83:[91, 48, 83] Operation: 88-5=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[88, 48, 86], Operations: ['91-5=86']
Exploring Operation: 88+48=136, Resulting Numbers: [86, 136]
Generated Node #0,0,0: 83:[86, 136] Operation: 88+48=136
Exploring Operation: 86-48=38, Resulting Numbers: [88, 38]
Generated Node #0,0,1: 83:[88, 38] Operation: 86-48=38
Exploring Operation: 88-48=40, Resulting Numbers: [86, 40]
Generated Node #0,0,2: 83:[86, 40] Operation: 88-48=40
Moving to Node #0,0,2
Current State: 83:[86, 40], Operations: ['91-5=86', '88-48=40']
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[88, 38], Operations: ['91-5=86', '86-48=38']
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[86, 136], Operations: ['91-5=86', '88+48=136']
Exploring Operation: 86*136=11696, Resulting Numbers: [11696]
11696,83 unequal: No Solution
Exploring Operation: 136-86=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Exploring Operation: 86+136=222, Resulting Numbers: [222]
222,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
Current State: 83:[88, 91, 53], Operations: ['5+48=53']
Exploring Operation: 91-53=38, Resulting Numbers: [88, 38]
Generated Node #0,1,0: 83:[88, 38] Operation: 91-53=38
Exploring Operation: 88+53=141, Resulting Numbers: [91, 141]
Generated Node #0,1,1: 83:[91, 141] Operation: 88+53=141
Exploring Operation: 88-53=35, Resulting Numbers: [91, 35]
Generated Node #0,1,2: 83:[91, 35] Operation: 88-53=35
Moving to Node #0,1,0
Current State: 83:[88, 38], Operations: ['5+48=53', '91-53=38']
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[91, 35], Operations: ['5+48=53', '88-53=35']
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 91*35=3185, Resulting Numbers: [3185]
3185,83 unequal: No Solution
Exploring Operation: 91+35=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[91, 141], Operations: ['5+48=53', '88+53=141']
Exploring Operation: 91*141=12831, Resulting Numbers: [12831]
12831,83 unequal: No Solution
Exploring Operation: 91+141=232, Resulting Numbers: [232]
232,83 unequal: No Solution
Exploring Operation: 141-91=50, Resulting Numbers: [50]
50,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[91, 48, 83], Operations: ['88-5=83']
Exploring Operation: 91-48=43, Resulting Numbers: [83, 43]
Generated Node #0,2,0: 83:[83, 43] Operation: 91-48=43
Exploring Operation: 91+48=139, Resulting Numbers: [83, 139]
Generated Node #0,2,1: 83:[83, 139] Operation: 91+48=139
Exploring Operation: 48+83=131, Resulting Numbers: [91, 131]
Generated Node #0,2,2: 83:[91, 131] Operation: 48+83=131
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[83, 43], Operations: ['88-5=83', '91-48=43']
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,83 unequal: No Solution
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[83, 139], Operations: ['88-5=83', '91+48=139']
Exploring Operation: 83*139=11537, Resulting Numbers: [11537]
11537,83 unequal: No Solution
Exploring Operation: 139-83=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 83+139=222, Resulting Numbers: [222]
222,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[91, 131], Operations: ['88-5=83', '48+83=131']
Exploring Operation: 91+131=222, Resulting Numbers: [222]
222,83 unequal: No Solution
Exploring Operation: 91*131=11921, Resulting Numbers: [11921]
11921,83 unequal: No Solution
Exploring Operation: 131-91=40, Resulting Numbers: [40]
40,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
84,
86,
7,
4
] | 20 | [
"86-84=2",
"7-2=5",
"4*5=20"
] | Current State: 20:[84, 86, 7, 4], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [7, 4, 2]
Generated Node #2: [7, 4, 2] from Operation: 86-84=2
Current State: 20:[7, 4, 2], Operations: ['86-84=2']
Exploring Operation: 7-2=5, Resulting Numbers: [4, 5]
Generated Node #3: [4, 5] from Operation: 7-2=5
Current State: 20:[4, 5], Operations: ['86-84=2', '7-2=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[84, 86, 7, 4], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [86, 7, 21]
Generated Node #0,0: 20:[86, 7, 21] Operation: 84/4=21
Exploring Operation: 84/7=12, Resulting Numbers: [86, 4, 12]
Generated Node #0,1: 20:[86, 4, 12] Operation: 84/7=12
Exploring Operation: 86-84=2, Resulting Numbers: [7, 4, 2]
Generated Node #0,2: 20:[7, 4, 2] Operation: 86-84=2
Moving to Node #0,2
Current State: 20:[7, 4, 2], Operations: ['86-84=2']
Exploring Operation: 7-4=3, Resulting Numbers: [2, 3]
Generated Node #0,2,0: 20:[2, 3] Operation: 7-4=3
Exploring Operation: 7+4=11, Resulting Numbers: [2, 11]
Generated Node #0,2,1: 20:[2, 11] Operation: 7+4=11
Exploring Operation: 7-2=5, Resulting Numbers: [4, 5]
Generated Node #0,2,2: 20:[4, 5] Operation: 7-2=5
Moving to Node #0,1
Current State: 20:[86, 4, 12], Operations: ['84/7=12']
Exploring Operation: 86-12=74, Resulting Numbers: [4, 74]
Generated Node #0,1,0: 20:[4, 74] Operation: 86-12=74
Exploring Operation: 86-4=82, Resulting Numbers: [12, 82]
Generated Node #0,1,1: 20:[12, 82] Operation: 86-4=82
Exploring Operation: 12/4=3, Resulting Numbers: [86, 3]
Generated Node #0,1,2: 20:[86, 3] Operation: 12/4=3
Moving to Node #0,0
Current State: 20:[86, 7, 21], Operations: ['84/4=21']
Exploring Operation: 86-21=65, Resulting Numbers: [7, 65]
Generated Node #0,0,0: 20:[7, 65] Operation: 86-21=65
Exploring Operation: 21/7=3, Resulting Numbers: [86, 3]
Generated Node #0,0,1: 20:[86, 3] Operation: 21/7=3
Exploring Operation: 86-7=79, Resulting Numbers: [21, 79]
Generated Node #0,0,2: 20:[21, 79] Operation: 86-7=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[7, 65], Operations: ['84/4=21', '86-21=65']
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 7+65=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Exploring Operation: 7*65=455, Resulting Numbers: [455]
455,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[21, 79], Operations: ['84/4=21', '86-7=79']
Exploring Operation: 21+79=100, Resulting Numbers: [100]
100,20 unequal: No Solution
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 21*79=1659, Resulting Numbers: [1659]
1659,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[86, 3], Operations: ['84/4=21', '21/7=3']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 86+3=89, Resulting Numbers: [89]
89,20 unequal: No Solution
Exploring Operation: 86*3=258, Resulting Numbers: [258]
258,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 20:[4, 5], Operations: ['86-84=2', '7-2=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[84, 86, 7, 4], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [7, 4, 2]
Generated Node #0,2: 20:[7, 4, 2] Operation: 86-84=2
Moving to Node #0,2
Current State: 20:[7, 4, 2], Operations: ['86-84=2']
Exploring Operation: 7-2=5, Resulting Numbers: [4, 5]
Generated Node #0,2,2: 20:[4, 5] Operation: 7-2=5
Moving to Node #0,2,2
Current State: 20:[4, 5], Operations: ['86-84=2', '7-2=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
27,
23,
82,
6
] | 96 | [
"27*82=2214",
"2214-6=2208",
"2208/23=96"
] | Current State: 96:[27, 23, 82, 6], Operations: []
Exploring Operation: 27*82=2214, Resulting Numbers: [23, 6, 2214]
Generated Node #2: [23, 6, 2214] from Operation: 27*82=2214
Current State: 96:[23, 6, 2214], Operations: ['27*82=2214']
Exploring Operation: 2214-6=2208, Resulting Numbers: [23, 2208]
Generated Node #3: [23, 2208] from Operation: 2214-6=2208
Current State: 96:[23, 2208], Operations: ['27*82=2214', '2214-6=2208']
Exploring Operation: 2208/23=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[27, 23, 82, 6], Operations: []
Exploring Operation: 27-23=4, Resulting Numbers: [82, 6, 4]
Generated Node #0,0: 96:[82, 6, 4] Operation: 27-23=4
Exploring Operation: 23+82=105, Resulting Numbers: [27, 6, 105]
Generated Node #0,1: 96:[27, 6, 105] Operation: 23+82=105
Exploring Operation: 82-27=55, Resulting Numbers: [23, 6, 55]
Generated Node #0,2: 96:[23, 6, 55] Operation: 82-27=55
Exploring Operation: 82+6=88, Resulting Numbers: [27, 23, 88]
Generated Node #0,3: 96:[27, 23, 88] Operation: 82+6=88
Moving to Node #0,2
Current State: 96:[23, 6, 55], Operations: ['82-27=55']
Exploring Operation: 55-23=32, Resulting Numbers: [6, 32]
Generated Node #0,2,0: 96:[6, 32] Operation: 55-23=32
Exploring Operation: 23-6=17, Resulting Numbers: [55, 17]
Generated Node #0,2,1: 96:[55, 17] Operation: 23-6=17
Exploring Operation: 55-6=49, Resulting Numbers: [23, 49]
Generated Node #0,2,2: 96:[23, 49] Operation: 55-6=49
Exploring Operation: 23+6=29, Resulting Numbers: [55, 29]
Generated Node #0,2,3: 96:[55, 29] Operation: 23+6=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[6, 32], Operations: ['82-27=55', '55-23=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,96 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,96 unequal: No Solution
No 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: 96:[23, 49], Operations: ['82-27=55', '55-6=49']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 23*49=1127, Resulting Numbers: [1127]
1127,96 unequal: No Solution
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,96 unequal: No Solution
No 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: 96:[55, 17], Operations: ['82-27=55', '23-6=17']
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,96 unequal: No Solution
No 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: 96:[55, 29], Operations: ['82-27=55', '23+6=29']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,96 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: 96:[27, 23, 88], Operations: ['82+6=88']
Exploring Operation: 88-27=61, Resulting Numbers: [23, 61]
Generated Node #0,3,0: 96:[23, 61] Operation: 88-27=61
Exploring Operation: 23+88=111, Resulting Numbers: [27, 111]
Generated Node #0,3,1: 96:[27, 111] Operation: 23+88=111
Exploring Operation: 27+23=50, Resulting Numbers: [88, 50]
Generated Node #0,3,2: 96:[88, 50] Operation: 27+23=50
Exploring Operation: 27-23=4, Resulting Numbers: [88, 4]
Generated Node #0,3,3: 96:[88, 4] Operation: 27-23=4
Moving to Node #0,1
Current State: 96:[27, 6, 105], Operations: ['23+82=105']
Exploring Operation: 27-6=21, Resulting Numbers: [105, 21]
Generated Node #0,1,0: 96:[105, 21] Operation: 27-6=21
Exploring Operation: 27+6=33, Resulting Numbers: [105, 33]
Generated Node #0,1,1: 96:[105, 33] Operation: 27+6=33
Exploring Operation: 105-27=78, Resulting Numbers: [6, 78]
Generated Node #0,1,2: 96:[6, 78] Operation: 105-27=78
Exploring Operation: 105-6=99, Resulting Numbers: [27, 99]
Generated Node #0,1,3: 96:[27, 99] Operation: 105-6=99
Moving to Node #0,0
Current State: 96:[82, 6, 4], Operations: ['27-23=4']
Exploring Operation: 82+4=86, Resulting Numbers: [6, 86]
Generated Node #0,0,0: 96:[6, 86] Operation: 82+4=86
Exploring Operation: 6-4=2, Resulting Numbers: [82, 2]
Generated Node #0,0,1: 96:[82, 2] Operation: 6-4=2
Exploring Operation: 6*4=24, Resulting Numbers: [82, 24]
Generated Node #0,0,2: 96:[82, 24] Operation: 6*4=24
Exploring Operation: 82+6=88, Resulting Numbers: [4, 88]
Generated Node #0,0,3: 96:[4, 88] Operation: 82+6=88
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 96:[4, 88], Operations: ['27-23=4', '82+6=88']
Exploring Operation: 4+88=92, Resulting Numbers: [92]
92,96 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 4*88=352, Resulting Numbers: [352]
352,96 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,96 unequal: No Solution
No 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: 96:[6, 86], Operations: ['27-23=4', '82+4=86']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 6+86=92, Resulting Numbers: [92]
92,96 unequal: No Solution
Exploring Operation: 6*86=516, Resulting Numbers: [516]
516,96 unequal: No Solution
No 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: 96:[82, 2], Operations: ['27-23=4', '6-4=2']
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,96 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,96 unequal: No Solution
No 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: 96:[82, 24], Operations: ['27-23=4', '6*4=24']
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 96:[27, 99], Operations: ['23+82=105', '105-6=99']
Exploring Operation: 27+99=126, Resulting Numbers: [126]
126,96 unequal: No Solution
Exploring Operation: 99-27=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 27*99=2673, Resulting Numbers: [2673]
2673,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[88, 4], Operations: ['82+6=88', '27-23=4']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,96 unequal: No Solution
Exploring Operation: 88*4=352, Resulting Numbers: [352]
352,96 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[105, 33], Operations: ['23+82=105', '27+6=33']
Exploring Operation: 105+33=138, Resulting Numbers: [138]
138,96 unequal: No Solution
Exploring Operation: 105*33=3465, Resulting Numbers: [3465]
3465,96 unequal: No Solution
Exploring Operation: 105-33=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[88, 50], Operations: ['82+6=88', '27+23=50']
Exploring Operation: 88+50=138, Resulting Numbers: [138]
138,96 unequal: No Solution
Exploring Operation: 88*50=4400, Resulting Numbers: [4400]
4400,96 unequal: No Solution
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[105, 21], Operations: ['23+82=105', '27-6=21']
Exploring Operation: 105*21=2205, Resulting Numbers: [2205]
2205,96 unequal: No Solution
Exploring Operation: 105/21=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 105-21=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 105+21=126, Resulting Numbers: [126]
126,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[23, 61], Operations: ['82+6=88', '88-27=61']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 23+61=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 23*61=1403, Resulting Numbers: [1403]
1403,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[27, 111], Operations: ['82+6=88', '23+88=111']
Exploring Operation: 27*111=2997, Resulting Numbers: [2997]
2997,96 unequal: No Solution
Exploring Operation: 111-27=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 27+111=138, Resulting Numbers: [138]
138,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[6, 78], Operations: ['23+82=105', '105-27=78']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 6*78=468, Resulting Numbers: [468]
468,96 unequal: No Solution
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,96 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
70,
95,
39,
12
] | 76 | [
"95-70=25",
"39+12=51",
"25+51=76"
] | Current State: 76:[70, 95, 39, 12], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [39, 12, 25]
Generated Node #2: [39, 12, 25] from Operation: 95-70=25
Current State: 76:[39, 12, 25], Operations: ['95-70=25']
Exploring Operation: 39+12=51, Resulting Numbers: [25, 51]
Generated Node #3: [25, 51] from Operation: 39+12=51
Current State: 76:[25, 51], Operations: ['95-70=25', '39+12=51']
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[70, 95, 39, 12], Operations: []
Exploring Operation: 70+12=82, Resulting Numbers: [95, 39, 82]
Generated Node #0,0: 76:[95, 39, 82] Operation: 70+12=82
Exploring Operation: 95-39=56, Resulting Numbers: [70, 12, 56]
Generated Node #0,1: 76:[70, 12, 56] Operation: 95-39=56
Exploring Operation: 95-12=83, Resulting Numbers: [70, 39, 83]
Generated Node #0,2: 76:[70, 39, 83] Operation: 95-12=83
Exploring Operation: 95-70=25, Resulting Numbers: [39, 12, 25]
Generated Node #0,3: 76:[39, 12, 25] Operation: 95-70=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[70, 39, 83], Operations: ['95-12=83']
Exploring Operation: 70+39=109, Resulting Numbers: [83, 109]
Generated Node #0,2,0: 76:[83, 109] Operation: 70+39=109
Exploring Operation: 83-70=13, Resulting Numbers: [39, 13]
Generated Node #0,2,1: 76:[39, 13] Operation: 83-70=13
Exploring Operation: 70-39=31, Resulting Numbers: [83, 31]
Generated Node #0,2,2: 76:[83, 31] Operation: 70-39=31
Exploring Operation: 83-39=44, Resulting Numbers: [70, 44]
Generated Node #0,2,3: 76:[70, 44] Operation: 83-39=44
Moving to Node #0,2,1
Current State: 76:[39, 13], Operations: ['95-12=83', '83-70=13']
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,76 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[70, 44], Operations: ['95-12=83', '83-39=44']
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 70+44=114, Resulting Numbers: [114]
114,76 unequal: No Solution
Exploring Operation: 70*44=3080, Resulting Numbers: [3080]
3080,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[83, 31], Operations: ['95-12=83', '70-39=31']
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 83*31=2573, Resulting Numbers: [2573]
2573,76 unequal: No Solution
Exploring Operation: 83+31=114, Resulting Numbers: [114]
114,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[83, 109], Operations: ['95-12=83', '70+39=109']
Exploring Operation: 83+109=192, Resulting Numbers: [192]
192,76 unequal: No Solution
Exploring Operation: 109-83=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 83*109=9047, Resulting Numbers: [9047]
9047,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,3
Current State: 76:[39, 12, 25], Operations: ['95-70=25']
Exploring Operation: 12+25=37, Resulting Numbers: [39, 37]
Generated Node #0,3,0: 76:[39, 37] Operation: 12+25=37
Exploring Operation: 39-12=27, Resulting Numbers: [25, 27]
Generated Node #0,3,1: 76:[25, 27] Operation: 39-12=27
Exploring Operation: 39-25=14, Resulting Numbers: [12, 14]
Generated Node #0,3,2: 76:[12, 14] Operation: 39-25=14
Exploring Operation: 25-12=13, Resulting Numbers: [39, 13]
Generated Node #0,3,3: 76:[39, 13] Operation: 25-12=13
Moving to Node #0,3,0
Current State: 76:[39, 37], Operations: ['95-70=25', '12+25=37']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[70, 95, 39, 12], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [39, 12, 25]
Generated Node #0,3: 76:[39, 12, 25] Operation: 95-70=25
Moving to Node #0,3
Current State: 76:[39, 12, 25], Operations: ['95-70=25']
Exploring Operation: 12+25=37, Resulting Numbers: [39, 37]
Generated Node #0,3,0: 76:[39, 37] Operation: 12+25=37
Moving to Node #0,3,0
Current State: 76:[39, 37], Operations: ['95-70=25', '12+25=37']
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
57,
72,
30,
60
] | 18 | [
"60-57=3",
"30*3=90",
"90-72=18"
] | Current State: 18:[57, 72, 30, 60], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [72, 30, 3]
Generated Node #2: [72, 30, 3] from Operation: 60-57=3
Current State: 18:[72, 30, 3], Operations: ['60-57=3']
Exploring Operation: 30*3=90, Resulting Numbers: [72, 90]
Generated Node #3: [72, 90] from Operation: 30*3=90
Current State: 18:[72, 90], Operations: ['60-57=3', '30*3=90']
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[57, 72, 30, 60], Operations: []
Exploring Operation: 57-30=27, Resulting Numbers: [72, 60, 27]
Generated Node #0,0: 18:[72, 60, 27] Operation: 57-30=27
Exploring Operation: 60-57=3, Resulting Numbers: [72, 30, 3]
Generated Node #0,1: 18:[72, 30, 3] Operation: 60-57=3
Exploring Operation: 72-60=12, Resulting Numbers: [57, 30, 12]
Generated Node #0,2: 18:[57, 30, 12] Operation: 72-60=12
Exploring Operation: 60/30=2, Resulting Numbers: [57, 72, 2]
Generated Node #0,3: 18:[57, 72, 2] Operation: 60/30=2
Exploring Operation: 72-57=15, Resulting Numbers: [30, 60, 15]
Generated Node #0,4: 18:[30, 60, 15] Operation: 72-57=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[57, 30, 12], Operations: ['72-60=12']
Exploring Operation: 30+12=42, Resulting Numbers: [57, 42]
Generated Node #0,2,0: 18:[57, 42] Operation: 30+12=42
Exploring Operation: 30-12=18, Resulting Numbers: [57, 18]
Generated Node #0,2,1: 18:[57, 18] Operation: 30-12=18
Exploring Operation: 57+12=69, Resulting Numbers: [30, 69]
Generated Node #0,2,2: 18:[30, 69] Operation: 57+12=69
Exploring Operation: 57-12=45, Resulting Numbers: [30, 45]
Generated Node #0,2,3: 18:[30, 45] Operation: 57-12=45
Exploring Operation: 57-30=27, Resulting Numbers: [12, 27]
Generated Node #0,2,4: 18:[12, 27] Operation: 57-30=27
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 18:[12, 27], Operations: ['72-60=12', '57-30=27']
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,18 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,18 unequal: No Solution
No 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: 18:[57, 18], Operations: ['72-60=12', '30-12=18']
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,18 unequal: No Solution
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,18 unequal: No Solution
No 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: 18:[30, 45], Operations: ['72-60=12', '57-12=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,18 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,18 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,18 unequal: No Solution
No 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: 18:[57, 42], Operations: ['72-60=12', '30+12=42']
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Exploring Operation: 57*42=2394, Resulting Numbers: [2394]
2394,18 unequal: No Solution
No 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: 18:[30, 69], Operations: ['72-60=12', '57+12=69']
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Exploring Operation: 30*69=2070, Resulting Numbers: [2070]
2070,18 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,18 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: 18:[30, 60, 15], Operations: ['72-57=15']
Exploring Operation: 60-30=30, Resulting Numbers: [15, 30]
Generated Node #0,4,0: 18:[15, 30] Operation: 60-30=30
Exploring Operation: 60/15=4, Resulting Numbers: [30, 4]
Generated Node #0,4,1: 18:[30, 4] Operation: 60/15=4
Exploring Operation: 30/15=2, Resulting Numbers: [60, 2]
Generated Node #0,4,2: 18:[60, 2] Operation: 30/15=2
Exploring Operation: 60-15=45, Resulting Numbers: [30, 45]
Generated Node #0,4,3: 18:[30, 45] Operation: 60-15=45
Exploring Operation: 60/30=2, Resulting Numbers: [15, 2]
Generated Node #0,4,4: 18:[15, 2] Operation: 60/30=2
Moving to Node #0,4,4
Current State: 18:[15, 2], Operations: ['72-57=15', '60/30=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Moving to Node #0,4,1
Current State: 18:[30, 4], Operations: ['72-57=15', '60/15=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,18 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Moving to Node #0,4,0
Current State: 18:[15, 30], Operations: ['72-57=15', '60-30=30']
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 15*30=450, Resulting Numbers: [450]
450,18 unequal: No Solution
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Moving to Node #0,4,3
Current State: 18:[30, 45], Operations: ['72-57=15', '60-15=45']
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,18 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,18 unequal: No Solution
Moving to Node #0,4,2
Current State: 18:[60, 2], Operations: ['72-57=15', '30/15=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,18 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,18 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,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,1
Current State: 18:[72, 30, 3], Operations: ['60-57=3']
Exploring Operation: 72-3=69, Resulting Numbers: [30, 69]
Generated Node #0,1,0: 18:[30, 69] Operation: 72-3=69
Exploring Operation: 72/3=24, Resulting Numbers: [30, 24]
Generated Node #0,1,1: 18:[30, 24] Operation: 72/3=24
Exploring Operation: 30/3=10, Resulting Numbers: [72, 10]
Generated Node #0,1,2: 18:[72, 10] Operation: 30/3=10
Exploring Operation: 30-3=27, Resulting Numbers: [72, 27]
Generated Node #0,1,3: 18:[72, 27] Operation: 30-3=27
Exploring Operation: 72-30=42, Resulting Numbers: [3, 42]
Generated Node #0,1,4: 18:[3, 42] Operation: 72-30=42
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[30, 24], Operations: ['60-57=3', '72/3=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,18 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,18 unequal: No Solution
No 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: 18:[3, 42], Operations: ['60-57=3', '72-30=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,18 unequal: No Solution
No 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: 18:[72, 10], Operations: ['60-57=3', '30/3=10']
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,18 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,18 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,18 unequal: No Solution
No 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: 18:[30, 69], Operations: ['60-57=3', '72-3=69']
Exploring Operation: 30*69=2070, Resulting Numbers: [2070]
2070,18 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,18 unequal: No Solution
No 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: 18:[72, 27], Operations: ['60-57=3', '30-3=27']
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,18 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[57, 72, 2], Operations: ['60/30=2']
Exploring Operation: 57+2=59, Resulting Numbers: [72, 59]
Generated Node #0,3,0: 18:[72, 59] Operation: 57+2=59
Exploring Operation: 57-2=55, Resulting Numbers: [72, 55]
Generated Node #0,3,1: 18:[72, 55] Operation: 57-2=55
Exploring Operation: 72/2=36, Resulting Numbers: [57, 36]
Generated Node #0,3,2: 18:[57, 36] Operation: 72/2=36
Exploring Operation: 72-57=15, Resulting Numbers: [2, 15]
Generated Node #0,3,3: 18:[2, 15] Operation: 72-57=15
Exploring Operation: 72-2=70, Resulting Numbers: [57, 70]
Generated Node #0,3,4: 18:[57, 70] Operation: 72-2=70
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 18:[2, 15], Operations: ['60/30=2', '72-57=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,18 unequal: No Solution
No 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: 18:[57, 36], Operations: ['60/30=2', '72/2=36']
Exploring Operation: 57*36=2052, Resulting Numbers: [2052]
2052,18 unequal: No Solution
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,18 unequal: No Solution
No 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: 18:[72, 55], Operations: ['60/30=2', '57-2=55']
Exploring Operation: 72*55=3960, Resulting Numbers: [3960]
3960,18 unequal: No Solution
Exploring Operation: 72+55=127, Resulting Numbers: [127]
127,18 unequal: No Solution
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,18 unequal: No Solution
No 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: 18:[57, 70], Operations: ['60/30=2', '72-2=70']
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 57+70=127, Resulting Numbers: [127]
127,18 unequal: No Solution
Exploring Operation: 57*70=3990, Resulting Numbers: [3990]
3990,18 unequal: No Solution
No 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: 18:[72, 59], Operations: ['60/30=2', '57+2=59']
Exploring Operation: 72*59=4248, Resulting Numbers: [4248]
4248,18 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 72+59=131, Resulting Numbers: [131]
131,18 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: 18:[72, 60, 27], Operations: ['57-30=27']
Exploring Operation: 72+27=99, Resulting Numbers: [60, 99]
Generated Node #0,0,0: 18:[60, 99] Operation: 72+27=99
Exploring Operation: 72+60=132, Resulting Numbers: [27, 132]
Generated Node #0,0,1: 18:[27, 132] Operation: 72+60=132
Exploring Operation: 72-60=12, Resulting Numbers: [27, 12]
Generated Node #0,0,2: 18:[27, 12] Operation: 72-60=12
Exploring Operation: 72-27=45, Resulting Numbers: [60, 45]
Generated Node #0,0,3: 18:[60, 45] Operation: 72-27=45
Exploring Operation: 60-27=33, Resulting Numbers: [72, 33]
Generated Node #0,0,4: 18:[72, 33] Operation: 60-27=33
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 18:[27, 12], Operations: ['57-30=27', '72-60=12']
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,18 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,18 unequal: No Solution
No 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: 18:[60, 45], Operations: ['57-30=27', '72-27=45']
Exploring Operation: 60+45=105, Resulting Numbers: [105]
105,18 unequal: No Solution
Exploring Operation: 60*45=2700, Resulting Numbers: [2700]
2700,18 unequal: No Solution
Exploring Operation: 60-45=15, Resulting Numbers: [15]
15,18 unequal: No Solution
No 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: 18:[72, 33], Operations: ['57-30=27', '60-27=33']
Exploring Operation: 72+33=105, Resulting Numbers: [105]
105,18 unequal: No Solution
Exploring Operation: 72*33=2376, Resulting Numbers: [2376]
2376,18 unequal: No Solution
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,18 unequal: No Solution
No 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: 18:[60, 99], Operations: ['57-30=27', '72+27=99']
Exploring Operation: 60+99=159, Resulting Numbers: [159]
159,18 unequal: No Solution
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 60*99=5940, Resulting Numbers: [5940]
5940,18 unequal: No Solution
No 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: 18:[27, 132], Operations: ['57-30=27', '72+60=132']
Exploring Operation: 132-27=105, Resulting Numbers: [105]
105,18 unequal: No Solution
Exploring Operation: 27*132=3564, Resulting Numbers: [3564]
3564,18 unequal: No Solution
Exploring Operation: 27+132=159, Resulting Numbers: [159]
159,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
15,
36,
30,
20
] | 48 | [
"30-15=15",
"36*20=720",
"720/15=48"
] | Current State: 48:[15, 36, 30, 20], Operations: []
Exploring Operation: 30-15=15, Resulting Numbers: [36, 20, 15]
Generated Node #2: [36, 20, 15] from Operation: 30-15=15
Current State: 48:[36, 20, 15], Operations: ['30-15=15']
Exploring Operation: 36*20=720, Resulting Numbers: [15, 720]
Generated Node #3: [15, 720] from Operation: 36*20=720
Current State: 48:[15, 720], Operations: ['30-15=15', '36*20=720']
Exploring Operation: 720/15=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[15, 36, 30, 20], Operations: []
Exploring Operation: 36-30=6, Resulting Numbers: [15, 20, 6]
Generated Node #0,0: 48:[15, 20, 6] Operation: 36-30=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[15, 20, 6], Operations: ['36-30=6']
Exploring Operation: 20-15=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 48:[6, 5] Operation: 20-15=5
Moving to Node #0,0,0
Current State: 48:[6, 5], Operations: ['36-30=6', '20-15=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
69,
17,
87,
6
] | 41 | [
"69-17=52",
"87+6=93",
"93-52=41"
] | Current State: 41:[69, 17, 87, 6], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [87, 6, 52]
Generated Node #2: [87, 6, 52] from Operation: 69-17=52
Current State: 41:[87, 6, 52], Operations: ['69-17=52']
Exploring Operation: 87+6=93, Resulting Numbers: [52, 93]
Generated Node #3: [52, 93] from Operation: 87+6=93
Current State: 41:[52, 93], Operations: ['69-17=52', '87+6=93']
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[69, 17, 87, 6], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [87, 6, 52]
Generated Node #0,0: 41:[87, 6, 52] Operation: 69-17=52
Exploring Operation: 87-17=70, Resulting Numbers: [69, 6, 70]
Generated Node #0,1: 41:[69, 6, 70] Operation: 87-17=70
Exploring Operation: 69-6=63, Resulting Numbers: [17, 87, 63]
Generated Node #0,2: 41:[17, 87, 63] Operation: 69-6=63
Exploring Operation: 87-69=18, Resulting Numbers: [17, 6, 18]
Generated Node #0,3: 41:[17, 6, 18] Operation: 87-69=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[17, 6, 18], Operations: ['87-69=18']
Exploring Operation: 17+6=23, Resulting Numbers: [18, 23]
Generated Node #0,3,0: 41:[18, 23] Operation: 17+6=23
Exploring Operation: 6+18=24, Resulting Numbers: [17, 24]
Generated Node #0,3,1: 41:[17, 24] Operation: 6+18=24
Exploring Operation: 17-6=11, Resulting Numbers: [18, 11]
Generated Node #0,3,2: 41:[18, 11] Operation: 17-6=11
Exploring Operation: 17+18=35, Resulting Numbers: [6, 35]
Generated Node #0,3,3: 41:[6, 35] Operation: 17+18=35
Moving to Node #0,3,0
Current State: 41:[18, 23], Operations: ['87-69=18', '17+6=23']
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[69, 17, 87, 6], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [17, 6, 18]
Generated Node #0,3: 41:[17, 6, 18] Operation: 87-69=18
Moving to Node #0,3
Current State: 41:[17, 6, 18], Operations: ['87-69=18']
Exploring Operation: 17+6=23, Resulting Numbers: [18, 23]
Generated Node #0,3,0: 41:[18, 23] Operation: 17+6=23
Moving to Node #0,3,0
Current State: 41:[18, 23], Operations: ['87-69=18', '17+6=23']
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
22,
32,
48,
48
] | 55 | [
"22+32=54",
"48/48=1",
"54+1=55"
] | Current State: 55:[22, 32, 48, 48], Operations: []
Exploring Operation: 22+32=54, Resulting Numbers: [48, 48, 54]
Generated Node #2: [48, 48, 54] from Operation: 22+32=54
Current State: 55:[48, 48, 54], Operations: ['22+32=54']
Exploring Operation: 48/48=1, Resulting Numbers: [54, 1]
Generated Node #3: [54, 1] from Operation: 48/48=1
Current State: 55:[54, 1], Operations: ['22+32=54', '48/48=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[22, 32, 48, 48], Operations: []
Exploring Operation: 32-22=10, Resulting Numbers: [48, 48, 10]
Generated Node #0,0: 55:[48, 48, 10] Operation: 32-22=10
Exploring Operation: 22+32=54, Resulting Numbers: [48, 48, 54]
Generated Node #0,1: 55:[48, 48, 54] Operation: 22+32=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[48, 48, 10], Operations: ['32-22=10']
Exploring Operation: 48-48=0, Resulting Numbers: [10, 0]
Generated Node #0,0,0: 55:[10, 0] Operation: 48-48=0
Exploring Operation: 48/48=1, Resulting Numbers: [10, 1]
Generated Node #0,0,1: 55:[10, 1] Operation: 48/48=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[10, 1], Operations: ['32-22=10', '48/48=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[10, 0], Operations: ['32-22=10', '48-48=0']
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[48, 48, 54], Operations: ['22+32=54']
Exploring Operation: 48-48=0, Resulting Numbers: [54, 0]
Generated Node #0,1,0: 55:[54, 0] Operation: 48-48=0
Exploring Operation: 48/48=1, Resulting Numbers: [54, 1]
Generated Node #0,1,1: 55:[54, 1] Operation: 48/48=1
Moving to Node #0,1,1
Current State: 55:[54, 1], Operations: ['22+32=54', '48/48=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[22, 32, 48, 48], Operations: []
Exploring Operation: 22+32=54, Resulting Numbers: [48, 48, 54]
Generated Node #0,1: 55:[48, 48, 54] Operation: 22+32=54
Moving to Node #0,1
Current State: 55:[48, 48, 54], Operations: ['22+32=54']
Exploring Operation: 48/48=1, Resulting Numbers: [54, 1]
Generated Node #0,1,1: 55:[54, 1] Operation: 48/48=1
Moving to Node #0,1,1
Current State: 55:[54, 1], Operations: ['22+32=54', '48/48=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
30,
9,
60,
60
] | 10 | [
"60-30=30",
"60+30=90",
"90/9=10"
] | Current State: 10:[30, 9, 60, 60], Operations: []
Exploring Operation: 60-30=30, Resulting Numbers: [9, 30]
Generated Node #2: [9, 30] from Operation: 60-30=30
Current State: 10:[9, 30], Operations: ['60-30=30']
Exploring Operation: 60+30=90, Resulting Numbers: [9, 90]
Generated Node #3: [9, 90] from Operation: 60+30=90
Current State: 10:[9, 90], Operations: ['60-30=30', '60+30=90']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[30, 9, 60, 60], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [9, 60, 2]
Generated Node #0,0: 10:[9, 60, 2] Operation: 60/30=2
Exploring Operation: 60-30=30, Resulting Numbers: [9, 60, 30]
Generated Node #0,1: 10:[9, 60, 30] Operation: 60-30=30
Exploring Operation: 60-60=0, Resulting Numbers: [30, 9, 0]
Generated Node #0,2: 10:[30, 9, 0] Operation: 60-60=0
Exploring Operation: 60/30=2, Resulting Numbers: [9, 60, 2]
Generated Node #0,3: 10:[9, 60, 2] Operation: 60/30=2
Exploring Operation: 60/60=1, Resulting Numbers: [30, 9, 1]
Generated Node #0,4: 10:[30, 9, 1] Operation: 60/60=1
Moving to Node #0,4
Current State: 10:[30, 9, 1], Operations: ['60/60=1']
Exploring Operation: 30-9=21, Resulting Numbers: [1, 21]
Generated Node #0,4,0: 10:[1, 21] Operation: 30-9=21
Exploring Operation: 9+1=10, Resulting Numbers: [30, 10]
Generated Node #0,4,1: 10:[30, 10] Operation: 9+1=10
Exploring Operation: 30-1=29, Resulting Numbers: [9, 29]
Generated Node #0,4,2: 10:[9, 29] Operation: 30-1=29
Exploring Operation: 30*1=30, Resulting Numbers: [9, 30]
Generated Node #0,4,3: 10:[9, 30] Operation: 30*1=30
Exploring Operation: 30/1=30, Resulting Numbers: [9, 30]
Generated Node #0,4,4: 10:[9, 30] Operation: 30/1=30
Moving to Node #0,2
Current State: 10:[30, 9, 0], Operations: ['60-60=0']
Exploring Operation: 9+0=9, Resulting Numbers: [30, 9]
Generated Node #0,2,0: 10:[30, 9] Operation: 9+0=9
Exploring Operation: 30*0=0, Resulting Numbers: [9, 0]
Generated Node #0,2,1: 10:[9, 0] Operation: 30*0=0
Exploring Operation: 30-9=21, Resulting Numbers: [0, 21]
Generated Node #0,2,2: 10:[0, 21] Operation: 30-9=21
Exploring Operation: 30+0=30, Resulting Numbers: [9, 30]
Generated Node #0,2,3: 10:[9, 30] Operation: 30+0=30
Exploring Operation: 30-0=30, Resulting Numbers: [9, 30]
Generated Node #0,2,4: 10:[9, 30] Operation: 30-0=30
Moving to Node #0,0
Current State: 10:[9, 60, 2], Operations: ['60/30=2']
Exploring Operation: 60-9=51, Resulting Numbers: [2, 51]
Generated Node #0,0,0: 10:[2, 51] Operation: 60-9=51
Exploring Operation: 9+2=11, Resulting Numbers: [60, 11]
Generated Node #0,0,1: 10:[60, 11] Operation: 9+2=11
Exploring Operation: 9-2=7, Resulting Numbers: [60, 7]
Generated Node #0,0,2: 10:[60, 7] Operation: 9-2=7
Exploring Operation: 60/2=30, Resulting Numbers: [9, 30]
Generated Node #0,0,3: 10:[9, 30] Operation: 60/2=30
Exploring Operation: 60-2=58, Resulting Numbers: [9, 58]
Generated Node #0,0,4: 10:[9, 58] Operation: 60-2=58
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[9, 30], Operations: ['60/30=2', '60/2=30']
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,10 unequal: No Solution
No 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: 10:[2, 51], Operations: ['60/30=2', '60-9=51']
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,10 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,10 unequal: No Solution
No 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: 10:[9, 58], Operations: ['60/30=2', '60-2=58']
Exploring Operation: 9*58=522, Resulting Numbers: [522]
522,10 unequal: No Solution
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,10 unequal: No Solution
No 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: 10:[60, 11], Operations: ['60/30=2', '9+2=11']
Exploring Operation: 60*11=660, Resulting Numbers: [660]
660,10 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,10 unequal: No Solution
No 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: 10:[60, 7], Operations: ['60/30=2', '9-2=7']
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,10 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,10 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: 10:[9, 60, 2], Operations: ['60/30=2']
Exploring Operation: 60-2=58, Resulting Numbers: [9, 58]
Generated Node #0,3,0: 10:[9, 58] Operation: 60-2=58
Exploring Operation: 60-9=51, Resulting Numbers: [2, 51]
Generated Node #0,3,1: 10:[2, 51] Operation: 60-9=51
Exploring Operation: 60/2=30, Resulting Numbers: [9, 30]
Generated Node #0,3,2: 10:[9, 30] Operation: 60/2=30
Exploring Operation: 9+2=11, Resulting Numbers: [60, 11]
Generated Node #0,3,3: 10:[60, 11] Operation: 9+2=11
Exploring Operation: 9-2=7, Resulting Numbers: [60, 7]
Generated Node #0,3,4: 10:[60, 7] Operation: 9-2=7
Moving to Node #0,1
Current State: 10:[9, 60, 30], Operations: ['60-30=30']
Exploring Operation: 60/30=2, Resulting Numbers: [9, 2]
Generated Node #0,1,0: 10:[9, 2] Operation: 60/30=2
Exploring Operation: 60-9=51, Resulting Numbers: [30, 51]
Generated Node #0,1,1: 10:[30, 51] Operation: 60-9=51
Exploring Operation: 9+60=69, Resulting Numbers: [30, 69]
Generated Node #0,1,2: 10:[30, 69] Operation: 9+60=69
Exploring Operation: 60-30=30, Resulting Numbers: [9, 30]
Generated Node #0,1,3: 10:[9, 30] Operation: 60-30=30
Exploring Operation: 30-9=21, Resulting Numbers: [60, 21]
Generated Node #0,1,4: 10:[60, 21] Operation: 30-9=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[9, 2], Operations: ['60-30=30', '60/30=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
No 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: 10:[9, 30], Operations: ['60-30=30', '60-30=30']
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,10 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
No 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: 10:[30, 51], Operations: ['60-30=30', '60-9=51']
Exploring Operation: 30*51=1530, Resulting Numbers: [1530]
1530,10 unequal: No Solution
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,10 unequal: No Solution
No 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: 10:[60, 21], Operations: ['60-30=30', '30-9=21']
Exploring Operation: 60*21=1260, Resulting Numbers: [1260]
1260,10 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 60+21=81, Resulting Numbers: [81]
81,10 unequal: No Solution
No 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: 10:[30, 69], Operations: ['60-30=30', '9+60=69']
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,10 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 30*69=2070, Resulting Numbers: [2070]
2070,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 10:[9, 0], Operations: ['60-60=0', '30*0=0']
Exploring Operation: 9-0=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 9+0=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 9*0=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Moving to Node #0,4,0
Current State: 10:[1, 21], Operations: ['60/60=1', '30-9=21']
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[0, 21], Operations: ['60-60=0', '30-9=21']
Exploring Operation: 0+21=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 0*21=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 21-0=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Moving to Node #0,4,2
Current State: 10:[9, 29], Operations: ['60/60=1', '30-1=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,10 unequal: No Solution
Moving to Node #0,4,1
Current State: 10:[30, 10], Operations: ['60/60=1', '9+1=10']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 30*10=300, Resulting Numbers: [300]
300,10 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Moving to Node #0,4,4
Current State: 10:[9, 30], Operations: ['60/60=1', '30/1=30']
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,10 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[9, 30], Operations: ['60/30=2', '60/2=30']
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,10 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Moving to Node #0,2,4
Current State: 10:[9, 30], Operations: ['60-60=0', '30-0=30']
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,10 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Moving to Node #0,4,3
Current State: 10:[9, 30], Operations: ['60/60=1', '30*1=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[30, 9], Operations: ['60-60=0', '9+0=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,10 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[9, 30], Operations: ['60-60=0', '30+0=30']
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,10 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[2, 51], Operations: ['60/30=2', '60-9=51']
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[9, 58], Operations: ['60/30=2', '60-2=58']
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 9*58=522, Resulting Numbers: [522]
522,10 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[60, 11], Operations: ['60/30=2', '9+2=11']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 60*11=660, Resulting Numbers: [660]
660,10 unequal: No Solution
Moving to Node #0,3,4
Current State: 10:[60, 7], Operations: ['60/30=2', '9-2=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,10 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
89,
10,
42,
42
] | 89 | [
"42-42=0",
"10*0=0",
"89+0=89"
] | Current State: 89:[89, 10, 42, 42], Operations: []
Exploring Operation: 42-42=0, Resulting Numbers: [89, 10, 0]
Generated Node #2: [89, 10, 0] from Operation: 42-42=0
Current State: 89:[89, 10, 0], Operations: ['42-42=0']
Exploring Operation: 10*0=0, Resulting Numbers: [89, 0]
Generated Node #3: [89, 0] from Operation: 10*0=0
Current State: 89:[89, 0], Operations: ['42-42=0', '10*0=0']
Exploring Operation: 89+0=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[89, 10, 42, 42], Operations: []
Exploring Operation: 10+42=52, Resulting Numbers: [89, 42, 52]
Generated Node #0,0: 89:[89, 42, 52] Operation: 10+42=52
Exploring Operation: 10+42=52, Resulting Numbers: [89, 42, 52]
Generated Node #0,1: 89:[89, 42, 52] Operation: 10+42=52
Exploring Operation: 42+42=84, Resulting Numbers: [89, 10, 84]
Generated Node #0,2: 89:[89, 10, 84] Operation: 42+42=84
Exploring Operation: 89+10=99, Resulting Numbers: [42, 42, 99]
Generated Node #0,3: 89:[42, 42, 99] Operation: 89+10=99
Moving to Node #0,0
Current State: 89:[89, 42, 52], Operations: ['10+42=52']
Exploring Operation: 89-42=47, Resulting Numbers: [52, 47]
Generated Node #0,0,0: 89:[52, 47] Operation: 89-42=47
Exploring Operation: 52-42=10, Resulting Numbers: [89, 10]
Generated Node #0,0,1: 89:[89, 10] Operation: 52-42=10
Exploring Operation: 42+52=94, Resulting Numbers: [89, 94]
Generated Node #0,0,2: 89:[89, 94] Operation: 42+52=94
Exploring Operation: 89+42=131, Resulting Numbers: [52, 131]
Generated Node #0,0,3: 89:[52, 131] Operation: 89+42=131
Moving to Node #0,2
Current State: 89:[89, 10, 84], Operations: ['42+42=84']
Exploring Operation: 89-10=79, Resulting Numbers: [84, 79]
Generated Node #0,2,0: 89:[84, 79] Operation: 89-10=79
Exploring Operation: 89+10=99, Resulting Numbers: [84, 99]
Generated Node #0,2,1: 89:[84, 99] Operation: 89+10=99
Exploring Operation: 84-10=74, Resulting Numbers: [89, 74]
Generated Node #0,2,2: 89:[89, 74] Operation: 84-10=74
Exploring Operation: 10+84=94, Resulting Numbers: [89, 94]
Generated Node #0,2,3: 89:[89, 94] Operation: 10+84=94
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[89, 94], Operations: ['42+42=84', '10+84=94']
Exploring Operation: 89*94=8366, Resulting Numbers: [8366]
8366,89 unequal: No Solution
Exploring Operation: 94-89=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 89+94=183, Resulting Numbers: [183]
183,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[84, 79], Operations: ['42+42=84', '89-10=79']
Exploring Operation: 84+79=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 84*79=6636, Resulting Numbers: [6636]
6636,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[84, 99], Operations: ['42+42=84', '89+10=99']
Exploring Operation: 84+99=183, Resulting Numbers: [183]
183,89 unequal: No Solution
Exploring Operation: 84*99=8316, Resulting Numbers: [8316]
8316,89 unequal: No Solution
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[89, 74], Operations: ['42+42=84', '84-10=74']
Exploring Operation: 89*74=6586, Resulting Numbers: [6586]
6586,89 unequal: No Solution
Exploring Operation: 89+74=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Exploring Operation: 89-74=15, Resulting Numbers: [15]
15,89 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: 89:[89, 42, 52], Operations: ['10+42=52']
Exploring Operation: 52-42=10, Resulting Numbers: [89, 10]
Generated Node #0,1,0: 89:[89, 10] Operation: 52-42=10
Exploring Operation: 42+52=94, Resulting Numbers: [89, 94]
Generated Node #0,1,1: 89:[89, 94] Operation: 42+52=94
Exploring Operation: 89-42=47, Resulting Numbers: [52, 47]
Generated Node #0,1,2: 89:[52, 47] Operation: 89-42=47
Exploring Operation: 89+42=131, Resulting Numbers: [52, 131]
Generated Node #0,1,3: 89:[52, 131] Operation: 89+42=131
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[89, 94], Operations: ['10+42=52', '42+52=94']
Exploring Operation: 89*94=8366, Resulting Numbers: [8366]
8366,89 unequal: No Solution
Exploring Operation: 94-89=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 89+94=183, Resulting Numbers: [183]
183,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,0
Current State: 89:[89, 10], Operations: ['10+42=52', '52-42=10']
Exploring Operation: 89+10=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 89*10=890, Resulting Numbers: [890]
890,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,2
Current State: 89:[52, 47], Operations: ['10+42=52', '89-42=47']
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,89 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,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,3
Current State: 89:[52, 131], Operations: ['10+42=52', '89+42=131']
Exploring Operation: 52+131=183, Resulting Numbers: [183]
183,89 unequal: No Solution
Exploring Operation: 131-52=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 52*131=6812, Resulting Numbers: [6812]
6812,89 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: 89:[42, 42, 99], Operations: ['89+10=99']
Exploring Operation: 42/42=1, Resulting Numbers: [99, 1]
Generated Node #0,3,0: 89:[99, 1] Operation: 42/42=1
Exploring Operation: 99-42=57, Resulting Numbers: [42, 57]
Generated Node #0,3,1: 89:[42, 57] Operation: 99-42=57
Exploring Operation: 42+42=84, Resulting Numbers: [99, 84]
Generated Node #0,3,2: 89:[99, 84] Operation: 42+42=84
Exploring Operation: 99-42=57, Resulting Numbers: [42, 57]
Generated Node #0,3,3: 89:[42, 57] Operation: 99-42=57
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 89:[99, 84], Operations: ['89+10=99', '42+42=84']
Exploring Operation: 99*84=8316, Resulting Numbers: [8316]
8316,89 unequal: No Solution
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 99+84=183, Resulting Numbers: [183]
183,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,3,1
Current State: 89:[42, 57], Operations: ['89+10=99', '99-42=57']
Exploring Operation: 42*57=2394, Resulting Numbers: [2394]
2394,89 unequal: No Solution
Exploring Operation: 42+57=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,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,3,3
Current State: 89:[42, 57], Operations: ['89+10=99', '99-42=57']
Exploring Operation: 42*57=2394, Resulting Numbers: [2394]
2394,89 unequal: No Solution
Exploring Operation: 42+57=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,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,3,0
Current State: 89:[99, 1], Operations: ['89+10=99', '42/42=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,89 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: 89:[89, 94], Operations: ['10+42=52', '42+52=94']
Exploring Operation: 89*94=8366, Resulting Numbers: [8366]
8366,89 unequal: No Solution
Exploring Operation: 89+94=183, Resulting Numbers: [183]
183,89 unequal: No Solution
Exploring Operation: 94-89=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[89, 10], Operations: ['10+42=52', '52-42=10']
Exploring Operation: 89+10=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 89*10=890, Resulting Numbers: [890]
890,89 unequal: No Solution
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[52, 47], Operations: ['10+42=52', '89-42=47']
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,89 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[52, 131], Operations: ['10+42=52', '89+42=131']
Exploring Operation: 52*131=6812, Resulting Numbers: [6812]
6812,89 unequal: No Solution
Exploring Operation: 131-52=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 52+131=183, Resulting Numbers: [183]
183,89 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
35,
1,
80,
4
] | 51 | [
"1+4=5",
"80/5=16",
"35+16=51"
] | Current State: 51:[35, 1, 80, 4], Operations: []
Exploring Operation: 1+4=5, Resulting Numbers: [35, 80, 5]
Generated Node #2: [35, 80, 5] from Operation: 1+4=5
Current State: 51:[35, 80, 5], Operations: ['1+4=5']
Exploring Operation: 80/5=16, Resulting Numbers: [35, 16]
Generated Node #3: [35, 16] from Operation: 80/5=16
Current State: 51:[35, 16], Operations: ['1+4=5', '80/5=16']
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[35, 1, 80, 4], Operations: []
Exploring Operation: 35+4=39, Resulting Numbers: [1, 80, 39]
Generated Node #0,0: 51:[1, 80, 39] Operation: 35+4=39
Exploring Operation: 35+1=36, Resulting Numbers: [80, 4, 36]
Generated Node #0,1: 51:[80, 4, 36] Operation: 35+1=36
Exploring Operation: 80-4=76, Resulting Numbers: [35, 1, 76]
Generated Node #0,2: 51:[35, 1, 76] Operation: 80-4=76
Exploring Operation: 80-35=45, Resulting Numbers: [1, 4, 45]
Generated Node #0,3: 51:[1, 4, 45] Operation: 80-35=45
Exploring Operation: 80/4=20, Resulting Numbers: [35, 1, 20]
Generated Node #0,4: 51:[35, 1, 20] Operation: 80/4=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[1, 4, 45], Operations: ['80-35=45']
Exploring Operation: 4-1=3, Resulting Numbers: [45, 3]
Generated Node #0,3,0: 51:[45, 3] Operation: 4-1=3
Exploring Operation: 4+45=49, Resulting Numbers: [1, 49]
Generated Node #0,3,1: 51:[1, 49] Operation: 4+45=49
Exploring Operation: 4/1=4, Resulting Numbers: [45, 4]
Generated Node #0,3,2: 51:[45, 4] Operation: 4/1=4
Exploring Operation: 1*4=4, Resulting Numbers: [45, 4]
Generated Node #0,3,3: 51:[45, 4] Operation: 1*4=4
Exploring Operation: 1+45=46, Resulting Numbers: [4, 46]
Generated Node #0,3,4: 51:[4, 46] Operation: 1+45=46
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[1, 49], Operations: ['80-35=45', '4+45=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,51 unequal: No Solution
No 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: 51:[45, 3], Operations: ['80-35=45', '4-1=3']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 45*3=135, Resulting Numbers: [135]
135,51 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No 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: 51:[4, 46], Operations: ['80-35=45', '1+45=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,51 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,51 unequal: No Solution
No 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: 51:[45, 4], Operations: ['80-35=45', '4/1=4']
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,51 unequal: No Solution
No 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: 51:[45, 4], Operations: ['80-35=45', '1*4=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,51 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: 51:[35, 1, 20], Operations: ['80/4=20']
Exploring Operation: 35+20=55, Resulting Numbers: [1, 55]
Generated Node #0,4,0: 51:[1, 55] Operation: 35+20=55
Exploring Operation: 35*1=35, Resulting Numbers: [20, 35]
Generated Node #0,4,1: 51:[20, 35] Operation: 35*1=35
Exploring Operation: 35+1=36, Resulting Numbers: [20, 36]
Generated Node #0,4,2: 51:[20, 36] Operation: 35+1=36
Exploring Operation: 20-1=19, Resulting Numbers: [35, 19]
Generated Node #0,4,3: 51:[35, 19] Operation: 20-1=19
Exploring Operation: 35-20=15, Resulting Numbers: [1, 15]
Generated Node #0,4,4: 51:[1, 15] Operation: 35-20=15
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 51:[1, 15], Operations: ['80/4=20', '35-20=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 51:[1, 55], Operations: ['80/4=20', '35+20=55']
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 51:[20, 36], Operations: ['80/4=20', '35+1=36']
Exploring Operation: 20*36=720, Resulting Numbers: [720]
720,51 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 51:[35, 19], Operations: ['80/4=20', '20-1=19']
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,51 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 51:[20, 35], Operations: ['80/4=20', '35*1=35']
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,51 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: 51:[1, 80, 39], Operations: ['35+4=39']
Exploring Operation: 80-1=79, Resulting Numbers: [39, 79]
Generated Node #0,0,0: 51:[39, 79] Operation: 80-1=79
Exploring Operation: 1+39=40, Resulting Numbers: [80, 40]
Generated Node #0,0,1: 51:[80, 40] Operation: 1+39=40
Exploring Operation: 80-39=41, Resulting Numbers: [1, 41]
Generated Node #0,0,2: 51:[1, 41] Operation: 80-39=41
Exploring Operation: 1*80=80, Resulting Numbers: [39, 80]
Generated Node #0,0,3: 51:[39, 80] Operation: 1*80=80
Exploring Operation: 80/1=80, Resulting Numbers: [39, 80]
Generated Node #0,0,4: 51:[39, 80] Operation: 80/1=80
Moving to Node #0,0,2
Current State: 51:[1, 41], Operations: ['35+4=39', '80-39=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[80, 40], Operations: ['35+4=39', '1+39=40']
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 80*40=3200, Resulting Numbers: [3200]
3200,51 unequal: No Solution
Exploring Operation: 80+40=120, Resulting Numbers: [120]
120,51 unequal: No Solution
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[39, 79], Operations: ['35+4=39', '80-1=79']
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 39*79=3081, Resulting Numbers: [3081]
3081,51 unequal: No Solution
Exploring Operation: 39+79=118, Resulting Numbers: [118]
118,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[39, 80], Operations: ['35+4=39', '1*80=80']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 39*80=3120, Resulting Numbers: [3120]
3120,51 unequal: No Solution
Exploring Operation: 39+80=119, Resulting Numbers: [119]
119,51 unequal: No Solution
Moving to Node #0,0,4
Current State: 51:[39, 80], Operations: ['35+4=39', '80/1=80']
Exploring Operation: 39+80=119, Resulting Numbers: [119]
119,51 unequal: No Solution
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 39*80=3120, Resulting Numbers: [3120]
3120,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[35, 1, 76], Operations: ['80-4=76']
Exploring Operation: 76-35=41, Resulting Numbers: [1, 41]
Generated Node #0,2,0: 51:[1, 41] Operation: 76-35=41
Exploring Operation: 35*1=35, Resulting Numbers: [76, 35]
Generated Node #0,2,1: 51:[76, 35] Operation: 35*1=35
Exploring Operation: 35+1=36, Resulting Numbers: [76, 36]
Generated Node #0,2,2: 51:[76, 36] Operation: 35+1=36
Exploring Operation: 35/1=35, Resulting Numbers: [76, 35]
Generated Node #0,2,3: 51:[76, 35] Operation: 35/1=35
Exploring Operation: 76-1=75, Resulting Numbers: [35, 75]
Generated Node #0,2,4: 51:[35, 75] Operation: 76-1=75
Moving to Node #0,2,0
Current State: 51:[1, 41], Operations: ['80-4=76', '76-35=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Moving to Node #0,2,4
Current State: 51:[35, 75], Operations: ['80-4=76', '76-1=75']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,51 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[76, 36], Operations: ['80-4=76', '35+1=36']
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,51 unequal: No Solution
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,51 unequal: No Solution
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[76, 35], Operations: ['80-4=76', '35*1=35']
Exploring Operation: 76*35=2660, Resulting Numbers: [2660]
2660,51 unequal: No Solution
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 76+35=111, Resulting Numbers: [111]
111,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[76, 35], Operations: ['80-4=76', '35/1=35']
Exploring Operation: 76*35=2660, Resulting Numbers: [2660]
2660,51 unequal: No Solution
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 76+35=111, Resulting Numbers: [111]
111,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[80, 4, 36], Operations: ['35+1=36']
Exploring Operation: 80/4=20, Resulting Numbers: [36, 20]
Generated Node #0,1,0: 51:[36, 20] Operation: 80/4=20
Exploring Operation: 80-4=76, Resulting Numbers: [36, 76]
Generated Node #0,1,1: 51:[36, 76] Operation: 80-4=76
Exploring Operation: 4+36=40, Resulting Numbers: [80, 40]
Generated Node #0,1,2: 51:[80, 40] Operation: 4+36=40
Exploring Operation: 36/4=9, Resulting Numbers: [80, 9]
Generated Node #0,1,3: 51:[80, 9] Operation: 36/4=9
Exploring Operation: 80-36=44, Resulting Numbers: [4, 44]
Generated Node #0,1,4: 51:[4, 44] Operation: 80-36=44
Moving to Node #0,1,4
Current State: 51:[4, 44], Operations: ['35+1=36', '80-36=44']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[36, 20], Operations: ['35+1=36', '80/4=20']
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,51 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[80, 9], Operations: ['35+1=36', '36/4=9']
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,51 unequal: No Solution
Exploring Operation: 80*9=720, Resulting Numbers: [720]
720,51 unequal: No Solution
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[36, 76], Operations: ['35+1=36', '80-4=76']
Exploring Operation: 36+76=112, Resulting Numbers: [112]
112,51 unequal: No Solution
Exploring Operation: 36*76=2736, Resulting Numbers: [2736]
2736,51 unequal: No Solution
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[80, 40], Operations: ['35+1=36', '4+36=40']
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 80+40=120, Resulting Numbers: [120]
120,51 unequal: No Solution
Exploring Operation: 80*40=3200, Resulting Numbers: [3200]
3200,51 unequal: No Solution
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,51 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 |
[
15,
5,
4,
12
] | 49 | [
"15-4=11",
"5*12=60",
"60-11=49"
] | Current State: 49:[15, 5, 4, 12], Operations: []
Exploring Operation: 15-4=11, Resulting Numbers: [5, 12, 11]
Generated Node #2: [5, 12, 11] from Operation: 15-4=11
Current State: 49:[5, 12, 11], Operations: ['15-4=11']
Exploring Operation: 5*12=60, Resulting Numbers: [11, 60]
Generated Node #3: [11, 60] from Operation: 5*12=60
Current State: 49:[11, 60], Operations: ['15-4=11', '5*12=60']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[15, 5, 4, 12], Operations: []
Exploring Operation: 15-12=3, Resulting Numbers: [5, 4, 3]
Generated Node #0,0: 49:[5, 4, 3] Operation: 15-12=3
Exploring Operation: 15-5=10, Resulting Numbers: [4, 12, 10]
Generated Node #0,1: 49:[4, 12, 10] Operation: 15-5=10
Exploring Operation: 15-4=11, Resulting Numbers: [5, 12, 11]
Generated Node #0,2: 49:[5, 12, 11] Operation: 15-4=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[5, 4, 3], Operations: ['15-12=3']
Exploring Operation: 5+3=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 49:[4, 8] Operation: 5+3=8
Exploring Operation: 5+4=9, Resulting Numbers: [3, 9]
Generated Node #0,0,1: 49:[3, 9] Operation: 5+4=9
Exploring Operation: 4+3=7, Resulting Numbers: [5, 7]
Generated Node #0,0,2: 49:[5, 7] Operation: 4+3=7
Moving to Node #0,0,2
Current State: 49:[5, 7], Operations: ['15-12=3', '4+3=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[4, 8], Operations: ['15-12=3', '5+3=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[3, 9], Operations: ['15-12=3', '5+4=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[4, 12, 10], Operations: ['15-5=10']
Exploring Operation: 10-4=6, Resulting Numbers: [12, 6]
Generated Node #0,1,0: 49:[12, 6] Operation: 10-4=6
Exploring Operation: 4*12=48, Resulting Numbers: [10, 48]
Generated Node #0,1,1: 49:[10, 48] Operation: 4*12=48
Exploring Operation: 12-4=8, Resulting Numbers: [10, 8]
Generated Node #0,1,2: 49:[10, 8] Operation: 12-4=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[10, 48], Operations: ['15-5=10', '4*12=48']
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,49 unequal: No Solution
No 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: 49:[10, 8], Operations: ['15-5=10', '12-4=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,49 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,49 unequal: No Solution
No 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: 49:[12, 6], Operations: ['15-5=10', '10-4=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,49 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: 49:[5, 12, 11], Operations: ['15-4=11']
Exploring Operation: 12-5=7, Resulting Numbers: [11, 7]
Generated Node #0,2,0: 49:[11, 7] Operation: 12-5=7
Exploring Operation: 12-11=1, Resulting Numbers: [5, 1]
Generated Node #0,2,1: 49:[5, 1] Operation: 12-11=1
Exploring Operation: 11-5=6, Resulting Numbers: [12, 6]
Generated Node #0,2,2: 49:[12, 6] Operation: 11-5=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[11, 7], Operations: ['15-4=11', '12-5=7']
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,49 unequal: No Solution
No 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: 49:[12, 6], Operations: ['15-4=11', '11-5=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No 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: 49:[5, 1], Operations: ['15-4=11', '12-11=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,49 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 |
[
66,
44,
29,
43
] | 96 | [
"66+44=110",
"43-29=14",
"110-14=96"
] | Current State: 96:[66, 44, 29, 43], Operations: []
Exploring Operation: 66+44=110, Resulting Numbers: [29, 43, 110]
Generated Node #2: [29, 43, 110] from Operation: 66+44=110
Current State: 96:[29, 43, 110], Operations: ['66+44=110']
Exploring Operation: 43-29=14, Resulting Numbers: [110, 14]
Generated Node #3: [110, 14] from Operation: 43-29=14
Current State: 96:[110, 14], Operations: ['66+44=110', '43-29=14']
Exploring Operation: 110-14=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[66, 44, 29, 43], Operations: []
Exploring Operation: 66+29=95, Resulting Numbers: [44, 43, 95]
Generated Node #0,0: 96:[44, 43, 95] Operation: 66+29=95
Exploring Operation: 66-44=22, Resulting Numbers: [29, 43, 22]
Generated Node #0,1: 96:[29, 43, 22] Operation: 66-44=22
Exploring Operation: 66-43=23, Resulting Numbers: [44, 29, 23]
Generated Node #0,2: 96:[44, 29, 23] Operation: 66-43=23
Exploring Operation: 66-29=37, Resulting Numbers: [44, 43, 37]
Generated Node #0,3: 96:[44, 43, 37] Operation: 66-29=37
Exploring Operation: 66+43=109, Resulting Numbers: [44, 29, 109]
Generated Node #0,4: 96:[44, 29, 109] Operation: 66+43=109
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[44, 29, 23], Operations: ['66-43=23']
Exploring Operation: 44-23=21, Resulting Numbers: [29, 21]
Generated Node #0,2,0: 96:[29, 21] Operation: 44-23=21
Exploring Operation: 29+23=52, Resulting Numbers: [44, 52]
Generated Node #0,2,1: 96:[44, 52] Operation: 29+23=52
Exploring Operation: 44-29=15, Resulting Numbers: [23, 15]
Generated Node #0,2,2: 96:[23, 15] Operation: 44-29=15
Exploring Operation: 44+23=67, Resulting Numbers: [29, 67]
Generated Node #0,2,3: 96:[29, 67] Operation: 44+23=67
Exploring Operation: 29-23=6, Resulting Numbers: [44, 6]
Generated Node #0,2,4: 96:[44, 6] Operation: 29-23=6
Moving to Node #0,2,2
Current State: 96:[23, 15], Operations: ['66-43=23', '44-29=15']
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,96 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Moving to Node #0,2,4
Current State: 96:[44, 6], Operations: ['66-43=23', '29-23=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,96 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[29, 21], Operations: ['66-43=23', '44-23=21']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[44, 52], Operations: ['66-43=23', '29+23=52']
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,96 unequal: No Solution
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[66, 44, 29, 43], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [44, 29, 23]
Generated Node #0,2: 96:[44, 29, 23] Operation: 66-43=23
Moving to Node #0,2
Current State: 96:[44, 29, 23], Operations: ['66-43=23']
Exploring Operation: 29+23=52, Resulting Numbers: [44, 52]
Generated Node #0,2,1: 96:[44, 52] Operation: 29+23=52
Moving to Node #0,2,1
Current State: 96:[44, 52], Operations: ['66-43=23', '29+23=52']
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
96,
4,
5,
94
] | 65 | [
"96/4=24",
"94-5=89",
"89-24=65"
] | Current State: 65:[96, 4, 5, 94], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [5, 94, 24]
Generated Node #2: [5, 94, 24] from Operation: 96/4=24
Current State: 65:[5, 94, 24], Operations: ['96/4=24']
Exploring Operation: 94-5=89, Resulting Numbers: [24, 89]
Generated Node #3: [24, 89] from Operation: 94-5=89
Current State: 65:[24, 89], Operations: ['96/4=24', '94-5=89']
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[96, 4, 5, 94], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [5, 94, 24]
Generated Node #0,0: 65:[5, 94, 24] Operation: 96/4=24
Exploring Operation: 96-94=2, Resulting Numbers: [4, 5, 2]
Generated Node #0,1: 65:[4, 5, 2] Operation: 96-94=2
Exploring Operation: 96-4=92, Resulting Numbers: [5, 94, 92]
Generated Node #0,2: 65:[5, 94, 92] Operation: 96-4=92
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[4, 5, 2], Operations: ['96-94=2']
Exploring Operation: 4*2=8, Resulting Numbers: [5, 8]
Generated Node #0,1,0: 65:[5, 8] Operation: 4*2=8
Exploring Operation: 4+2=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 65:[5, 6] Operation: 4+2=6
Exploring Operation: 4-2=2, Resulting Numbers: [5, 2]
Generated Node #0,1,2: 65:[5, 2] Operation: 4-2=2
Moving to Node #0,1,1
Current State: 65:[5, 6], Operations: ['96-94=2', '4+2=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[5, 8], Operations: ['96-94=2', '4*2=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[5, 2], Operations: ['96-94=2', '4-2=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[5, 94, 24], Operations: ['96/4=24']
Exploring Operation: 94-24=70, Resulting Numbers: [5, 70]
Generated Node #0,0,0: 65:[5, 70] Operation: 94-24=70
Exploring Operation: 94-5=89, Resulting Numbers: [24, 89]
Generated Node #0,0,1: 65:[24, 89] Operation: 94-5=89
Exploring Operation: 24-5=19, Resulting Numbers: [94, 19]
Generated Node #0,0,2: 65:[94, 19] Operation: 24-5=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[5, 70], Operations: ['96/4=24', '94-24=70']
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[96, 4, 5, 94], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [5, 94, 24]
Generated Node #0,0: 65:[5, 94, 24] Operation: 96/4=24
Moving to Node #0,0
Current State: 65:[5, 94, 24], Operations: ['96/4=24']
Exploring Operation: 94-24=70, Resulting Numbers: [5, 70]
Generated Node #0,0,0: 65:[5, 70] Operation: 94-24=70
Moving to Node #0,0,0
Current State: 65:[5, 70], Operations: ['96/4=24', '94-24=70']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
5,
96,
31,
33
] | 46 | [
"96-31=65",
"65/5=13",
"33+13=46"
] | Current State: 46:[5, 96, 31, 33], Operations: []
Exploring Operation: 96-31=65, Resulting Numbers: [5, 33, 65]
Generated Node #2: [5, 33, 65] from Operation: 96-31=65
Current State: 46:[5, 33, 65], Operations: ['96-31=65']
Exploring Operation: 65/5=13, Resulting Numbers: [33, 13]
Generated Node #3: [33, 13] from Operation: 65/5=13
Current State: 46:[33, 13], Operations: ['96-31=65', '65/5=13']
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[5, 96, 31, 33], Operations: []
Exploring Operation: 96-33=63, Resulting Numbers: [5, 31, 63]
Generated Node #0,0: 46:[5, 31, 63] Operation: 96-33=63
Exploring Operation: 33-31=2, Resulting Numbers: [5, 96, 2]
Generated Node #0,1: 46:[5, 96, 2] Operation: 33-31=2
Exploring Operation: 96-31=65, Resulting Numbers: [5, 33, 65]
Generated Node #0,2: 46:[5, 33, 65] Operation: 96-31=65
Moving to Node #0,0
Current State: 46:[5, 31, 63], Operations: ['96-33=63']
Exploring Operation: 63-5=58, Resulting Numbers: [31, 58]
Generated Node #0,0,0: 46:[31, 58] Operation: 63-5=58
Exploring Operation: 63-31=32, Resulting Numbers: [5, 32]
Generated Node #0,0,1: 46:[5, 32] Operation: 63-31=32
Exploring Operation: 31-5=26, Resulting Numbers: [63, 26]
Generated Node #0,0,2: 46:[63, 26] Operation: 31-5=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[5, 32], Operations: ['96-33=63', '63-31=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,46 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[31, 58], Operations: ['96-33=63', '63-5=58']
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,46 unequal: No Solution
Exploring Operation: 31+58=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 31*58=1798, Resulting Numbers: [1798]
1798,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[63, 26], Operations: ['96-33=63', '31-5=26']
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,46 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,46 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: 46:[5, 33, 65], Operations: ['96-31=65']
Exploring Operation: 65/5=13, Resulting Numbers: [33, 13]
Generated Node #0,2,0: 46:[33, 13] Operation: 65/5=13
Exploring Operation: 65-33=32, Resulting Numbers: [5, 32]
Generated Node #0,2,1: 46:[5, 32] Operation: 65-33=32
Exploring Operation: 33-5=28, Resulting Numbers: [65, 28]
Generated Node #0,2,2: 46:[65, 28] Operation: 33-5=28
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 46:[5, 32], Operations: ['96-31=65', '65-33=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,46 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,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,2,0
Current State: 46:[33, 13], Operations: ['96-31=65', '65/5=13']
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[5, 96, 31, 33], Operations: []
Exploring Operation: 96-31=65, Resulting Numbers: [5, 33, 65]
Generated Node #0,2: 46:[5, 33, 65] Operation: 96-31=65
Moving to Node #0,2
Current State: 46:[5, 33, 65], Operations: ['96-31=65']
Exploring Operation: 65/5=13, Resulting Numbers: [33, 13]
Generated Node #0,2,0: 46:[33, 13] Operation: 65/5=13
Moving to Node #0,2,0
Current State: 46:[33, 13], Operations: ['96-31=65', '65/5=13']
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
78,
8,
14,
12
] | 31 | [
"14-12=2",
"78/2=39",
"39-8=31"
] | Current State: 31:[78, 8, 14, 12], Operations: []
Exploring Operation: 14-12=2, Resulting Numbers: [78, 8, 2]
Generated Node #2: [78, 8, 2] from Operation: 14-12=2
Current State: 31:[78, 8, 2], Operations: ['14-12=2']
Exploring Operation: 78/2=39, Resulting Numbers: [8, 39]
Generated Node #3: [8, 39] from Operation: 78/2=39
Current State: 31:[8, 39], Operations: ['14-12=2', '78/2=39']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[78, 8, 14, 12], Operations: []
Exploring Operation: 78-8=70, Resulting Numbers: [14, 12, 70]
Generated Node #0,0: 31:[14, 12, 70] Operation: 78-8=70
Exploring Operation: 78-12=66, Resulting Numbers: [8, 14, 66]
Generated Node #0,1: 31:[8, 14, 66] Operation: 78-12=66
Exploring Operation: 8+14=22, Resulting Numbers: [78, 12, 22]
Generated Node #0,2: 31:[78, 12, 22] Operation: 8+14=22
Exploring Operation: 78-14=64, Resulting Numbers: [8, 12, 64]
Generated Node #0,3: 31:[8, 12, 64] Operation: 78-14=64
Moving to Node #0,0
Current State: 31:[14, 12, 70], Operations: ['78-8=70']
Exploring Operation: 70-14=56, Resulting Numbers: [12, 56]
Generated Node #0,0,0: 31:[12, 56] Operation: 70-14=56
Exploring Operation: 70-12=58, Resulting Numbers: [14, 58]
Generated Node #0,0,1: 31:[14, 58] Operation: 70-12=58
Exploring Operation: 70/14=5, Resulting Numbers: [12, 5]
Generated Node #0,0,2: 31:[12, 5] Operation: 70/14=5
Exploring Operation: 14+12=26, Resulting Numbers: [70, 26]
Generated Node #0,0,3: 31:[70, 26] Operation: 14+12=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[12, 56], Operations: ['78-8=70', '70-14=56']
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,31 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[14, 58], Operations: ['78-8=70', '70-12=58']
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 31:[70, 26], Operations: ['78-8=70', '14+12=26']
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 70+26=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Exploring Operation: 70*26=1820, Resulting Numbers: [1820]
1820,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 31:[12, 5], Operations: ['78-8=70', '70/14=5']
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 31:[78, 12, 22], Operations: ['8+14=22']
Exploring Operation: 78-22=56, Resulting Numbers: [12, 56]
Generated Node #0,2,0: 31:[12, 56] Operation: 78-22=56
Exploring Operation: 78-12=66, Resulting Numbers: [22, 66]
Generated Node #0,2,1: 31:[22, 66] Operation: 78-12=66
Exploring Operation: 12+22=34, Resulting Numbers: [78, 34]
Generated Node #0,2,2: 31:[78, 34] Operation: 12+22=34
Exploring Operation: 78+12=90, Resulting Numbers: [22, 90]
Generated Node #0,2,3: 31:[22, 90] Operation: 78+12=90
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[12, 56], Operations: ['8+14=22', '78-22=56']
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,31 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[22, 66], Operations: ['8+14=22', '78-12=66']
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 22*66=1452, Resulting Numbers: [1452]
1452,31 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 22+66=88, Resulting Numbers: [88]
88,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[78, 34], Operations: ['8+14=22', '12+22=34']
Exploring Operation: 78*34=2652, Resulting Numbers: [2652]
2652,31 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 78+34=112, Resulting Numbers: [112]
112,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 31:[22, 90], Operations: ['8+14=22', '78+12=90']
Exploring Operation: 22+90=112, Resulting Numbers: [112]
112,31 unequal: No Solution
Exploring Operation: 22*90=1980, Resulting Numbers: [1980]
1980,31 unequal: No Solution
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,31 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: 31:[8, 14, 66], Operations: ['78-12=66']
Exploring Operation: 14-8=6, Resulting Numbers: [66, 6]
Generated Node #0,1,0: 31:[66, 6] Operation: 14-8=6
Exploring Operation: 8+14=22, Resulting Numbers: [66, 22]
Generated Node #0,1,1: 31:[66, 22] Operation: 8+14=22
Exploring Operation: 66-14=52, Resulting Numbers: [8, 52]
Generated Node #0,1,2: 31:[8, 52] Operation: 66-14=52
Exploring Operation: 66-8=58, Resulting Numbers: [14, 58]
Generated Node #0,1,3: 31:[14, 58] Operation: 66-8=58
Moving to Node #0,3
Current State: 31:[8, 12, 64], Operations: ['78-14=64']
Exploring Operation: 64-12=52, Resulting Numbers: [8, 52]
Generated Node #0,3,0: 31:[8, 52] Operation: 64-12=52
Exploring Operation: 8+12=20, Resulting Numbers: [64, 20]
Generated Node #0,3,1: 31:[64, 20] Operation: 8+12=20
Exploring Operation: 64-8=56, Resulting Numbers: [12, 56]
Generated Node #0,3,2: 31:[12, 56] Operation: 64-8=56
Exploring Operation: 64/8=8, Resulting Numbers: [12, 8]
Generated Node #0,3,3: 31:[12, 8] Operation: 64/8=8
Moving to Node #0,3,3
Current State: 31:[12, 8], Operations: ['78-14=64', '64/8=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[14, 58], Operations: ['78-12=66', '66-8=58']
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,31 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[64, 20], Operations: ['78-14=64', '8+12=20']
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,31 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[8, 52], Operations: ['78-14=64', '64-12=52']
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,31 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[66, 22], Operations: ['78-12=66', '8+14=22']
Exploring Operation: 66*22=1452, Resulting Numbers: [1452]
1452,31 unequal: No Solution
Exploring Operation: 66+22=88, Resulting Numbers: [88]
88,31 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[12, 56], Operations: ['78-14=64', '64-8=56']
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,31 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[8, 52], Operations: ['78-12=66', '66-14=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[66, 6], Operations: ['78-12=66', '14-8=6']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 66*6=396, Resulting Numbers: [396]
396,31 unequal: No Solution
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,31 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
74,
44,
65,
39
] | 61 | [
"44-39=5",
"65/5=13",
"74-13=61"
] | Current State: 61:[74, 44, 65, 39], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [74, 65, 5]
Generated Node #2: [74, 65, 5] from Operation: 44-39=5
Current State: 61:[74, 65, 5], Operations: ['44-39=5']
Exploring Operation: 65/5=13, Resulting Numbers: [74, 13]
Generated Node #3: [74, 13] from Operation: 65/5=13
Current State: 61:[74, 13], Operations: ['44-39=5', '65/5=13']
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[74, 44, 65, 39], Operations: []
Exploring Operation: 74-44=30, Resulting Numbers: [65, 39, 30]
Generated Node #0,0: 61:[65, 39, 30] Operation: 74-44=30
Exploring Operation: 44+39=83, Resulting Numbers: [74, 65, 83]
Generated Node #0,1: 61:[74, 65, 83] Operation: 44+39=83
Exploring Operation: 74-39=35, Resulting Numbers: [44, 65, 35]
Generated Node #0,2: 61:[44, 65, 35] Operation: 74-39=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[74, 65, 83], Operations: ['44+39=83']
Exploring Operation: 74-65=9, Resulting Numbers: [83, 9]
Generated Node #0,1,0: 61:[83, 9] Operation: 74-65=9
Exploring Operation: 83-74=9, Resulting Numbers: [65, 9]
Generated Node #0,1,1: 61:[65, 9] Operation: 83-74=9
Exploring Operation: 83-65=18, Resulting Numbers: [74, 18]
Generated Node #0,1,2: 61:[74, 18] Operation: 83-65=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[65, 9], Operations: ['44+39=83', '83-74=9']
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 65*9=585, Resulting Numbers: [585]
585,61 unequal: No Solution
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,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,2
Current State: 61:[74, 18], Operations: ['44+39=83', '83-65=18']
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,61 unequal: No Solution
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[83, 9], Operations: ['44+39=83', '74-65=9']
Exploring Operation: 83*9=747, Resulting Numbers: [747]
747,61 unequal: No Solution
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[44, 65, 35], Operations: ['74-39=35']
Exploring Operation: 44+35=79, Resulting Numbers: [65, 79]
Generated Node #0,2,0: 61:[65, 79] Operation: 44+35=79
Exploring Operation: 65-35=30, Resulting Numbers: [44, 30]
Generated Node #0,2,1: 61:[44, 30] Operation: 65-35=30
Exploring Operation: 44-35=9, Resulting Numbers: [65, 9]
Generated Node #0,2,2: 61:[65, 9] Operation: 44-35=9
Moving to Node #0,2,0
Current State: 61:[65, 79], Operations: ['74-39=35', '44+35=79']
Exploring Operation: 79-65=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 65*79=5135, Resulting Numbers: [5135]
5135,61 unequal: No Solution
Exploring Operation: 65+79=144, Resulting Numbers: [144]
144,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[44, 30], Operations: ['74-39=35', '65-35=30']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,61 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[65, 9], Operations: ['74-39=35', '44-35=9']
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 65*9=585, Resulting Numbers: [585]
585,61 unequal: No Solution
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[65, 39, 30], Operations: ['74-44=30']
Exploring Operation: 39+30=69, Resulting Numbers: [65, 69]
Generated Node #0,0,0: 61:[65, 69] Operation: 39+30=69
Exploring Operation: 65-30=35, Resulting Numbers: [39, 35]
Generated Node #0,0,1: 61:[39, 35] Operation: 65-30=35
Exploring Operation: 65+30=95, Resulting Numbers: [39, 95]
Generated Node #0,0,2: 61:[39, 95] Operation: 65+30=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[65, 69], Operations: ['74-44=30', '39+30=69']
Exploring Operation: 65+69=134, Resulting Numbers: [134]
134,61 unequal: No Solution
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 65*69=4485, Resulting Numbers: [4485]
4485,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,0,1
Current State: 61:[39, 35], Operations: ['74-44=30', '65-30=35']
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 39*35=1365, Resulting Numbers: [1365]
1365,61 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,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,0,2
Current State: 61:[39, 95], Operations: ['74-44=30', '65+30=95']
Exploring Operation: 39*95=3705, Resulting Numbers: [3705]
3705,61 unequal: No Solution
Exploring Operation: 95-39=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 39+95=134, Resulting Numbers: [134]
134,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_3 | sum_heuristic |
[
31,
48,
57,
87
] | 55 | [
"31*87=2697",
"2697-57=2640",
"2640/48=55"
] | Current State: 55:[31, 48, 57, 87], Operations: []
Exploring Operation: 31*87=2697, Resulting Numbers: [48, 57, 2697]
Generated Node #2: [48, 57, 2697] from Operation: 31*87=2697
Current State: 55:[48, 57, 2697], Operations: ['31*87=2697']
Exploring Operation: 2697-57=2640, Resulting Numbers: [48, 2640]
Generated Node #3: [48, 2640] from Operation: 2697-57=2640
Current State: 55:[48, 2640], Operations: ['31*87=2697', '2697-57=2640']
Exploring Operation: 2640/48=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[31, 48, 57, 87], Operations: []
Exploring Operation: 87-31=56, Resulting Numbers: [48, 57, 56]
Generated Node #0,0: 55:[48, 57, 56] Operation: 87-31=56
Moving to Node #0,0
Current State: 55:[48, 57, 56], Operations: ['87-31=56']
Exploring Operation: 57-48=9, Resulting Numbers: [56, 9]
Generated Node #0,0,0: 55:[56, 9] Operation: 57-48=9
Moving to Node #0,0,0
Current State: 55:[56, 9], Operations: ['87-31=56', '57-48=9']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,55 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
63,
42,
6
] | 15 | [
"14*63=882",
"882/42=21",
"21-6=15"
] | Current State: 15:[14, 63, 42, 6], Operations: []
Exploring Operation: 14*63=882, Resulting Numbers: [42, 6, 882]
Generated Node #2: [42, 6, 882] from Operation: 14*63=882
Current State: 15:[42, 6, 882], Operations: ['14*63=882']
Exploring Operation: 882/42=21, Resulting Numbers: [6, 21]
Generated Node #3: [6, 21] from Operation: 882/42=21
Current State: 15:[6, 21], Operations: ['14*63=882', '882/42=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[14, 63, 42, 6], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [63, 6, 3]
Generated Node #0,0: 15:[63, 6, 3] Operation: 42/14=3
Exploring Operation: 63-42=21, Resulting Numbers: [14, 6, 21]
Generated Node #0,1: 15:[14, 6, 21] Operation: 63-42=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[14, 6, 21], Operations: ['63-42=21']
Exploring Operation: 21-14=7, Resulting Numbers: [6, 7]
Generated Node #0,1,0: 15:[6, 7] Operation: 21-14=7
Exploring Operation: 21-6=15, Resulting Numbers: [14, 15]
Generated Node #0,1,1: 15:[14, 15] Operation: 21-6=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[14, 15], Operations: ['63-42=21', '21-6=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,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,1,0
Current State: 15:[6, 7], Operations: ['63-42=21', '21-14=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,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,0
Current State: 15:[63, 6, 3], Operations: ['42/14=3']
Exploring Operation: 63-6=57, Resulting Numbers: [3, 57]
Generated Node #0,0,0: 15:[3, 57] Operation: 63-6=57
Exploring Operation: 63/3=21, Resulting Numbers: [6, 21]
Generated Node #0,0,1: 15:[6, 21] Operation: 63/3=21
Moving to Node #0,0,1
Current State: 15:[6, 21], Operations: ['42/14=3', '63/3=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[14, 63, 42, 6], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [63, 6, 3]
Generated Node #0,0: 15:[63, 6, 3] Operation: 42/14=3
Moving to Node #0,0
Current State: 15:[63, 6, 3], Operations: ['42/14=3']
Exploring Operation: 63/3=21, Resulting Numbers: [6, 21]
Generated Node #0,0,1: 15:[6, 21] Operation: 63/3=21
Moving to Node #0,0,1
Current State: 15:[6, 21], Operations: ['42/14=3', '63/3=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
29,
45,
51,
63
] | 86 | [
"29+45=74",
"63-51=12",
"74+12=86"
] | Current State: 86:[29, 45, 51, 63], Operations: []
Exploring Operation: 29+45=74, Resulting Numbers: [51, 63, 74]
Generated Node #2: [51, 63, 74] from Operation: 29+45=74
Current State: 86:[51, 63, 74], Operations: ['29+45=74']
Exploring Operation: 63-51=12, Resulting Numbers: [74, 12]
Generated Node #3: [74, 12] from Operation: 63-51=12
Current State: 86:[74, 12], Operations: ['29+45=74', '63-51=12']
Exploring Operation: 74+12=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[29, 45, 51, 63], Operations: []
Exploring Operation: 29+63=92, Resulting Numbers: [45, 51, 92]
Generated Node #0,0: 86:[45, 51, 92] Operation: 29+63=92
Moving to Node #0,0
Current State: 86:[45, 51, 92], Operations: ['29+63=92']
Exploring Operation: 92-51=41, Resulting Numbers: [45, 41]
Generated Node #0,0,0: 86:[45, 41] Operation: 92-51=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[45, 41], Operations: ['29+63=92', '92-51=41']
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[29, 45, 51, 63], Operations: []
Exploring Operation: 29+63=92, Resulting Numbers: [45, 51, 92]
Generated Node #0,0: 86:[45, 51, 92] Operation: 29+63=92
Moving to Node #0,0
Current State: 86:[45, 51, 92], Operations: ['29+63=92']
Exploring Operation: 92-51=41, Resulting Numbers: [45, 41]
Generated Node #0,0,0: 86:[45, 41] Operation: 92-51=41
Moving to Node #0,0,0
Current State: 86:[45, 41], Operations: ['29+63=92', '92-51=41']
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
4,
48,
3,
49
] | 35 | [
"3+49=52",
"52/4=13",
"48-13=35"
] | Current State: 35:[4, 48, 3, 49], Operations: []
Exploring Operation: 3+49=52, Resulting Numbers: [4, 48, 52]
Generated Node #2: [4, 48, 52] from Operation: 3+49=52
Current State: 35:[4, 48, 52], Operations: ['3+49=52']
Exploring Operation: 52/4=13, Resulting Numbers: [48, 13]
Generated Node #3: [48, 13] from Operation: 52/4=13
Current State: 35:[48, 13], Operations: ['3+49=52', '52/4=13']
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[4, 48, 3, 49], Operations: []
Exploring Operation: 48/4=12, Resulting Numbers: [3, 49, 12]
Generated Node #0,0: 35:[3, 49, 12] Operation: 48/4=12
Exploring Operation: 48/3=16, Resulting Numbers: [4, 49, 16]
Generated Node #0,1: 35:[4, 49, 16] Operation: 48/3=16
Exploring Operation: 49-48=1, Resulting Numbers: [4, 3, 1]
Generated Node #0,2: 35:[4, 3, 1] Operation: 49-48=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[4, 3, 1], Operations: ['49-48=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4, 4]
Generated Node #0,2,0: 35:[4, 4] Operation: 3+1=4
Exploring Operation: 4*1=4, Resulting Numbers: [3, 4]
Generated Node #0,2,1: 35:[3, 4] Operation: 4*1=4
Exploring Operation: 4+1=5, Resulting Numbers: [3, 5]
Generated Node #0,2,2: 35:[3, 5] Operation: 4+1=5
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[4, 4], Operations: ['49-48=1', '3+1=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No 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: 35:[3, 5], Operations: ['49-48=1', '4+1=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,35 unequal: No Solution
No 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: 35:[3, 4], Operations: ['49-48=1', '4*1=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,35 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: 35:[3, 49, 12], Operations: ['48/4=12']
Exploring Operation: 3*12=36, Resulting Numbers: [49, 36]
Generated Node #0,0,0: 35:[49, 36] Operation: 3*12=36
Exploring Operation: 49-12=37, Resulting Numbers: [3, 37]
Generated Node #0,0,1: 35:[3, 37] Operation: 49-12=37
Exploring Operation: 12/3=4, Resulting Numbers: [49, 4]
Generated Node #0,0,2: 35:[49, 4] Operation: 12/3=4
Moving to Node #0,0,1
Current State: 35:[3, 37], Operations: ['48/4=12', '49-12=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[49, 36], Operations: ['48/4=12', '3*12=36']
Exploring Operation: 49+36=85, Resulting Numbers: [85]
85,35 unequal: No Solution
Exploring Operation: 49*36=1764, Resulting Numbers: [1764]
1764,35 unequal: No Solution
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[49, 4], Operations: ['48/4=12', '12/3=4']
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,35 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,35 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[4, 49, 16], Operations: ['48/3=16']
Exploring Operation: 49-4=45, Resulting Numbers: [16, 45]
Generated Node #0,1,0: 35:[16, 45] Operation: 49-4=45
Exploring Operation: 16/4=4, Resulting Numbers: [49, 4]
Generated Node #0,1,1: 35:[49, 4] Operation: 16/4=4
Exploring Operation: 49-16=33, Resulting Numbers: [4, 33]
Generated Node #0,1,2: 35:[4, 33] Operation: 49-16=33
Moving to Node #0,1,2
Current State: 35:[4, 33], Operations: ['48/3=16', '49-16=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[49, 4], Operations: ['48/3=16', '16/4=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,35 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[16, 45], Operations: ['48/3=16', '49-4=45']
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,35 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,35 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 |
[
72,
28,
22,
31
] | 97 | [
"72-28=44",
"22+31=53",
"44+53=97"
] | Current State: 97:[72, 28, 22, 31], Operations: []
Exploring Operation: 72-28=44, Resulting Numbers: [22, 31, 44]
Generated Node #2: [22, 31, 44] from Operation: 72-28=44
Current State: 97:[22, 31, 44], Operations: ['72-28=44']
Exploring Operation: 22+31=53, Resulting Numbers: [44, 53]
Generated Node #3: [44, 53] from Operation: 22+31=53
Current State: 97:[44, 53], Operations: ['72-28=44', '22+31=53']
Exploring Operation: 44+53=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[72, 28, 22, 31], Operations: []
Exploring Operation: 28+31=59, Resulting Numbers: [72, 22, 59]
Generated Node #0,0: 97:[72, 22, 59] Operation: 28+31=59
Exploring Operation: 28+22=50, Resulting Numbers: [72, 31, 50]
Generated Node #0,1: 97:[72, 31, 50] Operation: 28+22=50
Exploring Operation: 72+22=94, Resulting Numbers: [28, 31, 94]
Generated Node #0,2: 97:[28, 31, 94] Operation: 72+22=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[72, 22, 59], Operations: ['28+31=59']
Exploring Operation: 72-22=50, Resulting Numbers: [59, 50]
Generated Node #0,0,0: 97:[59, 50] Operation: 72-22=50
Exploring Operation: 22+59=81, Resulting Numbers: [72, 81]
Generated Node #0,0,1: 97:[72, 81] Operation: 22+59=81
Exploring Operation: 72+22=94, Resulting Numbers: [59, 94]
Generated Node #0,0,2: 97:[59, 94] Operation: 72+22=94
Moving to Node #0,0,1
Current State: 97:[72, 81], Operations: ['28+31=59', '22+59=81']
Exploring Operation: 72+81=153, Resulting Numbers: [153]
153,97 unequal: No Solution
Exploring Operation: 72*81=5832, Resulting Numbers: [5832]
5832,97 unequal: No Solution
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[59, 94], Operations: ['28+31=59', '72+22=94']
Exploring Operation: 94-59=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 59*94=5546, Resulting Numbers: [5546]
5546,97 unequal: No Solution
Exploring Operation: 59+94=153, Resulting Numbers: [153]
153,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[59, 50], Operations: ['28+31=59', '72-22=50']
Exploring Operation: 59+50=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 59*50=2950, Resulting Numbers: [2950]
2950,97 unequal: No Solution
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[72, 31, 50], Operations: ['28+22=50']
Exploring Operation: 31+50=81, Resulting Numbers: [72, 81]
Generated Node #0,1,0: 97:[72, 81] Operation: 31+50=81
Exploring Operation: 72+31=103, Resulting Numbers: [50, 103]
Generated Node #0,1,1: 97:[50, 103] Operation: 72+31=103
Exploring Operation: 72+50=122, Resulting Numbers: [31, 122]
Generated Node #0,1,2: 97:[31, 122] Operation: 72+50=122
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[72, 81], Operations: ['28+22=50', '31+50=81']
Exploring Operation: 72*81=5832, Resulting Numbers: [5832]
5832,97 unequal: No Solution
Exploring Operation: 72+81=153, Resulting Numbers: [153]
153,97 unequal: No Solution
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[50, 103], Operations: ['28+22=50', '72+31=103']
Exploring Operation: 103-50=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 50*103=5150, Resulting Numbers: [5150]
5150,97 unequal: No Solution
Exploring Operation: 50+103=153, Resulting Numbers: [153]
153,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[31, 122], Operations: ['28+22=50', '72+50=122']
Exploring Operation: 31+122=153, Resulting Numbers: [153]
153,97 unequal: No Solution
Exploring Operation: 122-31=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 31*122=3782, Resulting Numbers: [3782]
3782,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[28, 31, 94], Operations: ['72+22=94']
Exploring Operation: 31-28=3, Resulting Numbers: [94, 3]
Generated Node #0,2,0: 97:[94, 3] Operation: 31-28=3
Exploring Operation: 28+31=59, Resulting Numbers: [94, 59]
Generated Node #0,2,1: 97:[94, 59] Operation: 28+31=59
Exploring Operation: 28+94=122, Resulting Numbers: [31, 122]
Generated Node #0,2,2: 97:[31, 122] Operation: 28+94=122
Moving to Node #0,2,1
Current State: 97:[94, 59], Operations: ['72+22=94', '28+31=59']
Exploring Operation: 94-59=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 94*59=5546, Resulting Numbers: [5546]
5546,97 unequal: No Solution
Exploring Operation: 94+59=153, Resulting Numbers: [153]
153,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[31, 122], Operations: ['72+22=94', '28+94=122']
Exploring Operation: 122-31=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 31*122=3782, Resulting Numbers: [3782]
3782,97 unequal: No Solution
Exploring Operation: 31+122=153, Resulting Numbers: [153]
153,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[94, 3], Operations: ['72+22=94', '31-28=3']
Exploring Operation: 94*3=282, Resulting Numbers: [282]
282,97 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[72, 28, 22, 31], Operations: []
Exploring Operation: 72+22=94, Resulting Numbers: [28, 31, 94]
Generated Node #0,2: 97:[28, 31, 94] Operation: 72+22=94
Moving to Node #0,2
Current State: 97:[28, 31, 94], Operations: ['72+22=94']
Exploring Operation: 31-28=3, Resulting Numbers: [94, 3]
Generated Node #0,2,0: 97:[94, 3] Operation: 31-28=3
Moving to Node #0,2,0
Current State: 97:[94, 3], Operations: ['72+22=94', '31-28=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_3 | mult_heuristic |
[
53,
2,
6,
12
] | 35 | [
"53+6=59",
"2*12=24",
"59-24=35"
] | Current State: 35:[53, 2, 6, 12], Operations: []
Exploring Operation: 53+6=59, Resulting Numbers: [2, 12, 59]
Generated Node #2: [2, 12, 59] from Operation: 53+6=59
Current State: 35:[2, 12, 59], Operations: ['53+6=59']
Exploring Operation: 2*12=24, Resulting Numbers: [59, 24]
Generated Node #3: [59, 24] from Operation: 2*12=24
Current State: 35:[59, 24], Operations: ['53+6=59', '2*12=24']
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[53, 2, 6, 12], Operations: []
Exploring Operation: 53-12=41, Resulting Numbers: [2, 6, 41]
Generated Node #0,0: 35:[2, 6, 41] Operation: 53-12=41
Moving to Node #0,0
Current State: 35:[2, 6, 41], Operations: ['53-12=41']
Exploring Operation: 41-6=35, Resulting Numbers: [2, 35]
Generated Node #0,0,0: 35:[2, 35] Operation: 41-6=35
Moving to Node #0,0,0
Current State: 35:[2, 35], Operations: ['53-12=41', '41-6=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,35 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
80,
5,
17,
43
] | 21 | [
"80*5=400",
"400-43=357",
"357/17=21"
] | Current State: 21:[80, 5, 17, 43], Operations: []
Exploring Operation: 80*5=400, Resulting Numbers: [17, 43, 400]
Generated Node #2: [17, 43, 400] from Operation: 80*5=400
Current State: 21:[17, 43, 400], Operations: ['80*5=400']
Exploring Operation: 400-43=357, Resulting Numbers: [17, 357]
Generated Node #3: [17, 357] from Operation: 400-43=357
Current State: 21:[17, 357], Operations: ['80*5=400', '400-43=357']
Exploring Operation: 357/17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[80, 5, 17, 43], Operations: []
Exploring Operation: 80-43=37, Resulting Numbers: [5, 17, 37]
Generated Node #0,0: 21:[5, 17, 37] Operation: 80-43=37
Exploring Operation: 80-17=63, Resulting Numbers: [5, 43, 63]
Generated Node #0,1: 21:[5, 43, 63] Operation: 80-17=63
Exploring Operation: 80/5=16, Resulting Numbers: [17, 43, 16]
Generated Node #0,2: 21:[17, 43, 16] Operation: 80/5=16
Moving to Node #0,0
Current State: 21:[5, 17, 37], Operations: ['80-43=37']
Exploring Operation: 5+17=22, Resulting Numbers: [37, 22]
Generated Node #0,0,0: 21:[37, 22] Operation: 5+17=22
Exploring Operation: 37-17=20, Resulting Numbers: [5, 20]
Generated Node #0,0,1: 21:[5, 20] Operation: 37-17=20
Exploring Operation: 37-5=32, Resulting Numbers: [17, 32]
Generated Node #0,0,2: 21:[17, 32] Operation: 37-5=32
Moving to Node #0,2
Current State: 21:[17, 43, 16], Operations: ['80/5=16']
Exploring Operation: 17-16=1, Resulting Numbers: [43, 1]
Generated Node #0,2,0: 21:[43, 1] Operation: 17-16=1
Exploring Operation: 43-16=27, Resulting Numbers: [17, 27]
Generated Node #0,2,1: 21:[17, 27] Operation: 43-16=27
Exploring Operation: 43-17=26, Resulting Numbers: [16, 26]
Generated Node #0,2,2: 21:[16, 26] Operation: 43-17=26
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[17, 27], Operations: ['80/5=16', '43-16=27']
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,21 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,21 unequal: No Solution
No 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: 21:[16, 26], Operations: ['80/5=16', '43-17=26']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,21 unequal: No Solution
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,21 unequal: No Solution
No 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: 21:[43, 1], Operations: ['80/5=16', '17-16=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,21 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,21 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: 21:[5, 43, 63], Operations: ['80-17=63']
Exploring Operation: 63-43=20, Resulting Numbers: [5, 20]
Generated Node #0,1,0: 21:[5, 20] Operation: 63-43=20
Exploring Operation: 43-5=38, Resulting Numbers: [63, 38]
Generated Node #0,1,1: 21:[63, 38] Operation: 43-5=38
Exploring Operation: 63-5=58, Resulting Numbers: [43, 58]
Generated Node #0,1,2: 21:[43, 58] Operation: 63-5=58
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[5, 20], Operations: ['80-17=63', '63-43=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,21 unequal: No Solution
No 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: 21:[63, 38], Operations: ['80-17=63', '43-5=38']
Exploring Operation: 63+38=101, Resulting Numbers: [101]
101,21 unequal: No Solution
Exploring Operation: 63*38=2394, Resulting Numbers: [2394]
2394,21 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,21 unequal: No Solution
No 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: 21:[43, 58], Operations: ['80-17=63', '63-5=58']
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 43*58=2494, Resulting Numbers: [2494]
2494,21 unequal: No Solution
Exploring Operation: 43+58=101, Resulting Numbers: [101]
101,21 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: 21:[5, 20], Operations: ['80-43=37', '37-17=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[17, 32], Operations: ['80-43=37', '37-5=32']
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[37, 22], Operations: ['80-43=37', '5+17=22']
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,21 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,21 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
36,
46,
34,
32
] | 60 | [
"36-34=2",
"46*2=92",
"92-32=60"
] | Current State: 60:[36, 46, 34, 32], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [46, 32, 2]
Generated Node #2: [46, 32, 2] from Operation: 36-34=2
Current State: 60:[46, 32, 2], Operations: ['36-34=2']
Exploring Operation: 46*2=92, Resulting Numbers: [32, 92]
Generated Node #3: [32, 92] from Operation: 46*2=92
Current State: 60:[32, 92], Operations: ['36-34=2', '46*2=92']
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[36, 46, 34, 32], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [46, 32, 2]
Generated Node #0,0: 60:[46, 32, 2] Operation: 36-34=2
Exploring Operation: 46-36=10, Resulting Numbers: [34, 32, 10]
Generated Node #0,1: 60:[34, 32, 10] Operation: 46-36=10
Exploring Operation: 46-34=12, Resulting Numbers: [36, 32, 12]
Generated Node #0,2: 60:[36, 32, 12] Operation: 46-34=12
Exploring Operation: 46-32=14, Resulting Numbers: [36, 34, 14]
Generated Node #0,3: 60:[36, 34, 14] Operation: 46-32=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[34, 32, 10], Operations: ['46-36=10']
Exploring Operation: 34-32=2, Resulting Numbers: [10, 2]
Generated Node #0,1,0: 60:[10, 2] Operation: 34-32=2
Exploring Operation: 32-10=22, Resulting Numbers: [34, 22]
Generated Node #0,1,1: 60:[34, 22] Operation: 32-10=22
Exploring Operation: 34+32=66, Resulting Numbers: [10, 66]
Generated Node #0,1,2: 60:[10, 66] Operation: 34+32=66
Exploring Operation: 34-10=24, Resulting Numbers: [32, 24]
Generated Node #0,1,3: 60:[32, 24] Operation: 34-10=24
Moving to Node #0,1,0
Current State: 60:[10, 2], Operations: ['46-36=10', '34-32=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[10, 66], Operations: ['46-36=10', '34+32=66']
Exploring Operation: 10*66=660, Resulting Numbers: [660]
660,60 unequal: No Solution
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 10+66=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[34, 22], Operations: ['46-36=10', '32-10=22']
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,60 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[32, 24], Operations: ['46-36=10', '34-10=24']
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,60 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[36, 32, 12], Operations: ['46-34=12']
Exploring Operation: 36/12=3, Resulting Numbers: [32, 3]
Generated Node #0,2,0: 60:[32, 3] Operation: 36/12=3
Exploring Operation: 36-12=24, Resulting Numbers: [32, 24]
Generated Node #0,2,1: 60:[32, 24] Operation: 36-12=24
Exploring Operation: 36-32=4, Resulting Numbers: [12, 4]
Generated Node #0,2,2: 60:[12, 4] Operation: 36-32=4
Exploring Operation: 32-12=20, Resulting Numbers: [36, 20]
Generated Node #0,2,3: 60:[36, 20] Operation: 32-12=20
Moving to Node #0,2,2
Current State: 60:[12, 4], Operations: ['46-34=12', '36-32=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[32, 3], Operations: ['46-34=12', '36/12=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[36, 20], Operations: ['46-34=12', '32-12=20']
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[32, 24], Operations: ['46-34=12', '36-12=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,60 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[36, 34, 14], Operations: ['46-32=14']
Exploring Operation: 36-14=22, Resulting Numbers: [34, 22]
Generated Node #0,3,0: 60:[34, 22] Operation: 36-14=22
Exploring Operation: 36-34=2, Resulting Numbers: [14, 2]
Generated Node #0,3,1: 60:[14, 2] Operation: 36-34=2
Exploring Operation: 36+34=70, Resulting Numbers: [14, 70]
Generated Node #0,3,2: 60:[14, 70] Operation: 36+34=70
Exploring Operation: 34-14=20, Resulting Numbers: [36, 20]
Generated Node #0,3,3: 60:[36, 20] Operation: 34-14=20
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 60:[14, 2], Operations: ['46-32=14', '36-34=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,60 unequal: No Solution
No 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: 60:[34, 22], Operations: ['46-32=14', '36-14=22']
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,60 unequal: No Solution
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No 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: 60:[36, 20], Operations: ['46-32=14', '34-14=20']
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,60 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,60 unequal: No Solution
No 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: 60:[14, 70], Operations: ['46-32=14', '36+34=70']
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 14*70=980, Resulting Numbers: [980]
980,60 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[46, 32, 2], Operations: ['36-34=2']
Exploring Operation: 46/2=23, Resulting Numbers: [32, 23]
Generated Node #0,0,0: 60:[32, 23] Operation: 46/2=23
Exploring Operation: 46-32=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 60:[2, 14] Operation: 46-32=14
Exploring Operation: 46+2=48, Resulting Numbers: [32, 48]
Generated Node #0,0,2: 60:[32, 48] Operation: 46+2=48
Exploring Operation: 32-2=30, Resulting Numbers: [46, 30]
Generated Node #0,0,3: 60:[46, 30] Operation: 32-2=30
Moving to Node #0,0,1
Current State: 60:[2, 14], Operations: ['36-34=2', '46-32=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[32, 23], Operations: ['36-34=2', '46/2=23']
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,60 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[46, 30], Operations: ['36-34=2', '32-2=30']
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,60 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[32, 48], Operations: ['36-34=2', '46+2=48']
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,60 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,60 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,
75,
3,
56
] | 91 | [
"74*3=222",
"75+56=131",
"222-131=91"
] | Current State: 91:[74, 75, 3, 56], Operations: []
Exploring Operation: 74*3=222, Resulting Numbers: [75, 56, 222]
Generated Node #2: [75, 56, 222] from Operation: 74*3=222
Current State: 91:[75, 56, 222], Operations: ['74*3=222']
Exploring Operation: 75+56=131, Resulting Numbers: [222, 131]
Generated Node #3: [222, 131] from Operation: 75+56=131
Current State: 91:[222, 131], Operations: ['74*3=222', '75+56=131']
Exploring Operation: 222-131=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[74, 75, 3, 56], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [75, 3, 18]
Generated Node #0,0: 91:[75, 3, 18] Operation: 74-56=18
Exploring Operation: 75-56=19, Resulting Numbers: [74, 3, 19]
Generated Node #0,1: 91:[74, 3, 19] Operation: 75-56=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[75, 3, 18], Operations: ['74-56=18']
Exploring Operation: 75/3=25, Resulting Numbers: [18, 25]
Generated Node #0,0,0: 91:[18, 25] Operation: 75/3=25
Exploring Operation: 75+18=93, Resulting Numbers: [3, 93]
Generated Node #0,0,1: 91:[3, 93] Operation: 75+18=93
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[3, 93], Operations: ['74-56=18', '75+18=93']
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[18, 25], Operations: ['74-56=18', '75/3=25']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[74, 3, 19], Operations: ['75-56=19']
Exploring Operation: 74+19=93, Resulting Numbers: [3, 93]
Generated Node #0,1,0: 91:[3, 93] Operation: 74+19=93
Exploring Operation: 74+3=77, Resulting Numbers: [19, 77]
Generated Node #0,1,1: 91:[19, 77] Operation: 74+3=77
Moving to Node #0,1,0
Current State: 91:[3, 93], Operations: ['75-56=19', '74+19=93']
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[19, 77], Operations: ['75-56=19', '74+3=77']
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,91 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 |
[
76,
15,
2,
23
] | 80 | [
"23-15=8",
"8/2=4",
"76+4=80"
] | Current State: 80:[76, 15, 2, 23], Operations: []
Exploring Operation: 23-15=8, Resulting Numbers: [76, 2, 8]
Generated Node #2: [76, 2, 8] from Operation: 23-15=8
Current State: 80:[76, 2, 8], Operations: ['23-15=8']
Exploring Operation: 8/2=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 8/2=4
Current State: 80:[76, 4], Operations: ['23-15=8', '8/2=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[76, 15, 2, 23], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [15, 23, 38]
Generated Node #0,0: 80:[15, 23, 38] Operation: 76/2=38
Exploring Operation: 76+2=78, Resulting Numbers: [15, 23, 78]
Generated Node #0,1: 80:[15, 23, 78] Operation: 76+2=78
Exploring Operation: 15+23=38, Resulting Numbers: [76, 2, 38]
Generated Node #0,2: 80:[76, 2, 38] Operation: 15+23=38
Exploring Operation: 23-2=21, Resulting Numbers: [76, 15, 21]
Generated Node #0,3: 80:[76, 15, 21] Operation: 23-2=21
Exploring Operation: 23-15=8, Resulting Numbers: [76, 2, 8]
Generated Node #0,4: 80:[76, 2, 8] Operation: 23-15=8
Moving to Node #0,4
Current State: 80:[76, 2, 8], Operations: ['23-15=8']
Exploring Operation: 76+2=78, Resulting Numbers: [8, 78]
Generated Node #0,4,0: 80:[8, 78] Operation: 76+2=78
Exploring Operation: 76/2=38, Resulting Numbers: [8, 38]
Generated Node #0,4,1: 80:[8, 38] Operation: 76/2=38
Exploring Operation: 2*8=16, Resulting Numbers: [76, 16]
Generated Node #0,4,2: 80:[76, 16] Operation: 2*8=16
Exploring Operation: 76+8=84, Resulting Numbers: [2, 84]
Generated Node #0,4,3: 80:[2, 84] Operation: 76+8=84
Exploring Operation: 2+8=10, Resulting Numbers: [76, 10]
Generated Node #0,4,4: 80:[76, 10] Operation: 2+8=10
Moving to Node #0,1
Current State: 80:[15, 23, 78], Operations: ['76+2=78']
Exploring Operation: 15+23=38, Resulting Numbers: [78, 38]
Generated Node #0,1,0: 80:[78, 38] Operation: 15+23=38
Exploring Operation: 15+78=93, Resulting Numbers: [23, 93]
Generated Node #0,1,1: 80:[23, 93] Operation: 15+78=93
Exploring Operation: 78-23=55, Resulting Numbers: [15, 55]
Generated Node #0,1,2: 80:[15, 55] Operation: 78-23=55
Exploring Operation: 78-15=63, Resulting Numbers: [23, 63]
Generated Node #0,1,3: 80:[23, 63] Operation: 78-15=63
Exploring Operation: 23-15=8, Resulting Numbers: [78, 8]
Generated Node #0,1,4: 80:[78, 8] Operation: 23-15=8
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 80:[78, 8], Operations: ['76+2=78', '23-15=8']
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 78*8=624, Resulting Numbers: [624]
624,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[78, 38], Operations: ['76+2=78', '15+23=38']
Exploring Operation: 78*38=2964, Resulting Numbers: [2964]
2964,80 unequal: No Solution
Exploring Operation: 78+38=116, Resulting Numbers: [116]
116,80 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[23, 93], Operations: ['76+2=78', '15+78=93']
Exploring Operation: 23+93=116, Resulting Numbers: [116]
116,80 unequal: No Solution
Exploring Operation: 23*93=2139, Resulting Numbers: [2139]
2139,80 unequal: No Solution
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[15, 55], Operations: ['76+2=78', '78-23=55']
Exploring Operation: 15+55=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 15*55=825, Resulting Numbers: [825]
825,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 80:[23, 63], Operations: ['76+2=78', '78-15=63']
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,80 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 80:[76, 15, 21], Operations: ['23-2=21']
Exploring Operation: 76+15=91, Resulting Numbers: [21, 91]
Generated Node #0,3,0: 80:[21, 91] Operation: 76+15=91
Exploring Operation: 21-15=6, Resulting Numbers: [76, 6]
Generated Node #0,3,1: 80:[76, 6] Operation: 21-15=6
Exploring Operation: 76-21=55, Resulting Numbers: [15, 55]
Generated Node #0,3,2: 80:[15, 55] Operation: 76-21=55
Exploring Operation: 15+21=36, Resulting Numbers: [76, 36]
Generated Node #0,3,3: 80:[76, 36] Operation: 15+21=36
Exploring Operation: 76+21=97, Resulting Numbers: [15, 97]
Generated Node #0,3,4: 80:[15, 97] Operation: 76+21=97
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 80:[76, 6], Operations: ['23-2=21', '21-15=6']
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,80 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 80:[76, 36], Operations: ['23-2=21', '15+21=36']
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,80 unequal: No Solution
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[21, 91], Operations: ['23-2=21', '76+15=91']
Exploring Operation: 21+91=112, Resulting Numbers: [112]
112,80 unequal: No Solution
Exploring Operation: 21*91=1911, Resulting Numbers: [1911]
1911,80 unequal: No Solution
Exploring Operation: 91-21=70, Resulting Numbers: [70]
70,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 80:[15, 55], Operations: ['23-2=21', '76-21=55']
Exploring Operation: 15*55=825, Resulting Numbers: [825]
825,80 unequal: No Solution
Exploring Operation: 15+55=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 80:[15, 97], Operations: ['23-2=21', '76+21=97']
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 15+97=112, Resulting Numbers: [112]
112,80 unequal: No Solution
Exploring Operation: 15*97=1455, Resulting Numbers: [1455]
1455,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 80:[15, 23, 38], Operations: ['76/2=38']
Exploring Operation: 23-15=8, Resulting Numbers: [38, 8]
Generated Node #0,0,0: 80:[38, 8] Operation: 23-15=8
Exploring Operation: 15+23=38, Resulting Numbers: [38, 38]
Generated Node #0,0,1: 80:[38, 38] Operation: 15+23=38
Exploring Operation: 38-15=23, Resulting Numbers: [23, 23]
Generated Node #0,0,2: 80:[23, 23] Operation: 38-15=23
Exploring Operation: 38-23=15, Resulting Numbers: [15, 15]
Generated Node #0,0,3: 80:[15, 15] Operation: 38-23=15
Exploring Operation: 15+38=53, Resulting Numbers: [23, 53]
Generated Node #0,0,4: 80:[23, 53] Operation: 15+38=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[38, 8], Operations: ['76/2=38', '23-15=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,80 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[15, 15], Operations: ['76/2=38', '38-23=15']
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,80 unequal: No Solution
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[38, 38], Operations: ['76/2=38', '15+23=38']
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,80 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[23, 23], Operations: ['76/2=38', '38-15=23']
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,80 unequal: No Solution
Exploring Operation: 23*23=529, Resulting Numbers: [529]
529,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 80:[23, 53], Operations: ['76/2=38', '15+38=53']
Exploring Operation: 23*53=1219, Resulting Numbers: [1219]
1219,80 unequal: No Solution
Exploring Operation: 53-23=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 23+53=76, Resulting Numbers: [76]
76,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 80:[76, 2, 38], Operations: ['15+23=38']
Exploring Operation: 76/38=2, Resulting Numbers: [2, 2]
Generated Node #0,2,0: 80:[2, 2] Operation: 76/38=2
Exploring Operation: 2+38=40, Resulting Numbers: [76, 40]
Generated Node #0,2,1: 80:[76, 40] Operation: 2+38=40
Exploring Operation: 76+2=78, Resulting Numbers: [38, 78]
Generated Node #0,2,2: 80:[38, 78] Operation: 76+2=78
Exploring Operation: 76/2=38, Resulting Numbers: [38, 38]
Generated Node #0,2,3: 80:[38, 38] Operation: 76/2=38
Exploring Operation: 76-38=38, Resulting Numbers: [2, 38]
Generated Node #0,2,4: 80:[2, 38] Operation: 76-38=38
Moving to Node #0,2,0
Current State: 80:[2, 2], Operations: ['15+23=38', '76/38=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Moving to Node #0,4,0
Current State: 80:[8, 78], Operations: ['23-15=8', '76+2=78']
Exploring Operation: 8*78=624, Resulting Numbers: [624]
624,80 unequal: No Solution
Exploring Operation: 8+78=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Moving to Node #0,2,4
Current State: 80:[2, 38], Operations: ['15+23=38', '76-38=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,80 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Moving to Node #0,4,1
Current State: 80:[8, 38], Operations: ['23-15=8', '76/2=38']
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,80 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,80 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Moving to Node #0,2,3
Current State: 80:[38, 38], Operations: ['15+23=38', '76/2=38']
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,80 unequal: No Solution
Moving to Node #0,4,2
Current State: 80:[76, 16], Operations: ['23-15=8', '2*8=16']
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Exploring Operation: 76+16=92, Resulting Numbers: [92]
92,80 unequal: No Solution
Exploring Operation: 76*16=1216, Resulting Numbers: [1216]
1216,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[38, 78], Operations: ['15+23=38', '76+2=78']
Exploring Operation: 38*78=2964, Resulting Numbers: [2964]
2964,80 unequal: No Solution
Exploring Operation: 38+78=116, Resulting Numbers: [116]
116,80 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[76, 40], Operations: ['15+23=38', '2+38=40']
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,80 unequal: No Solution
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,80 unequal: No Solution
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,80 unequal: No Solution
Moving to Node #0,4,4
Current State: 80:[76, 10], Operations: ['23-15=8', '2+8=10']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,80 unequal: No Solution
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,80 unequal: No Solution
Moving to Node #0,4,3
Current State: 80:[2, 84], Operations: ['23-15=8', '76+8=84']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 2*84=168, Resulting Numbers: [168]
168,80 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
62,
7,
88,
30
] | 60 | [
"62+88=150",
"7*30=210",
"210-150=60"
] | Current State: 60:[62, 7, 88, 30], Operations: []
Exploring Operation: 62+88=150, Resulting Numbers: [7, 30, 150]
Generated Node #2: [7, 30, 150] from Operation: 62+88=150
Current State: 60:[7, 30, 150], Operations: ['62+88=150']
Exploring Operation: 7*30=210, Resulting Numbers: [150, 210]
Generated Node #3: [150, 210] from Operation: 7*30=210
Current State: 60:[150, 210], Operations: ['62+88=150', '7*30=210']
Exploring Operation: 210-150=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[62, 7, 88, 30], Operations: []
Exploring Operation: 88-62=26, Resulting Numbers: [7, 30, 26]
Generated Node #0,0: 60:[7, 30, 26] Operation: 88-62=26
Exploring Operation: 88-7=81, Resulting Numbers: [62, 30, 81]
Generated Node #0,1: 60:[62, 30, 81] Operation: 88-7=81
Exploring Operation: 88-30=58, Resulting Numbers: [62, 7, 58]
Generated Node #0,2: 60:[62, 7, 58] Operation: 88-30=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[7, 30, 26], Operations: ['88-62=26']
Exploring Operation: 7+26=33, Resulting Numbers: [30, 33]
Generated Node #0,0,0: 60:[30, 33] Operation: 7+26=33
Exploring Operation: 30-26=4, Resulting Numbers: [7, 4]
Generated Node #0,0,1: 60:[7, 4] Operation: 30-26=4
Exploring Operation: 26-7=19, Resulting Numbers: [30, 19]
Generated Node #0,0,2: 60:[30, 19] Operation: 26-7=19
Moving to Node #0,0,1
Current State: 60:[7, 4], Operations: ['88-62=26', '30-26=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[30, 19], Operations: ['88-62=26', '26-7=19']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,60 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[30, 33], Operations: ['88-62=26', '7+26=33']
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,60 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[62, 7, 58], Operations: ['88-30=58']
Exploring Operation: 62-58=4, Resulting Numbers: [7, 4]
Generated Node #0,2,0: 60:[7, 4] Operation: 62-58=4
Exploring Operation: 62-7=55, Resulting Numbers: [58, 55]
Generated Node #0,2,1: 60:[58, 55] Operation: 62-7=55
Exploring Operation: 7+58=65, Resulting Numbers: [62, 65]
Generated Node #0,2,2: 60:[62, 65] Operation: 7+58=65
Moving to Node #0,2,0
Current State: 60:[7, 4], Operations: ['88-30=58', '62-58=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[58, 55], Operations: ['88-30=58', '62-7=55']
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,60 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[62, 65], Operations: ['88-30=58', '7+58=65']
Exploring Operation: 62*65=4030, Resulting Numbers: [4030]
4030,60 unequal: No Solution
Exploring Operation: 65-62=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 62+65=127, Resulting Numbers: [127]
127,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[62, 30, 81], Operations: ['88-7=81']
Exploring Operation: 81-30=51, Resulting Numbers: [62, 51]
Generated Node #0,1,0: 60:[62, 51] Operation: 81-30=51
Exploring Operation: 81-62=19, Resulting Numbers: [30, 19]
Generated Node #0,1,1: 60:[30, 19] Operation: 81-62=19
Exploring Operation: 62-30=32, Resulting Numbers: [81, 32]
Generated Node #0,1,2: 60:[81, 32] Operation: 62-30=32
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[30, 19], Operations: ['88-7=81', '81-62=19']
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,60 unequal: No Solution
No 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: 60:[62, 51], Operations: ['88-7=81', '81-30=51']
Exploring Operation: 62*51=3162, Resulting Numbers: [3162]
3162,60 unequal: No Solution
Exploring Operation: 62+51=113, Resulting Numbers: [113]
113,60 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,60 unequal: No Solution
No 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: 60:[81, 32], Operations: ['88-7=81', '62-30=32']
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 81+32=113, Resulting Numbers: [113]
113,60 unequal: No Solution
Exploring Operation: 81*32=2592, Resulting Numbers: [2592]
2592,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
50,
98,
3,
83
] | 38 | [
"98-50=48",
"3+83=86",
"86-48=38"
] | Current State: 38:[50, 98, 3, 83], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [3, 83, 48]
Generated Node #2: [3, 83, 48] from Operation: 98-50=48
Current State: 38:[3, 83, 48], Operations: ['98-50=48']
Exploring Operation: 3+83=86, Resulting Numbers: [48, 86]
Generated Node #3: [48, 86] from Operation: 3+83=86
Current State: 38:[48, 86], Operations: ['98-50=48', '3+83=86']
Exploring Operation: 86-48=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[50, 98, 3, 83], Operations: []
Exploring Operation: 98-83=15, Resulting Numbers: [50, 3, 15]
Generated Node #0,0: 38:[50, 3, 15] Operation: 98-83=15
Exploring Operation: 83-50=33, Resulting Numbers: [98, 3, 33]
Generated Node #0,1: 38:[98, 3, 33] Operation: 83-50=33
Exploring Operation: 50-3=47, Resulting Numbers: [98, 83, 47]
Generated Node #0,2: 38:[98, 83, 47] Operation: 50-3=47
Exploring Operation: 98-50=48, Resulting Numbers: [3, 83, 48]
Generated Node #0,3: 38:[3, 83, 48] Operation: 98-50=48
Moving to Node #0,0
Current State: 38:[50, 3, 15], Operations: ['98-83=15']
Exploring Operation: 3+15=18, Resulting Numbers: [50, 18]
Generated Node #0,0,0: 38:[50, 18] Operation: 3+15=18
Exploring Operation: 50-15=35, Resulting Numbers: [3, 35]
Generated Node #0,0,1: 38:[3, 35] Operation: 50-15=35
Exploring Operation: 50-3=47, Resulting Numbers: [15, 47]
Generated Node #0,0,2: 38:[15, 47] Operation: 50-3=47
Exploring Operation: 15/3=5, Resulting Numbers: [50, 5]
Generated Node #0,0,3: 38:[50, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[3, 35], Operations: ['98-83=15', '50-15=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[50, 98, 3, 83], Operations: []
Exploring Operation: 98-83=15, Resulting Numbers: [50, 3, 15]
Generated Node #0,0: 38:[50, 3, 15] Operation: 98-83=15
Moving to Node #0,0
Current State: 38:[50, 3, 15], Operations: ['98-83=15']
Exploring Operation: 50-15=35, Resulting Numbers: [3, 35]
Generated Node #0,0,1: 38:[3, 35] Operation: 50-15=35
Moving to Node #0,0,1
Current State: 38:[3, 35], Operations: ['98-83=15', '50-15=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
10,
24,
57,
61
] | 86 | [
"61-57=4",
"24*4=96",
"96-10=86"
] | Current State: 86:[10, 24, 57, 61], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [10, 24, 4]
Generated Node #2: [10, 24, 4] from Operation: 61-57=4
Current State: 86:[10, 24, 4], Operations: ['61-57=4']
Exploring Operation: 24*4=96, Resulting Numbers: [10, 96]
Generated Node #3: [10, 96] from Operation: 24*4=96
Current State: 86:[10, 96], Operations: ['61-57=4', '24*4=96']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[10, 24, 57, 61], Operations: []
Exploring Operation: 61-24=37, Resulting Numbers: [10, 57, 37]
Generated Node #0,0: 86:[10, 57, 37] Operation: 61-24=37
Exploring Operation: 24+57=81, Resulting Numbers: [10, 61, 81]
Generated Node #0,1: 86:[10, 61, 81] Operation: 24+57=81
Exploring Operation: 24+61=85, Resulting Numbers: [10, 57, 85]
Generated Node #0,2: 86:[10, 57, 85] Operation: 24+61=85
Exploring Operation: 61-57=4, Resulting Numbers: [10, 24, 4]
Generated Node #0,3: 86:[10, 24, 4] Operation: 61-57=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[10, 57, 85], Operations: ['24+61=85']
Exploring Operation: 85-57=28, Resulting Numbers: [10, 28]
Generated Node #0,2,0: 86:[10, 28] Operation: 85-57=28
Exploring Operation: 57-10=47, Resulting Numbers: [85, 47]
Generated Node #0,2,1: 86:[85, 47] Operation: 57-10=47
Exploring Operation: 10+85=95, Resulting Numbers: [57, 95]
Generated Node #0,2,2: 86:[57, 95] Operation: 10+85=95
Exploring Operation: 10+57=67, Resulting Numbers: [85, 67]
Generated Node #0,2,3: 86:[85, 67] Operation: 10+57=67
Moving to Node #0,2,1
Current State: 86:[85, 47], Operations: ['24+61=85', '57-10=47']
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 85*47=3995, Resulting Numbers: [3995]
3995,86 unequal: No Solution
Exploring Operation: 85+47=132, Resulting Numbers: [132]
132,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[85, 67], Operations: ['24+61=85', '10+57=67']
Exploring Operation: 85*67=5695, Resulting Numbers: [5695]
5695,86 unequal: No Solution
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 85+67=152, Resulting Numbers: [152]
152,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[57, 95], Operations: ['24+61=85', '10+85=95']
Exploring Operation: 57+95=152, Resulting Numbers: [152]
152,86 unequal: No Solution
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 57*95=5415, Resulting Numbers: [5415]
5415,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[10, 28], Operations: ['24+61=85', '85-57=28']
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,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
Current State: 86:[10, 57, 37], Operations: ['61-24=37']
Exploring Operation: 10+57=67, Resulting Numbers: [37, 67]
Generated Node #0,0,0: 86:[37, 67] Operation: 10+57=67
Exploring Operation: 10+37=47, Resulting Numbers: [57, 47]
Generated Node #0,0,1: 86:[57, 47] Operation: 10+37=47
Exploring Operation: 57-10=47, Resulting Numbers: [37, 47]
Generated Node #0,0,2: 86:[37, 47] Operation: 57-10=47
Exploring Operation: 57+37=94, Resulting Numbers: [10, 94]
Generated Node #0,0,3: 86:[10, 94] Operation: 57+37=94
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[37, 47], Operations: ['61-24=37', '57-10=47']
Exploring Operation: 37*47=1739, Resulting Numbers: [1739]
1739,86 unequal: No Solution
Exploring Operation: 37+47=84, Resulting Numbers: [84]
84,86 unequal: No Solution
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,86 unequal: No Solution
No 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: 86:[10, 94], Operations: ['61-24=37', '57+37=94']
Exploring Operation: 10*94=940, Resulting Numbers: [940]
940,86 unequal: No Solution
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,86 unequal: No Solution
Exploring Operation: 10+94=104, Resulting Numbers: [104]
104,86 unequal: No Solution
No 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: 86:[57, 47], Operations: ['61-24=37', '10+37=47']
Exploring Operation: 57*47=2679, Resulting Numbers: [2679]
2679,86 unequal: No Solution
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 57+47=104, Resulting Numbers: [104]
104,86 unequal: No Solution
No 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: 86:[37, 67], Operations: ['61-24=37', '10+57=67']
Exploring Operation: 37*67=2479, Resulting Numbers: [2479]
2479,86 unequal: No Solution
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 37+67=104, Resulting Numbers: [104]
104,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[10, 24, 4], Operations: ['61-57=4']
Exploring Operation: 24/4=6, Resulting Numbers: [10, 6]
Generated Node #0,3,0: 86:[10, 6] Operation: 24/4=6
Exploring Operation: 24*4=96, Resulting Numbers: [10, 96]
Generated Node #0,3,1: 86:[10, 96] Operation: 24*4=96
Exploring Operation: 10+24=34, Resulting Numbers: [4, 34]
Generated Node #0,3,2: 86:[4, 34] Operation: 10+24=34
Exploring Operation: 24-10=14, Resulting Numbers: [4, 14]
Generated Node #0,3,3: 86:[4, 14] Operation: 24-10=14
Moving to Node #0,3,2
Current State: 86:[4, 34], Operations: ['61-57=4', '10+24=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,86 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[10, 6], Operations: ['61-57=4', '24/4=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,86 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[4, 14], Operations: ['61-57=4', '24-10=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[10, 96], Operations: ['61-57=4', '24*4=96']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[10, 24, 57, 61], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [10, 24, 4]
Generated Node #0,3: 86:[10, 24, 4] Operation: 61-57=4
Moving to Node #0,3
Current State: 86:[10, 24, 4], Operations: ['61-57=4']
Exploring Operation: 24*4=96, Resulting Numbers: [10, 96]
Generated Node #0,3,1: 86:[10, 96] Operation: 24*4=96
Moving to Node #0,3,1
Current State: 86:[10, 96], Operations: ['61-57=4', '24*4=96']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.953125 | hs_4 | mult_heuristic |
[
78,
66,
70,
62
] | 76 | [
"70+62=132",
"132/66=2",
"78-2=76"
] | Current State: 76:[78, 66, 70, 62], Operations: []
Exploring Operation: 70+62=132, Resulting Numbers: [78, 66, 132]
Generated Node #2: [78, 66, 132] from Operation: 70+62=132
Current State: 76:[78, 66, 132], Operations: ['70+62=132']
Exploring Operation: 132/66=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 132/66=2
Current State: 76:[78, 2], Operations: ['70+62=132', '132/66=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[78, 66, 70, 62], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [78, 62, 4]
Generated Node #0,0: 76:[78, 62, 4] Operation: 70-66=4
Exploring Operation: 66-62=4, Resulting Numbers: [78, 70, 4]
Generated Node #0,1: 76:[78, 70, 4] Operation: 66-62=4
Moving to Node #0,1
Current State: 76:[78, 70, 4], Operations: ['66-62=4']
Exploring Operation: 70+4=74, Resulting Numbers: [78, 74]
Generated Node #0,1,0: 76:[78, 74] Operation: 70+4=74
Exploring Operation: 78-70=8, Resulting Numbers: [4, 8]
Generated Node #0,1,1: 76:[4, 8] Operation: 78-70=8
Moving to Node #0,0
Current State: 76:[78, 62, 4], Operations: ['70-66=4']
Exploring Operation: 62+4=66, Resulting Numbers: [78, 66]
Generated Node #0,0,0: 76:[78, 66] Operation: 62+4=66
Exploring Operation: 78-62=16, Resulting Numbers: [4, 16]
Generated Node #0,0,1: 76:[4, 16] Operation: 78-62=16
Moving to Node #0,0,1
Current State: 76:[4, 16], Operations: ['70-66=4', '78-62=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[78, 74], Operations: ['66-62=4', '70+4=74']
Exploring Operation: 78+74=152, Resulting Numbers: [152]
152,76 unequal: No Solution
Exploring Operation: 78-74=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[4, 8], Operations: ['66-62=4', '78-70=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[78, 66], Operations: ['70-66=4', '62+4=66']
Exploring Operation: 78+66=144, Resulting Numbers: [144]
144,76 unequal: No Solution
Exploring Operation: 78-66=12, Resulting Numbers: [12]
12,76 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
86,
70,
99,
92
] | 96 | [
"99-92=7",
"70/7=10",
"86+10=96"
] | Current State: 96:[86, 70, 99, 92], Operations: []
Exploring Operation: 99-92=7, Resulting Numbers: [86, 70, 7]
Generated Node #2: [86, 70, 7] from Operation: 99-92=7
Current State: 96:[86, 70, 7], Operations: ['99-92=7']
Exploring Operation: 70/7=10, Resulting Numbers: [86, 10]
Generated Node #3: [86, 10] from Operation: 70/7=10
Current State: 96:[86, 10], Operations: ['99-92=7', '70/7=10']
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[86, 70, 99, 92], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [99, 92, 16]
Generated Node #0,0: 96:[99, 92, 16] Operation: 86-70=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[99, 92, 16], Operations: ['86-70=16']
Exploring Operation: 99-92=7, Resulting Numbers: [16, 7]
Generated Node #0,0,0: 96:[16, 7] Operation: 99-92=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[16, 7], Operations: ['86-70=16', '99-92=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
61,
17,
53
] | 67 | [
"64-61=3",
"17+53=70",
"70-3=67"
] | Current State: 67:[64, 61, 17, 53], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [17, 53, 3]
Generated Node #2: [17, 53, 3] from Operation: 64-61=3
Current State: 67:[17, 53, 3], Operations: ['64-61=3']
Exploring Operation: 17+53=70, Resulting Numbers: [3, 70]
Generated Node #3: [3, 70] from Operation: 17+53=70
Current State: 67:[3, 70], Operations: ['64-61=3', '17+53=70']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[64, 61, 17, 53], Operations: []
Exploring Operation: 17+53=70, Resulting Numbers: [64, 61, 70]
Generated Node #0,0: 67:[64, 61, 70] Operation: 17+53=70
Moving to Node #0,0
Current State: 67:[64, 61, 70], Operations: ['17+53=70']
Exploring Operation: 64+61=125, Resulting Numbers: [70, 125]
Generated Node #0,0,0: 67:[70, 125] Operation: 64+61=125
Moving to Node #0,0,0
Current State: 67:[70, 125], Operations: ['17+53=70', '64+61=125']
Exploring Operation: 125-70=55, Resulting Numbers: [55]
55,67 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
7,
57,
63
] | 48 | [
"6*7=42",
"63-57=6",
"42+6=48"
] | Current State: 48:[6, 7, 57, 63], Operations: []
Exploring Operation: 6*7=42, Resulting Numbers: [57, 63, 42]
Generated Node #2: [57, 63, 42] from Operation: 6*7=42
Current State: 48:[57, 63, 42], Operations: ['6*7=42']
Exploring Operation: 63-57=6, Resulting Numbers: [42, 6]
Generated Node #3: [42, 6] from Operation: 63-57=6
Current State: 48:[42, 6], Operations: ['6*7=42', '63-57=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[6, 7, 57, 63], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [6, 7, 6]
Generated Node #0,0: 48:[6, 7, 6] Operation: 63-57=6
Exploring Operation: 57-7=50, Resulting Numbers: [6, 63, 50]
Generated Node #0,1: 48:[6, 63, 50] Operation: 57-7=50
Exploring Operation: 63/7=9, Resulting Numbers: [6, 57, 9]
Generated Node #0,2: 48:[6, 57, 9] Operation: 63/7=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[6, 7, 6], Operations: ['63-57=6']
Exploring Operation: 6+7=13, Resulting Numbers: [6, 13]
Generated Node #0,0,0: 48:[6, 13] Operation: 6+7=13
Exploring Operation: 7-6=1, Resulting Numbers: [6, 1]
Generated Node #0,0,1: 48:[6, 1] Operation: 7-6=1
Exploring Operation: 6+6=12, Resulting Numbers: [7, 12]
Generated Node #0,0,2: 48:[7, 12] Operation: 6+6=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[6, 13], Operations: ['63-57=6', '6+7=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,48 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,48 unequal: No Solution
No 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: 48:[6, 1], Operations: ['63-57=6', '7-6=1']
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,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
No 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: 48:[7, 12], Operations: ['63-57=6', '6+6=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,48 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: 48:[6, 57, 9], Operations: ['63/7=9']
Exploring Operation: 57-9=48, Resulting Numbers: [6, 48]
Generated Node #0,2,0: 48:[6, 48] Operation: 57-9=48
Exploring Operation: 9-6=3, Resulting Numbers: [57, 3]
Generated Node #0,2,1: 48:[57, 3] Operation: 9-6=3
Exploring Operation: 57-6=51, Resulting Numbers: [9, 51]
Generated Node #0,2,2: 48:[9, 51] Operation: 57-6=51
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[6, 48], Operations: ['63/7=9', '57-9=48']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,48 unequal: No Solution
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,48 unequal: No Solution
No 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: 48:[9, 51], Operations: ['63/7=9', '57-6=51']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,48 unequal: No Solution
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,48 unequal: No Solution
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,48 unequal: No Solution
No 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: 48:[57, 3], Operations: ['63/7=9', '9-6=3']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,48 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: 48:[6, 63, 50], Operations: ['57-7=50']
Exploring Operation: 63-6=57, Resulting Numbers: [50, 57]
Generated Node #0,1,0: 48:[50, 57] Operation: 63-6=57
Exploring Operation: 50-6=44, Resulting Numbers: [63, 44]
Generated Node #0,1,1: 48:[63, 44] Operation: 50-6=44
Exploring Operation: 63-50=13, Resulting Numbers: [6, 13]
Generated Node #0,1,2: 48:[6, 13] Operation: 63-50=13
Moving to Node #0,1,2
Current State: 48:[6, 13], Operations: ['57-7=50', '63-50=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,48 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[50, 57], Operations: ['57-7=50', '63-6=57']
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 50*57=2850, Resulting Numbers: [2850]
2850,48 unequal: No Solution
Exploring Operation: 50+57=107, Resulting Numbers: [107]
107,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[63, 44], Operations: ['57-7=50', '50-6=44']
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,48 unequal: No Solution
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,48 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,48 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 |
[
2,
17,
86,
72
] | 83 | [
"2*86=172",
"17+72=89",
"172-89=83"
] | Current State: 83:[2, 17, 86, 72], Operations: []
Exploring Operation: 2*86=172, Resulting Numbers: [17, 72, 172]
Generated Node #2: [17, 72, 172] from Operation: 2*86=172
Current State: 83:[17, 72, 172], Operations: ['2*86=172']
Exploring Operation: 17+72=89, Resulting Numbers: [172, 89]
Generated Node #3: [172, 89] from Operation: 17+72=89
Current State: 83:[172, 89], Operations: ['2*86=172', '17+72=89']
Exploring Operation: 172-89=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[2, 17, 86, 72], Operations: []
Exploring Operation: 2*17=34, Resulting Numbers: [86, 72, 34]
Generated Node #0,0: 83:[86, 72, 34] Operation: 2*17=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[86, 72, 34], Operations: ['2*17=34']
Exploring Operation: 72+34=106, Resulting Numbers: [86, 106]
Generated Node #0,0,0: 83:[86, 106] Operation: 72+34=106
Moving to Node #0,0,0
Current State: 83:[86, 106], Operations: ['2*17=34', '72+34=106']
Exploring Operation: 106-86=20, Resulting Numbers: [20]
20,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
62,
11,
96
] | 20 | [
"62+62=124",
"96+124=220",
"220/11=20"
] | Current State: 20:[62, 62, 11, 96], Operations: []
Exploring Operation: 62+62=124, Resulting Numbers: [11, 96, 124]
Generated Node #2: [11, 96, 124] from Operation: 62+62=124
Current State: 20:[11, 96, 124], Operations: ['62+62=124']
Exploring Operation: 96+124=220, Resulting Numbers: [11, 220]
Generated Node #3: [11, 220] from Operation: 96+124=220
Current State: 20:[11, 220], Operations: ['62+62=124', '96+124=220']
Exploring Operation: 220/11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[62, 62, 11, 96], Operations: []
Exploring Operation: 96-62=34, Resulting Numbers: [62, 11, 34]
Generated Node #0,0: 20:[62, 11, 34] Operation: 96-62=34
Exploring Operation: 62/62=1, Resulting Numbers: [11, 96, 1]
Generated Node #0,1: 20:[11, 96, 1] Operation: 62/62=1
Exploring Operation: 96-62=34, Resulting Numbers: [62, 11, 34]
Generated Node #0,2: 20:[62, 11, 34] Operation: 96-62=34
Moving to Node #0,0
Current State: 20:[62, 11, 34], Operations: ['96-62=34']
Exploring Operation: 62-34=28, Resulting Numbers: [11, 28]
Generated Node #0,0,0: 20:[11, 28] Operation: 62-34=28
Exploring Operation: 34-11=23, Resulting Numbers: [62, 23]
Generated Node #0,0,1: 20:[62, 23] Operation: 34-11=23
Exploring Operation: 62-11=51, Resulting Numbers: [34, 51]
Generated Node #0,0,2: 20:[34, 51] Operation: 62-11=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[11, 28], Operations: ['96-62=34', '62-34=28']
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,20 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[62, 23], Operations: ['96-62=34', '34-11=23']
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,20 unequal: No Solution
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[34, 51], Operations: ['96-62=34', '62-11=51']
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,20 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,20 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: 20:[62, 11, 34], Operations: ['96-62=34']
Exploring Operation: 62-34=28, Resulting Numbers: [11, 28]
Generated Node #0,2,0: 20:[11, 28] Operation: 62-34=28
Exploring Operation: 34-11=23, Resulting Numbers: [62, 23]
Generated Node #0,2,1: 20:[62, 23] Operation: 34-11=23
Exploring Operation: 62-11=51, Resulting Numbers: [34, 51]
Generated Node #0,2,2: 20:[34, 51] Operation: 62-11=51
Moving to Node #0,1
Current State: 20:[11, 96, 1], Operations: ['62/62=1']
Exploring Operation: 96-11=85, Resulting Numbers: [1, 85]
Generated Node #0,1,0: 20:[1, 85] Operation: 96-11=85
Exploring Operation: 11-1=10, Resulting Numbers: [96, 10]
Generated Node #0,1,1: 20:[96, 10] Operation: 11-1=10
Exploring Operation: 96-1=95, Resulting Numbers: [11, 95]
Generated Node #0,1,2: 20:[11, 95] Operation: 96-1=95
Moving to Node #0,2,0
Current State: 20:[11, 28], Operations: ['96-62=34', '62-34=28']
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,20 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[34, 51], Operations: ['96-62=34', '62-11=51']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,20 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[62, 23], Operations: ['96-62=34', '34-11=23']
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,20 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[1, 85], Operations: ['62/62=1', '96-11=85']
Exploring Operation: 1*85=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,20 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[96, 10], Operations: ['62/62=1', '11-1=10']
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,20 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,20 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[11, 95], Operations: ['62/62=1', '96-1=95']
Exploring Operation: 11*95=1045, Resulting Numbers: [1045]
1045,20 unequal: No Solution
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,20 unequal: No Solution
Exploring Operation: 11+95=106, Resulting Numbers: [106]
106,20 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
34,
2,
3,
3
] | 91 | [
"34-3=31",
"3*31=93",
"93-2=91"
] | Current State: 91:[34, 2, 3, 3], Operations: []
Exploring Operation: 34-3=31, Resulting Numbers: [2, 31]
Generated Node #2: [2, 31] from Operation: 34-3=31
Current State: 91:[2, 31], Operations: ['34-3=31']
Exploring Operation: 3*31=93, Resulting Numbers: [2, 93]
Generated Node #3: [2, 93] from Operation: 3*31=93
Current State: 91:[2, 93], Operations: ['34-3=31', '3*31=93']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[34, 2, 3, 3], Operations: []
Exploring Operation: 34*3=102, Resulting Numbers: [2, 3, 102]
Generated Node #0,0: 91:[2, 3, 102] Operation: 34*3=102
Exploring Operation: 34/2=17, Resulting Numbers: [3, 3, 17]
Generated Node #0,1: 91:[3, 3, 17] Operation: 34/2=17
Moving to Node #0,1
Current State: 91:[3, 3, 17], Operations: ['34/2=17']
Exploring Operation: 17-3=14, Resulting Numbers: [3, 14]
Generated Node #0,1,0: 91:[3, 14] Operation: 17-3=14
Exploring Operation: 3+3=6, Resulting Numbers: [17, 6]
Generated Node #0,1,1: 91:[17, 6] Operation: 3+3=6
Moving to Node #0,0
Current State: 91:[2, 3, 102], Operations: ['34*3=102']
Exploring Operation: 2+3=5, Resulting Numbers: [102, 5]
Generated Node #0,0,0: 91:[102, 5] Operation: 2+3=5
Exploring Operation: 2*3=6, Resulting Numbers: [102, 6]
Generated Node #0,0,1: 91:[102, 6] Operation: 2*3=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[102, 6], Operations: ['34*3=102', '2*3=6']
Exploring Operation: 102-6=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 102/6=17, Resulting Numbers: [17]
17,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[102, 5], Operations: ['34*3=102', '2+3=5']
Exploring Operation: 102+5=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 102-5=97, Resulting Numbers: [97]
97,91 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: 91:[3, 14], Operations: ['34/2=17', '17-3=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[17, 6], Operations: ['34/2=17', '3+3=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,91 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
35,
9,
58
] | 47 | [
"9-6=3",
"35*3=105",
"105-58=47"
] | Current State: 47:[6, 35, 9, 58], Operations: []
Exploring Operation: 9-6=3, Resulting Numbers: [35, 58, 3]
Generated Node #2: [35, 58, 3] from Operation: 9-6=3
Current State: 47:[35, 58, 3], Operations: ['9-6=3']
Exploring Operation: 35*3=105, Resulting Numbers: [58, 105]
Generated Node #3: [58, 105] from Operation: 35*3=105
Current State: 47:[58, 105], Operations: ['9-6=3', '35*3=105']
Exploring Operation: 105-58=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[6, 35, 9, 58], Operations: []
Exploring Operation: 58-6=52, Resulting Numbers: [35, 9, 52]
Generated Node #0,0: 47:[35, 9, 52] Operation: 58-6=52
Exploring Operation: 6+9=15, Resulting Numbers: [35, 58, 15]
Generated Node #0,1: 47:[35, 58, 15] Operation: 6+9=15
Exploring Operation: 6*9=54, Resulting Numbers: [35, 58, 54]
Generated Node #0,2: 47:[35, 58, 54] Operation: 6*9=54
Exploring Operation: 6+35=41, Resulting Numbers: [9, 58, 41]
Generated Node #0,3: 47:[9, 58, 41] Operation: 6+35=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[35, 58, 54], Operations: ['6*9=54']
Exploring Operation: 54-35=19, Resulting Numbers: [58, 19]
Generated Node #0,2,0: 47:[58, 19] Operation: 54-35=19
Exploring Operation: 35+54=89, Resulting Numbers: [58, 89]
Generated Node #0,2,1: 47:[58, 89] Operation: 35+54=89
Exploring Operation: 58-35=23, Resulting Numbers: [54, 23]
Generated Node #0,2,2: 47:[54, 23] Operation: 58-35=23
Exploring Operation: 35+58=93, Resulting Numbers: [54, 93]
Generated Node #0,2,3: 47:[54, 93] Operation: 35+58=93
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[54, 23], Operations: ['6*9=54', '58-35=23']
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,47 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[58, 19], Operations: ['6*9=54', '54-35=19']
Exploring Operation: 58*19=1102, Resulting Numbers: [1102]
1102,47 unequal: No Solution
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[58, 89], Operations: ['6*9=54', '35+54=89']
Exploring Operation: 58*89=5162, Resulting Numbers: [5162]
5162,47 unequal: No Solution
Exploring Operation: 58+89=147, Resulting Numbers: [147]
147,47 unequal: No Solution
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 47:[54, 93], Operations: ['6*9=54', '35+58=93']
Exploring Operation: 93-54=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 54+93=147, Resulting Numbers: [147]
147,47 unequal: No Solution
Exploring Operation: 54*93=5022, Resulting Numbers: [5022]
5022,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[35, 9, 52], Operations: ['58-6=52']
Exploring Operation: 35-9=26, Resulting Numbers: [52, 26]
Generated Node #0,0,0: 47:[52, 26] Operation: 35-9=26
Exploring Operation: 35+9=44, Resulting Numbers: [52, 44]
Generated Node #0,0,1: 47:[52, 44] Operation: 35+9=44
Exploring Operation: 9+52=61, Resulting Numbers: [35, 61]
Generated Node #0,0,2: 47:[35, 61] Operation: 9+52=61
Exploring Operation: 52-9=43, Resulting Numbers: [35, 43]
Generated Node #0,0,3: 47:[35, 43] Operation: 52-9=43
Moving to Node #0,0,1
Current State: 47:[52, 44], Operations: ['58-6=52', '35+9=44']
Exploring Operation: 52*44=2288, Resulting Numbers: [2288]
2288,47 unequal: No Solution
Exploring Operation: 52+44=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[35, 43], Operations: ['58-6=52', '52-9=43']
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,47 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[35, 61], Operations: ['58-6=52', '9+52=61']
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 35*61=2135, Resulting Numbers: [2135]
2135,47 unequal: No Solution
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[52, 26], Operations: ['58-6=52', '35-9=26']
Exploring Operation: 52*26=1352, Resulting Numbers: [1352]
1352,47 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[35, 58, 15], Operations: ['6+9=15']
Exploring Operation: 35-15=20, Resulting Numbers: [58, 20]
Generated Node #0,1,0: 47:[58, 20] Operation: 35-15=20
Exploring Operation: 58+15=73, Resulting Numbers: [35, 73]
Generated Node #0,1,1: 47:[35, 73] Operation: 58+15=73
Exploring Operation: 35+15=50, Resulting Numbers: [58, 50]
Generated Node #0,1,2: 47:[58, 50] Operation: 35+15=50
Exploring Operation: 58-15=43, Resulting Numbers: [35, 43]
Generated Node #0,1,3: 47:[35, 43] Operation: 58-15=43
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[58, 50], Operations: ['6+9=15', '35+15=50']
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 58*50=2900, Resulting Numbers: [2900]
2900,47 unequal: No Solution
Exploring Operation: 58+50=108, Resulting Numbers: [108]
108,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[35, 43], Operations: ['6+9=15', '58-15=43']
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,47 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[58, 20], Operations: ['6+9=15', '35-15=20']
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Exploring Operation: 58+20=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 58*20=1160, Resulting Numbers: [1160]
1160,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[35, 73], Operations: ['6+9=15', '58+15=73']
Exploring Operation: 35*73=2555, Resulting Numbers: [2555]
2555,47 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Exploring Operation: 35+73=108, Resulting Numbers: [108]
108,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[9, 58, 41], Operations: ['6+35=41']
Exploring Operation: 41-9=32, Resulting Numbers: [58, 32]
Generated Node #0,3,0: 47:[58, 32] Operation: 41-9=32
Exploring Operation: 58-9=49, Resulting Numbers: [41, 49]
Generated Node #0,3,1: 47:[41, 49] Operation: 58-9=49
Exploring Operation: 9+41=50, Resulting Numbers: [58, 50]
Generated Node #0,3,2: 47:[58, 50] Operation: 9+41=50
Exploring Operation: 9+58=67, Resulting Numbers: [41, 67]
Generated Node #0,3,3: 47:[41, 67] Operation: 9+58=67
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 47:[41, 49], Operations: ['6+35=41', '58-9=49']
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,47 unequal: No Solution
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,47 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 47:[58, 50], Operations: ['6+35=41', '9+41=50']
Exploring Operation: 58*50=2900, Resulting Numbers: [2900]
2900,47 unequal: No Solution
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 58+50=108, Resulting Numbers: [108]
108,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 47:[58, 32], Operations: ['6+35=41', '41-9=32']
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,47 unequal: No Solution
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,47 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 47:[41, 67], Operations: ['6+35=41', '9+58=67']
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,47 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
18,
10,
51,
57
] | 16 | [
"51+57=108",
"108/18=6",
"10+6=16"
] | Current State: 16:[18, 10, 51, 57], Operations: []
Exploring Operation: 51+57=108, Resulting Numbers: [18, 10, 108]
Generated Node #2: [18, 10, 108] from Operation: 51+57=108
Current State: 16:[18, 10, 108], Operations: ['51+57=108']
Exploring Operation: 108/18=6, Resulting Numbers: [10, 6]
Generated Node #3: [10, 6] from Operation: 108/18=6
Current State: 16:[10, 6], Operations: ['51+57=108', '108/18=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[18, 10, 51, 57], Operations: []
Exploring Operation: 57-51=6, Resulting Numbers: [18, 10, 6]
Generated Node #0,0: 16:[18, 10, 6] Operation: 57-51=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[18, 10, 6], Operations: ['57-51=6']
Exploring Operation: 18-10=8, Resulting Numbers: [6, 8]
Generated Node #0,0,0: 16:[6, 8] Operation: 18-10=8
Moving to Node #0,0,0
Current State: 16:[6, 8], Operations: ['57-51=6', '18-10=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,16 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 |
[
5,
23,
53,
25
] | 35 | [
"25/5=5",
"53-23=30",
"5+30=35"
] | Current State: 35:[5, 23, 53, 25], Operations: []
Exploring Operation: 25/5=5, Resulting Numbers: [23, 53, 5]
Generated Node #2: [23, 53, 5] from Operation: 25/5=5
Current State: 35:[23, 53, 5], Operations: ['25/5=5']
Exploring Operation: 53-23=30, Resulting Numbers: [5, 30]
Generated Node #3: [5, 30] from Operation: 53-23=30
Current State: 35:[5, 30], Operations: ['25/5=5', '53-23=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[5, 23, 53, 25], Operations: []
Exploring Operation: 23+25=48, Resulting Numbers: [5, 53, 48]
Generated Node #0,0: 35:[5, 53, 48] Operation: 23+25=48
Exploring Operation: 53-23=30, Resulting Numbers: [5, 25, 30]
Generated Node #0,1: 35:[5, 25, 30] Operation: 53-23=30
Exploring Operation: 25-23=2, Resulting Numbers: [5, 53, 2]
Generated Node #0,2: 35:[5, 53, 2] Operation: 25-23=2
Exploring Operation: 25/5=5, Resulting Numbers: [23, 53, 5]
Generated Node #0,3: 35:[23, 53, 5] Operation: 25/5=5
Exploring Operation: 53-25=28, Resulting Numbers: [5, 23, 28]
Generated Node #0,4: 35:[5, 23, 28] Operation: 53-25=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[5, 25, 30], Operations: ['53-23=30']
Exploring Operation: 30-25=5, Resulting Numbers: [5, 5]
Generated Node #0,1,0: 35:[5, 5] Operation: 30-25=5
Exploring Operation: 30/5=6, Resulting Numbers: [25, 6]
Generated Node #0,1,1: 35:[25, 6] Operation: 30/5=6
Exploring Operation: 5+30=35, Resulting Numbers: [25, 35]
Generated Node #0,1,2: 35:[25, 35] Operation: 5+30=35
Exploring Operation: 25/5=5, Resulting Numbers: [30, 5]
Generated Node #0,1,3: 35:[30, 5] Operation: 25/5=5
Exploring Operation: 5+25=30, Resulting Numbers: [30, 30]
Generated Node #0,1,4: 35:[30, 30] Operation: 5+25=30
Moving to Node #0,1,0
Current State: 35:[5, 5], Operations: ['53-23=30', '30-25=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,35 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[30, 5], Operations: ['53-23=30', '25/5=5']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[5, 23, 53, 25], Operations: []
Exploring Operation: 53-23=30, Resulting Numbers: [5, 25, 30]
Generated Node #0,1: 35:[5, 25, 30] Operation: 53-23=30
Moving to Node #0,1
Current State: 35:[5, 25, 30], Operations: ['53-23=30']
Exploring Operation: 25/5=5, Resulting Numbers: [30, 5]
Generated Node #0,1,3: 35:[30, 5] Operation: 25/5=5
Moving to Node #0,1,3
Current State: 35:[30, 5], Operations: ['53-23=30', '25/5=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
44,
93,
36,
54
] | 31 | [
"93-44=49",
"54-36=18",
"49-18=31"
] | Current State: 31:[44, 93, 36, 54], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [36, 54, 49]
Generated Node #2: [36, 54, 49] from Operation: 93-44=49
Current State: 31:[36, 54, 49], Operations: ['93-44=49']
Exploring Operation: 54-36=18, Resulting Numbers: [49, 18]
Generated Node #3: [49, 18] from Operation: 54-36=18
Current State: 31:[49, 18], Operations: ['93-44=49', '54-36=18']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[44, 93, 36, 54], Operations: []
Exploring Operation: 93-54=39, Resulting Numbers: [44, 36, 39]
Generated Node #0,0: 31:[44, 36, 39] Operation: 93-54=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[44, 36, 39], Operations: ['93-54=39']
Exploring Operation: 44-36=8, Resulting Numbers: [39, 8]
Generated Node #0,0,0: 31:[39, 8] Operation: 44-36=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[39, 8], Operations: ['93-54=39', '44-36=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[44, 93, 36, 54], Operations: []
Exploring Operation: 93-54=39, Resulting Numbers: [44, 36, 39]
Generated Node #0,0: 31:[44, 36, 39] Operation: 93-54=39
Moving to Node #0,0
Current State: 31:[44, 36, 39], Operations: ['93-54=39']
Exploring Operation: 44-36=8, Resulting Numbers: [39, 8]
Generated Node #0,0,0: 31:[39, 8] Operation: 44-36=8
Moving to Node #0,0,0
Current State: 31:[39, 8], Operations: ['93-54=39', '44-36=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
52,
54,
24,
25
] | 51 | [
"54-52=2",
"24+25=49",
"2+49=51"
] | Current State: 51:[52, 54, 24, 25], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [24, 25, 2]
Generated Node #2: [24, 25, 2] from Operation: 54-52=2
Current State: 51:[24, 25, 2], Operations: ['54-52=2']
Exploring Operation: 24+25=49, Resulting Numbers: [2, 49]
Generated Node #3: [2, 49] from Operation: 24+25=49
Current State: 51:[2, 49], Operations: ['54-52=2', '24+25=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[52, 54, 24, 25], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [24, 25, 2]
Generated Node #0,0: 51:[24, 25, 2] Operation: 54-52=2
Exploring Operation: 24+25=49, Resulting Numbers: [52, 54, 49]
Generated Node #0,1: 51:[52, 54, 49] Operation: 24+25=49
Exploring Operation: 54-25=29, Resulting Numbers: [52, 24, 29]
Generated Node #0,2: 51:[52, 24, 29] Operation: 54-25=29
Exploring Operation: 25-24=1, Resulting Numbers: [52, 54, 1]
Generated Node #0,3: 51:[52, 54, 1] Operation: 25-24=1
Exploring Operation: 52-25=27, Resulting Numbers: [54, 24, 27]
Generated Node #0,4: 51:[54, 24, 27] Operation: 52-25=27
Moving to Node #0,1
Current State: 51:[52, 54, 49], Operations: ['24+25=49']
Exploring Operation: 52-49=3, Resulting Numbers: [54, 3]
Generated Node #0,1,0: 51:[54, 3] Operation: 52-49=3
Exploring Operation: 54-52=2, Resulting Numbers: [49, 2]
Generated Node #0,1,1: 51:[49, 2] Operation: 54-52=2
Exploring Operation: 52+49=101, Resulting Numbers: [54, 101]
Generated Node #0,1,2: 51:[54, 101] Operation: 52+49=101
Exploring Operation: 54-49=5, Resulting Numbers: [52, 5]
Generated Node #0,1,3: 51:[52, 5] Operation: 54-49=5
Exploring Operation: 54+49=103, Resulting Numbers: [52, 103]
Generated Node #0,1,4: 51:[52, 103] Operation: 54+49=103
Moving to Node #0,3
Current State: 51:[52, 54, 1], Operations: ['25-24=1']
Exploring Operation: 54-1=53, Resulting Numbers: [52, 53]
Generated Node #0,3,0: 51:[52, 53] Operation: 54-1=53
Exploring Operation: 52-1=51, Resulting Numbers: [54, 51]
Generated Node #0,3,1: 51:[54, 51] Operation: 52-1=51
Exploring Operation: 54-52=2, Resulting Numbers: [1, 2]
Generated Node #0,3,2: 51:[1, 2] Operation: 54-52=2
Exploring Operation: 52/1=52, Resulting Numbers: [54, 52]
Generated Node #0,3,3: 51:[54, 52] Operation: 52/1=52
Exploring Operation: 52*1=52, Resulting Numbers: [54, 52]
Generated Node #0,3,4: 51:[54, 52] Operation: 52*1=52
Moving to Node #0,0
Current State: 51:[24, 25, 2], Operations: ['54-52=2']
Exploring Operation: 24*2=48, Resulting Numbers: [25, 48]
Generated Node #0,0,0: 51:[25, 48] Operation: 24*2=48
Exploring Operation: 24+25=49, Resulting Numbers: [2, 49]
Generated Node #0,0,1: 51:[2, 49] Operation: 24+25=49
Exploring Operation: 25-24=1, Resulting Numbers: [2, 1]
Generated Node #0,0,2: 51:[2, 1] Operation: 25-24=1
Exploring Operation: 24-2=22, Resulting Numbers: [25, 22]
Generated Node #0,0,3: 51:[25, 22] Operation: 24-2=22
Exploring Operation: 25*2=50, Resulting Numbers: [24, 50]
Generated Node #0,0,4: 51:[24, 50] Operation: 25*2=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[2, 49], Operations: ['54-52=2', '24+25=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,51 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,51 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[52, 54, 24, 25], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [24, 25, 2]
Generated Node #0,0: 51:[24, 25, 2] Operation: 54-52=2
Moving to Node #0,0
Current State: 51:[24, 25, 2], Operations: ['54-52=2']
Exploring Operation: 24+25=49, Resulting Numbers: [2, 49]
Generated Node #0,0,1: 51:[2, 49] Operation: 24+25=49
Moving to Node #0,0,1
Current State: 51:[2, 49], Operations: ['54-52=2', '24+25=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
39,
63,
21,
22
] | 42 | [
"63-39=24",
"24-22=2",
"21*2=42"
] | Current State: 42:[39, 63, 21, 22], Operations: []
Exploring Operation: 63-39=24, Resulting Numbers: [21, 22, 24]
Generated Node #2: [21, 22, 24] from Operation: 63-39=24
Current State: 42:[21, 22, 24], Operations: ['63-39=24']
Exploring Operation: 24-22=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 24-22=2
Current State: 42:[21, 2], Operations: ['63-39=24', '24-22=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[39, 63, 21, 22], Operations: []
Exploring Operation: 63-39=24, Resulting Numbers: [21, 22, 24]
Generated Node #0,0: 42:[21, 22, 24] Operation: 63-39=24
Exploring Operation: 63-21=42, Resulting Numbers: [39, 22, 42]
Generated Node #0,1: 42:[39, 22, 42] Operation: 63-21=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[21, 22, 24], Operations: ['63-39=24']
Exploring Operation: 24-21=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 42:[22, 3] Operation: 24-21=3
Exploring Operation: 24-22=2, Resulting Numbers: [21, 2]
Generated Node #0,0,1: 42:[21, 2] Operation: 24-22=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[21, 2], Operations: ['63-39=24', '24-22=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[39, 63, 21, 22], Operations: []
Exploring Operation: 63-39=24, Resulting Numbers: [21, 22, 24]
Generated Node #0,0: 42:[21, 22, 24] Operation: 63-39=24
Moving to Node #0,0
Current State: 42:[21, 22, 24], Operations: ['63-39=24']
Exploring Operation: 24-22=2, Resulting Numbers: [21, 2]
Generated Node #0,0,1: 42:[21, 2] Operation: 24-22=2
Moving to Node #0,0,1
Current State: 42:[21, 2], Operations: ['63-39=24', '24-22=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
7,
60,
55,
50
] | 19 | [
"55-50=5",
"60/5=12",
"7+12=19"
] | Current State: 19:[7, 60, 55, 50], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [7, 60, 5]
Generated Node #2: [7, 60, 5] from Operation: 55-50=5
Current State: 19:[7, 60, 5], Operations: ['55-50=5']
Exploring Operation: 60/5=12, Resulting Numbers: [7, 12]
Generated Node #3: [7, 12] from Operation: 60/5=12
Current State: 19:[7, 12], Operations: ['55-50=5', '60/5=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[7, 60, 55, 50], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [7, 50, 5]
Generated Node #0,0: 19:[7, 50, 5] Operation: 60-55=5
Moving to Node #0,0
Current State: 19:[7, 50, 5], Operations: ['60-55=5']
Exploring Operation: 50/5=10, Resulting Numbers: [7, 10]
Generated Node #0,0,0: 19:[7, 10] Operation: 50/5=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[7, 10], Operations: ['60-55=5', '50/5=10']
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
76,
66,
36
] | 75 | [
"76-72=4",
"36/4=9",
"66+9=75"
] | Current State: 75:[72, 76, 66, 36], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [66, 36, 4]
Generated Node #2: [66, 36, 4] from Operation: 76-72=4
Current State: 75:[66, 36, 4], Operations: ['76-72=4']
Exploring Operation: 36/4=9, Resulting Numbers: [66, 9]
Generated Node #3: [66, 9] from Operation: 36/4=9
Current State: 75:[66, 9], Operations: ['76-72=4', '36/4=9']
Exploring Operation: 66+9=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[72, 76, 66, 36], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [72, 76, 30]
Generated Node #0,0: 75:[72, 76, 30] Operation: 66-36=30
Exploring Operation: 72-66=6, Resulting Numbers: [76, 36, 6]
Generated Node #0,1: 75:[76, 36, 6] Operation: 72-66=6
Exploring Operation: 72/36=2, Resulting Numbers: [76, 66, 2]
Generated Node #0,2: 75:[76, 66, 2] Operation: 72/36=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[72, 76, 30], Operations: ['66-36=30']
Exploring Operation: 76-30=46, Resulting Numbers: [72, 46]
Generated Node #0,0,0: 75:[72, 46] Operation: 76-30=46
Exploring Operation: 72-30=42, Resulting Numbers: [76, 42]
Generated Node #0,0,1: 75:[76, 42] Operation: 72-30=42
Exploring Operation: 76-72=4, Resulting Numbers: [30, 4]
Generated Node #0,0,2: 75:[30, 4] Operation: 76-72=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[30, 4], Operations: ['66-36=30', '76-72=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[76, 42], Operations: ['66-36=30', '72-30=42']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,75 unequal: No Solution
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[72, 46], Operations: ['66-36=30', '76-30=46']
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 72*46=3312, Resulting Numbers: [3312]
3312,75 unequal: No Solution
Exploring Operation: 72+46=118, Resulting Numbers: [118]
118,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[76, 66, 2], Operations: ['72/36=2']
Exploring Operation: 66/2=33, Resulting Numbers: [76, 33]
Generated Node #0,2,0: 75:[76, 33] Operation: 66/2=33
Exploring Operation: 66+2=68, Resulting Numbers: [76, 68]
Generated Node #0,2,1: 75:[76, 68] Operation: 66+2=68
Exploring Operation: 76-66=10, Resulting Numbers: [2, 10]
Generated Node #0,2,2: 75:[2, 10] Operation: 76-66=10
Moving to Node #0,2,2
Current State: 75:[2, 10], Operations: ['72/36=2', '76-66=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[76, 68], Operations: ['72/36=2', '66+2=68']
Exploring Operation: 76*68=5168, Resulting Numbers: [5168]
5168,75 unequal: No Solution
Exploring Operation: 76+68=144, Resulting Numbers: [144]
144,75 unequal: No Solution
Exploring Operation: 76-68=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[76, 33], Operations: ['72/36=2', '66/2=33']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,75 unequal: No Solution
Exploring Operation: 76+33=109, Resulting Numbers: [109]
109,75 unequal: No Solution
Exploring Operation: 76*33=2508, Resulting Numbers: [2508]
2508,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[76, 36, 6], Operations: ['72-66=6']
Exploring Operation: 36-6=30, Resulting Numbers: [76, 30]
Generated Node #0,1,0: 75:[76, 30] Operation: 36-6=30
Exploring Operation: 36/6=6, Resulting Numbers: [76, 6]
Generated Node #0,1,1: 75:[76, 6] Operation: 36/6=6
Exploring Operation: 76-36=40, Resulting Numbers: [6, 40]
Generated Node #0,1,2: 75:[6, 40] Operation: 76-36=40
Moving to Node #0,1,1
Current State: 75:[76, 6], Operations: ['72-66=6', '36/6=6']
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,75 unequal: No Solution
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[76, 30], Operations: ['72-66=6', '36-6=30']
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,75 unequal: No Solution
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,75 unequal: No Solution
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[6, 40], Operations: ['72-66=6', '76-36=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,75 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,75 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 |
[
26,
21,
39,
62
] | 70 | [
"26+21=47",
"62-39=23",
"47+23=70"
] | Current State: 70:[26, 21, 39, 62], Operations: []
Exploring Operation: 26+21=47, Resulting Numbers: [39, 62, 47]
Generated Node #2: [39, 62, 47] from Operation: 26+21=47
Current State: 70:[39, 62, 47], Operations: ['26+21=47']
Exploring Operation: 62-39=23, Resulting Numbers: [47, 23]
Generated Node #3: [47, 23] from Operation: 62-39=23
Current State: 70:[47, 23], Operations: ['26+21=47', '62-39=23']
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[26, 21, 39, 62], Operations: []
Exploring Operation: 62-21=41, Resulting Numbers: [26, 39, 41]
Generated Node #0,0: 70:[26, 39, 41] Operation: 62-21=41
Exploring Operation: 39-26=13, Resulting Numbers: [21, 62, 13]
Generated Node #0,1: 70:[21, 62, 13] Operation: 39-26=13
Exploring Operation: 62-26=36, Resulting Numbers: [21, 39, 36]
Generated Node #0,2: 70:[21, 39, 36] Operation: 62-26=36
Exploring Operation: 26-21=5, Resulting Numbers: [39, 62, 5]
Generated Node #0,3: 70:[39, 62, 5] Operation: 26-21=5
Moving to Node #0,2
Current State: 70:[21, 39, 36], Operations: ['62-26=36']
Exploring Operation: 36-21=15, Resulting Numbers: [39, 15]
Generated Node #0,2,0: 70:[39, 15] Operation: 36-21=15
Exploring Operation: 39-36=3, Resulting Numbers: [21, 3]
Generated Node #0,2,1: 70:[21, 3] Operation: 39-36=3
Exploring Operation: 21+39=60, Resulting Numbers: [36, 60]
Generated Node #0,2,2: 70:[36, 60] Operation: 21+39=60
Exploring Operation: 39-21=18, Resulting Numbers: [36, 18]
Generated Node #0,2,3: 70:[36, 18] Operation: 39-21=18
Moving to Node #0,3
Current State: 70:[39, 62, 5], Operations: ['26-21=5']
Exploring Operation: 62+5=67, Resulting Numbers: [39, 67]
Generated Node #0,3,0: 70:[39, 67] Operation: 62+5=67
Exploring Operation: 39+5=44, Resulting Numbers: [62, 44]
Generated Node #0,3,1: 70:[62, 44] Operation: 39+5=44
Exploring Operation: 62-39=23, Resulting Numbers: [5, 23]
Generated Node #0,3,2: 70:[5, 23] Operation: 62-39=23
Exploring Operation: 39-5=34, Resulting Numbers: [62, 34]
Generated Node #0,3,3: 70:[62, 34] Operation: 39-5=34
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[39, 67], Operations: ['26-21=5', '62+5=67']
Exploring Operation: 39+67=106, Resulting Numbers: [106]
106,70 unequal: No Solution
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 39*67=2613, Resulting Numbers: [2613]
2613,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[5, 23], Operations: ['26-21=5', '62-39=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 70:[62, 34], Operations: ['26-21=5', '39-5=34']
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,70 unequal: No Solution
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,70 unequal: No Solution
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 70:[62, 44], Operations: ['26-21=5', '39+5=44']
Exploring Operation: 62+44=106, Resulting Numbers: [106]
106,70 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 62*44=2728, Resulting Numbers: [2728]
2728,70 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: 70:[21, 62, 13], Operations: ['39-26=13']
Exploring Operation: 62-21=41, Resulting Numbers: [13, 41]
Generated Node #0,1,0: 70:[13, 41] Operation: 62-21=41
Exploring Operation: 21+13=34, Resulting Numbers: [62, 34]
Generated Node #0,1,1: 70:[62, 34] Operation: 21+13=34
Exploring Operation: 62+13=75, Resulting Numbers: [21, 75]
Generated Node #0,1,2: 70:[21, 75] Operation: 62+13=75
Exploring Operation: 21-13=8, Resulting Numbers: [62, 8]
Generated Node #0,1,3: 70:[62, 8] Operation: 21-13=8
Moving to Node #0,0
Current State: 70:[26, 39, 41], Operations: ['62-21=41']
Exploring Operation: 26+41=67, Resulting Numbers: [39, 67]
Generated Node #0,0,0: 70:[39, 67] Operation: 26+41=67
Exploring Operation: 39-26=13, Resulting Numbers: [41, 13]
Generated Node #0,0,1: 70:[41, 13] Operation: 39-26=13
Exploring Operation: 41-39=2, Resulting Numbers: [26, 2]
Generated Node #0,0,2: 70:[26, 2] Operation: 41-39=2
Exploring Operation: 41-26=15, Resulting Numbers: [39, 15]
Generated Node #0,0,3: 70:[39, 15] Operation: 41-26=15
Moving to Node #0,2,0
Current State: 70:[39, 15], Operations: ['62-26=36', '36-21=15']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[36, 18], Operations: ['62-26=36', '39-21=18']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,70 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[39, 15], Operations: ['62-21=41', '41-26=15']
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,70 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[13, 41], Operations: ['39-26=13', '62-21=41']
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,70 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[39, 67], Operations: ['62-21=41', '26+41=67']
Exploring Operation: 39*67=2613, Resulting Numbers: [2613]
2613,70 unequal: No Solution
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 39+67=106, Resulting Numbers: [106]
106,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[41, 13], Operations: ['62-21=41', '39-26=13']
Exploring Operation: 41*13=533, Resulting Numbers: [533]
533,70 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 41+13=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[21, 3], Operations: ['62-26=36', '39-36=3']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,70 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[62, 34], Operations: ['39-26=13', '21+13=34']
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,70 unequal: No Solution
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[62, 8], Operations: ['39-26=13', '21-13=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[26, 21, 39, 62], Operations: []
Exploring Operation: 39-26=13, Resulting Numbers: [21, 62, 13]
Generated Node #0,1: 70:[21, 62, 13] Operation: 39-26=13
Moving to Node #0,1
Current State: 70:[21, 62, 13], Operations: ['39-26=13']
Exploring Operation: 21-13=8, Resulting Numbers: [62, 8]
Generated Node #0,1,3: 70:[62, 8] Operation: 21-13=8
Moving to Node #0,1,3
Current State: 70:[62, 8], Operations: ['39-26=13', '21-13=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.945313 | hs_4 | mult_heuristic |
[
76,
30,
72,
93
] | 59 | [
"76+30=106",
"72+93=165",
"165-106=59"
] | Current State: 59:[76, 30, 72, 93], Operations: []
Exploring Operation: 76+30=106, Resulting Numbers: [72, 93, 106]
Generated Node #2: [72, 93, 106] from Operation: 76+30=106
Current State: 59:[72, 93, 106], Operations: ['76+30=106']
Exploring Operation: 72+93=165, Resulting Numbers: [106, 165]
Generated Node #3: [106, 165] from Operation: 72+93=165
Current State: 59:[106, 165], Operations: ['76+30=106', '72+93=165']
Exploring Operation: 165-106=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[76, 30, 72, 93], Operations: []
Exploring Operation: 76-30=46, Resulting Numbers: [72, 93, 46]
Generated Node #0,0: 59:[72, 93, 46] Operation: 76-30=46
Exploring Operation: 93-30=63, Resulting Numbers: [76, 72, 63]
Generated Node #0,1: 59:[76, 72, 63] Operation: 93-30=63
Exploring Operation: 72-30=42, Resulting Numbers: [76, 93, 42]
Generated Node #0,2: 59:[76, 93, 42] Operation: 72-30=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[76, 72, 63], Operations: ['93-30=63']
Exploring Operation: 72-63=9, Resulting Numbers: [76, 9]
Generated Node #0,1,0: 59:[76, 9] Operation: 72-63=9
Exploring Operation: 76-63=13, Resulting Numbers: [72, 13]
Generated Node #0,1,1: 59:[72, 13] Operation: 76-63=13
Exploring Operation: 76-72=4, Resulting Numbers: [63, 4]
Generated Node #0,1,2: 59:[63, 4] Operation: 76-72=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[72, 13], Operations: ['93-30=63', '76-63=13']
Exploring Operation: 72*13=936, Resulting Numbers: [936]
936,59 unequal: No Solution
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[76, 30, 72, 93], Operations: []
Exploring Operation: 93-30=63, Resulting Numbers: [76, 72, 63]
Generated Node #0,1: 59:[76, 72, 63] Operation: 93-30=63
Moving to Node #0,1
Current State: 59:[76, 72, 63], Operations: ['93-30=63']
Exploring Operation: 76-63=13, Resulting Numbers: [72, 13]
Generated Node #0,1,1: 59:[72, 13] Operation: 76-63=13
Moving to Node #0,1,1
Current State: 59:[72, 13], Operations: ['93-30=63', '76-63=13']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
22,
29,
49,
69
] | 13 | [
"29-22=7",
"69-49=20",
"20-7=13"
] | Current State: 13:[22, 29, 49, 69], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [49, 69, 7]
Generated Node #2: [49, 69, 7] from Operation: 29-22=7
Current State: 13:[49, 69, 7], Operations: ['29-22=7']
Exploring Operation: 69-49=20, Resulting Numbers: [7, 20]
Generated Node #3: [7, 20] from Operation: 69-49=20
Current State: 13:[7, 20], Operations: ['29-22=7', '69-49=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[22, 29, 49, 69], Operations: []
Exploring Operation: 49-29=20, Resulting Numbers: [22, 69, 20]
Generated Node #0,0: 13:[22, 69, 20] Operation: 49-29=20
Exploring Operation: 69-49=20, Resulting Numbers: [22, 29, 20]
Generated Node #0,1: 13:[22, 29, 20] Operation: 69-49=20
Exploring Operation: 69-29=40, Resulting Numbers: [22, 49, 40]
Generated Node #0,2: 13:[22, 49, 40] Operation: 69-29=40
Moving to Node #0,1
Current State: 13:[22, 29, 20], Operations: ['69-49=20']
Exploring Operation: 29-20=9, Resulting Numbers: [22, 9]
Generated Node #0,1,0: 13:[22, 9] Operation: 29-20=9
Exploring Operation: 29-22=7, Resulting Numbers: [20, 7]
Generated Node #0,1,1: 13:[20, 7] Operation: 29-22=7
Exploring Operation: 22-20=2, Resulting Numbers: [29, 2]
Generated Node #0,1,2: 13:[29, 2] Operation: 22-20=2
Moving to Node #0,0
Current State: 13:[22, 69, 20], Operations: ['49-29=20']
Exploring Operation: 69-22=47, Resulting Numbers: [20, 47]
Generated Node #0,0,0: 13:[20, 47] Operation: 69-22=47
Exploring Operation: 22-20=2, Resulting Numbers: [69, 2]
Generated Node #0,0,1: 13:[69, 2] Operation: 22-20=2
Exploring Operation: 69-20=49, Resulting Numbers: [22, 49]
Generated Node #0,0,2: 13:[22, 49] Operation: 69-20=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[20, 47], Operations: ['49-29=20', '69-22=47']
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,13 unequal: No Solution
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,13 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[22, 49], Operations: ['49-29=20', '69-20=49']
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,13 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[69, 2], Operations: ['49-29=20', '22-20=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,13 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,13 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,13 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: 13:[22, 49, 40], Operations: ['69-29=40']
Exploring Operation: 49-22=27, Resulting Numbers: [40, 27]
Generated Node #0,2,0: 13:[40, 27] Operation: 49-22=27
Exploring Operation: 40-22=18, Resulting Numbers: [49, 18]
Generated Node #0,2,1: 13:[49, 18] Operation: 40-22=18
Exploring Operation: 49-40=9, Resulting Numbers: [22, 9]
Generated Node #0,2,2: 13:[22, 9] Operation: 49-40=9
Moving to Node #0,1,0
Current State: 13:[22, 9], Operations: ['69-49=20', '29-20=9']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[22, 29, 49, 69], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [22, 29, 20]
Generated Node #0,1: 13:[22, 29, 20] Operation: 69-49=20
Moving to Node #0,1
Current State: 13:[22, 29, 20], Operations: ['69-49=20']
Exploring Operation: 29-20=9, Resulting Numbers: [22, 9]
Generated Node #0,1,0: 13:[22, 9] Operation: 29-20=9
Moving to Node #0,1,0
Current State: 13:[22, 9], Operations: ['69-49=20', '29-20=9']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
63,
92,
74,
8
] | 28 | [
"63*8=504",
"92-74=18",
"504/18=28"
] | Current State: 28:[63, 92, 74, 8], Operations: []
Exploring Operation: 63*8=504, Resulting Numbers: [92, 74, 504]
Generated Node #2: [92, 74, 504] from Operation: 63*8=504
Current State: 28:[92, 74, 504], Operations: ['63*8=504']
Exploring Operation: 92-74=18, Resulting Numbers: [504, 18]
Generated Node #3: [504, 18] from Operation: 92-74=18
Current State: 28:[504, 18], Operations: ['63*8=504', '92-74=18']
Exploring Operation: 504/18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[63, 92, 74, 8], Operations: []
Exploring Operation: 92-63=29, Resulting Numbers: [74, 8, 29]
Generated Node #0,0: 28:[74, 8, 29] Operation: 92-63=29
Exploring Operation: 63-8=55, Resulting Numbers: [92, 74, 55]
Generated Node #0,1: 28:[92, 74, 55] Operation: 63-8=55
Exploring Operation: 92-74=18, Resulting Numbers: [63, 8, 18]
Generated Node #0,2: 28:[63, 8, 18] Operation: 92-74=18
Exploring Operation: 92-8=84, Resulting Numbers: [63, 74, 84]
Generated Node #0,3: 28:[63, 74, 84] Operation: 92-8=84
Exploring Operation: 74-63=11, Resulting Numbers: [92, 8, 11]
Generated Node #0,4: 28:[92, 8, 11] Operation: 74-63=11
Moving to Node #0,2
Current State: 28:[63, 8, 18], Operations: ['92-74=18']
Exploring Operation: 18-8=10, Resulting Numbers: [63, 10]
Generated Node #0,2,0: 28:[63, 10] Operation: 18-8=10
Exploring Operation: 8+18=26, Resulting Numbers: [63, 26]
Generated Node #0,2,1: 28:[63, 26] Operation: 8+18=26
Exploring Operation: 63-8=55, Resulting Numbers: [18, 55]
Generated Node #0,2,2: 28:[18, 55] Operation: 63-8=55
Exploring Operation: 63-18=45, Resulting Numbers: [8, 45]
Generated Node #0,2,3: 28:[8, 45] Operation: 63-18=45
Exploring Operation: 63+8=71, Resulting Numbers: [18, 71]
Generated Node #0,2,4: 28:[18, 71] Operation: 63+8=71
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 28:[8, 45], Operations: ['92-74=18', '63-18=45']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,28 unequal: No Solution
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[18, 55], Operations: ['92-74=18', '63-8=55']
Exploring Operation: 18*55=990, Resulting Numbers: [990]
990,28 unequal: No Solution
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[63, 26], Operations: ['92-74=18', '8+18=26']
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,28 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[63, 10], Operations: ['92-74=18', '18-8=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 28:[18, 71], Operations: ['92-74=18', '63+8=71']
Exploring Operation: 18+71=89, Resulting Numbers: [89]
89,28 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 18*71=1278, Resulting Numbers: [1278]
1278,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 28:[74, 8, 29], Operations: ['92-63=29']
Exploring Operation: 8+29=37, Resulting Numbers: [74, 37]
Generated Node #0,0,0: 28:[74, 37] Operation: 8+29=37
Exploring Operation: 74+8=82, Resulting Numbers: [29, 82]
Generated Node #0,0,1: 28:[29, 82] Operation: 74+8=82
Exploring Operation: 74-8=66, Resulting Numbers: [29, 66]
Generated Node #0,0,2: 28:[29, 66] Operation: 74-8=66
Exploring Operation: 74-29=45, Resulting Numbers: [8, 45]
Generated Node #0,0,3: 28:[8, 45] Operation: 74-29=45
Exploring Operation: 29-8=21, Resulting Numbers: [74, 21]
Generated Node #0,0,4: 28:[74, 21] Operation: 29-8=21
Moving to Node #0,4
Current State: 28:[92, 8, 11], Operations: ['74-63=11']
Exploring Operation: 11-8=3, Resulting Numbers: [92, 3]
Generated Node #0,4,0: 28:[92, 3] Operation: 11-8=3
Exploring Operation: 92-8=84, Resulting Numbers: [11, 84]
Generated Node #0,4,1: 28:[11, 84] Operation: 92-8=84
Exploring Operation: 92+8=100, Resulting Numbers: [11, 100]
Generated Node #0,4,2: 28:[11, 100] Operation: 92+8=100
Exploring Operation: 92-11=81, Resulting Numbers: [8, 81]
Generated Node #0,4,3: 28:[8, 81] Operation: 92-11=81
Exploring Operation: 8+11=19, Resulting Numbers: [92, 19]
Generated Node #0,4,4: 28:[92, 19] Operation: 8+11=19
Moving to Node #0,1
Current State: 28:[92, 74, 55], Operations: ['63-8=55']
Exploring Operation: 92+74=166, Resulting Numbers: [55, 166]
Generated Node #0,1,0: 28:[55, 166] Operation: 92+74=166
Exploring Operation: 92-74=18, Resulting Numbers: [55, 18]
Generated Node #0,1,1: 28:[55, 18] Operation: 92-74=18
Exploring Operation: 74-55=19, Resulting Numbers: [92, 19]
Generated Node #0,1,2: 28:[92, 19] Operation: 74-55=19
Exploring Operation: 92+55=147, Resulting Numbers: [74, 147]
Generated Node #0,1,3: 28:[74, 147] Operation: 92+55=147
Exploring Operation: 92-55=37, Resulting Numbers: [74, 37]
Generated Node #0,1,4: 28:[74, 37] Operation: 92-55=37
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[55, 18], Operations: ['63-8=55', '92-74=18']
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 28:[74, 37], Operations: ['63-8=55', '92-55=37']
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,28 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 74*37=2738, Resulting Numbers: [2738]
2738,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[92, 19], Operations: ['63-8=55', '74-55=19']
Exploring Operation: 92+19=111, Resulting Numbers: [111]
111,28 unequal: No Solution
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 92*19=1748, Resulting Numbers: [1748]
1748,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[55, 166], Operations: ['63-8=55', '92+74=166']
Exploring Operation: 55*166=9130, Resulting Numbers: [9130]
9130,28 unequal: No Solution
Exploring Operation: 55+166=221, Resulting Numbers: [221]
221,28 unequal: No Solution
Exploring Operation: 166-55=111, Resulting Numbers: [111]
111,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 28:[74, 147], Operations: ['63-8=55', '92+55=147']
Exploring Operation: 147-74=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 74*147=10878, Resulting Numbers: [10878]
10878,28 unequal: No Solution
Exploring Operation: 74+147=221, Resulting Numbers: [221]
221,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 28:[63, 74, 84], Operations: ['92-8=84']
Exploring Operation: 74-63=11, Resulting Numbers: [84, 11]
Generated Node #0,3,0: 28:[84, 11] Operation: 74-63=11
Exploring Operation: 84-63=21, Resulting Numbers: [74, 21]
Generated Node #0,3,1: 28:[74, 21] Operation: 84-63=21
Exploring Operation: 84-74=10, Resulting Numbers: [63, 10]
Generated Node #0,3,2: 28:[63, 10] Operation: 84-74=10
Exploring Operation: 63+84=147, Resulting Numbers: [74, 147]
Generated Node #0,3,3: 28:[74, 147] Operation: 63+84=147
Exploring Operation: 63+74=137, Resulting Numbers: [84, 137]
Generated Node #0,3,4: 28:[84, 137] Operation: 63+74=137
Moving to Node #0,0,3
Current State: 28:[8, 45], Operations: ['92-63=29', '74-29=45']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[63, 10], Operations: ['92-8=84', '84-74=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,28 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[29, 66], Operations: ['92-63=29', '74-8=66']
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,28 unequal: No Solution
Exploring Operation: 29*66=1914, Resulting Numbers: [1914]
1914,28 unequal: No Solution
Moving to Node #0,0,4
Current State: 28:[74, 21], Operations: ['92-63=29', '29-8=21']
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,28 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[74, 21], Operations: ['92-8=84', '84-63=21']
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,28 unequal: No Solution
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,28 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Moving to Node #0,4,3
Current State: 28:[8, 81], Operations: ['74-63=11', '92-11=81']
Exploring Operation: 8*81=648, Resulting Numbers: [648]
648,28 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 8+81=89, Resulting Numbers: [89]
89,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[29, 82], Operations: ['92-63=29', '74+8=82']
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 29*82=2378, Resulting Numbers: [2378]
2378,28 unequal: No Solution
Exploring Operation: 29+82=111, Resulting Numbers: [111]
111,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[74, 37], Operations: ['92-63=29', '8+29=37']
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,28 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 74*37=2738, Resulting Numbers: [2738]
2738,28 unequal: No Solution
Moving to Node #0,4,1
Current State: 28:[11, 84], Operations: ['74-63=11', '92-8=84']
Exploring Operation: 11+84=95, Resulting Numbers: [95]
95,28 unequal: No Solution
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 11*84=924, Resulting Numbers: [924]
924,28 unequal: No Solution
Moving to Node #0,3,0
Current State: 28:[84, 11], Operations: ['92-8=84', '74-63=11']
Exploring Operation: 84*11=924, Resulting Numbers: [924]
924,28 unequal: No Solution
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 84+11=95, Resulting Numbers: [95]
95,28 unequal: No Solution
Moving to Node #0,4,0
Current State: 28:[92, 3], Operations: ['74-63=11', '11-8=3']
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,28 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,28 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,28 unequal: No Solution
Moving to Node #0,4,4
Current State: 28:[92, 19], Operations: ['74-63=11', '8+11=19']
Exploring Operation: 92*19=1748, Resulting Numbers: [1748]
1748,28 unequal: No Solution
Exploring Operation: 92+19=111, Resulting Numbers: [111]
111,28 unequal: No Solution
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Moving to Node #0,4,2
Current State: 28:[11, 100], Operations: ['74-63=11', '92+8=100']
Exploring Operation: 11*100=1100, Resulting Numbers: [1100]
1100,28 unequal: No Solution
Exploring Operation: 100-11=89, Resulting Numbers: [89]
89,28 unequal: No Solution
Exploring Operation: 11+100=111, Resulting Numbers: [111]
111,28 unequal: No Solution
Moving to Node #0,3,4
Current State: 28:[84, 137], Operations: ['92-8=84', '63+74=137']
Exploring Operation: 84+137=221, Resulting Numbers: [221]
221,28 unequal: No Solution
Exploring Operation: 84*137=11508, Resulting Numbers: [11508]
11508,28 unequal: No Solution
Exploring Operation: 137-84=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[74, 147], Operations: ['92-8=84', '63+84=147']
Exploring Operation: 74+147=221, Resulting Numbers: [221]
221,28 unequal: No Solution
Exploring Operation: 147-74=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 74*147=10878, Resulting Numbers: [10878]
10878,28 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
82,
26,
48,
88
] | 83 | [
"82+48=130",
"130/26=5",
"88-5=83"
] | Current State: 83:[82, 26, 48, 88], Operations: []
Exploring Operation: 82+48=130, Resulting Numbers: [26, 88, 130]
Generated Node #2: [26, 88, 130] from Operation: 82+48=130
Current State: 83:[26, 88, 130], Operations: ['82+48=130']
Exploring Operation: 130/26=5, Resulting Numbers: [88, 5]
Generated Node #3: [88, 5] from Operation: 130/26=5
Current State: 83:[88, 5], Operations: ['82+48=130', '130/26=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[82, 26, 48, 88], Operations: []
Exploring Operation: 26+48=74, Resulting Numbers: [82, 88, 74]
Generated Node #0,0: 83:[82, 88, 74] Operation: 26+48=74
Exploring Operation: 82-26=56, Resulting Numbers: [48, 88, 56]
Generated Node #0,1: 83:[48, 88, 56] Operation: 82-26=56
Exploring Operation: 82+26=108, Resulting Numbers: [48, 88, 108]
Generated Node #0,2: 83:[48, 88, 108] Operation: 82+26=108
Exploring Operation: 88-26=62, Resulting Numbers: [82, 48, 62]
Generated Node #0,3: 83:[82, 48, 62] Operation: 88-26=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[82, 88, 74], Operations: ['26+48=74']
Exploring Operation: 88+74=162, Resulting Numbers: [82, 162]
Generated Node #0,0,0: 83:[82, 162] Operation: 88+74=162
Exploring Operation: 88-74=14, Resulting Numbers: [82, 14]
Generated Node #0,0,1: 83:[82, 14] Operation: 88-74=14
Exploring Operation: 82-74=8, Resulting Numbers: [88, 8]
Generated Node #0,0,2: 83:[88, 8] Operation: 82-74=8
Exploring Operation: 82+74=156, Resulting Numbers: [88, 156]
Generated Node #0,0,3: 83:[88, 156] Operation: 82+74=156
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[82, 14], Operations: ['26+48=74', '88-74=14']
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,83 unequal: No Solution
Exploring Operation: 82+14=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 82*14=1148, Resulting Numbers: [1148]
1148,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[88, 156], Operations: ['26+48=74', '82+74=156']
Exploring Operation: 88+156=244, Resulting Numbers: [244]
244,83 unequal: No Solution
Exploring Operation: 88*156=13728, Resulting Numbers: [13728]
13728,83 unequal: No Solution
Exploring Operation: 156-88=68, Resulting Numbers: [68]
68,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[82, 162], Operations: ['26+48=74', '88+74=162']
Exploring Operation: 82*162=13284, Resulting Numbers: [13284]
13284,83 unequal: No Solution
Exploring Operation: 162-82=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 82+162=244, Resulting Numbers: [244]
244,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[88, 8], Operations: ['26+48=74', '82-74=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[82, 48, 62], Operations: ['88-26=62']
Exploring Operation: 82-48=34, Resulting Numbers: [62, 34]
Generated Node #0,3,0: 83:[62, 34] Operation: 82-48=34
Exploring Operation: 48+62=110, Resulting Numbers: [82, 110]
Generated Node #0,3,1: 83:[82, 110] Operation: 48+62=110
Exploring Operation: 82+48=130, Resulting Numbers: [62, 130]
Generated Node #0,3,2: 83:[62, 130] Operation: 82+48=130
Exploring Operation: 62-48=14, Resulting Numbers: [82, 14]
Generated Node #0,3,3: 83:[82, 14] Operation: 62-48=14
Moving to Node #0,3,1
Current State: 83:[82, 110], Operations: ['88-26=62', '48+62=110']
Exploring Operation: 82*110=9020, Resulting Numbers: [9020]
9020,83 unequal: No Solution
Exploring Operation: 82+110=192, Resulting Numbers: [192]
192,83 unequal: No Solution
Exploring Operation: 110-82=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[62, 130], Operations: ['88-26=62', '82+48=130']
Exploring Operation: 62*130=8060, Resulting Numbers: [8060]
8060,83 unequal: No Solution
Exploring Operation: 130-62=68, Resulting Numbers: [68]
68,83 unequal: No Solution
Exploring Operation: 62+130=192, Resulting Numbers: [192]
192,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[82, 14], Operations: ['88-26=62', '62-48=14']
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,83 unequal: No Solution
Exploring Operation: 82+14=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 82*14=1148, Resulting Numbers: [1148]
1148,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[62, 34], Operations: ['88-26=62', '82-48=34']
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,83 unequal: No Solution
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[48, 88, 108], Operations: ['82+26=108']
Exploring Operation: 48+108=156, Resulting Numbers: [88, 156]
Generated Node #0,2,0: 83:[88, 156] Operation: 48+108=156
Exploring Operation: 48+88=136, Resulting Numbers: [108, 136]
Generated Node #0,2,1: 83:[108, 136] Operation: 48+88=136
Exploring Operation: 88-48=40, Resulting Numbers: [108, 40]
Generated Node #0,2,2: 83:[108, 40] Operation: 88-48=40
Exploring Operation: 108-48=60, Resulting Numbers: [88, 60]
Generated Node #0,2,3: 83:[88, 60] Operation: 108-48=60
Moving to Node #0,2,3
Current State: 83:[88, 60], Operations: ['82+26=108', '108-48=60']
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 88+60=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Exploring Operation: 88*60=5280, Resulting Numbers: [5280]
5280,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[108, 40], Operations: ['82+26=108', '88-48=40']
Exploring Operation: 108+40=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Exploring Operation: 108*40=4320, Resulting Numbers: [4320]
4320,83 unequal: No Solution
Exploring Operation: 108-40=68, Resulting Numbers: [68]
68,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[108, 136], Operations: ['82+26=108', '48+88=136']
Exploring Operation: 108*136=14688, Resulting Numbers: [14688]
14688,83 unequal: No Solution
Exploring Operation: 136-108=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 108+136=244, Resulting Numbers: [244]
244,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[88, 156], Operations: ['82+26=108', '48+108=156']
Exploring Operation: 88*156=13728, Resulting Numbers: [13728]
13728,83 unequal: No Solution
Exploring Operation: 88+156=244, Resulting Numbers: [244]
244,83 unequal: No Solution
Exploring Operation: 156-88=68, Resulting Numbers: [68]
68,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
Current State: 83:[48, 88, 56], Operations: ['82-26=56']
Exploring Operation: 56-48=8, Resulting Numbers: [88, 8]
Generated Node #0,1,0: 83:[88, 8] Operation: 56-48=8
Exploring Operation: 88-48=40, Resulting Numbers: [56, 40]
Generated Node #0,1,1: 83:[56, 40] Operation: 88-48=40
Exploring Operation: 48+56=104, Resulting Numbers: [88, 104]
Generated Node #0,1,2: 83:[88, 104] Operation: 48+56=104
Exploring Operation: 48+88=136, Resulting Numbers: [56, 136]
Generated Node #0,1,3: 83:[56, 136] Operation: 48+88=136
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 83:[88, 104], Operations: ['82-26=56', '48+56=104']
Exploring Operation: 104-88=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 88+104=192, Resulting Numbers: [192]
192,83 unequal: No Solution
Exploring Operation: 88*104=9152, Resulting Numbers: [9152]
9152,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[56, 40], Operations: ['82-26=56', '88-48=40']
Exploring Operation: 56+40=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 56*40=2240, Resulting Numbers: [2240]
2240,83 unequal: No Solution
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[88, 8], Operations: ['82-26=56', '56-48=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 83:[56, 136], Operations: ['82-26=56', '48+88=136']
Exploring Operation: 136-56=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 56+136=192, Resulting Numbers: [192]
192,83 unequal: No Solution
Exploring Operation: 56*136=7616, Resulting Numbers: [7616]
7616,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
48,
90,
22
] | 31 | [
"48-11=37",
"90-22=68",
"68-37=31"
] | Current State: 31:[11, 48, 90, 22], Operations: []
Exploring Operation: 48-11=37, Resulting Numbers: [90, 22, 37]
Generated Node #2: [90, 22, 37] from Operation: 48-11=37
Current State: 31:[90, 22, 37], Operations: ['48-11=37']
Exploring Operation: 90-22=68, Resulting Numbers: [37, 68]
Generated Node #3: [37, 68] from Operation: 90-22=68
Current State: 31:[37, 68], Operations: ['48-11=37', '90-22=68']
Exploring Operation: 68-37=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[11, 48, 90, 22], Operations: []
Exploring Operation: 90-48=42, Resulting Numbers: [11, 22, 42]
Generated Node #0,0: 31:[11, 22, 42] Operation: 90-48=42
Exploring Operation: 48-11=37, Resulting Numbers: [90, 22, 37]
Generated Node #0,1: 31:[90, 22, 37] Operation: 48-11=37
Moving to Node #0,0
Current State: 31:[11, 22, 42], Operations: ['90-48=42']
Exploring Operation: 11+22=33, Resulting Numbers: [42, 33]
Generated Node #0,0,0: 31:[42, 33] Operation: 11+22=33
Exploring Operation: 42-11=31, Resulting Numbers: [22, 31]
Generated Node #0,0,1: 31:[22, 31] Operation: 42-11=31
Moving to Node #0,1
Current State: 31:[90, 22, 37], Operations: ['48-11=37']
Exploring Operation: 90-37=53, Resulting Numbers: [22, 53]
Generated Node #0,1,0: 31:[22, 53] Operation: 90-37=53
Exploring Operation: 90-22=68, Resulting Numbers: [37, 68]
Generated Node #0,1,1: 31:[37, 68] Operation: 90-22=68
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[22, 53], Operations: ['48-11=37', '90-37=53']
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,31 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[11, 48, 90, 22], Operations: []
Exploring Operation: 48-11=37, Resulting Numbers: [90, 22, 37]
Generated Node #0,1: 31:[90, 22, 37] Operation: 48-11=37
Moving to Node #0,1
Current State: 31:[90, 22, 37], Operations: ['48-11=37']
Exploring Operation: 90-37=53, Resulting Numbers: [22, 53]
Generated Node #0,1,0: 31:[22, 53] Operation: 90-37=53
Moving to Node #0,1,0
Current State: 31:[22, 53], Operations: ['48-11=37', '90-37=53']
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
20,
59,
5,
21
] | 23 | [
"59-20=39",
"21-5=16",
"39-16=23"
] | Current State: 23:[20, 59, 5, 21], Operations: []
Exploring Operation: 59-20=39, Resulting Numbers: [5, 21, 39]
Generated Node #2: [5, 21, 39] from Operation: 59-20=39
Current State: 23:[5, 21, 39], Operations: ['59-20=39']
Exploring Operation: 21-5=16, Resulting Numbers: [39, 16]
Generated Node #3: [39, 16] from Operation: 21-5=16
Current State: 23:[39, 16], Operations: ['59-20=39', '21-5=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[20, 59, 5, 21], Operations: []
Exploring Operation: 59-20=39, Resulting Numbers: [5, 21, 39]
Generated Node #0,0: 23:[5, 21, 39] Operation: 59-20=39
Exploring Operation: 59-5=54, Resulting Numbers: [20, 21, 54]
Generated Node #0,1: 23:[20, 21, 54] Operation: 59-5=54
Exploring Operation: 59-21=38, Resulting Numbers: [20, 5, 38]
Generated Node #0,2: 23:[20, 5, 38] Operation: 59-21=38
Moving to Node #0,0
Current State: 23:[5, 21, 39], Operations: ['59-20=39']
Exploring Operation: 39-5=34, Resulting Numbers: [21, 34]
Generated Node #0,0,0: 23:[21, 34] Operation: 39-5=34
Exploring Operation: 5+21=26, Resulting Numbers: [39, 26]
Generated Node #0,0,1: 23:[39, 26] Operation: 5+21=26
Exploring Operation: 21-5=16, Resulting Numbers: [39, 16]
Generated Node #0,0,2: 23:[39, 16] Operation: 21-5=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[21, 34], Operations: ['59-20=39', '39-5=34']
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,23 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[39, 26], Operations: ['59-20=39', '5+21=26']
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,23 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[39, 16], Operations: ['59-20=39', '21-5=16']
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,23 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[20, 59, 5, 21], Operations: []
Exploring Operation: 59-20=39, Resulting Numbers: [5, 21, 39]
Generated Node #0,0: 23:[5, 21, 39] Operation: 59-20=39
Moving to Node #0,0
Current State: 23:[5, 21, 39], Operations: ['59-20=39']
Exploring Operation: 21-5=16, Resulting Numbers: [39, 16]
Generated Node #0,0,2: 23:[39, 16] Operation: 21-5=16
Moving to Node #0,0,2
Current State: 23:[39, 16], Operations: ['59-20=39', '21-5=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
17,
59,
21,
42
] | 74 | [
"17+59=76",
"42/21=2",
"76-2=74"
] | Current State: 74:[17, 59, 21, 42], Operations: []
Exploring Operation: 17+59=76, Resulting Numbers: [21, 42, 76]
Generated Node #2: [21, 42, 76] from Operation: 17+59=76
Current State: 74:[21, 42, 76], Operations: ['17+59=76']
Exploring Operation: 42/21=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 42/21=2
Current State: 74:[76, 2], Operations: ['17+59=76', '42/21=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[17, 59, 21, 42], Operations: []
Exploring Operation: 17+21=38, Resulting Numbers: [59, 42, 38]
Generated Node #0,0: 74:[59, 42, 38] Operation: 17+21=38
Moving to Node #0,0
Current State: 74:[59, 42, 38], Operations: ['17+21=38']
Exploring Operation: 59-42=17, Resulting Numbers: [38, 17]
Generated Node #0,0,0: 74:[38, 17] Operation: 59-42=17
Moving to Node #0,0,0
Current State: 74:[38, 17], Operations: ['17+21=38', '59-42=17']
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,74 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
44,
63,
93
] | 40 | [
"63/7=9",
"93-44=49",
"49-9=40"
] | Current State: 40:[7, 44, 63, 93], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [44, 93, 9]
Generated Node #2: [44, 93, 9] from Operation: 63/7=9
Current State: 40:[44, 93, 9], Operations: ['63/7=9']
Exploring Operation: 93-44=49, Resulting Numbers: [9, 49]
Generated Node #3: [9, 49] from Operation: 93-44=49
Current State: 40:[9, 49], Operations: ['63/7=9', '93-44=49']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[7, 44, 63, 93], Operations: []
Exploring Operation: 93-63=30, Resulting Numbers: [7, 44, 30]
Generated Node #0,0: 40:[7, 44, 30] Operation: 93-63=30
Moving to Node #0,0
Current State: 40:[7, 44, 30], Operations: ['93-63=30']
Exploring Operation: 44-30=14, Resulting Numbers: [7, 14]
Generated Node #0,0,0: 40:[7, 14] Operation: 44-30=14
Moving to Node #0,0,0
Current State: 40:[7, 14], Operations: ['93-63=30', '44-30=14']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,40 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
36,
67,
63,
52
] | 61 | [
"67-63=4",
"36/4=9",
"52+9=61"
] | Current State: 61:[36, 67, 63, 52], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [36, 52, 4]
Generated Node #2: [36, 52, 4] from Operation: 67-63=4
Current State: 61:[36, 52, 4], Operations: ['67-63=4']
Exploring Operation: 36/4=9, Resulting Numbers: [52, 9]
Generated Node #3: [52, 9] from Operation: 36/4=9
Current State: 61:[52, 9], Operations: ['67-63=4', '36/4=9']
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[36, 67, 63, 52], Operations: []
Exploring Operation: 67-36=31, Resulting Numbers: [63, 52, 31]
Generated Node #0,0: 61:[63, 52, 31] Operation: 67-36=31
Exploring Operation: 36+52=88, Resulting Numbers: [67, 63, 88]
Generated Node #0,1: 61:[67, 63, 88] Operation: 36+52=88
Exploring Operation: 36+67=103, Resulting Numbers: [63, 52, 103]
Generated Node #0,2: 61:[63, 52, 103] Operation: 36+67=103
Exploring Operation: 36+63=99, Resulting Numbers: [67, 52, 99]
Generated Node #0,3: 61:[67, 52, 99] Operation: 36+63=99
Exploring Operation: 63-36=27, Resulting Numbers: [67, 52, 27]
Generated Node #0,4: 61:[67, 52, 27] Operation: 63-36=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[67, 63, 88], Operations: ['36+52=88']
Exploring Operation: 67-63=4, Resulting Numbers: [88, 4]
Generated Node #0,1,0: 61:[88, 4] Operation: 67-63=4
Exploring Operation: 88-67=21, Resulting Numbers: [63, 21]
Generated Node #0,1,1: 61:[63, 21] Operation: 88-67=21
Exploring Operation: 67+63=130, Resulting Numbers: [88, 130]
Generated Node #0,1,2: 61:[88, 130] Operation: 67+63=130
Exploring Operation: 67+88=155, Resulting Numbers: [63, 155]
Generated Node #0,1,3: 61:[63, 155] Operation: 67+88=155
Exploring Operation: 88-63=25, Resulting Numbers: [67, 25]
Generated Node #0,1,4: 61:[67, 25] Operation: 88-63=25
Moving to Node #0,1,1
Current State: 61:[63, 21], Operations: ['36+52=88', '88-67=21']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,61 unequal: No Solution
Moving to Node #0,1,4
Current State: 61:[67, 25], Operations: ['36+52=88', '88-63=25']
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,61 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[88, 4], Operations: ['36+52=88', '67-63=4']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 88*4=352, Resulting Numbers: [352]
352,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[88, 130], Operations: ['36+52=88', '67+63=130']
Exploring Operation: 88*130=11440, Resulting Numbers: [11440]
11440,61 unequal: No Solution
Exploring Operation: 88+130=218, Resulting Numbers: [218]
218,61 unequal: No Solution
Exploring Operation: 130-88=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[63, 155], Operations: ['36+52=88', '67+88=155']
Exploring Operation: 63+155=218, Resulting Numbers: [218]
218,61 unequal: No Solution
Exploring Operation: 155-63=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 63*155=9765, Resulting Numbers: [9765]
9765,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[63, 52, 31], Operations: ['67-36=31']
Exploring Operation: 52+31=83, Resulting Numbers: [63, 83]
Generated Node #0,0,0: 61:[63, 83] Operation: 52+31=83
Exploring Operation: 52-31=21, Resulting Numbers: [63, 21]
Generated Node #0,0,1: 61:[63, 21] Operation: 52-31=21
Exploring Operation: 63-31=32, Resulting Numbers: [52, 32]
Generated Node #0,0,2: 61:[52, 32] Operation: 63-31=32
Exploring Operation: 63+31=94, Resulting Numbers: [52, 94]
Generated Node #0,0,3: 61:[52, 94] Operation: 63+31=94
Exploring Operation: 63-52=11, Resulting Numbers: [31, 11]
Generated Node #0,0,4: 61:[31, 11] Operation: 63-52=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[63, 83], Operations: ['67-36=31', '52+31=83']
Exploring Operation: 63+83=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 83-63=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 63*83=5229, Resulting Numbers: [5229]
5229,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,0,2
Current State: 61:[52, 32], Operations: ['67-36=31', '63-31=32']
Exploring Operation: 52*32=1664, Resulting Numbers: [1664]
1664,61 unequal: No Solution
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,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,0,1
Current State: 61:[63, 21], Operations: ['67-36=31', '52-31=21']
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,61 unequal: No Solution
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,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,0,3
Current State: 61:[52, 94], Operations: ['67-36=31', '63+31=94']
Exploring Operation: 52+94=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 52*94=4888, Resulting Numbers: [4888]
4888,61 unequal: No Solution
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,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,0,4
Current State: 61:[31, 11], Operations: ['67-36=31', '63-52=11']
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,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
Start Sub Search at level 1: Moving to Node #0,4
Current State: 61:[67, 52, 27], Operations: ['63-36=27']
Exploring Operation: 52+27=79, Resulting Numbers: [67, 79]
Generated Node #0,4,0: 61:[67, 79] Operation: 52+27=79
Exploring Operation: 67-52=15, Resulting Numbers: [27, 15]
Generated Node #0,4,1: 61:[27, 15] Operation: 67-52=15
Exploring Operation: 67+27=94, Resulting Numbers: [52, 94]
Generated Node #0,4,2: 61:[52, 94] Operation: 67+27=94
Exploring Operation: 67-27=40, Resulting Numbers: [52, 40]
Generated Node #0,4,3: 61:[52, 40] Operation: 67-27=40
Exploring Operation: 52-27=25, Resulting Numbers: [67, 25]
Generated Node #0,4,4: 61:[67, 25] Operation: 52-27=25
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 61:[67, 79], Operations: ['63-36=27', '52+27=79']
Exploring Operation: 67*79=5293, Resulting Numbers: [5293]
5293,61 unequal: No Solution
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 67+79=146, Resulting Numbers: [146]
146,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,4,3
Current State: 61:[52, 40], Operations: ['63-36=27', '67-27=40']
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,61 unequal: No Solution
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,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,4,2
Current State: 61:[52, 94], Operations: ['63-36=27', '67+27=94']
Exploring Operation: 52*94=4888, Resulting Numbers: [4888]
4888,61 unequal: No Solution
Exploring Operation: 52+94=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,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,4,4
Current State: 61:[67, 25], Operations: ['63-36=27', '52-27=25']
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,61 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,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,4,1
Current State: 61:[27, 15], Operations: ['63-36=27', '67-52=15']
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[63, 52, 103], Operations: ['36+67=103']
Exploring Operation: 103-52=51, Resulting Numbers: [63, 51]
Generated Node #0,2,0: 61:[63, 51] Operation: 103-52=51
Exploring Operation: 52+103=155, Resulting Numbers: [63, 155]
Generated Node #0,2,1: 61:[63, 155] Operation: 52+103=155
Exploring Operation: 63+52=115, Resulting Numbers: [103, 115]
Generated Node #0,2,2: 61:[103, 115] Operation: 63+52=115
Exploring Operation: 63-52=11, Resulting Numbers: [103, 11]
Generated Node #0,2,3: 61:[103, 11] Operation: 63-52=11
Exploring Operation: 103-63=40, Resulting Numbers: [52, 40]
Generated Node #0,2,4: 61:[52, 40] Operation: 103-63=40
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[63, 51], Operations: ['36+67=103', '103-52=51']
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,61 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,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,2,4
Current State: 61:[52, 40], Operations: ['36+67=103', '103-63=40']
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,61 unequal: No Solution
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,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,2,3
Current State: 61:[103, 11], Operations: ['36+67=103', '63-52=11']
Exploring Operation: 103*11=1133, Resulting Numbers: [1133]
1133,61 unequal: No Solution
Exploring Operation: 103-11=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 103+11=114, Resulting Numbers: [114]
114,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,2,1
Current State: 61:[63, 155], Operations: ['36+67=103', '52+103=155']
Exploring Operation: 155-63=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 63*155=9765, Resulting Numbers: [9765]
9765,61 unequal: No Solution
Exploring Operation: 63+155=218, Resulting Numbers: [218]
218,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,2,2
Current State: 61:[103, 115], Operations: ['36+67=103', '63+52=115']
Exploring Operation: 115-103=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 103*115=11845, Resulting Numbers: [11845]
11845,61 unequal: No Solution
Exploring Operation: 103+115=218, Resulting Numbers: [218]
218,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[67, 52, 99], Operations: ['36+63=99']
Exploring Operation: 99-52=47, Resulting Numbers: [67, 47]
Generated Node #0,3,0: 61:[67, 47] Operation: 99-52=47
Exploring Operation: 67+52=119, Resulting Numbers: [99, 119]
Generated Node #0,3,1: 61:[99, 119] Operation: 67+52=119
Exploring Operation: 52+99=151, Resulting Numbers: [67, 151]
Generated Node #0,3,2: 61:[67, 151] Operation: 52+99=151
Exploring Operation: 99-67=32, Resulting Numbers: [52, 32]
Generated Node #0,3,3: 61:[52, 32] Operation: 99-67=32
Exploring Operation: 67-52=15, Resulting Numbers: [99, 15]
Generated Node #0,3,4: 61:[99, 15] Operation: 67-52=15
Moving to Node #0,3,0
Current State: 61:[67, 47], Operations: ['36+63=99', '99-52=47']
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[52, 32], Operations: ['36+63=99', '99-67=32']
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 52*32=1664, Resulting Numbers: [1664]
1664,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[99, 15], Operations: ['36+63=99', '67-52=15']
Exploring Operation: 99*15=1485, Resulting Numbers: [1485]
1485,61 unequal: No Solution
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 99+15=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[99, 119], Operations: ['36+63=99', '67+52=119']
Exploring Operation: 119-99=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 99*119=11781, Resulting Numbers: [11781]
11781,61 unequal: No Solution
Exploring Operation: 99+119=218, Resulting Numbers: [218]
218,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[67, 151], Operations: ['36+63=99', '52+99=151']
Exploring Operation: 67+151=218, Resulting Numbers: [218]
218,61 unequal: No Solution
Exploring Operation: 67*151=10117, Resulting Numbers: [10117]
10117,61 unequal: No Solution
Exploring Operation: 151-67=84, Resulting Numbers: [84]
84,61 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 |
[
8,
73,
7,
21
] | 38 | [
"8*7=56",
"73+21=94",
"94-56=38"
] | Current State: 38:[8, 73, 7, 21], Operations: []
Exploring Operation: 8*7=56, Resulting Numbers: [73, 21, 56]
Generated Node #2: [73, 21, 56] from Operation: 8*7=56
Current State: 38:[73, 21, 56], Operations: ['8*7=56']
Exploring Operation: 73+21=94, Resulting Numbers: [56, 94]
Generated Node #3: [56, 94] from Operation: 73+21=94
Current State: 38:[56, 94], Operations: ['8*7=56', '73+21=94']
Exploring Operation: 94-56=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[8, 73, 7, 21], Operations: []
Exploring Operation: 73-21=52, Resulting Numbers: [8, 7, 52]
Generated Node #0,0: 38:[8, 7, 52] Operation: 73-21=52
Moving to Node #0,0
Current State: 38:[8, 7, 52], Operations: ['73-21=52']
Exploring Operation: 52-8=44, Resulting Numbers: [7, 44]
Generated Node #0,0,0: 38:[7, 44] Operation: 52-8=44
Moving to Node #0,0,0
Current State: 38:[7, 44], Operations: ['73-21=52', '52-8=44']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,38 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
90,
8,
18,
10
] | 75 | [
"90/18=5",
"8*10=80",
"80-5=75"
] | Current State: 75:[90, 8, 18, 10], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [8, 10, 5]
Generated Node #2: [8, 10, 5] from Operation: 90/18=5
Current State: 75:[8, 10, 5], Operations: ['90/18=5']
Exploring Operation: 8*10=80, Resulting Numbers: [5, 80]
Generated Node #3: [5, 80] from Operation: 8*10=80
Current State: 75:[5, 80], Operations: ['90/18=5', '8*10=80']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[90, 8, 18, 10], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [8, 10, 5]
Generated Node #0,0: 75:[8, 10, 5] Operation: 90/18=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[8, 10, 5], Operations: ['90/18=5']
Exploring Operation: 10-8=2, Resulting Numbers: [5, 2]
Generated Node #0,0,0: 75:[5, 2] Operation: 10-8=2
Moving to Node #0,0,0
Current State: 75:[5, 2], Operations: ['90/18=5', '10-8=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
78,
31,
69,
72
] | 50 | [
"78-31=47",
"72-69=3",
"47+3=50"
] | Current State: 50:[78, 31, 69, 72], Operations: []
Exploring Operation: 78-31=47, Resulting Numbers: [69, 72, 47]
Generated Node #2: [69, 72, 47] from Operation: 78-31=47
Current State: 50:[69, 72, 47], Operations: ['78-31=47']
Exploring Operation: 72-69=3, Resulting Numbers: [47, 3]
Generated Node #3: [47, 3] from Operation: 72-69=3
Current State: 50:[47, 3], Operations: ['78-31=47', '72-69=3']
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[78, 31, 69, 72], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [31, 69, 6]
Generated Node #0,0: 50:[31, 69, 6] Operation: 78-72=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[31, 69, 6], Operations: ['78-72=6']
Exploring Operation: 69-31=38, Resulting Numbers: [6, 38]
Generated Node #0,0,0: 50:[6, 38] Operation: 69-31=38
Moving to Node #0,0,0
Current State: 50:[6, 38], Operations: ['78-72=6', '69-31=38']
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,50 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 |
[
28,
62,
70,
69
] | 66 | [
"69-62=7",
"28/7=4",
"70-4=66"
] | Current State: 66:[28, 62, 70, 69], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [28, 70, 7]
Generated Node #2: [28, 70, 7] from Operation: 69-62=7
Current State: 66:[28, 70, 7], Operations: ['69-62=7']
Exploring Operation: 28/7=4, Resulting Numbers: [70, 4]
Generated Node #3: [70, 4] from Operation: 28/7=4
Current State: 66:[70, 4], Operations: ['69-62=7', '28/7=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[28, 62, 70, 69], Operations: []
Exploring Operation: 62-28=34, Resulting Numbers: [70, 69, 34]
Generated Node #0,0: 66:[70, 69, 34] Operation: 62-28=34
Exploring Operation: 69-62=7, Resulting Numbers: [28, 70, 7]
Generated Node #0,1: 66:[28, 70, 7] Operation: 69-62=7
Exploring Operation: 70-69=1, Resulting Numbers: [28, 62, 1]
Generated Node #0,2: 66:[28, 62, 1] Operation: 70-69=1
Exploring Operation: 70-28=42, Resulting Numbers: [62, 69, 42]
Generated Node #0,3: 66:[62, 69, 42] Operation: 70-28=42
Exploring Operation: 70-62=8, Resulting Numbers: [28, 69, 8]
Generated Node #0,4: 66:[28, 69, 8] Operation: 70-62=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[70, 69, 34], Operations: ['62-28=34']
Exploring Operation: 70-34=36, Resulting Numbers: [69, 36]
Generated Node #0,0,0: 66:[69, 36] Operation: 70-34=36
Exploring Operation: 70-69=1, Resulting Numbers: [34, 1]
Generated Node #0,0,1: 66:[34, 1] Operation: 70-69=1
Exploring Operation: 70+34=104, Resulting Numbers: [69, 104]
Generated Node #0,0,2: 66:[69, 104] Operation: 70+34=104
Exploring Operation: 69-34=35, Resulting Numbers: [70, 35]
Generated Node #0,0,3: 66:[70, 35] Operation: 69-34=35
Exploring Operation: 69+34=103, Resulting Numbers: [70, 103]
Generated Node #0,0,4: 66:[70, 103] Operation: 69+34=103
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[34, 1], Operations: ['62-28=34', '70-69=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[69, 36], Operations: ['62-28=34', '70-34=36']
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,66 unequal: No Solution
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 66:[70, 35], Operations: ['62-28=34', '69-34=35']
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 70*35=2450, Resulting Numbers: [2450]
2450,66 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 70+35=105, Resulting Numbers: [105]
105,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[69, 104], Operations: ['62-28=34', '70+34=104']
Exploring Operation: 104-69=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 69+104=173, Resulting Numbers: [173]
173,66 unequal: No Solution
Exploring Operation: 69*104=7176, Resulting Numbers: [7176]
7176,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 66:[70, 103], Operations: ['62-28=34', '69+34=103']
Exploring Operation: 103-70=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 70*103=7210, Resulting Numbers: [7210]
7210,66 unequal: No Solution
Exploring Operation: 70+103=173, Resulting Numbers: [173]
173,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[28, 70, 7], Operations: ['69-62=7']
Exploring Operation: 70-7=63, Resulting Numbers: [28, 63]
Generated Node #0,1,0: 66:[28, 63] Operation: 70-7=63
Exploring Operation: 28-7=21, Resulting Numbers: [70, 21]
Generated Node #0,1,1: 66:[70, 21] Operation: 28-7=21
Exploring Operation: 28+7=35, Resulting Numbers: [70, 35]
Generated Node #0,1,2: 66:[70, 35] Operation: 28+7=35
Exploring Operation: 28/7=4, Resulting Numbers: [70, 4]
Generated Node #0,1,3: 66:[70, 4] Operation: 28/7=4
Exploring Operation: 70/7=10, Resulting Numbers: [28, 10]
Generated Node #0,1,4: 66:[28, 10] Operation: 70/7=10
Moving to Node #0,1,1
Current State: 66:[70, 21], Operations: ['69-62=7', '28-7=21']
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,66 unequal: No Solution
Exploring Operation: 70*21=1470, Resulting Numbers: [1470]
1470,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[70, 4], Operations: ['69-62=7', '28/7=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[28, 62, 70, 69], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [28, 70, 7]
Generated Node #0,1: 66:[28, 70, 7] Operation: 69-62=7
Moving to Node #0,1
Current State: 66:[28, 70, 7], Operations: ['69-62=7']
Exploring Operation: 28/7=4, Resulting Numbers: [70, 4]
Generated Node #0,1,3: 66:[70, 4] Operation: 28/7=4
Moving to Node #0,1,3
Current State: 66:[70, 4], Operations: ['69-62=7', '28/7=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
31,
34,
47,
28
] | 46 | [
"31+34=65",
"47-28=19",
"65-19=46"
] | Current State: 46:[31, 34, 47, 28], Operations: []
Exploring Operation: 31+34=65, Resulting Numbers: [47, 28, 65]
Generated Node #2: [47, 28, 65] from Operation: 31+34=65
Current State: 46:[47, 28, 65], Operations: ['31+34=65']
Exploring Operation: 47-28=19, Resulting Numbers: [65, 19]
Generated Node #3: [65, 19] from Operation: 47-28=19
Current State: 46:[65, 19], Operations: ['31+34=65', '47-28=19']
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[31, 34, 47, 28], Operations: []
Exploring Operation: 34-28=6, Resulting Numbers: [31, 47, 6]
Generated Node #0,0: 46:[31, 47, 6] Operation: 34-28=6
Exploring Operation: 31-28=3, Resulting Numbers: [34, 47, 3]
Generated Node #0,1: 46:[34, 47, 3] Operation: 31-28=3
Exploring Operation: 34-31=3, Resulting Numbers: [47, 28, 3]
Generated Node #0,2: 46:[47, 28, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[47, 28, 3], Operations: ['34-31=3']
Exploring Operation: 28-3=25, Resulting Numbers: [47, 25]
Generated Node #0,2,0: 46:[47, 25] Operation: 28-3=25
Exploring Operation: 47-28=19, Resulting Numbers: [3, 19]
Generated Node #0,2,1: 46:[3, 19] Operation: 47-28=19
Exploring Operation: 47-3=44, Resulting Numbers: [28, 44]
Generated Node #0,2,2: 46:[28, 44] Operation: 47-3=44
Moving to Node #0,2,0
Current State: 46:[47, 25], Operations: ['34-31=3', '28-3=25']
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,46 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[3, 19], Operations: ['34-31=3', '47-28=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[28, 44], Operations: ['34-31=3', '47-3=44']
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,46 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[31, 47, 6], Operations: ['34-28=6']
Exploring Operation: 31+6=37, Resulting Numbers: [47, 37]
Generated Node #0,0,0: 46:[47, 37] Operation: 31+6=37
Exploring Operation: 31-6=25, Resulting Numbers: [47, 25]
Generated Node #0,0,1: 46:[47, 25] Operation: 31-6=25
Exploring Operation: 47-31=16, Resulting Numbers: [6, 16]
Generated Node #0,0,2: 46:[6, 16] Operation: 47-31=16
Moving to Node #0,0,1
Current State: 46:[47, 25], Operations: ['34-28=6', '31-6=25']
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,46 unequal: No Solution
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[47, 37], Operations: ['34-28=6', '31+6=37']
Exploring Operation: 47+37=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 47*37=1739, Resulting Numbers: [1739]
1739,46 unequal: No Solution
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[6, 16], Operations: ['34-28=6', '47-31=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,46 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[34, 47, 3], Operations: ['31-28=3']
Exploring Operation: 47-34=13, Resulting Numbers: [3, 13]
Generated Node #0,1,0: 46:[3, 13] Operation: 47-34=13
Exploring Operation: 34+3=37, Resulting Numbers: [47, 37]
Generated Node #0,1,1: 46:[47, 37] Operation: 34+3=37
Exploring Operation: 34-3=31, Resulting Numbers: [47, 31]
Generated Node #0,1,2: 46:[47, 31] Operation: 34-3=31
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 46:[47, 31], Operations: ['31-28=3', '34-3=31']
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,46 unequal: No Solution
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,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,1,1
Current State: 46:[47, 37], Operations: ['31-28=3', '34+3=37']
Exploring Operation: 47+37=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 47*37=1739, Resulting Numbers: [1739]
1739,46 unequal: No Solution
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,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,1,0
Current State: 46:[3, 13], Operations: ['31-28=3', '47-34=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,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_3 | sum_heuristic |
[
89,
9,
18,
55
] | 32 | [
"89-55=34",
"18/9=2",
"34-2=32"
] | Current State: 32:[89, 9, 18, 55], Operations: []
Exploring Operation: 89-55=34, Resulting Numbers: [9, 18, 34]
Generated Node #2: [9, 18, 34] from Operation: 89-55=34
Current State: 32:[9, 18, 34], Operations: ['89-55=34']
Exploring Operation: 18/9=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 18/9=2
Current State: 32:[34, 2], Operations: ['89-55=34', '18/9=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[89, 9, 18, 55], Operations: []
Exploring Operation: 89-9=80, Resulting Numbers: [18, 55, 80]
Generated Node #0,0: 32:[18, 55, 80] Operation: 89-9=80
Exploring Operation: 89-55=34, Resulting Numbers: [9, 18, 34]
Generated Node #0,1: 32:[9, 18, 34] Operation: 89-55=34
Exploring Operation: 55-18=37, Resulting Numbers: [89, 9, 37]
Generated Node #0,2: 32:[89, 9, 37] Operation: 55-18=37
Exploring Operation: 89-18=71, Resulting Numbers: [9, 55, 71]
Generated Node #0,3: 32:[9, 55, 71] Operation: 89-18=71
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[9, 18, 34], Operations: ['89-55=34']
Exploring Operation: 18-9=9, Resulting Numbers: [34, 9]
Generated Node #0,1,0: 32:[34, 9] Operation: 18-9=9
Exploring Operation: 18/9=2, Resulting Numbers: [34, 2]
Generated Node #0,1,1: 32:[34, 2] Operation: 18/9=2
Exploring Operation: 9+18=27, Resulting Numbers: [34, 27]
Generated Node #0,1,2: 32:[34, 27] Operation: 9+18=27
Exploring Operation: 34-18=16, Resulting Numbers: [9, 16]
Generated Node #0,1,3: 32:[9, 16] Operation: 34-18=16
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 32:[9, 16], Operations: ['89-55=34', '34-18=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,32 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 9+16=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,1,1
Current State: 32:[34, 2], Operations: ['89-55=34', '18/9=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[89, 9, 18, 55], Operations: []
Exploring Operation: 89-55=34, Resulting Numbers: [9, 18, 34]
Generated Node #0,1: 32:[9, 18, 34] Operation: 89-55=34
Moving to Node #0,1
Current State: 32:[9, 18, 34], Operations: ['89-55=34']
Exploring Operation: 18/9=2, Resulting Numbers: [34, 2]
Generated Node #0,1,1: 32:[34, 2] Operation: 18/9=2
Moving to Node #0,1,1
Current State: 32:[34, 2], Operations: ['89-55=34', '18/9=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
2,
29,
82,
41
] | 60 | [
"2*29=58",
"82/41=2",
"58+2=60"
] | Current State: 60:[2, 29, 82, 41], Operations: []
Exploring Operation: 2*29=58, Resulting Numbers: [82, 41, 58]
Generated Node #2: [82, 41, 58] from Operation: 2*29=58
Current State: 60:[82, 41, 58], Operations: ['2*29=58']
Exploring Operation: 82/41=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 82/41=2
Current State: 60:[58, 2], Operations: ['2*29=58', '82/41=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[2, 29, 82, 41], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [2, 29, 2]
Generated Node #0,0: 60:[2, 29, 2] Operation: 82/41=2
Moving to Node #0,0
Current State: 60:[2, 29, 2], Operations: ['82/41=2']
Exploring Operation: 2+29=31, Resulting Numbers: [2, 31]
Generated Node #0,0,0: 60:[2, 31] Operation: 2+29=31
Moving to Node #0,0,0
Current State: 60:[2, 31], Operations: ['82/41=2', '2+29=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
25,
83,
26,
27
] | 79 | [
"83*26=2158",
"2158-25=2133",
"2133/27=79"
] | Current State: 79:[25, 83, 26, 27], Operations: []
Exploring Operation: 83*26=2158, Resulting Numbers: [25, 27, 2158]
Generated Node #2: [25, 27, 2158] from Operation: 83*26=2158
Current State: 79:[25, 27, 2158], Operations: ['83*26=2158']
Exploring Operation: 2158-25=2133, Resulting Numbers: [27, 2133]
Generated Node #3: [27, 2133] from Operation: 2158-25=2133
Current State: 79:[27, 2133], Operations: ['83*26=2158', '2158-25=2133']
Exploring Operation: 2133/27=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[25, 83, 26, 27], Operations: []
Exploring Operation: 25+27=52, Resulting Numbers: [83, 26, 52]
Generated Node #0,0: 79:[83, 26, 52] Operation: 25+27=52
Exploring Operation: 25+26=51, Resulting Numbers: [83, 27, 51]
Generated Node #0,1: 79:[83, 27, 51] Operation: 25+26=51
Exploring Operation: 83-25=58, Resulting Numbers: [26, 27, 58]
Generated Node #0,2: 79:[26, 27, 58] Operation: 83-25=58
Exploring Operation: 83-26=57, Resulting Numbers: [25, 27, 57]
Generated Node #0,3: 79:[25, 27, 57] Operation: 83-26=57
Exploring Operation: 26+27=53, Resulting Numbers: [25, 83, 53]
Generated Node #0,4: 79:[25, 83, 53] Operation: 26+27=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[83, 26, 52], Operations: ['25+27=52']
Exploring Operation: 26+52=78, Resulting Numbers: [83, 78]
Generated Node #0,0,0: 79:[83, 78] Operation: 26+52=78
Exploring Operation: 83+26=109, Resulting Numbers: [52, 109]
Generated Node #0,0,1: 79:[52, 109] Operation: 83+26=109
Exploring Operation: 52-26=26, Resulting Numbers: [83, 26]
Generated Node #0,0,2: 79:[83, 26] Operation: 52-26=26
Exploring Operation: 83-26=57, Resulting Numbers: [52, 57]
Generated Node #0,0,3: 79:[52, 57] Operation: 83-26=57
Exploring Operation: 52/26=2, Resulting Numbers: [83, 2]
Generated Node #0,0,4: 79:[83, 2] Operation: 52/26=2
Moving to Node #0,0,0
Current State: 79:[83, 78], Operations: ['25+27=52', '26+52=78']
Exploring Operation: 83+78=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 83-78=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 83*78=6474, Resulting Numbers: [6474]
6474,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[52, 57], Operations: ['25+27=52', '83-26=57']
Exploring Operation: 52*57=2964, Resulting Numbers: [2964]
2964,79 unequal: No Solution
Exploring Operation: 52+57=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[52, 109], Operations: ['25+27=52', '83+26=109']
Exploring Operation: 109-52=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 52+109=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 52*109=5668, Resulting Numbers: [5668]
5668,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[83, 26], Operations: ['25+27=52', '52-26=26']
Exploring Operation: 83+26=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 83*26=2158, Resulting Numbers: [2158]
2158,79 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Moving to Node #0,0,4
Current State: 79:[83, 2], Operations: ['25+27=52', '52/26=2']
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,79 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,79 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[83, 27, 51], Operations: ['25+26=51']
Exploring Operation: 83-51=32, Resulting Numbers: [27, 32]
Generated Node #0,1,0: 79:[27, 32] Operation: 83-51=32
Exploring Operation: 27+51=78, Resulting Numbers: [83, 78]
Generated Node #0,1,1: 79:[83, 78] Operation: 27+51=78
Exploring Operation: 83+27=110, Resulting Numbers: [51, 110]
Generated Node #0,1,2: 79:[51, 110] Operation: 83+27=110
Exploring Operation: 51-27=24, Resulting Numbers: [83, 24]
Generated Node #0,1,3: 79:[83, 24] Operation: 51-27=24
Exploring Operation: 83-27=56, Resulting Numbers: [51, 56]
Generated Node #0,1,4: 79:[51, 56] Operation: 83-27=56
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[83, 78], Operations: ['25+26=51', '27+51=78']
Exploring Operation: 83*78=6474, Resulting Numbers: [6474]
6474,79 unequal: No Solution
Exploring Operation: 83-78=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 83+78=161, Resulting Numbers: [161]
161,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 79:[51, 56], Operations: ['25+26=51', '83-27=56']
Exploring Operation: 51+56=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Exploring Operation: 51*56=2856, Resulting Numbers: [2856]
2856,79 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[51, 110], Operations: ['25+26=51', '83+27=110']
Exploring Operation: 51*110=5610, Resulting Numbers: [5610]
5610,79 unequal: No Solution
Exploring Operation: 110-51=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Exploring Operation: 51+110=161, Resulting Numbers: [161]
161,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 79:[83, 24], Operations: ['25+26=51', '51-27=24']
Exploring Operation: 83+24=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Exploring Operation: 83*24=1992, Resulting Numbers: [1992]
1992,79 unequal: No Solution
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[27, 32], Operations: ['25+26=51', '83-51=32']
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,79 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,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,4
Current State: 79:[25, 83, 53], Operations: ['26+27=53']
Exploring Operation: 83-53=30, Resulting Numbers: [25, 30]
Generated Node #0,4,0: 79:[25, 30] Operation: 83-53=30
Exploring Operation: 25+53=78, Resulting Numbers: [83, 78]
Generated Node #0,4,1: 79:[83, 78] Operation: 25+53=78
Exploring Operation: 83-25=58, Resulting Numbers: [53, 58]
Generated Node #0,4,2: 79:[53, 58] Operation: 83-25=58
Exploring Operation: 25+83=108, Resulting Numbers: [53, 108]
Generated Node #0,4,3: 79:[53, 108] Operation: 25+83=108
Exploring Operation: 53-25=28, Resulting Numbers: [83, 28]
Generated Node #0,4,4: 79:[83, 28] Operation: 53-25=28
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 79:[83, 78], Operations: ['26+27=53', '25+53=78']
Exploring Operation: 83*78=6474, Resulting Numbers: [6474]
6474,79 unequal: No Solution
Exploring Operation: 83+78=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 83-78=5, Resulting Numbers: [5]
5,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,4,2
Current State: 79:[53, 58], Operations: ['26+27=53', '83-25=58']
Exploring Operation: 53*58=3074, Resulting Numbers: [3074]
3074,79 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 53+58=111, Resulting Numbers: [111]
111,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,4,3
Current State: 79:[53, 108], Operations: ['26+27=53', '25+83=108']
Exploring Operation: 53*108=5724, Resulting Numbers: [5724]
5724,79 unequal: No Solution
Exploring Operation: 108-53=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 53+108=161, Resulting Numbers: [161]
161,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,4,4
Current State: 79:[83, 28], Operations: ['26+27=53', '53-25=28']
Exploring Operation: 83-28=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 83*28=2324, Resulting Numbers: [2324]
2324,79 unequal: No Solution
Exploring Operation: 83+28=111, Resulting Numbers: [111]
111,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,4,0
Current State: 79:[25, 30], Operations: ['26+27=53', '83-53=30']
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 25*30=750, Resulting Numbers: [750]
750,79 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,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:[26, 27, 58], Operations: ['83-25=58']
Exploring Operation: 26+58=84, Resulting Numbers: [27, 84]
Generated Node #0,2,0: 79:[27, 84] Operation: 26+58=84
Exploring Operation: 26+27=53, Resulting Numbers: [58, 53]
Generated Node #0,2,1: 79:[58, 53] Operation: 26+27=53
Exploring Operation: 27+58=85, Resulting Numbers: [26, 85]
Generated Node #0,2,2: 79:[26, 85] Operation: 27+58=85
Exploring Operation: 58-26=32, Resulting Numbers: [27, 32]
Generated Node #0,2,3: 79:[27, 32] Operation: 58-26=32
Exploring Operation: 27-26=1, Resulting Numbers: [58, 1]
Generated Node #0,2,4: 79:[58, 1] Operation: 27-26=1
Moving to Node #0,2,1
Current State: 79:[58, 53], Operations: ['83-25=58', '26+27=53']
Exploring Operation: 58*53=3074, Resulting Numbers: [3074]
3074,79 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 58+53=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[27, 84], Operations: ['83-25=58', '26+58=84']
Exploring Operation: 27*84=2268, Resulting Numbers: [2268]
2268,79 unequal: No Solution
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 27+84=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[26, 85], Operations: ['83-25=58', '27+58=85']
Exploring Operation: 26*85=2210, Resulting Numbers: [2210]
2210,79 unequal: No Solution
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Exploring Operation: 26+85=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[27, 32], Operations: ['83-25=58', '58-26=32']
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,79 unequal: No Solution
Moving to Node #0,2,4
Current State: 79:[58, 1], Operations: ['83-25=58', '27-26=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,79 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,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:[25, 27, 57], Operations: ['83-26=57']
Exploring Operation: 57-25=32, Resulting Numbers: [27, 32]
Generated Node #0,3,0: 79:[27, 32] Operation: 57-25=32
Exploring Operation: 25+27=52, Resulting Numbers: [57, 52]
Generated Node #0,3,1: 79:[57, 52] Operation: 25+27=52
Exploring Operation: 25+57=82, Resulting Numbers: [27, 82]
Generated Node #0,3,2: 79:[27, 82] Operation: 25+57=82
Exploring Operation: 27-25=2, Resulting Numbers: [57, 2]
Generated Node #0,3,3: 79:[57, 2] Operation: 27-25=2
Exploring Operation: 27+57=84, Resulting Numbers: [25, 84]
Generated Node #0,3,4: 79:[25, 84] Operation: 27+57=84
Moving to Node #0,3,1
Current State: 79:[57, 52], Operations: ['83-26=57', '25+27=52']
Exploring Operation: 57+52=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 57*52=2964, Resulting Numbers: [2964]
2964,79 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[27, 82], Operations: ['83-26=57', '25+57=82']
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 27*82=2214, Resulting Numbers: [2214]
2214,79 unequal: No Solution
Exploring Operation: 27+82=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[25, 84], Operations: ['83-26=57', '27+57=84']
Exploring Operation: 25*84=2100, Resulting Numbers: [2100]
2100,79 unequal: No Solution
Exploring Operation: 25+84=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[27, 32], Operations: ['83-26=57', '57-25=32']
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,79 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[57, 2], Operations: ['83-26=57', '27-25=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,79 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 |
[
40,
14,
84,
19
] | 65 | [
"40+19=59",
"84/14=6",
"59+6=65"
] | Current State: 65:[40, 14, 84, 19], Operations: []
Exploring Operation: 40+19=59, Resulting Numbers: [14, 84, 59]
Generated Node #2: [14, 84, 59] from Operation: 40+19=59
Current State: 65:[14, 84, 59], Operations: ['40+19=59']
Exploring Operation: 84/14=6, Resulting Numbers: [59, 6]
Generated Node #3: [59, 6] from Operation: 84/14=6
Current State: 65:[59, 6], Operations: ['40+19=59', '84/14=6']
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[40, 14, 84, 19], Operations: []
Exploring Operation: 40+19=59, Resulting Numbers: [14, 84, 59]
Generated Node #0,0: 65:[14, 84, 59] Operation: 40+19=59
Moving to Node #0,0
Current State: 65:[14, 84, 59], Operations: ['40+19=59']
Exploring Operation: 84/14=6, Resulting Numbers: [59, 6]
Generated Node #0,0,0: 65:[59, 6] Operation: 84/14=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[59, 6], Operations: ['40+19=59', '84/14=6']
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[40, 14, 84, 19], Operations: []
Exploring Operation: 40+19=59, Resulting Numbers: [14, 84, 59]
Generated Node #0,0: 65:[14, 84, 59] Operation: 40+19=59
Moving to Node #0,0
Current State: 65:[14, 84, 59], Operations: ['40+19=59']
Exploring Operation: 84/14=6, Resulting Numbers: [59, 6]
Generated Node #0,0,0: 65:[59, 6] Operation: 84/14=6
Moving to Node #0,0,0
Current State: 65:[59, 6], Operations: ['40+19=59', '84/14=6']
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
97,
95,
90
] | 94 | [
"97-6=91",
"95+90=185",
"185-91=94"
] | Current State: 94:[6, 97, 95, 90], Operations: []
Exploring Operation: 97-6=91, Resulting Numbers: [95, 90, 91]
Generated Node #2: [95, 90, 91] from Operation: 97-6=91
Current State: 94:[95, 90, 91], Operations: ['97-6=91']
Exploring Operation: 95+90=185, Resulting Numbers: [91, 185]
Generated Node #3: [91, 185] from Operation: 95+90=185
Current State: 94:[91, 185], Operations: ['97-6=91', '95+90=185']
Exploring Operation: 185-91=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[6, 97, 95, 90], Operations: []
Exploring Operation: 6+90=96, Resulting Numbers: [97, 95, 96]
Generated Node #0,0: 94:[97, 95, 96] Operation: 6+90=96
Exploring Operation: 97-6=91, Resulting Numbers: [95, 90, 91]
Generated Node #0,1: 94:[95, 90, 91] Operation: 97-6=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[97, 95, 96], Operations: ['6+90=96']
Exploring Operation: 97-96=1, Resulting Numbers: [95, 1]
Generated Node #0,0,0: 94:[95, 1] Operation: 97-96=1
Exploring Operation: 97-95=2, Resulting Numbers: [96, 2]
Generated Node #0,0,1: 94:[96, 2] Operation: 97-95=2
Moving to Node #0,0,0
Current State: 94:[95, 1], Operations: ['6+90=96', '97-96=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[6, 97, 95, 90], Operations: []
Exploring Operation: 6+90=96, Resulting Numbers: [97, 95, 96]
Generated Node #0,0: 94:[97, 95, 96] Operation: 6+90=96
Moving to Node #0,0
Current State: 94:[97, 95, 96], Operations: ['6+90=96']
Exploring Operation: 97-96=1, Resulting Numbers: [95, 1]
Generated Node #0,0,0: 94:[95, 1] Operation: 97-96=1
Moving to Node #0,0,0
Current State: 94:[95, 1], Operations: ['6+90=96', '97-96=1']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
3,
19,
5,
96
] | 58 | [
"5-3=2",
"19*2=38",
"96-38=58"
] | Current State: 58:[3, 19, 5, 96], Operations: []
Exploring Operation: 5-3=2, Resulting Numbers: [19, 96, 2]
Generated Node #2: [19, 96, 2] from Operation: 5-3=2
Current State: 58:[19, 96, 2], Operations: ['5-3=2']
Exploring Operation: 19*2=38, Resulting Numbers: [96, 38]
Generated Node #3: [96, 38] from Operation: 19*2=38
Current State: 58:[96, 38], Operations: ['5-3=2', '19*2=38']
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[3, 19, 5, 96], Operations: []
Exploring Operation: 96-19=77, Resulting Numbers: [3, 5, 77]
Generated Node #0,0: 58:[3, 5, 77] Operation: 96-19=77
Exploring Operation: 96/3=32, Resulting Numbers: [19, 5, 32]
Generated Node #0,1: 58:[19, 5, 32] Operation: 96/3=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[19, 5, 32], Operations: ['96/3=32']
Exploring Operation: 19+5=24, Resulting Numbers: [32, 24]
Generated Node #0,1,0: 58:[32, 24] Operation: 19+5=24
Exploring Operation: 19+32=51, Resulting Numbers: [5, 51]
Generated Node #0,1,1: 58:[5, 51] Operation: 19+32=51
Moving to Node #0,1,0
Current State: 58:[32, 24], Operations: ['96/3=32', '19+5=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[5, 51], Operations: ['96/3=32', '19+32=51']
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[3, 5, 77], Operations: ['96-19=77']
Exploring Operation: 5-3=2, Resulting Numbers: [77, 2]
Generated Node #0,0,0: 58:[77, 2] Operation: 5-3=2
Exploring Operation: 77-5=72, Resulting Numbers: [3, 72]
Generated Node #0,0,1: 58:[3, 72] Operation: 77-5=72
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[3, 72], Operations: ['96-19=77', '77-5=72']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[77, 2], Operations: ['96-19=77', '5-3=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
93,
75,
9,
60
] | 92 | [
"93+60=153",
"153/9=17",
"75+17=92"
] | Current State: 92:[93, 75, 9, 60], Operations: []
Exploring Operation: 93+60=153, Resulting Numbers: [75, 9, 153]
Generated Node #2: [75, 9, 153] from Operation: 93+60=153
Current State: 92:[75, 9, 153], Operations: ['93+60=153']
Exploring Operation: 153/9=17, Resulting Numbers: [75, 17]
Generated Node #3: [75, 17] from Operation: 153/9=17
Current State: 92:[75, 17], Operations: ['93+60=153', '153/9=17']
Exploring Operation: 75+17=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[93, 75, 9, 60], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [9, 60, 18]
Generated Node #0,0: 92:[9, 60, 18] Operation: 93-75=18
Exploring Operation: 75+9=84, Resulting Numbers: [93, 60, 84]
Generated Node #0,1: 92:[93, 60, 84] Operation: 75+9=84
Exploring Operation: 75-60=15, Resulting Numbers: [93, 9, 15]
Generated Node #0,2: 92:[93, 9, 15] Operation: 75-60=15
Exploring Operation: 93-60=33, Resulting Numbers: [75, 9, 33]
Generated Node #0,3: 92:[75, 9, 33] Operation: 93-60=33
Exploring Operation: 60-9=51, Resulting Numbers: [93, 75, 51]
Generated Node #0,4: 92:[93, 75, 51] Operation: 60-9=51
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[93, 9, 15], Operations: ['75-60=15']
Exploring Operation: 15-9=6, Resulting Numbers: [93, 6]
Generated Node #0,2,0: 92:[93, 6] Operation: 15-9=6
Exploring Operation: 93+9=102, Resulting Numbers: [15, 102]
Generated Node #0,2,1: 92:[15, 102] Operation: 93+9=102
Exploring Operation: 9+15=24, Resulting Numbers: [93, 24]
Generated Node #0,2,2: 92:[93, 24] Operation: 9+15=24
Exploring Operation: 93-15=78, Resulting Numbers: [9, 78]
Generated Node #0,2,3: 92:[9, 78] Operation: 93-15=78
Exploring Operation: 93-9=84, Resulting Numbers: [15, 84]
Generated Node #0,2,4: 92:[15, 84] Operation: 93-9=84
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[93, 24], Operations: ['75-60=15', '9+15=24']
Exploring Operation: 93+24=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 93*24=2232, Resulting Numbers: [2232]
2232,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:[93, 6], Operations: ['75-60=15', '15-9=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,92 unequal: No Solution
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 93*6=558, Resulting Numbers: [558]
558,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:[15, 84], Operations: ['75-60=15', '93-9=84']
Exploring Operation: 15*84=1260, Resulting Numbers: [1260]
1260,92 unequal: No Solution
Exploring Operation: 15+84=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,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:[15, 102], Operations: ['75-60=15', '93+9=102']
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,92 unequal: No Solution
Exploring Operation: 15+102=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 15*102=1530, Resulting Numbers: [1530]
1530,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,3
Current State: 92:[9, 78], Operations: ['75-60=15', '93-15=78']
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 9*78=702, Resulting Numbers: [702]
702,92 unequal: No Solution
Exploring Operation: 9+78=87, Resulting Numbers: [87]
87,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[93, 60, 84], Operations: ['75+9=84']
Exploring Operation: 60+84=144, Resulting Numbers: [93, 144]
Generated Node #0,1,0: 92:[93, 144] Operation: 60+84=144
Exploring Operation: 93-84=9, Resulting Numbers: [60, 9]
Generated Node #0,1,1: 92:[60, 9] Operation: 93-84=9
Exploring Operation: 93-60=33, Resulting Numbers: [84, 33]
Generated Node #0,1,2: 92:[84, 33] Operation: 93-60=33
Exploring Operation: 93+60=153, Resulting Numbers: [84, 153]
Generated Node #0,1,3: 92:[84, 153] Operation: 93+60=153
Exploring Operation: 84-60=24, Resulting Numbers: [93, 24]
Generated Node #0,1,4: 92:[93, 24] Operation: 84-60=24
Moving to Node #0,1,4
Current State: 92:[93, 24], Operations: ['75+9=84', '84-60=24']
Exploring Operation: 93+24=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 93*24=2232, Resulting Numbers: [2232]
2232,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[84, 33], Operations: ['75+9=84', '93-60=33']
Exploring Operation: 84*33=2772, Resulting Numbers: [2772]
2772,92 unequal: No Solution
Exploring Operation: 84+33=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[60, 9], Operations: ['75+9=84', '93-84=9']
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 60*9=540, Resulting Numbers: [540]
540,92 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[93, 144], Operations: ['75+9=84', '60+84=144']
Exploring Operation: 144-93=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 93*144=13392, Resulting Numbers: [13392]
13392,92 unequal: No Solution
Exploring Operation: 93+144=237, Resulting Numbers: [237]
237,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[84, 153], Operations: ['75+9=84', '93+60=153']
Exploring Operation: 153-84=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 84+153=237, Resulting Numbers: [237]
237,92 unequal: No Solution
Exploring Operation: 84*153=12852, Resulting Numbers: [12852]
12852,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:[93, 75, 51], Operations: ['60-9=51']
Exploring Operation: 93-51=42, Resulting Numbers: [75, 42]
Generated Node #0,4,0: 92:[75, 42] Operation: 93-51=42
Exploring Operation: 93+51=144, Resulting Numbers: [75, 144]
Generated Node #0,4,1: 92:[75, 144] Operation: 93+51=144
Exploring Operation: 75-51=24, Resulting Numbers: [93, 24]
Generated Node #0,4,2: 92:[93, 24] Operation: 75-51=24
Exploring Operation: 93-75=18, Resulting Numbers: [51, 18]
Generated Node #0,4,3: 92:[51, 18] Operation: 93-75=18
Exploring Operation: 75+51=126, Resulting Numbers: [93, 126]
Generated Node #0,4,4: 92:[93, 126] Operation: 75+51=126
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 92:[93, 24], Operations: ['60-9=51', '75-51=24']
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 93*24=2232, Resulting Numbers: [2232]
2232,92 unequal: No Solution
Exploring Operation: 93+24=117, Resulting Numbers: [117]
117,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,4,3
Current State: 92:[51, 18], Operations: ['60-9=51', '93-75=18']
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,92 unequal: No Solution
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,92 unequal: No Solution
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,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,4,0
Current State: 92:[75, 42], Operations: ['60-9=51', '93-51=42']
Exploring Operation: 75*42=3150, Resulting Numbers: [3150]
3150,92 unequal: No Solution
Exploring Operation: 75+42=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,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,4,4
Current State: 92:[93, 126], Operations: ['60-9=51', '75+51=126']
Exploring Operation: 93*126=11718, Resulting Numbers: [11718]
11718,92 unequal: No Solution
Exploring Operation: 93+126=219, Resulting Numbers: [219]
219,92 unequal: No Solution
Exploring Operation: 126-93=33, Resulting Numbers: [33]
33,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,4,1
Current State: 92:[75, 144], Operations: ['60-9=51', '93+51=144']
Exploring Operation: 75*144=10800, Resulting Numbers: [10800]
10800,92 unequal: No Solution
Exploring Operation: 75+144=219, Resulting Numbers: [219]
219,92 unequal: No Solution
Exploring Operation: 144-75=69, Resulting Numbers: [69]
69,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[9, 60, 18], Operations: ['93-75=18']
Exploring Operation: 9+18=27, Resulting Numbers: [60, 27]
Generated Node #0,0,0: 92:[60, 27] Operation: 9+18=27
Exploring Operation: 18-9=9, Resulting Numbers: [60, 9]
Generated Node #0,0,1: 92:[60, 9] Operation: 18-9=9
Exploring Operation: 18/9=2, Resulting Numbers: [60, 2]
Generated Node #0,0,2: 92:[60, 2] Operation: 18/9=2
Exploring Operation: 60-18=42, Resulting Numbers: [9, 42]
Generated Node #0,0,3: 92:[9, 42] Operation: 60-18=42
Exploring Operation: 60-9=51, Resulting Numbers: [18, 51]
Generated Node #0,0,4: 92:[18, 51] Operation: 60-9=51
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 92:[9, 42], Operations: ['93-75=18', '60-18=42']
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,92 unequal: No Solution
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,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,0,4
Current State: 92:[18, 51], Operations: ['93-75=18', '60-9=51']
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,92 unequal: No Solution
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,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,0,2
Current State: 92:[60, 2], Operations: ['93-75=18', '18/9=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,92 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,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,0,0
Current State: 92:[60, 27], Operations: ['93-75=18', '9+18=27']
Exploring Operation: 60*27=1620, Resulting Numbers: [1620]
1620,92 unequal: No Solution
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,92 unequal: No Solution
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,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,0,1
Current State: 92:[60, 9], Operations: ['93-75=18', '18-9=9']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 60*9=540, Resulting Numbers: [540]
540,92 unequal: No Solution
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[75, 9, 33], Operations: ['93-60=33']
Exploring Operation: 9+33=42, Resulting Numbers: [75, 42]
Generated Node #0,3,0: 92:[75, 42] Operation: 9+33=42
Exploring Operation: 33-9=24, Resulting Numbers: [75, 24]
Generated Node #0,3,1: 92:[75, 24] Operation: 33-9=24
Exploring Operation: 75-33=42, Resulting Numbers: [9, 42]
Generated Node #0,3,2: 92:[9, 42] Operation: 75-33=42
Exploring Operation: 75+33=108, Resulting Numbers: [9, 108]
Generated Node #0,3,3: 92:[9, 108] Operation: 75+33=108
Exploring Operation: 75+9=84, Resulting Numbers: [33, 84]
Generated Node #0,3,4: 92:[33, 84] Operation: 75+9=84
Moving to Node #0,3,2
Current State: 92:[9, 42], Operations: ['93-60=33', '75-33=42']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,92 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,92 unequal: No Solution
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Moving to Node #0,3,4
Current State: 92:[33, 84], Operations: ['93-60=33', '75+9=84']
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 33*84=2772, Resulting Numbers: [2772]
2772,92 unequal: No Solution
Exploring Operation: 33+84=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[75, 24], Operations: ['93-60=33', '33-9=24']
Exploring Operation: 75*24=1800, Resulting Numbers: [1800]
1800,92 unequal: No Solution
Exploring Operation: 75+24=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Moving to Node #0,3,0
Current State: 92:[75, 42], Operations: ['93-60=33', '9+33=42']
Exploring Operation: 75*42=3150, Resulting Numbers: [3150]
3150,92 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,92 unequal: No Solution
Exploring Operation: 75+42=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[9, 108], Operations: ['93-60=33', '75+33=108']
Exploring Operation: 108-9=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 9+108=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 108/9=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 9*108=972, Resulting Numbers: [972]
972,92 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 |
[
17,
98,
13,
18
] | 26 | [
"17-13=4",
"18*4=72",
"98-72=26"
] | Current State: 26:[17, 98, 13, 18], Operations: []
Exploring Operation: 17-13=4, Resulting Numbers: [98, 18, 4]
Generated Node #2: [98, 18, 4] from Operation: 17-13=4
Current State: 26:[98, 18, 4], Operations: ['17-13=4']
Exploring Operation: 18*4=72, Resulting Numbers: [98, 72]
Generated Node #3: [98, 72] from Operation: 18*4=72
Current State: 26:[98, 72], Operations: ['17-13=4', '18*4=72']
Exploring Operation: 98-72=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[17, 98, 13, 18], Operations: []
Exploring Operation: 98-18=80, Resulting Numbers: [17, 13, 80]
Generated Node #0,0: 26:[17, 13, 80] Operation: 98-18=80
Exploring Operation: 18-17=1, Resulting Numbers: [98, 13, 1]
Generated Node #0,1: 26:[98, 13, 1] Operation: 18-17=1
Exploring Operation: 98-13=85, Resulting Numbers: [17, 18, 85]
Generated Node #0,2: 26:[17, 18, 85] Operation: 98-13=85
Exploring Operation: 98-17=81, Resulting Numbers: [13, 18, 81]
Generated Node #0,3: 26:[13, 18, 81] Operation: 98-17=81
Moving to Node #0,0
Current State: 26:[17, 13, 80], Operations: ['98-18=80']
Exploring Operation: 80-17=63, Resulting Numbers: [13, 63]
Generated Node #0,0,0: 26:[13, 63] Operation: 80-17=63
Exploring Operation: 80-13=67, Resulting Numbers: [17, 67]
Generated Node #0,0,1: 26:[17, 67] Operation: 80-13=67
Exploring Operation: 17-13=4, Resulting Numbers: [80, 4]
Generated Node #0,0,2: 26:[80, 4] Operation: 17-13=4
Exploring Operation: 17+13=30, Resulting Numbers: [80, 30]
Generated Node #0,0,3: 26:[80, 30] Operation: 17+13=30
Moving to Node #0,3
Current State: 26:[13, 18, 81], Operations: ['98-17=81']
Exploring Operation: 13+18=31, Resulting Numbers: [81, 31]
Generated Node #0,3,0: 26:[81, 31] Operation: 13+18=31
Exploring Operation: 81-13=68, Resulting Numbers: [18, 68]
Generated Node #0,3,1: 26:[18, 68] Operation: 81-13=68
Exploring Operation: 18-13=5, Resulting Numbers: [81, 5]
Generated Node #0,3,2: 26:[81, 5] Operation: 18-13=5
Exploring Operation: 81-18=63, Resulting Numbers: [13, 63]
Generated Node #0,3,3: 26:[13, 63] Operation: 81-18=63
Moving to Node #0,2
Current State: 26:[17, 18, 85], Operations: ['98-13=85']
Exploring Operation: 85-18=67, Resulting Numbers: [17, 67]
Generated Node #0,2,0: 26:[17, 67] Operation: 85-18=67
Exploring Operation: 85/17=5, Resulting Numbers: [18, 5]
Generated Node #0,2,1: 26:[18, 5] Operation: 85/17=5
Exploring Operation: 18-17=1, Resulting Numbers: [85, 1]
Generated Node #0,2,2: 26:[85, 1] Operation: 18-17=1
Exploring Operation: 85-17=68, Resulting Numbers: [18, 68]
Generated Node #0,2,3: 26:[18, 68] Operation: 85-17=68
Moving to Node #0,1
Current State: 26:[98, 13, 1], Operations: ['18-17=1']
Exploring Operation: 98/1=98, Resulting Numbers: [13, 98]
Generated Node #0,1,0: 26:[13, 98] Operation: 98/1=98
Exploring Operation: 98*1=98, Resulting Numbers: [13, 98]
Generated Node #0,1,1: 26:[13, 98] Operation: 98*1=98
Exploring Operation: 98-1=97, Resulting Numbers: [13, 97]
Generated Node #0,1,2: 26:[13, 97] Operation: 98-1=97
Exploring Operation: 98-13=85, Resulting Numbers: [1, 85]
Generated Node #0,1,3: 26:[1, 85] Operation: 98-13=85
Moving to Node #0,2,1
Current State: 26:[18, 5], Operations: ['98-13=85', '85/17=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[13, 63], Operations: ['98-18=80', '80-17=63']
Exploring Operation: 13*63=819, Resulting Numbers: [819]
819,26 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[13, 63], Operations: ['98-17=81', '81-18=63']
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 13*63=819, Resulting Numbers: [819]
819,26 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[17, 67], Operations: ['98-18=80', '80-13=67']
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,26 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[17, 67], Operations: ['98-13=85', '85-18=67']
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,26 unequal: No Solution
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Moving to Node #0,3,1
Current State: 26:[18, 68], Operations: ['98-17=81', '81-13=68']
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[18, 68], Operations: ['98-13=85', '85-17=68']
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,26 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[80, 4], Operations: ['98-18=80', '17-13=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,26 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[81, 5], Operations: ['98-17=81', '18-13=5']
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,26 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[80, 30], Operations: ['98-18=80', '17+13=30']
Exploring Operation: 80+30=110, Resulting Numbers: [110]
110,26 unequal: No Solution
Exploring Operation: 80*30=2400, Resulting Numbers: [2400]
2400,26 unequal: No Solution
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[85, 1], Operations: ['98-13=85', '18-17=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[1, 85], Operations: ['18-17=1', '98-13=85']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Exploring Operation: 1*85=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Moving to Node #0,3,0
Current State: 26:[81, 31], Operations: ['98-17=81', '13+18=31']
Exploring Operation: 81*31=2511, Resulting Numbers: [2511]
2511,26 unequal: No Solution
Exploring Operation: 81+31=112, Resulting Numbers: [112]
112,26 unequal: No Solution
Exploring Operation: 81-31=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[13, 97], Operations: ['18-17=1', '98-1=97']
Exploring Operation: 13+97=110, Resulting Numbers: [110]
110,26 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Exploring Operation: 13*97=1261, Resulting Numbers: [1261]
1261,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[13, 98], Operations: ['18-17=1', '98/1=98']
Exploring Operation: 13*98=1274, Resulting Numbers: [1274]
1274,26 unequal: No Solution
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Exploring Operation: 13+98=111, Resulting Numbers: [111]
111,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[13, 98], Operations: ['18-17=1', '98*1=98']
Exploring Operation: 13+98=111, Resulting Numbers: [111]
111,26 unequal: No Solution
Exploring Operation: 13*98=1274, Resulting Numbers: [1274]
1274,26 unequal: No Solution
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,26 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
94,
28,
5,
97
] | 20 | [
"94+28=122",
"5+97=102",
"122-102=20"
] | Current State: 20:[94, 28, 5, 97], Operations: []
Exploring Operation: 94+28=122, Resulting Numbers: [5, 97, 122]
Generated Node #2: [5, 97, 122] from Operation: 94+28=122
Current State: 20:[5, 97, 122], Operations: ['94+28=122']
Exploring Operation: 5+97=102, Resulting Numbers: [122, 102]
Generated Node #3: [122, 102] from Operation: 5+97=102
Current State: 20:[122, 102], Operations: ['94+28=122', '5+97=102']
Exploring Operation: 122-102=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[94, 28, 5, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [28, 5, 3]
Generated Node #0,0: 20:[28, 5, 3] Operation: 97-94=3
Exploring Operation: 94-28=66, Resulting Numbers: [5, 97, 66]
Generated Node #0,1: 20:[5, 97, 66] Operation: 94-28=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[28, 5, 3], Operations: ['97-94=3']
Exploring Operation: 28-5=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 20:[3, 23] Operation: 28-5=23
Exploring Operation: 28-3=25, Resulting Numbers: [5, 25]
Generated Node #0,0,1: 20:[5, 25] Operation: 28-3=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[3, 23], Operations: ['97-94=3', '28-5=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[94, 28, 5, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [28, 5, 3]
Generated Node #0,0: 20:[28, 5, 3] Operation: 97-94=3
Moving to Node #0,0
Current State: 20:[28, 5, 3], Operations: ['97-94=3']
Exploring Operation: 28-5=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 20:[3, 23] Operation: 28-5=23
Moving to Node #0,0,0
Current State: 20:[3, 23], Operations: ['97-94=3', '28-5=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.