OFFSET
1,1
COMMENTS
n is included if A144789(n) >= 2.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
MAPLE
A007814 := proc(n) local nshf, a ; a := 0 ; nshf := n ; while nshf mod 2 = 0 do nshf := nshf/2 ; a := a+1 ; od: a ; end: A144789 := proc(n) option remember ; local lp2, lp2sh, bind ; bind := convert(n, base, 2) ; if add(i, i=bind) = nops(bind) then RETURN(0) ; fi; lp2 := A007814(n) ; if lp2 = 0 then A144789(floor(n/2)) ; else lp2sh := A144789(n/2^lp2) ; if lp2sh = 0 then lp2 ; else min(lp2, lp2sh) ; fi; fi; end: isA144794 := proc(n) RETURN(A144789(n) >= 2) ; end: for n from 3 to 400 do if isA144794(n) then printf("%d, ", n) ; fi; od: # R. J. Mathar, Sep 29 2008
MATHEMATICA
Select[Range@ 200, And[Union@ # != {1}, AllTrue[Map[Length, Select[Split@ #, First@ # == 0 &]], # > 1 &]] &@ IntegerDigits[#, 2] &] (* Michael De Vlieger, Aug 20 2017 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Sep 21 2008
EXTENSIONS
Extended by R. J. Mathar, Sep 29 2008
STATUS
approved