login
A051510
a(n) = ceiling(Sum_{k=0..n} tan(k)).
0
0, 2, 0, 0, 1, -2, -3, -2, -9, -9, -9, -234, -235, -235, -227, -228, -228, -224, -226, -225, -223, -225, -225, -223, -225, -225, -224, -227, -228, -227, -233, -234, -233, -308, -309, -309, -301, -302, -301, -298, -299, -299, -296, -298, -298, -296, -298, -298, -297, -300, -301, -300, -306
OFFSET
0,2
MATHEMATICA
Table[Ceiling[Sum[Tan[k], {k, 0, n}]], {n, 0, 50}] (* Wesley Ivan Hurt, Mar 28 2015 *)
CROSSREFS
Sequence in context: A290694 A146164 A263141 * A361800 A340958 A320781
KEYWORD
sign
STATUS
approved