Find the base three representation of 237.

PLEASE HELP.
I HAVE NO IDEA

3^4=81
so there must be 3 of those (3*81=162
237-162=75
3^3=27 so there must be two of those
2*27=54
75-54=21
3^2=9, so there are two of them
21-18=3, so one three
3^0=1, so none of those.

22210 base 3
2*3^4 + 2*3^3 + 2^3^2 + 1*3^1 +0*3^0

check this.

ln(237) / ln(3) = 4.977

3^4.977 = 237