login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A190060 a(n) = n + [n*r/s] + [n*t/s]; r=1, s=sin(Pi/5), t=csc(Pi/5). 3

%I #11 Sep 08 2022 08:45:56

%S 4,10,16,21,27,33,38,44,50,55,60,66,72,77,83,89,94,100,105,111,116,

%T 122,128,133,139,145,150,156,161,167,172,178,184,189,195,201,206,211,

%U 217,223,228,234,240,245,251,257,262,267,273,279,284,290,296,301,307,313,317,323,329,335,340,346,352,357,363,369,373,379,385,391,396,402

%N a(n) = n + [n*r/s] + [n*t/s]; r=1, s=sin(Pi/5), t=csc(Pi/5).

%C See A190059.

%H G. C. Greubel, <a href="/A190060/b190060.txt">Table of n, a(n) for n = 1..10000</a>

%F A190059: a(n) = n + [n*sin(Pi/5)] + [n*csc(Pi/5].

%F A190060: b(n) = n + [n*csc(Pi/5)] + [n*(csc(Pi/5))^2].

%F A190061: c(n) = n + [n*sin(Pi/5)] + [n*(sin(Pi/5))^2].

%t r=1; s=Sin[Pi/5]; t=Csc[Pi/5];

%t a[n_] := n + Floor[n*s/r] + Floor[n*t/r];

%t b[n_] := n + Floor[n*r/s] + Floor[n*t/s];

%t c[n_] := n + Floor[n*r/t] + Floor[n*s/t];

%t Table[a[n], {n, 1, 120}] (*A190059*)

%t Table[b[n], {n, 1, 120}] (*A190060*)

%t Table[c[n], {n, 1, 120}] (*A190061*)

%o (PARI) for(n=1,30, print1(n + floor(n/sin(Pi/5)) + floor(n/(sin(Pi/5))^2), ", ")) \\ _G. C. Greubel_, Jan 10 2018

%o (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

%Y Cf. A190059, A190061.

%K nonn

%O 1,1

%A _Clark Kimberling_, May 04 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 08:00 EDT 2024. Contains 371265 sequences. (Running on oeis4.)