We study an elliptic problem involving critical growth in a strip, satisfying the periodic boundary condition. As a consequence, we prove that the prescribed scalar curvature problem in
$${\mathbb {R}}^N$$
has solutions which are periodic in some variables, if the scalar curvature K(y) is periodic.