A082964 a(n) = round(n/Pi), n divided by Pi rounded to the nearest integer.
0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 13, 13, 13, 14, 14, 14, 15, 15, 15, 16, 16, 16, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 20, 20, 20, 21, 21, 21, 22, 22, 22, 23, 23, 23, 24, 24, 24, 25, 25, 25
Offset: 0
Examples
For n = 11, a(11) = (arctan(tan(11))-11)/Pi = -4; For n = 12, a(12) = (arctan(tan(12))-12)/Pi = -4; For n = 13, a(13) = (arctan(tan(13))-13)/Pi = -4; For n = 14, a(14) = (arctan(tan(14))-14)/Pi = -4.
Links
- Hugo Pfoertner, Table of n, a(n) for n = 0..10000
- Xavier Gordon and Pascal Sebah, Mathematical Constants and Computations
- Cino Hilliard, Qfloat BCX arctan(tan(-3)) etc
Programs
-
PARI
a(n) = round (n/Pi)
Extensions
Simplified NAME from Hugo Pfoertner, Jul 20 2023