Difference between revisions of "SANSKAR'S OG PROBLEMS"
(→Solution 3 (Official and Fastest)) |
m |
||
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Hi, this page is created by ...~ SANSGANKRSNGUPTA This page contains exclusive problems made by me myself. I am the creator of these OG problems. What OG stands for is a secret! Please post your solutions with your name. I will release the Official solutions(can be one or more) by me after the problem has been solved. | Hi, this page is created by ...~ SANSGANKRSNGUPTA This page contains exclusive problems made by me myself. I am the creator of these OG problems. What OG stands for is a secret! Please post your solutions with your name. I will release the Official solutions(can be one or more) by me after the problem has been solved. | ||
If you view this page please increment the below number by one: | If you view this page please increment the below number by one: | ||
− | <math> | + | <math>03</math> |
==Problem 1== | ==Problem 1== | ||
Let <math>\overline{ab}</math> be a 2-digit [[positive integer]] satisfying <math>\overline{ab}^2=a! +b!</math>. Find <math>a+b</math> . | Let <math>\overline{ab}</math> be a 2-digit [[positive integer]] satisfying <math>\overline{ab}^2=a! +b!</math>. Find <math>a+b</math> . | ||
− | ==Solution 1 (Casework)== | + | ==Solution 1 (Tedious Casework)== |
'''Case 1: <math>a>b</math>''' | '''Case 1: <math>a>b</math>''' | ||
Line 119: | Line 119: | ||
Testing cases, we can see that there is no such <math>b</math>. | Testing cases, we can see that there is no such <math>b</math>. | ||
− | We see that <math>(a,b)=(7,1) | + | We see that <math>(a,b)=(7,1) \implies a+b=\boxed{008}</math>. <math>\blacksquare</math> ~[[Ddk001]] |
+ | |||
==Solution 2 (Official)== | ==Solution 2 (Official)== | ||
Line 159: | Line 160: | ||
Hence, one of <math>a</math> and <math>b</math> is greater than or equal to 5 and the other is less than 5. Also, RHS is a perfect square, so it must be 0 or 1 <math>(mod 4)</math> | Hence, one of <math>a</math> and <math>b</math> is greater than or equal to 5 and the other is less than 5. Also, RHS is a perfect square, so it must be 0 or 1 <math>(mod 4)</math> | ||
− | Hence the number less than 5 can be either 1 or 4 because 2! and 3! are 2 <math>(mod 4)</math> | + | Hence the number less than 5 can be either 0, 1, or 4 because 2! and 3! are 2 <math>(mod 4)</math> |
+ | If it is 0, then the unit digit of RHS is 1 meaning <math>b</math> is 1 or 9 both of which aren't possible as 9>7 and the number less than 5 is 0, not 1. | ||
If it is 4, then the unit digit of RHS is 4 meaning <math>b</math> is either 2 or 8 both of which aren't possible as 8>7 and the number less than 5 is 4 not 2. | If it is 4, then the unit digit of RHS is 4 meaning <math>b</math> is either 2 or 8 both of which aren't possible as 8>7 and the number less than 5 is 4 not 2. | ||
Line 182: | Line 184: | ||
==Problem 4== | ==Problem 4== | ||
Find all [[natural numbers]] such that their square is the sum of the factorials of their digits. (Advanced version of Problem 1) | Find all [[natural numbers]] such that their square is the sum of the factorials of their digits. (Advanced version of Problem 1) | ||
+ | ==Problem 5== | ||
+ | Define the following [[function]] on <math>\mathbb{Z}</math>: <cmath>f(n)=\begin{cases} n+1 & 2\nmid n, \\ \frac{n}{2} & 2\mid n.\end{cases}</cmath>. | ||
+ | |||
+ | Sanskar says that, for any [[positive integer]] <math>n</math>, the sequence <math>\{n,f(n),f(f(n)),f(f(f(n))),\ldots\}</math> is eventually in constant loop(i.e. after a term all the next terms in the sequence are repeating in a certain period ) Is Sanskar right? Justify your answer with proof. | ||
+ | |||
+ | ==Solution1( Using strong induction and Fastest)== | ||
+ | For any positive integer <math>n</math>, the second or third number in the sequence will always be less than <math>n</math>. | ||
+ | Let us assume that every positive integer in <math>[1,k]</math> will reach <math>1</math> in its sequence. | ||
+ | The number <math>k+1</math> will reach a number less than it , that is some positive integer in <math>[1,k]</math> and every positive integer in <math>[1,k]</math> will reach <math>1</math>. Therefore, <math>k+1</math> will also reach <math>1</math>. | ||
+ | This is true for <math>k=2</math>, therefore for k=3,... | ||
+ | If <math>k=1</math>, the sequence has already reached <math>1</math>. | ||
+ | Therefore all positive integers <math>n</math> will reach <math>1</math>. | ||
+ | After reaching <math>1</math> , the next number will be <math>f(1)=2</math> and the next <math>=f(2)=1</math> | ||
+ | Therefore the sequence will finally be <math>1,2,1,2,...</math> | ||
+ | Therefore Sanskar is right. ~ mathenthusiast73 | ||
+ | |||
+ | ==Problem 6== | ||
+ | Find all [[integers]] <math>x</math> such that <math>{x}^{11}</math>+<math>{x}^{10}</math>+1 is a [[prime]]. | ||
+ | ==Problem 7== | ||
+ | Consider a grid(<math>n \times n</math>) of evenly spaced points for <math>n\geq 3</math>. Let <math>f(n)</math> denote the maximum number <math>r</math> such that the <math>r</math> points can be colored in such a way that no 4 of them are concyclic. (i.e no 4 of the points lie on a circle).\\ | ||
+ | Find <math>f(3)+f(4)+\dots+f(11)</math>. |
Latest revision as of 11:04, 27 June 2024
Hi, this page is created by ...~ SANSGANKRSNGUPTA This page contains exclusive problems made by me myself. I am the creator of these OG problems. What OG stands for is a secret! Please post your solutions with your name. I will release the Official solutions(can be one or more) by me after the problem has been solved. If you view this page please increment the below number by one:
Contents
Problem 1
Let be a 2-digit positive integer satisfying . Find .
Solution 1 (Tedious Casework)
Case 1:
In this case, we have
.
If , we must have
, but this contradicts the original assumption of , so hence we must have .
With this in mind, we consider the unit digit of .
Subcase 1.1:
In this case, we have that
.
There is no apparent contradiction here, so we leave this as it is.
Subcase 1.2:
In this case, we have that
.
This contradicts with the fact that , so this is impossible.
Subcase 1.3:
In this case, we have that
.
However, this is impossible for all .
Subcase 1.4:
In this case, we have that
.
Again, this yields , which, again, contradicts .
Hence, we must have .
Now, with determined by modular arithmetic, we actually plug in the values.
To simplify future calculations, note that
.
For , this does not hold.
For , this does not hold.
For , this does hold. Hence, is a solution.
For , this does not hold.
For , this does not hold.
Hence, there is no positive integers and between and inclusive such that .
Case 2:
For this case, we must have
which is impossible if a is a integer and .
Case 3:
In this case, we have
.
If , we must have
which is impossible since and .
Hence, .
Subcase 3.1:
Testing cases, we can see that there is no such .
Subcase 3.2:
Testing cases, we can see that there is no such .
Subcase 3.3:
Testing cases, we can see that there is no such .
Subcase 3.4:
Testing cases, we can see that there is no such .
We see that . ~Ddk001
Solution 2 (Official)
cleary square of a positive double-digit integer is either 3-digit or 4-digit as it ranges between and .
This means both and are less than or equal to 7 as any greater than 7! exceeds 9999.
Now at least one of or must be greater than or equal to 5 or else the maximum possible value of LHS is 4!+4!=48<100 also, both and can't be greater than or equal to 5 as if they were so. The unit digit of LHS would be zero but the unit digit of RHS would be either 5,6 or 9.
Hence, one of and is greater than or equal to 5 and the other is less than 5. this means the unit digit of RHS is the unit digit of a factorial which is less than 5.
Hence unit digit of RHS is 0,1,2, 6 or 4. 0,2,4 and 6 are rejected as follows:-
1. 2 can't be the unit digit of a perfect square.
2. If 6 is the unit digit of OF LHS this means one of the numbers is 3( as only 3! has the unit digit 6) and also this would mean that is either 4 or 6. This directly means that 36 and 34 are the only cases to be tested. 34 can't be as both the digits are less than 5 and 36 clearly doesn't satisfy
3. If 0 is the unit digit of LHS then 50 60 70 are the only cases (as one of the digits is greater than or equal to 5) that don't satisfy
4. If 4 is the unit digit of LHS this means one of the numbers is 4( as only 4! has the unit digit 4) and also this would mean that is either 2 or 8. This directly means that 42 and 48 are the only cases to be tested. 42 can't be as both the digits are less than 5 and 48 can't also as one of the digits is 8
Hence, the unit digit of LHS must be 1 for which =1 or 9(rejected). This means 51 61 and 71 are the only cases to be tried now which is really very easy to calculate and get 71 as the only possible solution to the problem and
thus, our answer is 7+1=.~ SANSGANKRSNGUPTA
Solution 3 (Official and Fastest)
cleary square of a positive double-digit integer is either 3-digit or 4-digit as it ranges between and .
This means both and are less than or equal to 7 as any greater than 7! exceeds 9999.
Now at least one of or must be greater than or equal to 5 or else the maximum possible value of LHS is 4!+4!=48<100 also, both and can't be greater than or equal to 5 as if they were so. The unit digit of LHS would be zero but the unit digit of RHS would be either 5,6 or 9.
Hence, one of and is greater than or equal to 5 and the other is less than 5. Also, RHS is a perfect square, so it must be 0 or 1
Hence the number less than 5 can be either 0, 1, or 4 because 2! and 3! are 2 If it is 0, then the unit digit of RHS is 1 meaning is 1 or 9 both of which aren't possible as 9>7 and the number less than 5 is 0, not 1.
If it is 4, then the unit digit of RHS is 4 meaning is either 2 or 8 both of which aren't possible as 8>7 and the number less than 5 is 4 not 2.
If it is 1 then the unit digit of RHS is 1 implying is either 9(rejected 9>7) or 1. This means is 1, this means 51 61 and 71 are the only cases to be tried
which is very easy to calculate and get 71 as the only possible solution to the problem and
thus, our answer is 7+1=.~ SANSGANKRSNGUPTA
Problem 2
For any positive integer , >1 can be a perfect square? If yes, give one such . If no, then prove it.
Problem 3
Let be a positive integer in 10 such that the last 3 digits of any positive integral power of are the same.
Find the sum of all possible values of the last 3 digits of .
Problem 4
Find all natural numbers such that their square is the sum of the factorials of their digits. (Advanced version of Problem 1)
Problem 5
Define the following function on : .
Sanskar says that, for any positive integer , the sequence is eventually in constant loop(i.e. after a term all the next terms in the sequence are repeating in a certain period ) Is Sanskar right? Justify your answer with proof.
Solution1( Using strong induction and Fastest)
For any positive integer , the second or third number in the sequence will always be less than . Let us assume that every positive integer in will reach in its sequence. The number will reach a number less than it , that is some positive integer in and every positive integer in will reach . Therefore, will also reach . This is true for , therefore for k=3,... If , the sequence has already reached . Therefore all positive integers will reach . After reaching , the next number will be and the next Therefore the sequence will finally be Therefore Sanskar is right. ~ mathenthusiast73
Problem 6
Find all integers such that ++1 is a prime.
Problem 7
Consider a grid() of evenly spaced points for . Let denote the maximum number such that the points can be colored in such a way that no 4 of them are concyclic. (i.e no 4 of the points lie on a circle).\\ Find .