AJUTOR Exercitiul.3. Vă rog....

Răspuns:
a)
2 6 12 17 20 23
b)
3 5 9 10 18 1
c)
1 2 1 4 8 3
d)
0 3 94 6 4
Explicație pas cu pas: