General formulas for calculating the Wiener index (W)(2) and the hyper
-Wiener index (R)(3) in spiro-graphs containing three- to six-membered
rings are proposed. They are derived on the basis of Hosoya's formula
(4) and the Klein-Lukovitz-Gutman(5) formula for evaluating W and R, r
espectively, in cycle-containing graphs, by using the layer matrix of
cardinality (LC).(6) An extension of the Wiener number, the W, number
of Gutman(7) is also evaluated for these spiro-graphs.