Find the n members of the sequence X(1)=X(2)=X(3)=1; X(n)=X(n-1)+X(n-3) X(1)=X(2)=X(3)=1; X(n)=X(n-1)+X(n-3) , i.e. enter n from the keyboard and need to display:
1 1 1 2 3 4 6 9 13 19 28 41, etc. to n
Is it possible to complete this task without using an array?