cum aflam nr de termeni al unui șir de numere din 3 în 3​