Binomial coefficients of large numbers modulo prime

Revision en1, by F-35, 2019-02-12 12:28:46

Hello coders! let's suppose we have three numbers n,k,mod=1e9+7 where n,k<=1e9 how to calculate nCk %mod! any hint please! Thanks^__^

Tags #combinatorics, #math

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English F-35 2019-02-12 12:28:46 187 Initial revision (published)