1,2

Complement of A059100, and essentially also of A010000.

Table of n, a(n) for n=1..71.

A000027 \ A059100.

a(n) = n + 1 + floor(sqrt(n-1) + 1/2), for n >= 2.

With[{upto=80}, Complement[Range[upto], Range[0, Floor[Sqrt[upto-2]]]^2+2]] (* Harvey P. Dale, Jun 22 2013 *)

Sequence in context: A196001 A257542 A182757 * A298871 A298874 A266267

Adjacent sequences: A164512 A164513 A164514 * A164516 A164517 A164518

nonn,easy

Jaroslav Krizek, Aug 14 2009

Redefined for simplicity by removing 2, R. J. Mathar, Aug 31 2009

approved