01-05-2017, 12:44 PM
The programme below inserts symbolics in the Sequence aplet to produce the Tribonacci sequence.
For info on the sequence see:
https://oeis.org/A000073
For info on the sequence see:
https://oeis.org/A000073
Code:
RECURSE(U,U2(N-2),0,0)►U1(N):
CHECK 1:
RECURSE(U,U2(N-1)+U1(N)+U1(N-1),1,1)►U2(N):