If seq length is less 2 or current number is is equal to the last two of the seq
if ( seq . size ( ) < 2 || ( num == ( ( long ) seq . get ( seq . size ( ) - 1 ) + ( long ) seq . get ( seq . size ( ) - 2 ) ) ) ) {