login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A236399 Left factorial !p, where p = prime(n). 3
2, 4, 34, 874, 4037914, 522956314, 22324392524314, 6780385526348314, 1177652997443428940314, 316196664211373618851684940314, 274410818470142134209703780940314, 382630662501032184766604355445682020940314, 836850334330315506193242641144055892504420940314 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..13.

Romeo Mestrovic, Variations of Kurepa's left factorial hypothesis, arXiv preprint arXiv:1312.7037, 2013

MAPLE

lf:=n->add(k!, k=0..n-1);

[seq(lf(ithprime(n)), n=1..30)];

# 2nd program:

A236399 := proc(n)

    A003422(ithprime(n)) ;

end proc:

seq(A236399(n), n=1..5) ; # R. J. Mathar, Dec 19 2016

MATHEMATICA

leftFac[n_] := Sum[k!, {k, 0, n - 1}];

a[n_] := leftFac[Prime[n]];

Array[a, 13] (* Jean-Fran├žois Alcover, Nov 24 2017 *)

CROSSREFS

A subsequence of A003422.

Sequence in context: A051225 A103625 A006989 * A132529 A140984 A057996

Adjacent sequences:  A236396 A236397 A236398 * A236400 A236401 A236402

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Jan 29 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 23 02:39 EDT 2019. Contains 321422 sequences. (Running on oeis4.)