Number System - Questions & Discussions

kinji@PG Says
See Brij, use the Euler's theorem or if that doesn't work, Break the divisor into number of coprimes (preferrably two) and use Chinese remainder theorem.


brij: what kinji@PG says is perfectly right.....only that u cannot use euler here as 1990(denominator) and 2( the number whose power is being raised) are not coprimes....so break 1990=199*10( product of coprimes)

now 2^1990/(199*10)
consider: 2^1990/199 = remainder 29
consider 2^1990/10 = remainder 4

here say 199=a that gives remainder 29 and 10=b that gives remainder 4
so chinese says: remainder of 2^1990/ 199*10 = a(4)x+b(29)y where ax+by=1 i.e 199x+10y=1, we get x=-1,y=20

substituting , we get remainder is
199(4)(-1)+10(29)(20) = 5004
but since 5004 in greater than 1990, we divide it by 1990 to get the remainder we get 1024.
can some one tell to find the remainder when divisor is composite number like:
Find remainder when 2^1990 is divided by 1990 ?



2^1990 = (2^10)^199 = (1024)^199 = (1024)^196 * 1024^3

when we divide 1024 by 1990,rem comes 1024.hence again 1024^196 divide by 1990 rem come 1024 (cycliccity concept)

thus 1024 * 1024^3 = 1024^4

rem(1024^4)/1990 = 1024 ans.


when we divide 1024 by 1990,rem comes 1024.hence again 1024^196 divide by 1990 rem come 1024 (cycliccity concept)


hey Mr.Kool if possible can u explain in detail how do u get same remainder when 1024 and (1024)^196 divided by 1990.. Sorry i couldnt understand how to apply the cyclicity concept in this case..
:-(
hey Mr.Kool if possible can u explain in detail how do u get same remainder when 1024 and (1024)^196 divided by 1990.. Sorry i couldnt understand how to apply the cyclicity concept in this case..
:-(


I thiink it should be 1024^199

We know that (1024^199) = 1024(mod 199) ..Fermat's Little Theorem
Also (1024^199) = 4(mod 10)

N = 10k + 4 = 199n + 1024
k = 19n + 102 + (9n/10), k is integer for n = 0, 10, 20, ,,,
So, N is of form 1990m + 1024

Hence, remainder is 1024

The integers 1,2 ..... 40 are written on whiteboard. Following operation is repeated 39 times..
In each repetition,any two numbers, say 'A' and 'B', currently on whiteboard are erased and a new number A+B-1 is written. What will be the number left on the board at the end?
820
821
781
819
780

Vikrant

The integers 1,2 ..... 40 are written on whiteboard. Following operation is repeated 39 times..
In each repetition,any two numbers, say 'A' and 'B', currently on whiteboard are erased and a new number A+B-1 is written. What will be the number left on the board at the end?
820
821
781
819
780

Vikrant


In each operation the total sum reduces by 1, so in 39 operations thetotal sum will reduce by 39.

Number left on the board = (1 + 2 + 3 + .. + 40) - 39 = 40*41/2 - 39 = 781

hey ...
i have some queries....

1.LCM of first 100 natural numbers is N. What is the LCM of first 105 natural numbers?

2. In a particular country .all the numbers are represented by alphabets a,b,c.
15 is written as abc.
6 is written as bc.
60 is writtenas bcbc.

what wud be 17?

3. N is a 1001 digit number consisting of 1001 sevens. What is the remainder when N is divided by 1001?

4 .Suppose N is an integer such tha the sum of the digits of N is 2, and 10^9

hey ...
i have some queries....

1.LCM of first 100 natural numbers is N. What is the LCM of first 105 natural numbers?

2. In a particular country .all the numbers are represented by alphabets a,b,c.
15 is written as abc.
6 is written as bc.
60 is writtenas bcbc.

what wud be 17?

3. N is a 1001 digit number consisting of 1001 sevens. What is the remainder when N is divided by 1001?

4 .Suppose N is an integer such tha the sum of the digits of N is 2, and 10^9


1) Between 100 and 105, 101 and 103 are the 2 primes. So LCM of first 105 numbers will be 101*103N= 10403N.



4) 10 values. One will have first digit as 2 and rest 9 zeroes, other 9 will have first digit 1 and 1 in the remaining 9 slots.

n*101*103 will be lcm of first 105 numbers

hey ...
i have some queries....

1.LCM of first 100 natural numbers is N. What is the LCM of first 105 natural numbers?

2. In a particular country .all the numbers are represented by alphabets a,b,c.
15 is written as abc.
6 is written as bc.
60 is writtenas bcbc.

what wud be 17?

3. N is a 1001 digit number consisting of 1001 sevens. What is the remainder when N is divided by 1001?

4 .Suppose N is an integer such tha the sum of the digits of N is 2, and 10^9

3. Remainder is 776.

2. In a particular country .all the numbers are represented by alphabets a,b,c.
15 is written as abc.
6 is written as bc.
60 is writtenas bcbc.

what wud be 17?

3. N is a 1001 digit number consisting of 1001 sevens. What is the remainder when N is divided by 1001?

4 .Suppose N is an integer such tha the sum of the digits of N is 2, and 10^9

hw did u get 776???



4) 10 values. One will have first digit as 2 and rest 9 zeroes, other 9 will have first digit 1 and 1 in the remaining 9 slots.

Hey i couldn`t understand this problem. How u analysed and got this?
2. In a particular country .all the numbers are represented by alphabets a,b,c.
15 is written as abc.
6 is written as bc.
60 is writtenas bcbc.

what wud be 17?


Answer : abb

explanation :
15 - abc

6 - bc

therefore , 9 = base^2 , base = 3
15 = 120 a = 1; b = 2 ; c = 0
6 = 20 b = 2 ; c = 0

therefore 17 = 122 or abb

hey i didn't get dat....

17 would be abb

write all the numbers in base 3 ... beacuse there are 3 digits a,b,c

Hey i have a doubt,
If -4

therefore , 9 = base^2 , base = 3
15 = 120 a = 1; b = 2 ; c = 0
6 = 20 b = 2 ; c = 0


hw 15 is 120??

therefore , 9 = base^2 , base = 3
15 = 120 a = 1; b = 2 ; c = 0
6 = 20 b = 2 ; c = 0


hw 15 is 120??



15/3=> rem=0, quotient=5
5/3=> r=2, q=1
1/3=> r=1, q=0

so write reminder from bottom

so it is 120

i hope u get it.......
hey ...
i have some queries....

1.LCM of first 100 natural numbers is N. What is the LCM of first 105 natural numbers?

2. In a particular country .all the numbers are represented by alphabets a,b,c.
15 is written as abc.
6 is written as bc.
60 is writtenas bcbc.

what wud be 17?

3. N is a 1001 digit number consisting of 1001 sevens. What is the remainder when N is divided by 1001?

4 .Suppose N is an integer such tha the sum of the digits of N is 2, and 10^9
3) we can write 777777......1001times/7*143

=> 11111111.......1001 times/143

=> 1/143 => rem=1
=> 11/143=> rem=11
111/143=> r=111
1111/143=>r=110
11111/143=> r= 100
111111/143=>r=0

thus for every 6th r= 0
1001/6=> r=5
thus Rem=100,
now 100*7=700

hope u get..


correct me if i am wrong...
therefore , 9 = base^2 , base = 3
15 = 120 a = 1; b = 2 ; c = 0
6 = 20 b = 2 ; c = 0


hw 15 is 120??


Its back to basics

I will try to exp base system

15= 1 x 3^2 + 2 x 3 +0 x 3^0

= 120

6 =2 x 3 +0 x 3^0

=20

60 = 2 x 3^3 + 0 x 3^2 + 2 x 3 + 0 x 3^0

= 2020

We usually operate with base 10

the same 15 = 1 x 10 + 5 x 10^0

= 15

6 = 6 x 10^0

= 6
hope that helps