OFFSET
1,2
EXAMPLE
a(12) = 4 since there are 4 proper divisors of A324297(12) = 576 ending with 6: 6, 16, 36 and 96.
MATHEMATICA
b={}; For[n=0, n<=450, n++, For[k=0, k<=n, k++, If[Mod[10*n+6, 10*k+6]==0 && Mod[(10*n+6)/(10*k+6), 10]==6 && 10*n+6>Max[b], AppendTo[b, 10*n+6]]]]; (* A324297 *) a={}; For[i =1, i<=Length[b], i++, AppendTo[a, Length[Drop[Select[Divisors[Part[b, i]], (Mod[#, 10]==6&)], -1]]]]; a
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Stefano Spezia, Jul 15 2021
STATUS
approved