[go: up one dir, main page]

login
A190087
a(n) = n + [n*r/t] + [n*s/t]; r=1, s=sin(1/2), t=cos(1/2).
3
2, 5, 7, 10, 12, 15, 17, 21, 23, 26, 29, 31, 34, 36, 40, 42, 45, 47, 50, 52, 55, 59, 61, 64, 66, 69, 71, 74, 77, 80, 82, 85, 88, 90, 93, 96, 99, 101, 104, 106, 109, 111, 114, 118, 120, 123, 125, 128, 130, 133, 136, 139, 141, 144, 147, 149, 152, 155, 158, 160, 163, 165, 168, 170, 174, 177, 179, 182, 184, 187, 189, 193, 195, 198, 200
OFFSET
1,1
COMMENTS
See A190085.
LINKS
FORMULA
A190085: f(n) = n + [n*sin(1/2)] + [n*cos(1/2)].
A190086: g(n) = n + [n*csc(1/2)] + [n*cot(1/2)].
A190087: h(n) = n + [n*sec(1/2)] + [n*tan(1/2)], this sequence.
MATHEMATICA
r=1; s=Sin[1/2]; t=Cos[1/2];
f[n_] := n + Floor[n*s/r] + Floor[n*t/r];
g[n_] := n + Floor[n*r/s] + Floor[n*t/s];
h[n_] := n + Floor[n*r/t] + Floor[n*s/t];
Table[f[n], {n, 1, 120}] (* A190085 *)
Table[g[n], {n, 1, 120}] (* A190086 *)
Table[h[n], {n, 1, 120}] (* A190087 *)
PROG
(PARI) for(n=1, 100, print1(n + floor(n/cos(1/2)) + floor(n*tan(1/2)), ", ")) \\ G. C. Greubel, Mar 04 2018
(Magma) [n + Floor(n/Cos(1/2)) + Floor(n*Tan(1/2)): n in [1..100]]; // G. C. Greubel, Mar 04 2018
CROSSREFS
Sequence in context: A030193 A292653 A028250 * A182771 A109260 A292664
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 04 2011
STATUS
approved