You have to visualise it
Then you dont need any formula
You need at least 6 students na, whose birthday fall on same month
Go
And first get me 5 students per month
like 5 students who have birthday in Jan
5 student who have birthday in Feb
.
.
.
5 students who have birthday in December
Good question: Why I chose 5 in every month
Because, I am just short of 1 student ( let it be any month) I dont care
What I did was simply
$(5*12)+1 = 61$
Imagine
Just imagine
Dialogue: From Krish movie, No copyright infringement intended