40 123=1+2+3=6*middle digit= 6*2=12 233=2+3+3=8*3=24 ....... 145=1+4+5=10*4=40
On behalf of Sture Sjöstedt