login
A198081
a(n) = ceiling(n*sqrt(3)).
1
0, 2, 4, 6, 7, 9, 11, 13, 14, 16, 18, 20, 21, 23, 25, 26, 28, 30, 32, 33, 35, 37, 39, 40, 42, 44, 46, 47, 49, 51, 52, 54, 56, 58, 59, 61, 63, 65, 66, 68, 70, 72, 73, 75, 77, 78, 80, 82, 84, 85, 87, 89, 91, 92, 94, 96, 97, 99, 101, 103
OFFSET
0,2
LINKS
MATHEMATICA
Ceiling[Range[0, 60]Sqrt[3]] (* Harvey P. Dale, May 06 2012 *)
PROG
(Magma) [Ceiling(n*Sqrt(3)): n in [0..60]]
(Python)
from math import isqrt
def A198081(n): return 1+isqrt(3*n*n) if n else 0 # Chai Wah Wu, Jul 29 2022
CROSSREFS
Cf. A022847.
Sequence in context: A136617 A275814 A285376 * A081223 A184654 A047293
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 22 2011
STATUS
approved