login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A027438
Largest prime factor of [e*2^n].
2
2, 5, 5, 7, 43, 43, 173, 347, 139, 107, 23, 293, 293, 293, 293, 293, 79, 79, 883, 883, 114013, 114013, 114013, 114013, 1232573, 1232573, 1499, 364841611, 364841611, 364841611, 364841611, 170801, 170801, 56812319, 56812319, 56812319, 56812319
OFFSET
0,1
LINKS
MATHEMATICA
Table[FactorInteger[Floor[E 2^n]][[-1, 1]], {n, 0, 40}] (* Harvey P. Dale, May 31 2013 *)
PROG
(PARI) for(n=0, 22, print(factor(floor(exp(1)*2^n))))
(Magma) [Max(PrimeDivisors(Floor(Exp(1)*2^n))):n in [0..37]]; // Marius A. Burtea, Nov 05 2019
CROSSREFS
Sequence in context: A165898 A194531 A092394 * A334388 A204237 A153162
KEYWORD
nonn
EXTENSIONS
More terms from Jason Earls, Jul 11 2001
STATUS
approved