All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Binomial and Floor Difference Crossed Division Determination (Posted on 2023-06-03) Difficulty: 3 of 5
Consider this function:
F(n, p) = nCp - ⌊n/p⌋
where n is a positive integer and p is a prime number.

Is F(n, p) always divisible by p?
If so, prove it.
If not, provide a counterexample.

Notes: nCp is the number of combinations of n elements taken p at a time. It is also known as Binomial Coefficient and read as "n choose p".
• ⌊m⌋ is equal to floor of m which is the greatest integer less than or equal to m

No Solution Yet Submitted by K Sengupta    
Rating: 2.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): Computer solution Comment 3 of 3 |
(In reply to re: Computer solution by Charlie)

Charlie is correct.
I have amended my earlier comment.
My function calculating combinations broke down with large numbers.
So I actually detected a failure of my nCp function rather than a failure of the conjecture posed in the problem.

  Posted by Larry on 2023-06-03 15:29:34
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information