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