42 years old. According to Andrew Martin (Robin Williams) in the movie "Bicentennial Man", 42 years of age is the perfect age as one is sufficiently wise, educated, attractive, affluent, healthy and energetic, not too old and not too young. Hence Andrew modeled himself with that number of years.