login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A189930 b(n) = n + [n*r/s] + [n*t/s]; r=1, s=sin(2pi/5), t=cos(2pi/5). 3
2, 4, 6, 9, 11, 13, 16, 18, 20, 23, 25, 27, 30, 32, 34, 37, 39, 41, 44, 47, 49, 52, 54, 56, 59, 61, 63, 66, 68, 70, 73, 75, 77, 80, 82, 84, 87, 89, 92, 94, 97, 99, 101, 104, 106, 108, 111, 113, 115, 118, 120, 122, 125, 127, 129, 132, 134, 136, 140, 142, 144, 147, 149, 151, 154, 156, 158, 161, 163, 165, 168, 170, 172, 175, 177, 179, 182 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

See A189929.

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..10000

FORMULA

A189929:  a(n) = n + [n*sin(2*pi/5)] + [n*cos(2*pi/5)].

A189930:  b(n) = n + [n*csc(2*pi/5)] + [n*cot(2*pi/5)].

A189931:  c(n) = n + [n*sec(2*pi/5)] + [n*tan(2*pi/5)].

MATHEMATICA

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

Table[b[n], {n, 1, 120}]  (*A189930*)

Table[c[n], {n, 1, 120}]  (*A189931*)

PROG

(PARI) for(n=1, 100, print1(n + floor(n/sin(2*Pi/5)) + floor(n/tan(2*Pi/5)), ", ")) \\ G. C. Greubel, Jan 13 2018

(MAGMA) C<i> := ComplexField(); [n + Floor(n/Sin(2*Pi(C)/5)) + Floor(n/Tan(2*Pi(C)/5)): n in [1..100]]; // G. C. Greubel, Jan 13 2018

CROSSREFS

Cf. A189929, A189931.

Sequence in context: A061785 A330118 A047292 * A184627 A203988 A160813

Adjacent sequences:  A189927 A189928 A189929 * A189931 A189932 A189933

KEYWORD

nonn

AUTHOR

Clark Kimberling, May 01 2011

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 25 17:19 EDT 2020. Contains 334595 sequences. (Running on oeis4.)