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 |
|---|---|---|---|---|---|---|---|---|
[
94,
50,
20,
48
] | 57 | [
"94+20=114",
"50-48=2",
"114/2=57"
] | Current State: 57:[94, 50, 20, 48], Operations: []
Exploring Operation: 94+20=114, Resulting Numbers: [50, 48, 114]
Generated Node #2: [50, 48, 114] from Operation: 94+20=114
Current State: 57:[50, 48, 114], Operations: ['94+20=114']
Exploring Operation: 50-48=2, Resulting Numbers: [114, 2]
Generated Node #3: [114, 2] from Operation: 50-48=2
Current State: 57:[114, 2], Operations: ['94+20=114', '50-48=2']
Exploring Operation: 114/2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[94, 50, 20, 48], Operations: []
Exploring Operation: 94-20=74, Resulting Numbers: [50, 48, 74]
Generated Node #0,0: 57:[50, 48, 74] Operation: 94-20=74
Exploring Operation: 94-48=46, Resulting Numbers: [50, 20, 46]
Generated Node #0,1: 57:[50, 20, 46] Operation: 94-48=46
Exploring Operation: 94-50=44, Resulting Numbers: [20, 48, 44]
Generated Node #0,2: 57:[20, 48, 44] Operation: 94-50=44
Exploring Operation: 48-20=28, Resulting Numbers: [94, 50, 28]
Generated Node #0,3: 57:[94, 50, 28] Operation: 48-20=28
Exploring Operation: 50-48=2, Resulting Numbers: [94, 20, 2]
Generated Node #0,4: 57:[94, 20, 2] Operation: 50-48=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[50, 20, 46], Operations: ['94-48=46']
Exploring Operation: 46-20=26, Resulting Numbers: [50, 26]
Generated Node #0,1,0: 57:[50, 26] Operation: 46-20=26
Exploring Operation: 50-46=4, Resulting Numbers: [20, 4]
Generated Node #0,1,1: 57:[20, 4] Operation: 50-46=4
Exploring Operation: 50+20=70, Resulting Numbers: [46, 70]
Generated Node #0,1,2: 57:[46, 70] Operation: 50+20=70
Exploring Operation: 20+46=66, Resulting Numbers: [50, 66]
Generated Node #0,1,3: 57:[50, 66] Operation: 20+46=66
Exploring Operation: 50-20=30, Resulting Numbers: [46, 30]
Generated Node #0,1,4: 57:[46, 30] Operation: 50-20=30
Moving to Node #0,1,1
Current State: 57:[20, 4], Operations: ['94-48=46', '50-46=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[50, 26], Operations: ['94-48=46', '46-20=26']
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,57 unequal: No Solution
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[50, 66], Operations: ['94-48=46', '20+46=66']
Exploring Operation: 50+66=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 50*66=3300, Resulting Numbers: [3300]
3300,57 unequal: No Solution
Exploring Operation: 66-50=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Moving to Node #0,1,4
Current State: 57:[46, 30], Operations: ['94-48=46', '50-20=30']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,57 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[46, 70], Operations: ['94-48=46', '50+20=70']
Exploring Operation: 46*70=3220, Resulting Numbers: [3220]
3220,57 unequal: No Solution
Exploring Operation: 46+70=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,57 unequal: No Solution
No 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: 57:[20, 48, 44], Operations: ['94-50=44']
Exploring Operation: 48-44=4, Resulting Numbers: [20, 4]
Generated Node #0,2,0: 57:[20, 4] Operation: 48-44=4
Exploring Operation: 44-20=24, Resulting Numbers: [48, 24]
Generated Node #0,2,1: 57:[48, 24] Operation: 44-20=24
Exploring Operation: 48-20=28, Resulting Numbers: [44, 28]
Generated Node #0,2,2: 57:[44, 28] Operation: 48-20=28
Exploring Operation: 20+48=68, Resulting Numbers: [44, 68]
Generated Node #0,2,3: 57:[44, 68] Operation: 20+48=68
Exploring Operation: 20+44=64, Resulting Numbers: [48, 64]
Generated Node #0,2,4: 57:[48, 64] Operation: 20+44=64
Moving to Node #0,2,0
Current State: 57:[20, 4], Operations: ['94-50=44', '48-44=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[48, 24], Operations: ['94-50=44', '44-20=24']
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 48*24=1152, Resulting Numbers: [1152]
1152,57 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[48, 64], Operations: ['94-50=44', '20+44=64']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,57 unequal: No Solution
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[44, 28], Operations: ['94-50=44', '48-20=28']
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 44+28=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 44*28=1232, Resulting Numbers: [1232]
1232,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[44, 68], Operations: ['94-50=44', '20+48=68']
Exploring Operation: 44*68=2992, Resulting Numbers: [2992]
2992,57 unequal: No Solution
Exploring Operation: 44+68=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,57 unequal: No Solution
No 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: 57:[50, 48, 74], Operations: ['94-20=74']
Exploring Operation: 48+74=122, Resulting Numbers: [50, 122]
Generated Node #0,0,0: 57:[50, 122] Operation: 48+74=122
Exploring Operation: 74-50=24, Resulting Numbers: [48, 24]
Generated Node #0,0,1: 57:[48, 24] Operation: 74-50=24
Exploring Operation: 74-48=26, Resulting Numbers: [50, 26]
Generated Node #0,0,2: 57:[50, 26] Operation: 74-48=26
Exploring Operation: 50-48=2, Resulting Numbers: [74, 2]
Generated Node #0,0,3: 57:[74, 2] Operation: 50-48=2
Exploring Operation: 50+48=98, Resulting Numbers: [74, 98]
Generated Node #0,0,4: 57:[74, 98] Operation: 50+48=98
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[48, 24], Operations: ['94-20=74', '74-50=24']
Exploring Operation: 48*24=1152, Resulting Numbers: [1152]
1152,57 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,57 unequal: No Solution
No 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: 57:[50, 26], Operations: ['94-20=74', '74-48=26']
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,57 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,57 unequal: No Solution
No 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: 57:[74, 2], Operations: ['94-20=74', '50-48=2']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,57 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,57 unequal: No Solution
No 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: 57:[74, 98], Operations: ['94-20=74', '50+48=98']
Exploring Operation: 74+98=172, Resulting Numbers: [172]
172,57 unequal: No Solution
Exploring Operation: 98-74=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 74*98=7252, Resulting Numbers: [7252]
7252,57 unequal: No Solution
No 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: 57:[50, 122], Operations: ['94-20=74', '48+74=122']
Exploring Operation: 50+122=172, Resulting Numbers: [172]
172,57 unequal: No Solution
Exploring Operation: 122-50=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 50*122=6100, Resulting Numbers: [6100]
6100,57 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: 57:[94, 20, 2], Operations: ['50-48=2']
Exploring Operation: 94/2=47, Resulting Numbers: [20, 47]
Generated Node #0,4,0: 57:[20, 47] Operation: 94/2=47
Exploring Operation: 94-2=92, Resulting Numbers: [20, 92]
Generated Node #0,4,1: 57:[20, 92] Operation: 94-2=92
Exploring Operation: 94-20=74, Resulting Numbers: [2, 74]
Generated Node #0,4,2: 57:[2, 74] Operation: 94-20=74
Exploring Operation: 20-2=18, Resulting Numbers: [94, 18]
Generated Node #0,4,3: 57:[94, 18] Operation: 20-2=18
Exploring Operation: 94+2=96, Resulting Numbers: [20, 96]
Generated Node #0,4,4: 57:[20, 96] Operation: 94+2=96
Moving to Node #0,4,0
Current State: 57:[20, 47], Operations: ['50-48=2', '94/2=47']
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,57 unequal: No Solution
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,57 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Moving to Node #0,4,2
Current State: 57:[2, 74], Operations: ['50-48=2', '94-20=74']
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,57 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Moving to Node #0,4,1
Current State: 57:[20, 92], Operations: ['50-48=2', '94-2=92']
Exploring Operation: 20+92=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 20*92=1840, Resulting Numbers: [1840]
1840,57 unequal: No Solution
Moving to Node #0,4,3
Current State: 57:[94, 18], Operations: ['50-48=2', '20-2=18']
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,57 unequal: No Solution
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Moving to Node #0,4,4
Current State: 57:[20, 96], Operations: ['50-48=2', '94+2=96']
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 20*96=1920, Resulting Numbers: [1920]
1920,57 unequal: No Solution
Exploring Operation: 20+96=116, Resulting Numbers: [116]
116,57 unequal: No Solution
No 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: 57:[94, 50, 28], Operations: ['48-20=28']
Exploring Operation: 94+28=122, Resulting Numbers: [50, 122]
Generated Node #0,3,0: 57:[50, 122] Operation: 94+28=122
Exploring Operation: 50+28=78, Resulting Numbers: [94, 78]
Generated Node #0,3,1: 57:[94, 78] Operation: 50+28=78
Exploring Operation: 50-28=22, Resulting Numbers: [94, 22]
Generated Node #0,3,2: 57:[94, 22] Operation: 50-28=22
Exploring Operation: 94-28=66, Resulting Numbers: [50, 66]
Generated Node #0,3,3: 57:[50, 66] Operation: 94-28=66
Exploring Operation: 94-50=44, Resulting Numbers: [28, 44]
Generated Node #0,3,4: 57:[28, 44] Operation: 94-50=44
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[50, 66], Operations: ['48-20=28', '94-28=66']
Exploring Operation: 66-50=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 50+66=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 50*66=3300, Resulting Numbers: [3300]
3300,57 unequal: No Solution
No 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: 57:[28, 44], Operations: ['48-20=28', '94-50=44']
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,57 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,57 unequal: No Solution
No 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: 57:[94, 22], Operations: ['48-20=28', '50-28=22']
Exploring Operation: 94*22=2068, Resulting Numbers: [2068]
2068,57 unequal: No Solution
Exploring Operation: 94+22=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 94-22=72, Resulting Numbers: [72]
72,57 unequal: No Solution
No 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: 57:[94, 78], Operations: ['48-20=28', '50+28=78']
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 94+78=172, Resulting Numbers: [172]
172,57 unequal: No Solution
Exploring Operation: 94*78=7332, Resulting Numbers: [7332]
7332,57 unequal: No Solution
No 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: 57:[50, 122], Operations: ['48-20=28', '94+28=122']
Exploring Operation: 50*122=6100, Resulting Numbers: [6100]
6100,57 unequal: No Solution
Exploring Operation: 50+122=172, Resulting Numbers: [172]
172,57 unequal: No Solution
Exploring Operation: 122-50=72, Resulting Numbers: [72]
72,57 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 |
[
76,
15,
77,
18
] | 51 | [
"76+77=153",
"18-15=3",
"153/3=51"
] | Current State: 51:[76, 15, 77, 18], Operations: []
Exploring Operation: 76+77=153, Resulting Numbers: [15, 18, 153]
Generated Node #2: [15, 18, 153] from Operation: 76+77=153
Current State: 51:[15, 18, 153], Operations: ['76+77=153']
Exploring Operation: 18-15=3, Resulting Numbers: [153, 3]
Generated Node #3: [153, 3] from Operation: 18-15=3
Current State: 51:[153, 3], Operations: ['76+77=153', '18-15=3']
Exploring Operation: 153/3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[76, 15, 77, 18], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [15, 18, 1]
Generated Node #0,0: 51:[15, 18, 1] Operation: 77-76=1
Exploring Operation: 76-18=58, Resulting Numbers: [15, 77, 58]
Generated Node #0,1: 51:[15, 77, 58] Operation: 76-18=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[15, 18, 1], Operations: ['77-76=1']
Exploring Operation: 15+1=16, Resulting Numbers: [18, 16]
Generated Node #0,0,0: 51:[18, 16] Operation: 15+1=16
Exploring Operation: 18-15=3, Resulting Numbers: [1, 3]
Generated Node #0,0,1: 51:[1, 3] Operation: 18-15=3
Moving to Node #0,0,0
Current State: 51:[18, 16], Operations: ['77-76=1', '15+1=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[1, 3], Operations: ['77-76=1', '18-15=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[15, 77, 58], Operations: ['76-18=58']
Exploring Operation: 77-58=19, Resulting Numbers: [15, 19]
Generated Node #0,1,0: 51:[15, 19] Operation: 77-58=19
Exploring Operation: 77-15=62, Resulting Numbers: [58, 62]
Generated Node #0,1,1: 51:[58, 62] Operation: 77-15=62
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[15, 19], Operations: ['76-18=58', '77-58=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[58, 62], Operations: ['76-18=58', '77-15=62']
Exploring Operation: 58+62=120, Resulting Numbers: [120]
120,51 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
50,
26,
1,
6
] | 71 | [
"50+26=76",
"6-1=5",
"76-5=71"
] | Current State: 71:[50, 26, 1, 6], Operations: []
Exploring Operation: 50+26=76, Resulting Numbers: [1, 6, 76]
Generated Node #2: [1, 6, 76] from Operation: 50+26=76
Current State: 71:[1, 6, 76], Operations: ['50+26=76']
Exploring Operation: 6-1=5, Resulting Numbers: [76, 5]
Generated Node #3: [76, 5] from Operation: 6-1=5
Current State: 71:[76, 5], Operations: ['50+26=76', '6-1=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[50, 26, 1, 6], Operations: []
Exploring Operation: 26+6=32, Resulting Numbers: [50, 1, 32]
Generated Node #0,0: 71:[50, 1, 32] Operation: 26+6=32
Exploring Operation: 50+1=51, Resulting Numbers: [26, 6, 51]
Generated Node #0,1: 71:[26, 6, 51] Operation: 50+1=51
Exploring Operation: 50+6=56, Resulting Numbers: [26, 1, 56]
Generated Node #0,2: 71:[26, 1, 56] Operation: 50+6=56
Exploring Operation: 26+1=27, Resulting Numbers: [50, 6, 27]
Generated Node #0,3: 71:[50, 6, 27] Operation: 26+1=27
Moving to Node #0,0
Current State: 71:[50, 1, 32], Operations: ['26+6=32']
Exploring Operation: 1+32=33, Resulting Numbers: [50, 33]
Generated Node #0,0,0: 71:[50, 33] Operation: 1+32=33
Exploring Operation: 50/1=50, Resulting Numbers: [32, 50]
Generated Node #0,0,1: 71:[32, 50] Operation: 50/1=50
Exploring Operation: 50+1=51, Resulting Numbers: [32, 51]
Generated Node #0,0,2: 71:[32, 51] Operation: 50+1=51
Exploring Operation: 50*1=50, Resulting Numbers: [32, 50]
Generated Node #0,0,3: 71:[32, 50] Operation: 50*1=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[50, 33], Operations: ['26+6=32', '1+32=33']
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 50*33=1650, Resulting Numbers: [1650]
1650,71 unequal: No Solution
Exploring Operation: 50+33=83, Resulting Numbers: [83]
83,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[32, 51], Operations: ['26+6=32', '50+1=51']
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[32, 50], Operations: ['26+6=32', '50/1=50']
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,71 unequal: No Solution
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[32, 50], Operations: ['26+6=32', '50*1=50']
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,71 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,71 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: 71:[26, 1, 56], Operations: ['50+6=56']
Exploring Operation: 1+56=57, Resulting Numbers: [26, 57]
Generated Node #0,2,0: 71:[26, 57] Operation: 1+56=57
Exploring Operation: 26*1=26, Resulting Numbers: [56, 26]
Generated Node #0,2,1: 71:[56, 26] Operation: 26*1=26
Exploring Operation: 26/1=26, Resulting Numbers: [56, 26]
Generated Node #0,2,2: 71:[56, 26] Operation: 26/1=26
Exploring Operation: 26+1=27, Resulting Numbers: [56, 27]
Generated Node #0,2,3: 71:[56, 27] Operation: 26+1=27
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[26, 57], Operations: ['50+6=56', '1+56=57']
Exploring Operation: 26*57=1482, Resulting Numbers: [1482]
1482,71 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[56, 27], Operations: ['50+6=56', '26+1=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[56, 26], Operations: ['50+6=56', '26*1=26']
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,71 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[56, 26], Operations: ['50+6=56', '26/1=26']
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,71 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,71 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: 71:[26, 6, 51], Operations: ['50+1=51']
Exploring Operation: 26+51=77, Resulting Numbers: [6, 77]
Generated Node #0,1,0: 71:[6, 77] Operation: 26+51=77
Exploring Operation: 26-6=20, Resulting Numbers: [51, 20]
Generated Node #0,1,1: 71:[51, 20] Operation: 26-6=20
Exploring Operation: 26+6=32, Resulting Numbers: [51, 32]
Generated Node #0,1,2: 71:[51, 32] Operation: 26+6=32
Exploring Operation: 6+51=57, Resulting Numbers: [26, 57]
Generated Node #0,1,3: 71:[26, 57] Operation: 6+51=57
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[51, 32], Operations: ['50+1=51', '26+6=32']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[26, 57], Operations: ['50+1=51', '6+51=57']
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 26*57=1482, Resulting Numbers: [1482]
1482,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[6, 77], Operations: ['50+1=51', '26+51=77']
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[50, 26, 1, 6], Operations: []
Exploring Operation: 50+1=51, Resulting Numbers: [26, 6, 51]
Generated Node #0,1: 71:[26, 6, 51] Operation: 50+1=51
Moving to Node #0,1
Current State: 71:[26, 6, 51], Operations: ['50+1=51']
Exploring Operation: 26+51=77, Resulting Numbers: [6, 77]
Generated Node #0,1,0: 71:[6, 77] Operation: 26+51=77
Moving to Node #0,1,0
Current State: 71:[6, 77], Operations: ['50+1=51', '26+51=77']
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | mult_heuristic |
[
46,
53,
62,
8
] | 47 | [
"53-46=7",
"62-8=54",
"54-7=47"
] | Current State: 47:[46, 53, 62, 8], Operations: []
Exploring Operation: 53-46=7, Resulting Numbers: [62, 8, 7]
Generated Node #2: [62, 8, 7] from Operation: 53-46=7
Current State: 47:[62, 8, 7], Operations: ['53-46=7']
Exploring Operation: 62-8=54, Resulting Numbers: [7, 54]
Generated Node #3: [7, 54] from Operation: 62-8=54
Current State: 47:[7, 54], Operations: ['53-46=7', '62-8=54']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[46, 53, 62, 8], Operations: []
Exploring Operation: 62-8=54, Resulting Numbers: [46, 53, 54]
Generated Node #0,0: 47:[46, 53, 54] Operation: 62-8=54
Exploring Operation: 46-8=38, Resulting Numbers: [53, 62, 38]
Generated Node #0,1: 47:[53, 62, 38] Operation: 46-8=38
Exploring Operation: 46+8=54, Resulting Numbers: [53, 62, 54]
Generated Node #0,2: 47:[53, 62, 54] Operation: 46+8=54
Exploring Operation: 53-8=45, Resulting Numbers: [46, 62, 45]
Generated Node #0,3: 47:[46, 62, 45] Operation: 53-8=45
Moving to Node #0,0
Current State: 47:[46, 53, 54], Operations: ['62-8=54']
Exploring Operation: 54-53=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 47:[46, 1] Operation: 54-53=1
Exploring Operation: 46+53=99, Resulting Numbers: [54, 99]
Generated Node #0,0,1: 47:[54, 99] Operation: 46+53=99
Exploring Operation: 54-46=8, Resulting Numbers: [53, 8]
Generated Node #0,0,2: 47:[53, 8] Operation: 54-46=8
Exploring Operation: 53-46=7, Resulting Numbers: [54, 7]
Generated Node #0,0,3: 47:[54, 7] Operation: 53-46=7
Moving to Node #0,3
Current State: 47:[46, 62, 45], Operations: ['53-8=45']
Exploring Operation: 62-46=16, Resulting Numbers: [45, 16]
Generated Node #0,3,0: 47:[45, 16] Operation: 62-46=16
Exploring Operation: 62-45=17, Resulting Numbers: [46, 17]
Generated Node #0,3,1: 47:[46, 17] Operation: 62-45=17
Exploring Operation: 46+45=91, Resulting Numbers: [62, 91]
Generated Node #0,3,2: 47:[62, 91] Operation: 46+45=91
Exploring Operation: 46-45=1, Resulting Numbers: [62, 1]
Generated Node #0,3,3: 47:[62, 1] Operation: 46-45=1
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[46, 17], Operations: ['53-8=45', '62-45=17']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[45, 16], Operations: ['53-8=45', '62-46=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 47:[62, 91], Operations: ['53-8=45', '46+45=91']
Exploring Operation: 62*91=5642, Resulting Numbers: [5642]
5642,47 unequal: No Solution
Exploring Operation: 62+91=153, Resulting Numbers: [153]
153,47 unequal: No Solution
Exploring Operation: 91-62=29, Resulting Numbers: [29]
29,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 47:[62, 1], Operations: ['53-8=45', '46-45=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[53, 62, 54], Operations: ['46+8=54']
Exploring Operation: 62-54=8, Resulting Numbers: [53, 8]
Generated Node #0,2,0: 47:[53, 8] Operation: 62-54=8
Exploring Operation: 54-53=1, Resulting Numbers: [62, 1]
Generated Node #0,2,1: 47:[62, 1] Operation: 54-53=1
Exploring Operation: 62-53=9, Resulting Numbers: [54, 9]
Generated Node #0,2,2: 47:[54, 9] Operation: 62-53=9
Exploring Operation: 53+62=115, Resulting Numbers: [54, 115]
Generated Node #0,2,3: 47:[54, 115] Operation: 53+62=115
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[53, 8], Operations: ['46+8=54', '62-54=8']
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,47 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[54, 9], Operations: ['46+8=54', '62-53=9']
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,47 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[62, 1], Operations: ['46+8=54', '54-53=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[54, 115], Operations: ['46+8=54', '53+62=115']
Exploring Operation: 54*115=6210, Resulting Numbers: [6210]
6210,47 unequal: No Solution
Exploring Operation: 115-54=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 54+115=169, Resulting Numbers: [169]
169,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 47:[53, 62, 38], Operations: ['46-8=38']
Exploring Operation: 53+38=91, Resulting Numbers: [62, 91]
Generated Node #0,1,0: 47:[62, 91] Operation: 53+38=91
Exploring Operation: 62-38=24, Resulting Numbers: [53, 24]
Generated Node #0,1,1: 47:[53, 24] Operation: 62-38=24
Exploring Operation: 53-38=15, Resulting Numbers: [62, 15]
Generated Node #0,1,2: 47:[62, 15] Operation: 53-38=15
Exploring Operation: 62-53=9, Resulting Numbers: [38, 9]
Generated Node #0,1,3: 47:[38, 9] Operation: 62-53=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[53, 24], Operations: ['46-8=38', '62-38=24']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[62, 15], Operations: ['46-8=38', '53-38=15']
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 62*15=930, Resulting Numbers: [930]
930,47 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[46, 53, 62, 8], Operations: []
Exploring Operation: 46-8=38, Resulting Numbers: [53, 62, 38]
Generated Node #0,1: 47:[53, 62, 38] Operation: 46-8=38
Moving to Node #0,1
Current State: 47:[53, 62, 38], Operations: ['46-8=38']
Exploring Operation: 53-38=15, Resulting Numbers: [62, 15]
Generated Node #0,1,2: 47:[62, 15] Operation: 53-38=15
Moving to Node #0,1,2
Current State: 47:[62, 15], Operations: ['46-8=38', '53-38=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_4 | sum_heuristic |
[
56,
85,
89,
40
] | 78 | [
"85-56=29",
"89-40=49",
"29+49=78"
] | Current State: 78:[56, 85, 89, 40], Operations: []
Exploring Operation: 85-56=29, Resulting Numbers: [89, 40, 29]
Generated Node #2: [89, 40, 29] from Operation: 85-56=29
Current State: 78:[89, 40, 29], Operations: ['85-56=29']
Exploring Operation: 89-40=49, Resulting Numbers: [29, 49]
Generated Node #3: [29, 49] from Operation: 89-40=49
Current State: 78:[29, 49], Operations: ['85-56=29', '89-40=49']
Exploring Operation: 29+49=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[56, 85, 89, 40], Operations: []
Exploring Operation: 85-56=29, Resulting Numbers: [89, 40, 29]
Generated Node #0,0: 78:[89, 40, 29] Operation: 85-56=29
Exploring Operation: 89-56=33, Resulting Numbers: [85, 40, 33]
Generated Node #0,1: 78:[85, 40, 33] Operation: 89-56=33
Exploring Operation: 56-40=16, Resulting Numbers: [85, 89, 16]
Generated Node #0,2: 78:[85, 89, 16] Operation: 56-40=16
Exploring Operation: 89-85=4, Resulting Numbers: [56, 40, 4]
Generated Node #0,3: 78:[56, 40, 4] Operation: 89-85=4
Moving to Node #0,1
Current State: 78:[85, 40, 33], Operations: ['89-56=33']
Exploring Operation: 85-33=52, Resulting Numbers: [40, 52]
Generated Node #0,1,0: 78:[40, 52] Operation: 85-33=52
Exploring Operation: 40+33=73, Resulting Numbers: [85, 73]
Generated Node #0,1,1: 78:[85, 73] Operation: 40+33=73
Exploring Operation: 85-40=45, Resulting Numbers: [33, 45]
Generated Node #0,1,2: 78:[33, 45] Operation: 85-40=45
Exploring Operation: 40-33=7, Resulting Numbers: [85, 7]
Generated Node #0,1,3: 78:[85, 7] Operation: 40-33=7
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 78:[85, 7], Operations: ['89-56=33', '40-33=7']
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[56, 85, 89, 40], Operations: []
Exploring Operation: 89-56=33, Resulting Numbers: [85, 40, 33]
Generated Node #0,1: 78:[85, 40, 33] Operation: 89-56=33
Moving to Node #0,1
Current State: 78:[85, 40, 33], Operations: ['89-56=33']
Exploring Operation: 40-33=7, Resulting Numbers: [85, 7]
Generated Node #0,1,3: 78:[85, 7] Operation: 40-33=7
Moving to Node #0,1,3
Current State: 78:[85, 7], Operations: ['89-56=33', '40-33=7']
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
28,
60,
44,
64
] | 18 | [
"28+44=72",
"64-60=4",
"72/4=18"
] | Current State: 18:[28, 60, 44, 64], Operations: []
Exploring Operation: 28+44=72, Resulting Numbers: [60, 64, 72]
Generated Node #2: [60, 64, 72] from Operation: 28+44=72
Current State: 18:[60, 64, 72], Operations: ['28+44=72']
Exploring Operation: 64-60=4, Resulting Numbers: [72, 4]
Generated Node #3: [72, 4] from Operation: 64-60=4
Current State: 18:[72, 4], Operations: ['28+44=72', '64-60=4']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[28, 60, 44, 64], Operations: []
Exploring Operation: 64-60=4, Resulting Numbers: [28, 44, 4]
Generated Node #0,0: 18:[28, 44, 4] Operation: 64-60=4
Exploring Operation: 60-44=16, Resulting Numbers: [28, 64, 16]
Generated Node #0,1: 18:[28, 64, 16] Operation: 60-44=16
Exploring Operation: 64-44=20, Resulting Numbers: [28, 60, 20]
Generated Node #0,2: 18:[28, 60, 20] Operation: 64-44=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[28, 44, 4], Operations: ['64-60=4']
Exploring Operation: 44-28=16, Resulting Numbers: [4, 16]
Generated Node #0,0,0: 18:[4, 16] Operation: 44-28=16
Exploring Operation: 44/4=11, Resulting Numbers: [28, 11]
Generated Node #0,0,1: 18:[28, 11] Operation: 44/4=11
Exploring Operation: 28/4=7, Resulting Numbers: [44, 7]
Generated Node #0,0,2: 18:[44, 7] Operation: 28/4=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[4, 16], Operations: ['64-60=4', '44-28=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 18:[28, 11], Operations: ['64-60=4', '44/4=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,18 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 18:[44, 7], Operations: ['64-60=4', '28/4=7']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,18 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,18 unequal: No Solution
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[28, 60, 20], Operations: ['64-44=20']
Exploring Operation: 60-28=32, Resulting Numbers: [20, 32]
Generated Node #0,2,0: 18:[20, 32] Operation: 60-28=32
Exploring Operation: 60/20=3, Resulting Numbers: [28, 3]
Generated Node #0,2,1: 18:[28, 3] Operation: 60/20=3
Exploring Operation: 60-20=40, Resulting Numbers: [28, 40]
Generated Node #0,2,2: 18:[28, 40] Operation: 60-20=40
Moving to Node #0,2,1
Current State: 18:[28, 3], Operations: ['64-44=20', '60/20=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[20, 32], Operations: ['64-44=20', '60-28=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,18 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[28, 40], Operations: ['64-44=20', '60-20=40']
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[28, 64, 16], Operations: ['60-44=16']
Exploring Operation: 64/16=4, Resulting Numbers: [28, 4]
Generated Node #0,1,0: 18:[28, 4] Operation: 64/16=4
Exploring Operation: 64-16=48, Resulting Numbers: [28, 48]
Generated Node #0,1,1: 18:[28, 48] Operation: 64-16=48
Exploring Operation: 64-28=36, Resulting Numbers: [16, 36]
Generated Node #0,1,2: 18:[16, 36] Operation: 64-28=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[28, 4], Operations: ['60-44=16', '64/16=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 18:[16, 36], Operations: ['60-44=16', '64-28=36']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,18 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[28, 48], Operations: ['60-44=16', '64-16=48']
Exploring Operation: 28+48=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 28*48=1344, Resulting Numbers: [1344]
1344,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
9,
25,
22
] | 83 | [
"4*9=36",
"25+22=47",
"36+47=83"
] | Current State: 83:[4, 9, 25, 22], Operations: []
Exploring Operation: 4*9=36, Resulting Numbers: [25, 22, 36]
Generated Node #2: [25, 22, 36] from Operation: 4*9=36
Current State: 83:[25, 22, 36], Operations: ['4*9=36']
Exploring Operation: 25+22=47, Resulting Numbers: [36, 47]
Generated Node #3: [36, 47] from Operation: 25+22=47
Current State: 83:[36, 47], Operations: ['4*9=36', '25+22=47']
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[4, 9, 25, 22], Operations: []
Exploring Operation: 4*25=100, Resulting Numbers: [9, 22, 100]
Generated Node #0,0: 83:[9, 22, 100] Operation: 4*25=100
Exploring Operation: 4*22=88, Resulting Numbers: [9, 25, 88]
Generated Node #0,1: 83:[9, 25, 88] Operation: 4*22=88
Moving to Node #0,1
Current State: 83:[9, 25, 88], Operations: ['4*22=88']
Exploring Operation: 9+25=34, Resulting Numbers: [88, 34]
Generated Node #0,1,0: 83:[88, 34] Operation: 9+25=34
Exploring Operation: 88-9=79, Resulting Numbers: [25, 79]
Generated Node #0,1,1: 83:[25, 79] Operation: 88-9=79
Moving to Node #0,0
Current State: 83:[9, 22, 100], Operations: ['4*25=100']
Exploring Operation: 9+22=31, Resulting Numbers: [100, 31]
Generated Node #0,0,0: 83:[100, 31] Operation: 9+22=31
Exploring Operation: 100-9=91, Resulting Numbers: [22, 91]
Generated Node #0,0,1: 83:[22, 91] Operation: 100-9=91
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[100, 31], Operations: ['4*25=100', '9+22=31']
Exploring Operation: 100-31=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 100+31=131, Resulting Numbers: [131]
131,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[22, 91], Operations: ['4*25=100', '100-9=91']
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 22+91=113, Resulting Numbers: [113]
113,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 83:[88, 34], Operations: ['4*22=88', '9+25=34']
Exploring Operation: 88+34=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[25, 79], Operations: ['4*22=88', '88-9=79']
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 25+79=104, Resulting Numbers: [104]
104,83 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
93,
55,
53
] | 47 | [
"93-44=49",
"55-53=2",
"49-2=47"
] | Current State: 47:[44, 93, 55, 53], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [55, 53, 49]
Generated Node #2: [55, 53, 49] from Operation: 93-44=49
Current State: 47:[55, 53, 49], Operations: ['93-44=49']
Exploring Operation: 55-53=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 55-53=2
Current State: 47:[49, 2], Operations: ['93-44=49', '55-53=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[44, 93, 55, 53], Operations: []
Exploring Operation: 55-44=11, Resulting Numbers: [93, 53, 11]
Generated Node #0,0: 47:[93, 53, 11] Operation: 55-44=11
Exploring Operation: 93-44=49, Resulting Numbers: [55, 53, 49]
Generated Node #0,1: 47:[55, 53, 49] Operation: 93-44=49
Exploring Operation: 93-53=40, Resulting Numbers: [44, 55, 40]
Generated Node #0,2: 47:[44, 55, 40] Operation: 93-53=40
Exploring Operation: 93-55=38, Resulting Numbers: [44, 53, 38]
Generated Node #0,3: 47:[44, 53, 38] Operation: 93-55=38
Moving to Node #0,1
Current State: 47:[55, 53, 49], Operations: ['93-44=49']
Exploring Operation: 53-49=4, Resulting Numbers: [55, 4]
Generated Node #0,1,0: 47:[55, 4] Operation: 53-49=4
Exploring Operation: 55-53=2, Resulting Numbers: [49, 2]
Generated Node #0,1,1: 47:[49, 2] Operation: 55-53=2
Exploring Operation: 55-49=6, Resulting Numbers: [53, 6]
Generated Node #0,1,2: 47:[53, 6] Operation: 55-49=6
Exploring Operation: 55+53=108, Resulting Numbers: [49, 108]
Generated Node #0,1,3: 47:[49, 108] Operation: 55+53=108
Moving to Node #0,3
Current State: 47:[44, 53, 38], Operations: ['93-55=38']
Exploring Operation: 53-44=9, Resulting Numbers: [38, 9]
Generated Node #0,3,0: 47:[38, 9] Operation: 53-44=9
Exploring Operation: 44-38=6, Resulting Numbers: [53, 6]
Generated Node #0,3,1: 47:[53, 6] Operation: 44-38=6
Exploring Operation: 53-38=15, Resulting Numbers: [44, 15]
Generated Node #0,3,2: 47:[44, 15] Operation: 53-38=15
Exploring Operation: 44+38=82, Resulting Numbers: [53, 82]
Generated Node #0,3,3: 47:[53, 82] Operation: 44+38=82
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 47:[44, 15], Operations: ['93-55=38', '53-38=15']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,47 unequal: No Solution
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 47:[53, 82], Operations: ['93-55=38', '44+38=82']
Exploring Operation: 53+82=135, Resulting Numbers: [135]
135,47 unequal: No Solution
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 53*82=4346, Resulting Numbers: [4346]
4346,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[38, 9], Operations: ['93-55=38', '53-44=9']
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 38*9=342, Resulting Numbers: [342]
342,47 unequal: No Solution
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[44, 93, 55, 53], Operations: []
Exploring Operation: 93-55=38, Resulting Numbers: [44, 53, 38]
Generated Node #0,3: 47:[44, 53, 38] Operation: 93-55=38
Moving to Node #0,3
Current State: 47:[44, 53, 38], Operations: ['93-55=38']
Exploring Operation: 53-44=9, Resulting Numbers: [38, 9]
Generated Node #0,3,0: 47:[38, 9] Operation: 53-44=9
Moving to Node #0,3,0
Current State: 47:[38, 9], Operations: ['93-55=38', '53-44=9']
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
24,
50,
48,
24
] | 28 | [
"50-24=26",
"48/24=2",
"26+2=28"
] | Current State: 28:[24, 50, 48, 24], Operations: []
Exploring Operation: 50-24=26, Resulting Numbers: [48, 26]
Generated Node #2: [48, 26] from Operation: 50-24=26
Current State: 28:[48, 26], Operations: ['50-24=26']
Exploring Operation: 48/24=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 48/24=2
Current State: 28:[26, 2], Operations: ['50-24=26', '48/24=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[24, 50, 48, 24], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [24, 24, 2]
Generated Node #0,0: 28:[24, 24, 2] Operation: 50-48=2
Exploring Operation: 48/24=2, Resulting Numbers: [24, 50, 2]
Generated Node #0,1: 28:[24, 50, 2] Operation: 48/24=2
Exploring Operation: 48/24=2, Resulting Numbers: [50, 24, 2]
Generated Node #0,2: 28:[50, 24, 2] Operation: 48/24=2
Exploring Operation: 50-24=26, Resulting Numbers: [24, 48, 26]
Generated Node #0,3: 28:[24, 48, 26] Operation: 50-24=26
Exploring Operation: 50-24=26, Resulting Numbers: [48, 24, 26]
Generated Node #0,4: 28:[48, 24, 26] Operation: 50-24=26
Moving to Node #0,0
Current State: 28:[24, 24, 2], Operations: ['50-48=2']
Exploring Operation: 24+2=26, Resulting Numbers: [24, 26]
Generated Node #0,0,0: 28:[24, 26] Operation: 24+2=26
Exploring Operation: 24/2=12, Resulting Numbers: [24, 12]
Generated Node #0,0,1: 28:[24, 12] Operation: 24/2=12
Exploring Operation: 24-24=0, Resulting Numbers: [2, 0]
Generated Node #0,0,2: 28:[2, 0] Operation: 24-24=0
Exploring Operation: 24+2=26, Resulting Numbers: [24, 26]
Generated Node #0,0,3: 28:[24, 26] Operation: 24+2=26
Exploring Operation: 24/24=1, Resulting Numbers: [2, 1]
Generated Node #0,0,4: 28:[2, 1] Operation: 24/24=1
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 28:[2, 1], Operations: ['50-48=2', '24/24=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,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,2
Current State: 28:[2, 0], Operations: ['50-48=2', '24-24=0']
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,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:[24, 26], Operations: ['50-48=2', '24+2=26']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,28 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,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:[24, 12], Operations: ['50-48=2', '24/2=12']
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,28 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,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,3
Current State: 28:[24, 26], Operations: ['50-48=2', '24+2=26']
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,28 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,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:[50, 24, 2], Operations: ['48/24=2']
Exploring Operation: 24/2=12, Resulting Numbers: [50, 12]
Generated Node #0,2,0: 28:[50, 12] Operation: 24/2=12
Exploring Operation: 50/2=25, Resulting Numbers: [24, 25]
Generated Node #0,2,1: 28:[24, 25] Operation: 50/2=25
Exploring Operation: 24+2=26, Resulting Numbers: [50, 26]
Generated Node #0,2,2: 28:[50, 26] Operation: 24+2=26
Exploring Operation: 50-2=48, Resulting Numbers: [24, 48]
Generated Node #0,2,3: 28:[24, 48] Operation: 50-2=48
Exploring Operation: 50-24=26, Resulting Numbers: [2, 26]
Generated Node #0,2,4: 28:[2, 26] Operation: 50-24=26
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 28:[2, 26], Operations: ['48/24=2', '50-24=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[24, 50, 48, 24], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [50, 24, 2]
Generated Node #0,2: 28:[50, 24, 2] Operation: 48/24=2
Moving to Node #0,2
Current State: 28:[50, 24, 2], Operations: ['48/24=2']
Exploring Operation: 50-24=26, Resulting Numbers: [2, 26]
Generated Node #0,2,4: 28:[2, 26] Operation: 50-24=26
Moving to Node #0,2,4
Current State: 28:[2, 26], Operations: ['48/24=2', '50-24=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
42,
54,
8,
7
] | 19 | [
"42+54=96",
"96/8=12",
"7+12=19"
] | Current State: 19:[42, 54, 8, 7], Operations: []
Exploring Operation: 42+54=96, Resulting Numbers: [8, 7, 96]
Generated Node #2: [8, 7, 96] from Operation: 42+54=96
Current State: 19:[8, 7, 96], Operations: ['42+54=96']
Exploring Operation: 96/8=12, Resulting Numbers: [7, 12]
Generated Node #3: [7, 12] from Operation: 96/8=12
Current State: 19:[7, 12], Operations: ['42+54=96', '96/8=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[42, 54, 8, 7], Operations: []
Exploring Operation: 42/7=6, Resulting Numbers: [54, 8, 6]
Generated Node #0,0: 19:[54, 8, 6] Operation: 42/7=6
Exploring Operation: 42-8=34, Resulting Numbers: [54, 7, 34]
Generated Node #0,1: 19:[54, 7, 34] Operation: 42-8=34
Exploring Operation: 54-42=12, Resulting Numbers: [8, 7, 12]
Generated Node #0,2: 19:[8, 7, 12] Operation: 54-42=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[8, 7, 12], Operations: ['54-42=12']
Exploring Operation: 8+7=15, Resulting Numbers: [12, 15]
Generated Node #0,2,0: 19:[12, 15] Operation: 8+7=15
Exploring Operation: 7+12=19, Resulting Numbers: [8, 19]
Generated Node #0,2,1: 19:[8, 19] Operation: 7+12=19
Exploring Operation: 8+12=20, Resulting Numbers: [7, 20]
Generated Node #0,2,2: 19:[7, 20] Operation: 8+12=20
Moving to Node #0,2,0
Current State: 19:[12, 15], Operations: ['54-42=12', '8+7=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[8, 19], Operations: ['54-42=12', '7+12=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,19 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[7, 20], Operations: ['54-42=12', '8+12=20']
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,19 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,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
Current State: 19:[54, 8, 6], Operations: ['42/7=6']
Exploring Operation: 54-8=46, Resulting Numbers: [6, 46]
Generated Node #0,0,0: 19:[6, 46] Operation: 54-8=46
Exploring Operation: 54-6=48, Resulting Numbers: [8, 48]
Generated Node #0,0,1: 19:[8, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [8, 9]
Generated Node #0,0,2: 19:[8, 9] Operation: 54/6=9
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[8, 9], Operations: ['42/7=6', '54/6=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[6, 46], Operations: ['42/7=6', '54-8=46']
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[8, 48], Operations: ['42/7=6', '54-6=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[54, 7, 34], Operations: ['42-8=34']
Exploring Operation: 54-7=47, Resulting Numbers: [34, 47]
Generated Node #0,1,0: 19:[34, 47] Operation: 54-7=47
Exploring Operation: 54-34=20, Resulting Numbers: [7, 20]
Generated Node #0,1,1: 19:[7, 20] Operation: 54-34=20
Exploring Operation: 34-7=27, Resulting Numbers: [54, 27]
Generated Node #0,1,2: 19:[54, 27] Operation: 34-7=27
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[7, 20], Operations: ['42-8=34', '54-34=20']
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,19 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[34, 47], Operations: ['42-8=34', '54-7=47']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 34*47=1598, Resulting Numbers: [1598]
1598,19 unequal: No Solution
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 19:[54, 27], Operations: ['42-8=34', '34-7=27']
Exploring Operation: 54/27=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 54+27=81, Resulting Numbers: [81]
81,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
40,
79,
28,
5
] | 72 | [
"79-40=39",
"28+5=33",
"39+33=72"
] | Current State: 72:[40, 79, 28, 5], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [28, 5, 39]
Generated Node #2: [28, 5, 39] from Operation: 79-40=39
Current State: 72:[28, 5, 39], Operations: ['79-40=39']
Exploring Operation: 28+5=33, Resulting Numbers: [39, 33]
Generated Node #3: [39, 33] from Operation: 28+5=33
Current State: 72:[39, 33], Operations: ['79-40=39', '28+5=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[40, 79, 28, 5], Operations: []
Exploring Operation: 79-5=74, Resulting Numbers: [40, 28, 74]
Generated Node #0,0: 72:[40, 28, 74] Operation: 79-5=74
Exploring Operation: 79-40=39, Resulting Numbers: [28, 5, 39]
Generated Node #0,1: 72:[28, 5, 39] Operation: 79-40=39
Exploring Operation: 40-28=12, Resulting Numbers: [79, 5, 12]
Generated Node #0,2: 72:[79, 5, 12] Operation: 40-28=12
Moving to Node #0,1
Current State: 72:[28, 5, 39], Operations: ['79-40=39']
Exploring Operation: 28+5=33, Resulting Numbers: [39, 33]
Generated Node #0,1,0: 72:[39, 33] Operation: 28+5=33
Exploring Operation: 39-28=11, Resulting Numbers: [5, 11]
Generated Node #0,1,1: 72:[5, 11] Operation: 39-28=11
Exploring Operation: 28-5=23, Resulting Numbers: [39, 23]
Generated Node #0,1,2: 72:[39, 23] Operation: 28-5=23
Moving to Node #0,2
Current State: 72:[79, 5, 12], Operations: ['40-28=12']
Exploring Operation: 79-12=67, Resulting Numbers: [5, 67]
Generated Node #0,2,0: 72:[5, 67] Operation: 79-12=67
Exploring Operation: 79-5=74, Resulting Numbers: [12, 74]
Generated Node #0,2,1: 72:[12, 74] Operation: 79-5=74
Exploring Operation: 5+12=17, Resulting Numbers: [79, 17]
Generated Node #0,2,2: 72:[79, 17] Operation: 5+12=17
Moving to Node #0,0
Current State: 72:[40, 28, 74], Operations: ['79-5=74']
Exploring Operation: 40-28=12, Resulting Numbers: [74, 12]
Generated Node #0,0,0: 72:[74, 12] Operation: 40-28=12
Exploring Operation: 40+28=68, Resulting Numbers: [74, 68]
Generated Node #0,0,1: 72:[74, 68] Operation: 40+28=68
Exploring Operation: 74-40=34, Resulting Numbers: [28, 34]
Generated Node #0,0,2: 72:[28, 34] Operation: 74-40=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[74, 12], Operations: ['79-5=74', '40-28=12']
Exploring Operation: 74*12=888, Resulting Numbers: [888]
888,72 unequal: No Solution
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 74+12=86, Resulting Numbers: [86]
86,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[74, 68], Operations: ['79-5=74', '40+28=68']
Exploring Operation: 74*68=5032, Resulting Numbers: [5032]
5032,72 unequal: No Solution
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 74+68=142, Resulting Numbers: [142]
142,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[28, 34], Operations: ['79-5=74', '74-40=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,72 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: 72:[5, 11], Operations: ['79-40=39', '39-28=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[12, 74], Operations: ['40-28=12', '79-5=74']
Exploring Operation: 12+74=86, Resulting Numbers: [86]
86,72 unequal: No Solution
Exploring Operation: 12*74=888, Resulting Numbers: [888]
888,72 unequal: No Solution
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[39, 23], Operations: ['79-40=39', '28-5=23']
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,72 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[39, 33], Operations: ['79-40=39', '28+5=33']
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[40, 79, 28, 5], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [28, 5, 39]
Generated Node #0,1: 72:[28, 5, 39] Operation: 79-40=39
Moving to Node #0,1
Current State: 72:[28, 5, 39], Operations: ['79-40=39']
Exploring Operation: 28+5=33, Resulting Numbers: [39, 33]
Generated Node #0,1,0: 72:[39, 33] Operation: 28+5=33
Moving to Node #0,1,0
Current State: 72:[39, 33], Operations: ['79-40=39', '28+5=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.96875 | hs_3 | sum_heuristic |
[
63,
34,
32,
33
] | 99 | [
"63-34=29",
"32-29=3",
"33*3=99"
] | Current State: 99:[63, 34, 32, 33], Operations: []
Exploring Operation: 63-34=29, Resulting Numbers: [32, 33, 29]
Generated Node #2: [32, 33, 29] from Operation: 63-34=29
Current State: 99:[32, 33, 29], Operations: ['63-34=29']
Exploring Operation: 32-29=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 32-29=3
Current State: 99:[33, 3], Operations: ['63-34=29', '32-29=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[63, 34, 32, 33], Operations: []
Exploring Operation: 63+34=97, Resulting Numbers: [32, 33, 97]
Generated Node #0,0: 99:[32, 33, 97] Operation: 63+34=97
Moving to Node #0,0
Current State: 99:[32, 33, 97], Operations: ['63+34=97']
Exploring Operation: 33-32=1, Resulting Numbers: [97, 1]
Generated Node #0,0,0: 99:[97, 1] Operation: 33-32=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[97, 1], Operations: ['63+34=97', '33-32=1']
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,99 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 |
[
59,
94,
64,
4
] | 94 | [
"64-59=5",
"5-4=1",
"94*1=94"
] | Current State: 94:[59, 94, 64, 4], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [94, 4, 5]
Generated Node #2: [94, 4, 5] from Operation: 64-59=5
Current State: 94:[94, 4, 5], Operations: ['64-59=5']
Exploring Operation: 5-4=1, Resulting Numbers: [94, 1]
Generated Node #3: [94, 1] from Operation: 5-4=1
Current State: 94:[94, 1], Operations: ['64-59=5', '5-4=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[59, 94, 64, 4], Operations: []
Exploring Operation: 94-59=35, Resulting Numbers: [64, 4, 35]
Generated Node #0,0: 94:[64, 4, 35] Operation: 94-59=35
Exploring Operation: 64/4=16, Resulting Numbers: [59, 94, 16]
Generated Node #0,1: 94:[59, 94, 16] Operation: 64/4=16
Exploring Operation: 64-4=60, Resulting Numbers: [59, 94, 60]
Generated Node #0,2: 94:[59, 94, 60] Operation: 64-4=60
Exploring Operation: 59-4=55, Resulting Numbers: [94, 64, 55]
Generated Node #0,3: 94:[94, 64, 55] Operation: 59-4=55
Exploring Operation: 64-59=5, Resulting Numbers: [94, 4, 5]
Generated Node #0,4: 94:[94, 4, 5] Operation: 64-59=5
Start Sub Search at level 1: Moving to Node #0,4
Current State: 94:[94, 4, 5], Operations: ['64-59=5']
Exploring Operation: 94-5=89, Resulting Numbers: [4, 89]
Generated Node #0,4,0: 94:[4, 89] Operation: 94-5=89
Exploring Operation: 94+5=99, Resulting Numbers: [4, 99]
Generated Node #0,4,1: 94:[4, 99] Operation: 94+5=99
Exploring Operation: 5-4=1, Resulting Numbers: [94, 1]
Generated Node #0,4,2: 94:[94, 1] Operation: 5-4=1
Exploring Operation: 94+4=98, Resulting Numbers: [5, 98]
Generated Node #0,4,3: 94:[5, 98] Operation: 94+4=98
Exploring Operation: 94-4=90, Resulting Numbers: [5, 90]
Generated Node #0,4,4: 94:[5, 90] Operation: 94-4=90
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 94:[94, 1], Operations: ['64-59=5', '5-4=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[59, 94, 64, 4], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [94, 4, 5]
Generated Node #0,4: 94:[94, 4, 5] Operation: 64-59=5
Moving to Node #0,4
Current State: 94:[94, 4, 5], Operations: ['64-59=5']
Exploring Operation: 5-4=1, Resulting Numbers: [94, 1]
Generated Node #0,4,2: 94:[94, 1] Operation: 5-4=1
Moving to Node #0,4,2
Current State: 94:[94, 1], Operations: ['64-59=5', '5-4=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
18,
68,
84,
9
] | 10 | [
"18*9=162",
"68+84=152",
"162-152=10"
] | Current State: 10:[18, 68, 84, 9], Operations: []
Exploring Operation: 18*9=162, Resulting Numbers: [68, 84, 162]
Generated Node #2: [68, 84, 162] from Operation: 18*9=162
Current State: 10:[68, 84, 162], Operations: ['18*9=162']
Exploring Operation: 68+84=152, Resulting Numbers: [162, 152]
Generated Node #3: [162, 152] from Operation: 68+84=152
Current State: 10:[162, 152], Operations: ['18*9=162', '68+84=152']
Exploring Operation: 162-152=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[18, 68, 84, 9], Operations: []
Exploring Operation: 84-9=75, Resulting Numbers: [18, 68, 75]
Generated Node #0,0: 10:[18, 68, 75] Operation: 84-9=75
Exploring Operation: 68-18=50, Resulting Numbers: [84, 9, 50]
Generated Node #0,1: 10:[84, 9, 50] Operation: 68-18=50
Exploring Operation: 68-9=59, Resulting Numbers: [18, 84, 59]
Generated Node #0,2: 10:[18, 84, 59] Operation: 68-9=59
Exploring Operation: 84-68=16, Resulting Numbers: [18, 9, 16]
Generated Node #0,3: 10:[18, 9, 16] Operation: 84-68=16
Exploring Operation: 84-18=66, Resulting Numbers: [68, 9, 66]
Generated Node #0,4: 10:[68, 9, 66] Operation: 84-18=66
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[18, 9, 16], Operations: ['84-68=16']
Exploring Operation: 18-16=2, Resulting Numbers: [9, 2]
Generated Node #0,3,0: 10:[9, 2] Operation: 18-16=2
Exploring Operation: 16-9=7, Resulting Numbers: [18, 7]
Generated Node #0,3,1: 10:[18, 7] Operation: 16-9=7
Exploring Operation: 18/9=2, Resulting Numbers: [16, 2]
Generated Node #0,3,2: 10:[16, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [16, 9]
Generated Node #0,3,3: 10:[16, 9] Operation: 18-9=9
Exploring Operation: 18+9=27, Resulting Numbers: [16, 27]
Generated Node #0,3,4: 10:[16, 27] Operation: 18+9=27
Moving to Node #0,3,0
Current State: 10:[9, 2], Operations: ['84-68=16', '18-16=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[16, 2], Operations: ['84-68=16', '18/9=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[16, 9], Operations: ['84-68=16', '18-9=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,10 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[18, 7], Operations: ['84-68=16', '16-9=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,10 unequal: No Solution
Moving to Node #0,3,4
Current State: 10:[16, 27], Operations: ['84-68=16', '18+9=27']
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,10 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[84, 9, 50], Operations: ['68-18=50']
Exploring Operation: 9+50=59, Resulting Numbers: [84, 59]
Generated Node #0,1,0: 10:[84, 59] Operation: 9+50=59
Exploring Operation: 84-50=34, Resulting Numbers: [9, 34]
Generated Node #0,1,1: 10:[9, 34] Operation: 84-50=34
Exploring Operation: 50-9=41, Resulting Numbers: [84, 41]
Generated Node #0,1,2: 10:[84, 41] Operation: 50-9=41
Exploring Operation: 84+9=93, Resulting Numbers: [50, 93]
Generated Node #0,1,3: 10:[50, 93] Operation: 84+9=93
Exploring Operation: 84-9=75, Resulting Numbers: [50, 75]
Generated Node #0,1,4: 10:[50, 75] Operation: 84-9=75
Moving to Node #0,1,1
Current State: 10:[9, 34], Operations: ['68-18=50', '84-50=34']
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,10 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Moving to Node #0,1,4
Current State: 10:[50, 75], Operations: ['68-18=50', '84-9=75']
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 50+75=125, Resulting Numbers: [125]
125,10 unequal: No Solution
Exploring Operation: 50*75=3750, Resulting Numbers: [3750]
3750,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[84, 41], Operations: ['68-18=50', '50-9=41']
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 84*41=3444, Resulting Numbers: [3444]
3444,10 unequal: No Solution
Exploring Operation: 84+41=125, Resulting Numbers: [125]
125,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[84, 59], Operations: ['68-18=50', '9+50=59']
Exploring Operation: 84+59=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Exploring Operation: 84*59=4956, Resulting Numbers: [4956]
4956,10 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[50, 93], Operations: ['68-18=50', '84+9=93']
Exploring Operation: 50+93=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Exploring Operation: 93-50=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 50*93=4650, Resulting Numbers: [4650]
4650,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 10:[68, 9, 66], Operations: ['84-18=66']
Exploring Operation: 68+9=77, Resulting Numbers: [66, 77]
Generated Node #0,4,0: 10:[66, 77] Operation: 68+9=77
Exploring Operation: 66-9=57, Resulting Numbers: [68, 57]
Generated Node #0,4,1: 10:[68, 57] Operation: 66-9=57
Exploring Operation: 9+66=75, Resulting Numbers: [68, 75]
Generated Node #0,4,2: 10:[68, 75] Operation: 9+66=75
Exploring Operation: 68-66=2, Resulting Numbers: [9, 2]
Generated Node #0,4,3: 10:[9, 2] Operation: 68-66=2
Exploring Operation: 68-9=59, Resulting Numbers: [66, 59]
Generated Node #0,4,4: 10:[66, 59] Operation: 68-9=59
Moving to Node #0,4,3
Current State: 10:[9, 2], Operations: ['84-18=66', '68-66=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Moving to Node #0,4,4
Current State: 10:[66, 59], Operations: ['84-18=66', '68-9=59']
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 66*59=3894, Resulting Numbers: [3894]
3894,10 unequal: No Solution
Exploring Operation: 66+59=125, Resulting Numbers: [125]
125,10 unequal: No Solution
Moving to Node #0,4,1
Current State: 10:[68, 57], Operations: ['84-18=66', '66-9=57']
Exploring Operation: 68+57=125, Resulting Numbers: [125]
125,10 unequal: No Solution
Exploring Operation: 68*57=3876, Resulting Numbers: [3876]
3876,10 unequal: No Solution
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Moving to Node #0,4,0
Current State: 10:[66, 77], Operations: ['84-18=66', '68+9=77']
Exploring Operation: 66+77=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 66*77=5082, Resulting Numbers: [5082]
5082,10 unequal: No Solution
Moving to Node #0,4,2
Current State: 10:[68, 75], Operations: ['84-18=66', '9+66=75']
Exploring Operation: 68*75=5100, Resulting Numbers: [5100]
5100,10 unequal: No Solution
Exploring Operation: 68+75=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Exploring Operation: 75-68=7, Resulting Numbers: [7]
7,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[18, 68, 75], Operations: ['84-9=75']
Exploring Operation: 18+68=86, Resulting Numbers: [75, 86]
Generated Node #0,0,0: 10:[75, 86] Operation: 18+68=86
Exploring Operation: 75-68=7, Resulting Numbers: [18, 7]
Generated Node #0,0,1: 10:[18, 7] Operation: 75-68=7
Exploring Operation: 68-18=50, Resulting Numbers: [75, 50]
Generated Node #0,0,2: 10:[75, 50] Operation: 68-18=50
Exploring Operation: 18+75=93, Resulting Numbers: [68, 93]
Generated Node #0,0,3: 10:[68, 93] Operation: 18+75=93
Exploring Operation: 75-18=57, Resulting Numbers: [68, 57]
Generated Node #0,0,4: 10:[68, 57] Operation: 75-18=57
Moving to Node #0,0,1
Current State: 10:[18, 7], Operations: ['84-9=75', '75-68=7']
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,10 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Moving to Node #0,0,4
Current State: 10:[68, 57], Operations: ['84-9=75', '75-18=57']
Exploring Operation: 68*57=3876, Resulting Numbers: [3876]
3876,10 unequal: No Solution
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 68+57=125, Resulting Numbers: [125]
125,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[75, 50], Operations: ['84-9=75', '68-18=50']
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,10 unequal: No Solution
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,10 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[75, 86], Operations: ['84-9=75', '18+68=86']
Exploring Operation: 75+86=161, Resulting Numbers: [161]
161,10 unequal: No Solution
Exploring Operation: 75*86=6450, Resulting Numbers: [6450]
6450,10 unequal: No Solution
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[68, 93], Operations: ['84-9=75', '18+75=93']
Exploring Operation: 93-68=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 68+93=161, Resulting Numbers: [161]
161,10 unequal: No Solution
Exploring Operation: 68*93=6324, Resulting Numbers: [6324]
6324,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[18, 84, 59], Operations: ['68-9=59']
Exploring Operation: 84-59=25, Resulting Numbers: [18, 25]
Generated Node #0,2,0: 10:[18, 25] Operation: 84-59=25
Exploring Operation: 59-18=41, Resulting Numbers: [84, 41]
Generated Node #0,2,1: 10:[84, 41] Operation: 59-18=41
Exploring Operation: 84-18=66, Resulting Numbers: [59, 66]
Generated Node #0,2,2: 10:[59, 66] Operation: 84-18=66
Exploring Operation: 18+59=77, Resulting Numbers: [84, 77]
Generated Node #0,2,3: 10:[84, 77] Operation: 18+59=77
Exploring Operation: 18+84=102, Resulting Numbers: [59, 102]
Generated Node #0,2,4: 10:[59, 102] Operation: 18+84=102
Moving to Node #0,2,0
Current State: 10:[18, 25], Operations: ['68-9=59', '84-59=25']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 18*25=450, Resulting Numbers: [450]
450,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[59, 66], Operations: ['68-9=59', '84-18=66']
Exploring Operation: 59+66=125, Resulting Numbers: [125]
125,10 unequal: No Solution
Exploring Operation: 59*66=3894, Resulting Numbers: [3894]
3894,10 unequal: No Solution
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[84, 41], Operations: ['68-9=59', '59-18=41']
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 84+41=125, Resulting Numbers: [125]
125,10 unequal: No Solution
Exploring Operation: 84*41=3444, Resulting Numbers: [3444]
3444,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[84, 77], Operations: ['68-9=59', '18+59=77']
Exploring Operation: 84*77=6468, Resulting Numbers: [6468]
6468,10 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 84+77=161, Resulting Numbers: [161]
161,10 unequal: No Solution
Moving to Node #0,2,4
Current State: 10:[59, 102], Operations: ['68-9=59', '18+84=102']
Exploring Operation: 59+102=161, Resulting Numbers: [161]
161,10 unequal: No Solution
Exploring Operation: 59*102=6018, Resulting Numbers: [6018]
6018,10 unequal: No Solution
Exploring Operation: 102-59=43, Resulting Numbers: [43]
43,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
6,
16,
18,
82
] | 10 | [
"16-6=10",
"18+82=100",
"100/10=10"
] | Current State: 10:[6, 16, 18, 82], Operations: []
Exploring Operation: 16-6=10, Resulting Numbers: [18, 82, 10]
Generated Node #2: [18, 82, 10] from Operation: 16-6=10
Current State: 10:[18, 82, 10], Operations: ['16-6=10']
Exploring Operation: 18+82=100, Resulting Numbers: [10, 100]
Generated Node #3: [10, 100] from Operation: 18+82=100
Current State: 10:[10, 100], Operations: ['16-6=10', '18+82=100']
Exploring Operation: 100/10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[6, 16, 18, 82], Operations: []
Exploring Operation: 82-18=64, Resulting Numbers: [6, 16, 64]
Generated Node #0,0: 10:[6, 16, 64] Operation: 82-18=64
Exploring Operation: 82-16=66, Resulting Numbers: [6, 18, 66]
Generated Node #0,1: 10:[6, 18, 66] Operation: 82-16=66
Exploring Operation: 18-16=2, Resulting Numbers: [6, 82, 2]
Generated Node #0,2: 10:[6, 82, 2] Operation: 18-16=2
Moving to Node #0,0
Current State: 10:[6, 16, 64], Operations: ['82-18=64']
Exploring Operation: 64-16=48, Resulting Numbers: [6, 48]
Generated Node #0,0,0: 10:[6, 48] Operation: 64-16=48
Exploring Operation: 16-6=10, Resulting Numbers: [64, 10]
Generated Node #0,0,1: 10:[64, 10] Operation: 16-6=10
Exploring Operation: 64/16=4, Resulting Numbers: [6, 4]
Generated Node #0,0,2: 10:[6, 4] Operation: 64/16=4
Moving to Node #0,1
Current State: 10:[6, 18, 66], Operations: ['82-16=66']
Exploring Operation: 66-18=48, Resulting Numbers: [6, 48]
Generated Node #0,1,0: 10:[6, 48] Operation: 66-18=48
Exploring Operation: 18/6=3, Resulting Numbers: [66, 3]
Generated Node #0,1,1: 10:[66, 3] Operation: 18/6=3
Exploring Operation: 66/6=11, Resulting Numbers: [18, 11]
Generated Node #0,1,2: 10:[18, 11] Operation: 66/6=11
Moving to Node #0,2
Current State: 10:[6, 82, 2], Operations: ['18-16=2']
Exploring Operation: 82/2=41, Resulting Numbers: [6, 41]
Generated Node #0,2,0: 10:[6, 41] Operation: 82/2=41
Exploring Operation: 82-6=76, Resulting Numbers: [2, 76]
Generated Node #0,2,1: 10:[2, 76] Operation: 82-6=76
Exploring Operation: 82-2=80, Resulting Numbers: [6, 80]
Generated Node #0,2,2: 10:[6, 80] Operation: 82-2=80
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[6, 41], Operations: ['18-16=2', '82/2=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,10 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[2, 76], Operations: ['18-16=2', '82-6=76']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,10 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[6, 80], Operations: ['18-16=2', '82-2=80']
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,10 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,10 unequal: No Solution
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,10 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: 10:[6, 4], Operations: ['82-18=64', '64/16=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[6, 16, 18, 82], Operations: []
Exploring Operation: 82-18=64, Resulting Numbers: [6, 16, 64]
Generated Node #0,0: 10:[6, 16, 64] Operation: 82-18=64
Moving to Node #0,0
Current State: 10:[6, 16, 64], Operations: ['82-18=64']
Exploring Operation: 64/16=4, Resulting Numbers: [6, 4]
Generated Node #0,0,2: 10:[6, 4] Operation: 64/16=4
Moving to Node #0,0,2
Current State: 10:[6, 4], Operations: ['82-18=64', '64/16=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
65,
20,
40,
91
] | 78 | [
"65+91=156",
"40/20=2",
"156/2=78"
] | Current State: 78:[65, 20, 40, 91], Operations: []
Exploring Operation: 65+91=156, Resulting Numbers: [20, 40, 156]
Generated Node #2: [20, 40, 156] from Operation: 65+91=156
Current State: 78:[20, 40, 156], Operations: ['65+91=156']
Exploring Operation: 40/20=2, Resulting Numbers: [156, 2]
Generated Node #3: [156, 2] from Operation: 40/20=2
Current State: 78:[156, 2], Operations: ['65+91=156', '40/20=2']
Exploring Operation: 156/2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[65, 20, 40, 91], Operations: []
Exploring Operation: 91-65=26, Resulting Numbers: [20, 40, 26]
Generated Node #0,0: 78:[20, 40, 26] Operation: 91-65=26
Exploring Operation: 65-20=45, Resulting Numbers: [40, 91, 45]
Generated Node #0,1: 78:[40, 91, 45] Operation: 65-20=45
Moving to Node #0,0
Current State: 78:[20, 40, 26], Operations: ['91-65=26']
Exploring Operation: 26-20=6, Resulting Numbers: [40, 6]
Generated Node #0,0,0: 78:[40, 6] Operation: 26-20=6
Exploring Operation: 40/20=2, Resulting Numbers: [26, 2]
Generated Node #0,0,1: 78:[26, 2] Operation: 40/20=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[26, 2], Operations: ['91-65=26', '40/20=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,78 unequal: No Solution
No 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: 78:[40, 6], Operations: ['91-65=26', '26-20=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,78 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: 78:[40, 91, 45], Operations: ['65-20=45']
Exploring Operation: 91-45=46, Resulting Numbers: [40, 46]
Generated Node #0,1,0: 78:[40, 46] Operation: 91-45=46
Exploring Operation: 45-40=5, Resulting Numbers: [91, 5]
Generated Node #0,1,1: 78:[91, 5] Operation: 45-40=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[40, 46], Operations: ['65-20=45', '91-45=46']
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,78 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,78 unequal: No Solution
No 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: 78:[91, 5], Operations: ['65-20=45', '45-40=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,78 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 |
[
93,
24,
83,
83
] | 49 | [
"93+24=117",
"83+83=166",
"166-117=49"
] | Current State: 49:[93, 24, 83, 83], Operations: []
Exploring Operation: 93+24=117, Resulting Numbers: [83, 83, 117]
Generated Node #2: [83, 83, 117] from Operation: 93+24=117
Current State: 49:[83, 83, 117], Operations: ['93+24=117']
Exploring Operation: 83+83=166, Resulting Numbers: [117, 166]
Generated Node #3: [117, 166] from Operation: 83+83=166
Current State: 49:[117, 166], Operations: ['93+24=117', '83+83=166']
Exploring Operation: 166-117=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[93, 24, 83, 83], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [24, 83, 10]
Generated Node #0,0: 49:[24, 83, 10] Operation: 93-83=10
Exploring Operation: 93-83=10, Resulting Numbers: [24, 83, 10]
Generated Node #0,1: 49:[24, 83, 10] Operation: 93-83=10
Exploring Operation: 83-83=0, Resulting Numbers: [93, 24, 0]
Generated Node #0,2: 49:[93, 24, 0] Operation: 83-83=0
Exploring Operation: 83/83=1, Resulting Numbers: [93, 24, 1]
Generated Node #0,3: 49:[93, 24, 1] Operation: 83/83=1
Moving to Node #0,0
Current State: 49:[24, 83, 10], Operations: ['93-83=10']
Exploring Operation: 83-24=59, Resulting Numbers: [10, 59]
Generated Node #0,0,0: 49:[10, 59] Operation: 83-24=59
Exploring Operation: 24-10=14, Resulting Numbers: [83, 14]
Generated Node #0,0,1: 49:[83, 14] Operation: 24-10=14
Exploring Operation: 24+10=34, Resulting Numbers: [83, 34]
Generated Node #0,0,2: 49:[83, 34] Operation: 24+10=34
Exploring Operation: 83-10=73, Resulting Numbers: [24, 73]
Generated Node #0,0,3: 49:[24, 73] Operation: 83-10=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[10, 59], Operations: ['93-83=10', '83-24=59']
Exploring Operation: 10+59=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 10*59=590, Resulting Numbers: [590]
590,49 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[93, 24, 83, 83], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [24, 83, 10]
Generated Node #0,0: 49:[24, 83, 10] Operation: 93-83=10
Moving to Node #0,0
Current State: 49:[24, 83, 10], Operations: ['93-83=10']
Exploring Operation: 83-24=59, Resulting Numbers: [10, 59]
Generated Node #0,0,0: 49:[10, 59] Operation: 83-24=59
Moving to Node #0,0,0
Current State: 49:[10, 59], Operations: ['93-83=10', '83-24=59']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
34,
3,
41,
19
] | 76 | [
"34+3=37",
"41-37=4",
"19*4=76"
] | Current State: 76:[34, 3, 41, 19], Operations: []
Exploring Operation: 34+3=37, Resulting Numbers: [41, 19, 37]
Generated Node #2: [41, 19, 37] from Operation: 34+3=37
Current State: 76:[41, 19, 37], Operations: ['34+3=37']
Exploring Operation: 41-37=4, Resulting Numbers: [19, 4]
Generated Node #3: [19, 4] from Operation: 41-37=4
Current State: 76:[19, 4], Operations: ['34+3=37', '41-37=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[34, 3, 41, 19], Operations: []
Exploring Operation: 41-34=7, Resulting Numbers: [3, 19, 7]
Generated Node #0,0: 76:[3, 19, 7] Operation: 41-34=7
Exploring Operation: 34+41=75, Resulting Numbers: [3, 19, 75]
Generated Node #0,1: 76:[3, 19, 75] Operation: 34+41=75
Exploring Operation: 34+3=37, Resulting Numbers: [41, 19, 37]
Generated Node #0,2: 76:[41, 19, 37] Operation: 34+3=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[3, 19, 75], Operations: ['34+41=75']
Exploring Operation: 3+19=22, Resulting Numbers: [75, 22]
Generated Node #0,1,0: 76:[75, 22] Operation: 3+19=22
Exploring Operation: 19-3=16, Resulting Numbers: [75, 16]
Generated Node #0,1,1: 76:[75, 16] Operation: 19-3=16
Exploring Operation: 3+75=78, Resulting Numbers: [19, 78]
Generated Node #0,1,2: 76:[19, 78] Operation: 3+75=78
Moving to Node #0,1,2
Current State: 76:[19, 78], Operations: ['34+41=75', '3+75=78']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 19+78=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Exploring Operation: 19*78=1482, Resulting Numbers: [1482]
1482,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[75, 22], Operations: ['34+41=75', '3+19=22']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,76 unequal: No Solution
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,76 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[75, 16], Operations: ['34+41=75', '19-3=16']
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,76 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[3, 19, 7], Operations: ['41-34=7']
Exploring Operation: 3+19=22, Resulting Numbers: [7, 22]
Generated Node #0,0,0: 76:[7, 22] Operation: 3+19=22
Exploring Operation: 3*7=21, Resulting Numbers: [19, 21]
Generated Node #0,0,1: 76:[19, 21] Operation: 3*7=21
Exploring Operation: 7-3=4, Resulting Numbers: [19, 4]
Generated Node #0,0,2: 76:[19, 4] Operation: 7-3=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[19, 4], Operations: ['41-34=7', '7-3=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[34, 3, 41, 19], Operations: []
Exploring Operation: 41-34=7, Resulting Numbers: [3, 19, 7]
Generated Node #0,0: 76:[3, 19, 7] Operation: 41-34=7
Moving to Node #0,0
Current State: 76:[3, 19, 7], Operations: ['41-34=7']
Exploring Operation: 7-3=4, Resulting Numbers: [19, 4]
Generated Node #0,0,2: 76:[19, 4] Operation: 7-3=4
Moving to Node #0,0,2
Current State: 76:[19, 4], Operations: ['41-34=7', '7-3=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
1,
27,
10,
1
] | 37 | [
"1+27=28",
"10-1=9",
"28+9=37"
] | Current State: 37:[1, 27, 10, 1], Operations: []
Exploring Operation: 1+27=28, Resulting Numbers: [10, 28]
Generated Node #2: [10, 28] from Operation: 1+27=28
Current State: 37:[10, 28], Operations: ['1+27=28']
Exploring Operation: 10-1=9, Resulting Numbers: [28, 9]
Generated Node #3: [28, 9] from Operation: 10-1=9
Current State: 37:[28, 9], Operations: ['1+27=28', '10-1=9']
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[1, 27, 10, 1], Operations: []
Exploring Operation: 27+10=37, Resulting Numbers: [1, 1, 37]
Generated Node #0,0: 37:[1, 1, 37] Operation: 27+10=37
Exploring Operation: 1+1=2, Resulting Numbers: [27, 10, 2]
Generated Node #0,1: 37:[27, 10, 2] Operation: 1+1=2
Exploring Operation: 27+1=28, Resulting Numbers: [1, 10, 28]
Generated Node #0,2: 37:[1, 10, 28] Operation: 27+1=28
Exploring Operation: 1+27=28, Resulting Numbers: [10, 1, 28]
Generated Node #0,3: 37:[10, 1, 28] Operation: 1+27=28
Exploring Operation: 1+10=11, Resulting Numbers: [27, 1, 11]
Generated Node #0,4: 37:[27, 1, 11] Operation: 1+10=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[1, 1, 37], Operations: ['27+10=37']
Exploring Operation: 1/1=1, Resulting Numbers: [37, 1]
Generated Node #0,0,0: 37:[37, 1] Operation: 1/1=1
Exploring Operation: 1+1=2, Resulting Numbers: [37, 2]
Generated Node #0,0,1: 37:[37, 2] Operation: 1+1=2
Exploring Operation: 1*1=1, Resulting Numbers: [37, 1]
Generated Node #0,0,2: 37:[37, 1] Operation: 1*1=1
Exploring Operation: 1*37=37, Resulting Numbers: [1, 37]
Generated Node #0,0,3: 37:[1, 37] Operation: 1*37=37
Exploring Operation: 37/1=37, Resulting Numbers: [1, 37]
Generated Node #0,0,4: 37:[1, 37] Operation: 37/1=37
Moving to Node #0,0,1
Current State: 37:[37, 2], Operations: ['27+10=37', '1+1=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,37 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[37, 1], Operations: ['27+10=37', '1*1=1']
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[1, 27, 10, 1], Operations: []
Exploring Operation: 27+10=37, Resulting Numbers: [1, 1, 37]
Generated Node #0,0: 37:[1, 1, 37] Operation: 27+10=37
Moving to Node #0,0
Current State: 37:[1, 1, 37], Operations: ['27+10=37']
Exploring Operation: 1*1=1, Resulting Numbers: [37, 1]
Generated Node #0,0,2: 37:[37, 1] Operation: 1*1=1
Moving to Node #0,0,2
Current State: 37:[37, 1], Operations: ['27+10=37', '1*1=1']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
77,
47,
33,
4
] | 97 | [
"47+33=80",
"80/4=20",
"77+20=97"
] | Current State: 97:[77, 47, 33, 4], Operations: []
Exploring Operation: 47+33=80, Resulting Numbers: [77, 4, 80]
Generated Node #2: [77, 4, 80] from Operation: 47+33=80
Current State: 97:[77, 4, 80], Operations: ['47+33=80']
Exploring Operation: 80/4=20, Resulting Numbers: [77, 20]
Generated Node #3: [77, 20] from Operation: 80/4=20
Current State: 97:[77, 20], Operations: ['47+33=80', '80/4=20']
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[77, 47, 33, 4], Operations: []
Exploring Operation: 33*4=132, Resulting Numbers: [77, 47, 132]
Generated Node #0,0: 97:[77, 47, 132] Operation: 33*4=132
Moving to Node #0,0
Current State: 97:[77, 47, 132], Operations: ['33*4=132']
Exploring Operation: 132-47=85, Resulting Numbers: [77, 85]
Generated Node #0,0,0: 97:[77, 85] Operation: 132-47=85
Moving to Node #0,0,0
Current State: 97:[77, 85], Operations: ['33*4=132', '132-47=85']
Exploring Operation: 77+85=162, Resulting Numbers: [162]
162,97 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
53,
74,
88,
90
] | 86 | [
"90-53=37",
"74/37=2",
"88-2=86"
] | Current State: 86:[53, 74, 88, 90], Operations: []
Exploring Operation: 90-53=37, Resulting Numbers: [74, 88, 37]
Generated Node #2: [74, 88, 37] from Operation: 90-53=37
Current State: 86:[74, 88, 37], Operations: ['90-53=37']
Exploring Operation: 74/37=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 74/37=2
Current State: 86:[88, 2], Operations: ['90-53=37', '74/37=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[53, 74, 88, 90], Operations: []
Exploring Operation: 90-53=37, Resulting Numbers: [74, 88, 37]
Generated Node #0,0: 86:[74, 88, 37] Operation: 90-53=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[74, 88, 37], Operations: ['90-53=37']
Exploring Operation: 74/37=2, Resulting Numbers: [88, 2]
Generated Node #0,0,0: 86:[88, 2] Operation: 74/37=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[88, 2], Operations: ['90-53=37', '74/37=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[53, 74, 88, 90], Operations: []
Exploring Operation: 90-53=37, Resulting Numbers: [74, 88, 37]
Generated Node #0,0: 86:[74, 88, 37] Operation: 90-53=37
Moving to Node #0,0
Current State: 86:[74, 88, 37], Operations: ['90-53=37']
Exploring Operation: 74/37=2, Resulting Numbers: [88, 2]
Generated Node #0,0,0: 86:[88, 2] Operation: 74/37=2
Moving to Node #0,0,0
Current State: 86:[88, 2], Operations: ['90-53=37', '74/37=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
46,
43,
93,
86
] | 55 | [
"46-43=3",
"93/3=31",
"86-31=55"
] | Current State: 55:[46, 43, 93, 86], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [93, 86, 3]
Generated Node #2: [93, 86, 3] from Operation: 46-43=3
Current State: 55:[93, 86, 3], Operations: ['46-43=3']
Exploring Operation: 93/3=31, Resulting Numbers: [86, 31]
Generated Node #3: [86, 31] from Operation: 93/3=31
Current State: 55:[86, 31], Operations: ['46-43=3', '93/3=31']
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[46, 43, 93, 86], Operations: []
Exploring Operation: 93-43=50, Resulting Numbers: [46, 86, 50]
Generated Node #0,0: 55:[46, 86, 50] Operation: 93-43=50
Exploring Operation: 93-86=7, Resulting Numbers: [46, 43, 7]
Generated Node #0,1: 55:[46, 43, 7] Operation: 93-86=7
Exploring Operation: 86/43=2, Resulting Numbers: [46, 93, 2]
Generated Node #0,2: 55:[46, 93, 2] Operation: 86/43=2
Exploring Operation: 93-46=47, Resulting Numbers: [43, 86, 47]
Generated Node #0,3: 55:[43, 86, 47] Operation: 93-46=47
Moving to Node #0,1
Current State: 55:[46, 43, 7], Operations: ['93-86=7']
Exploring Operation: 46-43=3, Resulting Numbers: [7, 3]
Generated Node #0,1,0: 55:[7, 3] Operation: 46-43=3
Exploring Operation: 46+7=53, Resulting Numbers: [43, 53]
Generated Node #0,1,1: 55:[43, 53] Operation: 46+7=53
Exploring Operation: 46-7=39, Resulting Numbers: [43, 39]
Generated Node #0,1,2: 55:[43, 39] Operation: 46-7=39
Exploring Operation: 43+7=50, Resulting Numbers: [46, 50]
Generated Node #0,1,3: 55:[46, 50] Operation: 43+7=50
Moving to Node #0,0
Current State: 55:[46, 86, 50], Operations: ['93-43=50']
Exploring Operation: 46+50=96, Resulting Numbers: [86, 96]
Generated Node #0,0,0: 55:[86, 96] Operation: 46+50=96
Exploring Operation: 86-50=36, Resulting Numbers: [46, 36]
Generated Node #0,0,1: 55:[46, 36] Operation: 86-50=36
Exploring Operation: 50-46=4, Resulting Numbers: [86, 4]
Generated Node #0,0,2: 55:[86, 4] Operation: 50-46=4
Exploring Operation: 86-46=40, Resulting Numbers: [50, 40]
Generated Node #0,0,3: 55:[50, 40] Operation: 86-46=40
Moving to Node #0,2
Current State: 55:[46, 93, 2], Operations: ['86/43=2']
Exploring Operation: 46-2=44, Resulting Numbers: [93, 44]
Generated Node #0,2,0: 55:[93, 44] Operation: 46-2=44
Exploring Operation: 93-2=91, Resulting Numbers: [46, 91]
Generated Node #0,2,1: 55:[46, 91] Operation: 93-2=91
Exploring Operation: 93-46=47, Resulting Numbers: [2, 47]
Generated Node #0,2,2: 55:[2, 47] Operation: 93-46=47
Exploring Operation: 46+2=48, Resulting Numbers: [93, 48]
Generated Node #0,2,3: 55:[93, 48] Operation: 46+2=48
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[2, 47], Operations: ['86/43=2', '93-46=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[46, 91], Operations: ['86/43=2', '93-2=91']
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 46+91=137, Resulting Numbers: [137]
137,55 unequal: No Solution
Exploring Operation: 46*91=4186, Resulting Numbers: [4186]
4186,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[93, 48], Operations: ['86/43=2', '46+2=48']
Exploring Operation: 93+48=141, Resulting Numbers: [141]
141,55 unequal: No Solution
Exploring Operation: 93-48=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 93*48=4464, Resulting Numbers: [4464]
4464,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[93, 44], Operations: ['86/43=2', '46-2=44']
Exploring Operation: 93*44=4092, Resulting Numbers: [4092]
4092,55 unequal: No Solution
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,55 unequal: No Solution
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 55:[43, 86, 47], Operations: ['93-46=47']
Exploring Operation: 86-47=39, Resulting Numbers: [43, 39]
Generated Node #0,3,0: 55:[43, 39] Operation: 86-47=39
Exploring Operation: 86/43=2, Resulting Numbers: [47, 2]
Generated Node #0,3,1: 55:[47, 2] Operation: 86/43=2
Exploring Operation: 86-43=43, Resulting Numbers: [47, 43]
Generated Node #0,3,2: 55:[47, 43] Operation: 86-43=43
Exploring Operation: 47-43=4, Resulting Numbers: [86, 4]
Generated Node #0,3,3: 55:[86, 4] Operation: 47-43=4
Moving to Node #0,1,0
Current State: 55:[7, 3], Operations: ['93-86=7', '46-43=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[47, 2], Operations: ['93-46=47', '86/43=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,55 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[46, 50], Operations: ['93-86=7', '43+7=50']
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,55 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 46*50=2300, Resulting Numbers: [2300]
2300,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[43, 53], Operations: ['93-86=7', '46+7=53']
Exploring Operation: 43+53=96, Resulting Numbers: [96]
96,55 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 43*53=2279, Resulting Numbers: [2279]
2279,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[50, 40], Operations: ['93-43=50', '86-46=40']
Exploring Operation: 50+40=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 50*40=2000, Resulting Numbers: [2000]
2000,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[47, 43], Operations: ['93-46=47', '86-43=43']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 47*43=2021, Resulting Numbers: [2021]
2021,55 unequal: No Solution
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[46, 36], Operations: ['93-43=50', '86-50=36']
Exploring Operation: 46*36=1656, Resulting Numbers: [1656]
1656,55 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[43, 39], Operations: ['93-46=47', '86-47=39']
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,55 unequal: No Solution
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,55 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[43, 39], Operations: ['93-86=7', '46-7=39']
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,55 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,55 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[86, 4], Operations: ['93-43=50', '50-46=4']
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,55 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[86, 4], Operations: ['93-46=47', '47-43=4']
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,55 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[86, 96], Operations: ['93-43=50', '46+50=96']
Exploring Operation: 86*96=8256, Resulting Numbers: [8256]
8256,55 unequal: No Solution
Exploring Operation: 86+96=182, Resulting Numbers: [182]
182,55 unequal: No Solution
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,55 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
34,
95,
38,
44
] | 67 | [
"95-34=61",
"44-38=6",
"61+6=67"
] | Current State: 67:[34, 95, 38, 44], Operations: []
Exploring Operation: 95-34=61, Resulting Numbers: [38, 44, 61]
Generated Node #2: [38, 44, 61] from Operation: 95-34=61
Current State: 67:[38, 44, 61], Operations: ['95-34=61']
Exploring Operation: 44-38=6, Resulting Numbers: [61, 6]
Generated Node #3: [61, 6] from Operation: 44-38=6
Current State: 67:[61, 6], Operations: ['95-34=61', '44-38=6']
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[34, 95, 38, 44], Operations: []
Exploring Operation: 34+38=72, Resulting Numbers: [95, 44, 72]
Generated Node #0,0: 67:[95, 44, 72] Operation: 34+38=72
Moving to Node #0,0
Current State: 67:[95, 44, 72], Operations: ['34+38=72']
Exploring Operation: 95-44=51, Resulting Numbers: [72, 51]
Generated Node #0,0,0: 67:[72, 51] Operation: 95-44=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[72, 51], Operations: ['34+38=72', '95-44=51']
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,67 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 |
[
55,
6,
26,
5
] | 51 | [
"55+26=81",
"6*5=30",
"81-30=51"
] | Current State: 51:[55, 6, 26, 5], Operations: []
Exploring Operation: 55+26=81, Resulting Numbers: [6, 5, 81]
Generated Node #2: [6, 5, 81] from Operation: 55+26=81
Current State: 51:[6, 5, 81], Operations: ['55+26=81']
Exploring Operation: 6*5=30, Resulting Numbers: [81, 30]
Generated Node #3: [81, 30] from Operation: 6*5=30
Current State: 51:[81, 30], Operations: ['55+26=81', '6*5=30']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[55, 6, 26, 5], Operations: []
Exploring Operation: 26-6=20, Resulting Numbers: [55, 5, 20]
Generated Node #0,0: 51:[55, 5, 20] Operation: 26-6=20
Exploring Operation: 55-6=49, Resulting Numbers: [26, 5, 49]
Generated Node #0,1: 51:[26, 5, 49] Operation: 55-6=49
Exploring Operation: 26-5=21, Resulting Numbers: [55, 6, 21]
Generated Node #0,2: 51:[55, 6, 21] Operation: 26-5=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[55, 5, 20], Operations: ['26-6=20']
Exploring Operation: 20-5=15, Resulting Numbers: [55, 15]
Generated Node #0,0,0: 51:[55, 15] Operation: 20-5=15
Exploring Operation: 20/5=4, Resulting Numbers: [55, 4]
Generated Node #0,0,1: 51:[55, 4] Operation: 20/5=4
Exploring Operation: 55-5=50, Resulting Numbers: [20, 50]
Generated Node #0,0,2: 51:[20, 50] Operation: 55-5=50
Moving to Node #0,0,2
Current State: 51:[20, 50], Operations: ['26-6=20', '55-5=50']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,51 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[55, 4], Operations: ['26-6=20', '20/5=4']
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,51 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[55, 6, 26, 5], Operations: []
Exploring Operation: 26-6=20, Resulting Numbers: [55, 5, 20]
Generated Node #0,0: 51:[55, 5, 20] Operation: 26-6=20
Moving to Node #0,0
Current State: 51:[55, 5, 20], Operations: ['26-6=20']
Exploring Operation: 20/5=4, Resulting Numbers: [55, 4]
Generated Node #0,0,1: 51:[55, 4] Operation: 20/5=4
Moving to Node #0,0,1
Current State: 51:[55, 4], Operations: ['26-6=20', '20/5=4']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
31,
42,
49,
47
] | 23 | [
"31+42=73",
"49+47=96",
"96-73=23"
] | Current State: 23:[31, 42, 49, 47], Operations: []
Exploring Operation: 31+42=73, Resulting Numbers: [49, 47, 73]
Generated Node #2: [49, 47, 73] from Operation: 31+42=73
Current State: 23:[49, 47, 73], Operations: ['31+42=73']
Exploring Operation: 49+47=96, Resulting Numbers: [73, 96]
Generated Node #3: [73, 96] from Operation: 49+47=96
Current State: 23:[73, 96], Operations: ['31+42=73', '49+47=96']
Exploring Operation: 96-73=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[31, 42, 49, 47], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [31, 47, 7]
Generated Node #0,0: 23:[31, 47, 7] Operation: 49-42=7
Exploring Operation: 49-31=18, Resulting Numbers: [42, 47, 18]
Generated Node #0,1: 23:[42, 47, 18] Operation: 49-31=18
Exploring Operation: 47-31=16, Resulting Numbers: [42, 49, 16]
Generated Node #0,2: 23:[42, 49, 16] Operation: 47-31=16
Exploring Operation: 49-47=2, Resulting Numbers: [31, 42, 2]
Generated Node #0,3: 23:[31, 42, 2] Operation: 49-47=2
Moving to Node #0,0
Current State: 23:[31, 47, 7], Operations: ['49-42=7']
Exploring Operation: 31-7=24, Resulting Numbers: [47, 24]
Generated Node #0,0,0: 23:[47, 24] Operation: 31-7=24
Exploring Operation: 47-7=40, Resulting Numbers: [31, 40]
Generated Node #0,0,1: 23:[31, 40] Operation: 47-7=40
Exploring Operation: 31+7=38, Resulting Numbers: [47, 38]
Generated Node #0,0,2: 23:[47, 38] Operation: 31+7=38
Exploring Operation: 47-31=16, Resulting Numbers: [7, 16]
Generated Node #0,0,3: 23:[7, 16] Operation: 47-31=16
Moving to Node #0,3
Current State: 23:[31, 42, 2], Operations: ['49-47=2']
Exploring Operation: 42-2=40, Resulting Numbers: [31, 40]
Generated Node #0,3,0: 23:[31, 40] Operation: 42-2=40
Exploring Operation: 31-2=29, Resulting Numbers: [42, 29]
Generated Node #0,3,1: 23:[42, 29] Operation: 31-2=29
Exploring Operation: 42/2=21, Resulting Numbers: [31, 21]
Generated Node #0,3,2: 23:[31, 21] Operation: 42/2=21
Exploring Operation: 31+2=33, Resulting Numbers: [42, 33]
Generated Node #0,3,3: 23:[42, 33] Operation: 31+2=33
Moving to Node #0,1
Current State: 23:[42, 47, 18], Operations: ['49-31=18']
Exploring Operation: 42+18=60, Resulting Numbers: [47, 60]
Generated Node #0,1,0: 23:[47, 60] Operation: 42+18=60
Exploring Operation: 47-42=5, Resulting Numbers: [18, 5]
Generated Node #0,1,1: 23:[18, 5] Operation: 47-42=5
Exploring Operation: 47-18=29, Resulting Numbers: [42, 29]
Generated Node #0,1,2: 23:[42, 29] Operation: 47-18=29
Exploring Operation: 42-18=24, Resulting Numbers: [47, 24]
Generated Node #0,1,3: 23:[47, 24] Operation: 42-18=24
Moving to Node #0,2
Current State: 23:[42, 49, 16], Operations: ['47-31=16']
Exploring Operation: 49-42=7, Resulting Numbers: [16, 7]
Generated Node #0,2,0: 23:[16, 7] Operation: 49-42=7
Exploring Operation: 42+16=58, Resulting Numbers: [49, 58]
Generated Node #0,2,1: 23:[49, 58] Operation: 42+16=58
Exploring Operation: 49-16=33, Resulting Numbers: [42, 33]
Generated Node #0,2,2: 23:[42, 33] Operation: 49-16=33
Exploring Operation: 42-16=26, Resulting Numbers: [49, 26]
Generated Node #0,2,3: 23:[49, 26] Operation: 42-16=26
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[16, 7], Operations: ['47-31=16', '49-42=7']
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,23 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[31, 42, 49, 47], Operations: []
Exploring Operation: 47-31=16, Resulting Numbers: [42, 49, 16]
Generated Node #0,2: 23:[42, 49, 16] Operation: 47-31=16
Moving to Node #0,2
Current State: 23:[42, 49, 16], Operations: ['47-31=16']
Exploring Operation: 49-42=7, Resulting Numbers: [16, 7]
Generated Node #0,2,0: 23:[16, 7] Operation: 49-42=7
Moving to Node #0,2,0
Current State: 23:[16, 7], Operations: ['47-31=16', '49-42=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | mult_heuristic |
[
95,
97,
53,
89
] | 25 | [
"95-89=6",
"97+53=150",
"150/6=25"
] | Current State: 25:[95, 97, 53, 89], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [97, 53, 6]
Generated Node #2: [97, 53, 6] from Operation: 95-89=6
Current State: 25:[97, 53, 6], Operations: ['95-89=6']
Exploring Operation: 97+53=150, Resulting Numbers: [6, 150]
Generated Node #3: [6, 150] from Operation: 97+53=150
Current State: 25:[6, 150], Operations: ['95-89=6', '97+53=150']
Exploring Operation: 150/6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[95, 97, 53, 89], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [53, 89, 2]
Generated Node #0,0: 25:[53, 89, 2] Operation: 97-95=2
Moving to Node #0,0
Current State: 25:[53, 89, 2], Operations: ['97-95=2']
Exploring Operation: 89-53=36, Resulting Numbers: [2, 36]
Generated Node #0,0,0: 25:[2, 36] Operation: 89-53=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[2, 36], Operations: ['97-95=2', '89-53=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,25 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 |
[
97,
91,
4,
1
] | 48 | [
"97+91=188",
"188/4=47",
"1+47=48"
] | Current State: 48:[97, 91, 4, 1], Operations: []
Exploring Operation: 97+91=188, Resulting Numbers: [4, 1, 188]
Generated Node #2: [4, 1, 188] from Operation: 97+91=188
Current State: 48:[4, 1, 188], Operations: ['97+91=188']
Exploring Operation: 188/4=47, Resulting Numbers: [1, 47]
Generated Node #3: [1, 47] from Operation: 188/4=47
Current State: 48:[1, 47], Operations: ['97+91=188', '188/4=47']
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[97, 91, 4, 1], Operations: []
Exploring Operation: 97-91=6, Resulting Numbers: [4, 1, 6]
Generated Node #0,0: 48:[4, 1, 6] Operation: 97-91=6
Exploring Operation: 91-4=87, Resulting Numbers: [97, 1, 87]
Generated Node #0,1: 48:[97, 1, 87] Operation: 91-4=87
Exploring Operation: 97-4=93, Resulting Numbers: [91, 1, 93]
Generated Node #0,2: 48:[91, 1, 93] Operation: 97-4=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[4, 1, 6], Operations: ['97-91=6']
Exploring Operation: 4/1=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 48:[6, 4] Operation: 4/1=4
Exploring Operation: 4-1=3, Resulting Numbers: [6, 3]
Generated Node #0,0,1: 48:[6, 3] Operation: 4-1=3
Exploring Operation: 4*1=4, Resulting Numbers: [6, 4]
Generated Node #0,0,2: 48:[6, 4] Operation: 4*1=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[6, 4], Operations: ['97-91=6', '4/1=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[6, 3], Operations: ['97-91=6', '4-1=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 48:[6, 4], Operations: ['97-91=6', '4*1=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[97, 1, 87], Operations: ['91-4=87']
Exploring Operation: 97-1=96, Resulting Numbers: [87, 96]
Generated Node #0,1,0: 48:[87, 96] Operation: 97-1=96
Exploring Operation: 97-87=10, Resulting Numbers: [1, 10]
Generated Node #0,1,1: 48:[1, 10] Operation: 97-87=10
Exploring Operation: 87-1=86, Resulting Numbers: [97, 86]
Generated Node #0,1,2: 48:[97, 86] Operation: 87-1=86
Moving to Node #0,1,1
Current State: 48:[1, 10], Operations: ['91-4=87', '97-87=10']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[87, 96], Operations: ['91-4=87', '97-1=96']
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 87+96=183, Resulting Numbers: [183]
183,48 unequal: No Solution
Exploring Operation: 87*96=8352, Resulting Numbers: [8352]
8352,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[97, 86], Operations: ['91-4=87', '87-1=86']
Exploring Operation: 97+86=183, Resulting Numbers: [183]
183,48 unequal: No Solution
Exploring Operation: 97*86=8342, Resulting Numbers: [8342]
8342,48 unequal: No Solution
Exploring Operation: 97-86=11, Resulting Numbers: [11]
11,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[91, 1, 93], Operations: ['97-4=93']
Exploring Operation: 91-1=90, Resulting Numbers: [93, 90]
Generated Node #0,2,0: 48:[93, 90] Operation: 91-1=90
Exploring Operation: 93-91=2, Resulting Numbers: [1, 2]
Generated Node #0,2,1: 48:[1, 2] Operation: 93-91=2
Exploring Operation: 93-1=92, Resulting Numbers: [91, 92]
Generated Node #0,2,2: 48:[91, 92] Operation: 93-1=92
Moving to Node #0,2,1
Current State: 48:[1, 2], Operations: ['97-4=93', '93-91=2']
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[93, 90], Operations: ['97-4=93', '91-1=90']
Exploring Operation: 93-90=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 93+90=183, Resulting Numbers: [183]
183,48 unequal: No Solution
Exploring Operation: 93*90=8370, Resulting Numbers: [8370]
8370,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[91, 92], Operations: ['97-4=93', '93-1=92']
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,48 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
82,
2,
30,
98
] | 22 | [
"98-82=16",
"16/2=8",
"30-8=22"
] | Current State: 22:[82, 2, 30, 98], Operations: []
Exploring Operation: 98-82=16, Resulting Numbers: [2, 30, 16]
Generated Node #2: [2, 30, 16] from Operation: 98-82=16
Current State: 22:[2, 30, 16], Operations: ['98-82=16']
Exploring Operation: 16/2=8, Resulting Numbers: [30, 8]
Generated Node #3: [30, 8] from Operation: 16/2=8
Current State: 22:[30, 8], Operations: ['98-82=16', '16/2=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[82, 2, 30, 98], Operations: []
Exploring Operation: 98-82=16, Resulting Numbers: [2, 30, 16]
Generated Node #0,0: 22:[2, 30, 16] Operation: 98-82=16
Exploring Operation: 98/2=49, Resulting Numbers: [82, 30, 49]
Generated Node #0,1: 22:[82, 30, 49] Operation: 98/2=49
Exploring Operation: 82/2=41, Resulting Numbers: [30, 98, 41]
Generated Node #0,2: 22:[30, 98, 41] Operation: 82/2=41
Moving to Node #0,0
Current State: 22:[2, 30, 16], Operations: ['98-82=16']
Exploring Operation: 30-2=28, Resulting Numbers: [16, 28]
Generated Node #0,0,0: 22:[16, 28] Operation: 30-2=28
Exploring Operation: 30-16=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 22:[2, 14] Operation: 30-16=14
Exploring Operation: 30/2=15, Resulting Numbers: [16, 15]
Generated Node #0,0,2: 22:[16, 15] Operation: 30/2=15
Moving to Node #0,1
Current State: 22:[82, 30, 49], Operations: ['98/2=49']
Exploring Operation: 82-30=52, Resulting Numbers: [49, 52]
Generated Node #0,1,0: 22:[49, 52] Operation: 82-30=52
Exploring Operation: 49-30=19, Resulting Numbers: [82, 19]
Generated Node #0,1,1: 22:[82, 19] Operation: 49-30=19
Exploring Operation: 82-49=33, Resulting Numbers: [30, 33]
Generated Node #0,1,2: 22:[30, 33] Operation: 82-49=33
Moving to Node #0,2
Current State: 22:[30, 98, 41], Operations: ['82/2=41']
Exploring Operation: 98-30=68, Resulting Numbers: [41, 68]
Generated Node #0,2,0: 22:[41, 68] Operation: 98-30=68
Exploring Operation: 98-41=57, Resulting Numbers: [30, 57]
Generated Node #0,2,1: 22:[30, 57] Operation: 98-41=57
Exploring Operation: 41-30=11, Resulting Numbers: [98, 11]
Generated Node #0,2,2: 22:[98, 11] Operation: 41-30=11
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[30, 57], Operations: ['82/2=41', '98-41=57']
Exploring Operation: 30*57=1710, Resulting Numbers: [1710]
1710,22 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[41, 68], Operations: ['82/2=41', '98-30=68']
Exploring Operation: 41+68=109, Resulting Numbers: [109]
109,22 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 41*68=2788, Resulting Numbers: [2788]
2788,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[98, 11], Operations: ['82/2=41', '41-30=11']
Exploring Operation: 98*11=1078, Resulting Numbers: [1078]
1078,22 unequal: No Solution
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,22 unequal: No Solution
Exploring Operation: 98+11=109, Resulting Numbers: [109]
109,22 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: 22:[2, 14], Operations: ['98-82=16', '30-16=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[16, 15], Operations: ['98-82=16', '30/2=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,22 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,22 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[16, 28], Operations: ['98-82=16', '30-2=28']
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[30, 33], Operations: ['98/2=49', '82-49=33']
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,22 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[49, 52], Operations: ['98/2=49', '82-30=52']
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,22 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[82, 19], Operations: ['98/2=49', '49-30=19']
Exploring Operation: 82*19=1558, Resulting Numbers: [1558]
1558,22 unequal: No Solution
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 82+19=101, Resulting Numbers: [101]
101,22 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
70,
3,
97,
63
] | 87 | [
"70+3=73",
"97+63=160",
"160-73=87"
] | Current State: 87:[70, 3, 97, 63], Operations: []
Exploring Operation: 70+3=73, Resulting Numbers: [97, 63, 73]
Generated Node #2: [97, 63, 73] from Operation: 70+3=73
Current State: 87:[97, 63, 73], Operations: ['70+3=73']
Exploring Operation: 97+63=160, Resulting Numbers: [73, 160]
Generated Node #3: [73, 160] from Operation: 97+63=160
Current State: 87:[73, 160], Operations: ['70+3=73', '97+63=160']
Exploring Operation: 160-73=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[70, 3, 97, 63], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [3, 97, 7]
Generated Node #0,0: 87:[3, 97, 7] Operation: 70-63=7
Exploring Operation: 97-63=34, Resulting Numbers: [70, 3, 34]
Generated Node #0,1: 87:[70, 3, 34] Operation: 97-63=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[3, 97, 7], Operations: ['70-63=7']
Exploring Operation: 97-7=90, Resulting Numbers: [3, 90]
Generated Node #0,0,0: 87:[3, 90] Operation: 97-7=90
Exploring Operation: 97-3=94, Resulting Numbers: [7, 94]
Generated Node #0,0,1: 87:[7, 94] Operation: 97-3=94
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[3, 90], Operations: ['70-63=7', '97-7=90']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[70, 3, 97, 63], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [3, 97, 7]
Generated Node #0,0: 87:[3, 97, 7] Operation: 70-63=7
Moving to Node #0,0
Current State: 87:[3, 97, 7], Operations: ['70-63=7']
Exploring Operation: 97-7=90, Resulting Numbers: [3, 90]
Generated Node #0,0,0: 87:[3, 90] Operation: 97-7=90
Moving to Node #0,0,0
Current State: 87:[3, 90], Operations: ['70-63=7', '97-7=90']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
3,
45,
81,
57
] | 77 | [
"57-45=12",
"12/3=4",
"81-4=77"
] | Current State: 77:[3, 45, 81, 57], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [3, 81, 12]
Generated Node #2: [3, 81, 12] from Operation: 57-45=12
Current State: 77:[3, 81, 12], Operations: ['57-45=12']
Exploring Operation: 12/3=4, Resulting Numbers: [81, 4]
Generated Node #3: [81, 4] from Operation: 12/3=4
Current State: 77:[81, 4], Operations: ['57-45=12', '12/3=4']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[3, 45, 81, 57], Operations: []
Exploring Operation: 45/3=15, Resulting Numbers: [81, 57, 15]
Generated Node #0,0: 77:[81, 57, 15] Operation: 45/3=15
Exploring Operation: 57-45=12, Resulting Numbers: [3, 81, 12]
Generated Node #0,1: 77:[3, 81, 12] Operation: 57-45=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[3, 81, 12], Operations: ['57-45=12']
Exploring Operation: 81-3=78, Resulting Numbers: [12, 78]
Generated Node #0,1,0: 77:[12, 78] Operation: 81-3=78
Exploring Operation: 12-3=9, Resulting Numbers: [81, 9]
Generated Node #0,1,1: 77:[81, 9] Operation: 12-3=9
Moving to Node #0,1,0
Current State: 77:[12, 78], Operations: ['57-45=12', '81-3=78']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 12+78=90, Resulting Numbers: [90]
90,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[81, 9], Operations: ['57-45=12', '12-3=9']
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[81, 57, 15], Operations: ['45/3=15']
Exploring Operation: 57+15=72, Resulting Numbers: [81, 72]
Generated Node #0,0,0: 77:[81, 72] Operation: 57+15=72
Exploring Operation: 81-57=24, Resulting Numbers: [15, 24]
Generated Node #0,0,1: 77:[15, 24] Operation: 81-57=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[81, 72], Operations: ['45/3=15', '57+15=72']
Exploring Operation: 81+72=153, Resulting Numbers: [153]
153,77 unequal: No Solution
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[15, 24], Operations: ['45/3=15', '81-57=24']
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,77 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
66,
73,
27,
31
] | 70 | [
"66+27=93",
"93/31=3",
"73-3=70"
] | Current State: 70:[66, 73, 27, 31], Operations: []
Exploring Operation: 66+27=93, Resulting Numbers: [73, 31, 93]
Generated Node #2: [73, 31, 93] from Operation: 66+27=93
Current State: 70:[73, 31, 93], Operations: ['66+27=93']
Exploring Operation: 93/31=3, Resulting Numbers: [73, 3]
Generated Node #3: [73, 3] from Operation: 93/31=3
Current State: 70:[73, 3], Operations: ['66+27=93', '93/31=3']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[66, 73, 27, 31], Operations: []
Exploring Operation: 31-27=4, Resulting Numbers: [66, 73, 4]
Generated Node #0,0: 70:[66, 73, 4] Operation: 31-27=4
Moving to Node #0,0
Current State: 70:[66, 73, 4], Operations: ['31-27=4']
Exploring Operation: 73-66=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 70:[4, 7] Operation: 73-66=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[4, 7], Operations: ['31-27=4', '73-66=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
45,
59,
65
] | 77 | [
"26+45=71",
"65-59=6",
"71+6=77"
] | Current State: 77:[26, 45, 59, 65], Operations: []
Exploring Operation: 26+45=71, Resulting Numbers: [59, 65, 71]
Generated Node #2: [59, 65, 71] from Operation: 26+45=71
Current State: 77:[59, 65, 71], Operations: ['26+45=71']
Exploring Operation: 65-59=6, Resulting Numbers: [71, 6]
Generated Node #3: [71, 6] from Operation: 65-59=6
Current State: 77:[71, 6], Operations: ['26+45=71', '65-59=6']
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[26, 45, 59, 65], Operations: []
Exploring Operation: 26+45=71, Resulting Numbers: [59, 65, 71]
Generated Node #0,0: 77:[59, 65, 71] Operation: 26+45=71
Exploring Operation: 59-45=14, Resulting Numbers: [26, 65, 14]
Generated Node #0,1: 77:[26, 65, 14] Operation: 59-45=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[26, 65, 14], Operations: ['59-45=14']
Exploring Operation: 26+65=91, Resulting Numbers: [14, 91]
Generated Node #0,1,0: 77:[14, 91] Operation: 26+65=91
Exploring Operation: 26-14=12, Resulting Numbers: [65, 12]
Generated Node #0,1,1: 77:[65, 12] Operation: 26-14=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[65, 12], Operations: ['59-45=14', '26-14=12']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,77 unequal: No Solution
Exploring Operation: 65+12=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[26, 45, 59, 65], Operations: []
Exploring Operation: 59-45=14, Resulting Numbers: [26, 65, 14]
Generated Node #0,1: 77:[26, 65, 14] Operation: 59-45=14
Moving to Node #0,1
Current State: 77:[26, 65, 14], Operations: ['59-45=14']
Exploring Operation: 26-14=12, Resulting Numbers: [65, 12]
Generated Node #0,1,1: 77:[65, 12] Operation: 26-14=12
Moving to Node #0,1,1
Current State: 77:[65, 12], Operations: ['59-45=14', '26-14=12']
Exploring Operation: 65+12=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
79,
8,
13,
3
] | 28 | [
"79-8=71",
"13+71=84",
"84/3=28"
] | Current State: 28:[79, 8, 13, 3], Operations: []
Exploring Operation: 79-8=71, Resulting Numbers: [13, 3, 71]
Generated Node #2: [13, 3, 71] from Operation: 79-8=71
Current State: 28:[13, 3, 71], Operations: ['79-8=71']
Exploring Operation: 13+71=84, Resulting Numbers: [3, 84]
Generated Node #3: [3, 84] from Operation: 13+71=84
Current State: 28:[3, 84], Operations: ['79-8=71', '13+71=84']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[79, 8, 13, 3], Operations: []
Exploring Operation: 79-13=66, Resulting Numbers: [8, 3, 66]
Generated Node #0,0: 28:[8, 3, 66] Operation: 79-13=66
Exploring Operation: 79-8=71, Resulting Numbers: [13, 3, 71]
Generated Node #0,1: 28:[13, 3, 71] Operation: 79-8=71
Exploring Operation: 79-3=76, Resulting Numbers: [8, 13, 76]
Generated Node #0,2: 28:[8, 13, 76] Operation: 79-3=76
Exploring Operation: 13-8=5, Resulting Numbers: [79, 3, 5]
Generated Node #0,3: 28:[79, 3, 5] Operation: 13-8=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[8, 3, 66], Operations: ['79-13=66']
Exploring Operation: 66-3=63, Resulting Numbers: [8, 63]
Generated Node #0,0,0: 28:[8, 63] Operation: 66-3=63
Exploring Operation: 66-8=58, Resulting Numbers: [3, 58]
Generated Node #0,0,1: 28:[3, 58] Operation: 66-8=58
Exploring Operation: 8-3=5, Resulting Numbers: [66, 5]
Generated Node #0,0,2: 28:[66, 5] Operation: 8-3=5
Exploring Operation: 66/3=22, Resulting Numbers: [8, 22]
Generated Node #0,0,3: 28:[8, 22] Operation: 66/3=22
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 28:[8, 22], Operations: ['79-13=66', '66/3=22']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,28 unequal: No Solution
No 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: 28:[3, 58], Operations: ['79-13=66', '66-8=58']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,28 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,28 unequal: No Solution
No 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: 28:[8, 63], Operations: ['79-13=66', '66-3=63']
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,28 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,28 unequal: No Solution
No 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: 28:[66, 5], Operations: ['79-13=66', '8-3=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,28 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[13, 3, 71], Operations: ['79-8=71']
Exploring Operation: 13+3=16, Resulting Numbers: [71, 16]
Generated Node #0,1,0: 28:[71, 16] Operation: 13+3=16
Exploring Operation: 71-13=58, Resulting Numbers: [3, 58]
Generated Node #0,1,1: 28:[3, 58] Operation: 71-13=58
Exploring Operation: 71-3=68, Resulting Numbers: [13, 68]
Generated Node #0,1,2: 28:[13, 68] Operation: 71-3=68
Exploring Operation: 13-3=10, Resulting Numbers: [71, 10]
Generated Node #0,1,3: 28:[71, 10] Operation: 13-3=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[3, 58], Operations: ['79-8=71', '71-13=58']
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,28 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,28 unequal: No Solution
No 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: 28:[13, 68], Operations: ['79-8=71', '71-3=68']
Exploring Operation: 13*68=884, Resulting Numbers: [884]
884,28 unequal: No Solution
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,28 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,28 unequal: No Solution
No 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: 28:[71, 16], Operations: ['79-8=71', '13+3=16']
Exploring Operation: 71*16=1136, Resulting Numbers: [1136]
1136,28 unequal: No Solution
Exploring Operation: 71-16=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 71+16=87, Resulting Numbers: [87]
87,28 unequal: No Solution
No 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: 28:[71, 10], Operations: ['79-8=71', '13-3=10']
Exploring Operation: 71*10=710, Resulting Numbers: [710]
710,28 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[8, 13, 76], Operations: ['79-3=76']
Exploring Operation: 76-8=68, Resulting Numbers: [13, 68]
Generated Node #0,2,0: 28:[13, 68] Operation: 76-8=68
Exploring Operation: 76-13=63, Resulting Numbers: [8, 63]
Generated Node #0,2,1: 28:[8, 63] Operation: 76-13=63
Exploring Operation: 13-8=5, Resulting Numbers: [76, 5]
Generated Node #0,2,2: 28:[76, 5] Operation: 13-8=5
Exploring Operation: 8+13=21, Resulting Numbers: [76, 21]
Generated Node #0,2,3: 28:[76, 21] Operation: 8+13=21
Moving to Node #0,2,1
Current State: 28:[8, 63], Operations: ['79-3=76', '76-13=63']
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,28 unequal: No Solution
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[13, 68], Operations: ['79-3=76', '76-8=68']
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,28 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 13*68=884, Resulting Numbers: [884]
884,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[76, 5], Operations: ['79-3=76', '13-8=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,28 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,28 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[76, 21], Operations: ['79-3=76', '8+13=21']
Exploring Operation: 76*21=1596, Resulting Numbers: [1596]
1596,28 unequal: No Solution
Exploring Operation: 76+21=97, Resulting Numbers: [97]
97,28 unequal: No Solution
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[79, 3, 5], Operations: ['13-8=5']
Exploring Operation: 3+5=8, Resulting Numbers: [79, 8]
Generated Node #0,3,0: 28:[79, 8] Operation: 3+5=8
Exploring Operation: 5-3=2, Resulting Numbers: [79, 2]
Generated Node #0,3,1: 28:[79, 2] Operation: 5-3=2
Exploring Operation: 79-5=74, Resulting Numbers: [3, 74]
Generated Node #0,3,2: 28:[3, 74] Operation: 79-5=74
Exploring Operation: 79-3=76, Resulting Numbers: [5, 76]
Generated Node #0,3,3: 28:[5, 76] Operation: 79-3=76
Moving to Node #0,3,2
Current State: 28:[3, 74], Operations: ['13-8=5', '79-5=74']
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,28 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,28 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[5, 76], Operations: ['13-8=5', '79-3=76']
Exploring Operation: 5*76=380, Resulting Numbers: [380]
380,28 unequal: No Solution
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,28 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[79, 2], Operations: ['13-8=5', '5-3=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,28 unequal: No Solution
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,28 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Moving to Node #0,3,0
Current State: 28:[79, 8], Operations: ['13-8=5', '3+5=8']
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,28 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,28 unequal: No Solution
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
80,
84,
40,
24
] | 62 | [
"80/40=2",
"84-24=60",
"2+60=62"
] | Current State: 62:[80, 84, 40, 24], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [84, 24, 2]
Generated Node #2: [84, 24, 2] from Operation: 80/40=2
Current State: 62:[84, 24, 2], Operations: ['80/40=2']
Exploring Operation: 84-24=60, Resulting Numbers: [2, 60]
Generated Node #3: [2, 60] from Operation: 84-24=60
Current State: 62:[2, 60], Operations: ['80/40=2', '84-24=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[80, 84, 40, 24], Operations: []
Exploring Operation: 80-40=40, Resulting Numbers: [84, 24, 40]
Generated Node #0,0: 62:[84, 24, 40] Operation: 80-40=40
Exploring Operation: 80/40=2, Resulting Numbers: [84, 24, 2]
Generated Node #0,1: 62:[84, 24, 2] Operation: 80/40=2
Exploring Operation: 84-24=60, Resulting Numbers: [80, 40, 60]
Generated Node #0,2: 62:[80, 40, 60] Operation: 84-24=60
Exploring Operation: 84-80=4, Resulting Numbers: [40, 24, 4]
Generated Node #0,3: 62:[40, 24, 4] Operation: 84-80=4
Exploring Operation: 80-24=56, Resulting Numbers: [84, 40, 56]
Generated Node #0,4: 62:[84, 40, 56] Operation: 80-24=56
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[40, 24, 4], Operations: ['84-80=4']
Exploring Operation: 24+4=28, Resulting Numbers: [40, 28]
Generated Node #0,3,0: 62:[40, 28] Operation: 24+4=28
Exploring Operation: 40+24=64, Resulting Numbers: [4, 64]
Generated Node #0,3,1: 62:[4, 64] Operation: 40+24=64
Exploring Operation: 24/4=6, Resulting Numbers: [40, 6]
Generated Node #0,3,2: 62:[40, 6] Operation: 24/4=6
Exploring Operation: 40-4=36, Resulting Numbers: [24, 36]
Generated Node #0,3,3: 62:[24, 36] Operation: 40-4=36
Exploring Operation: 40/4=10, Resulting Numbers: [24, 10]
Generated Node #0,3,4: 62:[24, 10] Operation: 40/4=10
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 62:[4, 64], Operations: ['84-80=4', '40+24=64']
Exploring Operation: 4*64=256, Resulting Numbers: [256]
256,62 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,62 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,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,3,0
Current State: 62:[40, 28], Operations: ['84-80=4', '24+4=28']
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 40*28=1120, Resulting Numbers: [1120]
1120,62 unequal: No Solution
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,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,3,3
Current State: 62:[24, 36], Operations: ['84-80=4', '40-4=36']
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,62 unequal: No Solution
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,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,3,2
Current State: 62:[40, 6], Operations: ['84-80=4', '24/4=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,62 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,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,3,4
Current State: 62:[24, 10], Operations: ['84-80=4', '40/4=10']
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,62 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,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,1
Current State: 62:[84, 24, 2], Operations: ['80/40=2']
Exploring Operation: 84+2=86, Resulting Numbers: [24, 86]
Generated Node #0,1,0: 62:[24, 86] Operation: 84+2=86
Exploring Operation: 84-24=60, Resulting Numbers: [2, 60]
Generated Node #0,1,1: 62:[2, 60] Operation: 84-24=60
Exploring Operation: 24+2=26, Resulting Numbers: [84, 26]
Generated Node #0,1,2: 62:[84, 26] Operation: 24+2=26
Exploring Operation: 84-2=82, Resulting Numbers: [24, 82]
Generated Node #0,1,3: 62:[24, 82] Operation: 84-2=82
Exploring Operation: 84/2=42, Resulting Numbers: [24, 42]
Generated Node #0,1,4: 62:[24, 42] Operation: 84/2=42
Moving to Node #0,1,1
Current State: 62:[2, 60], Operations: ['80/40=2', '84-24=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[80, 84, 40, 24], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [84, 24, 2]
Generated Node #0,1: 62:[84, 24, 2] Operation: 80/40=2
Moving to Node #0,1
Current State: 62:[84, 24, 2], Operations: ['80/40=2']
Exploring Operation: 84-24=60, Resulting Numbers: [2, 60]
Generated Node #0,1,1: 62:[2, 60] Operation: 84-24=60
Moving to Node #0,1,1
Current State: 62:[2, 60], Operations: ['80/40=2', '84-24=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
34,
60,
64,
90
] | 45 | [
"64-34=30",
"60/30=2",
"90/2=45"
] | Current State: 45:[34, 60, 64, 90], Operations: []
Exploring Operation: 64-34=30, Resulting Numbers: [60, 90, 30]
Generated Node #2: [60, 90, 30] from Operation: 64-34=30
Current State: 45:[60, 90, 30], Operations: ['64-34=30']
Exploring Operation: 60/30=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 60/30=2
Current State: 45:[90, 2], Operations: ['64-34=30', '60/30=2']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[34, 60, 64, 90], Operations: []
Exploring Operation: 90-34=56, Resulting Numbers: [60, 64, 56]
Generated Node #0,0: 45:[60, 64, 56] Operation: 90-34=56
Exploring Operation: 90-60=30, Resulting Numbers: [34, 64, 30]
Generated Node #0,1: 45:[34, 64, 30] Operation: 90-60=30
Exploring Operation: 90-64=26, Resulting Numbers: [34, 60, 26]
Generated Node #0,2: 45:[34, 60, 26] Operation: 90-64=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[34, 60, 26], Operations: ['90-64=26']
Exploring Operation: 34-26=8, Resulting Numbers: [60, 8]
Generated Node #0,2,0: 45:[60, 8] Operation: 34-26=8
Exploring Operation: 60-34=26, Resulting Numbers: [26, 26]
Generated Node #0,2,1: 45:[26, 26] Operation: 60-34=26
Exploring Operation: 60-26=34, Resulting Numbers: [34, 34]
Generated Node #0,2,2: 45:[34, 34] Operation: 60-26=34
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[60, 8], Operations: ['90-64=26', '34-26=8']
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Exploring Operation: 60*8=480, Resulting Numbers: [480]
480,45 unequal: No Solution
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,45 unequal: No Solution
No 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: 45:[26, 26], Operations: ['90-64=26', '60-34=26']
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,45 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,45 unequal: No Solution
No 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: 45:[34, 34], Operations: ['90-64=26', '60-26=34']
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,45 unequal: No Solution
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[60, 64, 56], Operations: ['90-34=56']
Exploring Operation: 60-56=4, Resulting Numbers: [64, 4]
Generated Node #0,0,0: 45:[64, 4] Operation: 60-56=4
Exploring Operation: 64-56=8, Resulting Numbers: [60, 8]
Generated Node #0,0,1: 45:[60, 8] Operation: 64-56=8
Exploring Operation: 64-60=4, Resulting Numbers: [56, 4]
Generated Node #0,0,2: 45:[56, 4] Operation: 64-60=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[56, 4], Operations: ['90-34=56', '64-60=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,45 unequal: No Solution
No 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: 45:[60, 8], Operations: ['90-34=56', '64-56=8']
Exploring Operation: 60*8=480, Resulting Numbers: [480]
480,45 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,45 unequal: No Solution
No 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: 45:[64, 4], Operations: ['90-34=56', '60-56=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[34, 64, 30], Operations: ['90-60=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34, 34]
Generated Node #0,1,0: 45:[34, 34] Operation: 64-30=34
Exploring Operation: 34-30=4, Resulting Numbers: [64, 4]
Generated Node #0,1,1: 45:[64, 4] Operation: 34-30=4
Exploring Operation: 64-34=30, Resulting Numbers: [30, 30]
Generated Node #0,1,2: 45:[30, 30] Operation: 64-34=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[64, 4], Operations: ['90-60=30', '34-30=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,45 unequal: No Solution
No 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: 45:[34, 34], Operations: ['90-60=30', '64-30=34']
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,45 unequal: No Solution
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,45 unequal: No Solution
No 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: 45:[30, 30], Operations: ['90-60=30', '64-34=30']
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
29,
6,
26,
39
] | 57 | [
"29-26=3",
"6*3=18",
"39+18=57"
] | Current State: 57:[29, 6, 26, 39], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [6, 39, 3]
Generated Node #2: [6, 39, 3] from Operation: 29-26=3
Current State: 57:[6, 39, 3], Operations: ['29-26=3']
Exploring Operation: 6*3=18, Resulting Numbers: [39, 18]
Generated Node #3: [39, 18] from Operation: 6*3=18
Current State: 57:[39, 18], Operations: ['29-26=3', '6*3=18']
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[29, 6, 26, 39], Operations: []
Exploring Operation: 39-26=13, Resulting Numbers: [29, 6, 13]
Generated Node #0,0: 57:[29, 6, 13] Operation: 39-26=13
Exploring Operation: 39-29=10, Resulting Numbers: [6, 26, 10]
Generated Node #0,1: 57:[6, 26, 10] Operation: 39-29=10
Moving to Node #0,1
Current State: 57:[6, 26, 10], Operations: ['39-29=10']
Exploring Operation: 26-6=20, Resulting Numbers: [10, 20]
Generated Node #0,1,0: 57:[10, 20] Operation: 26-6=20
Exploring Operation: 26-10=16, Resulting Numbers: [6, 16]
Generated Node #0,1,1: 57:[6, 16] Operation: 26-10=16
Moving to Node #0,0
Current State: 57:[29, 6, 13], Operations: ['39-26=13']
Exploring Operation: 29-13=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 57:[6, 16] Operation: 29-13=16
Exploring Operation: 29-6=23, Resulting Numbers: [13, 23]
Generated Node #0,0,1: 57:[13, 23] Operation: 29-6=23
Moving to Node #0,1,1
Current State: 57:[6, 16], Operations: ['39-29=10', '26-10=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[6, 16], Operations: ['39-26=13', '29-13=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[10, 20], Operations: ['39-29=10', '26-6=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[13, 23], Operations: ['39-26=13', '29-6=23']
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,57 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
29,
63,
61,
26
] | 82 | [
"29-26=3",
"63/3=21",
"61+21=82"
] | Current State: 82:[29, 63, 61, 26], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [63, 61, 3]
Generated Node #2: [63, 61, 3] from Operation: 29-26=3
Current State: 82:[63, 61, 3], Operations: ['29-26=3']
Exploring Operation: 63/3=21, Resulting Numbers: [61, 21]
Generated Node #3: [61, 21] from Operation: 63/3=21
Current State: 82:[61, 21], Operations: ['29-26=3', '63/3=21']
Exploring Operation: 61+21=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[29, 63, 61, 26], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [29, 26, 2]
Generated Node #0,0: 82:[29, 26, 2] Operation: 63-61=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[29, 26, 2], Operations: ['63-61=2']
Exploring Operation: 29-26=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 82:[2, 3] Operation: 29-26=3
Moving to Node #0,0,0
Current State: 82:[2, 3], Operations: ['63-61=2', '29-26=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
59,
17,
53
] | 56 | [
"33+59=92",
"53-17=36",
"92-36=56"
] | Current State: 56:[33, 59, 17, 53], Operations: []
Exploring Operation: 33+59=92, Resulting Numbers: [17, 53, 92]
Generated Node #2: [17, 53, 92] from Operation: 33+59=92
Current State: 56:[17, 53, 92], Operations: ['33+59=92']
Exploring Operation: 53-17=36, Resulting Numbers: [92, 36]
Generated Node #3: [92, 36] from Operation: 53-17=36
Current State: 56:[92, 36], Operations: ['33+59=92', '53-17=36']
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[33, 59, 17, 53], Operations: []
Exploring Operation: 53-33=20, Resulting Numbers: [59, 17, 20]
Generated Node #0,0: 56:[59, 17, 20] Operation: 53-33=20
Exploring Operation: 59-33=26, Resulting Numbers: [17, 53, 26]
Generated Node #0,1: 56:[17, 53, 26] Operation: 59-33=26
Exploring Operation: 59-53=6, Resulting Numbers: [33, 17, 6]
Generated Node #0,2: 56:[33, 17, 6] Operation: 59-53=6
Exploring Operation: 33-17=16, Resulting Numbers: [59, 53, 16]
Generated Node #0,3: 56:[59, 53, 16] Operation: 33-17=16
Exploring Operation: 33+17=50, Resulting Numbers: [59, 53, 50]
Generated Node #0,4: 56:[59, 53, 50] Operation: 33+17=50
Moving to Node #0,1
Current State: 56:[17, 53, 26], Operations: ['59-33=26']
Exploring Operation: 17+26=43, Resulting Numbers: [53, 43]
Generated Node #0,1,0: 56:[53, 43] Operation: 17+26=43
Exploring Operation: 53-17=36, Resulting Numbers: [26, 36]
Generated Node #0,1,1: 56:[26, 36] Operation: 53-17=36
Exploring Operation: 17+53=70, Resulting Numbers: [26, 70]
Generated Node #0,1,2: 56:[26, 70] Operation: 17+53=70
Exploring Operation: 53-26=27, Resulting Numbers: [17, 27]
Generated Node #0,1,3: 56:[17, 27] Operation: 53-26=27
Exploring Operation: 26-17=9, Resulting Numbers: [53, 9]
Generated Node #0,1,4: 56:[53, 9] Operation: 26-17=9
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 56:[17, 27], Operations: ['59-33=26', '53-26=27']
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,56 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,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,4
Current State: 56:[53, 9], Operations: ['59-33=26', '26-17=9']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,56 unequal: No Solution
Exploring Operation: 53*9=477, Resulting Numbers: [477]
477,56 unequal: No Solution
Exploring Operation: 53+9=62, Resulting Numbers: [62]
62,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:[26, 36], Operations: ['59-33=26', '53-17=36']
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,56 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,56 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[53, 43], Operations: ['59-33=26', '17+26=43']
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,56 unequal: No Solution
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,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,2
Current State: 56:[26, 70], Operations: ['59-33=26', '17+53=70']
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,56 unequal: No Solution
Exploring Operation: 26*70=1820, Resulting Numbers: [1820]
1820,56 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,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:[59, 53, 16], Operations: ['33-17=16']
Exploring Operation: 53+16=69, Resulting Numbers: [59, 69]
Generated Node #0,3,0: 56:[59, 69] Operation: 53+16=69
Exploring Operation: 59-16=43, Resulting Numbers: [53, 43]
Generated Node #0,3,1: 56:[53, 43] Operation: 59-16=43
Exploring Operation: 59-53=6, Resulting Numbers: [16, 6]
Generated Node #0,3,2: 56:[16, 6] Operation: 59-53=6
Exploring Operation: 53-16=37, Resulting Numbers: [59, 37]
Generated Node #0,3,3: 56:[59, 37] Operation: 53-16=37
Exploring Operation: 59+16=75, Resulting Numbers: [53, 75]
Generated Node #0,3,4: 56:[53, 75] Operation: 59+16=75
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[16, 6], Operations: ['33-17=16', '59-53=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,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:[59, 37], Operations: ['33-17=16', '53-16=37']
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,56 unequal: No Solution
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,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:[59, 69], Operations: ['33-17=16', '53+16=69']
Exploring Operation: 59*69=4071, Resulting Numbers: [4071]
4071,56 unequal: No Solution
Exploring Operation: 59+69=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[53, 43], Operations: ['33-17=16', '59-16=43']
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,56 unequal: No Solution
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 56:[53, 75], Operations: ['33-17=16', '59+16=75']
Exploring Operation: 53+75=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 53*75=3975, Resulting Numbers: [3975]
3975,56 unequal: No Solution
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 56:[33, 17, 6], Operations: ['59-53=6']
Exploring Operation: 33-17=16, Resulting Numbers: [6, 16]
Generated Node #0,2,0: 56:[6, 16] Operation: 33-17=16
Exploring Operation: 33+17=50, Resulting Numbers: [6, 50]
Generated Node #0,2,1: 56:[6, 50] Operation: 33+17=50
Exploring Operation: 33-6=27, Resulting Numbers: [17, 27]
Generated Node #0,2,2: 56:[17, 27] Operation: 33-6=27
Exploring Operation: 17-6=11, Resulting Numbers: [33, 11]
Generated Node #0,2,3: 56:[33, 11] Operation: 17-6=11
Exploring Operation: 17+6=23, Resulting Numbers: [33, 23]
Generated Node #0,2,4: 56:[33, 23] Operation: 17+6=23
Moving to Node #0,0
Current State: 56:[59, 17, 20], Operations: ['53-33=20']
Exploring Operation: 59-20=39, Resulting Numbers: [17, 39]
Generated Node #0,0,0: 56:[17, 39] Operation: 59-20=39
Exploring Operation: 17+20=37, Resulting Numbers: [59, 37]
Generated Node #0,0,1: 56:[59, 37] Operation: 17+20=37
Exploring Operation: 59-17=42, Resulting Numbers: [20, 42]
Generated Node #0,0,2: 56:[20, 42] Operation: 59-17=42
Exploring Operation: 59+17=76, Resulting Numbers: [20, 76]
Generated Node #0,0,3: 56:[20, 76] Operation: 59+17=76
Exploring Operation: 20-17=3, Resulting Numbers: [59, 3]
Generated Node #0,0,4: 56:[59, 3] Operation: 20-17=3
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 56:[59, 3], Operations: ['53-33=20', '20-17=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,56 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[33, 59, 17, 53], Operations: []
Exploring Operation: 53-33=20, Resulting Numbers: [59, 17, 20]
Generated Node #0,0: 56:[59, 17, 20] Operation: 53-33=20
Moving to Node #0,0
Current State: 56:[59, 17, 20], Operations: ['53-33=20']
Exploring Operation: 20-17=3, Resulting Numbers: [59, 3]
Generated Node #0,0,4: 56:[59, 3] Operation: 20-17=3
Moving to Node #0,0,4
Current State: 56:[59, 3], Operations: ['53-33=20', '20-17=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | mult_heuristic |
[
30,
14,
90,
2
] | 89 | [
"30+14=44",
"90/2=45",
"44+45=89"
] | Current State: 89:[30, 14, 90, 2], Operations: []
Exploring Operation: 30+14=44, Resulting Numbers: [90, 2, 44]
Generated Node #2: [90, 2, 44] from Operation: 30+14=44
Current State: 89:[90, 2, 44], Operations: ['30+14=44']
Exploring Operation: 90/2=45, Resulting Numbers: [44, 45]
Generated Node #3: [44, 45] from Operation: 90/2=45
Current State: 89:[44, 45], Operations: ['30+14=44', '90/2=45']
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[30, 14, 90, 2], Operations: []
Exploring Operation: 14*2=28, Resulting Numbers: [30, 90, 28]
Generated Node #0,0: 89:[30, 90, 28] Operation: 14*2=28
Exploring Operation: 30*2=60, Resulting Numbers: [14, 90, 60]
Generated Node #0,1: 89:[14, 90, 60] Operation: 30*2=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[14, 90, 60], Operations: ['30*2=60']
Exploring Operation: 14+60=74, Resulting Numbers: [90, 74]
Generated Node #0,1,0: 89:[90, 74] Operation: 14+60=74
Exploring Operation: 90-14=76, Resulting Numbers: [60, 76]
Generated Node #0,1,1: 89:[60, 76] Operation: 90-14=76
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[90, 74], Operations: ['30*2=60', '14+60=74']
Exploring Operation: 90+74=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[60, 76], Operations: ['30*2=60', '90-14=76']
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 60+76=136, Resulting Numbers: [136]
136,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[30, 90, 28], Operations: ['14*2=28']
Exploring Operation: 90-28=62, Resulting Numbers: [30, 62]
Generated Node #0,0,0: 89:[30, 62] Operation: 90-28=62
Exploring Operation: 30+28=58, Resulting Numbers: [90, 58]
Generated Node #0,0,1: 89:[90, 58] Operation: 30+28=58
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[90, 58], Operations: ['14*2=28', '30+28=58']
Exploring Operation: 90+58=148, Resulting Numbers: [148]
148,89 unequal: No Solution
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[30, 62], Operations: ['14*2=28', '90-28=62']
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Exploring Operation: 30+62=92, Resulting Numbers: [92]
92,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
82,
87,
15,
22
] | 97 | [
"87-82=5",
"15*5=75",
"22+75=97"
] | Current State: 97:[82, 87, 15, 22], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [15, 22, 5]
Generated Node #2: [15, 22, 5] from Operation: 87-82=5
Current State: 97:[15, 22, 5], Operations: ['87-82=5']
Exploring Operation: 15*5=75, Resulting Numbers: [22, 75]
Generated Node #3: [22, 75] from Operation: 15*5=75
Current State: 97:[22, 75], Operations: ['87-82=5', '15*5=75']
Exploring Operation: 22+75=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[82, 87, 15, 22], Operations: []
Exploring Operation: 82+15=97, Resulting Numbers: [87, 22, 97]
Generated Node #0,0: 97:[87, 22, 97] Operation: 82+15=97
Exploring Operation: 15+22=37, Resulting Numbers: [82, 87, 37]
Generated Node #0,1: 97:[82, 87, 37] Operation: 15+22=37
Moving to Node #0,0
Current State: 97:[87, 22, 97], Operations: ['82+15=97']
Exploring Operation: 87+22=109, Resulting Numbers: [97, 109]
Generated Node #0,0,0: 97:[97, 109] Operation: 87+22=109
Exploring Operation: 87-22=65, Resulting Numbers: [97, 65]
Generated Node #0,0,1: 97:[97, 65] Operation: 87-22=65
Moving to Node #0,1
Current State: 97:[82, 87, 37], Operations: ['15+22=37']
Exploring Operation: 87+37=124, Resulting Numbers: [82, 124]
Generated Node #0,1,0: 97:[82, 124] Operation: 87+37=124
Exploring Operation: 82+37=119, Resulting Numbers: [87, 119]
Generated Node #0,1,1: 97:[87, 119] Operation: 82+37=119
Moving to Node #0,0,0
Current State: 97:[97, 109], Operations: ['82+15=97', '87+22=109']
Exploring Operation: 109-97=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 97+109=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[87, 119], Operations: ['15+22=37', '82+37=119']
Exploring Operation: 119-87=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 87+119=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[97, 65], Operations: ['82+15=97', '87-22=65']
Exploring Operation: 97+65=162, Resulting Numbers: [162]
162,97 unequal: No Solution
Exploring Operation: 97-65=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[82, 124], Operations: ['15+22=37', '87+37=124']
Exploring Operation: 82+124=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 124-82=42, Resulting Numbers: [42]
42,97 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
88,
80,
68,
84
] | 16 | [
"88+80=168",
"68+84=152",
"168-152=16"
] | Current State: 16:[88, 80, 68, 84], Operations: []
Exploring Operation: 88+80=168, Resulting Numbers: [68, 84, 168]
Generated Node #2: [68, 84, 168] from Operation: 88+80=168
Current State: 16:[68, 84, 168], Operations: ['88+80=168']
Exploring Operation: 68+84=152, Resulting Numbers: [168, 152]
Generated Node #3: [168, 152] from Operation: 68+84=152
Current State: 16:[168, 152], Operations: ['88+80=168', '68+84=152']
Exploring Operation: 168-152=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[88, 80, 68, 84], Operations: []
Exploring Operation: 88-84=4, Resulting Numbers: [80, 68, 4]
Generated Node #0,0: 16:[80, 68, 4] Operation: 88-84=4
Moving to Node #0,0
Current State: 16:[80, 68, 4], Operations: ['88-84=4']
Exploring Operation: 80-68=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 16:[4, 12] Operation: 80-68=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[4, 12], Operations: ['88-84=4', '80-68=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[88, 80, 68, 84], Operations: []
Exploring Operation: 88-84=4, Resulting Numbers: [80, 68, 4]
Generated Node #0,0: 16:[80, 68, 4] Operation: 88-84=4
Moving to Node #0,0
Current State: 16:[80, 68, 4], Operations: ['88-84=4']
Exploring Operation: 80-68=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 16:[4, 12] Operation: 80-68=12
Moving to Node #0,0,0
Current State: 16:[4, 12], Operations: ['88-84=4', '80-68=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
17,
25,
54,
40
] | 86 | [
"25-17=8",
"54+40=94",
"94-8=86"
] | Current State: 86:[17, 25, 54, 40], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [54, 40, 8]
Generated Node #2: [54, 40, 8] from Operation: 25-17=8
Current State: 86:[54, 40, 8], Operations: ['25-17=8']
Exploring Operation: 54+40=94, Resulting Numbers: [8, 94]
Generated Node #3: [8, 94] from Operation: 54+40=94
Current State: 86:[8, 94], Operations: ['25-17=8', '54+40=94']
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[17, 25, 54, 40], Operations: []
Exploring Operation: 17+25=42, Resulting Numbers: [54, 40, 42]
Generated Node #0,0: 86:[54, 40, 42] Operation: 17+25=42
Exploring Operation: 25+54=79, Resulting Numbers: [17, 40, 79]
Generated Node #0,1: 86:[17, 40, 79] Operation: 25+54=79
Exploring Operation: 25-17=8, Resulting Numbers: [54, 40, 8]
Generated Node #0,2: 86:[54, 40, 8] Operation: 25-17=8
Moving to Node #0,0
Current State: 86:[54, 40, 42], Operations: ['17+25=42']
Exploring Operation: 42-40=2, Resulting Numbers: [54, 2]
Generated Node #0,0,0: 86:[54, 2] Operation: 42-40=2
Exploring Operation: 54+40=94, Resulting Numbers: [42, 94]
Generated Node #0,0,1: 86:[42, 94] Operation: 54+40=94
Exploring Operation: 54-40=14, Resulting Numbers: [42, 14]
Generated Node #0,0,2: 86:[42, 14] Operation: 54-40=14
Moving to Node #0,2
Current State: 86:[54, 40, 8], Operations: ['25-17=8']
Exploring Operation: 54+40=94, Resulting Numbers: [8, 94]
Generated Node #0,2,0: 86:[8, 94] Operation: 54+40=94
Exploring Operation: 40/8=5, Resulting Numbers: [54, 5]
Generated Node #0,2,1: 86:[54, 5] Operation: 40/8=5
Exploring Operation: 54-8=46, Resulting Numbers: [40, 46]
Generated Node #0,2,2: 86:[40, 46] Operation: 54-8=46
Moving to Node #0,1
Current State: 86:[17, 40, 79], Operations: ['25+54=79']
Exploring Operation: 17+79=96, Resulting Numbers: [40, 96]
Generated Node #0,1,0: 86:[40, 96] Operation: 17+79=96
Exploring Operation: 17+40=57, Resulting Numbers: [79, 57]
Generated Node #0,1,1: 86:[79, 57] Operation: 17+40=57
Exploring Operation: 79-40=39, Resulting Numbers: [17, 39]
Generated Node #0,1,2: 86:[17, 39] Operation: 79-40=39
Moving to Node #0,2,2
Current State: 86:[40, 46], Operations: ['25-17=8', '54-8=46']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[17, 25, 54, 40], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [54, 40, 8]
Generated Node #0,2: 86:[54, 40, 8] Operation: 25-17=8
Moving to Node #0,2
Current State: 86:[54, 40, 8], Operations: ['25-17=8']
Exploring Operation: 54-8=46, Resulting Numbers: [40, 46]
Generated Node #0,2,2: 86:[40, 46] Operation: 54-8=46
Moving to Node #0,2,2
Current State: 86:[40, 46], Operations: ['25-17=8', '54-8=46']
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
68,
3,
61,
57
] | 61 | [
"68-3=65",
"61-57=4",
"65-4=61"
] | Current State: 61:[68, 3, 61, 57], Operations: []
Exploring Operation: 68-3=65, Resulting Numbers: [61, 57, 65]
Generated Node #2: [61, 57, 65] from Operation: 68-3=65
Current State: 61:[61, 57, 65], Operations: ['68-3=65']
Exploring Operation: 61-57=4, Resulting Numbers: [65, 4]
Generated Node #3: [65, 4] from Operation: 61-57=4
Current State: 61:[65, 4], Operations: ['68-3=65', '61-57=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[68, 3, 61, 57], Operations: []
Exploring Operation: 68-3=65, Resulting Numbers: [61, 57, 65]
Generated Node #0,0: 61:[61, 57, 65] Operation: 68-3=65
Exploring Operation: 68+3=71, Resulting Numbers: [61, 57, 71]
Generated Node #0,1: 61:[61, 57, 71] Operation: 68+3=71
Exploring Operation: 3+57=60, Resulting Numbers: [68, 61, 60]
Generated Node #0,2: 61:[68, 61, 60] Operation: 3+57=60
Exploring Operation: 3+61=64, Resulting Numbers: [68, 57, 64]
Generated Node #0,3: 61:[68, 57, 64] Operation: 3+61=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[61, 57, 65], Operations: ['68-3=65']
Exploring Operation: 61-57=4, Resulting Numbers: [65, 4]
Generated Node #0,0,0: 61:[65, 4] Operation: 61-57=4
Exploring Operation: 65-57=8, Resulting Numbers: [61, 8]
Generated Node #0,0,1: 61:[61, 8] Operation: 65-57=8
Exploring Operation: 65-61=4, Resulting Numbers: [57, 4]
Generated Node #0,0,2: 61:[57, 4] Operation: 65-61=4
Exploring Operation: 61+57=118, Resulting Numbers: [65, 118]
Generated Node #0,0,3: 61:[65, 118] Operation: 61+57=118
Moving to Node #0,0,1
Current State: 61:[61, 8], Operations: ['68-3=65', '65-57=8']
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,61 unequal: No Solution
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[57, 4], Operations: ['68-3=65', '65-61=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[68, 3, 61, 57], Operations: []
Exploring Operation: 68-3=65, Resulting Numbers: [61, 57, 65]
Generated Node #0,0: 61:[61, 57, 65] Operation: 68-3=65
Moving to Node #0,0
Current State: 61:[61, 57, 65], Operations: ['68-3=65']
Exploring Operation: 65-61=4, Resulting Numbers: [57, 4]
Generated Node #0,0,2: 61:[57, 4] Operation: 65-61=4
Moving to Node #0,0,2
Current State: 61:[57, 4], Operations: ['68-3=65', '65-61=4']
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
86,
69,
54,
16
] | 53 | [
"86-69=17",
"54+16=70",
"70-17=53"
] | Current State: 53:[86, 69, 54, 16], Operations: []
Exploring Operation: 86-69=17, Resulting Numbers: [54, 16, 17]
Generated Node #2: [54, 16, 17] from Operation: 86-69=17
Current State: 53:[54, 16, 17], Operations: ['86-69=17']
Exploring Operation: 54+16=70, Resulting Numbers: [17, 70]
Generated Node #3: [17, 70] from Operation: 54+16=70
Current State: 53:[17, 70], Operations: ['86-69=17', '54+16=70']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[86, 69, 54, 16], Operations: []
Exploring Operation: 69-16=53, Resulting Numbers: [86, 54, 53]
Generated Node #0,0: 53:[86, 54, 53] Operation: 69-16=53
Exploring Operation: 86-16=70, Resulting Numbers: [69, 54, 70]
Generated Node #0,1: 53:[69, 54, 70] Operation: 86-16=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[86, 54, 53], Operations: ['69-16=53']
Exploring Operation: 86-54=32, Resulting Numbers: [53, 32]
Generated Node #0,0,0: 53:[53, 32] Operation: 86-54=32
Exploring Operation: 86-53=33, Resulting Numbers: [54, 33]
Generated Node #0,0,1: 53:[54, 33] Operation: 86-53=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[53, 32], Operations: ['69-16=53', '86-54=32']
Exploring Operation: 53-32=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 53+32=85, Resulting Numbers: [85]
85,53 unequal: No Solution
No 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: 53:[54, 33], Operations: ['69-16=53', '86-53=33']
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[69, 54, 70], Operations: ['86-16=70']
Exploring Operation: 70-54=16, Resulting Numbers: [69, 16]
Generated Node #0,1,0: 53:[69, 16] Operation: 70-54=16
Exploring Operation: 70-69=1, Resulting Numbers: [54, 1]
Generated Node #0,1,1: 53:[54, 1] Operation: 70-69=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[69, 16], Operations: ['86-16=70', '70-54=16']
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[86, 69, 54, 16], Operations: []
Exploring Operation: 86-16=70, Resulting Numbers: [69, 54, 70]
Generated Node #0,1: 53:[69, 54, 70] Operation: 86-16=70
Moving to Node #0,1
Current State: 53:[69, 54, 70], Operations: ['86-16=70']
Exploring Operation: 70-54=16, Resulting Numbers: [69, 16]
Generated Node #0,1,0: 53:[69, 16] Operation: 70-54=16
Moving to Node #0,1,0
Current State: 53:[69, 16], Operations: ['86-16=70', '70-54=16']
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
12,
25,
67,
7
] | 87 | [
"25-12=13",
"67+7=74",
"13+74=87"
] | Current State: 87:[12, 25, 67, 7], Operations: []
Exploring Operation: 25-12=13, Resulting Numbers: [67, 7, 13]
Generated Node #2: [67, 7, 13] from Operation: 25-12=13
Current State: 87:[67, 7, 13], Operations: ['25-12=13']
Exploring Operation: 67+7=74, Resulting Numbers: [13, 74]
Generated Node #3: [13, 74] from Operation: 67+7=74
Current State: 87:[13, 74], Operations: ['25-12=13', '67+7=74']
Exploring Operation: 13+74=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[12, 25, 67, 7], Operations: []
Exploring Operation: 12+67=79, Resulting Numbers: [25, 7, 79]
Generated Node #0,0: 87:[25, 7, 79] Operation: 12+67=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[25, 7, 79], Operations: ['12+67=79']
Exploring Operation: 7+79=86, Resulting Numbers: [25, 86]
Generated Node #0,0,0: 87:[25, 86] Operation: 7+79=86
Moving to Node #0,0,0
Current State: 87:[25, 86], Operations: ['12+67=79', '7+79=86']
Exploring Operation: 25+86=111, Resulting Numbers: [111]
111,87 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 |
[
13,
97,
42,
49
] | 98 | [
"97-13=84",
"84/42=2",
"49*2=98"
] | Current State: 98:[13, 97, 42, 49], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [42, 49, 84]
Generated Node #2: [42, 49, 84] from Operation: 97-13=84
Current State: 98:[42, 49, 84], Operations: ['97-13=84']
Exploring Operation: 84/42=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 84/42=2
Current State: 98:[49, 2], Operations: ['97-13=84', '84/42=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[13, 97, 42, 49], Operations: []
Exploring Operation: 97-42=55, Resulting Numbers: [13, 49, 55]
Generated Node #0,0: 98:[13, 49, 55] Operation: 97-42=55
Exploring Operation: 49-42=7, Resulting Numbers: [13, 97, 7]
Generated Node #0,1: 98:[13, 97, 7] Operation: 49-42=7
Exploring Operation: 13+42=55, Resulting Numbers: [97, 49, 55]
Generated Node #0,2: 98:[97, 49, 55] Operation: 13+42=55
Exploring Operation: 97-49=48, Resulting Numbers: [13, 42, 48]
Generated Node #0,3: 98:[13, 42, 48] Operation: 97-49=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[13, 97, 7], Operations: ['49-42=7']
Exploring Operation: 13+7=20, Resulting Numbers: [97, 20]
Generated Node #0,1,0: 98:[97, 20] Operation: 13+7=20
Exploring Operation: 13-7=6, Resulting Numbers: [97, 6]
Generated Node #0,1,1: 98:[97, 6] Operation: 13-7=6
Exploring Operation: 97+7=104, Resulting Numbers: [13, 104]
Generated Node #0,1,2: 98:[13, 104] Operation: 97+7=104
Exploring Operation: 13*7=91, Resulting Numbers: [97, 91]
Generated Node #0,1,3: 98:[97, 91] Operation: 13*7=91
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[97, 6], Operations: ['49-42=7', '13-7=6']
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,98 unequal: No Solution
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,98 unequal: No Solution
No 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: 98:[97, 20], Operations: ['49-42=7', '13+7=20']
Exploring Operation: 97+20=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 97*20=1940, Resulting Numbers: [1940]
1940,98 unequal: No Solution
Exploring Operation: 97-20=77, Resulting Numbers: [77]
77,98 unequal: No Solution
No 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: 98:[13, 104], Operations: ['49-42=7', '97+7=104']
Exploring Operation: 104/13=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 104-13=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 13*104=1352, Resulting Numbers: [1352]
1352,98 unequal: No Solution
Exploring Operation: 13+104=117, Resulting Numbers: [117]
117,98 unequal: No Solution
No 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: 98:[97, 91], Operations: ['49-42=7', '13*7=91']
Exploring Operation: 97-91=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 97*91=8827, Resulting Numbers: [8827]
8827,98 unequal: No Solution
Exploring Operation: 97+91=188, Resulting Numbers: [188]
188,98 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: 98:[13, 49, 55], Operations: ['97-42=55']
Exploring Operation: 55-13=42, Resulting Numbers: [49, 42]
Generated Node #0,0,0: 98:[49, 42] Operation: 55-13=42
Exploring Operation: 49+55=104, Resulting Numbers: [13, 104]
Generated Node #0,0,1: 98:[13, 104] Operation: 49+55=104
Exploring Operation: 55-49=6, Resulting Numbers: [13, 6]
Generated Node #0,0,2: 98:[13, 6] Operation: 55-49=6
Exploring Operation: 13+49=62, Resulting Numbers: [55, 62]
Generated Node #0,0,3: 98:[55, 62] Operation: 13+49=62
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[13, 6], Operations: ['97-42=55', '55-49=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,98 unequal: No Solution
No 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: 98:[49, 42], Operations: ['97-42=55', '55-13=42']
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,98 unequal: No Solution
No 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: 98:[13, 104], Operations: ['97-42=55', '49+55=104']
Exploring Operation: 13+104=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 104-13=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 104/13=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 13*104=1352, Resulting Numbers: [1352]
1352,98 unequal: No Solution
No 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: 98:[55, 62], Operations: ['97-42=55', '13+49=62']
Exploring Operation: 55+62=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 55*62=3410, Resulting Numbers: [3410]
3410,98 unequal: No Solution
Exploring Operation: 62-55=7, Resulting Numbers: [7]
7,98 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: 98:[97, 49, 55], Operations: ['13+42=55']
Exploring Operation: 49+55=104, Resulting Numbers: [97, 104]
Generated Node #0,2,0: 98:[97, 104] Operation: 49+55=104
Exploring Operation: 97-55=42, Resulting Numbers: [49, 42]
Generated Node #0,2,1: 98:[49, 42] Operation: 97-55=42
Exploring Operation: 55-49=6, Resulting Numbers: [97, 6]
Generated Node #0,2,2: 98:[97, 6] Operation: 55-49=6
Exploring Operation: 97-49=48, Resulting Numbers: [55, 48]
Generated Node #0,2,3: 98:[55, 48] Operation: 97-49=48
Moving to Node #0,2,2
Current State: 98:[97, 6], Operations: ['13+42=55', '55-49=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,98 unequal: No Solution
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[49, 42], Operations: ['13+42=55', '97-55=42']
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[97, 104], Operations: ['13+42=55', '49+55=104']
Exploring Operation: 97*104=10088, Resulting Numbers: [10088]
10088,98 unequal: No Solution
Exploring Operation: 97+104=201, Resulting Numbers: [201]
201,98 unequal: No Solution
Exploring Operation: 104-97=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[55, 48], Operations: ['13+42=55', '97-49=48']
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 55+48=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Exploring Operation: 55*48=2640, Resulting Numbers: [2640]
2640,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[13, 42, 48], Operations: ['97-49=48']
Exploring Operation: 48-42=6, Resulting Numbers: [13, 6]
Generated Node #0,3,0: 98:[13, 6] Operation: 48-42=6
Exploring Operation: 42+48=90, Resulting Numbers: [13, 90]
Generated Node #0,3,1: 98:[13, 90] Operation: 42+48=90
Exploring Operation: 13+42=55, Resulting Numbers: [48, 55]
Generated Node #0,3,2: 98:[48, 55] Operation: 13+42=55
Exploring Operation: 42-13=29, Resulting Numbers: [48, 29]
Generated Node #0,3,3: 98:[48, 29] Operation: 42-13=29
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 98:[13, 6], Operations: ['97-49=48', '48-42=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,98 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,98 unequal: No Solution
No 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: 98:[48, 55], Operations: ['97-49=48', '13+42=55']
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 48*55=2640, Resulting Numbers: [2640]
2640,98 unequal: No Solution
Exploring Operation: 48+55=103, Resulting Numbers: [103]
103,98 unequal: No Solution
No 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: 98:[13, 90], Operations: ['97-49=48', '42+48=90']
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 13*90=1170, Resulting Numbers: [1170]
1170,98 unequal: No Solution
Exploring Operation: 13+90=103, Resulting Numbers: [103]
103,98 unequal: No Solution
No 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: 98:[48, 29], Operations: ['97-49=48', '42-13=29']
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,98 unequal: No Solution
Exploring Operation: 48*29=1392, Resulting Numbers: [1392]
1392,98 unequal: No Solution
Exploring Operation: 48+29=77, Resulting Numbers: [77]
77,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
23,
2,
72,
45
] | 48 | [
"23-2=21",
"72-45=27",
"21+27=48"
] | Current State: 48:[23, 2, 72, 45], Operations: []
Exploring Operation: 23-2=21, Resulting Numbers: [72, 45, 21]
Generated Node #2: [72, 45, 21] from Operation: 23-2=21
Current State: 48:[72, 45, 21], Operations: ['23-2=21']
Exploring Operation: 72-45=27, Resulting Numbers: [21, 27]
Generated Node #3: [21, 27] from Operation: 72-45=27
Current State: 48:[21, 27], Operations: ['23-2=21', '72-45=27']
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[23, 2, 72, 45], Operations: []
Exploring Operation: 72-45=27, Resulting Numbers: [23, 2, 27]
Generated Node #0,0: 48:[23, 2, 27] Operation: 72-45=27
Exploring Operation: 72-23=49, Resulting Numbers: [2, 45, 49]
Generated Node #0,1: 48:[2, 45, 49] Operation: 72-23=49
Moving to Node #0,0
Current State: 48:[23, 2, 27], Operations: ['72-45=27']
Exploring Operation: 27-23=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 48:[2, 4] Operation: 27-23=4
Exploring Operation: 23+27=50, Resulting Numbers: [2, 50]
Generated Node #0,0,1: 48:[2, 50] Operation: 23+27=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[2, 4], Operations: ['72-45=27', '27-23=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[2, 50], Operations: ['72-45=27', '23+27=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[23, 2, 72, 45], Operations: []
Exploring Operation: 72-45=27, Resulting Numbers: [23, 2, 27]
Generated Node #0,0: 48:[23, 2, 27] Operation: 72-45=27
Moving to Node #0,0
Current State: 48:[23, 2, 27], Operations: ['72-45=27']
Exploring Operation: 23+27=50, Resulting Numbers: [2, 50]
Generated Node #0,0,1: 48:[2, 50] Operation: 23+27=50
Moving to Node #0,0,1
Current State: 48:[2, 50], Operations: ['72-45=27', '23+27=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
25,
58,
89,
87
] | 91 | [
"89-87=2",
"58*2=116",
"116-25=91"
] | Current State: 91:[25, 58, 89, 87], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [25, 58, 2]
Generated Node #2: [25, 58, 2] from Operation: 89-87=2
Current State: 91:[25, 58, 2], Operations: ['89-87=2']
Exploring Operation: 58*2=116, Resulting Numbers: [25, 116]
Generated Node #3: [25, 116] from Operation: 58*2=116
Current State: 91:[25, 116], Operations: ['89-87=2', '58*2=116']
Exploring Operation: 116-25=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[25, 58, 89, 87], Operations: []
Exploring Operation: 58-25=33, Resulting Numbers: [89, 87, 33]
Generated Node #0,0: 91:[89, 87, 33] Operation: 58-25=33
Exploring Operation: 25+58=83, Resulting Numbers: [89, 87, 83]
Generated Node #0,1: 91:[89, 87, 83] Operation: 25+58=83
Exploring Operation: 89-58=31, Resulting Numbers: [25, 87, 31]
Generated Node #0,2: 91:[25, 87, 31] Operation: 89-58=31
Exploring Operation: 87-58=29, Resulting Numbers: [25, 89, 29]
Generated Node #0,3: 91:[25, 89, 29] Operation: 87-58=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[89, 87, 83], Operations: ['25+58=83']
Exploring Operation: 89-87=2, Resulting Numbers: [83, 2]
Generated Node #0,1,0: 91:[83, 2] Operation: 89-87=2
Exploring Operation: 89-83=6, Resulting Numbers: [87, 6]
Generated Node #0,1,1: 91:[87, 6] Operation: 89-83=6
Exploring Operation: 87-83=4, Resulting Numbers: [89, 4]
Generated Node #0,1,2: 91:[89, 4] Operation: 87-83=4
Exploring Operation: 87+83=170, Resulting Numbers: [89, 170]
Generated Node #0,1,3: 91:[89, 170] Operation: 87+83=170
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[87, 6], Operations: ['25+58=83', '89-83=6']
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,91 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,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:[89, 4], Operations: ['25+58=83', '87-83=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 89*4=356, Resulting Numbers: [356]
356,91 unequal: No Solution
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,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:[83, 2], Operations: ['25+58=83', '89-87=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,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:[89, 170], Operations: ['25+58=83', '87+83=170']
Exploring Operation: 89+170=259, Resulting Numbers: [259]
259,91 unequal: No Solution
Exploring Operation: 170-89=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 89*170=15130, Resulting Numbers: [15130]
15130,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,0
Current State: 91:[89, 87, 33], Operations: ['58-25=33']
Exploring Operation: 89-87=2, Resulting Numbers: [33, 2]
Generated Node #0,0,0: 91:[33, 2] Operation: 89-87=2
Exploring Operation: 89-33=56, Resulting Numbers: [87, 56]
Generated Node #0,0,1: 91:[87, 56] Operation: 89-33=56
Exploring Operation: 89+33=122, Resulting Numbers: [87, 122]
Generated Node #0,0,2: 91:[87, 122] Operation: 89+33=122
Exploring Operation: 87+33=120, Resulting Numbers: [89, 120]
Generated Node #0,0,3: 91:[89, 120] Operation: 87+33=120
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[33, 2], Operations: ['58-25=33', '89-87=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,91 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[89, 120], Operations: ['58-25=33', '87+33=120']
Exploring Operation: 120-89=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 89+120=209, Resulting Numbers: [209]
209,91 unequal: No Solution
Exploring Operation: 89*120=10680, Resulting Numbers: [10680]
10680,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[87, 122], Operations: ['58-25=33', '89+33=122']
Exploring Operation: 122-87=35, Resulting Numbers: [35]
35,91 unequal: No Solution
Exploring Operation: 87+122=209, Resulting Numbers: [209]
209,91 unequal: No Solution
Exploring Operation: 87*122=10614, Resulting Numbers: [10614]
10614,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[87, 56], Operations: ['58-25=33', '89-33=56']
Exploring Operation: 87*56=4872, Resulting Numbers: [4872]
4872,91 unequal: No Solution
Exploring Operation: 87+56=143, Resulting Numbers: [143]
143,91 unequal: No Solution
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,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,3
Current State: 91:[25, 89, 29], Operations: ['87-58=29']
Exploring Operation: 25+29=54, Resulting Numbers: [89, 54]
Generated Node #0,3,0: 91:[89, 54] Operation: 25+29=54
Exploring Operation: 25+89=114, Resulting Numbers: [29, 114]
Generated Node #0,3,1: 91:[29, 114] Operation: 25+89=114
Exploring Operation: 89+29=118, Resulting Numbers: [25, 118]
Generated Node #0,3,2: 91:[25, 118] Operation: 89+29=118
Exploring Operation: 29-25=4, Resulting Numbers: [89, 4]
Generated Node #0,3,3: 91:[89, 4] Operation: 29-25=4
Moving to Node #0,3,3
Current State: 91:[89, 4], Operations: ['87-58=29', '29-25=4']
Exploring Operation: 89*4=356, Resulting Numbers: [356]
356,91 unequal: No Solution
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[29, 114], Operations: ['87-58=29', '25+89=114']
Exploring Operation: 114-29=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 29+114=143, Resulting Numbers: [143]
143,91 unequal: No Solution
Exploring Operation: 29*114=3306, Resulting Numbers: [3306]
3306,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[89, 54], Operations: ['87-58=29', '25+29=54']
Exploring Operation: 89*54=4806, Resulting Numbers: [4806]
4806,91 unequal: No Solution
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,91 unequal: No Solution
Exploring Operation: 89+54=143, Resulting Numbers: [143]
143,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[25, 118], Operations: ['87-58=29', '89+29=118']
Exploring Operation: 25*118=2950, Resulting Numbers: [2950]
2950,91 unequal: No Solution
Exploring Operation: 118-25=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 25+118=143, Resulting Numbers: [143]
143,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[25, 87, 31], Operations: ['89-58=31']
Exploring Operation: 31-25=6, Resulting Numbers: [87, 6]
Generated Node #0,2,0: 91:[87, 6] Operation: 31-25=6
Exploring Operation: 87+31=118, Resulting Numbers: [25, 118]
Generated Node #0,2,1: 91:[25, 118] Operation: 87+31=118
Exploring Operation: 25+31=56, Resulting Numbers: [87, 56]
Generated Node #0,2,2: 91:[87, 56] Operation: 25+31=56
Exploring Operation: 25+87=112, Resulting Numbers: [31, 112]
Generated Node #0,2,3: 91:[31, 112] Operation: 25+87=112
Moving to Node #0,2,0
Current State: 91:[87, 6], Operations: ['89-58=31', '31-25=6']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[87, 56], Operations: ['89-58=31', '25+31=56']
Exploring Operation: 87+56=143, Resulting Numbers: [143]
143,91 unequal: No Solution
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 87*56=4872, Resulting Numbers: [4872]
4872,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[25, 118], Operations: ['89-58=31', '87+31=118']
Exploring Operation: 25+118=143, Resulting Numbers: [143]
143,91 unequal: No Solution
Exploring Operation: 118-25=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 25*118=2950, Resulting Numbers: [2950]
2950,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[31, 112], Operations: ['89-58=31', '25+87=112']
Exploring Operation: 112-31=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 31*112=3472, Resulting Numbers: [3472]
3472,91 unequal: No Solution
Exploring Operation: 31+112=143, Resulting Numbers: [143]
143,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
67,
27,
62,
53
] | 49 | [
"67-27=40",
"62-53=9",
"40+9=49"
] | Current State: 49:[67, 27, 62, 53], Operations: []
Exploring Operation: 67-27=40, Resulting Numbers: [62, 53, 40]
Generated Node #2: [62, 53, 40] from Operation: 67-27=40
Current State: 49:[62, 53, 40], Operations: ['67-27=40']
Exploring Operation: 62-53=9, Resulting Numbers: [40, 9]
Generated Node #3: [40, 9] from Operation: 62-53=9
Current State: 49:[40, 9], Operations: ['67-27=40', '62-53=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[67, 27, 62, 53], Operations: []
Exploring Operation: 67-27=40, Resulting Numbers: [62, 53, 40]
Generated Node #0,0: 49:[62, 53, 40] Operation: 67-27=40
Exploring Operation: 67-53=14, Resulting Numbers: [27, 62, 14]
Generated Node #0,1: 49:[27, 62, 14] Operation: 67-53=14
Exploring Operation: 62-27=35, Resulting Numbers: [67, 53, 35]
Generated Node #0,2: 49:[67, 53, 35] Operation: 62-27=35
Exploring Operation: 62-53=9, Resulting Numbers: [67, 27, 9]
Generated Node #0,3: 49:[67, 27, 9] Operation: 62-53=9
Exploring Operation: 67-62=5, Resulting Numbers: [27, 53, 5]
Generated Node #0,4: 49:[27, 53, 5] Operation: 67-62=5
Moving to Node #0,0
Current State: 49:[62, 53, 40], Operations: ['67-27=40']
Exploring Operation: 53+40=93, Resulting Numbers: [62, 93]
Generated Node #0,0,0: 49:[62, 93] Operation: 53+40=93
Exploring Operation: 62-53=9, Resulting Numbers: [40, 9]
Generated Node #0,0,1: 49:[40, 9] Operation: 62-53=9
Exploring Operation: 62-40=22, Resulting Numbers: [53, 22]
Generated Node #0,0,2: 49:[53, 22] Operation: 62-40=22
Exploring Operation: 62+40=102, Resulting Numbers: [53, 102]
Generated Node #0,0,3: 49:[53, 102] Operation: 62+40=102
Exploring Operation: 53-40=13, Resulting Numbers: [62, 13]
Generated Node #0,0,4: 49:[62, 13] Operation: 53-40=13
Moving to Node #0,4
Current State: 49:[27, 53, 5], Operations: ['67-62=5']
Exploring Operation: 27+5=32, Resulting Numbers: [53, 32]
Generated Node #0,4,0: 49:[53, 32] Operation: 27+5=32
Exploring Operation: 53-27=26, Resulting Numbers: [5, 26]
Generated Node #0,4,1: 49:[5, 26] Operation: 53-27=26
Exploring Operation: 53-5=48, Resulting Numbers: [27, 48]
Generated Node #0,4,2: 49:[27, 48] Operation: 53-5=48
Exploring Operation: 27-5=22, Resulting Numbers: [53, 22]
Generated Node #0,4,3: 49:[53, 22] Operation: 27-5=22
Exploring Operation: 53+5=58, Resulting Numbers: [27, 58]
Generated Node #0,4,4: 49:[27, 58] Operation: 53+5=58
Moving to Node #0,2
Current State: 49:[67, 53, 35], Operations: ['62-27=35']
Exploring Operation: 53+35=88, Resulting Numbers: [67, 88]
Generated Node #0,2,0: 49:[67, 88] Operation: 53+35=88
Exploring Operation: 53-35=18, Resulting Numbers: [67, 18]
Generated Node #0,2,1: 49:[67, 18] Operation: 53-35=18
Exploring Operation: 67-53=14, Resulting Numbers: [35, 14]
Generated Node #0,2,2: 49:[35, 14] Operation: 67-53=14
Exploring Operation: 67+35=102, Resulting Numbers: [53, 102]
Generated Node #0,2,3: 49:[53, 102] Operation: 67+35=102
Exploring Operation: 67-35=32, Resulting Numbers: [53, 32]
Generated Node #0,2,4: 49:[53, 32] Operation: 67-35=32
Moving to Node #0,1
Current State: 49:[27, 62, 14], Operations: ['67-53=14']
Exploring Operation: 62-14=48, Resulting Numbers: [27, 48]
Generated Node #0,1,0: 49:[27, 48] Operation: 62-14=48
Exploring Operation: 62-27=35, Resulting Numbers: [14, 35]
Generated Node #0,1,1: 49:[14, 35] Operation: 62-27=35
Exploring Operation: 27+62=89, Resulting Numbers: [14, 89]
Generated Node #0,1,2: 49:[14, 89] Operation: 27+62=89
Exploring Operation: 27-14=13, Resulting Numbers: [62, 13]
Generated Node #0,1,3: 49:[62, 13] Operation: 27-14=13
Exploring Operation: 27+14=41, Resulting Numbers: [62, 41]
Generated Node #0,1,4: 49:[62, 41] Operation: 27+14=41
Moving to Node #0,3
Current State: 49:[67, 27, 9], Operations: ['62-53=9']
Exploring Operation: 27+9=36, Resulting Numbers: [67, 36]
Generated Node #0,3,0: 49:[67, 36] Operation: 27+9=36
Exploring Operation: 67-9=58, Resulting Numbers: [27, 58]
Generated Node #0,3,1: 49:[27, 58] Operation: 67-9=58
Exploring Operation: 27/9=3, Resulting Numbers: [67, 3]
Generated Node #0,3,2: 49:[67, 3] Operation: 27/9=3
Exploring Operation: 67-27=40, Resulting Numbers: [9, 40]
Generated Node #0,3,3: 49:[9, 40] Operation: 67-27=40
Exploring Operation: 27-9=18, Resulting Numbers: [67, 18]
Generated Node #0,3,4: 49:[67, 18] Operation: 27-9=18
Moving to Node #0,0,1
Current State: 49:[40, 9], Operations: ['67-27=40', '62-53=9']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[67, 27, 62, 53], Operations: []
Exploring Operation: 67-27=40, Resulting Numbers: [62, 53, 40]
Generated Node #0,0: 49:[62, 53, 40] Operation: 67-27=40
Moving to Node #0,0
Current State: 49:[62, 53, 40], Operations: ['67-27=40']
Exploring Operation: 62-53=9, Resulting Numbers: [40, 9]
Generated Node #0,0,1: 49:[40, 9] Operation: 62-53=9
Moving to Node #0,0,1
Current State: 49:[40, 9], Operations: ['67-27=40', '62-53=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.96875 | hs_5 | mult_heuristic |
[
14,
30,
68,
25
] | 45 | [
"68-14=54",
"25*54=1350",
"1350/30=45"
] | Current State: 45:[14, 30, 68, 25], Operations: []
Exploring Operation: 68-14=54, Resulting Numbers: [30, 25, 54]
Generated Node #2: [30, 25, 54] from Operation: 68-14=54
Current State: 45:[30, 25, 54], Operations: ['68-14=54']
Exploring Operation: 25*54=1350, Resulting Numbers: [30, 1350]
Generated Node #3: [30, 1350] from Operation: 25*54=1350
Current State: 45:[30, 1350], Operations: ['68-14=54', '25*54=1350']
Exploring Operation: 1350/30=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[14, 30, 68, 25], Operations: []
Exploring Operation: 14+30=44, Resulting Numbers: [68, 25, 44]
Generated Node #0,0: 45:[68, 25, 44] Operation: 14+30=44
Exploring Operation: 30-25=5, Resulting Numbers: [14, 68, 5]
Generated Node #0,1: 45:[14, 68, 5] Operation: 30-25=5
Exploring Operation: 68-25=43, Resulting Numbers: [14, 30, 43]
Generated Node #0,2: 45:[14, 30, 43] Operation: 68-25=43
Exploring Operation: 68-30=38, Resulting Numbers: [14, 25, 38]
Generated Node #0,3: 45:[14, 25, 38] Operation: 68-30=38
Exploring Operation: 30-14=16, Resulting Numbers: [68, 25, 16]
Generated Node #0,4: 45:[68, 25, 16] Operation: 30-14=16
Moving to Node #0,2
Current State: 45:[14, 30, 43], Operations: ['68-25=43']
Exploring Operation: 43-30=13, Resulting Numbers: [14, 13]
Generated Node #0,2,0: 45:[14, 13] Operation: 43-30=13
Exploring Operation: 43-14=29, Resulting Numbers: [30, 29]
Generated Node #0,2,1: 45:[30, 29] Operation: 43-14=29
Exploring Operation: 14+43=57, Resulting Numbers: [30, 57]
Generated Node #0,2,2: 45:[30, 57] Operation: 14+43=57
Exploring Operation: 14+30=44, Resulting Numbers: [43, 44]
Generated Node #0,2,3: 45:[43, 44] Operation: 14+30=44
Exploring Operation: 30-14=16, Resulting Numbers: [43, 16]
Generated Node #0,2,4: 45:[43, 16] Operation: 30-14=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[14, 13], Operations: ['68-25=43', '43-30=13']
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,45 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 45:[43, 44], Operations: ['68-25=43', '14+30=44']
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 43*44=1892, Resulting Numbers: [1892]
1892,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 45:[43, 16], Operations: ['68-25=43', '30-14=16']
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,45 unequal: No Solution
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 45:[30, 57], Operations: ['68-25=43', '14+43=57']
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 30*57=1710, Resulting Numbers: [1710]
1710,45 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 45:[30, 29], Operations: ['68-25=43', '43-14=29']
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,45 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,45 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: 45:[14, 25, 38], Operations: ['68-30=38']
Exploring Operation: 25-14=11, Resulting Numbers: [38, 11]
Generated Node #0,3,0: 45:[38, 11] Operation: 25-14=11
Exploring Operation: 14+25=39, Resulting Numbers: [38, 39]
Generated Node #0,3,1: 45:[38, 39] Operation: 14+25=39
Exploring Operation: 14+38=52, Resulting Numbers: [25, 52]
Generated Node #0,3,2: 45:[25, 52] Operation: 14+38=52
Exploring Operation: 38-25=13, Resulting Numbers: [14, 13]
Generated Node #0,3,3: 45:[14, 13] Operation: 38-25=13
Exploring Operation: 38-14=24, Resulting Numbers: [25, 24]
Generated Node #0,3,4: 45:[25, 24] Operation: 38-14=24
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[14, 13], Operations: ['68-30=38', '38-25=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[38, 11], Operations: ['68-30=38', '25-14=11']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,45 unequal: No Solution
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[38, 39], Operations: ['68-30=38', '14+25=39']
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,45 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 45:[25, 52], Operations: ['68-30=38', '14+38=52']
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,45 unequal: No Solution
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,45 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 45:[25, 24], Operations: ['68-30=38', '38-14=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,45 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: 45:[14, 68, 5], Operations: ['30-25=5']
Exploring Operation: 14-5=9, Resulting Numbers: [68, 9]
Generated Node #0,1,0: 45:[68, 9] Operation: 14-5=9
Exploring Operation: 68+5=73, Resulting Numbers: [14, 73]
Generated Node #0,1,1: 45:[14, 73] Operation: 68+5=73
Exploring Operation: 14+5=19, Resulting Numbers: [68, 19]
Generated Node #0,1,2: 45:[68, 19] Operation: 14+5=19
Exploring Operation: 68-5=63, Resulting Numbers: [14, 63]
Generated Node #0,1,3: 45:[14, 63] Operation: 68-5=63
Exploring Operation: 68-14=54, Resulting Numbers: [5, 54]
Generated Node #0,1,4: 45:[5, 54] Operation: 68-14=54
Moving to Node #0,0
Current State: 45:[68, 25, 44], Operations: ['14+30=44']
Exploring Operation: 68+25=93, Resulting Numbers: [44, 93]
Generated Node #0,0,0: 45:[44, 93] Operation: 68+25=93
Exploring Operation: 68-44=24, Resulting Numbers: [25, 24]
Generated Node #0,0,1: 45:[25, 24] Operation: 68-44=24
Exploring Operation: 68-25=43, Resulting Numbers: [44, 43]
Generated Node #0,0,2: 45:[44, 43] Operation: 68-25=43
Exploring Operation: 25+44=69, Resulting Numbers: [68, 69]
Generated Node #0,0,3: 45:[68, 69] Operation: 25+44=69
Exploring Operation: 44-25=19, Resulting Numbers: [68, 19]
Generated Node #0,0,4: 45:[68, 19] Operation: 44-25=19
Moving to Node #0,4
Current State: 45:[68, 25, 16], Operations: ['30-14=16']
Exploring Operation: 68-25=43, Resulting Numbers: [16, 43]
Generated Node #0,4,0: 45:[16, 43] Operation: 68-25=43
Exploring Operation: 25-16=9, Resulting Numbers: [68, 9]
Generated Node #0,4,1: 45:[68, 9] Operation: 25-16=9
Exploring Operation: 68+25=93, Resulting Numbers: [16, 93]
Generated Node #0,4,2: 45:[16, 93] Operation: 68+25=93
Exploring Operation: 68-16=52, Resulting Numbers: [25, 52]
Generated Node #0,4,3: 45:[25, 52] Operation: 68-16=52
Exploring Operation: 25+16=41, Resulting Numbers: [68, 41]
Generated Node #0,4,4: 45:[68, 41] Operation: 25+16=41
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 45:[16, 43], Operations: ['30-14=16', '68-25=43']
Exploring Operation: 16+43=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 16*43=688, Resulting Numbers: [688]
688,45 unequal: No Solution
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 45:[25, 52], Operations: ['30-14=16', '68-16=52']
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,45 unequal: No Solution
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,45 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 45:[68, 9], Operations: ['30-14=16', '25-16=9']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,45 unequal: No Solution
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 45:[68, 41], Operations: ['30-14=16', '25+16=41']
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,45 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 45:[16, 93], Operations: ['30-14=16', '68+25=93']
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,45 unequal: No Solution
Exploring Operation: 16*93=1488, Resulting Numbers: [1488]
1488,45 unequal: No Solution
Exploring Operation: 16+93=109, Resulting Numbers: [109]
109,45 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: 45:[44, 43], Operations: ['14+30=44', '68-25=43']
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,45 unequal: No Solution
Moving to Node #0,1,4
Current State: 45:[5, 54], Operations: ['30-25=5', '68-14=54']
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,45 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[25, 24], Operations: ['14+30=44', '68-44=24']
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,45 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[14, 63], Operations: ['30-25=5', '68-5=63']
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,45 unequal: No Solution
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,45 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[68, 9], Operations: ['30-25=5', '14-5=9']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,45 unequal: No Solution
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[68, 19], Operations: ['30-25=5', '14+5=19']
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,45 unequal: No Solution
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Moving to Node #0,0,4
Current State: 45:[68, 19], Operations: ['14+30=44', '44-25=19']
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[14, 73], Operations: ['30-25=5', '68+5=73']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[68, 69], Operations: ['14+30=44', '25+44=69']
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,45 unequal: No Solution
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,45 unequal: No Solution
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[44, 93], Operations: ['14+30=44', '68+25=93']
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 44+93=137, Resulting Numbers: [137]
137,45 unequal: No Solution
Exploring Operation: 44*93=4092, Resulting Numbers: [4092]
4092,45 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
61,
95,
36,
52
] | 68 | [
"61+95=156",
"36+52=88",
"156-88=68"
] | Current State: 68:[61, 95, 36, 52], Operations: []
Exploring Operation: 61+95=156, Resulting Numbers: [36, 52, 156]
Generated Node #2: [36, 52, 156] from Operation: 61+95=156
Current State: 68:[36, 52, 156], Operations: ['61+95=156']
Exploring Operation: 36+52=88, Resulting Numbers: [156, 88]
Generated Node #3: [156, 88] from Operation: 36+52=88
Current State: 68:[156, 88], Operations: ['61+95=156', '36+52=88']
Exploring Operation: 156-88=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[61, 95, 36, 52], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [36, 52, 34]
Generated Node #0,0: 68:[36, 52, 34] Operation: 95-61=34
Exploring Operation: 95-52=43, Resulting Numbers: [61, 36, 43]
Generated Node #0,1: 68:[61, 36, 43] Operation: 95-52=43
Moving to Node #0,0
Current State: 68:[36, 52, 34], Operations: ['95-61=34']
Exploring Operation: 52-36=16, Resulting Numbers: [34, 16]
Generated Node #0,0,0: 68:[34, 16] Operation: 52-36=16
Exploring Operation: 52-34=18, Resulting Numbers: [36, 18]
Generated Node #0,0,1: 68:[36, 18] Operation: 52-34=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[34, 16], Operations: ['95-61=34', '52-36=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[36, 18], Operations: ['95-61=34', '52-34=18']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,68 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: 68:[61, 36, 43], Operations: ['95-52=43']
Exploring Operation: 61-43=18, Resulting Numbers: [36, 18]
Generated Node #0,1,0: 68:[36, 18] Operation: 61-43=18
Exploring Operation: 43-36=7, Resulting Numbers: [61, 7]
Generated Node #0,1,1: 68:[61, 7] Operation: 43-36=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[36, 18], Operations: ['95-52=43', '61-43=18']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[61, 7], Operations: ['95-52=43', '43-36=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[61, 95, 36, 52], Operations: []
Exploring Operation: 95-52=43, Resulting Numbers: [61, 36, 43]
Generated Node #0,1: 68:[61, 36, 43] Operation: 95-52=43
Moving to Node #0,1
Current State: 68:[61, 36, 43], Operations: ['95-52=43']
Exploring Operation: 43-36=7, Resulting Numbers: [61, 7]
Generated Node #0,1,1: 68:[61, 7] Operation: 43-36=7
Moving to Node #0,1,1
Current State: 68:[61, 7], Operations: ['95-52=43', '43-36=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
35,
40,
14,
4
] | 51 | [
"40-35=5",
"14*4=56",
"56-5=51"
] | Current State: 51:[35, 40, 14, 4], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [14, 4, 5]
Generated Node #2: [14, 4, 5] from Operation: 40-35=5
Current State: 51:[14, 4, 5], Operations: ['40-35=5']
Exploring Operation: 14*4=56, Resulting Numbers: [5, 56]
Generated Node #3: [5, 56] from Operation: 14*4=56
Current State: 51:[5, 56], Operations: ['40-35=5', '14*4=56']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[35, 40, 14, 4], Operations: []
Exploring Operation: 40+14=54, Resulting Numbers: [35, 4, 54]
Generated Node #0,0: 51:[35, 4, 54] Operation: 40+14=54
Exploring Operation: 35+14=49, Resulting Numbers: [40, 4, 49]
Generated Node #0,1: 51:[40, 4, 49] Operation: 35+14=49
Exploring Operation: 40-35=5, Resulting Numbers: [14, 4, 5]
Generated Node #0,2: 51:[14, 4, 5] Operation: 40-35=5
Exploring Operation: 35+4=39, Resulting Numbers: [40, 14, 39]
Generated Node #0,3: 51:[40, 14, 39] Operation: 35+4=39
Exploring Operation: 35-14=21, Resulting Numbers: [40, 4, 21]
Generated Node #0,4: 51:[40, 4, 21] Operation: 35-14=21
Moving to Node #0,2
Current State: 51:[14, 4, 5], Operations: ['40-35=5']
Exploring Operation: 14+4=18, Resulting Numbers: [5, 18]
Generated Node #0,2,0: 51:[5, 18] Operation: 14+4=18
Exploring Operation: 5-4=1, Resulting Numbers: [14, 1]
Generated Node #0,2,1: 51:[14, 1] Operation: 5-4=1
Exploring Operation: 14+5=19, Resulting Numbers: [4, 19]
Generated Node #0,2,2: 51:[4, 19] Operation: 14+5=19
Exploring Operation: 14*4=56, Resulting Numbers: [5, 56]
Generated Node #0,2,3: 51:[5, 56] Operation: 14*4=56
Exploring Operation: 4*5=20, Resulting Numbers: [14, 20]
Generated Node #0,2,4: 51:[14, 20] Operation: 4*5=20
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[5, 18], Operations: ['40-35=5', '14+4=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,51 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[4, 19], Operations: ['40-35=5', '14+5=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[14, 1], Operations: ['40-35=5', '5-4=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 51:[14, 20], Operations: ['40-35=5', '4*5=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,51 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 51:[5, 56], Operations: ['40-35=5', '14*4=56']
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,51 unequal: No Solution
Exploring Operation: 5*56=280, Resulting Numbers: [280]
280,51 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[35, 40, 14, 4], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [14, 4, 5]
Generated Node #0,2: 51:[14, 4, 5] Operation: 40-35=5
Moving to Node #0,2
Current State: 51:[14, 4, 5], Operations: ['40-35=5']
Exploring Operation: 14*4=56, Resulting Numbers: [5, 56]
Generated Node #0,2,3: 51:[5, 56] Operation: 14*4=56
Moving to Node #0,2,3
Current State: 51:[5, 56], Operations: ['40-35=5', '14*4=56']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
11,
64,
13,
86
] | 73 | [
"13+86=99",
"99/11=9",
"64+9=73"
] | Current State: 73:[11, 64, 13, 86], Operations: []
Exploring Operation: 13+86=99, Resulting Numbers: [11, 64, 99]
Generated Node #2: [11, 64, 99] from Operation: 13+86=99
Current State: 73:[11, 64, 99], Operations: ['13+86=99']
Exploring Operation: 99/11=9, Resulting Numbers: [64, 9]
Generated Node #3: [64, 9] from Operation: 99/11=9
Current State: 73:[64, 9], Operations: ['13+86=99', '99/11=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[11, 64, 13, 86], Operations: []
Exploring Operation: 86-13=73, Resulting Numbers: [11, 64, 73]
Generated Node #0,0: 73:[11, 64, 73] Operation: 86-13=73
Exploring Operation: 86-11=75, Resulting Numbers: [64, 13, 75]
Generated Node #0,1: 73:[64, 13, 75] Operation: 86-11=75
Exploring Operation: 64+13=77, Resulting Numbers: [11, 86, 77]
Generated Node #0,2: 73:[11, 86, 77] Operation: 64+13=77
Exploring Operation: 11+64=75, Resulting Numbers: [13, 86, 75]
Generated Node #0,3: 73:[13, 86, 75] Operation: 11+64=75
Exploring Operation: 11+13=24, Resulting Numbers: [64, 86, 24]
Generated Node #0,4: 73:[64, 86, 24] Operation: 11+13=24
Moving to Node #0,0
Current State: 73:[11, 64, 73], Operations: ['86-13=73']
Exploring Operation: 64-11=53, Resulting Numbers: [73, 53]
Generated Node #0,0,0: 73:[73, 53] Operation: 64-11=53
Exploring Operation: 11+73=84, Resulting Numbers: [64, 84]
Generated Node #0,0,1: 73:[64, 84] Operation: 11+73=84
Exploring Operation: 11+64=75, Resulting Numbers: [73, 75]
Generated Node #0,0,2: 73:[73, 75] Operation: 11+64=75
Exploring Operation: 64+73=137, Resulting Numbers: [11, 137]
Generated Node #0,0,3: 73:[11, 137] Operation: 64+73=137
Exploring Operation: 73-11=62, Resulting Numbers: [64, 62]
Generated Node #0,0,4: 73:[64, 62] Operation: 73-11=62
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[73, 75], Operations: ['86-13=73', '11+64=75']
Exploring Operation: 73+75=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 73*75=5475, Resulting Numbers: [5475]
5475,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[73, 53], Operations: ['86-13=73', '64-11=53']
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,73 unequal: No Solution
Exploring Operation: 73*53=3869, Resulting Numbers: [3869]
3869,73 unequal: No Solution
Exploring Operation: 73+53=126, Resulting Numbers: [126]
126,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[64, 84], Operations: ['86-13=73', '11+73=84']
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,73 unequal: No Solution
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 73:[64, 62], Operations: ['86-13=73', '73-11=62']
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 64*62=3968, Resulting Numbers: [3968]
3968,73 unequal: No Solution
Exploring Operation: 64+62=126, Resulting Numbers: [126]
126,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[11, 137], Operations: ['86-13=73', '64+73=137']
Exploring Operation: 11+137=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 137-11=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 11*137=1507, Resulting Numbers: [1507]
1507,73 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: 73:[64, 86, 24], Operations: ['11+13=24']
Exploring Operation: 64+24=88, Resulting Numbers: [86, 88]
Generated Node #0,4,0: 73:[86, 88] Operation: 64+24=88
Exploring Operation: 86-24=62, Resulting Numbers: [64, 62]
Generated Node #0,4,1: 73:[64, 62] Operation: 86-24=62
Exploring Operation: 86-64=22, Resulting Numbers: [24, 22]
Generated Node #0,4,2: 73:[24, 22] Operation: 86-64=22
Exploring Operation: 64-24=40, Resulting Numbers: [86, 40]
Generated Node #0,4,3: 73:[86, 40] Operation: 64-24=40
Exploring Operation: 86+24=110, Resulting Numbers: [64, 110]
Generated Node #0,4,4: 73:[64, 110] Operation: 86+24=110
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 73:[64, 62], Operations: ['11+13=24', '86-24=62']
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 64+62=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 64*62=3968, Resulting Numbers: [3968]
3968,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,0
Current State: 73:[86, 88], Operations: ['11+13=24', '64+24=88']
Exploring Operation: 86*88=7568, Resulting Numbers: [7568]
7568,73 unequal: No Solution
Exploring Operation: 86+88=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,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:[86, 40], Operations: ['11+13=24', '64-24=40']
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,73 unequal: No Solution
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,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:[64, 110], Operations: ['11+13=24', '86+24=110']
Exploring Operation: 110-64=46, Resulting Numbers: [46]
46,73 unequal: No Solution
Exploring Operation: 64*110=7040, Resulting Numbers: [7040]
7040,73 unequal: No Solution
Exploring Operation: 64+110=174, Resulting Numbers: [174]
174,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:[24, 22], Operations: ['11+13=24', '86-64=22']
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,73 unequal: No Solution
Exploring Operation: 24*22=528, Resulting Numbers: [528]
528,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:[64, 13, 75], Operations: ['86-11=75']
Exploring Operation: 75-64=11, Resulting Numbers: [13, 11]
Generated Node #0,1,0: 73:[13, 11] Operation: 75-64=11
Exploring Operation: 13+75=88, Resulting Numbers: [64, 88]
Generated Node #0,1,1: 73:[64, 88] Operation: 13+75=88
Exploring Operation: 64+13=77, Resulting Numbers: [75, 77]
Generated Node #0,1,2: 73:[75, 77] Operation: 64+13=77
Exploring Operation: 75-13=62, Resulting Numbers: [64, 62]
Generated Node #0,1,3: 73:[64, 62] Operation: 75-13=62
Exploring Operation: 64-13=51, Resulting Numbers: [75, 51]
Generated Node #0,1,4: 73:[75, 51] Operation: 64-13=51
Moving to Node #0,3
Current State: 73:[13, 86, 75], Operations: ['11+64=75']
Exploring Operation: 13+86=99, Resulting Numbers: [75, 99]
Generated Node #0,3,0: 73:[75, 99] Operation: 13+86=99
Exploring Operation: 13+75=88, Resulting Numbers: [86, 88]
Generated Node #0,3,1: 73:[86, 88] Operation: 13+75=88
Exploring Operation: 75-13=62, Resulting Numbers: [86, 62]
Generated Node #0,3,2: 73:[86, 62] Operation: 75-13=62
Exploring Operation: 86-75=11, Resulting Numbers: [13, 11]
Generated Node #0,3,3: 73:[13, 11] Operation: 86-75=11
Exploring Operation: 86-13=73, Resulting Numbers: [75, 73]
Generated Node #0,3,4: 73:[75, 73] Operation: 86-13=73
Moving to Node #0,2
Current State: 73:[11, 86, 77], Operations: ['64+13=77']
Exploring Operation: 11+86=97, Resulting Numbers: [77, 97]
Generated Node #0,2,0: 73:[77, 97] Operation: 11+86=97
Exploring Operation: 77-11=66, Resulting Numbers: [86, 66]
Generated Node #0,2,1: 73:[86, 66] Operation: 77-11=66
Exploring Operation: 77/11=7, Resulting Numbers: [86, 7]
Generated Node #0,2,2: 73:[86, 7] Operation: 77/11=7
Exploring Operation: 86-11=75, Resulting Numbers: [77, 75]
Generated Node #0,2,3: 73:[77, 75] Operation: 86-11=75
Exploring Operation: 11+77=88, Resulting Numbers: [86, 88]
Generated Node #0,2,4: 73:[86, 88] Operation: 11+77=88
Moving to Node #0,3,4
Current State: 73:[75, 73], Operations: ['11+64=75', '86-13=73']
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 75+73=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 75*73=5475, Resulting Numbers: [5475]
5475,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[75, 77], Operations: ['86-11=75', '64+13=77']
Exploring Operation: 75*77=5775, Resulting Numbers: [5775]
5775,73 unequal: No Solution
Exploring Operation: 75+77=152, Resulting Numbers: [152]
152,73 unequal: No Solution
Exploring Operation: 77-75=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[77, 75], Operations: ['64+13=77', '86-11=75']
Exploring Operation: 77*75=5775, Resulting Numbers: [5775]
5775,73 unequal: No Solution
Exploring Operation: 77+75=152, Resulting Numbers: [152]
152,73 unequal: No Solution
Exploring Operation: 77-75=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[86, 66], Operations: ['64+13=77', '77-11=66']
Exploring Operation: 86+66=152, Resulting Numbers: [152]
152,73 unequal: No Solution
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,73 unequal: No Solution
Exploring Operation: 86*66=5676, Resulting Numbers: [5676]
5676,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[64, 62], Operations: ['86-11=75', '75-13=62']
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 64+62=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 64*62=3968, Resulting Numbers: [3968]
3968,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[86, 62], Operations: ['11+64=75', '75-13=62']
Exploring Operation: 86+62=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 86-62=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 86*62=5332, Resulting Numbers: [5332]
5332,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[64, 88], Operations: ['86-11=75', '13+75=88']
Exploring Operation: 64+88=152, Resulting Numbers: [152]
152,73 unequal: No Solution
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 64*88=5632, Resulting Numbers: [5632]
5632,73 unequal: No Solution
Moving to Node #0,1,4
Current State: 73:[75, 51], Operations: ['86-11=75', '64-13=51']
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 75+51=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 75*51=3825, Resulting Numbers: [3825]
3825,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[77, 97], Operations: ['64+13=77', '11+86=97']
Exploring Operation: 77*97=7469, Resulting Numbers: [7469]
7469,73 unequal: No Solution
Exploring Operation: 77+97=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 97-77=20, Resulting Numbers: [20]
20,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[75, 99], Operations: ['11+64=75', '13+86=99']
Exploring Operation: 75*99=7425, Resulting Numbers: [7425]
7425,73 unequal: No Solution
Exploring Operation: 99-75=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 75+99=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[86, 88], Operations: ['64+13=77', '11+77=88']
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 86*88=7568, Resulting Numbers: [7568]
7568,73 unequal: No Solution
Exploring Operation: 86+88=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[86, 88], Operations: ['11+64=75', '13+75=88']
Exploring Operation: 86*88=7568, Resulting Numbers: [7568]
7568,73 unequal: No Solution
Exploring Operation: 86+88=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[86, 7], Operations: ['64+13=77', '77/11=7']
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,73 unequal: No Solution
Exploring Operation: 86*7=602, Resulting Numbers: [602]
602,73 unequal: No Solution
Exploring Operation: 86+7=93, Resulting Numbers: [93]
93,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[13, 11], Operations: ['11+64=75', '86-75=11']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[13, 11], Operations: ['86-11=75', '75-64=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,73 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
96,
9,
92,
34
] | 100 | [
"96-92=4",
"34-9=25",
"4*25=100"
] | Current State: 100:[96, 9, 92, 34], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [9, 34, 4]
Generated Node #2: [9, 34, 4] from Operation: 96-92=4
Current State: 100:[9, 34, 4], Operations: ['96-92=4']
Exploring Operation: 34-9=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 34-9=25
Current State: 100:[4, 25], Operations: ['96-92=4', '34-9=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[96, 9, 92, 34], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [9, 34, 4]
Generated Node #0,0: 100:[9, 34, 4] Operation: 96-92=4
Exploring Operation: 34-9=25, Resulting Numbers: [96, 92, 25]
Generated Node #0,1: 100:[96, 92, 25] Operation: 34-9=25
Exploring Operation: 92-34=58, Resulting Numbers: [96, 9, 58]
Generated Node #0,2: 100:[96, 9, 58] Operation: 92-34=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[9, 34, 4], Operations: ['96-92=4']
Exploring Operation: 34-9=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 100:[4, 25] Operation: 34-9=25
Exploring Operation: 9+34=43, Resulting Numbers: [4, 43]
Generated Node #0,0,1: 100:[4, 43] Operation: 9+34=43
Exploring Operation: 34-4=30, Resulting Numbers: [9, 30]
Generated Node #0,0,2: 100:[9, 30] Operation: 34-4=30
Moving to Node #0,0,0
Current State: 100:[4, 25], Operations: ['96-92=4', '34-9=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[96, 9, 92, 34], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [9, 34, 4]
Generated Node #0,0: 100:[9, 34, 4] Operation: 96-92=4
Moving to Node #0,0
Current State: 100:[9, 34, 4], Operations: ['96-92=4']
Exploring Operation: 34-9=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 100:[4, 25] Operation: 34-9=25
Moving to Node #0,0,0
Current State: 100:[4, 25], Operations: ['96-92=4', '34-9=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
15,
90,
85,
26
] | 16 | [
"90-15=75",
"85-26=59",
"75-59=16"
] | Current State: 16:[15, 90, 85, 26], Operations: []
Exploring Operation: 90-15=75, Resulting Numbers: [85, 26, 75]
Generated Node #2: [85, 26, 75] from Operation: 90-15=75
Current State: 16:[85, 26, 75], Operations: ['90-15=75']
Exploring Operation: 85-26=59, Resulting Numbers: [75, 59]
Generated Node #3: [75, 59] from Operation: 85-26=59
Current State: 16:[75, 59], Operations: ['90-15=75', '85-26=59']
Exploring Operation: 75-59=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[15, 90, 85, 26], Operations: []
Exploring Operation: 90-26=64, Resulting Numbers: [15, 85, 64]
Generated Node #0,0: 16:[15, 85, 64] Operation: 90-26=64
Exploring Operation: 90/15=6, Resulting Numbers: [85, 26, 6]
Generated Node #0,1: 16:[85, 26, 6] Operation: 90/15=6
Exploring Operation: 90-85=5, Resulting Numbers: [15, 26, 5]
Generated Node #0,2: 16:[15, 26, 5] Operation: 90-85=5
Moving to Node #0,2
Current State: 16:[15, 26, 5], Operations: ['90-85=5']
Exploring Operation: 26-5=21, Resulting Numbers: [15, 21]
Generated Node #0,2,0: 16:[15, 21] Operation: 26-5=21
Exploring Operation: 15/5=3, Resulting Numbers: [26, 3]
Generated Node #0,2,1: 16:[26, 3] Operation: 15/5=3
Exploring Operation: 26-15=11, Resulting Numbers: [5, 11]
Generated Node #0,2,2: 16:[5, 11] Operation: 26-15=11
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[5, 11], Operations: ['90-85=5', '26-15=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[15, 90, 85, 26], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [15, 26, 5]
Generated Node #0,2: 16:[15, 26, 5] Operation: 90-85=5
Moving to Node #0,2
Current State: 16:[15, 26, 5], Operations: ['90-85=5']
Exploring Operation: 26-15=11, Resulting Numbers: [5, 11]
Generated Node #0,2,2: 16:[5, 11] Operation: 26-15=11
Moving to Node #0,2,2
Current State: 16:[5, 11], Operations: ['90-85=5', '26-15=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
95,
1,
64,
52
] | 83 | [
"95*1=95",
"64-52=12",
"95-12=83"
] | Current State: 83:[95, 1, 64, 52], Operations: []
Exploring Operation: 95*1=95, Resulting Numbers: [64, 52, 95]
Generated Node #2: [64, 52, 95] from Operation: 95*1=95
Current State: 83:[64, 52, 95], Operations: ['95*1=95']
Exploring Operation: 64-52=12, Resulting Numbers: [95, 12]
Generated Node #3: [95, 12] from Operation: 64-52=12
Current State: 83:[95, 12], Operations: ['95*1=95', '64-52=12']
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[95, 1, 64, 52], Operations: []
Exploring Operation: 95-1=94, Resulting Numbers: [64, 52, 94]
Generated Node #0,0: 83:[64, 52, 94] Operation: 95-1=94
Exploring Operation: 1+64=65, Resulting Numbers: [95, 52, 65]
Generated Node #0,1: 83:[95, 52, 65] Operation: 1+64=65
Exploring Operation: 1+52=53, Resulting Numbers: [95, 64, 53]
Generated Node #0,2: 83:[95, 64, 53] Operation: 1+52=53
Exploring Operation: 95*1=95, Resulting Numbers: [64, 52, 95]
Generated Node #0,3: 83:[64, 52, 95] Operation: 95*1=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[64, 52, 94], Operations: ['95-1=94']
Exploring Operation: 64-52=12, Resulting Numbers: [94, 12]
Generated Node #0,0,0: 83:[94, 12] Operation: 64-52=12
Exploring Operation: 94-52=42, Resulting Numbers: [64, 42]
Generated Node #0,0,1: 83:[64, 42] Operation: 94-52=42
Exploring Operation: 52+94=146, Resulting Numbers: [64, 146]
Generated Node #0,0,2: 83:[64, 146] Operation: 52+94=146
Exploring Operation: 64+52=116, Resulting Numbers: [94, 116]
Generated Node #0,0,3: 83:[94, 116] Operation: 64+52=116
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[94, 116], Operations: ['95-1=94', '64+52=116']
Exploring Operation: 116-94=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 94*116=10904, Resulting Numbers: [10904]
10904,83 unequal: No Solution
Exploring Operation: 94+116=210, Resulting Numbers: [210]
210,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[64, 42], Operations: ['95-1=94', '94-52=42']
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 64*42=2688, Resulting Numbers: [2688]
2688,83 unequal: No Solution
Exploring Operation: 64+42=106, Resulting Numbers: [106]
106,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[94, 12], Operations: ['95-1=94', '64-52=12']
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,83 unequal: No Solution
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[64, 146], Operations: ['95-1=94', '52+94=146']
Exploring Operation: 64+146=210, Resulting Numbers: [210]
210,83 unequal: No Solution
Exploring Operation: 64*146=9344, Resulting Numbers: [9344]
9344,83 unequal: No Solution
Exploring Operation: 146-64=82, Resulting Numbers: [82]
82,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[95, 52, 65], Operations: ['1+64=65']
Exploring Operation: 95+52=147, Resulting Numbers: [65, 147]
Generated Node #0,1,0: 83:[65, 147] Operation: 95+52=147
Exploring Operation: 65-52=13, Resulting Numbers: [95, 13]
Generated Node #0,1,1: 83:[95, 13] Operation: 65-52=13
Exploring Operation: 52+65=117, Resulting Numbers: [95, 117]
Generated Node #0,1,2: 83:[95, 117] Operation: 52+65=117
Exploring Operation: 95-52=43, Resulting Numbers: [65, 43]
Generated Node #0,1,3: 83:[65, 43] Operation: 95-52=43
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 83:[95, 117], Operations: ['1+64=65', '52+65=117']
Exploring Operation: 95*117=11115, Resulting Numbers: [11115]
11115,83 unequal: No Solution
Exploring Operation: 95+117=212, Resulting Numbers: [212]
212,83 unequal: No Solution
Exploring Operation: 117-95=22, Resulting Numbers: [22]
22,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 83:[65, 43], Operations: ['1+64=65', '95-52=43']
Exploring Operation: 65+43=108, Resulting Numbers: [108]
108,83 unequal: No Solution
Exploring Operation: 65*43=2795, Resulting Numbers: [2795]
2795,83 unequal: No Solution
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[65, 147], Operations: ['1+64=65', '95+52=147']
Exploring Operation: 65*147=9555, Resulting Numbers: [9555]
9555,83 unequal: No Solution
Exploring Operation: 65+147=212, Resulting Numbers: [212]
212,83 unequal: No Solution
Exploring Operation: 147-65=82, Resulting Numbers: [82]
82,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[95, 13], Operations: ['1+64=65', '65-52=13']
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 95*13=1235, Resulting Numbers: [1235]
1235,83 unequal: No Solution
Exploring Operation: 95+13=108, Resulting Numbers: [108]
108,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[95, 64, 53], Operations: ['1+52=53']
Exploring Operation: 95-64=31, Resulting Numbers: [53, 31]
Generated Node #0,2,0: 83:[53, 31] Operation: 95-64=31
Exploring Operation: 95-53=42, Resulting Numbers: [64, 42]
Generated Node #0,2,1: 83:[64, 42] Operation: 95-53=42
Exploring Operation: 64+53=117, Resulting Numbers: [95, 117]
Generated Node #0,2,2: 83:[95, 117] Operation: 64+53=117
Exploring Operation: 95+53=148, Resulting Numbers: [64, 148]
Generated Node #0,2,3: 83:[64, 148] Operation: 95+53=148
Moving to Node #0,2,2
Current State: 83:[95, 117], Operations: ['1+52=53', '64+53=117']
Exploring Operation: 117-95=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 95+117=212, Resulting Numbers: [212]
212,83 unequal: No Solution
Exploring Operation: 95*117=11115, Resulting Numbers: [11115]
11115,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[64, 42], Operations: ['1+52=53', '95-53=42']
Exploring Operation: 64*42=2688, Resulting Numbers: [2688]
2688,83 unequal: No Solution
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 64+42=106, Resulting Numbers: [106]
106,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[53, 31], Operations: ['1+52=53', '95-64=31']
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[64, 148], Operations: ['1+52=53', '95+53=148']
Exploring Operation: 64*148=9472, Resulting Numbers: [9472]
9472,83 unequal: No Solution
Exploring Operation: 64+148=212, Resulting Numbers: [212]
212,83 unequal: No Solution
Exploring Operation: 148-64=84, Resulting Numbers: [84]
84,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,3
Current State: 83:[64, 52, 95], Operations: ['95*1=95']
Exploring Operation: 95-52=43, Resulting Numbers: [64, 43]
Generated Node #0,3,0: 83:[64, 43] Operation: 95-52=43
Exploring Operation: 95-64=31, Resulting Numbers: [52, 31]
Generated Node #0,3,1: 83:[52, 31] Operation: 95-64=31
Exploring Operation: 64+52=116, Resulting Numbers: [95, 116]
Generated Node #0,3,2: 83:[95, 116] Operation: 64+52=116
Exploring Operation: 64-52=12, Resulting Numbers: [95, 12]
Generated Node #0,3,3: 83:[95, 12] Operation: 64-52=12
Moving to Node #0,3,2
Current State: 83:[95, 116], Operations: ['95*1=95', '64+52=116']
Exploring Operation: 116-95=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 95+116=211, Resulting Numbers: [211]
211,83 unequal: No Solution
Exploring Operation: 95*116=11020, Resulting Numbers: [11020]
11020,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[64, 43], Operations: ['95*1=95', '95-52=43']
Exploring Operation: 64+43=107, Resulting Numbers: [107]
107,83 unequal: No Solution
Exploring Operation: 64*43=2752, Resulting Numbers: [2752]
2752,83 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[95, 12], Operations: ['95*1=95', '64-52=12']
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,83 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[95, 1, 64, 52], Operations: []
Exploring Operation: 95*1=95, Resulting Numbers: [64, 52, 95]
Generated Node #0,3: 83:[64, 52, 95] Operation: 95*1=95
Moving to Node #0,3
Current State: 83:[64, 52, 95], Operations: ['95*1=95']
Exploring Operation: 64-52=12, Resulting Numbers: [95, 12]
Generated Node #0,3,3: 83:[95, 12] Operation: 64-52=12
Moving to Node #0,3,3
Current State: 83:[95, 12], Operations: ['95*1=95', '64-52=12']
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.940972 | hs_4 | mult_heuristic |
[
28,
18,
56,
35
] | 71 | [
"56/28=2",
"18*2=36",
"35+36=71"
] | Current State: 71:[28, 18, 56, 35], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [18, 35, 2]
Generated Node #2: [18, 35, 2] from Operation: 56/28=2
Current State: 71:[18, 35, 2], Operations: ['56/28=2']
Exploring Operation: 18*2=36, Resulting Numbers: [35, 36]
Generated Node #3: [35, 36] from Operation: 18*2=36
Current State: 71:[35, 36], Operations: ['56/28=2', '18*2=36']
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[28, 18, 56, 35], Operations: []
Exploring Operation: 18+35=53, Resulting Numbers: [28, 56, 53]
Generated Node #0,0: 71:[28, 56, 53] Operation: 18+35=53
Exploring Operation: 28+35=63, Resulting Numbers: [18, 56, 63]
Generated Node #0,1: 71:[18, 56, 63] Operation: 28+35=63
Exploring Operation: 28+18=46, Resulting Numbers: [56, 35, 46]
Generated Node #0,2: 71:[56, 35, 46] Operation: 28+18=46
Moving to Node #0,0
Current State: 71:[28, 56, 53], Operations: ['18+35=53']
Exploring Operation: 56-28=28, Resulting Numbers: [53, 28]
Generated Node #0,0,0: 71:[53, 28] Operation: 56-28=28
Exploring Operation: 28+56=84, Resulting Numbers: [53, 84]
Generated Node #0,0,1: 71:[53, 84] Operation: 28+56=84
Exploring Operation: 28+53=81, Resulting Numbers: [56, 81]
Generated Node #0,0,2: 71:[56, 81] Operation: 28+53=81
Moving to Node #0,1
Current State: 71:[18, 56, 63], Operations: ['28+35=63']
Exploring Operation: 18+63=81, Resulting Numbers: [56, 81]
Generated Node #0,1,0: 71:[56, 81] Operation: 18+63=81
Exploring Operation: 18+56=74, Resulting Numbers: [63, 74]
Generated Node #0,1,1: 71:[63, 74] Operation: 18+56=74
Exploring Operation: 56-18=38, Resulting Numbers: [63, 38]
Generated Node #0,1,2: 71:[63, 38] Operation: 56-18=38
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[63, 74], Operations: ['28+35=63', '18+56=74']
Exploring Operation: 63+74=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 63*74=4662, Resulting Numbers: [4662]
4662,71 unequal: No Solution
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[56, 81], Operations: ['28+35=63', '18+63=81']
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 56+81=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 56*81=4536, Resulting Numbers: [4536]
4536,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[63, 38], Operations: ['28+35=63', '56-18=38']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 63*38=2394, Resulting Numbers: [2394]
2394,71 unequal: No Solution
Exploring Operation: 63+38=101, Resulting Numbers: [101]
101,71 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: 71:[56, 35, 46], Operations: ['28+18=46']
Exploring Operation: 56+35=91, Resulting Numbers: [46, 91]
Generated Node #0,2,0: 71:[46, 91] Operation: 56+35=91
Exploring Operation: 35+46=81, Resulting Numbers: [56, 81]
Generated Node #0,2,1: 71:[56, 81] Operation: 35+46=81
Exploring Operation: 56+46=102, Resulting Numbers: [35, 102]
Generated Node #0,2,2: 71:[35, 102] Operation: 56+46=102
Moving to Node #0,0,2
Current State: 71:[56, 81], Operations: ['18+35=53', '28+53=81']
Exploring Operation: 56*81=4536, Resulting Numbers: [4536]
4536,71 unequal: No Solution
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 56+81=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[56, 81], Operations: ['28+18=46', '35+46=81']
Exploring Operation: 56*81=4536, Resulting Numbers: [4536]
4536,71 unequal: No Solution
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 56+81=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[53, 84], Operations: ['18+35=53', '28+56=84']
Exploring Operation: 53+84=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 53*84=4452, Resulting Numbers: [4452]
4452,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[46, 91], Operations: ['28+18=46', '56+35=91']
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 46*91=4186, Resulting Numbers: [4186]
4186,71 unequal: No Solution
Exploring Operation: 46+91=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[53, 28], Operations: ['18+35=53', '56-28=28']
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,71 unequal: No Solution
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[35, 102], Operations: ['28+18=46', '56+46=102']
Exploring Operation: 35+102=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 35*102=3570, Resulting Numbers: [3570]
3570,71 unequal: No Solution
Exploring Operation: 102-35=67, Resulting Numbers: [67]
67,71 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
3,
52,
81,
43
] | 75 | [
"52-3=49",
"81+43=124",
"124-49=75"
] | Current State: 75:[3, 52, 81, 43], Operations: []
Exploring Operation: 52-3=49, Resulting Numbers: [81, 43, 49]
Generated Node #2: [81, 43, 49] from Operation: 52-3=49
Current State: 75:[81, 43, 49], Operations: ['52-3=49']
Exploring Operation: 81+43=124, Resulting Numbers: [49, 124]
Generated Node #3: [49, 124] from Operation: 81+43=124
Current State: 75:[49, 124], Operations: ['52-3=49', '81+43=124']
Exploring Operation: 124-49=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[3, 52, 81, 43], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [3, 81, 9]
Generated Node #0,0: 75:[3, 81, 9] Operation: 52-43=9
Moving to Node #0,0
Current State: 75:[3, 81, 9], Operations: ['52-43=9']
Exploring Operation: 81-9=72, Resulting Numbers: [3, 72]
Generated Node #0,0,0: 75:[3, 72] Operation: 81-9=72
Moving to Node #0,0,0
Current State: 75:[3, 72], Operations: ['52-43=9', '81-9=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[3, 52, 81, 43], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [3, 81, 9]
Generated Node #0,0: 75:[3, 81, 9] Operation: 52-43=9
Moving to Node #0,0
Current State: 75:[3, 81, 9], Operations: ['52-43=9']
Exploring Operation: 81-9=72, Resulting Numbers: [3, 72]
Generated Node #0,0,0: 75:[3, 72] Operation: 81-9=72
Moving to Node #0,0,0
Current State: 75:[3, 72], Operations: ['52-43=9', '81-9=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
10,
68,
67,
62
] | 54 | [
"68+62=130",
"130/10=13",
"67-13=54"
] | Current State: 54:[10, 68, 67, 62], Operations: []
Exploring Operation: 68+62=130, Resulting Numbers: [10, 67, 130]
Generated Node #2: [10, 67, 130] from Operation: 68+62=130
Current State: 54:[10, 67, 130], Operations: ['68+62=130']
Exploring Operation: 130/10=13, Resulting Numbers: [67, 13]
Generated Node #3: [67, 13] from Operation: 130/10=13
Current State: 54:[67, 13], Operations: ['68+62=130', '130/10=13']
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[10, 68, 67, 62], Operations: []
Exploring Operation: 68-62=6, Resulting Numbers: [10, 67, 6]
Generated Node #0,0: 54:[10, 67, 6] Operation: 68-62=6
Exploring Operation: 68-67=1, Resulting Numbers: [10, 62, 1]
Generated Node #0,1: 54:[10, 62, 1] Operation: 68-67=1
Moving to Node #0,1
Current State: 54:[10, 62, 1], Operations: ['68-67=1']
Exploring Operation: 62-10=52, Resulting Numbers: [1, 52]
Generated Node #0,1,0: 54:[1, 52] Operation: 62-10=52
Exploring Operation: 10-1=9, Resulting Numbers: [62, 9]
Generated Node #0,1,1: 54:[62, 9] Operation: 10-1=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[1, 52], Operations: ['68-67=1', '62-10=52']
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[62, 9], Operations: ['68-67=1', '10-1=9']
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,54 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: 54:[10, 67, 6], Operations: ['68-62=6']
Exploring Operation: 67-6=61, Resulting Numbers: [10, 61]
Generated Node #0,0,0: 54:[10, 61] Operation: 67-6=61
Exploring Operation: 67-10=57, Resulting Numbers: [6, 57]
Generated Node #0,0,1: 54:[6, 57] Operation: 67-10=57
Moving to Node #0,0,1
Current State: 54:[6, 57], Operations: ['68-62=6', '67-10=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[10, 61], Operations: ['68-62=6', '67-6=61']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 10+61=71, Resulting Numbers: [71]
71,54 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
42,
82,
8,
22
] | 10 | [
"82-42=40",
"8+22=30",
"40-30=10"
] | Current State: 10:[42, 82, 8, 22], Operations: []
Exploring Operation: 82-42=40, Resulting Numbers: [8, 22, 40]
Generated Node #2: [8, 22, 40] from Operation: 82-42=40
Current State: 10:[8, 22, 40], Operations: ['82-42=40']
Exploring Operation: 8+22=30, Resulting Numbers: [40, 30]
Generated Node #3: [40, 30] from Operation: 8+22=30
Current State: 10:[40, 30], Operations: ['82-42=40', '8+22=30']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[42, 82, 8, 22], Operations: []
Exploring Operation: 82-22=60, Resulting Numbers: [42, 8, 60]
Generated Node #0,0: 10:[42, 8, 60] Operation: 82-22=60
Exploring Operation: 82-42=40, Resulting Numbers: [8, 22, 40]
Generated Node #0,1: 10:[8, 22, 40] Operation: 82-42=40
Exploring Operation: 42-8=34, Resulting Numbers: [82, 22, 34]
Generated Node #0,2: 10:[82, 22, 34] Operation: 42-8=34
Exploring Operation: 42-22=20, Resulting Numbers: [82, 8, 20]
Generated Node #0,3: 10:[82, 8, 20] Operation: 42-22=20
Moving to Node #0,1
Current State: 10:[8, 22, 40], Operations: ['82-42=40']
Exploring Operation: 22-8=14, Resulting Numbers: [40, 14]
Generated Node #0,1,0: 10:[40, 14] Operation: 22-8=14
Exploring Operation: 40-8=32, Resulting Numbers: [22, 32]
Generated Node #0,1,1: 10:[22, 32] Operation: 40-8=32
Exploring Operation: 40-22=18, Resulting Numbers: [8, 18]
Generated Node #0,1,2: 10:[8, 18] Operation: 40-22=18
Exploring Operation: 40/8=5, Resulting Numbers: [22, 5]
Generated Node #0,1,3: 10:[22, 5] Operation: 40/8=5
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[8, 18], Operations: ['82-42=40', '40-22=18']
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,10 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[42, 82, 8, 22], Operations: []
Exploring Operation: 82-42=40, Resulting Numbers: [8, 22, 40]
Generated Node #0,1: 10:[8, 22, 40] Operation: 82-42=40
Moving to Node #0,1
Current State: 10:[8, 22, 40], Operations: ['82-42=40']
Exploring Operation: 40-22=18, Resulting Numbers: [8, 18]
Generated Node #0,1,2: 10:[8, 18] Operation: 40-22=18
Moving to Node #0,1,2
Current State: 10:[8, 18], Operations: ['82-42=40', '40-22=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
2,
34,
53,
71
] | 50 | [
"2*34=68",
"71-53=18",
"68-18=50"
] | Current State: 50:[2, 34, 53, 71], Operations: []
Exploring Operation: 2*34=68, Resulting Numbers: [53, 71, 68]
Generated Node #2: [53, 71, 68] from Operation: 2*34=68
Current State: 50:[53, 71, 68], Operations: ['2*34=68']
Exploring Operation: 71-53=18, Resulting Numbers: [68, 18]
Generated Node #3: [68, 18] from Operation: 71-53=18
Current State: 50:[68, 18], Operations: ['2*34=68', '71-53=18']
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[2, 34, 53, 71], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [2, 34, 18]
Generated Node #0,0: 50:[2, 34, 18] Operation: 71-53=18
Exploring Operation: 71-34=37, Resulting Numbers: [2, 53, 37]
Generated Node #0,1: 50:[2, 53, 37] Operation: 71-34=37
Moving to Node #0,1
Current State: 50:[2, 53, 37], Operations: ['71-34=37']
Exploring Operation: 53-37=16, Resulting Numbers: [2, 16]
Generated Node #0,1,0: 50:[2, 16] Operation: 53-37=16
Exploring Operation: 53-2=51, Resulting Numbers: [37, 51]
Generated Node #0,1,1: 50:[37, 51] Operation: 53-2=51
Moving to Node #0,0
Current State: 50:[2, 34, 18], Operations: ['71-53=18']
Exploring Operation: 34+18=52, Resulting Numbers: [2, 52]
Generated Node #0,0,0: 50:[2, 52] Operation: 34+18=52
Exploring Operation: 34-18=16, Resulting Numbers: [2, 16]
Generated Node #0,0,1: 50:[2, 16] Operation: 34-18=16
Moving to Node #0,0,0
Current State: 50:[2, 52], Operations: ['71-53=18', '34+18=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[2, 34, 53, 71], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [2, 34, 18]
Generated Node #0,0: 50:[2, 34, 18] Operation: 71-53=18
Moving to Node #0,0
Current State: 50:[2, 34, 18], Operations: ['71-53=18']
Exploring Operation: 34+18=52, Resulting Numbers: [2, 52]
Generated Node #0,0,0: 50:[2, 52] Operation: 34+18=52
Moving to Node #0,0,0
Current State: 50:[2, 52], Operations: ['71-53=18', '34+18=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
70,
14,
33,
55
] | 28 | [
"70*33=2310",
"2310/55=42",
"42-14=28"
] | Current State: 28:[70, 14, 33, 55], Operations: []
Exploring Operation: 70*33=2310, Resulting Numbers: [14, 55, 2310]
Generated Node #2: [14, 55, 2310] from Operation: 70*33=2310
Current State: 28:[14, 55, 2310], Operations: ['70*33=2310']
Exploring Operation: 2310/55=42, Resulting Numbers: [14, 42]
Generated Node #3: [14, 42] from Operation: 2310/55=42
Current State: 28:[14, 42], Operations: ['70*33=2310', '2310/55=42']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[70, 14, 33, 55], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [14, 33, 15]
Generated Node #0,0: 28:[14, 33, 15] Operation: 70-55=15
Exploring Operation: 70-33=37, Resulting Numbers: [14, 55, 37]
Generated Node #0,1: 28:[14, 55, 37] Operation: 70-33=37
Exploring Operation: 70/14=5, Resulting Numbers: [33, 55, 5]
Generated Node #0,2: 28:[33, 55, 5] Operation: 70/14=5
Moving to Node #0,0
Current State: 28:[14, 33, 15], Operations: ['70-55=15']
Exploring Operation: 33-15=18, Resulting Numbers: [14, 18]
Generated Node #0,0,0: 28:[14, 18] Operation: 33-15=18
Exploring Operation: 14+15=29, Resulting Numbers: [33, 29]
Generated Node #0,0,1: 28:[33, 29] Operation: 14+15=29
Exploring Operation: 33-14=19, Resulting Numbers: [15, 19]
Generated Node #0,0,2: 28:[15, 19] Operation: 33-14=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[14, 18], Operations: ['70-55=15', '33-15=18']
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,28 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,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:[33, 29], Operations: ['70-55=15', '14+15=29']
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,28 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,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,2
Current State: 28:[15, 19], Operations: ['70-55=15', '33-14=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,28 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 19-15=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,2
Current State: 28:[33, 55, 5], Operations: ['70/14=5']
Exploring Operation: 55/5=11, Resulting Numbers: [33, 11]
Generated Node #0,2,0: 28:[33, 11] Operation: 55/5=11
Exploring Operation: 33-5=28, Resulting Numbers: [55, 28]
Generated Node #0,2,1: 28:[55, 28] Operation: 33-5=28
Exploring Operation: 55-33=22, Resulting Numbers: [5, 22]
Generated Node #0,2,2: 28:[5, 22] Operation: 55-33=22
Moving to Node #0,1
Current State: 28:[14, 55, 37], Operations: ['70-33=37']
Exploring Operation: 37-14=23, Resulting Numbers: [55, 23]
Generated Node #0,1,0: 28:[55, 23] Operation: 37-14=23
Exploring Operation: 55-14=41, Resulting Numbers: [37, 41]
Generated Node #0,1,1: 28:[37, 41] Operation: 55-14=41
Exploring Operation: 55-37=18, Resulting Numbers: [14, 18]
Generated Node #0,1,2: 28:[14, 18] Operation: 55-37=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[14, 18], Operations: ['70-33=37', '55-37=18']
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,28 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[37, 41], Operations: ['70-33=37', '55-14=41']
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 37*41=1517, Resulting Numbers: [1517]
1517,28 unequal: No Solution
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[55, 23], Operations: ['70-33=37', '37-14=23']
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 55*23=1265, Resulting Numbers: [1265]
1265,28 unequal: No Solution
Exploring Operation: 55+23=78, Resulting Numbers: [78]
78,28 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: 28:[5, 22], Operations: ['70/14=5', '55-33=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,28 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[33, 11], Operations: ['70/14=5', '55/5=11']
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[55, 28], Operations: ['70/14=5', '33-5=28']
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 55*28=1540, Resulting Numbers: [1540]
1540,28 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
88,
80,
61
] | 45 | [
"80-61=19",
"7*19=133",
"133-88=45"
] | Current State: 45:[7, 88, 80, 61], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [7, 88, 19]
Generated Node #2: [7, 88, 19] from Operation: 80-61=19
Current State: 45:[7, 88, 19], Operations: ['80-61=19']
Exploring Operation: 7*19=133, Resulting Numbers: [88, 133]
Generated Node #3: [88, 133] from Operation: 7*19=133
Current State: 45:[88, 133], Operations: ['80-61=19', '7*19=133']
Exploring Operation: 133-88=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[7, 88, 80, 61], Operations: []
Exploring Operation: 88-61=27, Resulting Numbers: [7, 80, 27]
Generated Node #0,0: 45:[7, 80, 27] Operation: 88-61=27
Exploring Operation: 88-80=8, Resulting Numbers: [7, 61, 8]
Generated Node #0,1: 45:[7, 61, 8] Operation: 88-80=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[7, 61, 8], Operations: ['88-80=8']
Exploring Operation: 61-8=53, Resulting Numbers: [7, 53]
Generated Node #0,1,0: 45:[7, 53] Operation: 61-8=53
Exploring Operation: 61-7=54, Resulting Numbers: [8, 54]
Generated Node #0,1,1: 45:[8, 54] Operation: 61-7=54
Moving to Node #0,1,0
Current State: 45:[7, 53], Operations: ['88-80=8', '61-8=53']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[8, 54], Operations: ['88-80=8', '61-7=54']
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[7, 80, 27], Operations: ['88-61=27']
Exploring Operation: 80-27=53, Resulting Numbers: [7, 53]
Generated Node #0,0,0: 45:[7, 53] Operation: 80-27=53
Exploring Operation: 80-7=73, Resulting Numbers: [27, 73]
Generated Node #0,0,1: 45:[27, 73] Operation: 80-7=73
Moving to Node #0,0,0
Current State: 45:[7, 53], Operations: ['88-61=27', '80-27=53']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[27, 73], Operations: ['88-61=27', '80-7=73']
Exploring Operation: 27+73=100, Resulting Numbers: [100]
100,45 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,45 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 |
[
63,
12,
5,
59
] | 15 | [
"63-59=4",
"12*5=60",
"60/4=15"
] | Current State: 15:[63, 12, 5, 59], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [12, 5, 4]
Generated Node #2: [12, 5, 4] from Operation: 63-59=4
Current State: 15:[12, 5, 4], Operations: ['63-59=4']
Exploring Operation: 12*5=60, Resulting Numbers: [4, 60]
Generated Node #3: [4, 60] from Operation: 12*5=60
Current State: 15:[4, 60], Operations: ['63-59=4', '12*5=60']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[63, 12, 5, 59], Operations: []
Exploring Operation: 59-12=47, Resulting Numbers: [63, 5, 47]
Generated Node #0,0: 15:[63, 5, 47] Operation: 59-12=47
Exploring Operation: 63-59=4, Resulting Numbers: [12, 5, 4]
Generated Node #0,1: 15:[12, 5, 4] Operation: 63-59=4
Exploring Operation: 63-5=58, Resulting Numbers: [12, 59, 58]
Generated Node #0,2: 15:[12, 59, 58] Operation: 63-5=58
Exploring Operation: 63-12=51, Resulting Numbers: [5, 59, 51]
Generated Node #0,3: 15:[5, 59, 51] Operation: 63-12=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[12, 5, 4], Operations: ['63-59=4']
Exploring Operation: 12+4=16, Resulting Numbers: [5, 16]
Generated Node #0,1,0: 15:[5, 16] Operation: 12+4=16
Exploring Operation: 12+5=17, Resulting Numbers: [4, 17]
Generated Node #0,1,1: 15:[4, 17] Operation: 12+5=17
Exploring Operation: 12-5=7, Resulting Numbers: [4, 7]
Generated Node #0,1,2: 15:[4, 7] Operation: 12-5=7
Exploring Operation: 12/4=3, Resulting Numbers: [5, 3]
Generated Node #0,1,3: 15:[5, 3] Operation: 12/4=3
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 15:[5, 3], Operations: ['63-59=4', '12/4=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[63, 12, 5, 59], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [12, 5, 4]
Generated Node #0,1: 15:[12, 5, 4] Operation: 63-59=4
Moving to Node #0,1
Current State: 15:[12, 5, 4], Operations: ['63-59=4']
Exploring Operation: 12/4=3, Resulting Numbers: [5, 3]
Generated Node #0,1,3: 15:[5, 3] Operation: 12/4=3
Moving to Node #0,1,3
Current State: 15:[5, 3], Operations: ['63-59=4', '12/4=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
23,
53,
56,
21
] | 41 | [
"23+53=76",
"56-21=35",
"76-35=41"
] | Current State: 41:[23, 53, 56, 21], Operations: []
Exploring Operation: 23+53=76, Resulting Numbers: [56, 21, 76]
Generated Node #2: [56, 21, 76] from Operation: 23+53=76
Current State: 41:[56, 21, 76], Operations: ['23+53=76']
Exploring Operation: 56-21=35, Resulting Numbers: [76, 35]
Generated Node #3: [76, 35] from Operation: 56-21=35
Current State: 41:[76, 35], Operations: ['23+53=76', '56-21=35']
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[23, 53, 56, 21], Operations: []
Exploring Operation: 23+21=44, Resulting Numbers: [53, 56, 44]
Generated Node #0,0: 41:[53, 56, 44] Operation: 23+21=44
Exploring Operation: 56-21=35, Resulting Numbers: [23, 53, 35]
Generated Node #0,1: 41:[23, 53, 35] Operation: 56-21=35
Exploring Operation: 53-21=32, Resulting Numbers: [23, 56, 32]
Generated Node #0,2: 41:[23, 56, 32] Operation: 53-21=32
Exploring Operation: 56-23=33, Resulting Numbers: [53, 21, 33]
Generated Node #0,3: 41:[53, 21, 33] Operation: 56-23=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[53, 56, 44], Operations: ['23+21=44']
Exploring Operation: 53-44=9, Resulting Numbers: [56, 9]
Generated Node #0,0,0: 41:[56, 9] Operation: 53-44=9
Exploring Operation: 56-44=12, Resulting Numbers: [53, 12]
Generated Node #0,0,1: 41:[53, 12] Operation: 56-44=12
Exploring Operation: 53+56=109, Resulting Numbers: [44, 109]
Generated Node #0,0,2: 41:[44, 109] Operation: 53+56=109
Exploring Operation: 56-53=3, Resulting Numbers: [44, 3]
Generated Node #0,0,3: 41:[44, 3] Operation: 56-53=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[53, 12], Operations: ['23+21=44', '56-44=12']
Exploring Operation: 53*12=636, Resulting Numbers: [636]
636,41 unequal: No Solution
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[23, 53, 56, 21], Operations: []
Exploring Operation: 23+21=44, Resulting Numbers: [53, 56, 44]
Generated Node #0,0: 41:[53, 56, 44] Operation: 23+21=44
Moving to Node #0,0
Current State: 41:[53, 56, 44], Operations: ['23+21=44']
Exploring Operation: 56-44=12, Resulting Numbers: [53, 12]
Generated Node #0,0,1: 41:[53, 12] Operation: 56-44=12
Moving to Node #0,0,1
Current State: 41:[53, 12], Operations: ['23+21=44', '56-44=12']
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
54,
16,
26,
83
] | 48 | [
"54+26=80",
"83-80=3",
"16*3=48"
] | Current State: 48:[54, 16, 26, 83], Operations: []
Exploring Operation: 54+26=80, Resulting Numbers: [16, 83, 80]
Generated Node #2: [16, 83, 80] from Operation: 54+26=80
Current State: 48:[16, 83, 80], Operations: ['54+26=80']
Exploring Operation: 83-80=3, Resulting Numbers: [16, 3]
Generated Node #3: [16, 3] from Operation: 83-80=3
Current State: 48:[16, 3], Operations: ['54+26=80', '83-80=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[54, 16, 26, 83], Operations: []
Exploring Operation: 54-26=28, Resulting Numbers: [16, 83, 28]
Generated Node #0,0: 48:[16, 83, 28] Operation: 54-26=28
Exploring Operation: 83-54=29, Resulting Numbers: [16, 26, 29]
Generated Node #0,1: 48:[16, 26, 29] Operation: 83-54=29
Exploring Operation: 83-26=57, Resulting Numbers: [54, 16, 57]
Generated Node #0,2: 48:[54, 16, 57] Operation: 83-26=57
Exploring Operation: 83-16=67, Resulting Numbers: [54, 26, 67]
Generated Node #0,3: 48:[54, 26, 67] Operation: 83-16=67
Moving to Node #0,1
Current State: 48:[16, 26, 29], Operations: ['83-54=29']
Exploring Operation: 29-16=13, Resulting Numbers: [26, 13]
Generated Node #0,1,0: 48:[26, 13] Operation: 29-16=13
Exploring Operation: 29-26=3, Resulting Numbers: [16, 3]
Generated Node #0,1,1: 48:[16, 3] Operation: 29-26=3
Exploring Operation: 26-16=10, Resulting Numbers: [29, 10]
Generated Node #0,1,2: 48:[29, 10] Operation: 26-16=10
Exploring Operation: 16+29=45, Resulting Numbers: [26, 45]
Generated Node #0,1,3: 48:[26, 45] Operation: 16+29=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[16, 3], Operations: ['83-54=29', '29-26=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[54, 16, 26, 83], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [16, 26, 29]
Generated Node #0,1: 48:[16, 26, 29] Operation: 83-54=29
Moving to Node #0,1
Current State: 48:[16, 26, 29], Operations: ['83-54=29']
Exploring Operation: 29-26=3, Resulting Numbers: [16, 3]
Generated Node #0,1,1: 48:[16, 3] Operation: 29-26=3
Moving to Node #0,1,1
Current State: 48:[16, 3], Operations: ['83-54=29', '29-26=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
4,
5,
3,
49
] | 42 | [
"4*3=12",
"5+49=54",
"54-12=42"
] | Current State: 42:[4, 5, 3, 49], Operations: []
Exploring Operation: 4*3=12, Resulting Numbers: [5, 49, 12]
Generated Node #2: [5, 49, 12] from Operation: 4*3=12
Current State: 42:[5, 49, 12], Operations: ['4*3=12']
Exploring Operation: 5+49=54, Resulting Numbers: [12, 54]
Generated Node #3: [12, 54] from Operation: 5+49=54
Current State: 42:[12, 54], Operations: ['4*3=12', '5+49=54']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[4, 5, 3, 49], Operations: []
Exploring Operation: 49-4=45, Resulting Numbers: [5, 3, 45]
Generated Node #0,0: 42:[5, 3, 45] Operation: 49-4=45
Exploring Operation: 49-5=44, Resulting Numbers: [4, 3, 44]
Generated Node #0,1: 42:[4, 3, 44] Operation: 49-5=44
Moving to Node #0,1
Current State: 42:[4, 3, 44], Operations: ['49-5=44']
Exploring Operation: 4+3=7, Resulting Numbers: [44, 7]
Generated Node #0,1,0: 42:[44, 7] Operation: 4+3=7
Exploring Operation: 44-4=40, Resulting Numbers: [3, 40]
Generated Node #0,1,1: 42:[3, 40] Operation: 44-4=40
Moving to Node #0,0
Current State: 42:[5, 3, 45], Operations: ['49-4=45']
Exploring Operation: 45-5=40, Resulting Numbers: [3, 40]
Generated Node #0,0,0: 42:[3, 40] Operation: 45-5=40
Exploring Operation: 45-3=42, Resulting Numbers: [5, 42]
Generated Node #0,0,1: 42:[5, 42] Operation: 45-3=42
Moving to Node #0,0,1
Current State: 42:[5, 42], Operations: ['49-4=45', '45-3=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[44, 7], Operations: ['49-5=44', '4+3=7']
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[3, 40], Operations: ['49-5=44', '44-4=40']
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[3, 40], Operations: ['49-4=45', '45-5=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,42 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,42 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
37,
27,
53,
71
] | 82 | [
"37+27=64",
"71-53=18",
"64+18=82"
] | Current State: 82:[37, 27, 53, 71], Operations: []
Exploring Operation: 37+27=64, Resulting Numbers: [53, 71, 64]
Generated Node #2: [53, 71, 64] from Operation: 37+27=64
Current State: 82:[53, 71, 64], Operations: ['37+27=64']
Exploring Operation: 71-53=18, Resulting Numbers: [64, 18]
Generated Node #3: [64, 18] from Operation: 71-53=18
Current State: 82:[64, 18], Operations: ['37+27=64', '71-53=18']
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[37, 27, 53, 71], Operations: []
Exploring Operation: 27+53=80, Resulting Numbers: [37, 71, 80]
Generated Node #0,0: 82:[37, 71, 80] Operation: 27+53=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[37, 71, 80], Operations: ['27+53=80']
Exploring Operation: 71-37=34, Resulting Numbers: [80, 34]
Generated Node #0,0,0: 82:[80, 34] Operation: 71-37=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[80, 34], Operations: ['27+53=80', '71-37=34']
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
42,
8,
73
] | 20 | [
"59+42=101",
"8+73=81",
"101-81=20"
] | Current State: 20:[59, 42, 8, 73], Operations: []
Exploring Operation: 59+42=101, Resulting Numbers: [8, 73, 101]
Generated Node #2: [8, 73, 101] from Operation: 59+42=101
Current State: 20:[8, 73, 101], Operations: ['59+42=101']
Exploring Operation: 8+73=81, Resulting Numbers: [101, 81]
Generated Node #3: [101, 81] from Operation: 8+73=81
Current State: 20:[101, 81], Operations: ['59+42=101', '8+73=81']
Exploring Operation: 101-81=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[59, 42, 8, 73], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [42, 8, 14]
Generated Node #0,0: 20:[42, 8, 14] Operation: 73-59=14
Moving to Node #0,0
Current State: 20:[42, 8, 14], Operations: ['73-59=14']
Exploring Operation: 42/14=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 20:[8, 3] Operation: 42/14=3
Moving to Node #0,0,0
Current State: 20:[8, 3], Operations: ['73-59=14', '42/14=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,20 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
27,
16,
49,
70
] | 47 | [
"70-16=54",
"54/27=2",
"49-2=47"
] | Current State: 47:[27, 16, 49, 70], Operations: []
Exploring Operation: 70-16=54, Resulting Numbers: [27, 49, 54]
Generated Node #2: [27, 49, 54] from Operation: 70-16=54
Current State: 47:[27, 49, 54], Operations: ['70-16=54']
Exploring Operation: 54/27=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 54/27=2
Current State: 47:[49, 2], Operations: ['70-16=54', '54/27=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[27, 16, 49, 70], Operations: []
Exploring Operation: 49-16=33, Resulting Numbers: [27, 70, 33]
Generated Node #0,0: 47:[27, 70, 33] Operation: 49-16=33
Exploring Operation: 70-16=54, Resulting Numbers: [27, 49, 54]
Generated Node #0,1: 47:[27, 49, 54] Operation: 70-16=54
Exploring Operation: 27+16=43, Resulting Numbers: [49, 70, 43]
Generated Node #0,2: 47:[49, 70, 43] Operation: 27+16=43
Exploring Operation: 27-16=11, Resulting Numbers: [49, 70, 11]
Generated Node #0,3: 47:[49, 70, 11] Operation: 27-16=11
Exploring Operation: 70-27=43, Resulting Numbers: [16, 49, 43]
Generated Node #0,4: 47:[16, 49, 43] Operation: 70-27=43
Moving to Node #0,1
Current State: 47:[27, 49, 54], Operations: ['70-16=54']
Exploring Operation: 49-27=22, Resulting Numbers: [54, 22]
Generated Node #0,1,0: 47:[54, 22] Operation: 49-27=22
Exploring Operation: 27+54=81, Resulting Numbers: [49, 81]
Generated Node #0,1,1: 47:[49, 81] Operation: 27+54=81
Exploring Operation: 27+49=76, Resulting Numbers: [54, 76]
Generated Node #0,1,2: 47:[54, 76] Operation: 27+49=76
Exploring Operation: 54/27=2, Resulting Numbers: [49, 2]
Generated Node #0,1,3: 47:[49, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [49, 27]
Generated Node #0,1,4: 47:[49, 27] Operation: 54-27=27
Moving to Node #0,2
Current State: 47:[49, 70, 43], Operations: ['27+16=43']
Exploring Operation: 49+43=92, Resulting Numbers: [70, 92]
Generated Node #0,2,0: 47:[70, 92] Operation: 49+43=92
Exploring Operation: 70+43=113, Resulting Numbers: [49, 113]
Generated Node #0,2,1: 47:[49, 113] Operation: 70+43=113
Exploring Operation: 70-49=21, Resulting Numbers: [43, 21]
Generated Node #0,2,2: 47:[43, 21] Operation: 70-49=21
Exploring Operation: 49-43=6, Resulting Numbers: [70, 6]
Generated Node #0,2,3: 47:[70, 6] Operation: 49-43=6
Exploring Operation: 70-43=27, Resulting Numbers: [49, 27]
Generated Node #0,2,4: 47:[49, 27] Operation: 70-43=27
Moving to Node #0,4
Current State: 47:[16, 49, 43], Operations: ['70-27=43']
Exploring Operation: 49-43=6, Resulting Numbers: [16, 6]
Generated Node #0,4,0: 47:[16, 6] Operation: 49-43=6
Exploring Operation: 16+43=59, Resulting Numbers: [49, 59]
Generated Node #0,4,1: 47:[49, 59] Operation: 16+43=59
Exploring Operation: 43-16=27, Resulting Numbers: [49, 27]
Generated Node #0,4,2: 47:[49, 27] Operation: 43-16=27
Exploring Operation: 16+49=65, Resulting Numbers: [43, 65]
Generated Node #0,4,3: 47:[43, 65] Operation: 16+49=65
Exploring Operation: 49-16=33, Resulting Numbers: [43, 33]
Generated Node #0,4,4: 47:[43, 33] Operation: 49-16=33
Moving to Node #0,0
Current State: 47:[27, 70, 33], Operations: ['49-16=33']
Exploring Operation: 27+33=60, Resulting Numbers: [70, 60]
Generated Node #0,0,0: 47:[70, 60] Operation: 27+33=60
Exploring Operation: 33-27=6, Resulting Numbers: [70, 6]
Generated Node #0,0,1: 47:[70, 6] Operation: 33-27=6
Exploring Operation: 70-27=43, Resulting Numbers: [33, 43]
Generated Node #0,0,2: 47:[33, 43] Operation: 70-27=43
Exploring Operation: 70-33=37, Resulting Numbers: [27, 37]
Generated Node #0,0,3: 47:[27, 37] Operation: 70-33=37
Exploring Operation: 27+70=97, Resulting Numbers: [33, 97]
Generated Node #0,0,4: 47:[33, 97] Operation: 27+70=97
Moving to Node #0,3
Current State: 47:[49, 70, 11], Operations: ['27-16=11']
Exploring Operation: 49-11=38, Resulting Numbers: [70, 38]
Generated Node #0,3,0: 47:[70, 38] Operation: 49-11=38
Exploring Operation: 70-49=21, Resulting Numbers: [11, 21]
Generated Node #0,3,1: 47:[11, 21] Operation: 70-49=21
Exploring Operation: 70-11=59, Resulting Numbers: [49, 59]
Generated Node #0,3,2: 47:[49, 59] Operation: 70-11=59
Exploring Operation: 49+11=60, Resulting Numbers: [70, 60]
Generated Node #0,3,3: 47:[70, 60] Operation: 49+11=60
Exploring Operation: 70+11=81, Resulting Numbers: [49, 81]
Generated Node #0,3,4: 47:[49, 81] Operation: 70+11=81
Moving to Node #0,4,1
Current State: 47:[49, 59], Operations: ['70-27=43', '16+43=59']
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,47 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[49, 59], Operations: ['27-16=11', '70-11=59']
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,47 unequal: No Solution
Moving to Node #0,4,4
Current State: 47:[43, 33], Operations: ['70-27=43', '49-16=33']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 43*33=1419, Resulting Numbers: [1419]
1419,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[33, 43], Operations: ['49-16=33', '70-27=43']
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,47 unequal: No Solution
Moving to Node #0,4,3
Current State: 47:[43, 65], Operations: ['70-27=43', '16+49=65']
Exploring Operation: 43*65=2795, Resulting Numbers: [2795]
2795,47 unequal: No Solution
Exploring Operation: 43+65=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Moving to Node #0,2,4
Current State: 47:[49, 27], Operations: ['27+16=43', '70-43=27']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 49*27=1323, Resulting Numbers: [1323]
1323,47 unequal: No Solution
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,4,2
Current State: 47:[49, 27], Operations: ['70-27=43', '43-16=27']
Exploring Operation: 49*27=1323, Resulting Numbers: [1323]
1323,47 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,1,4
Current State: 47:[49, 27], Operations: ['70-16=54', '54-27=27']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 49*27=1323, Resulting Numbers: [1323]
1323,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[43, 21], Operations: ['27+16=43', '70-49=21']
Exploring Operation: 43*21=903, Resulting Numbers: [903]
903,47 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 43+21=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[27, 37], Operations: ['49-16=33', '70-33=37']
Exploring Operation: 27+37=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 27*37=999, Resulting Numbers: [999]
999,47 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[70, 38], Operations: ['27-16=11', '49-11=38']
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[54, 22], Operations: ['70-16=54', '49-27=22']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,47 unequal: No Solution
Moving to Node #0,3,4
Current State: 47:[49, 81], Operations: ['27-16=11', '70+11=81']
Exploring Operation: 49+81=130, Resulting Numbers: [130]
130,47 unequal: No Solution
Exploring Operation: 49*81=3969, Resulting Numbers: [3969]
3969,47 unequal: No Solution
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[49, 81], Operations: ['70-16=54', '27+54=81']
Exploring Operation: 49*81=3969, Resulting Numbers: [3969]
3969,47 unequal: No Solution
Exploring Operation: 49+81=130, Resulting Numbers: [130]
130,47 unequal: No Solution
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[70, 60], Operations: ['27-16=11', '49+11=60']
Exploring Operation: 70*60=4200, Resulting Numbers: [4200]
4200,47 unequal: No Solution
Exploring Operation: 70+60=130, Resulting Numbers: [130]
130,47 unequal: No Solution
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[70, 60], Operations: ['49-16=33', '27+33=60']
Exploring Operation: 70*60=4200, Resulting Numbers: [4200]
4200,47 unequal: No Solution
Exploring Operation: 70+60=130, Resulting Numbers: [130]
130,47 unequal: No Solution
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[54, 76], Operations: ['70-16=54', '27+49=76']
Exploring Operation: 54*76=4104, Resulting Numbers: [4104]
4104,47 unequal: No Solution
Exploring Operation: 54+76=130, Resulting Numbers: [130]
130,47 unequal: No Solution
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[49, 2], Operations: ['70-16=54', '54/27=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[27, 16, 49, 70], Operations: []
Exploring Operation: 70-16=54, Resulting Numbers: [27, 49, 54]
Generated Node #0,1: 47:[27, 49, 54] Operation: 70-16=54
Moving to Node #0,1
Current State: 47:[27, 49, 54], Operations: ['70-16=54']
Exploring Operation: 54/27=2, Resulting Numbers: [49, 2]
Generated Node #0,1,3: 47:[49, 2] Operation: 54/27=2
Moving to Node #0,1,3
Current State: 47:[49, 2], Operations: ['70-16=54', '54/27=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.925347 | hs_5 | sum_heuristic |
[
60,
78,
42,
30
] | 10 | [
"78-42=36",
"36-30=6",
"60/6=10"
] | Current State: 10:[60, 78, 42, 30], Operations: []
Exploring Operation: 78-42=36, Resulting Numbers: [60, 30, 36]
Generated Node #2: [60, 30, 36] from Operation: 78-42=36
Current State: 10:[60, 30, 36], Operations: ['78-42=36']
Exploring Operation: 36-30=6, Resulting Numbers: [60, 6]
Generated Node #3: [60, 6] from Operation: 36-30=6
Current State: 10:[60, 6], Operations: ['78-42=36', '36-30=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[60, 78, 42, 30], Operations: []
Exploring Operation: 78-42=36, Resulting Numbers: [60, 30, 36]
Generated Node #0,0: 10:[60, 30, 36] Operation: 78-42=36
Exploring Operation: 78-60=18, Resulting Numbers: [42, 30, 18]
Generated Node #0,1: 10:[42, 30, 18] Operation: 78-60=18
Exploring Operation: 60-42=18, Resulting Numbers: [78, 30, 18]
Generated Node #0,2: 10:[78, 30, 18] Operation: 60-42=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[42, 30, 18], Operations: ['78-60=18']
Exploring Operation: 30-18=12, Resulting Numbers: [42, 12]
Generated Node #0,1,0: 10:[42, 12] Operation: 30-18=12
Exploring Operation: 42-18=24, Resulting Numbers: [30, 24]
Generated Node #0,1,1: 10:[30, 24] Operation: 42-18=24
Exploring Operation: 42-30=12, Resulting Numbers: [18, 12]
Generated Node #0,1,2: 10:[18, 12] Operation: 42-30=12
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[18, 12], Operations: ['78-60=18', '42-30=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[42, 12], Operations: ['78-60=18', '30-18=12']
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,10 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[30, 24], Operations: ['78-60=18', '42-18=24']
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,10 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[60, 30, 36], Operations: ['78-42=36']
Exploring Operation: 60/30=2, Resulting Numbers: [36, 2]
Generated Node #0,0,0: 10:[36, 2] Operation: 60/30=2
Exploring Operation: 60-30=30, Resulting Numbers: [36, 30]
Generated Node #0,0,1: 10:[36, 30] Operation: 60-30=30
Exploring Operation: 60-36=24, Resulting Numbers: [30, 24]
Generated Node #0,0,2: 10:[30, 24] Operation: 60-36=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[36, 2], Operations: ['78-42=36', '60/30=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[30, 24], Operations: ['78-42=36', '60-36=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,10 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[36, 30], Operations: ['78-42=36', '60-30=30']
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,10 unequal: No Solution
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[78, 30, 18], Operations: ['60-42=18']
Exploring Operation: 78-18=60, Resulting Numbers: [30, 60]
Generated Node #0,2,0: 10:[30, 60] Operation: 78-18=60
Exploring Operation: 30-18=12, Resulting Numbers: [78, 12]
Generated Node #0,2,1: 10:[78, 12] Operation: 30-18=12
Exploring Operation: 78-30=48, Resulting Numbers: [18, 48]
Generated Node #0,2,2: 10:[18, 48] Operation: 78-30=48
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[18, 48], Operations: ['60-42=18', '78-30=48']
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 18*48=864, Resulting Numbers: [864]
864,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[30, 60], Operations: ['60-42=18', '78-18=60']
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[78, 12], Operations: ['60-42=18', '30-18=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,10 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
60,
24,
31,
6
] | 30 | [
"60-24=36",
"36-31=5",
"6*5=30"
] | Current State: 30:[60, 24, 31, 6], Operations: []
Exploring Operation: 60-24=36, Resulting Numbers: [31, 6, 36]
Generated Node #2: [31, 6, 36] from Operation: 60-24=36
Current State: 30:[31, 6, 36], Operations: ['60-24=36']
Exploring Operation: 36-31=5, Resulting Numbers: [6, 5]
Generated Node #3: [6, 5] from Operation: 36-31=5
Current State: 30:[6, 5], Operations: ['60-24=36', '36-31=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[60, 24, 31, 6], Operations: []
Exploring Operation: 60-24=36, Resulting Numbers: [31, 6, 36]
Generated Node #0,0: 30:[31, 6, 36] Operation: 60-24=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[31, 6, 36], Operations: ['60-24=36']
Exploring Operation: 36-31=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 30:[6, 5] Operation: 36-31=5
Moving to Node #0,0,0
Current State: 30:[6, 5], Operations: ['60-24=36', '36-31=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[60, 24, 31, 6], Operations: []
Exploring Operation: 60-24=36, Resulting Numbers: [31, 6, 36]
Generated Node #0,0: 30:[31, 6, 36] Operation: 60-24=36
Moving to Node #0,0
Current State: 30:[31, 6, 36], Operations: ['60-24=36']
Exploring Operation: 36-31=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 30:[6, 5] Operation: 36-31=5
Moving to Node #0,0,0
Current State: 30:[6, 5], Operations: ['60-24=36', '36-31=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
84,
21,
75,
21
] | 10 | [
"84-75=9",
"21/21=1",
"9+1=10"
] | Current State: 10:[84, 21, 75, 21], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [21, 21, 9]
Generated Node #2: [21, 21, 9] from Operation: 84-75=9
Current State: 10:[21, 21, 9], Operations: ['84-75=9']
Exploring Operation: 21/21=1, Resulting Numbers: [9, 1]
Generated Node #3: [9, 1] from Operation: 21/21=1
Current State: 10:[9, 1], Operations: ['84-75=9', '21/21=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[84, 21, 75, 21], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [75, 21, 4]
Generated Node #0,0: 10:[75, 21, 4] Operation: 84/21=4
Exploring Operation: 84-21=63, Resulting Numbers: [75, 21, 63]
Generated Node #0,1: 10:[75, 21, 63] Operation: 84-21=63
Exploring Operation: 84-75=9, Resulting Numbers: [21, 21, 9]
Generated Node #0,2: 10:[21, 21, 9] Operation: 84-75=9
Exploring Operation: 84/21=4, Resulting Numbers: [21, 75, 4]
Generated Node #0,3: 10:[21, 75, 4] Operation: 84/21=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[21, 21, 9], Operations: ['84-75=9']
Exploring Operation: 21-21=0, Resulting Numbers: [9, 0]
Generated Node #0,2,0: 10:[9, 0] Operation: 21-21=0
Exploring Operation: 21/21=1, Resulting Numbers: [9, 1]
Generated Node #0,2,1: 10:[9, 1] Operation: 21/21=1
Exploring Operation: 21-9=12, Resulting Numbers: [21, 12]
Generated Node #0,2,2: 10:[21, 12] Operation: 21-9=12
Exploring Operation: 21-9=12, Resulting Numbers: [21, 12]
Generated Node #0,2,3: 10:[21, 12] Operation: 21-9=12
Moving to Node #0,2,1
Current State: 10:[9, 1], Operations: ['84-75=9', '21/21=1']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[84, 21, 75, 21], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [21, 21, 9]
Generated Node #0,2: 10:[21, 21, 9] Operation: 84-75=9
Moving to Node #0,2
Current State: 10:[21, 21, 9], Operations: ['84-75=9']
Exploring Operation: 21/21=1, Resulting Numbers: [9, 1]
Generated Node #0,2,1: 10:[9, 1] Operation: 21/21=1
Moving to Node #0,2,1
Current State: 10:[9, 1], Operations: ['84-75=9', '21/21=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
55,
9,
7,
89
] | 58 | [
"55*9=495",
"495-89=406",
"406/7=58"
] | Current State: 58:[55, 9, 7, 89], Operations: []
Exploring Operation: 55*9=495, Resulting Numbers: [7, 89, 495]
Generated Node #2: [7, 89, 495] from Operation: 55*9=495
Current State: 58:[7, 89, 495], Operations: ['55*9=495']
Exploring Operation: 495-89=406, Resulting Numbers: [7, 406]
Generated Node #3: [7, 406] from Operation: 495-89=406
Current State: 58:[7, 406], Operations: ['55*9=495', '495-89=406']
Exploring Operation: 406/7=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[55, 9, 7, 89], Operations: []
Exploring Operation: 89-9=80, Resulting Numbers: [55, 7, 80]
Generated Node #0,0: 58:[55, 7, 80] Operation: 89-9=80
Exploring Operation: 9-7=2, Resulting Numbers: [55, 89, 2]
Generated Node #0,1: 58:[55, 89, 2] Operation: 9-7=2
Exploring Operation: 89-55=34, Resulting Numbers: [9, 7, 34]
Generated Node #0,2: 58:[9, 7, 34] Operation: 89-55=34
Exploring Operation: 89-7=82, Resulting Numbers: [55, 9, 82]
Generated Node #0,3: 58:[55, 9, 82] Operation: 89-7=82
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[9, 7, 34], Operations: ['89-55=34']
Exploring Operation: 34-9=25, Resulting Numbers: [7, 25]
Generated Node #0,2,0: 58:[7, 25] Operation: 34-9=25
Exploring Operation: 34-7=27, Resulting Numbers: [9, 27]
Generated Node #0,2,1: 58:[9, 27] Operation: 34-7=27
Exploring Operation: 9*7=63, Resulting Numbers: [34, 63]
Generated Node #0,2,2: 58:[34, 63] Operation: 9*7=63
Exploring Operation: 9-7=2, Resulting Numbers: [34, 2]
Generated Node #0,2,3: 58:[34, 2] Operation: 9-7=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 58:[34, 2], Operations: ['89-55=34', '9-7=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,58 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,58 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 58:[7, 25], Operations: ['89-55=34', '34-9=25']
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,58 unequal: No Solution
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[9, 27], Operations: ['89-55=34', '34-7=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,58 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[34, 63], Operations: ['89-55=34', '9*7=63']
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 34+63=97, Resulting Numbers: [97]
97,58 unequal: No Solution
Exploring Operation: 34*63=2142, Resulting Numbers: [2142]
2142,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[55, 7, 80], Operations: ['89-9=80']
Exploring Operation: 80-55=25, Resulting Numbers: [7, 25]
Generated Node #0,0,0: 58:[7, 25] Operation: 80-55=25
Exploring Operation: 80-7=73, Resulting Numbers: [55, 73]
Generated Node #0,0,1: 58:[55, 73] Operation: 80-7=73
Exploring Operation: 55-7=48, Resulting Numbers: [80, 48]
Generated Node #0,0,2: 58:[80, 48] Operation: 55-7=48
Exploring Operation: 55+7=62, Resulting Numbers: [80, 62]
Generated Node #0,0,3: 58:[80, 62] Operation: 55+7=62
Moving to Node #0,0,0
Current State: 58:[7, 25], Operations: ['89-9=80', '80-55=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[55, 73], Operations: ['89-9=80', '80-7=73']
Exploring Operation: 55*73=4015, Resulting Numbers: [4015]
4015,58 unequal: No Solution
Exploring Operation: 55+73=128, Resulting Numbers: [128]
128,58 unequal: No Solution
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[80, 62], Operations: ['89-9=80', '55+7=62']
Exploring Operation: 80+62=142, Resulting Numbers: [142]
142,58 unequal: No Solution
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 80*62=4960, Resulting Numbers: [4960]
4960,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[80, 48], Operations: ['89-9=80', '55-7=48']
Exploring Operation: 80+48=128, Resulting Numbers: [128]
128,58 unequal: No Solution
Exploring Operation: 80*48=3840, Resulting Numbers: [3840]
3840,58 unequal: No Solution
Exploring Operation: 80-48=32, Resulting Numbers: [32]
32,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[55, 89, 2], Operations: ['9-7=2']
Exploring Operation: 55+2=57, Resulting Numbers: [89, 57]
Generated Node #0,1,0: 58:[89, 57] Operation: 55+2=57
Exploring Operation: 55-2=53, Resulting Numbers: [89, 53]
Generated Node #0,1,1: 58:[89, 53] Operation: 55-2=53
Exploring Operation: 89-2=87, Resulting Numbers: [55, 87]
Generated Node #0,1,2: 58:[55, 87] Operation: 89-2=87
Exploring Operation: 89-55=34, Resulting Numbers: [2, 34]
Generated Node #0,1,3: 58:[2, 34] Operation: 89-55=34
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 58:[2, 34], Operations: ['9-7=2', '89-55=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,58 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,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:[89, 57], Operations: ['9-7=2', '55+2=57']
Exploring Operation: 89*57=5073, Resulting Numbers: [5073]
5073,58 unequal: No Solution
Exploring Operation: 89+57=146, Resulting Numbers: [146]
146,58 unequal: No Solution
Exploring Operation: 89-57=32, Resulting Numbers: [32]
32,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:[55, 87], Operations: ['9-7=2', '89-2=87']
Exploring Operation: 87-55=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 55*87=4785, Resulting Numbers: [4785]
4785,58 unequal: No Solution
Exploring Operation: 55+87=142, Resulting Numbers: [142]
142,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[89, 53], Operations: ['9-7=2', '55-2=53']
Exploring Operation: 89+53=142, Resulting Numbers: [142]
142,58 unequal: No Solution
Exploring Operation: 89*53=4717, Resulting Numbers: [4717]
4717,58 unequal: No Solution
Exploring Operation: 89-53=36, Resulting Numbers: [36]
36,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,3
Current State: 58:[55, 9, 82], Operations: ['89-7=82']
Exploring Operation: 55-9=46, Resulting Numbers: [82, 46]
Generated Node #0,3,0: 58:[82, 46] Operation: 55-9=46
Exploring Operation: 55+9=64, Resulting Numbers: [82, 64]
Generated Node #0,3,1: 58:[82, 64] Operation: 55+9=64
Exploring Operation: 82-55=27, Resulting Numbers: [9, 27]
Generated Node #0,3,2: 58:[9, 27] Operation: 82-55=27
Exploring Operation: 82-9=73, Resulting Numbers: [55, 73]
Generated Node #0,3,3: 58:[55, 73] Operation: 82-9=73
Moving to Node #0,3,2
Current State: 58:[9, 27], Operations: ['89-7=82', '82-55=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[55, 73], Operations: ['89-7=82', '82-9=73']
Exploring Operation: 55+73=128, Resulting Numbers: [128]
128,58 unequal: No Solution
Exploring Operation: 55*73=4015, Resulting Numbers: [4015]
4015,58 unequal: No Solution
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[82, 64], Operations: ['89-7=82', '55+9=64']
Exploring Operation: 82+64=146, Resulting Numbers: [146]
146,58 unequal: No Solution
Exploring Operation: 82-64=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 82*64=5248, Resulting Numbers: [5248]
5248,58 unequal: No Solution
Moving to Node #0,3,0
Current State: 58:[82, 46], Operations: ['89-7=82', '55-9=46']
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 82*46=3772, Resulting Numbers: [3772]
3772,58 unequal: No Solution
Exploring Operation: 82+46=128, Resulting Numbers: [128]
128,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
70,
61,
77,
39
] | 20 | [
"61-39=22",
"70*22=1540",
"1540/77=20"
] | Current State: 20:[70, 61, 77, 39], Operations: []
Exploring Operation: 61-39=22, Resulting Numbers: [70, 77, 22]
Generated Node #2: [70, 77, 22] from Operation: 61-39=22
Current State: 20:[70, 77, 22], Operations: ['61-39=22']
Exploring Operation: 70*22=1540, Resulting Numbers: [77, 1540]
Generated Node #3: [77, 1540] from Operation: 70*22=1540
Current State: 20:[77, 1540], Operations: ['61-39=22', '70*22=1540']
Exploring Operation: 1540/77=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[70, 61, 77, 39], Operations: []
Exploring Operation: 77-61=16, Resulting Numbers: [70, 39, 16]
Generated Node #0,0: 20:[70, 39, 16] Operation: 77-61=16
Exploring Operation: 77-70=7, Resulting Numbers: [61, 39, 7]
Generated Node #0,1: 20:[61, 39, 7] Operation: 77-70=7
Exploring Operation: 70-39=31, Resulting Numbers: [61, 77, 31]
Generated Node #0,2: 20:[61, 77, 31] Operation: 70-39=31
Exploring Operation: 70-61=9, Resulting Numbers: [77, 39, 9]
Generated Node #0,3: 20:[77, 39, 9] Operation: 70-61=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[61, 39, 7], Operations: ['77-70=7']
Exploring Operation: 39-7=32, Resulting Numbers: [61, 32]
Generated Node #0,1,0: 20:[61, 32] Operation: 39-7=32
Exploring Operation: 61-39=22, Resulting Numbers: [7, 22]
Generated Node #0,1,1: 20:[7, 22] Operation: 61-39=22
Exploring Operation: 61+7=68, Resulting Numbers: [39, 68]
Generated Node #0,1,2: 20:[39, 68] Operation: 61+7=68
Exploring Operation: 61-7=54, Resulting Numbers: [39, 54]
Generated Node #0,1,3: 20:[39, 54] Operation: 61-7=54
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[7, 22], Operations: ['77-70=7', '61-39=22']
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,20 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[61, 32], Operations: ['77-70=7', '39-7=32']
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,20 unequal: No Solution
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 20:[39, 54], Operations: ['77-70=7', '61-7=54']
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 39*54=2106, Resulting Numbers: [2106]
2106,20 unequal: No Solution
Exploring Operation: 39+54=93, Resulting Numbers: [93]
93,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[39, 68], Operations: ['77-70=7', '61+7=68']
Exploring Operation: 39*68=2652, Resulting Numbers: [2652]
2652,20 unequal: No Solution
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 39+68=107, Resulting Numbers: [107]
107,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[70, 39, 16], Operations: ['77-61=16']
Exploring Operation: 39-16=23, Resulting Numbers: [70, 23]
Generated Node #0,0,0: 20:[70, 23] Operation: 39-16=23
Exploring Operation: 70-16=54, Resulting Numbers: [39, 54]
Generated Node #0,0,1: 20:[39, 54] Operation: 70-16=54
Exploring Operation: 70-39=31, Resulting Numbers: [16, 31]
Generated Node #0,0,2: 20:[16, 31] Operation: 70-39=31
Exploring Operation: 70+16=86, Resulting Numbers: [39, 86]
Generated Node #0,0,3: 20:[39, 86] Operation: 70+16=86
Moving to Node #0,0,2
Current State: 20:[16, 31], Operations: ['77-61=16', '70-39=31']
Exploring Operation: 16*31=496, Resulting Numbers: [496]
496,20 unequal: No Solution
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[39, 54], Operations: ['77-61=16', '70-16=54']
Exploring Operation: 39+54=93, Resulting Numbers: [93]
93,20 unequal: No Solution
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 39*54=2106, Resulting Numbers: [2106]
2106,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[70, 23], Operations: ['77-61=16', '39-16=23']
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,20 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[39, 86], Operations: ['77-61=16', '70+16=86']
Exploring Operation: 39+86=125, Resulting Numbers: [125]
125,20 unequal: No Solution
Exploring Operation: 39*86=3354, Resulting Numbers: [3354]
3354,20 unequal: No Solution
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[77, 39, 9], Operations: ['70-61=9']
Exploring Operation: 77-39=38, Resulting Numbers: [9, 38]
Generated Node #0,3,0: 20:[9, 38] Operation: 77-39=38
Exploring Operation: 77+9=86, Resulting Numbers: [39, 86]
Generated Node #0,3,1: 20:[39, 86] Operation: 77+9=86
Exploring Operation: 39-9=30, Resulting Numbers: [77, 30]
Generated Node #0,3,2: 20:[77, 30] Operation: 39-9=30
Exploring Operation: 77-9=68, Resulting Numbers: [39, 68]
Generated Node #0,3,3: 20:[39, 68] Operation: 77-9=68
Moving to Node #0,3,0
Current State: 20:[9, 38], Operations: ['70-61=9', '77-39=38']
Exploring Operation: 9*38=342, Resulting Numbers: [342]
342,20 unequal: No Solution
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[39, 68], Operations: ['70-61=9', '77-9=68']
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 39*68=2652, Resulting Numbers: [2652]
2652,20 unequal: No Solution
Exploring Operation: 39+68=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[77, 30], Operations: ['70-61=9', '39-9=30']
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 77*30=2310, Resulting Numbers: [2310]
2310,20 unequal: No Solution
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[39, 86], Operations: ['70-61=9', '77+9=86']
Exploring Operation: 39+86=125, Resulting Numbers: [125]
125,20 unequal: No Solution
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 39*86=3354, Resulting Numbers: [3354]
3354,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,2
Current State: 20:[61, 77, 31], Operations: ['70-39=31']
Exploring Operation: 61-31=30, Resulting Numbers: [77, 30]
Generated Node #0,2,0: 20:[77, 30] Operation: 61-31=30
Exploring Operation: 61+77=138, Resulting Numbers: [31, 138]
Generated Node #0,2,1: 20:[31, 138] Operation: 61+77=138
Exploring Operation: 77-31=46, Resulting Numbers: [61, 46]
Generated Node #0,2,2: 20:[61, 46] Operation: 77-31=46
Exploring Operation: 77-61=16, Resulting Numbers: [31, 16]
Generated Node #0,2,3: 20:[31, 16] Operation: 77-61=16
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 20:[31, 16], Operations: ['70-39=31', '77-61=16']
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,20 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[77, 30], Operations: ['70-39=31', '61-31=30']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 77*30=2310, Resulting Numbers: [2310]
2310,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[61, 46], Operations: ['70-39=31', '77-31=46']
Exploring Operation: 61+46=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 61*46=2806, Resulting Numbers: [2806]
2806,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[31, 138], Operations: ['70-39=31', '61+77=138']
Exploring Operation: 138-31=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 31*138=4278, Resulting Numbers: [4278]
4278,20 unequal: No Solution
Exploring Operation: 31+138=169, Resulting Numbers: [169]
169,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
97,
95,
61,
10
] | 69 | [
"97-95=2",
"61+10=71",
"71-2=69"
] | Current State: 69:[97, 95, 61, 10], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [61, 10, 2]
Generated Node #2: [61, 10, 2] from Operation: 97-95=2
Current State: 69:[61, 10, 2], Operations: ['97-95=2']
Exploring Operation: 61+10=71, Resulting Numbers: [2, 71]
Generated Node #3: [2, 71] from Operation: 61+10=71
Current State: 69:[2, 71], Operations: ['97-95=2', '61+10=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[97, 95, 61, 10], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [61, 10, 2]
Generated Node #0,0: 69:[61, 10, 2] Operation: 97-95=2
Moving to Node #0,0
Current State: 69:[61, 10, 2], Operations: ['97-95=2']
Exploring Operation: 61+10=71, Resulting Numbers: [2, 71]
Generated Node #0,0,0: 69:[2, 71] Operation: 61+10=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[2, 71], Operations: ['97-95=2', '61+10=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[97, 95, 61, 10], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [61, 10, 2]
Generated Node #0,0: 69:[61, 10, 2] Operation: 97-95=2
Moving to Node #0,0
Current State: 69:[61, 10, 2], Operations: ['97-95=2']
Exploring Operation: 61+10=71, Resulting Numbers: [2, 71]
Generated Node #0,0,0: 69:[2, 71] Operation: 61+10=71
Moving to Node #0,0,0
Current State: 69:[2, 71], Operations: ['97-95=2', '61+10=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
47,
3,
3,
5
] | 41 | [
"47-5=42",
"3/3=1",
"42-1=41"
] | Current State: 41:[47, 3, 3, 5], Operations: []
Exploring Operation: 47-5=42, Resulting Numbers: [3, 3, 42]
Generated Node #2: [3, 3, 42] from Operation: 47-5=42
Current State: 41:[3, 3, 42], Operations: ['47-5=42']
Exploring Operation: 3/3=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 3/3=1
Current State: 41:[42, 1], Operations: ['47-5=42', '3/3=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[47, 3, 3, 5], Operations: []
Exploring Operation: 3*3=9, Resulting Numbers: [47, 5, 9]
Generated Node #0,0: 41:[47, 5, 9] Operation: 3*3=9
Exploring Operation: 3*5=15, Resulting Numbers: [47, 3, 15]
Generated Node #0,1: 41:[47, 3, 15] Operation: 3*5=15
Exploring Operation: 3*5=15, Resulting Numbers: [47, 3, 15]
Generated Node #0,2: 41:[47, 3, 15] Operation: 3*5=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[47, 3, 15], Operations: ['3*5=15']
Exploring Operation: 3+15=18, Resulting Numbers: [47, 18]
Generated Node #0,1,0: 41:[47, 18] Operation: 3+15=18
Exploring Operation: 3*15=45, Resulting Numbers: [47, 45]
Generated Node #0,1,1: 41:[47, 45] Operation: 3*15=45
Exploring Operation: 47-3=44, Resulting Numbers: [15, 44]
Generated Node #0,1,2: 41:[15, 44] Operation: 47-3=44
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[47, 45], Operations: ['3*5=15', '3*15=45']
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,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:[47, 18], Operations: ['3*5=15', '3+15=18']
Exploring Operation: 47*18=846, Resulting Numbers: [846]
846,41 unequal: No Solution
Exploring Operation: 47+18=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,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:[15, 44], Operations: ['3*5=15', '47-3=44']
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,41 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,41 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[47, 3, 15], Operations: ['3*5=15']
Exploring Operation: 47-3=44, Resulting Numbers: [15, 44]
Generated Node #0,2,0: 41:[15, 44] Operation: 47-3=44
Exploring Operation: 3*15=45, Resulting Numbers: [47, 45]
Generated Node #0,2,1: 41:[47, 45] Operation: 3*15=45
Exploring Operation: 3+15=18, Resulting Numbers: [47, 18]
Generated Node #0,2,2: 41:[47, 18] Operation: 3+15=18
Moving to Node #0,2,1
Current State: 41:[47, 45], Operations: ['3*5=15', '3*15=45']
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,41 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[15, 44], Operations: ['3*5=15', '47-3=44']
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,41 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,41 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[47, 18], Operations: ['3*5=15', '3+15=18']
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 47*18=846, Resulting Numbers: [846]
846,41 unequal: No Solution
Exploring Operation: 47+18=65, Resulting Numbers: [65]
65,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[47, 5, 9], Operations: ['3*3=9']
Exploring Operation: 5*9=45, Resulting Numbers: [47, 45]
Generated Node #0,0,0: 41:[47, 45] Operation: 5*9=45
Exploring Operation: 47-5=42, Resulting Numbers: [9, 42]
Generated Node #0,0,1: 41:[9, 42] Operation: 47-5=42
Exploring Operation: 5+9=14, Resulting Numbers: [47, 14]
Generated Node #0,0,2: 41:[47, 14] Operation: 5+9=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[47, 45], Operations: ['3*3=9', '5*9=45']
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,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:[9, 42], Operations: ['3*3=9', '47-5=42']
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,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:[47, 14], Operations: ['3*3=9', '5+9=14']
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 47*14=658, Resulting Numbers: [658]
658,41 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
29,
12,
2,
13
] | 10 | [
"29-13=16",
"12/2=6",
"16-6=10"
] | Current State: 10:[29, 12, 2, 13], Operations: []
Exploring Operation: 29-13=16, Resulting Numbers: [12, 2, 16]
Generated Node #2: [12, 2, 16] from Operation: 29-13=16
Current State: 10:[12, 2, 16], Operations: ['29-13=16']
Exploring Operation: 12/2=6, Resulting Numbers: [16, 6]
Generated Node #3: [16, 6] from Operation: 12/2=6
Current State: 10:[16, 6], Operations: ['29-13=16', '12/2=6']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[29, 12, 2, 13], Operations: []
Exploring Operation: 29-13=16, Resulting Numbers: [12, 2, 16]
Generated Node #0,0: 10:[12, 2, 16] Operation: 29-13=16
Exploring Operation: 29-12=17, Resulting Numbers: [2, 13, 17]
Generated Node #0,1: 10:[2, 13, 17] Operation: 29-12=17
Exploring Operation: 29-2=27, Resulting Numbers: [12, 13, 27]
Generated Node #0,2: 10:[12, 13, 27] Operation: 29-2=27
Exploring Operation: 13-12=1, Resulting Numbers: [29, 2, 1]
Generated Node #0,3: 10:[29, 2, 1] Operation: 13-12=1
Moving to Node #0,0
Current State: 10:[12, 2, 16], Operations: ['29-13=16']
Exploring Operation: 16/2=8, Resulting Numbers: [12, 8]
Generated Node #0,0,0: 10:[12, 8] Operation: 16/2=8
Exploring Operation: 12-2=10, Resulting Numbers: [16, 10]
Generated Node #0,0,1: 10:[16, 10] Operation: 12-2=10
Exploring Operation: 16-12=4, Resulting Numbers: [2, 4]
Generated Node #0,0,2: 10:[2, 4] Operation: 16-12=4
Exploring Operation: 16-2=14, Resulting Numbers: [12, 14]
Generated Node #0,0,3: 10:[12, 14] Operation: 16-2=14
Moving to Node #0,1
Current State: 10:[2, 13, 17], Operations: ['29-12=17']
Exploring Operation: 2+13=15, Resulting Numbers: [17, 15]
Generated Node #0,1,0: 10:[17, 15] Operation: 2+13=15
Exploring Operation: 13-2=11, Resulting Numbers: [17, 11]
Generated Node #0,1,1: 10:[17, 11] Operation: 13-2=11
Exploring Operation: 17-13=4, Resulting Numbers: [2, 4]
Generated Node #0,1,2: 10:[2, 4] Operation: 17-13=4
Exploring Operation: 17-2=15, Resulting Numbers: [13, 15]
Generated Node #0,1,3: 10:[13, 15] Operation: 17-2=15
Moving to Node #0,3
Current State: 10:[29, 2, 1], Operations: ['13-12=1']
Exploring Operation: 29/1=29, Resulting Numbers: [2, 29]
Generated Node #0,3,0: 10:[2, 29] Operation: 29/1=29
Exploring Operation: 29*1=29, Resulting Numbers: [2, 29]
Generated Node #0,3,1: 10:[2, 29] Operation: 29*1=29
Exploring Operation: 29-1=28, Resulting Numbers: [2, 28]
Generated Node #0,3,2: 10:[2, 28] Operation: 29-1=28
Exploring Operation: 29-2=27, Resulting Numbers: [1, 27]
Generated Node #0,3,3: 10:[1, 27] Operation: 29-2=27
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[2, 28], Operations: ['13-12=1', '29-1=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,10 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[1, 27], Operations: ['13-12=1', '29-2=27']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[2, 29], Operations: ['13-12=1', '29/1=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[2, 29], Operations: ['13-12=1', '29*1=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,10 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: 10:[12, 13, 27], Operations: ['29-2=27']
Exploring Operation: 27-12=15, Resulting Numbers: [13, 15]
Generated Node #0,2,0: 10:[13, 15] Operation: 27-12=15
Exploring Operation: 12+13=25, Resulting Numbers: [27, 25]
Generated Node #0,2,1: 10:[27, 25] Operation: 12+13=25
Exploring Operation: 13-12=1, Resulting Numbers: [27, 1]
Generated Node #0,2,2: 10:[27, 1] Operation: 13-12=1
Exploring Operation: 27-13=14, Resulting Numbers: [12, 14]
Generated Node #0,2,3: 10:[12, 14] Operation: 27-13=14
Moving to Node #0,0,2
Current State: 10:[2, 4], Operations: ['29-13=16', '16-12=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[2, 4], Operations: ['29-12=17', '17-13=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[12, 8], Operations: ['29-13=16', '16/2=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,10 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[16, 10], Operations: ['29-13=16', '12-2=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,10 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[12, 14], Operations: ['29-13=16', '16-2=14']
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,10 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[12, 14], Operations: ['29-2=27', '27-13=14']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,10 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[13, 15], Operations: ['29-12=17', '17-2=15']
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[17, 11], Operations: ['29-12=17', '13-2=11']
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,10 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[13, 15], Operations: ['29-2=27', '27-12=15']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[17, 15], Operations: ['29-12=17', '2+13=15']
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,10 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[27, 1], Operations: ['29-2=27', '13-12=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[27, 25], Operations: ['29-2=27', '12+13=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,10 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,10 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
52,
33,
64,
78
] | 99 | [
"52+33=85",
"78-64=14",
"85+14=99"
] | Current State: 99:[52, 33, 64, 78], Operations: []
Exploring Operation: 52+33=85, Resulting Numbers: [64, 78, 85]
Generated Node #2: [64, 78, 85] from Operation: 52+33=85
Current State: 99:[64, 78, 85], Operations: ['52+33=85']
Exploring Operation: 78-64=14, Resulting Numbers: [85, 14]
Generated Node #3: [85, 14] from Operation: 78-64=14
Current State: 99:[85, 14], Operations: ['52+33=85', '78-64=14']
Exploring Operation: 85+14=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[52, 33, 64, 78], Operations: []
Exploring Operation: 64-52=12, Resulting Numbers: [33, 78, 12]
Generated Node #0,0: 99:[33, 78, 12] Operation: 64-52=12
Exploring Operation: 78-64=14, Resulting Numbers: [52, 33, 14]
Generated Node #0,1: 99:[52, 33, 14] Operation: 78-64=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[33, 78, 12], Operations: ['64-52=12']
Exploring Operation: 33+78=111, Resulting Numbers: [12, 111]
Generated Node #0,0,0: 99:[12, 111] Operation: 33+78=111
Exploring Operation: 78+12=90, Resulting Numbers: [33, 90]
Generated Node #0,0,1: 99:[33, 90] Operation: 78+12=90
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[33, 90], Operations: ['64-52=12', '78+12=90']
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 33+90=123, Resulting Numbers: [123]
123,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:[12, 111], Operations: ['64-52=12', '33+78=111']
Exploring Operation: 111-12=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[52, 33, 64, 78], Operations: []
Exploring Operation: 64-52=12, Resulting Numbers: [33, 78, 12]
Generated Node #0,0: 99:[33, 78, 12] Operation: 64-52=12
Moving to Node #0,0
Current State: 99:[33, 78, 12], Operations: ['64-52=12']
Exploring Operation: 33+78=111, Resulting Numbers: [12, 111]
Generated Node #0,0,0: 99:[12, 111] Operation: 33+78=111
Moving to Node #0,0,0
Current State: 99:[12, 111], Operations: ['64-52=12', '33+78=111']
Exploring Operation: 111-12=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
20,
36,
3,
96
] | 48 | [
"36-20=16",
"96/3=32",
"16+32=48"
] | Current State: 48:[20, 36, 3, 96], Operations: []
Exploring Operation: 36-20=16, Resulting Numbers: [3, 96, 16]
Generated Node #2: [3, 96, 16] from Operation: 36-20=16
Current State: 48:[3, 96, 16], Operations: ['36-20=16']
Exploring Operation: 96/3=32, Resulting Numbers: [16, 32]
Generated Node #3: [16, 32] from Operation: 96/3=32
Current State: 48:[16, 32], Operations: ['36-20=16', '96/3=32']
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[20, 36, 3, 96], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [20, 3, 60]
Generated Node #0,0: 48:[20, 3, 60] Operation: 96-36=60
Exploring Operation: 96/3=32, Resulting Numbers: [20, 36, 32]
Generated Node #0,1: 48:[20, 36, 32] Operation: 96/3=32
Exploring Operation: 96-20=76, Resulting Numbers: [36, 3, 76]
Generated Node #0,2: 48:[36, 3, 76] Operation: 96-20=76
Exploring Operation: 36-20=16, Resulting Numbers: [3, 96, 16]
Generated Node #0,3: 48:[3, 96, 16] Operation: 36-20=16
Moving to Node #0,0
Current State: 48:[20, 3, 60], Operations: ['96-36=60']
Exploring Operation: 20+3=23, Resulting Numbers: [60, 23]
Generated Node #0,0,0: 48:[60, 23] Operation: 20+3=23
Exploring Operation: 60-20=40, Resulting Numbers: [3, 40]
Generated Node #0,0,1: 48:[3, 40] Operation: 60-20=40
Exploring Operation: 60/20=3, Resulting Numbers: [3, 3]
Generated Node #0,0,2: 48:[3, 3] Operation: 60/20=3
Exploring Operation: 60/3=20, Resulting Numbers: [20, 20]
Generated Node #0,0,3: 48:[20, 20] Operation: 60/3=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[3, 3], Operations: ['96-36=60', '60/20=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[3, 40], Operations: ['96-36=60', '60-20=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[20, 20], Operations: ['96-36=60', '60/3=20']
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 20*20=400, Resulting Numbers: [400]
400,48 unequal: No Solution
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[60, 23], Operations: ['96-36=60', '20+3=23']
Exploring Operation: 60*23=1380, Resulting Numbers: [1380]
1380,48 unequal: No Solution
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,48 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,48 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: 48:[20, 36, 32], Operations: ['96/3=32']
Exploring Operation: 32-20=12, Resulting Numbers: [36, 12]
Generated Node #0,1,0: 48:[36, 12] Operation: 32-20=12
Exploring Operation: 36-20=16, Resulting Numbers: [32, 16]
Generated Node #0,1,1: 48:[32, 16] Operation: 36-20=16
Exploring Operation: 36-32=4, Resulting Numbers: [20, 4]
Generated Node #0,1,2: 48:[20, 4] Operation: 36-32=4
Exploring Operation: 20+36=56, Resulting Numbers: [32, 56]
Generated Node #0,1,3: 48:[32, 56] Operation: 20+36=56
Moving to Node #0,2
Current State: 48:[36, 3, 76], Operations: ['96-20=76']
Exploring Operation: 36/3=12, Resulting Numbers: [76, 12]
Generated Node #0,2,0: 48:[76, 12] Operation: 36/3=12
Exploring Operation: 36+3=39, Resulting Numbers: [76, 39]
Generated Node #0,2,1: 48:[76, 39] Operation: 36+3=39
Exploring Operation: 76-36=40, Resulting Numbers: [3, 40]
Generated Node #0,2,2: 48:[3, 40] Operation: 76-36=40
Exploring Operation: 36-3=33, Resulting Numbers: [76, 33]
Generated Node #0,2,3: 48:[76, 33] Operation: 36-3=33
Moving to Node #0,3
Current State: 48:[3, 96, 16], Operations: ['36-20=16']
Exploring Operation: 96-3=93, Resulting Numbers: [16, 93]
Generated Node #0,3,0: 48:[16, 93] Operation: 96-3=93
Exploring Operation: 96/16=6, Resulting Numbers: [3, 6]
Generated Node #0,3,1: 48:[3, 6] Operation: 96/16=6
Exploring Operation: 96/3=32, Resulting Numbers: [16, 32]
Generated Node #0,3,2: 48:[16, 32] Operation: 96/3=32
Exploring Operation: 96-16=80, Resulting Numbers: [3, 80]
Generated Node #0,3,3: 48:[3, 80] Operation: 96-16=80
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[3, 6], Operations: ['36-20=16', '96/16=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 48:[16, 32], Operations: ['36-20=16', '96/3=32']
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[20, 36, 3, 96], Operations: []
Exploring Operation: 36-20=16, Resulting Numbers: [3, 96, 16]
Generated Node #0,3: 48:[3, 96, 16] Operation: 36-20=16
Moving to Node #0,3
Current State: 48:[3, 96, 16], Operations: ['36-20=16']
Exploring Operation: 96/3=32, Resulting Numbers: [16, 32]
Generated Node #0,3,2: 48:[16, 32] Operation: 96/3=32
Moving to Node #0,3,2
Current State: 48:[16, 32], Operations: ['36-20=16', '96/3=32']
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_4 | mult_heuristic |
[
14,
73,
20,
53
] | 29 | [
"73+53=126",
"126/14=9",
"20+9=29"
] | Current State: 29:[14, 73, 20, 53], Operations: []
Exploring Operation: 73+53=126, Resulting Numbers: [14, 20, 126]
Generated Node #2: [14, 20, 126] from Operation: 73+53=126
Current State: 29:[14, 20, 126], Operations: ['73+53=126']
Exploring Operation: 126/14=9, Resulting Numbers: [20, 9]
Generated Node #3: [20, 9] from Operation: 126/14=9
Current State: 29:[20, 9], Operations: ['73+53=126', '126/14=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[14, 73, 20, 53], Operations: []
Exploring Operation: 73-53=20, Resulting Numbers: [14, 20, 20]
Generated Node #0,0: 29:[14, 20, 20] Operation: 73-53=20
Exploring Operation: 73-14=59, Resulting Numbers: [20, 53, 59]
Generated Node #0,1: 29:[20, 53, 59] Operation: 73-14=59
Exploring Operation: 53-14=39, Resulting Numbers: [73, 20, 39]
Generated Node #0,2: 29:[73, 20, 39] Operation: 53-14=39
Exploring Operation: 73-20=53, Resulting Numbers: [14, 53, 53]
Generated Node #0,3: 29:[14, 53, 53] Operation: 73-20=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[14, 20, 20], Operations: ['73-53=20']
Exploring Operation: 20+20=40, Resulting Numbers: [14, 40]
Generated Node #0,0,0: 29:[14, 40] Operation: 20+20=40
Exploring Operation: 14+20=34, Resulting Numbers: [20, 34]
Generated Node #0,0,1: 29:[20, 34] Operation: 14+20=34
Exploring Operation: 20-14=6, Resulting Numbers: [20, 6]
Generated Node #0,0,2: 29:[20, 6] Operation: 20-14=6
Exploring Operation: 14+20=34, Resulting Numbers: [20, 34]
Generated Node #0,0,3: 29:[20, 34] Operation: 14+20=34
Moving to Node #0,0,1
Current State: 29:[20, 34], Operations: ['73-53=20', '14+20=34']
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,29 unequal: No Solution
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[20, 34], Operations: ['73-53=20', '14+20=34']
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,29 unequal: No Solution
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[14, 40], Operations: ['73-53=20', '20+20=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,29 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[20, 6], Operations: ['73-53=20', '20-14=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[20, 53, 59], Operations: ['73-14=59']
Exploring Operation: 53-20=33, Resulting Numbers: [59, 33]
Generated Node #0,1,0: 29:[59, 33] Operation: 53-20=33
Exploring Operation: 59-20=39, Resulting Numbers: [53, 39]
Generated Node #0,1,1: 29:[53, 39] Operation: 59-20=39
Exploring Operation: 20+53=73, Resulting Numbers: [59, 73]
Generated Node #0,1,2: 29:[59, 73] Operation: 20+53=73
Exploring Operation: 59-53=6, Resulting Numbers: [20, 6]
Generated Node #0,1,3: 29:[20, 6] Operation: 59-53=6
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 29:[20, 6], Operations: ['73-14=59', '59-53=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[59, 33], Operations: ['73-14=59', '53-20=33']
Exploring Operation: 59*33=1947, Resulting Numbers: [1947]
1947,29 unequal: No Solution
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 59+33=92, Resulting Numbers: [92]
92,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[53, 39], Operations: ['73-14=59', '59-20=39']
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,29 unequal: No Solution
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[59, 73], Operations: ['73-14=59', '20+53=73']
Exploring Operation: 59+73=132, Resulting Numbers: [132]
132,29 unequal: No Solution
Exploring Operation: 59*73=4307, Resulting Numbers: [4307]
4307,29 unequal: No Solution
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[73, 20, 39], Operations: ['53-14=39']
Exploring Operation: 73+20=93, Resulting Numbers: [39, 93]
Generated Node #0,2,0: 29:[39, 93] Operation: 73+20=93
Exploring Operation: 73-20=53, Resulting Numbers: [39, 53]
Generated Node #0,2,1: 29:[39, 53] Operation: 73-20=53
Exploring Operation: 39-20=19, Resulting Numbers: [73, 19]
Generated Node #0,2,2: 29:[73, 19] Operation: 39-20=19
Exploring Operation: 73-39=34, Resulting Numbers: [20, 34]
Generated Node #0,2,3: 29:[20, 34] Operation: 73-39=34
Moving to Node #0,2,3
Current State: 29:[20, 34], Operations: ['53-14=39', '73-39=34']
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,29 unequal: No Solution
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[39, 53], Operations: ['53-14=39', '73-20=53']
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,29 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[73, 19], Operations: ['53-14=39', '39-20=19']
Exploring Operation: 73*19=1387, Resulting Numbers: [1387]
1387,29 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[39, 93], Operations: ['53-14=39', '73+20=93']
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 39+93=132, Resulting Numbers: [132]
132,29 unequal: No Solution
Exploring Operation: 39*93=3627, Resulting Numbers: [3627]
3627,29 unequal: No Solution
No 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: 29:[14, 53, 53], Operations: ['73-20=53']
Exploring Operation: 53-53=0, Resulting Numbers: [14, 0]
Generated Node #0,3,0: 29:[14, 0] Operation: 53-53=0
Exploring Operation: 53-14=39, Resulting Numbers: [53, 39]
Generated Node #0,3,1: 29:[53, 39] Operation: 53-14=39
Exploring Operation: 53/53=1, Resulting Numbers: [14, 1]
Generated Node #0,3,2: 29:[14, 1] Operation: 53/53=1
Exploring Operation: 53-14=39, Resulting Numbers: [53, 39]
Generated Node #0,3,3: 29:[53, 39] Operation: 53-14=39
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 29:[53, 39], Operations: ['73-20=53', '53-14=39']
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,29 unequal: No Solution
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,29 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 29:[53, 39], Operations: ['73-20=53', '53-14=39']
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,29 unequal: No Solution
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,29 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 29:[14, 1], Operations: ['73-20=53', '53/53=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[14, 0], Operations: ['73-20=53', '53-53=0']
Exploring Operation: 14*0=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 14+0=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 14-0=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
63,
3,
40,
15
] | 71 | [
"3*40=120",
"120/15=8",
"63+8=71"
] | Current State: 71:[63, 3, 40, 15], Operations: []
Exploring Operation: 3*40=120, Resulting Numbers: [63, 15, 120]
Generated Node #2: [63, 15, 120] from Operation: 3*40=120
Current State: 71:[63, 15, 120], Operations: ['3*40=120']
Exploring Operation: 120/15=8, Resulting Numbers: [63, 8]
Generated Node #3: [63, 8] from Operation: 120/15=8
Current State: 71:[63, 8], Operations: ['3*40=120', '120/15=8']
Exploring Operation: 63+8=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[63, 3, 40, 15], Operations: []
Exploring Operation: 63+3=66, Resulting Numbers: [40, 15, 66]
Generated Node #0,0: 71:[40, 15, 66] Operation: 63+3=66
Exploring Operation: 3+15=18, Resulting Numbers: [63, 40, 18]
Generated Node #0,1: 71:[63, 40, 18] Operation: 3+15=18
Exploring Operation: 3+40=43, Resulting Numbers: [63, 15, 43]
Generated Node #0,2: 71:[63, 15, 43] Operation: 3+40=43
Exploring Operation: 3*15=45, Resulting Numbers: [63, 40, 45]
Generated Node #0,3: 71:[63, 40, 45] Operation: 3*15=45
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[63, 40, 45], Operations: ['3*15=45']
Exploring Operation: 63+45=108, Resulting Numbers: [40, 108]
Generated Node #0,3,0: 71:[40, 108] Operation: 63+45=108
Exploring Operation: 63-40=23, Resulting Numbers: [45, 23]
Generated Node #0,3,1: 71:[45, 23] Operation: 63-40=23
Exploring Operation: 40+45=85, Resulting Numbers: [63, 85]
Generated Node #0,3,2: 71:[63, 85] Operation: 40+45=85
Exploring Operation: 63+40=103, Resulting Numbers: [45, 103]
Generated Node #0,3,3: 71:[45, 103] Operation: 63+40=103
Moving to Node #0,3,2
Current State: 71:[63, 85], Operations: ['3*15=45', '40+45=85']
Exploring Operation: 63*85=5355, Resulting Numbers: [5355]
5355,71 unequal: No Solution
Exploring Operation: 63+85=148, Resulting Numbers: [148]
148,71 unequal: No Solution
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[45, 103], Operations: ['3*15=45', '63+40=103']
Exploring Operation: 45*103=4635, Resulting Numbers: [4635]
4635,71 unequal: No Solution
Exploring Operation: 103-45=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 45+103=148, Resulting Numbers: [148]
148,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[40, 108], Operations: ['3*15=45', '63+45=108']
Exploring Operation: 40*108=4320, Resulting Numbers: [4320]
4320,71 unequal: No Solution
Exploring Operation: 108-40=68, Resulting Numbers: [68]
68,71 unequal: No Solution
Exploring Operation: 40+108=148, Resulting Numbers: [148]
148,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[45, 23], Operations: ['3*15=45', '63-40=23']
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,71 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,71 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[40, 15, 66], Operations: ['63+3=66']
Exploring Operation: 15+66=81, Resulting Numbers: [40, 81]
Generated Node #0,0,0: 71:[40, 81] Operation: 15+66=81
Exploring Operation: 40+15=55, Resulting Numbers: [66, 55]
Generated Node #0,0,1: 71:[66, 55] Operation: 40+15=55
Exploring Operation: 40-15=25, Resulting Numbers: [66, 25]
Generated Node #0,0,2: 71:[66, 25] Operation: 40-15=25
Exploring Operation: 66-15=51, Resulting Numbers: [40, 51]
Generated Node #0,0,3: 71:[40, 51] Operation: 66-15=51
Moving to Node #0,0,1
Current State: 71:[66, 55], Operations: ['63+3=66', '40+15=55']
Exploring Operation: 66+55=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 66*55=3630, Resulting Numbers: [3630]
3630,71 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[40, 81], Operations: ['63+3=66', '15+66=81']
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,71 unequal: No Solution
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[40, 51], Operations: ['63+3=66', '66-15=51']
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[66, 25], Operations: ['63+3=66', '40-15=25']
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,71 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[63, 40, 18], Operations: ['3+15=18']
Exploring Operation: 40-18=22, Resulting Numbers: [63, 22]
Generated Node #0,1,0: 71:[63, 22] Operation: 40-18=22
Exploring Operation: 63-18=45, Resulting Numbers: [40, 45]
Generated Node #0,1,1: 71:[40, 45] Operation: 63-18=45
Exploring Operation: 40+18=58, Resulting Numbers: [63, 58]
Generated Node #0,1,2: 71:[63, 58] Operation: 40+18=58
Exploring Operation: 63+18=81, Resulting Numbers: [40, 81]
Generated Node #0,1,3: 71:[40, 81] Operation: 63+18=81
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[63, 58], Operations: ['3+15=18', '40+18=58']
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,71 unequal: No Solution
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,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,1,3
Current State: 71:[40, 81], Operations: ['3+15=18', '63+18=81']
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,71 unequal: No Solution
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,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,1,0
Current State: 71:[63, 22], Operations: ['3+15=18', '40-18=22']
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,71 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 63*22=1386, Resulting Numbers: [1386]
1386,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,1,1
Current State: 71:[40, 45], Operations: ['3+15=18', '63-18=45']
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,71 unequal: No Solution
Exploring Operation: 40*45=1800, Resulting Numbers: [1800]
1800,71 unequal: No Solution
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,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,2
Current State: 71:[63, 15, 43], Operations: ['3+40=43']
Exploring Operation: 15+43=58, Resulting Numbers: [63, 58]
Generated Node #0,2,0: 71:[63, 58] Operation: 15+43=58
Exploring Operation: 63-15=48, Resulting Numbers: [43, 48]
Generated Node #0,2,1: 71:[43, 48] Operation: 63-15=48
Exploring Operation: 63+15=78, Resulting Numbers: [43, 78]
Generated Node #0,2,2: 71:[43, 78] Operation: 63+15=78
Exploring Operation: 43-15=28, Resulting Numbers: [63, 28]
Generated Node #0,2,3: 71:[63, 28] Operation: 43-15=28
Moving to Node #0,2,0
Current State: 71:[63, 58], Operations: ['3+40=43', '15+43=58']
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,71 unequal: No Solution
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[43, 78], Operations: ['3+40=43', '63+15=78']
Exploring Operation: 43*78=3354, Resulting Numbers: [3354]
3354,71 unequal: No Solution
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 43+78=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[63, 28], Operations: ['3+40=43', '43-15=28']
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,71 unequal: No Solution
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[43, 48], Operations: ['3+40=43', '63-15=48']
Exploring Operation: 43*48=2064, Resulting Numbers: [2064]
2064,71 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
68,
57,
32,
57
] | 32 | [
"57-57=0",
"68*0=0",
"32+0=32"
] | Current State: 32:[68, 57, 32, 57], Operations: []
Exploring Operation: 57-57=0, Resulting Numbers: [68, 32, 0]
Generated Node #2: [68, 32, 0] from Operation: 57-57=0
Current State: 32:[68, 32, 0], Operations: ['57-57=0']
Exploring Operation: 68*0=0, Resulting Numbers: [32, 0]
Generated Node #3: [32, 0] from Operation: 68*0=0
Current State: 32:[32, 0], Operations: ['57-57=0', '68*0=0']
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[68, 57, 32, 57], Operations: []
Exploring Operation: 68-57=11, Resulting Numbers: [32, 57, 11]
Generated Node #0,0: 32:[32, 57, 11] Operation: 68-57=11
Exploring Operation: 57/57=1, Resulting Numbers: [68, 32, 1]
Generated Node #0,1: 32:[68, 32, 1] Operation: 57/57=1
Exploring Operation: 57-57=0, Resulting Numbers: [68, 32, 0]
Generated Node #0,2: 32:[68, 32, 0] Operation: 57-57=0
Exploring Operation: 68-57=11, Resulting Numbers: [57, 32, 11]
Generated Node #0,3: 32:[57, 32, 11] Operation: 68-57=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[32, 57, 11], Operations: ['68-57=11']
Exploring Operation: 57-11=46, Resulting Numbers: [32, 46]
Generated Node #0,0,0: 32:[32, 46] Operation: 57-11=46
Exploring Operation: 57-32=25, Resulting Numbers: [11, 25]
Generated Node #0,0,1: 32:[11, 25] Operation: 57-32=25
Exploring Operation: 32-11=21, Resulting Numbers: [57, 21]
Generated Node #0,0,2: 32:[57, 21] Operation: 32-11=21
Exploring Operation: 32+11=43, Resulting Numbers: [57, 43]
Generated Node #0,0,3: 32:[57, 43] Operation: 32+11=43
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[11, 25], Operations: ['68-57=11', '57-32=25']
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,32 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[32, 46], Operations: ['68-57=11', '57-11=46']
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 32:[57, 21], Operations: ['68-57=11', '32-11=21']
Exploring Operation: 57*21=1197, Resulting Numbers: [1197]
1197,32 unequal: No Solution
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 57+21=78, Resulting Numbers: [78]
78,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 32:[57, 43], Operations: ['68-57=11', '32+11=43']
Exploring Operation: 57+43=100, Resulting Numbers: [100]
100,32 unequal: No Solution
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 57*43=2451, Resulting Numbers: [2451]
2451,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[57, 32, 11], Operations: ['68-57=11']
Exploring Operation: 57+11=68, Resulting Numbers: [32, 68]
Generated Node #0,3,0: 32:[32, 68] Operation: 57+11=68
Exploring Operation: 57-11=46, Resulting Numbers: [32, 46]
Generated Node #0,3,1: 32:[32, 46] Operation: 57-11=46
Exploring Operation: 57-32=25, Resulting Numbers: [11, 25]
Generated Node #0,3,2: 32:[11, 25] Operation: 57-32=25
Exploring Operation: 32-11=21, Resulting Numbers: [57, 21]
Generated Node #0,3,3: 32:[57, 21] Operation: 32-11=21
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 32:[11, 25], Operations: ['68-57=11', '57-32=25']
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,32 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 32:[32, 46], Operations: ['68-57=11', '57-11=46']
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 32:[57, 21], Operations: ['68-57=11', '32-11=21']
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 57*21=1197, Resulting Numbers: [1197]
1197,32 unequal: No Solution
Exploring Operation: 57+21=78, Resulting Numbers: [78]
78,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 32:[32, 68], Operations: ['68-57=11', '57+11=68']
Exploring Operation: 32+68=100, Resulting Numbers: [100]
100,32 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 32*68=2176, Resulting Numbers: [2176]
2176,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[68, 32, 1], Operations: ['57/57=1']
Exploring Operation: 68*1=68, Resulting Numbers: [32, 68]
Generated Node #0,1,0: 32:[32, 68] Operation: 68*1=68
Exploring Operation: 68/1=68, Resulting Numbers: [32, 68]
Generated Node #0,1,1: 32:[32, 68] Operation: 68/1=68
Exploring Operation: 68-1=67, Resulting Numbers: [32, 67]
Generated Node #0,1,2: 32:[32, 67] Operation: 68-1=67
Exploring Operation: 68-32=36, Resulting Numbers: [1, 36]
Generated Node #0,1,3: 32:[1, 36] Operation: 68-32=36
Moving to Node #0,1,3
Current State: 32:[1, 36], Operations: ['57/57=1', '68-32=36']
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[32, 67], Operations: ['57/57=1', '68-1=67']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 32+67=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 32*67=2144, Resulting Numbers: [2144]
2144,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[32, 68], Operations: ['57/57=1', '68/1=68']
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 32*68=2176, Resulting Numbers: [2176]
2176,32 unequal: No Solution
Exploring Operation: 32+68=100, Resulting Numbers: [100]
100,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[32, 68], Operations: ['57/57=1', '68*1=68']
Exploring Operation: 32+68=100, Resulting Numbers: [100]
100,32 unequal: No Solution
Exploring Operation: 32*68=2176, Resulting Numbers: [2176]
2176,32 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[68, 32, 0], Operations: ['57-57=0']
Exploring Operation: 68+0=68, Resulting Numbers: [32, 68]
Generated Node #0,2,0: 32:[32, 68] Operation: 68+0=68
Exploring Operation: 68-32=36, Resulting Numbers: [0, 36]
Generated Node #0,2,1: 32:[0, 36] Operation: 68-32=36
Exploring Operation: 68*0=0, Resulting Numbers: [32, 0]
Generated Node #0,2,2: 32:[32, 0] Operation: 68*0=0
Exploring Operation: 68-0=68, Resulting Numbers: [32, 68]
Generated Node #0,2,3: 32:[32, 68] Operation: 68-0=68
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[32, 0], Operations: ['57-57=0', '68*0=0']
Exploring Operation: 32-0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[68, 57, 32, 57], Operations: []
Exploring Operation: 57-57=0, Resulting Numbers: [68, 32, 0]
Generated Node #0,2: 32:[68, 32, 0] Operation: 57-57=0
Moving to Node #0,2
Current State: 32:[68, 32, 0], Operations: ['57-57=0']
Exploring Operation: 68*0=0, Resulting Numbers: [32, 0]
Generated Node #0,2,2: 32:[32, 0] Operation: 68*0=0
Moving to Node #0,2,2
Current State: 32:[32, 0], Operations: ['57-57=0', '68*0=0']
Exploring Operation: 32-0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.946181 | hs_4 | mult_heuristic |
[
2,
29,
62,
39
] | 78 | [
"2+29=31",
"62*39=2418",
"2418/31=78"
] | Current State: 78:[2, 29, 62, 39], Operations: []
Exploring Operation: 2+29=31, Resulting Numbers: [62, 39, 31]
Generated Node #2: [62, 39, 31] from Operation: 2+29=31
Current State: 78:[62, 39, 31], Operations: ['2+29=31']
Exploring Operation: 62*39=2418, Resulting Numbers: [31, 2418]
Generated Node #3: [31, 2418] from Operation: 62*39=2418
Current State: 78:[31, 2418], Operations: ['2+29=31', '62*39=2418']
Exploring Operation: 2418/31=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[2, 29, 62, 39], Operations: []
Exploring Operation: 62-29=33, Resulting Numbers: [2, 39, 33]
Generated Node #0,0: 78:[2, 39, 33] Operation: 62-29=33
Exploring Operation: 62/2=31, Resulting Numbers: [29, 39, 31]
Generated Node #0,1: 78:[29, 39, 31] Operation: 62/2=31
Exploring Operation: 62-39=23, Resulting Numbers: [2, 29, 23]
Generated Node #0,2: 78:[2, 29, 23] Operation: 62-39=23
Exploring Operation: 29+62=91, Resulting Numbers: [2, 39, 91]
Generated Node #0,3: 78:[2, 39, 91] Operation: 29+62=91
Moving to Node #0,0
Current State: 78:[2, 39, 33], Operations: ['62-29=33']
Exploring Operation: 2+33=35, Resulting Numbers: [39, 35]
Generated Node #0,0,0: 78:[39, 35] Operation: 2+33=35
Exploring Operation: 33-2=31, Resulting Numbers: [39, 31]
Generated Node #0,0,1: 78:[39, 31] Operation: 33-2=31
Exploring Operation: 39-33=6, Resulting Numbers: [2, 6]
Generated Node #0,0,2: 78:[2, 6] Operation: 39-33=6
Exploring Operation: 2*39=78, Resulting Numbers: [33, 78]
Generated Node #0,0,3: 78:[33, 78] Operation: 2*39=78
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 78:[2, 6], Operations: ['62-29=33', '39-33=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,78 unequal: No Solution
No 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: 78:[39, 35], Operations: ['62-29=33', '2+33=35']
Exploring Operation: 39*35=1365, Resulting Numbers: [1365]
1365,78 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,78 unequal: No Solution
No 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: 78:[39, 31], Operations: ['62-29=33', '33-2=31']
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,78 unequal: No Solution
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,78 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,78 unequal: No Solution
No 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: 78:[33, 78], Operations: ['62-29=33', '2*39=78']
Exploring Operation: 33+78=111, Resulting Numbers: [111]
111,78 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,78 unequal: No Solution
Exploring Operation: 33*78=2574, Resulting Numbers: [2574]
2574,78 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: 78:[2, 29, 23], Operations: ['62-39=23']
Exploring Operation: 29-23=6, Resulting Numbers: [2, 6]
Generated Node #0,2,0: 78:[2, 6] Operation: 29-23=6
Exploring Operation: 2+29=31, Resulting Numbers: [23, 31]
Generated Node #0,2,1: 78:[23, 31] Operation: 2+29=31
Exploring Operation: 29-2=27, Resulting Numbers: [23, 27]
Generated Node #0,2,2: 78:[23, 27] Operation: 29-2=27
Exploring Operation: 2+23=25, Resulting Numbers: [29, 25]
Generated Node #0,2,3: 78:[29, 25] Operation: 2+23=25
Moving to Node #0,1
Current State: 78:[29, 39, 31], Operations: ['62/2=31']
Exploring Operation: 39+31=70, Resulting Numbers: [29, 70]
Generated Node #0,1,0: 78:[29, 70] Operation: 39+31=70
Exploring Operation: 31-29=2, Resulting Numbers: [39, 2]
Generated Node #0,1,1: 78:[39, 2] Operation: 31-29=2
Exploring Operation: 39-29=10, Resulting Numbers: [31, 10]
Generated Node #0,1,2: 78:[31, 10] Operation: 39-29=10
Exploring Operation: 39-31=8, Resulting Numbers: [29, 8]
Generated Node #0,1,3: 78:[29, 8] Operation: 39-31=8
Moving to Node #0,3
Current State: 78:[2, 39, 91], Operations: ['29+62=91']
Exploring Operation: 91-2=89, Resulting Numbers: [39, 89]
Generated Node #0,3,0: 78:[39, 89] Operation: 91-2=89
Exploring Operation: 2*39=78, Resulting Numbers: [91, 78]
Generated Node #0,3,1: 78:[91, 78] Operation: 2*39=78
Exploring Operation: 91-39=52, Resulting Numbers: [2, 52]
Generated Node #0,3,2: 78:[2, 52] Operation: 91-39=52
Exploring Operation: 2+39=41, Resulting Numbers: [91, 41]
Generated Node #0,3,3: 78:[91, 41] Operation: 2+39=41
Moving to Node #0,2,0
Current State: 78:[2, 6], Operations: ['62-39=23', '29-23=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[39, 2], Operations: ['62/2=31', '31-29=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[2, 29, 62, 39], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [29, 39, 31]
Generated Node #0,1: 78:[29, 39, 31] Operation: 62/2=31
Moving to Node #0,1
Current State: 78:[29, 39, 31], Operations: ['62/2=31']
Exploring Operation: 31-29=2, Resulting Numbers: [39, 2]
Generated Node #0,1,1: 78:[39, 2] Operation: 31-29=2
Moving to Node #0,1,1
Current State: 78:[39, 2], Operations: ['62/2=31', '31-29=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.961806 | hs_4 | mult_heuristic |
[
70,
64,
20,
17
] | 97 | [
"70+64=134",
"20+17=37",
"134-37=97"
] | Current State: 97:[70, 64, 20, 17], Operations: []
Exploring Operation: 70+64=134, Resulting Numbers: [20, 17, 134]
Generated Node #2: [20, 17, 134] from Operation: 70+64=134
Current State: 97:[20, 17, 134], Operations: ['70+64=134']
Exploring Operation: 20+17=37, Resulting Numbers: [134, 37]
Generated Node #3: [134, 37] from Operation: 20+17=37
Current State: 97:[134, 37], Operations: ['70+64=134', '20+17=37']
Exploring Operation: 134-37=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[70, 64, 20, 17], Operations: []
Exploring Operation: 20+17=37, Resulting Numbers: [70, 64, 37]
Generated Node #0,0: 97:[70, 64, 37] Operation: 20+17=37
Exploring Operation: 64+17=81, Resulting Numbers: [70, 20, 81]
Generated Node #0,1: 97:[70, 20, 81] Operation: 64+17=81
Exploring Operation: 64+20=84, Resulting Numbers: [70, 17, 84]
Generated Node #0,2: 97:[70, 17, 84] Operation: 64+20=84
Exploring Operation: 70+20=90, Resulting Numbers: [64, 17, 90]
Generated Node #0,3: 97:[64, 17, 90] Operation: 70+20=90
Exploring Operation: 70+17=87, Resulting Numbers: [64, 20, 87]
Generated Node #0,4: 97:[64, 20, 87] Operation: 70+17=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[70, 64, 37], Operations: ['20+17=37']
Exploring Operation: 70-37=33, Resulting Numbers: [64, 33]
Generated Node #0,0,0: 97:[64, 33] Operation: 70-37=33
Exploring Operation: 70+37=107, Resulting Numbers: [64, 107]
Generated Node #0,0,1: 97:[64, 107] Operation: 70+37=107
Exploring Operation: 64+37=101, Resulting Numbers: [70, 101]
Generated Node #0,0,2: 97:[70, 101] Operation: 64+37=101
Exploring Operation: 70+64=134, Resulting Numbers: [37, 134]
Generated Node #0,0,3: 97:[37, 134] Operation: 70+64=134
Exploring Operation: 64-37=27, Resulting Numbers: [70, 27]
Generated Node #0,0,4: 97:[70, 27] Operation: 64-37=27
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[70, 101], Operations: ['20+17=37', '64+37=101']
Exploring Operation: 101-70=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 70*101=7070, Resulting Numbers: [7070]
7070,97 unequal: No Solution
Exploring Operation: 70+101=171, Resulting Numbers: [171]
171,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[64, 107], Operations: ['20+17=37', '70+37=107']
Exploring Operation: 64*107=6848, Resulting Numbers: [6848]
6848,97 unequal: No Solution
Exploring Operation: 107-64=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 64+107=171, Resulting Numbers: [171]
171,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[64, 33], Operations: ['20+17=37', '70-37=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[70, 64, 20, 17], Operations: []
Exploring Operation: 20+17=37, Resulting Numbers: [70, 64, 37]
Generated Node #0,0: 97:[70, 64, 37] Operation: 20+17=37
Moving to Node #0,0
Current State: 97:[70, 64, 37], Operations: ['20+17=37']
Exploring Operation: 70-37=33, Resulting Numbers: [64, 33]
Generated Node #0,0,0: 97:[64, 33] Operation: 70-37=33
Moving to Node #0,0,0
Current State: 97:[64, 33], Operations: ['20+17=37', '70-37=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
68,
80,
30,
86
] | 92 | [
"68+80=148",
"86-30=56",
"148-56=92"
] | Current State: 92:[68, 80, 30, 86], Operations: []
Exploring Operation: 68+80=148, Resulting Numbers: [30, 86, 148]
Generated Node #2: [30, 86, 148] from Operation: 68+80=148
Current State: 92:[30, 86, 148], Operations: ['68+80=148']
Exploring Operation: 86-30=56, Resulting Numbers: [148, 56]
Generated Node #3: [148, 56] from Operation: 86-30=56
Current State: 92:[148, 56], Operations: ['68+80=148', '86-30=56']
Exploring Operation: 148-56=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[68, 80, 30, 86], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [30, 86, 12]
Generated Node #0,0: 92:[30, 86, 12] Operation: 80-68=12
Exploring Operation: 68+30=98, Resulting Numbers: [80, 86, 98]
Generated Node #0,1: 92:[80, 86, 98] Operation: 68+30=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[30, 86, 12], Operations: ['80-68=12']
Exploring Operation: 30+12=42, Resulting Numbers: [86, 42]
Generated Node #0,0,0: 92:[86, 42] Operation: 30+12=42
Exploring Operation: 30-12=18, Resulting Numbers: [86, 18]
Generated Node #0,0,1: 92:[86, 18] Operation: 30-12=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[86, 42], Operations: ['80-68=12', '30+12=42']
Exploring Operation: 86+42=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[86, 18], Operations: ['80-68=12', '30-12=18']
Exploring Operation: 86+18=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[80, 86, 98], Operations: ['68+30=98']
Exploring Operation: 98-80=18, Resulting Numbers: [86, 18]
Generated Node #0,1,0: 92:[86, 18] Operation: 98-80=18
Exploring Operation: 86-80=6, Resulting Numbers: [98, 6]
Generated Node #0,1,1: 92:[98, 6] Operation: 86-80=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[98, 6], Operations: ['68+30=98', '86-80=6']
Exploring Operation: 98+6=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[68, 80, 30, 86], Operations: []
Exploring Operation: 68+30=98, Resulting Numbers: [80, 86, 98]
Generated Node #0,1: 92:[80, 86, 98] Operation: 68+30=98
Moving to Node #0,1
Current State: 92:[80, 86, 98], Operations: ['68+30=98']
Exploring Operation: 86-80=6, Resulting Numbers: [98, 6]
Generated Node #0,1,1: 92:[98, 6] Operation: 86-80=6
Moving to Node #0,1,1
Current State: 92:[98, 6], Operations: ['68+30=98', '86-80=6']
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
71,
43,
82,
2
] | 98 | [
"71+43=114",
"82+114=196",
"196/2=98"
] | Current State: 98:[71, 43, 82, 2], Operations: []
Exploring Operation: 71+43=114, Resulting Numbers: [82, 2, 114]
Generated Node #2: [82, 2, 114] from Operation: 71+43=114
Current State: 98:[82, 2, 114], Operations: ['71+43=114']
Exploring Operation: 82+114=196, Resulting Numbers: [2, 196]
Generated Node #3: [2, 196] from Operation: 82+114=196
Current State: 98:[2, 196], Operations: ['71+43=114', '82+114=196']
Exploring Operation: 196/2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[71, 43, 82, 2], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [82, 2, 28]
Generated Node #0,0: 98:[82, 2, 28] Operation: 71-43=28
Exploring Operation: 82-71=11, Resulting Numbers: [43, 2, 11]
Generated Node #0,1: 98:[43, 2, 11] Operation: 82-71=11
Exploring Operation: 71+43=114, Resulting Numbers: [82, 2, 114]
Generated Node #0,2: 98:[82, 2, 114] Operation: 71+43=114
Moving to Node #0,1
Current State: 98:[43, 2, 11], Operations: ['82-71=11']
Exploring Operation: 43+2=45, Resulting Numbers: [11, 45]
Generated Node #0,1,0: 98:[11, 45] Operation: 43+2=45
Exploring Operation: 2+11=13, Resulting Numbers: [43, 13]
Generated Node #0,1,1: 98:[43, 13] Operation: 2+11=13
Exploring Operation: 43+11=54, Resulting Numbers: [2, 54]
Generated Node #0,1,2: 98:[2, 54] Operation: 43+11=54
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[2, 54], Operations: ['82-71=11', '43+11=54']
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[11, 45], Operations: ['82-71=11', '43+2=45']
Exploring Operation: 11+45=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 11*45=495, Resulting Numbers: [495]
495,98 unequal: No Solution
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[43, 13], Operations: ['82-71=11', '2+11=13']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,98 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: 98:[82, 2, 28], Operations: ['71-43=28']
Exploring Operation: 82-28=54, Resulting Numbers: [2, 54]
Generated Node #0,0,0: 98:[2, 54] Operation: 82-28=54
Exploring Operation: 82+28=110, Resulting Numbers: [2, 110]
Generated Node #0,0,1: 98:[2, 110] Operation: 82+28=110
Exploring Operation: 28/2=14, Resulting Numbers: [82, 14]
Generated Node #0,0,2: 98:[82, 14] Operation: 28/2=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[2, 54], Operations: ['71-43=28', '82-28=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[2, 110], Operations: ['71-43=28', '82+28=110']
Exploring Operation: 110/2=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 2+110=112, Resulting Numbers: [112]
112,98 unequal: No Solution
Exploring Operation: 110-2=108, Resulting Numbers: [108]
108,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 98:[82, 14], Operations: ['71-43=28', '28/2=14']
Exploring Operation: 82*14=1148, Resulting Numbers: [1148]
1148,98 unequal: No Solution
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Exploring Operation: 82+14=96, Resulting Numbers: [96]
96,98 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: 98:[82, 2, 114], Operations: ['71+43=114']
Exploring Operation: 114/2=57, Resulting Numbers: [82, 57]
Generated Node #0,2,0: 98:[82, 57] Operation: 114/2=57
Exploring Operation: 114-82=32, Resulting Numbers: [2, 32]
Generated Node #0,2,1: 98:[2, 32] Operation: 114-82=32
Exploring Operation: 82/2=41, Resulting Numbers: [114, 41]
Generated Node #0,2,2: 98:[114, 41] Operation: 82/2=41
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[2, 32], Operations: ['71+43=114', '114-82=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[82, 57], Operations: ['71+43=114', '114/2=57']
Exploring Operation: 82+57=139, Resulting Numbers: [139]
139,98 unequal: No Solution
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 82*57=4674, Resulting Numbers: [4674]
4674,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[114, 41], Operations: ['71+43=114', '82/2=41']
Exploring Operation: 114*41=4674, Resulting Numbers: [4674]
4674,98 unequal: No Solution
Exploring Operation: 114+41=155, Resulting Numbers: [155]
155,98 unequal: No Solution
Exploring Operation: 114-41=73, Resulting Numbers: [73]
73,98 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 |
[
62,
94,
91,
48
] | 11 | [
"94-62=32",
"91-48=43",
"43-32=11"
] | Current State: 11:[62, 94, 91, 48], Operations: []
Exploring Operation: 94-62=32, Resulting Numbers: [91, 48, 32]
Generated Node #2: [91, 48, 32] from Operation: 94-62=32
Current State: 11:[91, 48, 32], Operations: ['94-62=32']
Exploring Operation: 91-48=43, Resulting Numbers: [32, 43]
Generated Node #3: [32, 43] from Operation: 91-48=43
Current State: 11:[32, 43], Operations: ['94-62=32', '91-48=43']
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[62, 94, 91, 48], Operations: []
Exploring Operation: 62-48=14, Resulting Numbers: [94, 91, 14]
Generated Node #0,0: 11:[94, 91, 14] Operation: 62-48=14
Exploring Operation: 91-62=29, Resulting Numbers: [94, 48, 29]
Generated Node #0,1: 11:[94, 48, 29] Operation: 91-62=29
Exploring Operation: 94-91=3, Resulting Numbers: [62, 48, 3]
Generated Node #0,2: 11:[62, 48, 3] Operation: 94-91=3
Exploring Operation: 94-62=32, Resulting Numbers: [91, 48, 32]
Generated Node #0,3: 11:[91, 48, 32] Operation: 94-62=32
Exploring Operation: 94-48=46, Resulting Numbers: [62, 91, 46]
Generated Node #0,4: 11:[62, 91, 46] Operation: 94-48=46
Moving to Node #0,2
Current State: 11:[62, 48, 3], Operations: ['94-91=3']
Exploring Operation: 62+3=65, Resulting Numbers: [48, 65]
Generated Node #0,2,0: 11:[48, 65] Operation: 62+3=65
Exploring Operation: 62-3=59, Resulting Numbers: [48, 59]
Generated Node #0,2,1: 11:[48, 59] Operation: 62-3=59
Exploring Operation: 48-3=45, Resulting Numbers: [62, 45]
Generated Node #0,2,2: 11:[62, 45] Operation: 48-3=45
Exploring Operation: 48/3=16, Resulting Numbers: [62, 16]
Generated Node #0,2,3: 11:[62, 16] Operation: 48/3=16
Exploring Operation: 62-48=14, Resulting Numbers: [3, 14]
Generated Node #0,2,4: 11:[3, 14] Operation: 62-48=14
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 11:[3, 14], Operations: ['94-91=3', '62-48=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[62, 94, 91, 48], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [62, 48, 3]
Generated Node #0,2: 11:[62, 48, 3] Operation: 94-91=3
Moving to Node #0,2
Current State: 11:[62, 48, 3], Operations: ['94-91=3']
Exploring Operation: 62-48=14, Resulting Numbers: [3, 14]
Generated Node #0,2,4: 11:[3, 14] Operation: 62-48=14
Moving to Node #0,2,4
Current State: 11:[3, 14], Operations: ['94-91=3', '62-48=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
45,
48,
74,
15
] | 86 | [
"48-45=3",
"74+15=89",
"89-3=86"
] | Current State: 86:[45, 48, 74, 15], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [74, 15, 3]
Generated Node #2: [74, 15, 3] from Operation: 48-45=3
Current State: 86:[74, 15, 3], Operations: ['48-45=3']
Exploring Operation: 74+15=89, Resulting Numbers: [3, 89]
Generated Node #3: [3, 89] from Operation: 74+15=89
Current State: 86:[3, 89], Operations: ['48-45=3', '74+15=89']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[45, 48, 74, 15], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [48, 74, 3]
Generated Node #0,0: 86:[48, 74, 3] Operation: 45/15=3
Exploring Operation: 74+15=89, Resulting Numbers: [45, 48, 89]
Generated Node #0,1: 86:[45, 48, 89] Operation: 74+15=89
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[45, 48, 89], Operations: ['74+15=89']
Exploring Operation: 89-48=41, Resulting Numbers: [45, 41]
Generated Node #0,1,0: 86:[45, 41] Operation: 89-48=41
Exploring Operation: 48-45=3, Resulting Numbers: [89, 3]
Generated Node #0,1,1: 86:[89, 3] Operation: 48-45=3
Moving to Node #0,1,0
Current State: 86:[45, 41], Operations: ['74+15=89', '89-48=41']
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[45, 48, 74, 15], Operations: []
Exploring Operation: 74+15=89, Resulting Numbers: [45, 48, 89]
Generated Node #0,1: 86:[45, 48, 89] Operation: 74+15=89
Moving to Node #0,1
Current State: 86:[45, 48, 89], Operations: ['74+15=89']
Exploring Operation: 89-48=41, Resulting Numbers: [45, 41]
Generated Node #0,1,0: 86:[45, 41] Operation: 89-48=41
Moving to Node #0,1,0
Current State: 86:[45, 41], Operations: ['74+15=89', '89-48=41']
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
81,
94,
2,
65
] | 26 | [
"94-81=13",
"65-13=52",
"52/2=26"
] | Current State: 26:[81, 94, 2, 65], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [2, 65, 13]
Generated Node #2: [2, 65, 13] from Operation: 94-81=13
Current State: 26:[2, 65, 13], Operations: ['94-81=13']
Exploring Operation: 65-13=52, Resulting Numbers: [2, 52]
Generated Node #3: [2, 52] from Operation: 65-13=52
Current State: 26:[2, 52], Operations: ['94-81=13', '65-13=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[81, 94, 2, 65], Operations: []
Exploring Operation: 81-2=79, Resulting Numbers: [94, 65, 79]
Generated Node #0,0: 26:[94, 65, 79] Operation: 81-2=79
Exploring Operation: 94/2=47, Resulting Numbers: [81, 65, 47]
Generated Node #0,1: 26:[81, 65, 47] Operation: 94/2=47
Exploring Operation: 94-65=29, Resulting Numbers: [81, 2, 29]
Generated Node #0,2: 26:[81, 2, 29] Operation: 94-65=29
Exploring Operation: 94-81=13, Resulting Numbers: [2, 65, 13]
Generated Node #0,3: 26:[2, 65, 13] Operation: 94-81=13
Exploring Operation: 81-65=16, Resulting Numbers: [94, 2, 16]
Generated Node #0,4: 26:[94, 2, 16] Operation: 81-65=16
Moving to Node #0,3
Current State: 26:[2, 65, 13], Operations: ['94-81=13']
Exploring Operation: 65-13=52, Resulting Numbers: [2, 52]
Generated Node #0,3,0: 26:[2, 52] Operation: 65-13=52
Exploring Operation: 2+65=67, Resulting Numbers: [13, 67]
Generated Node #0,3,1: 26:[13, 67] Operation: 2+65=67
Exploring Operation: 2*13=26, Resulting Numbers: [65, 26]
Generated Node #0,3,2: 26:[65, 26] Operation: 2*13=26
Exploring Operation: 65-2=63, Resulting Numbers: [13, 63]
Generated Node #0,3,3: 26:[13, 63] Operation: 65-2=63
Exploring Operation: 65/13=5, Resulting Numbers: [2, 5]
Generated Node #0,3,4: 26:[2, 5] Operation: 65/13=5
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 26:[2, 5], Operations: ['94-81=13', '65/13=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[2, 52], Operations: ['94-81=13', '65-13=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[81, 94, 2, 65], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [2, 65, 13]
Generated Node #0,3: 26:[2, 65, 13] Operation: 94-81=13
Moving to Node #0,3
Current State: 26:[2, 65, 13], Operations: ['94-81=13']
Exploring Operation: 65-13=52, Resulting Numbers: [2, 52]
Generated Node #0,3,0: 26:[2, 52] Operation: 65-13=52
Moving to Node #0,3,0
Current State: 26:[2, 52], Operations: ['94-81=13', '65-13=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
62,
4,
1,
87
] | 33 | [
"4-1=3",
"87/3=29",
"62-29=33"
] | Current State: 33:[62, 4, 1, 87], Operations: []
Exploring Operation: 4-1=3, Resulting Numbers: [62, 87, 3]
Generated Node #2: [62, 87, 3] from Operation: 4-1=3
Current State: 33:[62, 87, 3], Operations: ['4-1=3']
Exploring Operation: 87/3=29, Resulting Numbers: [62, 29]
Generated Node #3: [62, 29] from Operation: 87/3=29
Current State: 33:[62, 29], Operations: ['4-1=3', '87/3=29']
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[62, 4, 1, 87], Operations: []
Exploring Operation: 87-62=25, Resulting Numbers: [4, 1, 25]
Generated Node #0,0: 33:[4, 1, 25] Operation: 87-62=25
Exploring Operation: 62-4=58, Resulting Numbers: [1, 87, 58]
Generated Node #0,1: 33:[1, 87, 58] Operation: 62-4=58
Exploring Operation: 87-4=83, Resulting Numbers: [62, 1, 83]
Generated Node #0,2: 33:[62, 1, 83] Operation: 87-4=83
Exploring Operation: 62-1=61, Resulting Numbers: [4, 87, 61]
Generated Node #0,3: 33:[4, 87, 61] Operation: 62-1=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[4, 1, 25], Operations: ['87-62=25']
Exploring Operation: 4-1=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 33:[25, 3] Operation: 4-1=3
Exploring Operation: 4+25=29, Resulting Numbers: [1, 29]
Generated Node #0,0,1: 33:[1, 29] Operation: 4+25=29
Exploring Operation: 1+25=26, Resulting Numbers: [4, 26]
Generated Node #0,0,2: 33:[4, 26] Operation: 1+25=26
Exploring Operation: 4*1=4, Resulting Numbers: [25, 4]
Generated Node #0,0,3: 33:[25, 4] Operation: 4*1=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[1, 29], Operations: ['87-62=25', '4+25=29']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,33 unequal: No Solution
No 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: 33:[25, 3], Operations: ['87-62=25', '4-1=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,33 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,33 unequal: No Solution
No 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: 33:[4, 26], Operations: ['87-62=25', '1+25=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,33 unequal: No Solution
No 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: 33:[25, 4], Operations: ['87-62=25', '4*1=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,33 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: 33:[1, 87, 58], Operations: ['62-4=58']
Exploring Operation: 1*87=87, Resulting Numbers: [58, 87]
Generated Node #0,1,0: 33:[58, 87] Operation: 1*87=87
Exploring Operation: 58-1=57, Resulting Numbers: [87, 57]
Generated Node #0,1,1: 33:[87, 57] Operation: 58-1=57
Exploring Operation: 87-1=86, Resulting Numbers: [58, 86]
Generated Node #0,1,2: 33:[58, 86] Operation: 87-1=86
Exploring Operation: 87-58=29, Resulting Numbers: [1, 29]
Generated Node #0,1,3: 33:[1, 29] Operation: 87-58=29
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 33:[1, 29], Operations: ['62-4=58', '87-58=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,33 unequal: No Solution
No 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: 33:[87, 57], Operations: ['62-4=58', '58-1=57']
Exploring Operation: 87*57=4959, Resulting Numbers: [4959]
4959,33 unequal: No Solution
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 87+57=144, Resulting Numbers: [144]
144,33 unequal: No Solution
No 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: 33:[58, 86], Operations: ['62-4=58', '87-1=86']
Exploring Operation: 58*86=4988, Resulting Numbers: [4988]
4988,33 unequal: No Solution
Exploring Operation: 58+86=144, Resulting Numbers: [144]
144,33 unequal: No Solution
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,33 unequal: No Solution
No 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: 33:[58, 87], Operations: ['62-4=58', '1*87=87']
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 58*87=5046, Resulting Numbers: [5046]
5046,33 unequal: No Solution
Exploring Operation: 58+87=145, Resulting Numbers: [145]
145,33 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: 33:[62, 1, 83], Operations: ['87-4=83']
Exploring Operation: 83-1=82, Resulting Numbers: [62, 82]
Generated Node #0,2,0: 33:[62, 82] Operation: 83-1=82
Exploring Operation: 83-62=21, Resulting Numbers: [1, 21]
Generated Node #0,2,1: 33:[1, 21] Operation: 83-62=21
Exploring Operation: 62-1=61, Resulting Numbers: [83, 61]
Generated Node #0,2,2: 33:[83, 61] Operation: 62-1=61
Exploring Operation: 62*1=62, Resulting Numbers: [83, 62]
Generated Node #0,2,3: 33:[83, 62] Operation: 62*1=62
Moving to Node #0,2,1
Current State: 33:[1, 21], Operations: ['87-4=83', '83-62=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[83, 61], Operations: ['87-4=83', '62-1=61']
Exploring Operation: 83*61=5063, Resulting Numbers: [5063]
5063,33 unequal: No Solution
Exploring Operation: 83+61=144, Resulting Numbers: [144]
144,33 unequal: No Solution
Exploring Operation: 83-61=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[62, 82], Operations: ['87-4=83', '83-1=82']
Exploring Operation: 62+82=144, Resulting Numbers: [144]
144,33 unequal: No Solution
Exploring Operation: 62*82=5084, Resulting Numbers: [5084]
5084,33 unequal: No Solution
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[83, 62], Operations: ['87-4=83', '62*1=62']
Exploring Operation: 83-62=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 83+62=145, Resulting Numbers: [145]
145,33 unequal: No Solution
Exploring Operation: 83*62=5146, Resulting Numbers: [5146]
5146,33 unequal: No Solution
No 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: 33:[4, 87, 61], Operations: ['62-1=61']
Exploring Operation: 4+87=91, Resulting Numbers: [61, 91]
Generated Node #0,3,0: 33:[61, 91] Operation: 4+87=91
Exploring Operation: 87-61=26, Resulting Numbers: [4, 26]
Generated Node #0,3,1: 33:[4, 26] Operation: 87-61=26
Exploring Operation: 87-4=83, Resulting Numbers: [61, 83]
Generated Node #0,3,2: 33:[61, 83] Operation: 87-4=83
Exploring Operation: 61-4=57, Resulting Numbers: [87, 57]
Generated Node #0,3,3: 33:[87, 57] Operation: 61-4=57
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[4, 26], Operations: ['62-1=61', '87-61=26']
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,33 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,33 unequal: No Solution
No 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: 33:[61, 83], Operations: ['62-1=61', '87-4=83']
Exploring Operation: 83-61=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 61*83=5063, Resulting Numbers: [5063]
5063,33 unequal: No Solution
Exploring Operation: 61+83=144, Resulting Numbers: [144]
144,33 unequal: No Solution
No 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: 33:[87, 57], Operations: ['62-1=61', '61-4=57']
Exploring Operation: 87+57=144, Resulting Numbers: [144]
144,33 unequal: No Solution
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 87*57=4959, Resulting Numbers: [4959]
4959,33 unequal: No Solution
No 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: 33:[61, 91], Operations: ['62-1=61', '4+87=91']
Exploring Operation: 91-61=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 61*91=5551, Resulting Numbers: [5551]
5551,33 unequal: No Solution
Exploring Operation: 61+91=152, Resulting Numbers: [152]
152,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
9,
24,
61,
20
] | 15 | [
"61+20=81",
"81/9=9",
"24-9=15"
] | Current State: 15:[9, 24, 61, 20], Operations: []
Exploring Operation: 61+20=81, Resulting Numbers: [9, 24, 81]
Generated Node #2: [9, 24, 81] from Operation: 61+20=81
Current State: 15:[9, 24, 81], Operations: ['61+20=81']
Exploring Operation: 81/9=9, Resulting Numbers: [24, 9]
Generated Node #3: [24, 9] from Operation: 81/9=9
Current State: 15:[24, 9], Operations: ['61+20=81', '81/9=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[9, 24, 61, 20], Operations: []
Exploring Operation: 24-9=15, Resulting Numbers: [61, 20, 15]
Generated Node #0,0: 15:[61, 20, 15] Operation: 24-9=15
Exploring Operation: 61-9=52, Resulting Numbers: [24, 20, 52]
Generated Node #0,1: 15:[24, 20, 52] Operation: 61-9=52
Exploring Operation: 61-20=41, Resulting Numbers: [9, 24, 41]
Generated Node #0,2: 15:[9, 24, 41] Operation: 61-20=41
Exploring Operation: 61-24=37, Resulting Numbers: [9, 20, 37]
Generated Node #0,3: 15:[9, 20, 37] Operation: 61-24=37
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[9, 20, 37], Operations: ['61-24=37']
Exploring Operation: 37-9=28, Resulting Numbers: [20, 28]
Generated Node #0,3,0: 15:[20, 28] Operation: 37-9=28
Exploring Operation: 37-20=17, Resulting Numbers: [9, 17]
Generated Node #0,3,1: 15:[9, 17] Operation: 37-20=17
Exploring Operation: 9+20=29, Resulting Numbers: [37, 29]
Generated Node #0,3,2: 15:[37, 29] Operation: 9+20=29
Exploring Operation: 20-9=11, Resulting Numbers: [37, 11]
Generated Node #0,3,3: 15:[37, 11] Operation: 20-9=11
Moving to Node #0,3,1
Current State: 15:[9, 17], Operations: ['61-24=37', '37-20=17']
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,15 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[20, 28], Operations: ['61-24=37', '37-9=28']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,15 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[37, 11], Operations: ['61-24=37', '20-9=11']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 37*11=407, Resulting Numbers: [407]
407,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[37, 29], Operations: ['61-24=37', '9+20=29']
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,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:[9, 24, 41], Operations: ['61-20=41']
Exploring Operation: 24-9=15, Resulting Numbers: [41, 15]
Generated Node #0,2,0: 15:[41, 15] Operation: 24-9=15
Exploring Operation: 9+24=33, Resulting Numbers: [41, 33]
Generated Node #0,2,1: 15:[41, 33] Operation: 9+24=33
Exploring Operation: 41-9=32, Resulting Numbers: [24, 32]
Generated Node #0,2,2: 15:[24, 32] Operation: 41-9=32
Exploring Operation: 41-24=17, Resulting Numbers: [9, 17]
Generated Node #0,2,3: 15:[9, 17] Operation: 41-24=17
Moving to Node #0,2,3
Current State: 15:[9, 17], Operations: ['61-20=41', '41-24=17']
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,15 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[24, 32], Operations: ['61-20=41', '41-9=32']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,15 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[41, 15], Operations: ['61-20=41', '24-9=15']
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[41, 33], Operations: ['61-20=41', '9+24=33']
Exploring Operation: 41*33=1353, Resulting Numbers: [1353]
1353,15 unequal: No Solution
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,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:[61, 20, 15], Operations: ['24-9=15']
Exploring Operation: 20-15=5, Resulting Numbers: [61, 5]
Generated Node #0,0,0: 15:[61, 5] Operation: 20-15=5
Exploring Operation: 61-15=46, Resulting Numbers: [20, 46]
Generated Node #0,0,1: 15:[20, 46] Operation: 61-15=46
Exploring Operation: 61-20=41, Resulting Numbers: [15, 41]
Generated Node #0,0,2: 15:[15, 41] Operation: 61-20=41
Exploring Operation: 61+20=81, Resulting Numbers: [15, 81]
Generated Node #0,0,3: 15:[15, 81] Operation: 61+20=81
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 15:[15, 41], Operations: ['24-9=15', '61-20=41']
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,15 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 15:[20, 46], Operations: ['24-9=15', '61-15=46']
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,15 unequal: No Solution
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[61, 5], Operations: ['24-9=15', '20-15=5']
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,15 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 15:[15, 81], Operations: ['24-9=15', '61+20=81']
Exploring Operation: 15*81=1215, Resulting Numbers: [1215]
1215,15 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Exploring Operation: 15+81=96, Resulting Numbers: [96]
96,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[24, 20, 52], Operations: ['61-9=52']
Exploring Operation: 24+20=44, Resulting Numbers: [52, 44]
Generated Node #0,1,0: 15:[52, 44] Operation: 24+20=44
Exploring Operation: 52-20=32, Resulting Numbers: [24, 32]
Generated Node #0,1,1: 15:[24, 32] Operation: 52-20=32
Exploring Operation: 24-20=4, Resulting Numbers: [52, 4]
Generated Node #0,1,2: 15:[52, 4] Operation: 24-20=4
Exploring Operation: 52-24=28, Resulting Numbers: [20, 28]
Generated Node #0,1,3: 15:[20, 28] Operation: 52-24=28
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 15:[20, 28], Operations: ['61-9=52', '52-24=28']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,15 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,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:[24, 32], Operations: ['61-9=52', '52-20=32']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,15 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 15:[52, 4], Operations: ['61-9=52', '24-20=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,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:[52, 44], Operations: ['61-9=52', '24+20=44']
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 52*44=2288, Resulting Numbers: [2288]
2288,15 unequal: No Solution
Exploring Operation: 52+44=96, Resulting Numbers: [96]
96,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
4,
10,
17,
56
] | 21 | [
"4+10=14",
"56/14=4",
"17+4=21"
] | Current State: 21:[4, 10, 17, 56], Operations: []
Exploring Operation: 4+10=14, Resulting Numbers: [17, 56, 14]
Generated Node #2: [17, 56, 14] from Operation: 4+10=14
Current State: 21:[17, 56, 14], Operations: ['4+10=14']
Exploring Operation: 56/14=4, Resulting Numbers: [17, 4]
Generated Node #3: [17, 4] from Operation: 56/14=4
Current State: 21:[17, 4], Operations: ['4+10=14', '56/14=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[4, 10, 17, 56], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [10, 17, 14]
Generated Node #0,0: 21:[10, 17, 14] Operation: 56/4=14
Exploring Operation: 17-10=7, Resulting Numbers: [4, 56, 7]
Generated Node #0,1: 21:[4, 56, 7] Operation: 17-10=7
Exploring Operation: 56-17=39, Resulting Numbers: [4, 10, 39]
Generated Node #0,2: 21:[4, 10, 39] Operation: 56-17=39
Exploring Operation: 56-10=46, Resulting Numbers: [4, 17, 46]
Generated Node #0,3: 21:[4, 17, 46] Operation: 56-10=46
Moving to Node #0,0
Current State: 21:[10, 17, 14], Operations: ['56/4=14']
Exploring Operation: 17-14=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 21:[10, 3] Operation: 17-14=3
Exploring Operation: 17-10=7, Resulting Numbers: [14, 7]
Generated Node #0,0,1: 21:[14, 7] Operation: 17-10=7
Exploring Operation: 14-10=4, Resulting Numbers: [17, 4]
Generated Node #0,0,2: 21:[17, 4] Operation: 14-10=4
Exploring Operation: 10+14=24, Resulting Numbers: [17, 24]
Generated Node #0,0,3: 21:[17, 24] Operation: 10+14=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[10, 3], Operations: ['56/4=14', '17-14=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,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,0,2
Current State: 21:[17, 4], Operations: ['56/4=14', '14-10=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[4, 10, 17, 56], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [10, 17, 14]
Generated Node #0,0: 21:[10, 17, 14] Operation: 56/4=14
Moving to Node #0,0
Current State: 21:[10, 17, 14], Operations: ['56/4=14']
Exploring Operation: 14-10=4, Resulting Numbers: [17, 4]
Generated Node #0,0,2: 21:[17, 4] Operation: 14-10=4
Moving to Node #0,0,2
Current State: 21:[17, 4], Operations: ['56/4=14', '14-10=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
1,
25,
57,
5
] | 52 | [
"1*25=25",
"25/5=5",
"57-5=52"
] | Current State: 52:[1, 25, 57, 5], Operations: []
Exploring Operation: 1*25=25, Resulting Numbers: [57, 5, 25]
Generated Node #2: [57, 5, 25] from Operation: 1*25=25
Current State: 52:[57, 5, 25], Operations: ['1*25=25']
Exploring Operation: 25/5=5, Resulting Numbers: [57, 5]
Generated Node #3: [57, 5] from Operation: 25/5=5
Current State: 52:[57, 5], Operations: ['1*25=25', '25/5=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[1, 25, 57, 5], Operations: []
Exploring Operation: 57-1=56, Resulting Numbers: [25, 5, 56]
Generated Node #0,0: 52:[25, 5, 56] Operation: 57-1=56
Exploring Operation: 57-5=52, Resulting Numbers: [1, 25, 52]
Generated Node #0,1: 52:[1, 25, 52] Operation: 57-5=52
Exploring Operation: 1+25=26, Resulting Numbers: [57, 5, 26]
Generated Node #0,2: 52:[57, 5, 26] Operation: 1+25=26
Moving to Node #0,1
Current State: 52:[1, 25, 52], Operations: ['57-5=52']
Exploring Operation: 1+25=26, Resulting Numbers: [52, 26]
Generated Node #0,1,0: 52:[52, 26] Operation: 1+25=26
Exploring Operation: 1*25=25, Resulting Numbers: [52, 25]
Generated Node #0,1,1: 52:[52, 25] Operation: 1*25=25
Exploring Operation: 25/1=25, Resulting Numbers: [52, 25]
Generated Node #0,1,2: 52:[52, 25] Operation: 25/1=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[52, 26], Operations: ['57-5=52', '1+25=26']
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[52, 25], Operations: ['57-5=52', '1*25=25']
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,52 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[52, 25], Operations: ['57-5=52', '25/1=25']
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,52 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 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: 52:[25, 5, 56], Operations: ['57-1=56']
Exploring Operation: 56-25=31, Resulting Numbers: [5, 31]
Generated Node #0,0,0: 52:[5, 31] Operation: 56-25=31
Exploring Operation: 56-5=51, Resulting Numbers: [25, 51]
Generated Node #0,0,1: 52:[25, 51] Operation: 56-5=51
Exploring Operation: 25/5=5, Resulting Numbers: [56, 5]
Generated Node #0,0,2: 52:[56, 5] Operation: 25/5=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[25, 51], Operations: ['57-1=56', '56-5=51']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[56, 5], Operations: ['57-1=56', '25/5=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[5, 31], Operations: ['57-1=56', '56-25=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,52 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: 52:[57, 5, 26], Operations: ['1+25=26']
Exploring Operation: 57+5=62, Resulting Numbers: [26, 62]
Generated Node #0,2,0: 52:[26, 62] Operation: 57+5=62
Exploring Operation: 57-26=31, Resulting Numbers: [5, 31]
Generated Node #0,2,1: 52:[5, 31] Operation: 57-26=31
Exploring Operation: 57-5=52, Resulting Numbers: [26, 52]
Generated Node #0,2,2: 52:[26, 52] Operation: 57-5=52
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[26, 52], Operations: ['1+25=26', '57-5=52']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 26+52=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[5, 31], Operations: ['1+25=26', '57-26=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[26, 62], Operations: ['1+25=26', '57+5=62']
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,52 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,52 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 |
[
27,
87,
72,
85
] | 47 | [
"87-27=60",
"85-72=13",
"60-13=47"
] | Current State: 47:[27, 87, 72, 85], Operations: []
Exploring Operation: 87-27=60, Resulting Numbers: [72, 85, 60]
Generated Node #2: [72, 85, 60] from Operation: 87-27=60
Current State: 47:[72, 85, 60], Operations: ['87-27=60']
Exploring Operation: 85-72=13, Resulting Numbers: [60, 13]
Generated Node #3: [60, 13] from Operation: 85-72=13
Current State: 47:[60, 13], Operations: ['87-27=60', '85-72=13']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[27, 87, 72, 85], Operations: []
Exploring Operation: 87-27=60, Resulting Numbers: [72, 85, 60]
Generated Node #0,0: 47:[72, 85, 60] Operation: 87-27=60
Exploring Operation: 85-27=58, Resulting Numbers: [87, 72, 58]
Generated Node #0,1: 47:[87, 72, 58] Operation: 85-27=58
Moving to Node #0,0
Current State: 47:[72, 85, 60], Operations: ['87-27=60']
Exploring Operation: 85-60=25, Resulting Numbers: [72, 25]
Generated Node #0,0,0: 47:[72, 25] Operation: 85-60=25
Exploring Operation: 85-72=13, Resulting Numbers: [60, 13]
Generated Node #0,0,1: 47:[60, 13] Operation: 85-72=13
Moving to Node #0,1
Current State: 47:[87, 72, 58], Operations: ['85-27=58']
Exploring Operation: 87-72=15, Resulting Numbers: [58, 15]
Generated Node #0,1,0: 47:[58, 15] Operation: 87-72=15
Exploring Operation: 87-58=29, Resulting Numbers: [72, 29]
Generated Node #0,1,1: 47:[72, 29] Operation: 87-58=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[58, 15], Operations: ['85-27=58', '87-72=15']
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,47 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[72, 29], Operations: ['85-27=58', '87-58=29']
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,47 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: 47:[72, 25], Operations: ['87-27=60', '85-60=25']
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[27, 87, 72, 85], Operations: []
Exploring Operation: 87-27=60, Resulting Numbers: [72, 85, 60]
Generated Node #0,0: 47:[72, 85, 60] Operation: 87-27=60
Moving to Node #0,0
Current State: 47:[72, 85, 60], Operations: ['87-27=60']
Exploring Operation: 85-60=25, Resulting Numbers: [72, 25]
Generated Node #0,0,0: 47:[72, 25] Operation: 85-60=25
Moving to Node #0,0,0
Current State: 47:[72, 25], Operations: ['87-27=60', '85-60=25']
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
44,
2,
83,
43
] | 91 | [
"44+43=87",
"2*87=174",
"174-83=91"
] | Current State: 91:[44, 2, 83, 43], Operations: []
Exploring Operation: 44+43=87, Resulting Numbers: [2, 83, 87]
Generated Node #2: [2, 83, 87] from Operation: 44+43=87
Current State: 91:[2, 83, 87], Operations: ['44+43=87']
Exploring Operation: 2*87=174, Resulting Numbers: [83, 174]
Generated Node #3: [83, 174] from Operation: 2*87=174
Current State: 91:[83, 174], Operations: ['44+43=87', '2*87=174']
Exploring Operation: 174-83=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[44, 2, 83, 43], Operations: []
Exploring Operation: 44+43=87, Resulting Numbers: [2, 83, 87]
Generated Node #0,0: 91:[2, 83, 87] Operation: 44+43=87
Exploring Operation: 44-43=1, Resulting Numbers: [2, 83, 1]
Generated Node #0,1: 91:[2, 83, 1] Operation: 44-43=1
Moving to Node #0,0
Current State: 91:[2, 83, 87], Operations: ['44+43=87']
Exploring Operation: 87-83=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 91:[2, 4] Operation: 87-83=4
Exploring Operation: 2+83=85, Resulting Numbers: [87, 85]
Generated Node #0,0,1: 91:[87, 85] Operation: 2+83=85
Moving to Node #0,1
Current State: 91:[2, 83, 1], Operations: ['44-43=1']
Exploring Operation: 2+1=3, Resulting Numbers: [83, 3]
Generated Node #0,1,0: 91:[83, 3] Operation: 2+1=3
Exploring Operation: 2+83=85, Resulting Numbers: [1, 85]
Generated Node #0,1,1: 91:[1, 85] Operation: 2+83=85
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[83, 3], Operations: ['44-43=1', '2+1=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[1, 85], Operations: ['44-43=1', '2+83=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,91 unequal: No Solution
Exploring Operation: 1*85=85, Resulting Numbers: [85]
85,91 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: 91:[2, 4], Operations: ['44+43=87', '87-83=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[87, 85], Operations: ['44+43=87', '2+83=85']
Exploring Operation: 87+85=172, Resulting Numbers: [172]
172,91 unequal: No Solution
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
77,
70,
84,
91
] | 97 | [
"77-70=7",
"91/7=13",
"84+13=97"
] | Current State: 97:[77, 70, 84, 91], Operations: []
Exploring Operation: 77-70=7, Resulting Numbers: [84, 91, 7]
Generated Node #2: [84, 91, 7] from Operation: 77-70=7
Current State: 97:[84, 91, 7], Operations: ['77-70=7']
Exploring Operation: 91/7=13, Resulting Numbers: [84, 13]
Generated Node #3: [84, 13] from Operation: 91/7=13
Current State: 97:[84, 13], Operations: ['77-70=7', '91/7=13']
Exploring Operation: 84+13=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[77, 70, 84, 91], Operations: []
Exploring Operation: 77+70=147, Resulting Numbers: [84, 91, 147]
Generated Node #0,0: 97:[84, 91, 147] Operation: 77+70=147
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[84, 91, 147], Operations: ['77+70=147']
Exploring Operation: 147-84=63, Resulting Numbers: [91, 63]
Generated Node #0,0,0: 97:[91, 63] Operation: 147-84=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[91, 63], Operations: ['77+70=147', '147-84=63']
Exploring Operation: 91+63=154, Resulting Numbers: [154]
154,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
14,
66,
23
] | 92 | [
"5*14=70",
"70-66=4",
"23*4=92"
] | Current State: 92:[5, 14, 66, 23], Operations: []
Exploring Operation: 5*14=70, Resulting Numbers: [66, 23, 70]
Generated Node #2: [66, 23, 70] from Operation: 5*14=70
Current State: 92:[66, 23, 70], Operations: ['5*14=70']
Exploring Operation: 70-66=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 70-66=4
Current State: 92:[23, 4], Operations: ['5*14=70', '70-66=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[5, 14, 66, 23], Operations: []
Exploring Operation: 66-14=52, Resulting Numbers: [5, 23, 52]
Generated Node #0,0: 92:[5, 23, 52] Operation: 66-14=52
Exploring Operation: 14+66=80, Resulting Numbers: [5, 23, 80]
Generated Node #0,1: 92:[5, 23, 80] Operation: 14+66=80
Moving to Node #0,0
Current State: 92:[5, 23, 52], Operations: ['66-14=52']
Exploring Operation: 52-23=29, Resulting Numbers: [5, 29]
Generated Node #0,0,0: 92:[5, 29] Operation: 52-23=29
Exploring Operation: 52-5=47, Resulting Numbers: [23, 47]
Generated Node #0,0,1: 92:[23, 47] Operation: 52-5=47
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[23, 47], Operations: ['66-14=52', '52-5=47']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,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:[5, 29], Operations: ['66-14=52', '52-23=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,92 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: 92:[5, 23, 80], Operations: ['14+66=80']
Exploring Operation: 80/5=16, Resulting Numbers: [23, 16]
Generated Node #0,1,0: 92:[23, 16] Operation: 80/5=16
Exploring Operation: 5+80=85, Resulting Numbers: [23, 85]
Generated Node #0,1,1: 92:[23, 85] Operation: 5+80=85
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[23, 16], Operations: ['14+66=80', '80/5=16']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[23, 85], Operations: ['14+66=80', '5+80=85']
Exploring Operation: 23+85=108, Resulting Numbers: [108]
108,92 unequal: No Solution
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,92 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 |
[
49,
7,
89,
25
] | 58 | [
"49+7=56",
"89+25=114",
"114-56=58"
] | Current State: 58:[49, 7, 89, 25], Operations: []
Exploring Operation: 49+7=56, Resulting Numbers: [89, 25, 56]
Generated Node #2: [89, 25, 56] from Operation: 49+7=56
Current State: 58:[89, 25, 56], Operations: ['49+7=56']
Exploring Operation: 89+25=114, Resulting Numbers: [56, 114]
Generated Node #3: [56, 114] from Operation: 89+25=114
Current State: 58:[56, 114], Operations: ['49+7=56', '89+25=114']
Exploring Operation: 114-56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[49, 7, 89, 25], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [7, 25, 40]
Generated Node #0,0: 58:[7, 25, 40] Operation: 89-49=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[7, 25, 40], Operations: ['89-49=40']
Exploring Operation: 40-7=33, Resulting Numbers: [25, 33]
Generated Node #0,0,0: 58:[25, 33] Operation: 40-7=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[25, 33], Operations: ['89-49=40', '40-7=33']
Exploring Operation: 25+33=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[49, 7, 89, 25], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [7, 25, 40]
Generated Node #0,0: 58:[7, 25, 40] Operation: 89-49=40
Moving to Node #0,0
Current State: 58:[7, 25, 40], Operations: ['89-49=40']
Exploring Operation: 40-7=33, Resulting Numbers: [25, 33]
Generated Node #0,0,0: 58:[25, 33] Operation: 40-7=33
Moving to Node #0,0,0
Current State: 58:[25, 33], Operations: ['89-49=40', '40-7=33']
Exploring Operation: 25+33=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
98,
9,
6,
18
] | 77 | [
"98-9=89",
"18-6=12",
"89-12=77"
] | Current State: 77:[98, 9, 6, 18], Operations: []
Exploring Operation: 98-9=89, Resulting Numbers: [6, 18, 89]
Generated Node #2: [6, 18, 89] from Operation: 98-9=89
Current State: 77:[6, 18, 89], Operations: ['98-9=89']
Exploring Operation: 18-6=12, Resulting Numbers: [89, 12]
Generated Node #3: [89, 12] from Operation: 18-6=12
Current State: 77:[89, 12], Operations: ['98-9=89', '18-6=12']
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[98, 9, 6, 18], Operations: []
Exploring Operation: 18-6=12, Resulting Numbers: [98, 9, 12]
Generated Node #0,0: 77:[98, 9, 12] Operation: 18-6=12
Exploring Operation: 98-18=80, Resulting Numbers: [9, 6, 80]
Generated Node #0,1: 77:[9, 6, 80] Operation: 98-18=80
Exploring Operation: 98-9=89, Resulting Numbers: [6, 18, 89]
Generated Node #0,2: 77:[6, 18, 89] Operation: 98-9=89
Exploring Operation: 98-6=92, Resulting Numbers: [9, 18, 92]
Generated Node #0,3: 77:[9, 18, 92] Operation: 98-6=92
Exploring Operation: 18-9=9, Resulting Numbers: [98, 6, 9]
Generated Node #0,4: 77:[98, 6, 9] Operation: 18-9=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[9, 6, 80], Operations: ['98-18=80']
Exploring Operation: 6+80=86, Resulting Numbers: [9, 86]
Generated Node #0,1,0: 77:[9, 86] Operation: 6+80=86
Exploring Operation: 80-9=71, Resulting Numbers: [6, 71]
Generated Node #0,1,1: 77:[6, 71] Operation: 80-9=71
Exploring Operation: 80-6=74, Resulting Numbers: [9, 74]
Generated Node #0,1,2: 77:[9, 74] Operation: 80-6=74
Exploring Operation: 9-6=3, Resulting Numbers: [80, 3]
Generated Node #0,1,3: 77:[80, 3] Operation: 9-6=3
Exploring Operation: 9+6=15, Resulting Numbers: [80, 15]
Generated Node #0,1,4: 77:[80, 15] Operation: 9+6=15
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[9, 74], Operations: ['98-18=80', '80-6=74']
Exploring Operation: 9*74=666, Resulting Numbers: [666]
666,77 unequal: No Solution
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,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,1
Current State: 77:[6, 71], Operations: ['98-18=80', '80-9=71']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,77 unequal: No Solution
Exploring Operation: 6*71=426, Resulting Numbers: [426]
426,77 unequal: No Solution
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[98, 9, 6, 18], Operations: []
Exploring Operation: 98-18=80, Resulting Numbers: [9, 6, 80]
Generated Node #0,1: 77:[9, 6, 80] Operation: 98-18=80
Moving to Node #0,1
Current State: 77:[9, 6, 80], Operations: ['98-18=80']
Exploring Operation: 80-9=71, Resulting Numbers: [6, 71]
Generated Node #0,1,1: 77:[6, 71] Operation: 80-9=71
Moving to Node #0,1,1
Current State: 77:[6, 71], Operations: ['98-18=80', '80-9=71']
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.