

A215781


a(n) = ceiling(n*(sqrt(3)1)).


2



0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 11, 12, 13, 14, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 22, 22, 23, 24, 25, 25, 26, 27, 28, 28, 29, 30, 31, 31, 32, 33, 33, 34, 35, 36, 36, 37, 38, 39, 39, 40, 41, 41, 42
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,3


COMMENTS

sqrt(3)1 has continued fraction [0,1,2,1,2,1,2,...]


LINKS

Peter G. Anderson, Table of n, a(n) for n = 0..499 (corrected by Ray Chandler, Jan 19 2019)


MATHEMATICA

Table[Ceiling[n(Sqrt[3]1)], {n, 0, 60}] (* Harvey P. Dale, Jan 15 2017 *)


PROG

(J) >. ( _1 + %:3) * i.500


CROSSREFS

A188070 is Ceiling(n/(sqrt(3)1)
Sequence in context: A086525 A248231 A120503 * A215090 A083544 A057353
Adjacent sequences: A215778 A215779 A215780 * A215782 A215783 A215784


KEYWORD

nonn


AUTHOR

Peter G. Anderson, Aug 23 2012


EXTENSIONS

Definition corrected by N. J. A. Sloane, Jan 15 2017


STATUS

approved



