# A Father, son and grandson are walking in the park. A man approaches them and asks for their age. The Father replies, "My son is as many weeks as my grandson is in days, and my grandson is as many months old as I am in years. We are all 100 years together.

60,35,5
This question is related to Sonata Interview

#### sangeeta

• Jul 24th, 2006

The detail solution to this question is like this.

Let's Say father's age in year is Y yr.Son's age in weeks is  x week,which if converted to year is 7x/365yr.Now as per the question,

The Father replies, "My son is as many weeks as my grandson is in days

so grandson's age in days is X days.,which if converted to year is x/365 yr.

So 1st equation: y+7x/365+x/365 = 100....................(1)

Father says My grandson is as many months old as I am in years.

means,grandson is y months old,b'coz father is y yrs old.So equating grandson's age in days(x days) from above statement with his age in months (y month),both converted in years, gives us

x/365 = y/12.......................(2)

solving these two equations gives y=60 in years,that is father' age.grandson is as many months old as father is in years.So grandson's age is 60 months,i.e 5yrs,which converted to days is 1825 days.As son's age is as many weeks as grandson's age is in days.So son's age is 1825 weeks,that is converted in yrs is 1825*7/365=35yrs.

father     60yrs

son         35yrs

Grandson  5yrs

#### sampaths Profile Answers by sampaths

• Mar 20th, 2009

Let grandson age be x then age of son is 7x and age of the man is 12x
(12+7+1)x=100
x=5
7x=35
12x=60
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "http://www.geekinterview.com/question_details/29175", "fetch_time": 1579782523000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2020-05/segments/1579250610004.56/warc/CC-MAIN-20200123101110-20200123130110-00297.warc.gz", "warc_record_offset": 213238550, "warc_record_length": 19427, "token_count": 473, "char_count": 1584, "score": 4.34375, "int_score": 4, "crawl": "CC-MAIN-2020-05", "snapshot_type": "longest", "language": "en", "language_score": 0.9520527720451355, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00000-of-00064.parquet"}