login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A190080 n + [n*r/s] + [n*t/s];  r=1, s=cos(pi/5), t=sec(pi/5). 3
3, 7, 10, 14, 18, 22, 25, 29, 33, 37, 40, 44, 48, 52, 55, 59, 63, 67, 71, 74, 78, 82, 86, 89, 93, 97, 101, 104, 108, 112, 116, 119, 123, 127, 131, 135, 138, 142, 146, 150, 153, 157, 161, 165, 168, 172, 176, 180, 183, 187, 191, 195, 198, 202, 206, 210, 214, 217, 221, 225, 229, 232, 236, 240, 244, 247, 251, 255, 259, 262, 266, 270 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

See A190079.

LINKS

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

FORMULA

a(n) = n + [n*sec(Pi/5)] + [n*(sec(Pi/5))^2].

MATHEMATICA

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

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

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

PROG

(PARI) for(n=1, 100, print1(n + floor(n/cos(Pi/5)) + floor(n/(cos(Pi/5))^2), ", ")) \\ G. C. Greubel, Feb 15 2018

(MAGMA) R:= RealField(); [n + Floor(n/Cos(Pi(R)/5)) + Floor(n/(Cos(Pi(R)/5))^2): n in [1..100]]; // G. C. Greubel, Feb 15 2018

CROSSREFS

Cf. A190079, A190081.

Sequence in context: A003231 A189460 A172323 * A184812 A140487 A293788

Adjacent sequences:  A190077 A190078 A190079 * A190081 A190082 A190083

KEYWORD

nonn

AUTHOR

Clark Kimberling, May 04 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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified May 27 00:38 EDT 2018. Contains 304689 sequences. (Running on oeis4.)