OFFSET
1,7
MATHEMATICA
lb = 1; ub = 100; tt = Table[ToString[2^i], {i, 1, ub}]; a = {}; For[i = lb, i <= ub, i++, m = 0; For[j = 1, j < i, j++, If[Length[StringPosition[tt[[i]], tt[[j]]]] > 0, m = m + 1]]; a = Append[a, m]]; a
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Joseph L. Pe, Feb 03 2003
STATUS
approved