[Br:1][C:2]1[CH:7]=[CH:6][C:5]([CH:8]=[O:9])=[CH:4][N:3]=1.O.[C:11]1(C)C=CC(S(O)(=O)=O)=CC=1.[C:22](=[O:25])(O)[O-].[Na+]>CO>[Br:1][C:2]1[CH:7]=[CH:6][C:5]([CH:8]([O:25][CH3:22])[O:9][CH3:11])=[CH:4][N:3]=1To a solution of 2-bromo-5-pyridinecarboxaldehyde (1.02 g, 5.48 mmol) in methanol (100 mL) was added p-toluenesulfonic acid hydrate (1.05 g, 5.53 mmol), and the mixture was heated at reflux for 1.5 h. Diluted aqueous sodium bicarbonate was added, and the mixture was extracted with ethyl acetate twice. The organic layer was washed with brine and dried on anhydrous sodium sulfate. The solvent was evaporated under reduced pressure to afford 2-bromo-5-dimethoxymethylpyridine (1.19 g, 94%) as an oil.