f←{{(∧/2≠/⍵,0)∧~0∊⍵}×2-/10⊥⍣¯1⊢⍵}
g←{{(∧/2≠/⍵,0/⍨⍬≡⍵)∧~0∊⍵}×2-/10⊥⍣¯1⊢⍵}
h←{⍵≤9:1 ⋄ d←10⊥⍣¯1⊢⍵ ⋄ ⍵≤99:≠/d ⋄ 2∧.=|2-/×2-/d}
n←1 11 12 123 132 31115 3141514131415 3141514131410
cmpx'fgh',¨⊂'¨n'
f¨n → 1.6E¯5 | 0% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
g¨n → 1.6E¯5 | +3% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
h¨n → 1.3E¯5 | -18% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕