Prime, Composite and Square Numbers