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-1 of 1 results.

A355580 Powerful 3-smooth numbers: numbers of the form 2^i * 3^j with i, j != 1.

Original entry on oeis.org

1, 4, 8, 9, 16, 27, 32, 36, 64, 72, 81, 108, 128, 144, 216, 243, 256, 288, 324, 432, 512, 576, 648, 729, 864, 972, 1024, 1152, 1296, 1728, 1944, 2048, 2187, 2304, 2592, 2916, 3456, 3888, 4096, 4608, 5184, 5832, 6561, 6912, 7776, 8192, 8748, 9216, 10368, 11664
Offset: 1

Views

Author

Amiram Eldar, Jul 08 2022

Keywords

Comments

This sequence is closed under multiplication.

Examples

			a(2) = 4 = 2^2.
a(3) = 8 = 2^3.
a(8)= 36 = 2^2 * 3^2.
		

Crossrefs

Intersection of A001694 and A003586.
Union of A151821, (A000244 \ {3}) and 36*A003586.
A003586 \ (Union of A007283 and A008776).
Cf. A355581.

Programs

  • Mathematica
    q[n_] := Module[{e = IntegerExponent[n, {2, 3}]}, e[[1]] != 1 && e[[2]] != 1 && Times@@({2, 3}^e) == n]; Select[Range[12000], q]
  • PARI
    is(n) = {my(f=factor(n)); n == 1 || (vecmax(f[,1]) <= 3 && vecmin(f[,2]) > 1)};
    
  • Python
    from itertools import count, takewhile
    def aupto(lim):
        pows2 = list(takewhile(lambda x: xMichael S. Branicky, Jul 08 2022

Formula

Sum_{n>=1} 1/a(n) = 7/4.
Showing 1-1 of 1 results.