The arrangement of spheres present in hexagonal close packing is:
ABCABC
ABAB
AABB
AAA
In hcp, the arrangement of spheres is ABAB.
The arrangement of spheres present in two dimensional hexagonal close packing is: