A363413 a(n) = the real part of Product_{k = 0..n} 1 + k*sqrt(-4).
1, 1, -7, -43, 245, 4045, -20795, -729335, 3118985, 217496825, -667140175, -97338843875, 149451128125, 61156245509125, 18055448952125, -51399370203595375, -123577855227019375, 55722247285947360625, 266112415762709595625, -75739843360243364046875, -560236984557463079546875
Offset: 0
Examples
Type 2 prime p = 5: the sequence of 5-adic valuations [v_5(a(n)) : n = 0..100] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 3, 5, 3, 3, 3, 4, 4, 4, 6, 6, 5, 5, 5, 6, 6, 6, 6, 6, 8, 8, 7, 7, 7, 8, 8, 9, 9, 9, 9, 9, 11, 12, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 14, 15, 14, 14, 14, 15, 15, 15, 15, 15, 17, 19, 17, 17, 17, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 20, 21, 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 = 0..100] = [0, 0, 1, 0, 2, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 1], 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 1 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+1)/2)} (-4)^k*Stirling1(n+1,n+1-2*k).
a(n+1)/a(n) = 1 - (2*n + 2)*tan( Sum_{k = 1..n} arctan(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) = a(1) = 1.
Comments