login
A190084
n + [n*r/t] + [n*s/t]; r=1, s=sin(2*Pi/5), t=csc(2*Pi/5).
3
1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 30, 33, 36, 39, 42, 45, 48, 51, 54, 57, 58, 61, 64, 67, 70, 73, 76, 79, 82, 85, 88, 90, 93, 96, 99, 102, 105, 108, 111, 114, 116, 118, 121, 124, 127, 130, 133, 136, 139, 142, 145, 148, 150, 153, 156, 159, 162, 165, 168, 171, 174, 176, 178, 181, 184, 187, 190, 193, 196, 199, 202, 205, 208, 210
OFFSET
1,2
COMMENTS
See A190082.
LINKS
FORMULA
(See A190082.)
MATHEMATICA
r=1; s=Sin[2*Pi/5]; t=Csc[2*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}] (* A190082 *)
Table[b[n], {n, 1, 120}] (* A190083 *)
Table[c[n], {n, 1, 120}] (* A190084 *)
PROG
(PARI) for(n=1, 100, print1(n + floor(n*sin(2*Pi/5)) + floor(n*(sin(2*Pi/5))^2), ", ")) \\ G. C. Greubel, Nov 07 2018
(Magma) R:= RealField(); [n + Floor(n*Sin(2*Pi(R)/5)) + Floor(n*(Sin(2*Pi(R)/5))^2): n in [1..100]]; // G. C. Greubel, Nov 07 2018
CROSSREFS
Sequence in context: A070300 A247879 A360472 * A145289 A112335 A016777
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 04 2011
STATUS
approved