44 Replies
@Apu
Note for OP
+solved @user1 @user2...
to close the thread when your doubt is solved. Mention the users who helped you solve the doubt. This will be added to their stats.is the answer 2994??
hope the solution is understandable

Yo I have a goated solution for this
And for these kinda problems
If you are familiar with number bases (like conversion to binary and stuff)
isnt it 2997?
cuz u have 42920 and 42922 as the 2995th and 2996th resp
ohh yes yes
forgot about those π
Nmod2 or Nmod10 sumn that stuff?
No like conversion from decimal to binary kinda thing
Serial number would be 2998?
'Cuz you would also have to add 1?
Idk I'm too lazy to check calcs, but a simple way is to in this case convert the number to base 6
but isnt 42923 the 2997th one
like this is after adding 1

Yeah maybe I messed up my calculations π
If you are familiar with this method you just need to do $(31512){6}-(10,000){6}+1$ which saves you a lot of time
SirLancelotDuLac

oh cool
Just subtract and convert to decimal
ooh nicee
Thanks.
You can also use this in other places
Similar to this question.
For example if repetition was not allowed, 1+2+3+4+5 is 15 in decimal or 23 in base 6. In base 6, sum of property wali cheez is with 5, so it must be divisible by 5 and some other constraints :/
oooh
does this come under Number Theory??
Wth even is this:aah:
Yeah.
Number Bases
We use Base 10 every day, it is our Decimal Number Systemand has 10 digits ... 0 1 2 3 4 5 6 7 8 9 ... We count like this
If you wanna check out more
An easier way to do all those "find this things position" or stuff like "find number of sum 5-digit numbers"
Like for instance idhar poochta number of 5 digit numbers such that sum of digits is divisible by 4 in our conversion
You could just have done sum of digits being div. by 4 meaning differing by 5 in base 6
Woah
That is so cool
Yeah man
It doesn't always work
What is this method called though? Never seen it anywhere
(Because question mein they might throw something which will make conversion difficult)
I created this in my jee prep π
Ah i see
And I'm just so glad I got to share it bro.
When I told my teachers they just said stop wasting time.
W manπ
you created a method by yourself :sweaty:
They are always like thatπ
Another one for drawing graphs of compositions of simple functions
like sin(e^x) without differentiating it
But I'll share it when a doubt thread arises, or in #πβmedia
Im more interested in this even tbh
Yeah sure
WOW. WOW. WOW.
Sir Lancelot DuLac, could I gain the honour of becoming your apprentice?
π
woahh
Yeah man, I had a notebook where I jotted this down explanatively
Will post if I ever find it.
thank you, Sir. π
I'm semi familiar with conversion to binary
What is this magic
The answer is 2997 byw
I didn't understand the "but we'll get" part
if you use up the 6 digits available in the set, then there are going to numbers like 42974 which are greater than 42923 so we need to remove the excess
Ohh the numbers bigger than the target
Okay I understood that method
@SirLancelotDuLac can you tell me a bit more about your base conversion method? Like how what whutnjdjj
yes yes
@Jeepaglu dont close, need to see the goated solution given
Yea sure:
Check out the link above to see what number base systems are.
Then you can just think of it this way we call 2 in the above question as 1, 3 as 2 and so on
Then imagine all the 5 digited permutations
These will be of the form 10000 10001 10002 and so on
As if you're counting in base 6 'ere.
So the position of given target is this
Oh so basically you remove the
Random gaps between numbers
And make them more intuitive?
Yeah, that's a good way to sumarize it.
Ohhhhhhh I understand it now
This works in these kind of questions. Not always but when it does, it makes it a one liner
And since it'll be base 6 it'll only have 6 digits
Wpohooooo