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