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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A189369 a(n) = n + [n*r/t] + [n*s/t]; r=2, s=sqrt(2), t=sqrt(3). 3
2, 5, 8, 11, 14, 16, 20, 23, 26, 29, 31, 34, 38, 41, 44, 47, 49, 52, 55, 59, 62, 64, 67, 70, 73, 77, 80, 82, 85, 88, 91, 94, 97, 100, 103, 106, 109, 112, 115, 118, 121, 124, 127, 129, 132, 136, 139, 142, 145, 147, 150, 154, 157, 160, 162, 165, 168, 171, 175, 177, 180, 183, 186, 189, 193, 195, 198, 201, 204, 207, 209, 213, 216, 219, 222, 225, 227, 231, 234, 237, 240, 242, 245 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

(See A189367.)

LINKS

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

MATHEMATICA

r = 2; s = Sqrt[2]; t = Sqrt[3];

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}]  (* A189367 *)

Table[g[n], {n, 1, 120}]  (* A189368 *)

Table[h[n], {n, 1, 120}]  (* A189369 *)

PROG

(PARI) for(n=1, 100, print1(n + floor(2*n/sqrt(3)) + floor(n*sqrt(2)/sqrt(3)), ", ")) \\ G. C. Greubel, Apr 20 2018

(MAGMA) [n + Floor(2*n/Sqrt(3)) + Floor(n*Sqrt(2)/Sqrt(3)): n in [1..100]]; // G. C. Greubel, Apr 20 2018

CROSSREFS

Cf. A189367, A189368.

Sequence in context: A059560 A022842 A189525 * A055048 A045930 A140099

Adjacent sequences:  A189366 A189367 A189368 * A189370 A189371 A189372

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 17 20:46 EST 2018. Contains 317278 sequences. (Running on oeis4.)