OFFSET
1,2
COMMENTS
Numbers that are sqrt(odious squares).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..2600
FORMULA
a(n) = sqrt(A235001(n)).
EXAMPLE
MATHEMATICA
Select[Range[200], OddQ[DigitCount[#^2, 2][[1]]] &] (* Vincenzo Librandi, Jan 31 2018 *)
PROG
(Magma) [n : n in [0..130] |IsOdd(&+Intseq(n^2, 2))]; // Vincenzo Librandi, Jan 31 2018
(PARI) isok(n) = (hammingweight(n^2) % 2) == 1; \\ Michel Marcus, Jan 31 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gerasimov Sergey, Jan 06 2014
STATUS
approved