Latest TCS Aptitude Question SOLUTION: In base 7,a number is written only using the digits 1,2,...,6. The number 21 in base 7 is equal to 2*7+1=15 in base 10.Similarly the number 135 in base 7 is 1x72+3x7+5 in base 10.