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.

A242677 Semiprimes whose binary representation, read in decimal, is also semiprime.

Original entry on oeis.org

15, 33, 55, 57, 65, 69, 77, 87, 115, 121, 129, 143, 169, 205, 209, 265, 299, 305, 321, 339, 361, 415, 417, 447, 451, 481, 493, 505, 517, 519, 535, 551, 553, 581, 611, 623, 667, 687, 695, 721, 737, 779, 789, 799, 865, 871, 893, 901, 905, 923, 943, 949, 955, 973
Offset: 1

Views

Author

K. D. Bajpai, May 20 2014

Keywords

Examples

			a(2) = 33 = 3 * 11 is semiprime. Binary representation of 33 = 100001 = 11 * 9091 which is also semiprime.
a(4) = 57 = 3 * 19 is semiprime. Binary representation of 57 = 111001 = 11 * 10091 which is also semiprime.
		

Crossrefs

Programs

  • Maple
    with(numtheory):A242677 := proc() if bigomega(n)=2 and bigomega(convert(n, binary))=2 then RETURN (n) ; fi; end:  seq(A242677(), n=1..2000);
  • Mathematica
    c = 0; Do[If [PrimeOmega[n] == 2 && PrimeOmega[FromDigits[IntegerDigits[n, 2]]] == 2, c ++;  Print[c, "  ", n]], {n, 1, 3*10^5}];
Showing 1-1 of 1 results.