A woman noticed that her age and her child's age are both prime numbers and that the sum of their ages is a perfect square. How unusual she thought. Then she realised that this will occur again in the future - two times in fact (if they both live to a very ripe old age). How old are they?