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!)
A300559 a(n) = n*(n+1)!/2 + 1. 3
1, 2, 7, 37, 241, 1801, 15121, 141121, 1451521, 16329601, 199584001, 2634508801, 37362124801, 566658892801, 9153720576001, 156920924160001, 2845499424768001, 54420176498688001, 1094805903679488001, 23112569077678080001, 510909421717094400001, 11802007641664880640001 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
See A301373 and A302859 for the primes: it is remarkable that all of a(1..10) are primes, and only a(11) is the first composite term.
LINKS
Maheswara Rao Valluri, Primes of the form p = 1 + n! Sum n, for some n ∈ N*, arXiv:1803.11461 [math.GM], 2018.
FORMULA
a(n) = A180119(n) + 1 = A001286(n+1) + 1.
D-finite with recurrence n*a(n+1) = (n+1)*(n+2)*(a(n)-1) + n. - Chai Wah Wu, Apr 11 2018
E.g.f.: exp(x)-1/(x-1)^3*x. - Simon Plouffe, Jun 21 2018
MATHEMATICA
Array[# (# + 1)!/2 + 1 &, 22, 0] (* Michael De Vlieger, Apr 10 2018 *)
PROG
(PARI) apply( A300559=n->(n+1)!\2*n+1, [0..25])
(Magma) [n*Factorial(n+1)/2+1: n in [0..25]]; // Vincenzo Librandi, Apr 12 2018
CROSSREFS
Inspired by A302859.
Cf. A301373.
Sequence in context: A063766 A020040 A125191 * A302859 A338182 A135164
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Apr 10 2018
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 April 23 22:36 EDT 2024. Contains 371917 sequences. (Running on oeis4.)