A363409 a(n) = the real part of Product_{k = 1..n} (1 + k*sqrt(-2)).
1, 1, -3, -21, 27, 927, 387, -78111, -211167, 10887129, 61228629, -2278564101, -20995423317, 669639978711, 9055735268283, -263207953694367, -4900375484030367, 133357760824723281, 3278778524907635277, -84617763517115570709, -2669012118280627019109
Offset: 0
Examples
Type 2 prime p = 3: the sequence of 3-adic valuations [v_3(a(n)) : n = 0..100] = [0, 0, 1, 1, 3, 2, 2, 3, 5, 5, 4, 5, 5, 6, 6, 6, 9, 9, 9, 10, 10, 10, 11, 11, 11, 13, 13, 13, 14, 14, 14, 15, 15, 15, 17, 17, 17, 18, 18, 18, 19, 19, 19, 22, 22, 22, 23, 23, 23, 24, 24, 24, 26, 26, 26, 27, 27, 27, 28, 28, 28, 30, 30, 30, 31, 31, 31, 32, 32, 32, 37, 36, 36, 40, 37, 37, 38, 38, 38, 40, 40, 40, 41, 41, 41, 42, 42, 42, 47, 44, 44, 46, 45, 45, 46, 46, 46, 49, 49, 49, 50]. Note that v_3(a(100)) = 50 = 100/(3 - 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..101] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1], showing the oscillatory behavior for type 3 primes conjectured above. It appears that v_7(a(7*n+3)) = 1 otherwise v_7(a(n)) = 0.
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*(2*n^2 - 4*n + 3)*a(n-2) )/(n - 1) end if; end: seq(a(n), n = 0..20);
-
Mathematica
Table[Re[Product[1+k*Sqrt[-2], {k, 0, n}]], {n, 0, 20}] (* James C. McMahon, Jan 28 2024 *)
Formula
a(n) = Sum_{k = 0..floor((n+1)/2)} (-2)^k*Stirling1(n+1, n+1-2*k).
a(n+1)/a(n) = 1 - (2*n + 2)*1/sqrt(2)*tan( Sum_{k = 1..n} arctan(sqrt(2)*k) ).
(n - 1)*a(n) = (2*n - 1)*a(n-1) - n*(2*n^2 - 4*n + 3)*a(n-2) with a(0) = 1 and a(1) = 1.
Comments