To get odd number of N digit subtract 2 from B ^ n
odd = pow ( b , n ) - 2 ; NEW_LINE print ( " Even ▁ Number ▁ = ▁ " , int ( even ) ) ; NEW_LINE print ( " Odd ▁ Number ▁ = ▁ " , int ( odd ) ) ; NEW_LINE