OFFSET
1,37
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
37 has 2 divisors. 37 in binary is 100101. 2 in binary is 10. 10 occurs in two places in 100101: (10)0(10)1. So a(37) = 2.
MATHEMATICA
Table[SequenceCount[IntegerDigits[n, 2], IntegerDigits[DivisorSigma[0, n], 2]], {n, 110}] (* The program uses the SequenceCount function from Mathematica version 10.1 *) (* Harvey P. Dale, Apr 02 2015 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Aug 03 2008
EXTENSIONS
Extended by Ray Chandler, Nov 09 2008
STATUS
approved
