A189363 a(n) = n + [n*r/t] + [n*s/t]; r=1, s=sqrt(2), t=sqrt(3).
1, 4, 6, 9, 11, 13, 16, 18, 21, 23, 25, 27, 30, 33, 35, 38, 39, 42, 44, 47, 50, 51, 54, 56, 59, 62, 64, 66, 68, 71, 73, 76, 78, 80, 83, 85, 88, 90, 92, 95, 97, 100, 102, 104, 106, 109, 112, 114, 117, 118, 121, 124, 126, 129, 130, 133, 135, 138, 141, 142, 145, 147, 150, 152, 155, 157, 159, 162, 164, 167, 168, 171, 174, 176, 179, 181, 183, 186, 188, 191, 193, 195, 197, 200
Offset: 1
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
r = 1; s = 2^(1/2); t = 3^(1/2); 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}] (*A189361*) Table[b[n], {n, 1, 120}] (*A189362*) Table[c[n], {n, 1, 120}] (*A189363*) Table[n+Floor[n/Sqrt[3]]+Floor[(n Sqrt[2])/Sqrt[3]],{n,100}] (* Harvey P. Dale, Jun 15 2025 *)
Comments