login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A005657 a(n) = floor( tan(n)^2 ). 6
0, 2, 4, 0, 1, 11, 0, 0, 46, 0, 0, 51053, 0, 0, 52, 0, 0, 12, 1, 0, 5, 2, 0, 2, 4, 0, 1, 10, 0, 0, 41, 0, 0, 5672, 0, 0, 60, 0, 0, 13, 1, 0, 5, 2, 0, 2, 4, 0, 1, 10, 0, 0, 36, 0, 0, 2041, 0, 0, 69, 0, 0, 14, 1, 0, 5, 2, 0, 2, 4, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Robert Israel, Table of n, a(n) for n = 0..10000

FORMULA

a(n) = A005699(n)-1 for n >= 1.

MAPLE

seq(floor(tan(n)^2), n=0..1000); # Robert Israel, Jun 14 2015

MATHEMATICA

Floor[Tan[Range[0, 70]]^2] (* Harvey P. Dale, Nov 06 2011 *)

PROG

(PARI) vector(100, n, n--; floor(tan(n)^2)) \\ Michel Marcus, Jun 15 2015

(MAGMA) [Floor(Tan(n)^2): n in [0..100]]; // Vincenzo Librandi, Jun 15 2015

CROSSREFS

Cf. A005699.

Sequence in context: A226031 A244116 A138133 * A009332 A045872 A154463

Adjacent sequences:  A005654 A005655 A005656 * A005658 A005659 A005660

KEYWORD

nonn

AUTHOR

N. J. A. Sloane

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified December 7 23:05 EST 2016. Contains 278900 sequences.