A363414 a(n) = (1/2) * the imaginary part of Product_{k = 0..n} 1 + k*sqrt(-4).
0, 1, 3, -18, -190, 1035, 25305, -120260, -5954940, 22115925, 2197084175, -5141457750, -1173207584250, 769657081375, 856957094209125, 1127788828491000, -821262134429035000, -2922085673288364375, 1000078365473764126875, 6056214264965246443750, -1508740652939902034493750
Offset: 0
Examples
Type 2 prime p = 5: the sequence of 5-adic valuations [v_5(a(n)) : n = 1..100] = [0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9, 9, 11, 11, 11, 11, 11, 14, 12, 13, 12, 12, 14, 13, 14, 13, 13, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 17, 17, 17, 17, 17, 19, 18, 19, 18, 18, 21, 19, 20, 19, 19, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 23, 23, 23, 24, 24, 24, 24, 24, 25, 25]. Note that v_5(a(100)) = 25 = 100/(5 - 1), in agreement with the asymptotic behavior for type 2 primes conjectured above. Type 3 prime p = 7: the sequence of 7-adic valuations [v_7(a(n)) : n = 1..100] = [0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 2, 2, 0, 0], showing the oscillatory behavior for type 3 primes conjectured above.
Links
- Victor H. Moll, An arithmetic conjecture on a sequence of arctangent sums, 2012, see f_n.
Programs
-
Maple
a := proc(n) option remember; if n = 0 then 0 elif n = 1 then 1 else ( (2*n - 1)*a(n-1) - n*(4*n^2 - 8*n + 5)*a(n-2) )/(n - 1) end if; end: seq(a(n), n = 0..20);
Formula
a(n) = Sum_{k = 0..floor(n/2)} (-4)^k*Stirling1(n+1,n-2*k).
P-recursive: (n - 1)*a(n) = (2*n - 1)*a(n-1) - n*(4*n^2 - 8*n + 5)*a(n-2) with
a(0) = 0 and a(1) = 1.
Comments