login
a(n) = prime(n+1)! / prime(n).
2

%I #63 Sep 08 2022 08:46:13

%S 3,40,1008,5702400,566092800,27360571392000,7155594141696000,

%T 1360632459941314560000,384424434510421824110592000000,

%U 283546160488893890266398720000000

%N a(n) = prime(n+1)! / prime(n).

%F a(n) = prime(n+1)! / prime(n) = A039716(n+1) / A000040(n).

%F 10^(n-1)|a(n+3) for n>=0. - _G. C. Greubel_, Aug 20 2015

%e a(2) = 5! / 3 = 40.

%p A260754:=n->ithprime(n+1)!/ithprime(n): seq(A260754(n), n=1..20); # _Wesley Ivan Hurt_, Aug 20 2015

%t Table[Prime[i+1] !/Prime[i], {i,20}] (* _G. C. Greubel_, Aug 20 2015 *)

%o (PARI) vector(15, n, prime(n+1)!/prime(n)) \\ _Michel Marcus_, Aug 20 2015

%o (Magma) [Factorial(NthPrime(n+1))/NthPrime(n) : n in [1..10]]; // _Wesley Ivan Hurt_, Aug 20 2015

%Y Cf. A000040, A039716, A072472.

%K nonn,easy

%O 1,1

%A _Altug Alkan_, Aug 20 2015