OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
EXAMPLE
5 is in the sequence since 5 = 101_2 and 5 is not a multiple of 1 + 0 + 1 = 2.
MATHEMATICA
Select[Range[100], !IntegerQ[#/Total[IntegerDigits[#, 2]]]&] (* Harvey P. Dale, Apr 20 2011 *)
PROG
(PARI) Count(x, d)= { local(c=0, f); while (x>9, f=x%10; if (f==d, c++); x\=10); if (x==d, c++); return(c) } baseE(x, b)= { local(d, e=0, f=1); while (x>0, d=x%b; x\=b; e+=d*f; f*=10); return(e) } { n=0; for (m=1, 10^9, if (m%Count(baseE(m, 2), 1), write("b065878.txt", n++, " ", m); if (n==1000, return)) ) } \\ Harry J. Smith, Nov 03 2009
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Nov 26 2001
STATUS
approved