Skip to main content

average of prime numbers between 1 to 100

By seeing the prime number table we know that 25 prime numbers are existing in between 1 to 100
the following table explains
Prime numbers
1-25
2,3,5,7,11,13,17,19,23
9
26-50
29,31,37,41,43,47
6
51-75
53,59,71,73,61,67
6
75-100
79,83,89,97
4
Total no of prime numbers
25

In the above table shows that from 1 to 25 numbers there are 9 prime numbers.
similarly from 25 to 50 there are 6 prime numbers are there.like wise from 51-75 there are 6 prime numbers and from 75 to 100 there are 4 prime numbers there.

The following table shows the sum of prime numbers

Prime numbers
sum
1-25
2+3+5+7+11+13+17+19+23
100
26-50
29+31+37+41+43+47
228
51-75
53+59+71+73+61+67
384
75-100
79+83+89+97
348
Sum of the prime numbers
1060

so sum of the prime numbers from 1 to 100 is 1060.
Total no of prime numbers between 1 to 100 is 25.

Average=  sum of elements / no of elements
             = 1060/25
             =42.4
Since average of the prime numbers from 1 to 100 is 42.4


Comments

Popular posts from this blog

pythagoras triangle numbers from difference between two adjacent numbers

1 2 =1x1=1                           ---->3 2 2 =2x2=4                           ---->5 3 2 =3x3=9                           ---->7 4 2 =4x4= 16                           ----> 9 --->(pythagoras numbers 16+9=25 ==>  4 2 +3 2   = 5 2 ) 5 2 =5x5= 25                           ---->11  6 2 =6x6=36            ...

product two consecutive odd numbers

Product of two consecutive odd numbers : Even numbers are 1,3,5,7,9,11,13,15,17,19,21,23,25,..... Odd  number means when we divide a number with 2,then the remainder is equal to one. Difference between the two odd numbers is 1. Now we will discuss the product of two odd  numbers. Now the product of two even numbers assumed to be 5x7 can be written as (6-1)x(6+1).                              5x7= (6-1)x(6+1) From the above we write general formula as 5x7= (6-1)x(6+1)=6 2 -1 2  =36-1=35 Now we can observe the result as one less than the square number. So now we can observe the following table. Column 1&2 reprecent the adjacent odd numbers. Column 3 represent the product of two adjacent odd numbers. Column 4 represent  the nearest square number. This  will arrive by adding 1 to the product  of two odd ...

Average of first n even numbers

Even numbers are 2,4,6,8,10,…. Average = sum of elements/ no of elments Now we will see the sum of elements: Sum of first 2 even numbers: 2+4= 6= 2(2+1) Sum of first 3 even numbers: 2+4+6= 12= 3(3+1) Sum of first 4 even  numbers: 2+4+6+8=20= 4(4+1) Sum of first 5 even numbers: 2+4+6+8+10 = 30 = 5(5+1) Sum of first n even numbers: 2+4+6+8+10+. . . . .  n numbers= n(n+1) Now we will see average: Average of first 2 even numbers= (2+4)/2                                                           = 6/2                              ...