The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A190084 n + [n*r/t] + [n*s/t]; r=1, s=sin(2*Pi/5), t=csc(2*Pi/5). 3

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

%S 1,4,7,10,13,16,19,22,25,28,30,33,36,39,42,45,48,51,54,57,58,61,64,67,

%T 70,73,76,79,82,85,88,90,93,96,99,102,105,108,111,114,116,118,121,124,

%U 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

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

%C See A190082.

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

%F (See A190082.)

%t r=1; s=Sin[2*Pi/5]; t=Csc[2*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}] (* A190082 *)

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

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

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

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

%Y Cf. A190082, A190083.

%K nonn

%O 1,2

%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 May 13 08:41 EDT 2024. Contains 372498 sequences. (Running on oeis4.)