I HAVE NO IDEA HOW TO DELETE A DOUBLE POST

SORRY

this is a famous problem, but i forgot who made it up

there was a rich man, writing his will. he didnt have any children yet, but wanted each child to have the following:

first son: 1 gold coin+ 1/7 of all wealth left

second son: 2 gold coins + 1/7 of whats left after 1st son took

third son: 3 gold coins + 1/7 of whats left after 2nd son took

and so on

how many sons did he have? and how much money did he have?