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!)
A190080 a(n) = 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
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
Sequence in context: A003231 A189460 A172323 * A184812 A140487 A310189
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 11:59 EDT 2024. Contains 371254 sequences. (Running on oeis4.)