The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A370549 a(n) is the numerator of the imaginary part of Product_{k=1..n} (1/k + i) where i is the imaginary unit. 6
1, 3, 0, -5, -3, 35, 11, -65, -3055, 4433, 2561, -18863, -614635, 14705, 3871801, -6702403, -23794993, -21392575, 1677354925, 2206770805, -30432904645, -617315066615, 2099373575975, 551582580432325, -11053607615333933, -180184164588301, 4198057769186443, 435884809756010315 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = numerator of A105751(n)/n!. - Chai Wah Wu, Feb 22 2024
EXAMPLE
See A370547.
PROG
(PARI) a370549(n) = numerator(imag(prod(k=1, n, 1/k+I)))
(Python)
from math import factorial, gcd
from sympy.functions.combinatorial.numbers import stirling
def A370549(n): return (a:=sum(stirling(n+1, n-(k<<1), kind=1)*(-1 if k&1 else 1) for k in range((n>>1)+1)))//gcd(a, factorial(n)) # Chai Wah Wu, Feb 22 2024
CROSSREFS
Sequence in context: A275393 A029840 A144670 * A011078 A354592 A259617
KEYWORD
frac,sign,easy
AUTHOR
Hugo Pfoertner, Feb 22 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 12:53 EDT 2024. Contains 373128 sequences. (Running on oeis4.)