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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A189382 a(n) = n + [n*r/t] + [n*s/t]; r=1, s=-1+sqrt(2), t=1+sqrt(2). 3
 1, 2, 4, 5, 7, 9, 10, 12, 13, 15, 16, 18, 20, 21, 23, 24, 26, 28, 29, 31, 32, 34, 35, 37, 39, 40, 42, 43, 45, 47, 48, 50, 51, 53, 55, 56, 58, 59, 61, 62, 64, 66, 67, 69, 70, 72, 74, 75, 77, 78, 80, 81, 83, 85, 86, 88, 89, 91, 93, 94, 96, 97, 99, 100, 102, 104, 105, 107, 108, 110, 112, 113, 115, 116, 118, 120, 121, 123, 124, 126, 127, 129, 131, 132, 134 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS See A189380. LINKS G. C. Greubel, Table of n, a(n) for n = 1..10000 MATHEMATICA r=1; s=-1+2^(1/2); t=1+2^(1/2); f[n_] := n + Floor[n*s/r] + Floor[n*t/r]; g[n_] := n + Floor[n*r/s] + Floor[n*t/s]; h[n_] := n + Floor[n*r/t] + Floor[n*s/t] Table[f[n], {n, 1, 120}]  (* A189380 *) Table[g[n], {n, 1, 120}]  (* A189381 *) Table[h[n], {n, 1, 120}]  (* A189382 *) PROG (PARI) for(n=1, 100, print1(n + floor(n/(sqrt(2)+1)) + floor(n*(sqrt(2)-1)/(sqrt(2)+1)), ", ")) \\ G. C. Greubel, Apr 20 2018 (MAGMA) [n + Floor(n/(Sqrt(2)+1)) + Floor(n*(Sqrt(2)-1)/(Sqrt(2)+1)): n in [1..100]]; // G. C. Greubel, Apr 20 2018 CROSSREFS Cf. A189380, A189381. Sequence in context: A243118 A289240 A188019 * A087063 A047497 A004956 Adjacent sequences:  A189379 A189380 A189381 * A189383 A189384 A189385 KEYWORD nonn AUTHOR Clark Kimberling, Apr 20 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.

Last modified August 5 04:03 EDT 2021. Contains 346457 sequences. (Running on oeis4.)