A195207 Number of even divisors of !n.
0, 0, 0, 1, 0, 4, 0, 6, 0, 24, 0, 4, 0, 24, 0, 4, 0, 16, 0, 24, 0, 32, 0, 96, 0, 144, 0, 16, 0, 64, 0, 144, 0, 40, 0, 128, 0, 160, 0, 16, 0, 96, 0, 96, 0, 32, 0, 128, 0, 96, 0, 48, 0, 128, 0, 96, 0, 96, 0, 32, 0
Offset: 0
Keywords
Examples
a(7) = 6 because the divisors of !7 = 1854 are {1, 2, 3, 6, 9, 18, 103, 206, 309, 618, 927, 1854} with 6 even divisors 2, 6, 18, 206, 618, 1854.
Links
- Amiram Eldar, Table of n, a(n) for n = 0..82
Programs
-
Maple
A166 := proc(n) option remember; (n-1)*(procname(n-1)+procname(n-2)); end: A166(0):= 1: A166(1):= 0: f:= proc(n) if n::even then 0 else numtheory:-tau(A166(n)/2) fi end proc: map(f, [$0...60]); # Robert Israel, Jul 31 2024
-
Mathematica
f[n_] := Block[{d = Divisors[Subfactorial[n]]}, Count[EvenQ[d], True]]; Table[f[n], {n, 0, 60}]
Comments