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
Let the number be 10Y+X
(10Y+X)/2 = (10X+Y)/3+6
(10Y+X)(1/2-1/3) = 6
10Y+X = 36
Therefore, sum of the digits = 3+6 = 9
Ans: 9
The answer is depend on the distance between Mysore &
Bangalore which is not given in the question.Bird
travel=Distance/35*25km
8 is the answer
b’coz no two have the same age
8+6+5+4+3=26
270
0
121
Urinary Tract Infection
I’m interested in this job because I can see that, in this role, my skills could help solve this problem within your company. I also see an opportunity for me to learn and grow these skills, so we both would benefit personally, professionally, and financially.
(c)UW
3:7
Take one fruit from box with label mixture. If we see
orange, because the basket lies (it cant have a mixture),
then it has only oranges. The other 2 are labeled apples and
oranges. The one labeled apples,
cannot have oranges inside, cos they are allready been
identified, and because it lies, it cannot have apples either.
So it has a mixture. And we are left with the one labeled
oranges that lies and has apples.
C