A circle is inscribed into a square with side A, a square is inscribed into the circle, a circle is inscribed into this square, which again inscribes the square, etc. Find the sum:
1) the perimeter of all the squares; 2) the area of the squares; 3) the lengths of the circles; 4) the areas of the circles bounded by the given circles.