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.

Showing 1-5 of 5 results.

A338943 a(n) is the least number k such that the average number of distinct prime divisors of {1..k} is >= n.

Original entry on oeis.org

1, 6, 455, 8167302
Offset: 0

Views

Author

Ilya Gutkovskiy, Nov 17 2020

Keywords

Comments

10^18 < a(4) < 10^19. - Daniel Suteu, Nov 17 2020

Examples

			a(2) = 455 because the average number of distinct prime divisors of {1..455} is >= 2.
		

Crossrefs

A336304 a(n) is the least number k such that the average number of prime divisors of {1..k} counted with multiplicity is >= n.

Original entry on oeis.org

1, 4, 32, 2178, 416417176
Offset: 0

Views

Author

Ilya Gutkovskiy, Nov 18 2020

Keywords

Examples

			a(1) = 4 since the average number of prime divisors of {1..4} counted with multiplicity equals (0 + 1 + 1 + 2)/4 = 1 which is >= 1 and this is the least such number.
a(3) = 2178 because the average number of prime divisors of {1..2178} counted with multiplicity is >= 3 and this is the least such number.
		

Crossrefs

Programs

  • Mathematica
    s[n_] := Module[{m = 0, c = 0, k = 1, sum = 0, seq = {}}, While[c < n, sum += PrimeOmega[k]; If[sum >= m*k, c++; AppendTo[seq, k]; m++]; k++]; seq]; s[4] (* Amiram Eldar, Nov 18 2020 *)
  • PARI
    a(n)=my(m=0,k=1);while(k>0, m+=bigomega(k); if(m>=k*n,break);k++);k \\ Derek Orr, Nov 18 2020

A344272 a(n) is the least k such that the average number of nonunitary divisors of {1..k} is >= n.

Original entry on oeis.org

54, 816, 10530, 135200, 1733760, 22216752, 284685408, 3647978320, 46745561100, 599002268832, 7675674748560
Offset: 1

Views

Author

Amiram Eldar, May 13 2021

Keywords

Examples

			a(1) = 54 since the average of the number of nonunitary divisors of {1..54} is (Sum_{k=1..54} A056175(k))/54 = 1.
		

Crossrefs

The nonunitary version of A085829.
Similar sequences: A328331, A336304, A338891, A338943, A344273, A344274.

Programs

  • Mathematica
    nd[n_] := DivisorSigma[0,n] - 2^PrimeNu[n]; seq={}; s = 0; k = 1; Do[While[s = s + nd[k]; s < k*n, k++]; AppendTo[seq, k]; k++, {n, 1, 5}]; seq

Formula

Lim_{n->oo} a(n+1)/a(n) = exp(1/(1-1/zeta(2))) = exp(Pi^2/(Pi^2-6)) = 12.8140996101...

Extensions

a(10)-a(11) from Martin Ehrenstein, May 23 2021

A344273 a(n) is the least k such that the average number of bi-unitary divisors of {1..k} is >= n.

Original entry on oeis.org

1, 6, 24, 80, 273, 960, 3336, 11480, 39648, 136952, 472416, 1630164, 5625480, 19412736, 66992016, 231184800, 797806152, 2753187210, 9501109380, 32787848746
Offset: 1

Views

Author

Amiram Eldar, May 13 2021

Keywords

Examples

			a(2) = 6 since the average number of bi-unitary divisors of {1..6} is A306069(6)/6 = 13/6 > 2.
		

Crossrefs

The unitary version of A085829.
Similar sequences: A328331, A336304, A338891, A338943, A344272, A344274.

Programs

  • Mathematica
    f[p_, e_] := If[OddQ[e], e + 1, e]; bdivnum[1] = 1; bdivnum[n_] := Times @@ (f @@@ FactorInteger[n]); seq={}; s = 0; k = 1; Do[While[s = s + bdivnum[k]; s < k*n, k++]; AppendTo[seq, k]; k++, {n, 1, 10}]; seq

Formula

Lim_{n->oo} a(n+1)/a(n) = exp(1/A) = 3.4509501567..., where A is A306071.

A344274 a(n) is the least k such that the average number of infinitary divisors of {1..k} is >= n.

Original entry on oeis.org

1, 6, 24, 105, 385, 1554, 6063, 23688, 92610, 362112, 1416360, 5539296, 21663378, 84725487, 331362185, 1295952084, 5068450464, 19822658688
Offset: 1

Views

Author

Amiram Eldar, May 13 2021

Keywords

Examples

			a(2) = 6 since the average number of infinitary divisors of {1..6} is A327573(6)/6 = 13/6 > 2.
		

Crossrefs

The infinitary version of A085829.
Similar sequences: A328331, A336304, A338891, A338943, A344272, A344273.

Programs

  • Mathematica
    f[p_, e_] := 2^DigitCount[e, 2, 1]; idivnum[1] = 1; idivnum[n_] := Times @@ (f @@@ FactorInteger[n]); seq={}; s = 0; k = 1; Do[While[s = s + idivnum[k]; s < k*n, k++]; AppendTo[seq, k]; k++, {n, 1, 10}]; seq

Formula

Lim_{n->oo} a(n+1)/a(n) = exp(1/(2*c)) = 3.9109891037..., where c is A327576.
Showing 1-5 of 5 results.