%I #11 Sep 08 2022 08:45:56
%S 2,4,7,9,12,14,16,20,22,25,27,29,32,34,37,40,43,45,47,50,52,55,58,60,
%T 63,65,68,70,73,75,78,81,83,86,88,90,93,96,99,101,103,106,108,111,113,
%U 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
%N a(n) = n + [n*r/s] + [n*t/s]; r=1, s=1+sqrt(2), t=1+sqrt(3).
%C See A189469.
%H Ivan Panchenko, <a href="/A189470/b189470.txt">Table of n, a(n) for n = 1..10000</a>
%t r=1; s=1+Sqrt[2]; t=1+Sqrt[3];
%t f[n_]:= n + Floor[n*s/r] + Floor[n*t/r];
%t g[n_]:= n + Floor[n*r/s] + Floor[n*t/s];
%t h[n_]:= n + Floor[n*r/t] + Floor[n*s/t];
%t Table[f[n], {n, 1, 120}] (* A189469 *)
%t Table[g[n], {n, 1, 120}] (* A189470 *)
%t Table[h[n], {n, 1, 120}] (* A189471 *)
%o (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
%o (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
%Y Cf. A189469, A189471.
%K nonn
%O 1,1
%A _Clark Kimberling_, Apr 22 2011