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.

A215478 Semiprimes with digits in descending order that differ exactly by 1.

Original entry on oeis.org

4, 6, 9, 10, 21, 65, 87, 321, 543, 4321, 8765, 98765, 654321, 876543, 7654321
Offset: 1

Views

Author

Jonathan Vos Post, Aug 12 2012

Keywords

Comments

This is to semiprimes A001358 as A052016 is to primes A000040.

Examples

			4321 is in the sequence because it is semiprime 4321 = 29 * 149, and (4,3,2,1) are descending consecutive digits.
		

Crossrefs

Programs

  • Mathematica
    Sort[Flatten[Table[Select[FromDigits/@Partition[Range[9,0,-1],n,1], PrimeOmega[#] == 2&],{n,10}]]] (* Harvey P. Dale, Jul 10 2014 *)

Extensions

Corrected and extended by R. J. Mathar, Aug 13 2012

A245044 Semiprimes with digits in descending order that differ exactly by 2.

Original entry on oeis.org

4, 6, 9, 86, 753, 7531, 9753, 97531
Offset: 1

Views

Author

Vincenzo Librandi, Jul 10 2014

Keywords

Examples

			7531 is in the sequence because it is semiprime 7531 = 17*443 and 7-5 = 5-3 = 3-1 = 2.
97531 is in the sequence because it is semiprime 97531 = 7*13933 and 9-7 = 7-5 = 5-3 = 3-1 = 2.
		

Crossrefs

Programs

  • Mathematica
    Sort[Flatten[Table[Select[FromDigits/@Partition[Range[9, 0, -2], n, 1], PrimeOmega[#]==2 &], {n, 1000}]]]
  • PARI
    for(d=1,5,for(s=1,11-2*d,t=sum(i=1,d,(s-2+2*i)*10^i)/10; if(bigomega(t)==2, print1(t", ")))) \\ Charles R Greathouse IV, Jul 16 2014

Extensions

a(1), a(2), a(4) from Charles R Greathouse IV, Jul 16 2014
Showing 1-2 of 2 results.