[OH:1][C:2]([P:15](=[O:18])([OH:17])[OH:16])([P:11](=[O:14])([OH:13])[OH:12])[CH2:3][CH2:4][C:5]1[CH:6]=[N:7][CH:8]=[CH:9][CH:10]=1.I[CH3:20]>[OH-].[Na+].O.C(O)C>[OH-:1].[OH:1][C:2]([P:15]([OH:16])([OH:17])=[O:18])([P:11]([OH:12])([OH:13])=[O:14])[CH2:3][CH2:4][C:5]1[CH:6]=[N+:7]([CH3:20])[CH:8]=[CH:9][CH:10]=1[1-Hydroxy-3-(3-pyridinyl)propylidene]bis[phosphonic acid](3.37 mmol, 1.0 g) is dissolved in 8.4 ml of 1N NaOH solution with 29 ml of distilled water. Iodomethane (16.83 mmol, 1.05 ml) is added in 19 ml of ethanol. This reaction mixture is heated at 80° C. overnight. The solvent is evaporated in vacuo and the residue is triturated with acetone then recrystallized from ethanol and water to yield 0.5 g of 3-(3-hydroxy-3,3-diphosphono-propyl)-1-methyl pyridinium hydroxide, inner salt.