Saturday, March 18, 2023

2023/010) Given $2x = 3y-5$ find the value of $8x^3-27y^3+90xy +125$

 We have 

$2x = 3y-5$

Cubing both sides as in the required condition we have $8x^3$ and $27y^3$

We get $8x^3 = (3y-5)^3 = (3y)^3) - 5^3 -3(3y)5(3y-5)$ (using $(a -b)^3 = a^3- b^3 -3ab(a-b)$

or  $8x^3 = (3y-5)^3 = (3y)^3 - 5^3 -3(3y)*5 * 2x$ as $3y-5 = 2x$

or $8x^3 = 27y^3- 125 - 90xy$

or $8x^3-27y^3 + 90xy +125 = 0$

Thursday, March 16, 2023

2023/009) Find n such that $\lfloor \frac{n}{2} \rfloor + \lfloor \frac{n}{3} \rfloor + \lfloor \frac{n}{6} \rfloor = n$

We have $\lfloor x \rfloor \le x$ and equal ony of x is integer 

so    $\lfloor \frac{n}{2} \rfloor + \lfloor \frac{n}{3} \rfloor  + \lfloor \frac{n}{6} \rfloor \le  \frac{n}{2}  + \frac{n}{3}+ \frac{n}{6} = n$ 

so  $\lfloor \frac{n}{2} \rfloor =  \frac{n}{2}$ 

 $\lfloor \frac{n}{3} \rfloor =  \frac{n}{3}$ 

 $\lfloor \frac{n}{6} \rfloor =  \frac{n}{6}$

the above is so because if any expression above is not true LHS is less that RHS in any of them shall make the sum < n

so  $\frac{n}{2}, \frac{n}{3} ,\frac{n}{6}$ all are ntegers of n is a multiple of 2,3 and 6 that is multiple of LCM(2,3,6) that s 6. so n is of the form 6k   

Monday, March 6, 2023

2023/008) find integer n such that $(n-1)! + 1 = n^2$

We have  $(n-1)! = n^2-1 = (n+1)(n-1)$

So n-1 =0 which gives LHS = 2 RHS = 1 which is contradiction 

Or $(n-2)! = n + 1$

Put n- 2 = k giving $k! =k + 3$

As LHS is divisible by so is RHS so k is a factor of 3 k = 1 or 3

k =1 gives n = 3 which is not a solution as it does not satisfy the criteria

k =3 gives n= 5 and as $4! + 1 = 25 = 5^2$ so n = 5 is a solution 

   

Sunday, March 5, 2023

2023/007) FInd integer n such that $n^2+ 19n = n!$

 n = 0 is not a solution so $n > 0$.

deviding both sides by n we get

$n + 19 = (n-1)!$

putting n = x+ 1 we get $x+20 = x!$

for this to be valud x is a factor of 20

so we check with 1 LHS = 21 and RHS = 1

x = 2 LHS = 22 RHS = 2 no

x = 4 LHS = 24 LHS = 24 so x = 4 is a solution

x = 5 LHS = 25 RHS = 125 not a solution

if we take x larger RHS grows larger as compared to LHS so no solution

so solution x = 4 or n = 5.



Sunday, February 19, 2023

2023/006) Find 2 digit numbers that have exactly 5 factors

 If the umber is of the form $\prod_{n=1}^{k}p_n^{q_n}$ then the number of factors = $\prod_{n=1}^{k}(q_n+1)$

Because 5 is prime the number must be of the form $p^4$ where p is prime

We have the number of digits =2 and we should find p such that $ 9 \lt p^4 \lt 100$

The only number that satsfies the condition is n = 2 and n is a prime and $2^4= 16$

So 16 is the only 2 digit number having 5 factors

 



Sunday, February 5, 2023

2023/005) What is the difference of numbers if the HCF of two numbers is 9 and their LCM is 270 if the sum of the numbers is 99?

HCF is 9 so the 2 numbers are 9x, 9y where HCF(x,y) = 1 and x and y >0 and without loss of generality let x > y

product of the 2 numbers are 9xy = 270

or $xy = 30\cdots(1)$

sum of the 2 numbers are 9(x+y) = 99 or $x + y = 11\cdots(2)

we have $(x-y)^2 = (x+y)^2 - 4 * xy = 11^2 - 120 = 1$

so $x - y = 1\cdots(3)$

so we get x = 6 and y = 5 and numbers are $54, 45$ 

2023/004) Solve in integers $4^x-5^y= 39$

we have $4^x = 2^{2x}$

now working in mod 3 we get $1-5^y \equiv 0 \pmod 3$

or $5^y \equiv 1 \pmod 3$

as we know $5 \equiv -1 \pmod 3$ so y has to be even say 2m

now $4^x - 5^y = 2^{2x} - 5^{2m} = 39$

Farctoring  we get $(2^x + 5^m)(2^x-5^m) = 39 = 39 *1 = 13 * 3$ (39 can be factored in 2 ways)

so we have 2 cases

$2^x+5^m= 39$ and $2^x - 5^m=1$ adding we get $2^x *2 = 40$ and this does not have integer

or 

$2^x+5^m= 13$ and $2^x - 5^m=3$ adding we get $2^x *2 = 16$ or x = 3 and subtracting $2 * 5^m = 10$ and m = 1

so x = 3 and y = 2