OFFSET
1,5
FORMULA
PROG
(PARI) f(n) = sum(i=1, n, !(issquare(i-1) || issquare(floor(i-sqrt(i-1))))); \\ A248333
a(n) = sum(k=0, n, f(k)); \\ Michel Marcus, Mar 20 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Slav E. Angelov, Mar 20 2021
STATUS
approved