OFFSET
1,1
COMMENTS
Does the limit of a(n)/n^2 as n -> infinity exist?
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..1600 (terms 1..1000 from Amiram Eldar)
Amiram Eldar, Plot of a(n)/n^2 for n = 1..1000
Hugo Pfoertner, Plot of a(n)/n^2 using Plot 2.
MATHEMATICA
balanced[n_] := Module[{d=IntegerDigits[n, 2]}, Plus@@d==Length[d]/2]; Select[Range[0, 5500], balanced[3^# ]&]
PROG
(PARI) is(n)=hammingweight(n=3^n)==hammingweight(bitneg(n, #binary(n))) \\ Charles R Greathouse IV, Mar 29 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Benoit Cloitre, Dec 06 2002
STATUS
approved