OFFSET
1,2
COMMENTS
EXAMPLE
a(14) = 4 since there are 4 divisors of A139245(14) = 264 ending with 2: 2, 12, 22 and 132.
MATHEMATICA
a[n_]:=Length[Drop[Select[Divisors[20n-16], (Last[IntegerDigits[#]]==2&)]]]; Array[a, 90]
PROG
(PARI) a(n) = sumdiv(20*n-16, d, (d%10) == 2); \\ Michel Marcus, Jul 26 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Stefano Spezia, Jul 26 2021
STATUS
approved