Chat with our AI personalities
what are the problems associated with the construction of index numbers
Here's a start umbers=[True]*5001 index=2 primes=[] while index<5000: multiplier=2 while index*multiplier <= 5000: Numbers[index*multiplier]=False multiplier+=1 index+=1 while Numbers[index]==False and index < 5000: index+=1 for x in range(0,5000): if Numbers[x]==True: primes.append(x) x+=1 print primes
Identifying array-elements.
Indices (not indicies) have two meanings: one is powers. In the expression x3, the 3 is an index. The second meaning is a counter. If you have five observations and they are labelled X1, X2, ... , X5 then the numbers in Xn is an index.
Writing Numbers in Index FormWe know that: So, we can write 8 as 23.Likewise, 27 can be written as 33and 125 can be written as 53.So far, we have considered numbers that have a group of the same factors. Sometimes, a number has more than one group of the same factors as shown in the following example.Example 20Write 200 in simplest index form.Solution:Key Termsimplest index form