What are the next 5 digits in the following series?
10101000101000101000
(In reply to
Answer by K Sengupta)
Let us denote a positive integer by N.
Let us define:
P(N) =1, if N is a prime number
= 0, if N is composite.
We consider the value of N from 3 to 22 inclusively, and write the corresponding values of P(N) In the second row as follows:
N: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
P(N): 1 0 1 0 1 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0
N: 23 24 25 26 27
P(N): 1 0 0 0 0
It becomes evident that the second row written cumulatively provides the terms of the given sequence.
The cumulative description of the 23rd to 27th term of the given sequence is then 1 0 0 0 0, as is evident from the second row.
Consequently, the required next five digits of the given sequence writing cumulatively is: 1 0 0 0 0