OFFSET
1,3
COMMENTS
The reason for including this sequence as well as A105750 is that the values of this sequence modulo various primes are of interest (see Moll).
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..100
V. H. Moll, An arithmetic conjecture on a sequence of arctangent sums, 2012. See f_n.
FORMULA
MAPLE
x:=proc(n) option remember;
if n=1 then 1 else (x(n-1)+n)/(1-n*x(n-1)); fi; end;
f:=proc(n) option remember; global x;
if n = 1 then 1 else n*x(n-1)*f(n-1)-f(n-1); fi; end;
[seq(f(n), n=1..30)];
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Dec 22 2012
STATUS
approved