OFFSET
0,4
COMMENTS
The integral with sin(2*n*x) is always rational, but the integral with sin((2*n+1)*x) is irrational and is of the form p/q+log(2)/(2*n+1).
REFERENCES
George Boros and Victor H. Moll, Irresistible integrals, Cambridge University Press (2006), p. 218.
EXAMPLE
MAPLE
a:= n-> numer(Re(int(sin(2*n*x)*log(csc(x)), x=0..Pi/2))):
seq(a(n), n=0..30); # Alois P. Heinz, Apr 29 2013
MATHEMATICA
a[n_] := Integrate[Sin[2*n*x]*Log[Csc[x]], {x, 0, Pi/2}]; Table[a[n] // Numerator, {n, 0, 30}]
CROSSREFS
KEYWORD
nonn,easy,frac
AUTHOR
Jean-François Alcover, Apr 29 2013
STATUS
approved