login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A328376 a(n) = floor(|tan(n)|). 0
0, 1, 2, 0, 1, 3, 0, 0, 6, 0, 0, 225, 0, 0, 7, 0, 0, 3, 1, 0, 2, 1, 0, 1, 2, 0, 1, 3, 0, 0, 6, 0, 0, 75, 0, 0, 7, 0, 0, 3, 1, 0, 2, 1, 0, 1, 2, 0, 1, 3, 0, 0, 6, 0, 0, 45, 0, 0, 8, 0, 0, 3, 1, 0, 2, 1, 0, 1, 2, 0, 1, 3, 0, 0, 5, 0, 0, 32, 0, 0, 9, 0, 0, 3, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

The floor of the absolute value of tan(n).

LINKS

Table of n, a(n) for n=0..85.

FORMULA

a(n) = floor(|tan(n)|).

EXAMPLE

Rounding each decimal to 2 places.

a(1) = floor(|tan(1)|) = floor(|1.55|) = floor(1.55) = 1

a(11)= floor(|tan(11)|) = floor(|-225.95|) = floor(225.95)= 225.

MATHEMATICA

Table[Floor[Abs[Tan[n]]], {n, 1, 100}] (* Peter Kagey, Oct 14 2019 *)

PROG

(PARI) a(n) = floor(abs(tan(n))); \\ Michel Marcus, Oct 17 2019

CROSSREFS

Cf. A000503 (floor(tan(n))).

Sequence in context: A154312 A236076 A119900 * A141097 A278045 A096335

Adjacent sequences:  A328373 A328374 A328375 * A328377 A328378 A328379

KEYWORD

nonn

AUTHOR

Nicholas Pieterse, Oct 14 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 18:53 EDT 2021. Contains 343050 sequences. (Running on oeis4.)