Factorial Funda!

Determine the number of natural numbers n \normalsize n strictly between 1 \normalsize 1 and 1000 \normalsize 1000 (both inclusive), for which n \normalsize n divides ( n 1 ) ! \normalsize (n-1)! .


The answer is 831.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Tan Li Xuan
Jul 5, 2014

We can see that for all primes n n , ( n 1 ) ! (n-1)! is not divisible by n n .As there are 168 primes less than 1000,there are at most 832 possibilities for n n .However, n = 4 n = 4 does not satisfy the conditions.It is easy to verify that for all n 5 n \geq 5 where n n is not a prime, n n satisfies the conditions.

did the exact same way, but @Satvik Golechha, I am not accusing you or Brilliant of anything but do you think that this problem should get a level 4??

Kartik Sharma - 6 years, 11 months ago

Log in to reply

Yup! This problem has a high rating b'coz most get it wrong in their first try.....

Satvik Golechha - 6 years, 11 months ago

or is it because the only number changing the game was 4 !!!

And yeah I have another one that because 4 in the keyboard has a dollar sign associated with it and so 4 means $$$$$$!! MONEY!!!!! I hope you could understand this joke, $ boy!!!! *JOKE

Kartik Sharma - 6 years, 11 months ago

How do you find prime numbers in 1 to 1000

Vikash Kantharia - 6 years, 11 months ago

Log in to reply

@Satvik Golechha How will we find the primes between 1 and 1000?Is there any specific formula?

Anik Mandal - 6 years, 10 months ago

Totally! Everything is easy except the n = 4 n=4 , which is a special reservation to this type of problems.

Satvik Golechha - 6 years, 11 months ago

I did the same way

Figel Ilham - 6 years, 10 months ago

Should the answer not be 830 since for n=1 , 1 does not go into 0.

rasched haidari - 6 years, 11 months ago

Log in to reply

Nops. 0 ! = 1 1 0 ! 0!=1\rightarrow 1|0! ,

Felipe Hofmann - 6 years, 10 months ago

Sorry didnt think about it yes the answer should be 831

rasched haidari - 6 years, 11 months ago

From 1 to 1000 there are 168 primes(this assumption put because only 1 and primes it self who can divide) and only 4 which is not primes who can't be divided by 3!, so there are 1000-168-1=831 natural numbers

Shubhendra Singh
Jul 5, 2014

Subtract all the prime no from 1000 including 4 so the answer will be 1000 -169=831

Will you please elaborate? @shubhendra singh

Satvik Golechha - 6 years, 11 months ago

Log in to reply

Prime no.s will not satisfy the condition given in the question. Since there are 168 primes between 1 and 1000 . So 1000-168=832 no will satisfy the given condition excluding 4. So the final answer that will come out will be 831. I hope ths is sufficient to explian

Shubhendra Singh - 6 years, 11 months ago

Log in to reply

Can you prove why primes dont actually satisfy this? Or can you @Satvik Golechha if not @shubhendra singh . Are you and Part Lohomi classmates, Satvik?

Krishna Ar - 6 years, 11 months ago

Log in to reply

@Krishna Ar @Krishna Ar Actually, Primes do not satisfy this because they are primes! Primes are primes because they are coprimes with all numbers before them, or in other words, do not divide any of them, and henceforth, do not divide their product. Parth is in another batch.

Satvik Golechha - 6 years, 11 months ago

Log in to reply

@Satvik Golechha Thanks, you'd replied fast, but I failed to notice it :). I actually did it in a different way though @Satvik Golechha

Krishna Ar - 6 years, 11 months ago

Log in to reply

@Krishna Ar What way did you do it? I cant think of any other way, I did it the same way as every other posted solution so I am curious to see your solution.

Trevor Arashiro - 6 years, 11 months ago

Log in to reply

@Trevor Arashiro AS @Alamuru Ganesh mentioned I just directly relied on WT though the logic is quite the same :P. @Trevor Arashiro

Krishna Ar - 6 years, 11 months ago

@Krishna Ar its because of wilson's theorem

Alamuru Ganesh - 6 years, 11 months ago

Log in to reply

@Alamuru Ganesh No! To be precise, Wilson's theorem is because of this :D

Satvik Golechha - 6 years, 11 months ago

nice explanation!!!!!!

Parth Lohomi - 6 years, 11 months ago

I'm sorry for this solution as I was in a hurry. Proper solution is given in reply to SATVIK GOLECHA

Shubhendra Singh - 6 years, 11 months ago
Jaiveer Shekhawat
Sep 27, 2014

0 ! 1 \frac{0!}{1} = 1 1 \frac{1}{1} [satisfies the given condition]

1 ! 2 \frac{1!}{2} = 1 2 \frac{1}{2} [doesn't satisfies the given condition]

2 ! 3 \frac{2!}{3} = 2 3 \frac{2}{3} [doesn't satisfies the given condition]

3 ! 4 \frac{3!}{4} = 6 4 \frac{6}{4} [doesn't satisfies the given condition]

4 ! 5 \frac{4!}{5} = 24 5 \frac{24}{5} [doesn't satisfies the given condition]

5 ! 6 \frac{5!}{6} = 120 6 \frac{120}{6} [satisfies the given condition]

.

.

.

You will notice that when n = all primes including 4 don't satisfies the given condition...

http://www.infoplease.com/ipa/A0001737.html

Go to the above link. You will get to know that there are 168 primes between 1 to 100.

Then add 1 to 168.

Since 3 ! 4 \frac{3!}{4} does not satisfy this condition.

Thus the answer is 1000-169 = 831 \boxed{831}

Note-It is very difficult if you go on trying trial and error method for finding primes!!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...