The spec sheets at
AEHS Home list the following variants:
R-1820-51: YB-17A, B-17B, B-17C, B-17D
R-1820-65: B-17C, B-17D, B-17E, B-17F, B-17G
R-1820-91: B-17E
R-1820-93: B-17H
R-1820-97: B-17F, B-17G, B-17H
Designations such as R-1820-G2 are the manufacturer's series, not the military one. The R-1820-97 was the Wright R-1820-G666A, for example.