Newton Symbol Easy

+50 PTS

Before you start the test, check out our tutorial challenge

  • TYPE CODE PRACTICE CHALLENGE
  • LANGUAGES BASH, C, C++, C# AND 19 MORE
    LANGUAGES BASH, C, C++, C#, CLOJURE, ELIXIR, ERLANG, GO, GROOVY, HASKELL, JAVA, JAVASCRIPT, JULIA, KOTLIN, NIM, PERL, PHP, PYTHON2, PYTHON, RUBY, RUST, SWIFT, TYPESCRIPT
  • TIME ~10MIN

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! :)