login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A077476
Numbers n such that the digital binary sum of n equals core(n), the squarefree part of n.
1
1, 4, 16, 18, 64, 72, 256, 288, 405, 486, 726, 847, 1024, 1125, 1152, 1183, 1620, 1734, 1944, 2166, 2646, 2904, 3174, 3388, 4096, 4500, 4608, 4732, 5766, 6480, 6534, 6727, 6936, 7776, 8664, 10584, 11616, 12250, 12696, 13552, 14406, 16384, 16807, 18000
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
Sequence in context: A243298 A139719 A117102 * A282552 A278315 A374824
KEYWORD
base,nonn
AUTHOR
Benoit Cloitre, Dec 01 2002
STATUS
approved