This is an elastic border which is more decorative than a straight rib pattern.
Shown with a cast-on count of 1 stitch.
1 2 3 4 5 Horizontal repeats
1 2 3 4 5 Vertical repeats