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.

A278931 Semiprimes whose ternary representations are also semiprime when read as a decimal number.

Original entry on oeis.org

25, 49, 65, 82, 106, 115, 118, 121, 142, 143, 155, 187, 209, 235, 254, 259, 262, 265, 274, 289, 299, 314, 319, 326, 334, 335, 341, 355, 361, 382, 398, 415, 445, 451, 454, 458, 469, 493, 511, 515, 538, 551, 562, 566, 583, 586, 589, 614, 622, 634, 649, 667, 679
Offset: 1

Views

Author

K. D. Bajpai, Dec 04 2016

Keywords

Examples

			65 is in the sequence because 5*13 = 65 (semiprime) and its ternary representation, 2102 = 2*1051, when read as a decimal number, is also semiprime.
115 is in the sequence because 5*23 = 115 (semiprime) and its ternary representation, 11021 = 103*107, when read as a decimal number, is also semiprime.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[5000], PrimeOmega[#] == 2 && PrimeOmega[FromDigits[ IntegerDigits[ #, 3]]] == 2 &]