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

The best solution is to use the O(log n) time exponentiation of a matrix, which is fast enough to be constant.


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

Search: