A083901 Number of divisors of n with largest digit <= 6 (base 10).
1, 2, 2, 3, 2, 4, 1, 3, 2, 4, 2, 6, 2, 3, 4, 4, 1, 4, 1, 6, 3, 4, 2, 7, 3, 4, 2, 4, 1, 8, 2, 5, 4, 3, 3, 7, 1, 2, 3, 7, 2, 7, 2, 6, 5, 4, 1, 8, 1, 6, 3, 6, 2, 5, 4, 5, 2, 2, 1, 12, 2, 4, 4, 6, 4, 8, 1, 4, 3, 6, 1, 8, 1, 2, 5, 3, 2, 6, 1, 8, 2, 3, 1, 9, 2, 3, 2, 6, 1, 9, 2, 5, 3, 2, 2, 9, 1, 3, 4, 9, 2, 7, 2, 7, 7
Offset: 1
Programs
-
Mathematica
a[n_] := DivisorSum[n, 1 &, Max[IntegerDigits[#]] <= 6 &]; Array[a, 100] (* Amiram Eldar, Jan 04 2024 *)