N based number X divisible by (N-1) if sum of digits is divisible by (N-1)