cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A004084 a(n) = n-th positive integer k such that tan(k-1) <= 0 and tan(k) > 0.

Original entry on oeis.org

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

Views

Author

Keywords

Comments

Gives integer solutions >1 to the equation x=ceiling(r*floor(x/r)) where r=Pi. - Benoit Cloitre, Feb 14 2004

Programs

  • PARI
    lista(m) = {for (i=1, m, if ((tan(i-1)<=0) && (tan(i) > 0), print1(i, ", ")););} \\ Michel Marcus, Mar 21 2013

Formula

a(n) = ceiling(Pi*(n-1)) for n>1. - Benoit Cloitre, Feb 14 2004