login
A190061
a(n) = n + [n*r/t] + [n*s/t]; r=1, s=sin(Pi/5), t=csc(Pi/5).
3
1, 3, 5, 7, 8, 11, 13, 14, 17, 18, 20, 23, 24, 26, 28, 30, 31, 34, 36, 37, 40, 41, 43, 46, 47, 49, 51, 53, 56, 57, 59, 61, 63, 64, 67, 69, 70, 73, 74, 76, 79, 80, 82, 84, 86, 88, 90, 92, 93, 96, 97, 99, 102, 103, 106, 107, 109, 112, 113, 115, 117, 119, 121, 123, 125, 126, 129, 130, 132, 135, 136, 138, 140, 142, 144
OFFSET
1,2
COMMENTS
See A190059.
LINKS
FORMULA
A190059: a(n) = n + [n*sin(Pi/5)] + [n*csc(Pi/5)].
A190060: b(n) = n + [n*csc(Pi/5)] + [n*(csc(Pi/5))^2].
A190061: c(n) = n + [n*sin(Pi/5)] + [n*(sin(Pi/5))^2].
MATHEMATICA
r=1; s=Sin[Pi/5]; t=Csc[Pi/5];
a[n_] := n + Floor[n*s/r] + Floor[n*t/r];
b[n_] := n + Floor[n*r/s] + Floor[n*t/s];
c[n_] := n + Floor[n*r/t] + Floor[n*s/t];
Table[a[n], {n, 1, 120}] (*A190059*)
Table[b[n], {n, 1, 120}] (*A190060*)
Table[c[n], {n, 1, 120}] (*A190061*)
PROG
(PARI) for(n=1, 30, print1(n + floor(n*sin(Pi/5)) + floor(n*(sin(Pi/5))^2), ", ")) \\ G. C. Greubel, Jan 10 2018
(Magma) C<i> := ComplexField(); [n + Floor(n*Sin(Pi(C)/5)) + Floor(n*(Sin(Pi(C)/5))^2): n in [1..30]]; // G. C. Greubel, Jan 10 2018
CROSSREFS
Sequence in context: A090542 A260518 A190333 * A288624 A168162 A047485
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 04 2011
STATUS
approved