Help with seq cmd
Publié : ven. août 24, 2018 1:17 am
Hello for the sequence { 2, 9, 16, 23, 30, 7, 14, 21,28 } is encoded as CONCAT(seq(k,(k=2 .. 30),7), seq(k, (k=7 .. 31),7));
but for this it is possible using SEQ or functional cmd (makemat, etc)?
{1,1,2,3,5,8,13,21}
Starting with the third number in the list, the 2, each number is obtained by adding the two previous numbers of the list. That is, 1 + 1 = 2, 1 + 2 = 3, 2 + 3 = 5,
but for this it is possible using SEQ or functional cmd (makemat, etc)?
{1,1,2,3,5,8,13,21}
Starting with the third number in the list, the 2, each number is obtained by adding the two previous numbers of the list. That is, 1 + 1 = 2, 1 + 2 = 3, 2 + 3 = 5,