login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = prime(n)!-1.
19

%I #13 Sep 08 2022 08:45:33

%S 1,5,119,5039,39916799,6227020799,355687428095999,121645100408831999,

%T 25852016738884976639999,8841761993739701954543615999999,

%U 8222838654177922817725562879999999,13763753091226345046315979581580902399999999,33452526613163807108170062053440751665151999999999,60415263063373835637355132068513997507264511999999999,258623241511168180642964355153611979969197632389119999999999,4274883284060025564298013753389399649690343788366813724671999999999999,138683118545689835737939019720389406345902876772687432540821294940159999999999999

%N a(n) = prime(n)!-1.

%C Numbers of the form (prime(n)!-m)/m :

%C for m=1 see A139189

%C for m=2 see A139190

%C for m=3 see A139191

%C for m=4 see A139192

%C for m=5 see A139193

%C for m=6 see A139194

%C for m=7 see A139195

%C for m=8 see A139196

%C for m=9 see A139197

%C for m=10 see A139198

%H Alois P. Heinz, <a href="/A139189/b139189.txt">Table of n, a(n) for n = 1..85</a>

%F a(n)=A039716(n)-1. - _R. J. Mathar_, May 25 2008

%t Table[(Prime[n]! - 1)/1, {n, 1, 20}]

%o (PARI) a(n) = prime(n)!-1 \\ _Charles R Greathouse IV_, Apr 29 2015

%o (Magma) [(Factorial(NthPrime(n))-1): n in [1..20]]; // _Vincenzo Librandi_, Jun 02 2017

%Y Cf. A139189, A139190, A139191, A139192, A139193, A139194, A139195, A139196, A139197, A139198.

%K nonn

%O 1,2

%A _Artur Jasinski_, Apr 11 2008

%E More terms from _R. J. Mathar_, May 25 2008