Some formulas related to the Rogers-Ramanujan identities