Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A004084
a(n) = n-th positive integer k such that tan(k-1) <= 0 and tan(k) > 0.
4
1, 4, 7, 10, 13, 16, 19, 22, 26, 29, 32, 35, 38, 41, 44, 48, 51, 54, 57, 60, 63, 66, 70, 73, 76, 79, 82, 85, 88, 92, 95, 98, 101, 104, 107, 110, 114, 117, 120, 123, 126, 129, 132, 136, 139, 142, 145, 148, 151, 154, 158, 161, 164, 167
OFFSET
1,2
COMMENTS
Gives integer solutions >1 to the equation x=ceiling(r*floor(x/r)) where r=Pi. - Benoit Cloitre, Feb 14 2004
FORMULA
a(n) = ceiling(Pi*(n-1)) for n>1. - Benoit Cloitre, Feb 14 2004
PROG
(PARI) lista(m) = {for (i=1, m, if ((tan(i-1)<=0) && (tan(i) > 0), print1(i, ", ")); ); } \\ Michel Marcus, Mar 21 2013
CROSSREFS
Sequence in context: A310679 A143459 A143458 * A121381 A310680 A143457
KEYWORD
nonn
STATUS
approved