# The prime numbers between 1 and 100 [closed]

I'm new on this and the help seems not as helpful on this particular subject The prime numbers between 1 and 100 mathematica show steps

## closed as off-topic by Sjoerd C. de Vries, Karsten 7., eldo, rm -rf♦Nov 8 '15 at 22:11

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Sjoerd C. de Vries, Karsten 7., eldo, rm -rf
If this question can be reworded to fit the rules in the help center, please edit the question.

• – "the help seems not as helpful on this particular subject". On the contrary, simply searching for prime numbers gives you all the information you need. – Graumagier Nov 8 '15 at 21:33
• The first example in the reference for Prime is: Table[Prime[n], {n, 25}] – bill s Nov 8 '15 at 21:33
• thank you very much.Does this answer mathematica programs.? – Ahmet Nov 8 '15 at 21:36
• Your question seems to ask to find those integers from 1 to 100 that are prime. A direct translation of the question into Mathematica code gives an answer: Select[Range, PrimeQ] – murray Nov 9 '15 at 14:58

t=Table[FactorInteger[k],{k,1,100}] (* show the factors *)

You need to use PrimePi to find how many primes are less than 100
Array[Prime, PrimePi]