I imagine you are looking forsomething like 1e6/[5000*k] where k = sin(n*pi/50000).
if you plot sin(n*2*pi/50000) for n = 1to 5000 you get a sine wave with 5000 points and a sum of zero.
This is a routine I use to create amathematical sine wave.
//-------------------------------------------------------------------------------------
// Creates a sine wave
function [s_wave] = make_sin(n_points,_amplitude, _cycles)
for nn = 1:n_points*_cycles;
s_wave(nn) = _amplitude*sin(nn*6.28/n_points);
end;
endfunction;
//-------------------------------------------------------------------------------------\\
What you have in the denominator is ahalf sine with amplitude = 1 and points = 5000. The sum isapproximately 3183, which I believe amounts to a line integral. I didit numerically. A bit of work but can be done by hand.
http://en.wikipedia.org/wiki/Line_integral
//-------------------------------------------------------------------------------------
// berro's half sin
function [s_wave] = make_sin(n_points,_amplitude)
for nn = 1:n_points;
s_wave(nn) = _amplitude*sin(nn*PI/n_points);
end;
endfunction;
//-------------------------------------------------------------------------------------\\
Plot the denominator in whatever toolyou use.
What I think you want is something like this. Sine repeats periodic in multiples of 2PI staring at PI/2.
1000000/[sin(1*pi/2) + sin (5*pi/2) +sin (9*pi/2) …sin (20001*pi/2) ]
1 +1 + 1 ….