login
A329791
a(n) = floor(sqrt(2)*n) + floor(sqrt(3)*n).
1
0, 2, 5, 9, 11, 15, 18, 21, 24, 27, 31, 34, 36, 40, 43, 46, 49, 53, 56, 58, 62, 65, 69, 71, 74, 78, 81, 84, 87, 91, 93, 96, 100, 103, 106, 109, 112, 116, 118, 122, 125, 128, 131, 134, 138, 140, 144, 147, 150, 153, 156, 160, 163, 165, 169, 172, 175, 178, 182
OFFSET
0,2
LINKS
Vitaly Bergelson and Joseph Vandehey, A hot spot proof of the generalized Wall theorem, Amer. Math. Monthly, 126:10, 876-890, Dec. 2019. See page 879.
FORMULA
a(n) = A001951(n) + A022838(n). - Michel Marcus, Apr 19 2023
MATHEMATICA
Table[Floor[Sqrt[2]n]+Floor[Sqrt[3]n], {n, 0, 80}] (* Harvey P. Dale, Mar 29 2021 *)
PROG
(PARI) a(n) = sqrtint(2*n^2) + sqrtint(3*n^2); \\ Michel Marcus, Apr 19 2023
CROSSREFS
Sequence in context: A190369 A067568 A190329 * A189522 A210510 A050904
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 03 2019
STATUS
approved