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 |
|---|---|---|---|---|---|---|---|---|
[
80,
21,
27,
46
] | 14 | [
"80-21=59",
"27+46=73",
"73-59=14"
] | Current State: 14:[80, 21, 27, 46], Operations: []
Exploring Operation: 80-21=59, Resulting Numbers: [27, 46, 59]
Generated Node #2: [27, 46, 59] from Operation: 80-21=59
Current State: 14:[27, 46, 59], Operations: ['80-21=59']
Exploring Operation: 27+46=73, Resulting Numbers: [59, 73]
Generated Node #3: [59, 73] from Operation: 27+46=73
Current State: 14:[59, 73], Operations: ['80-21=59', '27+46=73']
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[80, 21, 27, 46], Operations: []
Exploring Operation: 80-27=53, Resulting Numbers: [21, 46, 53]
Generated Node #0,0: 14:[21, 46, 53] Operation: 80-27=53
Exploring Operation: 80-46=34, Resulting Numbers: [21, 27, 34]
Generated Node #0,1: 14:[21, 27, 34] Operation: 80-46=34
Exploring Operation: 46-27=19, Resulting Numbers: [80, 21, 19]
Generated Node #0,2: 14:[80, 21, 19] Operation: 46-27=19
Exploring Operation: 80-21=59, Resulting Numbers: [27, 46, 59]
Generated Node #0,3: 14:[27, 46, 59] Operation: 80-21=59
Moving to Node #0,1
Current State: 14:[21, 27, 34], Operations: ['80-46=34']
Exploring Operation: 34-21=13, Resulting Numbers: [27, 13]
Generated Node #0,1,0: 14:[27, 13] Operation: 34-21=13
Exploring Operation: 27-21=6, Resulting Numbers: [34, 6]
Generated Node #0,1,1: 14:[34, 6] Operation: 27-21=6
Exploring Operation: 34-27=7, Resulting Numbers: [21, 7]
Generated Node #0,1,2: 14:[21, 7] Operation: 34-27=7
Exploring Operation: 21+27=48, Resulting Numbers: [34, 48]
Generated Node #0,1,3: 14:[34, 48] Operation: 21+27=48
Moving to Node #0,2
Current State: 14:[80, 21, 19], Operations: ['46-27=19']
Exploring Operation: 21-19=2, Resulting Numbers: [80, 2]
Generated Node #0,2,0: 14:[80, 2] Operation: 21-19=2
Exploring Operation: 80-21=59, Resulting Numbers: [19, 59]
Generated Node #0,2,1: 14:[19, 59] Operation: 80-21=59
Exploring Operation: 80-19=61, Resulting Numbers: [21, 61]
Generated Node #0,2,2: 14:[21, 61] Operation: 80-19=61
Exploring Operation: 80+21=101, Resulting Numbers: [19, 101]
Generated Node #0,2,3: 14:[19, 101] Operation: 80+21=101
Moving to Node #0,0
Current State: 14:[21, 46, 53], Operations: ['80-27=53']
Exploring Operation: 46-21=25, Resulting Numbers: [53, 25]
Generated Node #0,0,0: 14:[53, 25] Operation: 46-21=25
Exploring Operation: 53-21=32, Resulting Numbers: [46, 32]
Generated Node #0,0,1: 14:[46, 32] Operation: 53-21=32
Exploring Operation: 53-46=7, Resulting Numbers: [21, 7]
Generated Node #0,0,2: 14:[21, 7] Operation: 53-46=7
Exploring Operation: 21+46=67, Resulting Numbers: [53, 67]
Generated Node #0,0,3: 14:[53, 67] Operation: 21+46=67
Moving to Node #0,3
Current State: 14:[27, 46, 59], Operations: ['80-21=59']
Exploring Operation: 27+46=73, Resulting Numbers: [59, 73]
Generated Node #0,3,0: 14:[59, 73] Operation: 27+46=73
Exploring Operation: 59-27=32, Resulting Numbers: [46, 32]
Generated Node #0,3,1: 14:[46, 32] Operation: 59-27=32
Exploring Operation: 59-46=13, Resulting Numbers: [27, 13]
Generated Node #0,3,2: 14:[27, 13] Operation: 59-46=13
Exploring Operation: 46-27=19, Resulting Numbers: [59, 19]
Generated Node #0,3,3: 14:[59, 19] Operation: 46-27=19
Moving to Node #0,1,2
Current State: 14:[21, 7], Operations: ['80-46=34', '34-27=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[80, 21, 27, 46], Operations: []
Exploring Operation: 80-46=34, Resulting Numbers: [21, 27, 34]
Generated Node #0,1: 14:[21, 27, 34] Operation: 80-46=34
Moving to Node #0,1
Current State: 14:[21, 27, 34], Operations: ['80-46=34']
Exploring Operation: 34-27=7, Resulting Numbers: [21, 7]
Generated Node #0,1,2: 14:[21, 7] Operation: 34-27=7
Moving to Node #0,1,2
Current State: 14:[21, 7], Operations: ['80-46=34', '34-27=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.978299 | hs_4 | sum_heuristic |
[
22,
43,
11,
55
] | 46 | [
"55-22=33",
"33/11=3",
"43+3=46"
] | Current State: 46:[22, 43, 11, 55], Operations: []
Exploring Operation: 55-22=33, Resulting Numbers: [43, 11, 33]
Generated Node #2: [43, 11, 33] from Operation: 55-22=33
Current State: 46:[43, 11, 33], Operations: ['55-22=33']
Exploring Operation: 33/11=3, Resulting Numbers: [43, 3]
Generated Node #3: [43, 3] from Operation: 33/11=3
Current State: 46:[43, 3], Operations: ['55-22=33', '33/11=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[22, 43, 11, 55], Operations: []
Exploring Operation: 55-11=44, Resulting Numbers: [22, 43, 44]
Generated Node #0,0: 46:[22, 43, 44] Operation: 55-11=44
Exploring Operation: 55/11=5, Resulting Numbers: [22, 43, 5]
Generated Node #0,1: 46:[22, 43, 5] Operation: 55/11=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[22, 43, 44], Operations: ['55-11=44']
Exploring Operation: 44-43=1, Resulting Numbers: [22, 1]
Generated Node #0,0,0: 46:[22, 1] Operation: 44-43=1
Exploring Operation: 44/22=2, Resulting Numbers: [43, 2]
Generated Node #0,0,1: 46:[43, 2] Operation: 44/22=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[22, 1], Operations: ['55-11=44', '44-43=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[43, 2], Operations: ['55-11=44', '44/22=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[22, 43, 5], Operations: ['55/11=5']
Exploring Operation: 43+5=48, Resulting Numbers: [22, 48]
Generated Node #0,1,0: 46:[22, 48] Operation: 43+5=48
Exploring Operation: 43-22=21, Resulting Numbers: [5, 21]
Generated Node #0,1,1: 46:[5, 21] Operation: 43-22=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[22, 48], Operations: ['55/11=5', '43+5=48']
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,46 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,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:[5, 21], Operations: ['55/11=5', '43-22=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,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_2 | sum_heuristic |
[
24,
54,
34,
12
] | 45 | [
"34-24=10",
"54*10=540",
"540/12=45"
] | Current State: 45:[24, 54, 34, 12], Operations: []
Exploring Operation: 34-24=10, Resulting Numbers: [54, 12, 10]
Generated Node #2: [54, 12, 10] from Operation: 34-24=10
Current State: 45:[54, 12, 10], Operations: ['34-24=10']
Exploring Operation: 54*10=540, Resulting Numbers: [12, 540]
Generated Node #3: [12, 540] from Operation: 54*10=540
Current State: 45:[12, 540], Operations: ['34-24=10', '54*10=540']
Exploring Operation: 540/12=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[24, 54, 34, 12], Operations: []
Exploring Operation: 34-24=10, Resulting Numbers: [54, 12, 10]
Generated Node #0,0: 45:[54, 12, 10] Operation: 34-24=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[54, 12, 10], Operations: ['34-24=10']
Exploring Operation: 54-12=42, Resulting Numbers: [10, 42]
Generated Node #0,0,0: 45:[10, 42] Operation: 54-12=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[10, 42], Operations: ['34-24=10', '54-12=42']
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,45 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 |
[
60,
5,
3,
7
] | 46 | [
"5-3=2",
"7*2=14",
"60-14=46"
] | Current State: 46:[60, 5, 3, 7], Operations: []
Exploring Operation: 5-3=2, Resulting Numbers: [60, 7, 2]
Generated Node #2: [60, 7, 2] from Operation: 5-3=2
Current State: 46:[60, 7, 2], Operations: ['5-3=2']
Exploring Operation: 7*2=14, Resulting Numbers: [60, 14]
Generated Node #3: [60, 14] from Operation: 7*2=14
Current State: 46:[60, 14], Operations: ['5-3=2', '7*2=14']
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[60, 5, 3, 7], Operations: []
Exploring Operation: 60-7=53, Resulting Numbers: [5, 3, 53]
Generated Node #0,0: 46:[5, 3, 53] Operation: 60-7=53
Exploring Operation: 7-5=2, Resulting Numbers: [60, 3, 2]
Generated Node #0,1: 46:[60, 3, 2] Operation: 7-5=2
Exploring Operation: 60-5=55, Resulting Numbers: [3, 7, 55]
Generated Node #0,2: 46:[3, 7, 55] Operation: 60-5=55
Exploring Operation: 60/5=12, Resulting Numbers: [3, 7, 12]
Generated Node #0,3: 46:[3, 7, 12] Operation: 60/5=12
Exploring Operation: 60/3=20, Resulting Numbers: [5, 7, 20]
Generated Node #0,4: 46:[5, 7, 20] Operation: 60/3=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[5, 3, 53], Operations: ['60-7=53']
Exploring Operation: 53-5=48, Resulting Numbers: [3, 48]
Generated Node #0,0,0: 46:[3, 48] Operation: 53-5=48
Exploring Operation: 53-3=50, Resulting Numbers: [5, 50]
Generated Node #0,0,1: 46:[5, 50] Operation: 53-3=50
Exploring Operation: 5+53=58, Resulting Numbers: [3, 58]
Generated Node #0,0,2: 46:[3, 58] Operation: 5+53=58
Exploring Operation: 5+3=8, Resulting Numbers: [53, 8]
Generated Node #0,0,3: 46:[53, 8] Operation: 5+3=8
Exploring Operation: 5-3=2, Resulting Numbers: [53, 2]
Generated Node #0,0,4: 46:[53, 2] Operation: 5-3=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[3, 48], Operations: ['60-7=53', '53-5=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,46 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,46 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[5, 50], Operations: ['60-7=53', '53-3=50']
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 46:[53, 2], Operations: ['60-7=53', '5-3=2']
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,46 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,46 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 46:[3, 58], Operations: ['60-7=53', '5+53=58']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 46:[53, 8], Operations: ['60-7=53', '5+3=8']
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,46 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 46:[5, 7, 20], Operations: ['60/3=20']
Exploring Operation: 20/5=4, Resulting Numbers: [7, 4]
Generated Node #0,4,0: 46:[7, 4] Operation: 20/5=4
Exploring Operation: 5+7=12, Resulting Numbers: [20, 12]
Generated Node #0,4,1: 46:[20, 12] Operation: 5+7=12
Exploring Operation: 7-5=2, Resulting Numbers: [20, 2]
Generated Node #0,4,2: 46:[20, 2] Operation: 7-5=2
Exploring Operation: 5+20=25, Resulting Numbers: [7, 25]
Generated Node #0,4,3: 46:[7, 25] Operation: 5+20=25
Exploring Operation: 7+20=27, Resulting Numbers: [5, 27]
Generated Node #0,4,4: 46:[5, 27] Operation: 7+20=27
Moving to Node #0,4,2
Current State: 46:[20, 2], Operations: ['60/3=20', '7-5=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Moving to Node #0,4,3
Current State: 46:[7, 25], Operations: ['60/3=20', '5+20=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,46 unequal: No Solution
Moving to Node #0,4,0
Current State: 46:[7, 4], Operations: ['60/3=20', '20/5=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Moving to Node #0,4,4
Current State: 46:[5, 27], Operations: ['60/3=20', '7+20=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,46 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Moving to Node #0,4,1
Current State: 46:[20, 12], Operations: ['60/3=20', '5+7=12']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,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:[60, 3, 2], Operations: ['7-5=2']
Exploring Operation: 60/3=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 46:[2, 20] Operation: 60/3=20
Exploring Operation: 60-2=58, Resulting Numbers: [3, 58]
Generated Node #0,1,1: 46:[3, 58] Operation: 60-2=58
Exploring Operation: 60/2=30, Resulting Numbers: [3, 30]
Generated Node #0,1,2: 46:[3, 30] Operation: 60/2=30
Exploring Operation: 60-3=57, Resulting Numbers: [2, 57]
Generated Node #0,1,3: 46:[2, 57] Operation: 60-3=57
Exploring Operation: 3-2=1, Resulting Numbers: [60, 1]
Generated Node #0,1,4: 46:[60, 1] Operation: 3-2=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[2, 20], Operations: ['7-5=2', '60/3=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,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,2
Current State: 46:[3, 30], Operations: ['7-5=2', '60/2=30']
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,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,3
Current State: 46:[2, 57], Operations: ['7-5=2', '60-3=57']
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,46 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,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:[3, 58], Operations: ['7-5=2', '60-2=58']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,46 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,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,4
Current State: 46:[60, 1], Operations: ['7-5=2', '3-2=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[3, 7, 55], Operations: ['60-5=55']
Exploring Operation: 55-7=48, Resulting Numbers: [3, 48]
Generated Node #0,2,0: 46:[3, 48] Operation: 55-7=48
Exploring Operation: 3+7=10, Resulting Numbers: [55, 10]
Generated Node #0,2,1: 46:[55, 10] Operation: 3+7=10
Exploring Operation: 55-3=52, Resulting Numbers: [7, 52]
Generated Node #0,2,2: 46:[7, 52] Operation: 55-3=52
Exploring Operation: 7-3=4, Resulting Numbers: [55, 4]
Generated Node #0,2,3: 46:[55, 4] Operation: 7-3=4
Exploring Operation: 3*7=21, Resulting Numbers: [55, 21]
Generated Node #0,2,4: 46:[55, 21] Operation: 3*7=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 46:[3, 48], Operations: ['60-5=55', '55-7=48']
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,46 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 46:[7, 52], Operations: ['60-5=55', '55-3=52']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 46:[55, 4], Operations: ['60-5=55', '7-3=4']
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,46 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 46:[55, 21], Operations: ['60-5=55', '3*7=21']
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,46 unequal: No Solution
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 46:[55, 10], Operations: ['60-5=55', '3+7=10']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 55*10=550, Resulting Numbers: [550]
550,46 unequal: No Solution
Exploring Operation: 55+10=65, Resulting Numbers: [65]
65,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[3, 7, 12], Operations: ['60/5=12']
Exploring Operation: 12/3=4, Resulting Numbers: [7, 4]
Generated Node #0,3,0: 46:[7, 4] Operation: 12/3=4
Exploring Operation: 12-7=5, Resulting Numbers: [3, 5]
Generated Node #0,3,1: 46:[3, 5] Operation: 12-7=5
Exploring Operation: 3*7=21, Resulting Numbers: [12, 21]
Generated Node #0,3,2: 46:[12, 21] Operation: 3*7=21
Exploring Operation: 7-3=4, Resulting Numbers: [12, 4]
Generated Node #0,3,3: 46:[12, 4] Operation: 7-3=4
Exploring Operation: 7+12=19, Resulting Numbers: [3, 19]
Generated Node #0,3,4: 46:[3, 19] Operation: 7+12=19
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 46:[3, 5], Operations: ['60/5=12', '12-7=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 46:[3, 19], Operations: ['60/5=12', '7+12=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,46 unequal: No Solution
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
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 46:[7, 4], Operations: ['60/5=12', '12/3=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 46:[12, 21], Operations: ['60/5=12', '3*7=21']
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,46 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 46:[12, 4], Operations: ['60/5=12', '7-3=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,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_5 | sum_heuristic |
[
4,
47,
46,
50
] | 31 | [
"50-46=4",
"4*4=16",
"47-16=31"
] | Current State: 31:[4, 47, 46, 50], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [4, 47, 4]
Generated Node #2: [4, 47, 4] from Operation: 50-46=4
Current State: 31:[4, 47, 4], Operations: ['50-46=4']
Exploring Operation: 4*4=16, Resulting Numbers: [47, 16]
Generated Node #3: [47, 16] from Operation: 4*4=16
Current State: 31:[47, 16], Operations: ['50-46=4', '4*4=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[4, 47, 46, 50], Operations: []
Exploring Operation: 47-4=43, Resulting Numbers: [46, 50, 43]
Generated Node #0,0: 31:[46, 50, 43] Operation: 47-4=43
Exploring Operation: 4+46=50, Resulting Numbers: [47, 50, 50]
Generated Node #0,1: 31:[47, 50, 50] Operation: 4+46=50
Exploring Operation: 46-4=42, Resulting Numbers: [47, 50, 42]
Generated Node #0,2: 31:[47, 50, 42] Operation: 46-4=42
Exploring Operation: 4+47=51, Resulting Numbers: [46, 50, 51]
Generated Node #0,3: 31:[46, 50, 51] Operation: 4+47=51
Exploring Operation: 50-4=46, Resulting Numbers: [47, 46, 46]
Generated Node #0,4: 31:[47, 46, 46] Operation: 50-4=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[46, 50, 43], Operations: ['47-4=43']
Exploring Operation: 46+50=96, Resulting Numbers: [43, 96]
Generated Node #0,0,0: 31:[43, 96] Operation: 46+50=96
Exploring Operation: 46+43=89, Resulting Numbers: [50, 89]
Generated Node #0,0,1: 31:[50, 89] Operation: 46+43=89
Exploring Operation: 46-43=3, Resulting Numbers: [50, 3]
Generated Node #0,0,2: 31:[50, 3] Operation: 46-43=3
Exploring Operation: 50-46=4, Resulting Numbers: [43, 4]
Generated Node #0,0,3: 31:[43, 4] Operation: 50-46=4
Exploring Operation: 50-43=7, Resulting Numbers: [46, 7]
Generated Node #0,0,4: 31:[46, 7] Operation: 50-43=7
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 31:[43, 4], Operations: ['47-4=43', '50-46=4']
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,31 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 31:[46, 7], Operations: ['47-4=43', '50-43=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,31 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[50, 3], Operations: ['47-4=43', '46-43=3']
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,31 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,31 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[43, 96], Operations: ['47-4=43', '46+50=96']
Exploring Operation: 43*96=4128, Resulting Numbers: [4128]
4128,31 unequal: No Solution
Exploring Operation: 43+96=139, Resulting Numbers: [139]
139,31 unequal: No Solution
Exploring Operation: 96-43=53, Resulting Numbers: [53]
53,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[50, 89], Operations: ['47-4=43', '46+43=89']
Exploring Operation: 50*89=4450, Resulting Numbers: [4450]
4450,31 unequal: No Solution
Exploring Operation: 50+89=139, Resulting Numbers: [139]
139,31 unequal: No Solution
Exploring Operation: 89-50=39, Resulting Numbers: [39]
39,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[47, 50, 42], Operations: ['46-4=42']
Exploring Operation: 47-42=5, Resulting Numbers: [50, 5]
Generated Node #0,2,0: 31:[50, 5] Operation: 47-42=5
Exploring Operation: 50-42=8, Resulting Numbers: [47, 8]
Generated Node #0,2,1: 31:[47, 8] Operation: 50-42=8
Exploring Operation: 50-47=3, Resulting Numbers: [42, 3]
Generated Node #0,2,2: 31:[42, 3] Operation: 50-47=3
Exploring Operation: 47+50=97, Resulting Numbers: [42, 97]
Generated Node #0,2,3: 31:[42, 97] Operation: 47+50=97
Exploring Operation: 47+42=89, Resulting Numbers: [50, 89]
Generated Node #0,2,4: 31:[50, 89] Operation: 47+42=89
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 31:[47, 8], Operations: ['46-4=42', '50-42=8']
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,31 unequal: No Solution
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 31:[42, 3], Operations: ['46-4=42', '50-47=3']
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[50, 5], Operations: ['46-4=42', '47-42=5']
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,31 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 31:[42, 97], Operations: ['46-4=42', '47+50=97']
Exploring Operation: 97-42=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 42+97=139, Resulting Numbers: [139]
139,31 unequal: No Solution
Exploring Operation: 42*97=4074, Resulting Numbers: [4074]
4074,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 31:[50, 89], Operations: ['46-4=42', '47+42=89']
Exploring Operation: 89-50=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 50+89=139, Resulting Numbers: [139]
139,31 unequal: No Solution
Exploring Operation: 50*89=4450, Resulting Numbers: [4450]
4450,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[47, 46, 46], Operations: ['50-4=46']
Exploring Operation: 46-46=0, Resulting Numbers: [47, 0]
Generated Node #0,4,0: 31:[47, 0] Operation: 46-46=0
Exploring Operation: 47-46=1, Resulting Numbers: [46, 1]
Generated Node #0,4,1: 31:[46, 1] Operation: 47-46=1
Exploring Operation: 46/46=1, Resulting Numbers: [47, 1]
Generated Node #0,4,2: 31:[47, 1] Operation: 46/46=1
Exploring Operation: 47-46=1, Resulting Numbers: [46, 1]
Generated Node #0,4,3: 31:[46, 1] Operation: 47-46=1
Exploring Operation: 47+46=93, Resulting Numbers: [46, 93]
Generated Node #0,4,4: 31:[46, 93] Operation: 47+46=93
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 31:[46, 1], Operations: ['50-4=46', '47-46=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 31:[46, 1], Operations: ['50-4=46', '47-46=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 31:[47, 1], Operations: ['50-4=46', '46/46=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 31:[47, 0], Operations: ['50-4=46', '46-46=0']
Exploring Operation: 47+0=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 47*0=0, Resulting Numbers: [0]
0,31 unequal: No Solution
Exploring Operation: 47-0=47, Resulting Numbers: [47]
47,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 31:[46, 93], Operations: ['50-4=46', '47+46=93']
Exploring Operation: 93-46=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 46+93=139, Resulting Numbers: [139]
139,31 unequal: No Solution
Exploring Operation: 46*93=4278, Resulting Numbers: [4278]
4278,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[47, 50, 50], Operations: ['4+46=50']
Exploring Operation: 47+50=97, Resulting Numbers: [50, 97]
Generated Node #0,1,0: 31:[50, 97] Operation: 47+50=97
Exploring Operation: 50-47=3, Resulting Numbers: [50, 3]
Generated Node #0,1,1: 31:[50, 3] Operation: 50-47=3
Exploring Operation: 50-50=0, Resulting Numbers: [47, 0]
Generated Node #0,1,2: 31:[47, 0] Operation: 50-50=0
Exploring Operation: 50-47=3, Resulting Numbers: [50, 3]
Generated Node #0,1,3: 31:[50, 3] Operation: 50-47=3
Exploring Operation: 50/50=1, Resulting Numbers: [47, 1]
Generated Node #0,1,4: 31:[47, 1] Operation: 50/50=1
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 31:[47, 1], Operations: ['4+46=50', '50/50=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[50, 3], Operations: ['4+46=50', '50-47=3']
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,31 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,31 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 31:[47, 0], Operations: ['4+46=50', '50-50=0']
Exploring Operation: 47*0=0, Resulting Numbers: [0]
0,31 unequal: No Solution
Exploring Operation: 47+0=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 47-0=47, Resulting Numbers: [47]
47,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 31:[50, 3], Operations: ['4+46=50', '50-47=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,31 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[50, 97], Operations: ['4+46=50', '47+50=97']
Exploring Operation: 50*97=4850, Resulting Numbers: [4850]
4850,31 unequal: No Solution
Exploring Operation: 50+97=147, Resulting Numbers: [147]
147,31 unequal: No Solution
Exploring Operation: 97-50=47, Resulting Numbers: [47]
47,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[46, 50, 51], Operations: ['4+47=51']
Exploring Operation: 51-50=1, Resulting Numbers: [46, 1]
Generated Node #0,3,0: 31:[46, 1] Operation: 51-50=1
Exploring Operation: 51-46=5, Resulting Numbers: [50, 5]
Generated Node #0,3,1: 31:[50, 5] Operation: 51-46=5
Exploring Operation: 50-46=4, Resulting Numbers: [51, 4]
Generated Node #0,3,2: 31:[51, 4] Operation: 50-46=4
Exploring Operation: 46+51=97, Resulting Numbers: [50, 97]
Generated Node #0,3,3: 31:[50, 97] Operation: 46+51=97
Exploring Operation: 46+50=96, Resulting Numbers: [51, 96]
Generated Node #0,3,4: 31:[51, 96] Operation: 46+50=96
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 31:[46, 1], Operations: ['4+47=51', '51-50=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 31:[50, 5], Operations: ['4+47=51', '51-46=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,31 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 31:[51, 4], Operations: ['4+47=51', '50-46=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 31:[50, 97], Operations: ['4+47=51', '46+51=97']
Exploring Operation: 50+97=147, Resulting Numbers: [147]
147,31 unequal: No Solution
Exploring Operation: 97-50=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 50*97=4850, Resulting Numbers: [4850]
4850,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 31:[51, 96], Operations: ['4+47=51', '46+50=96']
Exploring Operation: 51+96=147, Resulting Numbers: [147]
147,31 unequal: No Solution
Exploring Operation: 51*96=4896, Resulting Numbers: [4896]
4896,31 unequal: No Solution
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
31,
17,
4,
7
] | 12 | [
"31+4=35",
"35/7=5",
"17-5=12"
] | Current State: 12:[31, 17, 4, 7], Operations: []
Exploring Operation: 31+4=35, Resulting Numbers: [17, 7, 35]
Generated Node #2: [17, 7, 35] from Operation: 31+4=35
Current State: 12:[17, 7, 35], Operations: ['31+4=35']
Exploring Operation: 35/7=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 35/7=5
Current State: 12:[17, 5], Operations: ['31+4=35', '35/7=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[31, 17, 4, 7], Operations: []
Exploring Operation: 17-4=13, Resulting Numbers: [31, 7, 13]
Generated Node #0,0: 12:[31, 7, 13] Operation: 17-4=13
Exploring Operation: 31-7=24, Resulting Numbers: [17, 4, 24]
Generated Node #0,1: 12:[17, 4, 24] Operation: 31-7=24
Exploring Operation: 31-17=14, Resulting Numbers: [4, 7, 14]
Generated Node #0,2: 12:[4, 7, 14] Operation: 31-17=14
Exploring Operation: 31-4=27, Resulting Numbers: [17, 7, 27]
Generated Node #0,3: 12:[17, 7, 27] Operation: 31-4=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[4, 7, 14], Operations: ['31-17=14']
Exploring Operation: 14-7=7, Resulting Numbers: [4, 7]
Generated Node #0,2,0: 12:[4, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [4, 2]
Generated Node #0,2,1: 12:[4, 2] Operation: 14/7=2
Exploring Operation: 4+7=11, Resulting Numbers: [14, 11]
Generated Node #0,2,2: 12:[14, 11] Operation: 4+7=11
Exploring Operation: 7-4=3, Resulting Numbers: [14, 3]
Generated Node #0,2,3: 12:[14, 3] Operation: 7-4=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 12:[4, 2], Operations: ['31-17=14', '14/7=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 12:[4, 7], Operations: ['31-17=14', '14-7=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 12:[14, 3], Operations: ['31-17=14', '7-4=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 12:[14, 11], Operations: ['31-17=14', '4+7=11']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,12 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,12 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: 12:[17, 4, 24], Operations: ['31-7=24']
Exploring Operation: 17-4=13, Resulting Numbers: [24, 13]
Generated Node #0,1,0: 12:[24, 13] Operation: 17-4=13
Exploring Operation: 24-17=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 12:[4, 7] Operation: 24-17=7
Exploring Operation: 24-4=20, Resulting Numbers: [17, 20]
Generated Node #0,1,2: 12:[17, 20] Operation: 24-4=20
Exploring Operation: 24/4=6, Resulting Numbers: [17, 6]
Generated Node #0,1,3: 12:[17, 6] Operation: 24/4=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 12:[4, 7], Operations: ['31-7=24', '24-17=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,12 unequal: No Solution
No 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: 12:[17, 6], Operations: ['31-7=24', '24/4=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,12 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[24, 13], Operations: ['31-7=24', '17-4=13']
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,12 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 12:[17, 20], Operations: ['31-7=24', '24-4=20']
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,12 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,12 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: 12:[31, 7, 13], Operations: ['17-4=13']
Exploring Operation: 31-7=24, Resulting Numbers: [13, 24]
Generated Node #0,0,0: 12:[13, 24] Operation: 31-7=24
Exploring Operation: 31+7=38, Resulting Numbers: [13, 38]
Generated Node #0,0,1: 12:[13, 38] Operation: 31+7=38
Exploring Operation: 31-13=18, Resulting Numbers: [7, 18]
Generated Node #0,0,2: 12:[7, 18] Operation: 31-13=18
Exploring Operation: 13-7=6, Resulting Numbers: [31, 6]
Generated Node #0,0,3: 12:[31, 6] Operation: 13-7=6
Moving to Node #0,0,2
Current State: 12:[7, 18], Operations: ['17-4=13', '31-13=18']
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,12 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[13, 24], Operations: ['17-4=13', '31-7=24']
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,12 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[31, 6], Operations: ['17-4=13', '13-7=6']
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,12 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[13, 38], Operations: ['17-4=13', '31+7=38']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,12 unequal: No Solution
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[17, 7, 27], Operations: ['31-4=27']
Exploring Operation: 17-7=10, Resulting Numbers: [27, 10]
Generated Node #0,3,0: 12:[27, 10] Operation: 17-7=10
Exploring Operation: 27-17=10, Resulting Numbers: [7, 10]
Generated Node #0,3,1: 12:[7, 10] Operation: 27-17=10
Exploring Operation: 17+7=24, Resulting Numbers: [27, 24]
Generated Node #0,3,2: 12:[27, 24] Operation: 17+7=24
Exploring Operation: 27-7=20, Resulting Numbers: [17, 20]
Generated Node #0,3,3: 12:[17, 20] Operation: 27-7=20
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 12:[7, 10], Operations: ['31-4=27', '27-17=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 12:[17, 20], Operations: ['31-4=27', '27-7=20']
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,12 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 12:[27, 10], Operations: ['31-4=27', '17-7=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,12 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 12:[27, 24], Operations: ['31-4=27', '17+7=24']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,12 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,12 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 |
[
65,
3,
56,
89
] | 16 | [
"89-65=24",
"3*24=72",
"72-56=16"
] | Current State: 16:[65, 3, 56, 89], Operations: []
Exploring Operation: 89-65=24, Resulting Numbers: [3, 56, 24]
Generated Node #2: [3, 56, 24] from Operation: 89-65=24
Current State: 16:[3, 56, 24], Operations: ['89-65=24']
Exploring Operation: 3*24=72, Resulting Numbers: [56, 72]
Generated Node #3: [56, 72] from Operation: 3*24=72
Current State: 16:[56, 72], Operations: ['89-65=24', '3*24=72']
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[65, 3, 56, 89], Operations: []
Exploring Operation: 89-65=24, Resulting Numbers: [3, 56, 24]
Generated Node #0,0: 16:[3, 56, 24] Operation: 89-65=24
Exploring Operation: 89-56=33, Resulting Numbers: [65, 3, 33]
Generated Node #0,1: 16:[65, 3, 33] Operation: 89-56=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[3, 56, 24], Operations: ['89-65=24']
Exploring Operation: 24/3=8, Resulting Numbers: [56, 8]
Generated Node #0,0,0: 16:[56, 8] Operation: 24/3=8
Exploring Operation: 56-24=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 16:[3, 32] Operation: 56-24=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 16:[3, 32], Operations: ['89-65=24', '56-24=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,16 unequal: No Solution
No 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: 16:[56, 8], Operations: ['89-65=24', '24/3=8']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,16 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: 16:[65, 3, 33], Operations: ['89-56=33']
Exploring Operation: 65-33=32, Resulting Numbers: [3, 32]
Generated Node #0,1,0: 16:[3, 32] Operation: 65-33=32
Exploring Operation: 33/3=11, Resulting Numbers: [65, 11]
Generated Node #0,1,1: 16:[65, 11] Operation: 33/3=11
Moving to Node #0,1,0
Current State: 16:[3, 32], Operations: ['89-56=33', '65-33=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[65, 11], Operations: ['89-56=33', '33/3=11']
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,16 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,16 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 |
[
15,
56,
31,
76
] | 66 | [
"56-15=41",
"31+76=107",
"107-41=66"
] | Current State: 66:[15, 56, 31, 76], Operations: []
Exploring Operation: 56-15=41, Resulting Numbers: [31, 76, 41]
Generated Node #2: [31, 76, 41] from Operation: 56-15=41
Current State: 66:[31, 76, 41], Operations: ['56-15=41']
Exploring Operation: 31+76=107, Resulting Numbers: [41, 107]
Generated Node #3: [41, 107] from Operation: 31+76=107
Current State: 66:[41, 107], Operations: ['56-15=41', '31+76=107']
Exploring Operation: 107-41=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[15, 56, 31, 76], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [15, 31, 20]
Generated Node #0,0: 66:[15, 31, 20] Operation: 76-56=20
Moving to Node #0,0
Current State: 66:[15, 31, 20], Operations: ['76-56=20']
Exploring Operation: 20-15=5, Resulting Numbers: [31, 5]
Generated Node #0,0,0: 66:[31, 5] Operation: 20-15=5
Moving to Node #0,0,0
Current State: 66:[31, 5], Operations: ['76-56=20', '20-15=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,66 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
97,
90,
55,
21
] | 83 | [
"97-90=7",
"55+21=76",
"7+76=83"
] | Current State: 83:[97, 90, 55, 21], Operations: []
Exploring Operation: 97-90=7, Resulting Numbers: [55, 21, 7]
Generated Node #2: [55, 21, 7] from Operation: 97-90=7
Current State: 83:[55, 21, 7], Operations: ['97-90=7']
Exploring Operation: 55+21=76, Resulting Numbers: [7, 76]
Generated Node #3: [7, 76] from Operation: 55+21=76
Current State: 83:[7, 76], Operations: ['97-90=7', '55+21=76']
Exploring Operation: 7+76=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[97, 90, 55, 21], Operations: []
Exploring Operation: 90-21=69, Resulting Numbers: [97, 55, 69]
Generated Node #0,0: 83:[97, 55, 69] Operation: 90-21=69
Exploring Operation: 97+21=118, Resulting Numbers: [90, 55, 118]
Generated Node #0,1: 83:[90, 55, 118] Operation: 97+21=118
Exploring Operation: 97-21=76, Resulting Numbers: [90, 55, 76]
Generated Node #0,2: 83:[90, 55, 76] Operation: 97-21=76
Exploring Operation: 55+21=76, Resulting Numbers: [97, 90, 76]
Generated Node #0,3: 83:[97, 90, 76] Operation: 55+21=76
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[97, 90, 76], Operations: ['55+21=76']
Exploring Operation: 90-76=14, Resulting Numbers: [97, 14]
Generated Node #0,3,0: 83:[97, 14] Operation: 90-76=14
Exploring Operation: 97-90=7, Resulting Numbers: [76, 7]
Generated Node #0,3,1: 83:[76, 7] Operation: 97-90=7
Exploring Operation: 97+76=173, Resulting Numbers: [90, 173]
Generated Node #0,3,2: 83:[90, 173] Operation: 97+76=173
Exploring Operation: 97-76=21, Resulting Numbers: [90, 21]
Generated Node #0,3,3: 83:[90, 21] Operation: 97-76=21
Moving to Node #0,3,3
Current State: 83:[90, 21], Operations: ['55+21=76', '97-76=21']
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 90*21=1890, Resulting Numbers: [1890]
1890,83 unequal: No Solution
Exploring Operation: 90+21=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[76, 7], Operations: ['55+21=76', '97-90=7']
Exploring Operation: 76*7=532, Resulting Numbers: [532]
532,83 unequal: No Solution
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[97, 90, 55, 21], Operations: []
Exploring Operation: 55+21=76, Resulting Numbers: [97, 90, 76]
Generated Node #0,3: 83:[97, 90, 76] Operation: 55+21=76
Moving to Node #0,3
Current State: 83:[97, 90, 76], Operations: ['55+21=76']
Exploring Operation: 97-90=7, Resulting Numbers: [76, 7]
Generated Node #0,3,1: 83:[76, 7] Operation: 97-90=7
Moving to Node #0,3,1
Current State: 83:[76, 7], Operations: ['55+21=76', '97-90=7']
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
11,
41,
16,
21
] | 39 | [
"11+21=32",
"32/16=2",
"41-2=39"
] | Current State: 39:[11, 41, 16, 21], Operations: []
Exploring Operation: 11+21=32, Resulting Numbers: [41, 16, 32]
Generated Node #2: [41, 16, 32] from Operation: 11+21=32
Current State: 39:[41, 16, 32], Operations: ['11+21=32']
Exploring Operation: 32/16=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 32/16=2
Current State: 39:[41, 2], Operations: ['11+21=32', '32/16=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[11, 41, 16, 21], Operations: []
Exploring Operation: 16+21=37, Resulting Numbers: [11, 41, 37]
Generated Node #0,0: 39:[11, 41, 37] Operation: 16+21=37
Moving to Node #0,0
Current State: 39:[11, 41, 37], Operations: ['16+21=37']
Exploring Operation: 41-37=4, Resulting Numbers: [11, 4]
Generated Node #0,0,0: 39:[11, 4] Operation: 41-37=4
Moving to Node #0,0,0
Current State: 39:[11, 4], Operations: ['16+21=37', '41-37=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,39 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
58,
30,
7,
8
] | 62 | [
"58*8=464",
"464-30=434",
"434/7=62"
] | Current State: 62:[58, 30, 7, 8], Operations: []
Exploring Operation: 58*8=464, Resulting Numbers: [30, 7, 464]
Generated Node #2: [30, 7, 464] from Operation: 58*8=464
Current State: 62:[30, 7, 464], Operations: ['58*8=464']
Exploring Operation: 464-30=434, Resulting Numbers: [7, 434]
Generated Node #3: [7, 434] from Operation: 464-30=434
Current State: 62:[7, 434], Operations: ['58*8=464', '464-30=434']
Exploring Operation: 434/7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[58, 30, 7, 8], Operations: []
Exploring Operation: 8-7=1, Resulting Numbers: [58, 30, 1]
Generated Node #0,0: 62:[58, 30, 1] Operation: 8-7=1
Moving to Node #0,0
Current State: 62:[58, 30, 1], Operations: ['8-7=1']
Exploring Operation: 58-30=28, Resulting Numbers: [1, 28]
Generated Node #0,0,0: 62:[1, 28] Operation: 58-30=28
Moving to Node #0,0,0
Current State: 62:[1, 28], Operations: ['8-7=1', '58-30=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,62 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
30,
55,
38
] | 56 | [
"55-48=7",
"38-30=8",
"7*8=56"
] | Current State: 56:[48, 30, 55, 38], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [30, 38, 7]
Generated Node #2: [30, 38, 7] from Operation: 55-48=7
Current State: 56:[30, 38, 7], Operations: ['55-48=7']
Exploring Operation: 38-30=8, Resulting Numbers: [7, 8]
Generated Node #3: [7, 8] from Operation: 38-30=8
Current State: 56:[7, 8], Operations: ['55-48=7', '38-30=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[48, 30, 55, 38], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [48, 55, 8]
Generated Node #0,0: 56:[48, 55, 8] Operation: 38-30=8
Exploring Operation: 55-48=7, Resulting Numbers: [30, 38, 7]
Generated Node #0,1: 56:[30, 38, 7] Operation: 55-48=7
Exploring Operation: 48-38=10, Resulting Numbers: [30, 55, 10]
Generated Node #0,2: 56:[30, 55, 10] Operation: 48-38=10
Moving to Node #0,2
Current State: 56:[30, 55, 10], Operations: ['48-38=10']
Exploring Operation: 55-30=25, Resulting Numbers: [10, 25]
Generated Node #0,2,0: 56:[10, 25] Operation: 55-30=25
Exploring Operation: 30-10=20, Resulting Numbers: [55, 20]
Generated Node #0,2,1: 56:[55, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [55, 3]
Generated Node #0,2,2: 56:[55, 3] Operation: 30/10=3
Moving to Node #0,0
Current State: 56:[48, 55, 8], Operations: ['38-30=8']
Exploring Operation: 55-48=7, Resulting Numbers: [8, 7]
Generated Node #0,0,0: 56:[8, 7] Operation: 55-48=7
Exploring Operation: 48+8=56, Resulting Numbers: [55, 56]
Generated Node #0,0,1: 56:[55, 56] Operation: 48+8=56
Exploring Operation: 48/8=6, Resulting Numbers: [55, 6]
Generated Node #0,0,2: 56:[55, 6] Operation: 48/8=6
Moving to Node #0,1
Current State: 56:[30, 38, 7], Operations: ['55-48=7']
Exploring Operation: 38-7=31, Resulting Numbers: [30, 31]
Generated Node #0,1,0: 56:[30, 31] Operation: 38-7=31
Exploring Operation: 38-30=8, Resulting Numbers: [7, 8]
Generated Node #0,1,1: 56:[7, 8] Operation: 38-30=8
Exploring Operation: 30+38=68, Resulting Numbers: [7, 68]
Generated Node #0,1,2: 56:[7, 68] Operation: 30+38=68
Moving to Node #0,0,0
Current State: 56:[8, 7], Operations: ['38-30=8', '55-48=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[48, 30, 55, 38], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [48, 55, 8]
Generated Node #0,0: 56:[48, 55, 8] Operation: 38-30=8
Moving to Node #0,0
Current State: 56:[48, 55, 8], Operations: ['38-30=8']
Exploring Operation: 55-48=7, Resulting Numbers: [8, 7]
Generated Node #0,0,0: 56:[8, 7] Operation: 55-48=7
Moving to Node #0,0,0
Current State: 56:[8, 7], Operations: ['38-30=8', '55-48=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.984375 | hs_3 | sum_heuristic |
[
24,
85,
82,
52
] | 79 | [
"24+85=109",
"82-52=30",
"109-30=79"
] | Current State: 79:[24, 85, 82, 52], Operations: []
Exploring Operation: 24+85=109, Resulting Numbers: [82, 52, 109]
Generated Node #2: [82, 52, 109] from Operation: 24+85=109
Current State: 79:[82, 52, 109], Operations: ['24+85=109']
Exploring Operation: 82-52=30, Resulting Numbers: [109, 30]
Generated Node #3: [109, 30] from Operation: 82-52=30
Current State: 79:[109, 30], Operations: ['24+85=109', '82-52=30']
Exploring Operation: 109-30=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[24, 85, 82, 52], Operations: []
Exploring Operation: 24+52=76, Resulting Numbers: [85, 82, 76]
Generated Node #0,0: 79:[85, 82, 76] Operation: 24+52=76
Exploring Operation: 85-24=61, Resulting Numbers: [82, 52, 61]
Generated Node #0,1: 79:[82, 52, 61] Operation: 85-24=61
Exploring Operation: 24+85=109, Resulting Numbers: [82, 52, 109]
Generated Node #0,2: 79:[82, 52, 109] Operation: 24+85=109
Exploring Operation: 82-24=58, Resulting Numbers: [85, 52, 58]
Generated Node #0,3: 79:[85, 52, 58] Operation: 82-24=58
Moving to Node #0,0
Current State: 79:[85, 82, 76], Operations: ['24+52=76']
Exploring Operation: 85+76=161, Resulting Numbers: [82, 161]
Generated Node #0,0,0: 79:[82, 161] Operation: 85+76=161
Exploring Operation: 82-76=6, Resulting Numbers: [85, 6]
Generated Node #0,0,1: 79:[85, 6] Operation: 82-76=6
Exploring Operation: 85-76=9, Resulting Numbers: [82, 9]
Generated Node #0,0,2: 79:[82, 9] Operation: 85-76=9
Exploring Operation: 85-82=3, Resulting Numbers: [76, 3]
Generated Node #0,0,3: 79:[76, 3] Operation: 85-82=3
Moving to Node #0,1
Current State: 79:[82, 52, 61], Operations: ['85-24=61']
Exploring Operation: 82-52=30, Resulting Numbers: [61, 30]
Generated Node #0,1,0: 79:[61, 30] Operation: 82-52=30
Exploring Operation: 52+61=113, Resulting Numbers: [82, 113]
Generated Node #0,1,1: 79:[82, 113] Operation: 52+61=113
Exploring Operation: 61-52=9, Resulting Numbers: [82, 9]
Generated Node #0,1,2: 79:[82, 9] Operation: 61-52=9
Exploring Operation: 82+52=134, Resulting Numbers: [61, 134]
Generated Node #0,1,3: 79:[61, 134] Operation: 82+52=134
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[82, 113], Operations: ['85-24=61', '52+61=113']
Exploring Operation: 113-82=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 82+113=195, Resulting Numbers: [195]
195,79 unequal: No Solution
Exploring Operation: 82*113=9266, Resulting Numbers: [9266]
9266,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[61, 30], Operations: ['85-24=61', '82-52=30']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 61*30=1830, Resulting Numbers: [1830]
1830,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[82, 9], Operations: ['85-24=61', '61-52=9']
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 82*9=738, Resulting Numbers: [738]
738,79 unequal: No Solution
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 79:[61, 134], Operations: ['85-24=61', '82+52=134']
Exploring Operation: 61*134=8174, Resulting Numbers: [8174]
8174,79 unequal: No Solution
Exploring Operation: 134-61=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 61+134=195, Resulting Numbers: [195]
195,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 79:[85, 52, 58], Operations: ['82-24=58']
Exploring Operation: 52+58=110, Resulting Numbers: [85, 110]
Generated Node #0,3,0: 79:[85, 110] Operation: 52+58=110
Exploring Operation: 85+52=137, Resulting Numbers: [58, 137]
Generated Node #0,3,1: 79:[58, 137] Operation: 85+52=137
Exploring Operation: 85-58=27, Resulting Numbers: [52, 27]
Generated Node #0,3,2: 79:[52, 27] Operation: 85-58=27
Exploring Operation: 85-52=33, Resulting Numbers: [58, 33]
Generated Node #0,3,3: 79:[58, 33] Operation: 85-52=33
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[85, 110], Operations: ['82-24=58', '52+58=110']
Exploring Operation: 85*110=9350, Resulting Numbers: [9350]
9350,79 unequal: No Solution
Exploring Operation: 85+110=195, Resulting Numbers: [195]
195,79 unequal: No Solution
Exploring Operation: 110-85=25, Resulting Numbers: [25]
25,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,3
Current State: 79:[58, 33], Operations: ['82-24=58', '85-52=33']
Exploring Operation: 58*33=1914, Resulting Numbers: [1914]
1914,79 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 58+33=91, Resulting Numbers: [91]
91,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,1
Current State: 79:[58, 137], Operations: ['82-24=58', '85+52=137']
Exploring Operation: 58*137=7946, Resulting Numbers: [7946]
7946,79 unequal: No Solution
Exploring Operation: 58+137=195, Resulting Numbers: [195]
195,79 unequal: No Solution
Exploring Operation: 137-58=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[24, 85, 82, 52], Operations: []
Exploring Operation: 82-24=58, Resulting Numbers: [85, 52, 58]
Generated Node #0,3: 79:[85, 52, 58] Operation: 82-24=58
Moving to Node #0,3
Current State: 79:[85, 52, 58], Operations: ['82-24=58']
Exploring Operation: 85+52=137, Resulting Numbers: [58, 137]
Generated Node #0,3,1: 79:[58, 137] Operation: 85+52=137
Moving to Node #0,3,1
Current State: 79:[58, 137], Operations: ['82-24=58', '85+52=137']
Exploring Operation: 137-58=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_4 | mult_heuristic |
[
70,
84,
65,
10
] | 89 | [
"84-70=14",
"65+10=75",
"14+75=89"
] | Current State: 89:[70, 84, 65, 10], Operations: []
Exploring Operation: 84-70=14, Resulting Numbers: [65, 10, 14]
Generated Node #2: [65, 10, 14] from Operation: 84-70=14
Current State: 89:[65, 10, 14], Operations: ['84-70=14']
Exploring Operation: 65+10=75, Resulting Numbers: [14, 75]
Generated Node #3: [14, 75] from Operation: 65+10=75
Current State: 89:[14, 75], Operations: ['84-70=14', '65+10=75']
Exploring Operation: 14+75=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[70, 84, 65, 10], Operations: []
Exploring Operation: 84+10=94, Resulting Numbers: [70, 65, 94]
Generated Node #0,0: 89:[70, 65, 94] Operation: 84+10=94
Exploring Operation: 65+10=75, Resulting Numbers: [70, 84, 75]
Generated Node #0,1: 89:[70, 84, 75] Operation: 65+10=75
Exploring Operation: 70+10=80, Resulting Numbers: [84, 65, 80]
Generated Node #0,2: 89:[84, 65, 80] Operation: 70+10=80
Exploring Operation: 70-10=60, Resulting Numbers: [84, 65, 60]
Generated Node #0,3: 89:[84, 65, 60] Operation: 70-10=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[70, 84, 75], Operations: ['65+10=75']
Exploring Operation: 70+84=154, Resulting Numbers: [75, 154]
Generated Node #0,1,0: 89:[75, 154] Operation: 70+84=154
Exploring Operation: 70+75=145, Resulting Numbers: [84, 145]
Generated Node #0,1,1: 89:[84, 145] Operation: 70+75=145
Exploring Operation: 84-70=14, Resulting Numbers: [75, 14]
Generated Node #0,1,2: 89:[75, 14] Operation: 84-70=14
Exploring Operation: 75-70=5, Resulting Numbers: [84, 5]
Generated Node #0,1,3: 89:[84, 5] Operation: 75-70=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[84, 145], Operations: ['65+10=75', '70+75=145']
Exploring Operation: 84*145=12180, Resulting Numbers: [12180]
12180,89 unequal: No Solution
Exploring Operation: 145-84=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 84+145=229, Resulting Numbers: [229]
229,89 unequal: No Solution
No 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: 89:[75, 154], Operations: ['65+10=75', '70+84=154']
Exploring Operation: 154-75=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 75+154=229, Resulting Numbers: [229]
229,89 unequal: No Solution
Exploring Operation: 75*154=11550, Resulting Numbers: [11550]
11550,89 unequal: No Solution
No 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: 89:[75, 14], Operations: ['65+10=75', '84-70=14']
Exploring Operation: 75*14=1050, Resulting Numbers: [1050]
1050,89 unequal: No Solution
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[70, 84, 65, 10], Operations: []
Exploring Operation: 65+10=75, Resulting Numbers: [70, 84, 75]
Generated Node #0,1: 89:[70, 84, 75] Operation: 65+10=75
Moving to Node #0,1
Current State: 89:[70, 84, 75], Operations: ['65+10=75']
Exploring Operation: 84-70=14, Resulting Numbers: [75, 14]
Generated Node #0,1,2: 89:[75, 14] Operation: 84-70=14
Moving to Node #0,1,2
Current State: 89:[75, 14], Operations: ['65+10=75', '84-70=14']
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
4,
44,
65,
59
] | 52 | [
"4*44=176",
"65+59=124",
"176-124=52"
] | Current State: 52:[4, 44, 65, 59], Operations: []
Exploring Operation: 4*44=176, Resulting Numbers: [65, 59, 176]
Generated Node #2: [65, 59, 176] from Operation: 4*44=176
Current State: 52:[65, 59, 176], Operations: ['4*44=176']
Exploring Operation: 65+59=124, Resulting Numbers: [176, 124]
Generated Node #3: [176, 124] from Operation: 65+59=124
Current State: 52:[176, 124], Operations: ['4*44=176', '65+59=124']
Exploring Operation: 176-124=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[4, 44, 65, 59], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [4, 44, 6]
Generated Node #0,0: 52:[4, 44, 6] Operation: 65-59=6
Exploring Operation: 65-44=21, Resulting Numbers: [4, 59, 21]
Generated Node #0,1: 52:[4, 59, 21] Operation: 65-44=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[4, 44, 6], Operations: ['65-59=6']
Exploring Operation: 44/4=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 52:[6, 11] Operation: 44/4=11
Exploring Operation: 44+6=50, Resulting Numbers: [4, 50]
Generated Node #0,0,1: 52:[4, 50] Operation: 44+6=50
Moving to Node #0,0,1
Current State: 52:[4, 50], Operations: ['65-59=6', '44+6=50']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[6, 11], Operations: ['65-59=6', '44/4=11']
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[4, 59, 21], Operations: ['65-44=21']
Exploring Operation: 4+21=25, Resulting Numbers: [59, 25]
Generated Node #0,1,0: 52:[59, 25] Operation: 4+21=25
Exploring Operation: 59-4=55, Resulting Numbers: [21, 55]
Generated Node #0,1,1: 52:[21, 55] Operation: 59-4=55
Moving to Node #0,1,0
Current State: 52:[59, 25], Operations: ['65-44=21', '4+21=25']
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,52 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[21, 55], Operations: ['65-44=21', '59-4=55']
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,52 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 |
[
96,
37,
76,
60
] | 34 | [
"96-76=20",
"60/20=3",
"37-3=34"
] | Current State: 34:[96, 37, 76, 60], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [37, 60, 20]
Generated Node #2: [37, 60, 20] from Operation: 96-76=20
Current State: 34:[37, 60, 20], Operations: ['96-76=20']
Exploring Operation: 60/20=3, Resulting Numbers: [37, 3]
Generated Node #3: [37, 3] from Operation: 60/20=3
Current State: 34:[37, 3], Operations: ['96-76=20', '60/20=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[96, 37, 76, 60], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [37, 60, 20]
Generated Node #0,0: 34:[37, 60, 20] Operation: 96-76=20
Moving to Node #0,0
Current State: 34:[37, 60, 20], Operations: ['96-76=20']
Exploring Operation: 60/20=3, Resulting Numbers: [37, 3]
Generated Node #0,0,0: 34:[37, 3] Operation: 60/20=3
Moving to Node #0,0,0
Current State: 34:[37, 3], Operations: ['96-76=20', '60/20=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[96, 37, 76, 60], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [37, 60, 20]
Generated Node #0,0: 34:[37, 60, 20] Operation: 96-76=20
Moving to Node #0,0
Current State: 34:[37, 60, 20], Operations: ['96-76=20']
Exploring Operation: 60/20=3, Resulting Numbers: [37, 3]
Generated Node #0,0,0: 34:[37, 3] Operation: 60/20=3
Moving to Node #0,0,0
Current State: 34:[37, 3], Operations: ['96-76=20', '60/20=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
43,
70,
96,
78
] | 55 | [
"78-70=8",
"96/8=12",
"43+12=55"
] | Current State: 55:[43, 70, 96, 78], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [43, 96, 8]
Generated Node #2: [43, 96, 8] from Operation: 78-70=8
Current State: 55:[43, 96, 8], Operations: ['78-70=8']
Exploring Operation: 96/8=12, Resulting Numbers: [43, 12]
Generated Node #3: [43, 12] from Operation: 96/8=12
Current State: 55:[43, 12], Operations: ['78-70=8', '96/8=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[43, 70, 96, 78], Operations: []
Exploring Operation: 96-43=53, Resulting Numbers: [70, 78, 53]
Generated Node #0,0: 55:[70, 78, 53] Operation: 96-43=53
Exploring Operation: 78-43=35, Resulting Numbers: [70, 96, 35]
Generated Node #0,1: 55:[70, 96, 35] Operation: 78-43=35
Exploring Operation: 96-70=26, Resulting Numbers: [43, 78, 26]
Generated Node #0,2: 55:[43, 78, 26] Operation: 96-70=26
Exploring Operation: 78-70=8, Resulting Numbers: [43, 96, 8]
Generated Node #0,3: 55:[43, 96, 8] Operation: 78-70=8
Exploring Operation: 96-78=18, Resulting Numbers: [43, 70, 18]
Generated Node #0,4: 55:[43, 70, 18] Operation: 96-78=18
Moving to Node #0,4
Current State: 55:[43, 70, 18], Operations: ['96-78=18']
Exploring Operation: 70-43=27, Resulting Numbers: [18, 27]
Generated Node #0,4,0: 55:[18, 27] Operation: 70-43=27
Exploring Operation: 43-18=25, Resulting Numbers: [70, 25]
Generated Node #0,4,1: 55:[70, 25] Operation: 43-18=25
Exploring Operation: 70+18=88, Resulting Numbers: [43, 88]
Generated Node #0,4,2: 55:[43, 88] Operation: 70+18=88
Exploring Operation: 43+18=61, Resulting Numbers: [70, 61]
Generated Node #0,4,3: 55:[70, 61] Operation: 43+18=61
Exploring Operation: 70-18=52, Resulting Numbers: [43, 52]
Generated Node #0,4,4: 55:[43, 52] Operation: 70-18=52
Moving to Node #0,0
Current State: 55:[70, 78, 53], Operations: ['96-43=53']
Exploring Operation: 70-53=17, Resulting Numbers: [78, 17]
Generated Node #0,0,0: 55:[78, 17] Operation: 70-53=17
Exploring Operation: 78+53=131, Resulting Numbers: [70, 131]
Generated Node #0,0,1: 55:[70, 131] Operation: 78+53=131
Exploring Operation: 78-53=25, Resulting Numbers: [70, 25]
Generated Node #0,0,2: 55:[70, 25] Operation: 78-53=25
Exploring Operation: 78-70=8, Resulting Numbers: [53, 8]
Generated Node #0,0,3: 55:[53, 8] Operation: 78-70=8
Exploring Operation: 70+53=123, Resulting Numbers: [78, 123]
Generated Node #0,0,4: 55:[78, 123] Operation: 70+53=123
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 55:[53, 8], Operations: ['96-43=53', '78-70=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,55 unequal: No Solution
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[78, 17], Operations: ['96-43=53', '70-53=17']
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,55 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[70, 25], Operations: ['96-43=53', '78-53=25']
Exploring Operation: 70+25=95, Resulting Numbers: [95]
95,55 unequal: No Solution
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 70*25=1750, Resulting Numbers: [1750]
1750,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[70, 131], Operations: ['96-43=53', '78+53=131']
Exploring Operation: 70+131=201, Resulting Numbers: [201]
201,55 unequal: No Solution
Exploring Operation: 131-70=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 70*131=9170, Resulting Numbers: [9170]
9170,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 55:[78, 123], Operations: ['96-43=53', '70+53=123']
Exploring Operation: 78+123=201, Resulting Numbers: [201]
201,55 unequal: No Solution
Exploring Operation: 78*123=9594, Resulting Numbers: [9594]
9594,55 unequal: No Solution
Exploring Operation: 123-78=45, Resulting Numbers: [45]
45,55 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: 55:[43, 78, 26], Operations: ['96-70=26']
Exploring Operation: 78-43=35, Resulting Numbers: [26, 35]
Generated Node #0,2,0: 55:[26, 35] Operation: 78-43=35
Exploring Operation: 43-26=17, Resulting Numbers: [78, 17]
Generated Node #0,2,1: 55:[78, 17] Operation: 43-26=17
Exploring Operation: 78-26=52, Resulting Numbers: [43, 52]
Generated Node #0,2,2: 55:[43, 52] Operation: 78-26=52
Exploring Operation: 78/26=3, Resulting Numbers: [43, 3]
Generated Node #0,2,3: 55:[43, 3] Operation: 78/26=3
Exploring Operation: 43+26=69, Resulting Numbers: [78, 69]
Generated Node #0,2,4: 55:[78, 69] Operation: 43+26=69
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[43, 3], Operations: ['96-70=26', '78/26=3']
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,55 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[43, 52], Operations: ['96-70=26', '78-26=52']
Exploring Operation: 43*52=2236, Resulting Numbers: [2236]
2236,55 unequal: No Solution
Exploring Operation: 43+52=95, Resulting Numbers: [95]
95,55 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[78, 17], Operations: ['96-70=26', '43-26=17']
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,55 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,55 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[26, 35], Operations: ['96-70=26', '78-43=35']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,55 unequal: No Solution
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 55:[78, 69], Operations: ['96-70=26', '43+26=69']
Exploring Operation: 78-69=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 78*69=5382, Resulting Numbers: [5382]
5382,55 unequal: No Solution
Exploring Operation: 78+69=147, Resulting Numbers: [147]
147,55 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: 55:[43, 96, 8], Operations: ['78-70=8']
Exploring Operation: 43+8=51, Resulting Numbers: [96, 51]
Generated Node #0,3,0: 55:[96, 51] Operation: 43+8=51
Exploring Operation: 96-8=88, Resulting Numbers: [43, 88]
Generated Node #0,3,1: 55:[43, 88] Operation: 96-8=88
Exploring Operation: 96/8=12, Resulting Numbers: [43, 12]
Generated Node #0,3,2: 55:[43, 12] Operation: 96/8=12
Exploring Operation: 96-43=53, Resulting Numbers: [8, 53]
Generated Node #0,3,3: 55:[8, 53] Operation: 96-43=53
Exploring Operation: 43-8=35, Resulting Numbers: [96, 35]
Generated Node #0,3,4: 55:[96, 35] Operation: 43-8=35
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 55:[8, 53], Operations: ['78-70=8', '96-43=53']
Exploring Operation: 8*53=424, Resulting Numbers: [424]
424,55 unequal: No Solution
Exploring Operation: 8+53=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 55:[43, 12], Operations: ['78-70=8', '96/8=12']
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,55 unequal: No Solution
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[43, 70, 96, 78], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [43, 96, 8]
Generated Node #0,3: 55:[43, 96, 8] Operation: 78-70=8
Moving to Node #0,3
Current State: 55:[43, 96, 8], Operations: ['78-70=8']
Exploring Operation: 96/8=12, Resulting Numbers: [43, 12]
Generated Node #0,3,2: 55:[43, 12] Operation: 96/8=12
Moving to Node #0,3,2
Current State: 55:[43, 12], Operations: ['78-70=8', '96/8=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.944444 | hs_5 | sum_heuristic |
[
58,
43,
21,
20
] | 16 | [
"58-43=15",
"21-20=1",
"15+1=16"
] | Current State: 16:[58, 43, 21, 20], Operations: []
Exploring Operation: 58-43=15, Resulting Numbers: [21, 20, 15]
Generated Node #2: [21, 20, 15] from Operation: 58-43=15
Current State: 16:[21, 20, 15], Operations: ['58-43=15']
Exploring Operation: 21-20=1, Resulting Numbers: [15, 1]
Generated Node #3: [15, 1] from Operation: 21-20=1
Current State: 16:[15, 1], Operations: ['58-43=15', '21-20=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[58, 43, 21, 20], Operations: []
Exploring Operation: 58-43=15, Resulting Numbers: [21, 20, 15]
Generated Node #0,0: 16:[21, 20, 15] Operation: 58-43=15
Exploring Operation: 58-21=37, Resulting Numbers: [43, 20, 37]
Generated Node #0,1: 16:[43, 20, 37] Operation: 58-21=37
Moving to Node #0,0
Current State: 16:[21, 20, 15], Operations: ['58-43=15']
Exploring Operation: 21-15=6, Resulting Numbers: [20, 6]
Generated Node #0,0,0: 16:[20, 6] Operation: 21-15=6
Exploring Operation: 21-20=1, Resulting Numbers: [15, 1]
Generated Node #0,0,1: 16:[15, 1] Operation: 21-20=1
Moving to Node #0,1
Current State: 16:[43, 20, 37], Operations: ['58-21=37']
Exploring Operation: 43-37=6, Resulting Numbers: [20, 6]
Generated Node #0,1,0: 16:[20, 6] Operation: 43-37=6
Exploring Operation: 43-20=23, Resulting Numbers: [37, 23]
Generated Node #0,1,1: 16:[37, 23] Operation: 43-20=23
Moving to Node #0,0,1
Current State: 16:[15, 1], Operations: ['58-43=15', '21-20=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[58, 43, 21, 20], Operations: []
Exploring Operation: 58-43=15, Resulting Numbers: [21, 20, 15]
Generated Node #0,0: 16:[21, 20, 15] Operation: 58-43=15
Moving to Node #0,0
Current State: 16:[21, 20, 15], Operations: ['58-43=15']
Exploring Operation: 21-20=1, Resulting Numbers: [15, 1]
Generated Node #0,0,1: 16:[15, 1] Operation: 21-20=1
Moving to Node #0,0,1
Current State: 16:[15, 1], Operations: ['58-43=15', '21-20=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
36,
59,
82,
89
] | 87 | [
"36+82=118",
"118/59=2",
"89-2=87"
] | Current State: 87:[36, 59, 82, 89], Operations: []
Exploring Operation: 36+82=118, Resulting Numbers: [59, 89, 118]
Generated Node #2: [59, 89, 118] from Operation: 36+82=118
Current State: 87:[59, 89, 118], Operations: ['36+82=118']
Exploring Operation: 118/59=2, Resulting Numbers: [89, 2]
Generated Node #3: [89, 2] from Operation: 118/59=2
Current State: 87:[89, 2], Operations: ['36+82=118', '118/59=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[36, 59, 82, 89], Operations: []
Exploring Operation: 89-59=30, Resulting Numbers: [36, 82, 30]
Generated Node #0,0: 87:[36, 82, 30] Operation: 89-59=30
Exploring Operation: 59-36=23, Resulting Numbers: [82, 89, 23]
Generated Node #0,1: 87:[82, 89, 23] Operation: 59-36=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[36, 82, 30], Operations: ['89-59=30']
Exploring Operation: 82-36=46, Resulting Numbers: [30, 46]
Generated Node #0,0,0: 87:[30, 46] Operation: 82-36=46
Exploring Operation: 36-30=6, Resulting Numbers: [82, 6]
Generated Node #0,0,1: 87:[82, 6] Operation: 36-30=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[82, 6], Operations: ['89-59=30', '36-30=6']
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,87 unequal: No Solution
No 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: 87:[30, 46], Operations: ['89-59=30', '82-36=46']
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[82, 89, 23], Operations: ['59-36=23']
Exploring Operation: 82+23=105, Resulting Numbers: [89, 105]
Generated Node #0,1,0: 87:[89, 105] Operation: 82+23=105
Exploring Operation: 89-82=7, Resulting Numbers: [23, 7]
Generated Node #0,1,1: 87:[23, 7] Operation: 89-82=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 87:[23, 7], Operations: ['59-36=23', '89-82=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,87 unequal: No Solution
No 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: 87:[89, 105], Operations: ['59-36=23', '82+23=105']
Exploring Operation: 89+105=194, Resulting Numbers: [194]
194,87 unequal: No Solution
Exploring Operation: 105-89=16, Resulting Numbers: [16]
16,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
31,
54,
80,
47
] | 42 | [
"31+54=85",
"80+47=127",
"127-85=42"
] | Current State: 42:[31, 54, 80, 47], Operations: []
Exploring Operation: 31+54=85, Resulting Numbers: [80, 47, 85]
Generated Node #2: [80, 47, 85] from Operation: 31+54=85
Current State: 42:[80, 47, 85], Operations: ['31+54=85']
Exploring Operation: 80+47=127, Resulting Numbers: [85, 127]
Generated Node #3: [85, 127] from Operation: 80+47=127
Current State: 42:[85, 127], Operations: ['31+54=85', '80+47=127']
Exploring Operation: 127-85=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[31, 54, 80, 47], Operations: []
Exploring Operation: 80-54=26, Resulting Numbers: [31, 47, 26]
Generated Node #0,0: 42:[31, 47, 26] Operation: 80-54=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[31, 47, 26], Operations: ['80-54=26']
Exploring Operation: 31-26=5, Resulting Numbers: [47, 5]
Generated Node #0,0,0: 42:[47, 5] Operation: 31-26=5
Moving to Node #0,0,0
Current State: 42:[47, 5], Operations: ['80-54=26', '31-26=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[31, 54, 80, 47], Operations: []
Exploring Operation: 80-54=26, Resulting Numbers: [31, 47, 26]
Generated Node #0,0: 42:[31, 47, 26] Operation: 80-54=26
Moving to Node #0,0
Current State: 42:[31, 47, 26], Operations: ['80-54=26']
Exploring Operation: 31-26=5, Resulting Numbers: [47, 5]
Generated Node #0,0,0: 42:[47, 5] Operation: 31-26=5
Moving to Node #0,0,0
Current State: 42:[47, 5], Operations: ['80-54=26', '31-26=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
66,
26,
20,
28
] | 92 | [
"66-20=46",
"28-26=2",
"46*2=92"
] | Current State: 92:[66, 26, 20, 28], Operations: []
Exploring Operation: 66-20=46, Resulting Numbers: [26, 28, 46]
Generated Node #2: [26, 28, 46] from Operation: 66-20=46
Current State: 92:[26, 28, 46], Operations: ['66-20=46']
Exploring Operation: 28-26=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 28-26=2
Current State: 92:[46, 2], Operations: ['66-20=46', '28-26=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[66, 26, 20, 28], Operations: []
Exploring Operation: 66-20=46, Resulting Numbers: [26, 28, 46]
Generated Node #0,0: 92:[26, 28, 46] Operation: 66-20=46
Exploring Operation: 66+26=92, Resulting Numbers: [20, 28, 92]
Generated Node #0,1: 92:[20, 28, 92] Operation: 66+26=92
Exploring Operation: 66+28=94, Resulting Numbers: [26, 20, 94]
Generated Node #0,2: 92:[26, 20, 94] Operation: 66+28=94
Moving to Node #0,0
Current State: 92:[26, 28, 46], Operations: ['66-20=46']
Exploring Operation: 26+28=54, Resulting Numbers: [46, 54]
Generated Node #0,0,0: 92:[46, 54] Operation: 26+28=54
Exploring Operation: 28-26=2, Resulting Numbers: [46, 2]
Generated Node #0,0,1: 92:[46, 2] Operation: 28-26=2
Exploring Operation: 46-26=20, Resulting Numbers: [28, 20]
Generated Node #0,0,2: 92:[28, 20] Operation: 46-26=20
Moving to Node #0,1
Current State: 92:[20, 28, 92], Operations: ['66+26=92']
Exploring Operation: 92-28=64, Resulting Numbers: [20, 64]
Generated Node #0,1,0: 92:[20, 64] Operation: 92-28=64
Exploring Operation: 20+28=48, Resulting Numbers: [92, 48]
Generated Node #0,1,1: 92:[92, 48] Operation: 20+28=48
Exploring Operation: 28-20=8, Resulting Numbers: [92, 8]
Generated Node #0,1,2: 92:[92, 8] Operation: 28-20=8
Moving to Node #0,2
Current State: 92:[26, 20, 94], Operations: ['66+28=94']
Exploring Operation: 26-20=6, Resulting Numbers: [94, 6]
Generated Node #0,2,0: 92:[94, 6] Operation: 26-20=6
Exploring Operation: 26+20=46, Resulting Numbers: [94, 46]
Generated Node #0,2,1: 92:[94, 46] Operation: 26+20=46
Exploring Operation: 94-20=74, Resulting Numbers: [26, 74]
Generated Node #0,2,2: 92:[26, 74] Operation: 94-20=74
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[94, 46], Operations: ['66+28=94', '26+20=46']
Exploring Operation: 94*46=4324, Resulting Numbers: [4324]
4324,92 unequal: No Solution
Exploring Operation: 94+46=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[94, 6], Operations: ['66+28=94', '26-20=6']
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[26, 74], Operations: ['66+28=94', '94-20=74']
Exploring Operation: 26*74=1924, Resulting Numbers: [1924]
1924,92 unequal: No Solution
Exploring Operation: 26+74=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,92 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: 92:[46, 2], Operations: ['66-20=46', '28-26=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[66, 26, 20, 28], Operations: []
Exploring Operation: 66-20=46, Resulting Numbers: [26, 28, 46]
Generated Node #0,0: 92:[26, 28, 46] Operation: 66-20=46
Moving to Node #0,0
Current State: 92:[26, 28, 46], Operations: ['66-20=46']
Exploring Operation: 28-26=2, Resulting Numbers: [46, 2]
Generated Node #0,0,1: 92:[46, 2] Operation: 28-26=2
Moving to Node #0,0,1
Current State: 92:[46, 2], Operations: ['66-20=46', '28-26=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
58,
46,
24,
14
] | 48 | [
"58-46=12",
"14-12=2",
"24*2=48"
] | Current State: 48:[58, 46, 24, 14], Operations: []
Exploring Operation: 58-46=12, Resulting Numbers: [24, 14, 12]
Generated Node #2: [24, 14, 12] from Operation: 58-46=12
Current State: 48:[24, 14, 12], Operations: ['58-46=12']
Exploring Operation: 14-12=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 14-12=2
Current State: 48:[24, 2], Operations: ['58-46=12', '14-12=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[58, 46, 24, 14], Operations: []
Exploring Operation: 58-24=34, Resulting Numbers: [46, 14, 34]
Generated Node #0,0: 48:[46, 14, 34] Operation: 58-24=34
Exploring Operation: 58-46=12, Resulting Numbers: [24, 14, 12]
Generated Node #0,1: 48:[24, 14, 12] Operation: 58-46=12
Exploring Operation: 58-14=44, Resulting Numbers: [46, 24, 44]
Generated Node #0,2: 48:[46, 24, 44] Operation: 58-14=44
Exploring Operation: 46-24=22, Resulting Numbers: [58, 14, 22]
Generated Node #0,3: 48:[58, 14, 22] Operation: 46-24=22
Moving to Node #0,1
Current State: 48:[24, 14, 12], Operations: ['58-46=12']
Exploring Operation: 14-12=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 48:[24, 2] Operation: 14-12=2
Exploring Operation: 24-14=10, Resulting Numbers: [12, 10]
Generated Node #0,1,1: 48:[12, 10] Operation: 24-14=10
Exploring Operation: 24-12=12, Resulting Numbers: [14, 12]
Generated Node #0,1,2: 48:[14, 12] Operation: 24-12=12
Exploring Operation: 24/12=2, Resulting Numbers: [14, 2]
Generated Node #0,1,3: 48:[14, 2] Operation: 24/12=2
Moving to Node #0,2
Current State: 48:[46, 24, 44], Operations: ['58-14=44']
Exploring Operation: 44-24=20, Resulting Numbers: [46, 20]
Generated Node #0,2,0: 48:[46, 20] Operation: 44-24=20
Exploring Operation: 46-44=2, Resulting Numbers: [24, 2]
Generated Node #0,2,1: 48:[24, 2] Operation: 46-44=2
Exploring Operation: 46-24=22, Resulting Numbers: [44, 22]
Generated Node #0,2,2: 48:[44, 22] Operation: 46-24=22
Exploring Operation: 24+44=68, Resulting Numbers: [46, 68]
Generated Node #0,2,3: 48:[46, 68] Operation: 24+44=68
Moving to Node #0,3
Current State: 48:[58, 14, 22], Operations: ['46-24=22']
Exploring Operation: 58-14=44, Resulting Numbers: [22, 44]
Generated Node #0,3,0: 48:[22, 44] Operation: 58-14=44
Exploring Operation: 58-22=36, Resulting Numbers: [14, 36]
Generated Node #0,3,1: 48:[14, 36] Operation: 58-22=36
Exploring Operation: 22-14=8, Resulting Numbers: [58, 8]
Generated Node #0,3,2: 48:[58, 8] Operation: 22-14=8
Exploring Operation: 14+22=36, Resulting Numbers: [58, 36]
Generated Node #0,3,3: 48:[58, 36] Operation: 14+22=36
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[22, 44], Operations: ['46-24=22', '58-14=44']
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 22*44=968, Resulting Numbers: [968]
968,48 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 48:[58, 8], Operations: ['46-24=22', '22-14=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,48 unequal: No Solution
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,48 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[14, 36], Operations: ['46-24=22', '58-22=36']
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,48 unequal: No Solution
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,48 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 48:[58, 36], Operations: ['46-24=22', '14+22=36']
Exploring Operation: 58*36=2088, Resulting Numbers: [2088]
2088,48 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,48 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: 48:[46, 14, 34], Operations: ['58-24=34']
Exploring Operation: 46-34=12, Resulting Numbers: [14, 12]
Generated Node #0,0,0: 48:[14, 12] Operation: 46-34=12
Exploring Operation: 46-14=32, Resulting Numbers: [34, 32]
Generated Node #0,0,1: 48:[34, 32] Operation: 46-14=32
Exploring Operation: 34-14=20, Resulting Numbers: [46, 20]
Generated Node #0,0,2: 48:[46, 20] Operation: 34-14=20
Exploring Operation: 14+34=48, Resulting Numbers: [46, 48]
Generated Node #0,0,3: 48:[46, 48] Operation: 14+34=48
Moving to Node #0,1,0
Current State: 48:[24, 2], Operations: ['58-46=12', '14-12=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[58, 46, 24, 14], Operations: []
Exploring Operation: 58-46=12, Resulting Numbers: [24, 14, 12]
Generated Node #0,1: 48:[24, 14, 12] Operation: 58-46=12
Moving to Node #0,1
Current State: 48:[24, 14, 12], Operations: ['58-46=12']
Exploring Operation: 14-12=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 48:[24, 2] Operation: 14-12=2
Moving to Node #0,1,0
Current State: 48:[24, 2], Operations: ['58-46=12', '14-12=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.96441 | hs_4 | mult_heuristic |
[
8,
67,
85,
69
] | 43 | [
"67-8=59",
"85-69=16",
"59-16=43"
] | Current State: 43:[8, 67, 85, 69], Operations: []
Exploring Operation: 67-8=59, Resulting Numbers: [85, 69, 59]
Generated Node #2: [85, 69, 59] from Operation: 67-8=59
Current State: 43:[85, 69, 59], Operations: ['67-8=59']
Exploring Operation: 85-69=16, Resulting Numbers: [59, 16]
Generated Node #3: [59, 16] from Operation: 85-69=16
Current State: 43:[59, 16], Operations: ['67-8=59', '85-69=16']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[8, 67, 85, 69], Operations: []
Exploring Operation: 85-67=18, Resulting Numbers: [8, 69, 18]
Generated Node #0,0: 43:[8, 69, 18] Operation: 85-67=18
Exploring Operation: 85-8=77, Resulting Numbers: [67, 69, 77]
Generated Node #0,1: 43:[67, 69, 77] Operation: 85-8=77
Exploring Operation: 69-8=61, Resulting Numbers: [67, 85, 61]
Generated Node #0,2: 43:[67, 85, 61] Operation: 69-8=61
Exploring Operation: 85-69=16, Resulting Numbers: [8, 67, 16]
Generated Node #0,3: 43:[8, 67, 16] Operation: 85-69=16
Exploring Operation: 67-8=59, Resulting Numbers: [85, 69, 59]
Generated Node #0,4: 43:[85, 69, 59] Operation: 67-8=59
Moving to Node #0,1
Current State: 43:[67, 69, 77], Operations: ['85-8=77']
Exploring Operation: 67+69=136, Resulting Numbers: [77, 136]
Generated Node #0,1,0: 43:[77, 136] Operation: 67+69=136
Exploring Operation: 69-67=2, Resulting Numbers: [77, 2]
Generated Node #0,1,1: 43:[77, 2] Operation: 69-67=2
Exploring Operation: 77-67=10, Resulting Numbers: [69, 10]
Generated Node #0,1,2: 43:[69, 10] Operation: 77-67=10
Exploring Operation: 77-69=8, Resulting Numbers: [67, 8]
Generated Node #0,1,3: 43:[67, 8] Operation: 77-69=8
Exploring Operation: 67+77=144, Resulting Numbers: [69, 144]
Generated Node #0,1,4: 43:[69, 144] Operation: 67+77=144
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[69, 10], Operations: ['85-8=77', '77-67=10']
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,43 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 43:[67, 8], Operations: ['85-8=77', '77-69=8']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 67*8=536, Resulting Numbers: [536]
536,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[77, 2], Operations: ['85-8=77', '69-67=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[77, 136], Operations: ['85-8=77', '67+69=136']
Exploring Operation: 136-77=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 77*136=10472, Resulting Numbers: [10472]
10472,43 unequal: No Solution
Exploring Operation: 77+136=213, Resulting Numbers: [213]
213,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 43:[69, 144], Operations: ['85-8=77', '67+77=144']
Exploring Operation: 144-69=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 69*144=9936, Resulting Numbers: [9936]
9936,43 unequal: No Solution
Exploring Operation: 69+144=213, Resulting Numbers: [213]
213,43 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: 43:[85, 69, 59], Operations: ['67-8=59']
Exploring Operation: 85-69=16, Resulting Numbers: [59, 16]
Generated Node #0,4,0: 43:[59, 16] Operation: 85-69=16
Exploring Operation: 69-59=10, Resulting Numbers: [85, 10]
Generated Node #0,4,1: 43:[85, 10] Operation: 69-59=10
Exploring Operation: 85+59=144, Resulting Numbers: [69, 144]
Generated Node #0,4,2: 43:[69, 144] Operation: 85+59=144
Exploring Operation: 85-59=26, Resulting Numbers: [69, 26]
Generated Node #0,4,3: 43:[69, 26] Operation: 85-59=26
Exploring Operation: 85+69=154, Resulting Numbers: [59, 154]
Generated Node #0,4,4: 43:[59, 154] Operation: 85+69=154
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 43:[59, 16], Operations: ['67-8=59', '85-69=16']
Exploring Operation: 59*16=944, Resulting Numbers: [944]
944,43 unequal: No Solution
Exploring Operation: 59+16=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[8, 67, 85, 69], Operations: []
Exploring Operation: 67-8=59, Resulting Numbers: [85, 69, 59]
Generated Node #0,4: 43:[85, 69, 59] Operation: 67-8=59
Moving to Node #0,4
Current State: 43:[85, 69, 59], Operations: ['67-8=59']
Exploring Operation: 85-69=16, Resulting Numbers: [59, 16]
Generated Node #0,4,0: 43:[59, 16] Operation: 85-69=16
Moving to Node #0,4,0
Current State: 43:[59, 16], Operations: ['67-8=59', '85-69=16']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
42,
14,
34,
28
] | 50 | [
"42+14=56",
"34-28=6",
"56-6=50"
] | Current State: 50:[42, 14, 34, 28], Operations: []
Exploring Operation: 42+14=56, Resulting Numbers: [34, 28, 56]
Generated Node #2: [34, 28, 56] from Operation: 42+14=56
Current State: 50:[34, 28, 56], Operations: ['42+14=56']
Exploring Operation: 34-28=6, Resulting Numbers: [56, 6]
Generated Node #3: [56, 6] from Operation: 34-28=6
Current State: 50:[56, 6], Operations: ['42+14=56', '34-28=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[42, 14, 34, 28], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [34, 28, 3]
Generated Node #0,0: 50:[34, 28, 3] Operation: 42/14=3
Exploring Operation: 42-34=8, Resulting Numbers: [14, 28, 8]
Generated Node #0,1: 50:[14, 28, 8] Operation: 42-34=8
Exploring Operation: 34-28=6, Resulting Numbers: [42, 14, 6]
Generated Node #0,2: 50:[42, 14, 6] Operation: 34-28=6
Exploring Operation: 42-14=28, Resulting Numbers: [34, 28, 28]
Generated Node #0,3: 50:[34, 28, 28] Operation: 42-14=28
Exploring Operation: 14+34=48, Resulting Numbers: [42, 28, 48]
Generated Node #0,4: 50:[42, 28, 48] Operation: 14+34=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[14, 28, 8], Operations: ['42-34=8']
Exploring Operation: 28/14=2, Resulting Numbers: [8, 2]
Generated Node #0,1,0: 50:[8, 2] Operation: 28/14=2
Exploring Operation: 14-8=6, Resulting Numbers: [28, 6]
Generated Node #0,1,1: 50:[28, 6] Operation: 14-8=6
Exploring Operation: 14+8=22, Resulting Numbers: [28, 22]
Generated Node #0,1,2: 50:[28, 22] Operation: 14+8=22
Exploring Operation: 28-8=20, Resulting Numbers: [14, 20]
Generated Node #0,1,3: 50:[14, 20] Operation: 28-8=20
Exploring Operation: 28-14=14, Resulting Numbers: [8, 14]
Generated Node #0,1,4: 50:[8, 14] Operation: 28-14=14
Moving to Node #0,1,0
Current State: 50:[8, 2], Operations: ['42-34=8', '28/14=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[28, 6], Operations: ['42-34=8', '14-8=6']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,50 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[28, 22], Operations: ['42-34=8', '14+8=22']
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,50 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[42, 14, 34, 28], Operations: []
Exploring Operation: 42-34=8, Resulting Numbers: [14, 28, 8]
Generated Node #0,1: 50:[14, 28, 8] Operation: 42-34=8
Moving to Node #0,1
Current State: 50:[14, 28, 8], Operations: ['42-34=8']
Exploring Operation: 14+8=22, Resulting Numbers: [28, 22]
Generated Node #0,1,2: 50:[28, 22] Operation: 14+8=22
Moving to Node #0,1,2
Current State: 50:[28, 22], Operations: ['42-34=8', '14+8=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
2,
13,
66,
46
] | 73 | [
"2*66=132",
"13+46=59",
"132-59=73"
] | Current State: 73:[2, 13, 66, 46], Operations: []
Exploring Operation: 2*66=132, Resulting Numbers: [13, 46, 132]
Generated Node #2: [13, 46, 132] from Operation: 2*66=132
Current State: 73:[13, 46, 132], Operations: ['2*66=132']
Exploring Operation: 13+46=59, Resulting Numbers: [132, 59]
Generated Node #3: [132, 59] from Operation: 13+46=59
Current State: 73:[132, 59], Operations: ['2*66=132', '13+46=59']
Exploring Operation: 132-59=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[2, 13, 66, 46], Operations: []
Exploring Operation: 2*13=26, Resulting Numbers: [66, 46, 26]
Generated Node #0,0: 73:[66, 46, 26] Operation: 2*13=26
Moving to Node #0,0
Current State: 73:[66, 46, 26], Operations: ['2*13=26']
Exploring Operation: 46+26=72, Resulting Numbers: [66, 72]
Generated Node #0,0,0: 73:[66, 72] Operation: 46+26=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[66, 72], Operations: ['2*13=26', '46+26=72']
Exploring Operation: 66+72=138, Resulting Numbers: [138]
138,73 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 |
[
52,
82,
45,
58
] | 73 | [
"82-52=30",
"45+58=103",
"103-30=73"
] | Current State: 73:[52, 82, 45, 58], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [45, 58, 30]
Generated Node #2: [45, 58, 30] from Operation: 82-52=30
Current State: 73:[45, 58, 30], Operations: ['82-52=30']
Exploring Operation: 45+58=103, Resulting Numbers: [30, 103]
Generated Node #3: [30, 103] from Operation: 45+58=103
Current State: 73:[30, 103], Operations: ['82-52=30', '45+58=103']
Exploring Operation: 103-30=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[52, 82, 45, 58], Operations: []
Exploring Operation: 52+45=97, Resulting Numbers: [82, 58, 97]
Generated Node #0,0: 73:[82, 58, 97] Operation: 52+45=97
Exploring Operation: 45+58=103, Resulting Numbers: [52, 82, 103]
Generated Node #0,1: 73:[52, 82, 103] Operation: 45+58=103
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[82, 58, 97], Operations: ['52+45=97']
Exploring Operation: 82-58=24, Resulting Numbers: [97, 24]
Generated Node #0,0,0: 73:[97, 24] Operation: 82-58=24
Exploring Operation: 97-58=39, Resulting Numbers: [82, 39]
Generated Node #0,0,1: 73:[82, 39] Operation: 97-58=39
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[82, 39], Operations: ['52+45=97', '97-58=39']
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 82+39=121, Resulting Numbers: [121]
121,73 unequal: No Solution
No 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: 73:[97, 24], Operations: ['52+45=97', '82-58=24']
Exploring Operation: 97-24=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[52, 82, 45, 58], Operations: []
Exploring Operation: 52+45=97, Resulting Numbers: [82, 58, 97]
Generated Node #0,0: 73:[82, 58, 97] Operation: 52+45=97
Moving to Node #0,0
Current State: 73:[82, 58, 97], Operations: ['52+45=97']
Exploring Operation: 82-58=24, Resulting Numbers: [97, 24]
Generated Node #0,0,0: 73:[97, 24] Operation: 82-58=24
Moving to Node #0,0,0
Current State: 73:[97, 24], Operations: ['52+45=97', '82-58=24']
Exploring Operation: 97-24=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
48,
13,
60,
22
] | 10 | [
"48+60=108",
"22+108=130",
"130/13=10"
] | Current State: 10:[48, 13, 60, 22], Operations: []
Exploring Operation: 48+60=108, Resulting Numbers: [13, 22, 108]
Generated Node #2: [13, 22, 108] from Operation: 48+60=108
Current State: 10:[13, 22, 108], Operations: ['48+60=108']
Exploring Operation: 22+108=130, Resulting Numbers: [13, 130]
Generated Node #3: [13, 130] from Operation: 22+108=130
Current State: 10:[13, 130], Operations: ['48+60=108', '22+108=130']
Exploring Operation: 130/13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[48, 13, 60, 22], Operations: []
Exploring Operation: 48-22=26, Resulting Numbers: [13, 60, 26]
Generated Node #0,0: 10:[13, 60, 26] Operation: 48-22=26
Exploring Operation: 60-48=12, Resulting Numbers: [13, 22, 12]
Generated Node #0,1: 10:[13, 22, 12] Operation: 60-48=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[13, 22, 12], Operations: ['60-48=12']
Exploring Operation: 22-12=10, Resulting Numbers: [13, 10]
Generated Node #0,1,0: 10:[13, 10] Operation: 22-12=10
Exploring Operation: 22-13=9, Resulting Numbers: [12, 9]
Generated Node #0,1,1: 10:[12, 9] Operation: 22-13=9
Moving to Node #0,1,0
Current State: 10:[13, 10], Operations: ['60-48=12', '22-12=10']
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[12, 9], Operations: ['60-48=12', '22-13=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,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
Current State: 10:[13, 60, 26], Operations: ['48-22=26']
Exploring Operation: 26/13=2, Resulting Numbers: [60, 2]
Generated Node #0,0,0: 10:[60, 2] Operation: 26/13=2
Exploring Operation: 60-26=34, Resulting Numbers: [13, 34]
Generated Node #0,0,1: 10:[13, 34] Operation: 60-26=34
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[13, 34], Operations: ['48-22=26', '60-26=34']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,10 unequal: No Solution
No 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: 10:[60, 2], Operations: ['48-22=26', '26/13=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
45,
26,
43,
66
] | 48 | [
"45+26=71",
"66-43=23",
"71-23=48"
] | Current State: 48:[45, 26, 43, 66], Operations: []
Exploring Operation: 45+26=71, Resulting Numbers: [43, 66, 71]
Generated Node #2: [43, 66, 71] from Operation: 45+26=71
Current State: 48:[43, 66, 71], Operations: ['45+26=71']
Exploring Operation: 66-43=23, Resulting Numbers: [71, 23]
Generated Node #3: [71, 23] from Operation: 66-43=23
Current State: 48:[71, 23], Operations: ['45+26=71', '66-43=23']
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[45, 26, 43, 66], Operations: []
Exploring Operation: 66-45=21, Resulting Numbers: [26, 43, 21]
Generated Node #0,0: 48:[26, 43, 21] Operation: 66-45=21
Exploring Operation: 66-26=40, Resulting Numbers: [45, 43, 40]
Generated Node #0,1: 48:[45, 43, 40] Operation: 66-26=40
Exploring Operation: 66-43=23, Resulting Numbers: [45, 26, 23]
Generated Node #0,2: 48:[45, 26, 23] Operation: 66-43=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[45, 26, 23], Operations: ['66-43=23']
Exploring Operation: 45-26=19, Resulting Numbers: [23, 19]
Generated Node #0,2,0: 48:[23, 19] Operation: 45-26=19
Exploring Operation: 26-23=3, Resulting Numbers: [45, 3]
Generated Node #0,2,1: 48:[45, 3] Operation: 26-23=3
Exploring Operation: 45-23=22, Resulting Numbers: [26, 22]
Generated Node #0,2,2: 48:[26, 22] Operation: 45-23=22
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 48:[45, 3], Operations: ['66-43=23', '26-23=3']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,48 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[45, 26, 43, 66], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [45, 26, 23]
Generated Node #0,2: 48:[45, 26, 23] Operation: 66-43=23
Moving to Node #0,2
Current State: 48:[45, 26, 23], Operations: ['66-43=23']
Exploring Operation: 26-23=3, Resulting Numbers: [45, 3]
Generated Node #0,2,1: 48:[45, 3] Operation: 26-23=3
Moving to Node #0,2,1
Current State: 48:[45, 3], Operations: ['66-43=23', '26-23=3']
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
7,
23,
9,
85
] | 19 | [
"23+85=108",
"108/9=12",
"7+12=19"
] | Current State: 19:[7, 23, 9, 85], Operations: []
Exploring Operation: 23+85=108, Resulting Numbers: [7, 9, 108]
Generated Node #2: [7, 9, 108] from Operation: 23+85=108
Current State: 19:[7, 9, 108], Operations: ['23+85=108']
Exploring Operation: 108/9=12, Resulting Numbers: [7, 12]
Generated Node #3: [7, 12] from Operation: 108/9=12
Current State: 19:[7, 12], Operations: ['23+85=108', '108/9=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[7, 23, 9, 85], Operations: []
Exploring Operation: 7+9=16, Resulting Numbers: [23, 85, 16]
Generated Node #0,0: 19:[23, 85, 16] Operation: 7+9=16
Exploring Operation: 85-7=78, Resulting Numbers: [23, 9, 78]
Generated Node #0,1: 19:[23, 9, 78] Operation: 85-7=78
Exploring Operation: 85-23=62, Resulting Numbers: [7, 9, 62]
Generated Node #0,2: 19:[7, 9, 62] Operation: 85-23=62
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[7, 9, 62], Operations: ['85-23=62']
Exploring Operation: 7+9=16, Resulting Numbers: [62, 16]
Generated Node #0,2,0: 19:[62, 16] Operation: 7+9=16
Exploring Operation: 62-7=55, Resulting Numbers: [9, 55]
Generated Node #0,2,1: 19:[9, 55] Operation: 62-7=55
Exploring Operation: 62-9=53, Resulting Numbers: [7, 53]
Generated Node #0,2,2: 19:[7, 53] Operation: 62-9=53
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 19:[62, 16], Operations: ['85-23=62', '7+9=16']
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,19 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 19:[9, 55], Operations: ['85-23=62', '62-7=55']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 9*55=495, Resulting Numbers: [495]
495,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 19:[7, 53], Operations: ['85-23=62', '62-9=53']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,19 unequal: No Solution
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[23, 85, 16], Operations: ['7+9=16']
Exploring Operation: 23-16=7, Resulting Numbers: [85, 7]
Generated Node #0,0,0: 19:[85, 7] Operation: 23-16=7
Exploring Operation: 85-23=62, Resulting Numbers: [16, 62]
Generated Node #0,0,1: 19:[16, 62] Operation: 85-23=62
Exploring Operation: 85-16=69, Resulting Numbers: [23, 69]
Generated Node #0,0,2: 19:[23, 69] Operation: 85-16=69
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[16, 62], Operations: ['7+9=16', '85-23=62']
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,19 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[23, 69], Operations: ['7+9=16', '85-16=69']
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 23+69=92, Resulting Numbers: [92]
92,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[85, 7], Operations: ['7+9=16', '23-16=7']
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,19 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,19 unequal: No Solution
Exploring Operation: 85*7=595, Resulting Numbers: [595]
595,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[23, 9, 78], Operations: ['85-7=78']
Exploring Operation: 78-9=69, Resulting Numbers: [23, 69]
Generated Node #0,1,0: 19:[23, 69] Operation: 78-9=69
Exploring Operation: 78-23=55, Resulting Numbers: [9, 55]
Generated Node #0,1,1: 19:[9, 55] Operation: 78-23=55
Exploring Operation: 23-9=14, Resulting Numbers: [78, 14]
Generated Node #0,1,2: 19:[78, 14] Operation: 23-9=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[9, 55], Operations: ['85-7=78', '78-23=55']
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 9*55=495, Resulting Numbers: [495]
495,19 unequal: No Solution
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[23, 69], Operations: ['85-7=78', '78-9=69']
Exploring Operation: 23+69=92, Resulting Numbers: [92]
92,19 unequal: No Solution
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 19:[78, 14], Operations: ['85-7=78', '23-9=14']
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,19 unequal: No Solution
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,19 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
84,
34,
36,
54
] | 15 | [
"84-54=30",
"36-34=2",
"30/2=15"
] | Current State: 15:[84, 34, 36, 54], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [34, 36, 30]
Generated Node #2: [34, 36, 30] from Operation: 84-54=30
Current State: 15:[34, 36, 30], Operations: ['84-54=30']
Exploring Operation: 36-34=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 36-34=2
Current State: 15:[30, 2], Operations: ['84-54=30', '36-34=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[84, 34, 36, 54], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [34, 36, 30]
Generated Node #0,0: 15:[34, 36, 30] Operation: 84-54=30
Moving to Node #0,0
Current State: 15:[34, 36, 30], Operations: ['84-54=30']
Exploring Operation: 36-34=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 15:[30, 2] Operation: 36-34=2
Moving to Node #0,0,0
Current State: 15:[30, 2], Operations: ['84-54=30', '36-34=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[84, 34, 36, 54], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [34, 36, 30]
Generated Node #0,0: 15:[34, 36, 30] Operation: 84-54=30
Moving to Node #0,0
Current State: 15:[34, 36, 30], Operations: ['84-54=30']
Exploring Operation: 36-34=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 15:[30, 2] Operation: 36-34=2
Moving to Node #0,0,0
Current State: 15:[30, 2], Operations: ['84-54=30', '36-34=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
72,
2,
83,
72
] | 47 | [
"72/2=36",
"83-72=11",
"36+11=47"
] | Current State: 47:[72, 2, 83, 72], Operations: []
Exploring Operation: 72/2=36, Resulting Numbers: [83, 36]
Generated Node #2: [83, 36] from Operation: 72/2=36
Current State: 47:[83, 36], Operations: ['72/2=36']
Exploring Operation: 83-72=11, Resulting Numbers: [36, 11]
Generated Node #3: [36, 11] from Operation: 83-72=11
Current State: 47:[36, 11], Operations: ['72/2=36', '83-72=11']
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[72, 2, 83, 72], Operations: []
Exploring Operation: 72/2=36, Resulting Numbers: [83, 72, 36]
Generated Node #0,0: 47:[83, 72, 36] Operation: 72/2=36
Exploring Operation: 72/2=36, Resulting Numbers: [72, 83, 36]
Generated Node #0,1: 47:[72, 83, 36] Operation: 72/2=36
Exploring Operation: 72-2=70, Resulting Numbers: [83, 72, 70]
Generated Node #0,2: 47:[83, 72, 70] Operation: 72-2=70
Exploring Operation: 83-2=81, Resulting Numbers: [72, 72, 81]
Generated Node #0,3: 47:[72, 72, 81] Operation: 83-2=81
Moving to Node #0,0
Current State: 47:[83, 72, 36], Operations: ['72/2=36']
Exploring Operation: 83-72=11, Resulting Numbers: [36, 11]
Generated Node #0,0,0: 47:[36, 11] Operation: 83-72=11
Exploring Operation: 83-36=47, Resulting Numbers: [72, 47]
Generated Node #0,0,1: 47:[72, 47] Operation: 83-36=47
Exploring Operation: 72/36=2, Resulting Numbers: [83, 2]
Generated Node #0,0,2: 47:[83, 2] Operation: 72/36=2
Exploring Operation: 72-36=36, Resulting Numbers: [83, 36]
Generated Node #0,0,3: 47:[83, 36] Operation: 72-36=36
Moving to Node #0,1
Current State: 47:[72, 83, 36], Operations: ['72/2=36']
Exploring Operation: 72-36=36, Resulting Numbers: [83, 36]
Generated Node #0,1,0: 47:[83, 36] Operation: 72-36=36
Exploring Operation: 83-72=11, Resulting Numbers: [36, 11]
Generated Node #0,1,1: 47:[36, 11] Operation: 83-72=11
Exploring Operation: 83-36=47, Resulting Numbers: [72, 47]
Generated Node #0,1,2: 47:[72, 47] Operation: 83-36=47
Exploring Operation: 72/36=2, Resulting Numbers: [83, 2]
Generated Node #0,1,3: 47:[83, 2] Operation: 72/36=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[72, 47], Operations: ['72/2=36', '83-36=47']
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,47 unequal: No Solution
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,47 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[83, 36], Operations: ['72/2=36', '72-36=36']
Exploring Operation: 83*36=2988, Resulting Numbers: [2988]
2988,47 unequal: No Solution
Exploring Operation: 83+36=119, Resulting Numbers: [119]
119,47 unequal: No Solution
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[72, 2, 83, 72], Operations: []
Exploring Operation: 72/2=36, Resulting Numbers: [72, 83, 36]
Generated Node #0,1: 47:[72, 83, 36] Operation: 72/2=36
Moving to Node #0,1
Current State: 47:[72, 83, 36], Operations: ['72/2=36']
Exploring Operation: 72-36=36, Resulting Numbers: [83, 36]
Generated Node #0,1,0: 47:[83, 36] Operation: 72-36=36
Moving to Node #0,1,0
Current State: 47:[83, 36], Operations: ['72/2=36', '72-36=36']
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
58,
68,
18,
9
] | 92 | [
"68*9=612",
"612/18=34",
"58+34=92"
] | Current State: 92:[58, 68, 18, 9], Operations: []
Exploring Operation: 68*9=612, Resulting Numbers: [58, 18, 612]
Generated Node #2: [58, 18, 612] from Operation: 68*9=612
Current State: 92:[58, 18, 612], Operations: ['68*9=612']
Exploring Operation: 612/18=34, Resulting Numbers: [58, 34]
Generated Node #3: [58, 34] from Operation: 612/18=34
Current State: 92:[58, 34], Operations: ['68*9=612', '612/18=34']
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[58, 68, 18, 9], Operations: []
Exploring Operation: 68-18=50, Resulting Numbers: [58, 9, 50]
Generated Node #0,0: 92:[58, 9, 50] Operation: 68-18=50
Exploring Operation: 68-58=10, Resulting Numbers: [18, 9, 10]
Generated Node #0,1: 92:[18, 9, 10] Operation: 68-58=10
Exploring Operation: 68+18=86, Resulting Numbers: [58, 9, 86]
Generated Node #0,2: 92:[58, 9, 86] Operation: 68+18=86
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[18, 9, 10], Operations: ['68-58=10']
Exploring Operation: 9*10=90, Resulting Numbers: [18, 90]
Generated Node #0,1,0: 92:[18, 90] Operation: 9*10=90
Exploring Operation: 18/9=2, Resulting Numbers: [10, 2]
Generated Node #0,1,1: 92:[10, 2] Operation: 18/9=2
Exploring Operation: 10-9=1, Resulting Numbers: [18, 1]
Generated Node #0,1,2: 92:[18, 1] Operation: 10-9=1
Moving to Node #0,1,1
Current State: 92:[10, 2], Operations: ['68-58=10', '18/9=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[18, 1], Operations: ['68-58=10', '10-9=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[18, 90], Operations: ['68-58=10', '9*10=90']
Exploring Operation: 18+90=108, Resulting Numbers: [108]
108,92 unequal: No Solution
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 90/18=5, Resulting Numbers: [5]
5,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,0
Current State: 92:[58, 9, 50], Operations: ['68-18=50']
Exploring Operation: 58-9=49, Resulting Numbers: [50, 49]
Generated Node #0,0,0: 92:[50, 49] Operation: 58-9=49
Exploring Operation: 50-9=41, Resulting Numbers: [58, 41]
Generated Node #0,0,1: 92:[58, 41] Operation: 50-9=41
Exploring Operation: 58-50=8, Resulting Numbers: [9, 8]
Generated Node #0,0,2: 92:[9, 8] Operation: 58-50=8
Moving to Node #0,0,0
Current State: 92:[50, 49], Operations: ['68-18=50', '58-9=49']
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 50+49=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 50*49=2450, Resulting Numbers: [2450]
2450,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[9, 8], Operations: ['68-18=50', '58-50=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[58, 41], Operations: ['68-18=50', '50-9=41']
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,92 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[58, 9, 86], Operations: ['68+18=86']
Exploring Operation: 86-58=28, Resulting Numbers: [9, 28]
Generated Node #0,2,0: 92:[9, 28] Operation: 86-58=28
Exploring Operation: 58-9=49, Resulting Numbers: [86, 49]
Generated Node #0,2,1: 92:[86, 49] Operation: 58-9=49
Exploring Operation: 9+86=95, Resulting Numbers: [58, 95]
Generated Node #0,2,2: 92:[58, 95] Operation: 9+86=95
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[86, 49], Operations: ['68+18=86', '58-9=49']
Exploring Operation: 86*49=4214, Resulting Numbers: [4214]
4214,92 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 86+49=135, Resulting Numbers: [135]
135,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:[9, 28], Operations: ['68+18=86', '86-58=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,92 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[58, 95], Operations: ['68+18=86', '9+86=95']
Exploring Operation: 58*95=5510, Resulting Numbers: [5510]
5510,92 unequal: No Solution
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 58+95=153, Resulting Numbers: [153]
153,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
75,
95,
56,
25
] | 13 | [
"75/25=3",
"95-56=39",
"39/3=13"
] | Current State: 13:[75, 95, 56, 25], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [95, 56, 3]
Generated Node #2: [95, 56, 3] from Operation: 75/25=3
Current State: 13:[95, 56, 3], Operations: ['75/25=3']
Exploring Operation: 95-56=39, Resulting Numbers: [3, 39]
Generated Node #3: [3, 39] from Operation: 95-56=39
Current State: 13:[3, 39], Operations: ['75/25=3', '95-56=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[75, 95, 56, 25], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [95, 25, 19]
Generated Node #0,0: 13:[95, 25, 19] Operation: 75-56=19
Exploring Operation: 95-56=39, Resulting Numbers: [75, 25, 39]
Generated Node #0,1: 13:[75, 25, 39] Operation: 95-56=39
Exploring Operation: 95-75=20, Resulting Numbers: [56, 25, 20]
Generated Node #0,2: 13:[56, 25, 20] Operation: 95-75=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[56, 25, 20], Operations: ['95-75=20']
Exploring Operation: 56-25=31, Resulting Numbers: [20, 31]
Generated Node #0,2,0: 13:[20, 31] Operation: 56-25=31
Exploring Operation: 25-20=5, Resulting Numbers: [56, 5]
Generated Node #0,2,1: 13:[56, 5] Operation: 25-20=5
Exploring Operation: 56-20=36, Resulting Numbers: [25, 36]
Generated Node #0,2,2: 13:[25, 36] Operation: 56-20=36
Moving to Node #0,2,0
Current State: 13:[20, 31], Operations: ['95-75=20', '56-25=31']
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,13 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[25, 36], Operations: ['95-75=20', '56-20=36']
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,13 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[56, 5], Operations: ['95-75=20', '25-20=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,13 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,13 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[95, 25, 19], Operations: ['75-56=19']
Exploring Operation: 95-19=76, Resulting Numbers: [25, 76]
Generated Node #0,0,0: 13:[25, 76] Operation: 95-19=76
Exploring Operation: 95/19=5, Resulting Numbers: [25, 5]
Generated Node #0,0,1: 13:[25, 5] Operation: 95/19=5
Exploring Operation: 95-25=70, Resulting Numbers: [19, 70]
Generated Node #0,0,2: 13:[19, 70] Operation: 95-25=70
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[25, 5], Operations: ['75-56=19', '95/19=5']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[19, 70], Operations: ['75-56=19', '95-25=70']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Exploring Operation: 19+70=89, Resulting Numbers: [89]
89,13 unequal: No Solution
Exploring Operation: 19*70=1330, Resulting Numbers: [1330]
1330,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[25, 76], Operations: ['75-56=19', '95-19=76']
Exploring Operation: 25*76=1900, Resulting Numbers: [1900]
1900,13 unequal: No Solution
Exploring Operation: 25+76=101, Resulting Numbers: [101]
101,13 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[75, 25, 39], Operations: ['95-56=39']
Exploring Operation: 75/25=3, Resulting Numbers: [39, 3]
Generated Node #0,1,0: 13:[39, 3] Operation: 75/25=3
Exploring Operation: 75-39=36, Resulting Numbers: [25, 36]
Generated Node #0,1,1: 13:[25, 36] Operation: 75-39=36
Exploring Operation: 75-25=50, Resulting Numbers: [39, 50]
Generated Node #0,1,2: 13:[39, 50] Operation: 75-25=50
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[25, 36], Operations: ['95-56=39', '75-39=36']
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,13 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[39, 3], Operations: ['95-56=39', '75/25=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[75, 95, 56, 25], Operations: []
Exploring Operation: 95-56=39, Resulting Numbers: [75, 25, 39]
Generated Node #0,1: 13:[75, 25, 39] Operation: 95-56=39
Moving to Node #0,1
Current State: 13:[75, 25, 39], Operations: ['95-56=39']
Exploring Operation: 75/25=3, Resulting Numbers: [39, 3]
Generated Node #0,1,0: 13:[39, 3] Operation: 75/25=3
Moving to Node #0,1,0
Current State: 13:[39, 3], Operations: ['95-56=39', '75/25=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_3 | sum_heuristic |
[
39,
82,
27,
1
] | 36 | [
"82-1=81",
"81/27=3",
"39-3=36"
] | Current State: 36:[39, 82, 27, 1], Operations: []
Exploring Operation: 82-1=81, Resulting Numbers: [39, 27, 81]
Generated Node #2: [39, 27, 81] from Operation: 82-1=81
Current State: 36:[39, 27, 81], Operations: ['82-1=81']
Exploring Operation: 81/27=3, Resulting Numbers: [39, 3]
Generated Node #3: [39, 3] from Operation: 81/27=3
Current State: 36:[39, 3], Operations: ['82-1=81', '81/27=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[39, 82, 27, 1], Operations: []
Exploring Operation: 82-27=55, Resulting Numbers: [39, 1, 55]
Generated Node #0,0: 36:[39, 1, 55] Operation: 82-27=55
Exploring Operation: 82-39=43, Resulting Numbers: [27, 1, 43]
Generated Node #0,1: 36:[27, 1, 43] Operation: 82-39=43
Exploring Operation: 39-27=12, Resulting Numbers: [82, 1, 12]
Generated Node #0,2: 36:[82, 1, 12] Operation: 39-27=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[27, 1, 43], Operations: ['82-39=43']
Exploring Operation: 27+1=28, Resulting Numbers: [43, 28]
Generated Node #0,1,0: 36:[43, 28] Operation: 27+1=28
Exploring Operation: 27-1=26, Resulting Numbers: [43, 26]
Generated Node #0,1,1: 36:[43, 26] Operation: 27-1=26
Exploring Operation: 43-27=16, Resulting Numbers: [1, 16]
Generated Node #0,1,2: 36:[1, 16] Operation: 43-27=16
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 36:[1, 16], Operations: ['82-39=43', '43-27=16']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[43, 28], Operations: ['82-39=43', '27+1=28']
Exploring Operation: 43+28=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 43*28=1204, Resulting Numbers: [1204]
1204,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[43, 26], Operations: ['82-39=43', '27-1=26']
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,36 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[39, 1, 55], Operations: ['82-27=55']
Exploring Operation: 55-39=16, Resulting Numbers: [1, 16]
Generated Node #0,0,0: 36:[1, 16] Operation: 55-39=16
Exploring Operation: 55-1=54, Resulting Numbers: [39, 54]
Generated Node #0,0,1: 36:[39, 54] Operation: 55-1=54
Exploring Operation: 39-1=38, Resulting Numbers: [55, 38]
Generated Node #0,0,2: 36:[55, 38] Operation: 39-1=38
Moving to Node #0,0,0
Current State: 36:[1, 16], Operations: ['82-27=55', '55-39=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[39, 54], Operations: ['82-27=55', '55-1=54']
Exploring Operation: 39+54=93, Resulting Numbers: [93]
93,36 unequal: No Solution
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 39*54=2106, Resulting Numbers: [2106]
2106,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[55, 38], Operations: ['82-27=55', '39-1=38']
Exploring Operation: 55+38=93, Resulting Numbers: [93]
93,36 unequal: No Solution
Exploring Operation: 55*38=2090, Resulting Numbers: [2090]
2090,36 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[82, 1, 12], Operations: ['39-27=12']
Exploring Operation: 82*1=82, Resulting Numbers: [12, 82]
Generated Node #0,2,0: 36:[12, 82] Operation: 82*1=82
Exploring Operation: 82-1=81, Resulting Numbers: [12, 81]
Generated Node #0,2,1: 36:[12, 81] Operation: 82-1=81
Exploring Operation: 82-12=70, Resulting Numbers: [1, 70]
Generated Node #0,2,2: 36:[1, 70] Operation: 82-12=70
Moving to Node #0,2,2
Current State: 36:[1, 70], Operations: ['39-27=12', '82-12=70']
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[12, 81], Operations: ['39-27=12', '82-1=81']
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Exploring Operation: 12+81=93, Resulting Numbers: [93]
93,36 unequal: No Solution
Exploring Operation: 12*81=972, Resulting Numbers: [972]
972,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[12, 82], Operations: ['39-27=12', '82*1=82']
Exploring Operation: 12+82=94, Resulting Numbers: [94]
94,36 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 12*82=984, Resulting Numbers: [984]
984,36 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 |
[
39,
87,
88,
82
] | 54 | [
"87-39=48",
"88-82=6",
"48+6=54"
] | Current State: 54:[39, 87, 88, 82], Operations: []
Exploring Operation: 87-39=48, Resulting Numbers: [88, 82, 48]
Generated Node #2: [88, 82, 48] from Operation: 87-39=48
Current State: 54:[88, 82, 48], Operations: ['87-39=48']
Exploring Operation: 88-82=6, Resulting Numbers: [48, 6]
Generated Node #3: [48, 6] from Operation: 88-82=6
Current State: 54:[48, 6], Operations: ['87-39=48', '88-82=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[39, 87, 88, 82], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [39, 88, 5]
Generated Node #0,0: 54:[39, 88, 5] Operation: 87-82=5
Exploring Operation: 88-87=1, Resulting Numbers: [39, 82, 1]
Generated Node #0,1: 54:[39, 82, 1] Operation: 88-87=1
Exploring Operation: 88-39=49, Resulting Numbers: [87, 82, 49]
Generated Node #0,2: 54:[87, 82, 49] Operation: 88-39=49
Exploring Operation: 87-39=48, Resulting Numbers: [88, 82, 48]
Generated Node #0,3: 54:[88, 82, 48] Operation: 87-39=48
Exploring Operation: 88-82=6, Resulting Numbers: [39, 87, 6]
Generated Node #0,4: 54:[39, 87, 6] Operation: 88-82=6
Moving to Node #0,1
Current State: 54:[39, 82, 1], Operations: ['88-87=1']
Exploring Operation: 39*1=39, Resulting Numbers: [82, 39]
Generated Node #0,1,0: 54:[82, 39] Operation: 39*1=39
Exploring Operation: 82-1=81, Resulting Numbers: [39, 81]
Generated Node #0,1,1: 54:[39, 81] Operation: 82-1=81
Exploring Operation: 82-39=43, Resulting Numbers: [1, 43]
Generated Node #0,1,2: 54:[1, 43] Operation: 82-39=43
Exploring Operation: 39/1=39, Resulting Numbers: [82, 39]
Generated Node #0,1,3: 54:[82, 39] Operation: 39/1=39
Exploring Operation: 39-1=38, Resulting Numbers: [82, 38]
Generated Node #0,1,4: 54:[82, 38] Operation: 39-1=38
Moving to Node #0,4
Current State: 54:[39, 87, 6], Operations: ['88-82=6']
Exploring Operation: 39-6=33, Resulting Numbers: [87, 33]
Generated Node #0,4,0: 54:[87, 33] Operation: 39-6=33
Exploring Operation: 87+6=93, Resulting Numbers: [39, 93]
Generated Node #0,4,1: 54:[39, 93] Operation: 87+6=93
Exploring Operation: 39+6=45, Resulting Numbers: [87, 45]
Generated Node #0,4,2: 54:[87, 45] Operation: 39+6=45
Exploring Operation: 87-6=81, Resulting Numbers: [39, 81]
Generated Node #0,4,3: 54:[39, 81] Operation: 87-6=81
Exploring Operation: 87-39=48, Resulting Numbers: [6, 48]
Generated Node #0,4,4: 54:[6, 48] Operation: 87-39=48
Moving to Node #0,0
Current State: 54:[39, 88, 5], Operations: ['87-82=5']
Exploring Operation: 88-5=83, Resulting Numbers: [39, 83]
Generated Node #0,0,0: 54:[39, 83] Operation: 88-5=83
Exploring Operation: 88-39=49, Resulting Numbers: [5, 49]
Generated Node #0,0,1: 54:[5, 49] Operation: 88-39=49
Exploring Operation: 39-5=34, Resulting Numbers: [88, 34]
Generated Node #0,0,2: 54:[88, 34] Operation: 39-5=34
Exploring Operation: 39+5=44, Resulting Numbers: [88, 44]
Generated Node #0,0,3: 54:[88, 44] Operation: 39+5=44
Exploring Operation: 88+5=93, Resulting Numbers: [39, 93]
Generated Node #0,0,4: 54:[39, 93] Operation: 88+5=93
Moving to Node #0,2
Current State: 54:[87, 82, 49], Operations: ['88-39=49']
Exploring Operation: 87+49=136, Resulting Numbers: [82, 136]
Generated Node #0,2,0: 54:[82, 136] Operation: 87+49=136
Exploring Operation: 87-49=38, Resulting Numbers: [82, 38]
Generated Node #0,2,1: 54:[82, 38] Operation: 87-49=38
Exploring Operation: 82+49=131, Resulting Numbers: [87, 131]
Generated Node #0,2,2: 54:[87, 131] Operation: 82+49=131
Exploring Operation: 82-49=33, Resulting Numbers: [87, 33]
Generated Node #0,2,3: 54:[87, 33] Operation: 82-49=33
Exploring Operation: 87-82=5, Resulting Numbers: [49, 5]
Generated Node #0,2,4: 54:[49, 5] Operation: 87-82=5
Moving to Node #0,3
Current State: 54:[88, 82, 48], Operations: ['87-39=48']
Exploring Operation: 88+48=136, Resulting Numbers: [82, 136]
Generated Node #0,3,0: 54:[82, 136] Operation: 88+48=136
Exploring Operation: 88-82=6, Resulting Numbers: [48, 6]
Generated Node #0,3,1: 54:[48, 6] Operation: 88-82=6
Exploring Operation: 88-48=40, Resulting Numbers: [82, 40]
Generated Node #0,3,2: 54:[82, 40] Operation: 88-48=40
Exploring Operation: 82+48=130, Resulting Numbers: [88, 130]
Generated Node #0,3,3: 54:[88, 130] Operation: 82+48=130
Exploring Operation: 82-48=34, Resulting Numbers: [88, 34]
Generated Node #0,3,4: 54:[88, 34] Operation: 82-48=34
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 54:[48, 6], Operations: ['87-39=48', '88-82=6']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,54 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[39, 87, 88, 82], Operations: []
Exploring Operation: 87-39=48, Resulting Numbers: [88, 82, 48]
Generated Node #0,3: 54:[88, 82, 48] Operation: 87-39=48
Moving to Node #0,3
Current State: 54:[88, 82, 48], Operations: ['87-39=48']
Exploring Operation: 88-82=6, Resulting Numbers: [48, 6]
Generated Node #0,3,1: 54:[48, 6] Operation: 88-82=6
Moving to Node #0,3,1
Current State: 54:[48, 6], Operations: ['87-39=48', '88-82=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
4,
24,
98,
12
] | 53 | [
"24/12=2",
"98/2=49",
"4+49=53"
] | Current State: 53:[4, 24, 98, 12], Operations: []
Exploring Operation: 24/12=2, Resulting Numbers: [4, 98, 2]
Generated Node #2: [4, 98, 2] from Operation: 24/12=2
Current State: 53:[4, 98, 2], Operations: ['24/12=2']
Exploring Operation: 98/2=49, Resulting Numbers: [4, 49]
Generated Node #3: [4, 49] from Operation: 98/2=49
Current State: 53:[4, 49], Operations: ['24/12=2', '98/2=49']
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[4, 24, 98, 12], Operations: []
Exploring Operation: 4+24=28, Resulting Numbers: [98, 12, 28]
Generated Node #0,0: 53:[98, 12, 28] Operation: 4+24=28
Exploring Operation: 4*12=48, Resulting Numbers: [24, 98, 48]
Generated Node #0,1: 53:[24, 98, 48] Operation: 4*12=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[24, 98, 48], Operations: ['4*12=48']
Exploring Operation: 98-48=50, Resulting Numbers: [24, 50]
Generated Node #0,1,0: 53:[24, 50] Operation: 98-48=50
Exploring Operation: 98-24=74, Resulting Numbers: [48, 74]
Generated Node #0,1,1: 53:[48, 74] Operation: 98-24=74
Moving to Node #0,1,1
Current State: 53:[48, 74], Operations: ['4*12=48', '98-24=74']
Exploring Operation: 48+74=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[24, 50], Operations: ['4*12=48', '98-48=50']
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,53 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[98, 12, 28], Operations: ['4+24=28']
Exploring Operation: 98-28=70, Resulting Numbers: [12, 70]
Generated Node #0,0,0: 53:[12, 70] Operation: 98-28=70
Exploring Operation: 98-12=86, Resulting Numbers: [28, 86]
Generated Node #0,0,1: 53:[28, 86] Operation: 98-12=86
Moving to Node #0,0,0
Current State: 53:[12, 70], Operations: ['4+24=28', '98-28=70']
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,53 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[28, 86], Operations: ['4+24=28', '98-12=86']
Exploring Operation: 28+86=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,53 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 |
[
10,
6,
13,
27
] | 89 | [
"27-10=17",
"6*17=102",
"102-13=89"
] | Current State: 89:[10, 6, 13, 27], Operations: []
Exploring Operation: 27-10=17, Resulting Numbers: [6, 13, 17]
Generated Node #2: [6, 13, 17] from Operation: 27-10=17
Current State: 89:[6, 13, 17], Operations: ['27-10=17']
Exploring Operation: 6*17=102, Resulting Numbers: [13, 102]
Generated Node #3: [13, 102] from Operation: 6*17=102
Current State: 89:[13, 102], Operations: ['27-10=17', '6*17=102']
Exploring Operation: 102-13=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[10, 6, 13, 27], Operations: []
Exploring Operation: 10*6=60, Resulting Numbers: [13, 27, 60]
Generated Node #0,0: 89:[13, 27, 60] Operation: 10*6=60
Exploring Operation: 6*13=78, Resulting Numbers: [10, 27, 78]
Generated Node #0,1: 89:[10, 27, 78] Operation: 6*13=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[10, 27, 78], Operations: ['6*13=78']
Exploring Operation: 10+78=88, Resulting Numbers: [27, 88]
Generated Node #0,1,0: 89:[27, 88] Operation: 10+78=88
Exploring Operation: 10+27=37, Resulting Numbers: [78, 37]
Generated Node #0,1,1: 89:[78, 37] Operation: 10+27=37
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[27, 88], Operations: ['6*13=78', '10+78=88']
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,89 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,89 unequal: No Solution
No 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: 89:[78, 37], Operations: ['6*13=78', '10+27=37']
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 78+37=115, Resulting Numbers: [115]
115,89 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: 89:[13, 27, 60], Operations: ['10*6=60']
Exploring Operation: 13+60=73, Resulting Numbers: [27, 73]
Generated Node #0,0,0: 89:[27, 73] Operation: 13+60=73
Exploring Operation: 13+27=40, Resulting Numbers: [60, 40]
Generated Node #0,0,1: 89:[60, 40] Operation: 13+27=40
Moving to Node #0,0,0
Current State: 89:[27, 73], Operations: ['10*6=60', '13+60=73']
Exploring Operation: 27+73=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[60, 40], Operations: ['10*6=60', '13+27=40']
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,89 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 |
[
81,
20,
86,
39
] | 43 | [
"86-81=5",
"20/5=4",
"39+4=43"
] | Current State: 43:[81, 20, 86, 39], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [20, 39, 5]
Generated Node #2: [20, 39, 5] from Operation: 86-81=5
Current State: 43:[20, 39, 5], Operations: ['86-81=5']
Exploring Operation: 20/5=4, Resulting Numbers: [39, 4]
Generated Node #3: [39, 4] from Operation: 20/5=4
Current State: 43:[39, 4], Operations: ['86-81=5', '20/5=4']
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[81, 20, 86, 39], Operations: []
Exploring Operation: 81-20=61, Resulting Numbers: [86, 39, 61]
Generated Node #0,0: 43:[86, 39, 61] Operation: 81-20=61
Exploring Operation: 86-81=5, Resulting Numbers: [20, 39, 5]
Generated Node #0,1: 43:[20, 39, 5] Operation: 86-81=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[86, 39, 61], Operations: ['81-20=61']
Exploring Operation: 86-39=47, Resulting Numbers: [61, 47]
Generated Node #0,0,0: 43:[61, 47] Operation: 86-39=47
Exploring Operation: 86-61=25, Resulting Numbers: [39, 25]
Generated Node #0,0,1: 43:[39, 25] Operation: 86-61=25
Moving to Node #0,0,0
Current State: 43:[61, 47], Operations: ['81-20=61', '86-39=47']
Exploring Operation: 61+47=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 61-47=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[39, 25], Operations: ['81-20=61', '86-61=25']
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[20, 39, 5], Operations: ['86-81=5']
Exploring Operation: 39+5=44, Resulting Numbers: [20, 44]
Generated Node #0,1,0: 43:[20, 44] Operation: 39+5=44
Exploring Operation: 20+5=25, Resulting Numbers: [39, 25]
Generated Node #0,1,1: 43:[39, 25] Operation: 20+5=25
Moving to Node #0,1,1
Current State: 43:[39, 25], Operations: ['86-81=5', '20+5=25']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[20, 44], Operations: ['86-81=5', '39+5=44']
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
35,
58,
63
] | 60 | [
"63-35=28",
"28/14=2",
"58+2=60"
] | Current State: 60:[14, 35, 58, 63], Operations: []
Exploring Operation: 63-35=28, Resulting Numbers: [14, 58, 28]
Generated Node #2: [14, 58, 28] from Operation: 63-35=28
Current State: 60:[14, 58, 28], Operations: ['63-35=28']
Exploring Operation: 28/14=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 28/14=2
Current State: 60:[58, 2], Operations: ['63-35=28', '28/14=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[14, 35, 58, 63], Operations: []
Exploring Operation: 58-35=23, Resulting Numbers: [14, 63, 23]
Generated Node #0,0: 60:[14, 63, 23] Operation: 58-35=23
Exploring Operation: 63-35=28, Resulting Numbers: [14, 58, 28]
Generated Node #0,1: 60:[14, 58, 28] Operation: 63-35=28
Exploring Operation: 63-58=5, Resulting Numbers: [14, 35, 5]
Generated Node #0,2: 60:[14, 35, 5] Operation: 63-58=5
Exploring Operation: 35-14=21, Resulting Numbers: [58, 63, 21]
Generated Node #0,3: 60:[58, 63, 21] Operation: 35-14=21
Moving to Node #0,1
Current State: 60:[14, 58, 28], Operations: ['63-35=28']
Exploring Operation: 28/14=2, Resulting Numbers: [58, 2]
Generated Node #0,1,0: 60:[58, 2] Operation: 28/14=2
Exploring Operation: 58-28=30, Resulting Numbers: [14, 30]
Generated Node #0,1,1: 60:[14, 30] Operation: 58-28=30
Exploring Operation: 28-14=14, Resulting Numbers: [58, 14]
Generated Node #0,1,2: 60:[58, 14] Operation: 28-14=14
Exploring Operation: 14+58=72, Resulting Numbers: [28, 72]
Generated Node #0,1,3: 60:[28, 72] Operation: 14+58=72
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[14, 30], Operations: ['63-35=28', '58-28=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,60 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,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,0
Current State: 60:[58, 2], Operations: ['63-35=28', '28/14=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,60 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[14, 35, 58, 63], Operations: []
Exploring Operation: 63-35=28, Resulting Numbers: [14, 58, 28]
Generated Node #0,1: 60:[14, 58, 28] Operation: 63-35=28
Moving to Node #0,1
Current State: 60:[14, 58, 28], Operations: ['63-35=28']
Exploring Operation: 28/14=2, Resulting Numbers: [58, 2]
Generated Node #0,1,0: 60:[58, 2] Operation: 28/14=2
Moving to Node #0,1,0
Current State: 60:[58, 2], Operations: ['63-35=28', '28/14=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
88,
80,
37,
89
] | 44 | [
"88-80=8",
"89-37=52",
"52-8=44"
] | Current State: 44:[88, 80, 37, 89], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [37, 89, 8]
Generated Node #2: [37, 89, 8] from Operation: 88-80=8
Current State: 44:[37, 89, 8], Operations: ['88-80=8']
Exploring Operation: 89-37=52, Resulting Numbers: [8, 52]
Generated Node #3: [8, 52] from Operation: 89-37=52
Current State: 44:[8, 52], Operations: ['88-80=8', '89-37=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[88, 80, 37, 89], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [88, 37, 9]
Generated Node #0,0: 44:[88, 37, 9] Operation: 89-80=9
Exploring Operation: 89-88=1, Resulting Numbers: [80, 37, 1]
Generated Node #0,1: 44:[80, 37, 1] Operation: 89-88=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[80, 37, 1], Operations: ['89-88=1']
Exploring Operation: 80-1=79, Resulting Numbers: [37, 79]
Generated Node #0,1,0: 44:[37, 79] Operation: 80-1=79
Exploring Operation: 80-37=43, Resulting Numbers: [1, 43]
Generated Node #0,1,1: 44:[1, 43] Operation: 80-37=43
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[1, 43], Operations: ['89-88=1', '80-37=43']
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[88, 80, 37, 89], Operations: []
Exploring Operation: 89-88=1, Resulting Numbers: [80, 37, 1]
Generated Node #0,1: 44:[80, 37, 1] Operation: 89-88=1
Moving to Node #0,1
Current State: 44:[80, 37, 1], Operations: ['89-88=1']
Exploring Operation: 80-37=43, Resulting Numbers: [1, 43]
Generated Node #0,1,1: 44:[1, 43] Operation: 80-37=43
Moving to Node #0,1,1
Current State: 44:[1, 43], Operations: ['89-88=1', '80-37=43']
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
23,
78,
24,
21
] | 66 | [
"23-21=2",
"24/2=12",
"78-12=66"
] | Current State: 66:[23, 78, 24, 21], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [78, 24, 2]
Generated Node #2: [78, 24, 2] from Operation: 23-21=2
Current State: 66:[78, 24, 2], Operations: ['23-21=2']
Exploring Operation: 24/2=12, Resulting Numbers: [78, 12]
Generated Node #3: [78, 12] from Operation: 24/2=12
Current State: 66:[78, 12], Operations: ['23-21=2', '24/2=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[23, 78, 24, 21], Operations: []
Exploring Operation: 78-21=57, Resulting Numbers: [23, 24, 57]
Generated Node #0,0: 66:[23, 24, 57] Operation: 78-21=57
Exploring Operation: 24-21=3, Resulting Numbers: [23, 78, 3]
Generated Node #0,1: 66:[23, 78, 3] Operation: 24-21=3
Exploring Operation: 23-21=2, Resulting Numbers: [78, 24, 2]
Generated Node #0,2: 66:[78, 24, 2] Operation: 23-21=2
Exploring Operation: 78-23=55, Resulting Numbers: [24, 21, 55]
Generated Node #0,3: 66:[24, 21, 55] Operation: 78-23=55
Exploring Operation: 24-23=1, Resulting Numbers: [78, 21, 1]
Generated Node #0,4: 66:[78, 21, 1] Operation: 24-23=1
Moving to Node #0,0
Current State: 66:[23, 24, 57], Operations: ['78-21=57']
Exploring Operation: 23+57=80, Resulting Numbers: [24, 80]
Generated Node #0,0,0: 66:[24, 80] Operation: 23+57=80
Exploring Operation: 24-23=1, Resulting Numbers: [57, 1]
Generated Node #0,0,1: 66:[57, 1] Operation: 24-23=1
Exploring Operation: 57-24=33, Resulting Numbers: [23, 33]
Generated Node #0,0,2: 66:[23, 33] Operation: 57-24=33
Exploring Operation: 57-23=34, Resulting Numbers: [24, 34]
Generated Node #0,0,3: 66:[24, 34] Operation: 57-23=34
Exploring Operation: 24+57=81, Resulting Numbers: [23, 81]
Generated Node #0,0,4: 66:[23, 81] Operation: 24+57=81
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[23, 33], Operations: ['78-21=57', '57-24=33']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Exploring Operation: 23*33=759, Resulting Numbers: [759]
759,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,3
Current State: 66:[24, 34], Operations: ['78-21=57', '57-23=34']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,66 unequal: No Solution
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[57, 1], Operations: ['78-21=57', '24-23=1']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,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,0
Current State: 66:[24, 80], Operations: ['78-21=57', '23+57=80']
Exploring Operation: 24+80=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Exploring Operation: 24*80=1920, Resulting Numbers: [1920]
1920,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,4
Current State: 66:[23, 81], Operations: ['78-21=57', '24+57=81']
Exploring Operation: 23*81=1863, Resulting Numbers: [1863]
1863,66 unequal: No Solution
Exploring Operation: 23+81=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 66:[23, 78, 3], Operations: ['24-21=3']
Exploring Operation: 23-3=20, Resulting Numbers: [78, 20]
Generated Node #0,1,0: 66:[78, 20] Operation: 23-3=20
Exploring Operation: 78/3=26, Resulting Numbers: [23, 26]
Generated Node #0,1,1: 66:[23, 26] Operation: 78/3=26
Exploring Operation: 78-3=75, Resulting Numbers: [23, 75]
Generated Node #0,1,2: 66:[23, 75] Operation: 78-3=75
Exploring Operation: 78-23=55, Resulting Numbers: [3, 55]
Generated Node #0,1,3: 66:[3, 55] Operation: 78-23=55
Exploring Operation: 23*3=69, Resulting Numbers: [78, 69]
Generated Node #0,1,4: 66:[78, 69] Operation: 23*3=69
Moving to Node #0,2
Current State: 66:[78, 24, 2], Operations: ['23-21=2']
Exploring Operation: 78/2=39, Resulting Numbers: [24, 39]
Generated Node #0,2,0: 66:[24, 39] Operation: 78/2=39
Exploring Operation: 78-24=54, Resulting Numbers: [2, 54]
Generated Node #0,2,1: 66:[2, 54] Operation: 78-24=54
Exploring Operation: 24-2=22, Resulting Numbers: [78, 22]
Generated Node #0,2,2: 66:[78, 22] Operation: 24-2=22
Exploring Operation: 78-2=76, Resulting Numbers: [24, 76]
Generated Node #0,2,3: 66:[24, 76] Operation: 78-2=76
Exploring Operation: 24/2=12, Resulting Numbers: [78, 12]
Generated Node #0,2,4: 66:[78, 12] Operation: 24/2=12
Moving to Node #0,3
Current State: 66:[24, 21, 55], Operations: ['78-23=55']
Exploring Operation: 24+55=79, Resulting Numbers: [21, 79]
Generated Node #0,3,0: 66:[21, 79] Operation: 24+55=79
Exploring Operation: 55-21=34, Resulting Numbers: [24, 34]
Generated Node #0,3,1: 66:[24, 34] Operation: 55-21=34
Exploring Operation: 55-24=31, Resulting Numbers: [21, 31]
Generated Node #0,3,2: 66:[21, 31] Operation: 55-24=31
Exploring Operation: 21+55=76, Resulting Numbers: [24, 76]
Generated Node #0,3,3: 66:[24, 76] Operation: 21+55=76
Exploring Operation: 24-21=3, Resulting Numbers: [55, 3]
Generated Node #0,3,4: 66:[55, 3] Operation: 24-21=3
Moving to Node #0,4
Current State: 66:[78, 21, 1], Operations: ['24-23=1']
Exploring Operation: 78/1=78, Resulting Numbers: [21, 78]
Generated Node #0,4,0: 66:[21, 78] Operation: 78/1=78
Exploring Operation: 78-21=57, Resulting Numbers: [1, 57]
Generated Node #0,4,1: 66:[1, 57] Operation: 78-21=57
Exploring Operation: 78*1=78, Resulting Numbers: [21, 78]
Generated Node #0,4,2: 66:[21, 78] Operation: 78*1=78
Exploring Operation: 78-1=77, Resulting Numbers: [21, 77]
Generated Node #0,4,3: 66:[21, 77] Operation: 78-1=77
Exploring Operation: 21+1=22, Resulting Numbers: [78, 22]
Generated Node #0,4,4: 66:[78, 22] Operation: 21+1=22
Moving to Node #0,3,1
Current State: 66:[24, 34], Operations: ['78-23=55', '55-21=34']
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,66 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[21, 31], Operations: ['78-23=55', '55-24=31']
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,66 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[23, 26], Operations: ['24-21=3', '78/3=26']
Exploring Operation: 23*26=598, Resulting Numbers: [598]
598,66 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[24, 39], Operations: ['23-21=2', '78/2=39']
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,66 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,66 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[23, 75], Operations: ['24-21=3', '78-3=75']
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,66 unequal: No Solution
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,66 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Moving to Node #0,4,1
Current State: 66:[1, 57], Operations: ['24-23=1', '78-21=57']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Moving to Node #0,3,4
Current State: 66:[55, 3], Operations: ['78-23=55', '24-21=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,66 unequal: No Solution
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[3, 55], Operations: ['24-21=3', '78-23=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,66 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[2, 54], Operations: ['23-21=2', '78-24=54']
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,66 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[24, 76], Operations: ['78-23=55', '21+55=76']
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,66 unequal: No Solution
Exploring Operation: 24*76=1824, Resulting Numbers: [1824]
1824,66 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Moving to Node #0,4,4
Current State: 66:[78, 22], Operations: ['24-23=1', '21+1=22']
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,66 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,66 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[24, 76], Operations: ['23-21=2', '78-2=76']
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,66 unequal: No Solution
Exploring Operation: 24*76=1824, Resulting Numbers: [1824]
1824,66 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Moving to Node #0,4,3
Current State: 66:[21, 77], Operations: ['24-23=1', '78-1=77']
Exploring Operation: 21+77=98, Resulting Numbers: [98]
98,66 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Exploring Operation: 21*77=1617, Resulting Numbers: [1617]
1617,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[78, 22], Operations: ['23-21=2', '24-2=22']
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,66 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,66 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Moving to Node #0,4,0
Current State: 66:[21, 78], Operations: ['24-23=1', '78/1=78']
Exploring Operation: 21*78=1638, Resulting Numbers: [1638]
1638,66 unequal: No Solution
Exploring Operation: 21+78=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Moving to Node #0,2,4
Current State: 66:[78, 12], Operations: ['23-21=2', '24/2=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[23, 78, 24, 21], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [78, 24, 2]
Generated Node #0,2: 66:[78, 24, 2] Operation: 23-21=2
Moving to Node #0,2
Current State: 66:[78, 24, 2], Operations: ['23-21=2']
Exploring Operation: 24/2=12, Resulting Numbers: [78, 12]
Generated Node #0,2,4: 66:[78, 12] Operation: 24/2=12
Moving to Node #0,2,4
Current State: 66:[78, 12], Operations: ['23-21=2', '24/2=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.914931 | hs_5 | sum_heuristic |
[
89,
65,
5,
65
] | 85 | [
"89-5=84",
"65/65=1",
"84+1=85"
] | Current State: 85:[89, 65, 5, 65], Operations: []
Exploring Operation: 89-5=84, Resulting Numbers: [65, 65, 84]
Generated Node #2: [65, 65, 84] from Operation: 89-5=84
Current State: 85:[65, 65, 84], Operations: ['89-5=84']
Exploring Operation: 65/65=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 65/65=1
Current State: 85:[84, 1], Operations: ['89-5=84', '65/65=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[89, 65, 5, 65], Operations: []
Exploring Operation: 65/65=1, Resulting Numbers: [89, 5, 1]
Generated Node #0,0: 85:[89, 5, 1] Operation: 65/65=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[89, 5, 1], Operations: ['65/65=1']
Exploring Operation: 89-1=88, Resulting Numbers: [5, 88]
Generated Node #0,0,0: 85:[5, 88] Operation: 89-1=88
Moving to Node #0,0,0
Current State: 85:[5, 88], Operations: ['65/65=1', '89-1=88']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
18,
3,
87
] | 28 | [
"18+87=105",
"105/3=35",
"35-7=28"
] | Current State: 28:[7, 18, 3, 87], Operations: []
Exploring Operation: 18+87=105, Resulting Numbers: [7, 3, 105]
Generated Node #2: [7, 3, 105] from Operation: 18+87=105
Current State: 28:[7, 3, 105], Operations: ['18+87=105']
Exploring Operation: 105/3=35, Resulting Numbers: [7, 35]
Generated Node #3: [7, 35] from Operation: 105/3=35
Current State: 28:[7, 35], Operations: ['18+87=105', '105/3=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[7, 18, 3, 87], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [7, 18, 29]
Generated Node #0,0: 28:[7, 18, 29] Operation: 87/3=29
Exploring Operation: 18-3=15, Resulting Numbers: [7, 87, 15]
Generated Node #0,1: 28:[7, 87, 15] Operation: 18-3=15
Exploring Operation: 18/3=6, Resulting Numbers: [7, 87, 6]
Generated Node #0,2: 28:[7, 87, 6] Operation: 18/3=6
Exploring Operation: 87-18=69, Resulting Numbers: [7, 3, 69]
Generated Node #0,3: 28:[7, 3, 69] Operation: 87-18=69
Exploring Operation: 87-7=80, Resulting Numbers: [18, 3, 80]
Generated Node #0,4: 28:[18, 3, 80] Operation: 87-7=80
Moving to Node #0,0
Current State: 28:[7, 18, 29], Operations: ['87/3=29']
Exploring Operation: 7+18=25, Resulting Numbers: [29, 25]
Generated Node #0,0,0: 28:[29, 25] Operation: 7+18=25
Exploring Operation: 7+29=36, Resulting Numbers: [18, 36]
Generated Node #0,0,1: 28:[18, 36] Operation: 7+29=36
Exploring Operation: 29-7=22, Resulting Numbers: [18, 22]
Generated Node #0,0,2: 28:[18, 22] Operation: 29-7=22
Exploring Operation: 29-18=11, Resulting Numbers: [7, 11]
Generated Node #0,0,3: 28:[7, 11] Operation: 29-18=11
Exploring Operation: 18-7=11, Resulting Numbers: [29, 11]
Generated Node #0,0,4: 28:[29, 11] Operation: 18-7=11
Moving to Node #0,3
Current State: 28:[7, 3, 69], Operations: ['87-18=69']
Exploring Operation: 7+3=10, Resulting Numbers: [69, 10]
Generated Node #0,3,0: 28:[69, 10] Operation: 7+3=10
Exploring Operation: 69-3=66, Resulting Numbers: [7, 66]
Generated Node #0,3,1: 28:[7, 66] Operation: 69-3=66
Exploring Operation: 69/3=23, Resulting Numbers: [7, 23]
Generated Node #0,3,2: 28:[7, 23] Operation: 69/3=23
Exploring Operation: 7-3=4, Resulting Numbers: [69, 4]
Generated Node #0,3,3: 28:[69, 4] Operation: 7-3=4
Exploring Operation: 69-7=62, Resulting Numbers: [3, 62]
Generated Node #0,3,4: 28:[3, 62] Operation: 69-7=62
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 28:[7, 23], Operations: ['87-18=69', '69/3=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,28 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 28:[3, 62], Operations: ['87-18=69', '69-7=62']
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,28 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[7, 66], Operations: ['87-18=69', '69-3=66']
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[69, 4], Operations: ['87-18=69', '7-3=4']
Exploring Operation: 69*4=276, Resulting Numbers: [276]
276,28 unequal: No Solution
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[69, 10], Operations: ['87-18=69', '7+3=10']
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,28 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,28 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: 28:[18, 3, 80], Operations: ['87-7=80']
Exploring Operation: 18+3=21, Resulting Numbers: [80, 21]
Generated Node #0,4,0: 28:[80, 21] Operation: 18+3=21
Exploring Operation: 18/3=6, Resulting Numbers: [80, 6]
Generated Node #0,4,1: 28:[80, 6] Operation: 18/3=6
Exploring Operation: 80-3=77, Resulting Numbers: [18, 77]
Generated Node #0,4,2: 28:[18, 77] Operation: 80-3=77
Exploring Operation: 18-3=15, Resulting Numbers: [80, 15]
Generated Node #0,4,3: 28:[80, 15] Operation: 18-3=15
Exploring Operation: 80-18=62, Resulting Numbers: [3, 62]
Generated Node #0,4,4: 28:[3, 62] Operation: 80-18=62
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 28:[3, 62], Operations: ['87-7=80', '80-18=62']
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,28 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,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,4,1
Current State: 28:[80, 6], Operations: ['87-7=80', '18/3=6']
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 80*6=480, Resulting Numbers: [480]
480,28 unequal: No Solution
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,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,4,2
Current State: 28:[18, 77], Operations: ['87-7=80', '80-3=77']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 18*77=1386, Resulting Numbers: [1386]
1386,28 unequal: No Solution
Exploring Operation: 18+77=95, Resulting Numbers: [95]
95,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,4,3
Current State: 28:[80, 15], Operations: ['87-7=80', '18-3=15']
Exploring Operation: 80*15=1200, Resulting Numbers: [1200]
1200,28 unequal: No Solution
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,28 unequal: No Solution
Exploring Operation: 80+15=95, Resulting Numbers: [95]
95,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,4,0
Current State: 28:[80, 21], Operations: ['87-7=80', '18+3=21']
Exploring Operation: 80*21=1680, Resulting Numbers: [1680]
1680,28 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 80+21=101, Resulting Numbers: [101]
101,28 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: 28:[7, 87, 15], Operations: ['18-3=15']
Exploring Operation: 7+15=22, Resulting Numbers: [87, 22]
Generated Node #0,1,0: 28:[87, 22] Operation: 7+15=22
Exploring Operation: 87-7=80, Resulting Numbers: [15, 80]
Generated Node #0,1,1: 28:[15, 80] Operation: 87-7=80
Exploring Operation: 7+87=94, Resulting Numbers: [15, 94]
Generated Node #0,1,2: 28:[15, 94] Operation: 7+87=94
Exploring Operation: 87-15=72, Resulting Numbers: [7, 72]
Generated Node #0,1,3: 28:[7, 72] Operation: 87-15=72
Exploring Operation: 15-7=8, Resulting Numbers: [87, 8]
Generated Node #0,1,4: 28:[87, 8] Operation: 15-7=8
Moving to Node #0,2
Current State: 28:[7, 87, 6], Operations: ['18/3=6']
Exploring Operation: 7+6=13, Resulting Numbers: [87, 13]
Generated Node #0,2,0: 28:[87, 13] Operation: 7+6=13
Exploring Operation: 7-6=1, Resulting Numbers: [87, 1]
Generated Node #0,2,1: 28:[87, 1] Operation: 7-6=1
Exploring Operation: 87+6=93, Resulting Numbers: [7, 93]
Generated Node #0,2,2: 28:[7, 93] Operation: 87+6=93
Exploring Operation: 87-6=81, Resulting Numbers: [7, 81]
Generated Node #0,2,3: 28:[7, 81] Operation: 87-6=81
Exploring Operation: 87-7=80, Resulting Numbers: [6, 80]
Generated Node #0,2,4: 28:[6, 80] Operation: 87-7=80
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 28:[7, 81], Operations: ['18/3=6', '87-6=81']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,28 unequal: No Solution
Exploring Operation: 7*81=567, Resulting Numbers: [567]
567,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:[6, 80], Operations: ['18/3=6', '87-7=80']
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,28 unequal: No Solution
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,28 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,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:[87, 13], Operations: ['18/3=6', '7+6=13']
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 87+13=100, Resulting Numbers: [100]
100,28 unequal: No Solution
Exploring Operation: 87*13=1131, Resulting Numbers: [1131]
1131,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:[87, 1], Operations: ['18/3=6', '7-6=1']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,28 unequal: No Solution
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,28 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,28 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,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:[7, 93], Operations: ['18/3=6', '87+6=93']
Exploring Operation: 7+93=100, Resulting Numbers: [100]
100,28 unequal: No Solution
Exploring Operation: 7*93=651, Resulting Numbers: [651]
651,28 unequal: No Solution
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 28:[7, 11], Operations: ['87/3=29', '29-18=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Moving to Node #0,0,4
Current State: 28:[29, 11], Operations: ['87/3=29', '18-7=11']
Exploring Operation: 29*11=319, Resulting Numbers: [319]
319,28 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[29, 25], Operations: ['87/3=29', '7+18=25']
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 29*25=725, Resulting Numbers: [725]
725,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[18, 22], Operations: ['87/3=29', '29-7=22']
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,28 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[18, 36], Operations: ['87/3=29', '7+29=36']
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,28 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[7, 72], Operations: ['18-3=15', '87-15=72']
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,28 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[15, 80], Operations: ['18-3=15', '87-7=80']
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,28 unequal: No Solution
Exploring Operation: 15*80=1200, Resulting Numbers: [1200]
1200,28 unequal: No Solution
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,28 unequal: No Solution
Moving to Node #0,1,4
Current State: 28:[87, 8], Operations: ['18-3=15', '15-7=8']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,28 unequal: No Solution
Exploring Operation: 87*8=696, Resulting Numbers: [696]
696,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[87, 22], Operations: ['18-3=15', '7+15=22']
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,28 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,28 unequal: No Solution
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[15, 94], Operations: ['18-3=15', '7+87=94']
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 15*94=1410, Resulting Numbers: [1410]
1410,28 unequal: No Solution
Exploring Operation: 15+94=109, Resulting Numbers: [109]
109,28 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
54,
81,
86,
41
] | 72 | [
"81-54=27",
"86-41=45",
"27+45=72"
] | Current State: 72:[54, 81, 86, 41], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [86, 41, 27]
Generated Node #2: [86, 41, 27] from Operation: 81-54=27
Current State: 72:[86, 41, 27], Operations: ['81-54=27']
Exploring Operation: 86-41=45, Resulting Numbers: [27, 45]
Generated Node #3: [27, 45] from Operation: 86-41=45
Current State: 72:[27, 45], Operations: ['81-54=27', '86-41=45']
Exploring Operation: 27+45=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[54, 81, 86, 41], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [86, 41, 27]
Generated Node #0,0: 72:[86, 41, 27] Operation: 81-54=27
Exploring Operation: 86-54=32, Resulting Numbers: [81, 41, 32]
Generated Node #0,1: 72:[81, 41, 32] Operation: 86-54=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[81, 41, 32], Operations: ['86-54=32']
Exploring Operation: 41-32=9, Resulting Numbers: [81, 9]
Generated Node #0,1,0: 72:[81, 9] Operation: 41-32=9
Exploring Operation: 81-41=40, Resulting Numbers: [32, 40]
Generated Node #0,1,1: 72:[32, 40] Operation: 81-41=40
Moving to Node #0,1,1
Current State: 72:[32, 40], Operations: ['86-54=32', '81-41=40']
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 32+40=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[54, 81, 86, 41], Operations: []
Exploring Operation: 86-54=32, Resulting Numbers: [81, 41, 32]
Generated Node #0,1: 72:[81, 41, 32] Operation: 86-54=32
Moving to Node #0,1
Current State: 72:[81, 41, 32], Operations: ['86-54=32']
Exploring Operation: 81-41=40, Resulting Numbers: [32, 40]
Generated Node #0,1,1: 72:[32, 40] Operation: 81-41=40
Moving to Node #0,1,1
Current State: 72:[32, 40], Operations: ['86-54=32', '81-41=40']
Exploring Operation: 32+40=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
36,
26,
34,
69
] | 86 | [
"36-34=2",
"69-26=43",
"2*43=86"
] | Current State: 86:[36, 26, 34, 69], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [26, 69, 2]
Generated Node #2: [26, 69, 2] from Operation: 36-34=2
Current State: 86:[26, 69, 2], Operations: ['36-34=2']
Exploring Operation: 69-26=43, Resulting Numbers: [2, 43]
Generated Node #3: [2, 43] from Operation: 69-26=43
Current State: 86:[2, 43], Operations: ['36-34=2', '69-26=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[36, 26, 34, 69], Operations: []
Exploring Operation: 69-26=43, Resulting Numbers: [36, 34, 43]
Generated Node #0,0: 86:[36, 34, 43] Operation: 69-26=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[36, 34, 43], Operations: ['69-26=43']
Exploring Operation: 36-34=2, Resulting Numbers: [43, 2]
Generated Node #0,0,0: 86:[43, 2] Operation: 36-34=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[43, 2], Operations: ['69-26=43', '36-34=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[36, 26, 34, 69], Operations: []
Exploring Operation: 69-26=43, Resulting Numbers: [36, 34, 43]
Generated Node #0,0: 86:[36, 34, 43] Operation: 69-26=43
Moving to Node #0,0
Current State: 86:[36, 34, 43], Operations: ['69-26=43']
Exploring Operation: 36-34=2, Resulting Numbers: [43, 2]
Generated Node #0,0,0: 86:[43, 2] Operation: 36-34=2
Moving to Node #0,0,0
Current State: 86:[43, 2], Operations: ['69-26=43', '36-34=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
54,
45,
30,
64
] | 28 | [
"54*30=1620",
"1620/45=36",
"64-36=28"
] | Current State: 28:[54, 45, 30, 64], Operations: []
Exploring Operation: 54*30=1620, Resulting Numbers: [45, 64, 1620]
Generated Node #2: [45, 64, 1620] from Operation: 54*30=1620
Current State: 28:[45, 64, 1620], Operations: ['54*30=1620']
Exploring Operation: 1620/45=36, Resulting Numbers: [64, 36]
Generated Node #3: [64, 36] from Operation: 1620/45=36
Current State: 28:[64, 36], Operations: ['54*30=1620', '1620/45=36']
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[54, 45, 30, 64], Operations: []
Exploring Operation: 64-54=10, Resulting Numbers: [45, 30, 10]
Generated Node #0,0: 28:[45, 30, 10] Operation: 64-54=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[45, 30, 10], Operations: ['64-54=10']
Exploring Operation: 45-30=15, Resulting Numbers: [10, 15]
Generated Node #0,0,0: 28:[10, 15] Operation: 45-30=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[10, 15], Operations: ['64-54=10', '45-30=15']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,28 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 |
[
77,
7,
66,
44
] | 28 | [
"77-66=11",
"7*44=308",
"308/11=28"
] | Current State: 28:[77, 7, 66, 44], Operations: []
Exploring Operation: 77-66=11, Resulting Numbers: [7, 44, 11]
Generated Node #2: [7, 44, 11] from Operation: 77-66=11
Current State: 28:[7, 44, 11], Operations: ['77-66=11']
Exploring Operation: 7*44=308, Resulting Numbers: [11, 308]
Generated Node #3: [11, 308] from Operation: 7*44=308
Current State: 28:[11, 308], Operations: ['77-66=11', '7*44=308']
Exploring Operation: 308/11=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[77, 7, 66, 44], Operations: []
Exploring Operation: 66-44=22, Resulting Numbers: [77, 7, 22]
Generated Node #0,0: 28:[77, 7, 22] Operation: 66-44=22
Exploring Operation: 77/7=11, Resulting Numbers: [66, 44, 11]
Generated Node #0,1: 28:[66, 44, 11] Operation: 77/7=11
Exploring Operation: 77-7=70, Resulting Numbers: [66, 44, 70]
Generated Node #0,2: 28:[66, 44, 70] Operation: 77-7=70
Exploring Operation: 77-66=11, Resulting Numbers: [7, 44, 11]
Generated Node #0,3: 28:[7, 44, 11] Operation: 77-66=11
Exploring Operation: 77-44=33, Resulting Numbers: [7, 66, 33]
Generated Node #0,4: 28:[7, 66, 33] Operation: 77-44=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[7, 44, 11], Operations: ['77-66=11']
Exploring Operation: 11-7=4, Resulting Numbers: [44, 4]
Generated Node #0,3,0: 28:[44, 4] Operation: 11-7=4
Exploring Operation: 44-11=33, Resulting Numbers: [7, 33]
Generated Node #0,3,1: 28:[7, 33] Operation: 44-11=33
Exploring Operation: 44/11=4, Resulting Numbers: [7, 4]
Generated Node #0,3,2: 28:[7, 4] Operation: 44/11=4
Exploring Operation: 7+11=18, Resulting Numbers: [44, 18]
Generated Node #0,3,3: 28:[44, 18] Operation: 7+11=18
Exploring Operation: 44-7=37, Resulting Numbers: [11, 37]
Generated Node #0,3,4: 28:[11, 37] Operation: 44-7=37
Moving to Node #0,3,2
Current State: 28:[7, 4], Operations: ['77-66=11', '44/11=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[77, 7, 66, 44], Operations: []
Exploring Operation: 77-66=11, Resulting Numbers: [7, 44, 11]
Generated Node #0,3: 28:[7, 44, 11] Operation: 77-66=11
Moving to Node #0,3
Current State: 28:[7, 44, 11], Operations: ['77-66=11']
Exploring Operation: 44/11=4, Resulting Numbers: [7, 4]
Generated Node #0,3,2: 28:[7, 4] Operation: 44/11=4
Moving to Node #0,3,2
Current State: 28:[7, 4], Operations: ['77-66=11', '44/11=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
43,
19,
70,
3
] | 26 | [
"70-19=51",
"51/3=17",
"43-17=26"
] | Current State: 26:[43, 19, 70, 3], Operations: []
Exploring Operation: 70-19=51, Resulting Numbers: [43, 3, 51]
Generated Node #2: [43, 3, 51] from Operation: 70-19=51
Current State: 26:[43, 3, 51], Operations: ['70-19=51']
Exploring Operation: 51/3=17, Resulting Numbers: [43, 17]
Generated Node #3: [43, 17] from Operation: 51/3=17
Current State: 26:[43, 17], Operations: ['70-19=51', '51/3=17']
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[43, 19, 70, 3], Operations: []
Exploring Operation: 43-3=40, Resulting Numbers: [19, 70, 40]
Generated Node #0,0: 26:[19, 70, 40] Operation: 43-3=40
Exploring Operation: 70-43=27, Resulting Numbers: [19, 3, 27]
Generated Node #0,1: 26:[19, 3, 27] Operation: 70-43=27
Exploring Operation: 43-19=24, Resulting Numbers: [70, 3, 24]
Generated Node #0,2: 26:[70, 3, 24] Operation: 43-19=24
Exploring Operation: 70-19=51, Resulting Numbers: [43, 3, 51]
Generated Node #0,3: 26:[43, 3, 51] Operation: 70-19=51
Moving to Node #0,1
Current State: 26:[19, 3, 27], Operations: ['70-43=27']
Exploring Operation: 19-3=16, Resulting Numbers: [27, 16]
Generated Node #0,1,0: 26:[27, 16] Operation: 19-3=16
Exploring Operation: 19+3=22, Resulting Numbers: [27, 22]
Generated Node #0,1,1: 26:[27, 22] Operation: 19+3=22
Exploring Operation: 27-3=24, Resulting Numbers: [19, 24]
Generated Node #0,1,2: 26:[19, 24] Operation: 27-3=24
Exploring Operation: 27-19=8, Resulting Numbers: [3, 8]
Generated Node #0,1,3: 26:[3, 8] Operation: 27-19=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[27, 16], Operations: ['70-43=27', '19-3=16']
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,26 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[27, 22], Operations: ['70-43=27', '19+3=22']
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[3, 8], Operations: ['70-43=27', '27-19=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[19, 24], Operations: ['70-43=27', '27-3=24']
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,26 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,26 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: 26:[43, 3, 51], Operations: ['70-19=51']
Exploring Operation: 51-3=48, Resulting Numbers: [43, 48]
Generated Node #0,3,0: 26:[43, 48] Operation: 51-3=48
Exploring Operation: 51-43=8, Resulting Numbers: [3, 8]
Generated Node #0,3,1: 26:[3, 8] Operation: 51-43=8
Exploring Operation: 51/3=17, Resulting Numbers: [43, 17]
Generated Node #0,3,2: 26:[43, 17] Operation: 51/3=17
Exploring Operation: 43-3=40, Resulting Numbers: [51, 40]
Generated Node #0,3,3: 26:[51, 40] Operation: 43-3=40
Moving to Node #0,2
Current State: 26:[70, 3, 24], Operations: ['43-19=24']
Exploring Operation: 70+3=73, Resulting Numbers: [24, 73]
Generated Node #0,2,0: 26:[24, 73] Operation: 70+3=73
Exploring Operation: 70-24=46, Resulting Numbers: [3, 46]
Generated Node #0,2,1: 26:[3, 46] Operation: 70-24=46
Exploring Operation: 70-3=67, Resulting Numbers: [24, 67]
Generated Node #0,2,2: 26:[24, 67] Operation: 70-3=67
Exploring Operation: 3+24=27, Resulting Numbers: [70, 27]
Generated Node #0,2,3: 26:[70, 27] Operation: 3+24=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[3, 46], Operations: ['43-19=24', '70-24=46']
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,26 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[24, 67], Operations: ['43-19=24', '70-3=67']
Exploring Operation: 24*67=1608, Resulting Numbers: [1608]
1608,26 unequal: No Solution
Exploring Operation: 24+67=91, Resulting Numbers: [91]
91,26 unequal: No Solution
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 26:[70, 27], Operations: ['43-19=24', '3+24=27']
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,26 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 70*27=1890, Resulting Numbers: [1890]
1890,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[24, 73], Operations: ['43-19=24', '70+3=73']
Exploring Operation: 24*73=1752, Resulting Numbers: [1752]
1752,26 unequal: No Solution
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,26 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: 26:[19, 70, 40], Operations: ['43-3=40']
Exploring Operation: 70-40=30, Resulting Numbers: [19, 30]
Generated Node #0,0,0: 26:[19, 30] Operation: 70-40=30
Exploring Operation: 70-19=51, Resulting Numbers: [40, 51]
Generated Node #0,0,1: 26:[40, 51] Operation: 70-19=51
Exploring Operation: 19+70=89, Resulting Numbers: [40, 89]
Generated Node #0,0,2: 26:[40, 89] Operation: 19+70=89
Exploring Operation: 40-19=21, Resulting Numbers: [70, 21]
Generated Node #0,0,3: 26:[70, 21] Operation: 40-19=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[19, 30], Operations: ['43-3=40', '70-40=30']
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,26 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[40, 51], Operations: ['43-3=40', '70-19=51']
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,26 unequal: No Solution
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,26 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[70, 21], Operations: ['43-3=40', '40-19=21']
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,26 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 70*21=1470, Resulting Numbers: [1470]
1470,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[40, 89], Operations: ['43-3=40', '19+70=89']
Exploring Operation: 40*89=3560, Resulting Numbers: [3560]
3560,26 unequal: No Solution
Exploring Operation: 40+89=129, Resulting Numbers: [129]
129,26 unequal: No Solution
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 26:[3, 8], Operations: ['70-19=51', '51-43=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[43, 17], Operations: ['70-19=51', '51/3=17']
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,26 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,26 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[43, 19, 70, 3], Operations: []
Exploring Operation: 70-19=51, Resulting Numbers: [43, 3, 51]
Generated Node #0,3: 26:[43, 3, 51] Operation: 70-19=51
Moving to Node #0,3
Current State: 26:[43, 3, 51], Operations: ['70-19=51']
Exploring Operation: 51/3=17, Resulting Numbers: [43, 17]
Generated Node #0,3,2: 26:[43, 17] Operation: 51/3=17
Moving to Node #0,3,2
Current State: 26:[43, 17], Operations: ['70-19=51', '51/3=17']
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.942708 | hs_4 | sum_heuristic |
[
2,
88,
94,
82
] | 44 | [
"94-88=6",
"82+6=88",
"88/2=44"
] | Current State: 44:[2, 88, 94, 82], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [2, 82, 6]
Generated Node #2: [2, 82, 6] from Operation: 94-88=6
Current State: 44:[2, 82, 6], Operations: ['94-88=6']
Exploring Operation: 82+6=88, Resulting Numbers: [2, 88]
Generated Node #3: [2, 88] from Operation: 82+6=88
Current State: 44:[2, 88], Operations: ['94-88=6', '82+6=88']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[2, 88, 94, 82], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [2, 82, 6]
Generated Node #0,0: 44:[2, 82, 6] Operation: 94-88=6
Exploring Operation: 88-82=6, Resulting Numbers: [2, 94, 6]
Generated Node #0,1: 44:[2, 94, 6] Operation: 88-82=6
Exploring Operation: 94-82=12, Resulting Numbers: [2, 88, 12]
Generated Node #0,2: 44:[2, 88, 12] Operation: 94-82=12
Moving to Node #0,0
Current State: 44:[2, 82, 6], Operations: ['94-88=6']
Exploring Operation: 82-2=80, Resulting Numbers: [6, 80]
Generated Node #0,0,0: 44:[6, 80] Operation: 82-2=80
Exploring Operation: 82-6=76, Resulting Numbers: [2, 76]
Generated Node #0,0,1: 44:[2, 76] Operation: 82-6=76
Exploring Operation: 82/2=41, Resulting Numbers: [6, 41]
Generated Node #0,0,2: 44:[6, 41] Operation: 82/2=41
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[6, 41], Operations: ['94-88=6', '82/2=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,44 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,44 unequal: No Solution
No 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: 44:[2, 76], Operations: ['94-88=6', '82-6=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,44 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,44 unequal: No Solution
No 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: 44:[6, 80], Operations: ['94-88=6', '82-2=80']
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,44 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,44 unequal: No Solution
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,44 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: 44:[2, 88, 12], Operations: ['94-82=12']
Exploring Operation: 88-12=76, Resulting Numbers: [2, 76]
Generated Node #0,2,0: 44:[2, 76] Operation: 88-12=76
Exploring Operation: 88/2=44, Resulting Numbers: [12, 44]
Generated Node #0,2,1: 44:[12, 44] Operation: 88/2=44
Exploring Operation: 88-2=86, Resulting Numbers: [12, 86]
Generated Node #0,2,2: 44:[12, 86] Operation: 88-2=86
Moving to Node #0,1
Current State: 44:[2, 94, 6], Operations: ['88-82=6']
Exploring Operation: 94-2=92, Resulting Numbers: [6, 92]
Generated Node #0,1,0: 44:[6, 92] Operation: 94-2=92
Exploring Operation: 94/2=47, Resulting Numbers: [6, 47]
Generated Node #0,1,1: 44:[6, 47] Operation: 94/2=47
Exploring Operation: 94-6=88, Resulting Numbers: [2, 88]
Generated Node #0,1,2: 44:[2, 88] Operation: 94-6=88
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[6, 47], Operations: ['88-82=6', '94/2=47']
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,44 unequal: No Solution
No 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: 44:[2, 88], Operations: ['88-82=6', '94-6=88']
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[2, 88, 94, 82], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [2, 94, 6]
Generated Node #0,1: 44:[2, 94, 6] Operation: 88-82=6
Moving to Node #0,1
Current State: 44:[2, 94, 6], Operations: ['88-82=6']
Exploring Operation: 94-6=88, Resulting Numbers: [2, 88]
Generated Node #0,1,2: 44:[2, 88] Operation: 94-6=88
Moving to Node #0,1,2
Current State: 44:[2, 88], Operations: ['88-82=6', '94-6=88']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
7,
15,
48,
1
] | 58 | [
"7*15=105",
"48-1=47",
"105-47=58"
] | Current State: 58:[7, 15, 48, 1], Operations: []
Exploring Operation: 7*15=105, Resulting Numbers: [48, 1, 105]
Generated Node #2: [48, 1, 105] from Operation: 7*15=105
Current State: 58:[48, 1, 105], Operations: ['7*15=105']
Exploring Operation: 48-1=47, Resulting Numbers: [105, 47]
Generated Node #3: [105, 47] from Operation: 48-1=47
Current State: 58:[105, 47], Operations: ['7*15=105', '48-1=47']
Exploring Operation: 105-47=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[7, 15, 48, 1], Operations: []
Exploring Operation: 15-7=8, Resulting Numbers: [48, 1, 8]
Generated Node #0,0: 58:[48, 1, 8] Operation: 15-7=8
Exploring Operation: 15+48=63, Resulting Numbers: [7, 1, 63]
Generated Node #0,1: 58:[7, 1, 63] Operation: 15+48=63
Exploring Operation: 7+48=55, Resulting Numbers: [15, 1, 55]
Generated Node #0,2: 58:[15, 1, 55] Operation: 7+48=55
Exploring Operation: 48-15=33, Resulting Numbers: [7, 1, 33]
Generated Node #0,3: 58:[7, 1, 33] Operation: 48-15=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[7, 1, 33], Operations: ['48-15=33']
Exploring Operation: 7*1=7, Resulting Numbers: [33, 7]
Generated Node #0,3,0: 58:[33, 7] Operation: 7*1=7
Exploring Operation: 33-1=32, Resulting Numbers: [7, 32]
Generated Node #0,3,1: 58:[7, 32] Operation: 33-1=32
Exploring Operation: 33-7=26, Resulting Numbers: [1, 26]
Generated Node #0,3,2: 58:[1, 26] Operation: 33-7=26
Exploring Operation: 7-1=6, Resulting Numbers: [33, 6]
Generated Node #0,3,3: 58:[33, 6] Operation: 7-1=6
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 58:[1, 26], Operations: ['48-15=33', '33-7=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,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,3,1
Current State: 58:[7, 32], Operations: ['48-15=33', '33-1=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,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,3,3
Current State: 58:[33, 6], Operations: ['48-15=33', '7-1=6']
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,58 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,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,3,0
Current State: 58:[33, 7], Operations: ['48-15=33', '7*1=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,58 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[7, 1, 63], Operations: ['15+48=63']
Exploring Operation: 7-1=6, Resulting Numbers: [63, 6]
Generated Node #0,1,0: 58:[63, 6] Operation: 7-1=6
Exploring Operation: 63-7=56, Resulting Numbers: [1, 56]
Generated Node #0,1,1: 58:[1, 56] Operation: 63-7=56
Exploring Operation: 63-1=62, Resulting Numbers: [7, 62]
Generated Node #0,1,2: 58:[7, 62] Operation: 63-1=62
Exploring Operation: 63/7=9, Resulting Numbers: [1, 9]
Generated Node #0,1,3: 58:[1, 9] Operation: 63/7=9
Moving to Node #0,1,1
Current State: 58:[1, 56], Operations: ['15+48=63', '63-7=56']
Exploring Operation: 1*56=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 1+56=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Moving to Node #0,1,3
Current State: 58:[1, 9], Operations: ['15+48=63', '63/7=9']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[7, 62], Operations: ['15+48=63', '63-1=62']
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,58 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[63, 6], Operations: ['15+48=63', '7-1=6']
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,58 unequal: No Solution
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,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:[48, 1, 8], Operations: ['15-7=8']
Exploring Operation: 48+1=49, Resulting Numbers: [8, 49]
Generated Node #0,0,0: 58:[8, 49] Operation: 48+1=49
Exploring Operation: 48-8=40, Resulting Numbers: [1, 40]
Generated Node #0,0,1: 58:[1, 40] Operation: 48-8=40
Exploring Operation: 48+8=56, Resulting Numbers: [1, 56]
Generated Node #0,0,2: 58:[1, 56] Operation: 48+8=56
Exploring Operation: 48/8=6, Resulting Numbers: [1, 6]
Generated Node #0,0,3: 58:[1, 6] Operation: 48/8=6
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 58:[1, 56], Operations: ['15-7=8', '48+8=56']
Exploring Operation: 1+56=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 1*56=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,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,3
Current State: 58:[1, 6], Operations: ['15-7=8', '48/8=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,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,1
Current State: 58:[1, 40], Operations: ['15-7=8', '48-8=40']
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,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:[8, 49], Operations: ['15-7=8', '48+1=49']
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[15, 1, 55], Operations: ['7+48=55']
Exploring Operation: 1+55=56, Resulting Numbers: [15, 56]
Generated Node #0,2,0: 58:[15, 56] Operation: 1+55=56
Exploring Operation: 55-15=40, Resulting Numbers: [1, 40]
Generated Node #0,2,1: 58:[1, 40] Operation: 55-15=40
Exploring Operation: 15-1=14, Resulting Numbers: [55, 14]
Generated Node #0,2,2: 58:[55, 14] Operation: 15-1=14
Exploring Operation: 15+55=70, Resulting Numbers: [1, 70]
Generated Node #0,2,3: 58:[1, 70] Operation: 15+55=70
Moving to Node #0,2,1
Current State: 58:[1, 40], Operations: ['7+48=55', '55-15=40']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Moving to Node #0,2,3
Current State: 58:[1, 70], Operations: ['7+48=55', '15+55=70']
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 1+70=71, Resulting Numbers: [71]
71,58 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[55, 14], Operations: ['7+48=55', '15-1=14']
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,58 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[15, 56], Operations: ['7+48=55', '1+55=56']
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,58 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
32,
14,
34,
16
] | 96 | [
"32+14=46",
"34+16=50",
"46+50=96"
] | Current State: 96:[32, 14, 34, 16], Operations: []
Exploring Operation: 32+14=46, Resulting Numbers: [34, 16, 46]
Generated Node #2: [34, 16, 46] from Operation: 32+14=46
Current State: 96:[34, 16, 46], Operations: ['32+14=46']
Exploring Operation: 34+16=50, Resulting Numbers: [46, 50]
Generated Node #3: [46, 50] from Operation: 34+16=50
Current State: 96:[46, 50], Operations: ['32+14=46', '34+16=50']
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[32, 14, 34, 16], Operations: []
Exploring Operation: 14+34=48, Resulting Numbers: [32, 16, 48]
Generated Node #0,0: 96:[32, 16, 48] Operation: 14+34=48
Exploring Operation: 34-32=2, Resulting Numbers: [14, 16, 2]
Generated Node #0,1: 96:[14, 16, 2] Operation: 34-32=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[32, 16, 48], Operations: ['14+34=48']
Exploring Operation: 32-16=16, Resulting Numbers: [48, 16]
Generated Node #0,0,0: 96:[48, 16] Operation: 32-16=16
Exploring Operation: 32+16=48, Resulting Numbers: [48, 48]
Generated Node #0,0,1: 96:[48, 48] Operation: 32+16=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[48, 16], Operations: ['14+34=48', '32-16=16']
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,96 unequal: No Solution
No 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: 96:[48, 48], Operations: ['14+34=48', '32+16=48']
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[32, 14, 34, 16], Operations: []
Exploring Operation: 14+34=48, Resulting Numbers: [32, 16, 48]
Generated Node #0,0: 96:[32, 16, 48] Operation: 14+34=48
Moving to Node #0,0
Current State: 96:[32, 16, 48], Operations: ['14+34=48']
Exploring Operation: 32+16=48, Resulting Numbers: [48, 48]
Generated Node #0,0,1: 96:[48, 48] Operation: 32+16=48
Moving to Node #0,0,1
Current State: 96:[48, 48], Operations: ['14+34=48', '32+16=48']
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
5,
77,
71,
53
] | 53 | [
"77-5=72",
"72-71=1",
"53*1=53"
] | Current State: 53:[5, 77, 71, 53], Operations: []
Exploring Operation: 77-5=72, Resulting Numbers: [71, 53, 72]
Generated Node #2: [71, 53, 72] from Operation: 77-5=72
Current State: 53:[71, 53, 72], Operations: ['77-5=72']
Exploring Operation: 72-71=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 72-71=1
Current State: 53:[53, 1], Operations: ['77-5=72', '72-71=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[5, 77, 71, 53], Operations: []
Exploring Operation: 5+77=82, Resulting Numbers: [71, 53, 82]
Generated Node #0,0: 53:[71, 53, 82] Operation: 5+77=82
Exploring Operation: 77-5=72, Resulting Numbers: [71, 53, 72]
Generated Node #0,1: 53:[71, 53, 72] Operation: 77-5=72
Exploring Operation: 71-5=66, Resulting Numbers: [77, 53, 66]
Generated Node #0,2: 53:[77, 53, 66] Operation: 71-5=66
Moving to Node #0,1
Current State: 53:[71, 53, 72], Operations: ['77-5=72']
Exploring Operation: 72-53=19, Resulting Numbers: [71, 19]
Generated Node #0,1,0: 53:[71, 19] Operation: 72-53=19
Exploring Operation: 72-71=1, Resulting Numbers: [53, 1]
Generated Node #0,1,1: 53:[53, 1] Operation: 72-71=1
Exploring Operation: 71-53=18, Resulting Numbers: [72, 18]
Generated Node #0,1,2: 53:[72, 18] Operation: 71-53=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[71, 19], Operations: ['77-5=72', '72-53=19']
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[53, 1], Operations: ['77-5=72', '72-71=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[5, 77, 71, 53], Operations: []
Exploring Operation: 77-5=72, Resulting Numbers: [71, 53, 72]
Generated Node #0,1: 53:[71, 53, 72] Operation: 77-5=72
Moving to Node #0,1
Current State: 53:[71, 53, 72], Operations: ['77-5=72']
Exploring Operation: 72-71=1, Resulting Numbers: [53, 1]
Generated Node #0,1,1: 53:[53, 1] Operation: 72-71=1
Moving to Node #0,1,1
Current State: 53:[53, 1], Operations: ['77-5=72', '72-71=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
26,
10,
76,
47
] | 65 | [
"26+10=36",
"76-47=29",
"36+29=65"
] | Current State: 65:[26, 10, 76, 47], Operations: []
Exploring Operation: 26+10=36, Resulting Numbers: [76, 47, 36]
Generated Node #2: [76, 47, 36] from Operation: 26+10=36
Current State: 65:[76, 47, 36], Operations: ['26+10=36']
Exploring Operation: 76-47=29, Resulting Numbers: [36, 29]
Generated Node #3: [36, 29] from Operation: 76-47=29
Current State: 65:[36, 29], Operations: ['26+10=36', '76-47=29']
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[26, 10, 76, 47], Operations: []
Exploring Operation: 26+47=73, Resulting Numbers: [10, 76, 73]
Generated Node #0,0: 65:[10, 76, 73] Operation: 26+47=73
Exploring Operation: 47-26=21, Resulting Numbers: [10, 76, 21]
Generated Node #0,1: 65:[10, 76, 21] Operation: 47-26=21
Moving to Node #0,0
Current State: 65:[10, 76, 73], Operations: ['26+47=73']
Exploring Operation: 76-73=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 65:[10, 3] Operation: 76-73=3
Exploring Operation: 76-10=66, Resulting Numbers: [73, 66]
Generated Node #0,0,1: 65:[73, 66] Operation: 76-10=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[10, 3], Operations: ['26+47=73', '76-73=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 10-3=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,1
Current State: 65:[73, 66], Operations: ['26+47=73', '76-10=66']
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 73+66=139, Resulting Numbers: [139]
139,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 65:[10, 76, 21], Operations: ['47-26=21']
Exploring Operation: 21-10=11, Resulting Numbers: [76, 11]
Generated Node #0,1,0: 65:[76, 11] Operation: 21-10=11
Exploring Operation: 76-10=66, Resulting Numbers: [21, 66]
Generated Node #0,1,1: 65:[21, 66] Operation: 76-10=66
Moving to Node #0,1,1
Current State: 65:[21, 66], Operations: ['47-26=21', '76-10=66']
Exploring Operation: 21+66=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[76, 11], Operations: ['47-26=21', '21-10=11']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[26, 10, 76, 47], Operations: []
Exploring Operation: 47-26=21, Resulting Numbers: [10, 76, 21]
Generated Node #0,1: 65:[10, 76, 21] Operation: 47-26=21
Moving to Node #0,1
Current State: 65:[10, 76, 21], Operations: ['47-26=21']
Exploring Operation: 21-10=11, Resulting Numbers: [76, 11]
Generated Node #0,1,0: 65:[76, 11] Operation: 21-10=11
Moving to Node #0,1,0
Current State: 65:[76, 11], Operations: ['47-26=21', '21-10=11']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
80,
46,
40,
45
] | 29 | [
"80-46=34",
"45-40=5",
"34-5=29"
] | Current State: 29:[80, 46, 40, 45], Operations: []
Exploring Operation: 80-46=34, Resulting Numbers: [40, 45, 34]
Generated Node #2: [40, 45, 34] from Operation: 80-46=34
Current State: 29:[40, 45, 34], Operations: ['80-46=34']
Exploring Operation: 45-40=5, Resulting Numbers: [34, 5]
Generated Node #3: [34, 5] from Operation: 45-40=5
Current State: 29:[34, 5], Operations: ['80-46=34', '45-40=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[80, 46, 40, 45], Operations: []
Exploring Operation: 80-46=34, Resulting Numbers: [40, 45, 34]
Generated Node #0,0: 29:[40, 45, 34] Operation: 80-46=34
Exploring Operation: 80/40=2, Resulting Numbers: [46, 45, 2]
Generated Node #0,1: 29:[46, 45, 2] Operation: 80/40=2
Exploring Operation: 80-40=40, Resulting Numbers: [46, 45, 40]
Generated Node #0,2: 29:[46, 45, 40] Operation: 80-40=40
Exploring Operation: 46-40=6, Resulting Numbers: [80, 45, 6]
Generated Node #0,3: 29:[80, 45, 6] Operation: 46-40=6
Exploring Operation: 80-45=35, Resulting Numbers: [46, 40, 35]
Generated Node #0,4: 29:[46, 40, 35] Operation: 80-45=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[40, 45, 34], Operations: ['80-46=34']
Exploring Operation: 40+34=74, Resulting Numbers: [45, 74]
Generated Node #0,0,0: 29:[45, 74] Operation: 40+34=74
Exploring Operation: 45-34=11, Resulting Numbers: [40, 11]
Generated Node #0,0,1: 29:[40, 11] Operation: 45-34=11
Exploring Operation: 40-34=6, Resulting Numbers: [45, 6]
Generated Node #0,0,2: 29:[45, 6] Operation: 40-34=6
Exploring Operation: 40+45=85, Resulting Numbers: [34, 85]
Generated Node #0,0,3: 29:[34, 85] Operation: 40+45=85
Exploring Operation: 45-40=5, Resulting Numbers: [34, 5]
Generated Node #0,0,4: 29:[34, 5] Operation: 45-40=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[40, 11], Operations: ['80-46=34', '45-34=11']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[80, 46, 40, 45], Operations: []
Exploring Operation: 80-46=34, Resulting Numbers: [40, 45, 34]
Generated Node #0,0: 29:[40, 45, 34] Operation: 80-46=34
Moving to Node #0,0
Current State: 29:[40, 45, 34], Operations: ['80-46=34']
Exploring Operation: 45-34=11, Resulting Numbers: [40, 11]
Generated Node #0,0,1: 29:[40, 11] Operation: 45-34=11
Moving to Node #0,0,1
Current State: 29:[40, 11], Operations: ['80-46=34', '45-34=11']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
5,
73,
24,
30
] | 17 | [
"5*24=120",
"73+30=103",
"120-103=17"
] | Current State: 17:[5, 73, 24, 30], Operations: []
Exploring Operation: 5*24=120, Resulting Numbers: [73, 30, 120]
Generated Node #2: [73, 30, 120] from Operation: 5*24=120
Current State: 17:[73, 30, 120], Operations: ['5*24=120']
Exploring Operation: 73+30=103, Resulting Numbers: [120, 103]
Generated Node #3: [120, 103] from Operation: 73+30=103
Current State: 17:[120, 103], Operations: ['5*24=120', '73+30=103']
Exploring Operation: 120-103=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[5, 73, 24, 30], Operations: []
Exploring Operation: 73-30=43, Resulting Numbers: [5, 24, 43]
Generated Node #0,0: 17:[5, 24, 43] Operation: 73-30=43
Exploring Operation: 73-5=68, Resulting Numbers: [24, 30, 68]
Generated Node #0,1: 17:[24, 30, 68] Operation: 73-5=68
Exploring Operation: 73-24=49, Resulting Numbers: [5, 30, 49]
Generated Node #0,2: 17:[5, 30, 49] Operation: 73-24=49
Moving to Node #0,0
Current State: 17:[5, 24, 43], Operations: ['73-30=43']
Exploring Operation: 24-5=19, Resulting Numbers: [43, 19]
Generated Node #0,0,0: 17:[43, 19] Operation: 24-5=19
Exploring Operation: 43-24=19, Resulting Numbers: [5, 19]
Generated Node #0,0,1: 17:[5, 19] Operation: 43-24=19
Exploring Operation: 43-5=38, Resulting Numbers: [24, 38]
Generated Node #0,0,2: 17:[24, 38] Operation: 43-5=38
Moving to Node #0,2
Current State: 17:[5, 30, 49], Operations: ['73-24=49']
Exploring Operation: 30-5=25, Resulting Numbers: [49, 25]
Generated Node #0,2,0: 17:[49, 25] Operation: 30-5=25
Exploring Operation: 49-5=44, Resulting Numbers: [30, 44]
Generated Node #0,2,1: 17:[30, 44] Operation: 49-5=44
Exploring Operation: 49-30=19, Resulting Numbers: [5, 19]
Generated Node #0,2,2: 17:[5, 19] Operation: 49-30=19
Moving to Node #0,1
Current State: 17:[24, 30, 68], Operations: ['73-5=68']
Exploring Operation: 68-30=38, Resulting Numbers: [24, 38]
Generated Node #0,1,0: 17:[24, 38] Operation: 68-30=38
Exploring Operation: 68-24=44, Resulting Numbers: [30, 44]
Generated Node #0,1,1: 17:[30, 44] Operation: 68-24=44
Exploring Operation: 30-24=6, Resulting Numbers: [68, 6]
Generated Node #0,1,2: 17:[68, 6] Operation: 30-24=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[24, 38], Operations: ['73-5=68', '68-30=38']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 24*38=912, Resulting Numbers: [912]
912,17 unequal: No Solution
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[30, 44], Operations: ['73-5=68', '68-24=44']
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,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,2
Current State: 17:[68, 6], Operations: ['73-5=68', '30-24=6']
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,17 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,17 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: 17:[5, 19], Operations: ['73-30=43', '43-24=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,17 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[5, 19], Operations: ['73-24=49', '49-30=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,17 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[24, 38], Operations: ['73-30=43', '43-5=38']
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 24*38=912, Resulting Numbers: [912]
912,17 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[43, 19], Operations: ['73-30=43', '24-5=19']
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,17 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[30, 44], Operations: ['73-24=49', '49-5=44']
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,17 unequal: No Solution
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[49, 25], Operations: ['73-24=49', '30-5=25']
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,17 unequal: No Solution
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,17 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
1,
2,
83,
90
] | 76 | [
"1*2=2",
"83*2=166",
"166-90=76"
] | Current State: 76:[1, 2, 83, 90], Operations: []
Exploring Operation: 1*2=2, Resulting Numbers: [83, 90, 2]
Generated Node #2: [83, 90, 2] from Operation: 1*2=2
Current State: 76:[83, 90, 2], Operations: ['1*2=2']
Exploring Operation: 83*2=166, Resulting Numbers: [90, 166]
Generated Node #3: [90, 166] from Operation: 83*2=166
Current State: 76:[90, 166], Operations: ['1*2=2', '83*2=166']
Exploring Operation: 166-90=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[1, 2, 83, 90], Operations: []
Exploring Operation: 90-1=89, Resulting Numbers: [2, 83, 89]
Generated Node #0,0: 76:[2, 83, 89] Operation: 90-1=89
Exploring Operation: 90/2=45, Resulting Numbers: [1, 83, 45]
Generated Node #0,1: 76:[1, 83, 45] Operation: 90/2=45
Exploring Operation: 83-2=81, Resulting Numbers: [1, 90, 81]
Generated Node #0,2: 76:[1, 90, 81] Operation: 83-2=81
Exploring Operation: 90-83=7, Resulting Numbers: [1, 2, 7]
Generated Node #0,3: 76:[1, 2, 7] Operation: 90-83=7
Exploring Operation: 83-1=82, Resulting Numbers: [2, 90, 82]
Generated Node #0,4: 76:[2, 90, 82] Operation: 83-1=82
Moving to Node #0,3
Current State: 76:[1, 2, 7], Operations: ['90-83=7']
Exploring Operation: 7-1=6, Resulting Numbers: [2, 6]
Generated Node #0,3,0: 76:[2, 6] Operation: 7-1=6
Exploring Operation: 7-2=5, Resulting Numbers: [1, 5]
Generated Node #0,3,1: 76:[1, 5] Operation: 7-2=5
Exploring Operation: 2/1=2, Resulting Numbers: [7, 2]
Generated Node #0,3,2: 76:[7, 2] Operation: 2/1=2
Exploring Operation: 1*2=2, Resulting Numbers: [7, 2]
Generated Node #0,3,3: 76:[7, 2] Operation: 1*2=2
Exploring Operation: 1*7=7, Resulting Numbers: [2, 7]
Generated Node #0,3,4: 76:[2, 7] Operation: 1*7=7
Moving to Node #0,1
Current State: 76:[1, 83, 45], Operations: ['90/2=45']
Exploring Operation: 83-1=82, Resulting Numbers: [45, 82]
Generated Node #0,1,0: 76:[45, 82] Operation: 83-1=82
Exploring Operation: 83/1=83, Resulting Numbers: [45, 83]
Generated Node #0,1,1: 76:[45, 83] Operation: 83/1=83
Exploring Operation: 83-45=38, Resulting Numbers: [1, 38]
Generated Node #0,1,2: 76:[1, 38] Operation: 83-45=38
Exploring Operation: 1*83=83, Resulting Numbers: [45, 83]
Generated Node #0,1,3: 76:[45, 83] Operation: 1*83=83
Exploring Operation: 45-1=44, Resulting Numbers: [83, 44]
Generated Node #0,1,4: 76:[83, 44] Operation: 45-1=44
Moving to Node #0,0
Current State: 76:[2, 83, 89], Operations: ['90-1=89']
Exploring Operation: 2+89=91, Resulting Numbers: [83, 91]
Generated Node #0,0,0: 76:[83, 91] Operation: 2+89=91
Exploring Operation: 89-83=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 76:[2, 6] Operation: 89-83=6
Exploring Operation: 83-2=81, Resulting Numbers: [89, 81]
Generated Node #0,0,2: 76:[89, 81] Operation: 83-2=81
Exploring Operation: 89-2=87, Resulting Numbers: [83, 87]
Generated Node #0,0,3: 76:[83, 87] Operation: 89-2=87
Exploring Operation: 2+83=85, Resulting Numbers: [89, 85]
Generated Node #0,0,4: 76:[89, 85] Operation: 2+83=85
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[2, 6], Operations: ['90-1=89', '89-83=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,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:[89, 81], Operations: ['90-1=89', '83-2=81']
Exploring Operation: 89*81=7209, Resulting Numbers: [7209]
7209,76 unequal: No Solution
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 89+81=170, Resulting Numbers: [170]
170,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 76:[83, 87], Operations: ['90-1=89', '89-2=87']
Exploring Operation: 87-83=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 83+87=170, Resulting Numbers: [170]
170,76 unequal: No Solution
Exploring Operation: 83*87=7221, Resulting Numbers: [7221]
7221,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,0
Current State: 76:[83, 91], Operations: ['90-1=89', '2+89=91']
Exploring Operation: 83*91=7553, Resulting Numbers: [7553]
7553,76 unequal: No Solution
Exploring Operation: 91-83=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 83+91=174, Resulting Numbers: [174]
174,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,4
Current State: 76:[89, 85], Operations: ['90-1=89', '2+83=85']
Exploring Operation: 89-85=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 89*85=7565, Resulting Numbers: [7565]
7565,76 unequal: No Solution
Exploring Operation: 89+85=174, Resulting Numbers: [174]
174,76 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: 76:[1, 90, 81], Operations: ['83-2=81']
Exploring Operation: 90-1=89, Resulting Numbers: [81, 89]
Generated Node #0,2,0: 76:[81, 89] Operation: 90-1=89
Exploring Operation: 1*90=90, Resulting Numbers: [81, 90]
Generated Node #0,2,1: 76:[81, 90] Operation: 1*90=90
Exploring Operation: 81-1=80, Resulting Numbers: [90, 80]
Generated Node #0,2,2: 76:[90, 80] Operation: 81-1=80
Exploring Operation: 90/1=90, Resulting Numbers: [81, 90]
Generated Node #0,2,3: 76:[81, 90] Operation: 90/1=90
Exploring Operation: 90-81=9, Resulting Numbers: [1, 9]
Generated Node #0,2,4: 76:[1, 9] Operation: 90-81=9
Moving to Node #0,4
Current State: 76:[2, 90, 82], Operations: ['83-1=82']
Exploring Operation: 82/2=41, Resulting Numbers: [90, 41]
Generated Node #0,4,0: 76:[90, 41] Operation: 82/2=41
Exploring Operation: 82-2=80, Resulting Numbers: [90, 80]
Generated Node #0,4,1: 76:[90, 80] Operation: 82-2=80
Exploring Operation: 90/2=45, Resulting Numbers: [82, 45]
Generated Node #0,4,2: 76:[82, 45] Operation: 90/2=45
Exploring Operation: 90-82=8, Resulting Numbers: [2, 8]
Generated Node #0,4,3: 76:[2, 8] Operation: 90-82=8
Exploring Operation: 90-2=88, Resulting Numbers: [82, 88]
Generated Node #0,4,4: 76:[82, 88] Operation: 90-2=88
Moving to Node #0,1,2
Current State: 76:[1, 38], Operations: ['90/2=45', '83-45=38']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[2, 6], Operations: ['90-83=7', '7-1=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[1, 5], Operations: ['90-83=7', '7-2=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[7, 2], Operations: ['90-83=7', '2/1=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[2, 7], Operations: ['90-83=7', '1*7=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[7, 2], Operations: ['90-83=7', '1*2=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Moving to Node #0,4,3
Current State: 76:[2, 8], Operations: ['83-1=82', '90-82=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Moving to Node #0,2,4
Current State: 76:[1, 9], Operations: ['83-2=81', '90-81=9']
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[45, 82], Operations: ['90/2=45', '83-1=82']
Exploring Operation: 45*82=3690, Resulting Numbers: [3690]
3690,76 unequal: No Solution
Exploring Operation: 45+82=127, Resulting Numbers: [127]
127,76 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Moving to Node #0,1,4
Current State: 76:[83, 44], Operations: ['90/2=45', '45-1=44']
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 83*44=3652, Resulting Numbers: [3652]
3652,76 unequal: No Solution
Exploring Operation: 83+44=127, Resulting Numbers: [127]
127,76 unequal: No Solution
Moving to Node #0,4,2
Current State: 76:[82, 45], Operations: ['83-1=82', '90/2=45']
Exploring Operation: 82+45=127, Resulting Numbers: [127]
127,76 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 82*45=3690, Resulting Numbers: [3690]
3690,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[45, 83], Operations: ['90/2=45', '1*83=83']
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,76 unequal: No Solution
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,76 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[45, 83], Operations: ['90/2=45', '83/1=83']
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,76 unequal: No Solution
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,76 unequal: No Solution
Moving to Node #0,4,0
Current State: 76:[90, 41], Operations: ['83-1=82', '82/2=41']
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 90+41=131, Resulting Numbers: [131]
131,76 unequal: No Solution
Exploring Operation: 90*41=3690, Resulting Numbers: [3690]
3690,76 unequal: No Solution
Moving to Node #0,4,4
Current State: 76:[82, 88], Operations: ['83-1=82', '90-2=88']
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 82+88=170, Resulting Numbers: [170]
170,76 unequal: No Solution
Exploring Operation: 82*88=7216, Resulting Numbers: [7216]
7216,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[90, 80], Operations: ['83-2=81', '81-1=80']
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 90+80=170, Resulting Numbers: [170]
170,76 unequal: No Solution
Exploring Operation: 90*80=7200, Resulting Numbers: [7200]
7200,76 unequal: No Solution
Moving to Node #0,4,1
Current State: 76:[90, 80], Operations: ['83-1=82', '82-2=80']
Exploring Operation: 90+80=170, Resulting Numbers: [170]
170,76 unequal: No Solution
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 90*80=7200, Resulting Numbers: [7200]
7200,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[81, 89], Operations: ['83-2=81', '90-1=89']
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 81*89=7209, Resulting Numbers: [7209]
7209,76 unequal: No Solution
Exploring Operation: 81+89=170, Resulting Numbers: [170]
170,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[81, 90], Operations: ['83-2=81', '90/1=90']
Exploring Operation: 81*90=7290, Resulting Numbers: [7290]
7290,76 unequal: No Solution
Exploring Operation: 81+90=171, Resulting Numbers: [171]
171,76 unequal: No Solution
Exploring Operation: 90-81=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[81, 90], Operations: ['83-2=81', '1*90=90']
Exploring Operation: 81+90=171, Resulting Numbers: [171]
171,76 unequal: No Solution
Exploring Operation: 90-81=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 81*90=7290, Resulting Numbers: [7290]
7290,76 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
92,
81,
81,
93
] | 92 | [
"81-81=0",
"93*0=0",
"92+0=92"
] | Current State: 92:[92, 81, 81, 93], Operations: []
Exploring Operation: 81-81=0, Resulting Numbers: [92, 93, 0]
Generated Node #2: [92, 93, 0] from Operation: 81-81=0
Current State: 92:[92, 93, 0], Operations: ['81-81=0']
Exploring Operation: 93*0=0, Resulting Numbers: [92, 0]
Generated Node #3: [92, 0] from Operation: 93*0=0
Current State: 92:[92, 0], Operations: ['81-81=0', '93*0=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[92, 81, 81, 93], Operations: []
Exploring Operation: 81/81=1, Resulting Numbers: [92, 93, 1]
Generated Node #0,0: 92:[92, 93, 1] Operation: 81/81=1
Moving to Node #0,0
Current State: 92:[92, 93, 1], Operations: ['81/81=1']
Exploring Operation: 93-1=92, Resulting Numbers: [92, 92]
Generated Node #0,0,0: 92:[92, 92] Operation: 93-1=92
Moving to Node #0,0,0
Current State: 92:[92, 92], Operations: ['81/81=1', '93-1=92']
Exploring Operation: 92/92=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
67,
30,
33
] | 22 | [
"33-30=3",
"15*3=45",
"67-45=22"
] | Current State: 22:[15, 67, 30, 33], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [15, 67, 3]
Generated Node #2: [15, 67, 3] from Operation: 33-30=3
Current State: 22:[15, 67, 3], Operations: ['33-30=3']
Exploring Operation: 15*3=45, Resulting Numbers: [67, 45]
Generated Node #3: [67, 45] from Operation: 15*3=45
Current State: 22:[67, 45], Operations: ['33-30=3', '15*3=45']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[15, 67, 30, 33], Operations: []
Exploring Operation: 67-33=34, Resulting Numbers: [15, 30, 34]
Generated Node #0,0: 22:[15, 30, 34] Operation: 67-33=34
Exploring Operation: 33-30=3, Resulting Numbers: [15, 67, 3]
Generated Node #0,1: 22:[15, 67, 3] Operation: 33-30=3
Exploring Operation: 30/15=2, Resulting Numbers: [67, 33, 2]
Generated Node #0,2: 22:[67, 33, 2] Operation: 30/15=2
Exploring Operation: 67-30=37, Resulting Numbers: [15, 33, 37]
Generated Node #0,3: 22:[15, 33, 37] Operation: 67-30=37
Exploring Operation: 67-15=52, Resulting Numbers: [30, 33, 52]
Generated Node #0,4: 22:[30, 33, 52] Operation: 67-15=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[15, 30, 34], Operations: ['67-33=34']
Exploring Operation: 30-15=15, Resulting Numbers: [34, 15]
Generated Node #0,0,0: 22:[34, 15] Operation: 30-15=15
Exploring Operation: 15+30=45, Resulting Numbers: [34, 45]
Generated Node #0,0,1: 22:[34, 45] Operation: 15+30=45
Exploring Operation: 34-30=4, Resulting Numbers: [15, 4]
Generated Node #0,0,2: 22:[15, 4] Operation: 34-30=4
Exploring Operation: 30/15=2, Resulting Numbers: [34, 2]
Generated Node #0,0,3: 22:[34, 2] Operation: 30/15=2
Exploring Operation: 34-15=19, Resulting Numbers: [30, 19]
Generated Node #0,0,4: 22:[30, 19] Operation: 34-15=19
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 22:[15, 4], Operations: ['67-33=34', '34-30=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 22:[30, 19], Operations: ['67-33=34', '34-15=19']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 22:[34, 2], Operations: ['67-33=34', '30/15=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,22 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[34, 15], Operations: ['67-33=34', '30-15=15']
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,22 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[34, 45], Operations: ['67-33=34', '15+30=45']
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 34*45=1530, Resulting Numbers: [1530]
1530,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[15, 33, 37], Operations: ['67-30=37']
Exploring Operation: 15+37=52, Resulting Numbers: [33, 52]
Generated Node #0,3,0: 22:[33, 52] Operation: 15+37=52
Exploring Operation: 33-15=18, Resulting Numbers: [37, 18]
Generated Node #0,3,1: 22:[37, 18] Operation: 33-15=18
Exploring Operation: 37-33=4, Resulting Numbers: [15, 4]
Generated Node #0,3,2: 22:[15, 4] Operation: 37-33=4
Exploring Operation: 15+33=48, Resulting Numbers: [37, 48]
Generated Node #0,3,3: 22:[37, 48] Operation: 15+33=48
Exploring Operation: 37-15=22, Resulting Numbers: [33, 22]
Generated Node #0,3,4: 22:[33, 22] Operation: 37-15=22
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 22:[15, 4], Operations: ['67-30=37', '37-33=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 22:[33, 22], Operations: ['67-30=37', '37-15=22']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 22:[37, 18], Operations: ['67-30=37', '33-15=18']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 22:[33, 52], Operations: ['67-30=37', '15+37=52']
Exploring Operation: 33*52=1716, Resulting Numbers: [1716]
1716,22 unequal: No Solution
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 33+52=85, Resulting Numbers: [85]
85,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 22:[37, 48], Operations: ['67-30=37', '15+33=48']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 37*48=1776, Resulting Numbers: [1776]
1776,22 unequal: No Solution
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 22:[30, 33, 52], Operations: ['67-15=52']
Exploring Operation: 52-33=19, Resulting Numbers: [30, 19]
Generated Node #0,4,0: 22:[30, 19] Operation: 52-33=19
Exploring Operation: 30+33=63, Resulting Numbers: [52, 63]
Generated Node #0,4,1: 22:[52, 63] Operation: 30+33=63
Exploring Operation: 52-30=22, Resulting Numbers: [33, 22]
Generated Node #0,4,2: 22:[33, 22] Operation: 52-30=22
Exploring Operation: 30+52=82, Resulting Numbers: [33, 82]
Generated Node #0,4,3: 22:[33, 82] Operation: 30+52=82
Exploring Operation: 33-30=3, Resulting Numbers: [52, 3]
Generated Node #0,4,4: 22:[52, 3] Operation: 33-30=3
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 22:[30, 19], Operations: ['67-15=52', '52-33=19']
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,22 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 22:[33, 22], Operations: ['67-15=52', '52-30=22']
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,22 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 22:[52, 3], Operations: ['67-15=52', '33-30=3']
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,22 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 22:[52, 63], Operations: ['67-15=52', '30+33=63']
Exploring Operation: 52*63=3276, Resulting Numbers: [3276]
3276,22 unequal: No Solution
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 52+63=115, Resulting Numbers: [115]
115,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 22:[33, 82], Operations: ['67-15=52', '30+52=82']
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 33*82=2706, Resulting Numbers: [2706]
2706,22 unequal: No Solution
Exploring Operation: 33+82=115, Resulting Numbers: [115]
115,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[15, 67, 3], Operations: ['33-30=3']
Exploring Operation: 67-15=52, Resulting Numbers: [3, 52]
Generated Node #0,1,0: 22:[3, 52] Operation: 67-15=52
Exploring Operation: 15+3=18, Resulting Numbers: [67, 18]
Generated Node #0,1,1: 22:[67, 18] Operation: 15+3=18
Exploring Operation: 15-3=12, Resulting Numbers: [67, 12]
Generated Node #0,1,2: 22:[67, 12] Operation: 15-3=12
Exploring Operation: 15/3=5, Resulting Numbers: [67, 5]
Generated Node #0,1,3: 22:[67, 5] Operation: 15/3=5
Exploring Operation: 67-3=64, Resulting Numbers: [15, 64]
Generated Node #0,1,4: 22:[15, 64] Operation: 67-3=64
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[3, 52], Operations: ['33-30=3', '67-15=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,22 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[67, 12], Operations: ['33-30=3', '15-3=12']
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 67*12=804, Resulting Numbers: [804]
804,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 22:[15, 64], Operations: ['33-30=3', '67-3=64']
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 22:[67, 5], Operations: ['33-30=3', '15/3=5']
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,22 unequal: No Solution
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[67, 18], Operations: ['33-30=3', '15+3=18']
Exploring Operation: 67*18=1206, Resulting Numbers: [1206]
1206,22 unequal: No Solution
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[67, 33, 2], Operations: ['30/15=2']
Exploring Operation: 33-2=31, Resulting Numbers: [67, 31]
Generated Node #0,2,0: 22:[67, 31] Operation: 33-2=31
Exploring Operation: 67+2=69, Resulting Numbers: [33, 69]
Generated Node #0,2,1: 22:[33, 69] Operation: 67+2=69
Exploring Operation: 33+2=35, Resulting Numbers: [67, 35]
Generated Node #0,2,2: 22:[67, 35] Operation: 33+2=35
Exploring Operation: 67-2=65, Resulting Numbers: [33, 65]
Generated Node #0,2,3: 22:[33, 65] Operation: 67-2=65
Exploring Operation: 67-33=34, Resulting Numbers: [2, 34]
Generated Node #0,2,4: 22:[2, 34] Operation: 67-33=34
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 22:[2, 34], Operations: ['30/15=2', '67-33=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,22 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[67, 31], Operations: ['30/15=2', '33-2=31']
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,22 unequal: No Solution
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,22 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 22:[33, 65], Operations: ['30/15=2', '67-2=65']
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,22 unequal: No Solution
Exploring Operation: 33*65=2145, Resulting Numbers: [2145]
2145,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[33, 69], Operations: ['30/15=2', '67+2=69']
Exploring Operation: 33+69=102, Resulting Numbers: [102]
102,22 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 33*69=2277, Resulting Numbers: [2277]
2277,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 22:[67, 35], Operations: ['30/15=2', '33+2=35']
Exploring Operation: 67*35=2345, Resulting Numbers: [2345]
2345,22 unequal: No Solution
Exploring Operation: 67+35=102, Resulting Numbers: [102]
102,22 unequal: No Solution
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
23,
92,
7,
51
] | 71 | [
"23+92=115",
"51-7=44",
"115-44=71"
] | Current State: 71:[23, 92, 7, 51], Operations: []
Exploring Operation: 23+92=115, Resulting Numbers: [7, 51, 115]
Generated Node #2: [7, 51, 115] from Operation: 23+92=115
Current State: 71:[7, 51, 115], Operations: ['23+92=115']
Exploring Operation: 51-7=44, Resulting Numbers: [115, 44]
Generated Node #3: [115, 44] from Operation: 51-7=44
Current State: 71:[115, 44], Operations: ['23+92=115', '51-7=44']
Exploring Operation: 115-44=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[23, 92, 7, 51], Operations: []
Exploring Operation: 92-7=85, Resulting Numbers: [23, 51, 85]
Generated Node #0,0: 71:[23, 51, 85] Operation: 92-7=85
Exploring Operation: 23+7=30, Resulting Numbers: [92, 51, 30]
Generated Node #0,1: 71:[92, 51, 30] Operation: 23+7=30
Exploring Operation: 7+51=58, Resulting Numbers: [23, 92, 58]
Generated Node #0,2: 71:[23, 92, 58] Operation: 7+51=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[23, 51, 85], Operations: ['92-7=85']
Exploring Operation: 23+51=74, Resulting Numbers: [85, 74]
Generated Node #0,0,0: 71:[85, 74] Operation: 23+51=74
Exploring Operation: 85-23=62, Resulting Numbers: [51, 62]
Generated Node #0,0,1: 71:[51, 62] Operation: 85-23=62
Exploring Operation: 51-23=28, Resulting Numbers: [85, 28]
Generated Node #0,0,2: 71:[85, 28] Operation: 51-23=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[85, 74], Operations: ['92-7=85', '23+51=74']
Exploring Operation: 85+74=159, Resulting Numbers: [159]
159,71 unequal: No Solution
Exploring Operation: 85*74=6290, Resulting Numbers: [6290]
6290,71 unequal: No Solution
Exploring Operation: 85-74=11, Resulting Numbers: [11]
11,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[51, 62], Operations: ['92-7=85', '85-23=62']
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 51+62=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 51*62=3162, Resulting Numbers: [3162]
3162,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[85, 28], Operations: ['92-7=85', '51-23=28']
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 85*28=2380, Resulting Numbers: [2380]
2380,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[92, 51, 30], Operations: ['23+7=30']
Exploring Operation: 92-51=41, Resulting Numbers: [30, 41]
Generated Node #0,1,0: 71:[30, 41] Operation: 92-51=41
Exploring Operation: 51+30=81, Resulting Numbers: [92, 81]
Generated Node #0,1,1: 71:[92, 81] Operation: 51+30=81
Exploring Operation: 92-30=62, Resulting Numbers: [51, 62]
Generated Node #0,1,2: 71:[51, 62] Operation: 92-30=62
Moving to Node #0,1,2
Current State: 71:[51, 62], Operations: ['23+7=30', '92-30=62']
Exploring Operation: 51*62=3162, Resulting Numbers: [3162]
3162,71 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 51+62=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[92, 81], Operations: ['23+7=30', '51+30=81']
Exploring Operation: 92+81=173, Resulting Numbers: [173]
173,71 unequal: No Solution
Exploring Operation: 92*81=7452, Resulting Numbers: [7452]
7452,71 unequal: No Solution
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[30, 41], Operations: ['23+7=30', '92-51=41']
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,71 unequal: No Solution
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[23, 92, 7, 51], Operations: []
Exploring Operation: 23+7=30, Resulting Numbers: [92, 51, 30]
Generated Node #0,1: 71:[92, 51, 30] Operation: 23+7=30
Moving to Node #0,1
Current State: 71:[92, 51, 30], Operations: ['23+7=30']
Exploring Operation: 92-51=41, Resulting Numbers: [30, 41]
Generated Node #0,1,0: 71:[30, 41] Operation: 92-51=41
Moving to Node #0,1,0
Current State: 71:[30, 41], Operations: ['23+7=30', '92-51=41']
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
27,
37,
29,
75
] | 36 | [
"37-27=10",
"75-29=46",
"46-10=36"
] | Current State: 36:[27, 37, 29, 75], Operations: []
Exploring Operation: 37-27=10, Resulting Numbers: [29, 75, 10]
Generated Node #2: [29, 75, 10] from Operation: 37-27=10
Current State: 36:[29, 75, 10], Operations: ['37-27=10']
Exploring Operation: 75-29=46, Resulting Numbers: [10, 46]
Generated Node #3: [10, 46] from Operation: 75-29=46
Current State: 36:[10, 46], Operations: ['37-27=10', '75-29=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[27, 37, 29, 75], Operations: []
Exploring Operation: 75-37=38, Resulting Numbers: [27, 29, 38]
Generated Node #0,0: 36:[27, 29, 38] Operation: 75-37=38
Moving to Node #0,0
Current State: 36:[27, 29, 38], Operations: ['75-37=38']
Exploring Operation: 29-27=2, Resulting Numbers: [38, 2]
Generated Node #0,0,0: 36:[38, 2] Operation: 29-27=2
Moving to Node #0,0,0
Current State: 36:[38, 2], Operations: ['75-37=38', '29-27=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[27, 37, 29, 75], Operations: []
Exploring Operation: 75-37=38, Resulting Numbers: [27, 29, 38]
Generated Node #0,0: 36:[27, 29, 38] Operation: 75-37=38
Moving to Node #0,0
Current State: 36:[27, 29, 38], Operations: ['75-37=38']
Exploring Operation: 29-27=2, Resulting Numbers: [38, 2]
Generated Node #0,0,0: 36:[38, 2] Operation: 29-27=2
Moving to Node #0,0,0
Current State: 36:[38, 2], Operations: ['75-37=38', '29-27=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
89,
24,
11,
95
] | 42 | [
"95-89=6",
"11*6=66",
"66-24=42"
] | Current State: 42:[89, 24, 11, 95], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [24, 11, 6]
Generated Node #2: [24, 11, 6] from Operation: 95-89=6
Current State: 42:[24, 11, 6], Operations: ['95-89=6']
Exploring Operation: 11*6=66, Resulting Numbers: [24, 66]
Generated Node #3: [24, 66] from Operation: 11*6=66
Current State: 42:[24, 66], Operations: ['95-89=6', '11*6=66']
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[89, 24, 11, 95], Operations: []
Exploring Operation: 89-24=65, Resulting Numbers: [11, 95, 65]
Generated Node #0,0: 42:[11, 95, 65] Operation: 89-24=65
Exploring Operation: 95-89=6, Resulting Numbers: [24, 11, 6]
Generated Node #0,1: 42:[24, 11, 6] Operation: 95-89=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[24, 11, 6], Operations: ['95-89=6']
Exploring Operation: 24-11=13, Resulting Numbers: [6, 13]
Generated Node #0,1,0: 42:[6, 13] Operation: 24-11=13
Exploring Operation: 24/6=4, Resulting Numbers: [11, 4]
Generated Node #0,1,1: 42:[11, 4] Operation: 24/6=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[6, 13], Operations: ['95-89=6', '24-11=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[11, 4], Operations: ['95-89=6', '24/6=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,42 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: 42:[11, 95, 65], Operations: ['89-24=65']
Exploring Operation: 95-11=84, Resulting Numbers: [65, 84]
Generated Node #0,0,0: 42:[65, 84] Operation: 95-11=84
Exploring Operation: 95-65=30, Resulting Numbers: [11, 30]
Generated Node #0,0,1: 42:[11, 30] Operation: 95-65=30
Moving to Node #0,0,1
Current State: 42:[11, 30], Operations: ['89-24=65', '95-65=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[65, 84], Operations: ['89-24=65', '95-11=84']
Exploring Operation: 65+84=149, Resulting Numbers: [149]
149,42 unequal: No Solution
Exploring Operation: 84-65=19, Resulting Numbers: [19]
19,42 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 |
[
10,
75,
7,
8
] | 29 | [
"10+75=85",
"7*8=56",
"85-56=29"
] | Current State: 29:[10, 75, 7, 8], Operations: []
Exploring Operation: 10+75=85, Resulting Numbers: [7, 8, 85]
Generated Node #2: [7, 8, 85] from Operation: 10+75=85
Current State: 29:[7, 8, 85], Operations: ['10+75=85']
Exploring Operation: 7*8=56, Resulting Numbers: [85, 56]
Generated Node #3: [85, 56] from Operation: 7*8=56
Current State: 29:[85, 56], Operations: ['10+75=85', '7*8=56']
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[10, 75, 7, 8], Operations: []
Exploring Operation: 10+7=17, Resulting Numbers: [75, 8, 17]
Generated Node #0,0: 29:[75, 8, 17] Operation: 10+7=17
Exploring Operation: 75-10=65, Resulting Numbers: [7, 8, 65]
Generated Node #0,1: 29:[7, 8, 65] Operation: 75-10=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[75, 8, 17], Operations: ['10+7=17']
Exploring Operation: 75-17=58, Resulting Numbers: [8, 58]
Generated Node #0,0,0: 29:[8, 58] Operation: 75-17=58
Exploring Operation: 75-8=67, Resulting Numbers: [17, 67]
Generated Node #0,0,1: 29:[17, 67] Operation: 75-8=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[8, 58], Operations: ['10+7=17', '75-17=58']
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[17, 67], Operations: ['10+7=17', '75-8=67']
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[7, 8, 65], Operations: ['75-10=65']
Exploring Operation: 7+8=15, Resulting Numbers: [65, 15]
Generated Node #0,1,0: 29:[65, 15] Operation: 7+8=15
Exploring Operation: 65-7=58, Resulting Numbers: [8, 58]
Generated Node #0,1,1: 29:[8, 58] Operation: 65-7=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[65, 15], Operations: ['75-10=65', '7+8=15']
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[8, 58], Operations: ['75-10=65', '65-7=58']
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
93,
91,
72,
28
] | 58 | [
"93-91=2",
"28/2=14",
"72-14=58"
] | Current State: 58:[93, 91, 72, 28], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [72, 28, 2]
Generated Node #2: [72, 28, 2] from Operation: 93-91=2
Current State: 58:[72, 28, 2], Operations: ['93-91=2']
Exploring Operation: 28/2=14, Resulting Numbers: [72, 14]
Generated Node #3: [72, 14] from Operation: 28/2=14
Current State: 58:[72, 14], Operations: ['93-91=2', '28/2=14']
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[93, 91, 72, 28], Operations: []
Exploring Operation: 93-72=21, Resulting Numbers: [91, 28, 21]
Generated Node #0,0: 58:[91, 28, 21] Operation: 93-72=21
Exploring Operation: 91-72=19, Resulting Numbers: [93, 28, 19]
Generated Node #0,1: 58:[93, 28, 19] Operation: 91-72=19
Exploring Operation: 93-91=2, Resulting Numbers: [72, 28, 2]
Generated Node #0,2: 58:[72, 28, 2] Operation: 93-91=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[72, 28, 2], Operations: ['93-91=2']
Exploring Operation: 72-28=44, Resulting Numbers: [2, 44]
Generated Node #0,2,0: 58:[2, 44] Operation: 72-28=44
Exploring Operation: 72/2=36, Resulting Numbers: [28, 36]
Generated Node #0,2,1: 58:[28, 36] Operation: 72/2=36
Exploring Operation: 72-2=70, Resulting Numbers: [28, 70]
Generated Node #0,2,2: 58:[28, 70] Operation: 72-2=70
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[28, 36], Operations: ['93-91=2', '72/2=36']
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 28*36=1008, Resulting Numbers: [1008]
1008,58 unequal: No Solution
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[28, 70], Operations: ['93-91=2', '72-2=70']
Exploring Operation: 28*70=1960, Resulting Numbers: [1960]
1960,58 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 28+70=98, Resulting Numbers: [98]
98,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 58:[2, 44], Operations: ['93-91=2', '72-28=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[91, 28, 21], Operations: ['93-72=21']
Exploring Operation: 91-28=63, Resulting Numbers: [21, 63]
Generated Node #0,0,0: 58:[21, 63] Operation: 91-28=63
Exploring Operation: 91-21=70, Resulting Numbers: [28, 70]
Generated Node #0,0,1: 58:[28, 70] Operation: 91-21=70
Exploring Operation: 28-21=7, Resulting Numbers: [91, 7]
Generated Node #0,0,2: 58:[91, 7] Operation: 28-21=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[21, 63], Operations: ['93-72=21', '91-28=63']
Exploring Operation: 21+63=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,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,1
Current State: 58:[28, 70], Operations: ['93-72=21', '91-21=70']
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 28*70=1960, Resulting Numbers: [1960]
1960,58 unequal: No Solution
Exploring Operation: 28+70=98, Resulting Numbers: [98]
98,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,2
Current State: 58:[91, 7], Operations: ['93-72=21', '28-21=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,58 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[93, 28, 19], Operations: ['91-72=19']
Exploring Operation: 93-19=74, Resulting Numbers: [28, 74]
Generated Node #0,1,0: 58:[28, 74] Operation: 93-19=74
Exploring Operation: 28-19=9, Resulting Numbers: [93, 9]
Generated Node #0,1,1: 58:[93, 9] Operation: 28-19=9
Exploring Operation: 93-28=65, Resulting Numbers: [19, 65]
Generated Node #0,1,2: 58:[19, 65] Operation: 93-28=65
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[28, 74], Operations: ['91-72=19', '93-19=74']
Exploring Operation: 28*74=2072, Resulting Numbers: [2072]
2072,58 unequal: No Solution
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 28+74=102, Resulting Numbers: [102]
102,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 58:[19, 65], Operations: ['91-72=19', '93-28=65']
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 19*65=1235, Resulting Numbers: [1235]
1235,58 unequal: No Solution
Exploring Operation: 19+65=84, Resulting Numbers: [84]
84,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[93, 9], Operations: ['91-72=19', '28-19=9']
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,58 unequal: No Solution
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,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_3 | mult_heuristic |
[
99,
20,
45,
10
] | 66 | [
"20+10=30",
"99*30=2970",
"2970/45=66"
] | Current State: 66:[99, 20, 45, 10], Operations: []
Exploring Operation: 20+10=30, Resulting Numbers: [99, 45, 30]
Generated Node #2: [99, 45, 30] from Operation: 20+10=30
Current State: 66:[99, 45, 30], Operations: ['20+10=30']
Exploring Operation: 99*30=2970, Resulting Numbers: [45, 2970]
Generated Node #3: [45, 2970] from Operation: 99*30=2970
Current State: 66:[45, 2970], Operations: ['20+10=30', '99*30=2970']
Exploring Operation: 2970/45=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[99, 20, 45, 10], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [20, 10, 54]
Generated Node #0,0: 66:[20, 10, 54] Operation: 99-45=54
Moving to Node #0,0
Current State: 66:[20, 10, 54], Operations: ['99-45=54']
Exploring Operation: 54-20=34, Resulting Numbers: [10, 34]
Generated Node #0,0,0: 66:[10, 34] Operation: 54-20=34
Moving to Node #0,0,0
Current State: 66:[10, 34], Operations: ['99-45=54', '54-20=34']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,66 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
73,
18,
58,
11
] | 71 | [
"18+11=29",
"58/29=2",
"73-2=71"
] | Current State: 71:[73, 18, 58, 11], Operations: []
Exploring Operation: 18+11=29, Resulting Numbers: [73, 58, 29]
Generated Node #2: [73, 58, 29] from Operation: 18+11=29
Current State: 71:[73, 58, 29], Operations: ['18+11=29']
Exploring Operation: 58/29=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 58/29=2
Current State: 71:[73, 2], Operations: ['18+11=29', '58/29=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[73, 18, 58, 11], Operations: []
Exploring Operation: 58+11=69, Resulting Numbers: [73, 18, 69]
Generated Node #0,0: 71:[73, 18, 69] Operation: 58+11=69
Exploring Operation: 18+11=29, Resulting Numbers: [73, 58, 29]
Generated Node #0,1: 71:[73, 58, 29] Operation: 18+11=29
Exploring Operation: 18+58=76, Resulting Numbers: [73, 11, 76]
Generated Node #0,2: 71:[73, 11, 76] Operation: 18+58=76
Exploring Operation: 73+11=84, Resulting Numbers: [18, 58, 84]
Generated Node #0,3: 71:[18, 58, 84] Operation: 73+11=84
Exploring Operation: 73-11=62, Resulting Numbers: [18, 58, 62]
Generated Node #0,4: 71:[18, 58, 62] Operation: 73-11=62
Moving to Node #0,0
Current State: 71:[73, 18, 69], Operations: ['58+11=69']
Exploring Operation: 18+69=87, Resulting Numbers: [73, 87]
Generated Node #0,0,0: 71:[73, 87] Operation: 18+69=87
Exploring Operation: 73+18=91, Resulting Numbers: [69, 91]
Generated Node #0,0,1: 71:[69, 91] Operation: 73+18=91
Exploring Operation: 73-69=4, Resulting Numbers: [18, 4]
Generated Node #0,0,2: 71:[18, 4] Operation: 73-69=4
Exploring Operation: 73-18=55, Resulting Numbers: [69, 55]
Generated Node #0,0,3: 71:[69, 55] Operation: 73-18=55
Exploring Operation: 69-18=51, Resulting Numbers: [73, 51]
Generated Node #0,0,4: 71:[73, 51] Operation: 69-18=51
Moving to Node #0,1
Current State: 71:[73, 58, 29], Operations: ['18+11=29']
Exploring Operation: 73-29=44, Resulting Numbers: [58, 44]
Generated Node #0,1,0: 71:[58, 44] Operation: 73-29=44
Exploring Operation: 58+29=87, Resulting Numbers: [73, 87]
Generated Node #0,1,1: 71:[73, 87] Operation: 58+29=87
Exploring Operation: 73+29=102, Resulting Numbers: [58, 102]
Generated Node #0,1,2: 71:[58, 102] Operation: 73+29=102
Exploring Operation: 58-29=29, Resulting Numbers: [73, 29]
Generated Node #0,1,3: 71:[73, 29] Operation: 58-29=29
Exploring Operation: 58/29=2, Resulting Numbers: [73, 2]
Generated Node #0,1,4: 71:[73, 2] Operation: 58/29=2
Moving to Node #0,2
Current State: 71:[73, 11, 76], Operations: ['18+58=76']
Exploring Operation: 76-11=65, Resulting Numbers: [73, 65]
Generated Node #0,2,0: 71:[73, 65] Operation: 76-11=65
Exploring Operation: 73-11=62, Resulting Numbers: [76, 62]
Generated Node #0,2,1: 71:[76, 62] Operation: 73-11=62
Exploring Operation: 76-73=3, Resulting Numbers: [11, 3]
Generated Node #0,2,2: 71:[11, 3] Operation: 76-73=3
Exploring Operation: 73+11=84, Resulting Numbers: [76, 84]
Generated Node #0,2,3: 71:[76, 84] Operation: 73+11=84
Exploring Operation: 11+76=87, Resulting Numbers: [73, 87]
Generated Node #0,2,4: 71:[73, 87] Operation: 11+76=87
Moving to Node #0,4
Current State: 71:[18, 58, 62], Operations: ['73-11=62']
Exploring Operation: 18+62=80, Resulting Numbers: [58, 80]
Generated Node #0,4,0: 71:[58, 80] Operation: 18+62=80
Exploring Operation: 58+62=120, Resulting Numbers: [18, 120]
Generated Node #0,4,1: 71:[18, 120] Operation: 58+62=120
Exploring Operation: 62-18=44, Resulting Numbers: [58, 44]
Generated Node #0,4,2: 71:[58, 44] Operation: 62-18=44
Exploring Operation: 18+58=76, Resulting Numbers: [62, 76]
Generated Node #0,4,3: 71:[62, 76] Operation: 18+58=76
Exploring Operation: 58-18=40, Resulting Numbers: [62, 40]
Generated Node #0,4,4: 71:[62, 40] Operation: 58-18=40
Moving to Node #0,3
Current State: 71:[18, 58, 84], Operations: ['73+11=84']
Exploring Operation: 84-58=26, Resulting Numbers: [18, 26]
Generated Node #0,3,0: 71:[18, 26] Operation: 84-58=26
Exploring Operation: 58-18=40, Resulting Numbers: [84, 40]
Generated Node #0,3,1: 71:[84, 40] Operation: 58-18=40
Exploring Operation: 18+58=76, Resulting Numbers: [84, 76]
Generated Node #0,3,2: 71:[84, 76] Operation: 18+58=76
Exploring Operation: 84-18=66, Resulting Numbers: [58, 66]
Generated Node #0,3,3: 71:[58, 66] Operation: 84-18=66
Exploring Operation: 18+84=102, Resulting Numbers: [58, 102]
Generated Node #0,3,4: 71:[58, 102] Operation: 18+84=102
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[84, 76], Operations: ['73+11=84', '18+58=76']
Exploring Operation: 84*76=6384, Resulting Numbers: [6384]
6384,71 unequal: No Solution
Exploring Operation: 84+76=160, Resulting Numbers: [160]
160,71 unequal: No Solution
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[58, 66], Operations: ['73+11=84', '84-18=66']
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 58+66=124, Resulting Numbers: [124]
124,71 unequal: No Solution
Exploring Operation: 58*66=3828, Resulting Numbers: [3828]
3828,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[84, 40], Operations: ['73+11=84', '58-18=40']
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,71 unequal: No Solution
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 71:[58, 102], Operations: ['73+11=84', '18+84=102']
Exploring Operation: 102-58=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 58+102=160, Resulting Numbers: [160]
160,71 unequal: No Solution
Exploring Operation: 58*102=5916, Resulting Numbers: [5916]
5916,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[18, 26], Operations: ['73+11=84', '84-58=26']
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,71 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 71:[73, 65], Operations: ['18+58=76', '76-11=65']
Exploring Operation: 73-65=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 73+65=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 73*65=4745, Resulting Numbers: [4745]
4745,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[76, 62], Operations: ['18+58=76', '73-11=62']
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 76*62=4712, Resulting Numbers: [4712]
4712,71 unequal: No Solution
Exploring Operation: 76+62=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[62, 76], Operations: ['73-11=62', '18+58=76']
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 62+76=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 62*76=4712, Resulting Numbers: [4712]
4712,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[73, 87], Operations: ['18+58=76', '11+76=87']
Exploring Operation: 73*87=6351, Resulting Numbers: [6351]
6351,71 unequal: No Solution
Exploring Operation: 73+87=160, Resulting Numbers: [160]
160,71 unequal: No Solution
Exploring Operation: 87-73=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[73, 87], Operations: ['18+11=29', '58+29=87']
Exploring Operation: 73*87=6351, Resulting Numbers: [6351]
6351,71 unequal: No Solution
Exploring Operation: 73+87=160, Resulting Numbers: [160]
160,71 unequal: No Solution
Exploring Operation: 87-73=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[76, 84], Operations: ['18+58=76', '73+11=84']
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 76*84=6384, Resulting Numbers: [6384]
6384,71 unequal: No Solution
Exploring Operation: 76+84=160, Resulting Numbers: [160]
160,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[69, 55], Operations: ['58+11=69', '73-18=55']
Exploring Operation: 69+55=124, Resulting Numbers: [124]
124,71 unequal: No Solution
Exploring Operation: 69-55=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 69*55=3795, Resulting Numbers: [3795]
3795,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[73, 87], Operations: ['58+11=69', '18+69=87']
Exploring Operation: 87-73=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 73+87=160, Resulting Numbers: [160]
160,71 unequal: No Solution
Exploring Operation: 73*87=6351, Resulting Numbers: [6351]
6351,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[69, 91], Operations: ['58+11=69', '73+18=91']
Exploring Operation: 69+91=160, Resulting Numbers: [160]
160,71 unequal: No Solution
Exploring Operation: 91-69=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 69*91=6279, Resulting Numbers: [6279]
6279,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[58, 80], Operations: ['73-11=62', '18+62=80']
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,71 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[73, 51], Operations: ['58+11=69', '69-18=51']
Exploring Operation: 73*51=3723, Resulting Numbers: [3723]
3723,71 unequal: No Solution
Exploring Operation: 73+51=124, Resulting Numbers: [124]
124,71 unequal: No Solution
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[58, 44], Operations: ['18+11=29', '73-29=44']
Exploring Operation: 58+44=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 58*44=2552, Resulting Numbers: [2552]
2552,71 unequal: No Solution
Exploring Operation: 58-44=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[62, 40], Operations: ['73-11=62', '58-18=40']
Exploring Operation: 62*40=2480, Resulting Numbers: [2480]
2480,71 unequal: No Solution
Exploring Operation: 62+40=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[58, 44], Operations: ['73-11=62', '62-18=44']
Exploring Operation: 58+44=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 58*44=2552, Resulting Numbers: [2552]
2552,71 unequal: No Solution
Exploring Operation: 58-44=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[73, 29], Operations: ['18+11=29', '58-29=29']
Exploring Operation: 73*29=2117, Resulting Numbers: [2117]
2117,71 unequal: No Solution
Exploring Operation: 73+29=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[58, 102], Operations: ['18+11=29', '73+29=102']
Exploring Operation: 58*102=5916, Resulting Numbers: [5916]
5916,71 unequal: No Solution
Exploring Operation: 58+102=160, Resulting Numbers: [160]
160,71 unequal: No Solution
Exploring Operation: 102-58=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[73, 2], Operations: ['18+11=29', '58/29=2']
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,71 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[73, 18, 58, 11], Operations: []
Exploring Operation: 18+11=29, Resulting Numbers: [73, 58, 29]
Generated Node #0,1: 71:[73, 58, 29] Operation: 18+11=29
Moving to Node #0,1
Current State: 71:[73, 58, 29], Operations: ['18+11=29']
Exploring Operation: 58/29=2, Resulting Numbers: [73, 2]
Generated Node #0,1,4: 71:[73, 2] Operation: 58/29=2
Moving to Node #0,1,4
Current State: 71:[73, 2], Operations: ['18+11=29', '58/29=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.914063 | hs_5 | mult_heuristic |
[
91,
31,
18,
25
] | 53 | [
"91-31=60",
"25-18=7",
"60-7=53"
] | Current State: 53:[91, 31, 18, 25], Operations: []
Exploring Operation: 91-31=60, Resulting Numbers: [18, 25, 60]
Generated Node #2: [18, 25, 60] from Operation: 91-31=60
Current State: 53:[18, 25, 60], Operations: ['91-31=60']
Exploring Operation: 25-18=7, Resulting Numbers: [60, 7]
Generated Node #3: [60, 7] from Operation: 25-18=7
Current State: 53:[60, 7], Operations: ['91-31=60', '25-18=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[91, 31, 18, 25], Operations: []
Exploring Operation: 91-31=60, Resulting Numbers: [18, 25, 60]
Generated Node #0,0: 53:[18, 25, 60] Operation: 91-31=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[18, 25, 60], Operations: ['91-31=60']
Exploring Operation: 18+25=43, Resulting Numbers: [60, 43]
Generated Node #0,0,0: 53:[60, 43] Operation: 18+25=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[60, 43], Operations: ['91-31=60', '18+25=43']
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,53 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 |
[
54,
20,
61,
4
] | 99 | [
"54-20=34",
"61+4=65",
"34+65=99"
] | Current State: 99:[54, 20, 61, 4], Operations: []
Exploring Operation: 54-20=34, Resulting Numbers: [61, 4, 34]
Generated Node #2: [61, 4, 34] from Operation: 54-20=34
Current State: 99:[61, 4, 34], Operations: ['54-20=34']
Exploring Operation: 61+4=65, Resulting Numbers: [34, 65]
Generated Node #3: [34, 65] from Operation: 61+4=65
Current State: 99:[34, 65], Operations: ['54-20=34', '61+4=65']
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[54, 20, 61, 4], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [20, 4, 7]
Generated Node #0,0: 99:[20, 4, 7] Operation: 61-54=7
Exploring Operation: 20+61=81, Resulting Numbers: [54, 4, 81]
Generated Node #0,1: 99:[54, 4, 81] Operation: 20+61=81
Exploring Operation: 54+61=115, Resulting Numbers: [20, 4, 115]
Generated Node #0,2: 99:[20, 4, 115] Operation: 54+61=115
Exploring Operation: 54-20=34, Resulting Numbers: [61, 4, 34]
Generated Node #0,3: 99:[61, 4, 34] Operation: 54-20=34
Exploring Operation: 61-20=41, Resulting Numbers: [54, 4, 41]
Generated Node #0,4: 99:[54, 4, 41] Operation: 61-20=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[20, 4, 7], Operations: ['61-54=7']
Exploring Operation: 20+7=27, Resulting Numbers: [4, 27]
Generated Node #0,0,0: 99:[4, 27] Operation: 20+7=27
Exploring Operation: 4+7=11, Resulting Numbers: [20, 11]
Generated Node #0,0,1: 99:[20, 11] Operation: 4+7=11
Exploring Operation: 20/4=5, Resulting Numbers: [7, 5]
Generated Node #0,0,2: 99:[7, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [7, 16]
Generated Node #0,0,3: 99:[7, 16] Operation: 20-4=16
Exploring Operation: 20-7=13, Resulting Numbers: [4, 13]
Generated Node #0,0,4: 99:[4, 13] Operation: 20-7=13
Moving to Node #0,0,4
Current State: 99:[4, 13], Operations: ['61-54=7', '20-7=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,99 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[7, 5], Operations: ['61-54=7', '20/4=5']
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,99 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[4, 27], Operations: ['61-54=7', '20+7=27']
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,99 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[7, 16], Operations: ['61-54=7', '20-4=16']
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,99 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,99 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[20, 11], Operations: ['61-54=7', '4+7=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,99 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[20, 4, 115], Operations: ['54+61=115']
Exploring Operation: 20-4=16, Resulting Numbers: [115, 16]
Generated Node #0,2,0: 99:[115, 16] Operation: 20-4=16
Exploring Operation: 20/4=5, Resulting Numbers: [115, 5]
Generated Node #0,2,1: 99:[115, 5] Operation: 20/4=5
Exploring Operation: 115-4=111, Resulting Numbers: [20, 111]
Generated Node #0,2,2: 99:[20, 111] Operation: 115-4=111
Exploring Operation: 20+4=24, Resulting Numbers: [115, 24]
Generated Node #0,2,3: 99:[115, 24] Operation: 20+4=24
Exploring Operation: 115-20=95, Resulting Numbers: [4, 95]
Generated Node #0,2,4: 99:[4, 95] Operation: 115-20=95
Moving to Node #0,2,4
Current State: 99:[4, 95], Operations: ['54+61=115', '115-20=95']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 4*95=380, Resulting Numbers: [380]
380,99 unequal: No Solution
Exploring Operation: 4+95=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[54, 20, 61, 4], Operations: []
Exploring Operation: 54+61=115, Resulting Numbers: [20, 4, 115]
Generated Node #0,2: 99:[20, 4, 115] Operation: 54+61=115
Moving to Node #0,2
Current State: 99:[20, 4, 115], Operations: ['54+61=115']
Exploring Operation: 115-20=95, Resulting Numbers: [4, 95]
Generated Node #0,2,4: 99:[4, 95] Operation: 115-20=95
Moving to Node #0,2,4
Current State: 99:[4, 95], Operations: ['54+61=115', '115-20=95']
Exploring Operation: 4+95=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
74,
11,
71,
4
] | 77 | [
"74-71=3",
"4+3=7",
"11*7=77"
] | Current State: 77:[74, 11, 71, 4], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [11, 4, 3]
Generated Node #2: [11, 4, 3] from Operation: 74-71=3
Current State: 77:[11, 4, 3], Operations: ['74-71=3']
Exploring Operation: 4+3=7, Resulting Numbers: [11, 7]
Generated Node #3: [11, 7] from Operation: 4+3=7
Current State: 77:[11, 7], Operations: ['74-71=3', '4+3=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[74, 11, 71, 4], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [11, 4, 3]
Generated Node #0,0: 77:[11, 4, 3] Operation: 74-71=3
Exploring Operation: 71+4=75, Resulting Numbers: [74, 11, 75]
Generated Node #0,1: 77:[74, 11, 75] Operation: 71+4=75
Exploring Operation: 74+4=78, Resulting Numbers: [11, 71, 78]
Generated Node #0,2: 77:[11, 71, 78] Operation: 74+4=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[74, 11, 75], Operations: ['71+4=75']
Exploring Operation: 75-74=1, Resulting Numbers: [11, 1]
Generated Node #0,1,0: 77:[11, 1] Operation: 75-74=1
Exploring Operation: 11+75=86, Resulting Numbers: [74, 86]
Generated Node #0,1,1: 77:[74, 86] Operation: 11+75=86
Exploring Operation: 74+11=85, Resulting Numbers: [75, 85]
Generated Node #0,1,2: 77:[75, 85] Operation: 74+11=85
Moving to Node #0,1,0
Current State: 77:[11, 1], Operations: ['71+4=75', '75-74=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[75, 85], Operations: ['71+4=75', '74+11=85']
Exploring Operation: 75+85=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Exploring Operation: 75*85=6375, Resulting Numbers: [6375]
6375,77 unequal: No Solution
Exploring Operation: 85-75=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[74, 86], Operations: ['71+4=75', '11+75=86']
Exploring Operation: 74+86=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Exploring Operation: 74*86=6364, Resulting Numbers: [6364]
6364,77 unequal: No Solution
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[11, 4, 3], Operations: ['74-71=3']
Exploring Operation: 4*3=12, Resulting Numbers: [11, 12]
Generated Node #0,0,0: 77:[11, 12] Operation: 4*3=12
Exploring Operation: 4+3=7, Resulting Numbers: [11, 7]
Generated Node #0,0,1: 77:[11, 7] Operation: 4+3=7
Exploring Operation: 11-4=7, Resulting Numbers: [3, 7]
Generated Node #0,0,2: 77:[3, 7] Operation: 11-4=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[11, 7], Operations: ['74-71=3', '4+3=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[74, 11, 71, 4], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [11, 4, 3]
Generated Node #0,0: 77:[11, 4, 3] Operation: 74-71=3
Moving to Node #0,0
Current State: 77:[11, 4, 3], Operations: ['74-71=3']
Exploring Operation: 4+3=7, Resulting Numbers: [11, 7]
Generated Node #0,0,1: 77:[11, 7] Operation: 4+3=7
Moving to Node #0,0,1
Current State: 77:[11, 7], Operations: ['74-71=3', '4+3=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
46,
45,
80,
79
] | 90 | [
"46+45=91",
"80-79=1",
"91-1=90"
] | Current State: 90:[46, 45, 80, 79], Operations: []
Exploring Operation: 46+45=91, Resulting Numbers: [80, 79, 91]
Generated Node #2: [80, 79, 91] from Operation: 46+45=91
Current State: 90:[80, 79, 91], Operations: ['46+45=91']
Exploring Operation: 80-79=1, Resulting Numbers: [91, 1]
Generated Node #3: [91, 1] from Operation: 80-79=1
Current State: 90:[91, 1], Operations: ['46+45=91', '80-79=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[46, 45, 80, 79], Operations: []
Exploring Operation: 79-45=34, Resulting Numbers: [46, 80, 34]
Generated Node #0,0: 90:[46, 80, 34] Operation: 79-45=34
Exploring Operation: 80-45=35, Resulting Numbers: [46, 79, 35]
Generated Node #0,1: 90:[46, 79, 35] Operation: 80-45=35
Exploring Operation: 79-46=33, Resulting Numbers: [45, 80, 33]
Generated Node #0,2: 90:[45, 80, 33] Operation: 79-46=33
Exploring Operation: 80-46=34, Resulting Numbers: [45, 79, 34]
Generated Node #0,3: 90:[45, 79, 34] Operation: 80-46=34
Exploring Operation: 80-79=1, Resulting Numbers: [46, 45, 1]
Generated Node #0,4: 90:[46, 45, 1] Operation: 80-79=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[46, 45, 1], Operations: ['80-79=1']
Exploring Operation: 45*1=45, Resulting Numbers: [46, 45]
Generated Node #0,4,0: 90:[46, 45] Operation: 45*1=45
Exploring Operation: 46*1=46, Resulting Numbers: [45, 46]
Generated Node #0,4,1: 90:[45, 46] Operation: 46*1=46
Exploring Operation: 46/1=46, Resulting Numbers: [45, 46]
Generated Node #0,4,2: 90:[45, 46] Operation: 46/1=46
Exploring Operation: 46-1=45, Resulting Numbers: [45, 45]
Generated Node #0,4,3: 90:[45, 45] Operation: 46-1=45
Exploring Operation: 45/1=45, Resulting Numbers: [46, 45]
Generated Node #0,4,4: 90:[46, 45] Operation: 45/1=45
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 90:[45, 45], Operations: ['80-79=1', '46-1=45']
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[46, 45, 80, 79], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [46, 45, 1]
Generated Node #0,4: 90:[46, 45, 1] Operation: 80-79=1
Moving to Node #0,4
Current State: 90:[46, 45, 1], Operations: ['80-79=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45, 45]
Generated Node #0,4,3: 90:[45, 45] Operation: 46-1=45
Moving to Node #0,4,3
Current State: 90:[45, 45], Operations: ['80-79=1', '46-1=45']
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
26,
3,
71,
12
] | 36 | [
"26-3=23",
"71-12=59",
"59-23=36"
] | Current State: 36:[26, 3, 71, 12], Operations: []
Exploring Operation: 26-3=23, Resulting Numbers: [71, 12, 23]
Generated Node #2: [71, 12, 23] from Operation: 26-3=23
Current State: 36:[71, 12, 23], Operations: ['26-3=23']
Exploring Operation: 71-12=59, Resulting Numbers: [23, 59]
Generated Node #3: [23, 59] from Operation: 71-12=59
Current State: 36:[23, 59], Operations: ['26-3=23', '71-12=59']
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[26, 3, 71, 12], Operations: []
Exploring Operation: 26+12=38, Resulting Numbers: [3, 71, 38]
Generated Node #0,0: 36:[3, 71, 38] Operation: 26+12=38
Exploring Operation: 71-26=45, Resulting Numbers: [3, 12, 45]
Generated Node #0,1: 36:[3, 12, 45] Operation: 71-26=45
Exploring Operation: 71-12=59, Resulting Numbers: [26, 3, 59]
Generated Node #0,2: 36:[26, 3, 59] Operation: 71-12=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[3, 12, 45], Operations: ['71-26=45']
Exploring Operation: 45/3=15, Resulting Numbers: [12, 15]
Generated Node #0,1,0: 36:[12, 15] Operation: 45/3=15
Exploring Operation: 45-3=42, Resulting Numbers: [12, 42]
Generated Node #0,1,1: 36:[12, 42] Operation: 45-3=42
Exploring Operation: 45-12=33, Resulting Numbers: [3, 33]
Generated Node #0,1,2: 36:[3, 33] Operation: 45-12=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[12, 15], Operations: ['71-26=45', '45/3=15']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 36:[3, 33], Operations: ['71-26=45', '45-12=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[26, 3, 71, 12], Operations: []
Exploring Operation: 71-26=45, Resulting Numbers: [3, 12, 45]
Generated Node #0,1: 36:[3, 12, 45] Operation: 71-26=45
Moving to Node #0,1
Current State: 36:[3, 12, 45], Operations: ['71-26=45']
Exploring Operation: 45-12=33, Resulting Numbers: [3, 33]
Generated Node #0,1,2: 36:[3, 33] Operation: 45-12=33
Moving to Node #0,1,2
Current State: 36:[3, 33], Operations: ['71-26=45', '45-12=33']
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
25,
70,
63,
14
] | 50 | [
"25*14=350",
"70-63=7",
"350/7=50"
] | Current State: 50:[25, 70, 63, 14], Operations: []
Exploring Operation: 25*14=350, Resulting Numbers: [70, 63, 350]
Generated Node #2: [70, 63, 350] from Operation: 25*14=350
Current State: 50:[70, 63, 350], Operations: ['25*14=350']
Exploring Operation: 70-63=7, Resulting Numbers: [350, 7]
Generated Node #3: [350, 7] from Operation: 70-63=7
Current State: 50:[350, 7], Operations: ['25*14=350', '70-63=7']
Exploring Operation: 350/7=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[25, 70, 63, 14], Operations: []
Exploring Operation: 70-14=56, Resulting Numbers: [25, 63, 56]
Generated Node #0,0: 50:[25, 63, 56] Operation: 70-14=56
Exploring Operation: 63-14=49, Resulting Numbers: [25, 70, 49]
Generated Node #0,1: 50:[25, 70, 49] Operation: 63-14=49
Exploring Operation: 70/14=5, Resulting Numbers: [25, 63, 5]
Generated Node #0,2: 50:[25, 63, 5] Operation: 70/14=5
Exploring Operation: 70-63=7, Resulting Numbers: [25, 14, 7]
Generated Node #0,3: 50:[25, 14, 7] Operation: 70-63=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[25, 14, 7], Operations: ['70-63=7']
Exploring Operation: 25-14=11, Resulting Numbers: [7, 11]
Generated Node #0,3,0: 50:[7, 11] Operation: 25-14=11
Exploring Operation: 14-7=7, Resulting Numbers: [25, 7]
Generated Node #0,3,1: 50:[25, 7] Operation: 14-7=7
Exploring Operation: 14+7=21, Resulting Numbers: [25, 21]
Generated Node #0,3,2: 50:[25, 21] Operation: 14+7=21
Exploring Operation: 14/7=2, Resulting Numbers: [25, 2]
Generated Node #0,3,3: 50:[25, 2] Operation: 14/7=2
Moving to Node #0,3,3
Current State: 50:[25, 2], Operations: ['70-63=7', '14/7=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[25, 70, 63, 14], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [25, 14, 7]
Generated Node #0,3: 50:[25, 14, 7] Operation: 70-63=7
Moving to Node #0,3
Current State: 50:[25, 14, 7], Operations: ['70-63=7']
Exploring Operation: 14/7=2, Resulting Numbers: [25, 2]
Generated Node #0,3,3: 50:[25, 2] Operation: 14/7=2
Moving to Node #0,3,3
Current State: 50:[25, 2], Operations: ['70-63=7', '14/7=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
55,
57,
24,
72
] | 50 | [
"57-55=2",
"72-24=48",
"2+48=50"
] | Current State: 50:[55, 57, 24, 72], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [24, 72, 2]
Generated Node #2: [24, 72, 2] from Operation: 57-55=2
Current State: 50:[24, 72, 2], Operations: ['57-55=2']
Exploring Operation: 72-24=48, Resulting Numbers: [2, 48]
Generated Node #3: [2, 48] from Operation: 72-24=48
Current State: 50:[2, 48], Operations: ['57-55=2', '72-24=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[55, 57, 24, 72], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [55, 57, 3]
Generated Node #0,0: 50:[55, 57, 3] Operation: 72/24=3
Exploring Operation: 72-57=15, Resulting Numbers: [55, 24, 15]
Generated Node #0,1: 50:[55, 24, 15] Operation: 72-57=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[55, 24, 15], Operations: ['72-57=15']
Exploring Operation: 24-15=9, Resulting Numbers: [55, 9]
Generated Node #0,1,0: 50:[55, 9] Operation: 24-15=9
Exploring Operation: 55-24=31, Resulting Numbers: [15, 31]
Generated Node #0,1,1: 50:[15, 31] Operation: 55-24=31
Moving to Node #0,1,0
Current State: 50:[55, 9], Operations: ['72-57=15', '24-15=9']
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[15, 31], Operations: ['72-57=15', '55-24=31']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[55, 57, 3], Operations: ['72/24=3']
Exploring Operation: 57-55=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 50:[3, 2] Operation: 57-55=2
Exploring Operation: 55-3=52, Resulting Numbers: [57, 52]
Generated Node #0,0,1: 50:[57, 52] Operation: 55-3=52
Moving to Node #0,0,0
Current State: 50:[3, 2], Operations: ['72/24=3', '57-55=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[57, 52], Operations: ['72/24=3', '55-3=52']
Exploring Operation: 57+52=109, Resulting Numbers: [109]
109,50 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,50 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 |
[
10,
32,
35,
69
] | 43 | [
"32*35=1120",
"1120/10=112",
"112-69=43"
] | Current State: 43:[10, 32, 35, 69], Operations: []
Exploring Operation: 32*35=1120, Resulting Numbers: [10, 69, 1120]
Generated Node #2: [10, 69, 1120] from Operation: 32*35=1120
Current State: 43:[10, 69, 1120], Operations: ['32*35=1120']
Exploring Operation: 1120/10=112, Resulting Numbers: [69, 112]
Generated Node #3: [69, 112] from Operation: 1120/10=112
Current State: 43:[69, 112], Operations: ['32*35=1120', '1120/10=112']
Exploring Operation: 112-69=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[10, 32, 35, 69], Operations: []
Exploring Operation: 69-32=37, Resulting Numbers: [10, 35, 37]
Generated Node #0,0: 43:[10, 35, 37] Operation: 69-32=37
Exploring Operation: 10+32=42, Resulting Numbers: [35, 69, 42]
Generated Node #0,1: 43:[35, 69, 42] Operation: 10+32=42
Exploring Operation: 10+35=45, Resulting Numbers: [32, 69, 45]
Generated Node #0,2: 43:[32, 69, 45] Operation: 10+35=45
Exploring Operation: 69-10=59, Resulting Numbers: [32, 35, 59]
Generated Node #0,3: 43:[32, 35, 59] Operation: 69-10=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[35, 69, 42], Operations: ['10+32=42']
Exploring Operation: 69-42=27, Resulting Numbers: [35, 27]
Generated Node #0,1,0: 43:[35, 27] Operation: 69-42=27
Exploring Operation: 35+69=104, Resulting Numbers: [42, 104]
Generated Node #0,1,1: 43:[42, 104] Operation: 35+69=104
Exploring Operation: 69-35=34, Resulting Numbers: [42, 34]
Generated Node #0,1,2: 43:[42, 34] Operation: 69-35=34
Exploring Operation: 35+42=77, Resulting Numbers: [69, 77]
Generated Node #0,1,3: 43:[69, 77] Operation: 35+42=77
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[42, 34], Operations: ['10+32=42', '69-35=34']
Exploring Operation: 42*34=1428, Resulting Numbers: [1428]
1428,43 unequal: No Solution
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[35, 27], Operations: ['10+32=42', '69-42=27']
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,43 unequal: No Solution
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 43:[69, 77], Operations: ['10+32=42', '35+42=77']
Exploring Operation: 69*77=5313, Resulting Numbers: [5313]
5313,43 unequal: No Solution
Exploring Operation: 69+77=146, Resulting Numbers: [146]
146,43 unequal: No Solution
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[42, 104], Operations: ['10+32=42', '35+69=104']
Exploring Operation: 42+104=146, Resulting Numbers: [146]
146,43 unequal: No Solution
Exploring Operation: 42*104=4368, Resulting Numbers: [4368]
4368,43 unequal: No Solution
Exploring Operation: 104-42=62, Resulting Numbers: [62]
62,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[32, 35, 59], Operations: ['69-10=59']
Exploring Operation: 59-32=27, Resulting Numbers: [35, 27]
Generated Node #0,3,0: 43:[35, 27] Operation: 59-32=27
Exploring Operation: 59-35=24, Resulting Numbers: [32, 24]
Generated Node #0,3,1: 43:[32, 24] Operation: 59-35=24
Exploring Operation: 32+35=67, Resulting Numbers: [59, 67]
Generated Node #0,3,2: 43:[59, 67] Operation: 32+35=67
Exploring Operation: 35-32=3, Resulting Numbers: [59, 3]
Generated Node #0,3,3: 43:[59, 3] Operation: 35-32=3
Moving to Node #0,3,0
Current State: 43:[35, 27], Operations: ['69-10=59', '59-32=27']
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,43 unequal: No Solution
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[32, 24], Operations: ['69-10=59', '59-35=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,43 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[59, 67], Operations: ['69-10=59', '32+35=67']
Exploring Operation: 59+67=126, Resulting Numbers: [126]
126,43 unequal: No Solution
Exploring Operation: 59*67=3953, Resulting Numbers: [3953]
3953,43 unequal: No Solution
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[59, 3], Operations: ['69-10=59', '35-32=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[32, 69, 45], Operations: ['10+35=45']
Exploring Operation: 69-45=24, Resulting Numbers: [32, 24]
Generated Node #0,2,0: 43:[32, 24] Operation: 69-45=24
Exploring Operation: 45-32=13, Resulting Numbers: [69, 13]
Generated Node #0,2,1: 43:[69, 13] Operation: 45-32=13
Exploring Operation: 69-32=37, Resulting Numbers: [45, 37]
Generated Node #0,2,2: 43:[45, 37] Operation: 69-32=37
Exploring Operation: 32+69=101, Resulting Numbers: [45, 101]
Generated Node #0,2,3: 43:[45, 101] Operation: 32+69=101
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[45, 37], Operations: ['10+35=45', '69-32=37']
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[32, 24], Operations: ['10+35=45', '69-45=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,43 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[69, 13], Operations: ['10+35=45', '45-32=13']
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 43:[45, 101], Operations: ['10+35=45', '32+69=101']
Exploring Operation: 101-45=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 45*101=4545, Resulting Numbers: [4545]
4545,43 unequal: No Solution
Exploring Operation: 45+101=146, Resulting Numbers: [146]
146,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[10, 35, 37], Operations: ['69-32=37']
Exploring Operation: 35-10=25, Resulting Numbers: [37, 25]
Generated Node #0,0,0: 43:[37, 25] Operation: 35-10=25
Exploring Operation: 10+35=45, Resulting Numbers: [37, 45]
Generated Node #0,0,1: 43:[37, 45] Operation: 10+35=45
Exploring Operation: 10+37=47, Resulting Numbers: [35, 47]
Generated Node #0,0,2: 43:[35, 47] Operation: 10+37=47
Exploring Operation: 37-10=27, Resulting Numbers: [35, 27]
Generated Node #0,0,3: 43:[35, 27] Operation: 37-10=27
Moving to Node #0,0,1
Current State: 43:[37, 45], Operations: ['69-32=37', '10+35=45']
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[35, 47], Operations: ['69-32=37', '10+37=47']
Exploring Operation: 35*47=1645, Resulting Numbers: [1645]
1645,43 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 35+47=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[35, 27], Operations: ['69-32=37', '37-10=27']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,43 unequal: No Solution
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[37, 25], Operations: ['69-32=37', '35-10=25']
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,43 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,43 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 |
[
2,
92,
28,
8
] | 52 | [
"92+28=120",
"120/2=60",
"60-8=52"
] | Current State: 52:[2, 92, 28, 8], Operations: []
Exploring Operation: 92+28=120, Resulting Numbers: [2, 8, 120]
Generated Node #2: [2, 8, 120] from Operation: 92+28=120
Current State: 52:[2, 8, 120], Operations: ['92+28=120']
Exploring Operation: 120/2=60, Resulting Numbers: [8, 60]
Generated Node #3: [8, 60] from Operation: 120/2=60
Current State: 52:[8, 60], Operations: ['92+28=120', '120/2=60']
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[2, 92, 28, 8], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [28, 8, 46]
Generated Node #0,0: 52:[28, 8, 46] Operation: 92/2=46
Exploring Operation: 92-28=64, Resulting Numbers: [2, 8, 64]
Generated Node #0,1: 52:[2, 8, 64] Operation: 92-28=64
Moving to Node #0,0
Current State: 52:[28, 8, 46], Operations: ['92/2=46']
Exploring Operation: 8+46=54, Resulting Numbers: [28, 54]
Generated Node #0,0,0: 52:[28, 54] Operation: 8+46=54
Exploring Operation: 46-28=18, Resulting Numbers: [8, 18]
Generated Node #0,0,1: 52:[8, 18] Operation: 46-28=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[28, 54], Operations: ['92/2=46', '8+46=54']
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,52 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[8, 18], Operations: ['92/2=46', '46-28=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 52:[2, 8, 64], Operations: ['92-28=64']
Exploring Operation: 64/8=8, Resulting Numbers: [2, 8]
Generated Node #0,1,0: 52:[2, 8] Operation: 64/8=8
Exploring Operation: 64-8=56, Resulting Numbers: [2, 56]
Generated Node #0,1,1: 52:[2, 56] Operation: 64-8=56
Moving to Node #0,1,0
Current State: 52:[2, 8], Operations: ['92-28=64', '64/8=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[2, 56], Operations: ['92-28=64', '64-8=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,52 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
52,
47,
58
] | 67 | [
"52-14=38",
"47+58=105",
"105-38=67"
] | Current State: 67:[14, 52, 47, 58], Operations: []
Exploring Operation: 52-14=38, Resulting Numbers: [47, 58, 38]
Generated Node #2: [47, 58, 38] from Operation: 52-14=38
Current State: 67:[47, 58, 38], Operations: ['52-14=38']
Exploring Operation: 47+58=105, Resulting Numbers: [38, 105]
Generated Node #3: [38, 105] from Operation: 47+58=105
Current State: 67:[38, 105], Operations: ['52-14=38', '47+58=105']
Exploring Operation: 105-38=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[14, 52, 47, 58], Operations: []
Exploring Operation: 14+47=61, Resulting Numbers: [52, 58, 61]
Generated Node #0,0: 67:[52, 58, 61] Operation: 14+47=61
Exploring Operation: 14+52=66, Resulting Numbers: [47, 58, 66]
Generated Node #0,1: 67:[47, 58, 66] Operation: 14+52=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[52, 58, 61], Operations: ['14+47=61']
Exploring Operation: 52+58=110, Resulting Numbers: [61, 110]
Generated Node #0,0,0: 67:[61, 110] Operation: 52+58=110
Exploring Operation: 52+61=113, Resulting Numbers: [58, 113]
Generated Node #0,0,1: 67:[58, 113] Operation: 52+61=113
Moving to Node #0,0,0
Current State: 67:[61, 110], Operations: ['14+47=61', '52+58=110']
Exploring Operation: 110-61=49, Resulting Numbers: [49]
49,67 unequal: No Solution
Exploring Operation: 61+110=171, Resulting Numbers: [171]
171,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[58, 113], Operations: ['14+47=61', '52+61=113']
Exploring Operation: 113-58=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 58+113=171, Resulting Numbers: [171]
171,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[47, 58, 66], Operations: ['14+52=66']
Exploring Operation: 47+66=113, Resulting Numbers: [58, 113]
Generated Node #0,1,0: 67:[58, 113] Operation: 47+66=113
Exploring Operation: 47+58=105, Resulting Numbers: [66, 105]
Generated Node #0,1,1: 67:[66, 105] Operation: 47+58=105
Moving to Node #0,1,1
Current State: 67:[66, 105], Operations: ['14+52=66', '47+58=105']
Exploring Operation: 105-66=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 66+105=171, Resulting Numbers: [171]
171,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[58, 113], Operations: ['14+52=66', '47+66=113']
Exploring Operation: 113-58=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 58+113=171, Resulting Numbers: [171]
171,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
20,
15,
1
] | 38 | [
"3+20=23",
"15*1=15",
"23+15=38"
] | Current State: 38:[3, 20, 15, 1], Operations: []
Exploring Operation: 3+20=23, Resulting Numbers: [15, 1, 23]
Generated Node #2: [15, 1, 23] from Operation: 3+20=23
Current State: 38:[15, 1, 23], Operations: ['3+20=23']
Exploring Operation: 15*1=15, Resulting Numbers: [23, 15]
Generated Node #3: [23, 15] from Operation: 15*1=15
Current State: 38:[23, 15], Operations: ['3+20=23', '15*1=15']
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[3, 20, 15, 1], Operations: []
Exploring Operation: 15/3=5, Resulting Numbers: [20, 1, 5]
Generated Node #0,0: 38:[20, 1, 5] Operation: 15/3=5
Exploring Operation: 3-1=2, Resulting Numbers: [20, 15, 2]
Generated Node #0,1: 38:[20, 15, 2] Operation: 3-1=2
Exploring Operation: 3+15=18, Resulting Numbers: [20, 1, 18]
Generated Node #0,2: 38:[20, 1, 18] Operation: 3+15=18
Exploring Operation: 20+15=35, Resulting Numbers: [3, 1, 35]
Generated Node #0,3: 38:[3, 1, 35] Operation: 20+15=35
Moving to Node #0,2
Current State: 38:[20, 1, 18], Operations: ['3+15=18']
Exploring Operation: 20+18=38, Resulting Numbers: [1, 38]
Generated Node #0,2,0: 38:[1, 38] Operation: 20+18=38
Exploring Operation: 1+18=19, Resulting Numbers: [20, 19]
Generated Node #0,2,1: 38:[20, 19] Operation: 1+18=19
Exploring Operation: 20-18=2, Resulting Numbers: [1, 2]
Generated Node #0,2,2: 38:[1, 2] Operation: 20-18=2
Exploring Operation: 20-1=19, Resulting Numbers: [18, 19]
Generated Node #0,2,3: 38:[18, 19] Operation: 20-1=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[1, 38], Operations: ['3+15=18', '20+18=38']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[3, 20, 15, 1], Operations: []
Exploring Operation: 3+15=18, Resulting Numbers: [20, 1, 18]
Generated Node #0,2: 38:[20, 1, 18] Operation: 3+15=18
Moving to Node #0,2
Current State: 38:[20, 1, 18], Operations: ['3+15=18']
Exploring Operation: 20+18=38, Resulting Numbers: [1, 38]
Generated Node #0,2,0: 38:[1, 38] Operation: 20+18=38
Moving to Node #0,2,0
Current State: 38:[1, 38], Operations: ['3+15=18', '20+18=38']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
28,
53,
30,
52
] | 79 | [
"30-28=2",
"52/2=26",
"53+26=79"
] | Current State: 79:[28, 53, 30, 52], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [53, 52, 2]
Generated Node #2: [53, 52, 2] from Operation: 30-28=2
Current State: 79:[53, 52, 2], Operations: ['30-28=2']
Exploring Operation: 52/2=26, Resulting Numbers: [53, 26]
Generated Node #3: [53, 26] from Operation: 52/2=26
Current State: 79:[53, 26], Operations: ['30-28=2', '52/2=26']
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[28, 53, 30, 52], Operations: []
Exploring Operation: 28+30=58, Resulting Numbers: [53, 52, 58]
Generated Node #0,0: 79:[53, 52, 58] Operation: 28+30=58
Moving to Node #0,0
Current State: 79:[53, 52, 58], Operations: ['28+30=58']
Exploring Operation: 53+52=105, Resulting Numbers: [58, 105]
Generated Node #0,0,0: 79:[58, 105] Operation: 53+52=105
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[58, 105], Operations: ['28+30=58', '53+52=105']
Exploring Operation: 105-58=47, Resulting Numbers: [47]
47,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
50,
14,
32,
1
] | 31 | [
"50+14=64",
"32+1=33",
"64-33=31"
] | Current State: 31:[50, 14, 32, 1], Operations: []
Exploring Operation: 50+14=64, Resulting Numbers: [32, 1, 64]
Generated Node #2: [32, 1, 64] from Operation: 50+14=64
Current State: 31:[32, 1, 64], Operations: ['50+14=64']
Exploring Operation: 32+1=33, Resulting Numbers: [64, 33]
Generated Node #3: [64, 33] from Operation: 32+1=33
Current State: 31:[64, 33], Operations: ['50+14=64', '32+1=33']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[50, 14, 32, 1], Operations: []
Exploring Operation: 14+1=15, Resulting Numbers: [50, 32, 15]
Generated Node #0,0: 31:[50, 32, 15] Operation: 14+1=15
Exploring Operation: 50-14=36, Resulting Numbers: [32, 1, 36]
Generated Node #0,1: 31:[32, 1, 36] Operation: 50-14=36
Exploring Operation: 50*1=50, Resulting Numbers: [14, 32, 50]
Generated Node #0,2: 31:[14, 32, 50] Operation: 50*1=50
Exploring Operation: 32-1=31, Resulting Numbers: [50, 14, 31]
Generated Node #0,3: 31:[50, 14, 31] Operation: 32-1=31
Exploring Operation: 50-1=49, Resulting Numbers: [14, 32, 49]
Generated Node #0,4: 31:[14, 32, 49] Operation: 50-1=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[50, 32, 15], Operations: ['14+1=15']
Exploring Operation: 32+15=47, Resulting Numbers: [50, 47]
Generated Node #0,0,0: 31:[50, 47] Operation: 32+15=47
Exploring Operation: 50-15=35, Resulting Numbers: [32, 35]
Generated Node #0,0,1: 31:[32, 35] Operation: 50-15=35
Exploring Operation: 32-15=17, Resulting Numbers: [50, 17]
Generated Node #0,0,2: 31:[50, 17] Operation: 32-15=17
Exploring Operation: 50-32=18, Resulting Numbers: [15, 18]
Generated Node #0,0,3: 31:[15, 18] Operation: 50-32=18
Exploring Operation: 50+15=65, Resulting Numbers: [32, 65]
Generated Node #0,0,4: 31:[32, 65] Operation: 50+15=65
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[32, 35], Operations: ['14+1=15', '50-15=35']
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,31 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 31:[15, 18], Operations: ['14+1=15', '50-32=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,31 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[50, 17], Operations: ['14+1=15', '32-15=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[50, 47], Operations: ['14+1=15', '32+15=47']
Exploring Operation: 50*47=2350, Resulting Numbers: [2350]
2350,31 unequal: No Solution
Exploring Operation: 50+47=97, Resulting Numbers: [97]
97,31 unequal: No Solution
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 31:[32, 65], Operations: ['14+1=15', '50+15=65']
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,31 unequal: No Solution
Exploring Operation: 32*65=2080, Resulting Numbers: [2080]
2080,31 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[32, 1, 36], Operations: ['50-14=36']
Exploring Operation: 1*36=36, Resulting Numbers: [32, 36]
Generated Node #0,1,0: 31:[32, 36] Operation: 1*36=36
Exploring Operation: 32*1=32, Resulting Numbers: [36, 32]
Generated Node #0,1,1: 31:[36, 32] Operation: 32*1=32
Exploring Operation: 32-1=31, Resulting Numbers: [36, 31]
Generated Node #0,1,2: 31:[36, 31] Operation: 32-1=31
Exploring Operation: 36-1=35, Resulting Numbers: [32, 35]
Generated Node #0,1,3: 31:[32, 35] Operation: 36-1=35
Exploring Operation: 32/1=32, Resulting Numbers: [36, 32]
Generated Node #0,1,4: 31:[36, 32] Operation: 32/1=32
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 31:[36, 31], Operations: ['50-14=36', '32-1=31']
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,31 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 31:[32, 35], Operations: ['50-14=36', '36-1=35']
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[32, 36], Operations: ['50-14=36', '1*36=36']
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,31 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[36, 32], Operations: ['50-14=36', '32*1=32']
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,31 unequal: No Solution
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 31:[36, 32], Operations: ['50-14=36', '32/1=32']
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,31 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[50, 14, 31], Operations: ['32-1=31']
Exploring Operation: 50-31=19, Resulting Numbers: [14, 19]
Generated Node #0,3,0: 31:[14, 19] Operation: 50-31=19
Exploring Operation: 31-14=17, Resulting Numbers: [50, 17]
Generated Node #0,3,1: 31:[50, 17] Operation: 31-14=17
Exploring Operation: 14+31=45, Resulting Numbers: [50, 45]
Generated Node #0,3,2: 31:[50, 45] Operation: 14+31=45
Exploring Operation: 50+14=64, Resulting Numbers: [31, 64]
Generated Node #0,3,3: 31:[31, 64] Operation: 50+14=64
Exploring Operation: 50-14=36, Resulting Numbers: [31, 36]
Generated Node #0,3,4: 31:[31, 36] Operation: 50-14=36
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 31:[31, 36], Operations: ['32-1=31', '50-14=36']
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,31 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 31:[14, 19], Operations: ['32-1=31', '50-31=19']
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 31:[50, 17], Operations: ['32-1=31', '31-14=17']
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,31 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 31:[50, 45], Operations: ['32-1=31', '14+31=45']
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,31 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 50*45=2250, Resulting Numbers: [2250]
2250,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 31:[31, 64], Operations: ['32-1=31', '50+14=64']
Exploring Operation: 31*64=1984, Resulting Numbers: [1984]
1984,31 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 31+64=95, Resulting Numbers: [95]
95,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[14, 32, 49], Operations: ['50-1=49']
Exploring Operation: 49-14=35, Resulting Numbers: [32, 35]
Generated Node #0,4,0: 31:[32, 35] Operation: 49-14=35
Exploring Operation: 49-32=17, Resulting Numbers: [14, 17]
Generated Node #0,4,1: 31:[14, 17] Operation: 49-32=17
Exploring Operation: 14+49=63, Resulting Numbers: [32, 63]
Generated Node #0,4,2: 31:[32, 63] Operation: 14+49=63
Exploring Operation: 14+32=46, Resulting Numbers: [49, 46]
Generated Node #0,4,3: 31:[49, 46] Operation: 14+32=46
Exploring Operation: 32-14=18, Resulting Numbers: [49, 18]
Generated Node #0,4,4: 31:[49, 18] Operation: 32-14=18
Moving to Node #0,4,0
Current State: 31:[32, 35], Operations: ['50-1=49', '49-14=35']
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,31 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[49, 18], Operations: ['50-1=49', '32-14=18']
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,31 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[50, 14, 32, 1], Operations: []
Exploring Operation: 50-1=49, Resulting Numbers: [14, 32, 49]
Generated Node #0,4: 31:[14, 32, 49] Operation: 50-1=49
Moving to Node #0,4
Current State: 31:[14, 32, 49], Operations: ['50-1=49']
Exploring Operation: 32-14=18, Resulting Numbers: [49, 18]
Generated Node #0,4,4: 31:[49, 18] Operation: 32-14=18
Moving to Node #0,4,4
Current State: 31:[49, 18], Operations: ['50-1=49', '32-14=18']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.931424 | hs_5 | sum_heuristic |
[
5,
52,
97,
8
] | 73 | [
"97+8=105",
"105/5=21",
"52+21=73"
] | Current State: 73:[5, 52, 97, 8], Operations: []
Exploring Operation: 97+8=105, Resulting Numbers: [5, 52, 105]
Generated Node #2: [5, 52, 105] from Operation: 97+8=105
Current State: 73:[5, 52, 105], Operations: ['97+8=105']
Exploring Operation: 105/5=21, Resulting Numbers: [52, 21]
Generated Node #3: [52, 21] from Operation: 105/5=21
Current State: 73:[52, 21], Operations: ['97+8=105', '105/5=21']
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[5, 52, 97, 8], Operations: []
Exploring Operation: 5+8=13, Resulting Numbers: [52, 97, 13]
Generated Node #0,0: 73:[52, 97, 13] Operation: 5+8=13
Exploring Operation: 5+52=57, Resulting Numbers: [97, 8, 57]
Generated Node #0,1: 73:[97, 8, 57] Operation: 5+52=57
Exploring Operation: 97-5=92, Resulting Numbers: [52, 8, 92]
Generated Node #0,2: 73:[52, 8, 92] Operation: 97-5=92
Exploring Operation: 5*8=40, Resulting Numbers: [52, 97, 40]
Generated Node #0,3: 73:[52, 97, 40] Operation: 5*8=40
Moving to Node #0,3
Current State: 73:[52, 97, 40], Operations: ['5*8=40']
Exploring Operation: 97-40=57, Resulting Numbers: [52, 57]
Generated Node #0,3,0: 73:[52, 57] Operation: 97-40=57
Exploring Operation: 52+40=92, Resulting Numbers: [97, 92]
Generated Node #0,3,1: 73:[97, 92] Operation: 52+40=92
Exploring Operation: 52-40=12, Resulting Numbers: [97, 12]
Generated Node #0,3,2: 73:[97, 12] Operation: 52-40=12
Exploring Operation: 97-52=45, Resulting Numbers: [40, 45]
Generated Node #0,3,3: 73:[40, 45] Operation: 97-52=45
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[52, 57], Operations: ['5*8=40', '97-40=57']
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 52+57=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 52*57=2964, Resulting Numbers: [2964]
2964,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 73:[97, 92], Operations: ['5*8=40', '52+40=92']
Exploring Operation: 97+92=189, Resulting Numbers: [189]
189,73 unequal: No Solution
Exploring Operation: 97-92=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 97*92=8924, Resulting Numbers: [8924]
8924,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[40, 45], Operations: ['5*8=40', '97-52=45']
Exploring Operation: 40*45=1800, Resulting Numbers: [1800]
1800,73 unequal: No Solution
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[97, 12], Operations: ['5*8=40', '52-40=12']
Exploring Operation: 97*12=1164, Resulting Numbers: [1164]
1164,73 unequal: No Solution
Exploring Operation: 97+12=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,73 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: 73:[97, 8, 57], Operations: ['5+52=57']
Exploring Operation: 8+57=65, Resulting Numbers: [97, 65]
Generated Node #0,1,0: 73:[97, 65] Operation: 8+57=65
Exploring Operation: 97+8=105, Resulting Numbers: [57, 105]
Generated Node #0,1,1: 73:[57, 105] Operation: 97+8=105
Exploring Operation: 57-8=49, Resulting Numbers: [97, 49]
Generated Node #0,1,2: 73:[97, 49] Operation: 57-8=49
Exploring Operation: 97-8=89, Resulting Numbers: [57, 89]
Generated Node #0,1,3: 73:[57, 89] Operation: 97-8=89
Moving to Node #0,0
Current State: 73:[52, 97, 13], Operations: ['5+8=13']
Exploring Operation: 52+13=65, Resulting Numbers: [97, 65]
Generated Node #0,0,0: 73:[97, 65] Operation: 52+13=65
Exploring Operation: 52-13=39, Resulting Numbers: [97, 39]
Generated Node #0,0,1: 73:[97, 39] Operation: 52-13=39
Exploring Operation: 97-13=84, Resulting Numbers: [52, 84]
Generated Node #0,0,2: 73:[52, 84] Operation: 97-13=84
Exploring Operation: 97+13=110, Resulting Numbers: [52, 110]
Generated Node #0,0,3: 73:[52, 110] Operation: 97+13=110
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[97, 65], Operations: ['5+8=13', '52+13=65']
Exploring Operation: 97-65=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 97+65=162, Resulting Numbers: [162]
162,73 unequal: No Solution
Exploring Operation: 97*65=6305, Resulting Numbers: [6305]
6305,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[52, 84], Operations: ['5+8=13', '97-13=84']
Exploring Operation: 52*84=4368, Resulting Numbers: [4368]
4368,73 unequal: No Solution
Exploring Operation: 52+84=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[97, 39], Operations: ['5+8=13', '52-13=39']
Exploring Operation: 97*39=3783, Resulting Numbers: [3783]
3783,73 unequal: No Solution
Exploring Operation: 97-39=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 97+39=136, Resulting Numbers: [136]
136,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[52, 110], Operations: ['5+8=13', '97+13=110']
Exploring Operation: 110-52=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 52+110=162, Resulting Numbers: [162]
162,73 unequal: No Solution
Exploring Operation: 52*110=5720, Resulting Numbers: [5720]
5720,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 73:[52, 8, 92], Operations: ['97-5=92']
Exploring Operation: 8+92=100, Resulting Numbers: [52, 100]
Generated Node #0,2,0: 73:[52, 100] Operation: 8+92=100
Exploring Operation: 52-8=44, Resulting Numbers: [92, 44]
Generated Node #0,2,1: 73:[92, 44] Operation: 52-8=44
Exploring Operation: 52+8=60, Resulting Numbers: [92, 60]
Generated Node #0,2,2: 73:[92, 60] Operation: 52+8=60
Exploring Operation: 92-8=84, Resulting Numbers: [52, 84]
Generated Node #0,2,3: 73:[52, 84] Operation: 92-8=84
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[92, 60], Operations: ['97-5=92', '52+8=60']
Exploring Operation: 92*60=5520, Resulting Numbers: [5520]
5520,73 unequal: No Solution
Exploring Operation: 92-60=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 92+60=152, Resulting Numbers: [152]
152,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[52, 84], Operations: ['97-5=92', '92-8=84']
Exploring Operation: 52*84=4368, Resulting Numbers: [4368]
4368,73 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 52+84=136, Resulting Numbers: [136]
136,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[52, 100], Operations: ['97-5=92', '8+92=100']
Exploring Operation: 100-52=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 52+100=152, Resulting Numbers: [152]
152,73 unequal: No Solution
Exploring Operation: 52*100=5200, Resulting Numbers: [5200]
5200,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[92, 44], Operations: ['97-5=92', '52-8=44']
Exploring Operation: 92*44=4048, Resulting Numbers: [4048]
4048,73 unequal: No Solution
Exploring Operation: 92+44=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,73 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: 73:[97, 65], Operations: ['5+52=57', '8+57=65']
Exploring Operation: 97+65=162, Resulting Numbers: [162]
162,73 unequal: No Solution
Exploring Operation: 97-65=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 97*65=6305, Resulting Numbers: [6305]
6305,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[57, 89], Operations: ['5+52=57', '97-8=89']
Exploring Operation: 89-57=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 57+89=146, Resulting Numbers: [146]
146,73 unequal: No Solution
Exploring Operation: 57*89=5073, Resulting Numbers: [5073]
5073,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[97, 49], Operations: ['5+52=57', '57-8=49']
Exploring Operation: 97+49=146, Resulting Numbers: [146]
146,73 unequal: No Solution
Exploring Operation: 97*49=4753, Resulting Numbers: [4753]
4753,73 unequal: No Solution
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[57, 105], Operations: ['5+52=57', '97+8=105']
Exploring Operation: 105-57=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 57*105=5985, Resulting Numbers: [5985]
5985,73 unequal: No Solution
Exploring Operation: 57+105=162, Resulting Numbers: [162]
162,73 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
91,
77,
38,
42
] | 41 | [
"91-77=14",
"42/14=3",
"38+3=41"
] | Current State: 41:[91, 77, 38, 42], Operations: []
Exploring Operation: 91-77=14, Resulting Numbers: [38, 42, 14]
Generated Node #2: [38, 42, 14] from Operation: 91-77=14
Current State: 41:[38, 42, 14], Operations: ['91-77=14']
Exploring Operation: 42/14=3, Resulting Numbers: [38, 3]
Generated Node #3: [38, 3] from Operation: 42/14=3
Current State: 41:[38, 3], Operations: ['91-77=14', '42/14=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[91, 77, 38, 42], Operations: []
Exploring Operation: 77-38=39, Resulting Numbers: [91, 42, 39]
Generated Node #0,0: 41:[91, 42, 39] Operation: 77-38=39
Exploring Operation: 91-42=49, Resulting Numbers: [77, 38, 49]
Generated Node #0,1: 41:[77, 38, 49] Operation: 91-42=49
Exploring Operation: 91-77=14, Resulting Numbers: [38, 42, 14]
Generated Node #0,2: 41:[38, 42, 14] Operation: 91-77=14
Exploring Operation: 91-38=53, Resulting Numbers: [77, 42, 53]
Generated Node #0,3: 41:[77, 42, 53] Operation: 91-38=53
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[38, 42, 14], Operations: ['91-77=14']
Exploring Operation: 38-14=24, Resulting Numbers: [42, 24]
Generated Node #0,2,0: 41:[42, 24] Operation: 38-14=24
Exploring Operation: 42+14=56, Resulting Numbers: [38, 56]
Generated Node #0,2,1: 41:[38, 56] Operation: 42+14=56
Exploring Operation: 38+14=52, Resulting Numbers: [42, 52]
Generated Node #0,2,2: 41:[42, 52] Operation: 38+14=52
Exploring Operation: 42-14=28, Resulting Numbers: [38, 28]
Generated Node #0,2,3: 41:[38, 28] Operation: 42-14=28
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 41:[42, 52], Operations: ['91-77=14', '38+14=52']
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 41:[38, 28], Operations: ['91-77=14', '42-14=28']
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 38*28=1064, Resulting Numbers: [1064]
1064,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[42, 24], Operations: ['91-77=14', '38-14=24']
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,41 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 41:[38, 56], Operations: ['91-77=14', '42+14=56']
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[77, 38, 49], Operations: ['91-42=49']
Exploring Operation: 77-38=39, Resulting Numbers: [49, 39]
Generated Node #0,1,0: 41:[49, 39] Operation: 77-38=39
Exploring Operation: 77+38=115, Resulting Numbers: [49, 115]
Generated Node #0,1,1: 41:[49, 115] Operation: 77+38=115
Exploring Operation: 49-38=11, Resulting Numbers: [77, 11]
Generated Node #0,1,2: 41:[77, 11] Operation: 49-38=11
Exploring Operation: 77-49=28, Resulting Numbers: [38, 28]
Generated Node #0,1,3: 41:[38, 28] Operation: 77-49=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[49, 39], Operations: ['91-42=49', '77-38=39']
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,41 unequal: No Solution
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 41:[38, 28], Operations: ['91-42=49', '77-49=28']
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 38*28=1064, Resulting Numbers: [1064]
1064,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[77, 11], Operations: ['91-42=49', '49-38=11']
Exploring Operation: 77*11=847, Resulting Numbers: [847]
847,41 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[49, 115], Operations: ['91-42=49', '77+38=115']
Exploring Operation: 49*115=5635, Resulting Numbers: [5635]
5635,41 unequal: No Solution
Exploring Operation: 49+115=164, Resulting Numbers: [164]
164,41 unequal: No Solution
Exploring Operation: 115-49=66, Resulting Numbers: [66]
66,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[77, 42, 53], Operations: ['91-38=53']
Exploring Operation: 77-42=35, Resulting Numbers: [53, 35]
Generated Node #0,3,0: 41:[53, 35] Operation: 77-42=35
Exploring Operation: 53-42=11, Resulting Numbers: [77, 11]
Generated Node #0,3,1: 41:[77, 11] Operation: 53-42=11
Exploring Operation: 77-53=24, Resulting Numbers: [42, 24]
Generated Node #0,3,2: 41:[42, 24] Operation: 77-53=24
Exploring Operation: 77+42=119, Resulting Numbers: [53, 119]
Generated Node #0,3,3: 41:[53, 119] Operation: 77+42=119
Moving to Node #0,3,0
Current State: 41:[53, 35], Operations: ['91-38=53', '77-42=35']
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[42, 24], Operations: ['91-38=53', '77-53=24']
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,41 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[77, 11], Operations: ['91-38=53', '53-42=11']
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 77*11=847, Resulting Numbers: [847]
847,41 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[53, 119], Operations: ['91-38=53', '77+42=119']
Exploring Operation: 53+119=172, Resulting Numbers: [172]
172,41 unequal: No Solution
Exploring Operation: 119-53=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 53*119=6307, Resulting Numbers: [6307]
6307,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[91, 42, 39], Operations: ['77-38=39']
Exploring Operation: 91-39=52, Resulting Numbers: [42, 52]
Generated Node #0,0,0: 41:[42, 52] Operation: 91-39=52
Exploring Operation: 91-42=49, Resulting Numbers: [39, 49]
Generated Node #0,0,1: 41:[39, 49] Operation: 91-42=49
Exploring Operation: 42-39=3, Resulting Numbers: [91, 3]
Generated Node #0,0,2: 41:[91, 3] Operation: 42-39=3
Exploring Operation: 91+39=130, Resulting Numbers: [42, 130]
Generated Node #0,0,3: 41:[42, 130] Operation: 91+39=130
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[39, 49], Operations: ['77-38=39', '91-42=49']
Exploring Operation: 39+49=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 39*49=1911, Resulting Numbers: [1911]
1911,41 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[42, 52], Operations: ['77-38=39', '91-39=52']
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,41 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[91, 3], Operations: ['77-38=39', '42-39=3']
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,41 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 41:[42, 130], Operations: ['77-38=39', '91+39=130']
Exploring Operation: 130-42=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 42*130=5460, Resulting Numbers: [5460]
5460,41 unequal: No Solution
Exploring Operation: 42+130=172, Resulting Numbers: [172]
172,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
8,
72,
4,
91
] | 97 | [
"8+4=12",
"72/12=6",
"91+6=97"
] | Current State: 97:[8, 72, 4, 91], Operations: []
Exploring Operation: 8+4=12, Resulting Numbers: [72, 91, 12]
Generated Node #2: [72, 91, 12] from Operation: 8+4=12
Current State: 97:[72, 91, 12], Operations: ['8+4=12']
Exploring Operation: 72/12=6, Resulting Numbers: [91, 6]
Generated Node #3: [91, 6] from Operation: 72/12=6
Current State: 97:[91, 6], Operations: ['8+4=12', '72/12=6']
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[8, 72, 4, 91], Operations: []
Exploring Operation: 8+4=12, Resulting Numbers: [72, 91, 12]
Generated Node #0,0: 97:[72, 91, 12] Operation: 8+4=12
Exploring Operation: 72+4=76, Resulting Numbers: [8, 91, 76]
Generated Node #0,1: 97:[8, 91, 76] Operation: 72+4=76
Exploring Operation: 8+72=80, Resulting Numbers: [4, 91, 80]
Generated Node #0,2: 97:[4, 91, 80] Operation: 8+72=80
Exploring Operation: 4+91=95, Resulting Numbers: [8, 72, 95]
Generated Node #0,3: 97:[8, 72, 95] Operation: 4+91=95
Exploring Operation: 8*4=32, Resulting Numbers: [72, 91, 32]
Generated Node #0,4: 97:[72, 91, 32] Operation: 8*4=32
Start Sub Search at level 1: Moving to Node #0,4
Current State: 97:[72, 91, 32], Operations: ['8*4=32']
Exploring Operation: 91-32=59, Resulting Numbers: [72, 59]
Generated Node #0,4,0: 97:[72, 59] Operation: 91-32=59
Exploring Operation: 72+91=163, Resulting Numbers: [32, 163]
Generated Node #0,4,1: 97:[32, 163] Operation: 72+91=163
Exploring Operation: 72-32=40, Resulting Numbers: [91, 40]
Generated Node #0,4,2: 97:[91, 40] Operation: 72-32=40
Exploring Operation: 72+32=104, Resulting Numbers: [91, 104]
Generated Node #0,4,3: 97:[91, 104] Operation: 72+32=104
Exploring Operation: 91+32=123, Resulting Numbers: [72, 123]
Generated Node #0,4,4: 97:[72, 123] Operation: 91+32=123
Moving to Node #0,4,3
Current State: 97:[91, 104], Operations: ['8*4=32', '72+32=104']
Exploring Operation: 91*104=9464, Resulting Numbers: [9464]
9464,97 unequal: No Solution
Exploring Operation: 91+104=195, Resulting Numbers: [195]
195,97 unequal: No Solution
Exploring Operation: 104-91=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Moving to Node #0,4,4
Current State: 97:[72, 123], Operations: ['8*4=32', '91+32=123']
Exploring Operation: 123-72=51, Resulting Numbers: [51]
51,97 unequal: No Solution
Exploring Operation: 72+123=195, Resulting Numbers: [195]
195,97 unequal: No Solution
Exploring Operation: 72*123=8856, Resulting Numbers: [8856]
8856,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[72, 59], Operations: ['8*4=32', '91-32=59']
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Exploring Operation: 72*59=4248, Resulting Numbers: [4248]
4248,97 unequal: No Solution
Exploring Operation: 72+59=131, Resulting Numbers: [131]
131,97 unequal: No Solution
Moving to Node #0,4,2
Current State: 97:[91, 40], Operations: ['8*4=32', '72-32=40']
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,97 unequal: No Solution
Exploring Operation: 91*40=3640, Resulting Numbers: [3640]
3640,97 unequal: No Solution
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[32, 163], Operations: ['8*4=32', '72+91=163']
Exploring Operation: 32+163=195, Resulting Numbers: [195]
195,97 unequal: No Solution
Exploring Operation: 163-32=131, Resulting Numbers: [131]
131,97 unequal: No Solution
Exploring Operation: 32*163=5216, Resulting Numbers: [5216]
5216,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
Current State: 97:[72, 91, 12], Operations: ['8+4=12']
Exploring Operation: 91-12=79, Resulting Numbers: [72, 79]
Generated Node #0,0,0: 97:[72, 79] Operation: 91-12=79
Exploring Operation: 72+12=84, Resulting Numbers: [91, 84]
Generated Node #0,0,1: 97:[91, 84] Operation: 72+12=84
Exploring Operation: 72/12=6, Resulting Numbers: [91, 6]
Generated Node #0,0,2: 97:[91, 6] Operation: 72/12=6
Exploring Operation: 91+12=103, Resulting Numbers: [72, 103]
Generated Node #0,0,3: 97:[72, 103] Operation: 91+12=103
Exploring Operation: 72-12=60, Resulting Numbers: [91, 60]
Generated Node #0,0,4: 97:[91, 60] Operation: 72-12=60
Moving to Node #0,0,1
Current State: 97:[91, 84], Operations: ['8+4=12', '72+12=84']
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 91+84=175, Resulting Numbers: [175]
175,97 unequal: No Solution
Exploring Operation: 91*84=7644, Resulting Numbers: [7644]
7644,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[72, 103], Operations: ['8+4=12', '91+12=103']
Exploring Operation: 72+103=175, Resulting Numbers: [175]
175,97 unequal: No Solution
Exploring Operation: 103-72=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 72*103=7416, Resulting Numbers: [7416]
7416,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[72, 79], Operations: ['8+4=12', '91-12=79']
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,97 unequal: No Solution
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,97 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Moving to Node #0,0,4
Current State: 97:[91, 60], Operations: ['8+4=12', '72-12=60']
Exploring Operation: 91+60=151, Resulting Numbers: [151]
151,97 unequal: No Solution
Exploring Operation: 91*60=5460, Resulting Numbers: [5460]
5460,97 unequal: No Solution
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[91, 6], Operations: ['8+4=12', '72/12=6']
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,97 unequal: No Solution
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[8, 72, 4, 91], Operations: []
Exploring Operation: 8+4=12, Resulting Numbers: [72, 91, 12]
Generated Node #0,0: 97:[72, 91, 12] Operation: 8+4=12
Moving to Node #0,0
Current State: 97:[72, 91, 12], Operations: ['8+4=12']
Exploring Operation: 72/12=6, Resulting Numbers: [91, 6]
Generated Node #0,0,2: 97:[91, 6] Operation: 72/12=6
Moving to Node #0,0,2
Current State: 97:[91, 6], Operations: ['8+4=12', '72/12=6']
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_5 | sum_heuristic |
[
58,
2,
10,
85
] | 21 | [
"58*2=116",
"10+85=95",
"116-95=21"
] | Current State: 21:[58, 2, 10, 85], Operations: []
Exploring Operation: 58*2=116, Resulting Numbers: [10, 85, 116]
Generated Node #2: [10, 85, 116] from Operation: 58*2=116
Current State: 21:[10, 85, 116], Operations: ['58*2=116']
Exploring Operation: 10+85=95, Resulting Numbers: [116, 95]
Generated Node #3: [116, 95] from Operation: 10+85=95
Current State: 21:[116, 95], Operations: ['58*2=116', '10+85=95']
Exploring Operation: 116-95=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[58, 2, 10, 85], Operations: []
Exploring Operation: 58-10=48, Resulting Numbers: [2, 85, 48]
Generated Node #0,0: 21:[2, 85, 48] Operation: 58-10=48
Exploring Operation: 85-10=75, Resulting Numbers: [58, 2, 75]
Generated Node #0,1: 21:[58, 2, 75] Operation: 85-10=75
Exploring Operation: 85-58=27, Resulting Numbers: [2, 10, 27]
Generated Node #0,2: 21:[2, 10, 27] Operation: 85-58=27
Exploring Operation: 58/2=29, Resulting Numbers: [10, 85, 29]
Generated Node #0,3: 21:[10, 85, 29] Operation: 58/2=29
Moving to Node #0,2
Current State: 21:[2, 10, 27], Operations: ['85-58=27']
Exploring Operation: 10-2=8, Resulting Numbers: [27, 8]
Generated Node #0,2,0: 21:[27, 8] Operation: 10-2=8
Exploring Operation: 27-2=25, Resulting Numbers: [10, 25]
Generated Node #0,2,1: 21:[10, 25] Operation: 27-2=25
Exploring Operation: 2*10=20, Resulting Numbers: [27, 20]
Generated Node #0,2,2: 21:[27, 20] Operation: 2*10=20
Exploring Operation: 27-10=17, Resulting Numbers: [2, 17]
Generated Node #0,2,3: 21:[2, 17] Operation: 27-10=17
Moving to Node #0,3
Current State: 21:[10, 85, 29], Operations: ['58/2=29']
Exploring Operation: 85-10=75, Resulting Numbers: [29, 75]
Generated Node #0,3,0: 21:[29, 75] Operation: 85-10=75
Exploring Operation: 85-29=56, Resulting Numbers: [10, 56]
Generated Node #0,3,1: 21:[10, 56] Operation: 85-29=56
Exploring Operation: 10+85=95, Resulting Numbers: [29, 95]
Generated Node #0,3,2: 21:[29, 95] Operation: 10+85=95
Exploring Operation: 29-10=19, Resulting Numbers: [85, 19]
Generated Node #0,3,3: 21:[85, 19] Operation: 29-10=19
Moving to Node #0,1
Current State: 21:[58, 2, 75], Operations: ['85-10=75']
Exploring Operation: 75-2=73, Resulting Numbers: [58, 73]
Generated Node #0,1,0: 21:[58, 73] Operation: 75-2=73
Exploring Operation: 58-2=56, Resulting Numbers: [75, 56]
Generated Node #0,1,1: 21:[75, 56] Operation: 58-2=56
Exploring Operation: 75-58=17, Resulting Numbers: [2, 17]
Generated Node #0,1,2: 21:[2, 17] Operation: 75-58=17
Exploring Operation: 58/2=29, Resulting Numbers: [75, 29]
Generated Node #0,1,3: 21:[75, 29] Operation: 58/2=29
Moving to Node #0,0
Current State: 21:[2, 85, 48], Operations: ['58-10=48']
Exploring Operation: 48/2=24, Resulting Numbers: [85, 24]
Generated Node #0,0,0: 21:[85, 24] Operation: 48/2=24
Exploring Operation: 48-2=46, Resulting Numbers: [85, 46]
Generated Node #0,0,1: 21:[85, 46] Operation: 48-2=46
Exploring Operation: 85-2=83, Resulting Numbers: [48, 83]
Generated Node #0,0,2: 21:[48, 83] Operation: 85-2=83
Exploring Operation: 85-48=37, Resulting Numbers: [2, 37]
Generated Node #0,0,3: 21:[2, 37] Operation: 85-48=37
Moving to Node #0,2,3
Current State: 21:[2, 17], Operations: ['85-58=27', '27-10=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[2, 17], Operations: ['85-10=75', '75-58=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[10, 25], Operations: ['85-58=27', '27-2=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,21 unequal: No Solution
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[27, 8], Operations: ['85-58=27', '10-2=8']
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,21 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[27, 20], Operations: ['85-58=27', '2*10=20']
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,21 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[2, 37], Operations: ['58-10=48', '85-48=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,21 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Moving to Node #0,3,1
Current State: 21:[10, 56], Operations: ['58/2=29', '85-29=56']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,21 unequal: No Solution
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[29, 75], Operations: ['58/2=29', '85-10=75']
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Exploring Operation: 29*75=2175, Resulting Numbers: [2175]
2175,21 unequal: No Solution
Exploring Operation: 29+75=104, Resulting Numbers: [104]
104,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[75, 29], Operations: ['85-10=75', '58/2=29']
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,21 unequal: No Solution
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,21 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[85, 19], Operations: ['58/2=29', '29-10=19']
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 85+19=104, Resulting Numbers: [104]
104,21 unequal: No Solution
Exploring Operation: 85*19=1615, Resulting Numbers: [1615]
1615,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[85, 24], Operations: ['58-10=48', '48/2=24']
Exploring Operation: 85*24=2040, Resulting Numbers: [2040]
2040,21 unequal: No Solution
Exploring Operation: 85+24=109, Resulting Numbers: [109]
109,21 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,21 unequal: No Solution
Moving to Node #0,3,2
Current State: 21:[29, 95], Operations: ['58/2=29', '10+85=95']
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 29*95=2755, Resulting Numbers: [2755]
2755,21 unequal: No Solution
Exploring Operation: 29+95=124, Resulting Numbers: [124]
124,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[58, 73], Operations: ['85-10=75', '75-2=73']
Exploring Operation: 58+73=131, Resulting Numbers: [131]
131,21 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 58*73=4234, Resulting Numbers: [4234]
4234,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[75, 56], Operations: ['85-10=75', '58-2=56']
Exploring Operation: 75+56=131, Resulting Numbers: [131]
131,21 unequal: No Solution
Exploring Operation: 75-56=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 75*56=4200, Resulting Numbers: [4200]
4200,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[85, 46], Operations: ['58-10=48', '48-2=46']
Exploring Operation: 85*46=3910, Resulting Numbers: [3910]
3910,21 unequal: No Solution
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 85+46=131, Resulting Numbers: [131]
131,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[48, 83], Operations: ['58-10=48', '85-2=83']
Exploring Operation: 48*83=3984, Resulting Numbers: [3984]
3984,21 unequal: No Solution
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 48+83=131, Resulting Numbers: [131]
131,21 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
46,
30,
43,
71
] | 81 | [
"46-43=3",
"30/3=10",
"71+10=81"
] | Current State: 81:[46, 30, 43, 71], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [30, 71, 3]
Generated Node #2: [30, 71, 3] from Operation: 46-43=3
Current State: 81:[30, 71, 3], Operations: ['46-43=3']
Exploring Operation: 30/3=10, Resulting Numbers: [71, 10]
Generated Node #3: [71, 10] from Operation: 30/3=10
Current State: 81:[71, 10], Operations: ['46-43=3', '30/3=10']
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[46, 30, 43, 71], Operations: []
Exploring Operation: 71-46=25, Resulting Numbers: [30, 43, 25]
Generated Node #0,0: 81:[30, 43, 25] Operation: 71-46=25
Exploring Operation: 46+43=89, Resulting Numbers: [30, 71, 89]
Generated Node #0,1: 81:[30, 71, 89] Operation: 46+43=89
Exploring Operation: 46-43=3, Resulting Numbers: [30, 71, 3]
Generated Node #0,2: 81:[30, 71, 3] Operation: 46-43=3
Moving to Node #0,2
Current State: 81:[30, 71, 3], Operations: ['46-43=3']
Exploring Operation: 30-3=27, Resulting Numbers: [71, 27]
Generated Node #0,2,0: 81:[71, 27] Operation: 30-3=27
Exploring Operation: 71+3=74, Resulting Numbers: [30, 74]
Generated Node #0,2,1: 81:[30, 74] Operation: 71+3=74
Exploring Operation: 30/3=10, Resulting Numbers: [71, 10]
Generated Node #0,2,2: 81:[71, 10] Operation: 30/3=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[71, 27], Operations: ['46-43=3', '30-3=27']
Exploring Operation: 71+27=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 71*27=1917, Resulting Numbers: [1917]
1917,81 unequal: No Solution
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[30, 74], Operations: ['46-43=3', '71+3=74']
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,81 unequal: No Solution
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[71, 10], Operations: ['46-43=3', '30/3=10']
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[46, 30, 43, 71], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [30, 71, 3]
Generated Node #0,2: 81:[30, 71, 3] Operation: 46-43=3
Moving to Node #0,2
Current State: 81:[30, 71, 3], Operations: ['46-43=3']
Exploring Operation: 30/3=10, Resulting Numbers: [71, 10]
Generated Node #0,2,2: 81:[71, 10] Operation: 30/3=10
Moving to Node #0,2,2
Current State: 81:[71, 10], Operations: ['46-43=3', '30/3=10']
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
54,
37,
54,
25
] | 13 | [
"54/54=1",
"37-25=12",
"1+12=13"
] | Current State: 13:[54, 37, 54, 25], Operations: []
Exploring Operation: 54/54=1, Resulting Numbers: [37, 25, 1]
Generated Node #2: [37, 25, 1] from Operation: 54/54=1
Current State: 13:[37, 25, 1], Operations: ['54/54=1']
Exploring Operation: 37-25=12, Resulting Numbers: [1, 12]
Generated Node #3: [1, 12] from Operation: 37-25=12
Current State: 13:[1, 12], Operations: ['54/54=1', '37-25=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[54, 37, 54, 25], Operations: []
Exploring Operation: 54-37=17, Resulting Numbers: [54, 25, 17]
Generated Node #0,0: 13:[54, 25, 17] Operation: 54-37=17
Exploring Operation: 54/54=1, Resulting Numbers: [37, 25, 1]
Generated Node #0,1: 13:[37, 25, 1] Operation: 54/54=1
Exploring Operation: 54-54=0, Resulting Numbers: [37, 25, 0]
Generated Node #0,2: 13:[37, 25, 0] Operation: 54-54=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[37, 25, 1], Operations: ['54/54=1']
Exploring Operation: 25-1=24, Resulting Numbers: [37, 24]
Generated Node #0,1,0: 13:[37, 24] Operation: 25-1=24
Exploring Operation: 37-1=36, Resulting Numbers: [25, 36]
Generated Node #0,1,1: 13:[25, 36] Operation: 37-1=36
Exploring Operation: 37-25=12, Resulting Numbers: [1, 12]
Generated Node #0,1,2: 13:[1, 12] Operation: 37-25=12
Moving to Node #0,1,2
Current State: 13:[1, 12], Operations: ['54/54=1', '37-25=12']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[54, 37, 54, 25], Operations: []
Exploring Operation: 54/54=1, Resulting Numbers: [37, 25, 1]
Generated Node #0,1: 13:[37, 25, 1] Operation: 54/54=1
Moving to Node #0,1
Current State: 13:[37, 25, 1], Operations: ['54/54=1']
Exploring Operation: 37-25=12, Resulting Numbers: [1, 12]
Generated Node #0,1,2: 13:[1, 12] Operation: 37-25=12
Moving to Node #0,1,2
Current State: 13:[1, 12], Operations: ['54/54=1', '37-25=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
95,
7,
99,
86
] | 89 | [
"95+7=102",
"99-86=13",
"102-13=89"
] | Current State: 89:[95, 7, 99, 86], Operations: []
Exploring Operation: 95+7=102, Resulting Numbers: [99, 86, 102]
Generated Node #2: [99, 86, 102] from Operation: 95+7=102
Current State: 89:[99, 86, 102], Operations: ['95+7=102']
Exploring Operation: 99-86=13, Resulting Numbers: [102, 13]
Generated Node #3: [102, 13] from Operation: 99-86=13
Current State: 89:[102, 13], Operations: ['95+7=102', '99-86=13']
Exploring Operation: 102-13=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[95, 7, 99, 86], Operations: []
Exploring Operation: 99-7=92, Resulting Numbers: [95, 86, 92]
Generated Node #0,0: 89:[95, 86, 92] Operation: 99-7=92
Moving to Node #0,0
Current State: 89:[95, 86, 92], Operations: ['99-7=92']
Exploring Operation: 95-86=9, Resulting Numbers: [92, 9]
Generated Node #0,0,0: 89:[92, 9] Operation: 95-86=9
Moving to Node #0,0,0
Current State: 89:[92, 9], Operations: ['99-7=92', '95-86=9']
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,89 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
54,
63,
5,
22
] | 71 | [
"63+22=85",
"85/5=17",
"54+17=71"
] | Current State: 71:[54, 63, 5, 22], Operations: []
Exploring Operation: 63+22=85, Resulting Numbers: [54, 5, 85]
Generated Node #2: [54, 5, 85] from Operation: 63+22=85
Current State: 71:[54, 5, 85], Operations: ['63+22=85']
Exploring Operation: 85/5=17, Resulting Numbers: [54, 17]
Generated Node #3: [54, 17] from Operation: 85/5=17
Current State: 71:[54, 17], Operations: ['63+22=85', '85/5=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[54, 63, 5, 22], Operations: []
Exploring Operation: 5*22=110, Resulting Numbers: [54, 63, 110]
Generated Node #0,0: 71:[54, 63, 110] Operation: 5*22=110
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[54, 63, 110], Operations: ['5*22=110']
Exploring Operation: 110-54=56, Resulting Numbers: [63, 56]
Generated Node #0,0,0: 71:[63, 56] Operation: 110-54=56
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[63, 56], Operations: ['5*22=110', '110-54=56']
Exploring Operation: 63+56=119, Resulting Numbers: [119]
119,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
98,
21,
91,
65
] | 93 | [
"98+21=119",
"91-65=26",
"119-26=93"
] | Current State: 93:[98, 21, 91, 65], Operations: []
Exploring Operation: 98+21=119, Resulting Numbers: [91, 65, 119]
Generated Node #2: [91, 65, 119] from Operation: 98+21=119
Current State: 93:[91, 65, 119], Operations: ['98+21=119']
Exploring Operation: 91-65=26, Resulting Numbers: [119, 26]
Generated Node #3: [119, 26] from Operation: 91-65=26
Current State: 93:[119, 26], Operations: ['98+21=119', '91-65=26']
Exploring Operation: 119-26=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[98, 21, 91, 65], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [21, 91, 33]
Generated Node #0,0: 93:[21, 91, 33] Operation: 98-65=33
Exploring Operation: 21+65=86, Resulting Numbers: [98, 91, 86]
Generated Node #0,1: 93:[98, 91, 86] Operation: 21+65=86
Moving to Node #0,0
Current State: 93:[21, 91, 33], Operations: ['98-65=33']
Exploring Operation: 21+91=112, Resulting Numbers: [33, 112]
Generated Node #0,0,0: 93:[33, 112] Operation: 21+91=112
Exploring Operation: 33-21=12, Resulting Numbers: [91, 12]
Generated Node #0,0,1: 93:[91, 12] Operation: 33-21=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[91, 12], Operations: ['98-65=33', '33-21=12']
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,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:[33, 112], Operations: ['98-65=33', '21+91=112']
Exploring Operation: 112-33=79, Resulting Numbers: [79]
79,93 unequal: No Solution
Exploring Operation: 33+112=145, Resulting Numbers: [145]
145,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:[98, 91, 86], Operations: ['21+65=86']
Exploring Operation: 91-86=5, Resulting Numbers: [98, 5]
Generated Node #0,1,0: 93:[98, 5] Operation: 91-86=5
Exploring Operation: 98-91=7, Resulting Numbers: [86, 7]
Generated Node #0,1,1: 93:[86, 7] Operation: 98-91=7
Moving to Node #0,1,0
Current State: 93:[98, 5], Operations: ['21+65=86', '91-86=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[98, 21, 91, 65], Operations: []
Exploring Operation: 21+65=86, Resulting Numbers: [98, 91, 86]
Generated Node #0,1: 93:[98, 91, 86] Operation: 21+65=86
Moving to Node #0,1
Current State: 93:[98, 91, 86], Operations: ['21+65=86']
Exploring Operation: 91-86=5, Resulting Numbers: [98, 5]
Generated Node #0,1,0: 93:[98, 5] Operation: 91-86=5
Moving to Node #0,1,0
Current State: 93:[98, 5], Operations: ['21+65=86', '91-86=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
81,
57,
14,
95
] | 57 | [
"81+57=138",
"95-14=81",
"138-81=57"
] | Current State: 57:[81, 57, 14, 95], Operations: []
Exploring Operation: 81+57=138, Resulting Numbers: [14, 95, 138]
Generated Node #2: [14, 95, 138] from Operation: 81+57=138
Current State: 57:[14, 95, 138], Operations: ['81+57=138']
Exploring Operation: 95-14=81, Resulting Numbers: [138, 81]
Generated Node #3: [138, 81] from Operation: 95-14=81
Current State: 57:[138, 81], Operations: ['81+57=138', '95-14=81']
Exploring Operation: 138-81=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[81, 57, 14, 95], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [81, 14, 38]
Generated Node #0,0: 57:[81, 14, 38] Operation: 95-57=38
Exploring Operation: 81-14=67, Resulting Numbers: [57, 95, 67]
Generated Node #0,1: 57:[57, 95, 67] Operation: 81-14=67
Exploring Operation: 95-81=14, Resulting Numbers: [57, 14, 14]
Generated Node #0,2: 57:[57, 14, 14] Operation: 95-81=14
Exploring Operation: 95-14=81, Resulting Numbers: [81, 57, 81]
Generated Node #0,3: 57:[81, 57, 81] Operation: 95-14=81
Exploring Operation: 81-57=24, Resulting Numbers: [14, 95, 24]
Generated Node #0,4: 57:[14, 95, 24] Operation: 81-57=24
Moving to Node #0,2
Current State: 57:[57, 14, 14], Operations: ['95-81=14']
Exploring Operation: 14-14=0, Resulting Numbers: [57, 0]
Generated Node #0,2,0: 57:[57, 0] Operation: 14-14=0
Exploring Operation: 57+14=71, Resulting Numbers: [14, 71]
Generated Node #0,2,1: 57:[14, 71] Operation: 57+14=71
Exploring Operation: 14+14=28, Resulting Numbers: [57, 28]
Generated Node #0,2,2: 57:[57, 28] Operation: 14+14=28
Exploring Operation: 57-14=43, Resulting Numbers: [14, 43]
Generated Node #0,2,3: 57:[14, 43] Operation: 57-14=43
Exploring Operation: 14/14=1, Resulting Numbers: [57, 1]
Generated Node #0,2,4: 57:[57, 1] Operation: 14/14=1
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 57:[57, 1], Operations: ['95-81=14', '14/14=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[81, 57, 14, 95], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [57, 14, 14]
Generated Node #0,2: 57:[57, 14, 14] Operation: 95-81=14
Moving to Node #0,2
Current State: 57:[57, 14, 14], Operations: ['95-81=14']
Exploring Operation: 14/14=1, Resulting Numbers: [57, 1]
Generated Node #0,2,4: 57:[57, 1] Operation: 14/14=1
Moving to Node #0,2,4
Current State: 57:[57, 1], Operations: ['95-81=14', '14/14=1']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
75,
32,
53,
78
] | 82 | [
"75+32=107",
"78-53=25",
"107-25=82"
] | Current State: 82:[75, 32, 53, 78], Operations: []
Exploring Operation: 75+32=107, Resulting Numbers: [53, 78, 107]
Generated Node #2: [53, 78, 107] from Operation: 75+32=107
Current State: 82:[53, 78, 107], Operations: ['75+32=107']
Exploring Operation: 78-53=25, Resulting Numbers: [107, 25]
Generated Node #3: [107, 25] from Operation: 78-53=25
Current State: 82:[107, 25], Operations: ['75+32=107', '78-53=25']
Exploring Operation: 107-25=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[75, 32, 53, 78], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [53, 78, 43]
Generated Node #0,0: 82:[53, 78, 43] Operation: 75-32=43
Exploring Operation: 32+53=85, Resulting Numbers: [75, 78, 85]
Generated Node #0,1: 82:[75, 78, 85] Operation: 32+53=85
Exploring Operation: 78-32=46, Resulting Numbers: [75, 53, 46]
Generated Node #0,2: 82:[75, 53, 46] Operation: 78-32=46
Exploring Operation: 78-75=3, Resulting Numbers: [32, 53, 3]
Generated Node #0,3: 82:[32, 53, 3] Operation: 78-75=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[75, 78, 85], Operations: ['32+53=85']
Exploring Operation: 78-75=3, Resulting Numbers: [85, 3]
Generated Node #0,1,0: 82:[85, 3] Operation: 78-75=3
Exploring Operation: 85-78=7, Resulting Numbers: [75, 7]
Generated Node #0,1,1: 82:[75, 7] Operation: 85-78=7
Exploring Operation: 75+78=153, Resulting Numbers: [85, 153]
Generated Node #0,1,2: 82:[85, 153] Operation: 75+78=153
Exploring Operation: 85-75=10, Resulting Numbers: [78, 10]
Generated Node #0,1,3: 82:[78, 10] Operation: 85-75=10
Moving to Node #0,1,0
Current State: 82:[85, 3], Operations: ['32+53=85', '78-75=3']
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,82 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[75, 32, 53, 78], Operations: []
Exploring Operation: 32+53=85, Resulting Numbers: [75, 78, 85]
Generated Node #0,1: 82:[75, 78, 85] Operation: 32+53=85
Moving to Node #0,1
Current State: 82:[75, 78, 85], Operations: ['32+53=85']
Exploring Operation: 78-75=3, Resulting Numbers: [85, 3]
Generated Node #0,1,0: 82:[85, 3] Operation: 78-75=3
Moving to Node #0,1,0
Current State: 82:[85, 3], Operations: ['32+53=85', '78-75=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
25,
34,
50,
58
] | 51 | [
"25+34=59",
"58-50=8",
"59-8=51"
] | Current State: 51:[25, 34, 50, 58], Operations: []
Exploring Operation: 25+34=59, Resulting Numbers: [50, 58, 59]
Generated Node #2: [50, 58, 59] from Operation: 25+34=59
Current State: 51:[50, 58, 59], Operations: ['25+34=59']
Exploring Operation: 58-50=8, Resulting Numbers: [59, 8]
Generated Node #3: [59, 8] from Operation: 58-50=8
Current State: 51:[59, 8], Operations: ['25+34=59', '58-50=8']
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[25, 34, 50, 58], Operations: []
Exploring Operation: 34-25=9, Resulting Numbers: [50, 58, 9]
Generated Node #0,0: 51:[50, 58, 9] Operation: 34-25=9
Exploring Operation: 25+34=59, Resulting Numbers: [50, 58, 59]
Generated Node #0,1: 51:[50, 58, 59] Operation: 25+34=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[50, 58, 9], Operations: ['34-25=9']
Exploring Operation: 58-50=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 51:[9, 8] Operation: 58-50=8
Exploring Operation: 58-9=49, Resulting Numbers: [50, 49]
Generated Node #0,0,1: 51:[50, 49] Operation: 58-9=49
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[50, 49], Operations: ['34-25=9', '58-9=49']
Exploring Operation: 50+49=99, Resulting Numbers: [99]
99,51 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,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,0,0
Current State: 51:[9, 8], Operations: ['34-25=9', '58-50=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,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,1
Current State: 51:[50, 58, 59], Operations: ['25+34=59']
Exploring Operation: 58-50=8, Resulting Numbers: [59, 8]
Generated Node #0,1,0: 51:[59, 8] Operation: 58-50=8
Exploring Operation: 59-58=1, Resulting Numbers: [50, 1]
Generated Node #0,1,1: 51:[50, 1] Operation: 59-58=1
Moving to Node #0,1,1
Current State: 51:[50, 1], Operations: ['25+34=59', '59-58=1']
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[25, 34, 50, 58], Operations: []
Exploring Operation: 25+34=59, Resulting Numbers: [50, 58, 59]
Generated Node #0,1: 51:[50, 58, 59] Operation: 25+34=59
Moving to Node #0,1
Current State: 51:[50, 58, 59], Operations: ['25+34=59']
Exploring Operation: 59-58=1, Resulting Numbers: [50, 1]
Generated Node #0,1,1: 51:[50, 1] Operation: 59-58=1
Moving to Node #0,1,1
Current State: 51:[50, 1], Operations: ['25+34=59', '59-58=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
39,
41,
5,
23
] | 69 | [
"41-39=2",
"5-2=3",
"23*3=69"
] | Current State: 69:[39, 41, 5, 23], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [5, 23, 2]
Generated Node #2: [5, 23, 2] from Operation: 41-39=2
Current State: 69:[5, 23, 2], Operations: ['41-39=2']
Exploring Operation: 5-2=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 5-2=3
Current State: 69:[23, 3], Operations: ['41-39=2', '5-2=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[39, 41, 5, 23], Operations: []
Exploring Operation: 41+23=64, Resulting Numbers: [39, 5, 64]
Generated Node #0,0: 69:[39, 5, 64] Operation: 41+23=64
Exploring Operation: 39+41=80, Resulting Numbers: [5, 23, 80]
Generated Node #0,1: 69:[5, 23, 80] Operation: 39+41=80
Exploring Operation: 41-23=18, Resulting Numbers: [39, 5, 18]
Generated Node #0,2: 69:[39, 5, 18] Operation: 41-23=18
Exploring Operation: 41-39=2, Resulting Numbers: [5, 23, 2]
Generated Node #0,3: 69:[5, 23, 2] Operation: 41-39=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[5, 23, 2], Operations: ['41-39=2']
Exploring Operation: 23+2=25, Resulting Numbers: [5, 25]
Generated Node #0,3,0: 69:[5, 25] Operation: 23+2=25
Exploring Operation: 5+2=7, Resulting Numbers: [23, 7]
Generated Node #0,3,1: 69:[23, 7] Operation: 5+2=7
Exploring Operation: 23-2=21, Resulting Numbers: [5, 21]
Generated Node #0,3,2: 69:[5, 21] Operation: 23-2=21
Exploring Operation: 5-2=3, Resulting Numbers: [23, 3]
Generated Node #0,3,3: 69:[23, 3] Operation: 5-2=3
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 69:[23, 3], Operations: ['41-39=2', '5-2=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[39, 41, 5, 23], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [5, 23, 2]
Generated Node #0,3: 69:[5, 23, 2] Operation: 41-39=2
Moving to Node #0,3
Current State: 69:[5, 23, 2], Operations: ['41-39=2']
Exploring Operation: 5-2=3, Resulting Numbers: [23, 3]
Generated Node #0,3,3: 69:[23, 3] Operation: 5-2=3
Moving to Node #0,3,3
Current State: 69:[23, 3], Operations: ['41-39=2', '5-2=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
76,
61,
65,
97
] | 78 | [
"65-61=4",
"76/4=19",
"97-19=78"
] | Current State: 78:[76, 61, 65, 97], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [76, 97, 4]
Generated Node #2: [76, 97, 4] from Operation: 65-61=4
Current State: 78:[76, 97, 4], Operations: ['65-61=4']
Exploring Operation: 76/4=19, Resulting Numbers: [97, 19]
Generated Node #3: [97, 19] from Operation: 76/4=19
Current State: 78:[97, 19], Operations: ['65-61=4', '76/4=19']
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[76, 61, 65, 97], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [76, 65, 36]
Generated Node #0,0: 78:[76, 65, 36] Operation: 97-61=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[76, 65, 36], Operations: ['97-61=36']
Exploring Operation: 76-65=11, Resulting Numbers: [36, 11]
Generated Node #0,0,0: 78:[36, 11] Operation: 76-65=11
Moving to Node #0,0,0
Current State: 78:[36, 11], Operations: ['97-61=36', '76-65=11']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,78 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 |
[
68,
44,
84,
66
] | 38 | [
"68+44=112",
"84+66=150",
"150-112=38"
] | Current State: 38:[68, 44, 84, 66], Operations: []
Exploring Operation: 68+44=112, Resulting Numbers: [84, 66, 112]
Generated Node #2: [84, 66, 112] from Operation: 68+44=112
Current State: 38:[84, 66, 112], Operations: ['68+44=112']
Exploring Operation: 84+66=150, Resulting Numbers: [112, 150]
Generated Node #3: [112, 150] from Operation: 84+66=150
Current State: 38:[112, 150], Operations: ['68+44=112', '84+66=150']
Exploring Operation: 150-112=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[68, 44, 84, 66], Operations: []
Exploring Operation: 84-66=18, Resulting Numbers: [68, 44, 18]
Generated Node #0,0: 38:[68, 44, 18] Operation: 84-66=18
Exploring Operation: 84-68=16, Resulting Numbers: [44, 66, 16]
Generated Node #0,1: 38:[44, 66, 16] Operation: 84-68=16
Exploring Operation: 68-66=2, Resulting Numbers: [44, 84, 2]
Generated Node #0,2: 38:[44, 84, 2] Operation: 68-66=2
Exploring Operation: 84-44=40, Resulting Numbers: [68, 66, 40]
Generated Node #0,3: 38:[68, 66, 40] Operation: 84-44=40
Moving to Node #0,0
Current State: 38:[68, 44, 18], Operations: ['84-66=18']
Exploring Operation: 44-18=26, Resulting Numbers: [68, 26]
Generated Node #0,0,0: 38:[68, 26] Operation: 44-18=26
Exploring Operation: 68-44=24, Resulting Numbers: [18, 24]
Generated Node #0,0,1: 38:[18, 24] Operation: 68-44=24
Exploring Operation: 68-18=50, Resulting Numbers: [44, 50]
Generated Node #0,0,2: 38:[44, 50] Operation: 68-18=50
Exploring Operation: 68+18=86, Resulting Numbers: [44, 86]
Generated Node #0,0,3: 38:[44, 86] Operation: 68+18=86
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[18, 24], Operations: ['84-66=18', '68-44=24']
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,38 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[44, 50], Operations: ['84-66=18', '68-18=50']
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,38 unequal: No Solution
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[68, 26], Operations: ['84-66=18', '44-18=26']
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,38 unequal: No Solution
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 38:[44, 86], Operations: ['84-66=18', '68+18=86']
Exploring Operation: 44*86=3784, Resulting Numbers: [3784]
3784,38 unequal: No Solution
Exploring Operation: 44+86=130, Resulting Numbers: [130]
130,38 unequal: No Solution
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,38 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: 38:[44, 66, 16], Operations: ['84-68=16']
Exploring Operation: 66-16=50, Resulting Numbers: [44, 50]
Generated Node #0,1,0: 38:[44, 50] Operation: 66-16=50
Exploring Operation: 44-16=28, Resulting Numbers: [66, 28]
Generated Node #0,1,1: 38:[66, 28] Operation: 44-16=28
Exploring Operation: 44+16=60, Resulting Numbers: [66, 60]
Generated Node #0,1,2: 38:[66, 60] Operation: 44+16=60
Exploring Operation: 66-44=22, Resulting Numbers: [16, 22]
Generated Node #0,1,3: 38:[16, 22] Operation: 66-44=22
Moving to Node #0,2
Current State: 38:[44, 84, 2], Operations: ['68-66=2']
Exploring Operation: 44/2=22, Resulting Numbers: [84, 22]
Generated Node #0,2,0: 38:[84, 22] Operation: 44/2=22
Exploring Operation: 44-2=42, Resulting Numbers: [84, 42]
Generated Node #0,2,1: 38:[84, 42] Operation: 44-2=42
Exploring Operation: 84-44=40, Resulting Numbers: [2, 40]
Generated Node #0,2,2: 38:[2, 40] Operation: 84-44=40
Exploring Operation: 84/2=42, Resulting Numbers: [44, 42]
Generated Node #0,2,3: 38:[44, 42] Operation: 84/2=42
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[2, 40], Operations: ['68-66=2', '84-44=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,38 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[68, 44, 84, 66], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [44, 84, 2]
Generated Node #0,2: 38:[44, 84, 2] Operation: 68-66=2
Moving to Node #0,2
Current State: 38:[44, 84, 2], Operations: ['68-66=2']
Exploring Operation: 84-44=40, Resulting Numbers: [2, 40]
Generated Node #0,2,2: 38:[2, 40] Operation: 84-44=40
Moving to Node #0,2,2
Current State: 38:[2, 40], Operations: ['68-66=2', '84-44=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
9,
29,
10,
69
] | 59 | [
"29-9=20",
"10+69=79",
"79-20=59"
] | Current State: 59:[9, 29, 10, 69], Operations: []
Exploring Operation: 29-9=20, Resulting Numbers: [10, 69, 20]
Generated Node #2: [10, 69, 20] from Operation: 29-9=20
Current State: 59:[10, 69, 20], Operations: ['29-9=20']
Exploring Operation: 10+69=79, Resulting Numbers: [20, 79]
Generated Node #3: [20, 79] from Operation: 10+69=79
Current State: 59:[20, 79], Operations: ['29-9=20', '10+69=79']
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[9, 29, 10, 69], Operations: []
Exploring Operation: 9*10=90, Resulting Numbers: [29, 69, 90]
Generated Node #0,0: 59:[29, 69, 90] Operation: 9*10=90
Moving to Node #0,0
Current State: 59:[29, 69, 90], Operations: ['9*10=90']
Exploring Operation: 90-29=61, Resulting Numbers: [69, 61]
Generated Node #0,0,0: 59:[69, 61] Operation: 90-29=61
Moving to Node #0,0,0
Current State: 59:[69, 61], Operations: ['9*10=90', '90-29=61']
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,59 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
9,
90,
11
] | 25 | [
"90/18=5",
"9+11=20",
"5+20=25"
] | Current State: 25:[18, 9, 90, 11], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [9, 11, 5]
Generated Node #2: [9, 11, 5] from Operation: 90/18=5
Current State: 25:[9, 11, 5], Operations: ['90/18=5']
Exploring Operation: 9+11=20, Resulting Numbers: [5, 20]
Generated Node #3: [5, 20] from Operation: 9+11=20
Current State: 25:[5, 20], Operations: ['90/18=5', '9+11=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[18, 9, 90, 11], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [9, 11, 5]
Generated Node #0,0: 25:[9, 11, 5] Operation: 90/18=5
Exploring Operation: 90/9=10, Resulting Numbers: [18, 11, 10]
Generated Node #0,1: 25:[18, 11, 10] Operation: 90/9=10
Moving to Node #0,0
Current State: 25:[9, 11, 5], Operations: ['90/18=5']
Exploring Operation: 9+11=20, Resulting Numbers: [5, 20]
Generated Node #0,0,0: 25:[5, 20] Operation: 9+11=20
Exploring Operation: 11-9=2, Resulting Numbers: [5, 2]
Generated Node #0,0,1: 25:[5, 2] Operation: 11-9=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[5, 2], Operations: ['90/18=5', '11-9=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[5, 20], Operations: ['90/18=5', '9+11=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[18, 9, 90, 11], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [9, 11, 5]
Generated Node #0,0: 25:[9, 11, 5] Operation: 90/18=5
Moving to Node #0,0
Current State: 25:[9, 11, 5], Operations: ['90/18=5']
Exploring Operation: 9+11=20, Resulting Numbers: [5, 20]
Generated Node #0,0,0: 25:[5, 20] Operation: 9+11=20
Moving to Node #0,0,0
Current State: 25:[5, 20], Operations: ['90/18=5', '9+11=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
2,
57,
47,
38
] | 66 | [
"2*38=76",
"57-47=10",
"76-10=66"
] | Current State: 66:[2, 57, 47, 38], Operations: []
Exploring Operation: 2*38=76, Resulting Numbers: [57, 47, 76]
Generated Node #2: [57, 47, 76] from Operation: 2*38=76
Current State: 66:[57, 47, 76], Operations: ['2*38=76']
Exploring Operation: 57-47=10, Resulting Numbers: [76, 10]
Generated Node #3: [76, 10] from Operation: 57-47=10
Current State: 66:[76, 10], Operations: ['2*38=76', '57-47=10']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[2, 57, 47, 38], Operations: []
Exploring Operation: 57-38=19, Resulting Numbers: [2, 47, 19]
Generated Node #0,0: 66:[2, 47, 19] Operation: 57-38=19
Exploring Operation: 57-47=10, Resulting Numbers: [2, 38, 10]
Generated Node #0,1: 66:[2, 38, 10] Operation: 57-47=10
Exploring Operation: 47-38=9, Resulting Numbers: [2, 57, 9]
Generated Node #0,2: 66:[2, 57, 9] Operation: 47-38=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[2, 38, 10], Operations: ['57-47=10']
Exploring Operation: 38-2=36, Resulting Numbers: [10, 36]
Generated Node #0,1,0: 66:[10, 36] Operation: 38-2=36
Exploring Operation: 38-10=28, Resulting Numbers: [2, 28]
Generated Node #0,1,1: 66:[2, 28] Operation: 38-10=28
Exploring Operation: 38/2=19, Resulting Numbers: [10, 19]
Generated Node #0,1,2: 66:[10, 19] Operation: 38/2=19
Moving to Node #0,1,0
Current State: 66:[10, 36], Operations: ['57-47=10', '38-2=36']
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,66 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[10, 19], Operations: ['57-47=10', '38/2=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,66 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[2, 28], Operations: ['57-47=10', '38-10=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,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,2
Current State: 66:[2, 57, 9], Operations: ['47-38=9']
Exploring Operation: 57+9=66, Resulting Numbers: [2, 66]
Generated Node #0,2,0: 66:[2, 66] Operation: 57+9=66
Exploring Operation: 2+57=59, Resulting Numbers: [9, 59]
Generated Node #0,2,1: 66:[9, 59] Operation: 2+57=59
Exploring Operation: 2+9=11, Resulting Numbers: [57, 11]
Generated Node #0,2,2: 66:[57, 11] Operation: 2+9=11
Moving to Node #0,2,0
Current State: 66:[2, 66], Operations: ['47-38=9', '57+9=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[9, 59], Operations: ['47-38=9', '2+57=59']
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,66 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[57, 11], Operations: ['47-38=9', '2+9=11']
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 57+11=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 57*11=627, Resulting Numbers: [627]
627,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, 47, 19], Operations: ['57-38=19']
Exploring Operation: 47-19=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 66:[2, 28] Operation: 47-19=28
Exploring Operation: 47-2=45, Resulting Numbers: [19, 45]
Generated Node #0,0,1: 66:[19, 45] Operation: 47-2=45
Exploring Operation: 47+19=66, Resulting Numbers: [2, 66]
Generated Node #0,0,2: 66:[2, 66] Operation: 47+19=66
Moving to Node #0,0,2
Current State: 66:[2, 66], Operations: ['57-38=19', '47+19=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[2, 28], Operations: ['57-38=19', '47-19=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[19, 45], Operations: ['57-38=19', '47-2=45']
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,66 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,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 |
[
92,
5,
9,
95
] | 30 | [
"92+9=101",
"101-95=6",
"5*6=30"
] | Current State: 30:[92, 5, 9, 95], Operations: []
Exploring Operation: 92+9=101, Resulting Numbers: [5, 95, 101]
Generated Node #2: [5, 95, 101] from Operation: 92+9=101
Current State: 30:[5, 95, 101], Operations: ['92+9=101']
Exploring Operation: 101-95=6, Resulting Numbers: [5, 6]
Generated Node #3: [5, 6] from Operation: 101-95=6
Current State: 30:[5, 6], Operations: ['92+9=101', '101-95=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[92, 5, 9, 95], Operations: []
Exploring Operation: 95/5=19, Resulting Numbers: [92, 9, 19]
Generated Node #0,0: 30:[92, 9, 19] Operation: 95/5=19
Exploring Operation: 95-92=3, Resulting Numbers: [5, 9, 3]
Generated Node #0,1: 30:[5, 9, 3] Operation: 95-92=3
Moving to Node #0,1
Current State: 30:[5, 9, 3], Operations: ['95-92=3']
Exploring Operation: 9/3=3, Resulting Numbers: [5, 3]
Generated Node #0,1,0: 30:[5, 3] Operation: 9/3=3
Exploring Operation: 9-3=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 30:[5, 6] Operation: 9-3=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[5, 3], Operations: ['95-92=3', '9/3=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[5, 6], Operations: ['95-92=3', '9-3=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[92, 5, 9, 95], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [5, 9, 3]
Generated Node #0,1: 30:[5, 9, 3] Operation: 95-92=3
Moving to Node #0,1
Current State: 30:[5, 9, 3], Operations: ['95-92=3']
Exploring Operation: 9-3=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 30:[5, 6] Operation: 9-3=6
Moving to Node #0,1,1
Current State: 30:[5, 6], Operations: ['95-92=3', '9-3=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
1,
95,
37,
20
] | 39 | [
"1+95=96",
"37+20=57",
"96-57=39"
] | Current State: 39:[1, 95, 37, 20], Operations: []
Exploring Operation: 1+95=96, Resulting Numbers: [37, 20, 96]
Generated Node #2: [37, 20, 96] from Operation: 1+95=96
Current State: 39:[37, 20, 96], Operations: ['1+95=96']
Exploring Operation: 37+20=57, Resulting Numbers: [96, 57]
Generated Node #3: [96, 57] from Operation: 37+20=57
Current State: 39:[96, 57], Operations: ['1+95=96', '37+20=57']
Exploring Operation: 96-57=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[1, 95, 37, 20], Operations: []
Exploring Operation: 95-1=94, Resulting Numbers: [37, 20, 94]
Generated Node #0,0: 39:[37, 20, 94] Operation: 95-1=94
Exploring Operation: 1+37=38, Resulting Numbers: [95, 20, 38]
Generated Node #0,1: 39:[95, 20, 38] Operation: 1+37=38
Exploring Operation: 37-20=17, Resulting Numbers: [1, 95, 17]
Generated Node #0,2: 39:[1, 95, 17] Operation: 37-20=17
Exploring Operation: 95-20=75, Resulting Numbers: [1, 37, 75]
Generated Node #0,3: 39:[1, 37, 75] Operation: 95-20=75
Exploring Operation: 95-37=58, Resulting Numbers: [1, 20, 58]
Generated Node #0,4: 39:[1, 20, 58] Operation: 95-37=58
Moving to Node #0,4
Current State: 39:[1, 20, 58], Operations: ['95-37=58']
Exploring Operation: 20-1=19, Resulting Numbers: [58, 19]
Generated Node #0,4,0: 39:[58, 19] Operation: 20-1=19
Exploring Operation: 1*20=20, Resulting Numbers: [58, 20]
Generated Node #0,4,1: 39:[58, 20] Operation: 1*20=20
Exploring Operation: 20/1=20, Resulting Numbers: [58, 20]
Generated Node #0,4,2: 39:[58, 20] Operation: 20/1=20
Exploring Operation: 58-1=57, Resulting Numbers: [20, 57]
Generated Node #0,4,3: 39:[20, 57] Operation: 58-1=57
Exploring Operation: 58-20=38, Resulting Numbers: [1, 38]
Generated Node #0,4,4: 39:[1, 38] Operation: 58-20=38
Moving to Node #0,3
Current State: 39:[1, 37, 75], Operations: ['95-20=75']
Exploring Operation: 75-1=74, Resulting Numbers: [37, 74]
Generated Node #0,3,0: 39:[37, 74] Operation: 75-1=74
Exploring Operation: 37/1=37, Resulting Numbers: [75, 37]
Generated Node #0,3,1: 39:[75, 37] Operation: 37/1=37
Exploring Operation: 1*37=37, Resulting Numbers: [75, 37]
Generated Node #0,3,2: 39:[75, 37] Operation: 1*37=37
Exploring Operation: 75-37=38, Resulting Numbers: [1, 38]
Generated Node #0,3,3: 39:[1, 38] Operation: 75-37=38
Exploring Operation: 1+37=38, Resulting Numbers: [75, 38]
Generated Node #0,3,4: 39:[75, 38] Operation: 1+37=38
Moving to Node #0,2
Current State: 39:[1, 95, 17], Operations: ['37-20=17']
Exploring Operation: 95-1=94, Resulting Numbers: [17, 94]
Generated Node #0,2,0: 39:[17, 94] Operation: 95-1=94
Exploring Operation: 95/1=95, Resulting Numbers: [17, 95]
Generated Node #0,2,1: 39:[17, 95] Operation: 95/1=95
Exploring Operation: 17-1=16, Resulting Numbers: [95, 16]
Generated Node #0,2,2: 39:[95, 16] Operation: 17-1=16
Exploring Operation: 1*95=95, Resulting Numbers: [17, 95]
Generated Node #0,2,3: 39:[17, 95] Operation: 1*95=95
Exploring Operation: 95-17=78, Resulting Numbers: [1, 78]
Generated Node #0,2,4: 39:[1, 78] Operation: 95-17=78
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 39:[1, 78], Operations: ['37-20=17', '95-17=78']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,39 unequal: No Solution
Exploring Operation: 1*78=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 1+78=79, Resulting Numbers: [79]
79,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[17, 94], Operations: ['37-20=17', '95-1=94']
Exploring Operation: 17*94=1598, Resulting Numbers: [1598]
1598,39 unequal: No Solution
Exploring Operation: 17+94=111, Resulting Numbers: [111]
111,39 unequal: No Solution
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[95, 16], Operations: ['37-20=17', '17-1=16']
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 95*16=1520, Resulting Numbers: [1520]
1520,39 unequal: No Solution
Exploring Operation: 95+16=111, Resulting Numbers: [111]
111,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 39:[17, 95], Operations: ['37-20=17', '95/1=95']
Exploring Operation: 17+95=112, Resulting Numbers: [112]
112,39 unequal: No Solution
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 17*95=1615, Resulting Numbers: [1615]
1615,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 39:[17, 95], Operations: ['37-20=17', '1*95=95']
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 17+95=112, Resulting Numbers: [112]
112,39 unequal: No Solution
Exploring Operation: 17*95=1615, Resulting Numbers: [1615]
1615,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 39:[37, 20, 94], Operations: ['95-1=94']
Exploring Operation: 94-20=74, Resulting Numbers: [37, 74]
Generated Node #0,0,0: 39:[37, 74] Operation: 94-20=74
Exploring Operation: 37-20=17, Resulting Numbers: [94, 17]
Generated Node #0,0,1: 39:[94, 17] Operation: 37-20=17
Exploring Operation: 94-37=57, Resulting Numbers: [20, 57]
Generated Node #0,0,2: 39:[20, 57] Operation: 94-37=57
Exploring Operation: 37+20=57, Resulting Numbers: [94, 57]
Generated Node #0,0,3: 39:[94, 57] Operation: 37+20=57
Exploring Operation: 20+94=114, Resulting Numbers: [37, 114]
Generated Node #0,0,4: 39:[37, 114] Operation: 20+94=114
Moving to Node #0,1
Current State: 39:[95, 20, 38], Operations: ['1+37=38']
Exploring Operation: 95-20=75, Resulting Numbers: [38, 75]
Generated Node #0,1,0: 39:[38, 75] Operation: 95-20=75
Exploring Operation: 20+38=58, Resulting Numbers: [95, 58]
Generated Node #0,1,1: 39:[95, 58] Operation: 20+38=58
Exploring Operation: 95-38=57, Resulting Numbers: [20, 57]
Generated Node #0,1,2: 39:[20, 57] Operation: 95-38=57
Exploring Operation: 38-20=18, Resulting Numbers: [95, 18]
Generated Node #0,1,3: 39:[95, 18] Operation: 38-20=18
Exploring Operation: 95+20=115, Resulting Numbers: [38, 115]
Generated Node #0,1,4: 39:[38, 115] Operation: 95+20=115
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[20, 57], Operations: ['1+37=38', '95-38=57']
Exploring Operation: 20+57=77, Resulting Numbers: [77]
77,39 unequal: No Solution
Exploring Operation: 20*57=1140, Resulting Numbers: [1140]
1140,39 unequal: No Solution
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[38, 75], Operations: ['1+37=38', '95-20=75']
Exploring Operation: 75-38=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 38*75=2850, Resulting Numbers: [2850]
2850,39 unequal: No Solution
Exploring Operation: 38+75=113, Resulting Numbers: [113]
113,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[95, 18], Operations: ['1+37=38', '38-20=18']
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,39 unequal: No Solution
Exploring Operation: 95*18=1710, Resulting Numbers: [1710]
1710,39 unequal: No Solution
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[95, 58], Operations: ['1+37=38', '20+38=58']
Exploring Operation: 95+58=153, Resulting Numbers: [153]
153,39 unequal: No Solution
Exploring Operation: 95*58=5510, Resulting Numbers: [5510]
5510,39 unequal: No Solution
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 39:[38, 115], Operations: ['1+37=38', '95+20=115']
Exploring Operation: 38*115=4370, Resulting Numbers: [4370]
4370,39 unequal: No Solution
Exploring Operation: 38+115=153, Resulting Numbers: [153]
153,39 unequal: No Solution
Exploring Operation: 115-38=77, Resulting Numbers: [77]
77,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 39:[1, 38], Operations: ['95-37=58', '58-20=38']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[1, 95, 37, 20], Operations: []
Exploring Operation: 95-37=58, Resulting Numbers: [1, 20, 58]
Generated Node #0,4: 39:[1, 20, 58] Operation: 95-37=58
Moving to Node #0,4
Current State: 39:[1, 20, 58], Operations: ['95-37=58']
Exploring Operation: 58-20=38, Resulting Numbers: [1, 38]
Generated Node #0,4,4: 39:[1, 38] Operation: 58-20=38
Moving to Node #0,4,4
Current State: 39:[1, 38], Operations: ['95-37=58', '58-20=38']
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.940104 | hs_5 | mult_heuristic |
[
2,
20,
7,
8
] | 60 | [
"7-2=5",
"20-8=12",
"5*12=60"
] | Current State: 60:[2, 20, 7, 8], Operations: []
Exploring Operation: 7-2=5, Resulting Numbers: [20, 8, 5]
Generated Node #2: [20, 8, 5] from Operation: 7-2=5
Current State: 60:[20, 8, 5], Operations: ['7-2=5']
Exploring Operation: 20-8=12, Resulting Numbers: [5, 12]
Generated Node #3: [5, 12] from Operation: 20-8=12
Current State: 60:[5, 12], Operations: ['7-2=5', '20-8=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[2, 20, 7, 8], Operations: []
Exploring Operation: 2+8=10, Resulting Numbers: [20, 7, 10]
Generated Node #0,0: 60:[20, 7, 10] Operation: 2+8=10
Exploring Operation: 7+8=15, Resulting Numbers: [2, 20, 15]
Generated Node #0,1: 60:[2, 20, 15] Operation: 7+8=15
Exploring Operation: 8/2=4, Resulting Numbers: [20, 7, 4]
Generated Node #0,2: 60:[20, 7, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [20, 7, 6]
Generated Node #0,3: 60:[20, 7, 6] Operation: 8-2=6
Exploring Operation: 20-8=12, Resulting Numbers: [2, 7, 12]
Generated Node #0,4: 60:[2, 7, 12] Operation: 20-8=12
Moving to Node #0,1
Current State: 60:[2, 20, 15], Operations: ['7+8=15']
Exploring Operation: 15-2=13, Resulting Numbers: [20, 13]
Generated Node #0,1,0: 60:[20, 13] Operation: 15-2=13
Exploring Operation: 2*15=30, Resulting Numbers: [20, 30]
Generated Node #0,1,1: 60:[20, 30] Operation: 2*15=30
Exploring Operation: 2+20=22, Resulting Numbers: [15, 22]
Generated Node #0,1,2: 60:[15, 22] Operation: 2+20=22
Exploring Operation: 20-15=5, Resulting Numbers: [2, 5]
Generated Node #0,1,3: 60:[2, 5] Operation: 20-15=5
Exploring Operation: 20/2=10, Resulting Numbers: [15, 10]
Generated Node #0,1,4: 60:[15, 10] Operation: 20/2=10
Moving to Node #0,2
Current State: 60:[20, 7, 4], Operations: ['8/2=4']
Exploring Operation: 20/4=5, Resulting Numbers: [7, 5]
Generated Node #0,2,0: 60:[7, 5] Operation: 20/4=5
Exploring Operation: 7+4=11, Resulting Numbers: [20, 11]
Generated Node #0,2,1: 60:[20, 11] Operation: 7+4=11
Exploring Operation: 7-4=3, Resulting Numbers: [20, 3]
Generated Node #0,2,2: 60:[20, 3] Operation: 7-4=3
Exploring Operation: 20-4=16, Resulting Numbers: [7, 16]
Generated Node #0,2,3: 60:[7, 16] Operation: 20-4=16
Exploring Operation: 20-7=13, Resulting Numbers: [4, 13]
Generated Node #0,2,4: 60:[4, 13] Operation: 20-7=13
Moving to Node #0,4
Current State: 60:[2, 7, 12], Operations: ['20-8=12']
Exploring Operation: 7-2=5, Resulting Numbers: [12, 5]
Generated Node #0,4,0: 60:[12, 5] Operation: 7-2=5
Exploring Operation: 2+7=9, Resulting Numbers: [12, 9]
Generated Node #0,4,1: 60:[12, 9] Operation: 2+7=9
Exploring Operation: 2*7=14, Resulting Numbers: [12, 14]
Generated Node #0,4,2: 60:[12, 14] Operation: 2*7=14
Exploring Operation: 12-2=10, Resulting Numbers: [7, 10]
Generated Node #0,4,3: 60:[7, 10] Operation: 12-2=10
Exploring Operation: 12-7=5, Resulting Numbers: [2, 5]
Generated Node #0,4,4: 60:[2, 5] Operation: 12-7=5
Moving to Node #0,0
Current State: 60:[20, 7, 10], Operations: ['2+8=10']
Exploring Operation: 20-7=13, Resulting Numbers: [10, 13]
Generated Node #0,0,0: 60:[10, 13] Operation: 20-7=13
Exploring Operation: 20-10=10, Resulting Numbers: [7, 10]
Generated Node #0,0,1: 60:[7, 10] Operation: 20-10=10
Exploring Operation: 10-7=3, Resulting Numbers: [20, 3]
Generated Node #0,0,2: 60:[20, 3] Operation: 10-7=3
Exploring Operation: 20+10=30, Resulting Numbers: [7, 30]
Generated Node #0,0,3: 60:[7, 30] Operation: 20+10=30
Exploring Operation: 20/10=2, Resulting Numbers: [7, 2]
Generated Node #0,0,4: 60:[7, 2] Operation: 20/10=2
Moving to Node #0,3
Current State: 60:[20, 7, 6], Operations: ['8-2=6']
Exploring Operation: 20+7=27, Resulting Numbers: [6, 27]
Generated Node #0,3,0: 60:[6, 27] Operation: 20+7=27
Exploring Operation: 20-6=14, Resulting Numbers: [7, 14]
Generated Node #0,3,1: 60:[7, 14] Operation: 20-6=14
Exploring Operation: 7+6=13, Resulting Numbers: [20, 13]
Generated Node #0,3,2: 60:[20, 13] Operation: 7+6=13
Exploring Operation: 20-7=13, Resulting Numbers: [6, 13]
Generated Node #0,3,3: 60:[6, 13] Operation: 20-7=13
Exploring Operation: 7-6=1, Resulting Numbers: [20, 1]
Generated Node #0,3,4: 60:[20, 1] Operation: 7-6=1
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 60:[20, 13], Operations: ['8-2=6', '7+6=13']
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,60 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,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,3
Current State: 60:[6, 13], Operations: ['8-2=6', '20-7=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,60 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,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,4
Current State: 60:[20, 1], Operations: ['8-2=6', '7-6=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,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,1
Current State: 60:[7, 14], Operations: ['8-2=6', '20-6=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,60 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,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,0
Current State: 60:[6, 27], Operations: ['8-2=6', '20+7=27']
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,60 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,60 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: 60:[20, 30], Operations: ['7+8=15', '2*15=30']
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,60 unequal: No Solution
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[15, 10], Operations: ['7+8=15', '20/2=10']
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,60 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[20, 3], Operations: ['8/2=4', '7-4=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[2, 20, 7, 8], Operations: []
Exploring Operation: 8/2=4, Resulting Numbers: [20, 7, 4]
Generated Node #0,2: 60:[20, 7, 4] Operation: 8/2=4
Moving to Node #0,2
Current State: 60:[20, 7, 4], Operations: ['8/2=4']
Exploring Operation: 7-4=3, Resulting Numbers: [20, 3]
Generated Node #0,2,2: 60:[20, 3] Operation: 7-4=3
Moving to Node #0,2,2
Current State: 60:[20, 3], Operations: ['8/2=4', '7-4=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.949653 | hs_5 | sum_heuristic |
[
37,
81,
98,
43
] | 63 | [
"37+81=118",
"98-43=55",
"118-55=63"
] | Current State: 63:[37, 81, 98, 43], Operations: []
Exploring Operation: 37+81=118, Resulting Numbers: [98, 43, 118]
Generated Node #2: [98, 43, 118] from Operation: 37+81=118
Current State: 63:[98, 43, 118], Operations: ['37+81=118']
Exploring Operation: 98-43=55, Resulting Numbers: [118, 55]
Generated Node #3: [118, 55] from Operation: 98-43=55
Current State: 63:[118, 55], Operations: ['37+81=118', '98-43=55']
Exploring Operation: 118-55=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[37, 81, 98, 43], Operations: []
Exploring Operation: 98-37=61, Resulting Numbers: [81, 43, 61]
Generated Node #0,0: 63:[81, 43, 61] Operation: 98-37=61
Exploring Operation: 98-81=17, Resulting Numbers: [37, 43, 17]
Generated Node #0,1: 63:[37, 43, 17] Operation: 98-81=17
Exploring Operation: 98-43=55, Resulting Numbers: [37, 81, 55]
Generated Node #0,2: 63:[37, 81, 55] Operation: 98-43=55
Moving to Node #0,0
Current State: 63:[81, 43, 61], Operations: ['98-37=61']
Exploring Operation: 81-61=20, Resulting Numbers: [43, 20]
Generated Node #0,0,0: 63:[43, 20] Operation: 81-61=20
Exploring Operation: 81-43=38, Resulting Numbers: [61, 38]
Generated Node #0,0,1: 63:[61, 38] Operation: 81-43=38
Exploring Operation: 61-43=18, Resulting Numbers: [81, 18]
Generated Node #0,0,2: 63:[81, 18] Operation: 61-43=18
Moving to Node #0,1
Current State: 63:[37, 43, 17], Operations: ['98-81=17']
Exploring Operation: 37+43=80, Resulting Numbers: [17, 80]
Generated Node #0,1,0: 63:[17, 80] Operation: 37+43=80
Exploring Operation: 43-37=6, Resulting Numbers: [17, 6]
Generated Node #0,1,1: 63:[17, 6] Operation: 43-37=6
Exploring Operation: 43+17=60, Resulting Numbers: [37, 60]
Generated Node #0,1,2: 63:[37, 60] Operation: 43+17=60
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[17, 6], Operations: ['98-81=17', '43-37=6']
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,63 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 63:[37, 60], Operations: ['98-81=17', '43+17=60']
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,63 unequal: No Solution
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,63 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[17, 80], Operations: ['98-81=17', '37+43=80']
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[37, 81, 98, 43], Operations: []
Exploring Operation: 98-81=17, Resulting Numbers: [37, 43, 17]
Generated Node #0,1: 63:[37, 43, 17] Operation: 98-81=17
Moving to Node #0,1
Current State: 63:[37, 43, 17], Operations: ['98-81=17']
Exploring Operation: 37+43=80, Resulting Numbers: [17, 80]
Generated Node #0,1,0: 63:[17, 80] Operation: 37+43=80
Moving to Node #0,1,0
Current State: 63:[17, 80], Operations: ['98-81=17', '37+43=80']
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_3 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.