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.
%I A025528 #88 Aug 16 2024 08:37:06 %S A025528 0,1,2,3,4,4,5,6,7,7,8,8,9,9,9,10,11,11,12,12,12,12,13,13,14,14,15,15, %T A025528 16,16,17,18,18,18,18,18,19,19,19,19,20,20,21,21,21,21,22,22,23,23,23, %U A025528 23,24,24,24,24,24,24,25,25,26,26,26,27,27,27,28,28,28,28,29,29,30,30 %N A025528 Number of prime powers <= n with exponents > 0 (A246655). %C A025528 a(n) is the sum of the exponents in the prime factorization of lcm{1,2,...,n}. %C A025528 Larger than but analogous to Pi(n). %C A025528 Counts A000961 without 1=prime^0: a(n)=A065515(n)-1. - _Reinhard Zumkeller_, Jul 03 2003 %C A025528 Equally, number of finite fields of order <= n. - Neven Juric, Feb 05 2010 %D A025528 G. Tenenbaum, Introduction à la théorie analytique et probabiliste des nombres, p. 203, Publications de l'Institut Cartan, 1990. %H A025528 Daniel Forgues, <a href="/A025528/b025528.txt">Table of n, a(n) for n = 1..100000</a>. %H A025528 <a href="/index/Lc#lcm">Index entries for sequences related to lcm's</a> %F A025528 a(n) = Cardinality[{1..n}|A001221(i)=1]. %F A025528 a(n) = Sum_{p prime <= n} floor(log(n)/log(p)). - _Benoit Cloitre_, Apr 30 2002 %F A025528 a(n) ~ n/log(n). - _Benoit Cloitre_, May 30 2003 %F A025528 a(n) = A069637(n) + A000720(n). - Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Feb 24 2004 [Corrected by _Franklin T. Adams-Watters_, Jun 08 2008] %F A025528 a(n) = A000720(n) + A000720(floor(n^(1/2))) + A000720(floor(n^(1/3))) + ... - _Max Alekseyev_, May 11 2009 %F A025528 Partial sums of A069513. - _Enrique Pérez Herrero_, May 30 2011 %F A025528 a(n) = A001222(A003418(n)). - _Luc Rousseau_, Jan 05 2018 %F A025528 From _Steven Foster Clark_, Sep 26 2018: (Start) %F A025528 a(n) = Sum_{m=1..n} A001222(m) * A002321(floor(n/m)) where A001222() is the Omega function and A002321() is the Mertens function. %F A025528 a(n) = Sum_{m=1..floor(log_2(n))} A000010(m)/m * J(floor(n^(1/m))) where A000010() is Euler's totient function and J(n) = Sum_{m=1..floor(log_2(n))} 1/m * A000720(floor(n^(1/m))) is Riemann's prime-power counting function. %F A025528 (End) %e A025528 Below 100 there are 25 primes and 25 + 10 = 35 prime powers. %t A025528 primePowerPi[n_] := Sum[PrimePi[n^(1/k)], {k, Log[2, n]}]; Table[primePowerPi[n], {n, 75}] (* _Geoffrey Critzer_, Jan 07 2012 *) (* and modified by _Robert G. Wilson v_, Jan 07 2012 *) %t A025528 Table[Sum[Boole[1 < Cyclotomic[n, 1]], {n, 1, m}], {m, 1, 75}] (* _Fred Daniel Kline_, Oct 03 2016 *) %o A025528 (PARI) for(n=1,100,print1(sum(k=1,n,logint(n,prime(k))),",")) \\ corrected by _Luc Rousseau_, Jan 04 2018 %o A025528 (PARI) a(n)=sum(i=1,n,if(omega(i)-1,0,1)) %o A025528 (PARI) a(n)=n+=.5;sum(e=1,log(n)\log(2),primepi(n^(1/e))) \\ _Charles R Greathouse IV_, Apr 30 2012 %o A025528 (SageMath) %o A025528 def A025528(n) : return sum([1 for k in (0..n) if is_prime_power(k)]) %o A025528 print([A025528(n) for n in (1..74)]) # _Peter Luschny_, Nov 18 2019 %o A025528 (Python) %o A025528 from sympy import primepi, integer_nthroot %o A025528 def A025528(n): return sum(primepi(integer_nthroot(n,k)[0]) for k in range(1,n.bit_length())) # _Chai Wah Wu_, Aug 15 2024 %Y A025528 Cf. A000961, A000040, A000720, A001221, A003418, A141228, A246655, A276781 (ordinal transform). %Y A025528 One less than A065515. %K A025528 nonn %O A025528 1,3 %A A025528 _Clark Kimberling_ %E A025528 New description from _Labos Elemer_, Nov 09 2000