A=1, B=2, C=3... Z=26
Code is formed by :
(Multiplication of odd numbered alphabets) + (Multiplication of even numbered alphabets)
SARDAR = 19-1-18-4-1-18 => => (19*1*1) + (18*18*4) = 19+1296 = 1315
NETAJI = 14-5-20-1-10-9 => (5*1*9)+(14*20*10) = 45+2800 = 2845
MAHATAMA = 13-1-8-1-20-1-13-1 => (13*1*1*13) + (8*20) = 169+160 = 329