Post History
Uiua, 7 bytes (SBCS) Function that takes integer as input, returns odd-digit count. /+◿₂⊥₁₀ Uiua Pad this online Explanation /+◿₂⊥₁₀ # 123 example input ⊥₁₀ # [3 2 1] base-10 digi...
#1: Initial revision
# [Uiua](https://uiua.org), 7 bytes (SBCS)
Function that takes integer as input, returns odd-digit count.
```uiua
/+◿₂⊥₁₀
```
[Uiua Pad this online](https://uiua.org/pad?src=0_19_0-dev_1__eJxdkDsKwzAQRHufYvsU8U-2dQGdK1ERSMCQLqR3zpG7zEmChxiG2U77HuJJJXB7xvmE1xe14vFBvaJeGqwbtjfua3RRopNzGyV644Px0XgyPhmfjS_Gs_e0suj3hRbS0EQa2khDI2loJQ3NpKGdNDSUhpbyp7Q0s_Q_Lh4j-8SHDGOa5kUv3u_JxzQ_I2fDhQ==)
### Explanation
```uiua
/+◿₂⊥₁₀ # 123 example input
⊥₁₀ # [3 2 1] base-10 digit array (LSB first)
◿₂ # [1 0 1] modulo 2
/+ # 2 reduce-add, i.e. sum
```
