A083898 Number of divisors of n with largest digit <= 3 (base 10).
1, 2, 2, 2, 1, 3, 1, 2, 2, 3, 2, 4, 2, 2, 2, 2, 1, 3, 1, 4, 3, 4, 2, 4, 1, 3, 2, 2, 1, 5, 2, 3, 4, 2, 1, 4, 1, 2, 3, 4, 1, 4, 1, 4, 2, 3, 1, 4, 1, 3, 2, 3, 1, 3, 2, 2, 2, 2, 1, 7, 1, 3, 3, 3, 2, 6, 1, 2, 3, 3, 1, 4, 1, 2, 2, 2, 2, 4, 1, 4, 2, 2, 1, 5, 1, 2, 2, 4, 1, 5, 2, 3, 3, 2, 1, 5, 1, 2, 4, 5, 2, 4, 2, 3, 3
Offset: 1
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Table[Count[Divisors[n],?(Total[Most[Drop[DigitCount[#],3]]]==0&)],{n,120}] (* _Harvey P. Dale, Dec 21 2018 *)