Question: Python please, will thumbs up! 1. Prove that the length of range (pp,n,2p) equals 2pnp21+1. 2. A natural number n is called squarefree if it

Python please, will thumbs up!

Python please, will thumbs up! 1. Prove that the length of range

1. Prove that the length of range (pp,n,2p) equals 2pnp21+1. 2. A natural number n is called squarefree if it has no perfect square divides n except for 1 . Write a function squarefree_list( n ) which outputs a list of booleans: True if the index is squarefree and False if the index is not squarefree. For example, if you execute squarefree_list(12), the output should be [False, True, True, True, False, True, True, True, False, False, True, True, False] . Note that the False entries are located the indices 0,4,8,9,12. These natural numbers have perfect square divisors besides 1. 3. Your DNA contains about 3 billion base pairs. Each "base pair" can be thought of as a letter, A, T, G, or C. How many bits would be required to store a single base pair? In other words, how might you convert a sequence of booleans into a letter A,T,G, or C? Given this, how many megabytes or gigabytes are required to store your DNA? How many people's DNA would fit on a thumb-drive

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!