Math Problem Statement
Lucas' Theorem. This theorem states that (ππ)(knβ) is odd if (π)πβ€(π)π(k)iββ€(n)iβ for all $i = 0,1,...$ and even otherwise. Here, (π)π(n)iβ is the πi-th least significant bit of πn if written in binary. For example, 1111 in binary is 10111011 and 33 is 1111 (or 00110011 to make sure that both have four bits). Now 00110011 is ``bitwise at most'' 10111011, and thus Lucas' Theorem states that (113)(311β) is odd. Which it is, since (113)=165(311β)=165.
To get started, let us introduce some notation. For an integer πβ₯1nβ₯1 we define π(π):=maxβ‘{πβπ0Β suchΒ thatΒ 2πΒ dividesΒ π}f(n):=max{kβN0βΒ suchΒ thatΒ 2kΒ dividesΒ n}. For example, π(5)=0f(5)=0, π(14)=1f(14)=1, π(12)=2f(12)=2.
Question 4
Let π=1152921504606846987n=1152921504606846987. If we compute (ππ)modββ2(knβ)mod2 for π=0β¦7k=0β¦7, which sequence do we get?
Write your answer as a simple 0/1 string. For example, if your sequence is (1,0,1,0,1,0,1,0)(1,0,1,0,1,0,1,0), answer 1010101010101010.
Solution
Ask a new question for Free
By Image
Drop file here or Click Here to upload
Math Problem Analysis
Mathematical Concepts
Combinatorics
Number Theory
Binary Representation
Formulas
Lucas' Theorem
Binomial Coefficients: C(n, k)
Theorems
Lucas' Theorem
Suitable Grade Level
Grades 11-12
Related Recommendation
Determine Binomial Coefficients Modulo 2 Using Lucas' Theorem
Compute Binomial Coefficients Modulo 2 using Lucas' Theorem
Proof of Binomial Coefficients Modulo 2 using Lucas's Theorem
Pascal's Triangle Modulo 2: Exploring Binomial Coefficients and Patterns
Binary Representation and Modulo 2 Binomial Coefficients Problem