Saturday, June 28, 2025

2025/016) For a prime $p >4$, how do you prove that $3^p-2^p \equiv 1 \pmod {42}$

 We have $ 42 = 2 * 3 * 7$

We need to show that $3^p-2^p=1   \pmod {2}\cdots(1)$

$3^p-2^p=1   \pmod {3}\cdots(2)$

and  $3^p-2^p=1   \pmod {7}\cdots(3)$ 

As $3^p$ is odd for any p and and $2^p$ us even we get

$3^p-2^p=1   \pmod {2}$

this is we have proved (1) 

 now p is odd so we have

$3^p$ is divisible by 3.

or $3^p \equiv 1 \pmod 3\cdots(4)$  

now let us look as $2^p$ we have as p is odd so p = 2k+1

$2^p = 2^{2k+1} = 4^k * 2$

so $2^p \equiv 2 \pmod 3\cdots(5)$

From (4) and (5) we have

$3^p- 2^p \equiv 1 \pmod 3$

We have proved (2)

Now we need to check for mod 7

as p is greater that 4 and a prime p is of the form 6k+1 or 6k + 5

Let us take the 2 cases 6k+ 1 and 6k-+ 5

first 6k+ 1

as 7 is co-prime to 3 and 7 we have as per Fermats Little Theorem 

$3^6 \equiv 1 \pmod 7$

so $3^{6k+1} = (3^6)^k .3 = 3 \equiv 3 \pmod 7$

 Simlilarly 

$2^6 \equiv 1 \pmod 7$

so $2^{6k+1} = (2^6)^k .3 = 2 \equiv 2 \pmod 7$

Or $3^p-2^p \equiv 1 \pmod 7$ 

So we have proved (3) for p = 6k+ 1

 Next t 6k+ 4

as 7 is co-prime to 3 and 7 we have as per Fermats Little Theorem 

$3^6 \equiv 1 \pmod 7$

so $3^{6k+5} = (3^6)^k 243 = 243 \equiv 3 \pmod 7$

 Simlilarly 

$2^6 \equiv 1 \pmod 7$

so $2^{6k+5} = (2^6)^k .32 = 32 \equiv 2 \pmod 7$

Or $3^p-2^p \equiv 221 \pmod 7$

Or   $3^p-2^p \equiv 1 \pmod 7$

So we have proved (3) for p = 6k+ 5

 We have proved (3) for both cases

as (1) (2) (3) all are proved hence Proved  

  

 

 

Monday, June 23, 2025

2025/015) Prove $4^{2n}+10n \equiv 1 \pmod {25}$

 We shall prove if by binomial expansion

we have $4^{2n}$

$= (5-1)^{2n}$

 $ = \sum_{k=0}^{2n}{2n \choose k}5^{2n-2}(-1)^{k}$

$ = \sum_{k=0}^{2n-2}{2n \choose k}5^{2n-2}(-1)^k -  {2n \choose 2n-1}*5 + 1$ separating last 2 terms

1st sum each term is divisible by $5^2$ that is 25

so we are left with 

  $4^{2n} \equiv  - 10n +1  \pmod {25}$

or  

   $4^{2n}+10n \equiv 1 \pmod {25}$ 

Saturday, April 5, 2025

2025/014) Show that there are infinitely many positive integers which cannot be expressed as the sum of squares.

we have $n^2 \equiv 0/1 \pmod 4$

So $m^2 + n^2 \equiv 0/1/2 \mod 4$

So any number of  of the form 4k + 3 cannot be expressed as sum of 2 squares

There are infinitely many of them 

Hence proved

2025/013) Prove that for every $n \in N$ the following proposition holds: $7|3^n + n^ 3$ if and only if $7 |3^nn^ 3 + 1$

Now 7 cannot be multiple of 7 because in that case 7 cannot be factor of either of them

Because 7 is prime so using Fermat's little theorem we have  

$n^6-1=0$

or $n^6 \equiv 1 \pmod 7\cdots(1)$

Now let $7| 3^n + n^3$

So multiplying  by n^3 we get

 $7| 3^nn^3 + n^6$

Or  $7 | 3^n n^3+1$

Similaly we can prove the only if part 

Saturday, February 22, 2025

2015/012) Solve in integers $2^x + 1 = y^2$

 We have $2^x = y^2- 1 = (y+1)(y-1)$

As product of y+1 and y-1 is a power of 2 so both are power of 2.

y+1 and y-1 one of them is divisible by and another by 2.

If y-1 is divisible by 4 then $y+1 = 4k+2( k \ge 1)$  for some k and it has an odd factor 2k+1. this is a contradiction as it should not have any factor other than 2

If y +1 is divisible by 4 then y+1 has to be 4 as any other factor will be power of 2 or odd or combination and this is contradiction

So y+1 = 4 and hence putting in given equation x = 3.

So we have $x=3,y=3$

 

Sunday, February 9, 2025

2015/011) Prove that $\frac{1}{a_1} + \frac{1}{a_2} + \frac{1}{a_3} + \frac{1}{a_4} + \frac{1}{a_5} + \frac{1}{a_6} = 1$ then at least of of $a_1,a_2,a_3,a_4,a_5,a_6$ is even

 We have

$\frac{1}{a_1} + \frac{1}{a_2}  + \frac{1}{a_3}  + \frac{1}{a_4}  + \frac{1}{a_5}  + \frac{1}{a_6}=$

$\dfrac{a_2a_3a_4a_5a_6+a_1a_3a_4a_5a_6+a_1a_2a_4a_5a_6+a_1a_2a_3a_5a_6+a_2a_2a_3a_4a_6+a_2a_3a_3a_4a_5}{a_1a_2a_3a_4a_5a_6}$

let us assume that $a_1,a_2,a_3,a_4,a_5,a_6$ each is odd 

The numerator each term is odd(being product of 5 odd numbers) and there are even number of numbers so numerator is even and denominator is odd so the value cannot be 1.

So at least one of them has to be has to be even. 


Saturday, February 8, 2025

2025/010) What should be the middle number if the L.C.M. of 3 consecutive even numbers is 4896?

 Let us factor $4896 = 48 * 102 = 2^5 * 3^2 * 17$

Because LCM is 4896 any one of the numbers should be multiple of $q^5=32$ one should be multiple of $17$ and one must be a multiple of $3^2=9$ and it must be remembered that  one number may satisfy one or more criteria. And no number can have a factor other than 2 , 3, of 147 7 and any power of these 3 more than as specified above

Let us try with $2^5$ or 32 say a

If 32 is there it has to be first number as 30 cannot there ( 5 is a factor)

So let us consider $32,34,36$. 34 is multiple of 17 and 36 is multiple of 9.

Le us take valid multiple of 32 that is $32 * 3$ 2 adjacent numbers are 94 and 98 not permissible as 94 has a factor  47 and 98 has factor 7

similarly we can rule out others

So the 3 numbers are $32,34,36$ and middle number is 34.