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 |
|---|---|---|---|---|---|---|---|---|
[
32,
25,
9,
61
] | 59 | [
"32-25=7",
"61-9=52",
"7+52=59"
] | Current State: 59:[32, 25, 9, 61], Operations: []
Exploring Operation: 32-25=7, Resulting Numbers: [9, 61, 7]
Generated Node #2: [9, 61, 7] from Operation: 32-25=7
Current State: 59:[9, 61, 7], Operations: ['32-25=7']
Exploring Operation: 61-9=52, Resulting Numbers: [7, 52]
Generated Node #3: [7, 52] from Operation: 61-9=52
Current State: 59:[7, 52], Operations: ['32-25=7', '61-9=52']
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[32, 25, 9, 61], Operations: []
Exploring Operation: 32+25=57, Resulting Numbers: [9, 61, 57]
Generated Node #0,0: 59:[9, 61, 57] Operation: 32+25=57
Moving to Node #0,0
Current State: 59:[9, 61, 57], Operations: ['32+25=57']
Exploring Operation: 61-9=52, Resulting Numbers: [57, 52]
Generated Node #0,0,0: 59:[57, 52] Operation: 61-9=52
Moving to Node #0,0,0
Current State: 59:[57, 52], Operations: ['32+25=57', '61-9=52']
Exploring Operation: 57+52=109, Resulting Numbers: [109]
109,59 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
86,
87,
80
] | 93 | [
"14+86=100",
"87-80=7",
"100-7=93"
] | Current State: 93:[14, 86, 87, 80], Operations: []
Exploring Operation: 14+86=100, Resulting Numbers: [87, 80, 100]
Generated Node #2: [87, 80, 100] from Operation: 14+86=100
Current State: 93:[87, 80, 100], Operations: ['14+86=100']
Exploring Operation: 87-80=7, Resulting Numbers: [100, 7]
Generated Node #3: [100, 7] from Operation: 87-80=7
Current State: 93:[100, 7], Operations: ['14+86=100', '87-80=7']
Exploring Operation: 100-7=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[14, 86, 87, 80], Operations: []
Exploring Operation: 14+80=94, Resulting Numbers: [86, 87, 94]
Generated Node #0,0: 93:[86, 87, 94] Operation: 14+80=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[86, 87, 94], Operations: ['14+80=94']
Exploring Operation: 87-86=1, Resulting Numbers: [94, 1]
Generated Node #0,0,0: 93:[94, 1] Operation: 87-86=1
Moving to Node #0,0,0
Current State: 93:[94, 1], Operations: ['14+80=94', '87-86=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[14, 86, 87, 80], Operations: []
Exploring Operation: 14+80=94, Resulting Numbers: [86, 87, 94]
Generated Node #0,0: 93:[86, 87, 94] Operation: 14+80=94
Moving to Node #0,0
Current State: 93:[86, 87, 94], Operations: ['14+80=94']
Exploring Operation: 87-86=1, Resulting Numbers: [94, 1]
Generated Node #0,0,0: 93:[94, 1] Operation: 87-86=1
Moving to Node #0,0,0
Current State: 93:[94, 1], Operations: ['14+80=94', '87-86=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
85,
27,
49,
48
] | 58 | [
"85-27=58",
"49-48=1",
"58*1=58"
] | Current State: 58:[85, 27, 49, 48], Operations: []
Exploring Operation: 85-27=58, Resulting Numbers: [49, 48, 58]
Generated Node #2: [49, 48, 58] from Operation: 85-27=58
Current State: 58:[49, 48, 58], Operations: ['85-27=58']
Exploring Operation: 49-48=1, Resulting Numbers: [58, 1]
Generated Node #3: [58, 1] from Operation: 49-48=1
Current State: 58:[58, 1], Operations: ['85-27=58', '49-48=1']
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[85, 27, 49, 48], Operations: []
Exploring Operation: 85-27=58, Resulting Numbers: [49, 48, 58]
Generated Node #0,0: 58:[49, 48, 58] Operation: 85-27=58
Exploring Operation: 85-49=36, Resulting Numbers: [27, 48, 36]
Generated Node #0,1: 58:[27, 48, 36] Operation: 85-49=36
Moving to Node #0,0
Current State: 58:[49, 48, 58], Operations: ['85-27=58']
Exploring Operation: 58-49=9, Resulting Numbers: [48, 9]
Generated Node #0,0,0: 58:[48, 9] Operation: 58-49=9
Exploring Operation: 49-48=1, Resulting Numbers: [58, 1]
Generated Node #0,0,1: 58:[58, 1] Operation: 49-48=1
Moving to Node #0,1
Current State: 58:[27, 48, 36], Operations: ['85-49=36']
Exploring Operation: 48-27=21, Resulting Numbers: [36, 21]
Generated Node #0,1,0: 58:[36, 21] Operation: 48-27=21
Exploring Operation: 48-36=12, Resulting Numbers: [27, 12]
Generated Node #0,1,1: 58:[27, 12] Operation: 48-36=12
Moving to Node #0,0,1
Current State: 58:[58, 1], Operations: ['85-27=58', '49-48=1']
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[85, 27, 49, 48], Operations: []
Exploring Operation: 85-27=58, Resulting Numbers: [49, 48, 58]
Generated Node #0,0: 58:[49, 48, 58] Operation: 85-27=58
Moving to Node #0,0
Current State: 58:[49, 48, 58], Operations: ['85-27=58']
Exploring Operation: 49-48=1, Resulting Numbers: [58, 1]
Generated Node #0,0,1: 58:[58, 1] Operation: 49-48=1
Moving to Node #0,0,1
Current State: 58:[58, 1], Operations: ['85-27=58', '49-48=1']
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
73,
27,
20,
76
] | 71 | [
"73+27=100",
"100/20=5",
"76-5=71"
] | Current State: 71:[73, 27, 20, 76], Operations: []
Exploring Operation: 73+27=100, Resulting Numbers: [20, 76, 100]
Generated Node #2: [20, 76, 100] from Operation: 73+27=100
Current State: 71:[20, 76, 100], Operations: ['73+27=100']
Exploring Operation: 100/20=5, Resulting Numbers: [76, 5]
Generated Node #3: [76, 5] from Operation: 100/20=5
Current State: 71:[76, 5], Operations: ['73+27=100', '100/20=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[73, 27, 20, 76], Operations: []
Exploring Operation: 27+20=47, Resulting Numbers: [73, 76, 47]
Generated Node #0,0: 71:[73, 76, 47] Operation: 27+20=47
Exploring Operation: 76-20=56, Resulting Numbers: [73, 27, 56]
Generated Node #0,1: 71:[73, 27, 56] Operation: 76-20=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[73, 76, 47], Operations: ['27+20=47']
Exploring Operation: 76-47=29, Resulting Numbers: [73, 29]
Generated Node #0,0,0: 71:[73, 29] Operation: 76-47=29
Exploring Operation: 73-47=26, Resulting Numbers: [76, 26]
Generated Node #0,0,1: 71:[76, 26] Operation: 73-47=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[73, 29], Operations: ['27+20=47', '76-47=29']
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 73+29=102, Resulting Numbers: [102]
102,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:[76, 26], Operations: ['27+20=47', '73-47=26']
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 76+26=102, Resulting Numbers: [102]
102,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:[73, 27, 56], Operations: ['76-20=56']
Exploring Operation: 73-27=46, Resulting Numbers: [56, 46]
Generated Node #0,1,0: 71:[56, 46] Operation: 73-27=46
Exploring Operation: 27+56=83, Resulting Numbers: [73, 83]
Generated Node #0,1,1: 71:[73, 83] Operation: 27+56=83
Moving to Node #0,1,1
Current State: 71:[73, 83], Operations: ['76-20=56', '27+56=83']
Exploring Operation: 73+83=156, Resulting Numbers: [156]
156,71 unequal: No Solution
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[56, 46], Operations: ['76-20=56', '73-27=46']
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
41,
3,
63,
97
] | 61 | [
"97-63=34",
"3*34=102",
"102-41=61"
] | Current State: 61:[41, 3, 63, 97], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [41, 3, 34]
Generated Node #2: [41, 3, 34] from Operation: 97-63=34
Current State: 61:[41, 3, 34], Operations: ['97-63=34']
Exploring Operation: 3*34=102, Resulting Numbers: [41, 102]
Generated Node #3: [41, 102] from Operation: 3*34=102
Current State: 61:[41, 102], Operations: ['97-63=34', '3*34=102']
Exploring Operation: 102-41=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[41, 3, 63, 97], Operations: []
Exploring Operation: 41+3=44, Resulting Numbers: [63, 97, 44]
Generated Node #0,0: 61:[63, 97, 44] Operation: 41+3=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[63, 97, 44], Operations: ['41+3=44']
Exploring Operation: 97-44=53, Resulting Numbers: [63, 53]
Generated Node #0,0,0: 61:[63, 53] Operation: 97-44=53
Moving to Node #0,0,0
Current State: 61:[63, 53], Operations: ['41+3=44', '97-44=53']
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
30,
42,
61
] | 41 | [
"2*30=60",
"61-42=19",
"60-19=41"
] | Current State: 41:[2, 30, 42, 61], Operations: []
Exploring Operation: 2*30=60, Resulting Numbers: [42, 61, 60]
Generated Node #2: [42, 61, 60] from Operation: 2*30=60
Current State: 41:[42, 61, 60], Operations: ['2*30=60']
Exploring Operation: 61-42=19, Resulting Numbers: [60, 19]
Generated Node #3: [60, 19] from Operation: 61-42=19
Current State: 41:[60, 19], Operations: ['2*30=60', '61-42=19']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[2, 30, 42, 61], Operations: []
Exploring Operation: 30-2=28, Resulting Numbers: [42, 61, 28]
Generated Node #0,0: 41:[42, 61, 28] Operation: 30-2=28
Exploring Operation: 61-2=59, Resulting Numbers: [30, 42, 59]
Generated Node #0,1: 41:[30, 42, 59] Operation: 61-2=59
Exploring Operation: 2+30=32, Resulting Numbers: [42, 61, 32]
Generated Node #0,2: 41:[42, 61, 32] Operation: 2+30=32
Exploring Operation: 2+42=44, Resulting Numbers: [30, 61, 44]
Generated Node #0,3: 41:[30, 61, 44] Operation: 2+42=44
Exploring Operation: 42-2=40, Resulting Numbers: [30, 61, 40]
Generated Node #0,4: 41:[30, 61, 40] Operation: 42-2=40
Moving to Node #0,1
Current State: 41:[30, 42, 59], Operations: ['61-2=59']
Exploring Operation: 30+59=89, Resulting Numbers: [42, 89]
Generated Node #0,1,0: 41:[42, 89] Operation: 30+59=89
Exploring Operation: 59-42=17, Resulting Numbers: [30, 17]
Generated Node #0,1,1: 41:[30, 17] Operation: 59-42=17
Exploring Operation: 42-30=12, Resulting Numbers: [59, 12]
Generated Node #0,1,2: 41:[59, 12] Operation: 42-30=12
Exploring Operation: 59-30=29, Resulting Numbers: [42, 29]
Generated Node #0,1,3: 41:[42, 29] Operation: 59-30=29
Exploring Operation: 30+42=72, Resulting Numbers: [59, 72]
Generated Node #0,1,4: 41:[59, 72] Operation: 30+42=72
Moving to Node #0,2
Current State: 41:[42, 61, 32], Operations: ['2+30=32']
Exploring Operation: 61+32=93, Resulting Numbers: [42, 93]
Generated Node #0,2,0: 41:[42, 93] Operation: 61+32=93
Exploring Operation: 61-42=19, Resulting Numbers: [32, 19]
Generated Node #0,2,1: 41:[32, 19] Operation: 61-42=19
Exploring Operation: 42+32=74, Resulting Numbers: [61, 74]
Generated Node #0,2,2: 41:[61, 74] Operation: 42+32=74
Exploring Operation: 61-32=29, Resulting Numbers: [42, 29]
Generated Node #0,2,3: 41:[42, 29] Operation: 61-32=29
Exploring Operation: 42-32=10, Resulting Numbers: [61, 10]
Generated Node #0,2,4: 41:[61, 10] Operation: 42-32=10
Moving to Node #0,4
Current State: 41:[30, 61, 40], Operations: ['42-2=40']
Exploring Operation: 61-30=31, Resulting Numbers: [40, 31]
Generated Node #0,4,0: 41:[40, 31] Operation: 61-30=31
Exploring Operation: 30+40=70, Resulting Numbers: [61, 70]
Generated Node #0,4,1: 41:[61, 70] Operation: 30+40=70
Exploring Operation: 40-30=10, Resulting Numbers: [61, 10]
Generated Node #0,4,2: 41:[61, 10] Operation: 40-30=10
Exploring Operation: 61-40=21, Resulting Numbers: [30, 21]
Generated Node #0,4,3: 41:[30, 21] Operation: 61-40=21
Exploring Operation: 30+61=91, Resulting Numbers: [40, 91]
Generated Node #0,4,4: 41:[40, 91] Operation: 30+61=91
Moving to Node #0,0
Current State: 41:[42, 61, 28], Operations: ['30-2=28']
Exploring Operation: 61+28=89, Resulting Numbers: [42, 89]
Generated Node #0,0,0: 41:[42, 89] Operation: 61+28=89
Exploring Operation: 42-28=14, Resulting Numbers: [61, 14]
Generated Node #0,0,1: 41:[61, 14] Operation: 42-28=14
Exploring Operation: 61-42=19, Resulting Numbers: [28, 19]
Generated Node #0,0,2: 41:[28, 19] Operation: 61-42=19
Exploring Operation: 42+28=70, Resulting Numbers: [61, 70]
Generated Node #0,0,3: 41:[61, 70] Operation: 42+28=70
Exploring Operation: 61-28=33, Resulting Numbers: [42, 33]
Generated Node #0,0,4: 41:[42, 33] Operation: 61-28=33
Moving to Node #0,3
Current State: 41:[30, 61, 44], Operations: ['2+42=44']
Exploring Operation: 44-30=14, Resulting Numbers: [61, 14]
Generated Node #0,3,0: 41:[61, 14] Operation: 44-30=14
Exploring Operation: 30+44=74, Resulting Numbers: [61, 74]
Generated Node #0,3,1: 41:[61, 74] Operation: 30+44=74
Exploring Operation: 61-44=17, Resulting Numbers: [30, 17]
Generated Node #0,3,2: 41:[30, 17] Operation: 61-44=17
Exploring Operation: 30+61=91, Resulting Numbers: [44, 91]
Generated Node #0,3,3: 41:[44, 91] Operation: 30+61=91
Exploring Operation: 61-30=31, Resulting Numbers: [44, 31]
Generated Node #0,3,4: 41:[44, 31] Operation: 61-30=31
Moving to Node #0,0,4
Current State: 41:[42, 33], Operations: ['30-2=28', '61-28=33']
Exploring Operation: 42+33=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 42*33=1386, Resulting Numbers: [1386]
1386,41 unequal: No Solution
Moving to Node #0,4,0
Current State: 41:[40, 31], Operations: ['42-2=40', '61-30=31']
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,41 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[42, 29], Operations: ['2+30=32', '61-32=29']
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 42*29=1218, Resulting Numbers: [1218]
1218,41 unequal: No Solution
Moving to Node #0,3,4
Current State: 41:[44, 31], Operations: ['2+42=44', '61-30=31']
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[42, 29], Operations: ['61-2=59', '59-30=29']
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 42*29=1218, Resulting Numbers: [1218]
1218,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[32, 19], Operations: ['2+30=32', '61-42=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[30, 21], Operations: ['42-2=40', '61-40=21']
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,41 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[30, 17], Operations: ['2+42=44', '61-44=17']
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,41 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[30, 17], Operations: ['61-2=59', '59-42=17']
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,41 unequal: No Solution
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[28, 19], Operations: ['30-2=28', '61-42=19']
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,41 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[59, 12], Operations: ['61-2=59', '42-30=12']
Exploring Operation: 59+12=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 59*12=708, Resulting Numbers: [708]
708,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[61, 14], Operations: ['2+42=44', '44-30=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,41 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[61, 14], Operations: ['30-2=28', '42-28=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,41 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Moving to Node #0,4,1
Current State: 41:[61, 70], Operations: ['42-2=40', '30+40=70']
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,41 unequal: No Solution
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,41 unequal: No Solution
Moving to Node #0,1,4
Current State: 41:[59, 72], Operations: ['61-2=59', '30+42=72']
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 59*72=4248, Resulting Numbers: [4248]
4248,41 unequal: No Solution
Exploring Operation: 59+72=131, Resulting Numbers: [131]
131,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[42, 89], Operations: ['30-2=28', '61+28=89']
Exploring Operation: 42*89=3738, Resulting Numbers: [3738]
3738,41 unequal: No Solution
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 42+89=131, Resulting Numbers: [131]
131,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[61, 70], Operations: ['30-2=28', '42+28=70']
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,41 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[42, 89], Operations: ['61-2=59', '30+59=89']
Exploring Operation: 42+89=131, Resulting Numbers: [131]
131,41 unequal: No Solution
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 42*89=3738, Resulting Numbers: [3738]
3738,41 unequal: No Solution
Moving to Node #0,4,4
Current State: 41:[40, 91], Operations: ['42-2=40', '30+61=91']
Exploring Operation: 40*91=3640, Resulting Numbers: [3640]
3640,41 unequal: No Solution
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 40+91=131, Resulting Numbers: [131]
131,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[61, 10], Operations: ['2+30=32', '42-32=10']
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,41 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Moving to Node #0,4,2
Current State: 41:[61, 10], Operations: ['42-2=40', '40-30=10']
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,41 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[61, 74], Operations: ['2+42=44', '30+44=74']
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 61*74=4514, Resulting Numbers: [4514]
4514,41 unequal: No Solution
Exploring Operation: 61+74=135, Resulting Numbers: [135]
135,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[61, 74], Operations: ['2+30=32', '42+32=74']
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 61+74=135, Resulting Numbers: [135]
135,41 unequal: No Solution
Exploring Operation: 61*74=4514, Resulting Numbers: [4514]
4514,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[44, 91], Operations: ['2+42=44', '30+61=91']
Exploring Operation: 44+91=135, Resulting Numbers: [135]
135,41 unequal: No Solution
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 44*91=4004, Resulting Numbers: [4004]
4004,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[42, 93], Operations: ['2+30=32', '61+32=93']
Exploring Operation: 42+93=135, Resulting Numbers: [135]
135,41 unequal: No Solution
Exploring Operation: 42*93=3906, Resulting Numbers: [3906]
3906,41 unequal: No Solution
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,41 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
59,
12,
94,
45
] | 92 | [
"59-12=47",
"94+45=139",
"139-47=92"
] | Current State: 92:[59, 12, 94, 45], Operations: []
Exploring Operation: 59-12=47, Resulting Numbers: [94, 45, 47]
Generated Node #2: [94, 45, 47] from Operation: 59-12=47
Current State: 92:[94, 45, 47], Operations: ['59-12=47']
Exploring Operation: 94+45=139, Resulting Numbers: [47, 139]
Generated Node #3: [47, 139] from Operation: 94+45=139
Current State: 92:[47, 139], Operations: ['59-12=47', '94+45=139']
Exploring Operation: 139-47=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[59, 12, 94, 45], Operations: []
Exploring Operation: 94-59=35, Resulting Numbers: [12, 45, 35]
Generated Node #0,0: 92:[12, 45, 35] Operation: 94-59=35
Exploring Operation: 59+12=71, Resulting Numbers: [94, 45, 71]
Generated Node #0,1: 92:[94, 45, 71] Operation: 59+12=71
Exploring Operation: 59-45=14, Resulting Numbers: [12, 94, 14]
Generated Node #0,2: 92:[12, 94, 14] Operation: 59-45=14
Exploring Operation: 59+45=104, Resulting Numbers: [12, 94, 104]
Generated Node #0,3: 92:[12, 94, 104] Operation: 59+45=104
Exploring Operation: 59-12=47, Resulting Numbers: [94, 45, 47]
Generated Node #0,4: 92:[94, 45, 47] Operation: 59-12=47
Moving to Node #0,4
Current State: 92:[94, 45, 47], Operations: ['59-12=47']
Exploring Operation: 47-45=2, Resulting Numbers: [94, 2]
Generated Node #0,4,0: 92:[94, 2] Operation: 47-45=2
Exploring Operation: 94/47=2, Resulting Numbers: [45, 2]
Generated Node #0,4,1: 92:[45, 2] Operation: 94/47=2
Exploring Operation: 45+47=92, Resulting Numbers: [94, 92]
Generated Node #0,4,2: 92:[94, 92] Operation: 45+47=92
Exploring Operation: 94-45=49, Resulting Numbers: [47, 49]
Generated Node #0,4,3: 92:[47, 49] Operation: 94-45=49
Exploring Operation: 94-47=47, Resulting Numbers: [45, 47]
Generated Node #0,4,4: 92:[45, 47] Operation: 94-47=47
Moving to Node #0,2
Current State: 92:[12, 94, 14], Operations: ['59-45=14']
Exploring Operation: 94-12=82, Resulting Numbers: [14, 82]
Generated Node #0,2,0: 92:[14, 82] Operation: 94-12=82
Exploring Operation: 94-14=80, Resulting Numbers: [12, 80]
Generated Node #0,2,1: 92:[12, 80] Operation: 94-14=80
Exploring Operation: 12+14=26, Resulting Numbers: [94, 26]
Generated Node #0,2,2: 92:[94, 26] Operation: 12+14=26
Exploring Operation: 12+94=106, Resulting Numbers: [14, 106]
Generated Node #0,2,3: 92:[14, 106] Operation: 12+94=106
Exploring Operation: 14-12=2, Resulting Numbers: [94, 2]
Generated Node #0,2,4: 92:[94, 2] Operation: 14-12=2
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 92:[94, 2], Operations: ['59-45=14', '14-12=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,92 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[59, 12, 94, 45], Operations: []
Exploring Operation: 59-45=14, Resulting Numbers: [12, 94, 14]
Generated Node #0,2: 92:[12, 94, 14] Operation: 59-45=14
Moving to Node #0,2
Current State: 92:[12, 94, 14], Operations: ['59-45=14']
Exploring Operation: 14-12=2, Resulting Numbers: [94, 2]
Generated Node #0,2,4: 92:[94, 2] Operation: 14-12=2
Moving to Node #0,2,4
Current State: 92:[94, 2], Operations: ['59-45=14', '14-12=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
66,
39,
78,
20
] | 85 | [
"66-39=27",
"78-20=58",
"27+58=85"
] | Current State: 85:[66, 39, 78, 20], Operations: []
Exploring Operation: 66-39=27, Resulting Numbers: [78, 20, 27]
Generated Node #2: [78, 20, 27] from Operation: 66-39=27
Current State: 85:[78, 20, 27], Operations: ['66-39=27']
Exploring Operation: 78-20=58, Resulting Numbers: [27, 58]
Generated Node #3: [27, 58] from Operation: 78-20=58
Current State: 85:[27, 58], Operations: ['66-39=27', '78-20=58']
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[66, 39, 78, 20], Operations: []
Exploring Operation: 78/39=2, Resulting Numbers: [66, 20, 2]
Generated Node #0,0: 85:[66, 20, 2] Operation: 78/39=2
Exploring Operation: 66-39=27, Resulting Numbers: [78, 20, 27]
Generated Node #0,1: 85:[78, 20, 27] Operation: 66-39=27
Moving to Node #0,1
Current State: 85:[78, 20, 27], Operations: ['66-39=27']
Exploring Operation: 78+20=98, Resulting Numbers: [27, 98]
Generated Node #0,1,0: 85:[27, 98] Operation: 78+20=98
Exploring Operation: 27-20=7, Resulting Numbers: [78, 7]
Generated Node #0,1,1: 85:[78, 7] Operation: 27-20=7
Moving to Node #0,0
Current State: 85:[66, 20, 2], Operations: ['78/39=2']
Exploring Operation: 66/2=33, Resulting Numbers: [20, 33]
Generated Node #0,0,0: 85:[20, 33] Operation: 66/2=33
Exploring Operation: 66+20=86, Resulting Numbers: [2, 86]
Generated Node #0,0,1: 85:[2, 86] Operation: 66+20=86
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[2, 86], Operations: ['78/39=2', '66+20=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[20, 33], Operations: ['78/39=2', '66/2=33']
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 85:[78, 7], Operations: ['66-39=27', '27-20=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[66, 39, 78, 20], Operations: []
Exploring Operation: 66-39=27, Resulting Numbers: [78, 20, 27]
Generated Node #0,1: 85:[78, 20, 27] Operation: 66-39=27
Moving to Node #0,1
Current State: 85:[78, 20, 27], Operations: ['66-39=27']
Exploring Operation: 27-20=7, Resulting Numbers: [78, 7]
Generated Node #0,1,1: 85:[78, 7] Operation: 27-20=7
Moving to Node #0,1,1
Current State: 85:[78, 7], Operations: ['66-39=27', '27-20=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
2,
54,
88,
53
] | 69 | [
"2*88=176",
"54+53=107",
"176-107=69"
] | Current State: 69:[2, 54, 88, 53], Operations: []
Exploring Operation: 2*88=176, Resulting Numbers: [54, 53, 176]
Generated Node #2: [54, 53, 176] from Operation: 2*88=176
Current State: 69:[54, 53, 176], Operations: ['2*88=176']
Exploring Operation: 54+53=107, Resulting Numbers: [176, 107]
Generated Node #3: [176, 107] from Operation: 54+53=107
Current State: 69:[176, 107], Operations: ['2*88=176', '54+53=107']
Exploring Operation: 176-107=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[2, 54, 88, 53], Operations: []
Exploring Operation: 88-53=35, Resulting Numbers: [2, 54, 35]
Generated Node #0,0: 69:[2, 54, 35] Operation: 88-53=35
Exploring Operation: 54-53=1, Resulting Numbers: [2, 88, 1]
Generated Node #0,1: 69:[2, 88, 1] Operation: 54-53=1
Exploring Operation: 88-54=34, Resulting Numbers: [2, 53, 34]
Generated Node #0,2: 69:[2, 53, 34] Operation: 88-54=34
Exploring Operation: 54/2=27, Resulting Numbers: [88, 53, 27]
Generated Node #0,3: 69:[88, 53, 27] Operation: 54/2=27
Moving to Node #0,1
Current State: 69:[2, 88, 1], Operations: ['54-53=1']
Exploring Operation: 2*1=2, Resulting Numbers: [88, 2]
Generated Node #0,1,0: 69:[88, 2] Operation: 2*1=2
Exploring Operation: 88-1=87, Resulting Numbers: [2, 87]
Generated Node #0,1,1: 69:[2, 87] Operation: 88-1=87
Exploring Operation: 88-2=86, Resulting Numbers: [1, 86]
Generated Node #0,1,2: 69:[1, 86] Operation: 88-2=86
Exploring Operation: 2+1=3, Resulting Numbers: [88, 3]
Generated Node #0,1,3: 69:[88, 3] Operation: 2+1=3
Moving to Node #0,2
Current State: 69:[2, 53, 34], Operations: ['88-54=34']
Exploring Operation: 2*34=68, Resulting Numbers: [53, 68]
Generated Node #0,2,0: 69:[53, 68] Operation: 2*34=68
Exploring Operation: 34/2=17, Resulting Numbers: [53, 17]
Generated Node #0,2,1: 69:[53, 17] Operation: 34/2=17
Exploring Operation: 53-34=19, Resulting Numbers: [2, 19]
Generated Node #0,2,2: 69:[2, 19] Operation: 53-34=19
Exploring Operation: 53+34=87, Resulting Numbers: [2, 87]
Generated Node #0,2,3: 69:[2, 87] Operation: 53+34=87
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[2, 19], Operations: ['88-54=34', '53-34=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[53, 68], Operations: ['88-54=34', '2*34=68']
Exploring Operation: 53+68=121, Resulting Numbers: [121]
121,69 unequal: No Solution
Exploring Operation: 53*68=3604, Resulting Numbers: [3604]
3604,69 unequal: No Solution
Exploring Operation: 68-53=15, Resulting Numbers: [15]
15,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 69:[2, 87], Operations: ['88-54=34', '53+34=87']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,69 unequal: No Solution
Exploring Operation: 2+87=89, Resulting Numbers: [89]
89,69 unequal: No Solution
Exploring Operation: 2*87=174, Resulting Numbers: [174]
174,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[53, 17], Operations: ['88-54=34', '34/2=17']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 53+17=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 53*17=901, Resulting Numbers: [901]
901,69 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: 69:[2, 54, 35], Operations: ['88-53=35']
Exploring Operation: 54/2=27, Resulting Numbers: [35, 27]
Generated Node #0,0,0: 69:[35, 27] Operation: 54/2=27
Exploring Operation: 2*35=70, Resulting Numbers: [54, 70]
Generated Node #0,0,1: 69:[54, 70] Operation: 2*35=70
Exploring Operation: 54+35=89, Resulting Numbers: [2, 89]
Generated Node #0,0,2: 69:[2, 89] Operation: 54+35=89
Exploring Operation: 54-35=19, Resulting Numbers: [2, 19]
Generated Node #0,0,3: 69:[2, 19] Operation: 54-35=19
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 69:[2, 19], Operations: ['88-53=35', '54-35=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[35, 27], Operations: ['88-53=35', '54/2=27']
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,69 unequal: No Solution
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[54, 70], Operations: ['88-53=35', '2*35=70']
Exploring Operation: 54*70=3780, Resulting Numbers: [3780]
3780,69 unequal: No Solution
Exploring Operation: 54+70=124, Resulting Numbers: [124]
124,69 unequal: No Solution
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[2, 89], Operations: ['88-53=35', '54+35=89']
Exploring Operation: 2*89=178, Resulting Numbers: [178]
178,69 unequal: No Solution
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,69 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,69 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: 69:[88, 53, 27], Operations: ['54/2=27']
Exploring Operation: 53-27=26, Resulting Numbers: [88, 26]
Generated Node #0,3,0: 69:[88, 26] Operation: 53-27=26
Exploring Operation: 88-27=61, Resulting Numbers: [53, 61]
Generated Node #0,3,1: 69:[53, 61] Operation: 88-27=61
Exploring Operation: 88-53=35, Resulting Numbers: [27, 35]
Generated Node #0,3,2: 69:[27, 35] Operation: 88-53=35
Exploring Operation: 53+27=80, Resulting Numbers: [88, 80]
Generated Node #0,3,3: 69:[88, 80] Operation: 53+27=80
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 69:[27, 35], Operations: ['54/2=27', '88-53=35']
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,69 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 69:[88, 26], Operations: ['54/2=27', '53-27=26']
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,69 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 69:[53, 61], Operations: ['54/2=27', '88-27=61']
Exploring Operation: 53*61=3233, Resulting Numbers: [3233]
3233,69 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 53+61=114, Resulting Numbers: [114]
114,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 69:[88, 80], Operations: ['54/2=27', '53+27=80']
Exploring Operation: 88+80=168, Resulting Numbers: [168]
168,69 unequal: No Solution
Exploring Operation: 88-80=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 88*80=7040, Resulting Numbers: [7040]
7040,69 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: 69:[2, 87], Operations: ['54-53=1', '88-1=87']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,69 unequal: No Solution
Exploring Operation: 2*87=174, Resulting Numbers: [174]
174,69 unequal: No Solution
Exploring Operation: 2+87=89, Resulting Numbers: [89]
89,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[88, 3], Operations: ['54-53=1', '2+1=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,69 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,69 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[1, 86], Operations: ['54-53=1', '88-2=86']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,69 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 1+86=87, Resulting Numbers: [87]
87,69 unequal: No Solution
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[88, 2], Operations: ['54-53=1', '2*1=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,69 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,69 unequal: No Solution
Exploring Operation: 88*2=176, Resulting Numbers: [176]
176,69 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
10,
7,
12,
84
] | 24 | [
"10+7=17",
"84/12=7",
"17+7=24"
] | Current State: 24:[10, 7, 12, 84], Operations: []
Exploring Operation: 10+7=17, Resulting Numbers: [12, 84, 17]
Generated Node #2: [12, 84, 17] from Operation: 10+7=17
Current State: 24:[12, 84, 17], Operations: ['10+7=17']
Exploring Operation: 84/12=7, Resulting Numbers: [17, 7]
Generated Node #3: [17, 7] from Operation: 84/12=7
Current State: 24:[17, 7], Operations: ['10+7=17', '84/12=7']
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[10, 7, 12, 84], Operations: []
Exploring Operation: 84-12=72, Resulting Numbers: [10, 7, 72]
Generated Node #0,0: 24:[10, 7, 72] Operation: 84-12=72
Exploring Operation: 84-10=74, Resulting Numbers: [7, 12, 74]
Generated Node #0,1: 24:[7, 12, 74] Operation: 84-10=74
Exploring Operation: 84/12=7, Resulting Numbers: [10, 7, 7]
Generated Node #0,2: 24:[10, 7, 7] Operation: 84/12=7
Exploring Operation: 84-7=77, Resulting Numbers: [10, 12, 77]
Generated Node #0,3: 24:[10, 12, 77] Operation: 84-7=77
Exploring Operation: 84/7=12, Resulting Numbers: [10, 12, 12]
Generated Node #0,4: 24:[10, 12, 12] Operation: 84/7=12
Start Sub Search at level 1: Moving to Node #0,4
Current State: 24:[10, 12, 12], Operations: ['84/7=12']
Exploring Operation: 12+12=24, Resulting Numbers: [10, 24]
Generated Node #0,4,0: 24:[10, 24] Operation: 12+12=24
Exploring Operation: 12-10=2, Resulting Numbers: [12, 2]
Generated Node #0,4,1: 24:[12, 2] Operation: 12-10=2
Exploring Operation: 10+12=22, Resulting Numbers: [12, 22]
Generated Node #0,4,2: 24:[12, 22] Operation: 10+12=22
Exploring Operation: 12-10=2, Resulting Numbers: [12, 2]
Generated Node #0,4,3: 24:[12, 2] Operation: 12-10=2
Exploring Operation: 10+12=22, Resulting Numbers: [12, 22]
Generated Node #0,4,4: 24:[12, 22] Operation: 10+12=22
Moving to Node #0,4,1
Current State: 24:[12, 2], Operations: ['84/7=12', '12-10=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[10, 7, 12, 84], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [10, 12, 12]
Generated Node #0,4: 24:[10, 12, 12] Operation: 84/7=12
Moving to Node #0,4
Current State: 24:[10, 12, 12], Operations: ['84/7=12']
Exploring Operation: 12-10=2, Resulting Numbers: [12, 2]
Generated Node #0,4,1: 24:[12, 2] Operation: 12-10=2
Moving to Node #0,4,1
Current State: 24:[12, 2], Operations: ['84/7=12', '12-10=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
40,
41,
85,
25
] | 95 | [
"40*85=3400",
"3400/25=136",
"136-41=95"
] | Current State: 95:[40, 41, 85, 25], Operations: []
Exploring Operation: 40*85=3400, Resulting Numbers: [41, 25, 3400]
Generated Node #2: [41, 25, 3400] from Operation: 40*85=3400
Current State: 95:[41, 25, 3400], Operations: ['40*85=3400']
Exploring Operation: 3400/25=136, Resulting Numbers: [41, 136]
Generated Node #3: [41, 136] from Operation: 3400/25=136
Current State: 95:[41, 136], Operations: ['40*85=3400', '3400/25=136']
Exploring Operation: 136-41=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[40, 41, 85, 25], Operations: []
Exploring Operation: 41-40=1, Resulting Numbers: [85, 25, 1]
Generated Node #0,0: 95:[85, 25, 1] Operation: 41-40=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[85, 25, 1], Operations: ['41-40=1']
Exploring Operation: 85+1=86, Resulting Numbers: [25, 86]
Generated Node #0,0,0: 95:[25, 86] Operation: 85+1=86
Moving to Node #0,0,0
Current State: 95:[25, 86], Operations: ['41-40=1', '85+1=86']
Exploring Operation: 25+86=111, Resulting Numbers: [111]
111,95 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 |
[
91,
32,
64,
95
] | 56 | [
"95-91=4",
"32/4=8",
"64-8=56"
] | Current State: 56:[91, 32, 64, 95], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [32, 64, 4]
Generated Node #2: [32, 64, 4] from Operation: 95-91=4
Current State: 56:[32, 64, 4], Operations: ['95-91=4']
Exploring Operation: 32/4=8, Resulting Numbers: [64, 8]
Generated Node #3: [64, 8] from Operation: 32/4=8
Current State: 56:[64, 8], Operations: ['95-91=4', '32/4=8']
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[91, 32, 64, 95], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [91, 32, 31]
Generated Node #0,0: 56:[91, 32, 31] Operation: 95-64=31
Exploring Operation: 91-64=27, Resulting Numbers: [32, 95, 27]
Generated Node #0,1: 56:[32, 95, 27] Operation: 91-64=27
Exploring Operation: 95-91=4, Resulting Numbers: [32, 64, 4]
Generated Node #0,2: 56:[32, 64, 4] Operation: 95-91=4
Exploring Operation: 91-32=59, Resulting Numbers: [64, 95, 59]
Generated Node #0,3: 56:[64, 95, 59] Operation: 91-32=59
Moving to Node #0,2
Current State: 56:[32, 64, 4], Operations: ['95-91=4']
Exploring Operation: 64-32=32, Resulting Numbers: [4, 32]
Generated Node #0,2,0: 56:[4, 32] Operation: 64-32=32
Exploring Operation: 32-4=28, Resulting Numbers: [64, 28]
Generated Node #0,2,1: 56:[64, 28] Operation: 32-4=28
Exploring Operation: 64/4=16, Resulting Numbers: [32, 16]
Generated Node #0,2,2: 56:[32, 16] Operation: 64/4=16
Exploring Operation: 64/32=2, Resulting Numbers: [4, 2]
Generated Node #0,2,3: 56:[4, 2] Operation: 64/32=2
Moving to Node #0,0
Current State: 56:[91, 32, 31], Operations: ['95-64=31']
Exploring Operation: 91-31=60, Resulting Numbers: [32, 60]
Generated Node #0,0,0: 56:[32, 60] Operation: 91-31=60
Exploring Operation: 32-31=1, Resulting Numbers: [91, 1]
Generated Node #0,0,1: 56:[91, 1] Operation: 32-31=1
Exploring Operation: 32+31=63, Resulting Numbers: [91, 63]
Generated Node #0,0,2: 56:[91, 63] Operation: 32+31=63
Exploring Operation: 91-32=59, Resulting Numbers: [31, 59]
Generated Node #0,0,3: 56:[31, 59] Operation: 91-32=59
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 56:[31, 59], Operations: ['95-64=31', '91-32=59']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 31+59=90, Resulting Numbers: [90]
90,56 unequal: No Solution
Exploring Operation: 31*59=1829, Resulting Numbers: [1829]
1829,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[32, 60], Operations: ['95-64=31', '91-31=60']
Exploring Operation: 32*60=1920, Resulting Numbers: [1920]
1920,56 unequal: No Solution
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,56 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[91, 1], Operations: ['95-64=31', '32-31=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,56 unequal: No Solution
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,56 unequal: No Solution
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,56 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[91, 63], Operations: ['95-64=31', '32+31=63']
Exploring Operation: 91+63=154, Resulting Numbers: [154]
154,56 unequal: No Solution
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 91*63=5733, Resulting Numbers: [5733]
5733,56 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: 56:[32, 95, 27], Operations: ['91-64=27']
Exploring Operation: 95-27=68, Resulting Numbers: [32, 68]
Generated Node #0,1,0: 56:[32, 68] Operation: 95-27=68
Exploring Operation: 32+27=59, Resulting Numbers: [95, 59]
Generated Node #0,1,1: 56:[95, 59] Operation: 32+27=59
Exploring Operation: 95-32=63, Resulting Numbers: [27, 63]
Generated Node #0,1,2: 56:[27, 63] Operation: 95-32=63
Exploring Operation: 32-27=5, Resulting Numbers: [95, 5]
Generated Node #0,1,3: 56:[95, 5] Operation: 32-27=5
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[27, 63], Operations: ['91-64=27', '95-32=63']
Exploring Operation: 27*63=1701, Resulting Numbers: [1701]
1701,56 unequal: No Solution
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,56 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[32, 68], Operations: ['91-64=27', '95-27=68']
Exploring Operation: 32*68=2176, Resulting Numbers: [2176]
2176,56 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 32+68=100, Resulting Numbers: [100]
100,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 56:[95, 5], Operations: ['91-64=27', '32-27=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,56 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[95, 59], Operations: ['91-64=27', '32+27=59']
Exploring Operation: 95*59=5605, Resulting Numbers: [5605]
5605,56 unequal: No Solution
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 95+59=154, Resulting Numbers: [154]
154,56 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: 56:[64, 95, 59], Operations: ['91-32=59']
Exploring Operation: 95-59=36, Resulting Numbers: [64, 36]
Generated Node #0,3,0: 56:[64, 36] Operation: 95-59=36
Exploring Operation: 95-64=31, Resulting Numbers: [59, 31]
Generated Node #0,3,1: 56:[59, 31] Operation: 95-64=31
Exploring Operation: 64+95=159, Resulting Numbers: [59, 159]
Generated Node #0,3,2: 56:[59, 159] Operation: 64+95=159
Exploring Operation: 64-59=5, Resulting Numbers: [95, 5]
Generated Node #0,3,3: 56:[95, 5] Operation: 64-59=5
Moving to Node #0,2,3
Current State: 56:[4, 2], Operations: ['95-91=4', '64/32=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[4, 32], Operations: ['95-91=4', '64-32=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[32, 16], Operations: ['95-91=4', '64/4=16']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,56 unequal: No Solution
Moving to Node #0,3,1
Current State: 56:[59, 31], Operations: ['91-32=59', '95-64=31']
Exploring Operation: 59*31=1829, Resulting Numbers: [1829]
1829,56 unequal: No Solution
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[64, 28], Operations: ['95-91=4', '32-4=28']
Exploring Operation: 64*28=1792, Resulting Numbers: [1792]
1792,56 unequal: No Solution
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,56 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[64, 36], Operations: ['91-32=59', '95-59=36']
Exploring Operation: 64*36=2304, Resulting Numbers: [2304]
2304,56 unequal: No Solution
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[95, 5], Operations: ['91-32=59', '64-59=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,56 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,56 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[59, 159], Operations: ['91-32=59', '64+95=159']
Exploring Operation: 159-59=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 59*159=9381, Resulting Numbers: [9381]
9381,56 unequal: No Solution
Exploring Operation: 59+159=218, Resulting Numbers: [218]
218,56 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
34,
24,
1,
27
] | 31 | [
"34+24=58",
"1*27=27",
"58-27=31"
] | Current State: 31:[34, 24, 1, 27], Operations: []
Exploring Operation: 34+24=58, Resulting Numbers: [1, 27, 58]
Generated Node #2: [1, 27, 58] from Operation: 34+24=58
Current State: 31:[1, 27, 58], Operations: ['34+24=58']
Exploring Operation: 1*27=27, Resulting Numbers: [58, 27]
Generated Node #3: [58, 27] from Operation: 1*27=27
Current State: 31:[58, 27], Operations: ['34+24=58', '1*27=27']
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[34, 24, 1, 27], Operations: []
Exploring Operation: 34/1=34, Resulting Numbers: [24, 27, 34]
Generated Node #0,0: 31:[24, 27, 34] Operation: 34/1=34
Exploring Operation: 1+27=28, Resulting Numbers: [34, 24, 28]
Generated Node #0,1: 31:[34, 24, 28] Operation: 1+27=28
Exploring Operation: 34*1=34, Resulting Numbers: [24, 27, 34]
Generated Node #0,2: 31:[24, 27, 34] Operation: 34*1=34
Exploring Operation: 24+1=25, Resulting Numbers: [34, 27, 25]
Generated Node #0,3: 31:[34, 27, 25] Operation: 24+1=25
Exploring Operation: 34-1=33, Resulting Numbers: [24, 27, 33]
Generated Node #0,4: 31:[24, 27, 33] Operation: 34-1=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[34, 24, 28], Operations: ['1+27=28']
Exploring Operation: 34+24=58, Resulting Numbers: [28, 58]
Generated Node #0,1,0: 31:[28, 58] Operation: 34+24=58
Exploring Operation: 34-24=10, Resulting Numbers: [28, 10]
Generated Node #0,1,1: 31:[28, 10] Operation: 34-24=10
Exploring Operation: 28-24=4, Resulting Numbers: [34, 4]
Generated Node #0,1,2: 31:[34, 4] Operation: 28-24=4
Exploring Operation: 24+28=52, Resulting Numbers: [34, 52]
Generated Node #0,1,3: 31:[34, 52] Operation: 24+28=52
Exploring Operation: 34-28=6, Resulting Numbers: [24, 6]
Generated Node #0,1,4: 31:[24, 6] Operation: 34-28=6
Moving to Node #0,1,1
Current State: 31:[28, 10], Operations: ['1+27=28', '34-24=10']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[34, 52], Operations: ['1+27=28', '24+28=52']
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,31 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[28, 58], Operations: ['1+27=28', '34+24=58']
Exploring Operation: 28*58=1624, Resulting Numbers: [1624]
1624,31 unequal: No Solution
Exploring Operation: 28+58=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[34, 4], Operations: ['1+27=28', '28-24=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,31 unequal: No Solution
Moving to Node #0,1,4
Current State: 31:[24, 6], Operations: ['1+27=28', '34-28=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,31 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[34, 27, 25], Operations: ['24+1=25']
Exploring Operation: 27+25=52, Resulting Numbers: [34, 52]
Generated Node #0,3,0: 31:[34, 52] Operation: 27+25=52
Exploring Operation: 34-27=7, Resulting Numbers: [25, 7]
Generated Node #0,3,1: 31:[25, 7] Operation: 34-27=7
Exploring Operation: 27-25=2, Resulting Numbers: [34, 2]
Generated Node #0,3,2: 31:[34, 2] Operation: 27-25=2
Exploring Operation: 34+25=59, Resulting Numbers: [27, 59]
Generated Node #0,3,3: 31:[27, 59] Operation: 34+25=59
Exploring Operation: 34-25=9, Resulting Numbers: [27, 9]
Generated Node #0,3,4: 31:[27, 9] Operation: 34-25=9
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 31:[34, 52], Operations: ['24+1=25', '27+25=52']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,31 unequal: No Solution
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,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:[27, 9], Operations: ['24+1=25', '34-25=9']
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,31 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,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:[25, 7], Operations: ['24+1=25', '34-27=7']
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,31 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,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:[34, 2], Operations: ['24+1=25', '27-25=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,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:[27, 59], Operations: ['24+1=25', '34+25=59']
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 27*59=1593, Resulting Numbers: [1593]
1593,31 unequal: No Solution
Exploring Operation: 27+59=86, Resulting Numbers: [86]
86,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:[24, 27, 33], Operations: ['34-1=33']
Exploring Operation: 33-24=9, Resulting Numbers: [27, 9]
Generated Node #0,4,0: 31:[27, 9] Operation: 33-24=9
Exploring Operation: 27-24=3, Resulting Numbers: [33, 3]
Generated Node #0,4,1: 31:[33, 3] Operation: 27-24=3
Exploring Operation: 33-27=6, Resulting Numbers: [24, 6]
Generated Node #0,4,2: 31:[24, 6] Operation: 33-27=6
Exploring Operation: 24+27=51, Resulting Numbers: [33, 51]
Generated Node #0,4,3: 31:[33, 51] Operation: 24+27=51
Exploring Operation: 24+33=57, Resulting Numbers: [27, 57]
Generated Node #0,4,4: 31:[27, 57] Operation: 24+33=57
Moving to Node #0,4,3
Current State: 31:[33, 51], Operations: ['34-1=33', '24+27=51']
Exploring Operation: 33*51=1683, Resulting Numbers: [1683]
1683,31 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 33+51=84, Resulting Numbers: [84]
84,31 unequal: No Solution
Moving to Node #0,4,0
Current State: 31:[27, 9], Operations: ['34-1=33', '33-24=9']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,31 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Moving to Node #0,4,1
Current State: 31:[33, 3], Operations: ['34-1=33', '27-24=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,31 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[27, 57], Operations: ['34-1=33', '24+33=57']
Exploring Operation: 27*57=1539, Resulting Numbers: [1539]
1539,31 unequal: No Solution
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,31 unequal: No Solution
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Moving to Node #0,4,2
Current State: 31:[24, 6], Operations: ['34-1=33', '33-27=6']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,31 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[24, 27, 34], Operations: ['34/1=34']
Exploring Operation: 34-27=7, Resulting Numbers: [24, 7]
Generated Node #0,0,0: 31:[24, 7] Operation: 34-27=7
Exploring Operation: 24+27=51, Resulting Numbers: [34, 51]
Generated Node #0,0,1: 31:[34, 51] Operation: 24+27=51
Exploring Operation: 34-24=10, Resulting Numbers: [27, 10]
Generated Node #0,0,2: 31:[27, 10] Operation: 34-24=10
Exploring Operation: 27-24=3, Resulting Numbers: [34, 3]
Generated Node #0,0,3: 31:[34, 3] Operation: 27-24=3
Exploring Operation: 24+34=58, Resulting Numbers: [27, 58]
Generated Node #0,0,4: 31:[27, 58] Operation: 24+34=58
Moving to Node #0,0,1
Current State: 31:[34, 51], Operations: ['34/1=34', '24+27=51']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,31 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[27, 10], Operations: ['34/1=34', '34-24=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,31 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[24, 7], Operations: ['34/1=34', '34-27=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,31 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[34, 24, 1, 27], Operations: []
Exploring Operation: 34/1=34, Resulting Numbers: [24, 27, 34]
Generated Node #0,0: 31:[24, 27, 34] Operation: 34/1=34
Moving to Node #0,0
Current State: 31:[24, 27, 34], Operations: ['34/1=34']
Exploring Operation: 34-27=7, Resulting Numbers: [24, 7]
Generated Node #0,0,0: 31:[24, 7] Operation: 34-27=7
Moving to Node #0,0,0
Current State: 31:[24, 7], Operations: ['34/1=34', '34-27=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.922743 | hs_5 | mult_heuristic |
[
93,
44,
19,
5
] | 73 | [
"93-44=49",
"19+5=24",
"49+24=73"
] | Current State: 73:[93, 44, 19, 5], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [19, 5, 49]
Generated Node #2: [19, 5, 49] from Operation: 93-44=49
Current State: 73:[19, 5, 49], Operations: ['93-44=49']
Exploring Operation: 19+5=24, Resulting Numbers: [49, 24]
Generated Node #3: [49, 24] from Operation: 19+5=24
Current State: 73:[49, 24], Operations: ['93-44=49', '19+5=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[93, 44, 19, 5], Operations: []
Exploring Operation: 93-5=88, Resulting Numbers: [44, 19, 88]
Generated Node #0,0: 73:[44, 19, 88] Operation: 93-5=88
Exploring Operation: 44+5=49, Resulting Numbers: [93, 19, 49]
Generated Node #0,1: 73:[93, 19, 49] Operation: 44+5=49
Exploring Operation: 19*5=95, Resulting Numbers: [93, 44, 95]
Generated Node #0,2: 73:[93, 44, 95] Operation: 19*5=95
Exploring Operation: 44+19=63, Resulting Numbers: [93, 5, 63]
Generated Node #0,3: 73:[93, 5, 63] Operation: 44+19=63
Exploring Operation: 93-19=74, Resulting Numbers: [44, 5, 74]
Generated Node #0,4: 73:[44, 5, 74] Operation: 93-19=74
Moving to Node #0,2
Current State: 73:[93, 44, 95], Operations: ['19*5=95']
Exploring Operation: 93-44=49, Resulting Numbers: [95, 49]
Generated Node #0,2,0: 73:[95, 49] Operation: 93-44=49
Exploring Operation: 93+44=137, Resulting Numbers: [95, 137]
Generated Node #0,2,1: 73:[95, 137] Operation: 93+44=137
Exploring Operation: 95-93=2, Resulting Numbers: [44, 2]
Generated Node #0,2,2: 73:[44, 2] Operation: 95-93=2
Exploring Operation: 44+95=139, Resulting Numbers: [93, 139]
Generated Node #0,2,3: 73:[93, 139] Operation: 44+95=139
Exploring Operation: 95-44=51, Resulting Numbers: [93, 51]
Generated Node #0,2,4: 73:[93, 51] Operation: 95-44=51
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 73:[93, 51], Operations: ['19*5=95', '95-44=51']
Exploring Operation: 93+51=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 93*51=4743, Resulting Numbers: [4743]
4743,73 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,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:[95, 49], Operations: ['19*5=95', '93-44=49']
Exploring Operation: 95+49=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 95*49=4655, Resulting Numbers: [4655]
4655,73 unequal: No Solution
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,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:[95, 137], Operations: ['19*5=95', '93+44=137']
Exploring Operation: 137-95=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 95+137=232, Resulting Numbers: [232]
232,73 unequal: No Solution
Exploring Operation: 95*137=13015, Resulting Numbers: [13015]
13015,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:[93, 139], Operations: ['19*5=95', '44+95=139']
Exploring Operation: 93*139=12927, Resulting Numbers: [12927]
12927,73 unequal: No Solution
Exploring Operation: 93+139=232, Resulting Numbers: [232]
232,73 unequal: No Solution
Exploring Operation: 139-93=46, Resulting Numbers: [46]
46,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,2
Current State: 73:[44, 2], Operations: ['19*5=95', '95-93=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,73 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,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:[93, 19, 49], Operations: ['44+5=49']
Exploring Operation: 93+19=112, Resulting Numbers: [49, 112]
Generated Node #0,1,0: 73:[49, 112] Operation: 93+19=112
Exploring Operation: 49-19=30, Resulting Numbers: [93, 30]
Generated Node #0,1,1: 73:[93, 30] Operation: 49-19=30
Exploring Operation: 93-19=74, Resulting Numbers: [49, 74]
Generated Node #0,1,2: 73:[49, 74] Operation: 93-19=74
Exploring Operation: 19+49=68, Resulting Numbers: [93, 68]
Generated Node #0,1,3: 73:[93, 68] Operation: 19+49=68
Exploring Operation: 93-49=44, Resulting Numbers: [19, 44]
Generated Node #0,1,4: 73:[19, 44] Operation: 93-49=44
Moving to Node #0,4
Current State: 73:[44, 5, 74], Operations: ['93-19=74']
Exploring Operation: 44+5=49, Resulting Numbers: [74, 49]
Generated Node #0,4,0: 73:[74, 49] Operation: 44+5=49
Exploring Operation: 5+74=79, Resulting Numbers: [44, 79]
Generated Node #0,4,1: 73:[44, 79] Operation: 5+74=79
Exploring Operation: 74-44=30, Resulting Numbers: [5, 30]
Generated Node #0,4,2: 73:[5, 30] Operation: 74-44=30
Exploring Operation: 44-5=39, Resulting Numbers: [74, 39]
Generated Node #0,4,3: 73:[74, 39] Operation: 44-5=39
Exploring Operation: 74-5=69, Resulting Numbers: [44, 69]
Generated Node #0,4,4: 73:[44, 69] Operation: 74-5=69
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 73:[74, 49], Operations: ['93-19=74', '44+5=49']
Exploring Operation: 74*49=3626, Resulting Numbers: [3626]
3626,73 unequal: No Solution
Exploring Operation: 74+49=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 74-49=25, Resulting Numbers: [25]
25,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,4,4
Current State: 73:[44, 69], Operations: ['93-19=74', '74-5=69']
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 44+69=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 44*69=3036, Resulting Numbers: [3036]
3036,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,4,1
Current State: 73:[44, 79], Operations: ['93-19=74', '5+74=79']
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 44*79=3476, Resulting Numbers: [3476]
3476,73 unequal: No Solution
Exploring Operation: 44+79=123, Resulting Numbers: [123]
123,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,4,3
Current State: 73:[74, 39], Operations: ['93-19=74', '44-5=39']
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 74+39=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Exploring Operation: 74*39=2886, Resulting Numbers: [2886]
2886,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,4,2
Current State: 73:[5, 30], Operations: ['93-19=74', '74-44=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,73 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: 73:[44, 19, 88], Operations: ['93-5=88']
Exploring Operation: 19+88=107, Resulting Numbers: [44, 107]
Generated Node #0,0,0: 73:[44, 107] Operation: 19+88=107
Exploring Operation: 44-19=25, Resulting Numbers: [88, 25]
Generated Node #0,0,1: 73:[88, 25] Operation: 44-19=25
Exploring Operation: 88-19=69, Resulting Numbers: [44, 69]
Generated Node #0,0,2: 73:[44, 69] Operation: 88-19=69
Exploring Operation: 44+19=63, Resulting Numbers: [88, 63]
Generated Node #0,0,3: 73:[88, 63] Operation: 44+19=63
Exploring Operation: 88-44=44, Resulting Numbers: [19, 44]
Generated Node #0,0,4: 73:[19, 44] Operation: 88-44=44
Moving to Node #0,3
Current State: 73:[93, 5, 63], Operations: ['44+19=63']
Exploring Operation: 63-5=58, Resulting Numbers: [93, 58]
Generated Node #0,3,0: 73:[93, 58] Operation: 63-5=58
Exploring Operation: 93-5=88, Resulting Numbers: [63, 88]
Generated Node #0,3,1: 73:[63, 88] Operation: 93-5=88
Exploring Operation: 5+63=68, Resulting Numbers: [93, 68]
Generated Node #0,3,2: 73:[93, 68] Operation: 5+63=68
Exploring Operation: 93-63=30, Resulting Numbers: [5, 30]
Generated Node #0,3,3: 73:[5, 30] Operation: 93-63=30
Exploring Operation: 93+5=98, Resulting Numbers: [63, 98]
Generated Node #0,3,4: 73:[63, 98] Operation: 93+5=98
Moving to Node #0,1,2
Current State: 73:[49, 74], Operations: ['44+5=49', '93-19=74']
Exploring Operation: 49*74=3626, Resulting Numbers: [3626]
3626,73 unequal: No Solution
Exploring Operation: 74-49=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 49+74=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[88, 63], Operations: ['93-5=88', '44+19=63']
Exploring Operation: 88*63=5544, Resulting Numbers: [5544]
5544,73 unequal: No Solution
Exploring Operation: 88-63=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 88+63=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[93, 68], Operations: ['44+19=63', '5+63=68']
Exploring Operation: 93-68=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 93*68=6324, Resulting Numbers: [6324]
6324,73 unequal: No Solution
Exploring Operation: 93+68=161, Resulting Numbers: [161]
161,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[93, 68], Operations: ['44+5=49', '19+49=68']
Exploring Operation: 93*68=6324, Resulting Numbers: [6324]
6324,73 unequal: No Solution
Exploring Operation: 93-68=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 93+68=161, Resulting Numbers: [161]
161,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[63, 88], Operations: ['44+19=63', '93-5=88']
Exploring Operation: 63*88=5544, Resulting Numbers: [5544]
5544,73 unequal: No Solution
Exploring Operation: 63+88=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Exploring Operation: 88-63=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[44, 69], Operations: ['93-5=88', '88-19=69']
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 44*69=3036, Resulting Numbers: [3036]
3036,73 unequal: No Solution
Exploring Operation: 44+69=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Moving to Node #0,3,4
Current State: 73:[63, 98], Operations: ['44+19=63', '93+5=98']
Exploring Operation: 98-63=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 63+98=161, Resulting Numbers: [161]
161,73 unequal: No Solution
Exploring Operation: 63*98=6174, Resulting Numbers: [6174]
6174,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[93, 58], Operations: ['44+19=63', '63-5=58']
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 93*58=5394, Resulting Numbers: [5394]
5394,73 unequal: No Solution
Exploring Operation: 93+58=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[49, 112], Operations: ['44+5=49', '93+19=112']
Exploring Operation: 112-49=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 49*112=5488, Resulting Numbers: [5488]
5488,73 unequal: No Solution
Exploring Operation: 49+112=161, Resulting Numbers: [161]
161,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[44, 107], Operations: ['93-5=88', '19+88=107']
Exploring Operation: 107-44=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 44+107=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Exploring Operation: 44*107=4708, Resulting Numbers: [4708]
4708,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[93, 30], Operations: ['44+5=49', '49-19=30']
Exploring Operation: 93*30=2790, Resulting Numbers: [2790]
2790,73 unequal: No Solution
Exploring Operation: 93+30=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 93-30=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[88, 25], Operations: ['93-5=88', '44-19=25']
Exploring Operation: 88*25=2200, Resulting Numbers: [2200]
2200,73 unequal: No Solution
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 88+25=113, Resulting Numbers: [113]
113,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[19, 44], Operations: ['93-5=88', '88-44=44']
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,73 unequal: No Solution
Moving to Node #0,1,4
Current State: 73:[19, 44], Operations: ['44+5=49', '93-49=44']
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[5, 30], Operations: ['44+19=63', '93-63=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,73 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
54,
50,
59,
97
] | 66 | [
"54+50=104",
"97-59=38",
"104-38=66"
] | Current State: 66:[54, 50, 59, 97], Operations: []
Exploring Operation: 54+50=104, Resulting Numbers: [59, 97, 104]
Generated Node #2: [59, 97, 104] from Operation: 54+50=104
Current State: 66:[59, 97, 104], Operations: ['54+50=104']
Exploring Operation: 97-59=38, Resulting Numbers: [104, 38]
Generated Node #3: [104, 38] from Operation: 97-59=38
Current State: 66:[104, 38], Operations: ['54+50=104', '97-59=38']
Exploring Operation: 104-38=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[54, 50, 59, 97], Operations: []
Exploring Operation: 97-54=43, Resulting Numbers: [50, 59, 43]
Generated Node #0,0: 66:[50, 59, 43] Operation: 97-54=43
Exploring Operation: 97-50=47, Resulting Numbers: [54, 59, 47]
Generated Node #0,1: 66:[54, 59, 47] Operation: 97-50=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[50, 59, 43], Operations: ['97-54=43']
Exploring Operation: 59-50=9, Resulting Numbers: [43, 9]
Generated Node #0,0,0: 66:[43, 9] Operation: 59-50=9
Exploring Operation: 50-43=7, Resulting Numbers: [59, 7]
Generated Node #0,0,1: 66:[59, 7] Operation: 50-43=7
Moving to Node #0,0,1
Current State: 66:[59, 7], Operations: ['97-54=43', '50-43=7']
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[54, 50, 59, 97], Operations: []
Exploring Operation: 97-54=43, Resulting Numbers: [50, 59, 43]
Generated Node #0,0: 66:[50, 59, 43] Operation: 97-54=43
Moving to Node #0,0
Current State: 66:[50, 59, 43], Operations: ['97-54=43']
Exploring Operation: 50-43=7, Resulting Numbers: [59, 7]
Generated Node #0,0,1: 66:[59, 7] Operation: 50-43=7
Moving to Node #0,0,1
Current State: 66:[59, 7], Operations: ['97-54=43', '50-43=7']
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
80,
49,
20,
93
] | 56 | [
"80+49=129",
"93-20=73",
"129-73=56"
] | Current State: 56:[80, 49, 20, 93], Operations: []
Exploring Operation: 80+49=129, Resulting Numbers: [20, 93, 129]
Generated Node #2: [20, 93, 129] from Operation: 80+49=129
Current State: 56:[20, 93, 129], Operations: ['80+49=129']
Exploring Operation: 93-20=73, Resulting Numbers: [129, 73]
Generated Node #3: [129, 73] from Operation: 93-20=73
Current State: 56:[129, 73], Operations: ['80+49=129', '93-20=73']
Exploring Operation: 129-73=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[80, 49, 20, 93], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [49, 20, 13]
Generated Node #0,0: 56:[49, 20, 13] Operation: 93-80=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[49, 20, 13], Operations: ['93-80=13']
Exploring Operation: 49-20=29, Resulting Numbers: [13, 29]
Generated Node #0,0,0: 56:[13, 29] Operation: 49-20=29
Moving to Node #0,0,0
Current State: 56:[13, 29], Operations: ['93-80=13', '49-20=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,56 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 |
[
43,
42,
22,
70
] | 93 | [
"43-42=1",
"22+70=92",
"1+92=93"
] | Current State: 93:[43, 42, 22, 70], Operations: []
Exploring Operation: 43-42=1, Resulting Numbers: [22, 70, 1]
Generated Node #2: [22, 70, 1] from Operation: 43-42=1
Current State: 93:[22, 70, 1], Operations: ['43-42=1']
Exploring Operation: 22+70=92, Resulting Numbers: [1, 92]
Generated Node #3: [1, 92] from Operation: 22+70=92
Current State: 93:[1, 92], Operations: ['43-42=1', '22+70=92']
Exploring Operation: 1+92=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[43, 42, 22, 70], Operations: []
Exploring Operation: 70-43=27, Resulting Numbers: [42, 22, 27]
Generated Node #0,0: 93:[42, 22, 27] Operation: 70-43=27
Moving to Node #0,0
Current State: 93:[42, 22, 27], Operations: ['70-43=27']
Exploring Operation: 27-22=5, Resulting Numbers: [42, 5]
Generated Node #0,0,0: 93:[42, 5] Operation: 27-22=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[42, 5], Operations: ['70-43=27', '27-22=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,93 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 |
[
44,
40,
21,
91
] | 95 | [
"44+40=84",
"84/21=4",
"91+4=95"
] | Current State: 95:[44, 40, 21, 91], Operations: []
Exploring Operation: 44+40=84, Resulting Numbers: [21, 91, 84]
Generated Node #2: [21, 91, 84] from Operation: 44+40=84
Current State: 95:[21, 91, 84], Operations: ['44+40=84']
Exploring Operation: 84/21=4, Resulting Numbers: [91, 4]
Generated Node #3: [91, 4] from Operation: 84/21=4
Current State: 95:[91, 4], Operations: ['44+40=84', '84/21=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[44, 40, 21, 91], Operations: []
Exploring Operation: 44+40=84, Resulting Numbers: [21, 91, 84]
Generated Node #0,0: 95:[21, 91, 84] Operation: 44+40=84
Exploring Operation: 44-40=4, Resulting Numbers: [21, 91, 4]
Generated Node #0,1: 95:[21, 91, 4] Operation: 44-40=4
Moving to Node #0,1
Current State: 95:[21, 91, 4], Operations: ['44-40=4']
Exploring Operation: 91+4=95, Resulting Numbers: [21, 95]
Generated Node #0,1,0: 95:[21, 95] Operation: 91+4=95
Exploring Operation: 21-4=17, Resulting Numbers: [91, 17]
Generated Node #0,1,1: 95:[91, 17] Operation: 21-4=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[21, 95], Operations: ['44-40=4', '91+4=95']
Exploring Operation: 21+95=116, Resulting Numbers: [116]
116,95 unequal: No Solution
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[91, 17], Operations: ['44-40=4', '21-4=17']
Exploring Operation: 91+17=108, Resulting Numbers: [108]
108,95 unequal: No Solution
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 95:[21, 91, 84], Operations: ['44+40=84']
Exploring Operation: 91-84=7, Resulting Numbers: [21, 7]
Generated Node #0,0,0: 95:[21, 7] Operation: 91-84=7
Exploring Operation: 84/21=4, Resulting Numbers: [91, 4]
Generated Node #0,0,1: 95:[91, 4] Operation: 84/21=4
Moving to Node #0,0,0
Current State: 95:[21, 7], Operations: ['44+40=84', '91-84=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[91, 4], Operations: ['44+40=84', '84/21=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[44, 40, 21, 91], Operations: []
Exploring Operation: 44+40=84, Resulting Numbers: [21, 91, 84]
Generated Node #0,0: 95:[21, 91, 84] Operation: 44+40=84
Moving to Node #0,0
Current State: 95:[21, 91, 84], Operations: ['44+40=84']
Exploring Operation: 84/21=4, Resulting Numbers: [91, 4]
Generated Node #0,0,1: 95:[91, 4] Operation: 84/21=4
Moving to Node #0,0,1
Current State: 95:[91, 4], Operations: ['44+40=84', '84/21=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
5,
63,
64,
16
] | 81 | [
"5*16=80",
"64-63=1",
"80+1=81"
] | Current State: 81:[5, 63, 64, 16], Operations: []
Exploring Operation: 5*16=80, Resulting Numbers: [63, 64, 80]
Generated Node #2: [63, 64, 80] from Operation: 5*16=80
Current State: 81:[63, 64, 80], Operations: ['5*16=80']
Exploring Operation: 64-63=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 64-63=1
Current State: 81:[80, 1], Operations: ['5*16=80', '64-63=1']
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[5, 63, 64, 16], Operations: []
Exploring Operation: 64+16=80, Resulting Numbers: [5, 63, 80]
Generated Node #0,0: 81:[5, 63, 80] Operation: 64+16=80
Exploring Operation: 63+16=79, Resulting Numbers: [5, 64, 79]
Generated Node #0,1: 81:[5, 64, 79] Operation: 63+16=79
Exploring Operation: 64-63=1, Resulting Numbers: [5, 16, 1]
Generated Node #0,2: 81:[5, 16, 1] Operation: 64-63=1
Moving to Node #0,2
Current State: 81:[5, 16, 1], Operations: ['64-63=1']
Exploring Operation: 16-5=11, Resulting Numbers: [1, 11]
Generated Node #0,2,0: 81:[1, 11] Operation: 16-5=11
Exploring Operation: 5+16=21, Resulting Numbers: [1, 21]
Generated Node #0,2,1: 81:[1, 21] Operation: 5+16=21
Exploring Operation: 5*16=80, Resulting Numbers: [1, 80]
Generated Node #0,2,2: 81:[1, 80] Operation: 5*16=80
Moving to Node #0,0
Current State: 81:[5, 63, 80], Operations: ['64+16=80']
Exploring Operation: 5+63=68, Resulting Numbers: [80, 68]
Generated Node #0,0,0: 81:[80, 68] Operation: 5+63=68
Exploring Operation: 5+80=85, Resulting Numbers: [63, 85]
Generated Node #0,0,1: 81:[63, 85] Operation: 5+80=85
Exploring Operation: 80-63=17, Resulting Numbers: [5, 17]
Generated Node #0,0,2: 81:[5, 17] Operation: 80-63=17
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[5, 17], Operations: ['64+16=80', '80-63=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[80, 68], Operations: ['64+16=80', '5+63=68']
Exploring Operation: 80*68=5440, Resulting Numbers: [5440]
5440,81 unequal: No Solution
Exploring Operation: 80-68=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 80+68=148, Resulting Numbers: [148]
148,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[63, 85], Operations: ['64+16=80', '5+80=85']
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 63+85=148, Resulting Numbers: [148]
148,81 unequal: No Solution
Exploring Operation: 63*85=5355, Resulting Numbers: [5355]
5355,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 81:[5, 64, 79], Operations: ['63+16=79']
Exploring Operation: 79-64=15, Resulting Numbers: [5, 15]
Generated Node #0,1,0: 81:[5, 15] Operation: 79-64=15
Exploring Operation: 5+64=69, Resulting Numbers: [79, 69]
Generated Node #0,1,1: 81:[79, 69] Operation: 5+64=69
Exploring Operation: 5+79=84, Resulting Numbers: [64, 84]
Generated Node #0,1,2: 81:[64, 84] Operation: 5+79=84
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[5, 15], Operations: ['63+16=79', '79-64=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,81 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,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,1,1
Current State: 81:[79, 69], Operations: ['63+16=79', '5+64=69']
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 79+69=148, Resulting Numbers: [148]
148,81 unequal: No Solution
Exploring Operation: 79*69=5451, Resulting Numbers: [5451]
5451,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,1,2
Current State: 81:[64, 84], Operations: ['63+16=79', '5+79=84']
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,81 unequal: No Solution
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,81 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 81:[1, 80], Operations: ['64-63=1', '5*16=80']
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[5, 63, 64, 16], Operations: []
Exploring Operation: 64-63=1, Resulting Numbers: [5, 16, 1]
Generated Node #0,2: 81:[5, 16, 1] Operation: 64-63=1
Moving to Node #0,2
Current State: 81:[5, 16, 1], Operations: ['64-63=1']
Exploring Operation: 5*16=80, Resulting Numbers: [1, 80]
Generated Node #0,2,2: 81:[1, 80] Operation: 5*16=80
Moving to Node #0,2,2
Current State: 81:[1, 80], Operations: ['64-63=1', '5*16=80']
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
14,
53,
8,
3
] | 15 | [
"53-14=39",
"8*3=24",
"39-24=15"
] | Current State: 15:[14, 53, 8, 3], Operations: []
Exploring Operation: 53-14=39, Resulting Numbers: [8, 3, 39]
Generated Node #2: [8, 3, 39] from Operation: 53-14=39
Current State: 15:[8, 3, 39], Operations: ['53-14=39']
Exploring Operation: 8*3=24, Resulting Numbers: [39, 24]
Generated Node #3: [39, 24] from Operation: 8*3=24
Current State: 15:[39, 24], Operations: ['53-14=39', '8*3=24']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[14, 53, 8, 3], Operations: []
Exploring Operation: 53-3=50, Resulting Numbers: [14, 8, 50]
Generated Node #0,0: 15:[14, 8, 50] Operation: 53-3=50
Exploring Operation: 53-14=39, Resulting Numbers: [8, 3, 39]
Generated Node #0,1: 15:[8, 3, 39] Operation: 53-14=39
Exploring Operation: 14-8=6, Resulting Numbers: [53, 3, 6]
Generated Node #0,2: 15:[53, 3, 6] Operation: 14-8=6
Exploring Operation: 53-8=45, Resulting Numbers: [14, 3, 45]
Generated Node #0,3: 15:[14, 3, 45] Operation: 53-8=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[8, 3, 39], Operations: ['53-14=39']
Exploring Operation: 39-3=36, Resulting Numbers: [8, 36]
Generated Node #0,1,0: 15:[8, 36] Operation: 39-3=36
Exploring Operation: 8-3=5, Resulting Numbers: [39, 5]
Generated Node #0,1,1: 15:[39, 5] Operation: 8-3=5
Exploring Operation: 39-8=31, Resulting Numbers: [3, 31]
Generated Node #0,1,2: 15:[3, 31] Operation: 39-8=31
Exploring Operation: 39/3=13, Resulting Numbers: [8, 13]
Generated Node #0,1,3: 15:[8, 13] Operation: 39/3=13
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 15:[8, 13], Operations: ['53-14=39', '39/3=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,15 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 15:[3, 31], Operations: ['53-14=39', '39-8=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,15 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[8, 36], Operations: ['53-14=39', '39-3=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,15 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[39, 5], Operations: ['53-14=39', '8-3=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[14, 3, 45], Operations: ['53-8=45']
Exploring Operation: 45/3=15, Resulting Numbers: [14, 15]
Generated Node #0,3,0: 15:[14, 15] Operation: 45/3=15
Exploring Operation: 45-3=42, Resulting Numbers: [14, 42]
Generated Node #0,3,1: 15:[14, 42] Operation: 45-3=42
Exploring Operation: 45-14=31, Resulting Numbers: [3, 31]
Generated Node #0,3,2: 15:[3, 31] Operation: 45-14=31
Exploring Operation: 14+3=17, Resulting Numbers: [45, 17]
Generated Node #0,3,3: 15:[45, 17] Operation: 14+3=17
Moving to Node #0,3,0
Current State: 15:[14, 15], Operations: ['53-8=45', '45/3=15']
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,15 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[3, 31], Operations: ['53-8=45', '45-14=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,15 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[14, 42], Operations: ['53-8=45', '45-3=42']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 14*42=588, Resulting Numbers: [588]
588,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[45, 17], Operations: ['53-8=45', '14+3=17']
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,15 unequal: No Solution
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[14, 8, 50], Operations: ['53-3=50']
Exploring Operation: 14-8=6, Resulting Numbers: [50, 6]
Generated Node #0,0,0: 15:[50, 6] Operation: 14-8=6
Exploring Operation: 14+8=22, Resulting Numbers: [50, 22]
Generated Node #0,0,1: 15:[50, 22] Operation: 14+8=22
Exploring Operation: 50-14=36, Resulting Numbers: [8, 36]
Generated Node #0,0,2: 15:[8, 36] Operation: 50-14=36
Exploring Operation: 50-8=42, Resulting Numbers: [14, 42]
Generated Node #0,0,3: 15:[14, 42] Operation: 50-8=42
Moving to Node #0,0,2
Current State: 15:[8, 36], Operations: ['53-3=50', '50-14=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[14, 42], Operations: ['53-3=50', '50-8=42']
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 14*42=588, Resulting Numbers: [588]
588,15 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[50, 6], Operations: ['53-3=50', '14-8=6']
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,15 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[50, 22], Operations: ['53-3=50', '14+8=22']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,15 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[53, 3, 6], Operations: ['14-8=6']
Exploring Operation: 6/3=2, Resulting Numbers: [53, 2]
Generated Node #0,2,0: 15:[53, 2] Operation: 6/3=2
Exploring Operation: 53-6=47, Resulting Numbers: [3, 47]
Generated Node #0,2,1: 15:[3, 47] Operation: 53-6=47
Exploring Operation: 6-3=3, Resulting Numbers: [53, 3]
Generated Node #0,2,2: 15:[53, 3] Operation: 6-3=3
Exploring Operation: 53-3=50, Resulting Numbers: [6, 50]
Generated Node #0,2,3: 15:[6, 50] Operation: 53-3=50
Moving to Node #0,2,1
Current State: 15:[3, 47], Operations: ['14-8=6', '53-6=47']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,15 unequal: No Solution
Moving to Node #0,2,3
Current State: 15:[6, 50], Operations: ['14-8=6', '53-3=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[53, 3], Operations: ['14-8=6', '6-3=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,15 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[53, 2], Operations: ['14-8=6', '6/3=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,15 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,15 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,15 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 |
[
30,
42,
69,
42
] | 98 | [
"30+69=99",
"42/42=1",
"99-1=98"
] | Current State: 98:[30, 42, 69, 42], Operations: []
Exploring Operation: 30+69=99, Resulting Numbers: [42, 42, 99]
Generated Node #2: [42, 42, 99] from Operation: 30+69=99
Current State: 98:[42, 42, 99], Operations: ['30+69=99']
Exploring Operation: 42/42=1, Resulting Numbers: [99, 1]
Generated Node #3: [99, 1] from Operation: 42/42=1
Current State: 98:[99, 1], Operations: ['30+69=99', '42/42=1']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[30, 42, 69, 42], Operations: []
Exploring Operation: 42-30=12, Resulting Numbers: [42, 69, 12]
Generated Node #0,0: 98:[42, 69, 12] Operation: 42-30=12
Exploring Operation: 30+69=99, Resulting Numbers: [42, 42, 99]
Generated Node #0,1: 98:[42, 42, 99] Operation: 30+69=99
Exploring Operation: 42-30=12, Resulting Numbers: [69, 42, 12]
Generated Node #0,2: 98:[69, 42, 12] Operation: 42-30=12
Exploring Operation: 69-30=39, Resulting Numbers: [42, 42, 39]
Generated Node #0,3: 98:[42, 42, 39] Operation: 69-30=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[42, 42, 99], Operations: ['30+69=99']
Exploring Operation: 42-42=0, Resulting Numbers: [99, 0]
Generated Node #0,1,0: 98:[99, 0] Operation: 42-42=0
Exploring Operation: 42/42=1, Resulting Numbers: [99, 1]
Generated Node #0,1,1: 98:[99, 1] Operation: 42/42=1
Exploring Operation: 99-42=57, Resulting Numbers: [42, 57]
Generated Node #0,1,2: 98:[42, 57] Operation: 99-42=57
Exploring Operation: 42+42=84, Resulting Numbers: [99, 84]
Generated Node #0,1,3: 98:[99, 84] Operation: 42+42=84
Moving to Node #0,1,1
Current State: 98:[99, 1], Operations: ['30+69=99', '42/42=1']
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,98 unequal: No Solution
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,98 unequal: No Solution
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[30, 42, 69, 42], Operations: []
Exploring Operation: 30+69=99, Resulting Numbers: [42, 42, 99]
Generated Node #0,1: 98:[42, 42, 99] Operation: 30+69=99
Moving to Node #0,1
Current State: 98:[42, 42, 99], Operations: ['30+69=99']
Exploring Operation: 42/42=1, Resulting Numbers: [99, 1]
Generated Node #0,1,1: 98:[99, 1] Operation: 42/42=1
Moving to Node #0,1,1
Current State: 98:[99, 1], Operations: ['30+69=99', '42/42=1']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
79,
21,
69,
73
] | 62 | [
"79-21=58",
"73-69=4",
"58+4=62"
] | Current State: 62:[79, 21, 69, 73], Operations: []
Exploring Operation: 79-21=58, Resulting Numbers: [69, 73, 58]
Generated Node #2: [69, 73, 58] from Operation: 79-21=58
Current State: 62:[69, 73, 58], Operations: ['79-21=58']
Exploring Operation: 73-69=4, Resulting Numbers: [58, 4]
Generated Node #3: [58, 4] from Operation: 73-69=4
Current State: 62:[58, 4], Operations: ['79-21=58', '73-69=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[79, 21, 69, 73], Operations: []
Exploring Operation: 79-21=58, Resulting Numbers: [69, 73, 58]
Generated Node #0,0: 62:[69, 73, 58] Operation: 79-21=58
Exploring Operation: 79-73=6, Resulting Numbers: [21, 69, 6]
Generated Node #0,1: 62:[21, 69, 6] Operation: 79-73=6
Moving to Node #0,1
Current State: 62:[21, 69, 6], Operations: ['79-73=6']
Exploring Operation: 21+6=27, Resulting Numbers: [69, 27]
Generated Node #0,1,0: 62:[69, 27] Operation: 21+6=27
Exploring Operation: 69-6=63, Resulting Numbers: [21, 63]
Generated Node #0,1,1: 62:[21, 63] Operation: 69-6=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[69, 27], Operations: ['79-73=6', '21+6=27']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 69+27=96, Resulting Numbers: [96]
96,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[21, 63], Operations: ['79-73=6', '69-6=63']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,62 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: 62:[69, 73, 58], Operations: ['79-21=58']
Exploring Operation: 69-58=11, Resulting Numbers: [73, 11]
Generated Node #0,0,0: 62:[73, 11] Operation: 69-58=11
Exploring Operation: 73-69=4, Resulting Numbers: [58, 4]
Generated Node #0,0,1: 62:[58, 4] Operation: 73-69=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[58, 4], Operations: ['79-21=58', '73-69=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[79, 21, 69, 73], Operations: []
Exploring Operation: 79-21=58, Resulting Numbers: [69, 73, 58]
Generated Node #0,0: 62:[69, 73, 58] Operation: 79-21=58
Moving to Node #0,0
Current State: 62:[69, 73, 58], Operations: ['79-21=58']
Exploring Operation: 73-69=4, Resulting Numbers: [58, 4]
Generated Node #0,0,1: 62:[58, 4] Operation: 73-69=4
Moving to Node #0,0,1
Current State: 62:[58, 4], Operations: ['79-21=58', '73-69=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
84,
73,
19,
29
] | 59 | [
"84-73=11",
"19+29=48",
"11+48=59"
] | Current State: 59:[84, 73, 19, 29], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [19, 29, 11]
Generated Node #2: [19, 29, 11] from Operation: 84-73=11
Current State: 59:[19, 29, 11], Operations: ['84-73=11']
Exploring Operation: 19+29=48, Resulting Numbers: [11, 48]
Generated Node #3: [11, 48] from Operation: 19+29=48
Current State: 59:[11, 48], Operations: ['84-73=11', '19+29=48']
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[84, 73, 19, 29], Operations: []
Exploring Operation: 84-19=65, Resulting Numbers: [73, 29, 65]
Generated Node #0,0: 59:[73, 29, 65] Operation: 84-19=65
Exploring Operation: 19+29=48, Resulting Numbers: [84, 73, 48]
Generated Node #0,1: 59:[84, 73, 48] Operation: 19+29=48
Exploring Operation: 84-29=55, Resulting Numbers: [73, 19, 55]
Generated Node #0,2: 59:[73, 19, 55] Operation: 84-29=55
Exploring Operation: 73-19=54, Resulting Numbers: [84, 29, 54]
Generated Node #0,3: 59:[84, 29, 54] Operation: 73-19=54
Exploring Operation: 73-29=44, Resulting Numbers: [84, 19, 44]
Generated Node #0,4: 59:[84, 19, 44] Operation: 73-29=44
Moving to Node #0,0
Current State: 59:[73, 29, 65], Operations: ['84-19=65']
Exploring Operation: 73-65=8, Resulting Numbers: [29, 8]
Generated Node #0,0,0: 59:[29, 8] Operation: 73-65=8
Exploring Operation: 73-29=44, Resulting Numbers: [65, 44]
Generated Node #0,0,1: 59:[65, 44] Operation: 73-29=44
Exploring Operation: 65-29=36, Resulting Numbers: [73, 36]
Generated Node #0,0,2: 59:[73, 36] Operation: 65-29=36
Exploring Operation: 29+65=94, Resulting Numbers: [73, 94]
Generated Node #0,0,3: 59:[73, 94] Operation: 29+65=94
Exploring Operation: 73+29=102, Resulting Numbers: [65, 102]
Generated Node #0,0,4: 59:[65, 102] Operation: 73+29=102
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[65, 44], Operations: ['84-19=65', '73-29=44']
Exploring Operation: 65+44=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 65*44=2860, Resulting Numbers: [2860]
2860,59 unequal: No Solution
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[73, 36], Operations: ['84-19=65', '65-29=36']
Exploring Operation: 73+36=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 73*36=2628, Resulting Numbers: [2628]
2628,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 59:[73, 94], Operations: ['84-19=65', '29+65=94']
Exploring Operation: 73*94=6862, Resulting Numbers: [6862]
6862,59 unequal: No Solution
Exploring Operation: 73+94=167, Resulting Numbers: [167]
167,59 unequal: No Solution
Exploring Operation: 94-73=21, Resulting Numbers: [21]
21,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 59:[65, 102], Operations: ['84-19=65', '73+29=102']
Exploring Operation: 65*102=6630, Resulting Numbers: [6630]
6630,59 unequal: No Solution
Exploring Operation: 102-65=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 65+102=167, Resulting Numbers: [167]
167,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[29, 8], Operations: ['84-19=65', '73-65=8']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 59:[84, 73, 48], Operations: ['19+29=48']
Exploring Operation: 84+48=132, Resulting Numbers: [73, 132]
Generated Node #0,1,0: 59:[73, 132] Operation: 84+48=132
Exploring Operation: 84-48=36, Resulting Numbers: [73, 36]
Generated Node #0,1,1: 59:[73, 36] Operation: 84-48=36
Exploring Operation: 73+48=121, Resulting Numbers: [84, 121]
Generated Node #0,1,2: 59:[84, 121] Operation: 73+48=121
Exploring Operation: 84-73=11, Resulting Numbers: [48, 11]
Generated Node #0,1,3: 59:[48, 11] Operation: 84-73=11
Exploring Operation: 73-48=25, Resulting Numbers: [84, 25]
Generated Node #0,1,4: 59:[84, 25] Operation: 73-48=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[73, 36], Operations: ['19+29=48', '84-48=36']
Exploring Operation: 73+36=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 73*36=2628, Resulting Numbers: [2628]
2628,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 59:[48, 11], Operations: ['19+29=48', '84-73=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[84, 73, 19, 29], Operations: []
Exploring Operation: 19+29=48, Resulting Numbers: [84, 73, 48]
Generated Node #0,1: 59:[84, 73, 48] Operation: 19+29=48
Moving to Node #0,1
Current State: 59:[84, 73, 48], Operations: ['19+29=48']
Exploring Operation: 84-73=11, Resulting Numbers: [48, 11]
Generated Node #0,1,3: 59:[48, 11] Operation: 84-73=11
Moving to Node #0,1,3
Current State: 59:[48, 11], Operations: ['19+29=48', '84-73=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
19,
73,
57,
10
] | 13 | [
"73-19=54",
"57+10=67",
"67-54=13"
] | Current State: 13:[19, 73, 57, 10], Operations: []
Exploring Operation: 73-19=54, Resulting Numbers: [57, 10, 54]
Generated Node #2: [57, 10, 54] from Operation: 73-19=54
Current State: 13:[57, 10, 54], Operations: ['73-19=54']
Exploring Operation: 57+10=67, Resulting Numbers: [54, 67]
Generated Node #3: [54, 67] from Operation: 57+10=67
Current State: 13:[54, 67], Operations: ['73-19=54', '57+10=67']
Exploring Operation: 67-54=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[19, 73, 57, 10], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [73, 10, 3]
Generated Node #0,0: 13:[73, 10, 3] Operation: 57/19=3
Exploring Operation: 73-57=16, Resulting Numbers: [19, 10, 16]
Generated Node #0,1: 13:[19, 10, 16] Operation: 73-57=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[19, 10, 16], Operations: ['73-57=16']
Exploring Operation: 19-16=3, Resulting Numbers: [10, 3]
Generated Node #0,1,0: 13:[10, 3] Operation: 19-16=3
Exploring Operation: 19-10=9, Resulting Numbers: [16, 9]
Generated Node #0,1,1: 13:[16, 9] Operation: 19-10=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[16, 9], Operations: ['73-57=16', '19-10=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[10, 3], Operations: ['73-57=16', '19-16=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[19, 73, 57, 10], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [19, 10, 16]
Generated Node #0,1: 13:[19, 10, 16] Operation: 73-57=16
Moving to Node #0,1
Current State: 13:[19, 10, 16], Operations: ['73-57=16']
Exploring Operation: 19-16=3, Resulting Numbers: [10, 3]
Generated Node #0,1,0: 13:[10, 3] Operation: 19-16=3
Moving to Node #0,1,0
Current State: 13:[10, 3], Operations: ['73-57=16', '19-16=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
58,
81,
68,
63
] | 83 | [
"58+68=126",
"126/63=2",
"81+2=83"
] | Current State: 83:[58, 81, 68, 63], Operations: []
Exploring Operation: 58+68=126, Resulting Numbers: [81, 63, 126]
Generated Node #2: [81, 63, 126] from Operation: 58+68=126
Current State: 83:[81, 63, 126], Operations: ['58+68=126']
Exploring Operation: 126/63=2, Resulting Numbers: [81, 2]
Generated Node #3: [81, 2] from Operation: 126/63=2
Current State: 83:[81, 2], Operations: ['58+68=126', '126/63=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[58, 81, 68, 63], Operations: []
Exploring Operation: 58+63=121, Resulting Numbers: [81, 68, 121]
Generated Node #0,0: 83:[81, 68, 121] Operation: 58+63=121
Exploring Operation: 58+68=126, Resulting Numbers: [81, 63, 126]
Generated Node #0,1: 83:[81, 63, 126] Operation: 58+68=126
Exploring Operation: 68+63=131, Resulting Numbers: [58, 81, 131]
Generated Node #0,2: 83:[58, 81, 131] Operation: 68+63=131
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[81, 68, 121], Operations: ['58+63=121']
Exploring Operation: 121-81=40, Resulting Numbers: [68, 40]
Generated Node #0,0,0: 83:[68, 40] Operation: 121-81=40
Exploring Operation: 121-68=53, Resulting Numbers: [81, 53]
Generated Node #0,0,1: 83:[81, 53] Operation: 121-68=53
Exploring Operation: 81+68=149, Resulting Numbers: [121, 149]
Generated Node #0,0,2: 83:[121, 149] Operation: 81+68=149
Moving to Node #0,0,1
Current State: 83:[81, 53], Operations: ['58+63=121', '121-68=53']
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 81*53=4293, Resulting Numbers: [4293]
4293,83 unequal: No Solution
Exploring Operation: 81+53=134, Resulting Numbers: [134]
134,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[68, 40], Operations: ['58+63=121', '121-81=40']
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 68+40=108, Resulting Numbers: [108]
108,83 unequal: No Solution
Exploring Operation: 68*40=2720, Resulting Numbers: [2720]
2720,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[121, 149], Operations: ['58+63=121', '81+68=149']
Exploring Operation: 121*149=18029, Resulting Numbers: [18029]
18029,83 unequal: No Solution
Exploring Operation: 149-121=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 121+149=270, Resulting Numbers: [270]
270,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[81, 63, 126], Operations: ['58+68=126']
Exploring Operation: 126-81=45, Resulting Numbers: [63, 45]
Generated Node #0,1,0: 83:[63, 45] Operation: 126-81=45
Exploring Operation: 126-63=63, Resulting Numbers: [81, 63]
Generated Node #0,1,1: 83:[81, 63] Operation: 126-63=63
Exploring Operation: 126/63=2, Resulting Numbers: [81, 2]
Generated Node #0,1,2: 83:[81, 2] Operation: 126/63=2
Moving to Node #0,1,1
Current State: 83:[81, 63], Operations: ['58+68=126', '126-63=63']
Exploring Operation: 81-63=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 81*63=5103, Resulting Numbers: [5103]
5103,83 unequal: No Solution
Exploring Operation: 81+63=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[63, 45], Operations: ['58+68=126', '126-81=45']
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Exploring Operation: 63*45=2835, Resulting Numbers: [2835]
2835,83 unequal: No Solution
Exploring Operation: 63+45=108, Resulting Numbers: [108]
108,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[81, 2], Operations: ['58+68=126', '126/63=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[58, 81, 68, 63], Operations: []
Exploring Operation: 58+68=126, Resulting Numbers: [81, 63, 126]
Generated Node #0,1: 83:[81, 63, 126] Operation: 58+68=126
Moving to Node #0,1
Current State: 83:[81, 63, 126], Operations: ['58+68=126']
Exploring Operation: 126/63=2, Resulting Numbers: [81, 2]
Generated Node #0,1,2: 83:[81, 2] Operation: 126/63=2
Moving to Node #0,1,2
Current State: 83:[81, 2], Operations: ['58+68=126', '126/63=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_3 | mult_heuristic |
[
23,
9,
91,
99
] | 40 | [
"23+9=32",
"99-91=8",
"32+8=40"
] | Current State: 40:[23, 9, 91, 99], Operations: []
Exploring Operation: 23+9=32, Resulting Numbers: [91, 99, 32]
Generated Node #2: [91, 99, 32] from Operation: 23+9=32
Current State: 40:[91, 99, 32], Operations: ['23+9=32']
Exploring Operation: 99-91=8, Resulting Numbers: [32, 8]
Generated Node #3: [32, 8] from Operation: 99-91=8
Current State: 40:[32, 8], Operations: ['23+9=32', '99-91=8']
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[23, 9, 91, 99], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [23, 9, 8]
Generated Node #0,0: 40:[23, 9, 8] Operation: 99-91=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[23, 9, 8], Operations: ['99-91=8']
Exploring Operation: 23-9=14, Resulting Numbers: [8, 14]
Generated Node #0,0,0: 40:[8, 14] Operation: 23-9=14
Moving to Node #0,0,0
Current State: 40:[8, 14], Operations: ['99-91=8', '23-9=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
5,
54,
61,
65
] | 88 | [
"54+61=115",
"115/5=23",
"65+23=88"
] | Current State: 88:[5, 54, 61, 65], Operations: []
Exploring Operation: 54+61=115, Resulting Numbers: [5, 65, 115]
Generated Node #2: [5, 65, 115] from Operation: 54+61=115
Current State: 88:[5, 65, 115], Operations: ['54+61=115']
Exploring Operation: 115/5=23, Resulting Numbers: [65, 23]
Generated Node #3: [65, 23] from Operation: 115/5=23
Current State: 88:[65, 23], Operations: ['54+61=115', '115/5=23']
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[5, 54, 61, 65], Operations: []
Exploring Operation: 65/5=13, Resulting Numbers: [54, 61, 13]
Generated Node #0,0: 88:[54, 61, 13] Operation: 65/5=13
Exploring Operation: 65-54=11, Resulting Numbers: [5, 61, 11]
Generated Node #0,1: 88:[5, 61, 11] Operation: 65-54=11
Exploring Operation: 61-54=7, Resulting Numbers: [5, 65, 7]
Generated Node #0,2: 88:[5, 65, 7] Operation: 61-54=7
Exploring Operation: 65-61=4, Resulting Numbers: [5, 54, 4]
Generated Node #0,3: 88:[5, 54, 4] Operation: 65-61=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[5, 54, 4], Operations: ['65-61=4']
Exploring Operation: 5-4=1, Resulting Numbers: [54, 1]
Generated Node #0,3,0: 88:[54, 1] Operation: 5-4=1
Exploring Operation: 54-4=50, Resulting Numbers: [5, 50]
Generated Node #0,3,1: 88:[5, 50] Operation: 54-4=50
Exploring Operation: 5+4=9, Resulting Numbers: [54, 9]
Generated Node #0,3,2: 88:[54, 9] Operation: 5+4=9
Exploring Operation: 54-5=49, Resulting Numbers: [4, 49]
Generated Node #0,3,3: 88:[4, 49] Operation: 54-5=49
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 88:[4, 49], Operations: ['65-61=4', '54-5=49']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,88 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 88:[5, 50], Operations: ['65-61=4', '54-4=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,88 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 88:[54, 1], Operations: ['65-61=4', '5-4=1']
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 88:[54, 9], Operations: ['65-61=4', '5+4=9']
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[5, 61, 11], Operations: ['65-54=11']
Exploring Operation: 61-11=50, Resulting Numbers: [5, 50]
Generated Node #0,1,0: 88:[5, 50] Operation: 61-11=50
Exploring Operation: 11-5=6, Resulting Numbers: [61, 6]
Generated Node #0,1,1: 88:[61, 6] Operation: 11-5=6
Exploring Operation: 61-5=56, Resulting Numbers: [11, 56]
Generated Node #0,1,2: 88:[11, 56] Operation: 61-5=56
Exploring Operation: 61+11=72, Resulting Numbers: [5, 72]
Generated Node #0,1,3: 88:[5, 72] Operation: 61+11=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[5, 50], Operations: ['65-54=11', '61-11=50']
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 88:[11, 56], Operations: ['65-54=11', '61-5=56']
Exploring Operation: 11+56=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 11*56=616, Resulting Numbers: [616]
616,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 88:[5, 72], Operations: ['65-54=11', '61+11=72']
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 5*72=360, Resulting Numbers: [360]
360,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[61, 6], Operations: ['65-54=11', '11-5=6']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 61*6=366, Resulting Numbers: [366]
366,88 unequal: No Solution
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[5, 65, 7], Operations: ['61-54=7']
Exploring Operation: 65-7=58, Resulting Numbers: [5, 58]
Generated Node #0,2,0: 88:[5, 58] Operation: 65-7=58
Exploring Operation: 65-5=60, Resulting Numbers: [7, 60]
Generated Node #0,2,1: 88:[7, 60] Operation: 65-5=60
Exploring Operation: 65/5=13, Resulting Numbers: [7, 13]
Generated Node #0,2,2: 88:[7, 13] Operation: 65/5=13
Exploring Operation: 65+7=72, Resulting Numbers: [5, 72]
Generated Node #0,2,3: 88:[5, 72] Operation: 65+7=72
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[7, 13], Operations: ['61-54=7', '65/5=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,88 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[5, 58], Operations: ['61-54=7', '65-7=58']
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,88 unequal: No Solution
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[7, 60], Operations: ['61-54=7', '65-5=60']
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,88 unequal: No Solution
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 88:[5, 72], Operations: ['61-54=7', '65+7=72']
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 5*72=360, Resulting Numbers: [360]
360,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[54, 61, 13], Operations: ['65/5=13']
Exploring Operation: 61-54=7, Resulting Numbers: [13, 7]
Generated Node #0,0,0: 88:[13, 7] Operation: 61-54=7
Exploring Operation: 61-13=48, Resulting Numbers: [54, 48]
Generated Node #0,0,1: 88:[54, 48] Operation: 61-13=48
Exploring Operation: 54-13=41, Resulting Numbers: [61, 41]
Generated Node #0,0,2: 88:[61, 41] Operation: 54-13=41
Exploring Operation: 61+13=74, Resulting Numbers: [54, 74]
Generated Node #0,0,3: 88:[54, 74] Operation: 61+13=74
Moving to Node #0,0,0
Current State: 88:[13, 7], Operations: ['65/5=13', '61-54=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[54, 48], Operations: ['65/5=13', '61-13=48']
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[61, 41], Operations: ['65/5=13', '54-13=41']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 61+41=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 61*41=2501, Resulting Numbers: [2501]
2501,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[54, 74], Operations: ['65/5=13', '61+13=74']
Exploring Operation: 54*74=3996, Resulting Numbers: [3996]
3996,88 unequal: No Solution
Exploring Operation: 54+74=128, Resulting Numbers: [128]
128,88 unequal: No Solution
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,88 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 |
[
10,
86,
11,
70
] | 46 | [
"10*11=110",
"86+70=156",
"156-110=46"
] | Current State: 46:[10, 86, 11, 70], Operations: []
Exploring Operation: 10*11=110, Resulting Numbers: [86, 70, 110]
Generated Node #2: [86, 70, 110] from Operation: 10*11=110
Current State: 46:[86, 70, 110], Operations: ['10*11=110']
Exploring Operation: 86+70=156, Resulting Numbers: [110, 156]
Generated Node #3: [110, 156] from Operation: 86+70=156
Current State: 46:[110, 156], Operations: ['10*11=110', '86+70=156']
Exploring Operation: 156-110=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[10, 86, 11, 70], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [10, 11, 16]
Generated Node #0,0: 46:[10, 11, 16] Operation: 86-70=16
Exploring Operation: 70/10=7, Resulting Numbers: [86, 11, 7]
Generated Node #0,1: 46:[86, 11, 7] Operation: 70/10=7
Exploring Operation: 86-11=75, Resulting Numbers: [10, 70, 75]
Generated Node #0,2: 46:[10, 70, 75] Operation: 86-11=75
Moving to Node #0,0
Current State: 46:[10, 11, 16], Operations: ['86-70=16']
Exploring Operation: 11-10=1, Resulting Numbers: [16, 1]
Generated Node #0,0,0: 46:[16, 1] Operation: 11-10=1
Exploring Operation: 10+11=21, Resulting Numbers: [16, 21]
Generated Node #0,0,1: 46:[16, 21] Operation: 10+11=21
Exploring Operation: 16-11=5, Resulting Numbers: [10, 5]
Generated Node #0,0,2: 46:[10, 5] Operation: 16-11=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[16, 1], Operations: ['86-70=16', '11-10=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[16, 21], Operations: ['86-70=16', '10+11=21']
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,46 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[10, 5], Operations: ['86-70=16', '16-11=5']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,46 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: 46:[86, 11, 7], Operations: ['70/10=7']
Exploring Operation: 11-7=4, Resulting Numbers: [86, 4]
Generated Node #0,1,0: 46:[86, 4] Operation: 11-7=4
Exploring Operation: 86-11=75, Resulting Numbers: [7, 75]
Generated Node #0,1,1: 46:[7, 75] Operation: 86-11=75
Exploring Operation: 86-7=79, Resulting Numbers: [11, 79]
Generated Node #0,1,2: 46:[11, 79] Operation: 86-7=79
Moving to Node #0,2
Current State: 46:[10, 70, 75], Operations: ['86-11=75']
Exploring Operation: 70/10=7, Resulting Numbers: [75, 7]
Generated Node #0,2,0: 46:[75, 7] Operation: 70/10=7
Exploring Operation: 70-10=60, Resulting Numbers: [75, 60]
Generated Node #0,2,1: 46:[75, 60] Operation: 70-10=60
Exploring Operation: 75-70=5, Resulting Numbers: [10, 5]
Generated Node #0,2,2: 46:[10, 5] Operation: 75-70=5
Moving to Node #0,2,2
Current State: 46:[10, 5], Operations: ['86-11=75', '75-70=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[7, 75], Operations: ['70/10=7', '86-11=75']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 7+75=82, Resulting Numbers: [82]
82,46 unequal: No Solution
Exploring Operation: 7*75=525, Resulting Numbers: [525]
525,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[75, 7], Operations: ['86-11=75', '70/10=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,46 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[11, 79], Operations: ['70/10=7', '86-7=79']
Exploring Operation: 11+79=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 11*79=869, Resulting Numbers: [869]
869,46 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[86, 4], Operations: ['70/10=7', '11-7=4']
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,46 unequal: No Solution
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[75, 60], Operations: ['86-11=75', '70-10=60']
Exploring Operation: 75*60=4500, Resulting Numbers: [4500]
4500,46 unequal: No Solution
Exploring Operation: 75+60=135, Resulting Numbers: [135]
135,46 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,46 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
37,
15,
70,
53
] | 76 | [
"37+53=90",
"90/15=6",
"70+6=76"
] | Current State: 76:[37, 15, 70, 53], Operations: []
Exploring Operation: 37+53=90, Resulting Numbers: [15, 70, 90]
Generated Node #2: [15, 70, 90] from Operation: 37+53=90
Current State: 76:[15, 70, 90], Operations: ['37+53=90']
Exploring Operation: 90/15=6, Resulting Numbers: [70, 6]
Generated Node #3: [70, 6] from Operation: 90/15=6
Current State: 76:[70, 6], Operations: ['37+53=90', '90/15=6']
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[37, 15, 70, 53], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [37, 15, 17]
Generated Node #0,0: 76:[37, 15, 17] Operation: 70-53=17
Exploring Operation: 53-15=38, Resulting Numbers: [37, 70, 38]
Generated Node #0,1: 76:[37, 70, 38] Operation: 53-15=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[37, 15, 17], Operations: ['70-53=17']
Exploring Operation: 37-15=22, Resulting Numbers: [17, 22]
Generated Node #0,0,0: 76:[17, 22] Operation: 37-15=22
Exploring Operation: 17-15=2, Resulting Numbers: [37, 2]
Generated Node #0,0,1: 76:[37, 2] Operation: 17-15=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[37, 2], Operations: ['70-53=17', '17-15=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[17, 22], Operations: ['70-53=17', '37-15=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[37, 70, 38], Operations: ['53-15=38']
Exploring Operation: 37+38=75, Resulting Numbers: [70, 75]
Generated Node #0,1,0: 76:[70, 75] Operation: 37+38=75
Exploring Operation: 70-37=33, Resulting Numbers: [38, 33]
Generated Node #0,1,1: 76:[38, 33] Operation: 70-37=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[38, 33], Operations: ['53-15=38', '70-37=33']
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,76 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[70, 75], Operations: ['53-15=38', '37+38=75']
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 70+75=145, Resulting Numbers: [145]
145,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
79,
2,
68,
43
] | 95 | [
"79+68=147",
"43+147=190",
"190/2=95"
] | Current State: 95:[79, 2, 68, 43], Operations: []
Exploring Operation: 79+68=147, Resulting Numbers: [2, 43, 147]
Generated Node #2: [2, 43, 147] from Operation: 79+68=147
Current State: 95:[2, 43, 147], Operations: ['79+68=147']
Exploring Operation: 43+147=190, Resulting Numbers: [2, 190]
Generated Node #3: [2, 190] from Operation: 43+147=190
Current State: 95:[2, 190], Operations: ['79+68=147', '43+147=190']
Exploring Operation: 190/2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[79, 2, 68, 43], Operations: []
Exploring Operation: 68-43=25, Resulting Numbers: [79, 2, 25]
Generated Node #0,0: 95:[79, 2, 25] Operation: 68-43=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[79, 2, 25], Operations: ['68-43=25']
Exploring Operation: 79+25=104, Resulting Numbers: [2, 104]
Generated Node #0,0,0: 95:[2, 104] Operation: 79+25=104
Moving to Node #0,0,0
Current State: 95:[2, 104], Operations: ['68-43=25', '79+25=104']
Exploring Operation: 104-2=102, Resulting Numbers: [102]
102,95 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 |
[
66,
67,
93,
60
] | 20 | [
"66+67=133",
"93+60=153",
"153-133=20"
] | Current State: 20:[66, 67, 93, 60], Operations: []
Exploring Operation: 66+67=133, Resulting Numbers: [93, 60, 133]
Generated Node #2: [93, 60, 133] from Operation: 66+67=133
Current State: 20:[93, 60, 133], Operations: ['66+67=133']
Exploring Operation: 93+60=153, Resulting Numbers: [133, 153]
Generated Node #3: [133, 153] from Operation: 93+60=153
Current State: 20:[133, 153], Operations: ['66+67=133', '93+60=153']
Exploring Operation: 153-133=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[66, 67, 93, 60], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [66, 60, 26]
Generated Node #0,0: 20:[66, 60, 26] Operation: 93-67=26
Moving to Node #0,0
Current State: 20:[66, 60, 26], Operations: ['93-67=26']
Exploring Operation: 66-60=6, Resulting Numbers: [26, 6]
Generated Node #0,0,0: 20:[26, 6] Operation: 66-60=6
Moving to Node #0,0,0
Current State: 20:[26, 6], Operations: ['93-67=26', '66-60=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[66, 67, 93, 60], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [66, 60, 26]
Generated Node #0,0: 20:[66, 60, 26] Operation: 93-67=26
Moving to Node #0,0
Current State: 20:[66, 60, 26], Operations: ['93-67=26']
Exploring Operation: 66-60=6, Resulting Numbers: [26, 6]
Generated Node #0,0,0: 20:[26, 6] Operation: 66-60=6
Moving to Node #0,0,0
Current State: 20:[26, 6], Operations: ['93-67=26', '66-60=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
65,
85,
20,
17
] | 23 | [
"85-65=20",
"20-17=3",
"20+3=23"
] | Current State: 23:[65, 85, 20, 17], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [20, 17, 20]
Generated Node #2: [20, 17, 20] from Operation: 85-65=20
Current State: 23:[20, 17, 20], Operations: ['85-65=20']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,23 equal: Goal Reached
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[65, 85, 20, 17], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [20, 17, 20]
Generated Node #0,0: 23:[20, 17, 20] Operation: 85-65=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[20, 17, 20], Operations: ['85-65=20']
Exploring Operation: 20+17=37, Resulting Numbers: [20, 37]
Generated Node #0,0,0: 23:[20, 37] Operation: 20+17=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[20, 37], Operations: ['85-65=20', '20+17=37']
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
45,
40,
2,
15
] | 85 | [
"45-40=5",
"2+15=17",
"5*17=85"
] | Current State: 85:[45, 40, 2, 15], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [2, 15, 5]
Generated Node #2: [2, 15, 5] from Operation: 45-40=5
Current State: 85:[2, 15, 5], Operations: ['45-40=5']
Exploring Operation: 2+15=17, Resulting Numbers: [5, 17]
Generated Node #3: [5, 17] from Operation: 2+15=17
Current State: 85:[5, 17], Operations: ['45-40=5', '2+15=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[45, 40, 2, 15], Operations: []
Exploring Operation: 45+40=85, Resulting Numbers: [2, 15, 85]
Generated Node #0,0: 85:[2, 15, 85] Operation: 45+40=85
Exploring Operation: 45-40=5, Resulting Numbers: [2, 15, 5]
Generated Node #0,1: 85:[2, 15, 5] Operation: 45-40=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[2, 15, 85], Operations: ['45+40=85']
Exploring Operation: 15-2=13, Resulting Numbers: [85, 13]
Generated Node #0,0,0: 85:[85, 13] Operation: 15-2=13
Exploring Operation: 2+15=17, Resulting Numbers: [85, 17]
Generated Node #0,0,1: 85:[85, 17] Operation: 2+15=17
Moving to Node #0,0,1
Current State: 85:[85, 17], Operations: ['45+40=85', '2+15=17']
Exploring Operation: 85+17=102, Resulting Numbers: [102]
102,85 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[85, 13], Operations: ['45+40=85', '15-2=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[2, 15, 5], Operations: ['45-40=5']
Exploring Operation: 2+15=17, Resulting Numbers: [5, 17]
Generated Node #0,1,0: 85:[5, 17] Operation: 2+15=17
Exploring Operation: 15-2=13, Resulting Numbers: [5, 13]
Generated Node #0,1,1: 85:[5, 13] Operation: 15-2=13
Moving to Node #0,1,0
Current State: 85:[5, 17], Operations: ['45-40=5', '2+15=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[45, 40, 2, 15], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [2, 15, 5]
Generated Node #0,1: 85:[2, 15, 5] Operation: 45-40=5
Moving to Node #0,1
Current State: 85:[2, 15, 5], Operations: ['45-40=5']
Exploring Operation: 2+15=17, Resulting Numbers: [5, 17]
Generated Node #0,1,0: 85:[5, 17] Operation: 2+15=17
Moving to Node #0,1,0
Current State: 85:[5, 17], Operations: ['45-40=5', '2+15=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
5,
1,
10,
81
] | 65 | [
"5+1=6",
"81-10=71",
"71-6=65"
] | Current State: 65:[5, 1, 10, 81], Operations: []
Exploring Operation: 5+1=6, Resulting Numbers: [10, 81, 6]
Generated Node #2: [10, 81, 6] from Operation: 5+1=6
Current State: 65:[10, 81, 6], Operations: ['5+1=6']
Exploring Operation: 81-10=71, Resulting Numbers: [6, 71]
Generated Node #3: [6, 71] from Operation: 81-10=71
Current State: 65:[6, 71], Operations: ['5+1=6', '81-10=71']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[5, 1, 10, 81], Operations: []
Exploring Operation: 81-10=71, Resulting Numbers: [5, 1, 71]
Generated Node #0,0: 65:[5, 1, 71] Operation: 81-10=71
Moving to Node #0,0
Current State: 65:[5, 1, 71], Operations: ['81-10=71']
Exploring Operation: 71-5=66, Resulting Numbers: [1, 66]
Generated Node #0,0,0: 65:[1, 66] Operation: 71-5=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[1, 66], Operations: ['81-10=71', '71-5=66']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[5, 1, 10, 81], Operations: []
Exploring Operation: 81-10=71, Resulting Numbers: [5, 1, 71]
Generated Node #0,0: 65:[5, 1, 71] Operation: 81-10=71
Moving to Node #0,0
Current State: 65:[5, 1, 71], Operations: ['81-10=71']
Exploring Operation: 71-5=66, Resulting Numbers: [1, 66]
Generated Node #0,0,0: 65:[1, 66] Operation: 71-5=66
Moving to Node #0,0,0
Current State: 65:[1, 66], Operations: ['81-10=71', '71-5=66']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
29,
25,
47,
17
] | 26 | [
"29-25=4",
"47-17=30",
"30-4=26"
] | Current State: 26:[29, 25, 47, 17], Operations: []
Exploring Operation: 29-25=4, Resulting Numbers: [47, 17, 4]
Generated Node #2: [47, 17, 4] from Operation: 29-25=4
Current State: 26:[47, 17, 4], Operations: ['29-25=4']
Exploring Operation: 47-17=30, Resulting Numbers: [4, 30]
Generated Node #3: [4, 30] from Operation: 47-17=30
Current State: 26:[4, 30], Operations: ['29-25=4', '47-17=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[29, 25, 47, 17], Operations: []
Exploring Operation: 47-17=30, Resulting Numbers: [29, 25, 30]
Generated Node #0,0: 26:[29, 25, 30] Operation: 47-17=30
Exploring Operation: 29-17=12, Resulting Numbers: [25, 47, 12]
Generated Node #0,1: 26:[25, 47, 12] Operation: 29-17=12
Exploring Operation: 47-25=22, Resulting Numbers: [29, 17, 22]
Generated Node #0,2: 26:[29, 17, 22] Operation: 47-25=22
Exploring Operation: 47-29=18, Resulting Numbers: [25, 17, 18]
Generated Node #0,3: 26:[25, 17, 18] Operation: 47-29=18
Exploring Operation: 29-25=4, Resulting Numbers: [47, 17, 4]
Generated Node #0,4: 26:[47, 17, 4] Operation: 29-25=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[29, 25, 30], Operations: ['47-17=30']
Exploring Operation: 30-25=5, Resulting Numbers: [29, 5]
Generated Node #0,0,0: 26:[29, 5] Operation: 30-25=5
Exploring Operation: 29-25=4, Resulting Numbers: [30, 4]
Generated Node #0,0,1: 26:[30, 4] Operation: 29-25=4
Exploring Operation: 30-29=1, Resulting Numbers: [25, 1]
Generated Node #0,0,2: 26:[25, 1] Operation: 30-29=1
Exploring Operation: 25+30=55, Resulting Numbers: [29, 55]
Generated Node #0,0,3: 26:[29, 55] Operation: 25+30=55
Exploring Operation: 29+25=54, Resulting Numbers: [30, 54]
Generated Node #0,0,4: 26:[30, 54] Operation: 29+25=54
Moving to Node #0,0,2
Current State: 26:[25, 1], Operations: ['47-17=30', '30-29=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[29, 25, 47, 17], Operations: []
Exploring Operation: 47-17=30, Resulting Numbers: [29, 25, 30]
Generated Node #0,0: 26:[29, 25, 30] Operation: 47-17=30
Moving to Node #0,0
Current State: 26:[29, 25, 30], Operations: ['47-17=30']
Exploring Operation: 30-29=1, Resulting Numbers: [25, 1]
Generated Node #0,0,2: 26:[25, 1] Operation: 30-29=1
Moving to Node #0,0,2
Current State: 26:[25, 1], Operations: ['47-17=30', '30-29=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
2,
64,
40,
22
] | 20 | [
"2*22=44",
"64-40=24",
"44-24=20"
] | Current State: 20:[2, 64, 40, 22], Operations: []
Exploring Operation: 2*22=44, Resulting Numbers: [64, 40, 44]
Generated Node #2: [64, 40, 44] from Operation: 2*22=44
Current State: 20:[64, 40, 44], Operations: ['2*22=44']
Exploring Operation: 64-40=24, Resulting Numbers: [44, 24]
Generated Node #3: [44, 24] from Operation: 64-40=24
Current State: 20:[44, 24], Operations: ['2*22=44', '64-40=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[2, 64, 40, 22], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [2, 22, 24]
Generated Node #0,0: 20:[2, 22, 24] Operation: 64-40=24
Exploring Operation: 64-22=42, Resulting Numbers: [2, 40, 42]
Generated Node #0,1: 20:[2, 40, 42] Operation: 64-22=42
Exploring Operation: 64/2=32, Resulting Numbers: [40, 22, 32]
Generated Node #0,2: 20:[40, 22, 32] Operation: 64/2=32
Moving to Node #0,0
Current State: 20:[2, 22, 24], Operations: ['64-40=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22, 22]
Generated Node #0,0,0: 20:[22, 22] Operation: 24-2=22
Exploring Operation: 24-22=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 20:[2, 2] Operation: 24-22=2
Exploring Operation: 22-2=20, Resulting Numbers: [24, 20]
Generated Node #0,0,2: 20:[24, 20] Operation: 22-2=20
Moving to Node #0,2
Current State: 20:[40, 22, 32], Operations: ['64/2=32']
Exploring Operation: 40-22=18, Resulting Numbers: [32, 18]
Generated Node #0,2,0: 20:[32, 18] Operation: 40-22=18
Exploring Operation: 32-22=10, Resulting Numbers: [40, 10]
Generated Node #0,2,1: 20:[40, 10] Operation: 32-22=10
Exploring Operation: 40-32=8, Resulting Numbers: [22, 8]
Generated Node #0,2,2: 20:[22, 8] Operation: 40-32=8
Moving to Node #0,1
Current State: 20:[2, 40, 42], Operations: ['64-22=42']
Exploring Operation: 42-40=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 20:[2, 2] Operation: 42-40=2
Exploring Operation: 40/2=20, Resulting Numbers: [42, 20]
Generated Node #0,1,1: 20:[42, 20] Operation: 40/2=20
Exploring Operation: 42/2=21, Resulting Numbers: [40, 21]
Generated Node #0,1,2: 20:[40, 21] Operation: 42/2=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[2, 2], Operations: ['64-22=42', '42-40=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[40, 21], Operations: ['64-22=42', '42/2=21']
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 40*21=840, Resulting Numbers: [840]
840,20 unequal: No Solution
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[42, 20], Operations: ['64-22=42', '40/2=20']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,20 unequal: No Solution
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,20 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: 20:[2, 2], Operations: ['64-40=24', '24-22=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[24, 20], Operations: ['64-40=24', '22-2=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,20 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[22, 22], Operations: ['64-40=24', '24-2=22']
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[22, 8], Operations: ['64/2=32', '40-32=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[32, 18], Operations: ['64/2=32', '40-22=18']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[40, 10], Operations: ['64/2=32', '32-22=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,20 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
47,
51,
23,
94
] | 37 | [
"94/47=2",
"51+23=74",
"74/2=37"
] | Current State: 37:[47, 51, 23, 94], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [51, 23, 2]
Generated Node #2: [51, 23, 2] from Operation: 94/47=2
Current State: 37:[51, 23, 2], Operations: ['94/47=2']
Exploring Operation: 51+23=74, Resulting Numbers: [2, 74]
Generated Node #3: [2, 74] from Operation: 51+23=74
Current State: 37:[2, 74], Operations: ['94/47=2', '51+23=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[47, 51, 23, 94], Operations: []
Exploring Operation: 94-47=47, Resulting Numbers: [51, 23, 47]
Generated Node #0,0: 37:[51, 23, 47] Operation: 94-47=47
Exploring Operation: 94-51=43, Resulting Numbers: [47, 23, 43]
Generated Node #0,1: 37:[47, 23, 43] Operation: 94-51=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[47, 23, 43], Operations: ['94-51=43']
Exploring Operation: 47-23=24, Resulting Numbers: [43, 24]
Generated Node #0,1,0: 37:[43, 24] Operation: 47-23=24
Exploring Operation: 43-23=20, Resulting Numbers: [47, 20]
Generated Node #0,1,1: 37:[47, 20] Operation: 43-23=20
Moving to Node #0,1,0
Current State: 37:[43, 24], Operations: ['94-51=43', '47-23=24']
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 43+24=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[47, 20], Operations: ['94-51=43', '43-23=20']
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[51, 23, 47], Operations: ['94-47=47']
Exploring Operation: 51-23=28, Resulting Numbers: [47, 28]
Generated Node #0,0,0: 37:[47, 28] Operation: 51-23=28
Exploring Operation: 47-23=24, Resulting Numbers: [51, 24]
Generated Node #0,0,1: 37:[51, 24] Operation: 47-23=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[47, 28], Operations: ['94-47=47', '51-23=28']
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[51, 24], Operations: ['94-47=47', '47-23=24']
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 51+24=75, Resulting Numbers: [75]
75,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
77,
9,
43,
8
] | 10 | [
"77+9=86",
"86/43=2",
"8+2=10"
] | Current State: 10:[77, 9, 43, 8], Operations: []
Exploring Operation: 77+9=86, Resulting Numbers: [43, 8, 86]
Generated Node #2: [43, 8, 86] from Operation: 77+9=86
Current State: 10:[43, 8, 86], Operations: ['77+9=86']
Exploring Operation: 86/43=2, Resulting Numbers: [8, 2]
Generated Node #3: [8, 2] from Operation: 86/43=2
Current State: 10:[8, 2], Operations: ['77+9=86', '86/43=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[77, 9, 43, 8], Operations: []
Exploring Operation: 77-43=34, Resulting Numbers: [9, 8, 34]
Generated Node #0,0: 10:[9, 8, 34] Operation: 77-43=34
Moving to Node #0,0
Current State: 10:[9, 8, 34], Operations: ['77-43=34']
Exploring Operation: 34-9=25, Resulting Numbers: [8, 25]
Generated Node #0,0,0: 10:[8, 25] Operation: 34-9=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[8, 25], Operations: ['77-43=34', '34-9=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,10 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 |
[
32,
24,
62,
93
] | 39 | [
"32-24=8",
"93-62=31",
"8+31=39"
] | Current State: 39:[32, 24, 62, 93], Operations: []
Exploring Operation: 32-24=8, Resulting Numbers: [62, 93, 8]
Generated Node #2: [62, 93, 8] from Operation: 32-24=8
Current State: 39:[62, 93, 8], Operations: ['32-24=8']
Exploring Operation: 93-62=31, Resulting Numbers: [8, 31]
Generated Node #3: [8, 31] from Operation: 93-62=31
Current State: 39:[8, 31], Operations: ['32-24=8', '93-62=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[32, 24, 62, 93], Operations: []
Exploring Operation: 93-24=69, Resulting Numbers: [32, 62, 69]
Generated Node #0,0: 39:[32, 62, 69] Operation: 93-24=69
Exploring Operation: 93-32=61, Resulting Numbers: [24, 62, 61]
Generated Node #0,1: 39:[24, 62, 61] Operation: 93-32=61
Exploring Operation: 93-62=31, Resulting Numbers: [32, 24, 31]
Generated Node #0,2: 39:[32, 24, 31] Operation: 93-62=31
Exploring Operation: 62-24=38, Resulting Numbers: [32, 93, 38]
Generated Node #0,3: 39:[32, 93, 38] Operation: 62-24=38
Exploring Operation: 62-32=30, Resulting Numbers: [24, 93, 30]
Generated Node #0,4: 39:[24, 93, 30] Operation: 62-32=30
Moving to Node #0,2
Current State: 39:[32, 24, 31], Operations: ['93-62=31']
Exploring Operation: 32-31=1, Resulting Numbers: [24, 1]
Generated Node #0,2,0: 39:[24, 1] Operation: 32-31=1
Exploring Operation: 32+24=56, Resulting Numbers: [31, 56]
Generated Node #0,2,1: 39:[31, 56] Operation: 32+24=56
Exploring Operation: 24+31=55, Resulting Numbers: [32, 55]
Generated Node #0,2,2: 39:[32, 55] Operation: 24+31=55
Exploring Operation: 31-24=7, Resulting Numbers: [32, 7]
Generated Node #0,2,3: 39:[32, 7] Operation: 31-24=7
Exploring Operation: 32-24=8, Resulting Numbers: [31, 8]
Generated Node #0,2,4: 39:[31, 8] Operation: 32-24=8
Moving to Node #0,1
Current State: 39:[24, 62, 61], Operations: ['93-32=61']
Exploring Operation: 61-24=37, Resulting Numbers: [62, 37]
Generated Node #0,1,0: 39:[62, 37] Operation: 61-24=37
Exploring Operation: 24+61=85, Resulting Numbers: [62, 85]
Generated Node #0,1,1: 39:[62, 85] Operation: 24+61=85
Exploring Operation: 24+62=86, Resulting Numbers: [61, 86]
Generated Node #0,1,2: 39:[61, 86] Operation: 24+62=86
Exploring Operation: 62-61=1, Resulting Numbers: [24, 1]
Generated Node #0,1,3: 39:[24, 1] Operation: 62-61=1
Exploring Operation: 62-24=38, Resulting Numbers: [61, 38]
Generated Node #0,1,4: 39:[61, 38] Operation: 62-24=38
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[24, 1], Operations: ['93-32=61', '62-61=1']
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,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:[61, 38], Operations: ['93-32=61', '62-24=38']
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,39 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,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:[62, 37], Operations: ['93-32=61', '61-24=37']
Exploring Operation: 62*37=2294, Resulting Numbers: [2294]
2294,39 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 62+37=99, Resulting Numbers: [99]
99,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:[62, 85], Operations: ['93-32=61', '24+61=85']
Exploring Operation: 62*85=5270, Resulting Numbers: [5270]
5270,39 unequal: No Solution
Exploring Operation: 62+85=147, Resulting Numbers: [147]
147,39 unequal: No Solution
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,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,2
Current State: 39:[61, 86], Operations: ['93-32=61', '24+62=86']
Exploring Operation: 61*86=5246, Resulting Numbers: [5246]
5246,39 unequal: No Solution
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 61+86=147, Resulting Numbers: [147]
147,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:[32, 62, 69], Operations: ['93-24=69']
Exploring Operation: 62-32=30, Resulting Numbers: [69, 30]
Generated Node #0,0,0: 39:[69, 30] Operation: 62-32=30
Exploring Operation: 32+62=94, Resulting Numbers: [69, 94]
Generated Node #0,0,1: 39:[69, 94] Operation: 32+62=94
Exploring Operation: 69-32=37, Resulting Numbers: [62, 37]
Generated Node #0,0,2: 39:[62, 37] Operation: 69-32=37
Exploring Operation: 69-62=7, Resulting Numbers: [32, 7]
Generated Node #0,0,3: 39:[32, 7] Operation: 69-62=7
Exploring Operation: 32+69=101, Resulting Numbers: [62, 101]
Generated Node #0,0,4: 39:[62, 101] Operation: 32+69=101
Moving to Node #0,3
Current State: 39:[32, 93, 38], Operations: ['62-24=38']
Exploring Operation: 38-32=6, Resulting Numbers: [93, 6]
Generated Node #0,3,0: 39:[93, 6] Operation: 38-32=6
Exploring Operation: 32+93=125, Resulting Numbers: [38, 125]
Generated Node #0,3,1: 39:[38, 125] Operation: 32+93=125
Exploring Operation: 32+38=70, Resulting Numbers: [93, 70]
Generated Node #0,3,2: 39:[93, 70] Operation: 32+38=70
Exploring Operation: 93-32=61, Resulting Numbers: [38, 61]
Generated Node #0,3,3: 39:[38, 61] Operation: 93-32=61
Exploring Operation: 93-38=55, Resulting Numbers: [32, 55]
Generated Node #0,3,4: 39:[32, 55] Operation: 93-38=55
Moving to Node #0,4
Current State: 39:[24, 93, 30], Operations: ['62-32=30']
Exploring Operation: 93-30=63, Resulting Numbers: [24, 63]
Generated Node #0,4,0: 39:[24, 63] Operation: 93-30=63
Exploring Operation: 93-24=69, Resulting Numbers: [30, 69]
Generated Node #0,4,1: 39:[30, 69] Operation: 93-24=69
Exploring Operation: 24+30=54, Resulting Numbers: [93, 54]
Generated Node #0,4,2: 39:[93, 54] Operation: 24+30=54
Exploring Operation: 30-24=6, Resulting Numbers: [93, 6]
Generated Node #0,4,3: 39:[93, 6] Operation: 30-24=6
Exploring Operation: 24+93=117, Resulting Numbers: [30, 117]
Generated Node #0,4,4: 39:[30, 117] Operation: 24+93=117
Moving to Node #0,2,3
Current State: 39:[32, 7], Operations: ['93-62=31', '31-24=7']
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,39 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[32, 24, 62, 93], Operations: []
Exploring Operation: 93-62=31, Resulting Numbers: [32, 24, 31]
Generated Node #0,2: 39:[32, 24, 31] Operation: 93-62=31
Moving to Node #0,2
Current State: 39:[32, 24, 31], Operations: ['93-62=31']
Exploring Operation: 31-24=7, Resulting Numbers: [32, 7]
Generated Node #0,2,3: 39:[32, 7] Operation: 31-24=7
Moving to Node #0,2,3
Current State: 39:[32, 7], Operations: ['93-62=31', '31-24=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.954861 | hs_5 | mult_heuristic |
[
78,
8,
59,
3
] | 93 | [
"78/3=26",
"8+59=67",
"26+67=93"
] | Current State: 93:[78, 8, 59, 3], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [8, 59, 26]
Generated Node #2: [8, 59, 26] from Operation: 78/3=26
Current State: 93:[8, 59, 26], Operations: ['78/3=26']
Exploring Operation: 8+59=67, Resulting Numbers: [26, 67]
Generated Node #3: [26, 67] from Operation: 8+59=67
Current State: 93:[26, 67], Operations: ['78/3=26', '8+59=67']
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[78, 8, 59, 3], Operations: []
Exploring Operation: 78+8=86, Resulting Numbers: [59, 3, 86]
Generated Node #0,0: 93:[59, 3, 86] Operation: 78+8=86
Exploring Operation: 59-8=51, Resulting Numbers: [78, 3, 51]
Generated Node #0,1: 93:[78, 3, 51] Operation: 59-8=51
Exploring Operation: 78-59=19, Resulting Numbers: [8, 3, 19]
Generated Node #0,2: 93:[8, 3, 19] Operation: 78-59=19
Moving to Node #0,2
Current State: 93:[8, 3, 19], Operations: ['78-59=19']
Exploring Operation: 8+19=27, Resulting Numbers: [3, 27]
Generated Node #0,2,0: 93:[3, 27] Operation: 8+19=27
Exploring Operation: 19-8=11, Resulting Numbers: [3, 11]
Generated Node #0,2,1: 93:[3, 11] Operation: 19-8=11
Exploring Operation: 8-3=5, Resulting Numbers: [19, 5]
Generated Node #0,2,2: 93:[19, 5] Operation: 8-3=5
Moving to Node #0,0
Current State: 93:[59, 3, 86], Operations: ['78+8=86']
Exploring Operation: 3+86=89, Resulting Numbers: [59, 89]
Generated Node #0,0,0: 93:[59, 89] Operation: 3+86=89
Exploring Operation: 59-3=56, Resulting Numbers: [86, 56]
Generated Node #0,0,1: 93:[86, 56] Operation: 59-3=56
Exploring Operation: 86-59=27, Resulting Numbers: [3, 27]
Generated Node #0,0,2: 93:[3, 27] Operation: 86-59=27
Moving to Node #0,1
Current State: 93:[78, 3, 51], Operations: ['59-8=51']
Exploring Operation: 78-51=27, Resulting Numbers: [3, 27]
Generated Node #0,1,0: 93:[3, 27] Operation: 78-51=27
Exploring Operation: 51/3=17, Resulting Numbers: [78, 17]
Generated Node #0,1,1: 93:[78, 17] Operation: 51/3=17
Exploring Operation: 78/3=26, Resulting Numbers: [51, 26]
Generated Node #0,1,2: 93:[51, 26] Operation: 78/3=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[3, 27], Operations: ['59-8=51', '78-51=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[51, 26], Operations: ['59-8=51', '78/3=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,93 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[78, 17], Operations: ['59-8=51', '51/3=17']
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,93 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,93 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: 93:[3, 27], Operations: ['78-59=19', '8+19=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[3, 27], Operations: ['78+8=86', '86-59=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[3, 11], Operations: ['78-59=19', '19-8=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[19, 5], Operations: ['78-59=19', '8-3=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[86, 56], Operations: ['78+8=86', '59-3=56']
Exploring Operation: 86+56=142, Resulting Numbers: [142]
142,93 unequal: No Solution
Exploring Operation: 86-56=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 86*56=4816, Resulting Numbers: [4816]
4816,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[59, 89], Operations: ['78+8=86', '3+86=89']
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 59*89=5251, Resulting Numbers: [5251]
5251,93 unequal: No Solution
Exploring Operation: 59+89=148, Resulting Numbers: [148]
148,93 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
11,
16,
4,
2
] | 34 | [
"11*2=22",
"16-4=12",
"22+12=34"
] | Current State: 34:[11, 16, 4, 2], Operations: []
Exploring Operation: 11*2=22, Resulting Numbers: [16, 4, 22]
Generated Node #2: [16, 4, 22] from Operation: 11*2=22
Current State: 34:[16, 4, 22], Operations: ['11*2=22']
Exploring Operation: 16-4=12, Resulting Numbers: [22, 12]
Generated Node #3: [22, 12] from Operation: 16-4=12
Current State: 34:[22, 12], Operations: ['11*2=22', '16-4=12']
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[11, 16, 4, 2], Operations: []
Exploring Operation: 11+2=13, Resulting Numbers: [16, 4, 13]
Generated Node #0,0: 34:[16, 4, 13] Operation: 11+2=13
Exploring Operation: 4-2=2, Resulting Numbers: [11, 16, 2]
Generated Node #0,1: 34:[11, 16, 2] Operation: 4-2=2
Exploring Operation: 11-4=7, Resulting Numbers: [16, 2, 7]
Generated Node #0,2: 34:[16, 2, 7] Operation: 11-4=7
Exploring Operation: 11+4=15, Resulting Numbers: [16, 2, 15]
Generated Node #0,3: 34:[16, 2, 15] Operation: 11+4=15
Exploring Operation: 16-11=5, Resulting Numbers: [4, 2, 5]
Generated Node #0,4: 34:[4, 2, 5] Operation: 16-11=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[16, 2, 15], Operations: ['11+4=15']
Exploring Operation: 16+15=31, Resulting Numbers: [2, 31]
Generated Node #0,3,0: 34:[2, 31] Operation: 16+15=31
Exploring Operation: 16*2=32, Resulting Numbers: [15, 32]
Generated Node #0,3,1: 34:[15, 32] Operation: 16*2=32
Exploring Operation: 2+15=17, Resulting Numbers: [16, 17]
Generated Node #0,3,2: 34:[16, 17] Operation: 2+15=17
Exploring Operation: 16-15=1, Resulting Numbers: [2, 1]
Generated Node #0,3,3: 34:[2, 1] Operation: 16-15=1
Exploring Operation: 16+2=18, Resulting Numbers: [15, 18]
Generated Node #0,3,4: 34:[15, 18] Operation: 16+2=18
Moving to Node #0,3,2
Current State: 34:[16, 17], Operations: ['11+4=15', '2+15=17']
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,34 unequal: No Solution
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[2, 1], Operations: ['11+4=15', '16-15=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[2, 31], Operations: ['11+4=15', '16+15=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Moving to Node #0,3,4
Current State: 34:[15, 18], Operations: ['11+4=15', '16+2=18']
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,34 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[15, 32], Operations: ['11+4=15', '16*2=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,34 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[4, 2, 5], Operations: ['16-11=5']
Exploring Operation: 5-4=1, Resulting Numbers: [2, 1]
Generated Node #0,4,0: 34:[2, 1] Operation: 5-4=1
Exploring Operation: 4-2=2, Resulting Numbers: [5, 2]
Generated Node #0,4,1: 34:[5, 2] Operation: 4-2=2
Exploring Operation: 5-2=3, Resulting Numbers: [4, 3]
Generated Node #0,4,2: 34:[4, 3] Operation: 5-2=3
Exploring Operation: 4/2=2, Resulting Numbers: [5, 2]
Generated Node #0,4,3: 34:[5, 2] Operation: 4/2=2
Exploring Operation: 4*5=20, Resulting Numbers: [2, 20]
Generated Node #0,4,4: 34:[2, 20] Operation: 4*5=20
Moving to Node #0,4,0
Current State: 34:[2, 1], Operations: ['16-11=5', '5-4=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Moving to Node #0,4,2
Current State: 34:[4, 3], Operations: ['16-11=5', '5-2=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Moving to Node #0,4,4
Current State: 34:[2, 20], Operations: ['16-11=5', '4*5=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Moving to Node #0,4,1
Current State: 34:[5, 2], Operations: ['16-11=5', '4-2=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Moving to Node #0,4,3
Current State: 34:[5, 2], Operations: ['16-11=5', '4/2=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[16, 2, 7], Operations: ['11-4=7']
Exploring Operation: 7-2=5, Resulting Numbers: [16, 5]
Generated Node #0,2,0: 34:[16, 5] Operation: 7-2=5
Exploring Operation: 16+7=23, Resulting Numbers: [2, 23]
Generated Node #0,2,1: 34:[2, 23] Operation: 16+7=23
Exploring Operation: 2*7=14, Resulting Numbers: [16, 14]
Generated Node #0,2,2: 34:[16, 14] Operation: 2*7=14
Exploring Operation: 16*2=32, Resulting Numbers: [7, 32]
Generated Node #0,2,3: 34:[7, 32] Operation: 16*2=32
Exploring Operation: 16+2=18, Resulting Numbers: [7, 18]
Generated Node #0,2,4: 34:[7, 18] Operation: 16+2=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[16, 5], Operations: ['11-4=7', '7-2=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,34 unequal: No Solution
No 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: 34:[16, 14], Operations: ['11-4=7', '2*7=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,34 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,34 unequal: No Solution
No 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: 34:[2, 23], Operations: ['11-4=7', '16+7=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,34 unequal: No Solution
No 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: 34:[7, 18], Operations: ['11-4=7', '16+2=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,34 unequal: No Solution
No 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: 34:[7, 32], Operations: ['11-4=7', '16*2=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,34 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: 34:[16, 4, 13], Operations: ['11+2=13']
Exploring Operation: 16/4=4, Resulting Numbers: [13, 4]
Generated Node #0,0,0: 34:[13, 4] Operation: 16/4=4
Exploring Operation: 4+13=17, Resulting Numbers: [16, 17]
Generated Node #0,0,1: 34:[16, 17] Operation: 4+13=17
Exploring Operation: 16-13=3, Resulting Numbers: [4, 3]
Generated Node #0,0,2: 34:[4, 3] Operation: 16-13=3
Exploring Operation: 16+13=29, Resulting Numbers: [4, 29]
Generated Node #0,0,3: 34:[4, 29] Operation: 16+13=29
Exploring Operation: 16+4=20, Resulting Numbers: [13, 20]
Generated Node #0,0,4: 34:[13, 20] Operation: 16+4=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[16, 17], Operations: ['11+2=13', '4+13=17']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,34 unequal: No Solution
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,34 unequal: No Solution
No 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: 34:[4, 3], Operations: ['11+2=13', '16-13=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,34 unequal: No Solution
No 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: 34:[13, 4], Operations: ['11+2=13', '16/4=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,34 unequal: No Solution
No 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: 34:[4, 29], Operations: ['11+2=13', '16+13=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,34 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,34 unequal: No Solution
No 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: 34:[13, 20], Operations: ['11+2=13', '16+4=20']
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,34 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,34 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: 34:[11, 16, 2], Operations: ['4-2=2']
Exploring Operation: 11+16=27, Resulting Numbers: [2, 27]
Generated Node #0,1,0: 34:[2, 27] Operation: 11+16=27
Exploring Operation: 16-11=5, Resulting Numbers: [2, 5]
Generated Node #0,1,1: 34:[2, 5] Operation: 16-11=5
Exploring Operation: 11*2=22, Resulting Numbers: [16, 22]
Generated Node #0,1,2: 34:[16, 22] Operation: 11*2=22
Exploring Operation: 16+2=18, Resulting Numbers: [11, 18]
Generated Node #0,1,3: 34:[11, 18] Operation: 16+2=18
Exploring Operation: 11+2=13, Resulting Numbers: [16, 13]
Generated Node #0,1,4: 34:[16, 13] Operation: 11+2=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[2, 5], Operations: ['4-2=2', '16-11=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,34 unequal: No Solution
No 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: 34:[16, 13], Operations: ['4-2=2', '11+2=13']
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,34 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,34 unequal: No Solution
No 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: 34:[16, 22], Operations: ['4-2=2', '11*2=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,34 unequal: No Solution
No 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: 34:[2, 27], Operations: ['4-2=2', '11+16=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,34 unequal: No Solution
No 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: 34:[11, 18], Operations: ['4-2=2', '16+2=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,34 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,34 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 |
[
60,
15,
76,
19
] | 41 | [
"60-15=45",
"76/19=4",
"45-4=41"
] | Current State: 41:[60, 15, 76, 19], Operations: []
Exploring Operation: 60-15=45, Resulting Numbers: [76, 19, 45]
Generated Node #2: [76, 19, 45] from Operation: 60-15=45
Current State: 41:[76, 19, 45], Operations: ['60-15=45']
Exploring Operation: 76/19=4, Resulting Numbers: [45, 4]
Generated Node #3: [45, 4] from Operation: 76/19=4
Current State: 41:[45, 4], Operations: ['60-15=45', '76/19=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[60, 15, 76, 19], Operations: []
Exploring Operation: 76-15=61, Resulting Numbers: [60, 19, 61]
Generated Node #0,0: 41:[60, 19, 61] Operation: 76-15=61
Exploring Operation: 60-15=45, Resulting Numbers: [76, 19, 45]
Generated Node #0,1: 41:[76, 19, 45] Operation: 60-15=45
Exploring Operation: 15+19=34, Resulting Numbers: [60, 76, 34]
Generated Node #0,2: 41:[60, 76, 34] Operation: 15+19=34
Exploring Operation: 60-19=41, Resulting Numbers: [15, 76, 41]
Generated Node #0,3: 41:[15, 76, 41] Operation: 60-19=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[60, 19, 61], Operations: ['76-15=61']
Exploring Operation: 60-19=41, Resulting Numbers: [61, 41]
Generated Node #0,0,0: 41:[61, 41] Operation: 60-19=41
Exploring Operation: 61-19=42, Resulting Numbers: [60, 42]
Generated Node #0,0,1: 41:[60, 42] Operation: 61-19=42
Exploring Operation: 60+19=79, Resulting Numbers: [61, 79]
Generated Node #0,0,2: 41:[61, 79] Operation: 60+19=79
Exploring Operation: 19+61=80, Resulting Numbers: [60, 80]
Generated Node #0,0,3: 41:[60, 80] Operation: 19+61=80
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[61, 41], Operations: ['76-15=61', '60-19=41']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 61+41=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 61*41=2501, Resulting Numbers: [2501]
2501,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,1
Current State: 41:[60, 42], Operations: ['76-15=61', '61-19=42']
Exploring Operation: 60+42=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 60*42=2520, Resulting Numbers: [2520]
2520,41 unequal: No Solution
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,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:[61, 79], Operations: ['76-15=61', '60+19=79']
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 61+79=140, Resulting Numbers: [140]
140,41 unequal: No Solution
Exploring Operation: 61*79=4819, Resulting Numbers: [4819]
4819,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:[60, 80], Operations: ['76-15=61', '19+61=80']
Exploring Operation: 60+80=140, Resulting Numbers: [140]
140,41 unequal: No Solution
Exploring Operation: 60*80=4800, Resulting Numbers: [4800]
4800,41 unequal: No Solution
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,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:[76, 19, 45], Operations: ['60-15=45']
Exploring Operation: 76/19=4, Resulting Numbers: [45, 4]
Generated Node #0,1,0: 41:[45, 4] Operation: 76/19=4
Exploring Operation: 45-19=26, Resulting Numbers: [76, 26]
Generated Node #0,1,1: 41:[76, 26] Operation: 45-19=26
Exploring Operation: 76-45=31, Resulting Numbers: [19, 31]
Generated Node #0,1,2: 41:[19, 31] Operation: 76-45=31
Exploring Operation: 76-19=57, Resulting Numbers: [45, 57]
Generated Node #0,1,3: 41:[45, 57] Operation: 76-19=57
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 41:[45, 57], Operations: ['60-15=45', '76-19=57']
Exploring Operation: 45+57=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 45*57=2565, Resulting Numbers: [2565]
2565,41 unequal: No Solution
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,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:[19, 31], Operations: ['60-15=45', '76-45=31']
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,41 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[45, 4], Operations: ['60-15=45', '76/19=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[60, 15, 76, 19], Operations: []
Exploring Operation: 60-15=45, Resulting Numbers: [76, 19, 45]
Generated Node #0,1: 41:[76, 19, 45] Operation: 60-15=45
Moving to Node #0,1
Current State: 41:[76, 19, 45], Operations: ['60-15=45']
Exploring Operation: 76/19=4, Resulting Numbers: [45, 4]
Generated Node #0,1,0: 41:[45, 4] Operation: 76/19=4
Moving to Node #0,1,0
Current State: 41:[45, 4], Operations: ['60-15=45', '76/19=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_4 | mult_heuristic |
[
85,
20,
34,
1
] | 99 | [
"85-20=65",
"34*1=34",
"65+34=99"
] | Current State: 99:[85, 20, 34, 1], Operations: []
Exploring Operation: 85-20=65, Resulting Numbers: [34, 1, 65]
Generated Node #2: [34, 1, 65] from Operation: 85-20=65
Current State: 99:[34, 1, 65], Operations: ['85-20=65']
Exploring Operation: 34*1=34, Resulting Numbers: [65, 34]
Generated Node #3: [65, 34] from Operation: 34*1=34
Current State: 99:[65, 34], Operations: ['85-20=65', '34*1=34']
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[85, 20, 34, 1], Operations: []
Exploring Operation: 85+1=86, Resulting Numbers: [20, 34, 86]
Generated Node #0,0: 99:[20, 34, 86] Operation: 85+1=86
Exploring Operation: 20-1=19, Resulting Numbers: [85, 34, 19]
Generated Node #0,1: 99:[85, 34, 19] Operation: 20-1=19
Exploring Operation: 34-1=33, Resulting Numbers: [85, 20, 33]
Generated Node #0,2: 99:[85, 20, 33] Operation: 34-1=33
Exploring Operation: 34-20=14, Resulting Numbers: [85, 1, 14]
Generated Node #0,3: 99:[85, 1, 14] Operation: 34-20=14
Exploring Operation: 85+20=105, Resulting Numbers: [34, 1, 105]
Generated Node #0,4: 99:[34, 1, 105] Operation: 85+20=105
Moving to Node #0,4
Current State: 99:[34, 1, 105], Operations: ['85+20=105']
Exploring Operation: 1*105=105, Resulting Numbers: [34, 105]
Generated Node #0,4,0: 99:[34, 105] Operation: 1*105=105
Exploring Operation: 34*1=34, Resulting Numbers: [105, 34]
Generated Node #0,4,1: 99:[105, 34] Operation: 34*1=34
Exploring Operation: 105-1=104, Resulting Numbers: [34, 104]
Generated Node #0,4,2: 99:[34, 104] Operation: 105-1=104
Exploring Operation: 34-1=33, Resulting Numbers: [105, 33]
Generated Node #0,4,3: 99:[105, 33] Operation: 34-1=33
Exploring Operation: 34/1=34, Resulting Numbers: [105, 34]
Generated Node #0,4,4: 99:[105, 34] Operation: 34/1=34
Moving to Node #0,3
Current State: 99:[85, 1, 14], Operations: ['34-20=14']
Exploring Operation: 85+14=99, Resulting Numbers: [1, 99]
Generated Node #0,3,0: 99:[1, 99] Operation: 85+14=99
Exploring Operation: 14-1=13, Resulting Numbers: [85, 13]
Generated Node #0,3,1: 99:[85, 13] Operation: 14-1=13
Exploring Operation: 85+1=86, Resulting Numbers: [14, 86]
Generated Node #0,3,2: 99:[14, 86] Operation: 85+1=86
Exploring Operation: 85*1=85, Resulting Numbers: [14, 85]
Generated Node #0,3,3: 99:[14, 85] Operation: 85*1=85
Exploring Operation: 85/1=85, Resulting Numbers: [14, 85]
Generated Node #0,3,4: 99:[14, 85] Operation: 85/1=85
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 99:[1, 99], Operations: ['34-20=14', '85+14=99']
Exploring Operation: 1*99=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[85, 20, 34, 1], Operations: []
Exploring Operation: 34-20=14, Resulting Numbers: [85, 1, 14]
Generated Node #0,3: 99:[85, 1, 14] Operation: 34-20=14
Moving to Node #0,3
Current State: 99:[85, 1, 14], Operations: ['34-20=14']
Exploring Operation: 85+14=99, Resulting Numbers: [1, 99]
Generated Node #0,3,0: 99:[1, 99] Operation: 85+14=99
Moving to Node #0,3,0
Current State: 99:[1, 99], Operations: ['34-20=14', '85+14=99']
Exploring Operation: 1*99=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
27,
77,
86,
6
] | 27 | [
"86-77=9",
"6*9=54",
"54-27=27"
] | Current State: 27:[27, 77, 86, 6], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [27, 6, 9]
Generated Node #2: [27, 6, 9] from Operation: 86-77=9
Current State: 27:[27, 6, 9], Operations: ['86-77=9']
Exploring Operation: 6*9=54, Resulting Numbers: [27, 54]
Generated Node #3: [27, 54] from Operation: 6*9=54
Current State: 27:[27, 54], Operations: ['86-77=9', '6*9=54']
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[27, 77, 86, 6], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [27, 6, 9]
Generated Node #0,0: 27:[27, 6, 9] Operation: 86-77=9
Exploring Operation: 86-27=59, Resulting Numbers: [77, 6, 59]
Generated Node #0,1: 27:[77, 6, 59] Operation: 86-27=59
Exploring Operation: 77-27=50, Resulting Numbers: [86, 6, 50]
Generated Node #0,2: 27:[86, 6, 50] Operation: 77-27=50
Exploring Operation: 77-6=71, Resulting Numbers: [27, 86, 71]
Generated Node #0,3: 27:[27, 86, 71] Operation: 77-6=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[27, 6, 9], Operations: ['86-77=9']
Exploring Operation: 27/9=3, Resulting Numbers: [6, 3]
Generated Node #0,0,0: 27:[6, 3] Operation: 27/9=3
Exploring Operation: 9-6=3, Resulting Numbers: [27, 3]
Generated Node #0,0,1: 27:[27, 3] Operation: 9-6=3
Exploring Operation: 27-6=21, Resulting Numbers: [9, 21]
Generated Node #0,0,2: 27:[9, 21] Operation: 27-6=21
Exploring Operation: 27+6=33, Resulting Numbers: [9, 33]
Generated Node #0,0,3: 27:[9, 33] Operation: 27+6=33
Moving to Node #0,0,1
Current State: 27:[27, 3], Operations: ['86-77=9', '9-6=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[6, 3], Operations: ['86-77=9', '27/9=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[9, 33], Operations: ['86-77=9', '27+6=33']
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,27 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[9, 21], Operations: ['86-77=9', '27-6=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[77, 6, 59], Operations: ['86-27=59']
Exploring Operation: 77+6=83, Resulting Numbers: [59, 83]
Generated Node #0,1,0: 27:[59, 83] Operation: 77+6=83
Exploring Operation: 59-6=53, Resulting Numbers: [77, 53]
Generated Node #0,1,1: 27:[77, 53] Operation: 59-6=53
Exploring Operation: 77-59=18, Resulting Numbers: [6, 18]
Generated Node #0,1,2: 27:[6, 18] Operation: 77-59=18
Exploring Operation: 77-6=71, Resulting Numbers: [59, 71]
Generated Node #0,1,3: 27:[59, 71] Operation: 77-6=71
Moving to Node #0,1,2
Current State: 27:[6, 18], Operations: ['86-27=59', '77-59=18']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[59, 71], Operations: ['86-27=59', '77-6=71']
Exploring Operation: 59*71=4189, Resulting Numbers: [4189]
4189,27 unequal: No Solution
Exploring Operation: 59+71=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[77, 53], Operations: ['86-27=59', '59-6=53']
Exploring Operation: 77*53=4081, Resulting Numbers: [4081]
4081,27 unequal: No Solution
Exploring Operation: 77+53=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[59, 83], Operations: ['86-27=59', '77+6=83']
Exploring Operation: 83-59=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 59*83=4897, Resulting Numbers: [4897]
4897,27 unequal: No Solution
Exploring Operation: 59+83=142, Resulting Numbers: [142]
142,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[86, 6, 50], Operations: ['77-27=50']
Exploring Operation: 86-50=36, Resulting Numbers: [6, 36]
Generated Node #0,2,0: 27:[6, 36] Operation: 86-50=36
Exploring Operation: 86+6=92, Resulting Numbers: [50, 92]
Generated Node #0,2,1: 27:[50, 92] Operation: 86+6=92
Exploring Operation: 50-6=44, Resulting Numbers: [86, 44]
Generated Node #0,2,2: 27:[86, 44] Operation: 50-6=44
Exploring Operation: 86-6=80, Resulting Numbers: [50, 80]
Generated Node #0,2,3: 27:[50, 80] Operation: 86-6=80
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[6, 36], Operations: ['77-27=50', '86-50=36']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,27 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,27 unequal: No Solution
No 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: 27:[86, 44], Operations: ['77-27=50', '50-6=44']
Exploring Operation: 86+44=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 86*44=3784, Resulting Numbers: [3784]
3784,27 unequal: No Solution
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,27 unequal: No Solution
No 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: 27:[50, 80], Operations: ['77-27=50', '86-6=80']
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 50*80=4000, Resulting Numbers: [4000]
4000,27 unequal: No Solution
Exploring Operation: 50+80=130, Resulting Numbers: [130]
130,27 unequal: No Solution
No 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: 27:[50, 92], Operations: ['77-27=50', '86+6=92']
Exploring Operation: 50+92=142, Resulting Numbers: [142]
142,27 unequal: No Solution
Exploring Operation: 50*92=4600, Resulting Numbers: [4600]
4600,27 unequal: No Solution
Exploring Operation: 92-50=42, Resulting Numbers: [42]
42,27 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: 27:[27, 86, 71], Operations: ['77-6=71']
Exploring Operation: 27+86=113, Resulting Numbers: [71, 113]
Generated Node #0,3,0: 27:[71, 113] Operation: 27+86=113
Exploring Operation: 86-71=15, Resulting Numbers: [27, 15]
Generated Node #0,3,1: 27:[27, 15] Operation: 86-71=15
Exploring Operation: 86-27=59, Resulting Numbers: [71, 59]
Generated Node #0,3,2: 27:[71, 59] Operation: 86-27=59
Exploring Operation: 71-27=44, Resulting Numbers: [86, 44]
Generated Node #0,3,3: 27:[86, 44] Operation: 71-27=44
Moving to Node #0,3,1
Current State: 27:[27, 15], Operations: ['77-6=71', '86-71=15']
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,27 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,27 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[86, 44], Operations: ['77-6=71', '71-27=44']
Exploring Operation: 86*44=3784, Resulting Numbers: [3784]
3784,27 unequal: No Solution
Exploring Operation: 86+44=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[71, 59], Operations: ['77-6=71', '86-27=59']
Exploring Operation: 71+59=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 71*59=4189, Resulting Numbers: [4189]
4189,27 unequal: No Solution
Moving to Node #0,3,0
Current State: 27:[71, 113], Operations: ['77-6=71', '27+86=113']
Exploring Operation: 71*113=8023, Resulting Numbers: [8023]
8023,27 unequal: No Solution
Exploring Operation: 71+113=184, Resulting Numbers: [184]
184,27 unequal: No Solution
Exploring Operation: 113-71=42, Resulting Numbers: [42]
42,27 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 |
[
3,
69,
25,
27
] | 20 | [
"3+69=72",
"25+27=52",
"72-52=20"
] | Current State: 20:[3, 69, 25, 27], Operations: []
Exploring Operation: 3+69=72, Resulting Numbers: [25, 27, 72]
Generated Node #2: [25, 27, 72] from Operation: 3+69=72
Current State: 20:[25, 27, 72], Operations: ['3+69=72']
Exploring Operation: 25+27=52, Resulting Numbers: [72, 52]
Generated Node #3: [72, 52] from Operation: 25+27=52
Current State: 20:[72, 52], Operations: ['3+69=72', '25+27=52']
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[3, 69, 25, 27], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [25, 27, 23]
Generated Node #0,0: 20:[25, 27, 23] Operation: 69/3=23
Exploring Operation: 27-25=2, Resulting Numbers: [3, 69, 2]
Generated Node #0,1: 20:[3, 69, 2] Operation: 27-25=2
Exploring Operation: 69-27=42, Resulting Numbers: [3, 25, 42]
Generated Node #0,2: 20:[3, 25, 42] Operation: 69-27=42
Exploring Operation: 69-25=44, Resulting Numbers: [3, 27, 44]
Generated Node #0,3: 20:[3, 27, 44] Operation: 69-25=44
Moving to Node #0,0
Current State: 20:[25, 27, 23], Operations: ['69/3=23']
Exploring Operation: 27-23=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 20:[25, 4] Operation: 27-23=4
Exploring Operation: 25-23=2, Resulting Numbers: [27, 2]
Generated Node #0,0,1: 20:[27, 2] Operation: 25-23=2
Exploring Operation: 25+27=52, Resulting Numbers: [23, 52]
Generated Node #0,0,2: 20:[23, 52] Operation: 25+27=52
Exploring Operation: 27-25=2, Resulting Numbers: [23, 2]
Generated Node #0,0,3: 20:[23, 2] Operation: 27-25=2
Moving to Node #0,2
Current State: 20:[3, 25, 42], Operations: ['69-27=42']
Exploring Operation: 25-3=22, Resulting Numbers: [42, 22]
Generated Node #0,2,0: 20:[42, 22] Operation: 25-3=22
Exploring Operation: 42-3=39, Resulting Numbers: [25, 39]
Generated Node #0,2,1: 20:[25, 39] Operation: 42-3=39
Exploring Operation: 42/3=14, Resulting Numbers: [25, 14]
Generated Node #0,2,2: 20:[25, 14] Operation: 42/3=14
Exploring Operation: 42-25=17, Resulting Numbers: [3, 17]
Generated Node #0,2,3: 20:[3, 17] Operation: 42-25=17
Moving to Node #0,3
Current State: 20:[3, 27, 44], Operations: ['69-25=44']
Exploring Operation: 27-3=24, Resulting Numbers: [44, 24]
Generated Node #0,3,0: 20:[44, 24] Operation: 27-3=24
Exploring Operation: 44-3=41, Resulting Numbers: [27, 41]
Generated Node #0,3,1: 20:[27, 41] Operation: 44-3=41
Exploring Operation: 44-27=17, Resulting Numbers: [3, 17]
Generated Node #0,3,2: 20:[3, 17] Operation: 44-27=17
Exploring Operation: 27/3=9, Resulting Numbers: [44, 9]
Generated Node #0,3,3: 20:[44, 9] Operation: 27/3=9
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[3, 17], Operations: ['69-25=44', '44-27=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[3, 69, 25, 27], Operations: []
Exploring Operation: 69-25=44, Resulting Numbers: [3, 27, 44]
Generated Node #0,3: 20:[3, 27, 44] Operation: 69-25=44
Moving to Node #0,3
Current State: 20:[3, 27, 44], Operations: ['69-25=44']
Exploring Operation: 44-27=17, Resulting Numbers: [3, 17]
Generated Node #0,3,2: 20:[3, 17] Operation: 44-27=17
Moving to Node #0,3,2
Current State: 20:[3, 17], Operations: ['69-25=44', '44-27=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
48,
64,
93,
7
] | 75 | [
"93+7=100",
"48*100=4800",
"4800/64=75"
] | Current State: 75:[48, 64, 93, 7], Operations: []
Exploring Operation: 93+7=100, Resulting Numbers: [48, 64, 100]
Generated Node #2: [48, 64, 100] from Operation: 93+7=100
Current State: 75:[48, 64, 100], Operations: ['93+7=100']
Exploring Operation: 48*100=4800, Resulting Numbers: [64, 4800]
Generated Node #3: [64, 4800] from Operation: 48*100=4800
Current State: 75:[64, 4800], Operations: ['93+7=100', '48*100=4800']
Exploring Operation: 4800/64=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[48, 64, 93, 7], Operations: []
Exploring Operation: 93-64=29, Resulting Numbers: [48, 7, 29]
Generated Node #0,0: 75:[48, 7, 29] Operation: 93-64=29
Exploring Operation: 64-48=16, Resulting Numbers: [93, 7, 16]
Generated Node #0,1: 75:[93, 7, 16] Operation: 64-48=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[93, 7, 16], Operations: ['64-48=16']
Exploring Operation: 93-7=86, Resulting Numbers: [16, 86]
Generated Node #0,1,0: 75:[16, 86] Operation: 93-7=86
Exploring Operation: 93-16=77, Resulting Numbers: [7, 77]
Generated Node #0,1,1: 75:[7, 77] Operation: 93-16=77
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[7, 77], Operations: ['64-48=16', '93-16=77']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[16, 86], Operations: ['64-48=16', '93-7=86']
Exploring Operation: 16+86=102, Resulting Numbers: [102]
102,75 unequal: No Solution
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[48, 7, 29], Operations: ['93-64=29']
Exploring Operation: 48+29=77, Resulting Numbers: [7, 77]
Generated Node #0,0,0: 75:[7, 77] Operation: 48+29=77
Exploring Operation: 48-29=19, Resulting Numbers: [7, 19]
Generated Node #0,0,1: 75:[7, 19] Operation: 48-29=19
Moving to Node #0,0,0
Current State: 75:[7, 77], Operations: ['93-64=29', '48+29=77']
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[7, 19], Operations: ['93-64=29', '48-29=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,75 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 |
[
73,
4,
50,
97
] | 46 | [
"97-73=24",
"4*24=96",
"96-50=46"
] | Current State: 46:[73, 4, 50, 97], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [4, 50, 24]
Generated Node #2: [4, 50, 24] from Operation: 97-73=24
Current State: 46:[4, 50, 24], Operations: ['97-73=24']
Exploring Operation: 4*24=96, Resulting Numbers: [50, 96]
Generated Node #3: [50, 96] from Operation: 4*24=96
Current State: 46:[50, 96], Operations: ['97-73=24', '4*24=96']
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[73, 4, 50, 97], Operations: []
Exploring Operation: 50-4=46, Resulting Numbers: [73, 97, 46]
Generated Node #0,0: 46:[73, 97, 46] Operation: 50-4=46
Exploring Operation: 97-73=24, Resulting Numbers: [4, 50, 24]
Generated Node #0,1: 46:[4, 50, 24] Operation: 97-73=24
Exploring Operation: 73-4=69, Resulting Numbers: [50, 97, 69]
Generated Node #0,2: 46:[50, 97, 69] Operation: 73-4=69
Exploring Operation: 73-50=23, Resulting Numbers: [4, 97, 23]
Generated Node #0,3: 46:[4, 97, 23] Operation: 73-50=23
Exploring Operation: 97-50=47, Resulting Numbers: [73, 4, 47]
Generated Node #0,4: 46:[73, 4, 47] Operation: 97-50=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[4, 50, 24], Operations: ['97-73=24']
Exploring Operation: 24/4=6, Resulting Numbers: [50, 6]
Generated Node #0,1,0: 46:[50, 6] Operation: 24/4=6
Exploring Operation: 24-4=20, Resulting Numbers: [50, 20]
Generated Node #0,1,1: 46:[50, 20] Operation: 24-4=20
Exploring Operation: 4+50=54, Resulting Numbers: [24, 54]
Generated Node #0,1,2: 46:[24, 54] Operation: 4+50=54
Exploring Operation: 50-4=46, Resulting Numbers: [24, 46]
Generated Node #0,1,3: 46:[24, 46] Operation: 50-4=46
Exploring Operation: 50-24=26, Resulting Numbers: [4, 26]
Generated Node #0,1,4: 46:[4, 26] Operation: 50-24=26
Moving to Node #0,1,3
Current State: 46:[24, 46], Operations: ['97-73=24', '50-4=46']
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,46 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,46 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Moving to Node #0,1,4
Current State: 46:[4, 26], Operations: ['97-73=24', '50-24=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[50, 20], Operations: ['97-73=24', '24-4=20']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 50+20=70, Resulting Numbers: [70]
70,46 unequal: No Solution
Exploring Operation: 50*20=1000, Resulting Numbers: [1000]
1000,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[50, 6], Operations: ['97-73=24', '24/4=6']
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,46 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[24, 54], Operations: ['97-73=24', '4+50=54']
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,46 unequal: No Solution
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 46:[73, 4, 47], Operations: ['97-50=47']
Exploring Operation: 47-4=43, Resulting Numbers: [73, 43]
Generated Node #0,4,0: 46:[73, 43] Operation: 47-4=43
Exploring Operation: 73+4=77, Resulting Numbers: [47, 77]
Generated Node #0,4,1: 46:[47, 77] Operation: 73+4=77
Exploring Operation: 73-4=69, Resulting Numbers: [47, 69]
Generated Node #0,4,2: 46:[47, 69] Operation: 73-4=69
Exploring Operation: 4+47=51, Resulting Numbers: [73, 51]
Generated Node #0,4,3: 46:[73, 51] Operation: 4+47=51
Exploring Operation: 73-47=26, Resulting Numbers: [4, 26]
Generated Node #0,4,4: 46:[4, 26] Operation: 73-47=26
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 46:[4, 26], Operations: ['97-50=47', '73-47=26']
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,46 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,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,4,2
Current State: 46:[47, 69], Operations: ['97-50=47', '73-4=69']
Exploring Operation: 47+69=116, Resulting Numbers: [116]
116,46 unequal: No Solution
Exploring Operation: 47*69=3243, Resulting Numbers: [3243]
3243,46 unequal: No Solution
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,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,4,0
Current State: 46:[73, 43], Operations: ['97-50=47', '47-4=43']
Exploring Operation: 73+43=116, Resulting Numbers: [116]
116,46 unequal: No Solution
Exploring Operation: 73*43=3139, Resulting Numbers: [3139]
3139,46 unequal: No Solution
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,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,4,1
Current State: 46:[47, 77], Operations: ['97-50=47', '73+4=77']
Exploring Operation: 47*77=3619, Resulting Numbers: [3619]
3619,46 unequal: No Solution
Exploring Operation: 77-47=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 47+77=124, Resulting Numbers: [124]
124,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,4,3
Current State: 46:[73, 51], Operations: ['97-50=47', '4+47=51']
Exploring Operation: 73*51=3723, Resulting Numbers: [3723]
3723,46 unequal: No Solution
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 73+51=124, Resulting Numbers: [124]
124,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:[4, 97, 23], Operations: ['73-50=23']
Exploring Operation: 4+97=101, Resulting Numbers: [23, 101]
Generated Node #0,3,0: 46:[23, 101] Operation: 4+97=101
Exploring Operation: 4+23=27, Resulting Numbers: [97, 27]
Generated Node #0,3,1: 46:[97, 27] Operation: 4+23=27
Exploring Operation: 97-4=93, Resulting Numbers: [23, 93]
Generated Node #0,3,2: 46:[23, 93] Operation: 97-4=93
Exploring Operation: 97-23=74, Resulting Numbers: [4, 74]
Generated Node #0,3,3: 46:[4, 74] Operation: 97-23=74
Exploring Operation: 23-4=19, Resulting Numbers: [97, 19]
Generated Node #0,3,4: 46:[97, 19] Operation: 23-4=19
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 46:[4, 74], Operations: ['73-50=23', '97-23=74']
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,46 unequal: No Solution
Exploring Operation: 4*74=296, Resulting Numbers: [296]
296,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:[23, 93], Operations: ['73-50=23', '97-4=93']
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,46 unequal: No Solution
Exploring Operation: 23+93=116, Resulting Numbers: [116]
116,46 unequal: No Solution
Exploring Operation: 23*93=2139, Resulting Numbers: [2139]
2139,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:[23, 101], Operations: ['73-50=23', '4+97=101']
Exploring Operation: 23+101=124, Resulting Numbers: [124]
124,46 unequal: No Solution
Exploring Operation: 101-23=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 23*101=2323, Resulting Numbers: [2323]
2323,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 46:[97, 27], Operations: ['73-50=23', '4+23=27']
Exploring Operation: 97+27=124, Resulting Numbers: [124]
124,46 unequal: No Solution
Exploring Operation: 97-27=70, Resulting Numbers: [70]
70,46 unequal: No Solution
Exploring Operation: 97*27=2619, Resulting Numbers: [2619]
2619,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:[97, 19], Operations: ['73-50=23', '23-4=19']
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,46 unequal: No Solution
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,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,0
Current State: 46:[73, 97, 46], Operations: ['50-4=46']
Exploring Operation: 73+97=170, Resulting Numbers: [46, 170]
Generated Node #0,0,0: 46:[46, 170] Operation: 73+97=170
Exploring Operation: 73+46=119, Resulting Numbers: [97, 119]
Generated Node #0,0,1: 46:[97, 119] Operation: 73+46=119
Exploring Operation: 97-73=24, Resulting Numbers: [46, 24]
Generated Node #0,0,2: 46:[46, 24] Operation: 97-73=24
Exploring Operation: 73-46=27, Resulting Numbers: [97, 27]
Generated Node #0,0,3: 46:[97, 27] Operation: 73-46=27
Exploring Operation: 97-46=51, Resulting Numbers: [73, 51]
Generated Node #0,0,4: 46:[73, 51] Operation: 97-46=51
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 46:[46, 24], Operations: ['50-4=46', '97-73=24']
Exploring Operation: 46*24=1104, Resulting Numbers: [1104]
1104,46 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,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:[73, 51], Operations: ['50-4=46', '97-46=51']
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 73+51=124, Resulting Numbers: [124]
124,46 unequal: No Solution
Exploring Operation: 73*51=3723, Resulting Numbers: [3723]
3723,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:[97, 27], Operations: ['50-4=46', '73-46=27']
Exploring Operation: 97+27=124, Resulting Numbers: [124]
124,46 unequal: No Solution
Exploring Operation: 97-27=70, Resulting Numbers: [70]
70,46 unequal: No Solution
Exploring Operation: 97*27=2619, Resulting Numbers: [2619]
2619,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[46, 170], Operations: ['50-4=46', '73+97=170']
Exploring Operation: 46+170=216, Resulting Numbers: [216]
216,46 unequal: No Solution
Exploring Operation: 170-46=124, Resulting Numbers: [124]
124,46 unequal: No Solution
Exploring Operation: 46*170=7820, Resulting Numbers: [7820]
7820,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:[97, 119], Operations: ['50-4=46', '73+46=119']
Exploring Operation: 97+119=216, Resulting Numbers: [216]
216,46 unequal: No Solution
Exploring Operation: 119-97=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 97*119=11543, Resulting Numbers: [11543]
11543,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:[50, 97, 69], Operations: ['73-4=69']
Exploring Operation: 69-50=19, Resulting Numbers: [97, 19]
Generated Node #0,2,0: 46:[97, 19] Operation: 69-50=19
Exploring Operation: 97-50=47, Resulting Numbers: [69, 47]
Generated Node #0,2,1: 46:[69, 47] Operation: 97-50=47
Exploring Operation: 50+69=119, Resulting Numbers: [97, 119]
Generated Node #0,2,2: 46:[97, 119] Operation: 50+69=119
Exploring Operation: 97-69=28, Resulting Numbers: [50, 28]
Generated Node #0,2,3: 46:[50, 28] Operation: 97-69=28
Exploring Operation: 50+97=147, Resulting Numbers: [69, 147]
Generated Node #0,2,4: 46:[69, 147] Operation: 50+97=147
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 46:[50, 28], Operations: ['73-4=69', '97-69=28']
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,46 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,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:[69, 47], Operations: ['73-4=69', '97-50=47']
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 69*47=3243, Resulting Numbers: [3243]
3243,46 unequal: No Solution
Exploring Operation: 69+47=116, Resulting Numbers: [116]
116,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 46:[97, 19], Operations: ['73-4=69', '69-50=19']
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,46 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,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:[97, 119], Operations: ['73-4=69', '50+69=119']
Exploring Operation: 97*119=11543, Resulting Numbers: [11543]
11543,46 unequal: No Solution
Exploring Operation: 97+119=216, Resulting Numbers: [216]
216,46 unequal: No Solution
Exploring Operation: 119-97=22, Resulting Numbers: [22]
22,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:[69, 147], Operations: ['73-4=69', '50+97=147']
Exploring Operation: 69+147=216, Resulting Numbers: [216]
216,46 unequal: No Solution
Exploring Operation: 69*147=10143, Resulting Numbers: [10143]
10143,46 unequal: No Solution
Exploring Operation: 147-69=78, Resulting Numbers: [78]
78,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 |
[
86,
12,
28,
17
] | 90 | [
"86+28=114",
"12*17=204",
"204-114=90"
] | Current State: 90:[86, 12, 28, 17], Operations: []
Exploring Operation: 86+28=114, Resulting Numbers: [12, 17, 114]
Generated Node #2: [12, 17, 114] from Operation: 86+28=114
Current State: 90:[12, 17, 114], Operations: ['86+28=114']
Exploring Operation: 12*17=204, Resulting Numbers: [114, 204]
Generated Node #3: [114, 204] from Operation: 12*17=204
Current State: 90:[114, 204], Operations: ['86+28=114', '12*17=204']
Exploring Operation: 204-114=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[86, 12, 28, 17], Operations: []
Exploring Operation: 28+17=45, Resulting Numbers: [86, 12, 45]
Generated Node #0,0: 90:[86, 12, 45] Operation: 28+17=45
Exploring Operation: 17-12=5, Resulting Numbers: [86, 28, 5]
Generated Node #0,1: 90:[86, 28, 5] Operation: 17-12=5
Exploring Operation: 28-12=16, Resulting Numbers: [86, 17, 16]
Generated Node #0,2: 90:[86, 17, 16] Operation: 28-12=16
Moving to Node #0,0
Current State: 90:[86, 12, 45], Operations: ['28+17=45']
Exploring Operation: 86+12=98, Resulting Numbers: [45, 98]
Generated Node #0,0,0: 90:[45, 98] Operation: 86+12=98
Exploring Operation: 86-45=41, Resulting Numbers: [12, 41]
Generated Node #0,0,1: 90:[12, 41] Operation: 86-45=41
Exploring Operation: 45-12=33, Resulting Numbers: [86, 33]
Generated Node #0,0,2: 90:[86, 33] Operation: 45-12=33
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[12, 41], Operations: ['28+17=45', '86-45=41']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 12*41=492, Resulting Numbers: [492]
492,90 unequal: No Solution
Exploring Operation: 12+41=53, Resulting Numbers: [53]
53,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[86, 33], Operations: ['28+17=45', '45-12=33']
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 86+33=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Exploring Operation: 86*33=2838, Resulting Numbers: [2838]
2838,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[45, 98], Operations: ['28+17=45', '86+12=98']
Exploring Operation: 45+98=143, Resulting Numbers: [143]
143,90 unequal: No Solution
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 45*98=4410, Resulting Numbers: [4410]
4410,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 90:[86, 28, 5], Operations: ['17-12=5']
Exploring Operation: 86+5=91, Resulting Numbers: [28, 91]
Generated Node #0,1,0: 90:[28, 91] Operation: 86+5=91
Exploring Operation: 28+5=33, Resulting Numbers: [86, 33]
Generated Node #0,1,1: 90:[86, 33] Operation: 28+5=33
Exploring Operation: 28-5=23, Resulting Numbers: [86, 23]
Generated Node #0,1,2: 90:[86, 23] Operation: 28-5=23
Moving to Node #0,2
Current State: 90:[86, 17, 16], Operations: ['28-12=16']
Exploring Operation: 86+16=102, Resulting Numbers: [17, 102]
Generated Node #0,2,0: 90:[17, 102] Operation: 86+16=102
Exploring Operation: 17-16=1, Resulting Numbers: [86, 1]
Generated Node #0,2,1: 90:[86, 1] Operation: 17-16=1
Exploring Operation: 17+16=33, Resulting Numbers: [86, 33]
Generated Node #0,2,2: 90:[86, 33] Operation: 17+16=33
Moving to Node #0,1,0
Current State: 90:[28, 91], Operations: ['17-12=5', '86+5=91']
Exploring Operation: 28+91=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Exploring Operation: 28*91=2548, Resulting Numbers: [2548]
2548,90 unequal: No Solution
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[86, 1], Operations: ['28-12=16', '17-16=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,90 unequal: No Solution
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,90 unequal: No Solution
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[86, 33], Operations: ['28-12=16', '17+16=33']
Exploring Operation: 86+33=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Exploring Operation: 86*33=2838, Resulting Numbers: [2838]
2838,90 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[86, 33], Operations: ['17-12=5', '28+5=33']
Exploring Operation: 86*33=2838, Resulting Numbers: [2838]
2838,90 unequal: No Solution
Exploring Operation: 86+33=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[86, 23], Operations: ['17-12=5', '28-5=23']
Exploring Operation: 86+23=109, Resulting Numbers: [109]
109,90 unequal: No Solution
Exploring Operation: 86*23=1978, Resulting Numbers: [1978]
1978,90 unequal: No Solution
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[17, 102], Operations: ['28-12=16', '86+16=102']
Exploring Operation: 102/17=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 17+102=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Exploring Operation: 102-17=85, Resulting Numbers: [85]
85,90 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
83,
6,
36,
82
] | 31 | [
"83-6=77",
"82-36=46",
"77-46=31"
] | Current State: 31:[83, 6, 36, 82], Operations: []
Exploring Operation: 83-6=77, Resulting Numbers: [36, 82, 77]
Generated Node #2: [36, 82, 77] from Operation: 83-6=77
Current State: 31:[36, 82, 77], Operations: ['83-6=77']
Exploring Operation: 82-36=46, Resulting Numbers: [77, 46]
Generated Node #3: [77, 46] from Operation: 82-36=46
Current State: 31:[77, 46], Operations: ['83-6=77', '82-36=46']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[83, 6, 36, 82], Operations: []
Exploring Operation: 83-36=47, Resulting Numbers: [6, 82, 47]
Generated Node #0,0: 31:[6, 82, 47] Operation: 83-36=47
Exploring Operation: 82-36=46, Resulting Numbers: [83, 6, 46]
Generated Node #0,1: 31:[83, 6, 46] Operation: 82-36=46
Exploring Operation: 83-82=1, Resulting Numbers: [6, 36, 1]
Generated Node #0,2: 31:[6, 36, 1] Operation: 83-82=1
Moving to Node #0,2
Current State: 31:[6, 36, 1], Operations: ['83-82=1']
Exploring Operation: 6+1=7, Resulting Numbers: [36, 7]
Generated Node #0,2,0: 31:[36, 7] Operation: 6+1=7
Exploring Operation: 6*1=6, Resulting Numbers: [36, 6]
Generated Node #0,2,1: 31:[36, 6] Operation: 6*1=6
Exploring Operation: 36-1=35, Resulting Numbers: [6, 35]
Generated Node #0,2,2: 31:[6, 35] Operation: 36-1=35
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[36, 7], Operations: ['83-82=1', '6+1=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,31 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[6, 35], Operations: ['83-82=1', '36-1=35']
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,31 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[36, 6], Operations: ['83-82=1', '6*1=6']
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,31 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: 31:[6, 82, 47], Operations: ['83-36=47']
Exploring Operation: 47-6=41, Resulting Numbers: [82, 41]
Generated Node #0,0,0: 31:[82, 41] Operation: 47-6=41
Exploring Operation: 82-6=76, Resulting Numbers: [47, 76]
Generated Node #0,0,1: 31:[47, 76] Operation: 82-6=76
Exploring Operation: 82-47=35, Resulting Numbers: [6, 35]
Generated Node #0,0,2: 31:[6, 35] Operation: 82-47=35
Moving to Node #0,1
Current State: 31:[83, 6, 46], Operations: ['82-36=46']
Exploring Operation: 46-6=40, Resulting Numbers: [83, 40]
Generated Node #0,1,0: 31:[83, 40] Operation: 46-6=40
Exploring Operation: 83-6=77, Resulting Numbers: [46, 77]
Generated Node #0,1,1: 31:[46, 77] Operation: 83-6=77
Exploring Operation: 83-46=37, Resulting Numbers: [6, 37]
Generated Node #0,1,2: 31:[6, 37] Operation: 83-46=37
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[6, 37], Operations: ['82-36=46', '83-46=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[83, 6, 36, 82], Operations: []
Exploring Operation: 82-36=46, Resulting Numbers: [83, 6, 46]
Generated Node #0,1: 31:[83, 6, 46] Operation: 82-36=46
Moving to Node #0,1
Current State: 31:[83, 6, 46], Operations: ['82-36=46']
Exploring Operation: 83-46=37, Resulting Numbers: [6, 37]
Generated Node #0,1,2: 31:[6, 37] Operation: 83-46=37
Moving to Node #0,1,2
Current State: 31:[6, 37], Operations: ['82-36=46', '83-46=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
12,
10,
16,
23
] | 21 | [
"16-10=6",
"12/6=2",
"23-2=21"
] | Current State: 21:[12, 10, 16, 23], Operations: []
Exploring Operation: 16-10=6, Resulting Numbers: [12, 23, 6]
Generated Node #2: [12, 23, 6] from Operation: 16-10=6
Current State: 21:[12, 23, 6], Operations: ['16-10=6']
Exploring Operation: 12/6=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 12/6=2
Current State: 21:[23, 2], Operations: ['16-10=6', '12/6=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[12, 10, 16, 23], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [16, 23, 2]
Generated Node #0,0: 21:[16, 23, 2] Operation: 12-10=2
Exploring Operation: 16-12=4, Resulting Numbers: [10, 23, 4]
Generated Node #0,1: 21:[10, 23, 4] Operation: 16-12=4
Exploring Operation: 16-10=6, Resulting Numbers: [12, 23, 6]
Generated Node #0,2: 21:[12, 23, 6] Operation: 16-10=6
Exploring Operation: 12+10=22, Resulting Numbers: [16, 23, 22]
Generated Node #0,3: 21:[16, 23, 22] Operation: 12+10=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[10, 23, 4], Operations: ['16-12=4']
Exploring Operation: 23-10=13, Resulting Numbers: [4, 13]
Generated Node #0,1,0: 21:[4, 13] Operation: 23-10=13
Exploring Operation: 10-4=6, Resulting Numbers: [23, 6]
Generated Node #0,1,1: 21:[23, 6] Operation: 10-4=6
Exploring Operation: 10+4=14, Resulting Numbers: [23, 14]
Generated Node #0,1,2: 21:[23, 14] Operation: 10+4=14
Exploring Operation: 23-4=19, Resulting Numbers: [10, 19]
Generated Node #0,1,3: 21:[10, 19] Operation: 23-4=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[23, 6], Operations: ['16-12=4', '10-4=6']
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,21 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,21 unequal: No Solution
No 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: 21:[10, 19], Operations: ['16-12=4', '23-4=19']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,21 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,21 unequal: No Solution
No 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: 21:[4, 13], Operations: ['16-12=4', '23-10=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,21 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,21 unequal: No Solution
No 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: 21:[23, 14], Operations: ['16-12=4', '10+4=14']
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,21 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,21 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: 21:[16, 23, 2], Operations: ['12-10=2']
Exploring Operation: 16+2=18, Resulting Numbers: [23, 18]
Generated Node #0,0,0: 21:[23, 18] Operation: 16+2=18
Exploring Operation: 16/2=8, Resulting Numbers: [23, 8]
Generated Node #0,0,1: 21:[23, 8] Operation: 16/2=8
Exploring Operation: 23-2=21, Resulting Numbers: [16, 21]
Generated Node #0,0,2: 21:[16, 21] Operation: 23-2=21
Exploring Operation: 23-16=7, Resulting Numbers: [2, 7]
Generated Node #0,0,3: 21:[2, 7] Operation: 23-16=7
Moving to Node #0,0,3
Current State: 21:[2, 7], Operations: ['12-10=2', '23-16=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[23, 8], Operations: ['12-10=2', '16/2=8']
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,21 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[16, 21], Operations: ['12-10=2', '23-2=21']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,21 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[23, 18], Operations: ['12-10=2', '16+2=18']
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,21 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[12, 23, 6], Operations: ['16-10=6']
Exploring Operation: 12-6=6, Resulting Numbers: [23, 6]
Generated Node #0,2,0: 21:[23, 6] Operation: 12-6=6
Exploring Operation: 23-12=11, Resulting Numbers: [6, 11]
Generated Node #0,2,1: 21:[6, 11] Operation: 23-12=11
Exploring Operation: 12+6=18, Resulting Numbers: [23, 18]
Generated Node #0,2,2: 21:[23, 18] Operation: 12+6=18
Exploring Operation: 12/6=2, Resulting Numbers: [23, 2]
Generated Node #0,2,3: 21:[23, 2] Operation: 12/6=2
Moving to Node #0,2,0
Current State: 21:[23, 6], Operations: ['16-10=6', '12-6=6']
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,21 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[23, 2], Operations: ['16-10=6', '12/6=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,21 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[12, 10, 16, 23], Operations: []
Exploring Operation: 16-10=6, Resulting Numbers: [12, 23, 6]
Generated Node #0,2: 21:[12, 23, 6] Operation: 16-10=6
Moving to Node #0,2
Current State: 21:[12, 23, 6], Operations: ['16-10=6']
Exploring Operation: 12/6=2, Resulting Numbers: [23, 2]
Generated Node #0,2,3: 21:[23, 2] Operation: 12/6=2
Moving to Node #0,2,3
Current State: 21:[23, 2], Operations: ['16-10=6', '12/6=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_4 | mult_heuristic |
[
5,
94,
34,
24
] | 89 | [
"5+94=99",
"34-24=10",
"99-10=89"
] | Current State: 89:[5, 94, 34, 24], Operations: []
Exploring Operation: 5+94=99, Resulting Numbers: [34, 24, 99]
Generated Node #2: [34, 24, 99] from Operation: 5+94=99
Current State: 89:[34, 24, 99], Operations: ['5+94=99']
Exploring Operation: 34-24=10, Resulting Numbers: [99, 10]
Generated Node #3: [99, 10] from Operation: 34-24=10
Current State: 89:[99, 10], Operations: ['5+94=99', '34-24=10']
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[5, 94, 34, 24], Operations: []
Exploring Operation: 94-5=89, Resulting Numbers: [34, 24, 89]
Generated Node #0,0: 89:[34, 24, 89] Operation: 94-5=89
Exploring Operation: 5*24=120, Resulting Numbers: [94, 34, 120]
Generated Node #0,1: 89:[94, 34, 120] Operation: 5*24=120
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[94, 34, 120], Operations: ['5*24=120']
Exploring Operation: 120-34=86, Resulting Numbers: [94, 86]
Generated Node #0,1,0: 89:[94, 86] Operation: 120-34=86
Exploring Operation: 94-34=60, Resulting Numbers: [120, 60]
Generated Node #0,1,1: 89:[120, 60] Operation: 94-34=60
Moving to Node #0,1,0
Current State: 89:[94, 86], Operations: ['5*24=120', '120-34=86']
Exploring Operation: 94+86=180, Resulting Numbers: [180]
180,89 unequal: No Solution
Exploring Operation: 94-86=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[120, 60], Operations: ['5*24=120', '94-34=60']
Exploring Operation: 120/60=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 120-60=60, Resulting Numbers: [60]
60,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[34, 24, 89], Operations: ['94-5=89']
Exploring Operation: 34-24=10, Resulting Numbers: [89, 10]
Generated Node #0,0,0: 89:[89, 10] Operation: 34-24=10
Exploring Operation: 34+24=58, Resulting Numbers: [89, 58]
Generated Node #0,0,1: 89:[89, 58] Operation: 34+24=58
Moving to Node #0,0,1
Current State: 89:[89, 58], Operations: ['94-5=89', '34+24=58']
Exploring Operation: 89+58=147, Resulting Numbers: [147]
147,89 unequal: No Solution
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[89, 10], Operations: ['94-5=89', '34-24=10']
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 89+10=99, Resulting Numbers: [99]
99,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 | sum_heuristic |
[
29,
36,
31,
4
] | 92 | [
"29+36=65",
"31-4=27",
"65+27=92"
] | Current State: 92:[29, 36, 31, 4], Operations: []
Exploring Operation: 29+36=65, Resulting Numbers: [31, 4, 65]
Generated Node #2: [31, 4, 65] from Operation: 29+36=65
Current State: 92:[31, 4, 65], Operations: ['29+36=65']
Exploring Operation: 31-4=27, Resulting Numbers: [65, 27]
Generated Node #3: [65, 27] from Operation: 31-4=27
Current State: 92:[65, 27], Operations: ['29+36=65', '31-4=27']
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[29, 36, 31, 4], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [29, 4, 5]
Generated Node #0,0: 92:[29, 4, 5] Operation: 36-31=5
Exploring Operation: 36/4=9, Resulting Numbers: [29, 31, 9]
Generated Node #0,1: 92:[29, 31, 9] Operation: 36/4=9
Exploring Operation: 31-29=2, Resulting Numbers: [36, 4, 2]
Generated Node #0,2: 92:[36, 4, 2] Operation: 31-29=2
Exploring Operation: 29-4=25, Resulting Numbers: [36, 31, 25]
Generated Node #0,3: 92:[36, 31, 25] Operation: 29-4=25
Exploring Operation: 36-29=7, Resulting Numbers: [31, 4, 7]
Generated Node #0,4: 92:[31, 4, 7] Operation: 36-29=7
Moving to Node #0,0
Current State: 92:[29, 4, 5], Operations: ['36-31=5']
Exploring Operation: 4*5=20, Resulting Numbers: [29, 20]
Generated Node #0,0,0: 92:[29, 20] Operation: 4*5=20
Exploring Operation: 29-4=25, Resulting Numbers: [5, 25]
Generated Node #0,0,1: 92:[5, 25] Operation: 29-4=25
Exploring Operation: 29+4=33, Resulting Numbers: [5, 33]
Generated Node #0,0,2: 92:[5, 33] Operation: 29+4=33
Exploring Operation: 5-4=1, Resulting Numbers: [29, 1]
Generated Node #0,0,3: 92:[29, 1] Operation: 5-4=1
Exploring Operation: 29-5=24, Resulting Numbers: [4, 24]
Generated Node #0,0,4: 92:[4, 24] Operation: 29-5=24
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 92:[4, 24], Operations: ['36-31=5', '29-5=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,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,1
Current State: 92:[5, 25], Operations: ['36-31=5', '29-4=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,92 unequal: No Solution
Exploring Operation: 25/5=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,3
Current State: 92:[29, 1], Operations: ['36-31=5', '5-4=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,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,0
Current State: 92:[29, 20], Operations: ['36-31=5', '4*5=20']
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,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,2
Current State: 92:[5, 33], Operations: ['36-31=5', '29+4=33']
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,92 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,92 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: 92:[36, 4, 2], Operations: ['31-29=2']
Exploring Operation: 36+4=40, Resulting Numbers: [2, 40]
Generated Node #0,2,0: 92:[2, 40] Operation: 36+4=40
Exploring Operation: 36/4=9, Resulting Numbers: [2, 9]
Generated Node #0,2,1: 92:[2, 9] Operation: 36/4=9
Exploring Operation: 36+2=38, Resulting Numbers: [4, 38]
Generated Node #0,2,2: 92:[4, 38] Operation: 36+2=38
Exploring Operation: 36/2=18, Resulting Numbers: [4, 18]
Generated Node #0,2,3: 92:[4, 18] Operation: 36/2=18
Exploring Operation: 36-4=32, Resulting Numbers: [2, 32]
Generated Node #0,2,4: 92:[2, 32] Operation: 36-4=32
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[2, 9], Operations: ['31-29=2', '36/4=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,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,3
Current State: 92:[4, 18], Operations: ['31-29=2', '36/2=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,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:[2, 40], Operations: ['31-29=2', '36+4=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,92 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,92 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,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:[4, 38], Operations: ['31-29=2', '36+2=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,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,4
Current State: 92:[2, 32], Operations: ['31-29=2', '36-4=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,92 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: 92:[31, 4, 7], Operations: ['36-29=7']
Exploring Operation: 31+7=38, Resulting Numbers: [4, 38]
Generated Node #0,4,0: 92:[4, 38] Operation: 31+7=38
Exploring Operation: 4*7=28, Resulting Numbers: [31, 28]
Generated Node #0,4,1: 92:[31, 28] Operation: 4*7=28
Exploring Operation: 31-4=27, Resulting Numbers: [7, 27]
Generated Node #0,4,2: 92:[7, 27] Operation: 31-4=27
Exploring Operation: 31-7=24, Resulting Numbers: [4, 24]
Generated Node #0,4,3: 92:[4, 24] Operation: 31-7=24
Exploring Operation: 7-4=3, Resulting Numbers: [31, 3]
Generated Node #0,4,4: 92:[31, 3] Operation: 7-4=3
Moving to Node #0,1
Current State: 92:[29, 31, 9], Operations: ['36/4=9']
Exploring Operation: 31+9=40, Resulting Numbers: [29, 40]
Generated Node #0,1,0: 92:[29, 40] Operation: 31+9=40
Exploring Operation: 31-29=2, Resulting Numbers: [9, 2]
Generated Node #0,1,1: 92:[9, 2] Operation: 31-29=2
Exploring Operation: 29+9=38, Resulting Numbers: [31, 38]
Generated Node #0,1,2: 92:[31, 38] Operation: 29+9=38
Exploring Operation: 29-9=20, Resulting Numbers: [31, 20]
Generated Node #0,1,3: 92:[31, 20] Operation: 29-9=20
Exploring Operation: 31-9=22, Resulting Numbers: [29, 22]
Generated Node #0,1,4: 92:[29, 22] Operation: 31-9=22
Moving to Node #0,3
Current State: 92:[36, 31, 25], Operations: ['29-4=25']
Exploring Operation: 31-25=6, Resulting Numbers: [36, 6]
Generated Node #0,3,0: 92:[36, 6] Operation: 31-25=6
Exploring Operation: 36+31=67, Resulting Numbers: [25, 67]
Generated Node #0,3,1: 92:[25, 67] Operation: 36+31=67
Exploring Operation: 31+25=56, Resulting Numbers: [36, 56]
Generated Node #0,3,2: 92:[36, 56] Operation: 31+25=56
Exploring Operation: 36-31=5, Resulting Numbers: [25, 5]
Generated Node #0,3,3: 92:[25, 5] Operation: 36-31=5
Exploring Operation: 36-25=11, Resulting Numbers: [31, 11]
Generated Node #0,3,4: 92:[31, 11] Operation: 36-25=11
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[25, 5], Operations: ['29-4=25', '36-31=5']
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,92 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[36, 6], Operations: ['29-4=25', '31-25=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 92:[31, 11], Operations: ['29-4=25', '36-25=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,92 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[36, 56], Operations: ['29-4=25', '31+25=56']
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[29, 36, 31, 4], Operations: []
Exploring Operation: 29-4=25, Resulting Numbers: [36, 31, 25]
Generated Node #0,3: 92:[36, 31, 25] Operation: 29-4=25
Moving to Node #0,3
Current State: 92:[36, 31, 25], Operations: ['29-4=25']
Exploring Operation: 31+25=56, Resulting Numbers: [36, 56]
Generated Node #0,3,2: 92:[36, 56] Operation: 31+25=56
Moving to Node #0,3,2
Current State: 92:[36, 56], Operations: ['29-4=25', '31+25=56']
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.929688 | hs_5 | sum_heuristic |
[
21,
34,
53,
59
] | 31 | [
"21*53=1113",
"1113-59=1054",
"1054/34=31"
] | Current State: 31:[21, 34, 53, 59], Operations: []
Exploring Operation: 21*53=1113, Resulting Numbers: [34, 59, 1113]
Generated Node #2: [34, 59, 1113] from Operation: 21*53=1113
Current State: 31:[34, 59, 1113], Operations: ['21*53=1113']
Exploring Operation: 1113-59=1054, Resulting Numbers: [34, 1054]
Generated Node #3: [34, 1054] from Operation: 1113-59=1054
Current State: 31:[34, 1054], Operations: ['21*53=1113', '1113-59=1054']
Exploring Operation: 1054/34=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[21, 34, 53, 59], Operations: []
Exploring Operation: 53-21=32, Resulting Numbers: [34, 59, 32]
Generated Node #0,0: 31:[34, 59, 32] Operation: 53-21=32
Exploring Operation: 53-34=19, Resulting Numbers: [21, 59, 19]
Generated Node #0,1: 31:[21, 59, 19] Operation: 53-34=19
Exploring Operation: 59-53=6, Resulting Numbers: [21, 34, 6]
Generated Node #0,2: 31:[21, 34, 6] Operation: 59-53=6
Exploring Operation: 59-34=25, Resulting Numbers: [21, 53, 25]
Generated Node #0,3: 31:[21, 53, 25] Operation: 59-34=25
Exploring Operation: 59-21=38, Resulting Numbers: [34, 53, 38]
Generated Node #0,4: 31:[34, 53, 38] Operation: 59-21=38
Moving to Node #0,0
Current State: 31:[34, 59, 32], Operations: ['53-21=32']
Exploring Operation: 34+59=93, Resulting Numbers: [32, 93]
Generated Node #0,0,0: 31:[32, 93] Operation: 34+59=93
Exploring Operation: 34+32=66, Resulting Numbers: [59, 66]
Generated Node #0,0,1: 31:[59, 66] Operation: 34+32=66
Exploring Operation: 34-32=2, Resulting Numbers: [59, 2]
Generated Node #0,0,2: 31:[59, 2] Operation: 34-32=2
Exploring Operation: 59-34=25, Resulting Numbers: [32, 25]
Generated Node #0,0,3: 31:[32, 25] Operation: 59-34=25
Exploring Operation: 59-32=27, Resulting Numbers: [34, 27]
Generated Node #0,0,4: 31:[34, 27] Operation: 59-32=27
Moving to Node #0,4
Current State: 31:[34, 53, 38], Operations: ['59-21=38']
Exploring Operation: 53-38=15, Resulting Numbers: [34, 15]
Generated Node #0,4,0: 31:[34, 15] Operation: 53-38=15
Exploring Operation: 38-34=4, Resulting Numbers: [53, 4]
Generated Node #0,4,1: 31:[53, 4] Operation: 38-34=4
Exploring Operation: 53-34=19, Resulting Numbers: [38, 19]
Generated Node #0,4,2: 31:[38, 19] Operation: 53-34=19
Exploring Operation: 34+53=87, Resulting Numbers: [38, 87]
Generated Node #0,4,3: 31:[38, 87] Operation: 34+53=87
Exploring Operation: 34+38=72, Resulting Numbers: [53, 72]
Generated Node #0,4,4: 31:[53, 72] Operation: 34+38=72
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 31:[34, 15], Operations: ['59-21=38', '53-38=15']
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,31 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 31:[38, 19], Operations: ['59-21=38', '53-34=19']
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 31:[53, 4], Operations: ['59-21=38', '38-34=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 31:[38, 87], Operations: ['59-21=38', '34+53=87']
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 38+87=125, Resulting Numbers: [125]
125,31 unequal: No Solution
Exploring Operation: 38*87=3306, Resulting Numbers: [3306]
3306,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 31:[53, 72], Operations: ['59-21=38', '34+38=72']
Exploring Operation: 53+72=125, Resulting Numbers: [125]
125,31 unequal: No Solution
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 53*72=3816, Resulting Numbers: [3816]
3816,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 31:[21, 34, 6], Operations: ['59-53=6']
Exploring Operation: 21-6=15, Resulting Numbers: [34, 15]
Generated Node #0,2,0: 31:[34, 15] Operation: 21-6=15
Exploring Operation: 34-6=28, Resulting Numbers: [21, 28]
Generated Node #0,2,1: 31:[21, 28] Operation: 34-6=28
Exploring Operation: 21+6=27, Resulting Numbers: [34, 27]
Generated Node #0,2,2: 31:[34, 27] Operation: 21+6=27
Exploring Operation: 34+6=40, Resulting Numbers: [21, 40]
Generated Node #0,2,3: 31:[21, 40] Operation: 34+6=40
Exploring Operation: 34-21=13, Resulting Numbers: [6, 13]
Generated Node #0,2,4: 31:[6, 13] Operation: 34-21=13
Moving to Node #0,3
Current State: 31:[21, 53, 25], Operations: ['59-34=25']
Exploring Operation: 21+25=46, Resulting Numbers: [53, 46]
Generated Node #0,3,0: 31:[53, 46] Operation: 21+25=46
Exploring Operation: 53-25=28, Resulting Numbers: [21, 28]
Generated Node #0,3,1: 31:[21, 28] Operation: 53-25=28
Exploring Operation: 25-21=4, Resulting Numbers: [53, 4]
Generated Node #0,3,2: 31:[53, 4] Operation: 25-21=4
Exploring Operation: 53-21=32, Resulting Numbers: [25, 32]
Generated Node #0,3,3: 31:[25, 32] Operation: 53-21=32
Exploring Operation: 21+53=74, Resulting Numbers: [25, 74]
Generated Node #0,3,4: 31:[25, 74] Operation: 21+53=74
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 31:[25, 32], Operations: ['59-34=25', '53-21=32']
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,31 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 31:[21, 28], Operations: ['59-34=25', '53-25=28']
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,31 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 31:[53, 46], Operations: ['59-34=25', '21+25=46']
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,31 unequal: No Solution
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,31 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 31:[53, 4], Operations: ['59-34=25', '25-21=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,31 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,31 unequal: No Solution
No 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: 31:[25, 74], Operations: ['59-34=25', '21+53=74']
Exploring Operation: 25+74=99, Resulting Numbers: [99]
99,31 unequal: No Solution
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 25*74=1850, Resulting Numbers: [1850]
1850,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 31:[21, 59, 19], Operations: ['53-34=19']
Exploring Operation: 59-21=38, Resulting Numbers: [19, 38]
Generated Node #0,1,0: 31:[19, 38] Operation: 59-21=38
Exploring Operation: 59-19=40, Resulting Numbers: [21, 40]
Generated Node #0,1,1: 31:[21, 40] Operation: 59-19=40
Exploring Operation: 21+19=40, Resulting Numbers: [59, 40]
Generated Node #0,1,2: 31:[59, 40] Operation: 21+19=40
Exploring Operation: 21-19=2, Resulting Numbers: [59, 2]
Generated Node #0,1,3: 31:[59, 2] Operation: 21-19=2
Exploring Operation: 59+19=78, Resulting Numbers: [21, 78]
Generated Node #0,1,4: 31:[21, 78] Operation: 59+19=78
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[19, 38], Operations: ['53-34=19', '59-21=38']
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,31 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[21, 40], Operations: ['53-34=19', '59-19=40']
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,31 unequal: No Solution
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[59, 40], Operations: ['53-34=19', '21+19=40']
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,31 unequal: No Solution
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 31:[59, 2], Operations: ['53-34=19', '21-19=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,31 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 31:[21, 78], Operations: ['53-34=19', '59+19=78']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 21*78=1638, Resulting Numbers: [1638]
1638,31 unequal: No Solution
Exploring Operation: 21+78=99, Resulting Numbers: [99]
99,31 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: 31:[32, 25], Operations: ['53-21=32', '59-34=25']
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,31 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[34, 27], Operations: ['59-53=6', '21+6=27']
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,31 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[34, 27], Operations: ['53-21=32', '59-32=27']
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,31 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[21, 28], Operations: ['59-53=6', '34-6=28']
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[34, 15], Operations: ['59-53=6', '21-6=15']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,31 unequal: No Solution
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[21, 40], Operations: ['59-53=6', '34+6=40']
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,31 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[6, 13], Operations: ['59-53=6', '34-21=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,31 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[59, 2], Operations: ['53-21=32', '34-32=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[59, 66], Operations: ['53-21=32', '34+32=66']
Exploring Operation: 59+66=125, Resulting Numbers: [125]
125,31 unequal: No Solution
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 59*66=3894, Resulting Numbers: [3894]
3894,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[32, 93], Operations: ['53-21=32', '34+59=93']
Exploring Operation: 32*93=2976, Resulting Numbers: [2976]
2976,31 unequal: No Solution
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 32+93=125, Resulting Numbers: [125]
125,31 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
88,
11,
92,
25
] | 10 | [
"88-11=77",
"92-25=67",
"77-67=10"
] | Current State: 10:[88, 11, 92, 25], Operations: []
Exploring Operation: 88-11=77, Resulting Numbers: [92, 25, 77]
Generated Node #2: [92, 25, 77] from Operation: 88-11=77
Current State: 10:[92, 25, 77], Operations: ['88-11=77']
Exploring Operation: 92-25=67, Resulting Numbers: [77, 67]
Generated Node #3: [77, 67] from Operation: 92-25=67
Current State: 10:[77, 67], Operations: ['88-11=77', '92-25=67']
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[88, 11, 92, 25], Operations: []
Exploring Operation: 88/11=8, Resulting Numbers: [92, 25, 8]
Generated Node #0,0: 10:[92, 25, 8] Operation: 88/11=8
Exploring Operation: 88-25=63, Resulting Numbers: [11, 92, 63]
Generated Node #0,1: 10:[11, 92, 63] Operation: 88-25=63
Exploring Operation: 92-88=4, Resulting Numbers: [11, 25, 4]
Generated Node #0,2: 10:[11, 25, 4] Operation: 92-88=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[11, 25, 4], Operations: ['92-88=4']
Exploring Operation: 11-4=7, Resulting Numbers: [25, 7]
Generated Node #0,2,0: 10:[25, 7] Operation: 11-4=7
Exploring Operation: 25-4=21, Resulting Numbers: [11, 21]
Generated Node #0,2,1: 10:[11, 21] Operation: 25-4=21
Exploring Operation: 25-11=14, Resulting Numbers: [4, 14]
Generated Node #0,2,2: 10:[4, 14] Operation: 25-11=14
Moving to Node #0,2,2
Current State: 10:[4, 14], Operations: ['92-88=4', '25-11=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,10 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[88, 11, 92, 25], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [11, 25, 4]
Generated Node #0,2: 10:[11, 25, 4] Operation: 92-88=4
Moving to Node #0,2
Current State: 10:[11, 25, 4], Operations: ['92-88=4']
Exploring Operation: 25-11=14, Resulting Numbers: [4, 14]
Generated Node #0,2,2: 10:[4, 14] Operation: 25-11=14
Moving to Node #0,2,2
Current State: 10:[4, 14], Operations: ['92-88=4', '25-11=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
31,
10,
86,
50
] | 77 | [
"31+10=41",
"86-50=36",
"41+36=77"
] | Current State: 77:[31, 10, 86, 50], Operations: []
Exploring Operation: 31+10=41, Resulting Numbers: [86, 50, 41]
Generated Node #2: [86, 50, 41] from Operation: 31+10=41
Current State: 77:[86, 50, 41], Operations: ['31+10=41']
Exploring Operation: 86-50=36, Resulting Numbers: [41, 36]
Generated Node #3: [41, 36] from Operation: 86-50=36
Current State: 77:[41, 36], Operations: ['31+10=41', '86-50=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[31, 10, 86, 50], Operations: []
Exploring Operation: 31-10=21, Resulting Numbers: [86, 50, 21]
Generated Node #0,0: 77:[86, 50, 21] Operation: 31-10=21
Exploring Operation: 50-31=19, Resulting Numbers: [10, 86, 19]
Generated Node #0,1: 77:[10, 86, 19] Operation: 50-31=19
Exploring Operation: 10+50=60, Resulting Numbers: [31, 86, 60]
Generated Node #0,2: 77:[31, 86, 60] Operation: 10+50=60
Exploring Operation: 31+50=81, Resulting Numbers: [10, 86, 81]
Generated Node #0,3: 77:[10, 86, 81] Operation: 31+50=81
Exploring Operation: 50/10=5, Resulting Numbers: [31, 86, 5]
Generated Node #0,4: 77:[31, 86, 5] Operation: 50/10=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[10, 86, 81], Operations: ['31+50=81']
Exploring Operation: 81-10=71, Resulting Numbers: [86, 71]
Generated Node #0,3,0: 77:[86, 71] Operation: 81-10=71
Exploring Operation: 10+81=91, Resulting Numbers: [86, 91]
Generated Node #0,3,1: 77:[86, 91] Operation: 10+81=91
Exploring Operation: 10+86=96, Resulting Numbers: [81, 96]
Generated Node #0,3,2: 77:[81, 96] Operation: 10+86=96
Exploring Operation: 86-10=76, Resulting Numbers: [81, 76]
Generated Node #0,3,3: 77:[81, 76] Operation: 86-10=76
Exploring Operation: 86-81=5, Resulting Numbers: [10, 5]
Generated Node #0,3,4: 77:[10, 5] Operation: 86-81=5
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 77:[10, 5], Operations: ['31+50=81', '86-81=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 77:[81, 76], Operations: ['31+50=81', '86-10=76']
Exploring Operation: 81-76=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 81+76=157, Resulting Numbers: [157]
157,77 unequal: No Solution
Exploring Operation: 81*76=6156, Resulting Numbers: [6156]
6156,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 77:[86, 71], Operations: ['31+50=81', '81-10=71']
Exploring Operation: 86-71=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 86*71=6106, Resulting Numbers: [6106]
6106,77 unequal: No Solution
Exploring Operation: 86+71=157, Resulting Numbers: [157]
157,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 77:[86, 91], Operations: ['31+50=81', '10+81=91']
Exploring Operation: 86+91=177, Resulting Numbers: [177]
177,77 unequal: No Solution
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 86*91=7826, Resulting Numbers: [7826]
7826,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 77:[81, 96], Operations: ['31+50=81', '10+86=96']
Exploring Operation: 96-81=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 81*96=7776, Resulting Numbers: [7776]
7776,77 unequal: No Solution
Exploring Operation: 81+96=177, Resulting Numbers: [177]
177,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[10, 86, 19], Operations: ['50-31=19']
Exploring Operation: 19-10=9, Resulting Numbers: [86, 9]
Generated Node #0,1,0: 77:[86, 9] Operation: 19-10=9
Exploring Operation: 10+19=29, Resulting Numbers: [86, 29]
Generated Node #0,1,1: 77:[86, 29] Operation: 10+19=29
Exploring Operation: 86-19=67, Resulting Numbers: [10, 67]
Generated Node #0,1,2: 77:[10, 67] Operation: 86-19=67
Exploring Operation: 86-10=76, Resulting Numbers: [19, 76]
Generated Node #0,1,3: 77:[19, 76] Operation: 86-10=76
Exploring Operation: 10+86=96, Resulting Numbers: [19, 96]
Generated Node #0,1,4: 77:[19, 96] Operation: 10+86=96
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 77:[19, 76], Operations: ['50-31=19', '86-10=76']
Exploring Operation: 19*76=1444, Resulting Numbers: [1444]
1444,77 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 19+76=95, Resulting Numbers: [95]
95,77 unequal: No Solution
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[86, 9], Operations: ['50-31=19', '19-10=9']
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,77 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[31, 10, 86, 50], Operations: []
Exploring Operation: 50-31=19, Resulting Numbers: [10, 86, 19]
Generated Node #0,1: 77:[10, 86, 19] Operation: 50-31=19
Moving to Node #0,1
Current State: 77:[10, 86, 19], Operations: ['50-31=19']
Exploring Operation: 19-10=9, Resulting Numbers: [86, 9]
Generated Node #0,1,0: 77:[86, 9] Operation: 19-10=9
Moving to Node #0,1,0
Current State: 77:[86, 9], Operations: ['50-31=19', '19-10=9']
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
38,
2,
47,
26
] | 33 | [
"38+2=40",
"47+26=73",
"73-40=33"
] | Current State: 33:[38, 2, 47, 26], Operations: []
Exploring Operation: 38+2=40, Resulting Numbers: [47, 26, 40]
Generated Node #2: [47, 26, 40] from Operation: 38+2=40
Current State: 33:[47, 26, 40], Operations: ['38+2=40']
Exploring Operation: 47+26=73, Resulting Numbers: [40, 73]
Generated Node #3: [40, 73] from Operation: 47+26=73
Current State: 33:[40, 73], Operations: ['38+2=40', '47+26=73']
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[38, 2, 47, 26], Operations: []
Exploring Operation: 47-38=9, Resulting Numbers: [2, 26, 9]
Generated Node #0,0: 33:[2, 26, 9] Operation: 47-38=9
Moving to Node #0,0
Current State: 33:[2, 26, 9], Operations: ['47-38=9']
Exploring Operation: 26+9=35, Resulting Numbers: [2, 35]
Generated Node #0,0,0: 33:[2, 35] Operation: 26+9=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[2, 35], Operations: ['47-38=9', '26+9=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[38, 2, 47, 26], Operations: []
Exploring Operation: 47-38=9, Resulting Numbers: [2, 26, 9]
Generated Node #0,0: 33:[2, 26, 9] Operation: 47-38=9
Moving to Node #0,0
Current State: 33:[2, 26, 9], Operations: ['47-38=9']
Exploring Operation: 26+9=35, Resulting Numbers: [2, 35]
Generated Node #0,0,0: 33:[2, 35] Operation: 26+9=35
Moving to Node #0,0,0
Current State: 33:[2, 35], Operations: ['47-38=9', '26+9=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
29,
61,
1,
87
] | 56 | [
"61-29=32",
"1+87=88",
"88-32=56"
] | Current State: 56:[29, 61, 1, 87], Operations: []
Exploring Operation: 61-29=32, Resulting Numbers: [1, 87, 32]
Generated Node #2: [1, 87, 32] from Operation: 61-29=32
Current State: 56:[1, 87, 32], Operations: ['61-29=32']
Exploring Operation: 1+87=88, Resulting Numbers: [32, 88]
Generated Node #3: [32, 88] from Operation: 1+87=88
Current State: 56:[32, 88], Operations: ['61-29=32', '1+87=88']
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[29, 61, 1, 87], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [61, 1, 3]
Generated Node #0,0: 56:[61, 1, 3] Operation: 87/29=3
Exploring Operation: 61-29=32, Resulting Numbers: [1, 87, 32]
Generated Node #0,1: 56:[1, 87, 32] Operation: 61-29=32
Exploring Operation: 87-61=26, Resulting Numbers: [29, 1, 26]
Generated Node #0,2: 56:[29, 1, 26] Operation: 87-61=26
Exploring Operation: 29-1=28, Resulting Numbers: [61, 87, 28]
Generated Node #0,3: 56:[61, 87, 28] Operation: 29-1=28
Exploring Operation: 87-29=58, Resulting Numbers: [61, 1, 58]
Generated Node #0,4: 56:[61, 1, 58] Operation: 87-29=58
Moving to Node #0,2
Current State: 56:[29, 1, 26], Operations: ['87-61=26']
Exploring Operation: 29-26=3, Resulting Numbers: [1, 3]
Generated Node #0,2,0: 56:[1, 3] Operation: 29-26=3
Exploring Operation: 29-1=28, Resulting Numbers: [26, 28]
Generated Node #0,2,1: 56:[26, 28] Operation: 29-1=28
Exploring Operation: 1+26=27, Resulting Numbers: [29, 27]
Generated Node #0,2,2: 56:[29, 27] Operation: 1+26=27
Exploring Operation: 29*1=29, Resulting Numbers: [26, 29]
Generated Node #0,2,3: 56:[26, 29] Operation: 29*1=29
Exploring Operation: 29+26=55, Resulting Numbers: [1, 55]
Generated Node #0,2,4: 56:[1, 55] Operation: 29+26=55
Moving to Node #0,0
Current State: 56:[61, 1, 3], Operations: ['87/29=3']
Exploring Operation: 3-1=2, Resulting Numbers: [61, 2]
Generated Node #0,0,0: 56:[61, 2] Operation: 3-1=2
Exploring Operation: 61*1=61, Resulting Numbers: [3, 61]
Generated Node #0,0,1: 56:[3, 61] Operation: 61*1=61
Exploring Operation: 61-3=58, Resulting Numbers: [1, 58]
Generated Node #0,0,2: 56:[1, 58] Operation: 61-3=58
Exploring Operation: 61-1=60, Resulting Numbers: [3, 60]
Generated Node #0,0,3: 56:[3, 60] Operation: 61-1=60
Exploring Operation: 1+3=4, Resulting Numbers: [61, 4]
Generated Node #0,0,4: 56:[61, 4] Operation: 1+3=4
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[1, 58], Operations: ['87/29=3', '61-3=58']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 1+58=59, Resulting Numbers: [59]
59,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[61, 2], Operations: ['87/29=3', '3-1=2']
Exploring Operation: 61*2=122, Resulting Numbers: [122]
122,56 unequal: No Solution
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 56:[3, 60], Operations: ['87/29=3', '61-1=60']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,56 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 56:[61, 4], Operations: ['87/29=3', '1+3=4']
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,56 unequal: No Solution
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[3, 61], Operations: ['87/29=3', '61*1=61']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 3+61=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 3*61=183, Resulting Numbers: [183]
183,56 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: 56:[61, 1, 58], Operations: ['87-29=58']
Exploring Operation: 61*1=61, Resulting Numbers: [58, 61]
Generated Node #0,4,0: 56:[58, 61] Operation: 61*1=61
Exploring Operation: 61-1=60, Resulting Numbers: [58, 60]
Generated Node #0,4,1: 56:[58, 60] Operation: 61-1=60
Exploring Operation: 58-1=57, Resulting Numbers: [61, 57]
Generated Node #0,4,2: 56:[61, 57] Operation: 58-1=57
Exploring Operation: 61-58=3, Resulting Numbers: [1, 3]
Generated Node #0,4,3: 56:[1, 3] Operation: 61-58=3
Exploring Operation: 61/1=61, Resulting Numbers: [58, 61]
Generated Node #0,4,4: 56:[58, 61] Operation: 61/1=61
Moving to Node #0,1
Current State: 56:[1, 87, 32], Operations: ['61-29=32']
Exploring Operation: 1*87=87, Resulting Numbers: [32, 87]
Generated Node #0,1,0: 56:[32, 87] Operation: 1*87=87
Exploring Operation: 87-32=55, Resulting Numbers: [1, 55]
Generated Node #0,1,1: 56:[1, 55] Operation: 87-32=55
Exploring Operation: 87/1=87, Resulting Numbers: [32, 87]
Generated Node #0,1,2: 56:[32, 87] Operation: 87/1=87
Exploring Operation: 32-1=31, Resulting Numbers: [87, 31]
Generated Node #0,1,3: 56:[87, 31] Operation: 32-1=31
Exploring Operation: 87-1=86, Resulting Numbers: [32, 86]
Generated Node #0,1,4: 56:[32, 86] Operation: 87-1=86
Moving to Node #0,3
Current State: 56:[61, 87, 28], Operations: ['29-1=28']
Exploring Operation: 87-28=59, Resulting Numbers: [61, 59]
Generated Node #0,3,0: 56:[61, 59] Operation: 87-28=59
Exploring Operation: 61-28=33, Resulting Numbers: [87, 33]
Generated Node #0,3,1: 56:[87, 33] Operation: 61-28=33
Exploring Operation: 87+28=115, Resulting Numbers: [61, 115]
Generated Node #0,3,2: 56:[61, 115] Operation: 87+28=115
Exploring Operation: 61+28=89, Resulting Numbers: [87, 89]
Generated Node #0,3,3: 56:[87, 89] Operation: 61+28=89
Exploring Operation: 87-61=26, Resulting Numbers: [28, 26]
Generated Node #0,3,4: 56:[28, 26] Operation: 87-61=26
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 56:[28, 26], Operations: ['29-1=28', '87-61=26']
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 56:[61, 59], Operations: ['29-1=28', '87-28=59']
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 61*59=3599, Resulting Numbers: [3599]
3599,56 unequal: No Solution
Exploring Operation: 61+59=120, Resulting Numbers: [120]
120,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[87, 33], Operations: ['29-1=28', '61-28=33']
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,56 unequal: No Solution
Exploring Operation: 87*33=2871, Resulting Numbers: [2871]
2871,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[61, 115], Operations: ['29-1=28', '87+28=115']
Exploring Operation: 115-61=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 61*115=7015, Resulting Numbers: [7015]
7015,56 unequal: No Solution
Exploring Operation: 61+115=176, Resulting Numbers: [176]
176,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[87, 89], Operations: ['29-1=28', '61+28=89']
Exploring Operation: 87+89=176, Resulting Numbers: [176]
176,56 unequal: No Solution
Exploring Operation: 87*89=7743, Resulting Numbers: [7743]
7743,56 unequal: No Solution
Exploring Operation: 89-87=2, Resulting Numbers: [2]
2,56 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: 56:[1, 3], Operations: ['87-61=26', '29-26=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[29, 27], Operations: ['87-61=26', '1+26=27']
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,56 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[29, 61, 1, 87], Operations: []
Exploring Operation: 87-61=26, Resulting Numbers: [29, 1, 26]
Generated Node #0,2: 56:[29, 1, 26] Operation: 87-61=26
Moving to Node #0,2
Current State: 56:[29, 1, 26], Operations: ['87-61=26']
Exploring Operation: 1+26=27, Resulting Numbers: [29, 27]
Generated Node #0,2,2: 56:[29, 27] Operation: 1+26=27
Moving to Node #0,2,2
Current State: 56:[29, 27], Operations: ['87-61=26', '1+26=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.936632 | hs_5 | sum_heuristic |
[
47,
71,
68,
18
] | 26 | [
"71-47=24",
"68-18=50",
"50-24=26"
] | Current State: 26:[47, 71, 68, 18], Operations: []
Exploring Operation: 71-47=24, Resulting Numbers: [68, 18, 24]
Generated Node #2: [68, 18, 24] from Operation: 71-47=24
Current State: 26:[68, 18, 24], Operations: ['71-47=24']
Exploring Operation: 68-18=50, Resulting Numbers: [24, 50]
Generated Node #3: [24, 50] from Operation: 68-18=50
Current State: 26:[24, 50], Operations: ['71-47=24', '68-18=50']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[47, 71, 68, 18], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [47, 18, 3]
Generated Node #0,0: 26:[47, 18, 3] Operation: 71-68=3
Exploring Operation: 71-47=24, Resulting Numbers: [68, 18, 24]
Generated Node #0,1: 26:[68, 18, 24] Operation: 71-47=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[47, 18, 3], Operations: ['71-68=3']
Exploring Operation: 47-3=44, Resulting Numbers: [18, 44]
Generated Node #0,0,0: 26:[18, 44] Operation: 47-3=44
Exploring Operation: 47-18=29, Resulting Numbers: [3, 29]
Generated Node #0,0,1: 26:[3, 29] Operation: 47-18=29
Moving to Node #0,0,1
Current State: 26:[3, 29], Operations: ['71-68=3', '47-18=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[47, 71, 68, 18], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [47, 18, 3]
Generated Node #0,0: 26:[47, 18, 3] Operation: 71-68=3
Moving to Node #0,0
Current State: 26:[47, 18, 3], Operations: ['71-68=3']
Exploring Operation: 47-18=29, Resulting Numbers: [3, 29]
Generated Node #0,0,1: 26:[3, 29] Operation: 47-18=29
Moving to Node #0,0,1
Current State: 26:[3, 29], Operations: ['71-68=3', '47-18=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
36,
33,
84,
90
] | 62 | [
"36-33=3",
"84/3=28",
"90-28=62"
] | Current State: 62:[36, 33, 84, 90], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [84, 90, 3]
Generated Node #2: [84, 90, 3] from Operation: 36-33=3
Current State: 62:[84, 90, 3], Operations: ['36-33=3']
Exploring Operation: 84/3=28, Resulting Numbers: [90, 28]
Generated Node #3: [90, 28] from Operation: 84/3=28
Current State: 62:[90, 28], Operations: ['36-33=3', '84/3=28']
Exploring Operation: 90-28=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[36, 33, 84, 90], Operations: []
Exploring Operation: 90-36=54, Resulting Numbers: [33, 84, 54]
Generated Node #0,0: 62:[33, 84, 54] Operation: 90-36=54
Exploring Operation: 90-84=6, Resulting Numbers: [36, 33, 6]
Generated Node #0,1: 62:[36, 33, 6] Operation: 90-84=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[36, 33, 6], Operations: ['90-84=6']
Exploring Operation: 36-6=30, Resulting Numbers: [33, 30]
Generated Node #0,1,0: 62:[33, 30] Operation: 36-6=30
Exploring Operation: 36-33=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 62:[6, 3] Operation: 36-33=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[33, 30], Operations: ['90-84=6', '36-6=30']
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[6, 3], Operations: ['90-84=6', '36-33=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[33, 84, 54], Operations: ['90-36=54']
Exploring Operation: 84-33=51, Resulting Numbers: [54, 51]
Generated Node #0,0,0: 62:[54, 51] Operation: 84-33=51
Exploring Operation: 84-54=30, Resulting Numbers: [33, 30]
Generated Node #0,0,1: 62:[33, 30] Operation: 84-54=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[33, 30], Operations: ['90-36=54', '84-54=30']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[54, 51], Operations: ['90-36=54', '84-33=51']
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 54+51=105, Resulting Numbers: [105]
105,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
94,
38,
9,
76
] | 78 | [
"38+9=47",
"94/47=2",
"76+2=78"
] | Current State: 78:[94, 38, 9, 76], Operations: []
Exploring Operation: 38+9=47, Resulting Numbers: [94, 76, 47]
Generated Node #2: [94, 76, 47] from Operation: 38+9=47
Current State: 78:[94, 76, 47], Operations: ['38+9=47']
Exploring Operation: 94/47=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 94/47=2
Current State: 78:[76, 2], Operations: ['38+9=47', '94/47=2']
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[94, 38, 9, 76], Operations: []
Exploring Operation: 94-76=18, Resulting Numbers: [38, 9, 18]
Generated Node #0,0: 78:[38, 9, 18] Operation: 94-76=18
Exploring Operation: 76/38=2, Resulting Numbers: [94, 9, 2]
Generated Node #0,1: 78:[94, 9, 2] Operation: 76/38=2
Exploring Operation: 76-38=38, Resulting Numbers: [94, 9, 38]
Generated Node #0,2: 78:[94, 9, 38] Operation: 76-38=38
Exploring Operation: 94-9=85, Resulting Numbers: [38, 76, 85]
Generated Node #0,3: 78:[38, 76, 85] Operation: 94-9=85
Moving to Node #0,0
Current State: 78:[38, 9, 18], Operations: ['94-76=18']
Exploring Operation: 9+18=27, Resulting Numbers: [38, 27]
Generated Node #0,0,0: 78:[38, 27] Operation: 9+18=27
Exploring Operation: 38-9=29, Resulting Numbers: [18, 29]
Generated Node #0,0,1: 78:[18, 29] Operation: 38-9=29
Exploring Operation: 18-9=9, Resulting Numbers: [38, 9]
Generated Node #0,0,2: 78:[38, 9] Operation: 18-9=9
Exploring Operation: 18/9=2, Resulting Numbers: [38, 2]
Generated Node #0,0,3: 78:[38, 2] Operation: 18/9=2
Moving to Node #0,3
Current State: 78:[38, 76, 85], Operations: ['94-9=85']
Exploring Operation: 85-38=47, Resulting Numbers: [76, 47]
Generated Node #0,3,0: 78:[76, 47] Operation: 85-38=47
Exploring Operation: 76/38=2, Resulting Numbers: [85, 2]
Generated Node #0,3,1: 78:[85, 2] Operation: 76/38=2
Exploring Operation: 85-76=9, Resulting Numbers: [38, 9]
Generated Node #0,3,2: 78:[38, 9] Operation: 85-76=9
Exploring Operation: 76-38=38, Resulting Numbers: [85, 38]
Generated Node #0,3,3: 78:[85, 38] Operation: 76-38=38
Moving to Node #0,1
Current State: 78:[94, 9, 2], Operations: ['76/38=2']
Exploring Operation: 94-2=92, Resulting Numbers: [9, 92]
Generated Node #0,1,0: 78:[9, 92] Operation: 94-2=92
Exploring Operation: 94/2=47, Resulting Numbers: [9, 47]
Generated Node #0,1,1: 78:[9, 47] Operation: 94/2=47
Exploring Operation: 9-2=7, Resulting Numbers: [94, 7]
Generated Node #0,1,2: 78:[94, 7] Operation: 9-2=7
Exploring Operation: 94-9=85, Resulting Numbers: [2, 85]
Generated Node #0,1,3: 78:[2, 85] Operation: 94-9=85
Moving to Node #0,2
Current State: 78:[94, 9, 38], Operations: ['76-38=38']
Exploring Operation: 38-9=29, Resulting Numbers: [94, 29]
Generated Node #0,2,0: 78:[94, 29] Operation: 38-9=29
Exploring Operation: 94-38=56, Resulting Numbers: [9, 56]
Generated Node #0,2,1: 78:[9, 56] Operation: 94-38=56
Exploring Operation: 9+38=47, Resulting Numbers: [94, 47]
Generated Node #0,2,2: 78:[94, 47] Operation: 9+38=47
Exploring Operation: 94-9=85, Resulting Numbers: [38, 85]
Generated Node #0,2,3: 78:[38, 85] Operation: 94-9=85
Moving to Node #0,0,3
Current State: 78:[38, 2], Operations: ['94-76=18', '18/9=2']
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[38, 27], Operations: ['94-76=18', '9+18=27']
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,78 unequal: No Solution
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,78 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[38, 9], Operations: ['94-76=18', '18-9=9']
Exploring Operation: 38*9=342, Resulting Numbers: [342]
342,78 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,78 unequal: No Solution
Moving to Node #0,3,2
Current State: 78:[38, 9], Operations: ['94-9=85', '85-76=9']
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 38*9=342, Resulting Numbers: [342]
342,78 unequal: No Solution
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[85, 2], Operations: ['94-9=85', '76/38=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,78 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,78 unequal: No Solution
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,78 unequal: No Solution
Moving to Node #0,1,3
Current State: 78:[2, 85], Operations: ['76/38=2', '94-9=85']
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,78 unequal: No Solution
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,78 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,78 unequal: No Solution
Moving to Node #0,3,3
Current State: 78:[85, 38], Operations: ['94-9=85', '76-38=38']
Exploring Operation: 85+38=123, Resulting Numbers: [123]
123,78 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,78 unequal: No Solution
Exploring Operation: 85*38=3230, Resulting Numbers: [3230]
3230,78 unequal: No Solution
Moving to Node #0,2,3
Current State: 78:[38, 85], Operations: ['76-38=38', '94-9=85']
Exploring Operation: 38+85=123, Resulting Numbers: [123]
123,78 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,78 unequal: No Solution
Exploring Operation: 38*85=3230, Resulting Numbers: [3230]
3230,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[18, 29], Operations: ['94-76=18', '38-9=29']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,78 unequal: No Solution
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,78 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,78 unequal: No Solution
Moving to Node #0,3,0
Current State: 78:[76, 47], Operations: ['94-9=85', '85-38=47']
Exploring Operation: 76+47=123, Resulting Numbers: [123]
123,78 unequal: No Solution
Exploring Operation: 76*47=3572, Resulting Numbers: [3572]
3572,78 unequal: No Solution
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[9, 47], Operations: ['76/38=2', '94/2=47']
Exploring Operation: 9*47=423, Resulting Numbers: [423]
423,78 unequal: No Solution
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[9, 92], Operations: ['76/38=2', '94-2=92']
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,78 unequal: No Solution
Exploring Operation: 9*92=828, Resulting Numbers: [828]
828,78 unequal: No Solution
Exploring Operation: 9+92=101, Resulting Numbers: [101]
101,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[94, 7], Operations: ['76/38=2', '9-2=7']
Exploring Operation: 94+7=101, Resulting Numbers: [101]
101,78 unequal: No Solution
Exploring Operation: 94*7=658, Resulting Numbers: [658]
658,78 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,78 unequal: No Solution
Moving to Node #0,2,0
Current State: 78:[94, 29], Operations: ['76-38=38', '38-9=29']
Exploring Operation: 94+29=123, Resulting Numbers: [123]
123,78 unequal: No Solution
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,78 unequal: No Solution
Exploring Operation: 94*29=2726, Resulting Numbers: [2726]
2726,78 unequal: No Solution
Moving to Node #0,2,1
Current State: 78:[9, 56], Operations: ['76-38=38', '94-38=56']
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,78 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,78 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[94, 47], Operations: ['76-38=38', '9+38=47']
Exploring Operation: 94/47=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 94*47=4418, Resulting Numbers: [4418]
4418,78 unequal: No Solution
Exploring Operation: 94+47=141, Resulting Numbers: [141]
141,78 unequal: No Solution
Exploring Operation: 94-47=47, Resulting Numbers: [47]
47,78 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
96,
87,
34,
6
] | 84 | [
"96+6=102",
"102/34=3",
"87-3=84"
] | Current State: 84:[96, 87, 34, 6], Operations: []
Exploring Operation: 96+6=102, Resulting Numbers: [87, 34, 102]
Generated Node #2: [87, 34, 102] from Operation: 96+6=102
Current State: 84:[87, 34, 102], Operations: ['96+6=102']
Exploring Operation: 102/34=3, Resulting Numbers: [87, 3]
Generated Node #3: [87, 3] from Operation: 102/34=3
Current State: 84:[87, 3], Operations: ['96+6=102', '102/34=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[96, 87, 34, 6], Operations: []
Exploring Operation: 96-6=90, Resulting Numbers: [87, 34, 90]
Generated Node #0,0: 84:[87, 34, 90] Operation: 96-6=90
Exploring Operation: 96-87=9, Resulting Numbers: [34, 6, 9]
Generated Node #0,1: 84:[34, 6, 9] Operation: 96-87=9
Exploring Operation: 96/6=16, Resulting Numbers: [87, 34, 16]
Generated Node #0,2: 84:[87, 34, 16] Operation: 96/6=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[34, 6, 9], Operations: ['96-87=9']
Exploring Operation: 34-6=28, Resulting Numbers: [9, 28]
Generated Node #0,1,0: 84:[9, 28] Operation: 34-6=28
Exploring Operation: 34-9=25, Resulting Numbers: [6, 25]
Generated Node #0,1,1: 84:[6, 25] Operation: 34-9=25
Exploring Operation: 34+9=43, Resulting Numbers: [6, 43]
Generated Node #0,1,2: 84:[6, 43] Operation: 34+9=43
Moving to Node #0,1,2
Current State: 84:[6, 43], Operations: ['96-87=9', '34+9=43']
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,84 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[9, 28], Operations: ['96-87=9', '34-6=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[6, 25], Operations: ['96-87=9', '34-9=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,84 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,84 unequal: No Solution
No 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: 84:[87, 34, 16], Operations: ['96/6=16']
Exploring Operation: 34-16=18, Resulting Numbers: [87, 18]
Generated Node #0,2,0: 84:[87, 18] Operation: 34-16=18
Exploring Operation: 34+16=50, Resulting Numbers: [87, 50]
Generated Node #0,2,1: 84:[87, 50] Operation: 34+16=50
Exploring Operation: 87-34=53, Resulting Numbers: [16, 53]
Generated Node #0,2,2: 84:[16, 53] Operation: 87-34=53
Moving to Node #0,2,0
Current State: 84:[87, 18], Operations: ['96/6=16', '34-16=18']
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,84 unequal: No Solution
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[87, 50], Operations: ['96/6=16', '34+16=50']
Exploring Operation: 87*50=4350, Resulting Numbers: [4350]
4350,84 unequal: No Solution
Exploring Operation: 87-50=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 87+50=137, Resulting Numbers: [137]
137,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[16, 53], Operations: ['96/6=16', '87-34=53']
Exploring Operation: 16*53=848, Resulting Numbers: [848]
848,84 unequal: No Solution
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 16+53=69, Resulting Numbers: [69]
69,84 unequal: No Solution
No 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: 84:[87, 34, 90], Operations: ['96-6=90']
Exploring Operation: 87-34=53, Resulting Numbers: [90, 53]
Generated Node #0,0,0: 84:[90, 53] Operation: 87-34=53
Exploring Operation: 90-34=56, Resulting Numbers: [87, 56]
Generated Node #0,0,1: 84:[87, 56] Operation: 90-34=56
Exploring Operation: 90-87=3, Resulting Numbers: [34, 3]
Generated Node #0,0,2: 84:[34, 3] Operation: 90-87=3
Moving to Node #0,0,2
Current State: 84:[34, 3], Operations: ['96-6=90', '90-87=3']
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,84 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[90, 53], Operations: ['96-6=90', '87-34=53']
Exploring Operation: 90+53=143, Resulting Numbers: [143]
143,84 unequal: No Solution
Exploring Operation: 90-53=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 90*53=4770, Resulting Numbers: [4770]
4770,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[87, 56], Operations: ['96-6=90', '90-34=56']
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 87*56=4872, Resulting Numbers: [4872]
4872,84 unequal: No Solution
Exploring Operation: 87+56=143, Resulting Numbers: [143]
143,84 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 |
[
64,
62,
64,
59
] | 10 | [
"64-62=2",
"64-59=5",
"2*5=10"
] | Current State: 10:[64, 62, 64, 59], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [59, 2]
Generated Node #2: [59, 2] from Operation: 64-62=2
Current State: 10:[59, 2], Operations: ['64-62=2']
Exploring Operation: 64-59=5, Resulting Numbers: [2, 5]
Generated Node #3: [2, 5] from Operation: 64-59=5
Current State: 10:[2, 5], Operations: ['64-62=2', '64-59=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[64, 62, 64, 59], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [64, 59, 2]
Generated Node #0,0: 10:[64, 59, 2] Operation: 64-62=2
Exploring Operation: 64-59=5, Resulting Numbers: [62, 64, 5]
Generated Node #0,1: 10:[62, 64, 5] Operation: 64-59=5
Exploring Operation: 64/64=1, Resulting Numbers: [62, 59, 1]
Generated Node #0,2: 10:[62, 59, 1] Operation: 64/64=1
Exploring Operation: 64-64=0, Resulting Numbers: [62, 59, 0]
Generated Node #0,3: 10:[62, 59, 0] Operation: 64-64=0
Exploring Operation: 64-62=2, Resulting Numbers: [64, 59, 2]
Generated Node #0,4: 10:[64, 59, 2] Operation: 64-62=2
Moving to Node #0,2
Current State: 10:[62, 59, 1], Operations: ['64/64=1']
Exploring Operation: 59-1=58, Resulting Numbers: [62, 58]
Generated Node #0,2,0: 10:[62, 58] Operation: 59-1=58
Exploring Operation: 62*1=62, Resulting Numbers: [59, 62]
Generated Node #0,2,1: 10:[59, 62] Operation: 62*1=62
Exploring Operation: 62-1=61, Resulting Numbers: [59, 61]
Generated Node #0,2,2: 10:[59, 61] Operation: 62-1=61
Exploring Operation: 62/1=62, Resulting Numbers: [59, 62]
Generated Node #0,2,3: 10:[59, 62] Operation: 62/1=62
Exploring Operation: 62-59=3, Resulting Numbers: [1, 3]
Generated Node #0,2,4: 10:[1, 3] Operation: 62-59=3
Moving to Node #0,3
Current State: 10:[62, 59, 0], Operations: ['64-64=0']
Exploring Operation: 62-59=3, Resulting Numbers: [0, 3]
Generated Node #0,3,0: 10:[0, 3] Operation: 62-59=3
Exploring Operation: 62+0=62, Resulting Numbers: [59, 62]
Generated Node #0,3,1: 10:[59, 62] Operation: 62+0=62
Exploring Operation: 62*0=0, Resulting Numbers: [59, 0]
Generated Node #0,3,2: 10:[59, 0] Operation: 62*0=0
Exploring Operation: 59*0=0, Resulting Numbers: [62, 0]
Generated Node #0,3,3: 10:[62, 0] Operation: 59*0=0
Exploring Operation: 62-0=62, Resulting Numbers: [59, 62]
Generated Node #0,3,4: 10:[59, 62] Operation: 62-0=62
Moving to Node #0,0
Current State: 10:[64, 59, 2], Operations: ['64-62=2']
Exploring Operation: 64/2=32, Resulting Numbers: [59, 32]
Generated Node #0,0,0: 10:[59, 32] Operation: 64/2=32
Exploring Operation: 64+2=66, Resulting Numbers: [59, 66]
Generated Node #0,0,1: 10:[59, 66] Operation: 64+2=66
Exploring Operation: 64-2=62, Resulting Numbers: [59, 62]
Generated Node #0,0,2: 10:[59, 62] Operation: 64-2=62
Exploring Operation: 59-2=57, Resulting Numbers: [64, 57]
Generated Node #0,0,3: 10:[64, 57] Operation: 59-2=57
Exploring Operation: 64-59=5, Resulting Numbers: [2, 5]
Generated Node #0,0,4: 10:[2, 5] Operation: 64-59=5
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 10:[2, 5], Operations: ['64-62=2', '64-59=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[64, 62, 64, 59], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [64, 59, 2]
Generated Node #0,0: 10:[64, 59, 2] Operation: 64-62=2
Moving to Node #0,0
Current State: 10:[64, 59, 2], Operations: ['64-62=2']
Exploring Operation: 64-59=5, Resulting Numbers: [2, 5]
Generated Node #0,0,4: 10:[2, 5] Operation: 64-59=5
Moving to Node #0,0,4
Current State: 10:[2, 5], Operations: ['64-62=2', '64-59=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
30,
12,
4,
34
] | 94 | [
"30+12=42",
"4*34=136",
"136-42=94"
] | Current State: 94:[30, 12, 4, 34], Operations: []
Exploring Operation: 30+12=42, Resulting Numbers: [4, 34, 42]
Generated Node #2: [4, 34, 42] from Operation: 30+12=42
Current State: 94:[4, 34, 42], Operations: ['30+12=42']
Exploring Operation: 4*34=136, Resulting Numbers: [42, 136]
Generated Node #3: [42, 136] from Operation: 4*34=136
Current State: 94:[42, 136], Operations: ['30+12=42', '4*34=136']
Exploring Operation: 136-42=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[30, 12, 4, 34], Operations: []
Exploring Operation: 30+12=42, Resulting Numbers: [4, 34, 42]
Generated Node #0,0: 94:[4, 34, 42] Operation: 30+12=42
Exploring Operation: 34-30=4, Resulting Numbers: [12, 4, 4]
Generated Node #0,1: 94:[12, 4, 4] Operation: 34-30=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[12, 4, 4], Operations: ['34-30=4']
Exploring Operation: 12/4=3, Resulting Numbers: [4, 3]
Generated Node #0,1,0: 94:[4, 3] Operation: 12/4=3
Exploring Operation: 12*4=48, Resulting Numbers: [4, 48]
Generated Node #0,1,1: 94:[4, 48] Operation: 12*4=48
Moving to Node #0,1,0
Current State: 94:[4, 3], Operations: ['34-30=4', '12/4=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[4, 48], Operations: ['34-30=4', '12*4=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[4, 34, 42], Operations: ['30+12=42']
Exploring Operation: 4+34=38, Resulting Numbers: [42, 38]
Generated Node #0,0,0: 94:[42, 38] Operation: 4+34=38
Exploring Operation: 42-34=8, Resulting Numbers: [4, 8]
Generated Node #0,0,1: 94:[4, 8] Operation: 42-34=8
Moving to Node #0,0,1
Current State: 94:[4, 8], Operations: ['30+12=42', '42-34=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[42, 38], Operations: ['30+12=42', '4+34=38']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,94 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 |
[
38,
8,
30,
33
] | 62 | [
"33-30=3",
"8*3=24",
"38+24=62"
] | Current State: 62:[38, 8, 30, 33], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [38, 8, 3]
Generated Node #2: [38, 8, 3] from Operation: 33-30=3
Current State: 62:[38, 8, 3], Operations: ['33-30=3']
Exploring Operation: 8*3=24, Resulting Numbers: [38, 24]
Generated Node #3: [38, 24] from Operation: 8*3=24
Current State: 62:[38, 24], Operations: ['33-30=3', '8*3=24']
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[38, 8, 30, 33], Operations: []
Exploring Operation: 38-8=30, Resulting Numbers: [30, 33, 30]
Generated Node #0,0: 62:[30, 33, 30] Operation: 38-8=30
Moving to Node #0,0
Current State: 62:[30, 33, 30], Operations: ['38-8=30']
Exploring Operation: 30+33=63, Resulting Numbers: [30, 63]
Generated Node #0,0,0: 62:[30, 63] Operation: 30+33=63
Moving to Node #0,0,0
Current State: 62:[30, 63], Operations: ['38-8=30', '30+33=63']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,62 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
88,
72,
68,
13
] | 35 | [
"72-68=4",
"88/4=22",
"13+22=35"
] | Current State: 35:[88, 72, 68, 13], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [88, 13, 4]
Generated Node #2: [88, 13, 4] from Operation: 72-68=4
Current State: 35:[88, 13, 4], Operations: ['72-68=4']
Exploring Operation: 88/4=22, Resulting Numbers: [13, 22]
Generated Node #3: [13, 22] from Operation: 88/4=22
Current State: 35:[13, 22], Operations: ['72-68=4', '88/4=22']
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[88, 72, 68, 13], Operations: []
Exploring Operation: 72-13=59, Resulting Numbers: [88, 68, 59]
Generated Node #0,0: 35:[88, 68, 59] Operation: 72-13=59
Exploring Operation: 88-68=20, Resulting Numbers: [72, 13, 20]
Generated Node #0,1: 35:[72, 13, 20] Operation: 88-68=20
Exploring Operation: 88-13=75, Resulting Numbers: [72, 68, 75]
Generated Node #0,2: 35:[72, 68, 75] Operation: 88-13=75
Exploring Operation: 88-72=16, Resulting Numbers: [68, 13, 16]
Generated Node #0,3: 35:[68, 13, 16] Operation: 88-72=16
Exploring Operation: 72-68=4, Resulting Numbers: [88, 13, 4]
Generated Node #0,4: 35:[88, 13, 4] Operation: 72-68=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[68, 13, 16], Operations: ['88-72=16']
Exploring Operation: 16-13=3, Resulting Numbers: [68, 3]
Generated Node #0,3,0: 35:[68, 3] Operation: 16-13=3
Exploring Operation: 68+13=81, Resulting Numbers: [16, 81]
Generated Node #0,3,1: 35:[16, 81] Operation: 68+13=81
Exploring Operation: 13+16=29, Resulting Numbers: [68, 29]
Generated Node #0,3,2: 35:[68, 29] Operation: 13+16=29
Exploring Operation: 68-16=52, Resulting Numbers: [13, 52]
Generated Node #0,3,3: 35:[13, 52] Operation: 68-16=52
Exploring Operation: 68-13=55, Resulting Numbers: [16, 55]
Generated Node #0,3,4: 35:[16, 55] Operation: 68-13=55
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[13, 52], Operations: ['88-72=16', '68-16=52']
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 13*52=676, Resulting Numbers: [676]
676,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 35:[16, 55], Operations: ['88-72=16', '68-13=55']
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,35 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[68, 3], Operations: ['88-72=16', '16-13=3']
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,35 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[68, 29], Operations: ['88-72=16', '13+16=29']
Exploring Operation: 68+29=97, Resulting Numbers: [97]
97,35 unequal: No Solution
Exploring Operation: 68*29=1972, Resulting Numbers: [1972]
1972,35 unequal: No Solution
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[16, 81], Operations: ['88-72=16', '68+13=81']
Exploring Operation: 16*81=1296, Resulting Numbers: [1296]
1296,35 unequal: No Solution
Exploring Operation: 16+81=97, Resulting Numbers: [97]
97,35 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[72, 13, 20], Operations: ['88-68=20']
Exploring Operation: 72-13=59, Resulting Numbers: [20, 59]
Generated Node #0,1,0: 35:[20, 59] Operation: 72-13=59
Exploring Operation: 13+20=33, Resulting Numbers: [72, 33]
Generated Node #0,1,1: 35:[72, 33] Operation: 13+20=33
Exploring Operation: 20-13=7, Resulting Numbers: [72, 7]
Generated Node #0,1,2: 35:[72, 7] Operation: 20-13=7
Exploring Operation: 72+13=85, Resulting Numbers: [20, 85]
Generated Node #0,1,3: 35:[20, 85] Operation: 72+13=85
Exploring Operation: 72-20=52, Resulting Numbers: [13, 52]
Generated Node #0,1,4: 35:[13, 52] Operation: 72-20=52
Moving to Node #0,1,4
Current State: 35:[13, 52], Operations: ['88-68=20', '72-20=52']
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 13*52=676, Resulting Numbers: [676]
676,35 unequal: No Solution
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[72, 7], Operations: ['88-68=20', '20-13=7']
Exploring Operation: 72*7=504, Resulting Numbers: [504]
504,35 unequal: No Solution
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[20, 59], Operations: ['88-68=20', '72-13=59']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 20*59=1180, Resulting Numbers: [1180]
1180,35 unequal: No Solution
Exploring Operation: 20+59=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[72, 33], Operations: ['88-68=20', '13+20=33']
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 72+33=105, Resulting Numbers: [105]
105,35 unequal: No Solution
Exploring Operation: 72*33=2376, Resulting Numbers: [2376]
2376,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[20, 85], Operations: ['88-68=20', '72+13=85']
Exploring Operation: 20*85=1700, Resulting Numbers: [1700]
1700,35 unequal: No Solution
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 20+85=105, Resulting Numbers: [105]
105,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 35:[88, 13, 4], Operations: ['72-68=4']
Exploring Operation: 88+4=92, Resulting Numbers: [13, 92]
Generated Node #0,4,0: 35:[13, 92] Operation: 88+4=92
Exploring Operation: 88-4=84, Resulting Numbers: [13, 84]
Generated Node #0,4,1: 35:[13, 84] Operation: 88-4=84
Exploring Operation: 13-4=9, Resulting Numbers: [88, 9]
Generated Node #0,4,2: 35:[88, 9] Operation: 13-4=9
Exploring Operation: 88-13=75, Resulting Numbers: [4, 75]
Generated Node #0,4,3: 35:[4, 75] Operation: 88-13=75
Exploring Operation: 88/4=22, Resulting Numbers: [13, 22]
Generated Node #0,4,4: 35:[13, 22] Operation: 88/4=22
Moving to Node #0,4,4
Current State: 35:[13, 22], Operations: ['72-68=4', '88/4=22']
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,35 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[88, 72, 68, 13], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [88, 13, 4]
Generated Node #0,4: 35:[88, 13, 4] Operation: 72-68=4
Moving to Node #0,4
Current State: 35:[88, 13, 4], Operations: ['72-68=4']
Exploring Operation: 88/4=22, Resulting Numbers: [13, 22]
Generated Node #0,4,4: 35:[13, 22] Operation: 88/4=22
Moving to Node #0,4,4
Current State: 35:[13, 22], Operations: ['72-68=4', '88/4=22']
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.948785 | hs_5 | sum_heuristic |
[
84,
29,
29,
59
] | 26 | [
"84-59=25",
"29/29=1",
"25+1=26"
] | Current State: 26:[84, 29, 29, 59], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [29, 29, 25]
Generated Node #2: [29, 29, 25] from Operation: 84-59=25
Current State: 26:[29, 29, 25], Operations: ['84-59=25']
Exploring Operation: 29/29=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 29/29=1
Current State: 26:[25, 1], Operations: ['84-59=25', '29/29=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[84, 29, 29, 59], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [29, 29, 25]
Generated Node #0,0: 26:[29, 29, 25] Operation: 84-59=25
Exploring Operation: 84-29=55, Resulting Numbers: [29, 59, 55]
Generated Node #0,1: 26:[29, 59, 55] Operation: 84-29=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[29, 29, 25], Operations: ['84-59=25']
Exploring Operation: 29/29=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 26:[25, 1] Operation: 29/29=1
Exploring Operation: 29-29=0, Resulting Numbers: [25, 0]
Generated Node #0,0,1: 26:[25, 0] Operation: 29-29=0
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[25, 1], Operations: ['84-59=25', '29/29=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[84, 29, 29, 59], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [29, 29, 25]
Generated Node #0,0: 26:[29, 29, 25] Operation: 84-59=25
Moving to Node #0,0
Current State: 26:[29, 29, 25], Operations: ['84-59=25']
Exploring Operation: 29/29=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 26:[25, 1] Operation: 29/29=1
Moving to Node #0,0,0
Current State: 26:[25, 1], Operations: ['84-59=25', '29/29=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
15,
54,
21,
26
] | 34 | [
"54-15=39",
"26-21=5",
"39-5=34"
] | Current State: 34:[15, 54, 21, 26], Operations: []
Exploring Operation: 54-15=39, Resulting Numbers: [21, 26, 39]
Generated Node #2: [21, 26, 39] from Operation: 54-15=39
Current State: 34:[21, 26, 39], Operations: ['54-15=39']
Exploring Operation: 26-21=5, Resulting Numbers: [39, 5]
Generated Node #3: [39, 5] from Operation: 26-21=5
Current State: 34:[39, 5], Operations: ['54-15=39', '26-21=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[15, 54, 21, 26], Operations: []
Exploring Operation: 54-21=33, Resulting Numbers: [15, 26, 33]
Generated Node #0,0: 34:[15, 26, 33] Operation: 54-21=33
Moving to Node #0,0
Current State: 34:[15, 26, 33], Operations: ['54-21=33']
Exploring Operation: 26-15=11, Resulting Numbers: [33, 11]
Generated Node #0,0,0: 34:[33, 11] Operation: 26-15=11
Moving to Node #0,0,0
Current State: 34:[33, 11], Operations: ['54-21=33', '26-15=11']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,34 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
42,
54,
24,
22
] | 10 | [
"54-42=12",
"24-22=2",
"12-2=10"
] | Current State: 10:[42, 54, 24, 22], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [24, 22, 12]
Generated Node #2: [24, 22, 12] from Operation: 54-42=12
Current State: 10:[24, 22, 12], Operations: ['54-42=12']
Exploring Operation: 24-22=2, Resulting Numbers: [12, 2]
Generated Node #3: [12, 2] from Operation: 24-22=2
Current State: 10:[12, 2], Operations: ['54-42=12', '24-22=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[42, 54, 24, 22], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [24, 22, 12]
Generated Node #0,0: 10:[24, 22, 12] Operation: 54-42=12
Moving to Node #0,0
Current State: 10:[24, 22, 12], Operations: ['54-42=12']
Exploring Operation: 24-22=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 10:[12, 2] Operation: 24-22=2
Moving to Node #0,0,0
Current State: 10:[12, 2], Operations: ['54-42=12', '24-22=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[42, 54, 24, 22], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [24, 22, 12]
Generated Node #0,0: 10:[24, 22, 12] Operation: 54-42=12
Moving to Node #0,0
Current State: 10:[24, 22, 12], Operations: ['54-42=12']
Exploring Operation: 24-22=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 10:[12, 2] Operation: 24-22=2
Moving to Node #0,0,0
Current State: 10:[12, 2], Operations: ['54-42=12', '24-22=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
30,
12,
5,
66
] | 19 | [
"30+12=42",
"66-5=61",
"61-42=19"
] | Current State: 19:[30, 12, 5, 66], Operations: []
Exploring Operation: 30+12=42, Resulting Numbers: [5, 66, 42]
Generated Node #2: [5, 66, 42] from Operation: 30+12=42
Current State: 19:[5, 66, 42], Operations: ['30+12=42']
Exploring Operation: 66-5=61, Resulting Numbers: [42, 61]
Generated Node #3: [42, 61] from Operation: 66-5=61
Current State: 19:[42, 61], Operations: ['30+12=42', '66-5=61']
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[30, 12, 5, 66], Operations: []
Exploring Operation: 30-5=25, Resulting Numbers: [12, 66, 25]
Generated Node #0,0: 19:[12, 66, 25] Operation: 30-5=25
Exploring Operation: 66-30=36, Resulting Numbers: [12, 5, 36]
Generated Node #0,1: 19:[12, 5, 36] Operation: 66-30=36
Exploring Operation: 12+5=17, Resulting Numbers: [30, 66, 17]
Generated Node #0,2: 19:[30, 66, 17] Operation: 12+5=17
Moving to Node #0,1
Current State: 19:[12, 5, 36], Operations: ['66-30=36']
Exploring Operation: 12+5=17, Resulting Numbers: [36, 17]
Generated Node #0,1,0: 19:[36, 17] Operation: 12+5=17
Exploring Operation: 36-12=24, Resulting Numbers: [5, 24]
Generated Node #0,1,1: 19:[5, 24] Operation: 36-12=24
Exploring Operation: 36-5=31, Resulting Numbers: [12, 31]
Generated Node #0,1,2: 19:[12, 31] Operation: 36-5=31
Moving to Node #0,0
Current State: 19:[12, 66, 25], Operations: ['30-5=25']
Exploring Operation: 25-12=13, Resulting Numbers: [66, 13]
Generated Node #0,0,0: 19:[66, 13] Operation: 25-12=13
Exploring Operation: 66-12=54, Resulting Numbers: [25, 54]
Generated Node #0,0,1: 19:[25, 54] Operation: 66-12=54
Exploring Operation: 66-25=41, Resulting Numbers: [12, 41]
Generated Node #0,0,2: 19:[12, 41] Operation: 66-25=41
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[12, 41], Operations: ['30-5=25', '66-25=41']
Exploring Operation: 12*41=492, Resulting Numbers: [492]
492,19 unequal: No Solution
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 12+41=53, Resulting Numbers: [53]
53,19 unequal: No Solution
No 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: 19:[25, 54], Operations: ['30-5=25', '66-12=54']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 25*54=1350, Resulting Numbers: [1350]
1350,19 unequal: No Solution
Exploring Operation: 25+54=79, Resulting Numbers: [79]
79,19 unequal: No Solution
No 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: 19:[66, 13], Operations: ['30-5=25', '25-12=13']
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 66+13=79, Resulting Numbers: [79]
79,19 unequal: No Solution
Exploring Operation: 66*13=858, Resulting Numbers: [858]
858,19 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: 19:[30, 66, 17], Operations: ['12+5=17']
Exploring Operation: 66-30=36, Resulting Numbers: [17, 36]
Generated Node #0,2,0: 19:[17, 36] Operation: 66-30=36
Exploring Operation: 66-17=49, Resulting Numbers: [30, 49]
Generated Node #0,2,1: 19:[30, 49] Operation: 66-17=49
Exploring Operation: 30-17=13, Resulting Numbers: [66, 13]
Generated Node #0,2,2: 19:[66, 13] Operation: 30-17=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[17, 36], Operations: ['12+5=17', '66-30=36']
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,19 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[30, 12, 5, 66], Operations: []
Exploring Operation: 12+5=17, Resulting Numbers: [30, 66, 17]
Generated Node #0,2: 19:[30, 66, 17] Operation: 12+5=17
Moving to Node #0,2
Current State: 19:[30, 66, 17], Operations: ['12+5=17']
Exploring Operation: 66-30=36, Resulting Numbers: [17, 36]
Generated Node #0,2,0: 19:[17, 36] Operation: 66-30=36
Moving to Node #0,2,0
Current State: 19:[17, 36], Operations: ['12+5=17', '66-30=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
25,
95,
16,
90
] | 14 | [
"25+95=120",
"16+90=106",
"120-106=14"
] | Current State: 14:[25, 95, 16, 90], Operations: []
Exploring Operation: 25+95=120, Resulting Numbers: [16, 90, 120]
Generated Node #2: [16, 90, 120] from Operation: 25+95=120
Current State: 14:[16, 90, 120], Operations: ['25+95=120']
Exploring Operation: 16+90=106, Resulting Numbers: [120, 106]
Generated Node #3: [120, 106] from Operation: 16+90=106
Current State: 14:[120, 106], Operations: ['25+95=120', '16+90=106']
Exploring Operation: 120-106=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[25, 95, 16, 90], Operations: []
Exploring Operation: 90-16=74, Resulting Numbers: [25, 95, 74]
Generated Node #0,0: 14:[25, 95, 74] Operation: 90-16=74
Exploring Operation: 90-25=65, Resulting Numbers: [95, 16, 65]
Generated Node #0,1: 14:[95, 16, 65] Operation: 90-25=65
Exploring Operation: 95-90=5, Resulting Numbers: [25, 16, 5]
Generated Node #0,2: 14:[25, 16, 5] Operation: 95-90=5
Exploring Operation: 95-16=79, Resulting Numbers: [25, 90, 79]
Generated Node #0,3: 14:[25, 90, 79] Operation: 95-16=79
Exploring Operation: 95-25=70, Resulting Numbers: [16, 90, 70]
Generated Node #0,4: 14:[16, 90, 70] Operation: 95-25=70
Moving to Node #0,2
Current State: 14:[25, 16, 5], Operations: ['95-90=5']
Exploring Operation: 25/5=5, Resulting Numbers: [16, 5]
Generated Node #0,2,0: 14:[16, 5] Operation: 25/5=5
Exploring Operation: 25-5=20, Resulting Numbers: [16, 20]
Generated Node #0,2,1: 14:[16, 20] Operation: 25-5=20
Exploring Operation: 16-5=11, Resulting Numbers: [25, 11]
Generated Node #0,2,2: 14:[25, 11] Operation: 16-5=11
Exploring Operation: 25-16=9, Resulting Numbers: [5, 9]
Generated Node #0,2,3: 14:[5, 9] Operation: 25-16=9
Exploring Operation: 25+5=30, Resulting Numbers: [16, 30]
Generated Node #0,2,4: 14:[16, 30] Operation: 25+5=30
Moving to Node #0,4
Current State: 14:[16, 90, 70], Operations: ['95-25=70']
Exploring Operation: 16+90=106, Resulting Numbers: [70, 106]
Generated Node #0,4,0: 14:[70, 106] Operation: 16+90=106
Exploring Operation: 70-16=54, Resulting Numbers: [90, 54]
Generated Node #0,4,1: 14:[90, 54] Operation: 70-16=54
Exploring Operation: 90-16=74, Resulting Numbers: [70, 74]
Generated Node #0,4,2: 14:[70, 74] Operation: 90-16=74
Exploring Operation: 90-70=20, Resulting Numbers: [16, 20]
Generated Node #0,4,3: 14:[16, 20] Operation: 90-70=20
Exploring Operation: 16+70=86, Resulting Numbers: [90, 86]
Generated Node #0,4,4: 14:[90, 86] Operation: 16+70=86
Moving to Node #0,1
Current State: 14:[95, 16, 65], Operations: ['90-25=65']
Exploring Operation: 95-16=79, Resulting Numbers: [65, 79]
Generated Node #0,1,0: 14:[65, 79] Operation: 95-16=79
Exploring Operation: 95-65=30, Resulting Numbers: [16, 30]
Generated Node #0,1,1: 14:[16, 30] Operation: 95-65=30
Exploring Operation: 65-16=49, Resulting Numbers: [95, 49]
Generated Node #0,1,2: 14:[95, 49] Operation: 65-16=49
Exploring Operation: 95+16=111, Resulting Numbers: [65, 111]
Generated Node #0,1,3: 14:[65, 111] Operation: 95+16=111
Exploring Operation: 95+65=160, Resulting Numbers: [16, 160]
Generated Node #0,1,4: 14:[16, 160] Operation: 95+65=160
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[16, 30], Operations: ['90-25=65', '95-65=30']
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,14 unequal: No Solution
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,14 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[25, 95, 16, 90], Operations: []
Exploring Operation: 90-25=65, Resulting Numbers: [95, 16, 65]
Generated Node #0,1: 14:[95, 16, 65] Operation: 90-25=65
Moving to Node #0,1
Current State: 14:[95, 16, 65], Operations: ['90-25=65']
Exploring Operation: 95-65=30, Resulting Numbers: [16, 30]
Generated Node #0,1,1: 14:[16, 30] Operation: 95-65=30
Moving to Node #0,1,1
Current State: 14:[16, 30], Operations: ['90-25=65', '95-65=30']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
85,
53,
47,
33
] | 58 | [
"85+53=138",
"47+33=80",
"138-80=58"
] | Current State: 58:[85, 53, 47, 33], Operations: []
Exploring Operation: 85+53=138, Resulting Numbers: [47, 33, 138]
Generated Node #2: [47, 33, 138] from Operation: 85+53=138
Current State: 58:[47, 33, 138], Operations: ['85+53=138']
Exploring Operation: 47+33=80, Resulting Numbers: [138, 80]
Generated Node #3: [138, 80] from Operation: 47+33=80
Current State: 58:[138, 80], Operations: ['85+53=138', '47+33=80']
Exploring Operation: 138-80=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[85, 53, 47, 33], Operations: []
Exploring Operation: 85-33=52, Resulting Numbers: [53, 47, 52]
Generated Node #0,0: 58:[53, 47, 52] Operation: 85-33=52
Exploring Operation: 85-53=32, Resulting Numbers: [47, 33, 32]
Generated Node #0,1: 58:[47, 33, 32] Operation: 85-53=32
Exploring Operation: 85-47=38, Resulting Numbers: [53, 33, 38]
Generated Node #0,2: 58:[53, 33, 38] Operation: 85-47=38
Exploring Operation: 53-47=6, Resulting Numbers: [85, 33, 6]
Generated Node #0,3: 58:[85, 33, 6] Operation: 53-47=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[47, 33, 32], Operations: ['85-53=32']
Exploring Operation: 47-32=15, Resulting Numbers: [33, 15]
Generated Node #0,1,0: 58:[33, 15] Operation: 47-32=15
Exploring Operation: 33-32=1, Resulting Numbers: [47, 1]
Generated Node #0,1,1: 58:[47, 1] Operation: 33-32=1
Exploring Operation: 47-33=14, Resulting Numbers: [32, 14]
Generated Node #0,1,2: 58:[32, 14] Operation: 47-33=14
Exploring Operation: 33+32=65, Resulting Numbers: [47, 65]
Generated Node #0,1,3: 58:[47, 65] Operation: 33+32=65
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[47, 1], Operations: ['85-53=32', '33-32=1']
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,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:[32, 14], Operations: ['85-53=32', '47-33=14']
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,58 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[33, 15], Operations: ['85-53=32', '47-32=15']
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,58 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,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,3
Current State: 58:[47, 65], Operations: ['85-53=32', '33+32=65']
Exploring Operation: 47*65=3055, Resulting Numbers: [3055]
3055,58 unequal: No Solution
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 47+65=112, Resulting Numbers: [112]
112,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:[53, 33, 38], Operations: ['85-47=38']
Exploring Operation: 33+38=71, Resulting Numbers: [53, 71]
Generated Node #0,2,0: 58:[53, 71] Operation: 33+38=71
Exploring Operation: 38-33=5, Resulting Numbers: [53, 5]
Generated Node #0,2,1: 58:[53, 5] Operation: 38-33=5
Exploring Operation: 53-33=20, Resulting Numbers: [38, 20]
Generated Node #0,2,2: 58:[38, 20] Operation: 53-33=20
Exploring Operation: 53-38=15, Resulting Numbers: [33, 15]
Generated Node #0,2,3: 58:[33, 15] Operation: 53-38=15
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[53, 5], Operations: ['85-47=38', '38-33=5']
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,58 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[85, 53, 47, 33], Operations: []
Exploring Operation: 85-47=38, Resulting Numbers: [53, 33, 38]
Generated Node #0,2: 58:[53, 33, 38] Operation: 85-47=38
Moving to Node #0,2
Current State: 58:[53, 33, 38], Operations: ['85-47=38']
Exploring Operation: 38-33=5, Resulting Numbers: [53, 5]
Generated Node #0,2,1: 58:[53, 5] Operation: 38-33=5
Moving to Node #0,2,1
Current State: 58:[53, 5], Operations: ['85-47=38', '38-33=5']
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
34,
46,
49,
22
] | 53 | [
"34+46=80",
"49-22=27",
"80-27=53"
] | Current State: 53:[34, 46, 49, 22], Operations: []
Exploring Operation: 34+46=80, Resulting Numbers: [49, 22, 80]
Generated Node #2: [49, 22, 80] from Operation: 34+46=80
Current State: 53:[49, 22, 80], Operations: ['34+46=80']
Exploring Operation: 49-22=27, Resulting Numbers: [80, 27]
Generated Node #3: [80, 27] from Operation: 49-22=27
Current State: 53:[80, 27], Operations: ['34+46=80', '49-22=27']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[34, 46, 49, 22], Operations: []
Exploring Operation: 46-22=24, Resulting Numbers: [34, 49, 24]
Generated Node #0,0: 53:[34, 49, 24] Operation: 46-22=24
Exploring Operation: 34+22=56, Resulting Numbers: [46, 49, 56]
Generated Node #0,1: 53:[46, 49, 56] Operation: 34+22=56
Exploring Operation: 34-22=12, Resulting Numbers: [46, 49, 12]
Generated Node #0,2: 53:[46, 49, 12] Operation: 34-22=12
Exploring Operation: 49+22=71, Resulting Numbers: [34, 46, 71]
Generated Node #0,3: 53:[34, 46, 71] Operation: 49+22=71
Exploring Operation: 46+22=68, Resulting Numbers: [34, 49, 68]
Generated Node #0,4: 53:[34, 49, 68] Operation: 46+22=68
Moving to Node #0,1
Current State: 53:[46, 49, 56], Operations: ['34+22=56']
Exploring Operation: 49-46=3, Resulting Numbers: [56, 3]
Generated Node #0,1,0: 53:[56, 3] Operation: 49-46=3
Exploring Operation: 46+56=102, Resulting Numbers: [49, 102]
Generated Node #0,1,1: 53:[49, 102] Operation: 46+56=102
Exploring Operation: 46+49=95, Resulting Numbers: [56, 95]
Generated Node #0,1,2: 53:[56, 95] Operation: 46+49=95
Exploring Operation: 56-46=10, Resulting Numbers: [49, 10]
Generated Node #0,1,3: 53:[49, 10] Operation: 56-46=10
Exploring Operation: 56-49=7, Resulting Numbers: [46, 7]
Generated Node #0,1,4: 53:[46, 7] Operation: 56-49=7
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[56, 95], Operations: ['34+22=56', '46+49=95']
Exploring Operation: 56*95=5320, Resulting Numbers: [5320]
5320,53 unequal: No Solution
Exploring Operation: 95-56=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 56+95=151, Resulting Numbers: [151]
151,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 53:[49, 10], Operations: ['34+22=56', '56-46=10']
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,53 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[56, 3], Operations: ['34+22=56', '49-46=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[34, 46, 49, 22], Operations: []
Exploring Operation: 34+22=56, Resulting Numbers: [46, 49, 56]
Generated Node #0,1: 53:[46, 49, 56] Operation: 34+22=56
Moving to Node #0,1
Current State: 53:[46, 49, 56], Operations: ['34+22=56']
Exploring Operation: 49-46=3, Resulting Numbers: [56, 3]
Generated Node #0,1,0: 53:[56, 3] Operation: 49-46=3
Moving to Node #0,1,0
Current State: 53:[56, 3], Operations: ['34+22=56', '49-46=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
52,
60,
55,
12
] | 16 | [
"55-52=3",
"60-12=48",
"48/3=16"
] | Current State: 16:[52, 60, 55, 12], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [60, 12, 3]
Generated Node #2: [60, 12, 3] from Operation: 55-52=3
Current State: 16:[60, 12, 3], Operations: ['55-52=3']
Exploring Operation: 60-12=48, Resulting Numbers: [3, 48]
Generated Node #3: [3, 48] from Operation: 60-12=48
Current State: 16:[3, 48], Operations: ['55-52=3', '60-12=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[52, 60, 55, 12], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [55, 12, 8]
Generated Node #0,0: 16:[55, 12, 8] Operation: 60-52=8
Exploring Operation: 60-55=5, Resulting Numbers: [52, 12, 5]
Generated Node #0,1: 16:[52, 12, 5] Operation: 60-55=5
Exploring Operation: 55-52=3, Resulting Numbers: [60, 12, 3]
Generated Node #0,2: 16:[60, 12, 3] Operation: 55-52=3
Moving to Node #0,1
Current State: 16:[52, 12, 5], Operations: ['60-55=5']
Exploring Operation: 52-12=40, Resulting Numbers: [5, 40]
Generated Node #0,1,0: 16:[5, 40] Operation: 52-12=40
Exploring Operation: 52-5=47, Resulting Numbers: [12, 47]
Generated Node #0,1,1: 16:[12, 47] Operation: 52-5=47
Exploring Operation: 12+5=17, Resulting Numbers: [52, 17]
Generated Node #0,1,2: 16:[52, 17] Operation: 12+5=17
Moving to Node #0,0
Current State: 16:[55, 12, 8], Operations: ['60-52=8']
Exploring Operation: 55-8=47, Resulting Numbers: [12, 47]
Generated Node #0,0,0: 16:[12, 47] Operation: 55-8=47
Exploring Operation: 12-8=4, Resulting Numbers: [55, 4]
Generated Node #0,0,1: 16:[55, 4] Operation: 12-8=4
Exploring Operation: 55-12=43, Resulting Numbers: [8, 43]
Generated Node #0,0,2: 16:[8, 43] Operation: 55-12=43
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[8, 43], Operations: ['60-52=8', '55-12=43']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,16 unequal: No Solution
No 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: 16:[12, 47], Operations: ['60-52=8', '55-8=47']
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 12*47=564, Resulting Numbers: [564]
564,16 unequal: No Solution
No 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: 16:[55, 4], Operations: ['60-52=8', '12-8=4']
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,16 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: 16:[60, 12, 3], Operations: ['55-52=3']
Exploring Operation: 60/12=5, Resulting Numbers: [3, 5]
Generated Node #0,2,0: 16:[3, 5] Operation: 60/12=5
Exploring Operation: 60-12=48, Resulting Numbers: [3, 48]
Generated Node #0,2,1: 16:[3, 48] Operation: 60-12=48
Exploring Operation: 60/3=20, Resulting Numbers: [12, 20]
Generated Node #0,2,2: 16:[12, 20] Operation: 60/3=20
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[3, 5], Operations: ['55-52=3', '60/12=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No 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: 16:[12, 20], Operations: ['55-52=3', '60/3=20']
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,16 unequal: No Solution
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,16 unequal: No Solution
No 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: 16:[3, 48], Operations: ['55-52=3', '60-12=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[52, 60, 55, 12], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [60, 12, 3]
Generated Node #0,2: 16:[60, 12, 3] Operation: 55-52=3
Moving to Node #0,2
Current State: 16:[60, 12, 3], Operations: ['55-52=3']
Exploring Operation: 60-12=48, Resulting Numbers: [3, 48]
Generated Node #0,2,1: 16:[3, 48] Operation: 60-12=48
Moving to Node #0,2,1
Current State: 16:[3, 48], Operations: ['55-52=3', '60-12=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_3 | sum_heuristic |
[
2,
81,
15,
7
] | 91 | [
"2+81=83",
"15-7=8",
"83+8=91"
] | Current State: 91:[2, 81, 15, 7], Operations: []
Exploring Operation: 2+81=83, Resulting Numbers: [15, 7, 83]
Generated Node #2: [15, 7, 83] from Operation: 2+81=83
Current State: 91:[15, 7, 83], Operations: ['2+81=83']
Exploring Operation: 15-7=8, Resulting Numbers: [83, 8]
Generated Node #3: [83, 8] from Operation: 15-7=8
Current State: 91:[83, 8], Operations: ['2+81=83', '15-7=8']
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[2, 81, 15, 7], Operations: []
Exploring Operation: 2*7=14, Resulting Numbers: [81, 15, 14]
Generated Node #0,0: 91:[81, 15, 14] Operation: 2*7=14
Exploring Operation: 15-2=13, Resulting Numbers: [81, 7, 13]
Generated Node #0,1: 91:[81, 7, 13] Operation: 15-2=13
Exploring Operation: 81+15=96, Resulting Numbers: [2, 7, 96]
Generated Node #0,2: 91:[2, 7, 96] Operation: 81+15=96
Exploring Operation: 2+81=83, Resulting Numbers: [15, 7, 83]
Generated Node #0,3: 91:[15, 7, 83] Operation: 2+81=83
Exploring Operation: 81+7=88, Resulting Numbers: [2, 15, 88]
Generated Node #0,4: 91:[2, 15, 88] Operation: 81+7=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[81, 7, 13], Operations: ['15-2=13']
Exploring Operation: 13-7=6, Resulting Numbers: [81, 6]
Generated Node #0,1,0: 91:[81, 6] Operation: 13-7=6
Exploring Operation: 81+7=88, Resulting Numbers: [13, 88]
Generated Node #0,1,1: 91:[13, 88] Operation: 81+7=88
Exploring Operation: 81-7=74, Resulting Numbers: [13, 74]
Generated Node #0,1,2: 91:[13, 74] Operation: 81-7=74
Exploring Operation: 81+13=94, Resulting Numbers: [7, 94]
Generated Node #0,1,3: 91:[7, 94] Operation: 81+13=94
Exploring Operation: 7*13=91, Resulting Numbers: [81, 91]
Generated Node #0,1,4: 91:[81, 91] Operation: 7*13=91
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[13, 88], Operations: ['15-2=13', '81+7=88']
Exploring Operation: 13+88=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Exploring Operation: 13*88=1144, Resulting Numbers: [1144]
1144,91 unequal: No Solution
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 91:[7, 94], Operations: ['15-2=13', '81+13=94']
Exploring Operation: 7*94=658, Resulting Numbers: [658]
658,91 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Exploring Operation: 7+94=101, Resulting Numbers: [101]
101,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 91:[81, 91], Operations: ['15-2=13', '7*13=91']
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 81+91=172, Resulting Numbers: [172]
172,91 unequal: No Solution
Exploring Operation: 81*91=7371, Resulting Numbers: [7371]
7371,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[81, 6], Operations: ['15-2=13', '13-7=6']
Exploring Operation: 81*6=486, Resulting Numbers: [486]
486,91 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 91:[13, 74], Operations: ['15-2=13', '81-7=74']
Exploring Operation: 13*74=962, Resulting Numbers: [962]
962,91 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,91 unequal: No Solution
Exploring Operation: 13+74=87, Resulting Numbers: [87]
87,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[2, 7, 96], Operations: ['81+15=96']
Exploring Operation: 2*7=14, Resulting Numbers: [96, 14]
Generated Node #0,2,0: 91:[96, 14] Operation: 2*7=14
Exploring Operation: 7-2=5, Resulting Numbers: [96, 5]
Generated Node #0,2,1: 91:[96, 5] Operation: 7-2=5
Exploring Operation: 96-2=94, Resulting Numbers: [7, 94]
Generated Node #0,2,2: 91:[7, 94] Operation: 96-2=94
Exploring Operation: 2+7=9, Resulting Numbers: [96, 9]
Generated Node #0,2,3: 91:[96, 9] Operation: 2+7=9
Exploring Operation: 2+96=98, Resulting Numbers: [7, 98]
Generated Node #0,2,4: 91:[7, 98] Operation: 2+96=98
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[7, 94], Operations: ['81+15=96', '96-2=94']
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Exploring Operation: 7*94=658, Resulting Numbers: [658]
658,91 unequal: No Solution
Exploring Operation: 7+94=101, Resulting Numbers: [101]
101,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[96, 14], Operations: ['81+15=96', '2*7=14']
Exploring Operation: 96+14=110, Resulting Numbers: [110]
110,91 unequal: No Solution
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 96*14=1344, Resulting Numbers: [1344]
1344,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[96, 5], Operations: ['81+15=96', '7-2=5']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[2, 81, 15, 7], Operations: []
Exploring Operation: 81+15=96, Resulting Numbers: [2, 7, 96]
Generated Node #0,2: 91:[2, 7, 96] Operation: 81+15=96
Moving to Node #0,2
Current State: 91:[2, 7, 96], Operations: ['81+15=96']
Exploring Operation: 7-2=5, Resulting Numbers: [96, 5]
Generated Node #0,2,1: 91:[96, 5] Operation: 7-2=5
Moving to Node #0,2,1
Current State: 91:[96, 5], Operations: ['81+15=96', '7-2=5']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
26,
8,
52,
21
] | 37 | [
"52/26=2",
"8*2=16",
"21+16=37"
] | Current State: 37:[26, 8, 52, 21], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [8, 21, 2]
Generated Node #2: [8, 21, 2] from Operation: 52/26=2
Current State: 37:[8, 21, 2], Operations: ['52/26=2']
Exploring Operation: 8*2=16, Resulting Numbers: [21, 16]
Generated Node #3: [21, 16] from Operation: 8*2=16
Current State: 37:[21, 16], Operations: ['52/26=2', '8*2=16']
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[26, 8, 52, 21], Operations: []
Exploring Operation: 52-21=31, Resulting Numbers: [26, 8, 31]
Generated Node #0,0: 37:[26, 8, 31] Operation: 52-21=31
Exploring Operation: 8+21=29, Resulting Numbers: [26, 52, 29]
Generated Node #0,1: 37:[26, 52, 29] Operation: 8+21=29
Exploring Operation: 26+8=34, Resulting Numbers: [52, 21, 34]
Generated Node #0,2: 37:[52, 21, 34] Operation: 26+8=34
Exploring Operation: 52-8=44, Resulting Numbers: [26, 21, 44]
Generated Node #0,3: 37:[26, 21, 44] Operation: 52-8=44
Moving to Node #0,1
Current State: 37:[26, 52, 29], Operations: ['8+21=29']
Exploring Operation: 52-29=23, Resulting Numbers: [26, 23]
Generated Node #0,1,0: 37:[26, 23] Operation: 52-29=23
Exploring Operation: 26+29=55, Resulting Numbers: [52, 55]
Generated Node #0,1,1: 37:[52, 55] Operation: 26+29=55
Exploring Operation: 52/26=2, Resulting Numbers: [29, 2]
Generated Node #0,1,2: 37:[29, 2] Operation: 52/26=2
Exploring Operation: 52-26=26, Resulting Numbers: [29, 26]
Generated Node #0,1,3: 37:[29, 26] Operation: 52-26=26
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 37:[29, 26], Operations: ['8+21=29', '52-26=26']
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,37 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[26, 23], Operations: ['8+21=29', '52-29=23']
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,37 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[52, 55], Operations: ['8+21=29', '26+29=55']
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,37 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 37:[29, 2], Operations: ['8+21=29', '52/26=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,37 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: 37:[26, 21, 44], Operations: ['52-8=44']
Exploring Operation: 26-21=5, Resulting Numbers: [44, 5]
Generated Node #0,3,0: 37:[44, 5] Operation: 26-21=5
Exploring Operation: 44-21=23, Resulting Numbers: [26, 23]
Generated Node #0,3,1: 37:[26, 23] Operation: 44-21=23
Exploring Operation: 26+21=47, Resulting Numbers: [44, 47]
Generated Node #0,3,2: 37:[44, 47] Operation: 26+21=47
Exploring Operation: 44-26=18, Resulting Numbers: [21, 18]
Generated Node #0,3,3: 37:[21, 18] Operation: 44-26=18
Moving to Node #0,2
Current State: 37:[52, 21, 34], Operations: ['26+8=34']
Exploring Operation: 52+21=73, Resulting Numbers: [34, 73]
Generated Node #0,2,0: 37:[34, 73] Operation: 52+21=73
Exploring Operation: 21+34=55, Resulting Numbers: [52, 55]
Generated Node #0,2,1: 37:[52, 55] Operation: 21+34=55
Exploring Operation: 52-34=18, Resulting Numbers: [21, 18]
Generated Node #0,2,2: 37:[21, 18] Operation: 52-34=18
Exploring Operation: 52-21=31, Resulting Numbers: [34, 31]
Generated Node #0,2,3: 37:[34, 31] Operation: 52-21=31
Moving to Node #0,0
Current State: 37:[26, 8, 31], Operations: ['52-21=31']
Exploring Operation: 8+31=39, Resulting Numbers: [26, 39]
Generated Node #0,0,0: 37:[26, 39] Operation: 8+31=39
Exploring Operation: 31-8=23, Resulting Numbers: [26, 23]
Generated Node #0,0,1: 37:[26, 23] Operation: 31-8=23
Exploring Operation: 26-8=18, Resulting Numbers: [31, 18]
Generated Node #0,0,2: 37:[31, 18] Operation: 26-8=18
Exploring Operation: 26+8=34, Resulting Numbers: [31, 34]
Generated Node #0,0,3: 37:[31, 34] Operation: 26+8=34
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 37:[31, 34], Operations: ['52-21=31', '26+8=34']
Exploring Operation: 31*34=1054, Resulting Numbers: [1054]
1054,37 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 31+34=65, Resulting Numbers: [65]
65,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[26, 39], Operations: ['52-21=31', '8+31=39']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 26*39=1014, Resulting Numbers: [1014]
1014,37 unequal: No Solution
Exploring Operation: 26+39=65, Resulting Numbers: [65]
65,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[26, 23], Operations: ['52-21=31', '31-8=23']
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,37 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 37:[31, 18], Operations: ['52-21=31', '26-8=18']
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,37 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 37:[34, 31], Operations: ['26+8=34', '52-21=31']
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[44, 47], Operations: ['52-8=44', '26+21=47']
Exploring Operation: 44+47=91, Resulting Numbers: [91]
91,37 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 44*47=2068, Resulting Numbers: [2068]
2068,37 unequal: No Solution
Moving to Node #0,3,1
Current State: 37:[26, 23], Operations: ['52-8=44', '44-21=23']
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,37 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[52, 55], Operations: ['26+8=34', '21+34=55']
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,37 unequal: No Solution
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[21, 18], Operations: ['52-8=44', '44-26=18']
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,37 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,37 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[21, 18], Operations: ['26+8=34', '52-34=18']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,37 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[44, 5], Operations: ['52-8=44', '26-21=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,37 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[34, 73], Operations: ['26+8=34', '52+21=73']
Exploring Operation: 34*73=2482, Resulting Numbers: [2482]
2482,37 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,37 unequal: No Solution
Exploring Operation: 34+73=107, Resulting Numbers: [107]
107,37 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
72,
90,
28,
55
] | 65 | [
"90-72=18",
"28+55=83",
"83-18=65"
] | Current State: 65:[72, 90, 28, 55], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [28, 55, 18]
Generated Node #2: [28, 55, 18] from Operation: 90-72=18
Current State: 65:[28, 55, 18], Operations: ['90-72=18']
Exploring Operation: 28+55=83, Resulting Numbers: [18, 83]
Generated Node #3: [18, 83] from Operation: 28+55=83
Current State: 65:[18, 83], Operations: ['90-72=18', '28+55=83']
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[72, 90, 28, 55], Operations: []
Exploring Operation: 90-55=35, Resulting Numbers: [72, 28, 35]
Generated Node #0,0: 65:[72, 28, 35] Operation: 90-55=35
Exploring Operation: 90-28=62, Resulting Numbers: [72, 55, 62]
Generated Node #0,1: 65:[72, 55, 62] Operation: 90-28=62
Exploring Operation: 72-55=17, Resulting Numbers: [90, 28, 17]
Generated Node #0,2: 65:[90, 28, 17] Operation: 72-55=17
Exploring Operation: 90-72=18, Resulting Numbers: [28, 55, 18]
Generated Node #0,3: 65:[28, 55, 18] Operation: 90-72=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[72, 55, 62], Operations: ['90-28=62']
Exploring Operation: 72-62=10, Resulting Numbers: [55, 10]
Generated Node #0,1,0: 65:[55, 10] Operation: 72-62=10
Exploring Operation: 62-55=7, Resulting Numbers: [72, 7]
Generated Node #0,1,1: 65:[72, 7] Operation: 62-55=7
Exploring Operation: 55+62=117, Resulting Numbers: [72, 117]
Generated Node #0,1,2: 65:[72, 117] Operation: 55+62=117
Exploring Operation: 72-55=17, Resulting Numbers: [62, 17]
Generated Node #0,1,3: 65:[62, 17] Operation: 72-55=17
Moving to Node #0,1,3
Current State: 65:[62, 17], Operations: ['90-28=62', '72-55=17']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 62*17=1054, Resulting Numbers: [1054]
1054,65 unequal: No Solution
Exploring Operation: 62+17=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[72, 7], Operations: ['90-28=62', '62-55=7']
Exploring Operation: 72*7=504, Resulting Numbers: [504]
504,65 unequal: No Solution
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[72, 90, 28, 55], Operations: []
Exploring Operation: 90-28=62, Resulting Numbers: [72, 55, 62]
Generated Node #0,1: 65:[72, 55, 62] Operation: 90-28=62
Moving to Node #0,1
Current State: 65:[72, 55, 62], Operations: ['90-28=62']
Exploring Operation: 62-55=7, Resulting Numbers: [72, 7]
Generated Node #0,1,1: 65:[72, 7] Operation: 62-55=7
Moving to Node #0,1,1
Current State: 65:[72, 7], Operations: ['90-28=62', '62-55=7']
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
89,
67,
30,
74
] | 22 | [
"89-67=22",
"74-30=44",
"44-22=22"
] | Current State: 22:[89, 67, 30, 74], Operations: []
Exploring Operation: 89-67=22, Resulting Numbers: [30, 74, 22]
Generated Node #2: [30, 74, 22] from Operation: 89-67=22
Current State: 22:[30, 74, 22], Operations: ['89-67=22']
Exploring Operation: 74-30=44, Resulting Numbers: [22, 44]
Generated Node #3: [22, 44] from Operation: 74-30=44
Current State: 22:[22, 44], Operations: ['89-67=22', '74-30=44']
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[89, 67, 30, 74], Operations: []
Exploring Operation: 89-67=22, Resulting Numbers: [30, 74, 22]
Generated Node #0,0: 22:[30, 74, 22] Operation: 89-67=22
Exploring Operation: 89-30=59, Resulting Numbers: [67, 74, 59]
Generated Node #0,1: 22:[67, 74, 59] Operation: 89-30=59
Exploring Operation: 74-67=7, Resulting Numbers: [89, 30, 7]
Generated Node #0,2: 22:[89, 30, 7] Operation: 74-67=7
Exploring Operation: 67-30=37, Resulting Numbers: [89, 74, 37]
Generated Node #0,3: 22:[89, 74, 37] Operation: 67-30=37
Exploring Operation: 89-74=15, Resulting Numbers: [67, 30, 15]
Generated Node #0,4: 22:[67, 30, 15] Operation: 89-74=15
Start Sub Search at level 1: Moving to Node #0,4
Current State: 22:[67, 30, 15], Operations: ['89-74=15']
Exploring Operation: 30-15=15, Resulting Numbers: [67, 15]
Generated Node #0,4,0: 22:[67, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [67, 2]
Generated Node #0,4,1: 22:[67, 2] Operation: 30/15=2
Exploring Operation: 67-30=37, Resulting Numbers: [15, 37]
Generated Node #0,4,2: 22:[15, 37] Operation: 67-30=37
Exploring Operation: 67-15=52, Resulting Numbers: [30, 52]
Generated Node #0,4,3: 22:[30, 52] Operation: 67-15=52
Exploring Operation: 67+15=82, Resulting Numbers: [30, 82]
Generated Node #0,4,4: 22:[30, 82] Operation: 67+15=82
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 22:[15, 37], Operations: ['89-74=15', '67-30=37']
Exploring Operation: 15*37=555, Resulting Numbers: [555]
555,22 unequal: No Solution
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[89, 67, 30, 74], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [67, 30, 15]
Generated Node #0,4: 22:[67, 30, 15] Operation: 89-74=15
Moving to Node #0,4
Current State: 22:[67, 30, 15], Operations: ['89-74=15']
Exploring Operation: 67-30=37, Resulting Numbers: [15, 37]
Generated Node #0,4,2: 22:[15, 37] Operation: 67-30=37
Moving to Node #0,4,2
Current State: 22:[15, 37], Operations: ['89-74=15', '67-30=37']
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
23,
2,
39,
83
] | 75 | [
"39-23=16",
"16/2=8",
"83-8=75"
] | Current State: 75:[23, 2, 39, 83], Operations: []
Exploring Operation: 39-23=16, Resulting Numbers: [2, 83, 16]
Generated Node #2: [2, 83, 16] from Operation: 39-23=16
Current State: 75:[2, 83, 16], Operations: ['39-23=16']
Exploring Operation: 16/2=8, Resulting Numbers: [83, 8]
Generated Node #3: [83, 8] from Operation: 16/2=8
Current State: 75:[83, 8], Operations: ['39-23=16', '16/2=8']
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[23, 2, 39, 83], Operations: []
Exploring Operation: 39-23=16, Resulting Numbers: [2, 83, 16]
Generated Node #0,0: 75:[2, 83, 16] Operation: 39-23=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[2, 83, 16], Operations: ['39-23=16']
Exploring Operation: 83-2=81, Resulting Numbers: [16, 81]
Generated Node #0,0,0: 75:[16, 81] Operation: 83-2=81
Moving to Node #0,0,0
Current State: 75:[16, 81], Operations: ['39-23=16', '83-2=81']
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
53,
93,
76,
28
] | 42 | [
"53+93=146",
"76+28=104",
"146-104=42"
] | Current State: 42:[53, 93, 76, 28], Operations: []
Exploring Operation: 53+93=146, Resulting Numbers: [76, 28, 146]
Generated Node #2: [76, 28, 146] from Operation: 53+93=146
Current State: 42:[76, 28, 146], Operations: ['53+93=146']
Exploring Operation: 76+28=104, Resulting Numbers: [146, 104]
Generated Node #3: [146, 104] from Operation: 76+28=104
Current State: 42:[146, 104], Operations: ['53+93=146', '76+28=104']
Exploring Operation: 146-104=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[53, 93, 76, 28], Operations: []
Exploring Operation: 76-28=48, Resulting Numbers: [53, 93, 48]
Generated Node #0,0: 42:[53, 93, 48] Operation: 76-28=48
Exploring Operation: 93-53=40, Resulting Numbers: [76, 28, 40]
Generated Node #0,1: 42:[76, 28, 40] Operation: 93-53=40
Exploring Operation: 76-53=23, Resulting Numbers: [93, 28, 23]
Generated Node #0,2: 42:[93, 28, 23] Operation: 76-53=23
Exploring Operation: 93-28=65, Resulting Numbers: [53, 76, 65]
Generated Node #0,3: 42:[53, 76, 65] Operation: 93-28=65
Exploring Operation: 93-76=17, Resulting Numbers: [53, 28, 17]
Generated Node #0,4: 42:[53, 28, 17] Operation: 93-76=17
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[53, 28, 17], Operations: ['93-76=17']
Exploring Operation: 28+17=45, Resulting Numbers: [53, 45]
Generated Node #0,4,0: 42:[53, 45] Operation: 28+17=45
Exploring Operation: 53+17=70, Resulting Numbers: [28, 70]
Generated Node #0,4,1: 42:[28, 70] Operation: 53+17=70
Exploring Operation: 53-17=36, Resulting Numbers: [28, 36]
Generated Node #0,4,2: 42:[28, 36] Operation: 53-17=36
Exploring Operation: 28-17=11, Resulting Numbers: [53, 11]
Generated Node #0,4,3: 42:[53, 11] Operation: 28-17=11
Exploring Operation: 53-28=25, Resulting Numbers: [17, 25]
Generated Node #0,4,4: 42:[17, 25] Operation: 53-28=25
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 42:[17, 25], Operations: ['93-76=17', '53-28=25']
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,42 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[53, 93, 76, 28], Operations: []
Exploring Operation: 93-76=17, Resulting Numbers: [53, 28, 17]
Generated Node #0,4: 42:[53, 28, 17] Operation: 93-76=17
Moving to Node #0,4
Current State: 42:[53, 28, 17], Operations: ['93-76=17']
Exploring Operation: 53-28=25, Resulting Numbers: [17, 25]
Generated Node #0,4,4: 42:[17, 25] Operation: 53-28=25
Moving to Node #0,4,4
Current State: 42:[17, 25], Operations: ['93-76=17', '53-28=25']
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
43,
67,
92,
88
] | 28 | [
"67-43=24",
"92-88=4",
"24+4=28"
] | Current State: 28:[43, 67, 92, 88], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [92, 88, 24]
Generated Node #2: [92, 88, 24] from Operation: 67-43=24
Current State: 28:[92, 88, 24], Operations: ['67-43=24']
Exploring Operation: 92-88=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 92-88=4
Current State: 28:[24, 4], Operations: ['67-43=24', '92-88=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[43, 67, 92, 88], Operations: []
Exploring Operation: 92-43=49, Resulting Numbers: [67, 88, 49]
Generated Node #0,0: 28:[67, 88, 49] Operation: 92-43=49
Exploring Operation: 92-67=25, Resulting Numbers: [43, 88, 25]
Generated Node #0,1: 28:[43, 88, 25] Operation: 92-67=25
Exploring Operation: 88-67=21, Resulting Numbers: [43, 92, 21]
Generated Node #0,2: 28:[43, 92, 21] Operation: 88-67=21
Exploring Operation: 92-88=4, Resulting Numbers: [43, 67, 4]
Generated Node #0,3: 28:[43, 67, 4] Operation: 92-88=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[43, 67, 4], Operations: ['92-88=4']
Exploring Operation: 67-4=63, Resulting Numbers: [43, 63]
Generated Node #0,3,0: 28:[43, 63] Operation: 67-4=63
Exploring Operation: 43-4=39, Resulting Numbers: [67, 39]
Generated Node #0,3,1: 28:[67, 39] Operation: 43-4=39
Exploring Operation: 43+4=47, Resulting Numbers: [67, 47]
Generated Node #0,3,2: 28:[67, 47] Operation: 43+4=47
Exploring Operation: 67-43=24, Resulting Numbers: [4, 24]
Generated Node #0,3,3: 28:[4, 24] Operation: 67-43=24
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 28:[4, 24], Operations: ['92-88=4', '67-43=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[43, 67, 92, 88], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [43, 67, 4]
Generated Node #0,3: 28:[43, 67, 4] Operation: 92-88=4
Moving to Node #0,3
Current State: 28:[43, 67, 4], Operations: ['92-88=4']
Exploring Operation: 67-43=24, Resulting Numbers: [4, 24]
Generated Node #0,3,3: 28:[4, 24] Operation: 67-43=24
Moving to Node #0,3,3
Current State: 28:[4, 24], Operations: ['92-88=4', '67-43=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
92,
70,
14,
28
] | 99 | [
"70+28=98",
"98/14=7",
"92+7=99"
] | Current State: 99:[92, 70, 14, 28], Operations: []
Exploring Operation: 70+28=98, Resulting Numbers: [92, 14, 98]
Generated Node #2: [92, 14, 98] from Operation: 70+28=98
Current State: 99:[92, 14, 98], Operations: ['70+28=98']
Exploring Operation: 98/14=7, Resulting Numbers: [92, 7]
Generated Node #3: [92, 7] from Operation: 98/14=7
Current State: 99:[92, 7], Operations: ['70+28=98', '98/14=7']
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[92, 70, 14, 28], Operations: []
Exploring Operation: 70+28=98, Resulting Numbers: [92, 14, 98]
Generated Node #0,0: 99:[92, 14, 98] Operation: 70+28=98
Exploring Operation: 70/14=5, Resulting Numbers: [92, 28, 5]
Generated Node #0,1: 99:[92, 28, 5] Operation: 70/14=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[92, 14, 98], Operations: ['70+28=98']
Exploring Operation: 92+14=106, Resulting Numbers: [98, 106]
Generated Node #0,0,0: 99:[98, 106] Operation: 92+14=106
Exploring Operation: 98-92=6, Resulting Numbers: [14, 6]
Generated Node #0,0,1: 99:[14, 6] Operation: 98-92=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[14, 6], Operations: ['70+28=98', '98-92=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[98, 106], Operations: ['70+28=98', '92+14=106']
Exploring Operation: 98+106=204, Resulting Numbers: [204]
204,99 unequal: No Solution
Exploring Operation: 106-98=8, Resulting Numbers: [8]
8,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[92, 28, 5], Operations: ['70/14=5']
Exploring Operation: 28+5=33, Resulting Numbers: [92, 33]
Generated Node #0,1,0: 99:[92, 33] Operation: 28+5=33
Exploring Operation: 92+5=97, Resulting Numbers: [28, 97]
Generated Node #0,1,1: 99:[28, 97] Operation: 92+5=97
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[92, 33], Operations: ['70/14=5', '28+5=33']
Exploring Operation: 92+33=125, Resulting Numbers: [125]
125,99 unequal: No Solution
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[28, 97], Operations: ['70/14=5', '92+5=97']
Exploring Operation: 28+97=125, Resulting Numbers: [125]
125,99 unequal: No Solution
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
15,
25,
32
] | 36 | [
"15+25=40",
"32+40=72",
"72/2=36"
] | Current State: 36:[2, 15, 25, 32], Operations: []
Exploring Operation: 15+25=40, Resulting Numbers: [2, 32, 40]
Generated Node #2: [2, 32, 40] from Operation: 15+25=40
Current State: 36:[2, 32, 40], Operations: ['15+25=40']
Exploring Operation: 32+40=72, Resulting Numbers: [2, 72]
Generated Node #3: [2, 72] from Operation: 32+40=72
Current State: 36:[2, 72], Operations: ['15+25=40', '32+40=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[2, 15, 25, 32], Operations: []
Exploring Operation: 32-25=7, Resulting Numbers: [2, 15, 7]
Generated Node #0,0: 36:[2, 15, 7] Operation: 32-25=7
Exploring Operation: 25-15=10, Resulting Numbers: [2, 32, 10]
Generated Node #0,1: 36:[2, 32, 10] Operation: 25-15=10
Moving to Node #0,0
Current State: 36:[2, 15, 7], Operations: ['32-25=7']
Exploring Operation: 2+15=17, Resulting Numbers: [7, 17]
Generated Node #0,0,0: 36:[7, 17] Operation: 2+15=17
Exploring Operation: 15-7=8, Resulting Numbers: [2, 8]
Generated Node #0,0,1: 36:[2, 8] Operation: 15-7=8
Moving to Node #0,1
Current State: 36:[2, 32, 10], Operations: ['25-15=10']
Exploring Operation: 32/2=16, Resulting Numbers: [10, 16]
Generated Node #0,1,0: 36:[10, 16] Operation: 32/2=16
Exploring Operation: 2+32=34, Resulting Numbers: [10, 34]
Generated Node #0,1,1: 36:[10, 34] Operation: 2+32=34
Moving to Node #0,0,1
Current State: 36:[2, 8], Operations: ['32-25=7', '15-7=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[7, 17], Operations: ['32-25=7', '2+15=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[10, 34], Operations: ['25-15=10', '2+32=34']
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[10, 16], Operations: ['25-15=10', '32/2=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,36 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
55,
75,
61,
81
] | 36 | [
"61-55=6",
"81-75=6",
"6*6=36"
] | Current State: 36:[55, 75, 61, 81], Operations: []
Exploring Operation: 61-55=6, Resulting Numbers: [75, 81, 6]
Generated Node #2: [75, 81, 6] from Operation: 61-55=6
Current State: 36:[75, 81, 6], Operations: ['61-55=6']
Exploring Operation: 81-75=6, Resulting Numbers: [6, 6]
Generated Node #3: [6, 6] from Operation: 81-75=6
Current State: 36:[6, 6], Operations: ['61-55=6', '81-75=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[55, 75, 61, 81], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [55, 61, 6]
Generated Node #0,0: 36:[55, 61, 6] Operation: 81-75=6
Exploring Operation: 81-61=20, Resulting Numbers: [55, 75, 20]
Generated Node #0,1: 36:[55, 75, 20] Operation: 81-61=20
Exploring Operation: 75-61=14, Resulting Numbers: [55, 81, 14]
Generated Node #0,2: 36:[55, 81, 14] Operation: 75-61=14
Moving to Node #0,0
Current State: 36:[55, 61, 6], Operations: ['81-75=6']
Exploring Operation: 61-6=55, Resulting Numbers: [55, 55]
Generated Node #0,0,0: 36:[55, 55] Operation: 61-6=55
Exploring Operation: 55-6=49, Resulting Numbers: [61, 49]
Generated Node #0,0,1: 36:[61, 49] Operation: 55-6=49
Exploring Operation: 61-55=6, Resulting Numbers: [6, 6]
Generated Node #0,0,2: 36:[6, 6] Operation: 61-55=6
Moving to Node #0,1
Current State: 36:[55, 75, 20], Operations: ['81-61=20']
Exploring Operation: 75-20=55, Resulting Numbers: [55, 55]
Generated Node #0,1,0: 36:[55, 55] Operation: 75-20=55
Exploring Operation: 75-55=20, Resulting Numbers: [20, 20]
Generated Node #0,1,1: 36:[20, 20] Operation: 75-55=20
Exploring Operation: 55-20=35, Resulting Numbers: [75, 35]
Generated Node #0,1,2: 36:[75, 35] Operation: 55-20=35
Moving to Node #0,2
Current State: 36:[55, 81, 14], Operations: ['75-61=14']
Exploring Operation: 55-14=41, Resulting Numbers: [81, 41]
Generated Node #0,2,0: 36:[81, 41] Operation: 55-14=41
Exploring Operation: 81-14=67, Resulting Numbers: [55, 67]
Generated Node #0,2,1: 36:[55, 67] Operation: 81-14=67
Exploring Operation: 81-55=26, Resulting Numbers: [14, 26]
Generated Node #0,2,2: 36:[14, 26] Operation: 81-55=26
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[14, 26], Operations: ['75-61=14', '81-55=26']
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,36 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,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,0
Current State: 36:[81, 41], Operations: ['75-61=14', '55-14=41']
Exploring Operation: 81*41=3321, Resulting Numbers: [3321]
3321,36 unequal: No Solution
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 81+41=122, Resulting Numbers: [122]
122,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,1
Current State: 36:[55, 67], Operations: ['75-61=14', '81-14=67']
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 55+67=122, Resulting Numbers: [122]
122,36 unequal: No Solution
Exploring Operation: 55*67=3685, Resulting Numbers: [3685]
3685,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 36:[6, 6], Operations: ['81-75=6', '61-55=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[55, 75, 61, 81], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [55, 61, 6]
Generated Node #0,0: 36:[55, 61, 6] Operation: 81-75=6
Moving to Node #0,0
Current State: 36:[55, 61, 6], Operations: ['81-75=6']
Exploring Operation: 61-55=6, Resulting Numbers: [6, 6]
Generated Node #0,0,2: 36:[6, 6] Operation: 61-55=6
Moving to Node #0,0,2
Current State: 36:[6, 6], Operations: ['81-75=6', '61-55=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
97,
52,
4,
82
] | 23 | [
"82-52=30",
"4*30=120",
"120-97=23"
] | Current State: 23:[97, 52, 4, 82], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [97, 4, 30]
Generated Node #2: [97, 4, 30] from Operation: 82-52=30
Current State: 23:[97, 4, 30], Operations: ['82-52=30']
Exploring Operation: 4*30=120, Resulting Numbers: [97, 120]
Generated Node #3: [97, 120] from Operation: 4*30=120
Current State: 23:[97, 120], Operations: ['82-52=30', '4*30=120']
Exploring Operation: 120-97=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[97, 52, 4, 82], Operations: []
Exploring Operation: 97-82=15, Resulting Numbers: [52, 4, 15]
Generated Node #0,0: 23:[52, 4, 15] Operation: 97-82=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[52, 4, 15], Operations: ['97-82=15']
Exploring Operation: 52/4=13, Resulting Numbers: [15, 13]
Generated Node #0,0,0: 23:[15, 13] Operation: 52/4=13
Moving to Node #0,0,0
Current State: 23:[15, 13], Operations: ['97-82=15', '52/4=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,23 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 |
[
4,
22,
5,
10
] | 42 | [
"10-5=5",
"4*5=20",
"22+20=42"
] | Current State: 42:[4, 22, 5, 10], Operations: []
Exploring Operation: 10-5=5, Resulting Numbers: [4, 22, 5]
Generated Node #2: [4, 22, 5] from Operation: 10-5=5
Current State: 42:[4, 22, 5], Operations: ['10-5=5']
Exploring Operation: 4*5=20, Resulting Numbers: [22, 20]
Generated Node #3: [22, 20] from Operation: 4*5=20
Current State: 42:[22, 20], Operations: ['10-5=5', '4*5=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[4, 22, 5, 10], Operations: []
Exploring Operation: 10-4=6, Resulting Numbers: [22, 5, 6]
Generated Node #0,0: 42:[22, 5, 6] Operation: 10-4=6
Exploring Operation: 4+10=14, Resulting Numbers: [22, 5, 14]
Generated Node #0,1: 42:[22, 5, 14] Operation: 4+10=14
Exploring Operation: 10/5=2, Resulting Numbers: [4, 22, 2]
Generated Node #0,2: 42:[4, 22, 2] Operation: 10/5=2
Moving to Node #0,0
Current State: 42:[22, 5, 6], Operations: ['10-4=6']
Exploring Operation: 6-5=1, Resulting Numbers: [22, 1]
Generated Node #0,0,0: 42:[22, 1] Operation: 6-5=1
Exploring Operation: 22-6=16, Resulting Numbers: [5, 16]
Generated Node #0,0,1: 42:[5, 16] Operation: 22-6=16
Exploring Operation: 22-5=17, Resulting Numbers: [6, 17]
Generated Node #0,0,2: 42:[6, 17] Operation: 22-5=17
Moving to Node #0,1
Current State: 42:[22, 5, 14], Operations: ['4+10=14']
Exploring Operation: 22-14=8, Resulting Numbers: [5, 8]
Generated Node #0,1,0: 42:[5, 8] Operation: 22-14=8
Exploring Operation: 22-5=17, Resulting Numbers: [14, 17]
Generated Node #0,1,1: 42:[14, 17] Operation: 22-5=17
Exploring Operation: 5+14=19, Resulting Numbers: [22, 19]
Generated Node #0,1,2: 42:[22, 19] Operation: 5+14=19
Moving to Node #0,2
Current State: 42:[4, 22, 2], Operations: ['10/5=2']
Exploring Operation: 4/2=2, Resulting Numbers: [22, 2]
Generated Node #0,2,0: 42:[22, 2] Operation: 4/2=2
Exploring Operation: 4+2=6, Resulting Numbers: [22, 6]
Generated Node #0,2,1: 42:[22, 6] Operation: 4+2=6
Exploring Operation: 4-2=2, Resulting Numbers: [22, 2]
Generated Node #0,2,2: 42:[22, 2] Operation: 4-2=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[22, 2], Operations: ['10/5=2', '4/2=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[22, 6], Operations: ['10/5=2', '4+2=6']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[22, 2], Operations: ['10/5=2', '4-2=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 42:[22, 1], Operations: ['10-4=6', '6-5=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[5, 8], Operations: ['4+10=14', '22-14=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[6, 17], Operations: ['10-4=6', '22-5=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[22, 19], Operations: ['4+10=14', '5+14=19']
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,42 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[14, 17], Operations: ['4+10=14', '22-5=17']
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[5, 16], Operations: ['10-4=6', '22-6=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,42 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,42 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
77,
3,
42,
61
] | 78 | [
"77-42=35",
"61-35=26",
"3*26=78"
] | Current State: 78:[77, 3, 42, 61], Operations: []
Exploring Operation: 77-42=35, Resulting Numbers: [3, 61, 35]
Generated Node #2: [3, 61, 35] from Operation: 77-42=35
Current State: 78:[3, 61, 35], Operations: ['77-42=35']
Exploring Operation: 61-35=26, Resulting Numbers: [3, 26]
Generated Node #3: [3, 26] from Operation: 61-35=26
Current State: 78:[3, 26], Operations: ['77-42=35', '61-35=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[77, 3, 42, 61], Operations: []
Exploring Operation: 42-3=39, Resulting Numbers: [77, 61, 39]
Generated Node #0,0: 78:[77, 61, 39] Operation: 42-3=39
Exploring Operation: 3+61=64, Resulting Numbers: [77, 42, 64]
Generated Node #0,1: 78:[77, 42, 64] Operation: 3+61=64
Exploring Operation: 61-42=19, Resulting Numbers: [77, 3, 19]
Generated Node #0,2: 78:[77, 3, 19] Operation: 61-42=19
Exploring Operation: 77-61=16, Resulting Numbers: [3, 42, 16]
Generated Node #0,3: 78:[3, 42, 16] Operation: 77-61=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[3, 42, 16], Operations: ['77-61=16']
Exploring Operation: 42/3=14, Resulting Numbers: [16, 14]
Generated Node #0,3,0: 78:[16, 14] Operation: 42/3=14
Exploring Operation: 16-3=13, Resulting Numbers: [42, 13]
Generated Node #0,3,1: 78:[42, 13] Operation: 16-3=13
Exploring Operation: 42-16=26, Resulting Numbers: [3, 26]
Generated Node #0,3,2: 78:[3, 26] Operation: 42-16=26
Exploring Operation: 42-3=39, Resulting Numbers: [16, 39]
Generated Node #0,3,3: 78:[16, 39] Operation: 42-3=39
Moving to Node #0,3,2
Current State: 78:[3, 26], Operations: ['77-61=16', '42-16=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[77, 3, 42, 61], Operations: []
Exploring Operation: 77-61=16, Resulting Numbers: [3, 42, 16]
Generated Node #0,3: 78:[3, 42, 16] Operation: 77-61=16
Moving to Node #0,3
Current State: 78:[3, 42, 16], Operations: ['77-61=16']
Exploring Operation: 42-16=26, Resulting Numbers: [3, 26]
Generated Node #0,3,2: 78:[3, 26] Operation: 42-16=26
Moving to Node #0,3,2
Current State: 78:[3, 26], Operations: ['77-61=16', '42-16=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
35,
32,
9,
38
] | 50 | [
"35-32=3",
"9+38=47",
"3+47=50"
] | Current State: 50:[35, 32, 9, 38], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [9, 38, 3]
Generated Node #2: [9, 38, 3] from Operation: 35-32=3
Current State: 50:[9, 38, 3], Operations: ['35-32=3']
Exploring Operation: 9+38=47, Resulting Numbers: [3, 47]
Generated Node #3: [3, 47] from Operation: 9+38=47
Current State: 50:[3, 47], Operations: ['35-32=3', '9+38=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[35, 32, 9, 38], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [32, 9, 3]
Generated Node #0,0: 50:[32, 9, 3] Operation: 38-35=3
Exploring Operation: 38-32=6, Resulting Numbers: [35, 9, 6]
Generated Node #0,1: 50:[35, 9, 6] Operation: 38-32=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[32, 9, 3], Operations: ['38-35=3']
Exploring Operation: 32-9=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 50:[3, 23] Operation: 32-9=23
Exploring Operation: 32-3=29, Resulting Numbers: [9, 29]
Generated Node #0,0,1: 50:[9, 29] Operation: 32-3=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[3, 23], Operations: ['38-35=3', '32-9=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[9, 29], Operations: ['38-35=3', '32-3=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,50 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[35, 9, 6], Operations: ['38-32=6']
Exploring Operation: 35-9=26, Resulting Numbers: [6, 26]
Generated Node #0,1,0: 50:[6, 26] Operation: 35-9=26
Exploring Operation: 35-6=29, Resulting Numbers: [9, 29]
Generated Node #0,1,1: 50:[9, 29] Operation: 35-6=29
Moving to Node #0,1,0
Current State: 50:[6, 26], Operations: ['38-32=6', '35-9=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[9, 29], Operations: ['38-32=6', '35-6=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,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 | sum_heuristic |
[
82,
68,
64,
30
] | 28 | [
"82+30=112",
"68-64=4",
"112/4=28"
] | Current State: 28:[82, 68, 64, 30], Operations: []
Exploring Operation: 82+30=112, Resulting Numbers: [68, 64, 112]
Generated Node #2: [68, 64, 112] from Operation: 82+30=112
Current State: 28:[68, 64, 112], Operations: ['82+30=112']
Exploring Operation: 68-64=4, Resulting Numbers: [112, 4]
Generated Node #3: [112, 4] from Operation: 68-64=4
Current State: 28:[112, 4], Operations: ['82+30=112', '68-64=4']
Exploring Operation: 112/4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[82, 68, 64, 30], Operations: []
Exploring Operation: 82-64=18, Resulting Numbers: [68, 30, 18]
Generated Node #0,0: 28:[68, 30, 18] Operation: 82-64=18
Exploring Operation: 82-68=14, Resulting Numbers: [64, 30, 14]
Generated Node #0,1: 28:[64, 30, 14] Operation: 82-68=14
Exploring Operation: 68-64=4, Resulting Numbers: [82, 30, 4]
Generated Node #0,2: 28:[82, 30, 4] Operation: 68-64=4
Moving to Node #0,1
Current State: 28:[64, 30, 14], Operations: ['82-68=14']
Exploring Operation: 64-14=50, Resulting Numbers: [30, 50]
Generated Node #0,1,0: 28:[30, 50] Operation: 64-14=50
Exploring Operation: 64-30=34, Resulting Numbers: [14, 34]
Generated Node #0,1,1: 28:[14, 34] Operation: 64-30=34
Exploring Operation: 30-14=16, Resulting Numbers: [64, 16]
Generated Node #0,1,2: 28:[64, 16] Operation: 30-14=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[14, 34], Operations: ['82-68=14', '64-30=34']
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[30, 50], Operations: ['82-68=14', '64-14=50']
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[64, 16], Operations: ['82-68=14', '30-14=16']
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 28:[68, 30, 18], Operations: ['82-64=18']
Exploring Operation: 30-18=12, Resulting Numbers: [68, 12]
Generated Node #0,0,0: 28:[68, 12] Operation: 30-18=12
Exploring Operation: 68-18=50, Resulting Numbers: [30, 50]
Generated Node #0,0,1: 28:[30, 50] Operation: 68-18=50
Exploring Operation: 68-30=38, Resulting Numbers: [18, 38]
Generated Node #0,0,2: 28:[18, 38] Operation: 68-30=38
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[18, 38], Operations: ['82-64=18', '68-30=38']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,28 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,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,0,1
Current State: 28:[30, 50], Operations: ['82-64=18', '68-18=50']
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,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,0,0
Current State: 28:[68, 12], Operations: ['82-64=18', '30-18=12']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 68*12=816, Resulting Numbers: [816]
816,28 unequal: No Solution
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 28:[82, 30, 4], Operations: ['68-64=4']
Exploring Operation: 82-4=78, Resulting Numbers: [30, 78]
Generated Node #0,2,0: 28:[30, 78] Operation: 82-4=78
Exploring Operation: 82-30=52, Resulting Numbers: [4, 52]
Generated Node #0,2,1: 28:[4, 52] Operation: 82-30=52
Exploring Operation: 30-4=26, Resulting Numbers: [82, 26]
Generated Node #0,2,2: 28:[82, 26] Operation: 30-4=26
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[4, 52], Operations: ['68-64=4', '82-30=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,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:[30, 78], Operations: ['68-64=4', '82-4=78']
Exploring Operation: 30+78=108, Resulting Numbers: [108]
108,28 unequal: No Solution
Exploring Operation: 30*78=2340, Resulting Numbers: [2340]
2340,28 unequal: No Solution
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,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:[82, 26], Operations: ['68-64=4', '30-4=26']
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 82*26=2132, Resulting Numbers: [2132]
2132,28 unequal: No Solution
Exploring Operation: 82+26=108, Resulting Numbers: [108]
108,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
28,
24,
83,
97
] | 12 | [
"97-83=14",
"28/14=2",
"24/2=12"
] | Current State: 12:[28, 24, 83, 97], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [28, 24, 14]
Generated Node #2: [28, 24, 14] from Operation: 97-83=14
Current State: 12:[28, 24, 14], Operations: ['97-83=14']
Exploring Operation: 28/14=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 28/14=2
Current State: 12:[24, 2], Operations: ['97-83=14', '28/14=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[28, 24, 83, 97], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [24, 83, 69]
Generated Node #0,0: 12:[24, 83, 69] Operation: 97-28=69
Exploring Operation: 83-24=59, Resulting Numbers: [28, 97, 59]
Generated Node #0,1: 12:[28, 97, 59] Operation: 83-24=59
Exploring Operation: 83-28=55, Resulting Numbers: [24, 97, 55]
Generated Node #0,2: 12:[24, 97, 55] Operation: 83-28=55
Exploring Operation: 97-83=14, Resulting Numbers: [28, 24, 14]
Generated Node #0,3: 12:[28, 24, 14] Operation: 97-83=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[28, 24, 14], Operations: ['97-83=14']
Exploring Operation: 28-24=4, Resulting Numbers: [14, 4]
Generated Node #0,3,0: 12:[14, 4] Operation: 28-24=4
Exploring Operation: 28/14=2, Resulting Numbers: [24, 2]
Generated Node #0,3,1: 12:[24, 2] Operation: 28/14=2
Exploring Operation: 24-14=10, Resulting Numbers: [28, 10]
Generated Node #0,3,2: 12:[28, 10] Operation: 24-14=10
Exploring Operation: 28-14=14, Resulting Numbers: [24, 14]
Generated Node #0,3,3: 12:[24, 14] Operation: 28-14=14
Moving to Node #0,3,0
Current State: 12:[14, 4], Operations: ['97-83=14', '28-24=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[24, 2], Operations: ['97-83=14', '28/14=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[28, 24, 83, 97], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [28, 24, 14]
Generated Node #0,3: 12:[28, 24, 14] Operation: 97-83=14
Moving to Node #0,3
Current State: 12:[28, 24, 14], Operations: ['97-83=14']
Exploring Operation: 28/14=2, Resulting Numbers: [24, 2]
Generated Node #0,3,1: 12:[24, 2] Operation: 28/14=2
Moving to Node #0,3,1
Current State: 12:[24, 2], Operations: ['97-83=14', '28/14=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
23,
99,
55,
53
] | 61 | [
"23+99=122",
"55-53=2",
"122/2=61"
] | Current State: 61:[23, 99, 55, 53], Operations: []
Exploring Operation: 23+99=122, Resulting Numbers: [55, 53, 122]
Generated Node #2: [55, 53, 122] from Operation: 23+99=122
Current State: 61:[55, 53, 122], Operations: ['23+99=122']
Exploring Operation: 55-53=2, Resulting Numbers: [122, 2]
Generated Node #3: [122, 2] from Operation: 55-53=2
Current State: 61:[122, 2], Operations: ['23+99=122', '55-53=2']
Exploring Operation: 122/2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[23, 99, 55, 53], Operations: []
Exploring Operation: 99-23=76, Resulting Numbers: [55, 53, 76]
Generated Node #0,0: 61:[55, 53, 76] Operation: 99-23=76
Exploring Operation: 23+53=76, Resulting Numbers: [99, 55, 76]
Generated Node #0,1: 61:[99, 55, 76] Operation: 23+53=76
Exploring Operation: 99-55=44, Resulting Numbers: [23, 53, 44]
Generated Node #0,2: 61:[23, 53, 44] Operation: 99-55=44
Exploring Operation: 23+55=78, Resulting Numbers: [99, 53, 78]
Generated Node #0,3: 61:[99, 53, 78] Operation: 23+55=78
Exploring Operation: 99-53=46, Resulting Numbers: [23, 55, 46]
Generated Node #0,4: 61:[23, 55, 46] Operation: 99-53=46
Moving to Node #0,0
Current State: 61:[55, 53, 76], Operations: ['99-23=76']
Exploring Operation: 55+53=108, Resulting Numbers: [76, 108]
Generated Node #0,0,0: 61:[76, 108] Operation: 55+53=108
Exploring Operation: 53+76=129, Resulting Numbers: [55, 129]
Generated Node #0,0,1: 61:[55, 129] Operation: 53+76=129
Exploring Operation: 76-55=21, Resulting Numbers: [53, 21]
Generated Node #0,0,2: 61:[53, 21] Operation: 76-55=21
Exploring Operation: 55-53=2, Resulting Numbers: [76, 2]
Generated Node #0,0,3: 61:[76, 2] Operation: 55-53=2
Exploring Operation: 76-53=23, Resulting Numbers: [55, 23]
Generated Node #0,0,4: 61:[55, 23] Operation: 76-53=23
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 61:[55, 23], Operations: ['99-23=76', '76-53=23']
Exploring Operation: 55+23=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 55*23=1265, Resulting Numbers: [1265]
1265,61 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[53, 21], Operations: ['99-23=76', '76-55=21']
Exploring Operation: 53*21=1113, Resulting Numbers: [1113]
1113,61 unequal: No Solution
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[76, 108], Operations: ['99-23=76', '55+53=108']
Exploring Operation: 76+108=184, Resulting Numbers: [184]
184,61 unequal: No Solution
Exploring Operation: 108-76=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 76*108=8208, Resulting Numbers: [8208]
8208,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[55, 129], Operations: ['99-23=76', '53+76=129']
Exploring Operation: 129-55=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 55*129=7095, Resulting Numbers: [7095]
7095,61 unequal: No Solution
Exploring Operation: 55+129=184, Resulting Numbers: [184]
184,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[76, 2], Operations: ['99-23=76', '55-53=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,61 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,61 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: 61:[23, 55, 46], Operations: ['99-53=46']
Exploring Operation: 23+46=69, Resulting Numbers: [55, 69]
Generated Node #0,4,0: 61:[55, 69] Operation: 23+46=69
Exploring Operation: 46-23=23, Resulting Numbers: [55, 23]
Generated Node #0,4,1: 61:[55, 23] Operation: 46-23=23
Exploring Operation: 55-23=32, Resulting Numbers: [46, 32]
Generated Node #0,4,2: 61:[46, 32] Operation: 55-23=32
Exploring Operation: 46/23=2, Resulting Numbers: [55, 2]
Generated Node #0,4,3: 61:[55, 2] Operation: 46/23=2
Exploring Operation: 23+55=78, Resulting Numbers: [46, 78]
Generated Node #0,4,4: 61:[46, 78] Operation: 23+55=78
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 61:[55, 69], Operations: ['99-53=46', '23+46=69']
Exploring Operation: 55+69=124, Resulting Numbers: [124]
124,61 unequal: No Solution
Exploring Operation: 69-55=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 55*69=3795, Resulting Numbers: [3795]
3795,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 61:[46, 78], Operations: ['99-53=46', '23+55=78']
Exploring Operation: 46*78=3588, Resulting Numbers: [3588]
3588,61 unequal: No Solution
Exploring Operation: 46+78=124, Resulting Numbers: [124]
124,61 unequal: No Solution
Exploring Operation: 78-46=32, Resulting Numbers: [32]
32,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 61:[55, 23], Operations: ['99-53=46', '46-23=23']
Exploring Operation: 55*23=1265, Resulting Numbers: [1265]
1265,61 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 55+23=78, Resulting Numbers: [78]
78,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 61:[46, 32], Operations: ['99-53=46', '55-23=32']
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 61:[55, 2], Operations: ['99-53=46', '46/23=2']
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,61 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,61 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: 61:[99, 55, 76], Operations: ['23+53=76']
Exploring Operation: 99+55=154, Resulting Numbers: [76, 154]
Generated Node #0,1,0: 61:[76, 154] Operation: 99+55=154
Exploring Operation: 76-55=21, Resulting Numbers: [99, 21]
Generated Node #0,1,1: 61:[99, 21] Operation: 76-55=21
Exploring Operation: 55+76=131, Resulting Numbers: [99, 131]
Generated Node #0,1,2: 61:[99, 131] Operation: 55+76=131
Exploring Operation: 99-55=44, Resulting Numbers: [76, 44]
Generated Node #0,1,3: 61:[76, 44] Operation: 99-55=44
Exploring Operation: 99-76=23, Resulting Numbers: [55, 23]
Generated Node #0,1,4: 61:[55, 23] Operation: 99-76=23
Moving to Node #0,2
Current State: 61:[23, 53, 44], Operations: ['99-55=44']
Exploring Operation: 44-23=21, Resulting Numbers: [53, 21]
Generated Node #0,2,0: 61:[53, 21] Operation: 44-23=21
Exploring Operation: 53-23=30, Resulting Numbers: [44, 30]
Generated Node #0,2,1: 61:[44, 30] Operation: 53-23=30
Exploring Operation: 23+53=76, Resulting Numbers: [44, 76]
Generated Node #0,2,2: 61:[44, 76] Operation: 23+53=76
Exploring Operation: 23+44=67, Resulting Numbers: [53, 67]
Generated Node #0,2,3: 61:[53, 67] Operation: 23+44=67
Exploring Operation: 53+44=97, Resulting Numbers: [23, 97]
Generated Node #0,2,4: 61:[23, 97] Operation: 53+44=97
Moving to Node #0,3
Current State: 61:[99, 53, 78], Operations: ['23+55=78']
Exploring Operation: 53+78=131, Resulting Numbers: [99, 131]
Generated Node #0,3,0: 61:[99, 131] Operation: 53+78=131
Exploring Operation: 99-53=46, Resulting Numbers: [78, 46]
Generated Node #0,3,1: 61:[78, 46] Operation: 99-53=46
Exploring Operation: 99-78=21, Resulting Numbers: [53, 21]
Generated Node #0,3,2: 61:[53, 21] Operation: 99-78=21
Exploring Operation: 78-53=25, Resulting Numbers: [99, 25]
Generated Node #0,3,3: 61:[99, 25] Operation: 78-53=25
Exploring Operation: 99+53=152, Resulting Numbers: [78, 152]
Generated Node #0,3,4: 61:[78, 152] Operation: 99+53=152
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[78, 46], Operations: ['23+55=78', '99-53=46']
Exploring Operation: 78-46=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 78+46=124, Resulting Numbers: [124]
124,61 unequal: No Solution
Exploring Operation: 78*46=3588, Resulting Numbers: [3588]
3588,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 61:[53, 21], Operations: ['23+55=78', '99-78=21']
Exploring Operation: 53*21=1113, Resulting Numbers: [1113]
1113,61 unequal: No Solution
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[99, 25], Operations: ['23+55=78', '78-53=25']
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 99*25=2475, Resulting Numbers: [2475]
2475,61 unequal: No Solution
Exploring Operation: 99+25=124, Resulting Numbers: [124]
124,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[99, 131], Operations: ['23+55=78', '53+78=131']
Exploring Operation: 99*131=12969, Resulting Numbers: [12969]
12969,61 unequal: No Solution
Exploring Operation: 99+131=230, Resulting Numbers: [230]
230,61 unequal: No Solution
Exploring Operation: 131-99=32, Resulting Numbers: [32]
32,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 61:[78, 152], Operations: ['23+55=78', '99+53=152']
Exploring Operation: 78*152=11856, Resulting Numbers: [11856]
11856,61 unequal: No Solution
Exploring Operation: 152-78=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 78+152=230, Resulting Numbers: [230]
230,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 61:[53, 67], Operations: ['99-55=44', '23+44=67']
Exploring Operation: 53*67=3551, Resulting Numbers: [3551]
3551,61 unequal: No Solution
Exploring Operation: 53+67=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[76, 44], Operations: ['23+53=76', '99-55=44']
Exploring Operation: 76*44=3344, Resulting Numbers: [3344]
3344,61 unequal: No Solution
Exploring Operation: 76+44=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[44, 76], Operations: ['99-55=44', '23+53=76']
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 44+76=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 44*76=3344, Resulting Numbers: [3344]
3344,61 unequal: No Solution
Moving to Node #0,1,4
Current State: 61:[55, 23], Operations: ['23+53=76', '99-76=23']
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 55*23=1265, Resulting Numbers: [1265]
1265,61 unequal: No Solution
Exploring Operation: 55+23=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[44, 30], Operations: ['99-55=44', '53-23=30']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[53, 21], Operations: ['99-55=44', '44-23=21']
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 53*21=1113, Resulting Numbers: [1113]
1113,61 unequal: No Solution
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Moving to Node #0,2,4
Current State: 61:[23, 97], Operations: ['99-55=44', '53+44=97']
Exploring Operation: 23+97=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 23*97=2231, Resulting Numbers: [2231]
2231,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[99, 21], Operations: ['23+53=76', '76-55=21']
Exploring Operation: 99-21=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 99+21=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 99*21=2079, Resulting Numbers: [2079]
2079,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[76, 154], Operations: ['23+53=76', '99+55=154']
Exploring Operation: 76*154=11704, Resulting Numbers: [11704]
11704,61 unequal: No Solution
Exploring Operation: 154-76=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 76+154=230, Resulting Numbers: [230]
230,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[99, 131], Operations: ['23+53=76', '55+76=131']
Exploring Operation: 99+131=230, Resulting Numbers: [230]
230,61 unequal: No Solution
Exploring Operation: 131-99=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 99*131=12969, Resulting Numbers: [12969]
12969,61 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
88,
53,
60,
43
] | 94 | [
"53-43=10",
"60/10=6",
"88+6=94"
] | Current State: 94:[88, 53, 60, 43], Operations: []
Exploring Operation: 53-43=10, Resulting Numbers: [88, 60, 10]
Generated Node #2: [88, 60, 10] from Operation: 53-43=10
Current State: 94:[88, 60, 10], Operations: ['53-43=10']
Exploring Operation: 60/10=6, Resulting Numbers: [88, 6]
Generated Node #3: [88, 6] from Operation: 60/10=6
Current State: 94:[88, 6], Operations: ['53-43=10', '60/10=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[88, 53, 60, 43], Operations: []
Exploring Operation: 88-43=45, Resulting Numbers: [53, 60, 45]
Generated Node #0,0: 94:[53, 60, 45] Operation: 88-43=45
Exploring Operation: 60-53=7, Resulting Numbers: [88, 43, 7]
Generated Node #0,1: 94:[88, 43, 7] Operation: 60-53=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[88, 43, 7], Operations: ['60-53=7']
Exploring Operation: 88+7=95, Resulting Numbers: [43, 95]
Generated Node #0,1,0: 94:[43, 95] Operation: 88+7=95
Exploring Operation: 88-43=45, Resulting Numbers: [7, 45]
Generated Node #0,1,1: 94:[7, 45] Operation: 88-43=45
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[43, 95], Operations: ['60-53=7', '88+7=95']
Exploring Operation: 43+95=138, Resulting Numbers: [138]
138,94 unequal: No Solution
Exploring Operation: 95-43=52, Resulting Numbers: [52]
52,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[7, 45], Operations: ['60-53=7', '88-43=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[53, 60, 45], Operations: ['88-43=45']
Exploring Operation: 53+45=98, Resulting Numbers: [60, 98]
Generated Node #0,0,0: 94:[60, 98] Operation: 53+45=98
Exploring Operation: 60-53=7, Resulting Numbers: [45, 7]
Generated Node #0,0,1: 94:[45, 7] Operation: 60-53=7
Moving to Node #0,0,1
Current State: 94:[45, 7], Operations: ['88-43=45', '60-53=7']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[60, 98], Operations: ['88-43=45', '53+45=98']
Exploring Operation: 60+98=158, Resulting Numbers: [158]
158,94 unequal: No Solution
Exploring Operation: 98-60=38, Resulting Numbers: [38]
38,94 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 |
[
48,
15,
15,
80
] | 10 | [
"15*80=1200",
"1200/48=25",
"25-15=10"
] | Current State: 10:[48, 15, 15, 80], Operations: []
Exploring Operation: 15*80=1200, Resulting Numbers: [48, 1200]
Generated Node #2: [48, 1200] from Operation: 15*80=1200
Current State: 10:[48, 1200], Operations: ['15*80=1200']
Exploring Operation: 1200/48=25, Resulting Numbers: [25]
25,10 equal: Goal Reached
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[48, 15, 15, 80], Operations: []
Exploring Operation: 80-48=32, Resulting Numbers: [15, 15, 32]
Generated Node #0,0: 10:[15, 15, 32] Operation: 80-48=32
Exploring Operation: 48-15=33, Resulting Numbers: [15, 80, 33]
Generated Node #0,1: 10:[15, 80, 33] Operation: 48-15=33
Moving to Node #0,0
Current State: 10:[15, 15, 32], Operations: ['80-48=32']
Exploring Operation: 32-15=17, Resulting Numbers: [15, 17]
Generated Node #0,0,0: 10:[15, 17] Operation: 32-15=17
Exploring Operation: 32-15=17, Resulting Numbers: [15, 17]
Generated Node #0,0,1: 10:[15, 17] Operation: 32-15=17
Moving to Node #0,1
Current State: 10:[15, 80, 33], Operations: ['48-15=33']
Exploring Operation: 80-33=47, Resulting Numbers: [15, 47]
Generated Node #0,1,0: 10:[15, 47] Operation: 80-33=47
Exploring Operation: 80-15=65, Resulting Numbers: [33, 65]
Generated Node #0,1,1: 10:[33, 65] Operation: 80-15=65
Moving to Node #0,0,0
Current State: 10:[15, 17], Operations: ['80-48=32', '32-15=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[15, 17], Operations: ['80-48=32', '32-15=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[15, 47], Operations: ['48-15=33', '80-33=47']
Exploring Operation: 15+47=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[33, 65], Operations: ['48-15=33', '80-15=65']
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,10 unequal: No Solution
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,10 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
35,
54,
67,
54
] | 31 | [
"67-35=32",
"54/54=1",
"32-1=31"
] | Current State: 31:[35, 54, 67, 54], Operations: []
Exploring Operation: 67-35=32, Resulting Numbers: [54, 54, 32]
Generated Node #2: [54, 54, 32] from Operation: 67-35=32
Current State: 31:[54, 54, 32], Operations: ['67-35=32']
Exploring Operation: 54/54=1, Resulting Numbers: [32, 1]
Generated Node #3: [32, 1] from Operation: 54/54=1
Current State: 31:[32, 1], Operations: ['67-35=32', '54/54=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[35, 54, 67, 54], Operations: []
Exploring Operation: 54/54=1, Resulting Numbers: [35, 67, 1]
Generated Node #0,0: 31:[35, 67, 1] Operation: 54/54=1
Exploring Operation: 67-54=13, Resulting Numbers: [35, 54, 13]
Generated Node #0,1: 31:[35, 54, 13] Operation: 67-54=13
Exploring Operation: 67-54=13, Resulting Numbers: [35, 54, 13]
Generated Node #0,2: 31:[35, 54, 13] Operation: 67-54=13
Exploring Operation: 67-35=32, Resulting Numbers: [54, 54, 32]
Generated Node #0,3: 31:[54, 54, 32] Operation: 67-35=32
Exploring Operation: 54-35=19, Resulting Numbers: [67, 54, 19]
Generated Node #0,4: 31:[67, 54, 19] Operation: 54-35=19
Moving to Node #0,1
Current State: 31:[35, 54, 13], Operations: ['67-54=13']
Exploring Operation: 35-13=22, Resulting Numbers: [54, 22]
Generated Node #0,1,0: 31:[54, 22] Operation: 35-13=22
Exploring Operation: 54+13=67, Resulting Numbers: [35, 67]
Generated Node #0,1,1: 31:[35, 67] Operation: 54+13=67
Exploring Operation: 35+13=48, Resulting Numbers: [54, 48]
Generated Node #0,1,2: 31:[54, 48] Operation: 35+13=48
Exploring Operation: 54-13=41, Resulting Numbers: [35, 41]
Generated Node #0,1,3: 31:[35, 41] Operation: 54-13=41
Exploring Operation: 54-35=19, Resulting Numbers: [13, 19]
Generated Node #0,1,4: 31:[13, 19] Operation: 54-35=19
Moving to Node #0,2
Current State: 31:[35, 54, 13], Operations: ['67-54=13']
Exploring Operation: 54-13=41, Resulting Numbers: [35, 41]
Generated Node #0,2,0: 31:[35, 41] Operation: 54-13=41
Exploring Operation: 35-13=22, Resulting Numbers: [54, 22]
Generated Node #0,2,1: 31:[54, 22] Operation: 35-13=22
Exploring Operation: 54+13=67, Resulting Numbers: [35, 67]
Generated Node #0,2,2: 31:[35, 67] Operation: 54+13=67
Exploring Operation: 54-35=19, Resulting Numbers: [13, 19]
Generated Node #0,2,3: 31:[13, 19] Operation: 54-35=19
Exploring Operation: 35+13=48, Resulting Numbers: [54, 48]
Generated Node #0,2,4: 31:[54, 48] Operation: 35+13=48
Moving to Node #0,3
Current State: 31:[54, 54, 32], Operations: ['67-35=32']
Exploring Operation: 54-32=22, Resulting Numbers: [54, 22]
Generated Node #0,3,0: 31:[54, 22] Operation: 54-32=22
Exploring Operation: 54-32=22, Resulting Numbers: [54, 22]
Generated Node #0,3,1: 31:[54, 22] Operation: 54-32=22
Exploring Operation: 54-54=0, Resulting Numbers: [32, 0]
Generated Node #0,3,2: 31:[32, 0] Operation: 54-54=0
Exploring Operation: 54+54=108, Resulting Numbers: [32, 108]
Generated Node #0,3,3: 31:[32, 108] Operation: 54+54=108
Exploring Operation: 54/54=1, Resulting Numbers: [32, 1]
Generated Node #0,3,4: 31:[32, 1] Operation: 54/54=1
Moving to Node #0,0
Current State: 31:[35, 67, 1], Operations: ['54/54=1']
Exploring Operation: 35/1=35, Resulting Numbers: [67, 35]
Generated Node #0,0,0: 31:[67, 35] Operation: 35/1=35
Exploring Operation: 67-35=32, Resulting Numbers: [1, 32]
Generated Node #0,0,1: 31:[1, 32] Operation: 67-35=32
Exploring Operation: 35*1=35, Resulting Numbers: [67, 35]
Generated Node #0,0,2: 31:[67, 35] Operation: 35*1=35
Exploring Operation: 67-1=66, Resulting Numbers: [35, 66]
Generated Node #0,0,3: 31:[35, 66] Operation: 67-1=66
Exploring Operation: 35-1=34, Resulting Numbers: [67, 34]
Generated Node #0,0,4: 31:[67, 34] Operation: 35-1=34
Moving to Node #0,4
Current State: 31:[67, 54, 19], Operations: ['54-35=19']
Exploring Operation: 67-19=48, Resulting Numbers: [54, 48]
Generated Node #0,4,0: 31:[54, 48] Operation: 67-19=48
Exploring Operation: 54+19=73, Resulting Numbers: [67, 73]
Generated Node #0,4,1: 31:[67, 73] Operation: 54+19=73
Exploring Operation: 67+19=86, Resulting Numbers: [54, 86]
Generated Node #0,4,2: 31:[54, 86] Operation: 67+19=86
Exploring Operation: 67-54=13, Resulting Numbers: [19, 13]
Generated Node #0,4,3: 31:[19, 13] Operation: 67-54=13
Exploring Operation: 54-19=35, Resulting Numbers: [67, 35]
Generated Node #0,4,4: 31:[67, 35] Operation: 54-19=35
Moving to Node #0,1,3
Current State: 31:[35, 41], Operations: ['67-54=13', '54-13=41']
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,31 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 35*41=1435, Resulting Numbers: [1435]
1435,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[35, 41], Operations: ['67-54=13', '54-13=41']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 35*41=1435, Resulting Numbers: [1435]
1435,31 unequal: No Solution
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[13, 19], Operations: ['67-54=13', '54-35=19']
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,31 unequal: No Solution
Moving to Node #0,1,4
Current State: 31:[13, 19], Operations: ['67-54=13', '54-35=19']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,31 unequal: No Solution
Moving to Node #0,4,3
Current State: 31:[19, 13], Operations: ['54-35=19', '67-54=13']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,31 unequal: No Solution
Moving to Node #0,3,4
Current State: 31:[32, 1], Operations: ['67-35=32', '54/54=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[35, 54, 67, 54], Operations: []
Exploring Operation: 67-35=32, Resulting Numbers: [54, 54, 32]
Generated Node #0,3: 31:[54, 54, 32] Operation: 67-35=32
Moving to Node #0,3
Current State: 31:[54, 54, 32], Operations: ['67-35=32']
Exploring Operation: 54/54=1, Resulting Numbers: [32, 1]
Generated Node #0,3,4: 31:[32, 1] Operation: 54/54=1
Moving to Node #0,3,4
Current State: 31:[32, 1], Operations: ['67-35=32', '54/54=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.955729 | hs_5 | sum_heuristic |
[
78,
5,
40,
18
] | 51 | [
"78-5=73",
"40-18=22",
"73-22=51"
] | Current State: 51:[78, 5, 40, 18], Operations: []
Exploring Operation: 78-5=73, Resulting Numbers: [40, 18, 73]
Generated Node #2: [40, 18, 73] from Operation: 78-5=73
Current State: 51:[40, 18, 73], Operations: ['78-5=73']
Exploring Operation: 40-18=22, Resulting Numbers: [73, 22]
Generated Node #3: [73, 22] from Operation: 40-18=22
Current State: 51:[73, 22], Operations: ['78-5=73', '40-18=22']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[78, 5, 40, 18], Operations: []
Exploring Operation: 78-40=38, Resulting Numbers: [5, 18, 38]
Generated Node #0,0: 51:[5, 18, 38] Operation: 78-40=38
Exploring Operation: 40/5=8, Resulting Numbers: [78, 18, 8]
Generated Node #0,1: 51:[78, 18, 8] Operation: 40/5=8
Exploring Operation: 78-18=60, Resulting Numbers: [5, 40, 60]
Generated Node #0,2: 51:[5, 40, 60] Operation: 78-18=60
Moving to Node #0,0
Current State: 51:[5, 18, 38], Operations: ['78-40=38']
Exploring Operation: 5+38=43, Resulting Numbers: [18, 43]
Generated Node #0,0,0: 51:[18, 43] Operation: 5+38=43
Exploring Operation: 38-18=20, Resulting Numbers: [5, 20]
Generated Node #0,0,1: 51:[5, 20] Operation: 38-18=20
Exploring Operation: 18+38=56, Resulting Numbers: [5, 56]
Generated Node #0,0,2: 51:[5, 56] Operation: 18+38=56
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[5, 20], Operations: ['78-40=38', '38-18=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[5, 56], Operations: ['78-40=38', '18+38=56']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[78, 5, 40, 18], Operations: []
Exploring Operation: 78-40=38, Resulting Numbers: [5, 18, 38]
Generated Node #0,0: 51:[5, 18, 38] Operation: 78-40=38
Moving to Node #0,0
Current State: 51:[5, 18, 38], Operations: ['78-40=38']
Exploring Operation: 18+38=56, Resulting Numbers: [5, 56]
Generated Node #0,0,2: 51:[5, 56] Operation: 18+38=56
Moving to Node #0,0,2
Current State: 51:[5, 56], Operations: ['78-40=38', '18+38=56']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
31,
68,
59,
18
] | 63 | [
"31+59=90",
"90/18=5",
"68-5=63"
] | Current State: 63:[31, 68, 59, 18], Operations: []
Exploring Operation: 31+59=90, Resulting Numbers: [68, 18, 90]
Generated Node #2: [68, 18, 90] from Operation: 31+59=90
Current State: 63:[68, 18, 90], Operations: ['31+59=90']
Exploring Operation: 90/18=5, Resulting Numbers: [68, 5]
Generated Node #3: [68, 5] from Operation: 90/18=5
Current State: 63:[68, 5], Operations: ['31+59=90', '90/18=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[31, 68, 59, 18], Operations: []
Exploring Operation: 59-31=28, Resulting Numbers: [68, 18, 28]
Generated Node #0,0: 63:[68, 18, 28] Operation: 59-31=28
Exploring Operation: 68-59=9, Resulting Numbers: [31, 18, 9]
Generated Node #0,1: 63:[31, 18, 9] Operation: 68-59=9
Exploring Operation: 31-18=13, Resulting Numbers: [68, 59, 13]
Generated Node #0,2: 63:[68, 59, 13] Operation: 31-18=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[31, 18, 9], Operations: ['68-59=9']
Exploring Operation: 18-9=9, Resulting Numbers: [31, 9]
Generated Node #0,1,0: 63:[31, 9] Operation: 18-9=9
Exploring Operation: 31-9=22, Resulting Numbers: [18, 22]
Generated Node #0,1,1: 63:[18, 22] Operation: 31-9=22
Exploring Operation: 31-18=13, Resulting Numbers: [9, 13]
Generated Node #0,1,2: 63:[9, 13] Operation: 31-18=13
Moving to Node #0,1,1
Current State: 63:[18, 22], Operations: ['68-59=9', '31-9=22']
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,63 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[9, 13], Operations: ['68-59=9', '31-18=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[31, 9], Operations: ['68-59=9', '18-9=9']
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,63 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[68, 59, 13], Operations: ['31-18=13']
Exploring Operation: 59+13=72, Resulting Numbers: [68, 72]
Generated Node #0,2,0: 63:[68, 72] Operation: 59+13=72
Exploring Operation: 68-59=9, Resulting Numbers: [13, 9]
Generated Node #0,2,1: 63:[13, 9] Operation: 68-59=9
Exploring Operation: 68-13=55, Resulting Numbers: [59, 55]
Generated Node #0,2,2: 63:[59, 55] Operation: 68-13=55
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 63:[13, 9], Operations: ['31-18=13', '68-59=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,63 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 63:[59, 55], Operations: ['31-18=13', '68-13=55']
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,63 unequal: No Solution
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 63:[68, 72], Operations: ['31-18=13', '59+13=72']
Exploring Operation: 68+72=140, Resulting Numbers: [140]
140,63 unequal: No Solution
Exploring Operation: 68*72=4896, Resulting Numbers: [4896]
4896,63 unequal: No Solution
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[68, 18, 28], Operations: ['59-31=28']
Exploring Operation: 68-18=50, Resulting Numbers: [28, 50]
Generated Node #0,0,0: 63:[28, 50] Operation: 68-18=50
Exploring Operation: 28-18=10, Resulting Numbers: [68, 10]
Generated Node #0,0,1: 63:[68, 10] Operation: 28-18=10
Exploring Operation: 68-28=40, Resulting Numbers: [18, 40]
Generated Node #0,0,2: 63:[18, 40] Operation: 68-28=40
Moving to Node #0,0,1
Current State: 63:[68, 10], Operations: ['59-31=28', '28-18=10']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Exploring Operation: 68*10=680, Resulting Numbers: [680]
680,63 unequal: No Solution
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[28, 50], Operations: ['59-31=28', '68-18=50']
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 28+50=78, Resulting Numbers: [78]
78,63 unequal: No Solution
Exploring Operation: 28*50=1400, Resulting Numbers: [1400]
1400,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[18, 40], Operations: ['59-31=28', '68-28=40']
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,63 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,63 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 |
[
93,
49,
97,
46
] | 12 | [
"97-93=4",
"49-46=3",
"4*3=12"
] | Current State: 12:[93, 49, 97, 46], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [49, 46, 4]
Generated Node #2: [49, 46, 4] from Operation: 97-93=4
Current State: 12:[49, 46, 4], Operations: ['97-93=4']
Exploring Operation: 49-46=3, Resulting Numbers: [4, 3]
Generated Node #3: [4, 3] from Operation: 49-46=3
Current State: 12:[4, 3], Operations: ['97-93=4', '49-46=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[93, 49, 97, 46], Operations: []
Exploring Operation: 93-49=44, Resulting Numbers: [97, 46, 44]
Generated Node #0,0: 12:[97, 46, 44] Operation: 93-49=44
Exploring Operation: 97-49=48, Resulting Numbers: [93, 46, 48]
Generated Node #0,1: 12:[93, 46, 48] Operation: 97-49=48
Exploring Operation: 97-93=4, Resulting Numbers: [49, 46, 4]
Generated Node #0,2: 12:[49, 46, 4] Operation: 97-93=4
Exploring Operation: 93-46=47, Resulting Numbers: [49, 97, 47]
Generated Node #0,3: 12:[49, 97, 47] Operation: 93-46=47
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[49, 46, 4], Operations: ['97-93=4']
Exploring Operation: 49-46=3, Resulting Numbers: [4, 3]
Generated Node #0,2,0: 12:[4, 3] Operation: 49-46=3
Exploring Operation: 49+4=53, Resulting Numbers: [46, 53]
Generated Node #0,2,1: 12:[46, 53] Operation: 49+4=53
Exploring Operation: 46-4=42, Resulting Numbers: [49, 42]
Generated Node #0,2,2: 12:[49, 42] Operation: 46-4=42
Exploring Operation: 49-4=45, Resulting Numbers: [46, 45]
Generated Node #0,2,3: 12:[46, 45] Operation: 49-4=45
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 12:[4, 3], Operations: ['97-93=4', '49-46=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[93, 49, 97, 46], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [49, 46, 4]
Generated Node #0,2: 12:[49, 46, 4] Operation: 97-93=4
Moving to Node #0,2
Current State: 12:[49, 46, 4], Operations: ['97-93=4']
Exploring Operation: 49-46=3, Resulting Numbers: [4, 3]
Generated Node #0,2,0: 12:[4, 3] Operation: 49-46=3
Moving to Node #0,2,0
Current State: 12:[4, 3], Operations: ['97-93=4', '49-46=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
4,
11,
30,
98
] | 83 | [
"4+11=15",
"98-30=68",
"15+68=83"
] | Current State: 83:[4, 11, 30, 98], Operations: []
Exploring Operation: 4+11=15, Resulting Numbers: [30, 98, 15]
Generated Node #2: [30, 98, 15] from Operation: 4+11=15
Current State: 83:[30, 98, 15], Operations: ['4+11=15']
Exploring Operation: 98-30=68, Resulting Numbers: [15, 68]
Generated Node #3: [15, 68] from Operation: 98-30=68
Current State: 83:[15, 68], Operations: ['4+11=15', '98-30=68']
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[4, 11, 30, 98], Operations: []
Exploring Operation: 4*11=44, Resulting Numbers: [30, 98, 44]
Generated Node #0,0: 83:[30, 98, 44] Operation: 4*11=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[30, 98, 44], Operations: ['4*11=44']
Exploring Operation: 30+44=74, Resulting Numbers: [98, 74]
Generated Node #0,0,0: 83:[98, 74] Operation: 30+44=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[98, 74], Operations: ['4*11=44', '30+44=74']
Exploring Operation: 98-74=24, Resulting Numbers: [24]
24,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
97,
26,
84,
96
] | 94 | [
"97-84=13",
"26/13=2",
"96-2=94"
] | Current State: 94:[97, 26, 84, 96], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [26, 96, 13]
Generated Node #2: [26, 96, 13] from Operation: 97-84=13
Current State: 94:[26, 96, 13], Operations: ['97-84=13']
Exploring Operation: 26/13=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 26/13=2
Current State: 94:[96, 2], Operations: ['97-84=13', '26/13=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[97, 26, 84, 96], Operations: []
Exploring Operation: 84-26=58, Resulting Numbers: [97, 96, 58]
Generated Node #0,0: 94:[97, 96, 58] Operation: 84-26=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[97, 96, 58], Operations: ['84-26=58']
Exploring Operation: 97-58=39, Resulting Numbers: [96, 39]
Generated Node #0,0,0: 94:[96, 39] Operation: 97-58=39
Moving to Node #0,0,0
Current State: 94:[96, 39], Operations: ['84-26=58', '97-58=39']
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,94 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 |
[
29,
8,
5,
38
] | 70 | [
"29+8=37",
"38-5=33",
"37+33=70"
] | Current State: 70:[29, 8, 5, 38], Operations: []
Exploring Operation: 29+8=37, Resulting Numbers: [5, 38, 37]
Generated Node #2: [5, 38, 37] from Operation: 29+8=37
Current State: 70:[5, 38, 37], Operations: ['29+8=37']
Exploring Operation: 38-5=33, Resulting Numbers: [37, 33]
Generated Node #3: [37, 33] from Operation: 38-5=33
Current State: 70:[37, 33], Operations: ['29+8=37', '38-5=33']
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[29, 8, 5, 38], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [8, 5, 9]
Generated Node #0,0: 70:[8, 5, 9] Operation: 38-29=9
Exploring Operation: 29+8=37, Resulting Numbers: [5, 38, 37]
Generated Node #0,1: 70:[5, 38, 37] Operation: 29+8=37
Exploring Operation: 29+38=67, Resulting Numbers: [8, 5, 67]
Generated Node #0,2: 70:[8, 5, 67] Operation: 29+38=67
Exploring Operation: 29+5=34, Resulting Numbers: [8, 38, 34]
Generated Node #0,3: 70:[8, 38, 34] Operation: 29+5=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[8, 5, 9], Operations: ['38-29=9']
Exploring Operation: 8-5=3, Resulting Numbers: [9, 3]
Generated Node #0,0,0: 70:[9, 3] Operation: 8-5=3
Exploring Operation: 8+5=13, Resulting Numbers: [9, 13]
Generated Node #0,0,1: 70:[9, 13] Operation: 8+5=13
Exploring Operation: 9-8=1, Resulting Numbers: [5, 1]
Generated Node #0,0,2: 70:[5, 1] Operation: 9-8=1
Exploring Operation: 5+9=14, Resulting Numbers: [8, 14]
Generated Node #0,0,3: 70:[8, 14] Operation: 5+9=14
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[5, 1], Operations: ['38-29=9', '9-8=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,70 unequal: No Solution
No 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: 70:[8, 14], Operations: ['38-29=9', '5+9=14']
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,70 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,70 unequal: No Solution
No 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: 70:[9, 3], Operations: ['38-29=9', '8-5=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,70 unequal: No Solution
No 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: 70:[9, 13], Operations: ['38-29=9', '8+5=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,70 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[8, 5, 67], Operations: ['29+38=67']
Exploring Operation: 5+67=72, Resulting Numbers: [8, 72]
Generated Node #0,2,0: 70:[8, 72] Operation: 5+67=72
Exploring Operation: 8+5=13, Resulting Numbers: [67, 13]
Generated Node #0,2,1: 70:[67, 13] Operation: 8+5=13
Exploring Operation: 8+67=75, Resulting Numbers: [5, 75]
Generated Node #0,2,2: 70:[5, 75] Operation: 8+67=75
Exploring Operation: 8-5=3, Resulting Numbers: [67, 3]
Generated Node #0,2,3: 70:[67, 3] Operation: 8-5=3
Moving to Node #0,2,0
Current State: 70:[8, 72], Operations: ['29+38=67', '5+67=72']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 8*72=576, Resulting Numbers: [576]
576,70 unequal: No Solution
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[67, 3], Operations: ['29+38=67', '8-5=3']
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[29, 8, 5, 38], Operations: []
Exploring Operation: 29+38=67, Resulting Numbers: [8, 5, 67]
Generated Node #0,2: 70:[8, 5, 67] Operation: 29+38=67
Moving to Node #0,2
Current State: 70:[8, 5, 67], Operations: ['29+38=67']
Exploring Operation: 8-5=3, Resulting Numbers: [67, 3]
Generated Node #0,2,3: 70:[67, 3] Operation: 8-5=3
Moving to Node #0,2,3
Current State: 70:[67, 3], Operations: ['29+38=67', '8-5=3']
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
19,
75,
59,
48
] | 45 | [
"75-19=56",
"59-48=11",
"56-11=45"
] | Current State: 45:[19, 75, 59, 48], Operations: []
Exploring Operation: 75-19=56, Resulting Numbers: [59, 48, 56]
Generated Node #2: [59, 48, 56] from Operation: 75-19=56
Current State: 45:[59, 48, 56], Operations: ['75-19=56']
Exploring Operation: 59-48=11, Resulting Numbers: [56, 11]
Generated Node #3: [56, 11] from Operation: 59-48=11
Current State: 45:[56, 11], Operations: ['75-19=56', '59-48=11']
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[19, 75, 59, 48], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [19, 48, 16]
Generated Node #0,0: 45:[19, 48, 16] Operation: 75-59=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[19, 48, 16], Operations: ['75-59=16']
Exploring Operation: 19-16=3, Resulting Numbers: [48, 3]
Generated Node #0,0,0: 45:[48, 3] Operation: 19-16=3
Moving to Node #0,0,0
Current State: 45:[48, 3], Operations: ['75-59=16', '19-16=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[19, 75, 59, 48], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [19, 48, 16]
Generated Node #0,0: 45:[19, 48, 16] Operation: 75-59=16
Moving to Node #0,0
Current State: 45:[19, 48, 16], Operations: ['75-59=16']
Exploring Operation: 19-16=3, Resulting Numbers: [48, 3]
Generated Node #0,0,0: 45:[48, 3] Operation: 19-16=3
Moving to Node #0,0,0
Current State: 45:[48, 3], Operations: ['75-59=16', '19-16=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.