wu :: forums
« wu :: forums - Number of (n choose r) prime to a prime p »

Welcome, Guest. Please Login or Register.
Nov 24th, 2024, 12:43pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: Eigenray, ThudnBlunder, SMQ, Grimbal, Icarus, william wu, towr)
   Number of (n choose r) prime to a prime p
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Number of (n choose r) prime to a prime p  (Read 1191 times)
ecoist
Senior Riddler
****





   


Gender: male
Posts: 405
Number of (n choose r) prime to a prime p  
« on: Feb 14th, 2008, 9:02pm »
Quote Quote Modify Modify

Let n be a positive integer and let a1,...,ak be all the nonzero digits in the base p representation of n, where p is a prime.  Show that the number of binomial coefficients (n choose r), r=0,...,n, prime to p is (a1+1)*...*(ak+1).  Example: n=59, p=3.  Then 59 is 2012 in base 3.  Hence the number of (59 choose r) prime to 3 is (2+1)*(1+1)*(2+1)=18.
IP Logged
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Number of (n choose r) prime to a prime p  
« Reply #1 on: Feb 22nd, 2008, 4:16am »
Quote Quote Modify Modify

This result follows from the this proposition.
IP Logged
Eigenray
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 1948
Re: Number of (n choose r) prime to a prime p  
« Reply #2 on: Feb 22nd, 2008, 9:19am »
Quote Quote Modify Modify

Here is a nice proof: if n = aipi, what is (1+x)n mod p?
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board