-module(n). -export([m/0]). m()->[io:write(f(N))||N<-lists:seq(0,255)]. f(0)->0;f(N)->1+f(N band(N-1)).