OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
For n = 26, a(26) = n + [sqrt(n-1) + 1/2] = 26 + [sqrt(26-1) + 1/2] = 26 + [5.5] = 31.
MATHEMATICA
With[{nn=100}, Complement[Range[nn], Range[Floor[Sqrt[nn]]]^2+1]] (* Harvey P. Dale, Sep 06 2022 *)
PROG
(PARI) is(n)=!issquare(n-1) || n==1 \\ Charles R Greathouse IV, Sep 01 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jaroslav Krizek, Aug 14 2009
EXTENSIONS
Edited by R. J. Mathar, Aug 20 2009
Corrected by Jaroslav Krizek, Oct 24 2009
STATUS
approved