There are several formulas related to R(q) and f(-q) in terms of infinite products.

and

where
![]()
We have another pairs. They are

and

We also expand these infinite products parts by the following formula
(regular expression)
for
in special form