All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
How many children? (Posted on 2013-09-02) Difficulty: 2 of 5
  1. Ben’s oldest son was a twin.
  2. All of Ben’s children were twins except for 41 of them.
  3. All of Ben’s children were triplets except for 41 of them.
  4. All of Ben’s children were quadruplets except for 41 of them.
How many children did Ben have?

*** Counting triplets as twins or, quadruplets as triplets is not permissible.

See The Solution Submitted by K Sengupta    
Rating: 2.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution | Comment 4 of 6 |

FOR sing = 0 TO 41
FOR twinsets = 0 TO 25
FOR tripsets = 0 TO 25
FOR quadsets = 0 TO 25
  kids = 2 * twinsets + 3 * tripsets + 4 * quadsets + sing
  nontwin = kids - twinsets * 2
  nontrip = kids - tripsets * 3
  nonquad = kids - quadsets * 4
  IF nontwin = 41 AND nontrip = 41 AND nonquad = 41 THEN
    PRINT sing; twinsets; tripsets; quadsets, kids
  END IF
NEXT
NEXT
NEXT
NEXT

finds

 17  6  4  3   53
 41  0  0  0   41
 
for the number of single births, sets of twins, sets of triplets, sets of quadrupleds, and the consequent total number of children.

Statement 1 requires that there be at least one set of twins, to the top line is the solution: there are 53 children all together: 17 singletons, 6 pairs of twins, 4 sets of triplets and 3 sets of quadruplets.


  Posted by Charlie on 2013-09-02 14:20:54
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (14)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information