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