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.

A051102 Floor of exp(n-th prime).

This page as a plain text file.
%I A051102 #16 Jul 20 2021 17:16:16
%S A051102 7,20,148,1096,59874,442413,24154952,178482300,9744803446,
%T A051102 3931334297144,29048849665247,11719142372802611,639843493530054949,
%U A051102 4727839468229346561,258131288619006739623,104137594330290877971834,42012104037905142549565934,310429793570191990870734214
%N A051102 Floor of exp(n-th prime).
%D A051102 Kumanduri and Romero, "Number Theory", Upper Saddle River, NJ, 1998.
%H A051102 T. D. Noe, <a href="/A051102/b051102.txt">Table of n, a(n) for n=1..100</a>
%F A051102 a(n) = A000149(A000040(n)). - _Alois P. Heinz_, Apr 09 2020
%e A051102 e = 2.718281828..., e^5 = 148.4131591..., floor( e^5 ) = 148.
%t A051102 Floor[Exp[#]]&/@Prime[Range[20]] (* _Harvey P. Dale_, Dec 12 2012 *)
%o A051102 (Python)
%o A051102 from sympy import floor, E, prime
%o A051102 def a(n):  return floor(E**prime(n))
%o A051102 print([a(n) for n in range(1, 19)]) # _Michael S. Branicky_, Jul 20 2021
%Y A051102 Cf. A000040, A000149, A001113.
%K A051102 nonn
%O A051102 1,1
%A A051102 Joel Patrick Hollins (s1161557(AT)cedarville.edu)