Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That is exactly the 9‘s complement. The digits add up to 9.


I thought there was more to the calculation of N's complement. Something about adding one to the result. It doesn't seem like something you can easily perform using inspection.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: