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.

A190108 Numbers with prime factorization p*q*r^3*s^3 (where p, q, r, s are distinct primes).

Original entry on oeis.org

7560, 11880, 14040, 16632, 18360, 19656, 20520, 21000, 24840, 25704, 28728, 30888, 31320, 33000, 33480, 34776, 39000, 39960, 40392, 41160, 43848, 44280, 45144, 46440, 46872, 47250, 47736, 50760, 51000, 53352, 54648, 55944, 57000, 57240, 61992, 63720, 64584
Offset: 1

Views

Author

Keywords

Comments

A050326(a(n)) = 11. - Reinhard Zumkeller, May 03 2013

Examples

			From _Petros Hadjicostas_, Oct 26 2019: (Start)
a(1) = (2^3)*(3^3)*5*7 = 7560;
a(2) = (2^3)*(3^3)*5*11 = 11880;
a(3) = (2^3)*(3^3)*5*13 = 14040;
a(4) = (2^3)*(3^3)*7*11 = 16632.
(End)
		

Crossrefs

Programs

  • Mathematica
    f[n_]:=Sort[Last/@FactorInteger[n]]=={1,1,3,3};Select[Range[150000],f]
  • PARI
    list(lim)=my(v=List(),t1,t2,t3); forprime(p=2,sqrtnint(lim\120, 3), t1=p^3; forprime(q=2,sqrtnint(lim\(6*t1), 3), if(q==p, next); t2=q^3*t1; forprime(r=2,lim\(2*t2), if(r==p || r==q, next); t3=r*t2; forprime(s=2,lim\t3, if(s==p || s==q || s==r, next); listput(v, t3*s))))); Set(v) \\ Charles R Greathouse IV, Aug 25 2016

Extensions

Name edited by Petros Hadjicostas, Oct 26 2019

A190107 Numbers with prime factorization pqr^2s^4.

Original entry on oeis.org

5040, 7920, 8400, 9360, 11088, 11340, 11760, 12240, 13104, 13200, 13680, 15600, 16560, 17136, 17820, 19152, 20400, 20592, 20880, 21060, 22320, 22800, 23184, 24948, 25872, 26640, 26928, 27540, 27600, 28350, 29040, 29232, 29484, 29520
Offset: 1

Views

Author

Keywords

Comments

A050326(a(n)) = 3. - Reinhard Zumkeller, May 03 2013

Crossrefs

Programs

  • Mathematica
    f[n_]:=Sort[Last/@FactorInteger[n]]=={1,1,2,4};Select[Range[60000],f]
  • PARI
    list(lim)=my(v=List(),t1,t2,t3); forprime(p=2,sqrtnint(lim\60, 4), t1=p^4; forprime(q=2,sqrtint(lim\(6*t1)), if(q==p, next); t2=q^2*t1; forprime(r=2,lim\(2*t2), if(r==p || r==q, next); t3=r*t2; forprime(s=2,lim\t3, if(s==p || s==q || s==r, next); listput(v, t3*s))))); Set(v) \\ Charles R Greathouse IV, Aug 25 2016

A381312 Numbers whose powerful part (A057521) is a power of a prime with an odd exponent >= 3 (A056824).

Original entry on oeis.org

8, 24, 27, 32, 40, 54, 56, 88, 96, 104, 120, 125, 128, 135, 136, 152, 160, 168, 184, 189, 224, 232, 243, 248, 250, 264, 270, 280, 296, 297, 312, 328, 343, 344, 351, 352, 375, 376, 378, 384, 408, 416, 424, 440, 456, 459, 472, 480, 486, 488, 512, 513, 520, 536, 544
Offset: 1

Views

Author

Amiram Eldar, Feb 19 2025

Keywords

Comments

Subsequence of A301517 and A374459 and first differs from them at n = 21. A301517(21) = A374459(21) = 216 is not a term of this sequence.
Numbers having exactly one non-unitary prime factor and its multiplicity is odd.
Numbers whose prime signature (A118914) is of the form {1, 1, ..., 2*m+1} with m >= 1, i.e., any number (including zero) of 1's and then a single odd number > 1.
The asymptotic density of this sequence is (1/zeta(2)) * Sum_{p prime} 1/((p-1)*(p+1)^2) = 0.093382464285953613312...

Crossrefs

Programs

  • Mathematica
    q[n_] := Module[{e = ReverseSort[FactorInteger[n][[;; , 2]]]}, e[[1]] > 1 && OddQ[e[[1]]] && (Length[e] == 1 || e[[2]] == 1)]; Select[Range[1000], q]
  • PARI
    isok(k) = if(k == 1, 0, my(e = vecsort(factor(k)[, 2], , 4)); e[1] % 2 && e[1] > 1 && (#e == 1 || e[2] == 1));

A381316 Numbers whose powerful part (A057521) is a power of a prime with an exponent >= 3 (A246549).

Original entry on oeis.org

8, 16, 24, 27, 32, 40, 48, 54, 56, 64, 80, 81, 88, 96, 104, 112, 120, 125, 128, 135, 136, 152, 160, 162, 168, 176, 184, 189, 192, 208, 224, 232, 240, 243, 248, 250, 256, 264, 270, 272, 280, 296, 297, 304, 312, 320, 328, 336, 343, 344, 351, 352, 368, 375, 376, 378
Offset: 1

Views

Author

Amiram Eldar, Feb 19 2025

Keywords

Comments

First differs from A344653 and A345193 at n = 17: a(17) = 120 is not a term of these sequences.
Numbers whose prime signature (A118914) is of the form {1, 1, ..., m} with m >= 3, i.e., any number (including zero) of 1's and then a single number >= 3.
The asymptotic density of this sequence is (1/zeta(2)) * Sum_{p prime} 1/(p*(p^2-1)) = A369632 / A013661 = 0.13463358553764438661... .

Crossrefs

Programs

  • Mathematica
    q[n_] := Module[{e = ReverseSort[FactorInteger[n][[;; , 2]]]}, e[[1]] > 2 && (Length[e] == 1 || e[[2]] == 1)]; Select[Range[1000], q]
  • PARI
    isok(k) = if(k == 1, 0, my(e = vecsort(factor(k)[, 2], , 4)); e[1] > 2 && (#e == 1 || e[2] == 1));

A382208 Numbers k for which pi(bigomega(k)) = omega(k).

Original entry on oeis.org

1, 4, 9, 12, 18, 20, 24, 25, 28, 36, 40, 44, 45, 49, 50, 52, 54, 56, 63, 68, 75, 76, 88, 92, 98, 99, 100, 104, 116, 117, 120, 121, 124, 135, 136, 147, 148, 152, 153, 164, 168, 169, 171, 172, 175, 180, 184, 188, 189, 196, 207, 212, 225, 232, 236, 240, 242, 244, 245
Offset: 1

Views

Author

Felix Huber, Mar 30 2025

Keywords

Comments

Numbers k for which A000720(A001222(k)) = A001221(k).
Numbers k = p_1^e_1 * ... * p_j^e_j for which pi(Sum_{i=1..j} e_i) = j where pi = A000720.

Examples

			240 = 2^4*3*5 is in the sequence because pi(Omega(240)) = pi(6) = 3 = omega(240).
		

Crossrefs

Programs

  • Maple
    with(NumberTheory):
    A382208:=proc(n)
        option remember;
        local k;
        if n=1 then
            1
        else
            for k from procname(n-1)+1 do
                if pi(Omega(k))=Omega(k,distinct) then
                    return k
                fi
            od
        fi;
    end proc;
    seq(A382208(n),n=1..59);
    # second Maple program:
    q:= n-> (l-> is(numtheory[pi](add(i[2], i=l))=nops(l)))(ifactors(n)[2]):
    select(q, [$1..245])[];  # Alois P. Heinz, Apr 05 2025
  • Mathematica
    Select[Range[250], PrimePi[PrimeOmega[#]] == PrimeNu[#] &] (* Amiram Eldar, Apr 05 2025 *)
  • PARI
    isok(k) = primepi(bigomega(k)) == omega(k); \\ Michel Marcus, Apr 05 2025

Extensions

a(1) inserted by Michel Marcus, Apr 05 2025
Showing 1-5 of 5 results.