[S:1]1[C:5]([C:6](=[O:8])[CH3:7])=[CH:4][C:3]2[CH:9]=[CH:10][CH:11]=[CH:12][C:2]1=2.CO[CH:15](OC)[N:16]([CH3:18])[CH3:17]>>[S:1]1[C:5]([C:6](=[O:8])/[CH:7]=[CH:15]/[N:16]([CH3:18])[CH3:17])=[CH:4][C:3]2[CH:9]=[CH:10][CH:11]=[CH:12][C:2]1=2A solution of 1-(benzo[b]thiophen-2-yl)ethanone (1 g) in dimethoxy-N,N-dimethyl-methanamine (10 mL) was refluxed for 6 h and then cooled to rt. The precipitate was filtered and washed with diethyl ether to afford the title compound (1.1 g, 84%).