Generalization of Spivey's recurrence relation | Synapse