Newton Symbol

Challenge ends in

Sign up to get important updates

  • LOCATION CODE PRACTICE CHALLENGE
  • DATE Feb 01 - Jun 02, 2019 23:59 UTC

Newton Symbol

Challenge outline

Hello and welcome to the challenge!


Write a program to calculate value of the Newton Symbol. You are given two numbers, N and K. The Newton symbol is a number of K-element subsets in a N-element set. For the purpose of this problem, you can assume that the N and K are always less than or equal to 15.


As soon as you’re ready tap “Start test” button above and show us your amazing skills!


Have fun and good luck! :)