|
|
A140758
|
|
a(n) = floor(n*Pi/2).
|
|
9
|
|
|
0, 1, 3, 4, 6, 7, 9, 10, 12, 14, 15, 17, 18, 20, 21, 23, 25, 26, 28, 29, 31, 32, 34, 36, 37, 39, 40, 42, 43, 45, 47, 48, 50, 51, 53, 54, 56, 58, 59, 61, 62, 64, 65, 67, 69, 70, 72, 73, 75, 76, 78, 80, 81, 83, 84, 86, 87, 89, 91, 92, 94, 95, 97, 98, 100, 102, 103, 105
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
For n = 5, 5*(Pi/2) approximately equals 7.854, and floor(7.854) = 7.
|
|
MATHEMATICA
|
|
|
PROG
|
(Python)
import math
x=0
while x < 36001:
y = math.radians(x)
z = math.trunc(y)
print(z, end=", ")
x += 90
# Mick Purcell (mickpurcell(AT)gmail.com), Oct 05 2009
(Magma) R:= RealField(40); [Floor(n*Pi(R)/2): n in [0..80]]; // G. C. Greubel, Oct 21 2023
(SageMath) [floor(n*pi/2) for n in range(81)] # G. C. Greubel, Oct 21 2023
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
0 added by Mick Purcell (mickpurcell(AT)gmail.com), Oct 05 2009
|
|
STATUS
|
approved
|
|
|
|