[go: up one dir, main page]

login
A082964
a(n) = round(n/Pi), n divided by Pi rounded to the nearest integer.
1
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,6
LINKS
EXAMPLE
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.
PROG
(PARI) a(n) = round (n/Pi)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, May 27 2003
EXTENSIONS
Simplified NAME from Hugo Pfoertner, Jul 20 2023
STATUS
approved