x+y/(x*y)=1/N! N!=x*y/(x+y) assume x=y N!=x^2/(2x) x/2=N! x=2*N! 1/(2*N!)+1/(2*N!)=1/N!
for example for N=4 1/48+1/48=1/24 On Mon, Jun 25, 2012 at 5:30 PM, Kumar Vishal <kumar...@gmail.com> wrote: > > We have to find number of Pair(x,y) > which will satisfy the eq: > 1/x + 1/y = 1/(n factorial) > > for large 0 < N <10 ^ 4 N is integer > Its problem from Code Sprint > I tried to solve it by taking LOG but the sol > was very slow , can any one please help > > Thanks > Kumar Vishal > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/algogeeks/-/9SPU8dameBgJ. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Thanks & Regards Amritpal singh -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.