-module(count). -export([count/1]). count(10) -> io:fwrite("10~n"); count(N) -> io:fwrite("~b~n", [N]), count(N+1).