Abstract. If G is a graph, then its Pk-path graph, Pk(G), has vertex set identical with the set of paths of length k in G, with two vertices adjacent in Pk(G) if and only if the coresponding paths are "consecutive" in G.

By L(G) we denote a line graph of G. We set L0(G)=G. For i>0 the i-iterated line graph of G is Li(G)=L(Li-1(G)).

We present algorithms, which allow us to compute independence numbers of P2-path graphs and P3-path graphs of special graphs. As P2(G) and P3(G) are subgraphs of iterated line graphs L2(G) and L3(G), respectively, we compare our results with the independence numbers of corresponding iterated line graphs.