An unexpected fluctuating reactivity for odd and even carbon numbers in the TiO2-based photocatalytic decarboxylation of C2-C6 dicarboxylic acids.