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”).

Floor of exp(n-th prime).
3

%I #16 Jul 20 2021 17:16:16

%S 7,20,148,1096,59874,442413,24154952,178482300,9744803446,

%T 3931334297144,29048849665247,11719142372802611,639843493530054949,

%U 4727839468229346561,258131288619006739623,104137594330290877971834,42012104037905142549565934,310429793570191990870734214

%N Floor of exp(n-th prime).

%D Kumanduri and Romero, "Number Theory", Upper Saddle River, NJ, 1998.

%H T. D. Noe, <a href="/A051102/b051102.txt">Table of n, a(n) for n=1..100</a>

%F a(n) = A000149(A000040(n)). - _Alois P. Heinz_, Apr 09 2020

%e e = 2.718281828..., e^5 = 148.4131591..., floor( e^5 ) = 148.

%t Floor[Exp[#]]&/@Prime[Range[20]] (* _Harvey P. Dale_, Dec 12 2012 *)

%o (Python)

%o from sympy import floor, E, prime

%o def a(n): return floor(E**prime(n))

%o print([a(n) for n in range(1, 19)]) # _Michael S. Branicky_, Jul 20 2021

%Y Cf. A000040, A000149, A001113.

%K nonn

%O 1,1

%A Joel Patrick Hollins (s1161557(AT)cedarville.edu)