A184809 a(n) = n + floor(sqrt(3/2)*n).
2, 4, 6, 8, 11, 13, 15, 17, 20, 22, 24, 26, 28, 31, 33, 35, 37, 40, 42, 44, 46, 48, 51, 53, 55, 57, 60, 62, 64, 66, 68, 71, 73, 75, 77, 80, 82, 84, 86, 88, 91, 93, 95, 97, 100, 102, 104, 106, 109, 111, 113, 115, 117, 120, 122, 124, 126, 129, 131, 133, 135
Offset: 1
Keywords
Links
- Clark Kimberling, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[n + Floor(n*Sqrt(3/2)): n in [1..70]]; // Vincenzo Librandi, Oct 23 2014
-
Mathematica
(See A184808.)
-
PARI
main(size)={return(vector(size,n,n+floor(sqrt(3/2)*n)))}/* Anders Hellström, Jul 15 2015 */
Formula
a(n) = n + floor(r*n), where r = sqrt(3/2).
Comments