Number system simulation