A, b
2 urns, 9 balls.
4(2)+1=9 and 3(2)+3=9
You can’t put 4 balls in each of 7 urns with balls left over when 7*4=28. 28>24.
Answer is 400.(14^2=196, 16^2=256, 18^2=324, 20^2=400.)
Let the number of males be given the name M.
Let the number of females be given the name F.
If 15 females are absent, then M will be twice that of
present females.
This means that M = 2 * (F – 15)
M = 2 * F – 30.
or 2 * F – M = 30.
Now if in addition to the 15 females being absent, we also
have 45 males being absent,
then this gives the equation,
(F – 15) = 5 * (M – 45)
which simplifies to
F – 15 = 5 * M – 225
5 * M – F = 210
Pulling the equations together, we get
5 * M – F = 210
-M + 2 * F = 30
Multiply the first equation by 2, and keep the second
equation as is.
10 * M – 2 * F = 420
– M + 2 * F = 30
Add the equations.
9 * M = 450
M = 50
Verify answer.
Calculate F
from – M + 2 * F = 30
-50 + 2 * F = 30
2 * F = 30 + 50
F = 40.
If 15 females are absent, then number of males will be twice
that of females.
40 – 15 = 25.
50 = 2 * 25. Confirmed.
If also 45 males were absent, then female strength would be
5 times that of males.
Female strength is 25 due to the 15 females being absent.
50 – 45 = 5.
25 = 5 * 5. Confirmed.
4
0
The queen gave two rings to two daughter’s and she kept the
third ring in her jewel box and she presented the ring to
her third daughter along with that jewel box.
28th February,1956
Length of train = 125Mtrs
Speed of man = 5Km/Hr
=(5*1000)/(1*3600)
=1.4M/s
Time taken for train to pass = 10s
Spd = D/T
Total Distance (Man distance+ Train Length)
#Distance covered by Man in 10s
D=Spd*T
= (1.4M/s*10s)
= 14Mtrs
#Train length = 125Mtrs
Total D = 14Mtrs + 125Mtrs
= 139Mtrs
Time taken = 10s
Sp = D/t
=139M/10s
=13.9M/s
if rs 12 and rs 15 per meter then 750*12+750*15
Answer: 3121 gold coins
Let total no of coins be M
Let the disbursement D to each son:
D1 = 1 + (M – 1)/5 = (M + 4)/5
D2 = 1 + ( M – D1 -1)/5 = (D1) * 4/5
D3= (D2) * 4/5
D4= (D3) * 4/5
D5= (D4) * 4/5
Total disbursements to sons=
= ∑D= (M+4)*1/5[ 1+4/5+(4/5)(4/5)+ (4/5)(4/5)(4/5)+(4/5)(4/5)(4/5)(4/5) ]
= (2101/3125)*(M+4)
Thus balance left for daughters =M-{(2101/3125)*(M+4)}
=(1024M-8404)/3125
This balance should be a positive integer ( assuming M and all disbursements are full coins )
Thus 1024M-8404 should be a multiple of 3125….so….
1024M – 8404 = N*3125 where N is an integer
Using Python code:
n=int(input(“Enter num n: “))
X=int()
a=int()
a=0
X=’ ‘
for a in range(0,n+1):
a=a+1
X= (3125*a + 8404)/1024
if (3125*a + 8404)% 1024== 0:
print(X,a)
Enter num n: 10000
3121.0 1020
6246.0 2044
9371.0 3068
12496.0 4092
15621.0 5116
18746.0 6140
21871.0 7164
24996.0 8188
28121.0 9212
We get minimum value of N = 1021 and M = 3121 gold coins
1:2:3 or 1:2:4
390