Sooo... You want to call yourself a "coder" even that you don't know some mathematical trick ?
Also.... Man, trust me:
Google, love you, google always on your side, never lie, never let you don't...
So please, fill google with love also, and USE IT !!!!