what is the ratio or prime numbers to composite numbers in this list/10,11,2,13,14,15,16,1,7,18,19,20,21
It is impossible to list the infinite number of prime numbers and composite numbers.
Search the Internet for a list of prime numbers - the Wikipedia article on prime numbers might list a few. All numbers between 2-100 that are not prime, are composite. (The number is not counted as prime, nor as composite.)
18 prime numbers
Look up a list of prime numbers (a Google search for "prime numbers" or "list of prime numbers" should do); every number (greater than 1) that is NOT a prime number is composite.
If you want both then it is every number, all numbers are eather prime or composite.
23 and 29
That's an infinite list.
Please note that there are infinitely many prime numbers. An Internet search for "list of prime numbers" will quickly give you a list of prime numbers up to a certain point, for example here: http://en.wikipedia.org/wiki/List_of_prime_numbers Any integer greater than 1 that is not in the list of prime numbers is a composite number. (1 is considered neither a prime number, nor a composite number.)
Look for a table of prime numbers. All the odd numbers that are NOT on this list are composite numbers.
There is no prime composite number; an integer greater than 2 can be either prime or composite, but not both. Nor can you list all the prime number and all the composite numbers: you have infinite sets in both cases.
29 is prime, all the others in the list are composite.