cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A059303 Numbers k such that floor(e^k) + 1 is prime.

This page as a plain text file.
%I A059303 #24 Feb 16 2025 08:32:43
%S A059303 0,1,5,7,10,105,22959,34888
%N A059303 Numbers k such that floor(e^k) + 1 is prime.
%C A059303 0 followed by all k such that ceiling(e^k) is prime. - _Jeppe Stig Nielsen_, Feb 12 2024
%H A059303 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/e-Prime.html">e-Prime</a>
%t A059303 Select[Range[40000], PrimeQ[Floor[E^#] + 1] &] (* _G. C. Greubel_, Jan 06 2017 *)
%o A059303 (PARI) isok(k) = isprime(floor(exp(k))+1) \\ _Michel Marcus_, Jun 08 2013
%Y A059303 Cf. A001671, A050808.
%K A059303 nonn,more
%O A059303 1,3
%A A059303 _Felice Russo_, Jan 25 2001
%E A059303 Corrected by Francisco Salinas (franciscodesalinas(AT)hotmail.com), Dec 25 2001
%E A059303 a(7)-a(8) from _Donovan Johnson_