Surely, you dont want to add up all those numbers. That's ridiculous!
Because all the numbers leave a remainder of 1 when divided by 6,
1 + 7 + 13... + 271 = 1 + 1 .....+1 (mod 6)
1 + 7 + 13 + ... + 271 = 46 (mod 6)
Therefore 1 + 7 + 13 + ... + 271 = 4 (mod 6)