%% projecteuler.net problem 1
%% mike pellegrino - 2015
function ret=Euler1(l = 1000)
  l--;
  s=0;
  for i=1:l
    if( mod(i,5)==0 || mod(i,3)==0 )
      s+=i;
    endif
  endfor
  ret=s;
endfunction
