OFFSET
1,1
COMMENTS
The sequence does not contain squarefree numbers or perfect squares.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
147 and 216 are in the sequence, since their expansions over distinct terms of A050376 are 3*49 and 2*3*4*9 respectively. Thus the expansion of 147 contains one prime and one perfect square, while the expansion of 216 contains two primes and two perfect squares.
MATHEMATICA
aQ[n_] := Total @ (d = IntegerDigits[Last /@ FactorInteger[n], 2])[[;; , -1]] == Total @ Flatten @d / 2; Select[Range[350], aQ] (* Amiram Eldar, Oct 01 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Mar 02 2011
EXTENSIONS
a(28)=153 inserted and more terms added by Amiram Eldar, Oct 01 2019
STATUS
approved