Sum of squares of digits of ternary representation of n.
A006287
Sum of squares of digits of ternary representation of n.
Terms
- a(0) =0a(1) =1a(2) =4a(3) =1a(4) =2a(5) =5a(6) =4a(7) =5a(8) =8a(9) =1a(10) =2a(11) =5a(12) =2a(13) =3a(14) =6a(15) =5a(16) =6a(17) =9a(18) =4a(19) =5a(20) =8a(21) =5a(22) =6a(23) =9a(24) =8a(25) =9a(26) =12a(27) =1a(28) =2a(29) =5
External references
- oeis: A006287