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!)
A132377 a(n) = PrimePi(n)^n. 2

%I #10 Jan 25 2024 16:21:25

%S 0,1,8,16,243,729,16384,65536,262144,1048576,48828125,244140625,

%T 13060694016,78364164096,470184984576,2821109907456,232630513987207,

%U 1628413597910449,144115188075855872,1152921504606846976,9223372036854775808,73786976294838206464

%N a(n) = PrimePi(n)^n.

%H G. C. Greubel, <a href="/A132377/b132377.txt">Table of n, a(n) for n = 1..500</a>

%F a(n) = A000720(n)^n.

%t Table[PrimePi[n]^n, {n, 50}] (* _G. C. Greubel_, Nov 08 2022 *)

%o (Magma) [(#PrimesUpTo(n))^n: n in [1..50] ]; // _G. C. Greubel_, Nov 08 2022

%o (SageMath) [prime_pi(n)^n for n in range(1, 51)] # _G. C. Greubel_, Nov 08 2022

%o (Python)

%o from sympy import primepi

%o def A132377(n): return primepi(n)**n # _Chai Wah Wu_, Jan 25 2024

%Y Cf. A000720.

%K easy,nonn

%O 1,3

%A _Giovanni Teofilatto_, Nov 10 2007

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 10 15:26 EDT 2024. Contains 372387 sequences. (Running on oeis4.)