A363856 Number of divisors of 7*n-4 of form 7*k+6.
0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 2, 0, 0, 0, 2, 0, 2, 0, 1, 0, 0, 0, 2, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 3, 0, 1, 0, 1, 0, 1, 0, 2, 0, 0, 0, 2, 1, 0, 0, 1, 0, 2, 0, 2, 1, 0, 0, 3, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 3, 0, 0, 0, 2, 0, 1, 0, 1, 1, 1, 1, 2
Offset: 1
Keywords
Programs
-
Mathematica
a[n_] := DivisorSum[7*n - 4, 1 &, Mod[#, 7] == 6 &]; Array[a, 100] (* Amiram Eldar, Jun 25 2023 *)
-
PARI
a(n) = sumdiv(7*n-4, d, d%7==6);
Comments