The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A139464 n! + 2n - 1. 4
2, 5, 11, 31, 129, 731, 5053, 40335, 362897, 3628819, 39916821, 479001623, 6227020825, 87178291227, 1307674368029, 20922789888031, 355687428096033, 6402373705728035, 121645100408832037, 2432902008176640039 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Florian Luca and Igor E. Shparlinski, On the largest prime factor of n! + 2^n - 1, Journal de Theorie des Nombres de Bordeaux 17 (2005), 859-870.
FORMULA
a(n) = A000142(n) + A005408(n-1).
MAPLE
A139464:=n->n!+2*n-1: seq(A139464(n), n=1..20); # Wesley Ivan Hurt, Nov 15 2014
MATHEMATICA
Table[n! + 2 n - 1, {n, 40}]
PROG
(PARI) a(n)=n!+2*n-1 \\ Charles R Greathouse IV, Feb 01 2013
(Magma) [Factorial(n)+2*n-1 : n in [1..20]]; // Wesley Ivan Hurt, Nov 15 2014
CROSSREFS
Cf. A000142 (n!), A005408 (2n+1).
Sequence in context: A002862 A190865 A275427 * A174537 A101837 A124483
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Apr 22 2008
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 June 9 23:33 EDT 2024. Contains 373251 sequences. (Running on oeis4.)