OFFSET
1,3
COMMENTS
Contains all squares.
These are the indices of the rows of A372728 with nonnegative terms. - Peter Luschny, May 16 2024
Apparently, 2 and 6 are the only nonsquares in the sequence. - Hugo Pfoertner, May 16 2024
MATHEMATICA
Reap[For[n = 0, n < 2500, n++, If[NoneTrue[Range[n], KroneckerSymbol[n, #] == -1&], Sow[n]]]][[2, 1]] (* Jean-François Alcover, Nov 18 2016 *)
PROG
(SageMath)
print([n for n in range(999) if 0 == sum(kronecker(n, k) == -1
for k in range(n + 1))]) # Peter Luschny, May 16 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Aug 06 2004
EXTENSIONS
0 prepended by Peter Luschny, May 16 2024
STATUS
approved