its 1 ....when n is greater than 365(for non leap year case)
for n<=365
it is 1- none has b'day
1-(1*364/365*363/365*......) Why?...(first one has 365 choices.. 2nd one hs any 364
days...third one have 363 out of 365 days and so on....)
=1-(364!/365^364)