OFFSET
1,1
COMMENTS
Base 2 equivalent of A072841.
It appears that one of these numbers has a 1/n chance of being divisible by an odd number n, but a smaller than 1/n chance if n is even.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
17 is a term of the sequence because its square base 2 (100100001) and 18's square base 2 (101000100) are anagrams.
MATHEMATICA
For[i = 1, i <= 10000, i++,
If[Sort[IntegerDigits[i^2, 2]] == Sort[IntegerDigits[(i + 1)^2, 2]],
Print[i]]]
PROG
(PARI) is(n)=hammingweight(n^2)==hammingweight((n+1)^2) && #binary(n^2)==#binary((n+1)^2) \\ Charles R Greathouse IV, Aug 29 2015
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Dhilan Lahoti, Aug 28 2015
EXTENSIONS
a(27)-a(54) from Charles R Greathouse IV, Aug 29 2015
STATUS
approved