Question

Find a formula for the number of digits of 2^n. Now the textbook answer is '1+|_n*lg2_|',...

Find a formula for the number of digits of 2^n.

Now the textbook answer is '1+|_n*lg2_|', the symbol used is integer floor, and lg2 is log(10)2.

Question: How do I find this formula?? Show me the process of finding this formula. I know that when n=3, the number of digit is 1; when n goes pass 3, there will be 2 digits; when n goes pass 6, there will be 3 digits, and so on.

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
In C Programming Language: Given an integer N, find whether the sum of the digits calculated...
In C Programming Language: Given an integer N, find whether the sum of the digits calculated repeatedly till a single digit is obtained results in the sum of 1 or not. Display 1 if the sum of the digits of N can equal 1 else display 0. Example: For 199, Sum of digits = 1+9+9=19, 1+9=10, 1+0=1 so it should display 1 For 57, sum of digits = 5+7=12, 1+2=3 so it should display 0
=Using the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 only once,...
=Using the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 only once, find all the possible 3 digit number plus another 3 digit number to equal a 4 digit number. (No repetition of numbers is allowed.) One example is 589+437=1026. We are asked to find ALL the possibilities. I know it has to do with combinations, but I'm not quite sure if I'm using it the proper way.
Problem: Our Armstrong number Please write code for C language So far we have worked on...
Problem: Our Armstrong number Please write code for C language So far we have worked on obtaining individual digits from 4 digits or 5 digit numbers. Then added them to find the sum of digits in various examples and assignments. However, the process of extracting individual digits is actually can be solved using a loop as you were doing a repetitive task by using mod operation and division operation. Now, we know how loops work and we can remove the...
The digits 2, 2, 3, 5, 5, and 5 are used to make six-digit number. Find...
The digits 2, 2, 3, 5, 5, and 5 are used to make six-digit number. Find the different numbers possible: If the number starts with a 5 and is a multiple of 5
Answer with Python. A number is cool if the sum of its digits is divisible by...
Answer with Python. A number is cool if the sum of its digits is divisible by 5. Given an integer n, return the nth cool number. def nthCool(n): nthCool(1) = 5 nthCool(2) = 14 nthCool(3) = 19
2. Find a system of recurrence relations for the number of n-digit quaternary sequences that contain...
2. Find a system of recurrence relations for the number of n-digit quaternary sequences that contain an even number of 2’s and an odd number of 3’s. Define the initial conditions for the system. (A quaternary digit is either a 0, 1, 2 or 3)
1. Given an n-element array A, Algorithm X executes an O(n)-time computation for each even number...
1. Given an n-element array A, Algorithm X executes an O(n)-time computation for each even number in A and an O(log n)-time computation for each odd number in A. What is the best-case running time of Algorithm X? What is the worst-case running time of Algorithm X? 2. Given an array, A, of n integers, give an O(n)-time algorithm that finds the longest subarray of A such that all the numbers in that subarray are in sorted order. Your algorithm...
write a C program to find whether the given number of three digits is an integer...
write a C program to find whether the given number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. For example, 371 is since 3**3 + 7**3 + 1**3 = 371. Output: Enter a number, or -999 to quit : 432 4**3 + 3**3 + 2**3 is not = 432 Enter a number, or -999 to quit : 371 3**3 + 7**3 + 1**3 is = 371...
1. A 4-digit number is created from the numbers {1,2,3,4,5,6}. How many ways can the digits...
1. A 4-digit number is created from the numbers {1,2,3,4,5,6}. How many ways can the digits be chosen so that the number is more than 1500? 2. An applied statistics class contains 30% sophomores, 40% juniors, and the rest seniors. If 40% of the sophomores, 20% of the juniors, and 10% of the seniors will fail, what is the probability a randomly selected student in the class will fail? 3. A coin is flipped 10 times or until 3 heads...
In this problem your task is to find a missing number. The input will always consist...
In this problem your task is to find a missing number. The input will always consist of an array of n positive integers such that the difference between every two consecutive numbers is a fixed constant but one integer is missing. See below for two example inputs/outputs: Input sequence: [0, 2, 4, 6, 10] Output: missing number is 8 Input sequence: [1, 4, 7, 13, 16] Output: missing number is 10 Note that in the first example the constant c...