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

A115711 Squares whose digit reversal is a semiprime (A001358).

Original entry on oeis.org

4, 9, 49, 64, 121, 169, 289, 400, 625, 900, 961, 1156, 1225, 1849, 2401, 3136, 3364, 3481, 3721, 4900, 5041, 5329, 6400, 6889, 7396, 9604, 10201, 10816, 11449, 11881, 12100, 12544, 12769, 13225, 13456, 13924, 15376, 15625, 16129, 16384, 16900
Offset: 1

Views

Author

Giovanni Resta, Jan 31 2006

Keywords

Examples

			64=8^2 and 46=2*23 is semiprime.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[150]^2,PrimeOmega[FromDigits[Reverse[ IntegerDigits[ #]]]]==2&] (* Harvey P. Dale, Sep 20 2011 *)

A242097 Sp = reversal of some square s where s = x^2 for x = 1,2,.. (ignoring leading zeros). Sp is in the sequence if it is semiprime.

Original entry on oeis.org

4, 9, 94, 46, 121, 961, 982, 4, 526, 9, 169, 6511, 5221, 9481, 1042, 6313, 4633, 1843, 1273, 94, 1405, 9235, 46, 9886, 6937, 4069, 10201, 61801, 94411, 18811, 121, 44521, 96721, 52231, 65431, 42931, 67351, 52651, 92161, 48361, 961, 16171, 98671, 65971, 96781
Offset: 1

Views

Author

K. D. Bajpai, May 04 2014

Keywords

Comments

All the terms in sequence are semiprimes (product of two primes) which are reversal of some square, ignoring leading zeros.

Examples

			a(3) = 94 = 2 * 47 which is semiprime. Reversing the digits gives 49 = 7^2.
a(4) = 46 = 2 * 23 which is semiprime. Reversing the digits gives 64 = 8^2.
		

Crossrefs

Programs

  • Maple
    with(StringTools): with(numtheory): A242097:= proc() local r; r:= parse(Reverse(convert(x^2,string))); if bigomega(r)=2 then  RETURN (r); fi; end: seq(A242097 (), x=1..500);
  • Mathematica
    Select[IntegerReverse[Range[200]^2],PrimeOmega[#]==2&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 27 2018 *)
Showing 1-2 of 2 results.