OFFSET
1,1
EXAMPLE
13 is a term since it is an odious number (13 = 1101_2 has 3 1's), but 13^2 = 169 is not (169 = 10101001_2 has 4 1's), and 13 is the least number with this property.
MATHEMATICA
odQ[n_] := n > 1 && OddQ[n]; odiousQ[n_] := odQ @ DigitCount[n, 2, 1]; f[n_] := Module[{e = 0, r = n}, While[odiousQ[r], r *= n; e++]; e]; m = 15; s = Table[0, {m}]; c = 0; n = 1; While[c < m, k = f[n]; If[0 < k <= m && s[[k]] == 0, c++; s[[k]] = n]; n++]; s
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amiram Eldar, Jun 17 2021
STATUS
approved