Let’s find the correct pattern clearly.
Use letter positions (A=1, …, Z=26)
PINK
P(16)+I(9)+N(14)+K(11)=<b>50</b>
Code = 15
50−15=35
PAINT
P(16)+A(1)+I(9)+N(14)+T(20)=<b>60</b>
Code = 24
60−24=36
Now observe:
Notice:
So subtraction increases by 1 when length increases → pattern:
Subtract (length+1)2−?
Instead of forcing a formula, we continue the pattern:
For 8 letters (WILDNESS), subtract:
39+3=42
WILDNESS
Sum:
W(23)+I(9)+L(12)+D(4)+N(14)+E(5)+S(19)+S(19)
= 105
Now:
105−42=63
=63