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.

A084227 Numbers of the form p*q^k with distinct primes p and q, k>0.

Original entry on oeis.org

6, 10, 12, 14, 15, 18, 20, 21, 22, 24, 26, 28, 33, 34, 35, 38, 39, 40, 44, 45, 46, 48, 50, 51, 52, 54, 55, 56, 57, 58, 62, 63, 65, 68, 69, 74, 75, 76, 77, 80, 82, 85, 86, 87, 88, 91, 92, 93, 94, 95, 96, 98, 99, 104, 106, 111, 112, 115, 116, 117, 118, 119, 122, 123, 124, 129
Offset: 1

Views

Author

Reinhard Zumkeller, May 20 2003

Keywords

Comments

A001221(a(n)) = 2 AND A001222(a(n)) = A051903(a(n)) + 1. [Clarified by N. J. A. Sloane, Aug 22 2021]
See A007774 for the numbers with omega(n) = A001221(n) = 2. - N. J. A. Sloane, Aug 22 2021

Examples

			80 = 5*2^4, therefore 80 is a term.
		

Crossrefs

Programs

  • Mathematica
    doit[{p_,q_}]:=Table[{p q^k,q p^k},{k,10}]; Take[Union[Flatten[ doit/@ Subsets[Prime[Range[20]],{2}]]],70] (* Harvey P. Dale, May 09 2012 *)
  • PARI
    is(n)=my(f=factor(n)[,2]); #f==2 && vecmin(f)==1 \\ Charles R Greathouse IV, Oct 19 2015

Formula

a(n) ~ n log n/log log n. - Charles R Greathouse IV, Oct 19 2015