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!)
A127987 Largest prime factor of n! + 2^n - 1. 9
2, 5, 13, 13, 151, 29, 5167, 541, 51913, 691, 39918847, 1520653, 9631, 2748457, 171793, 37698720637, 429056005099, 10201231, 4759011791767, 26573, 560275276313059, 30130171848761, 522781919969, 8912567718641664241 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

A186450 is a subsequence. - Altug Alkan, Oct 28 2015

LINKS

Klaus Brockhaus and Amiram Eldar, Table of n, a(n) for n = 1..81 (terms 1..75 from Klaus Brockhaus)

Florian Luca, Igor E. Shparlinsky, On the largest prime factor of n! + 2^n - 1, J. Th. des Nombres de Bordeaux 2005, Vol.17, Fasc. 3.

FORMULA

a(n) = A006530(A127986(n)). - Amiram Eldar, Feb 05 2020

MATHEMATICA

Table[FactorInteger[n! + 2^n - 1][[-1, 1]], {n, 20}] (* Alonso del Arte, Oct 28 2015 *)

PROG

(MAGMA) largestpf := func<n | f[#f, 1] where f is Factorization(n)>; [largestpf(Factorial(n)+2^n-1): n in [1..24]]; // Klaus Brockhaus, Nov 20 2009

(PARI) a(n)=my(f=factor(n!+2^n-1)[, 1]); f[#f] \\ Charles R Greathouse IV, Feb 01 2013

CROSSREFS

Cf. A006530, A127986.

Sequence in context: A112838 A111296 A089728 * A247543 A220268 A049476

Adjacent sequences:  A127984 A127985 A127986 * A127988 A127989 A127990

KEYWORD

nonn

AUTHOR

Artur Jasinski, Feb 09 2007

EXTENSIONS

Definition corrected by 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 May 22 15:29 EDT 2022. Contains 353957 sequences. (Running on oeis4.)