Refer to pattern of A267489, The total number of isolated 1's is a(n) and A112421 when consider at the boundary between n-th and (n-1)-th iterations and at the boundary in the same iterations concatenate on horizontal respectively. See illustrations in the links.