OFFSET
1,1
COMMENTS
It is obvious that all even numbers and all prime numbers would meet this criterion.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
EXAMPLE
15 is 1111_2 and 15=3*5 where 3 is 11_2, so 15 is a term.
MATHEMATICA
f[n_] := Block[{nb = ToString@ FromDigits@ IntegerDigits[n, 2], psb = ToString@ FromDigits@ IntegerDigits[ #, 2] & /@ First@ Transpose@ FactorInteger@n, c = 0, k = 1}, lmt = 1 + Length@ psb; While[k < lmt, If[ StringCount[nb, psb[[k]]] > 0, c++ ]; k++ ]; c]; f[1] = 0; Select[ Range@ 286, !PrimeQ@ # && OddQ@ # && f@# > 0 &]
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Robert G. Wilson v, Oct 03 2008
STATUS
approved