The positive integers greater than 3 are arranged in rows and columns as illustrated.
In which column is the number 5018?
A) 2
B) 4
C) 6
D) 5
E) 3