Cody

Simone Sabbatini

6913
Rank
2
Badges
230
Score
1 – 26 of 26

Simone Sabbatini received Commenter badge for Solution 1427667

on 29 Jan 2018

Simone Sabbatini submitted a Comment to Solution 1427667

I don't understand why in my Matlab software it works for all the x while here it falis for x>=11 function result = VanEcksSequence(n) A=0; for i=1:n if i==1 A(i+1)=0; else [C Chigh]=ismember(A(i),A(1:i-1)); if not(Chigh==0) A(i+1)=i-Chigh; else A(i+1) = 0; end end end result = A(n); end

on 29 Jan 2018

Simone Sabbatini received Solver badge for Solution 1292113

on 17 Oct 2017

1 – 26 of 26