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.

Previous Showing 11-12 of 12 results.

A306986 Number of primitive abundant numbers (A071395) < 10^n.

Original entry on oeis.org

0, 3, 14, 98, 441, 1734, 8667, 41653, 213087, 1123424
Offset: 1

Views

Author

Amiram Eldar, Mar 18 2019

Keywords

Examples

			There are 3 terms of A071395 below 100 (20, 70, and 88), thus a(2) = 3.
		

Crossrefs

Programs

  • Mathematica
    paQ[n_] := DivisorSigma[1, n] > 2n && Times @@ Boole@ Map[DivisorSigma[1, #] < 2 # &, Most@ Divisors@ n] == 1;  c = 0; k = 1;  seq={}; Do[ While[ k < 10^n, If[ paQ[k], c++ ]; k ++]; AppendTo[seq, c], {n, 1, 5}]; seq (* after Michael De Vlieger at A071395 *)
  • PARI
    ispab(n) = {my(f = factor(n), r, p, e); r = sigma(f, -1); if(r <= 2, return(0)); if(vecmax(vector(#f~, i, p = f[i, 1]; e = f[i, 2]; (p^(e + 1) - p)/(p^(e + 1) - 1))) * r < 2, 1, 0);}
    lista(nmax) = {my(c = 0, r = 10); for(k = 1, 10^nmax, if(ispab(k), c++); if(k+1 == r, print1(c, ", "); r *= 10));} \\ Amiram Eldar, Mar 26 2023

Extensions

a(10) from Amiram Eldar, Mar 26 2023

A308054 The number of coreful abundant numbers (A308053) below 10^n.

Original entry on oeis.org

0, 1, 24, 259, 2614, 26222, 262220, 2622178, 26221610, 262215860, 2622158194
Offset: 1

Views

Author

Amiram Eldar, May 10 2019

Keywords

Examples

			Below 10^2 there is only one coreful abundant number, 72, hence a(2) = 1.
		

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := (p^(e+1)-1)/(p-1)-1; csigma[1]=1; csigma[n_] := Times @@ (f @@@ FactorInteger[n]); cpQ[n_] := csigma[n] > 2*n; s={0}; c=0; p=100; Do[If[k==p, AppendTo[s, c]; p*=10]; If[cpQ[k], c++], {k, 1, 1000001}]; s

Formula

a(n) ~ c * 10^n, where c = 0.0262215... is the asymptotic density of the coreful abundant numbers (see A308053). [Updated by Amiram Eldar, Sep 02 2022]

Extensions

a(11) from Amiram Eldar, Sep 02 2022
Previous Showing 11-12 of 12 results.