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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A189470 a(n) = n + [n*r/s] + [n*t/s]; r=1, s=1+sqrt(2), t=1+sqrt(3). 3
2, 4, 7, 9, 12, 14, 16, 20, 22, 25, 27, 29, 32, 34, 37, 40, 43, 45, 47, 50, 52, 55, 58, 60, 63, 65, 68, 70, 73, 75, 78, 81, 83, 86, 88, 90, 93, 96, 99, 101, 103, 106, 108, 111, 113, 117, 119, 121, 124, 126, 129, 131, 133, 137, 139, 142, 144, 147, 149, 151, 155, 157, 160, 162, 164, 167, 169, 172, 175, 177, 180, 182, 185, 187, 190, 193, 195, 198, 200, 203, 205, 207, 210, 213 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

See A189469.

LINKS

Ivan Panchenko, Table of n, a(n) for n = 1..10000

MATHEMATICA

r=1; s=1+Sqrt[2]; t=1+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}]  (* A189469 *)

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

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

PROG

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

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

CROSSREFS

Cf. A189469, A189471.

Sequence in context: A003151 A189939 A219637 * A189681 A059542 A190324

Adjacent sequences:  A189467 A189468 A189469 * A189471 A189472 A189473

KEYWORD

nonn

AUTHOR

Clark Kimberling, Apr 22 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 November 14 14:43 EST 2019. Contains 329126 sequences. (Running on oeis4.)