Determine all possible values of a duodecimal (base 12) positive integer N, such that N is obtained by adding the squares of its digits.

__Bonus Question__:

Determine all possible values of a octodecimal (base 18) positive integer N, such that N is obtained by adding the squares of its digits.

(In reply to

Possible solution by broll)

huh?

Nice analysis, Broll, except ...

A0 doesn't appear to be a solution

A0(12) = 120

A*A + 0*0 = 100