organic compounds
In the crystal structures of the title compounds, C12H12N42+·2BF4-, (I), and C12H11N4+·ClO4-, (II), respectively, infinite two- and one-dimensional architectures are built up via N-HF [in (I)] and conventional N-HN [in (II)] hydrogen bonding. The N-N single bond in (I) lies on a crystallographic centre of symmetry; as a result, the two pyridinium rings are parallel. In (II), the pyridinium and pyridyl ring planes are inclined with a dihedral angle of 14.45 (3)°.