Ramanujan stated an identity to the effect that if three sequences {an}, {bn} and {cn} are defined by r1(x)=:∑n=0∞anxn, r2(x)=:∑n=0∞bnxn and r3(x)=:∑n=0∞cnxn (here each ri(x) is a certain rational function in x), then \[ a_n^3+b_n^3-c_n^3=(-1)^n, \hspace{25pt} \forall \,n \geq 0. \] Motivated by this amazing identity, we state and prove a more general identity involving eleven sequences, the new identity being "more general" in the sense that equality holds not just for the power 3 (as in Ramanujan's identity), but for each power j, 1≤j≤5.