OFFSET
1,2
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
486 = 2*3^5 hence the squarefree part of 486 is 2*3=6 and the binary representation of 486 is 111100110_2 with 6 1's, hence 486 is in the sequence.
PROG
(PARI) is(n)=my(h=hammingweight(n), t=n/h); denominator(t)==1 && issquare(t) && issquarefree(h) \\ Charles R Greathouse IV, Mar 29 2013
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Benoit Cloitre, Dec 01 2002
STATUS
approved