yes i did it in the same way.
i was getting 13140 ,could anyone confirm or just solve it once...........
how many 4digit numbers are there whose sum of the digits is odd?
-
UP 0 DOWN 0 0 6
6 Answers
Vivek @ Born this Way
·2012-03-16 03:43:16
Try to use the parity. ie., O+O = E , O+E = O and E+E=E .
So take different cases, first include one Even and so on.
funkygp
·2012-03-16 03:54:20
Ketan Chandak
·2012-03-16 04:54:21
@funkygp...there ain't exist 13140 4 digit numbers !!!! only 9000 4 digit numbers are there....and i think the answer shud be 4500...
Aditya Bhutra
·2012-03-16 07:18:51
Hint : the sum of digits is odd or even depends only on the choice of last digit
Ans: 4500
h4hemang
·2012-03-17 12:25:03
hmmm.
aditya is correct.
the pattern is very cool.
OEOEOEOEOE. for the numbers from 1000 to 1009.
then from 1010 to 1019, it is
EOEOEOEO.
so it flips. :)