The W 3 algebra of central charge 6/5 is realized as a subalgebra of the vertex operator algebra V √ 2A2 associated with a lattice of type √ 2A 2 by using both coset construction and orbifold theory. It is proved that W 3 is rational. Its irreducible modules are classified and constructed explicitly. The characters of those irreducible modules are also computed.