OFFSET
0,2
FORMULA
a(2*n)*Bernoulli(2*n) = A347425(n).
MATHEMATICA
A369119[n_] := n! If[PrimeQ[n+1], n+1, 1];
Array[A369119, 25, 0] (* Paolo Xausa, Jan 15 2024 *)
PROG
(SageMath)
def A369119(n): return (n+1)^is_prime(n+1)*factorial(n)
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Jan 14 2024
STATUS
approved