0
$\begingroup$
  • Given a set of n positive integers.
  • Say A={ 3,4,6,7,8}
  • We have to find a number of integers in set that follow this property.
  • property { factorial(x) mod (x+1) = x }
  • here 3 and 7 are those numbers.
  • 2! % 3 = 2
  • 6! % 7 = 6
  • Here there are two such numbers.
  • How to deal with this type of questions.
  • I don't even know how to start.
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.