f ( R )-gravity from Killing tensors | Synapse